gmaps_geocoding 0.0.2 → 0.0.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.
- data/README.md +10 -0
- data/Rakefile +3 -3
- data/lib/gmaps_geocoding/version.rb +1 -1
- metadata +3 -3
data/README.md
CHANGED
|
@@ -22,6 +22,16 @@ Or install it yourself as:
|
|
|
22
22
|
|
|
23
23
|
See [Google Maps Geocoding service documentation](https://developers.google.com/maps/documentation/geocoding/) for options parameters and *result* handling.
|
|
24
24
|
|
|
25
|
+
All options could be overriden with corresponding environment variable:
|
|
26
|
+
* GOOGLE_MAPS_GEOCODING_OUTPUT
|
|
27
|
+
* GOOGLE_MAPS_GEOCODING_ADDRESS
|
|
28
|
+
* GOOGLE_MAPS_GEOCODING_LATLNG
|
|
29
|
+
* GOOGLE_MAPS_GEOCODING_COMPONENTS
|
|
30
|
+
* GOOGLE_MAPS_GEOCODING_SENSOR
|
|
31
|
+
* GOOGLE_MAPS_GEOCODING_BOUNDS
|
|
32
|
+
* GOOGLE_MAPS_GEOCODING_LANGUAGE
|
|
33
|
+
* GOOGLE_MAPS_GEOCODING_REGION
|
|
34
|
+
|
|
25
35
|
### JSON example
|
|
26
36
|
|
|
27
37
|
# json output example
|
data/Rakefile
CHANGED
|
@@ -12,14 +12,14 @@ task :build do
|
|
|
12
12
|
end
|
|
13
13
|
|
|
14
14
|
task install: :build do
|
|
15
|
-
system "gem install
|
|
15
|
+
system "gem install gmaps_geocoding-#{GmapsGeocoding::VERSION}.gem"
|
|
16
16
|
end
|
|
17
17
|
|
|
18
18
|
task release: :build do
|
|
19
19
|
system "git tag -a -v#{GmapsGeocoding::VERSION} -m 'Tagging #{GmapsGeocoding::VERSION}'"
|
|
20
20
|
system 'git push --tags'
|
|
21
|
-
system "gem push
|
|
22
|
-
system "rm
|
|
21
|
+
system "gem push gmaps_geocoding-#{GmapsGeocoding::VERSION}.gem"
|
|
22
|
+
system "rm gmaps_geocoding-#{GmapsGeocoding::VERSION}.gem"
|
|
23
23
|
end
|
|
24
24
|
|
|
25
25
|
Rake::TestTask.new do |t|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gmaps_geocoding
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -144,7 +144,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
144
144
|
version: '0'
|
|
145
145
|
segments:
|
|
146
146
|
- 0
|
|
147
|
-
hash:
|
|
147
|
+
hash: -3244654346116557412
|
|
148
148
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
149
149
|
none: false
|
|
150
150
|
requirements:
|
|
@@ -153,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
153
153
|
version: '0'
|
|
154
154
|
segments:
|
|
155
155
|
- 0
|
|
156
|
-
hash:
|
|
156
|
+
hash: -3244654346116557412
|
|
157
157
|
requirements: []
|
|
158
158
|
rubyforge_project:
|
|
159
159
|
rubygems_version: 1.8.25
|