sorbet 0.5.6322 → 0.5.6324

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/serialize.rb +2 -2
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f5dccae9430624252f891963afb09b28fd41256d
4
- data.tar.gz: a2ec69ca02d16ff89e007af867c2b3b9db8b2911
3
+ metadata.gz: 682ae62b78f9d6bb3873a589600e6c4669c97abb
4
+ data.tar.gz: ada229c92380893f5dac7096d544a56ce4084fa1
5
5
  SHA512:
6
- metadata.gz: 8d0ab990eb5b9e888ddf1b44c79233b35c0fb04fd30a072fbcac467af18eb25ca7340b761f2f694cc1d5abffaad25b4340cc7b736f688fa599ea9e9345182f90
7
- data.tar.gz: 2579d3d897fb48f48578101b95d72a6f8ddf9ddfecec9070088a25fd861d38b8bcd0ab44408d72e4beb2856a45412f41e5e509bf422a53402a9ba9b3c3e570ac
6
+ metadata.gz: 73d7b33a8c4e47cc4d83dadcd573095c58ce0c6c9f3cd41327eda6722504def22ca651da1c94b493c18f2b8f59091809391252ec5defb3304883b3ff31e76ec0
7
+ data.tar.gz: 3cb2489ad25f2e823320c119d57f33b4b3f70a0d97a5840a948eeb4ddac55002cde20232871a08314e298302751c55e97cc7c6c0fc339b22f36d6e8b2440b403
data/lib/serialize.rb CHANGED
@@ -162,7 +162,7 @@ class Sorbet::Private::Serialize
162
162
  end
163
163
  next if denylisted_method(method)
164
164
  next if ancestor_has_method(method, klass)
165
- serialize_method(method)
165
+ serialize_method(method, with_sig: false)
166
166
  end
167
167
  # uniq is not required here, but added to be on the safe side
168
168
  methods += Sorbet::Private::RealStdlib.real_singleton_methods(klass, false).sort.uniq.map do |method_sym|
@@ -174,7 +174,7 @@ class Sorbet::Private::Serialize
174
174
  end
175
175
  next if denylisted_method(method)
176
176
  next if ancestor_has_method(method, Sorbet::Private::RealStdlib.real_singleton_class(klass))
177
- serialize_method(method, true)
177
+ serialize_method(method, true, with_sig: false)
178
178
  end
179
179
  ret << methods.join("\n")
180
180
  ret << "end\n"
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.6322
4
+ version: 0.5.6324
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stripe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-05 00:00:00.000000000 Z
11
+ date: 2021-03-06 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.6322
19
+ version: 0.5.6324
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.6322
26
+ version: 0.5.6324
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: minitest
29
29
  requirement: !ruby/object:Gem::Requirement