File tree Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change
1
+ sudo : false
2
+
1
3
before_install :
2
4
- " export DISPLAY=:99.0"
3
5
- " sh -e /etc/init.d/xvfb start"
@@ -8,3 +10,12 @@ cache: bundler
8
10
9
11
rvm :
10
12
- 2.1.2
13
+
14
+ env :
15
+ - GRAPE_SWAGGER_VERSION=0.7.2
16
+ - GRAPE_SWAGGER_VERSION=0.8.0
17
+ - GRAPE_SWAGGER_VERSION=HEAD
18
+
19
+ matrix :
20
+ allow_failures :
21
+ - env : GRAPE_SWAGGER_VERSION=HEAD
Original file line number Diff line number Diff line change 1
1
source 'https://rubygems.org'
2
2
3
3
gemspec
4
+
5
+ case version = ENV [ 'GRAPE_SWAGGER_VERSION' ] || '~> 0.9.0'
6
+ when 'HEAD'
7
+ gem 'grape-swagger' , github : 'tim-vandecasteele/grape-swagger'
8
+ else
9
+ gem 'grape-swagger' , version
10
+ end
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
17
17
spec . require_paths = %w( lib )
18
18
19
19
spec . add_dependency 'railties' , '>= 3.2.12'
20
- spec . add_dependency 'grape-swagger' , '~> 0.7.2'
20
+ spec . add_dependency 'grape-swagger' , '>= 0.7.2'
21
21
22
22
spec . add_development_dependency 'bundler' , '~> 1.3'
23
23
spec . add_development_dependency 'rake'
You can’t perform that action at this time.
0 commit comments