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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6608daeb53f13f6c798f6dda8ed0a80486ae6c15dab96774d5cdab362f118ffa
4
- data.tar.gz: 01474a46739ab0adb9d0d7407ff06db5e84152e61979389b716471e77fab0951
3
+ metadata.gz: 4c5ac91a16eae0a80a8197622ed6280bb6ee4918015e9dc34ae77523f408725b
4
+ data.tar.gz: 45348b4b15c96ab7c51f6d74641fd376f4bfaf69db4afaccb7c464da08ee84c3
5
5
  SHA512:
6
- metadata.gz: edbed1ee8366dd059f12155f60a2b16309f463ece770be6d1ef63ea6895e2688df6dc2b52902d1afa6da7bea66ada4067fa9f658bc1a1f96999b864778cfa24f
7
- data.tar.gz: 4a0f3b5e2da61bdc0c25ea862c6f08f0e5f4372f85f6e5bd22ab3150d96fa9f8a0eb5336f8ef43c1ecacae7d98b28ba79ee433f64ccc1bf869166cab9fd0ee9e
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)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CompaniesHouseHub
4
- VERSION = '0.1.2'
4
+ VERSION = '0.1.3'
5
5
  end
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.2
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-09-11 00:00:00.000000000 Z
11
+ date: 2018-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday