activemerchant 1.31.0 → 1.31.1

Sign up to get free protection for your applications and to get access to all the features.
data.tar.gz.sig CHANGED
Binary file
data/CHANGELOG CHANGED
@@ -1,5 +1,9 @@
1
1
  = ActiveMerchant CHANGELOG
2
2
 
3
+ == Version 1.31.1 (February 25, 2013)
4
+
5
+ * Cybersource: Bug fixes [natejgreene, jduff]
6
+
3
7
  == Version 1.31.0 (February 20, 2013)
4
8
 
5
9
  * Worldpay: XML encoding is required to be ISO-8859-1 [dougal]
@@ -254,7 +254,7 @@ module ActiveMerchant #:nodoc:
254
254
  def build_purchase_request(money, payment_method_or_reference, options)
255
255
  xml = Builder::XmlMarkup.new :indent => 2
256
256
  add_payment_method_or_subscription(xml, money, payment_method_or_reference, options)
257
- if card_brand(payment_method_or_reference) == 'check'
257
+ if !payment_method_or_reference.is_a?(String) && card_brand(payment_method_or_reference) == 'check'
258
258
  add_check_service(xml)
259
259
  else
260
260
  add_purchase_service(xml, options)
@@ -1,3 +1,3 @@
1
1
  module ActiveMerchant
2
- VERSION = "1.31.0"
2
+ VERSION = "1.31.1"
3
3
  end
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activemerchant
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.31.0
5
4
  prerelease:
5
+ version: 1.31.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Tobias Luetke
@@ -37,129 +37,184 @@ cert_chain:
37
37
  Z1BvU1BxN25rK3MyRlFVQko5VVpGSzFsZ016aG8vNGZaZ3pKd2J1K2NPOFNO
38
38
  dWFMUy9iagpoUGFTVHlWVTB5Q1Nudz09Ci0tLS0tRU5EIENFUlRJRklDQVRF
39
39
  LS0tLS0K
40
- date: 2013-02-20 00:00:00.000000000 Z
40
+ date: 2013-02-25 00:00:00.000000000 Z
41
41
  dependencies:
42
42
  - !ruby/object:Gem::Dependency
43
- name: activesupport
44
- requirement: &70206840641520 !ruby/object:Gem::Requirement
45
- none: false
43
+ version_requirements: !ruby/object:Gem::Requirement
46
44
  requirements:
47
45
  - - ! '>='
48
46
  - !ruby/object:Gem::Version
49
47
  version: 2.3.14
48
+ none: false
49
+ name: activesupport
50
50
  type: :runtime
51
51
  prerelease: false
52
- version_requirements: *70206840641520
53
- - !ruby/object:Gem::Dependency
54
- name: i18n
55
- requirement: &70206840641100 !ruby/object:Gem::Requirement
52
+ requirement: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - ! '>='
55
+ - !ruby/object:Gem::Version
56
+ version: 2.3.14
56
57
  none: false
58
+ - !ruby/object:Gem::Dependency
59
+ version_requirements: !ruby/object:Gem::Requirement
57
60
  requirements:
58
61
  - - ! '>='
59
62
  - !ruby/object:Gem::Version
60
63
  version: '0'
64
+ none: false
65
+ name: i18n
61
66
  type: :runtime
62
67
  prerelease: false
63
- version_requirements: *70206840641100
64
- - !ruby/object:Gem::Dependency
65
- name: money
66
- requirement: &70206840640640 !ruby/object:Gem::Requirement
68
+ requirement: !ruby/object:Gem::Requirement
69
+ requirements:
70
+ - - ! '>='
71
+ - !ruby/object:Gem::Version
72
+ version: '0'
67
73
  none: false
74
+ - !ruby/object:Gem::Dependency
75
+ version_requirements: !ruby/object:Gem::Requirement
68
76
  requirements:
69
77
  - - ! '>='
70
78
  - !ruby/object:Gem::Version
71
79
  version: '0'
80
+ none: false
81
+ name: money
72
82
  type: :runtime
73
83
  prerelease: false
74
- version_requirements: *70206840640640
75
- - !ruby/object:Gem::Dependency
76
- name: builder
77
- requirement: &70206840640080 !ruby/object:Gem::Requirement
84
+ requirement: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ! '>='
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
78
89
  none: false
90
+ - !ruby/object:Gem::Dependency
91
+ version_requirements: !ruby/object:Gem::Requirement
79
92
  requirements:
80
93
  - - ! '>='
81
94
  - !ruby/object:Gem::Version
82
95
  version: 2.0.0
96
+ none: false
97
+ name: builder
83
98
  type: :runtime
84
99
  prerelease: false
85
- version_requirements: *70206840640080
86
- - !ruby/object:Gem::Dependency
87
- name: json
88
- requirement: &70206840639440 !ruby/object:Gem::Requirement
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - ! '>='
103
+ - !ruby/object:Gem::Version
104
+ version: 2.0.0
89
105
  none: false
106
+ - !ruby/object:Gem::Dependency
107
+ version_requirements: !ruby/object:Gem::Requirement
90
108
  requirements:
91
109
  - - ! '>='
92
110
  - !ruby/object:Gem::Version
93
111
  version: 1.5.1
112
+ none: false
113
+ name: json
94
114
  type: :runtime
95
115
  prerelease: false
96
- version_requirements: *70206840639440
97
- - !ruby/object:Gem::Dependency
98
- name: active_utils
99
- requirement: &70206840638860 !ruby/object:Gem::Requirement
116
+ requirement: !ruby/object:Gem::Requirement
117
+ requirements:
118
+ - - ! '>='
119
+ - !ruby/object:Gem::Version
120
+ version: 1.5.1
100
121
  none: false
122
+ - !ruby/object:Gem::Dependency
123
+ version_requirements: !ruby/object:Gem::Requirement
101
124
  requirements:
102
125
  - - ! '>='
103
126
  - !ruby/object:Gem::Version
104
127
  version: 1.0.2
128
+ none: false
129
+ name: active_utils
105
130
  type: :runtime
106
131
  prerelease: false
107
- version_requirements: *70206840638860
108
- - !ruby/object:Gem::Dependency
109
- name: nokogiri
110
- requirement: &70206840638080 !ruby/object:Gem::Requirement
132
+ requirement: !ruby/object:Gem::Requirement
133
+ requirements:
134
+ - - ! '>='
135
+ - !ruby/object:Gem::Version
136
+ version: 1.0.2
111
137
  none: false
138
+ - !ruby/object:Gem::Dependency
139
+ version_requirements: !ruby/object:Gem::Requirement
112
140
  requirements:
113
141
  - - ! '>='
114
142
  - !ruby/object:Gem::Version
115
143
  version: '0'
144
+ none: false
145
+ name: nokogiri
116
146
  type: :runtime
117
147
  prerelease: false
118
- version_requirements: *70206840638080
119
- - !ruby/object:Gem::Dependency
120
- name: rake
121
- requirement: &70206840637200 !ruby/object:Gem::Requirement
148
+ requirement: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ! '>='
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
122
153
  none: false
154
+ - !ruby/object:Gem::Dependency
155
+ version_requirements: !ruby/object:Gem::Requirement
123
156
  requirements:
124
157
  - - ! '>='
125
158
  - !ruby/object:Gem::Version
126
159
  version: '0'
160
+ none: false
161
+ name: rake
127
162
  type: :development
128
163
  prerelease: false
129
- version_requirements: *70206840637200
130
- - !ruby/object:Gem::Dependency
131
- name: mocha
132
- requirement: &70206840636380 !ruby/object:Gem::Requirement
164
+ requirement: !ruby/object:Gem::Requirement
165
+ requirements:
166
+ - - ! '>='
167
+ - !ruby/object:Gem::Version
168
+ version: '0'
133
169
  none: false
170
+ - !ruby/object:Gem::Dependency
171
+ version_requirements: !ruby/object:Gem::Requirement
134
172
  requirements:
135
173
  - - ~>
136
174
  - !ruby/object:Gem::Version
137
175
  version: 0.11.3
176
+ none: false
177
+ name: mocha
138
178
  type: :development
139
179
  prerelease: false
140
- version_requirements: *70206840636380
141
- - !ruby/object:Gem::Dependency
142
- name: rails
143
- requirement: &70206840635740 !ruby/object:Gem::Requirement
180
+ requirement: !ruby/object:Gem::Requirement
181
+ requirements:
182
+ - - ~>
183
+ - !ruby/object:Gem::Version
184
+ version: 0.11.3
144
185
  none: false
186
+ - !ruby/object:Gem::Dependency
187
+ version_requirements: !ruby/object:Gem::Requirement
145
188
  requirements:
146
189
  - - ! '>='
147
190
  - !ruby/object:Gem::Version
148
191
  version: 2.3.14
192
+ none: false
193
+ name: rails
149
194
  type: :development
150
195
  prerelease: false
151
- version_requirements: *70206840635740
152
- - !ruby/object:Gem::Dependency
153
- name: thor
154
- requirement: &70206840684480 !ruby/object:Gem::Requirement
196
+ requirement: !ruby/object:Gem::Requirement
197
+ requirements:
198
+ - - ! '>='
199
+ - !ruby/object:Gem::Version
200
+ version: 2.3.14
155
201
  none: false
202
+ - !ruby/object:Gem::Dependency
203
+ version_requirements: !ruby/object:Gem::Requirement
156
204
  requirements:
157
205
  - - ! '>='
158
206
  - !ruby/object:Gem::Version
159
207
  version: '0'
208
+ none: false
209
+ name: thor
160
210
  type: :development
161
211
  prerelease: false
162
- version_requirements: *70206840684480
212
+ requirement: !ruby/object:Gem::Requirement
213
+ requirements:
214
+ - - ! '>='
215
+ - !ruby/object:Gem::Version
216
+ version: '0'
217
+ none: false
163
218
  description: Active Merchant is a simple payment abstraction library used in and sponsored
164
219
  by Shopify. It is written by Tobias Luetke, Cody Fauser, and contributors. The aim
165
220
  of the project is to feel natural to Ruby users and to abstract as many parts as
@@ -459,22 +514,21 @@ rdoc_options: []
459
514
  require_paths:
460
515
  - lib
461
516
  required_ruby_version: !ruby/object:Gem::Requirement
462
- none: false
463
517
  requirements:
464
518
  - - ! '>='
465
519
  - !ruby/object:Gem::Version
466
520
  version: '0'
467
- required_rubygems_version: !ruby/object:Gem::Requirement
468
521
  none: false
522
+ required_rubygems_version: !ruby/object:Gem::Requirement
469
523
  requirements:
470
524
  - - ! '>='
471
525
  - !ruby/object:Gem::Version
472
526
  version: '0'
527
+ none: false
473
528
  requirements: []
474
529
  rubyforge_project: activemerchant
475
- rubygems_version: 1.8.11
530
+ rubygems_version: 1.8.23
476
531
  signing_key:
477
532
  specification_version: 3
478
533
  summary: Framework and tools for dealing with credit card transactions.
479
534
  test_files: []
480
- has_rdoc:
metadata.gz.sig CHANGED
Binary file