onkcop 0.48.1.0 → 0.48.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/config/rubocop.yml +7 -0
- data/lib/onkcop/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb8544568eb34d87eb40827c47d147f70a3b4523
|
4
|
+
data.tar.gz: 832d7217df7e6624ab6b9886602fa0572bd12756
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4edd4e51e062133e7767dede4f2296e27e0bf871c6c9cf28378042f2519856fca67e3897b78937ae423b0ac6b63011272f80fa85b8f273db21e01acb59fd86b
|
7
|
+
data.tar.gz: dd69ff5ca1e62c17cba8d6768177d0058fb0a786181a85600f1d1bf15031cf7efdad6adfd5a11758c28da5f7e9659077530f647bfe247b7e8b755696c55d0a13
|
data/CHANGELOG.md
CHANGED
data/config/rubocop.yml
CHANGED
@@ -241,6 +241,13 @@ Style/ZeroLengthPredicate:
|
|
241
241
|
|
242
242
|
#################### Lint ##################################
|
243
243
|
|
244
|
+
# メソッドの引数に lambda を渡すパターンが検出されるため。
|
245
|
+
# DSL 的な記述 (ActiveRecord の scope や capistrano の set 等) でよく見る。
|
246
|
+
# scope :published, -> { where(published: true) }
|
247
|
+
# pull/4237 で修正済み
|
248
|
+
Lint/AmbiguousBlockAssociation:
|
249
|
+
Enabled: false
|
250
|
+
|
244
251
|
# Style/EmptyCaseCondition と同じく網羅の表現力が empty when を認めた方が高いし、
|
245
252
|
# 頻出する対象を最初の when で撥ねるのはパフォーマンス向上で頻出する。
|
246
253
|
# また、
|
data/lib/onkcop/version.rb
CHANGED
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.48.1.
|
4
|
+
version: 0.48.1.1
|
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-04-
|
11
|
+
date: 2017-04-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|