api_connector 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/api_connector/api_connector.rb +1 -1
- data/lib/api_connector/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 726a77911c120454ae04ce42e4ff5cbd0ee27232
|
|
4
|
+
data.tar.gz: 9d96549f38d460a9915c4e5b995bf7344a98b5b9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e4ba949d566d65bd792093c276941233f19a4044695741aa0ac92d60444268bdd9d7b71df41d11e3806c0e8a56ac89c34eb637e6796bfdca1c26be63a7182c7c
|
|
7
|
+
data.tar.gz: 7d28be35b4543826c19245da25cea9a0b0e69e2a3fd163b6274568c15494958d2408b5a7f04e934f0e9c3f7148ec6a829d3420e00237f746037f1ce675c1cc2a
|
|
@@ -123,7 +123,7 @@ module Connectors #:nodoc:
|
|
|
123
123
|
end
|
|
124
124
|
|
|
125
125
|
def url_constructor endpoint, hash
|
|
126
|
-
url = "#{@connection_protocol}://#{format(api_domain)}/#{format(@prefix)}" << (@version ? "/#{@version}" : "") << "/#{format(endpoint)}"
|
|
126
|
+
url = "#{@connection_protocol}://#{format(@api_domain)}/#{format(@prefix)}" << (@version ? "/#{@version}" : "") << "/#{format(endpoint)}"
|
|
127
127
|
url << ("?#{parametrize(hash)}") unless hash.empty?
|
|
128
128
|
url
|
|
129
129
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: api_connector
|
|
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
|
- Juan Manuel Rodulfo
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-03-
|
|
11
|
+
date: 2016-03-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|