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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5a67a6c9c215e757d317cf0ee665463aaa54bca2
4
- data.tar.gz: ea4e7e63ffeca2695b517796bd16a657d0ecf601
3
+ metadata.gz: eb8544568eb34d87eb40827c47d147f70a3b4523
4
+ data.tar.gz: 832d7217df7e6624ab6b9886602fa0572bd12756
5
5
  SHA512:
6
- metadata.gz: 4920a8b0f386ff8c3decfabb2351442021f618ced23f5df6c1f5d20c4af697c1bfda35342053cb5f2f240b812c4afaade0334910d9d3bc8318104c8441f41d40
7
- data.tar.gz: c819188a2e1fc31501cb8841ae4b7b79ac44c31f80b516db70bbc97ccb55f293138f9e5291c05b7d04c7383613ae734c08a053f9337f54bb78820ba17970426a
6
+ metadata.gz: c4edd4e51e062133e7767dede4f2296e27e0bf871c6c9cf28378042f2519856fca67e3897b78937ae423b0ac6b63011272f80fa85b8f273db21e01acb59fd86b
7
+ data.tar.gz: dd69ff5ca1e62c17cba8d6768177d0058fb0a786181a85600f1d1bf15031cf7efdad6adfd5a11758c28da5f7e9659077530f647bfe247b7e8b755696c55d0a13
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # onkcop
2
2
 
3
+ ## v0.48.1.1 (2017-04-18)
4
+
5
+ * Disable `Lint/AmbiguousBlockAssociation` cop.
6
+
7
+
3
8
  ## v0.48.1.0 (2017-04-17)
4
9
 
5
10
  [full changelog](https://github.com/onk/onkcop/compare/v0.48.0.0...v0.48.1.0)
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
  # また、
@@ -1,3 +1,3 @@
1
1
  module Onkcop
2
- VERSION = "0.48.1.0"
2
+ VERSION = "0.48.1.1"
3
3
  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.48.1.0
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-17 00:00:00.000000000 Z
11
+ date: 2017-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop