sorbet-coerce 0.6.0 → 0.7.0

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: 07b8a2f1d773bf25d7abda4c1bfc6de014a7b41c9dde01b58ff27e4aaa5952a7
4
- data.tar.gz: ea45ba6647ed640581243698193f9c7e24520d1ab2b2dea9009bf97ddee5309b
3
+ metadata.gz: 5831cb764479cf2f531e1f8b9ff26b189cfc7783ab0075f75aaa6e1a5bc5ac13
4
+ data.tar.gz: e9fd50d576cebbd6120e84c7c06db5e60828d3ad067fb374dd27d07b97b140a8
5
5
  SHA512:
6
- metadata.gz: d4052f15f7b98b91dcbc3e1eb086dd1a8f74694f73889d04f578af0cefae29ac87fb9f5d3ddc67d275f23b98335fa9865ddd0c483aba80788c3b41ebbb1b5f3b
7
- data.tar.gz: 7d4145c0966431329cf292c6c7347db7dfbd6db3870ef44f0d5f876ecaf0e8e4395c466c5138556bc5972d439d08947d0de245334e7e618a7324edd3eaa22418
6
+ metadata.gz: df61492bbd7352033ee05db2b589078fe791b9a9f2b0e18539e89557a7a58c8f77b6f87fcf6aca3fb3b94933dc350b437738a68aee42e9214d946f177ea24e8e
7
+ data.tar.gz: 97356a851a7629866bdccb99beed3bb36a8820add245688161c8cbc0c734bfeabd5884794cb712d6090268f965f8a98df1ff7886674ed592695518f3e56c4956
@@ -9,8 +9,8 @@ module TypeCoerce
9
9
 
10
10
  Elem = type_member
11
11
 
12
- sig { params(args: T.untyped, raise_coercion_error: T.nilable(T::Boolean)).returns(Elem) }
13
- def from(args, raise_coercion_error: nil); end
12
+ sig { params(args: T.untyped, raise_coercion_error: T.nilable(T::Boolean), coerce_empty_to_nil: T::Boolean).returns(Elem) }
13
+ def from(args, raise_coercion_error: nil, coerce_empty_to_nil: false); end
14
14
 
15
15
  class CoercionError < SafeType::CoercionError; end
16
16
  class ShapeError < SafeType::CoercionError; end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sorbet-coerce
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chan Zuckerberg Initiative
@@ -139,7 +139,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
139
139
  requirements:
140
140
  - - ">="
141
141
  - !ruby/object:Gem::Version
142
- version: 2.4.0
142
+ version: 2.7.0
143
143
  required_rubygems_version: !ruby/object:Gem::Requirement
144
144
  requirements:
145
145
  - - ">="