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 +4 -4
- data/lib/bundled_rbi/sorbet-coerce.rbi +2 -2
- 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: 5831cb764479cf2f531e1f8b9ff26b189cfc7783ab0075f75aaa6e1a5bc5ac13
|
4
|
+
data.tar.gz: e9fd50d576cebbd6120e84c7c06db5e60828d3ad067fb374dd27d07b97b140a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
142
|
+
version: 2.7.0
|
143
143
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
144
144
|
requirements:
|
145
145
|
- - ">="
|