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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a7c71e9c8280b7f14bada6f48eaa62582a74e09f578759dee11dcdcd47cc0d68
4
- data.tar.gz: 47d8f52a4134feb895c9177344e658147c4cc15896dea9c2f8abd5d574e44c8f
3
+ metadata.gz: 46fd586a9a928912a647c0be1ccd449f86c8cb65ddbc91cfe7f9b3cd6eff1688
4
+ data.tar.gz: 15b3193cb8733a08a40394b0b182c89c5751a5a5f21319dfdd177bcb53bc1efa
5
5
  SHA512:
6
- metadata.gz: 122b2f0548e65dd58265eab021a97b5ef16cb30b101cffe467d06ce4ca3fd332e67285da0679ed2af78e2c48539f8cdecfc40c5605612411b6a3f5ae8f04851f
7
- data.tar.gz: be0143342a9cdd1f73227348bca5f90dcb0eb6fd8d432f5b175f9a9b3c0c7dc8d099485c2de9dc72d723d9c127fceec34d6649c65ea872c230bf25b3f5bf0dfe
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
- signature.owner.send(:define_method, signature.method_name, signature.method)
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PrySorbet
4
- VERSION = '0.2.0'
4
+ VERSION = '0.2.1'
5
5
  end
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.0
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-03-12 00:00:00.000000000 Z
12
+ date: 2020-07-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pry