Skip to content

Commit

Permalink
Float Rails to the latest version
Browse files Browse the repository at this point in the history
Also fixes a Mocha error in some permutations.

Closes activemerchant#685.
  • Loading branch information
sanemat authored and ntalbott committed May 10, 2013
1 parent 44f4b52 commit f3e5c8d
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 13 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
* Barclays ePDQ: Handle incorrectly encoded response [jordanwheeler, aprofeit]
* Orbital: Bug fixes; add CustomerEmail, Retry Logic, Managed Billing, and Destination Address [juicedM3
* Distinguish invalid vs empty issue_numbers on CreditCards [drasch]
* Float Gemfiles to latest Rails [sanemat]

== Version 1.32.1 (April 4, 2013)

Expand Down
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
source 'https://rubygems.org'
gemspec

gem 'activesupport', '3.2.8'
gem 'rails', '3.2.8'
gem 'activesupport', '>= 3.2.8', '< 4'
gem 'rails', '>= 3.2.8', '< 4'

eval File.read(File.expand_path("../Gemfile_common", __FILE__))
9 changes: 6 additions & 3 deletions Gemfile_rails23
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
source :rubygems
source 'https://rubygems.org'
gemspec

gem 'activesupport', '2.3.14'
gem 'rails', '2.3.14'
gem 'activesupport', '>= 2.3.14', '< 3'
gem 'rails', '>= 2.3.14', '< 3'
platforms :mri_20 do
gem 'iconv'
end
if RUBY_VERSION < '1.9'
gem 'mocha', '~> 0.11.0', :require => false
end

eval File.read(File.expand_path("../Gemfile_common", __FILE__))
6 changes: 3 additions & 3 deletions Gemfile_rails30
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
source :rubygems
source 'https://rubygems.org'
gemspec

gem 'activesupport', '3.0.17'
gem 'rails', '3.0.17'
gem 'activesupport', '>= 3.0.17', '< 3.1'
gem 'rails', '>= 3.0.17', '< 3.1'

eval File.read(File.expand_path("../Gemfile_common", __FILE__))
6 changes: 3 additions & 3 deletions Gemfile_rails31
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
source :rubygems
source 'https://rubygems.org'
gemspec

gem 'activesupport', '3.1.8'
gem 'rails', '3.1.8'
gem 'activesupport', '>= 3.1.8', '< 3.2'
gem 'rails', '>= 3.1.8', '< 3.2'

eval File.read(File.expand_path("../Gemfile_common", __FILE__))
2 changes: 1 addition & 1 deletion activemerchant.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Gem::Specification.new do |s|
s.add_dependency('nokogiri')

s.add_development_dependency('rake')
s.add_development_dependency('mocha', '~> 0.11.3')
s.add_development_dependency('mocha', '~> 0.13.0')
s.add_development_dependency('rails', '>= 2.3.14')
s.add_development_dependency('thor')
s.signing_key = ENV['GEM_PRIVATE_KEY']
Expand Down
7 changes: 6 additions & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@

require 'test/unit'
require 'money'
require 'mocha'
require 'mocha/version'
if(Mocha::VERSION.split(".")[1].to_i < 12)
require 'mocha'
else
require 'mocha/setup'
end
require 'yaml'
require 'json'
require 'active_merchant'
Expand Down

0 comments on commit f3e5c8d

Please sign in to comment.