This repository has been archived by the owner on Apr 4, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The code seems to work with rack 2 without any modifications. However, to make sure that both rack 1 and rack 2 compatibility is maintained, I've added Appraisal, which makes it easier to test against multiple versions of rack. The default test task will now test against rack 1.5, 1.6 and 2.0.
- Loading branch information
1 parent
0319574
commit b759ca1
Showing
13 changed files
with
490 additions
and
2 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
appraise "rack-1-5" do | ||
gem "rack", "~> 1.5" | ||
end | ||
|
||
appraise "rack-1-6" do | ||
gem "rack", "~> 1.6" | ||
end | ||
|
||
appraise "rack-2-0" do | ||
gem "rack", "~> 2.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,12 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org/" | ||
|
||
gem "appraisal" | ||
gem "rack", "< 2" | ||
|
||
group :test do | ||
gem "cucumber", "2.1.0" | ||
end | ||
|
||
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,82 @@ | ||
PATH | ||
remote: .. | ||
specs: | ||
rack-jekyll (0.5.0) | ||
jekyll (>= 1.3) | ||
listen (>= 1.3) | ||
rack (>= 1.5) | ||
|
||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
addressable (2.5.0) | ||
public_suffix (~> 2.0, >= 2.0.2) | ||
appraisal (2.1.0) | ||
bundler | ||
rake | ||
thor (>= 0.14.0) | ||
builder (3.2.3) | ||
colorator (1.1.0) | ||
cucumber (2.1.0) | ||
builder (>= 2.1.2) | ||
cucumber-core (~> 1.3.0) | ||
diff-lcs (>= 1.1.3) | ||
gherkin3 (~> 3.1.0) | ||
multi_json (>= 1.7.5, < 2.0) | ||
multi_test (>= 0.1.2) | ||
cucumber-core (1.3.1) | ||
gherkin3 (~> 3.1.0) | ||
diff-lcs (1.3) | ||
ffi (1.9.18) | ||
forwardable-extended (2.6.0) | ||
gherkin3 (3.1.2) | ||
jekyll (3.4.2) | ||
addressable (~> 2.4) | ||
colorator (~> 1.0) | ||
jekyll-sass-converter (~> 1.0) | ||
jekyll-watch (~> 1.1) | ||
kramdown (~> 1.3) | ||
liquid (~> 3.0) | ||
mercenary (~> 0.3.3) | ||
pathutil (~> 0.9) | ||
rouge (~> 1.7) | ||
safe_yaml (~> 1.0) | ||
jekyll-sass-converter (1.5.0) | ||
sass (~> 3.4) | ||
jekyll-watch (1.5.0) | ||
listen (~> 3.0, < 3.1) | ||
kramdown (1.13.2) | ||
liquid (3.0.6) | ||
listen (3.0.8) | ||
rb-fsevent (~> 0.9, >= 0.9.4) | ||
rb-inotify (~> 0.9, >= 0.9.7) | ||
mercenary (0.3.6) | ||
minitest (5.10.1) | ||
multi_json (1.12.1) | ||
multi_test (0.1.2) | ||
pathutil (0.14.0) | ||
forwardable-extended (~> 2.6) | ||
public_suffix (2.0.5) | ||
rack (1.6.5) | ||
rake (12.0.0) | ||
rb-fsevent (0.9.8) | ||
rb-inotify (0.9.8) | ||
ffi (>= 0.5.0) | ||
rouge (1.11.1) | ||
safe_yaml (1.0.4) | ||
sass (3.4.23) | ||
thor (0.19.4) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
appraisal | ||
cucumber (= 2.1.0) | ||
minitest | ||
rack (< 2) | ||
rack-jekyll! | ||
rake | ||
|
||
BUNDLED WITH | ||
1.14.6 |
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,12 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org/" | ||
|
||
gem "appraisal" | ||
gem "rack", "~> 1.5" | ||
|
||
group :test do | ||
gem "cucumber", "2.1.0" | ||
end | ||
|
||
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,82 @@ | ||
PATH | ||
remote: .. | ||
specs: | ||
rack-jekyll (0.5.0) | ||
jekyll (>= 1.3) | ||
listen (>= 1.3) | ||
rack (>= 1.5) | ||
|
||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
addressable (2.5.0) | ||
public_suffix (~> 2.0, >= 2.0.2) | ||
appraisal (2.1.0) | ||
bundler | ||
rake | ||
thor (>= 0.14.0) | ||
builder (3.2.3) | ||
colorator (1.1.0) | ||
cucumber (2.1.0) | ||
builder (>= 2.1.2) | ||
cucumber-core (~> 1.3.0) | ||
diff-lcs (>= 1.1.3) | ||
gherkin3 (~> 3.1.0) | ||
multi_json (>= 1.7.5, < 2.0) | ||
multi_test (>= 0.1.2) | ||
cucumber-core (1.3.1) | ||
gherkin3 (~> 3.1.0) | ||
diff-lcs (1.3) | ||
ffi (1.9.18) | ||
forwardable-extended (2.6.0) | ||
gherkin3 (3.1.2) | ||
jekyll (3.4.2) | ||
addressable (~> 2.4) | ||
colorator (~> 1.0) | ||
jekyll-sass-converter (~> 1.0) | ||
jekyll-watch (~> 1.1) | ||
kramdown (~> 1.3) | ||
liquid (~> 3.0) | ||
mercenary (~> 0.3.3) | ||
pathutil (~> 0.9) | ||
rouge (~> 1.7) | ||
safe_yaml (~> 1.0) | ||
jekyll-sass-converter (1.5.0) | ||
sass (~> 3.4) | ||
jekyll-watch (1.5.0) | ||
listen (~> 3.0, < 3.1) | ||
kramdown (1.13.2) | ||
liquid (3.0.6) | ||
listen (3.0.8) | ||
rb-fsevent (~> 0.9, >= 0.9.4) | ||
rb-inotify (~> 0.9, >= 0.9.7) | ||
mercenary (0.3.6) | ||
minitest (5.10.1) | ||
multi_json (1.12.1) | ||
multi_test (0.1.2) | ||
pathutil (0.14.0) | ||
forwardable-extended (~> 2.6) | ||
public_suffix (2.0.5) | ||
rack (1.6.5) | ||
rake (12.0.0) | ||
rb-fsevent (0.9.8) | ||
rb-inotify (0.9.8) | ||
ffi (>= 0.5.0) | ||
rouge (1.11.1) | ||
safe_yaml (1.0.4) | ||
sass (3.4.23) | ||
thor (0.19.4) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
appraisal | ||
cucumber (= 2.1.0) | ||
minitest | ||
rack (~> 1.5) | ||
rack-jekyll! | ||
rake | ||
|
||
BUNDLED WITH | ||
1.14.6 |
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,12 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org/" | ||
|
||
gem "appraisal" | ||
gem "rack", "~> 1.6" | ||
|
||
group :test do | ||
gem "cucumber", "2.1.0" | ||
end | ||
|
||
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,82 @@ | ||
PATH | ||
remote: .. | ||
specs: | ||
rack-jekyll (0.5.0) | ||
jekyll (>= 1.3) | ||
listen (>= 1.3) | ||
rack (>= 1.5) | ||
|
||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
addressable (2.5.0) | ||
public_suffix (~> 2.0, >= 2.0.2) | ||
appraisal (2.1.0) | ||
bundler | ||
rake | ||
thor (>= 0.14.0) | ||
builder (3.2.3) | ||
colorator (1.1.0) | ||
cucumber (2.1.0) | ||
builder (>= 2.1.2) | ||
cucumber-core (~> 1.3.0) | ||
diff-lcs (>= 1.1.3) | ||
gherkin3 (~> 3.1.0) | ||
multi_json (>= 1.7.5, < 2.0) | ||
multi_test (>= 0.1.2) | ||
cucumber-core (1.3.1) | ||
gherkin3 (~> 3.1.0) | ||
diff-lcs (1.3) | ||
ffi (1.9.18) | ||
forwardable-extended (2.6.0) | ||
gherkin3 (3.1.2) | ||
jekyll (3.4.2) | ||
addressable (~> 2.4) | ||
colorator (~> 1.0) | ||
jekyll-sass-converter (~> 1.0) | ||
jekyll-watch (~> 1.1) | ||
kramdown (~> 1.3) | ||
liquid (~> 3.0) | ||
mercenary (~> 0.3.3) | ||
pathutil (~> 0.9) | ||
rouge (~> 1.7) | ||
safe_yaml (~> 1.0) | ||
jekyll-sass-converter (1.5.0) | ||
sass (~> 3.4) | ||
jekyll-watch (1.5.0) | ||
listen (~> 3.0, < 3.1) | ||
kramdown (1.13.2) | ||
liquid (3.0.6) | ||
listen (3.0.8) | ||
rb-fsevent (~> 0.9, >= 0.9.4) | ||
rb-inotify (~> 0.9, >= 0.9.7) | ||
mercenary (0.3.6) | ||
minitest (5.10.1) | ||
multi_json (1.12.1) | ||
multi_test (0.1.2) | ||
pathutil (0.14.0) | ||
forwardable-extended (~> 2.6) | ||
public_suffix (2.0.5) | ||
rack (1.6.5) | ||
rake (12.0.0) | ||
rb-fsevent (0.9.8) | ||
rb-inotify (0.9.8) | ||
ffi (>= 0.5.0) | ||
rouge (1.11.1) | ||
safe_yaml (1.0.4) | ||
sass (3.4.23) | ||
thor (0.19.4) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
appraisal | ||
cucumber (= 2.1.0) | ||
minitest | ||
rack (~> 1.6) | ||
rack-jekyll! | ||
rake | ||
|
||
BUNDLED WITH | ||
1.14.6 |
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,12 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org/" | ||
|
||
gem "appraisal" | ||
gem "rack", ">= 2" | ||
|
||
group :test do | ||
gem "cucumber", "2.1.0" | ||
end | ||
|
||
gemspec :path => "../" |
Oops, something went wrong.