Skip to content

Commit 1ed0550

Browse files
committed
[build] Declare rack dependency slightly more consistently
There was no 2.3, so this is moot, however it's clearer with later rack versions if we make this more consistent (cherry picked from commit 5a16cf1)
1 parent 63e3f6d commit 1ed0550

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.github/workflows/maven.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ env:
1010
# Default versions for canonical release build
1111
DEFAULT_JAVA_VERSION: '8'
1212
DEFAULT_JRUBY_VERSION: '9.4.13.0' # Should match pom.xml <jruby.version> property (AND a version inside the test matrix)
13-
DEFAULT_RACK_VERSION: '~> 2.2' # Should match Gemfile (AND a version inside the test matrix)
13+
DEFAULT_RACK_VERSION: '~> 2.2.0' # Should match Gemfile (AND a version inside the test matrix)
1414

1515
jobs:
1616
build:
@@ -21,7 +21,7 @@ jobs:
2121
matrix:
2222
jruby_version: [ '9.3.15.0', '9.4.13.0' ]
2323
java_version: [ '8', '11', '17', '21' ]
24-
rack_version: [ '~> 2.2' ]
24+
rack_version: [ '~> 2.2.0' ]
2525
fail-fast: false
2626

2727
steps:

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ group :default do
44
if rack_version = ENV['RACK_VERSION']
55
gem 'rack', rack_version
66
else
7-
gem 'rack', '~> 2.2'
7+
gem 'rack', '~> 2.2.0'
88
end
99
end
1010

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ PLATFORMS
3232

3333
DEPENDENCIES
3434
appraisal
35-
rack (~> 2.2)
35+
rack (~> 2.2.0)
3636
rake (~> 13.3)
3737
rspec

examples/camping/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
source 'https://rubygems.org'
22

3-
gem 'rack', '~> 2.2'
3+
gem 'rack', '~> 2.2.0'
44
gem 'rackup'
55
gem 'camping', '< 3'
66
gem 'markaby'

examples/camping/Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ DEPENDENCIES
4040
camping (< 3)
4141
jruby-jars (< 10)
4242
markaby
43-
rack (~> 2.2)
43+
rack (~> 2.2.0)
4444
rackup
4545
warbler!
4646

0 commit comments

Comments
 (0)