dark_finger 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 691ef579dbf429a052c26b395f134eac60b966b88530532d081ba2a7c1be539e
|
|
4
|
+
data.tar.gz: b7c3a20843d94b65acf5724f2673d6d4fbb65308a34a92b770aa90f13ce6be4d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fbf4ff76ee9deb51e4266367a8abd2dda6308be95673f22e84d03509dbac76212fc4fd489823e65f065ad05070bdfa524fa8359c317af8143c48f3a667768ec9
|
|
7
|
+
data.tar.gz: 5103957b6498e03a508fc8722363eb6f297090534c2206f6134b62218bcb82a2380c0736847d76530fc9ba586fa5d6c33e9c47e68018a5f98cb2b90c785529c6
|
data/lib/dark_finger/version.rb
CHANGED
|
@@ -56,7 +56,8 @@ module RuboCop
|
|
|
56
56
|
private
|
|
57
57
|
|
|
58
58
|
def nested_in_with_options?
|
|
59
|
-
parent&.method_name == :with_options
|
|
59
|
+
return true if parent&.method_name == :with_options
|
|
60
|
+
return true if parent&.begin_type? && parent&.parent&.method_name == :with_options
|
|
60
61
|
end
|
|
61
62
|
|
|
62
63
|
def nested_directly_in_class?
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dark_finger
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Professor Wang Matrix PhD
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: exe
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2018-
|
|
12
|
+
date: 2018-10-01 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bundler
|
|
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
123
123
|
version: '0'
|
|
124
124
|
requirements: []
|
|
125
125
|
rubyforge_project:
|
|
126
|
-
rubygems_version: 2.
|
|
126
|
+
rubygems_version: 2.7.6
|
|
127
127
|
signing_key:
|
|
128
128
|
specification_version: 4
|
|
129
129
|
summary: ActiveModel layout cop for Rubocop
|