sorbet-runtime 0.5.11305 → 0.5.11307

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: 4255fd1338f1a9d29cb5502aad6882807f2e61e77093aedbceaead72b6ec19cb
4
- data.tar.gz: 9e032c9c67a1da5f67eacb2ff69ba431940afc6784f98232fba6dcfd17393e8f
3
+ metadata.gz: 39fbad0b3588d00cefdc5fa5ccc639644608a4b020bd63c91a5155dc58570176
4
+ data.tar.gz: 32f476420b21b2575e84e9cf1fc71efdb364d714e8bf2292cd536ec40309d823
5
5
  SHA512:
6
- metadata.gz: ae2051257f385045159c7491498206bf3843b1453bdd6f63ee11c60ee01346e59fdebea365a7d0e6bfbc20c6bbc6a005a51cd2efca3abf987142ec115c713c6c
7
- data.tar.gz: 72e5cd1e0d142c5a6df538272dd468a9bf83983081b9bbe76848a84cc25cc118ebf49803aae88306f453ee453a080e499eacdaca87bf841c19783e811726c5bd
6
+ metadata.gz: 5862485c4255e9e7d419131f94d72c6a490a94745224c56f7249e8ecaf9aef1f5da24d2281857f6693635c7406a7d4fd001b63eed2a17b05b03aa9b3074053b2
7
+ data.tar.gz: b7dd71b602d6b5ac66ffa8ceccbe74d53aeea41b86f88e8760d6781f2021577aedc0f1bc7d69a4fdb25114fe6701af101120488579e3b3f2755eb83778163235
@@ -7,13 +7,13 @@ module T::Props::PrettyPrintable
7
7
 
8
8
  # Override the PP gem with something that's similar, but gives us a hook to do redaction and customization
9
9
  def pretty_print(pp)
10
- clazz = T.unsafe(T.cast(self, Object).class).decorator
10
+ klass = T.unsafe(T.cast(self, Object).class).decorator
11
11
  multiline = pp.is_a?(PP)
12
- pp.group(1, "<#{clazz.inspect_class_with_decoration(self)}", ">") do
13
- clazz.all_props.sort.each do |prop|
12
+ pp.group(1, "<#{klass.inspect_class_with_decoration(self)}", ">") do
13
+ klass.all_props.sort.each do |prop|
14
14
  pp.breakable
15
- val = clazz.get(self, prop)
16
- rules = clazz.prop_rules(prop)
15
+ val = klass.get(self, prop)
16
+ rules = klass.prop_rules(prop)
17
17
  pp.text("#{prop}=")
18
18
  if (custom_inspect = rules[:inspect])
19
19
  inspected = if T::Utils.arity(custom_inspect) == 1
@@ -28,7 +28,7 @@ module T::Props::PrettyPrintable
28
28
  val.pretty_print(pp)
29
29
  end
30
30
  end
31
- clazz.pretty_print_extra(self, pp)
31
+ klass.pretty_print_extra(self, pp)
32
32
  end
33
33
  end
34
34
 
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.11305
4
+ version: 0.5.11307
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stripe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-22 00:00:00.000000000 Z
11
+ date: 2024-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest