vantiv_lite 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 885435f70c005a478c87c8d9913041949339300a
4
- data.tar.gz: b2e420f6f10251fe2ec5a61036b20d19d0406090
3
+ metadata.gz: 8080d049a1f8aca2371ce07c68fbc083ee47428b
4
+ data.tar.gz: adc5095ae85b88ebd911e78e7e8ed3757d812f90
5
5
  SHA512:
6
- metadata.gz: 66b4923899af93a35af80ceefba0f9fba377bd6a00c0304f47b31aaab78da4d636d38463020de6dfca30db542123614525f0710577870565f974fd9b2dbc331e
7
- data.tar.gz: cebc279fb2d654a90bbb5a564210d913bce587eb5eaf5a8c30b3ec3ece0c2745cee97bd33f8f260763c9b3093def81de8182bfce2c92ca04b858ed821625ed22
6
+ metadata.gz: 8f166190f82ed119ed98d2be5a61fd78af51694b93f39c28b55e8f2caf1ae5513bd47e07cf43b7acafb3d9704076f3bb64d6bd1a76a763dc45e324a52e82bc72
7
+ data.tar.gz: 1b19fa30722127f0b2b5350730b0b59bde2b20829d717840e2778c9d45a87445157291f265dc6bc906fc4b18ec82b4bb62762b7c769d498fc0cb2cf17185ca51
data/README.md CHANGED
@@ -110,7 +110,7 @@ This will return a `VantivLite::Response` which itself operates much like a hash
110
110
  response.dig('registerTokenResponse', 'litleToken') # => "1111222233330123"
111
111
  ```
112
112
 
113
- For many simple transactions the `*_request` and `*_response` keys get a little tedious. So, this can be abreviated to the following:
113
+ For many simple transactions the `*_request` and `*_response` keys get a little tedious. So, this can be abbreviated to the following:
114
114
 
115
115
  ```ruby
116
116
  params = {
@@ -3,7 +3,7 @@
3
3
  module VantivLite
4
4
  MAJOR = 0
5
5
  MINOR = 1
6
- TINY = 5
6
+ TINY = 6
7
7
  VERSION = [MAJOR, MINOR, TINY].join('.').freeze
8
8
 
9
9
  def self.version
@@ -3,13 +3,15 @@
3
3
  module VantivLite
4
4
  module XML
5
5
  module Serializer
6
- ATTRIBUTES = %w[id merchantId reportGroup version xmlns].freeze
6
+ ATTRIBUTES = %w[customerId id merchantId reportGroup version xmlns].freeze
7
7
 
8
8
  @@type_coercions = {}
9
9
  def self.coerce(type, obj = nil, &blk)
10
10
  raise TypeError, '`type` must be a `Class`' unless type.is_a?(Class)
11
+
11
12
  obj ||= blk
12
13
  raise TypeError, '`obj` must respond to `call`' unless obj.respond_to?(:call)
14
+
13
15
  @@type_coercions[type] = obj
14
16
  end
15
17
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vantiv_lite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-07-10 00:00:00.000000000 Z
12
+ date: 2020-07-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -31,56 +31,56 @@ dependencies:
31
31
  requirements:
32
32
  - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: '5.0'
34
+ version: '5'
35
35
  type: :development
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: '5.0'
41
+ version: '5'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: nokogiri
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: '1.8'
48
+ version: '1'
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - "~>"
54
54
  - !ruby/object:Gem::Version
55
- version: '1.8'
55
+ version: '1'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: ox
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
60
  - - "~>"
61
61
  - !ruby/object:Gem::Version
62
- version: '2.9'
62
+ version: '2'
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: '2.9'
69
+ version: '2'
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: rake
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - "~>"
75
75
  - !ruby/object:Gem::Version
76
- version: '10.0'
76
+ version: '12.3'
77
77
  type: :development
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - "~>"
82
82
  - !ruby/object:Gem::Version
83
- version: '10.0'
83
+ version: '12.3'
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: rubocop
86
86
  requirement: !ruby/object:Gem::Requirement
@@ -135,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
135
135
  version: '0'
136
136
  requirements: []
137
137
  rubyforge_project:
138
- rubygems_version: 2.4.5.4
138
+ rubygems_version: 2.6.14
139
139
  signing_key:
140
140
  specification_version: 4
141
141
  summary: A Simplified Vanitiv/WorldPay (LitleOnline) API Library