naver-sdk 0.6.0 → 0.6.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: 5e0243cfe19078ff67d9712ea9e7cb391565a736
4
- data.tar.gz: 919a6fb9458ecc66e3b442e45205f4dd617a2c79
3
+ metadata.gz: eb3cfccb16a85e726c77d689c3eb33ae84050d8a
4
+ data.tar.gz: 11cdebdc58cfd9c90969a23551b8b378a8865c14
5
5
  SHA512:
6
- metadata.gz: ad842ba0141739859b1f00cc6931b54c4ff2e4b9e31871025c80f7a5394ccfa14f7459a891c9481fc8fd18dc3118027cdc3a929246f26e7738a6aa8027a96df3
7
- data.tar.gz: 453d890ba05bf8b98bb72335b7b54abb2a0acdb5c6d155325caa51320d2406bee87974b42e709053f996cfc64f260520fdc1046f99beae7f1476b25ef60fd168
6
+ metadata.gz: 2a151860caf6687c4f7392d96e0e93b9c7a476b1886fefef582cb6f0eb7c8cbe76a7561b73f5c869016d9ab35b5565db6b578ce7cd4272247cde11f70f8fb835
7
+ data.tar.gz: 77752081012ec64fa739a2f9262d3263a168776a6bd960c71bd40b7341bab9106a9376291aa50fab39227ba1db1be79e2efb5bd8e5e3425534b09e77d8a06b5c
@@ -1,40 +1,59 @@
1
- # Change Log
1
+ # Changelog
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
- ## [unreleased]
4
+ ## [Unreleased]
5
+
6
+ ## [0.6.1] - 2017-09-07
7
+ ### Fixed
8
+ - Fix Rails compatibility issue
5
9
 
6
10
  ## [0.6.0] - 2017-07-09
11
+ ### Changed
7
12
  - rename Configration -> Configuration, configration -> configuration
8
- - fix typo
9
13
 
10
14
  ## [0.5.0] - 2017-07-09
15
+ ### Changed
11
16
  - improve configuration
12
17
  - core_ext/hash/keys
13
18
 
14
19
  ## [0.4.0] - 2017-06-26
20
+ ### Changed
15
21
  - [breaking] JSON 출력 결과를 CamelCase 에서 underscore 변경
16
22
  - [breaking] Naver::Papago.romanization 리턴값의 key 변경. s_first_name -> first_name,
17
23
  a_items -> items
18
24
 
19
25
  ## [0.3.0] - 2017-06-26
20
- - [new] 얼굴인식(Beta)
26
+ ### Added
27
+ - 얼굴인식(Beta)
28
+
29
+ ### Changed
21
30
  - [breaking] `Naver::Clova::tts` renamed to `Naver::Voice.tts`.
22
31
  - [breaking] `Naver::Shortenurl::url` renamed to `Naver::Shorturl::shorten`.
23
32
 
24
33
  ## [0.2.0] - 2017-06-25
25
- - [new] 음성합성(Beta)
26
- - [new] 네이버 공유하기
34
+ ### Added
35
+ - 음성합성(Beta)
36
+ - 네이버 공유하기
37
+
38
+ ### Changed
27
39
  - [breaking] Naver::Search.adult 리턴값을 "1" -> true, "0" -> false로 변경
28
40
  - [breaking] Naver::Search.errata에서 오타가 없을 경우 리턴값을 "" -> nil로 변경
29
41
 
30
42
  ## [0.1.0] - 2017-06-24
31
-
32
- - first release
33
-
34
- [0.1.0]: https://github.com/kimsuelim/naver-sdk-ruby/releases/tag/v0.1.0
35
- [0.2.0]: https://github.com/kimsuelim/naver-sdk-ruby/compare/v0.1.0...v0.2.0
36
- [0.3.0]: https://github.com/kimsuelim/naver-sdk-ruby/compare/v0.2.0...v0.3.0
37
- [0.4.0]: https://github.com/kimsuelim/naver-sdk-ruby/compare/v0.3.0...v0.4.0
38
- [0.5.0]: https://github.com/kimsuelim/naver-sdk-ruby/compare/v0.4.0...v0.5.0
43
+ ### Added
44
+ - 한글인명 로마자 변환
45
+ - 기계번역(Beta)
46
+ - 주소 -> 좌표 변환
47
+ - 좌표 -> 주소 변환
48
+ - 단축 URL
49
+ - 네이버 공유하기
50
+ - 검색
51
+
52
+ [Unreleased]: https://github.com/kimsuelim/naver-sdk-ruby/compare/v0.6.1...HEAD
53
+ [0.6.1]: https://github.com/kimsuelim/naver-sdk-ruby/compare/v0.6.0...v0.6.1
39
54
  [0.6.0]: https://github.com/kimsuelim/naver-sdk-ruby/compare/v0.5.0...v0.6.0
40
- [unreleased]: https://github.com/kimsuelim/naver-sdk-ruby/compare/v0.6.0...HEAD
55
+ [0.5.0]: https://github.com/kimsuelim/naver-sdk-ruby/compare/v0.4.0...v0.5.0
56
+ [0.4.0]: https://github.com/kimsuelim/naver-sdk-ruby/compare/v0.3.0...v0.4.0
57
+ [0.3.0]: https://github.com/kimsuelim/naver-sdk-ruby/compare/v0.2.0...v0.3.0
58
+ [0.2.0]: https://github.com/kimsuelim/naver-sdk-ruby/compare/v0.1.0...v0.2.0
59
+ [0.1.0]: https://github.com/kimsuelim/naver-sdk-ruby/releases/tag/v0.1.0
data/README.md CHANGED
@@ -10,7 +10,8 @@
10
10
 
11
11
  * [네이버 개발자 센터](https://developers.naver.com)
12
12
  * [API 문서](http://www.rubydoc.info/github/kimsuelim/naver-sdk-ruby/)
13
- * [Change Log](https://github.com/kimsuelim/naver-sdk-ruby/blob/master/CHANGELOG.md)
13
+ * [Changelog](https://github.com/kimsuelim/naver-sdk-ruby/blob/master/CHANGELOG.md)
14
+ * [네이버 코틀린 SDK](https://github.com/kimsuelim/naver-sdk-kotlin)
14
15
 
15
16
  ## Installation
16
17
 
@@ -1,4 +1,14 @@
1
1
  class Hash
2
+ # Returns a new hash with all keys converted using the +block+ operation.
3
+ def transform_keys
4
+ return enum_for(:transform_keys) { size } unless block_given?
5
+ result = {}
6
+ each_key do |key|
7
+ result[yield(key)] = self[key]
8
+ end
9
+ result
10
+ end unless method_defined?(:transform_keys)
11
+
2
12
  # Returns a new hash with all keys converted to underscore strings.
3
13
  #
4
14
  # hash = { firstName: "Rob", lastName: "Bob" }
@@ -45,16 +55,6 @@ class Hash
45
55
 
46
56
  private
47
57
 
48
- # Returns a new hash with all keys converted using the +block+ operation.
49
- def transform_keys
50
- return enum_for(:transform_keys) { size } unless block_given?
51
- result = {}
52
- each_key do |key|
53
- result[yield(key)] = self[key]
54
- end
55
- result
56
- end
57
-
58
58
  # support methods for deep transforming nested hashes and arrays
59
59
  def deep_transform_keys_in_object(object, &block)
60
60
  case object
@@ -1,5 +1,5 @@
1
1
  module Naver
2
2
  module Sdk
3
- VERSION = "0.6.0".freeze
3
+ VERSION = "0.6.1".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: naver-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Surim Kim
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-07-09 00:00:00.000000000 Z
11
+ date: 2017-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday