sorbet 0.5.11193 → 0.5.11200

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 30568542a0cfd4611af7d01a65701619052930fab17edcec1816a1478f126094
4
- data.tar.gz: '095d1ceb1f8c019731772f771114a84404b92fa6510066aa633be94470a00f37'
3
+ metadata.gz: ced30946af07c997c0e3e7fd54e3a5cf4f9592ce007d1d4017a6edc56d8a9b92
4
+ data.tar.gz: 6bba6924aa942a68b702cf615ac67d27726c8d4ce867318ceeaff112b60c4a0a
5
5
  SHA512:
6
- metadata.gz: 89272f6ad33b3c533a77cb92d923fb965a3aeec3e87c8dfad7750dcecb76b32284905bd79a5d787dc3b3ca4b59c5f071700205498ae4b3893ca3651b15967730
7
- data.tar.gz: a3ec148629cd0a4c431b1e8a241ce1bf2a6b38acf466f17ddb86097ff3b2e0ac2324c1917279d6a9a1e83f5d99dbe63bf4a9f3cbd78f9c5749ac3eefd75b70c5
6
+ metadata.gz: 6006f018730ecb70be06aa632dbc9a0be322f9a599a56add8087da96f3162bff4aefb8edfef5837270ac17eb4a3c288f9520408d49db37c013b52d372a53ede3
7
+ data.tar.gz: f5c25843e79576f7d40bc3d74829e1c56f81814788d75437aeaebc580f522f05d456a327ab9b7138c7759b0ca1ed1ed9291741ae96fa0259b8c8e2494a492947
data/bin/srb CHANGED
@@ -72,7 +72,7 @@ typecheck() {
72
72
  gems_path="${without_bin_srb%/sorbet*}"
73
73
 
74
74
  # /path/to/gems/sorbet-static-0.0.1-darwin-17/libexec/sorbet
75
- # (assumes people only have one platform-depdendent gem installed per version)
75
+ # (assumes people only have one platform-dependent gem installed per version)
76
76
  guess_sorbet=("$gems_path/sorbet-static$version_suffix"*/libexec/sorbet)
77
77
 
78
78
  if [[ -f "${guess_sorbet[0]}" ]]; then
data/bin/srb-rbi CHANGED
@@ -120,7 +120,7 @@ actions:
120
120
  Kernel.exit(1)
121
121
  end
122
122
  else
123
- puts "\nNot running interactivly. Set SRB_YES=1 environment variable to proceed"
123
+ puts "\nNot running interactively. Set SRB_YES=1 environment variable to proceed"
124
124
  Kernel.exit(1)
125
125
  end
126
126
  end
@@ -436,7 +436,7 @@ class Sorbet::Private::HiddenMethodFinder
436
436
  valid.split("\n").each do |line|
437
437
  category = categorize(line)
438
438
  if category == :errors
439
- # Don't ever switch to errors output permanantly
439
+ # Don't ever switch to errors output permanently
440
440
  output[category] << line + "\n"
441
441
  next
442
442
  end
data/lib/serialize.rb CHANGED
@@ -56,7 +56,7 @@ class Sorbet::Private::Serialize
56
56
  superclass_str = !superclass_str || superclass_str.empty? ? '' : " < #{superclass_str}"
57
57
  ret << (Sorbet::Private::RealStdlib.real_is_a?(klass, Class) ? "class #{class_name}#{superclass_str}\n" : "module #{class_name}\n")
58
58
 
59
- # We don't use .included_modules since that also has all the aweful things
59
+ # We don't use .included_modules since that also has all the awful things
60
60
  # that are mixed into Object. This way we at least have a delimiter before
61
61
  # the awefulness starts (the superclass).
62
62
  Sorbet::Private::RealStdlib.real_ancestors(klass).each do |ancestor|
@@ -144,14 +144,14 @@ class Sorbet::Private::Serialize
144
144
  initialize = nil
145
145
  end
146
146
  if initialize && initialize.owner == klass
147
- # This method never apears in the reflection list...
147
+ # This method never appears in the reflection list...
148
148
  instance_methods += [:initialize]
149
149
  end
150
150
  Sorbet::Private::RealStdlib.real_ancestors(klass).reject {|ancestor| @constant_cache.name_by_class(ancestor)}.each do |ancestor|
151
151
  instance_methods += ancestor.instance_methods(false)
152
152
  end
153
153
 
154
- # uniq here is required because we populate additional methos from anonymous superclasses and there
154
+ # uniq here is required because we populate additional methods from anonymous superclasses and there
155
155
  # might be duplicates
156
156
  methods += instance_methods.sort.uniq.map do |method_sym|
157
157
  begin
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sorbet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.11193
4
+ version: 0.5.11200
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stripe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-13 00:00:00.000000000 Z
11
+ date: 2024-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sorbet-static
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.5.11193
19
+ version: 0.5.11200
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.5.11193
26
+ version: 0.5.11200
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: minitest
29
29
  requirement: !ruby/object:Gem::Requirement