onkcop 0.49.0.0 → 0.49.1.0

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
  SHA1:
3
- metadata.gz: 73fb717715a1d6ff381ce9093eff0cc8861555cb
4
- data.tar.gz: 39ca4d5292fa908b35d26971746bcd131fed9602
3
+ metadata.gz: '0258c3828b1a566b35eca8eb49960925ad231c18'
4
+ data.tar.gz: a617c68077e93760347b5e9184da7f5992d27d0f
5
5
  SHA512:
6
- metadata.gz: 8487a087fc8c97fb9e2aa39abbd6b5ef132802f3f2cf1d35101b85ff26bbebd8748c5ba2f822868ce9b30ee34990227662405d51c0e0dcfbd2b5b321cbcdd311
7
- data.tar.gz: a9d6df313b3867b9ac8f9889f90c04a12408ce5942c24cf65c1fd85719dc2db8d58197606a575c56611ac36ecd48dbc83b95f8261b92e0dfdb33cb7f802e42c5
6
+ metadata.gz: 76146edd6f6d764d101bb36cb101ad0621799116c1c4127d8dce7c522e4d4e6d461110a0afce81a6d2efced289801fe0ff64e8164ad3efc5df7c9baf4063a6b4
7
+ data.tar.gz: b1b5bfe2c89a378394c67e0029cede762d0ced735beb445ad95e281bab60d8c3e392dbbacceb2448db5da14731cf1c7ebfe69b07b0084d3037a92d13ccd21de7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # onkcop
2
2
 
3
+ ## v0.49.1.0 (2017-05-31)
4
+
5
+ [full changelog](https://github.com/onk/onkcop/compare/v0.49.0.0...v0.49.1.0)
6
+
7
+ * Update `rubocop` v0.49.1.
8
+ * Change `Style/TrailingCommaInArguments` to `comma` style.
9
+
10
+
3
11
  ## v0.49.0.0 (2017-05-25)
4
12
 
5
13
  [full changelog](https://github.com/onk/onkcop/compare/v0.48.1.1...v0.49.0.0)
data/config/rubocop.yml CHANGED
@@ -224,7 +224,21 @@ Style/SymbolArray:
224
224
  Style/TernaryParentheses:
225
225
  EnforcedStyle: require_parentheses_when_complex
226
226
 
227
- # 複数行の場合はケツカンマを入れる
227
+ # 複数行の場合はケツカンマを入れる(引数)
228
+ # Ruby は関数の引数もカンマを許容しているので
229
+ # * 単行は常にケツカンマ無し
230
+ # * 複数行は常にケツカンマ有り
231
+ # に統一したい。
232
+ # 見た目がアレだが、ES2017 でも関数引数のケツカンマが許容されるので
233
+ # 世界はそちらに向かっている。
234
+ Style/TrailingCommaInArguments:
235
+ EnforcedStyleForMultiline: comma
236
+
237
+ # 複数行の場合はケツカンマを入れる(リテラル)
238
+ # JSON がケツカンマを許していないという反対意見もあるが、
239
+ # 古い JScript の仕様に縛られる必要は無い。
240
+ # IE9 以降はリテラルでケツカンマ OK なので正しい差分行の検出に寄せる。
241
+ # 2 insertions(+), 1 deletion(-) ではなく、1 insertions
228
242
  Style/TrailingCommaInLiteral:
229
243
  EnforcedStyleForMultiline: comma
230
244
 
@@ -1,3 +1,3 @@
1
1
  module Onkcop
2
- VERSION = "0.49.0.0"
2
+ VERSION = "0.49.1.0"
3
3
  end
data/onkcop.gemspec CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ["lib"]
21
21
 
22
- spec.add_dependency "rubocop", "~> 0.49.0"
22
+ spec.add_dependency "rubocop", "~> 0.49.1"
23
23
  spec.add_dependency "rubocop-rspec", ">= 1.15.1"
24
24
  spec.add_development_dependency "bundler"
25
25
  spec.add_development_dependency "rake"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: onkcop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.49.0.0
4
+ version: 0.49.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takafumi ONAKA
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-05-25 00:00:00.000000000 Z
11
+ date: 2017-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.49.0
19
+ version: 0.49.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.49.0
26
+ version: 0.49.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-rspec
29
29
  requirement: !ruby/object:Gem::Requirement