Skip to content

Commit

Permalink
Test with Faraday 0.8 additionally in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed Oct 10, 2014
1 parent c7c5e3e commit cd62f5d
Show file tree
Hide file tree
Showing 4 changed files with 155 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ appraise "typhoeus-old" do
gem 'webmock', '1.8.11'
end

appraise "faraday-old" do
gem 'faraday', '~> 0.8.8'
end
29 changes: 29 additions & 0 deletions gemfiles/faraday_old.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "jruby-openssl", :platforms=>:jruby
gem "yard"
gem "rake", ">= 0.9.2"
gem "cucumber", ">= 1.1.4"
gem "aruba", ">= 0.5"
gem "rspec", "~> 3.1"
gem "fakeweb", ">= 1.3.0"
gem "webmock", ">= 1.14"
gem "httpclient", ">= 2.2"
gem "excon", ">= 0.22"
gem "timecop", "0.6.1"
gem "rack", ">= 1.3.6"
gem "sinatra", ">= 1.3.2"
gem "multi_json", ">= 1.0.3"
gem "json", ">= 1.6.5"
gem "simplecov", ">= 0.5.3"
gem "redis", ">= 2.2.2"
gem "typhoeus", ">= 0.6"
gem "patron", ">= 0.4.15", :platform=>:ruby
gem "em-http-request", ">= 1.0.2", :platform=>:ruby
gem "curb", ">= 0.8.0", :platform=>:ruby
gem "yajl-ruby", ">= 1.1.0", :platform=>:ruby
gem "faraday", "~> 0.8.8"

gemspec :path=>"../"
118 changes: 118 additions & 0 deletions gemfiles/faraday_old.gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
PATH
remote: ../
specs:
vcr (2.9.3)

GEM
remote: https://rubygems.org/
specs:
addressable (2.3.6)
aruba (0.6.1)
childprocess (>= 0.3.6)
cucumber (>= 1.1.1)
rspec-expectations (>= 2.7.0)
builder (3.2.2)
childprocess (0.5.5)
ffi (~> 1.0, >= 1.0.11)
cookiejar (0.3.2)
crack (0.4.2)
safe_yaml (~> 1.0.0)
cucumber (1.3.17)
builder (>= 2.1.2)
diff-lcs (>= 1.1.3)
gherkin (~> 2.12)
multi_json (>= 1.7.5, < 2.0)
multi_test (>= 0.1.1)
curb (0.8.6)
diff-lcs (1.2.5)
docile (1.1.5)
em-http-request (1.1.2)
addressable (>= 2.3.4)
cookiejar
em-socksify (>= 0.3)
eventmachine (>= 1.0.3)
http_parser.rb (>= 0.6.0)
em-socksify (0.3.0)
eventmachine (>= 1.0.0.beta.4)
ethon (0.7.1)
ffi (>= 1.3.0)
eventmachine (1.0.3)
excon (0.40.0)
fakeweb (1.3.0)
faraday (0.8.9)
multipart-post (~> 1.2.0)
ffi (1.9.5)
gherkin (2.12.2)
multi_json (~> 1.3)
http_parser.rb (0.6.0)
httpclient (2.4.0)
json (1.8.1)
multi_json (1.10.1)
multi_test (0.1.1)
multipart-post (1.2.0)
patron (0.4.18)
rack (1.5.2)
rack-protection (1.5.3)
rack
rake (10.3.2)
redis (3.1.0)
rspec (3.1.0)
rspec-core (~> 3.1.0)
rspec-expectations (~> 3.1.0)
rspec-mocks (~> 3.1.0)
rspec-core (3.1.6)
rspec-support (~> 3.1.0)
rspec-expectations (3.1.2)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.1.0)
rspec-mocks (3.1.3)
rspec-support (~> 3.1.0)
rspec-support (3.1.2)
safe_yaml (1.0.4)
simplecov (0.9.1)
docile (~> 1.1.0)
multi_json (~> 1.0)
simplecov-html (~> 0.8.0)
simplecov-html (0.8.0)
sinatra (1.4.5)
rack (~> 1.4)
rack-protection (~> 1.4)
tilt (~> 1.3, >= 1.3.4)
tilt (1.4.1)
timecop (0.6.1)
typhoeus (0.6.9)
ethon (>= 0.7.1)
webmock (1.19.0)
addressable (>= 2.3.6)
crack (>= 0.3.2)
yajl-ruby (1.2.1)
yard (0.8.7.4)

PLATFORMS
ruby

DEPENDENCIES
aruba (>= 0.5)
cucumber (>= 1.1.4)
curb (>= 0.8.0)
em-http-request (>= 1.0.2)
excon (>= 0.22)
fakeweb (>= 1.3.0)
faraday (~> 0.8.8)
httpclient (>= 2.2)
jruby-openssl
json (>= 1.6.5)
multi_json (>= 1.0.3)
patron (>= 0.4.15)
rack (>= 1.3.6)
rake (>= 0.9.2)
redis (>= 2.2.2)
rspec (~> 3.1)
simplecov (>= 0.5.3)
sinatra (>= 1.3.2)
timecop (= 0.6.1)
typhoeus (>= 0.6)
vcr!
webmock (>= 1.14)
yajl-ruby (>= 1.1.0)
yard
5 changes: 5 additions & 0 deletions script/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ echo "-------- Running Typhoeus 0.4 Specs ---------"
bundle install --gemfile=gemfiles/typhoeus_old.gemfile --without extras
BUNDLE_GEMFILE=gemfiles/typhoeus_old.gemfile bundle exec rspec spec/vcr/library_hooks/typhoeus_0.4_spec.rb --format progress --backtrace

echo "-------- Running Faraday 0.8 Specs ---------"
bundle install --gemfile=gemfiles/faraday_old.gemfile --without extras
BUNDLE_GEMFILE=gemfiles/faraday_old.gemfile bundle exec rspec spec/vcr/middleware/faraday_spec.rb spec/vcr/library_hooks/faraday_spec.rb --format progress --backtrace
BUNDLE_GEMFILE=gemfiles/faraday_old.gemfile bundle exec cucumber features/middleware/faraday.feature --format progress --backtrace

# Setup vendored rspec-1
bundle exec rake submodules

Expand Down

0 comments on commit cd62f5d

Please sign in to comment.