pry-byebug 3.4.2 → 3.4.3
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/CHANGELOG.md +6 -0
 - data/README.md +2 -2
 - data/lib/byebug/processors/pry_processor.rb +2 -2
 - data/lib/pry-byebug/commands/breakpoint.rb +2 -2
 - data/lib/pry-byebug/version.rb +1 -1
 - metadata +11 -5
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA1:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 10e9af0d1babbe0fd8f69656d644cce07ed9fa83
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 0d834301cb2e9b980edae997ec192fc44c2b59a0
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 92f94059cb2cec03ce2893b9c8e3f962a5b92bd6a4f96ae998a0f0b03e49f10169f4cd9a574330579496133fc7ca8ed45a8a74df3a501fc70428c498c5af8eff
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 853220536d91dd5fa73d862174ffe1a889c049206c19b53dfbdf8b452c979423ebe5168799ab6bbfca0da199f0c27929a6a369fa8d314a289b51fee4603e5822
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    
    
        data/README.md
    CHANGED
    
    
| 
         @@ -41,7 +41,7 @@ module Byebug 
     | 
|
| 
       41 
41 
     | 
    
         
             
                # Set up a number of navigational commands to be performed by Byebug.
         
     | 
| 
       42 
42 
     | 
    
         
             
                #
         
     | 
| 
       43 
43 
     | 
    
         
             
                def perform(action, options = {})
         
     | 
| 
       44 
     | 
    
         
            -
                  return unless %i 
     | 
| 
      
 44 
     | 
    
         
            +
                  return unless %i[
         
     | 
| 
       45 
45 
     | 
    
         
             
                    backtrace
         
     | 
| 
       46 
46 
     | 
    
         
             
                    down
         
     | 
| 
       47 
47 
     | 
    
         
             
                    finish
         
     | 
| 
         @@ -49,7 +49,7 @@ module Byebug 
     | 
|
| 
       49 
49 
     | 
    
         
             
                    next
         
     | 
| 
       50 
50 
     | 
    
         
             
                    step
         
     | 
| 
       51 
51 
     | 
    
         
             
                    up
         
     | 
| 
       52 
     | 
    
         
            -
                   
     | 
| 
      
 52 
     | 
    
         
            +
                  ].include?(action)
         
     | 
| 
       53 
53 
     | 
    
         | 
| 
       54 
54 
     | 
    
         
             
                  send("perform_#{action}", options)
         
     | 
| 
       55 
55 
     | 
    
         
             
                end
         
     | 
| 
         @@ -70,7 +70,7 @@ module PryByebug 
     | 
|
| 
       70 
70 
     | 
    
         | 
| 
       71 
71 
     | 
    
         
             
                private
         
     | 
| 
       72 
72 
     | 
    
         | 
| 
       73 
     | 
    
         
            -
                %w 
     | 
| 
      
 73 
     | 
    
         
            +
                %w[delete disable enable disable_all delete_all].each do |command|
         
     | 
| 
       74 
74 
     | 
    
         
             
                  define_method(:"process_#{command}") do
         
     | 
| 
       75 
75 
     | 
    
         
             
                    breakpoints.send(*[command, opts[command]].compact)
         
     | 
| 
       76 
76 
     | 
    
         
             
                    print_all
         
     | 
| 
         @@ -88,7 +88,7 @@ module PryByebug 
     | 
|
| 
       88 
88 
     | 
    
         | 
| 
       89 
89 
     | 
    
         
             
                def new_breakpoint
         
     | 
| 
       90 
90 
     | 
    
         
             
                  place = args.shift
         
     | 
| 
       91 
     | 
    
         
            -
                  condition = args.join(' ') if 'if' 
     | 
| 
      
 91 
     | 
    
         
            +
                  condition = args.join(' ') if args.shift == 'if'
         
     | 
| 
       92 
92 
     | 
    
         | 
| 
       93 
93 
     | 
    
         
             
                  bp = add_breakpoint(place, condition)
         
     | 
| 
       94 
94 
     | 
    
         | 
    
        data/lib/pry-byebug/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: pry-byebug
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 3.4. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 3.4.3
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - David Rodríguez
         
     | 
| 
         @@ -9,7 +9,7 @@ authors: 
     | 
|
| 
       9 
9 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       10 
10 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       11 
11 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       12 
     | 
    
         
            -
            date:  
     | 
| 
      
 12 
     | 
    
         
            +
            date: 2017-08-22 00:00:00.000000000 Z
         
     | 
| 
       13 
13 
     | 
    
         
             
            dependencies:
         
     | 
| 
       14 
14 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       15 
15 
     | 
    
         
             
              name: pry
         
     | 
| 
         @@ -29,16 +29,22 @@ dependencies: 
     | 
|
| 
       29 
29 
     | 
    
         
             
              name: byebug
         
     | 
| 
       30 
30 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       31 
31 
     | 
    
         
             
                requirements:
         
     | 
| 
       32 
     | 
    
         
            -
                - - " 
     | 
| 
      
 32 
     | 
    
         
            +
                - - ">="
         
     | 
| 
       33 
33 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       34 
34 
     | 
    
         
             
                    version: '9.0'
         
     | 
| 
      
 35 
     | 
    
         
            +
                - - "<"
         
     | 
| 
      
 36 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 37 
     | 
    
         
            +
                    version: '9.1'
         
     | 
| 
       35 
38 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       36 
39 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       37 
40 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       38 
41 
     | 
    
         
             
                requirements:
         
     | 
| 
       39 
     | 
    
         
            -
                - - " 
     | 
| 
      
 42 
     | 
    
         
            +
                - - ">="
         
     | 
| 
       40 
43 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       41 
44 
     | 
    
         
             
                    version: '9.0'
         
     | 
| 
      
 45 
     | 
    
         
            +
                - - "<"
         
     | 
| 
      
 46 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 47 
     | 
    
         
            +
                    version: '9.1'
         
     | 
| 
       42 
48 
     | 
    
         
             
            description: |-
         
     | 
| 
       43 
49 
     | 
    
         
             
              Combine 'pry' with 'byebug'. Adds 'step', 'next', 'finish',
         
     | 
| 
       44 
50 
     | 
    
         
             
                  'continue' and 'break' commands to control execution.
         
     | 
| 
         @@ -95,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       95 
101 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       96 
102 
     | 
    
         
             
            requirements: []
         
     | 
| 
       97 
103 
     | 
    
         
             
            rubyforge_project: 
         
     | 
| 
       98 
     | 
    
         
            -
            rubygems_version: 2.6. 
     | 
| 
      
 104 
     | 
    
         
            +
            rubygems_version: 2.6.12
         
     | 
| 
       99 
105 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       100 
106 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       101 
107 
     | 
    
         
             
            summary: Fast debugging with Pry.
         
     |