companies_house_hub 0.1.4 → 0.1.5

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: 83ae5b2dfde24b07b5e99ce919e39d6685655e83bbf1addf94c4834eafd5e735
4
- data.tar.gz: 823ca7613fee36bb79ce3c22ddab39631fda621e4b3a7aa0400f103b25689d21
3
+ metadata.gz: 35fc481f5ebb3aa0af306168bc9c9fdbfd015c8dc450d2e6769835469d843ff6
4
+ data.tar.gz: c10de118dc1766d712034abee82bf57420deba0dd307d90e1f056d984a1b2052
5
5
  SHA512:
6
- metadata.gz: f92b9a1ed0c4aaf8fe7644049e0000f7f6fffed8edcff522a7671203c85a3a02522e9b770aaff16befbacd05cccf021f0ef6f93633232d8f9d13423bad6cb7a8
7
- data.tar.gz: 88e8ae8c30f849b8eaebda00fac7d389fe4cb99ed96b0424c0afbcad08aa6946c91bce7d0e68431395aadcb00ed92141c570d689e3e8f2fffbaa7cbd3dd414c8
6
+ metadata.gz: fb3aafc06244cba5878e660e4b0d2d72f239ee8bec3ba4c37da6089037dad686097f00f4bde36678fd9cb8fe4435b87a5d7300b2f52e59939cf4b6f0293981ad
7
+ data.tar.gz: 1f97195944a4f1c93ade95aaf9efbe872395a9fb8da4538dd6de0d2bd80ff685e3df972950fe2aec9c3808c71824250841ba995a3b08940bc79648f0f2149134
data/.rubocop.yml CHANGED
@@ -6,7 +6,7 @@ Style/Documentation:
6
6
  Style/MixinUsage:
7
7
  Enabled: false
8
8
 
9
- Metrics/LineLength:
9
+ Layout/LineLength:
10
10
  Max: 100
11
11
 
12
12
  Metrics/MethodLength:
@@ -50,6 +50,8 @@ module CompaniesHouseHub
50
50
  end
51
51
 
52
52
  def url(format = 'pdf')
53
+ return unless @links[:document_metadata]
54
+
53
55
  file_path = @links[:self] || build_file_path
54
56
 
55
57
  return unless file_path
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CompaniesHouseHub
4
- VERSION = '0.1.4'
4
+ VERSION = '0.1.5'
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.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ricardo Otero
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-12-13 00:00:00.000000000 Z
11
+ date: 2020-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday