sorbet-runtime 0.5.11305 → 0.5.11311

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: 5992e6769b3e1ef59f7ab1a82c249dff739bca29f5bdc15d16f93c444ddae3b5
4
+ data.tar.gz: 02d468fb8a2fddd17c43e74be005e4d46b3ad5988face887f0c107bbd6223369
5
5
  SHA512:
6
- metadata.gz: ae2051257f385045159c7491498206bf3843b1453bdd6f63ee11c60ee01346e59fdebea365a7d0e6bfbc20c6bbc6a005a51cd2efca3abf987142ec115c713c6c
7
- data.tar.gz: 72e5cd1e0d142c5a6df538272dd468a9bf83983081b9bbe76848a84cc25cc118ebf49803aae88306f453ee453a080e499eacdaca87bf841c19783e811726c5bd
6
+ metadata.gz: e9132a6da770065757d47b8741055fd1382dd3c937fe46a501668d90fd1b352d911dd9a55d09fd9845ca3d9de54ab5ff0058cf1c848042c6dccef46419fe2053
7
+ data.tar.gz: cfc95a2b8bb8e74d124eb7149f17902827e807b47727f231c1df021beb1186c76efbecf505a86e69514ee642b9d4bcd777d0edb4c371a9c5f3a67f82da6c9479
@@ -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.11311
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-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest