lib/bcdd/result/config/switchers/features.rb in bcdd-result-0.11.0 vs lib/bcdd/result/config/switchers/features.rb in bcdd-result-0.12.0
- old
+ new
@@ -8,10 +8,14 @@
default: true,
affects: %w[BCDD::Result::Expectations BCDD::Result::Context::Expectations]
},
transitions: {
default: true,
- affects: %w[BCDD::Result BCDD::Result::Context]
+ affects: %w[BCDD::Result BCDD::Result::Context BCDD::Result::Expectations BCDD::Result::Context::Expectations]
+ },
+ and_then!: {
+ default: false,
+ affects: %w[BCDD::Result BCDD::Result::Context BCDD::Result::Expectations BCDD::Result::Context::Expectations]
}
}.transform_values!(&:freeze).freeze
Listener = ->(option_name, _bool) do
Thread.current[Transitions::THREAD_VAR_NAME] = nil if option_name == :transitions