factory_trace 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/factory_trace/processors/find_unused.rb +5 -5
- data/lib/factory_trace/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1a24e77768b29dad3fe548612611e571e6d482ef20452710030c2630b458b3c
|
4
|
+
data.tar.gz: 9d1dc6c12a05a3a0ea3828525a5d7e6b77e7f7be993eb06fe19e3ac3b8f9640d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81d359402ed19825baba0e7e7433272a83ecd7cd17b6b8d9968eeb600129b2afba676bd8257e10b6ad4c22f8cf1397f89116493eea9841ede8c802d6622986b6
|
7
|
+
data.tar.gz: 4f8c7509c59504a83f54de7a036368b5d233f4a9a1a1075cf344fff158edd441ca816445605c1b1e5b22fefd507e377d3f05c42c01eef37dbac6acf47d1475c0
|
@@ -97,11 +97,11 @@ module FactoryTrace
|
|
97
97
|
# @param [Symbol] status
|
98
98
|
def self.mark_declarations(declaration_names, factory, collection, status:)
|
99
99
|
declaration_names.each do |declaration_name|
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
100
|
+
declaration_factory = collection.find_factory_by_names([declaration_name])
|
101
|
+
next mark_factory(declaration_factory, collection, status: status) if declaration_factory
|
102
|
+
|
103
|
+
declaration_factory, declaration_trait = defined_trait_by_name(collection, factory, declaration_name)
|
104
|
+
mark_trait(declaration_trait, declaration_factory, collection, status: status) if declaration_trait
|
105
105
|
end
|
106
106
|
end
|
107
107
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: factory_trace
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- djezzzl
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-06-
|
11
|
+
date: 2019-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: factory_bot
|