ravelin 0.1.45 → 0.1.46

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7a3514532779deaa212f87e620c7416dc75446a16b777ed1750e8fe174eb21d5
4
- data.tar.gz: 438c09cb122986b0241e2b2f1880f132570c437a6ea455f875340af128d94bf4
3
+ metadata.gz: 6c83f962f93b06d886e7f3a68570d09d6377409248be85834c7b01e514c45149
4
+ data.tar.gz: 6cc5c0081ccb8c752f1bef3303aaf165b86924e0fc330513f0472d103dc2e014
5
5
  SHA512:
6
- metadata.gz: 6cb12db77f6197ef025b3576488348cba1b51e7c245722d795206cf21bbc706909d3d3030d7dc55b5679bf90087e79383ee45995a54be7a69e0e2c774f03c346
7
- data.tar.gz: 7d7c78def62d790084669e4f373c7ae7b0f27bc4c15f61c1125a11516f49c288481f291ebb36d4de2b1991c882d027bbc9a01275356f32a62cf7ffab09bbda38
6
+ metadata.gz: 809aca51a779ff21a13ad78bb255a6f5f81987bbad00e6e6bbc006c64651a7d1422f6a0572a857f1866f554d746dbb0f1c5d50818646f45b3462082183e13cc7
7
+ data.tar.gz: bcd4cab0acd9360ac93246fad19cadec4ecda2bce2784577bc5a049b009dde175c5176a3271ef76c6638aa5fa25e17eb01fef3663c72668b843302ae9e7a212b
@@ -3,7 +3,7 @@ module Ravelin
3
3
  attr_reader :methods
4
4
 
5
5
  def initialize(methods)
6
- @methods = methods
6
+ @methods = methods.map { |method| Ravelin::PaymentMethod.new method }
7
7
  end
8
8
 
9
9
  def serializable_hash
@@ -1,3 +1,3 @@
1
1
  module Ravelin
2
- VERSION = '0.1.45'
2
+ VERSION = '0.1.46'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ravelin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.45
4
+ version: 0.1.46
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Levy
@@ -97,6 +97,20 @@ dependencies:
97
97
  - - "~>"
98
98
  - !ruby/object:Gem::Version
99
99
  version: '3.18'
100
+ - !ruby/object:Gem::Dependency
101
+ name: public_suffix
102
+ requirement: !ruby/object:Gem::Requirement
103
+ requirements:
104
+ - - "~>"
105
+ - !ruby/object:Gem::Version
106
+ version: '4.0'
107
+ type: :development
108
+ prerelease: false
109
+ version_requirements: !ruby/object:Gem::Requirement
110
+ requirements:
111
+ - - "~>"
112
+ - !ruby/object:Gem::Version
113
+ version: '4.0'
100
114
  description: Ravelin is a fraud detection tool. See https://www.ravelin.com for details.
101
115
  email:
102
116
  - sam.levy@deliveroo.co.uk