Skip to content

Commit

Permalink
Upgrade Traveling Ruby to work on ruby 2.2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed Mar 14, 2017
1 parent f9edcb5 commit 03056cb
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 19 deletions.
26 changes: 13 additions & 13 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
PATH
remote: .
specs:
pact-provider-verifier (0.0.12)
pact-provider-verifier (0.0.13)
faraday (~> 0.9, >= 0.9.0)
faraday_middleware (~> 0.10.0)
json (= 1.8.3)
pact (= 1.9.1)
pact-mock_service (= 0.8.2)
pact-mock_service (~> 0.8)
pact-provider-proxy (= 2.1.0)
pact-support (= 0.5.7)
pact-support (~> 0.6)
rack (= 1.6.4)
rake (~> 10.4, >= 10.4.2)
rspec (~> 2.14)
Expand All @@ -17,11 +17,11 @@ GEM
remote: https://rubygems.org/
specs:
awesome_print (1.7.0)
diff-lcs (1.2.5)
faraday (0.9.2)
diff-lcs (1.3)
faraday (0.11.0)
multipart-post (>= 1.2, < 3)
faraday_middleware (0.10.0)
faraday (>= 0.7.4, < 0.10)
faraday_middleware (0.10.1)
faraday (>= 0.7.4, < 1.0)
find_a_port (1.0.1)
json (1.8.3)
multipart-post (2.0.0)
Expand All @@ -36,10 +36,10 @@ GEM
term-ansicolor (~> 1.0)
thor
webrick
pact-mock_service (0.8.2)
pact-mock_service (0.12.1)
find_a_port (~> 1.0.1)
json
pact-support (~> 0.5.3)
pact-support (~> 0.5)
rack
rack-test (~> 0.6.2)
rspec (>= 2.14)
Expand All @@ -50,7 +50,7 @@ GEM
pact (~> 1.0, >= 1.1.1)
rack (>= 1.0.0)
rack-proxy (~> 0.5)
pact-support (0.5.7)
pact-support (0.6.1)
awesome_print (~> 1.1)
find_a_port (~> 1.0.1)
json
Expand All @@ -74,10 +74,10 @@ GEM
rspec-expectations (2.99.2)
diff-lcs (>= 1.1.3, < 2.0)
rspec-mocks (2.99.4)
term-ansicolor (1.3.2)
term-ansicolor (1.4.0)
tins (~> 1.0)
thor (0.19.1)
tins (1.11.0)
thor (0.19.4)
tins (1.13.2)
webrick (1.3.1)

PLATFORMS
Expand Down
2 changes: 1 addition & 1 deletion lib/pact/provider_verifier/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Pact
module ProviderVerifier
VERSION = "0.0.12"
VERSION = "0.0.13"
end
end
4 changes: 2 additions & 2 deletions pact-provider-verifier.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ Gem::Specification.new do |gem|
gem.add_runtime_dependency 'pact-provider-proxy', '2.1.0'
gem.add_runtime_dependency 'faraday', '~> 0.9', '>= 0.9.0'
gem.add_runtime_dependency 'faraday_middleware', '~> 0.10.0'
gem.add_runtime_dependency 'pact-mock_service', '0.8.2'
gem.add_runtime_dependency 'pact-support', '0.5.7'
gem.add_runtime_dependency 'pact-mock_service', '~> 0.8'
gem.add_runtime_dependency 'pact-support', '~> 0.6'
gem.add_runtime_dependency 'json', '1.8.3'
gem.add_runtime_dependency 'rack', '1.6.4'

Expand Down
6 changes: 3 additions & 3 deletions tasks/package.rake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ require 'pact/provider_verifier/version'

PACKAGE_NAME = "pact-provider-verifier"
VERSION = "#{Pact::ProviderVerifier::VERSION}-1"
TRAVELING_RUBY_VERSION = "20150210-2.1.5"
TRAVELING_RUBY_VERSION = "20150715-2.2.2"

desc "Package pact-provider-verifier for OSX, Linux x86 and Linux x86_64"
task :package => ['package:linux:x86', 'package:linux:x86_64', 'package:osx', 'package:win32']
Expand Down Expand Up @@ -34,8 +34,8 @@ namespace :package do

desc "Install gems to local directory"
task :bundle_install do
if RUBY_VERSION !~ /^2\.1\./
abort "You can only 'bundle install' using Ruby 2.1, because that's what Traveling Ruby uses."
if RUBY_VERSION !~ /^2\.2\./
abort "You can only 'bundle install' using Ruby 2.2, because that's what Traveling Ruby uses."
end
sh "rm -rf build/tmp"
sh "mkdir -p build/tmp"
Expand Down

0 comments on commit 03056cb

Please sign in to comment.