freyia 0.5.0 → 0.5.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: 7bf6cf315bb9c907a5e521b072379f571e10440205bd34dec31f44b91c7f5eca
4
- data.tar.gz: 0f780348c2b60c049dba969b7a34f790739a7061003926a61a05c2624f0c77db
3
+ metadata.gz: b8bd259691bbaf2231759c068dcadc22f08c32fa861d97e0d418b59aa4b990fa
4
+ data.tar.gz: 2a3dc7b0330e29d78322f2d803e2a029353f63d050ad89b92bbeddd31db0dcf7
5
5
  SHA512:
6
- metadata.gz: 8c0731ec3f312fb869009c1f4bddcae1d72a96f406bbf6f6f04a062fa372bd6b0a306c5c520fd5581dbb3b0954bd14c729a8180d3caccf8feba918d024f1427f
7
- data.tar.gz: 4bf4c0a3321169d742108f5ccda4af3e86b6f5cf5462d56d26a459f520bb05e8adebd9ea0b6ed94587a86aa9b2a12013428da0c5110a43ad3e038e006769d2b4
6
+ metadata.gz: 6f1442a870e82a6b84d0396a318d8e3e15ef5553b98a86dfe90424bec0356c381867d8109e0420ec5a0c15e575b1ac775cf2fde82a16f7510a2d8a6e8b995763
7
+ data.tar.gz: 1c9907516537c39d1a980abe3461b17ceb1e8f17fb4fe4fc4b31badbd4e73b24d235f00d585924f6d9b66ce29c58fe660a22d6832c1e9728281423634f7d11e7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.5.1] - 2025-11-21
4
+
5
+ - Only check class `exit_on_failure?` if it has been defined
6
+
3
7
  ## [0.5.0] - 2025-11-17
4
8
 
5
9
  - Initial creation of the Freyia gem, hard-fork of the shell/actions components of Thor
data/README.md CHANGED
@@ -4,6 +4,8 @@ Define and execute automated tasks in Ruby like the party girl you are! Let your
4
4
 
5
5
  > [!NOTE]
6
6
  > Freyia is a hard-fork of extracted shell/actions components from the [Thor](https://github.com/rails/thor) project, now modernized and usable in any Ruby application with any command line tooling.
7
+ >
8
+ > **Historical factoid:** Much of the original work on Thor actions and its serving as the substrate for Rails generators was done by [José Valim](https://github.com/josevalim), who is now well-known as the creator of the Elixir programming language. Some of that work was in turn based on the [Templater](https://github.com/jnicklas/templater) gem.
7
9
 
8
10
  ## Installation
9
11
 
@@ -183,7 +183,9 @@ module Freyia
183
183
  success = result
184
184
  end
185
185
 
186
- abort if !success && config.fetch(:abort_on_failure, self.class.exit_on_failure?)
186
+ abort if !success &&
187
+ config.fetch(:abort_on_failure,
188
+ self.class.respond_to(:exit_on_failure?) && self.class.exit_on_failure?)
187
189
 
188
190
  result
189
191
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Freyia
4
- VERSION = "0.5.0"
4
+ VERSION = "0.5.1"
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: freyia
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jared White
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-11-18 00:00:00.000000000 Z
10
+ date: 2025-11-21 00:00:00.000000000 Z
11
11
  dependencies: []
12
12
  description: Define and execute automated tasks like the party girl you are.
13
13
  email: