samurai 0.2.12 → 0.2.13

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- samurai (0.2.10)
4
+ samurai (0.2.13)
5
5
  activeresource (>= 2.2.2)
6
6
 
7
7
  GEM
@@ -1,3 +1,4 @@
1
+ require 'active_resource/version'
1
2
  class Samurai::PaymentMethod < Samurai::Base
2
3
 
3
4
  include Samurai::CacheableByToken
@@ -42,7 +43,7 @@ class Samurai::PaymentMethod < Samurai::Base
42
43
  :first_name, :last_name, :address_1, :address_2, :city, :state, :zip,
43
44
  :card_number, :cvv, :expiry_month, :expiry_year
44
45
  ]
45
- if ActiveResource::VERSION::MAJOR <= 3 && ActiveResource::VERSION::MINOR < 1
46
+ if [ActiveResource::VERSION::MAJOR, ActiveResource::VERSION::MINOR].compact.join('.').to_f < 3.1
46
47
  # If we're using ActiveResource pre-3.1, there's no schema class method, so we resort to some tricks...
47
48
  # Initialize the known attributes from the schema as empty strings, so that they can be accessed via method-missing
48
49
  EMPTY_ATTRIBUTES = KNOWN_ATTRIBUTES.inject(ActiveSupport::HashWithIndifferentAccess.new) {|h, k| h[k] = ''; h}
@@ -1,3 +1,3 @@
1
1
  module Samurai
2
- VERSION = "0.2.12".freeze
2
+ VERSION = "0.2.13".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: samurai
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.12
4
+ version: 0.2.13
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2011-09-13 00:00:00.000000000Z
13
+ date: 2011-09-18 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activeresource
17
- requirement: &70259906833500 !ruby/object:Gem::Requirement
17
+ requirement: &70254332391780 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 2.2.2
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70259906833500
25
+ version_requirements: *70254332391780
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: bundler
28
- requirement: &70259906832780 !ruby/object:Gem::Requirement
28
+ requirement: &70254332391220 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: 1.0.0
34
34
  type: :development
35
35
  prerelease: false
36
- version_requirements: *70259906832780
36
+ version_requirements: *70254332391220
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: rspec
39
- requirement: &70259906832320 !ruby/object:Gem::Requirement
39
+ requirement: &70254332390660 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ! '>='
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: 2.6.0
45
45
  type: :development
46
46
  prerelease: false
47
- version_requirements: *70259906832320
47
+ version_requirements: *70254332390660
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: fakeweb
50
- requirement: &70259906831940 !ruby/object:Gem::Requirement
50
+ requirement: &70254332390220 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ! '>='
@@ -55,10 +55,10 @@ dependencies:
55
55
  version: '0'
56
56
  type: :development
57
57
  prerelease: false
58
- version_requirements: *70259906831940
58
+ version_requirements: *70254332390220
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: ruby-debug19
61
- requirement: &70259906831400 !ruby/object:Gem::Requirement
61
+ requirement: &70254332389600 !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements:
64
64
  - - ! '>='
@@ -66,7 +66,7 @@ dependencies:
66
66
  version: '0'
67
67
  type: :development
68
68
  prerelease: false
69
- version_requirements: *70259906831400
69
+ version_requirements: *70254332389600
70
70
  description: If you are an online merchant and using samurai.feefighters.com, this
71
71
  gem will make your life easy. Integrate with the samurai.feefighters.com portal
72
72
  and process transaction.