trailblazer-context 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +4 -0
- data/lib/trailblazer/context/store/indifferent_access.rb +1 -1
- data/lib/trailblazer/context/version.rb +1 -1
- data/lib/trailblazer/option.rb +1 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 278837bbeb41d58a08abe15cfa239e7c2d0030cf4d4d7de19e98f0982fd70ea1
|
4
|
+
data.tar.gz: 1dffd41a315387722858cf987a4289211cc8ea537664c98b5042539fcee11e6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 553c3dd7b3d9ff2ed9493c4a0d44369d1f6f4442ab9b53679e6e1147f7e052d98974273fa38466056e377e2de03fdd662f8e12d28b99cfde99d1074c5d4aa9e3
|
7
|
+
data.tar.gz: abfddac36f7d1a789f45018d3a79e98f5443e4934a29513f80d728453e5c12cf10e85bd8f061eead6b96006c3f0df85a26a2a80c9184524255b9e7b7a197504c
|
data/CHANGES.md
CHANGED
@@ -27,7 +27,7 @@ module Trailblazer
|
|
27
27
|
# to store keys as Symbol by default instead of String.
|
28
28
|
# Why ? We need to pass `ctx` as keyword arguments most of the time.
|
29
29
|
def convert_key(key)
|
30
|
-
return key if Symbol === key
|
30
|
+
return key if Symbol === key
|
31
31
|
String === key ? key.to_sym : key
|
32
32
|
end
|
33
33
|
end
|
data/lib/trailblazer/option.rb
CHANGED
@@ -28,10 +28,7 @@ module Trailblazer
|
|
28
28
|
if proc.is_a? Symbol
|
29
29
|
->(*args, &block) { call_implementation.evaluate_method(proc, *args, &block) }
|
30
30
|
else
|
31
|
-
->(*args, &block) {
|
32
|
-
|
33
|
-
puts "@@@@@ #{proc.inspect}"
|
34
|
-
call_implementation.evaluate_callable(proc, *args, &block) }
|
31
|
+
->(*args, &block) { call_implementation.evaluate_callable(proc, *args, &block) }
|
35
32
|
end
|
36
33
|
end
|
37
34
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trailblazer-context
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Sutterer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-02-
|
11
|
+
date: 2021-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hashie
|