nyc_geo_client 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +6 -0
- data/README.md +11 -2
- data/lib/nyc_geo_client/version.rb +1 -1
- data/nyc_geo_client.gemspec +7 -7
- data/spec/faraday/response_spec.rb +7 -8
- data/spec/nyc_geo_client/api_spec.rb +3 -3
- data/spec/nyc_geo_client/client/address_spec.rb +3 -3
- data/spec/nyc_geo_client/client/bbl_spec.rb +3 -3
- data/spec/nyc_geo_client/client/bin_spec.rb +3 -3
- data/spec/nyc_geo_client/client/blockface_spec.rb +3 -3
- data/spec/nyc_geo_client/client/intersection_spec.rb +3 -3
- data/spec/nyc_geo_client/client/place_spec.rb +3 -3
- data/spec/nyc_geo_client/client_spec.rb +1 -1
- data/spec/nyc_geo_client_spec.rb +13 -13
- data/spec/spec_helper.rb +0 -3
- metadata +41 -41
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e4c675cd4013fc69a6cdbbee17d8c866f62bfe7
|
4
|
+
data.tar.gz: 5e65e9ffc12fd0e6a3cb3bd912f18f069dffdbf9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dcb764485b2747f84e07004d30d41aa6376b80b4628950b2b2fc7219907a04080b892b8ce04a3207fef56108ce93939356f8fb2aa9d3b85959efe3614883aee7
|
7
|
+
data.tar.gz: 06bf92e810ff7f56930c097d9887509d429c4cb08301bf7befed6eeaf526f2c3dd81999f5ea45da9a0cd4b7b41509d4bca8d4ae118b37c8a862aa5b43150965d
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
# NYCGeoClient [![Build Status](https://travis-ci.org/edgar/NYCGeoClient.png?branch=master)](https://travis-ci.org/edgar/NYCGeoClient)
|
2
|
-
A ruby gem for the NYC GeoClient API - https://developer.cityofnewyork.us/api/geoclient-api
|
1
|
+
# NYCGeoClient [![Build Status](https://travis-ci.org/edgar/NYCGeoClient.png?branch=master)](https://travis-ci.org/edgar/NYCGeoClient) [![Gem Version](https://badge.fury.io/rb/nyc_geo_client.svg)](http://badge.fury.io/rb/nyc_geo_client)
|
2
|
+
A ruby gem for the NYC GeoClient API - https://developer.cityofnewyork.us/api/geoclient-api
|
3
3
|
|
4
4
|
## Installation
|
5
5
|
|
@@ -71,6 +71,15 @@ For instance:
|
|
71
71
|
client = NYCGeoClient.client(adapter: :typhoeus, user_agent: "foobar v1", debug: true, app_id: 'foo', app_key: 'bar')
|
72
72
|
client.address('13','crosby','manhattan')
|
73
73
|
|
74
|
+
## Ruby versions supported
|
75
|
+
|
76
|
+
* 1.9.3
|
77
|
+
* 2.0.0
|
78
|
+
* 2.1.0
|
79
|
+
* 2.2.5
|
80
|
+
* 2.3.1
|
81
|
+
|
82
|
+
Check the [.travis.yml](.travis.yml) to see the current supported ruby versions.
|
74
83
|
|
75
84
|
## Contributing
|
76
85
|
|
data/nyc_geo_client.gemspec
CHANGED
@@ -3,16 +3,16 @@ require File.expand_path('../lib/nyc_geo_client/version', __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |gem|
|
5
5
|
gem.add_development_dependency 'rake'
|
6
|
-
gem.add_development_dependency('rspec', '~>
|
7
|
-
gem.add_development_dependency('webmock', '~>
|
8
|
-
gem.add_development_dependency('yard', '~> 0.8.7.
|
6
|
+
gem.add_development_dependency('rspec', '~> 3.4.0')
|
7
|
+
gem.add_development_dependency('webmock', '~> 2.0.2')
|
8
|
+
gem.add_development_dependency('yard', '~> 0.8.7.6')
|
9
9
|
gem.add_development_dependency('bluecloth', '~> 2.2.0')
|
10
10
|
|
11
|
-
gem.add_runtime_dependency('faraday', '~> 0.
|
12
|
-
gem.add_runtime_dependency('faraday_middleware', '~> 0.
|
13
|
-
gem.add_runtime_dependency('multi_json', '~> 1.
|
11
|
+
gem.add_runtime_dependency('faraday', '~> 0.9.2')
|
12
|
+
gem.add_runtime_dependency('faraday_middleware', '~> 0.10.0')
|
13
|
+
gem.add_runtime_dependency('multi_json', '~> 1.12.0')
|
14
14
|
gem.add_runtime_dependency('multi_xml', '~> 0.5.5')
|
15
|
-
gem.add_runtime_dependency('hashie', '~>
|
15
|
+
gem.add_runtime_dependency('hashie', '~> 3.4.4')
|
16
16
|
gem.authors = ["Edgar Gonzalez"]
|
17
17
|
gem.email = ["edgargonzalez@gmail.com"]
|
18
18
|
gem.description = %q{A ruby wrapper for NYCGeoClient API}
|
@@ -21,21 +21,20 @@ describe Faraday::Response do
|
|
21
21
|
end
|
22
22
|
|
23
23
|
it "should raise a NYCGeoClient error" do
|
24
|
-
lambda do
|
24
|
+
expect(lambda do
|
25
25
|
@client.address('13','crosby','manhattan')
|
26
|
-
end.
|
26
|
+
end).to raise_error(NYCGeoClient::Error)
|
27
27
|
end
|
28
28
|
|
29
29
|
it "should return the status and body" do
|
30
30
|
begin
|
31
31
|
@client.address('13','crosby','manhattan')
|
32
32
|
rescue NYCGeoClient::Error => ex
|
33
|
-
ex.status.
|
34
|
-
ex.message.split(": ")
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
]
|
33
|
+
expect(ex.status).to eq status
|
34
|
+
parts = ex.message.split(": ")
|
35
|
+
expect(parts[0]).to match /GET https:\/\/api.cityofnewyork.us\/geoclient\/v1\/address.json/
|
36
|
+
expect(parts[1]).to eq "#{status}"
|
37
|
+
expect(parts[2]).to eq "some message"
|
39
38
|
end
|
40
39
|
end
|
41
40
|
end
|
@@ -22,7 +22,7 @@ describe NYCGeoClient::API do
|
|
22
22
|
it "should inherit module configuration" do
|
23
23
|
api = NYCGeoClient::API.new
|
24
24
|
@keys.each do |key|
|
25
|
-
api.send(key).
|
25
|
+
expect(api.send(key)).to eq key
|
26
26
|
end
|
27
27
|
end
|
28
28
|
|
@@ -46,7 +46,7 @@ describe NYCGeoClient::API do
|
|
46
46
|
it "should override module configuration" do
|
47
47
|
api = NYCGeoClient::API.new(@configuration)
|
48
48
|
@keys.each do |key|
|
49
|
-
api.send(key).
|
49
|
+
expect(api.send(key)).to eq @configuration[key]
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
@@ -58,7 +58,7 @@ describe NYCGeoClient::API do
|
|
58
58
|
api.send("#{key}=", value)
|
59
59
|
end
|
60
60
|
@keys.each do |key|
|
61
|
-
api.send(key).
|
61
|
+
expect(api.send(key)).to eq @configuration[key]
|
62
62
|
end
|
63
63
|
end
|
64
64
|
end
|
@@ -25,19 +25,19 @@ describe NYCGeoClient::Client do
|
|
25
25
|
|
26
26
|
it "should get the correct resource" do
|
27
27
|
@client.address('13', 'crosby', 'manhattan')
|
28
|
-
a_get("address.#{format}").
|
28
|
+
expect(a_get("address.#{format}").
|
29
29
|
with(query: {
|
30
30
|
app_id: @client.app_id,
|
31
31
|
app_key: @client.app_key,
|
32
32
|
houseNumber: '13',
|
33
33
|
street: 'crosby',
|
34
34
|
borough: 'manhattan'
|
35
|
-
}).
|
35
|
+
})).to have_been_made
|
36
36
|
end
|
37
37
|
|
38
38
|
it "should return the address info" do
|
39
39
|
data = @client.address('13', 'crosby', 'manhattan')
|
40
|
-
data.keys.
|
40
|
+
expect(data.keys).to eq ["address"]
|
41
41
|
end
|
42
42
|
end
|
43
43
|
end
|
@@ -25,19 +25,19 @@ describe NYCGeoClient::Client do
|
|
25
25
|
|
26
26
|
it "should get the correct resource" do
|
27
27
|
@client.bbl('manhattan', '00233', '0004')
|
28
|
-
a_get("bbl.#{format}").
|
28
|
+
expect(a_get("bbl.#{format}").
|
29
29
|
with(query: {
|
30
30
|
app_id: @client.app_id,
|
31
31
|
app_key: @client.app_key,
|
32
32
|
borough: 'manhattan',
|
33
33
|
block: '00233',
|
34
34
|
lot: '0004',
|
35
|
-
}).
|
35
|
+
})).to have_been_made
|
36
36
|
end
|
37
37
|
|
38
38
|
it "should return the bbl info" do
|
39
39
|
data = @client.bbl('manhattan', '00233', '0004')
|
40
|
-
data.keys.
|
40
|
+
expect(data.keys).to eq ["bbl"]
|
41
41
|
end
|
42
42
|
end
|
43
43
|
end
|
@@ -23,17 +23,17 @@ describe NYCGeoClient::Client do
|
|
23
23
|
|
24
24
|
it "should get the correct resource" do
|
25
25
|
@client.bin('1003041')
|
26
|
-
a_get("bin.#{format}").
|
26
|
+
expect(a_get("bin.#{format}").
|
27
27
|
with(query: {
|
28
28
|
app_id: @client.app_id,
|
29
29
|
app_key: @client.app_key,
|
30
30
|
bin: '1003041',
|
31
|
-
}).
|
31
|
+
})).to have_been_made
|
32
32
|
end
|
33
33
|
|
34
34
|
it "should return the bin info" do
|
35
35
|
data = @client.bin('1003041')
|
36
|
-
data.keys.
|
36
|
+
expect(data.keys).to eq ["bin"]
|
37
37
|
end
|
38
38
|
end
|
39
39
|
end
|
@@ -27,7 +27,7 @@ describe NYCGeoClient::Client do
|
|
27
27
|
|
28
28
|
it "should get the correct resource" do
|
29
29
|
@client.blockface('34 st', 'fifth ave', 'sixth ave', 'manhattan', {compassDirection: 'north'})
|
30
|
-
a_get("blockface.#{format}").
|
30
|
+
expect(a_get("blockface.#{format}").
|
31
31
|
with(query: {
|
32
32
|
app_id: @client.app_id,
|
33
33
|
app_key: @client.app_key,
|
@@ -36,12 +36,12 @@ describe NYCGeoClient::Client do
|
|
36
36
|
crossStreetTwo: 'sixth ave',
|
37
37
|
borough: 'manhattan',
|
38
38
|
compassDirection: 'north'
|
39
|
-
}).
|
39
|
+
})).to have_been_made
|
40
40
|
end
|
41
41
|
|
42
42
|
it "should return the blockface info" do
|
43
43
|
data = @client.blockface('34 st', 'fifth ave', 'sixth ave', 'manhattan', {compassDirection: 'north'})
|
44
|
-
data.keys.
|
44
|
+
expect(data.keys).to eq ["blockface"]
|
45
45
|
end
|
46
46
|
end
|
47
47
|
end
|
@@ -26,7 +26,7 @@ describe NYCGeoClient::Client do
|
|
26
26
|
|
27
27
|
it "should get the correct resource" do
|
28
28
|
@client.intersection('34 st', 'fifth ave', 'manhattan', {compassDirection: 'north'})
|
29
|
-
a_get("intersection.#{format}").
|
29
|
+
expect(a_get("intersection.#{format}").
|
30
30
|
with(query: {
|
31
31
|
app_id: @client.app_id,
|
32
32
|
app_key: @client.app_key,
|
@@ -34,12 +34,12 @@ describe NYCGeoClient::Client do
|
|
34
34
|
crossStreetTwo: 'fifth ave',
|
35
35
|
borough: 'manhattan',
|
36
36
|
compassDirection: 'north'
|
37
|
-
}).
|
37
|
+
})).to have_been_made
|
38
38
|
end
|
39
39
|
|
40
40
|
it "should return the intersection info" do
|
41
41
|
data = @client.intersection('34 st', 'fifth ave', 'manhattan', {compassDirection: 'north'})
|
42
|
-
data.keys.
|
42
|
+
expect(data.keys).to eq ["intersection"]
|
43
43
|
end
|
44
44
|
end
|
45
45
|
end
|
@@ -24,18 +24,18 @@ describe NYCGeoClient::Client do
|
|
24
24
|
|
25
25
|
it "should get the correct resource" do
|
26
26
|
@client.place('empire state building', 'manhattan')
|
27
|
-
a_get("place.#{format}").
|
27
|
+
expect(a_get("place.#{format}").
|
28
28
|
with(query: {
|
29
29
|
app_id: @client.app_id,
|
30
30
|
app_key: @client.app_key,
|
31
31
|
name: 'empire state building',
|
32
32
|
borough: 'manhattan'
|
33
|
-
}).
|
33
|
+
})).to have_been_made
|
34
34
|
end
|
35
35
|
|
36
36
|
it "should return the place info" do
|
37
37
|
data = @client.place('empire state building', 'manhattan')
|
38
|
-
data.keys.
|
38
|
+
expect(data.keys).to eq ["place"]
|
39
39
|
end
|
40
40
|
end
|
41
41
|
end
|
@@ -5,7 +5,7 @@ describe NYCGeoClient::Client do
|
|
5
5
|
client = NYCGeoClient::Client.new
|
6
6
|
endpoint = URI.parse(client.endpoint)
|
7
7
|
connection = client.send(:connection).build_url(nil).to_s
|
8
|
-
(connection
|
8
|
+
expect(connection).to eq endpoint.to_s
|
9
9
|
end
|
10
10
|
|
11
11
|
end
|
data/spec/nyc_geo_client_spec.rb
CHANGED
@@ -20,75 +20,75 @@ describe NYCGeoClient do
|
|
20
20
|
|
21
21
|
it "should get the correct resource" do
|
22
22
|
NYCGeoClient.address('13', 'crosby', 'manhattan')
|
23
|
-
a_get("address.json").
|
23
|
+
expect(a_get("address.json").
|
24
24
|
with(query: {
|
25
25
|
houseNumber: '13',
|
26
26
|
street: 'crosby',
|
27
27
|
borough: 'manhattan'
|
28
|
-
}).
|
28
|
+
})).to have_been_made
|
29
29
|
end
|
30
30
|
|
31
31
|
it "should return the same results as a client" do
|
32
|
-
NYCGeoClient.address('13', 'crosby', 'manhattan').
|
32
|
+
expect(NYCGeoClient.address('13', 'crosby', 'manhattan')).to eq NYCGeoClient::Client.new.address('13', 'crosby', 'manhattan')
|
33
33
|
end
|
34
34
|
|
35
35
|
end
|
36
36
|
|
37
37
|
describe ".client" do
|
38
38
|
it "should be a NYCGeoClient::Client" do
|
39
|
-
NYCGeoClient.client.
|
39
|
+
expect(NYCGeoClient.client).to be_a NYCGeoClient::Client
|
40
40
|
end
|
41
41
|
end
|
42
42
|
|
43
43
|
describe ".adapter" do
|
44
44
|
it "should return the default adapter" do
|
45
|
-
NYCGeoClient.adapter.
|
45
|
+
expect(NYCGeoClient.adapter).to eq NYCGeoClient::Configuration::DEFAULT_ADAPTER
|
46
46
|
end
|
47
47
|
end
|
48
48
|
|
49
49
|
describe ".adapter=" do
|
50
50
|
it "should set the adapter" do
|
51
51
|
NYCGeoClient.adapter = :typhoeus
|
52
|
-
NYCGeoClient.adapter.
|
52
|
+
expect(NYCGeoClient.adapter).to eq :typhoeus
|
53
53
|
end
|
54
54
|
end
|
55
55
|
|
56
56
|
describe ".endpoint" do
|
57
57
|
it "should return the default endpoint" do
|
58
|
-
NYCGeoClient.endpoint.
|
58
|
+
expect(NYCGeoClient.endpoint).to eq NYCGeoClient::Configuration::DEFAULT_ENDPOINT
|
59
59
|
end
|
60
60
|
end
|
61
61
|
|
62
62
|
describe ".endpoint=" do
|
63
63
|
it "should set the endpoint" do
|
64
64
|
NYCGeoClient.endpoint = 'http://tumblr.com'
|
65
|
-
NYCGeoClient.endpoint.
|
65
|
+
expect(NYCGeoClient.endpoint).to eq 'http://tumblr.com'
|
66
66
|
end
|
67
67
|
end
|
68
68
|
|
69
69
|
describe ".format" do
|
70
70
|
it "should return the default format" do
|
71
|
-
NYCGeoClient.format.
|
71
|
+
expect(NYCGeoClient.format).to eq NYCGeoClient::Configuration::DEFAULT_FORMAT
|
72
72
|
end
|
73
73
|
end
|
74
74
|
|
75
75
|
describe ".format=" do
|
76
76
|
it "should set the format" do
|
77
77
|
NYCGeoClient.format = 'xml'
|
78
|
-
NYCGeoClient.format.
|
78
|
+
expect(NYCGeoClient.format).to eq 'xml'
|
79
79
|
end
|
80
80
|
end
|
81
81
|
|
82
82
|
describe ".user_agent" do
|
83
83
|
it "should return the default user agent" do
|
84
|
-
NYCGeoClient.user_agent.
|
84
|
+
expect(NYCGeoClient.user_agent).to eq NYCGeoClient::Configuration::DEFAULT_USER_AGENT
|
85
85
|
end
|
86
86
|
end
|
87
87
|
|
88
88
|
describe ".user_agent=" do
|
89
89
|
it "should set the user_agent" do
|
90
90
|
NYCGeoClient.user_agent = 'Custom User Agent'
|
91
|
-
NYCGeoClient.user_agent.
|
91
|
+
expect(NYCGeoClient.user_agent).to eq 'Custom User Agent'
|
92
92
|
end
|
93
93
|
end
|
94
94
|
|
@@ -99,7 +99,7 @@ describe NYCGeoClient do
|
|
99
99
|
it "should set the #{key}" do
|
100
100
|
NYCGeoClient.configure do |config|
|
101
101
|
config.send("#{key}=", key)
|
102
|
-
NYCGeoClient.send(key).
|
102
|
+
expect(NYCGeoClient.send(key)).to eq key
|
103
103
|
end
|
104
104
|
end
|
105
105
|
end
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,155 +1,155 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nyc_geo_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Edgar Gonzalez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 3.4.0
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 3.4.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: webmock
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - ~>
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 2.0.2
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - ~>
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 2.0.2
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: yard
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - ~>
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.8.7.
|
61
|
+
version: 0.8.7.6
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - ~>
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.8.7.
|
68
|
+
version: 0.8.7.6
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: bluecloth
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - ~>
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: 2.2.0
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - ~>
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: 2.2.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: faraday
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - ~>
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.
|
89
|
+
version: 0.9.2
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - ~>
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.
|
96
|
+
version: 0.9.2
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: faraday_middleware
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - ~>
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 0.
|
103
|
+
version: 0.10.0
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - ~>
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 0.
|
110
|
+
version: 0.10.0
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: multi_json
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- - ~>
|
115
|
+
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 1.
|
117
|
+
version: 1.12.0
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- - ~>
|
122
|
+
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 1.
|
124
|
+
version: 1.12.0
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: multi_xml
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- - ~>
|
129
|
+
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: 0.5.5
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- - ~>
|
136
|
+
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: 0.5.5
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: hashie
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- - ~>
|
143
|
+
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version:
|
145
|
+
version: 3.4.4
|
146
146
|
type: :runtime
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
|
-
- - ~>
|
150
|
+
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version:
|
152
|
+
version: 3.4.4
|
153
153
|
description: A ruby wrapper for NYCGeoClient API
|
154
154
|
email:
|
155
155
|
- edgargonzalez@gmail.com
|
@@ -157,8 +157,8 @@ executables: []
|
|
157
157
|
extensions: []
|
158
158
|
extra_rdoc_files: []
|
159
159
|
files:
|
160
|
-
- .gitignore
|
161
|
-
- .travis.yml
|
160
|
+
- ".gitignore"
|
161
|
+
- ".travis.yml"
|
162
162
|
- Gemfile
|
163
163
|
- LICENSE
|
164
164
|
- README.md
|
@@ -212,17 +212,17 @@ require_paths:
|
|
212
212
|
- lib
|
213
213
|
required_ruby_version: !ruby/object:Gem::Requirement
|
214
214
|
requirements:
|
215
|
-
- -
|
215
|
+
- - ">="
|
216
216
|
- !ruby/object:Gem::Version
|
217
217
|
version: '0'
|
218
218
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
219
219
|
requirements:
|
220
|
-
- -
|
220
|
+
- - ">="
|
221
221
|
- !ruby/object:Gem::Version
|
222
222
|
version: '0'
|
223
223
|
requirements: []
|
224
224
|
rubyforge_project:
|
225
|
-
rubygems_version: 2.
|
225
|
+
rubygems_version: 2.5.1
|
226
226
|
signing_key:
|
227
227
|
specification_version: 4
|
228
228
|
summary: A ruby wrapper for NYCGeoClient API
|