trailblazer-context 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fbf6e1e7f36a5e14eb97f31fd25a038a300701365b6db3b22ae4c84c46224bd3
|
4
|
+
data.tar.gz: de24df40ebb1626a2163684a25c8998fe78683b17ea7c2c2a22a90279eb1e3ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f42c1473f4f53e3ba9f53f12f1fad86d69dc899024971bf18d983d91717a7ede222185ef808e98f2aae1faf344d5ce2d6e49fe401d671d25fc0ead83d805a691
|
7
|
+
data.tar.gz: e0d659a6d4bcd7b5df7064d674a17874fc9c859fd4b403d7f9affad16cdd1716f51507957a8c8930367258525b48579be044a3d9e57edd3db024ec762d93d393
|
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,7 +28,10 @@ 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) {
|
31
|
+
->(*args, &block) {
|
32
|
+
|
33
|
+
puts "@@@@@ #{proc.inspect}"
|
34
|
+
call_implementation.evaluate_callable(proc, *args, &block) }
|
32
35
|
end
|
33
36
|
end
|
34
37
|
|
data/trailblazer-context.gemspec
CHANGED
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Sutterer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hashie
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 3.0.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 3.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|