companies_house_hub 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/companies_house_hub/models/company.rb +1 -1
- data/lib/companies_house_hub/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c5ac91a16eae0a80a8197622ed6280bb6ee4918015e9dc34ae77523f408725b
|
4
|
+
data.tar.gz: 45348b4b15c96ab7c51f6d74641fd376f4bfaf69db4afaccb7c464da08ee84c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 107dd08400be3d337732c5525673087dec42ef7c74a1b5547e300f91d8c5791989fbf198d11b9714064a8db47625c82a2a82c9107ac4751a821fe9dbdee3653d
|
7
|
+
data.tar.gz: 28d07c7ff36a4f945f9df6c0009d5e0b378ae27eefcf4a479c21f258a76fdaeb65ae43eed8243ca45804fe6fffe9fedf607505b1a73bc549305f09e183f71504
|
@@ -50,7 +50,7 @@ module CompaniesHouseHub
|
|
50
50
|
@jurisdiction = json.dig(:jurisdiction)
|
51
51
|
@name = json.dig(:company_name) || json.dig(:title)
|
52
52
|
@created_at = json.dig(:date_of_creation)
|
53
|
-
@address = Address.new(json.dig(:registered_office_address) || json.dig(:address))
|
53
|
+
@address = Address.new(json.dig(:registered_office_address) || json.dig(:address) || {})
|
54
54
|
@status = json.dig(:company_status)
|
55
55
|
@type = json.dig(:type) || json.dig(:company_type)
|
56
56
|
@accounts = json.dig(:accounts)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: companies_house_hub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ricardo Otero
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|