tops_connect 0.7.0 → 0.7.1

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: 25146db0b362c11ca40ef5bbdeee94bdf96b553621c2e17ec89a71ddf4191d3a
4
- data.tar.gz: b8452b408a025c569ada9f92bfcb98634a57e530b3c40d91fab710b8b33a240c
3
+ metadata.gz: 7ad44f8f8a679aa33259b21b9d83a52bb9f56e1c688d8bd47afeb2a291466e40
4
+ data.tar.gz: 29719f17d7d13150d3b8a8354ad844793b8c5aa28c858e0ee564ba0831b78214
5
5
  SHA512:
6
- metadata.gz: b1fbaa926f85020a68ea1dc3025066959d071d5a359a9a486b95fba4b1741ad20ed2ddc3bb0fb9405fd35246d5f22fc9113f80064b9ed148e31b912f60bdba7c
7
- data.tar.gz: e81c9290de6fc9ba3ac4aa036bef8be2421fc6d5885afba375b78890c94b2edef1a2fee1b5c4ce407385e35190038cdd88bb7036f18a1cecb9bc5a33d1ada360
6
+ metadata.gz: 4f1e81fd21268c0e0b5b6f8aef547637f4f08918fc5365f8651919f681b8223beceea62d70b978bc59f53e9907fa15eee064b51e128840b612fd7799d09482a9
7
+ data.tar.gz: ae3c1658819c72baac0b2dcfc0a876ee98b851c6f84acd5541c0185102910f4414716cdb7cffe93ba444c85506bb60c24b13dcdab5664ce9de874048e19f1fad
@@ -27,10 +27,10 @@ module TopsConnect
27
27
  def charge_codes
28
28
  get('/chargecode').map do |charge_code|
29
29
  {
30
- key: charge_code['ChargeCodeKey'],
31
- code: charge_code['Code'],
32
- description: charge_code['Description'],
33
- name: charge_code['Name']
30
+ key: charge_code['key'],
31
+ code: charge_code['code'],
32
+ description: charge_code['description'],
33
+ name: nil
34
34
  }
35
35
  end
36
36
  end
@@ -17,7 +17,7 @@ module TopsConnect
17
17
  end
18
18
 
19
19
  def alternate_mailing_addresses
20
- data['Addresses']
20
+ addresses
21
21
  .select { |address| address.type == 'Alternate' }
22
22
  .map(&:formatted)
23
23
  .compact
@@ -4,5 +4,5 @@
4
4
  # All rights reserved.
5
5
 
6
6
  module TopsConnect
7
- VERSION = '0.7.0'
7
+ VERSION = '0.7.1'
8
8
  end
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
23
  spec.require_paths = ['lib']
24
24
 
25
- spec.add_development_dependency 'bundler', '~> 1.16'
25
+ spec.add_development_dependency 'bundler', '~> 2.0'
26
26
  spec.add_development_dependency 'rake', '~> 12'
27
27
  spec.add_development_dependency 'rspec', '~> 3.7'
28
28
  spec.add_development_dependency 'webmock', '~> 3.4'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tops_connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Hoffman
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-12-31 00:00:00.000000000 Z
11
+ date: 2020-01-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.16'
19
+ version: '2.0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.16'
26
+ version: '2.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -129,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
129
129
  - !ruby/object:Gem::Version
130
130
  version: '0'
131
131
  requirements: []
132
- rubygems_version: 3.1.2
132
+ rubygems_version: 3.0.3
133
133
  signing_key:
134
134
  specification_version: 4
135
135
  summary: Make use of the Tops Connect API