Skip to content

Commit a591ab7

Browse files
committed
Force Rack < 2.x when using Ruby < 2.2
1 parent 6123e14 commit a591ab7

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ rvm:
88
- 2.0.0
99
- 2.1
1010
- 2.2
11+
- 2.3
1112

1213
matrix:
1314
include:

Gemfile

+4
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
source "https://rubygems.org"
22
gemspec
3+
4+
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("2.2")
5+
gem 'rack', '< 2.0'
6+
end

gemfiles/Gemfile-1.9

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
source "https://rubygems.org"
22
gemspec path: '..'
33
gem 'sass', '< 3.4'
4+
gem 'rack', '< 2.0'

0 commit comments

Comments
 (0)