guard-puma 0.8.0 → 0.8.1
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/CHANGES.md +44 -39
- data/lib/guard/puma/runner.rb +1 -1
- data/lib/guard/puma/version.rb +1 -1
- data/spec/lib/guard/puma/runner_spec.rb +1 -1
- metadata +6 -6
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: a8c0c95376af755bc14c0d2a035404e68f1cf334b0e911c77c36f3c3a5a119b2
         | 
| 4 | 
            +
              data.tar.gz: 0d237582d109553ed4988e994a82ab6545aa91542e26f750ed48c78568df354d
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: e349d16499844884daf7e5cb9a607b6858e823133f5cd098e80f0d366b402ac38c15a907fbf36da885d8192ce836ee40512ded9bd4abde62f7ece10b39e13717
         | 
| 7 | 
            +
              data.tar.gz: 76684e7ff4f5d1900b953b18901025181a07338673bd574b1582f4ab6c9cbd11cc098adf06e87845b725c3dfa2c57016fc72ff21c52f71429fc8ff8cc93daa64
         | 
    
        data/CHANGES.md
    CHANGED
    
    | @@ -1,109 +1,114 @@ | |
| 1 1 | 
             
            # Changes
         | 
| 2 2 |  | 
| 3 | 
            +
            ## 0.8.1
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            - Fix sh command for directories with spaces on unix-based systems
         | 
| 6 | 
            +
             | 
| 3 7 | 
             
            ## 0.8.0
         | 
| 4 8 |  | 
| 5 | 
            -
             | 
| 9 | 
            +
            - Bump puma to 6.0
         | 
| 6 10 |  | 
| 7 11 | 
             
            ## 0.7.0
         | 
| 8 12 |  | 
| 9 | 
            -
             | 
| 10 | 
            -
             | 
| 13 | 
            +
            - Add MIT license identifier in gemspec. Via #45
         | 
| 14 | 
            +
            - Remove support for MRI 2.2|3 and bump other versions
         | 
| 11 15 |  | 
| 12 16 | 
             
            ## 0.6.0
         | 
| 13 17 |  | 
| 14 | 
            -
             | 
| 18 | 
            +
            - Bump puma to 4.0
         | 
| 15 19 |  | 
| 16 20 | 
             
            ## 0.5.2
         | 
| 17 21 |  | 
| 18 | 
            -
             | 
| 22 | 
            +
            - Default config to `-` instead of `nil`. Fixes #38
         | 
| 19 23 |  | 
| 20 24 | 
             
            ## 0.5.1
         | 
| 21 25 |  | 
| 22 | 
            -
             | 
| 26 | 
            +
            - Detect and use `config/puma.rb` if present
         | 
| 23 27 |  | 
| 24 28 | 
             
            ## 0.5.0
         | 
| 25 29 |  | 
| 26 | 
            -
             | 
| 27 | 
            -
             | 
| 28 | 
            -
             | 
| 29 | 
            -
             | 
| 30 | 
            -
             | 
| 31 | 
            -
             | 
| 32 | 
            -
             | 
| 30 | 
            +
            - Add `:pumactl` option
         | 
| 31 | 
            +
            - Add `:restart_timeout` option
         | 
| 32 | 
            +
            - Don't stop Puma if it was not started by Guard
         | 
| 33 | 
            +
            - Don't notify about start when no start
         | 
| 34 | 
            +
            - Improve `guard-compat` using
         | 
| 35 | 
            +
              (https://github.com/guard/guard-compat#migrating-your-api-calls)
         | 
| 36 | 
            +
            - Remove unused `pry` dependency
         | 
| 37 | 
            +
            - Update versions of dependencies
         | 
| 33 38 |  | 
| 34 39 | 
             
            ## 0.4.1
         | 
| 35 40 |  | 
| 36 | 
            -
             | 
| 41 | 
            +
            - Improve notifications. Via #30
         | 
| 37 42 |  | 
| 38 43 | 
             
            ## 0.4.0
         | 
| 39 44 |  | 
| 40 | 
            -
             | 
| 45 | 
            +
            - Support Windows with custom start command. Via #29
         | 
| 41 46 |  | 
| 42 47 | 
             
            ## 0.3.6
         | 
| 43 48 |  | 
| 44 | 
            -
             | 
| 49 | 
            +
            - Use a secure random token by default for the control token. Fixes #23
         | 
| 45 50 |  | 
| 46 51 | 
             
            ## 0.3.5
         | 
| 47 52 |  | 
| 48 | 
            -
             | 
| 53 | 
            +
            - If puma crashed don't fail when trying to restart. Fixes #22
         | 
| 49 54 |  | 
| 50 55 | 
             
            ## 0.3.4
         | 
| 51 56 |  | 
| 52 | 
            -
             | 
| 57 | 
            +
            - Respect the environment when using a config file. Fixes #21
         | 
| 53 58 |  | 
| 54 59 | 
             
            ## 0.3.3
         | 
| 55 60 |  | 
| 56 | 
            -
             | 
| 57 | 
            -
             | 
| 58 | 
            -
             | 
| 61 | 
            +
            - Update deps
         | 
| 62 | 
            +
            - Kill testing Ruby < 2.2.5
         | 
| 63 | 
            +
            - Fix control when using `--config`
         | 
| 59 64 |  | 
| 60 65 | 
             
            ## 0.3.2
         | 
| 61 66 |  | 
| 62 | 
            -
             | 
| 63 | 
            -
             | 
| 67 | 
            +
            - Update Guardfile to support new options
         | 
| 68 | 
            +
            - Let --config take precedence over default options
         | 
| 64 69 |  | 
| 65 70 | 
             
            ## 0.3.1
         | 
| 66 71 |  | 
| 67 | 
            -
             | 
| 68 | 
            -
             | 
| 72 | 
            +
            - Update RSpec to 3.1.0+
         | 
| 73 | 
            +
            - Fix Travis CI builds on Rubinius
         | 
| 69 74 |  | 
| 70 75 | 
             
            ## 0.3.0
         | 
| 71 76 |  | 
| 72 | 
            -
             | 
| 73 | 
            -
             | 
| 74 | 
            -
             | 
| 75 | 
            -
             | 
| 77 | 
            +
            - Depend on rake 10.2+
         | 
| 78 | 
            +
            - Update Guard::Puma initialize method to accept only options hash
         | 
| 79 | 
            +
            - Depend on Guard 2.8+
         | 
| 80 | 
            +
            - Get environment from RACK_ENV by default
         | 
| 76 81 |  | 
| 77 82 | 
             
            ## 0.2.5
         | 
| 78 83 |  | 
| 79 | 
            -
             | 
| 80 | 
            -
             | 
| 84 | 
            +
            - Change rb-inotify and libnotify to be development dependencies
         | 
| 85 | 
            +
            - Update test Rubies
         | 
| 81 86 |  | 
| 82 87 | 
             
            ## 0.2.4
         | 
| 83 88 |  | 
| 84 | 
            -
             | 
| 89 | 
            +
            - Fix bug where runner not respecting environment set in Guard options
         | 
| 85 90 |  | 
| 86 91 | 
             
            ## 0.2.3
         | 
| 87 92 |  | 
| 88 | 
            -
             | 
| 93 | 
            +
            - Add quiet flag to suppress output
         | 
| 89 94 |  | 
| 90 95 | 
             
            ## 0.2.2
         | 
| 91 96 |  | 
| 92 | 
            -
             | 
| 97 | 
            +
            - Remove unused dependency on RestClient.
         | 
| 93 98 |  | 
| 94 99 | 
             
            ## 0.2.1
         | 
| 95 100 |  | 
| 96 | 
            -
             | 
| 101 | 
            +
            - Fix restarting & halting inside the runner.
         | 
| 97 102 |  | 
| 98 103 | 
             
            ## 0.2.0
         | 
| 99 104 |  | 
| 100 | 
            -
             | 
| 105 | 
            +
            - Switched to puma's control server. pid file was too messy.
         | 
| 101 106 |  | 
| 102 107 | 
             
            ## 0.1.0
         | 
| 103 108 |  | 
| 104 | 
            -
             | 
| 109 | 
            +
            - Fixed pid file path. Ready for general consumption.
         | 
| 105 110 |  | 
| 106 111 | 
             
            ## 0.0.x
         | 
| 107 112 |  | 
| 108 | 
            -
             | 
| 109 | 
            -
             | 
| 113 | 
            +
            - Added all CLI options for Puma
         | 
| 114 | 
            +
            - Ported over [guard-rack](https://github.com/dblock/guard-rack)
         | 
    
        data/lib/guard/puma/runner.rb
    CHANGED
    
    | @@ -121,7 +121,7 @@ module Guard | |
| 121 121 | 
             
                end
         | 
| 122 122 |  | 
| 123 123 | 
             
                def nix_cmd(puma_cmd, background = false)
         | 
| 124 | 
            -
                  %(sh -c 'cd #{Dir.pwd} && #{puma_cmd} #{'&' if background}')
         | 
| 124 | 
            +
                  %(sh -c 'cd "#{Dir.pwd}" && #{puma_cmd} #{'&' if background}')
         | 
| 125 125 | 
             
                end
         | 
| 126 126 |  | 
| 127 127 | 
             
                def windows_cmd(puma_cmd, background = false)
         | 
    
        data/lib/guard/puma/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: guard-puma
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.8. | 
| 4 | 
            +
              version: 0.8.1
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Jesse Cooke
         | 
| 8 | 
            -
            autorequire: | 
| 8 | 
            +
            autorequire:
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date:  | 
| 11 | 
            +
            date: 2023-03-18 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: guard
         | 
| @@ -100,7 +100,7 @@ dependencies: | |
| 100 100 | 
             
                - - "~>"
         | 
| 101 101 | 
             
                  - !ruby/object:Gem::Version
         | 
| 102 102 | 
             
                    version: '4.7'
         | 
| 103 | 
            -
            description: | 
| 103 | 
            +
            description:
         | 
| 104 104 | 
             
            email:
         | 
| 105 105 | 
             
            - jesse@jc00ke.com
         | 
| 106 106 | 
             
            executables: []
         | 
| @@ -128,7 +128,7 @@ homepage: https://github.com/jc00ke/guard-puma | |
| 128 128 | 
             
            licenses:
         | 
| 129 129 | 
             
            - MIT
         | 
| 130 130 | 
             
            metadata: {}
         | 
| 131 | 
            -
            post_install_message: | 
| 131 | 
            +
            post_install_message:
         | 
| 132 132 | 
             
            rdoc_options: []
         | 
| 133 133 | 
             
            require_paths:
         | 
| 134 134 | 
             
            - lib
         | 
| @@ -144,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 144 144 | 
             
                  version: '0'
         | 
| 145 145 | 
             
            requirements: []
         | 
| 146 146 | 
             
            rubygems_version: 3.3.7
         | 
| 147 | 
            -
            signing_key: | 
| 147 | 
            +
            signing_key:
         | 
| 148 148 | 
             
            specification_version: 4
         | 
| 149 149 | 
             
            summary: Restart puma when files change
         | 
| 150 150 | 
             
            test_files:
         |