From f878238f712765201fe77a7b2b8a53072f602c1b Mon Sep 17 00:00:00 2001 From: mrjonesbot Date: Wed, 3 May 2017 14:34:37 -0500 Subject: [PATCH 1/5] updated gemspec --- fake_braintree.gemspec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fake_braintree.gemspec b/fake_braintree.gemspec index ead1d48..a74c3f3 100644 --- a/fake_braintree.gemspec +++ b/fake_braintree.gemspec @@ -15,15 +15,15 @@ Gem::Specification.new do |s| s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } s.require_paths = ['lib'] - s.required_ruby_version = Gem::Requirement.new(">= 1.9.3") + s.required_ruby_version = Gem::Requirement.new(">= 2.4.1") s.add_dependency 'activesupport' - s.add_dependency 'braintree', '~> 2.32' - s.add_dependency 'capybara', '>= 2.2.0' + s.add_dependency 'braintree', '~> 2.61' + s.add_dependency 'capybara', '>= 2.3.0' s.add_dependency 'sinatra' s.add_development_dependency 'rake' s.add_development_dependency 'rspec', '~> 3.2' - s.add_development_dependency 'timecop', '~> 0.6' + s.add_development_dependency 'timecop', '~> 0.8.1' s.add_development_dependency 'capybara-webkit' end From 638de8763f5b386f4c139fdf3a723d885542f82a Mon Sep 17 00:00:00 2001 From: mrjonesbot Date: Wed, 3 May 2017 15:15:39 -0500 Subject: [PATCH 2/5] resolved sinatra to 2.0.0.beta2 --- fake_braintree.gemspec | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/fake_braintree.gemspec b/fake_braintree.gemspec index a74c3f3..92d2879 100644 --- a/fake_braintree.gemspec +++ b/fake_braintree.gemspec @@ -17,13 +17,14 @@ Gem::Specification.new do |s| s.require_paths = ['lib'] s.required_ruby_version = Gem::Requirement.new(">= 2.4.1") - s.add_dependency 'activesupport' + + s.add_dependency 'activesupport', '~> 5.0' s.add_dependency 'braintree', '~> 2.61' - s.add_dependency 'capybara', '>= 2.3.0' - s.add_dependency 'sinatra' + s.add_dependency 'capybara', '>= 2.2.0' + s.add_dependency 'sinatra', '~> 2.0.0.beta2' - s.add_development_dependency 'rake' - s.add_development_dependency 'rspec', '~> 3.2' + s.add_development_dependency 'rake', '~> 0' + s.add_development_dependency 'rspec', '~> 3.5' s.add_development_dependency 'timecop', '~> 0.8.1' s.add_development_dependency 'capybara-webkit' end From bc4dd7db25e456a8f19a81aa8f38bcb8dd13c6c3 Mon Sep 17 00:00:00 2001 From: mrjonesbot Date: Wed, 3 May 2017 15:22:02 -0500 Subject: [PATCH 3/5] resolving non sinatra dependancies to support older versions --- fake_braintree.gemspec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fake_braintree.gemspec b/fake_braintree.gemspec index 92d2879..d720fc1 100644 --- a/fake_braintree.gemspec +++ b/fake_braintree.gemspec @@ -18,13 +18,13 @@ Gem::Specification.new do |s| s.required_ruby_version = Gem::Requirement.new(">= 2.4.1") - s.add_dependency 'activesupport', '~> 5.0' - s.add_dependency 'braintree', '~> 2.61' + s.add_dependency 'activesupport' + s.add_dependency 'braintree', '~> 2.32' s.add_dependency 'capybara', '>= 2.2.0' s.add_dependency 'sinatra', '~> 2.0.0.beta2' - s.add_development_dependency 'rake', '~> 0' - s.add_development_dependency 'rspec', '~> 3.5' - s.add_development_dependency 'timecop', '~> 0.8.1' + s.add_development_dependency 'rake' + s.add_development_dependency 'rspec', '~> 3.2' + s.add_development_dependency 'timecop', '~> 0.6' s.add_development_dependency 'capybara-webkit' end From 5a91439e3cfa08f86426cca75c840ab1c130a5fd Mon Sep 17 00:00:00 2001 From: mrjonesbot Date: Wed, 3 May 2017 15:32:37 -0500 Subject: [PATCH 4/5] reset ruby gem requirement --- fake_braintree.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fake_braintree.gemspec b/fake_braintree.gemspec index d720fc1..b19067e 100644 --- a/fake_braintree.gemspec +++ b/fake_braintree.gemspec @@ -15,7 +15,7 @@ Gem::Specification.new do |s| s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } s.require_paths = ['lib'] - s.required_ruby_version = Gem::Requirement.new(">= 2.4.1") + s.required_ruby_version = Gem::Requirement.new(">= 1.9.3") s.add_dependency 'activesupport' From 3ace145c4d06f956145c005dff74e300b9f65269 Mon Sep 17 00:00:00 2001 From: mrjonesbot Date: Wed, 3 May 2017 15:33:31 -0500 Subject: [PATCH 5/5] removed extra space --- fake_braintree.gemspec | 1 - 1 file changed, 1 deletion(-) diff --git a/fake_braintree.gemspec b/fake_braintree.gemspec index b19067e..eba2674 100644 --- a/fake_braintree.gemspec +++ b/fake_braintree.gemspec @@ -17,7 +17,6 @@ Gem::Specification.new do |s| s.require_paths = ['lib'] s.required_ruby_version = Gem::Requirement.new(">= 1.9.3") - s.add_dependency 'activesupport' s.add_dependency 'braintree', '~> 2.32' s.add_dependency 'capybara', '>= 2.2.0'