onkcop 0.39.0.0 → 0.40.0.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: 8f548d01ed1112227bc7ebcc6ab0fd78bd79528e
4
- data.tar.gz: edc0a2fadb39f89f045902f55d94b544a1ccefa8
3
+ metadata.gz: b2ff072b52cef38acd83d9e5831d31dff4844cf8
4
+ data.tar.gz: e0aae39f6654649147a9fbac503fa4f2a00efb7a
5
5
  SHA512:
6
- metadata.gz: 67b33d53b88d73e715d3cd866236e532b757cd2a5cb5b70fae815d8696bfaf269f7fda27e08cb0b296568d2ba31bb294a990466ac0169685de90055e9180e599
7
- data.tar.gz: 118ba4a16fa926906c7d0f58fdf01eb6717cee09d8e1eead0c1fdafb76fb088cda61d6183002b0062329f174592718530ae356f2e4f8a891d644c7807e11e843
6
+ metadata.gz: 0e1e81b47bba635814c5b14e996632bedd6d5c2e463d7a84346156101f3867e5b7dfced85ff0031d12e6990d8761af934a2c2ac10866c7c3f32ba0cd9a4cdfb0
7
+ data.tar.gz: 14942ebd2aa36b52f8f424750f35ee7669cae24c4b34a17a40ba7b2348d90d75f9112d41651984157c3f854159ad477b6e6952d7b16a00d66c2e338db5ac1c3b
data/config/rubocop.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  # target_version:
2
- # rubocop v0.39.0
2
+ # rubocop v0.40.0
3
3
 
4
4
  # 自動生成されるものはチェック対象から除外する
5
5
  AllCops:
@@ -76,6 +76,14 @@ Style/DoubleNegation:
76
76
  Style/DotPosition:
77
77
  EnforcedStyle: trailing
78
78
 
79
+ # case
80
+ # when ios?
81
+ # when android?
82
+ # end
83
+ # のようなものは case の方が網羅の表現力が高い
84
+ Style/EmptyCaseCondition:
85
+ Enabled: false
86
+
79
87
  # 明示的に else で nil を返すのは分かりやすいので許可する
80
88
  Style/EmptyElse:
81
89
  EnforcedStyle: empty
@@ -131,7 +139,7 @@ Style/IndentationConsistency:
131
139
 
132
140
  # scope 等は複数行でも lambda ではなく ->{} で揃えた方が見た目が綺麗
133
141
  Style/Lambda:
134
- Enabled: false
142
+ EnforcedStyle: literal
135
143
 
136
144
  # 1_000_000 と区切り文字が 2 個以上必要になる場合のみ _ 区切りを必須にする
137
145
  Style/NumericLiterals:
@@ -1,3 +1,3 @@
1
1
  module Onkcop
2
- VERSION = "0.39.0.0"
2
+ VERSION = "0.40.0.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.39.0"
22
+ spec.add_dependency "rubocop", "~> 0.40.0"
23
23
  spec.add_development_dependency "bundler", "~> 1.11"
24
24
  spec.add_development_dependency "rake", "~> 11.0"
25
25
  end
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.39.0.0
4
+ version: 0.40.0.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: 2016-05-01 00:00:00.000000000 Z
11
+ date: 2016-05-10 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.39.0
19
+ version: 0.40.0
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.39.0
26
+ version: 0.40.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  version: '0'
92
92
  requirements: []
93
93
  rubyforge_project:
94
- rubygems_version: 2.5.2
94
+ rubygems_version: 2.6.4
95
95
  signing_key:
96
96
  specification_version: 4
97
97
  summary: OnkCop is a RuboCop configration gem.