nyc_geo_client 1.0.0 → 2.0.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: ad49e5b8a47e390f27c6854468278926972d2887
4
- data.tar.gz: 431451afcb992714945e5340cdefa117ea21881e
2
+ SHA256:
3
+ metadata.gz: d67887dee4749084a26e14d54c176afaf9c69048715eaf920ec99cee21661e53
4
+ data.tar.gz: a122a47fc1b18f062d73f7801fa5f9cd1c4a4db9d809e8e14ef6707a090a530e
5
5
  SHA512:
6
- metadata.gz: 749b3bd51b957c25c17c36656cdbd2b8a966725e41fc93e0621b32f694e40ba2b62ec58056d34b331d016fc59c75ae9493d0533bf1af9c66cf23a41f1f7b309b
7
- data.tar.gz: c6f723099e892e3836eba48a8fadfcd4621ce1c408766cb06e5ed4c8d0d385f4939f784d15fbc234c4fb73796724b99e1fdadc3b25d89cdd1259428a3f305347
6
+ metadata.gz: c517c118646ba63a84440422a4ca7157f6dfb90c870aed3f9a84928215334973c2f78a5f7ffda14bb63b699ba3d56b8c4c82fa29e6f0dae8567b6723f2889db7
7
+ data.tar.gz: f452f09c95b766e1e524af83075b472a4237b05d98896d7979d99985ed33e7ca9f587532673f1c1ed4ed1f792aac375b49541d92ff374c51bb689379c12ed05f
data/.travis.yml CHANGED
@@ -3,11 +3,10 @@ matrix:
3
3
  allow_failures:
4
4
  - rvm: ruby-head
5
5
  rvm:
6
- - 2.1.10
7
- - 2.2.9
8
- - 2.3.6
9
- - 2.4.3
10
- - 2.5.0
6
+ - 2.4
7
+ - 2.5
8
+ - 2.6
9
+ - 2.7
11
10
  - ruby-head
12
11
  before_install:
13
12
  # need this for ruby 1.9.3 and rspec
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) [![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
1
+ # NYCGeoClient [![Build Status](https://app.travis-ci.com/edgar/NYCGeoClient.svg?branch=master)](https://app.travis-ci.com/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://api-portal.nyc.gov/docs/services/geoclient/operations/geoclient
3
3
 
4
4
  ## Installation
5
5
 
@@ -16,14 +16,14 @@ Or install it yourself as:
16
16
  $ gem install nyc_geo_client
17
17
 
18
18
 
19
- *NOTE:* You will need to register an application with the [NYC Developer Portal](https://developer.cityofnewyork.us/), and make sure that you check off access to the Geoclient API for the application. Take note of the Application's ID and key.
19
+ *NOTE:* You will need to register an application with the [NYC API Portal](https://api-portal.nyc.gov/), and make sure that you check off access to the Geoclient API for the application. Take note of the Application's subscription key.
20
20
 
21
21
  ## API Usage Examples
22
22
 
23
23
  require "rubygems"
24
24
  require "nyc_geo_client"
25
25
 
26
- client = NYCGeoClient::Client.new(app_id: 'ID', app_key: 'KEY')
26
+ client = NYCGeoClient::Client.new(subscription_key: 'KEY')
27
27
 
28
28
  # get block and property level information about an address
29
29
  client.address(house_number: '13', street: 'crosby', borough: 'manhattan')
@@ -82,11 +82,10 @@ For instance:
82
82
 
83
83
  ## Ruby versions supported
84
84
 
85
- * 2.1
86
- * 2.2
87
- * 2.3
88
85
  * 2.4
89
86
  * 2.5
87
+ * 2.6
88
+ * 2.7
90
89
 
91
90
  Check the [.travis.yml](.travis.yml) to see the current supported ruby versions.
92
91
 
data/Rakefile CHANGED
@@ -26,5 +26,5 @@ end
26
26
 
27
27
  desc "Open an irb session preloaded with this library"
28
28
  task :console do
29
- sh "irb -rubygems -I lib -r nyc_geo_client.rb"
30
- end
29
+ sh "irb -r rubygems -I lib -r nyc_geo_client.rb"
30
+ end
@@ -7,8 +7,7 @@ module NYCGeoClient
7
7
  # An array of valid keys in the options hash when configuring a {NYCGeoClient::API}
8
8
  VALID_OPTIONS_KEYS = [
9
9
  :adapter,
10
- :app_id,
11
- :app_key,
10
+ :subscription_key,
12
11
  :endpoint,
13
12
  :format,
14
13
  :user_agent,
@@ -24,16 +23,13 @@ module NYCGeoClient
24
23
  # @note The default faraday adapter is Net::HTTP.
25
24
  DEFAULT_ADAPTER = Faraday.default_adapter
26
25
 
27
- # By default, don't set an application ID
28
- DEFAULT_APP_ID = nil
29
-
30
26
  # By default, don't set an application KEY
31
- DEFAULT_APP_KEY = nil
27
+ DEFAULT_SUBSCRIPTION_KEY = nil
32
28
 
33
29
  # The endpoint that will be used to connect if none is set
34
30
  #
35
31
  # @note There is no reason to use any other endpoint at this time
36
- DEFAULT_ENDPOINT = 'https://api.cityofnewyork.us/geoclient/v1/'.freeze
32
+ DEFAULT_ENDPOINT = 'https://api.nyc.gov/geo/geoclient/v1/'.freeze
37
33
 
38
34
  # The response format appended to the path and sent in the 'Accept' header if none is set
39
35
  #
@@ -71,14 +67,13 @@ module NYCGeoClient
71
67
 
72
68
  # Reset all configuration options to defaults
73
69
  def reset
74
- self.adapter = DEFAULT_ADAPTER
75
- self.app_id = DEFAULT_APP_ID
76
- self.app_key = DEFAULT_APP_KEY
77
- self.endpoint = DEFAULT_ENDPOINT
78
- self.format = DEFAULT_FORMAT
79
- self.user_agent = DEFAULT_USER_AGENT
80
- self.proxy = DEFAULT_PROXY
81
- self.debug = DEFAULT_DEBUG
70
+ self.adapter = DEFAULT_ADAPTER
71
+ self.subscription_key = DEFAULT_SUBSCRIPTION_KEY
72
+ self.endpoint = DEFAULT_ENDPOINT
73
+ self.format = DEFAULT_FORMAT
74
+ self.user_agent = DEFAULT_USER_AGENT
75
+ self.proxy = DEFAULT_PROXY
76
+ self.debug = DEFAULT_DEBUG
82
77
  end
83
78
  end
84
- end
79
+ end
@@ -8,10 +8,14 @@ module NYCGeoClient
8
8
 
9
9
  def connection(raw=false)
10
10
  options = {
11
- :headers => {'Accept' => "application/json; charset=utf-8", 'User-Agent' => user_agent},
12
- :proxy => proxy,
13
- :ssl => {:verify => false},
14
- :url => endpoint,
11
+ headers: {
12
+ 'Accept' => "application/json; charset=utf-8",
13
+ 'User-Agent' => user_agent,
14
+ 'Ocp-Apim-Subscription-Key' => subscription_key
15
+ },
16
+ proxy: proxy,
17
+ ssl: {verify: false},
18
+ url: endpoint
15
19
  }
16
20
 
17
21
  Faraday::Connection.new(options) do |connection|
@@ -27,4 +31,4 @@ module NYCGeoClient
27
31
  end
28
32
  end
29
33
  end
30
- end
34
+ end
@@ -25,15 +25,14 @@ module NYCGeoClient
25
25
 
26
26
  # Perform an HTTP request
27
27
  def request(method, path, options, raw=false)
28
- new_options = access_params.merge(options)
29
28
  response = connection(raw).send(method) do |request|
30
29
  path = formatted_path(path)
31
30
  case method
32
31
  when :get, :delete
33
- request.url(path, new_options)
32
+ request.url(path, options)
34
33
  when :post, :put
35
34
  request.path = path
36
- request.body = new_options unless new_options.empty?
35
+ request.body = options unless options.empty?
37
36
  end
38
37
  end
39
38
  if raw
@@ -48,12 +47,5 @@ module NYCGeoClient
48
47
  def formatted_path(path)
49
48
  [path, format].compact.join('.')
50
49
  end
51
-
52
- def access_params
53
- hash = {}
54
- hash[:app_id] = app_id if app_id
55
- hash[:app_key] = app_key if app_key
56
- hash
57
- end
58
50
  end
59
- end
51
+ end
@@ -1,3 +1,3 @@
1
1
  module NYCGeoClient
2
- VERSION = "1.0.0".freeze unless defined?(::NYCGeoClient::VERSION)
2
+ VERSION = "2.0.0".freeze unless defined?(::NYCGeoClient::VERSION)
3
3
  end
@@ -14,9 +14,9 @@ module NYCGeoClient
14
14
  end
15
15
 
16
16
  # Delegate to NYCGeoClient::Client
17
- def self.method_missing(method, *args, &block)
17
+ def self.method_missing(method, **kwargs, &block)
18
18
  return super unless client.respond_to?(method)
19
- client.send(method, *args, &block)
19
+ client.public_send(method, **kwargs, &block)
20
20
  end
21
21
 
22
22
  # Delegate to NYCGeoClient::Client
@@ -3,16 +3,15 @@ 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', '~> 3.5.0')
7
- gem.add_development_dependency('webmock', '~> 2.3.2')
8
- gem.add_development_dependency('yard', '~> 0.9.8')
9
- gem.add_development_dependency('bluecloth', '~> 2.2.0')
6
+ gem.add_development_dependency('rspec', '~> 3.10.0')
7
+ gem.add_development_dependency('webmock', '~> 3.14.0')
8
+ gem.add_development_dependency('yard', '~> 0.9.26')
10
9
 
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
- gem.add_runtime_dependency('multi_xml', '~> 0.5.5')
15
- gem.add_runtime_dependency('hashie', '~> 3.4.4')
10
+ gem.add_runtime_dependency('faraday', '~> 1.7.2')
11
+ gem.add_runtime_dependency('faraday_middleware', '~> 1.1.0')
12
+ gem.add_runtime_dependency('multi_json', '~> 1.15.0')
13
+ gem.add_runtime_dependency('multi_xml', '~> 0.6.0')
14
+ gem.add_runtime_dependency('hashie', '~> 4.1.0')
16
15
  gem.authors = ["Edgar Gonzalez"]
17
16
  gem.email = ["edgargonzalez@gmail.com"]
18
17
  gem.description = %q{A ruby wrapper for NYCGeoClient API}
@@ -2,7 +2,7 @@ require File.expand_path('../../spec_helper', __FILE__)
2
2
 
3
3
  describe Faraday::Response do
4
4
  before do
5
- @client = NYCGeoClient::Client.new(app_id: 'foo', app_key: 'bar')
5
+ @client = NYCGeoClient::Client.new(subscription_key: 'foo')
6
6
  end
7
7
 
8
8
  [403, 500, 503].each do |status|
@@ -11,8 +11,6 @@ describe Faraday::Response do
11
11
  stub_get("address.json").
12
12
  with(
13
13
  query: {
14
- app_id: @client.app_id,
15
- app_key: @client.app_key,
16
14
  houseNumber: '13',
17
15
  street: 'crosby',
18
16
  borough: 'manhattan'
@@ -32,7 +30,7 @@ describe Faraday::Response do
32
30
  rescue NYCGeoClient::Error => ex
33
31
  expect(ex.status).to eq status
34
32
  parts = ex.message.split(": ")
35
- expect(parts[0]).to match /GET https:\/\/api.cityofnewyork.us\/geoclient\/v1\/address.json/
33
+ expect(parts[0]).to match /GET https:\/\/api.nyc.gov\/geo\/geoclient\/v1\/address.json/
36
34
  expect(parts[1]).to eq "#{status}"
37
35
  expect(parts[2]).to eq "some message"
38
36
  end
@@ -30,8 +30,7 @@ describe NYCGeoClient::API do
30
30
 
31
31
  before do
32
32
  @configuration = {
33
- :app_id => 'ID',
34
- :app_key => 'KEY',
33
+ :subscription_key => 'KEY',
35
34
  :adapter => :typhoeus,
36
35
  :endpoint => 'http://tumblr.com/',
37
36
  :format => :xml,
@@ -64,4 +63,4 @@ describe NYCGeoClient::API do
64
63
  end
65
64
  end
66
65
  end
67
- end
66
+ end
@@ -6,7 +6,7 @@ describe NYCGeoClient::Client do
6
6
  context ".new(:format => '#{format}')" do
7
7
 
8
8
  before do
9
- @client = NYCGeoClient::Client.new(app_id: 'ID', app_key: 'KEY', format: format)
9
+ @client = NYCGeoClient::Client.new(subscription_key: 'KEY', format: format)
10
10
  end
11
11
 
12
12
  describe ".address" do
@@ -15,8 +15,6 @@ describe NYCGeoClient::Client do
15
15
  stub_get("address.#{format}").
16
16
  with(
17
17
  query: {
18
- app_id: @client.app_id,
19
- app_key: @client.app_key,
20
18
  houseNumber: '13',
21
19
  street: 'crosby',
22
20
  borough: 'manhattan'
@@ -28,8 +26,6 @@ describe NYCGeoClient::Client do
28
26
  @client.address(house_number: '13', street: 'crosby', borough: 'manhattan')
29
27
  expect(a_get("address.#{format}").
30
28
  with(query: {
31
- app_id: @client.app_id,
32
- app_key: @client.app_key,
33
29
  houseNumber: '13',
34
30
  street: 'crosby',
35
31
  borough: 'manhattan'
@@ -47,8 +43,6 @@ describe NYCGeoClient::Client do
47
43
  stub_get("address.#{format}").
48
44
  with(
49
45
  query: {
50
- app_id: @client.app_id,
51
- app_key: @client.app_key,
52
46
  houseNumber: '13',
53
47
  street: 'crosby',
54
48
  zip: '10013'
@@ -60,8 +54,6 @@ describe NYCGeoClient::Client do
60
54
  @client.address(house_number: '13', street: 'crosby', zip: '10013')
61
55
  expect(a_get("address.#{format}").
62
56
  with(query: {
63
- app_id: @client.app_id,
64
- app_key: @client.app_key,
65
57
  houseNumber: '13',
66
58
  street: 'crosby',
67
59
  zip: '10013'
@@ -6,7 +6,7 @@ describe NYCGeoClient::Client do
6
6
  context ".new(:format => '#{format}')" do
7
7
 
8
8
  before do
9
- @client = NYCGeoClient::Client.new(app_id: 'ID', app_key: 'KEY', format: format)
9
+ @client = NYCGeoClient::Client.new(subscription_key: 'KEY', format: format)
10
10
  end
11
11
 
12
12
  describe ".bbl" do
@@ -14,8 +14,6 @@ describe NYCGeoClient::Client do
14
14
  stub_get("bbl.#{format}").
15
15
  with(
16
16
  query: {
17
- app_id: @client.app_id,
18
- app_key: @client.app_key,
19
17
  borough: 'manhattan',
20
18
  block: '00233',
21
19
  lot: '0004',
@@ -27,8 +25,6 @@ describe NYCGeoClient::Client do
27
25
  @client.bbl(borough: 'manhattan', block: '00233', lot: '0004')
28
26
  expect(a_get("bbl.#{format}").
29
27
  with(query: {
30
- app_id: @client.app_id,
31
- app_key: @client.app_key,
32
28
  borough: 'manhattan',
33
29
  block: '00233',
34
30
  lot: '0004',
@@ -6,7 +6,7 @@ describe NYCGeoClient::Client do
6
6
  context ".new(:format => '#{format}')" do
7
7
 
8
8
  before do
9
- @client = NYCGeoClient::Client.new(app_id: 'ID', app_key: 'KEY', format: format)
9
+ @client = NYCGeoClient::Client.new(subscription_key: 'KEY', format: format)
10
10
  end
11
11
 
12
12
  describe ".bin" do
@@ -14,8 +14,6 @@ describe NYCGeoClient::Client do
14
14
  stub_get("bin.#{format}").
15
15
  with(
16
16
  query: {
17
- app_id: @client.app_id,
18
- app_key: @client.app_key,
19
17
  bin: '1003041',
20
18
  }).
21
19
  to_return(body: fixture("bin.#{format}"), headers: {content_type: "application/#{format}; charset=utf-8"})
@@ -25,8 +23,6 @@ describe NYCGeoClient::Client do
25
23
  @client.bin(bin: '1003041')
26
24
  expect(a_get("bin.#{format}").
27
25
  with(query: {
28
- app_id: @client.app_id,
29
- app_key: @client.app_key,
30
26
  bin: '1003041',
31
27
  })).to have_been_made
32
28
  end
@@ -6,7 +6,7 @@ describe NYCGeoClient::Client do
6
6
  context ".new(:format => '#{format}')" do
7
7
 
8
8
  before do
9
- @client = NYCGeoClient::Client.new(app_id: 'ID', app_key: 'KEY', format: format)
9
+ @client = NYCGeoClient::Client.new(subscription_key: 'KEY', format: format)
10
10
  end
11
11
 
12
12
  describe ".blockface" do
@@ -14,8 +14,6 @@ describe NYCGeoClient::Client do
14
14
  stub_get("blockface.#{format}").
15
15
  with(
16
16
  query: {
17
- app_id: @client.app_id,
18
- app_key: @client.app_key,
19
17
  onStreet: '34 st',
20
18
  crossStreetOne: 'fifth ave',
21
19
  crossStreetTwo: 'sixth ave',
@@ -36,8 +34,6 @@ describe NYCGeoClient::Client do
36
34
 
37
35
  expect(a_get("blockface.#{format}").
38
36
  with(query: {
39
- app_id: @client.app_id,
40
- app_key: @client.app_key,
41
37
  onStreet: '34 st',
42
38
  crossStreetOne: 'fifth ave',
43
39
  crossStreetTwo: 'sixth ave',
@@ -6,7 +6,7 @@ describe NYCGeoClient::Client do
6
6
  context ".new(:format => '#{format}')" do
7
7
 
8
8
  before do
9
- @client = NYCGeoClient::Client.new(app_id: 'ID', app_key: 'KEY', format: format)
9
+ @client = NYCGeoClient::Client.new(subscription_key: 'KEY', format: format)
10
10
  end
11
11
 
12
12
  describe ".intersection" do
@@ -14,8 +14,6 @@ describe NYCGeoClient::Client do
14
14
  stub_get("intersection.#{format}").
15
15
  with(
16
16
  query: {
17
- app_id: @client.app_id,
18
- app_key: @client.app_key,
19
17
  crossStreetOne: '34 st',
20
18
  crossStreetTwo: 'fifth ave',
21
19
  borough: 'manhattan',
@@ -34,8 +32,6 @@ describe NYCGeoClient::Client do
34
32
 
35
33
  expect(a_get("intersection.#{format}").
36
34
  with(query: {
37
- app_id: @client.app_id,
38
- app_key: @client.app_key,
39
35
  crossStreetOne: '34 st',
40
36
  crossStreetTwo: 'fifth ave',
41
37
  borough: 'manhattan',
@@ -6,7 +6,7 @@ describe NYCGeoClient::Client do
6
6
  context ".new(:format => '#{format}')" do
7
7
 
8
8
  before do
9
- @client = NYCGeoClient::Client.new(app_id: 'ID', app_key: 'KEY', format: format)
9
+ @client = NYCGeoClient::Client.new(subscription_key: 'KEY', format: format)
10
10
  end
11
11
 
12
12
  describe ".place" do
@@ -15,8 +15,6 @@ describe NYCGeoClient::Client do
15
15
  stub_get("place.#{format}").
16
16
  with(
17
17
  query: {
18
- app_id: @client.app_id,
19
- app_key: @client.app_key,
20
18
  name: 'empire state building',
21
19
  borough: 'manhattan'
22
20
  }).
@@ -27,8 +25,6 @@ describe NYCGeoClient::Client do
27
25
  @client.place(name: 'empire state building', borough: 'manhattan')
28
26
  expect(a_get("place.#{format}").
29
27
  with(query: {
30
- app_id: @client.app_id,
31
- app_key: @client.app_key,
32
28
  name: 'empire state building',
33
29
  borough: 'manhattan'
34
30
  })).to have_been_made
@@ -45,8 +41,6 @@ describe NYCGeoClient::Client do
45
41
  stub_get("place.#{format}").
46
42
  with(
47
43
  query: {
48
- app_id: @client.app_id,
49
- app_key: @client.app_key,
50
44
  name: 'empire state building',
51
45
  zip: '10118'
52
46
  }).
@@ -57,8 +51,6 @@ describe NYCGeoClient::Client do
57
51
  @client.place(name: 'empire state building', zip: '10118')
58
52
  expect(a_get("place.#{format}").
59
53
  with(query: {
60
- app_id: @client.app_id,
61
- app_key: @client.app_key,
62
54
  name: 'empire state building',
63
55
  zip: '10118'
64
56
  })).to have_been_made
@@ -114,5 +114,4 @@ describe NYCGeoClient do
114
114
  end
115
115
  end
116
116
  end
117
-
118
- end
117
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nyc_geo_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 2.0.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: 2018-02-13 00:00:00.000000000 Z
11
+ date: 2021-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -30,126 +30,112 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 3.5.0
33
+ version: 3.10.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: 3.5.0
40
+ version: 3.10.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: 2.3.2
47
+ version: 3.14.0
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: 2.3.2
54
+ version: 3.14.0
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.9.8
61
+ version: 0.9.26
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.9.8
69
- - !ruby/object:Gem::Dependency
70
- name: bluecloth
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: 2.2.0
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: 2.2.0
68
+ version: 0.9.26
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: faraday
85
71
  requirement: !ruby/object:Gem::Requirement
86
72
  requirements:
87
73
  - - "~>"
88
74
  - !ruby/object:Gem::Version
89
- version: 0.9.2
75
+ version: 1.7.2
90
76
  type: :runtime
91
77
  prerelease: false
92
78
  version_requirements: !ruby/object:Gem::Requirement
93
79
  requirements:
94
80
  - - "~>"
95
81
  - !ruby/object:Gem::Version
96
- version: 0.9.2
82
+ version: 1.7.2
97
83
  - !ruby/object:Gem::Dependency
98
84
  name: faraday_middleware
99
85
  requirement: !ruby/object:Gem::Requirement
100
86
  requirements:
101
87
  - - "~>"
102
88
  - !ruby/object:Gem::Version
103
- version: 0.10.0
89
+ version: 1.1.0
104
90
  type: :runtime
105
91
  prerelease: false
106
92
  version_requirements: !ruby/object:Gem::Requirement
107
93
  requirements:
108
94
  - - "~>"
109
95
  - !ruby/object:Gem::Version
110
- version: 0.10.0
96
+ version: 1.1.0
111
97
  - !ruby/object:Gem::Dependency
112
98
  name: multi_json
113
99
  requirement: !ruby/object:Gem::Requirement
114
100
  requirements:
115
101
  - - "~>"
116
102
  - !ruby/object:Gem::Version
117
- version: 1.12.0
103
+ version: 1.15.0
118
104
  type: :runtime
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
107
  requirements:
122
108
  - - "~>"
123
109
  - !ruby/object:Gem::Version
124
- version: 1.12.0
110
+ version: 1.15.0
125
111
  - !ruby/object:Gem::Dependency
126
112
  name: multi_xml
127
113
  requirement: !ruby/object:Gem::Requirement
128
114
  requirements:
129
115
  - - "~>"
130
116
  - !ruby/object:Gem::Version
131
- version: 0.5.5
117
+ version: 0.6.0
132
118
  type: :runtime
133
119
  prerelease: false
134
120
  version_requirements: !ruby/object:Gem::Requirement
135
121
  requirements:
136
122
  - - "~>"
137
123
  - !ruby/object:Gem::Version
138
- version: 0.5.5
124
+ version: 0.6.0
139
125
  - !ruby/object:Gem::Dependency
140
126
  name: hashie
141
127
  requirement: !ruby/object:Gem::Requirement
142
128
  requirements:
143
129
  - - "~>"
144
130
  - !ruby/object:Gem::Version
145
- version: 3.4.4
131
+ version: 4.1.0
146
132
  type: :runtime
147
133
  prerelease: false
148
134
  version_requirements: !ruby/object:Gem::Requirement
149
135
  requirements:
150
136
  - - "~>"
151
137
  - !ruby/object:Gem::Version
152
- version: 3.4.4
138
+ version: 4.1.0
153
139
  description: A ruby wrapper for NYCGeoClient API
154
140
  email:
155
141
  - edgargonzalez@gmail.com
@@ -221,8 +207,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
221
207
  - !ruby/object:Gem::Version
222
208
  version: '0'
223
209
  requirements: []
224
- rubyforge_project:
225
- rubygems_version: 2.6.14
210
+ rubygems_version: 3.1.2
226
211
  signing_key:
227
212
  specification_version: 4
228
213
  summary: A ruby wrapper for NYCGeoClient API