samurai 0.2.27 → 0.2.29

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,7 +9,7 @@ GIT
9
9
  PATH
10
10
  remote: .
11
11
  specs:
12
- samurai (0.2.27)
12
+ samurai (0.2.29)
13
13
  activeresource (>= 2.2.2)
14
14
 
15
15
  GEM
@@ -65,7 +65,7 @@ class Samurai::Transaction < Samurai::Base
65
65
  # Override base error processing with specific Transaction behavior
66
66
  # Examine the `<processor_response><messages>` array, and add an error to the Errors object for each `<message>`
67
67
  def process_response_errors
68
- if self.processor_response && self.processor_response.messages
68
+ if respond_to?(:processor_response) && self.processor_response.respond_to?(:messages)
69
69
  self.processor_response.messages.each do |message|
70
70
  if message.subclass == 'error'
71
71
  self.errors.add message.context, message.description
@@ -1,3 +1,3 @@
1
1
  module Samurai
2
- VERSION = "0.2.27".freeze
2
+ VERSION = "0.2.29".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.27
4
+ version: 0.2.29
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-11-20 00:00:00.000000000Z
13
+ date: 2011-11-25 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activeresource
17
- requirement: &70263286980460 !ruby/object:Gem::Requirement
17
+ requirement: &2152093380 !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: *70263286980460
25
+ version_requirements: *2152093380
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: bundler
28
- requirement: &70263286980000 !ruby/object:Gem::Requirement
28
+ requirement: &2152092320 !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: *70263286980000
36
+ version_requirements: *2152092320
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: rspec
39
- requirement: &70263286979520 !ruby/object:Gem::Requirement
39
+ requirement: &2152090460 !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: *70263286979520
47
+ version_requirements: *2152090460
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: fakeweb
50
- requirement: &70263286978900 !ruby/object:Gem::Requirement
50
+ requirement: &2152089360 !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: *70263286978900
58
+ version_requirements: *2152089360
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: ruby-debug19
61
- requirement: &70263286969400 !ruby/object:Gem::Requirement
61
+ requirement: &2152075280 !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: *70263286969400
69
+ version_requirements: *2152075280
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.
@@ -128,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
128
128
  version: 1.3.5
129
129
  requirements: []
130
130
  rubyforge_project:
131
- rubygems_version: 1.8.10
131
+ rubygems_version: 1.8.11
132
132
  signing_key:
133
133
  specification_version: 3
134
134
  summary: Integration gem for samurai.feefighters.com