companies_house_hub 0.1.1 → 0.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6608daeb53f13f6c798f6dda8ed0a80486ae6c15dab96774d5cdab362f118ffa
|
4
|
+
data.tar.gz: 01474a46739ab0adb9d0d7407ff06db5e84152e61979389b716471e77fab0951
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: edbed1ee8366dd059f12155f60a2b16309f463ece770be6d1ef63ea6895e2688df6dc2b52902d1afa6da7bea66ada4067fa9f658bc1a1f96999b864778cfa24f
|
7
|
+
data.tar.gz: 4a0f3b5e2da61bdc0c25ea862c6f08f0e5f4372f85f6e5bd22ab3150d96fa9f8a0eb5336f8ef43c1ecacae7d98b28ba79ee433f64ccc1bf869166cab9fd0ee9e
|
@@ -13,11 +13,11 @@ module CompaniesHouseHub
|
|
13
13
|
end
|
14
14
|
|
15
15
|
def get(path, params)
|
16
|
-
self.class.get(path, params)
|
16
|
+
self.class.get(path.strip, params)
|
17
17
|
end
|
18
18
|
|
19
19
|
def self.format_url(url, params)
|
20
|
-
formatted = url.dup
|
20
|
+
formatted = url.dup.strip
|
21
21
|
|
22
22
|
params.each { |key, value| formatted.sub!(":#{key}", value) }
|
23
23
|
|
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.2
|
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-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|