-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Harmonize Rack dependency and tests #27
Merged
Merged
Changes from 15 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
e8c22f4
Make Rack a runtime dependency again
julik 339aeea
Use Rack::Lint in the test suite (#24)
06d18c4
Add tests for fingerprinting
julik f93b042
Do not check for Rack versions
julik 000baff
Start fixing all the lint-non-compliances
julik 54d9e71
Continue patching Lint inconsistencies
julik 0f4455d
More clarity is better
julik 6625829
Remove body-rewinding spec
julik c6e3667
With a HEAD request there is no body
julik aa3c043
Test multiple Rack versions via Appraisal
julik a6a9e21
Somewhat closer
julik ac4f5c1
No need to test on Ruby 3
julik 6c2cc9f
Lint
julik 4eb7f33
And the last one
julik edff458
Regenerate gemfiles
julik 6146ba8
Wire Appraisal into the Rakefile
julik 8f4bd77
Install all the things
julik d17f3e5
meh
julik efc4640
Explain the use of the body class
julik bf2c344
Use the body size
julik 5e5eaa4
Try to wire in Appraisal once more
julik a8dd3ae
Be very diligent with header downcasing
julik 8ce50b9
And that
julik 6f03877
Better name
julik f48b994
Bump version and changelog
julik d1f4462
Remove Appraisal gemfiles from gemspec
julik 808b808
Tweak versions
julik File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
appraise "rack-3" do | ||
gem "rack", ">= 3.0" | ||
end | ||
|
||
appraise "rack-2" do | ||
gem "rack", ">= 2.0", "< 3.0" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--- | ||
BUNDLE_RETRY: "1" | ||
julik marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
gem "rack", ">= 2.0", "< 3.0" | ||
|
||
gemspec path: "../" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,134 @@ | ||
PATH | ||
remote: .. | ||
specs: | ||
idempo (1.2.2) | ||
measurometer (~> 1.3) | ||
msgpack | ||
rack (< 4) | ||
|
||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
activemodel (7.1.5) | ||
activesupport (= 7.1.5) | ||
activerecord (7.1.5) | ||
activemodel (= 7.1.5) | ||
activesupport (= 7.1.5) | ||
timeout (>= 0.4.0) | ||
activesupport (7.1.5) | ||
base64 | ||
benchmark (>= 0.3) | ||
bigdecimal | ||
concurrent-ruby (~> 1.0, >= 1.0.2) | ||
connection_pool (>= 2.2.5) | ||
drb | ||
i18n (>= 1.6, < 2) | ||
logger (>= 1.4.2) | ||
minitest (>= 5.1) | ||
mutex_m | ||
securerandom (>= 0.3) | ||
tzinfo (~> 2.0) | ||
appraisal (2.5.0) | ||
bundler | ||
rake | ||
thor (>= 0.14.0) | ||
ast (2.4.2) | ||
base64 (0.2.0) | ||
benchmark (0.3.0) | ||
bigdecimal (3.1.8) | ||
concurrent-ruby (1.3.4) | ||
connection_pool (2.4.1) | ||
diff-lcs (1.5.1) | ||
drb (2.2.1) | ||
i18n (1.14.6) | ||
concurrent-ruby (~> 1.0) | ||
json (2.7.6) | ||
language_server-protocol (3.17.0.3) | ||
lint_roller (1.1.0) | ||
logger (1.6.1) | ||
measurometer (1.3.0) | ||
minitest (5.25.1) | ||
msgpack (1.7.3) | ||
mutex_m (0.2.0) | ||
mysql2 (0.5.6) | ||
parallel (1.26.3) | ||
parser (3.3.5.1) | ||
ast (~> 2.4.1) | ||
racc | ||
pg (1.5.9) | ||
racc (1.8.1) | ||
rack (2.2.9) | ||
rack-test (2.1.0) | ||
rack (>= 1.3) | ||
rainbow (3.1.1) | ||
rake (13.2.1) | ||
redis (4.8.1) | ||
regexp_parser (2.9.2) | ||
rexml (3.3.9) | ||
rspec (3.13.0) | ||
rspec-core (~> 3.13.0) | ||
rspec-expectations (~> 3.13.0) | ||
rspec-mocks (~> 3.13.0) | ||
rspec-core (3.13.2) | ||
rspec-support (~> 3.13.0) | ||
rspec-expectations (3.13.3) | ||
diff-lcs (>= 1.2.0, < 2.0) | ||
rspec-support (~> 3.13.0) | ||
rspec-mocks (3.13.2) | ||
diff-lcs (>= 1.2.0, < 2.0) | ||
rspec-support (~> 3.13.0) | ||
rspec-support (3.13.1) | ||
rubocop (1.64.1) | ||
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) | ||
ruby-progressbar (~> 1.7) | ||
unicode-display_width (>= 2.4.0, < 3.0) | ||
rubocop-ast (1.33.1) | ||
parser (>= 3.3.1.0) | ||
rubocop-performance (1.21.1) | ||
rubocop (>= 1.48.1, < 2.0) | ||
rubocop-ast (>= 1.31.1, < 2.0) | ||
ruby-progressbar (1.13.0) | ||
securerandom (0.3.1) | ||
standard (1.37.0) | ||
language_server-protocol (~> 3.17.0.2) | ||
lint_roller (~> 1.0) | ||
rubocop (~> 1.64.0) | ||
standard-custom (~> 1.0.0) | ||
standard-performance (~> 1.4) | ||
standard-custom (1.0.2) | ||
lint_roller (~> 1.0) | ||
rubocop (~> 1.50) | ||
standard-performance (1.4.0) | ||
lint_roller (~> 1.1) | ||
rubocop-performance (~> 1.21.0) | ||
thor (1.3.2) | ||
timeout (0.4.1) | ||
tzinfo (2.0.6) | ||
concurrent-ruby (~> 1.0) | ||
unicode-display_width (2.6.0) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
activerecord | ||
appraisal | ||
idempo! | ||
mysql2 | ||
pg | ||
rack (>= 2.0, < 3.0) | ||
rack-test | ||
rake (~> 13.0) | ||
redis (~> 4) | ||
rspec (~> 3.0) | ||
standard | ||
|
||
BUNDLED WITH | ||
2.1.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
gem "rack", ">= 3.0" | ||
|
||
gemspec path: "../" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,134 @@ | ||
PATH | ||
remote: .. | ||
specs: | ||
idempo (1.2.2) | ||
measurometer (~> 1.3) | ||
msgpack | ||
rack (< 4) | ||
|
||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
activemodel (7.1.5) | ||
activesupport (= 7.1.5) | ||
activerecord (7.1.5) | ||
activemodel (= 7.1.5) | ||
activesupport (= 7.1.5) | ||
timeout (>= 0.4.0) | ||
activesupport (7.1.5) | ||
base64 | ||
benchmark (>= 0.3) | ||
bigdecimal | ||
concurrent-ruby (~> 1.0, >= 1.0.2) | ||
connection_pool (>= 2.2.5) | ||
drb | ||
i18n (>= 1.6, < 2) | ||
logger (>= 1.4.2) | ||
minitest (>= 5.1) | ||
mutex_m | ||
securerandom (>= 0.3) | ||
tzinfo (~> 2.0) | ||
appraisal (2.5.0) | ||
bundler | ||
rake | ||
thor (>= 0.14.0) | ||
ast (2.4.2) | ||
base64 (0.2.0) | ||
benchmark (0.3.0) | ||
bigdecimal (3.1.8) | ||
concurrent-ruby (1.3.4) | ||
connection_pool (2.4.1) | ||
diff-lcs (1.5.1) | ||
drb (2.2.1) | ||
i18n (1.14.6) | ||
concurrent-ruby (~> 1.0) | ||
json (2.7.6) | ||
language_server-protocol (3.17.0.3) | ||
lint_roller (1.1.0) | ||
logger (1.6.1) | ||
measurometer (1.3.0) | ||
minitest (5.25.1) | ||
msgpack (1.7.3) | ||
mutex_m (0.2.0) | ||
mysql2 (0.5.6) | ||
parallel (1.26.3) | ||
parser (3.3.5.1) | ||
ast (~> 2.4.1) | ||
racc | ||
pg (1.5.9) | ||
racc (1.8.1) | ||
rack (3.1.8) | ||
rack-test (2.1.0) | ||
rack (>= 1.3) | ||
rainbow (3.1.1) | ||
rake (13.2.1) | ||
redis (4.8.1) | ||
regexp_parser (2.9.2) | ||
rexml (3.3.9) | ||
rspec (3.13.0) | ||
rspec-core (~> 3.13.0) | ||
rspec-expectations (~> 3.13.0) | ||
rspec-mocks (~> 3.13.0) | ||
rspec-core (3.13.2) | ||
rspec-support (~> 3.13.0) | ||
rspec-expectations (3.13.3) | ||
diff-lcs (>= 1.2.0, < 2.0) | ||
rspec-support (~> 3.13.0) | ||
rspec-mocks (3.13.2) | ||
diff-lcs (>= 1.2.0, < 2.0) | ||
rspec-support (~> 3.13.0) | ||
rspec-support (3.13.1) | ||
rubocop (1.64.1) | ||
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) | ||
ruby-progressbar (~> 1.7) | ||
unicode-display_width (>= 2.4.0, < 3.0) | ||
rubocop-ast (1.33.1) | ||
parser (>= 3.3.1.0) | ||
rubocop-performance (1.21.1) | ||
rubocop (>= 1.48.1, < 2.0) | ||
rubocop-ast (>= 1.31.1, < 2.0) | ||
ruby-progressbar (1.13.0) | ||
securerandom (0.3.1) | ||
standard (1.37.0) | ||
language_server-protocol (~> 3.17.0.2) | ||
lint_roller (~> 1.0) | ||
rubocop (~> 1.64.0) | ||
standard-custom (~> 1.0.0) | ||
standard-performance (~> 1.4) | ||
standard-custom (1.0.2) | ||
lint_roller (~> 1.0) | ||
rubocop (~> 1.50) | ||
standard-performance (1.4.0) | ||
lint_roller (~> 1.1) | ||
rubocop-performance (~> 1.21.0) | ||
thor (1.3.2) | ||
timeout (0.4.1) | ||
tzinfo (2.0.6) | ||
concurrent-ruby (~> 1.0) | ||
unicode-display_width (2.6.0) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
activerecord | ||
appraisal | ||
idempo! | ||
mysql2 | ||
pg | ||
rack (>= 3.0) | ||
rack-test | ||
rake (~> 13.0) | ||
redis (~> 4) | ||
rspec (~> 3.0) | ||
standard | ||
|
||
BUNDLED WITH | ||
2.1.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this intentionall removed? Testing on a recent Ruby version seems useful.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, because then the matrix turns into 4 versions - and I had some trouble loading older ActiveRecord on the newer Ruby versions. I presume what works on 2.7 will work on 3.x anyway, so it felt like a good comproimse