cdmbl 0.2.32 → 0.2.33
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cdmbl/formatters.rb +1 -1
- data/lib/cdmbl/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: 8336f3ba5684c6b1eda7592b85c52d41aadbf56b
|
4
|
+
data.tar.gz: 0fd8bc401961935b895cbee97de94dae0d977d38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd55710e6c733d06ea70e783973b3979a0c136879df8fc267b091f87d74ce84a3da7d7896b5cd4fe0079397aef11b5684a4b5478eb5ff7a581548d9a3849a374
|
7
|
+
data.tar.gz: e180681b8df20e03daf43f7d487a5f3f8023a2764b1197745c058540b874b4aca840b3acc216690d9ac32fb4ae0eb85c7aa5a6297c7b3c8d79a7f4da09ab06e5
|
data/lib/cdmbl/formatters.rb
CHANGED
@@ -12,7 +12,7 @@ module CDMBL
|
|
12
12
|
end
|
13
13
|
|
14
14
|
class GeoNameIDToJson
|
15
|
-
URL = "http://ws.geonames.net/getJSON?username=#{ENV['GEONAMES_USER']}"
|
15
|
+
URL = "http://ws.geonames.net/getJSON?username=#{ENV['GEONAMES_USER']}&token=#{ENV['GEONAMES_TOKEN']}"
|
16
16
|
def self.format(value)
|
17
17
|
JSON.parse(Net::HTTP.get_response(URI.parse("#{URL}&geonameId=#{value}")).body)
|
18
18
|
end
|
data/lib/cdmbl/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cdmbl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.33
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- chadfennell
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hash_at_path
|