companies_house_hub 0.0.5 → 0.0.6

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: 427a9269943a75cb51ba365014cd273596f76179ef1d6a9fa69d50f73723c298
4
- data.tar.gz: 287f7117eb64f50d6f9843866c194fd9cc08d9ca6935d26e8b09db6e11bb5505
3
+ metadata.gz: a85d8eae36c907fdd7b77a7f5ddf6d4c7bd9f11350849f0770625c26eeae1065
4
+ data.tar.gz: 4f6c5b7a69571201feff4597b0ec4f5091be2bc909e82a09ac5c2342b1ca0eb3
5
5
  SHA512:
6
- metadata.gz: e0a8808076471fa6f45ade50cca926b76c4e28cfbc978cb176d9a1d21abca0fdc906cd1ab7cd6d7538c672f425441a45a2a95e2322c5394c9789c9ed3c0e459d
7
- data.tar.gz: b9519c438bea48f79f18205422761f9f33649343c27cfc090aeae1c799a17cb94a1aefb9578f1a35328cdb15ced7a986eba1f670f053ecc791d4c5ec61627582
6
+ metadata.gz: f35df1946f09c3daf065bf99b12930504458fdaa7ed141512498e4924a561b9364591910026a95933c2d1a82cc12633d5449a1a42bb123bdb132745c4b2f4844
7
+ data.tar.gz: 5fa5892e7c09b8da9cc539367d38676772fdd8d032d0f21e587d32cd70ca61e402b43c8cd6720ebd23a80e832fcc10b69a9d3074bce66521a50c5e7613b85dca
data/.rubocop.yml CHANGED
@@ -30,3 +30,7 @@ Lint/UselessAssignment:
30
30
 
31
31
  RSpec/ExampleLength:
32
32
  Max: 100
33
+
34
+ # To be compatible with older versions of ruby
35
+ Performance/RegexpMatch:
36
+ Enabled: false
@@ -14,7 +14,7 @@ module CompaniesHouseHub
14
14
 
15
15
  # If "made_up_date" exists then replace it with the filing date and don't include filing.date
16
16
  # in the file name (made_up_date will be used).
17
- if name.match?(/{.*}/)
17
+ if name =~ /{.*}/
18
18
  name = replace_placeholders(name)
19
19
  date = nil
20
20
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CompaniesHouseHub
4
- VERSION = '0.0.5'
4
+ VERSION = '0.0.6'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: companies_house_hub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ricardo Otero