centaman 3.1.1 → 3.1.2

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: e341d78e7b840598e1e1270b050f251f4e38230be8425e56434338101b8b8771
4
- data.tar.gz: 7b7e614df04b0882536fed6bc74b96f4a94105b45f4646235a65330fd90fc16c
3
+ metadata.gz: 1100e1ece5b854e6151d03e89f775f7c102b3573c7cc031c46c8f8eb1050ad5f
4
+ data.tar.gz: 0245d7675e9c500f1997b752f209b5df2e93b7b4a7ac32a1954d2654db022485
5
5
  SHA512:
6
- metadata.gz: 11c08b9a75562d8ec28878b6dd0cb35167b901b6fc1b5b9129d3bae401a8365d9059b40eb54d32d925cf33019a5b3311ff8ba0c7087770d84ccbb690d96c0b3f
7
- data.tar.gz: 6a3f0f73f429072ef1f34369971c4f7398bd90aa38a114b24778c020bd95160c5b76071d288b5cb8b747303506335b033d7188b019f19e87708d583ff5fbe7dd
6
+ metadata.gz: b99539759b962659793845fde6d7679fb174b56454476b4a7e98a25304080d475481f7fede81727a695a7f25d4a171d1758e7c975fb4c85bf919d93670e3a59c
7
+ data.tar.gz: b16531faf367954d1999786d87de8a39b5a42661961df428416ada9e95906075114f4ea7d3a9b4c402640a2bb93bc3d5c9f258be6b4e2da6b8ba9b8c9e788344
@@ -55,14 +55,14 @@ module Centaman
55
55
  {
56
56
  'street1': address[:street_address],
57
57
  'street2': '',
58
- 'suburb': address[:city],
59
- 'city': address[:city],
58
+ 'suburb': address[:suburb],
59
+ 'city': address[:suburb] || address[:city],
60
60
  'state': address[:state],
61
61
  'postcode': address[:zip],
62
62
  'country': address[:country],
63
63
  'homePhone': phone,
64
- 'workPhone': '',
65
- 'mobilePhone': ''
64
+ 'workPhone': address[:work_phone],
65
+ 'mobilePhone': address[:mobile_phone]
66
66
  }
67
67
  end
68
68
 
@@ -1,3 +1,3 @@
1
1
  module Centaman
2
- VERSION = "3.1.1"
2
+ VERSION = "3.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: centaman
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1
4
+ version: 3.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - francirp
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2018-03-11 00:00:00.000000000 Z
12
+ date: 2018-03-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler