low_type 1.3.1 → 1.3.2

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
  SHA256:
3
- metadata.gz: 4c2486123df7a2ef95af428ffed95c0cefa986c300f5b7e20edcba5926454d2c
4
- data.tar.gz: b06eecc97f2d4d6a768e8dfc715bda4a7b38b4d281b5f4bb730350e56cad9663
3
+ metadata.gz: cefcceeb50d6f56e2e71894253d9a9daebf0184b25c85adc3f259a47bd31333e
4
+ data.tar.gz: 4e44f70fae6b9a3781d1656156ef41c4bcca322b90c399df8de4dfad66040680
5
5
  SHA512:
6
- metadata.gz: 53654148a7e391a5f6bcdd86d1b33aea7b56e5a11d2e5be4b83c18901ae40ed72976d67c699710c3114babfd4390aef573580e750d49bfc3c0bbe076bd68f684
7
- data.tar.gz: '05132820addc2ebe0ee79418b6f9c881ae881d205449a39a04bd24548b4cca8dc653fd1dbedf30207e4123632a263343e5920b5bed43d2c68f9f471c68100327'
6
+ metadata.gz: a4de55bb12321a86ae086b3f456e98d7848e3ac4e0664bad1d2f996315ac90f1b4731211fd470390ef02c47886036fb5e374a29f7ff9e5f186f7248f3a2879bc
7
+ data.tar.gz: 81d7a12817aa00d972f89f3697fef2f4442f6c81d3dbdd3c96165362e972cd30bfae3eca3aaad60ea4401455c3de6940078fc868231ce9a87ef213b3f013e5ff
@@ -65,7 +65,7 @@ module Low
65
65
 
66
66
  new.class_evaluate(proxy: param_proxy, class_binding:)
67
67
  end
68
- param_proxy.expression = cast_type_expression(expression:, method_proxy:)
68
+ param_proxy.expression = cast_type_expression(expression:, param_proxy:)
69
69
  end
70
70
  rescue NameError => e
71
71
  mp = method_proxy
@@ -88,11 +88,11 @@ module Low
88
88
 
89
89
  private
90
90
 
91
- def cast_type_expression(expression:, method_proxy:)
91
+ def cast_type_expression(expression:, param_proxy:)
92
92
  if expression.is_a?(::Expressions::Expression)
93
93
  return expression
94
94
  elsif expression.instance_of?(Class) && expression.name == 'Low::Dependency'
95
- return expression.new(provider_key: method_proxy.name)
95
+ return expression.new(provider_key: param_proxy.name)
96
96
  elsif TypeQuery.type?(expression)
97
97
  return TypeExpression.new(type: expression)
98
98
  end
data/lib/version.rb CHANGED
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Low
4
4
  module Type
5
- VERSION = '1.3.1'
5
+ VERSION = '1.3.2'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: low_type
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - maedi