chaotic_job 0.10.0 → 0.10.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: fdea10dcc7bacf98d54e4281e1739576fe7512d305d4c431f0e0a143b7739c79
4
- data.tar.gz: 98f16351090d9aae7bbf408fc81e392a9c9f7fb199c229866a89e56d03b3aaee
3
+ metadata.gz: 304867076ba4ade8191d2802075fadc2a2bfe83c35bdf3af8217b35b3097fc2d
4
+ data.tar.gz: 0a5ca5c1df4253011f0b9894f92424deb85262646eae89d40fd5c293ae6b8263
5
5
  SHA512:
6
- metadata.gz: 7babde960cf8d244d49e3d7e6f3b486f8466df777e000d899f1e8bc41cd5044517efecbf21d825a20bbac73431e2d794813de5fda78c90fdeb03e8c15810570a
7
- data.tar.gz: 5a1f7caf42a3293b1184e8c4ac5811a2e97d53d08fa81f3c886de3a50ca6827c4bcfd66d534d8e6fa77d0d42f97016aa52848c34cbfffda564b4e630bc1fd773
6
+ metadata.gz: 6877fdc030d30b9c53486a8d60f8be9d70dca9c3327e53f080e58a6dc73c6ca067f4ff91cb50f7de8e1b0812dddcbde5a5fafc37b8a5732d2e3119d614525044
7
+ data.tar.gz: 772b32d2e2d444cd0d9b1da623a3049071234b6548aab13eac409d15abccee8a49c476211e84d9e774ea6a6bf4a2675af1c4a991ce35e05e49cf6af658bc55ff
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.10.1] - 2025-06-18
4
+
5
+ - Add more switch methods [#19](https://github.com/fractaledmind/chaotic_job/pull/19)
6
+
3
7
  ## [0.10.0] - 2025-06-18
4
8
 
5
9
  - Run the assertions block within the scenario run to ensure the glitch is executed [#17](https://github.com/fractaledmind/chaotic_job/pull/17)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ChaoticJob
4
- VERSION = "0.10.0"
4
+ VERSION = "0.10.1"
5
5
  end
data/lib/chaotic_job.rb CHANGED
@@ -63,8 +63,20 @@ module ChaoticJob
63
63
  end
64
64
  end
65
65
 
66
- def self.switch
67
- Switch
66
+ def self.switch_on?
67
+ Switch.on?
68
+ end
69
+
70
+ def self.switch_off?
71
+ Switch.off?
72
+ end
73
+
74
+ def self.switch_on!
75
+ Switch.on!
76
+ end
77
+
78
+ def self.switch_off!
79
+ Switch.off!
68
80
  end
69
81
 
70
82
  module Helpers
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chaotic_job
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Margheim