nucop 0.12.0 → 0.12.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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7bc650e535691f0d09ccd90f59e3f3f0eca7a977f1f3cb5c623fd8c05cc80eb3
|
4
|
+
data.tar.gz: 41a869f59a5703a02b08af096dfa2236932c35dafee36edb19891109afb5f443
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 165ad594b4a3c4b397fd579a090a611fd4a5f1a2bd1759ac12131096b33a1d4de4ad63f8c90cf89f9080e09f91ebe3ccd683b06f637150f6dbe059e6add961d8
|
7
|
+
data.tar.gz: e376201db12a2f62a92cd3a3ac1dae6e555cc4ba90828b2a82504e593a3d3223bceadeb9d8f7606e965f6b28b9c1ca2e69cabc89510fd23a055e65e360320bd6
|
@@ -27,7 +27,7 @@ module Nucop
|
|
27
27
|
|
28
28
|
def on_send(node)
|
29
29
|
explicit_factory_bot_usage(node) do
|
30
|
-
add_offense(node,
|
30
|
+
add_offense(node, message: format(MSG, constant: node.receiver.const_name, method: node.method_name)) do |corrector|
|
31
31
|
corrector.replace(node.source_range, node.source.sub(/(?:FactoryGirl|FactoryBot)[.]/, ""))
|
32
32
|
end
|
33
33
|
end
|
data/lib/nucop/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nucop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Schweier
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.66'
|
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: '1.
|
26
|
+
version: '1.66'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-capybara
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|