Skip to content

Commit

Permalink
Merge pull request #161 from copiousfreetime/maintenance/update-test-…
Browse files Browse the repository at this point in the history
…matrix

Update test matrix for ruby 3.4
  • Loading branch information
copiousfreetime authored Jan 23, 2025
2 parents 0a1d3ad + 8a74d04 commit 8691074
Show file tree
Hide file tree
Showing 8 changed files with 144 additions and 71 deletions.
5 changes: 4 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ require:

AllCops:
NewCops: enable
TargetRubyVersion: 3.1
Exclude:
- 'coverage/**/*'
- 'doc/**/*'
Expand Down Expand Up @@ -100,5 +101,7 @@ Style/TrivialAccessors:
Exclude:
- lib/launchy.rb

ThreadSafety/InstanceVariableInClassMethod:
ThreadSafety/ClassInstanceVariable:
Enabled: false
ThreadSafety/DirChdir:
Enabled: false
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.3.1
3.4.1
22 changes: 11 additions & 11 deletions .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ blocks:
matrix:
- env_var: RUBY_VERSION
values:
- 3.0.7
- 3.1.5
- 3.2.4
- 3.3.1
- jruby-9.4.5.0
- truffleruby-24.0.1
- 3.1.6
- 3.2.6
- 3.3.7
- 3.4.1
- jruby-9.4.10.0
- truffleruby-24.1.1
commands:
- source .semaphore/ensure-ruby-version.sh
- source .semaphore/ensure-bundle.sh
Expand All @@ -48,7 +48,7 @@ blocks:
agent:
machine:
type: a1-standard-4
os_image: macos-xcode14
os_image: macos-xcode15
prologue:
commands:
- checkout
Expand All @@ -58,10 +58,10 @@ blocks:
matrix:
- env_var: RUBY_VERSION
values:
- 3.0.7
- 3.1.5
- 3.2.4
- 3.3.1
- 3.1.6
- 3.2.5
- 3.3.7
- 3.4.1
commands:
- source .semaphore/ensure-ruby-version.sh
- source .semaphore/ensure-bundle.sh
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ gem "rubocop-minitest", "~> 0.35", require: false
gem "rubocop-packaging", "~> 0.5", require: false
gem "rubocop-performance", "~> 1.21", require: false
gem "rubocop-rake", "~> 0.6", require: false
gem "rubocop-thread_safety", "~> 0.5", require: false
gem "rubocop-thread_safety", "~> 0.6", require: false

gem "rubocop-md", "~> 1.2", require: false

Expand Down
170 changes: 119 additions & 51 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,118 +4,129 @@ PATH
launchy (3.0.1)
addressable (~> 2.8)
childprocess (~> 5.0)
logger (~> 1.6)

GEM
remote: https://rubygems.org/
specs:
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
ast (2.4.2)
bigdecimal (3.1.7)
bigdecimal (3.1.7-java)
builder (3.2.4)
childprocess (5.0.0)
concurrent-ruby (1.2.3)
docile (1.4.0)
dry-configurable (1.1.0)
dry-core (~> 1.0, < 2)
bigdecimal (3.1.9)
bigdecimal (3.1.9-java)
builder (3.3.0)
childprocess (5.1.0)
logger (~> 1.5)
concurrent-ruby (1.3.5)
date (3.4.1)
date (3.4.1-java)
docile (1.4.1)
dry-configurable (1.3.0)
dry-core (~> 1.1)
zeitwerk (~> 2.6)
dry-core (1.0.1)
dry-core (1.1.0)
concurrent-ruby (~> 1.0)
logger
zeitwerk (~> 2.6)
dry-inflector (1.0.0)
dry-initializer (3.1.1)
dry-logic (1.5.0)
dry-inflector (1.2.0)
dry-initializer (3.2.0)
dry-logic (1.6.0)
bigdecimal
concurrent-ruby (~> 1.0)
dry-core (~> 1.0, < 2)
dry-core (~> 1.1)
zeitwerk (~> 2.6)
dry-schema (1.13.3)
dry-schema (1.13.4)
concurrent-ruby (~> 1.0)
dry-configurable (~> 1.0, >= 1.0.1)
dry-core (~> 1.0, < 2)
dry-initializer (~> 3.0)
dry-logic (>= 1.4, < 2)
dry-types (>= 1.7, < 2)
zeitwerk (~> 2.6)
dry-types (1.7.2)
dry-types (1.8.1)
bigdecimal (~> 3.0)
concurrent-ruby (~> 1.0)
dry-core (~> 1.0)
dry-inflector (~> 1.0)
dry-logic (~> 1.4)
zeitwerk (~> 2.6)
jar-dependencies (0.4.1)
json (2.7.2)
json (2.7.2-java)
jar-dependencies (0.5.2)
json (2.9.1)
json (2.9.1-java)
language_server-protocol (3.17.0.3)
minitest (5.22.3)
logger (1.6.5)
minitest (5.25.4)
minitest-focus (1.4.0)
minitest (>= 4, < 6)
minitest-junit (1.1.0)
builder (~> 3.2)
minitest (~> 5.11)
parallel (1.24.0)
parser (3.3.1.0)
parallel (1.26.3)
parser (3.3.7.0)
ast (~> 2.4.1)
racc
psych (5.1.2)
psych (5.2.3)
date
stringio
psych (5.1.2-java)
psych (5.2.3-java)
date
jar-dependencies (>= 0.1.7)
public_suffix (5.0.5)
racc (1.7.3)
racc (1.7.3-java)
public_suffix (6.0.1)
racc (1.8.1)
racc (1.8.1-java)
rainbow (3.1.1)
rake (13.2.1)
rdoc (6.6.3.1)
rdoc (6.11.0)
psych (>= 4.0.0)
reek (6.3.0)
reek (6.4.0)
dry-schema (~> 1.13.0)
logger (~> 1.6)
parser (~> 3.3.0)
rainbow (>= 2.0, < 4.0)
rexml (~> 3.1)
regexp_parser (2.9.0)
rexml (3.2.6)
rubocop (1.63.4)
regexp_parser (2.10.0)
rexml (3.4.0)
rubocop (1.71.0)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.31.1, < 2.0)
regexp_parser (>= 2.9.3, < 3.0)
rubocop-ast (>= 1.36.2, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.31.3)
unicode-display_width (>= 2.4.0, < 4.0)
rubocop-ast (1.37.0)
parser (>= 3.3.1.0)
rubocop-md (1.2.2)
rubocop (>= 1.0)
rubocop-minitest (0.35.0)
rubocop-md (1.2.4)
rubocop (>= 1.45)
rubocop-minitest (0.36.0)
rubocop (>= 1.61, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-packaging (0.5.2)
rubocop (>= 1.33, < 2.0)
rubocop-performance (1.21.0)
rubocop-performance (1.23.1)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-rake (0.6.0)
rubocop (~> 1.0)
rubocop-thread_safety (0.5.1)
rubocop (>= 0.90.0)
rubocop-thread_safety (0.6.0)
rubocop (>= 1.48.1)
ruby-progressbar (1.13.0)
simplecov (0.22.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov-html (0.13.1)
simplecov_json_formatter (0.1.4)
stringio (3.1.0)
unicode-display_width (2.5.0)
zeitwerk (2.6.13)
stringio (3.1.2)
unicode-display_width (3.1.4)
unicode-emoji (~> 4.0, >= 4.0.4)
unicode-emoji (4.0.4)
zeitwerk (2.6.18)

PLATFORMS
arm64-darwin-23
arm64-darwin
java
ruby
x86_64-linux
Expand All @@ -134,8 +145,65 @@ DEPENDENCIES
rubocop-packaging (~> 0.5)
rubocop-performance (~> 1.21)
rubocop-rake (~> 0.6)
rubocop-thread_safety (~> 0.5)
rubocop-thread_safety (~> 0.6)
simplecov (~> 0.22)

CHECKSUMS
addressable (2.8.7) sha256=462986537cf3735ab5f3c0f557f14155d778f4b43ea4f485a9deb9c8f7c58232
ast (2.4.2) sha256=1e280232e6a33754cde542bc5ef85520b74db2aac73ec14acef453784447cc12
bigdecimal (3.1.9) sha256=2ffc742031521ad69c2dfc815a98e426a230a3d22aeac1995826a75dabfad8cc
bigdecimal (3.1.9-java) sha256=dd9b8f7c870664cd9538a1325ce385ba57a6627969177258c4f0e661a7be4456
builder (3.3.0) sha256=497918d2f9dca528fdca4b88d84e4ef4387256d984b8154e9d5d3fe5a9c8835f
childprocess (5.1.0) sha256=9a8d484be2fd4096a0e90a0cd3e449a05bc3aa33f8ac9e4d6dcef6ac1455b6ec
concurrent-ruby (1.3.5) sha256=813b3e37aca6df2a21a3b9f1d497f8cbab24a2b94cab325bffe65ee0f6cbebc6
date (3.4.1) sha256=bf268e14ef7158009bfeaec40b5fa3c7271906e88b196d958a89d4b408abe64f
date (3.4.1-java) sha256=74740d914c65a922a15657c25ff0e203c16f1d0f7aa910a9ebed712afe9819c4
docile (1.4.1) sha256=96159be799bfa73cdb721b840e9802126e4e03dfc26863db73647204c727f21e
dry-configurable (1.3.0) sha256=882d862858567fc1210d2549d4c090f34370fc1bb7c5c1933de3fe792e18afa8
dry-core (1.1.0) sha256=0903821a9707649a7da545a2cd88e20f3a663ab1c5288abd7f914fa7751ab195
dry-inflector (1.2.0) sha256=22f5d0b50fd57074ae57e2ca17e3b300e57564c218269dcf82ff3e42d3f38f2e
dry-initializer (3.2.0) sha256=37d59798f912dc0a1efe14a4db4a9306989007b302dcd5f25d0a2a20c166c4e3
dry-logic (1.6.0) sha256=da6fedbc0f90fc41f9b0cc7e6f05f5d529d1efaef6c8dcc8e0733f685745cea2
dry-schema (1.13.4) sha256=caeb644de0be412d347eb4a6d91c56ceef8ec22cfceb98e80d03d354954b1d2a
dry-types (1.8.1) sha256=3fe395835763c64fb76f1076b564d718e0c2519afbfddb8ab5609a4724d70a95
jar-dependencies (0.5.2) sha256=695b9f7cdcf77fc5a0a2b00af37668eae76170e7013a6802d28068ea487c0612
json (2.9.1) sha256=d2bdef4644052fad91c1785d48263756fe32fcac08b96a20bb15840e96550d11
json (2.9.1-java) sha256=88de8c79b54fee6ae1b4854bc48b8d7089f524cbacaf4596df24f86b10896ee8
language_server-protocol (3.17.0.3) sha256=3d5c58c02f44a20d972957a9febe386d7e7468ab3900ce6bd2b563dd910c6b3f
launchy (3.0.1)
logger (1.6.5) sha256=c3cfe56d01656490ddd103d38b8993d73d86296adebc5f58cefc9ec03741e56b
minitest (5.25.4) sha256=9cf2cae25ac4dfc90c988ebc3b917f53c054978b673273da1bd20bcb0778f947
minitest-focus (1.4.0) sha256=4cf04bd2b5fe0649922db56f9f2ae30af91475a0f51e02c2baa33f5c5a47ff6c
minitest-junit (1.1.0) sha256=036c7c29ed8d852424631c7240c5b9eaa76edbadff4a8b321c12cb77869e6032
parallel (1.26.3) sha256=d86babb7a2b814be9f4b81587bf0b6ce2da7d45969fab24d8ae4bf2bb4d4c7ef
parser (3.3.7.0) sha256=7449011771e3e7881297859b849de26a6f4fccd515bece9520a87e7d2116119b
psych (5.2.3) sha256=84a54bb952d14604fea22d99938348814678782f58b12648fcdfa4d2fce859ee
psych (5.2.3-java) sha256=3e5425b9e8a2f41cc2707d5ef14fdc1ae908abbafb12fe45727bd63900056585
public_suffix (6.0.1) sha256=61d44e1cab5cbbbe5b31068481cf16976dd0dc1b6b07bd95617ef8c5e3e00c6f
racc (1.8.1) sha256=4a7f6929691dbec8b5209a0b373bc2614882b55fc5d2e447a21aaa691303d62f
racc (1.8.1-java) sha256=54f2e6d1e1b91c154013277d986f52a90e5ececbe91465d29172e49342732b98
rainbow (3.1.1) sha256=039491aa3a89f42efa1d6dec2fc4e62ede96eb6acd95e52f1ad581182b79bc6a
rake (13.2.1) sha256=46cb38dae65d7d74b6020a4ac9d48afed8eb8149c040eccf0523bec91907059d
rdoc (6.11.0) sha256=bec66fb9b019be64f7ba7d2cd2aecb283a3a01fef23a95b33e2349c6d1aa0040
reek (6.4.0) sha256=80f9a14979aa3ffaecfb2b8b10bdf87fcd8a0fca47c36823e2a4e1e62f1ddd47
regexp_parser (2.10.0) sha256=cb6f0ddde88772cd64bff1dbbf68df66d376043fe2e66a9ef77fcb1b0c548c61
rexml (3.4.0) sha256=efbea1efba7fa151158e0ee1e643525834da2d8eb4cf744aa68f6480bc9804b2
rubocop (1.71.0) sha256=e19679efd447346ac476122313d3788ae23c38214790bcf660e984c747608bf0
rubocop-ast (1.37.0) sha256=9513ac88aaf113d04b52912533ffe46475de1362d4aa41141b51b2455827c080
rubocop-md (1.2.4) sha256=3e481bb08e2d7479eeba3d02359737074f58dd5694f7a57de4ad8d807fdaf6ff
rubocop-minitest (0.36.0) sha256=1d15850849c685ff4b6d64dd801ec2d13eb2fe56b6f7ce9aab93d1b0508e7b9f
rubocop-packaging (0.5.2) sha256=a36753777573161318ab627a380510c80bfdef2ef2a5b55ad313f923efd20fc7
rubocop-performance (1.23.1) sha256=f22f86a795f5e6a6180aac2c6fc172534b173a068d6ed3396d6460523e051b82
rubocop-rake (0.6.0) sha256=56b6f22189af4b33d4f4e490a555c09f1281b02f4d48c3a61f6e8fe5f401d8db
rubocop-thread_safety (0.6.0) sha256=234857694d77a20498e4aae25d87d13e6be462f27d59c40b2a277d67442baea5
ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33
simplecov (0.22.0) sha256=fe2622c7834ff23b98066bb0a854284b2729a569ac659f82621fc22ef36213a5
simplecov-html (0.13.1) sha256=5dab0b7ee612e60e9887ad57693832fdf4695b4c0c859eaea5f95c18791ef10b
simplecov_json_formatter (0.1.4) sha256=529418fbe8de1713ac2b2d612aa3daa56d316975d307244399fa4838c601b428
stringio (3.1.2) sha256=204f1828f85cdb39d57cac4abc6dc44b04505a223f131587f2e20ae3729ba131
unicode-display_width (3.1.4) sha256=8caf2af1c0f2f07ec89ef9e18c7d88c2790e217c482bfc78aaa65eadd5415ac1
unicode-emoji (4.0.4) sha256=2c2c4ef7f353e5809497126285a50b23056cc6e61b64433764a35eff6c36532a
zeitwerk (2.6.18) sha256=bd2d213996ff7b3b364cd342a585fbee9797dbc1c0c6d868dc4150cc75739781

BUNDLED WITH
2.5.9
2.6.3
1 change: 1 addition & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ This.homepage = "https://github.com/copiousfreetime/#{This.name}"
This.ruby_gemspec do |spec|
spec.add_dependency("addressable", "~> 2.8")
spec.add_dependency("childprocess", "~> 5.0")
spec.add_dependency("logger", "~> 1.6")

spec.licenses = ["ISC"]

Expand Down
5 changes: 3 additions & 2 deletions launchy.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Gem::Specification.new do |s|
s.require_paths = ["lib".freeze]
s.authors = ["Jeremy Hinegardner".freeze]
s.bindir = "exe".freeze
s.date = "2024-05-03"
s.date = "2025-01-23"
s.description = "Launchy is helper class for launching cross-platform applications in a fire and forget manner. There are application concepts (browser, email client, etc) that are common across all platforms, and they may be launched differently on each platform. Launchy is here to make a common approach to launching external applications from within ruby programs.".freeze
s.email = "jeremy@copiousfreetime.org".freeze
s.executables = ["launchy".freeze]
Expand All @@ -22,11 +22,12 @@ Gem::Specification.new do |s|
s.licenses = ["ISC".freeze]
s.rdoc_options = ["--main".freeze, "README.md".freeze, "--markup".freeze, "tomdoc".freeze]
s.required_ruby_version = Gem::Requirement.new(">= 2.3.0".freeze)
s.rubygems_version = "3.5.9".freeze
s.rubygems_version = "3.5.22".freeze
s.summary = "Launchy is helper class for launching cross-platform applications in a fire and forget manner.".freeze

s.specification_version = 4

s.add_runtime_dependency(%q<addressable>.freeze, ["~> 2.8".freeze])
s.add_runtime_dependency(%q<childprocess>.freeze, ["~> 5.0".freeze])
s.add_runtime_dependency(%q<logger>.freeze, ["~> 1.6".freeze])
end
8 changes: 4 additions & 4 deletions tasks/this.rb
Original file line number Diff line number Diff line change
Expand Up @@ -152,13 +152,13 @@ def core_gemspec
end

# Internal: Return the gemspec for the ruby platform
def ruby_gemspec(core = core_gemspec, &block)
yielding_gemspec("ruby", core, &block)
def ruby_gemspec(core = core_gemspec, &)
yielding_gemspec("ruby", core, &)
end

# Internal: Return the gemspec for the jruby platform
def java_gemspec(core = core_gemspec, &block)
yielding_gemspec("java", core, &block)
def java_gemspec(core = core_gemspec, &)
yielding_gemspec("java", core, &)
end

# Internal: give an initial spec and a key, create a new gemspec based off of
Expand Down

0 comments on commit 8691074

Please sign in to comment.