sorbet-runtime 0.5.10028 → 0.5.10037

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: 8322f8f48ecb543d22e76716e755524f5859d7f4b4c90a11b6e2061af71d5034
4
- data.tar.gz: 57e292da0de20c1df7d558ed02bc45657f4cafb784194e4e4a50f423a6b824a0
3
+ metadata.gz: 8982e306da245ee679cdc210fc8f0eb8552cdb6d331db60db81e6f6892aaff03
4
+ data.tar.gz: '084bba6e319b47323ba59525efbff5057008a8da7f0ceb444b35161a1df98e64'
5
5
  SHA512:
6
- metadata.gz: 348d28b7f7ded267bf6336c6e98327c0861c94c7bc42a08d6f89157ac4db25868ed496d865ed90065e30db51c385849aa23a30843be2400d66b539e2124bb2f2
7
- data.tar.gz: 276f01fe4665cd0d393116e88ccf4be949664ea587cb2961aa74710222e6add5a4b561245b17276ad2b551a2d278c452f5baeb06df99602941e3ebea8edd4cd4
6
+ metadata.gz: f0a01eef2c35c76fbdd6fd31073f13ce6bf35412f6ff12036963587949ecb0aa45a5d55ed608449f71c56000262c36cf4d4353839477c1e35bef3b3be4ea3f3e
7
+ data.tar.gz: fe5d7949bb3f2f47a1a0c2d4961473e52146b0e99ca574977cdd04b85ebb355dd4e7d78e100201794a94196afbbe5426ec9c02a21797545533a61b368e9e454f
@@ -58,6 +58,14 @@ class T::Props::Decorator
58
58
  @props = @props.merge(prop => rules.freeze).freeze
59
59
  end
60
60
 
61
+ # Heads up!
62
+ #
63
+ # There are already too many ad-hoc options on the prop DSL.
64
+ #
65
+ # We have already done a lot of work to remove unnecessary and confusing
66
+ # options. If you're considering adding a new rule key, please come chat with
67
+ # the Sorbet team first, as we'd really like to learn more about how to best
68
+ # solve the problem you're encountering.
61
69
  VALID_RULE_KEYS = T.let(%i[
62
70
  enum
63
71
  foreign
@@ -12,6 +12,14 @@ end
12
12
  module T::Props::Optional::DecoratorMethods
13
13
  extend T::Sig
14
14
 
15
+ # Heads up!
16
+ #
17
+ # There are already too many ad-hoc options on the prop DSL.
18
+ #
19
+ # We have already done a lot of work to remove unnecessary and confusing
20
+ # options. If you're considering adding a new rule key, please come chat with
21
+ # the Sorbet team first, as we'd really like to learn more about how to best
22
+ # solve the problem you're encountering.
15
23
  VALID_RULE_KEYS = {
16
24
  default: true,
17
25
  factory: true,
@@ -179,6 +179,14 @@ end
179
179
  module T::Props::Serializable::DecoratorMethods
180
180
  include T::Props::HasLazilySpecializedMethods::DecoratorMethods
181
181
 
182
+ # Heads up!
183
+ #
184
+ # There are already too many ad-hoc options on the prop DSL.
185
+ #
186
+ # We have already done a lot of work to remove unnecessary and confusing
187
+ # options. If you're considering adding a new rule key, please come chat with
188
+ # the Sorbet team first, as we'd really like to learn more about how to best
189
+ # solve the problem you're encountering.
182
190
  VALID_RULE_KEYS = {dont_store: true, name: true, raise_on_nil_write: true}.freeze
183
191
  private_constant :VALID_RULE_KEYS
184
192
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sorbet-runtime
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.10028
4
+ version: 0.5.10037
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stripe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-21 00:00:00.000000000 Z
11
+ date: 2022-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest