pry-sorbet 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pry-sorbet/commands/unwrap_command.rb +5 -1
- data/lib/pry-sorbet/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46fd586a9a928912a647c0be1ccd449f86c8cb65ddbc91cfe7f9b3cd6eff1688
|
4
|
+
data.tar.gz: 15b3193cb8733a08a40394b0b182c89c5751a5a5f21319dfdd177bcb53bc1efa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77389a53a0ef85175961eced48f82b98b0d27a193545aab5d845991ae19f0f04b71c9cf56ebe9a905710f80fce1378cdaff4e4f945c82dbc7296431a6577fe6b
|
7
|
+
data.tar.gz: 3c7ef5eac14337ed6dcc83c38b72113e6cd7f07d838b649b5b597b3c2808d15eefc1f078aebc6be4e07e4ba3e4fb9f35fed6f312237f1a77720da89c328f67c1
|
@@ -30,7 +30,11 @@ module PrySorbet
|
|
30
30
|
signatures_by_method.values.each do |signature|
|
31
31
|
T::Configuration.without_ruby_warnings do
|
32
32
|
T::Private::DeclState.current.without_on_method_added do
|
33
|
-
|
33
|
+
if signature.mode == T::Private::Methods::Modes.abstract
|
34
|
+
signature.owner.send(:remove_method, signature.method_name)
|
35
|
+
else
|
36
|
+
signature.owner.send(:define_method, signature.method_name, signature.method)
|
37
|
+
end
|
34
38
|
end
|
35
39
|
end
|
36
40
|
end
|
data/lib/pry-sorbet/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pry-sorbet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aaron Christiansen
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-07-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: pry
|