foobara 0.7.3 → 0.7.4

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: b47232296ad209190a7a4779c9f09c98471259c1382c3df4d6000c746b574ded
4
- data.tar.gz: a8fecebb652f59b571c2e4192e7c8162d92378425a879cbe1b52af9a4f147978
3
+ metadata.gz: 04c4c1c2b88c8befc26c9ed08e850e010bb07e97f126773c3db61d31799f3ed8
4
+ data.tar.gz: c6cfb288ca413631625d80e489df9fc84da63152b729ab5d9f628a803ba6b315
5
5
  SHA512:
6
- metadata.gz: 6e0cebe29b65d89204e8f7a28ce18131d0b8c5d57f7c49c4e455d377da92c56ff2d18830f5ce560f2e8e63ca1f6ca384e601890b9a6b0eb042b5a252dedaf2b2
7
- data.tar.gz: f742b953f4a6aa14224a2615370009b8e6fb10cb927e8beabad882a8060a70701c18e52dae30311c694ff713e950219c90d2edcf26fe1476cf1fa3b914712a03
6
+ metadata.gz: 18b26e0c72a8dbfd28deb33b2823305809c587fc561d0647c469e3bcb2b9f43fa53305620f5be7a7652507dc498ae15c4ff39a929b889570b19d08679e154e1f
7
+ data.tar.gz: f1ae64e07a098047c43868eb9b7242daf34dae2b5aa763b61d452e14013a23e1bb3bf8c0dfc4f85f968ebaab11c319cf0b4d38fda3e1d98e6417414890836dd8
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ # [0.7.4] - 2026-10-20
2
+
3
+ - Provide a way to register new namespaces to be reset in test suites.
4
+ Just a tiny tweak that gives a way to fix some busted external test suites.
5
+
1
6
  # [0.7.3] - 2026-10-10
2
7
 
3
8
  - More aggressively hunt down and fix types with unregistered base types
@@ -139,6 +139,7 @@ module Foobara
139
139
  end
140
140
 
141
141
  def start! = capture_current_namespaces
142
+ def add_namespace_to_reset(namespace) = namespaces_to_reset << namespace
142
143
 
143
144
  private
144
145
 
@@ -156,8 +157,9 @@ module Foobara
156
157
  end
157
158
  end
158
159
 
160
+ # Is this really the right place to put this??
159
161
  def namespaces_to_reset
160
- [
162
+ @namespaces_to_reset ||= [
161
163
  Foobara::GlobalDomain,
162
164
  Foobara::GlobalOrganization,
163
165
  Value::Processor,
data/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module Foobara
2
2
  module Version
3
- VERSION = "0.7.3".freeze
3
+ VERSION = "0.7.4".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.3
4
+ version: 0.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Georgi