stimpack 0.8.2 → 0.8.3

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
2
  SHA256:
3
- metadata.gz: 5c1c50146a16145446bf9b0bc74d29d19f8cb62fe9194a98d7767163ab5ffe31
4
- data.tar.gz: 335d8aaaf0fcd39058d2379d646f4fa1c4ba02c811b70dfc90e316668be35004
3
+ metadata.gz: ee9d95c857e2c73710212e52a6e971fb95acff552596eeddb6f4f43363c8a691
4
+ data.tar.gz: fea0ccd68662307735ce43893ca3fc00167d31a8a557449aaffe2393ced6c796
5
5
  SHA512:
6
- metadata.gz: 69ab74f37e4eb0980c8ef7c383c54953acc9a80f442b7513f6ce5ba9ca6f328499a6bd1f81f3ef8590d720456cbf453fca24854dbb7704313797ca709aafe7af
7
- data.tar.gz: 18bb1001c9d8da9c055202d65ee55e8dbf9c83f3d445999bbf18bc05e7650113d0acd4dc5c1df1d7a742e5e8d11b4683b61c171b5e1b86ab293262f83aee45c6
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
@@ -1,3 +1,3 @@
1
1
  module Stimpack
2
- VERSION = "0.8.2".freeze
2
+ VERSION = "0.8.3".freeze
3
3
  end
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.2
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: 2022-12-29 00:00:00.000000000 Z
11
+ date: 2023-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties