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: 74b7b17574531adba20826815dc6bc735063774b17b6f652d13d2800f48972b1
4
- data.tar.gz: f761aa2b0a53ffe8699df2cb7dc97d724d52d794e218813e9691f9a5762be211
3
+ metadata.gz: fbf6e1e7f36a5e14eb97f31fd25a038a300701365b6db3b22ae4c84c46224bd3
4
+ data.tar.gz: de24df40ebb1626a2163684a25c8998fe78683b17ea7c2c2a22a90279eb1e3ad
5
5
  SHA512:
6
- metadata.gz: 718ce62a0c23a69c017580a140af0e273b51b8724654ed55cc0d0594162faf7f8885b64778f34b4c45cfb292f564955213ae297606f4cab81062d677e52df432
7
- data.tar.gz: 00dbfe9f61ecb3ae20c06a715d8607a3320611a6b05d099c162f58c7043a598ad06e6902dce1860ea00b9f8bc210043aa18ac04efd563d6ffb2ac6f027235db1
6
+ metadata.gz: f42c1473f4f53e3ba9f53f12f1fad86d69dc899024971bf18d983d91717a7ede222185ef808e98f2aae1faf344d5ce2d6e49fe401d671d25fc0ead83d805a691
7
+ data.tar.gz: e0d659a6d4bcd7b5df7064d674a17874fc9c859fd4b403d7f9affad16cdd1716f51507957a8c8930367258525b48579be044a3d9e57edd3db024ec762d93d393
data/CHANGES.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.3.2
2
+
3
+ * Relax gem dependency: `hashie` >= 3.0.
4
+
1
5
  # 0.3.1
2
6
 
3
7
  * Even though this is a patch version, but it contains major changes.
@@ -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
@@ -1,5 +1,5 @@
1
1
  module Trailblazer
2
2
  module Context
3
- VERSION = "0.3.1"
3
+ VERSION = "0.3.2"
4
4
  end
5
5
  end
@@ -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) { call_implementation.evaluate_callable(proc, *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
 
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
20
20
 
21
21
  spec.require_paths = ["lib"]
22
22
 
23
- spec.add_dependency "hashie", "~> 4.1"
23
+ spec.add_dependency "hashie", ">= 3.0.0"
24
24
 
25
25
  spec.add_development_dependency "bundler"
26
26
  spec.add_development_dependency "minitest"
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.1
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: 2020-08-19 00:00:00.000000000 Z
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: '4.1'
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: '4.1'
26
+ version: 3.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement