ductwork 0.14.0 → 0.14.1

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: c7f94ade7d89760c538493c6b2f72b03b2c6f0426fc5de822feeb8f0de167abf
4
- data.tar.gz: 8ecbc7b12d3cb94fa636e45ff1aad6d16f82e11a15755afc5f455f5d3152220b
3
+ metadata.gz: 99db2113458db663a866d26859c59ba4c1672d6a9180a89662834ef1c667ea58
4
+ data.tar.gz: cc0c38a5202a791db820efca5501cf31bd1cb71f214dfae8ed9a7b831d442788
5
5
  SHA512:
6
- metadata.gz: 47e623a71526614245f2862a5898c018e1a1f597abb19adaea321fe1583b9effc33c92139f5de74185fbd987b6a005e6b6f25f57bc55c14e10a81cc5c879a194
7
- data.tar.gz: e057364e664760bd5c725e32650b421cecfea9ec21ca0a78d2ea56ce340ed2678e6e5172034c1ace8caf227ae279e465ea388c31b3c34379c1651fc92e763d0d
6
+ metadata.gz: 7316e5d9d6b103a754e2f4fa12a9e7b33474fbbcb6522c75b8da8cf2e514c8bba61a84ecd801428093a4dc77395a358c30a59e47f1f146c99b489fa2e9f6f64c
7
+ data.tar.gz: a14268df21d58fcc1e92de2a01d475d0fe14b8974a9a0da7fef49be84a201e574f743d5ed999f7d0b46150f6da837d225c0b5c000fb3a40c528d2c66b27c7a28
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Ductwork Changelog
2
2
 
3
+ ## [0.14.1]
4
+
5
+ - fix: check if steps and pipelines directories exist before eager loading
6
+
3
7
  ## [0.14.0]
4
8
 
5
9
  - feat: add support for ruby v4.0
@@ -29,8 +29,16 @@ module Ductwork
29
29
  # Load steps and pipelines so definition validation runs and bugs
30
30
  # can be caught simply by booting the app or running tests
31
31
  loader = Rails.autoloaders.main
32
- loader.eager_load_dir(Rails.root.join("app/steps"))
33
- loader.eager_load_dir(Rails.root.join("app/pipelines"))
32
+ step_directory = Rails.root.join("app/steps")
33
+ pipeline_directory = Rails.root.join("app/pipelines")
34
+
35
+ if step_directory.exist?
36
+ loader.eager_load_dir(step_directory)
37
+ end
38
+
39
+ if pipeline_directory.exist?
40
+ loader.eager_load_dir(pipeline_directory)
41
+ end
34
42
  end
35
43
  end
36
44
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ductwork
4
- VERSION = "0.14.0"
4
+ VERSION = "0.14.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ductwork
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler Ewing