sorbet-runtime 0.5.10027 → 0.5.10032

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: 242a5b3eba70853f5f934e33d8ddd8983454386d347a72a60456de18d2dc2064
4
- data.tar.gz: fbc167dad50e88693ed3486b4782fbccb15b918d5ab5ccb61e8bdf67f008acc5
3
+ metadata.gz: 625040fab61e0400e1ad1e3b49df81e0d61365197b9acf005bd7fd0586ec0b18
4
+ data.tar.gz: 3507db3fa49488cfb04be9222d203c42de7dfed4b13257e533d1cc6a7c75fd97
5
5
  SHA512:
6
- metadata.gz: 9020221cd97a832a43acbc0d080215e68228e876c0508911776e0bdd349da901b7260a6d6e97662ae8d86bad16feae39ecb3c30e55dd792007e86bfe0e48a00f
7
- data.tar.gz: 201878b091fa4aef14ab60b8167baefeab0b566a7f20d655c40b97a5c0626a5c8b29339923fe5d4ad8f729b6eb36bd97865eade7a8ac3e986ed362fb7a70fb00
6
+ metadata.gz: b00cdb6e128f1c56b8f2682fff866d5c6e721afcb3f67548c66c81cce156f5d17785e642d814417321ec9716ed0bb43f74dcd6ff3b4e5c0fb7ea0aa06c395333
7
+ data.tar.gz: a0652527fe7ff3b9d1550589da3f22555e87b5701fafe6c69d4a6a18ccc4e7e50320acb59f44dd0997b6478f67f748b5a6aa99118aa436ce1abd11ade9587f38
@@ -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.10027
4
+ version: 0.5.10032
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-20 00:00:00.000000000 Z
11
+ date: 2022-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest