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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bb7ac2badd4b8479bdd2f177d2c9a607ec854079
4
- data.tar.gz: ae287d5567c4cb34053bbc53639062e26ba53682
3
+ metadata.gz: 0a9753ab46ddc8aa9f771d61493d727e50574428
4
+ data.tar.gz: a5b3378f7419ba62087b63980d4bcbdb4269995d
5
5
  SHA512:
6
- metadata.gz: 5a7fa7ad9f311aa84268c9ebdc8002946e94ebaf9c4b9c1b26c9c21fd1d55e476af11275201f8ed30053d2a147116718f0aeb64641be3dd31fb4a6da75c9fc8e
7
- data.tar.gz: 02cdbf3950a5a4e04f914a417229be085917b800b23337f711c4e8945c31d3d9cfc3b9068a274d5b160bbb7101e648cfb378ab269cdd8617167131c2ede7f54e
6
+ metadata.gz: b11c4a1313fbdffead9dc0c4d6672f84dead2e7d4a3c2fd7062992c367b4634c11b140187f0e6a3b03a7dc777066577655f1a0933c8928dc8f3e256d035b089f
7
+ data.tar.gz: '0389957419970006b5f7f165694409e7fca6d89e0b7b0a0d4409d9b2605c0e511535d4b84f89ace7ce2746cc2cad8196ea4d53618979057bbc4fee272b0d4464'
data/README.md CHANGED
@@ -1,8 +1,6 @@
1
1
  # NaverMap
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/naver_map`. To experiment with that code, run `bin/console` for an interactive prompt.
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
- TODO: Write usage instructions here
23
+ ```ruby
24
+ require 'naver_map'
26
25
 
27
- ## Development
26
+ city_hall = NaverMap.new('input your client id', 'input your client secret')
27
+ ```
28
28
 
29
- After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
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
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
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 on GitHub at https://github.com/[USERNAME]/naver_map. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
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.
@@ -1,3 +1,3 @@
1
1
  class NaverMap
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
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 = "http://github.com/say8425/naver_map"
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.0
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: http://github.com/say8425/naver_map
84
+ homepage: https://github.com/say8425/naver_map_ruby
85
85
  licenses:
86
86
  - MIT
87
87
  metadata: