byebug-skipper 0.3.5 → 0.3.6

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: 360120962b1a0dc04e8f98ab79c32e4d1c1f590a2382ff4da51dd475f2d8420b
4
- data.tar.gz: 58b99f37beab966329e3ac9d2e2d4440d2bbf013b349640b55abf06b41fa24e2
3
+ metadata.gz: 82184dab1f437c7074b59329b2a1d12d97a084ca0372417f06129b912567418c
4
+ data.tar.gz: ff937262b62ff9ad259a54111fd23662fc5ba9f092ecf5a1a292e2c752c82162
5
5
  SHA512:
6
- metadata.gz: de210ab93f2b9af685874b06997946b023a4713451443a32562876e7c629f38aa4df17c2b82f708a11526ca17a495a4223c9cea13fab11d548ea62be270e1aab
7
- data.tar.gz: 20fba508092216fdbd868353bc6b406aa0fbc3e2a15241cc9391e7ef14265df4be221c0be3b3ad4ef1c0f400a6bfe424e618f0b8a962c8517d1ce9e621a16cf6
6
+ metadata.gz: 11f693895465bc0c6a171c6448fc99edb6c1a1476bc5d4c92fbf6124d46ae7693b7abf7cd94dfe67a6857790abde9c1c7d46aa2fb97d6024234b752b529892c4
7
+ data.tar.gz: 5c7651da9b4851bb2057a882e26f6a908743eef68bcebc965fda3092bfef6808015262314a2daf8ea8de57bf2596b3e8fb25de2e33be42d1ec531e0d360ac62f
@@ -1,3 +1,5 @@
1
+ require 'byebug'
2
+
1
3
  module Byebug::Skipper
2
4
  extend self
3
5
 
@@ -22,7 +24,6 @@ end
22
24
  require 'delegate'
23
25
  require 'tempfile'
24
26
 
25
- require 'byebug'
26
27
  require 'byebug/helpers/frame'
27
28
  require 'byebug/command'
28
29
  require 'byebug/commands/skip'
@@ -23,11 +23,6 @@ module Byebug::Skipper::Pry
23
23
  const_name: 'Finishs',
24
24
  continues?: true,
25
25
  },
26
- {
27
- cmd: 'skip!',
28
- const_name: 'SkipBang',
29
- continues?: true,
30
- },
31
26
  ].freeze
32
27
  end
33
28
 
@@ -12,7 +12,10 @@ module Byebug::Skipper
12
12
  short_description
13
13
  end
14
14
 
15
- def execute
15
+ # This method gets run once when the command starts. After that, `#execute`
16
+ # gets called repeatedly from different locations, so we can't use it
17
+ # without adding random commented lines everywhere.
18
+ def initialize_attributes
16
19
  CommentLineAbove.(context.location)
17
20
  super
18
21
  end
@@ -1,5 +1,5 @@
1
1
  module Byebug
2
2
  module Skipper
3
- VERSION = '0.3.5'
3
+ VERSION = '0.3.6'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: byebug-skipper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Dalling
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-19 00:00:00.000000000 Z
11
+ date: 2021-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: byebug