docomo-nlu 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 006b3eb5a7e9beadb882d58f66192547d803aa3d5a55734ae7ecf28156212ac8
4
- data.tar.gz: 3de06dc75c3183c467cf1e15071ef4c0fa6418994dac5d11cb6afee234f8db7c
3
+ metadata.gz: '07583dd9ac684183a196b0667f6130892a8d9956bb33e3fb0fdacd67f19c501c'
4
+ data.tar.gz: d9f60750e905e0a2dd99d3ee9ea4670aba63d98d6a870be2dc9dc4108bed823b
5
5
  SHA512:
6
- metadata.gz: 7daf93bde6c23c08e97941bc867043ab75d960c46f69139945b4b06636ab745d03b94817e303ecd252dd1176c8a326dd2c88c14344af457ba078de5d4f991db2
7
- data.tar.gz: 1b9683017105086b4cf9d25a14c30354a40be09545be6f3bf1b0c012ccdbe7e78c2d69accda04effe4149248a6671367fd308b783aaa1903f7da98d365f015fa
6
+ metadata.gz: b23af8c589ea601d7bb5b6cce933553560992c7efddfdf907286e512732e85a1432d3b966a55d51d336ae296fcf439ab7e3d0ef3c91277bc6ca72fb31d91fe39
7
+ data.tar.gz: 60401f8399e226a87770b72d6735a8b35966af39d1ce2925aa59aeb853fdcb3cacbb37462b586cebd8bb34baba8f9f1ecc7fda04f6892aa9529358e1e7ba00fc
@@ -29,12 +29,12 @@ Layout/ExtraSpacing:
29
29
  # special_inside_parentheses (default) と比べて
30
30
  # * 横に長くなりづらい
31
31
  # * メソッド名の長さが変わったときに diff が少ない
32
- Layout/IndentFirstArrayElement:
32
+ Layout/FirstArrayElementIndentation:
33
33
  EnforcedStyle: consistent
34
34
 
35
35
  # ({ と hash を開始した場合に ( の位置にインデントさせる
36
36
  # そもそも {} が必要ない可能性が高いが Style/BracesAroundHashParameters はチェックしないことにしたので
37
- Layout/IndentFirstHashElement:
37
+ Layout/FirstHashElementIndentation:
38
38
  EnforcedStyle: consistent
39
39
 
40
40
  # private/protected は一段深くインデントする
@@ -129,7 +129,7 @@ Metrics/CyclomaticComplexity:
129
129
  # * 警告 120文字
130
130
  # * 禁止 160文字
131
131
  # のイメージ
132
- Metrics/LineLength:
132
+ Layout/LineLength:
133
133
  Max: 160
134
134
  Exclude:
135
135
  - "db/migrate/*.rb"
@@ -149,7 +149,7 @@ Metrics/PerceivedComplexity:
149
149
 
150
150
  # has_ から始まるメソッドは許可する
151
151
  Naming/PredicateName:
152
- NamePrefixBlacklist:
152
+ ForbiddenPrefixes:
153
153
  - "is_"
154
154
  - "have_"
155
155
  NamePrefix:
@@ -160,7 +160,7 @@ Naming/PredicateName:
160
160
  # n(umber) といった 1 文字変数は頻出するし、前置詞(by, to, ...)や
161
161
  # よく知られた省略語 (op: operator とか pk: primary key とか) も妥当。
162
162
  # 変数 s にどんな文字列かを形容したい場合と、不要な場合とがある=無効
163
- Naming/UncommunicativeMethodParamName:
163
+ Naming/MethodParameterName:
164
164
  Enabled: false
165
165
 
166
166
  #################### Performance ###########################
@@ -202,10 +202,6 @@ Style/BlockDelimiters:
202
202
  Exclude:
203
203
  - "spec/**/*_spec.rb"
204
204
 
205
- # option 等、明示的にハッシュにした方が分かりやすい場合もある
206
- Style/BracesAroundHashParameters:
207
- Enabled: false
208
-
209
205
  # scope が違うとか親 module の存在確認が必要とかデメリットはあるが、
210
206
  # namespace 付きのクラスはかなり頻繁に作るので簡単に書きたい。
211
207
  Style/ClassAndModuleChildren:
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- docomo-nlu (0.3.1)
5
- activeresource (~> 5.0.0)
4
+ docomo-nlu (0.3.2)
5
+ activeresource (>= 5.0, < 5.2)
6
6
  bundler
7
7
  faraday
8
8
  rake
@@ -11,89 +11,76 @@ PATH
11
11
  GEM
12
12
  remote: https://rubygems.org/
13
13
  specs:
14
- actioncable (5.2.3)
15
- actionpack (= 5.2.3)
14
+ actioncable (5.2.4.3)
15
+ actionpack (= 5.2.4.3)
16
16
  nio4r (~> 2.0)
17
17
  websocket-driver (>= 0.6.1)
18
- actionmailer (5.2.3)
19
- actionpack (= 5.2.3)
20
- actionview (= 5.2.3)
21
- activejob (= 5.2.3)
18
+ actionmailer (5.2.4.3)
19
+ actionpack (= 5.2.4.3)
20
+ actionview (= 5.2.4.3)
21
+ activejob (= 5.2.4.3)
22
22
  mail (~> 2.5, >= 2.5.4)
23
23
  rails-dom-testing (~> 2.0)
24
- actionpack (5.2.3)
25
- actionview (= 5.2.3)
26
- activesupport (= 5.2.3)
27
- rack (~> 2.0)
24
+ actionpack (5.2.4.3)
25
+ actionview (= 5.2.4.3)
26
+ activesupport (= 5.2.4.3)
27
+ rack (~> 2.0, >= 2.0.8)
28
28
  rack-test (>= 0.6.3)
29
29
  rails-dom-testing (~> 2.0)
30
30
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
31
- actionview (5.2.3)
32
- activesupport (= 5.2.3)
31
+ actionview (5.2.4.3)
32
+ activesupport (= 5.2.4.3)
33
33
  builder (~> 3.1)
34
34
  erubi (~> 1.4)
35
35
  rails-dom-testing (~> 2.0)
36
36
  rails-html-sanitizer (~> 1.0, >= 1.0.3)
37
- activejob (5.2.3)
38
- activesupport (= 5.2.3)
37
+ activejob (5.2.4.3)
38
+ activesupport (= 5.2.4.3)
39
39
  globalid (>= 0.3.6)
40
- activemodel (5.2.3)
41
- activesupport (= 5.2.3)
40
+ activemodel (5.2.4.3)
41
+ activesupport (= 5.2.4.3)
42
42
  activemodel-serializers-xml (1.0.2)
43
43
  activemodel (> 5.x)
44
44
  activesupport (> 5.x)
45
45
  builder (~> 3.1)
46
- activerecord (5.2.3)
47
- activemodel (= 5.2.3)
48
- activesupport (= 5.2.3)
46
+ activerecord (5.2.4.3)
47
+ activemodel (= 5.2.4.3)
48
+ activesupport (= 5.2.4.3)
49
49
  arel (>= 9.0)
50
- activeresource (5.0.0)
51
- activemodel (>= 5.0, < 6)
50
+ activeresource (5.1.1)
51
+ activemodel (>= 5.0, < 7)
52
52
  activemodel-serializers-xml (~> 1.0)
53
- activesupport (>= 5.0, < 6)
54
- activestorage (5.2.3)
55
- actionpack (= 5.2.3)
56
- activerecord (= 5.2.3)
53
+ activesupport (>= 5.0, < 7)
54
+ activestorage (5.2.4.3)
55
+ actionpack (= 5.2.4.3)
56
+ activerecord (= 5.2.4.3)
57
57
  marcel (~> 0.3.1)
58
- activesupport (5.2.3)
58
+ activesupport (5.2.4.3)
59
59
  concurrent-ruby (~> 1.0, >= 1.0.2)
60
60
  i18n (>= 0.7, < 2)
61
61
  minitest (~> 5.1)
62
62
  tzinfo (~> 1.1)
63
- addressable (2.6.0)
64
- public_suffix (>= 2.0.2, < 4.0)
63
+ addressable (2.7.0)
64
+ public_suffix (>= 2.0.2, < 5.0)
65
65
  arel (9.0.0)
66
66
  ast (2.4.0)
67
- axiom-types (0.1.1)
68
- descendants_tracker (~> 0.0.4)
69
- ice_nine (~> 0.11.0)
70
- thread_safe (~> 0.3, >= 0.3.1)
71
- builder (3.2.3)
72
- codeclimate-engine-rb (0.4.1)
73
- virtus (~> 1.0)
67
+ builder (3.2.4)
74
68
  coderay (1.1.2)
75
- coercible (1.0.0)
76
- descendants_tracker (~> 0.0.1)
77
- concurrent-ruby (1.1.5)
69
+ concurrent-ruby (1.1.6)
78
70
  crack (0.4.3)
79
71
  safe_yaml (~> 1.0.0)
80
- crass (1.0.4)
81
- descendants_tracker (0.0.4)
82
- thread_safe (~> 0.3, >= 0.3.1)
72
+ crass (1.0.6)
83
73
  diff-lcs (1.3)
84
- equalizer (0.0.11)
85
- erubi (1.8.0)
86
- faraday (0.17.0)
74
+ erubi (1.9.0)
75
+ faraday (1.0.1)
87
76
  multipart-post (>= 1.2, < 3)
88
77
  globalid (0.4.2)
89
78
  activesupport (>= 4.2.0)
90
- hashdiff (1.0.0)
91
- i18n (1.6.0)
79
+ hashdiff (1.0.1)
80
+ i18n (1.8.2)
92
81
  concurrent-ruby (~> 1.0)
93
- ice_nine (0.11.2)
94
- jaro_winkler (1.5.3)
95
82
  kwalify (0.7.2)
96
- loofah (2.2.3)
83
+ loofah (2.5.0)
97
84
  crass (~> 1.0.2)
98
85
  nokogiri (>= 1.5.9)
99
86
  mail (2.7.1)
@@ -101,111 +88,106 @@ GEM
101
88
  marcel (0.3.3)
102
89
  mimemagic (~> 0.3.2)
103
90
  method_source (0.9.2)
104
- mimemagic (0.3.3)
91
+ mimemagic (0.3.5)
105
92
  mini_mime (1.0.2)
106
93
  mini_portile2 (2.4.0)
107
- minitest (5.11.3)
94
+ minitest (5.14.1)
108
95
  multipart-post (2.1.1)
109
- nio4r (2.4.0)
110
- nokogiri (1.10.4)
96
+ nio4r (2.5.2)
97
+ nokogiri (1.10.9)
111
98
  mini_portile2 (~> 2.4.0)
112
- parallel (1.17.0)
113
- parser (2.6.4.1)
99
+ parallel (1.19.1)
100
+ parser (2.7.1.2)
114
101
  ast (~> 2.4.0)
115
102
  pry (0.11.3)
116
103
  coderay (~> 1.1.0)
117
104
  method_source (~> 0.9.0)
118
105
  psych (3.1.0)
119
- public_suffix (3.1.1)
120
- rack (2.0.7)
106
+ public_suffix (4.0.5)
107
+ rack (2.2.2)
121
108
  rack-test (1.1.0)
122
109
  rack (>= 1.0, < 3)
123
- rails (5.2.3)
124
- actioncable (= 5.2.3)
125
- actionmailer (= 5.2.3)
126
- actionpack (= 5.2.3)
127
- actionview (= 5.2.3)
128
- activejob (= 5.2.3)
129
- activemodel (= 5.2.3)
130
- activerecord (= 5.2.3)
131
- activestorage (= 5.2.3)
132
- activesupport (= 5.2.3)
110
+ rails (5.2.4.3)
111
+ actioncable (= 5.2.4.3)
112
+ actionmailer (= 5.2.4.3)
113
+ actionpack (= 5.2.4.3)
114
+ actionview (= 5.2.4.3)
115
+ activejob (= 5.2.4.3)
116
+ activemodel (= 5.2.4.3)
117
+ activerecord (= 5.2.4.3)
118
+ activestorage (= 5.2.4.3)
119
+ activesupport (= 5.2.4.3)
133
120
  bundler (>= 1.3.0)
134
- railties (= 5.2.3)
121
+ railties (= 5.2.4.3)
135
122
  sprockets-rails (>= 2.0.0)
136
123
  rails-dom-testing (2.0.3)
137
124
  activesupport (>= 4.2.0)
138
125
  nokogiri (>= 1.6)
139
- rails-html-sanitizer (1.2.0)
140
- loofah (~> 2.2, >= 2.2.2)
141
- railties (5.2.3)
142
- actionpack (= 5.2.3)
143
- activesupport (= 5.2.3)
126
+ rails-html-sanitizer (1.3.0)
127
+ loofah (~> 2.3)
128
+ railties (5.2.4.3)
129
+ actionpack (= 5.2.4.3)
130
+ activesupport (= 5.2.4.3)
144
131
  method_source
145
132
  rake (>= 0.8.7)
146
133
  thor (>= 0.19.0, < 2.0)
147
134
  rainbow (3.0.0)
148
- rake (12.3.3)
149
- reek (5.4.0)
150
- codeclimate-engine-rb (~> 0.4.0)
135
+ rake (13.0.1)
136
+ reek (6.0.0)
151
137
  kwalify (~> 0.7.0)
152
- parser (>= 2.5.0.0, < 2.7, != 2.5.1.1)
138
+ parser (>= 2.5.0.0, < 2.8, != 2.5.1.1)
153
139
  psych (~> 3.1.0)
154
140
  rainbow (>= 2.0, < 4.0)
155
- rspec (3.8.0)
156
- rspec-core (~> 3.8.0)
157
- rspec-expectations (~> 3.8.0)
158
- rspec-mocks (~> 3.8.0)
159
- rspec-core (3.8.2)
160
- rspec-support (~> 3.8.0)
161
- rspec-expectations (3.8.4)
141
+ rexml (3.2.4)
142
+ rspec (3.9.0)
143
+ rspec-core (~> 3.9.0)
144
+ rspec-expectations (~> 3.9.0)
145
+ rspec-mocks (~> 3.9.0)
146
+ rspec-core (3.9.2)
147
+ rspec-support (~> 3.9.3)
148
+ rspec-expectations (3.9.2)
162
149
  diff-lcs (>= 1.2.0, < 2.0)
163
- rspec-support (~> 3.8.0)
164
- rspec-mocks (3.8.1)
150
+ rspec-support (~> 3.9.0)
151
+ rspec-mocks (3.9.1)
165
152
  diff-lcs (>= 1.2.0, < 2.0)
166
- rspec-support (~> 3.8.0)
167
- rspec-support (3.8.2)
153
+ rspec-support (~> 3.9.0)
154
+ rspec-support (3.9.3)
168
155
  rspec_junit_formatter (0.4.1)
169
156
  rspec-core (>= 2, < 4, != 2.12.0)
170
- rubocop (0.74.0)
171
- jaro_winkler (~> 1.5.1)
157
+ rubocop (0.83.0)
172
158
  parallel (~> 1.10)
173
- parser (>= 2.6)
159
+ parser (>= 2.7.0.1)
174
160
  rainbow (>= 2.2.2, < 4.0)
161
+ rexml
175
162
  ruby-progressbar (~> 1.7)
176
- unicode-display_width (>= 1.4.0, < 1.7)
177
- rubocop-performance (1.4.1)
163
+ unicode-display_width (>= 1.4.0, < 2.0)
164
+ rubocop-performance (1.5.2)
178
165
  rubocop (>= 0.71.0)
179
166
  rubocop-rspec (1.35.0)
180
167
  rubocop (>= 0.60.0)
181
168
  ruby-progressbar (1.10.1)
182
- rubyzip (2.0.0)
169
+ rubyzip (2.3.0)
183
170
  safe_yaml (1.0.5)
184
- sprockets (3.7.2)
171
+ sprockets (4.0.0)
185
172
  concurrent-ruby (~> 1.0)
186
173
  rack (> 1, < 3)
187
174
  sprockets-rails (3.2.1)
188
175
  actionpack (>= 4.0)
189
176
  activesupport (>= 4.0)
190
177
  sprockets (>= 3.0.0)
191
- thor (0.20.3)
178
+ thor (1.0.1)
192
179
  thread_safe (0.3.6)
193
- tzinfo (1.2.5)
180
+ tzinfo (1.2.7)
194
181
  thread_safe (~> 0.1)
195
- unicode-display_width (1.6.0)
196
- vcr (4.0.0)
197
- virtus (1.0.5)
198
- axiom-types (~> 0.1)
199
- coercible (~> 1.0)
200
- descendants_tracker (~> 0.0, >= 0.0.3)
201
- equalizer (~> 0.0, >= 0.0.9)
202
- webmock (3.4.2)
182
+ unicode-display_width (1.7.0)
183
+ vcr (5.1.0)
184
+ webmock (3.5.1)
203
185
  addressable (>= 2.3.6)
204
186
  crack (>= 0.3.2)
205
187
  hashdiff
206
188
  websocket-driver (0.7.1)
207
189
  websocket-extensions (>= 0.1.0)
208
- websocket-extensions (0.1.4)
190
+ websocket-extensions (0.1.5)
209
191
 
210
192
  PLATFORMS
211
193
  ruby
@@ -220,8 +202,8 @@ DEPENDENCIES
220
202
  rubocop
221
203
  rubocop-performance
222
204
  rubocop-rspec (~> 1.35.0)
223
- vcr (~> 4.0.0)
224
- webmock (~> 3.4.2)
205
+ vcr (~> 5.1.0)
206
+ webmock (~> 3.5.0)
225
207
 
226
208
  BUNDLED WITH
227
- 2.0.2
209
+ 2.1.4
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
  spec.executables = spec.files.grep(%r{^exe/}) {|f| File.basename(f) }
24
24
  spec.require_paths = ["lib"]
25
25
 
26
- spec.add_dependency "activeresource", "~> 5.0.0"
26
+ spec.add_dependency "activeresource", ">= 5.0", "< 5.2"
27
27
  spec.add_dependency "bundler"
28
28
  spec.add_dependency "faraday"
29
29
  spec.add_dependency "rake"
@@ -36,6 +36,6 @@ Gem::Specification.new do |spec|
36
36
  spec.add_development_dependency "rubocop"
37
37
  spec.add_development_dependency "rubocop-performance"
38
38
  spec.add_development_dependency "rubocop-rspec", "~> 1.35.0"
39
- spec.add_development_dependency "vcr", "~> 4.0.0"
40
- spec.add_development_dependency "webmock", "~> 3.4.2"
39
+ spec.add_development_dependency "vcr", "~> 5.1.0"
40
+ spec.add_development_dependency "webmock", "~> 3.5.0"
41
41
  end
@@ -37,7 +37,7 @@ module DocomoNlu
37
37
 
38
38
  def transfer
39
39
  prefix_options[:bot_id] ||= botId
40
- self.class.deploy_request(prefix_options)
40
+ self.class.transfer(prefix_options)
41
41
  end
42
42
 
43
43
  def deploy
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DocomoNlu
4
- VERSION = "0.3.1"
4
+ VERSION = "0.3.2"
5
5
  end
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docomo-nlu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Koji Yamazaki
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-10-19 00:00:00.000000000 Z
11
+ date: 2020-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activeresource
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '5.0'
20
+ - - "<"
18
21
  - !ruby/object:Gem::Version
19
- version: 5.0.0
22
+ version: '5.2'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '5.0'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: 5.0.0
32
+ version: '5.2'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: bundler
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -198,28 +204,28 @@ dependencies:
198
204
  requirements:
199
205
  - - "~>"
200
206
  - !ruby/object:Gem::Version
201
- version: 4.0.0
207
+ version: 5.1.0
202
208
  type: :development
203
209
  prerelease: false
204
210
  version_requirements: !ruby/object:Gem::Requirement
205
211
  requirements:
206
212
  - - "~>"
207
213
  - !ruby/object:Gem::Version
208
- version: 4.0.0
214
+ version: 5.1.0
209
215
  - !ruby/object:Gem::Dependency
210
216
  name: webmock
211
217
  requirement: !ruby/object:Gem::Requirement
212
218
  requirements:
213
219
  - - "~>"
214
220
  - !ruby/object:Gem::Version
215
- version: 3.4.2
221
+ version: 3.5.0
216
222
  type: :development
217
223
  prerelease: false
218
224
  version_requirements: !ruby/object:Gem::Requirement
219
225
  requirements:
220
226
  - - "~>"
221
227
  - !ruby/object:Gem::Version
222
- version: 3.4.2
228
+ version: 3.5.0
223
229
  description: API Client of docomo NLPManagementAPI for ruby.
224
230
  email:
225
231
  - kouji.yamazaki.cv@nttdocomo.com