-
Notifications
You must be signed in to change notification settings - Fork 251
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Prepare test environment for both rack 1 and rack 2 on Travis. * Update .travis.yml. * Add "bundle list" in script section to check rack's version from Travis log page. * Update Gemfile for rack 2 test, and add gemfiles/Gemfile.rack-1 for rack 1 test. * Keep codeclimate-test-reporter version < 1. To supress deprecated warning temporary. Later update it to latest version. * Add gems to Gemfile for Thorfile. * Specify sinatra 2.0.0.rc2 version for rack 2 test. * Delete Gemfile.lock * Fix test suite for Rack 2.x compatiblity.
- Loading branch information
Showing
6 changed files
with
42 additions
and
62 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 |
---|---|---|
@@ -1,7 +1,10 @@ | ||
pkg | ||
doc | ||
coverage | ||
Gemfile.lock | ||
/gemfiles/*.lock | ||
/gemfiles/.bundle | ||
/Gemfile.lock | ||
VERSION | ||
*.rbc | ||
.bundle | ||
*.swp | ||
/.bundle |
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 |
---|---|---|
@@ -1,8 +1,15 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'rspec' | ||
gem "rack" | ||
gem "sinatra" | ||
gemspec | ||
|
||
# Development dependency | ||
gem 'rake' | ||
gem 'rspec' | ||
# To use rack 2 | ||
gem 'sinatra', '~> 2.0.0.rc2' | ||
# Keep version < 1 to supress deprecated warning temporary. | ||
gem 'codeclimate-test-reporter', '< 1', :require => false | ||
|
||
gem "codeclimate-test-reporter", group: :test, require: nil | ||
# For Thorfile. Run "bundle exec thor help" to see the help. | ||
gem 'thor' | ||
gem 'git' |
This file was deleted.
Oops, something went wrong.
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,13 @@ | ||
source 'https://rubygems.org' | ||
|
||
gemspec :path => '..' | ||
|
||
# Runtime dependency | ||
gem 'rack', '< 2' | ||
|
||
# Development dependency | ||
gem 'rake' | ||
gem 'rspec' | ||
gem 'sinatra' | ||
# Keep version < 1 to supress deprecated warning temporary. | ||
gem 'codeclimate-test-reporter', '< 1', :require => false |
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