sorbet 0.5.6223 → 0.5.6249
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 +4 -4
- data/lib/gem-generator-tracepoint/tracer.rb +10 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50c0f0134eb7f438a719722ca1fdf616fc328f8c
|
4
|
+
data.tar.gz: f5673bc032239d7a18266433773facef1d1cf036
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ab8c2e28a73f8f3dc4d2d3d759ac41cf6b178245d8db0993e5fde03182de7dddc93e8086d13a4d88260eef207a03ab4f4e5e118cb2adbbe9d9b264e5114c58c
|
7
|
+
data.tar.gz: c783e04eb2389a06b88e9138018941540f4c131a886237be114e9e0005f66209a709dd2577de976c9cec29233f652a29e9a8dbb382c5c9ccbe62f297b118bba4
|
@@ -41,6 +41,16 @@ module Sorbet::Private
|
|
41
41
|
Sorbet::Private::GemGeneratorTracepoint::Tracer.on_module_created(result)
|
42
42
|
result
|
43
43
|
end
|
44
|
+
|
45
|
+
# This is a hack due to changes in kwargs with Ruby 2.7 and 3.0. Using
|
46
|
+
# `*` for method delegation is deprecated in Ruby 2.7 and doesn't work
|
47
|
+
# in Ruby 3.0.
|
48
|
+
# See the "compatible delegation" section in this blog post:
|
49
|
+
# https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/
|
50
|
+
#
|
51
|
+
# Once Sorbet supports exclusively 2.7+ we can remove ruby2_keywords and
|
52
|
+
# use the `...` delegation syntax instead.
|
53
|
+
send(:ruby2_keywords, :new) if respond_to?(:ruby2_keywords, true)
|
44
54
|
end
|
45
55
|
Class.prepend(ClassOverride)
|
46
56
|
|
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.
|
4
|
+
version: 0.5.6249
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stripe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-01-
|
11
|
+
date: 2021-01-27 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.
|
19
|
+
version: 0.5.6249
|
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.
|
26
|
+
version: 0.5.6249
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: minitest
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|