foobara 0.7.1 → 0.7.2

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: 64b471d0d0bf93acf6326e484b67d1be35f7c0c883bc315738f680e4c8119613
4
- data.tar.gz: 9477f64763952ea8d819576545d6f9d06d7bb1ad562ea6dca83532297331859a
3
+ metadata.gz: 17ca255f468f8568e14b741e8459e61383ce4585c45d4758d03ef511877bd2a7
4
+ data.tar.gz: 32d549de52cad428018c84ff393615ff6e1411159253c0dfbe5b6b6eade9680d
5
5
  SHA512:
6
- metadata.gz: 941279f67447a52f9632f620637f011f21bae87766b4a8040846744751e17ba779a21db495cd0ef010152f908af015f8aad87246ab0215a9cd684673bb2c8793
7
- data.tar.gz: de42b7abaff5512bdc00eba73d862778866034dd1a5d9b354649648a27b2ba2208062550e99ae4c91df8f51456f96bad4f7b4b89d2e263e13cc87c6d1daed231
6
+ metadata.gz: 868f5b42ebddfd7841747bcb306293045d2139aa2971f33c39004d093c6be2609fcc3e774a23e7c747b3af89d77001767c4b895949b5f5fb7fe5b0017b765de8
7
+ data.tar.gz: 3560e3610996c67ec36fc657699e8a009db478a825dc409098b905d0659b04bcdc2d5bd58f2410a9fd2b95d3471f80740c3937872f6a3f8bdb52f6c3bdc956a8
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # [0.7.2] - 2026-10-10
2
+
3
+ - Add `Foobara.start!` to allow post-install commands to survive reset
4
+
1
5
  # [0.7.1] - 2026-10-09
2
6
 
3
7
  - Fix bug that removes Foobara::RuntimeError from GlobalDomain during type declaration init
@@ -56,6 +56,12 @@ module Foobara
56
56
  all_projects.each_value(&:install!)
57
57
  end
58
58
 
59
+ def start!
60
+ install! unless is_installed
61
+
62
+ all_projects.each_value(&:start!)
63
+ end
64
+
59
65
  def reset_alls
60
66
  raise_if_production!
61
67
  all_projects.each_value(&:reset_all)
@@ -38,6 +38,11 @@ module Foobara
38
38
  end
39
39
  end
40
40
 
41
+ def start!
42
+ mod = self.module
43
+ mod.start! if mod.respond_to?(:start!)
44
+ end
45
+
41
46
  def reset_all
42
47
  Foobara.raise_if_production!
43
48
 
@@ -138,6 +138,8 @@ module Foobara
138
138
  capture_current_namespaces
139
139
  end
140
140
 
141
+ def start! = capture_current_namespaces
142
+
141
143
  private
142
144
 
143
145
  def capture_current_namespaces
data/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module Foobara
2
2
  module Version
3
- VERSION = "0.7.1".freeze
3
+ VERSION = "0.7.2".freeze
4
4
  MINIMUM_RUBY_VERSION = [">= 3.4.0", "< 4.1"].freeze
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foobara
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Georgi