google_maps_geocoder 0.7 → 0.7.1

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
- SHA1:
3
- metadata.gz: 6f8038283c14ce1cd1991efd381e0ed95a38dea5
4
- data.tar.gz: 8861a684bddf6016204a3a652cadd81c11136adb
2
+ SHA256:
3
+ metadata.gz: f46234243841130a16f88cfaa7e5e1f3cfa0a3b077872340a8f962247631550b
4
+ data.tar.gz: '08cc73decc514ca46cb109b91c5a530a6add7d5baeae8fb0a982cccc619f4dff'
5
5
  SHA512:
6
- metadata.gz: c12d9c7fb0e086af148f102f00f14c72888019ff52d885319bbfabeab827d3a41ef383a0439432f181a77f7b7312b187fd2eaaf72b02ac69a2aca16dbd9cf203
7
- data.tar.gz: 1e1f72808a2c9a75994f745f0719e4d7e673a81f72002c46641a4921196db418887fe4c353b332b6919272137c7f01f4abe7d3b489442833648885abe861a86e
6
+ metadata.gz: f1f39673ac4fb7cf61a6a3168a74cd5953040fdbd7334c65ba7891195e35f16134613d2caf20ccc6a9faee677f339648c3cec0c987f339b8f872f92e2668d5d1
7
+ data.tar.gz: df17491635d7a798f19ba4df1c338bc057506ed54c743f1e417936272dc313389e37d7a3297fa450716a81498bee1f943db7e67f659b245e42123961e36e504a
@@ -1,6 +1,10 @@
1
- sudo: false
2
1
  rvm:
3
- - 2.2.5
2
+ - 2.2.10
3
+ - 2.3.8
4
+ - 2.4.10
5
+ - 2.5.8
6
+ - 2.6.6
7
+ - 2.7.1
4
8
  script:
5
9
  - bundle exec rake
6
10
  - bundle exec rubocop
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # GoogleMapsGeocoder
2
2
 
3
- [![Build Status](https://secure.travis-ci.org/ivanoblomov/google_maps_geocoder.png)](http://travis-ci.org/ivanoblomov/google_maps_geocoder)
3
+ [![Build Status](https://secure.travis-ci.org/ivanoblomov/google_maps_geocoder.svg)](http://travis-ci.org/ivanoblomov/google_maps_geocoder)
4
4
  [![Code Climate](https://codeclimate.com/github/ivanoblomov/google_maps_geocoder.png)](https://codeclimate.com/github/ivanoblomov/google_maps_geocoder)
5
5
  [![Coverage Status](https://coveralls.io/repos/github/ivanoblomov/google_maps_geocoder/badge.svg?branch=master)](https://coveralls.io/github/ivanoblomov/google_maps_geocoder?branch=master)
6
6
  [![Inline docs](http://inch-ci.org/github/Ivanoblomov/google_maps_geocoder.svg?branch=master)](http://inch-ci.org/github/Ivanoblomov/google_maps_geocoder)
@@ -11,17 +11,23 @@ A simple Plain Old Ruby Object wrapper for geocoding with Google Maps.
11
11
 
12
12
  ## Installation
13
13
 
14
- Add GoogleMapsGeocoder to your Gemfile and run `bundle`:
14
+ 1. Set your Google Maps API key, which Google now requires, as an environment variable:
15
15
 
16
- ```ruby
17
- gem 'google_maps_geocoder'
18
- ```
16
+ ```bash
17
+ export GOOGLE_MAPS_API_KEY=[your key]
18
+ ```
19
19
 
20
- Or try it out in `irb` with:
20
+ 2. Add `GoogleMapsGeocoder` to your Gemfile and run `bundle`:
21
21
 
22
- ```ruby
23
- require './lib/google_maps_geocoder/google_maps_geocoder'
24
- ```
22
+ ```ruby
23
+ gem 'google_maps_geocoder'
24
+ ```
25
+
26
+ Or try it out in `irb` with:
27
+
28
+ ```ruby
29
+ require './lib/google_maps_geocoder/google_maps_geocoder'
30
+ ```
25
31
 
26
32
  ## Ready to Go in One Step
27
33
 
@@ -88,16 +94,8 @@ For compatibility with [Geocoder](https://github.com/alexreisner/geocoder), the
88
94
  * `GoogleMapsGeocoder#state`
89
95
  * `GoogleMapsGeocoder#state_code`
90
96
 
91
- ## Google Maps API Key (Optional)
92
-
93
- To have GoogleMapsGeocoder use your Google Maps API key, set it as an environment variable:
94
-
95
- ```bash
96
- export GOOGLE_MAPS_API_KEY=[your key]
97
- ```
98
-
99
97
  ## [Contributing to GoogleMapsGeocoder](https://github.com/ivanoblomov/google_maps_geocoder/blob/master/.github/CONTRIBUTING.md)
100
98
 
101
99
  ## Copyright
102
100
 
103
- Copyright © 2011-2018 Roderick Monje. See [LICENSE.txt](https://github.com/ivanoblomov/google_maps_geocoder/blob/master/LICENSE.txt) for further details.
101
+ Copyright © 2011-2020 Roderick Monje. See [LICENSE.txt](https://github.com/ivanoblomov/google_maps_geocoder/blob/master/LICENSE.txt) for further details.
@@ -7,18 +7,18 @@ Gem::Specification.new do |s|
7
7
  s.description = 'Geocode a location without worrying about parsing Google '\
8
8
  "Maps' response. GoogleMapsGeocoder wraps it in a plain-old "\
9
9
  'Ruby object.'
10
- s.homepage = 'http://github.com/ivanoblomov/google_maps_geocoder'
10
+ s.homepage = 'https://github.com/ivanoblomov/google_maps_geocoder'
11
11
  s.authors = ['Roderick Monje']
12
12
  s.email = 'rod@foveacentral.com'
13
13
 
14
14
  s.add_development_dependency 'codeclimate-test-reporter', '~> 0'
15
15
  s.add_development_dependency 'coveralls', '~> 0'
16
- s.add_development_dependency 'rake', '~> 0'
16
+ s.add_development_dependency 'rake', '~> 12.3', '>= 12.3.3'
17
17
  s.add_development_dependency 'rspec', '~> 3'
18
18
  s.add_development_dependency 'rubocop', '~> 0.49.0'
19
19
 
20
- s.add_runtime_dependency 'activesupport', '~> 3.2.22'
21
- s.add_runtime_dependency 'rack', '~> 1.4.6'
20
+ s.add_runtime_dependency 'activesupport', '~> 4.1', '>= 4.1.11'
21
+ s.add_runtime_dependency 'rack', '~> 2.1.3'
22
22
 
23
23
  s.files = `git ls-files`.split "\n"
24
24
  s.test_files = `git ls-files -- {test,spec,features}/*`.split "\n"
@@ -1,4 +1,4 @@
1
1
  # A simple PORO wrapper for geocoding with Google Maps.
2
2
  class GoogleMapsGeocoder
3
- VERSION = '0.7'.freeze unless defined?(GoogleMapsGeocoder::VERSION)
3
+ VERSION = '0.7.1'.freeze unless defined?(GoogleMapsGeocoder::VERSION)
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google_maps_geocoder
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.7'
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roderick Monje
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-01 00:00:00.000000000 Z
11
+ date: 2020-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: codeclimate-test-reporter
@@ -44,14 +44,20 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: '12.3'
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ version: 12.3.3
48
51
  type: :development
49
52
  prerelease: false
50
53
  version_requirements: !ruby/object:Gem::Requirement
51
54
  requirements:
52
55
  - - "~>"
53
56
  - !ruby/object:Gem::Version
54
- version: '0'
57
+ version: '12.3'
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: 12.3.3
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: rspec
57
63
  requirement: !ruby/object:Gem::Requirement
@@ -86,28 +92,34 @@ dependencies:
86
92
  requirements:
87
93
  - - "~>"
88
94
  - !ruby/object:Gem::Version
89
- version: 3.2.22
95
+ version: '4.1'
96
+ - - ">="
97
+ - !ruby/object:Gem::Version
98
+ version: 4.1.11
90
99
  type: :runtime
91
100
  prerelease: false
92
101
  version_requirements: !ruby/object:Gem::Requirement
93
102
  requirements:
94
103
  - - "~>"
95
104
  - !ruby/object:Gem::Version
96
- version: 3.2.22
105
+ version: '4.1'
106
+ - - ">="
107
+ - !ruby/object:Gem::Version
108
+ version: 4.1.11
97
109
  - !ruby/object:Gem::Dependency
98
110
  name: rack
99
111
  requirement: !ruby/object:Gem::Requirement
100
112
  requirements:
101
113
  - - "~>"
102
114
  - !ruby/object:Gem::Version
103
- version: 1.4.6
115
+ version: 2.1.3
104
116
  type: :runtime
105
117
  prerelease: false
106
118
  version_requirements: !ruby/object:Gem::Requirement
107
119
  requirements:
108
120
  - - "~>"
109
121
  - !ruby/object:Gem::Version
110
- version: 1.4.6
122
+ version: 2.1.3
111
123
  description: Geocode a location without worrying about parsing Google Maps' response.
112
124
  GoogleMapsGeocoder wraps it in a plain-old Ruby object.
113
125
  email: rod@foveacentral.com
@@ -122,7 +134,6 @@ files:
122
134
  - ".github/ISSUE_TEMPLATE/feature_request.md"
123
135
  - ".github/PULL_REQUEST_TEMPLATE.md"
124
136
  - ".gitignore"
125
- - ".ruby-version"
126
137
  - ".travis.yml"
127
138
  - Gemfile
128
139
  - LICENSE.txt
@@ -133,7 +144,7 @@ files:
133
144
  - lib/google_maps_geocoder/version.rb
134
145
  - spec/lib/google_maps_geocoder_spec.rb
135
146
  - spec/spec_helper.rb
136
- homepage: http://github.com/ivanoblomov/google_maps_geocoder
147
+ homepage: https://github.com/ivanoblomov/google_maps_geocoder
137
148
  licenses:
138
149
  - MIT
139
150
  metadata: {}
@@ -152,8 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
152
163
  - !ruby/object:Gem::Version
153
164
  version: '0'
154
165
  requirements: []
155
- rubyforge_project:
156
- rubygems_version: 2.4.5.1
166
+ rubygems_version: 3.1.2
157
167
  signing_key:
158
168
  specification_version: 4
159
169
  summary: A simple PORO wrapper for geocoding with Google Maps.
@@ -1 +0,0 @@
1
- 2.2.5