naver_map 0.1.0 → 0.1.1
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 +4 -4
- data/README.md +14 -14
- data/lib/naver_map/version.rb +1 -1
- data/naver_map.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a9753ab46ddc8aa9f771d61493d727e50574428
|
4
|
+
data.tar.gz: a5b3378f7419ba62087b63980d4bcbdb4269995d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b11c4a1313fbdffead9dc0c4d6672f84dead2e7d4a3c2fd7062992c367b4634c11b140187f0e6a3b03a7dc777066577655f1a0933c8928dc8f3e256d035b089f
|
7
|
+
data.tar.gz: '0389957419970006b5f7f165694409e7fca6d89e0b7b0a0d4409d9b2605c0e511535d4b84f89ace7ce2746cc2cad8196ea4d53618979057bbc4fee272b0d4464'
|
data/README.md
CHANGED
@@ -1,8 +1,6 @@
|
|
1
1
|
# NaverMap
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
3
|
+
This is ruby gem for using Naver Map API.
|
6
4
|
|
7
5
|
## Installation
|
8
6
|
|
@@ -22,20 +20,22 @@ Or install it yourself as:
|
|
22
20
|
|
23
21
|
## Usage
|
24
22
|
|
25
|
-
|
23
|
+
```ruby
|
24
|
+
require 'naver_map'
|
26
25
|
|
27
|
-
|
26
|
+
city_hall = NaverMap.new('input your client id', 'input your client secret')
|
27
|
+
```
|
28
28
|
|
29
|
-
|
29
|
+
First you need to confirm your Naver API client id and client secret key. You can confirm it at [Naver Developer Application page](https://developers.naver.com/appinfo).
|
30
|
+
Then you can initialize `naver_map` with your client id and client secret key.
|
31
|
+
|
32
|
+
```ruby
|
33
|
+
city_hall.address_to_coordinates('서울특별시 중구 세종대로 110 서울특별시청')
|
34
|
+
=> [{:x=>126.9783882, :y=>37.5666103}]
|
35
|
+
```
|
30
36
|
|
31
|
-
|
37
|
+
Current version of naver_map gem can only show coordinates through address.
|
32
38
|
|
33
39
|
## Contributing
|
34
40
|
|
35
|
-
Bug reports and pull requests are welcome
|
36
|
-
|
37
|
-
|
38
|
-
## License
|
39
|
-
|
40
|
-
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
41
|
-
|
41
|
+
Bug reports and pull requests are welcome.
|
data/lib/naver_map/version.rb
CHANGED
data/naver_map.gemspec
CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.summary = "Generating Naver map API"
|
13
13
|
spec.description = "Naver support map API. But we don't have any ruby gem for this API.
|
14
14
|
So You can use it with this gem comfortable."
|
15
|
-
spec.homepage = "
|
15
|
+
spec.homepage = "https://github.com/say8425/naver_map_ruby"
|
16
16
|
spec.license = "MIT"
|
17
17
|
|
18
18
|
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: naver_map
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Penguin
|
@@ -81,7 +81,7 @@ files:
|
|
81
81
|
- lib/naver_map.rb
|
82
82
|
- lib/naver_map/version.rb
|
83
83
|
- naver_map.gemspec
|
84
|
-
homepage:
|
84
|
+
homepage: https://github.com/say8425/naver_map_ruby
|
85
85
|
licenses:
|
86
86
|
- MIT
|
87
87
|
metadata:
|