trailblazer-circuit 0.0.8 → 0.0.9

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
  SHA1:
3
- metadata.gz: 51251c5182357e83918081e911da91c2ead537d0
4
- data.tar.gz: 4f3087460b00f9e90b0d9584fde259d14cc20f2b
3
+ metadata.gz: f95ca61bfed92118f9831c970dd69d6a7295588d
4
+ data.tar.gz: 16c1a84d09e530d319f831cf8c381d6f683f71d0
5
5
  SHA512:
6
- metadata.gz: ef71bb646ac59d02d36a71644e7dd47cbbb91498495f03abe2a06853a0a4a050862fab8c985d2c0caeb0ae3e9aeab2dc1d5124731408d846b0bd769d8fffb650
7
- data.tar.gz: dc0a566ee9e12352a7fa2c1accda1eb443967e10ab2f162752e8e15b223a1b7dd31f8d9f3b93c58f4178991c46f3e180a00c7d20098bb11638c1a45f11408ab1
6
+ metadata.gz: 7cd64582812530676cdd18c1389d811b0c2d97e38c4aa11561d427349fe8563fe345cb3ce64232690c9ed8a4aab8237078fa3d893387b21203c2baf35a187b79
7
+ data.tar.gz: e26c00db184a221e78d3685e8dcc055afc0fcf044a97a6f4e238273222b00a085f525d0acf76daa6d549225f355e18a8ef7b9107be668c07bdc3cf3a2d36b37e
data/CHANGES.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.0.9
2
+
3
+ * Fix `Context#[]`, it returned `nil` when it should return `false`.
4
+
1
5
  # 0.0.8
2
6
 
3
7
  * Make `Trailblazer::Option` and `Trailblazer::Option::KW` a mix of lambda and object so it's easily extendable.
@@ -1,5 +1,5 @@
1
1
  module Trailblazer
2
2
  class Circuit
3
- VERSION = "0.0.8"
3
+ VERSION = "0.0.9"
4
4
  end
5
5
  end
@@ -30,7 +30,8 @@ module Trailblazer
30
30
  end
31
31
 
32
32
  def [](name)
33
- @mutable_options[name] || @wrapped_options[name]
33
+ return @mutable_options[name] if @mutable_options.key?(name)
34
+ @wrapped_options[name]
34
35
  end
35
36
 
36
37
  def []=(name, value)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trailblazer-circuit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Sutterer
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-06-28 00:00:00.000000000 Z
11
+ date: 2017-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -126,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
126
  version: '0'
127
127
  requirements: []
128
128
  rubyforge_project:
129
- rubygems_version: 2.6.8
129
+ rubygems_version: 2.5.2
130
130
  signing_key:
131
131
  specification_version: 4
132
132
  summary: BPMN-compliant workflows or state machines.