open_street_map 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.rubocop.yml +1 -1
- data/.travis.yml +1 -1
- data/README.md +9 -2
- data/lib/open_street_map/version.rb +1 -1
- data/open_street_map.gemspec +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: e7d3812ea48a5dba602beacb20452580f56111a0
|
4
|
+
data.tar.gz: c3bb9aafae81eeb69b2ced468fc6ecc347f504d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 766efc9713d8d1923ee0722c8640fb7d08145523b57baa5b3139a2562d5f12892e5f32e940a8c4923981e54d8f15be614264c785a8cb1726827afa4bdd2a2483
|
7
|
+
data.tar.gz: 68d27db98d11eda52c04db1973ab680af380866669bba851041aa0aa7d90591c89e585ae229daece18865f9422d304633cff918d2430278492a25988bb2eba14
|
data/.rubocop.yml
CHANGED
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -2,6 +2,13 @@
|
|
2
2
|
|
3
3
|
Integration of OpenStreetMap api from [Nominatim](https://wiki.openstreetmap.org/wiki/Nominatim)
|
4
4
|
|
5
|
+
## Prerequisites
|
6
|
+
|
7
|
+
This project requires:
|
8
|
+
|
9
|
+
* Ruby >= 2.3.1, but can work with earlier versions
|
10
|
+
* RestClient >= 2.0.2
|
11
|
+
|
5
12
|
## Installation
|
6
13
|
|
7
14
|
Add this line to your application's Gemfile:
|
@@ -47,7 +54,7 @@ Request for search objects is #search.
|
|
47
54
|
user_agent - User-Agent identifying the application, default - webgents/open_street_map_gem_random
|
48
55
|
hostname - allow overwriting the host name for users who have their own Nominatim installation, default - https://nominatim.openstreetmap.org/
|
49
56
|
|
50
|
-
####
|
57
|
+
#### Responses
|
51
58
|
|
52
59
|
```ruby
|
53
60
|
[
|
@@ -98,7 +105,7 @@ Request for objects by coordinates is #reverse.
|
|
98
105
|
user_agent - User-Agent identifying the application, default - webgents/open_street_map_gem_random
|
99
106
|
hostname - allow overwriting the host name for users who have their own Nominatim installation, default - https://nominatim.openstreetmap.org/
|
100
107
|
|
101
|
-
####
|
108
|
+
#### Responses
|
102
109
|
|
103
110
|
```ruby
|
104
111
|
{
|
data/open_street_map.gemspec
CHANGED
@@ -20,11 +20,11 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
21
21
|
spec.require_paths = ['lib']
|
22
22
|
|
23
|
-
spec.required_ruby_version = '>= 2.
|
23
|
+
spec.required_ruby_version = '>= 2.3.1'
|
24
24
|
|
25
25
|
spec.add_development_dependency 'bundler', '~> 1.15'
|
26
26
|
spec.add_development_dependency 'rake', '~> 10.0'
|
27
27
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
28
28
|
spec.add_development_dependency 'rubocop', '~> 0.57.2'
|
29
|
-
spec.add_dependency 'rest-client', '2.0.2'
|
29
|
+
spec.add_dependency 'rest-client', '>= 2.0.2'
|
30
30
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: open_street_map
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- JungleCoders
|
@@ -71,14 +71,14 @@ dependencies:
|
|
71
71
|
name: rest-client
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
|
-
- -
|
74
|
+
- - ">="
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: 2.0.2
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
|
-
- -
|
81
|
+
- - ">="
|
82
82
|
- !ruby/object:Gem::Version
|
83
83
|
version: 2.0.2
|
84
84
|
description: Integration with OpenStrretMap API
|
@@ -116,7 +116,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
116
116
|
requirements:
|
117
117
|
- - ">="
|
118
118
|
- !ruby/object:Gem::Version
|
119
|
-
version: 2.
|
119
|
+
version: 2.3.1
|
120
120
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - ">="
|
@@ -124,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
124
124
|
version: '0'
|
125
125
|
requirements: []
|
126
126
|
rubyforge_project:
|
127
|
-
rubygems_version: 2.
|
127
|
+
rubygems_version: 2.6.14
|
128
128
|
signing_key:
|
129
129
|
specification_version: 4
|
130
130
|
summary: OpenStrretMap API
|