stimpack 0.8.2 → 0.8.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stimpack/integrations/factory_bot.rb +1 -2
- data/lib/stimpack/integrations/rails.rb +2 -2
- data/lib/stimpack/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: ee9d95c857e2c73710212e52a6e971fb95acff552596eeddb6f4f43363c8a691
|
4
|
+
data.tar.gz: fea0ccd68662307735ce43893ca3fc00167d31a8a557449aaffe2393ced6c796
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4efa4b625c20b4169d696e28357a14dd7b06b194673852c3b8d59ad449dcff42bc618ea62a23ae0bfed668d4318b3a8c7de12ece8a22585782afd29da88077b7
|
7
|
+
data.tar.gz: 004d9f9c681456efead9801881330d635af3410131b125eb149b5fe535f62fb84372dc4c586d073c7c93787f3345872f08c3efa22571fa9099dc6a8345f746c2
|
@@ -7,8 +7,7 @@ module Stimpack
|
|
7
7
|
return unless app.config.respond_to?(:factory_bot)
|
8
8
|
Stimpack.configure_packs
|
9
9
|
|
10
|
-
Packs.all.each do |pack|
|
11
|
-
next if pack.relative_path.glob('*.gemspec').any?
|
10
|
+
Packs.all.reject(&:is_gem?).each do |pack|
|
12
11
|
app.config.factory_bot.definition_file_paths << pack.relative_path.join("spec/factories").to_s
|
13
12
|
end
|
14
13
|
end
|
@@ -17,7 +17,7 @@ module Stimpack
|
|
17
17
|
end
|
18
18
|
|
19
19
|
def create_engines
|
20
|
-
Packs.all.each do |pack|
|
20
|
+
Packs.all.reject(&:is_gem?).each do |pack|
|
21
21
|
next unless pack.metadata['engine']
|
22
22
|
|
23
23
|
create_engine(pack)
|
@@ -25,7 +25,7 @@ module Stimpack
|
|
25
25
|
end
|
26
26
|
|
27
27
|
def inject_paths
|
28
|
-
Packs.all.each do |pack|
|
28
|
+
Packs.all.reject(&:is_gem?).each do |pack|
|
29
29
|
Stimpack.config.paths.each do |path|
|
30
30
|
@app.paths[path] << pack.relative_path.join(path)
|
31
31
|
end
|
data/lib/stimpack/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stimpack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ngan Pham
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|