Skip to content

Commit a36ede1

Browse files
committed
[Tests] run on all the ruby 2s
1 parent 10d64d1 commit a36ede1

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
language: ruby
22
rvm:
3-
- 1.9.3
3+
- "1.9.3"
4+
- "2.0"
5+
- "2.1"
6+
- "2.2"
47
before_install:
58
- gem update bundler
69
script:

hypernova.gemspec

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,13 @@ Gem::Specification.new do |spec|
3838
spec.add_development_dependency "rspec", "~> 3.4"
3939
spec.add_development_dependency "simplecov", "~> 0.11"
4040
spec.add_development_dependency "pry", "~> 0.10"
41-
spec.add_development_dependency "webmock", "~> 2.0"
41+
# this is pinned because ruby devs hate semver
42+
# see https://github.com/bblimke/webmock/issues/667
43+
spec.add_development_dependency "webmock", "=2.1.0"
44+
# below works around travis-ci requiring github-pages-health-check, whose subdep public_suffix
45+
# stopped being compatible with ruby 1.9
46+
# see https://github.com/weppos/publicsuffix-ruby/issues/127
47+
spec.add_development_dependency "public_suffix", "=1.4.6"
4248

4349
spec.add_runtime_dependency "faraday", "~> 0.8"
4450
end

spec/controller_helpers_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def initialize
135135
:headers => {
136136
'Accept'=>'*/*',
137137
'Content-Type'=>'application/json',
138-
'User-Agent'=>'Faraday v0.9.2'
138+
'User-Agent'=>'Faraday v0.10.0'
139139
}).
140140
to_return(:status => 200, :body => '{}', :headers => {})
141141

0 commit comments

Comments
 (0)