guard-puma 0.8.0 → 0.9.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3a1d847cbaeea25542c7fb7886e959f27eee88f23ad4218f1034310d196e2c55
4
- data.tar.gz: 8106c9d374e602f484743acc6863305a0ab50b19d36dee245d2b4f2cb58e97b3
3
+ metadata.gz: 893d2d1958ed86350dfa71363a42711bd9bde5cd97aaab101ec2c1111b666afc
4
+ data.tar.gz: fb61f5dd559b08cd1cc657f392257420600c3028d69dd987c6bc45cc2c05e8ad
5
5
  SHA512:
6
- metadata.gz: eaa82652cb439b97aca96fc755aab145c46728f24f0fe9fe91a49530f71a4b10c3c545b902989be71c60bb2530419b0286394537e867acd71bb3f5a8d4f9b8fe
7
- data.tar.gz: 3e8a9c1af7776ff691d7a53287ad3d385f0934cc0e172c78548dd7c2dcf0c0a20c908b78c92e8f39f2f08f8e86925611d3b920aea3cf573515648fc224db9f11
6
+ metadata.gz: d5ab30340889b440a0fc7a856dcbde6328e725cb35593324fa8869861149ca45a757671afc75ec48ab5e121def8292a702271470cd407031b9cd9c525040387d
7
+ data.tar.gz: 1b1534dfdad3e88782467ebf5590494eed92d57db93146ea7605ac7d23091c9c54763c52fbbc71983951cc7212b69dd34860eca2f319577994271f01f3d34fe8
@@ -6,12 +6,11 @@ jobs:
6
6
  strategy:
7
7
  matrix:
8
8
  ruby:
9
- - 3.1
10
- - 3.0
11
- - 2.7
12
- - 2.6
13
- - 2.5
9
+ - 3.4
10
+ - 3.3
11
+ - 3.2
14
12
  puma_version:
13
+ - "~> 7.0"
15
14
  - "~> 6.0"
16
15
  - "~> 5.0"
17
16
  - "~> 4.0"
data/CHANGES.md CHANGED
@@ -1,109 +1,118 @@
1
1
  # Changes
2
2
 
3
+ ## 0.9.0
4
+
5
+ - Bump puma to 7.0
6
+
7
+ ## 0.8.1
8
+
9
+ - Fix sh command for directories with spaces on unix-based systems
10
+
3
11
  ## 0.8.0
4
12
 
5
- * Bump puma to 6.0
13
+ - Bump puma to 6.0
6
14
 
7
15
  ## 0.7.0
8
16
 
9
- * Add MIT license identifier in gemspec. Via #45
10
- * Remove support for MRI 2.2|3 and bump other versions
17
+ - Add MIT license identifier in gemspec. Via #45
18
+ - Remove support for MRI 2.2|3 and bump other versions
11
19
 
12
20
  ## 0.6.0
13
21
 
14
- * Bump puma to 4.0
22
+ - Bump puma to 4.0
15
23
 
16
24
  ## 0.5.2
17
25
 
18
- * Default config to `-` instead of `nil`. Fixes #38
26
+ - Default config to `-` instead of `nil`. Fixes #38
19
27
 
20
28
  ## 0.5.1
21
29
 
22
- * Detect and use `config/puma.rb` if present
30
+ - Detect and use `config/puma.rb` if present
23
31
 
24
32
  ## 0.5.0
25
33
 
26
- * Add `:pumactl` option
27
- * Add `:restart_timeout` option
28
- * Don't stop Puma if it was not started by Guard
29
- * Don't notify about start when no start
30
- * Improve `guard-compat` using (https://github.com/guard/guard-compat#migrating-your-api-calls)
31
- * Remove unused `pry` dependency
32
- * Update versions of dependencies
34
+ - Add `:pumactl` option
35
+ - Add `:restart_timeout` option
36
+ - Don't stop Puma if it was not started by Guard
37
+ - Don't notify about start when no start
38
+ - Improve `guard-compat` using
39
+ (https://github.com/guard/guard-compat#migrating-your-api-calls)
40
+ - Remove unused `pry` dependency
41
+ - Update versions of dependencies
33
42
 
34
43
  ## 0.4.1
35
44
 
36
- * Improve notifications. Via #30
45
+ - Improve notifications. Via #30
37
46
 
38
47
  ## 0.4.0
39
48
 
40
- * Support Windows with custom start command. Via #29
49
+ - Support Windows with custom start command. Via #29
41
50
 
42
51
  ## 0.3.6
43
52
 
44
- * Use a secure random token by default for the control token. Fixes #23
53
+ - Use a secure random token by default for the control token. Fixes #23
45
54
 
46
55
  ## 0.3.5
47
56
 
48
- * If puma crashed don't fail when trying to restart. Fixes #22
57
+ - If puma crashed don't fail when trying to restart. Fixes #22
49
58
 
50
59
  ## 0.3.4
51
60
 
52
- * Respect the environment when using a config file. Fixes #21
61
+ - Respect the environment when using a config file. Fixes #21
53
62
 
54
63
  ## 0.3.3
55
64
 
56
- * Update deps
57
- * Kill testing Ruby < 2.2.5
58
- * Fix control when using `--config`
65
+ - Update deps
66
+ - Kill testing Ruby < 2.2.5
67
+ - Fix control when using `--config`
59
68
 
60
69
  ## 0.3.2
61
70
 
62
- * Update Guardfile to support new options
63
- * Let --config take precedence over default options
71
+ - Update Guardfile to support new options
72
+ - Let --config take precedence over default options
64
73
 
65
74
  ## 0.3.1
66
75
 
67
- * Update RSpec to 3.1.0+
68
- * Fix Travis CI builds on Rubinius
76
+ - Update RSpec to 3.1.0+
77
+ - Fix Travis CI builds on Rubinius
69
78
 
70
79
  ## 0.3.0
71
80
 
72
- * Depend on rake 10.2+
73
- * Update Guard::Puma initialize method to accept only options hash
74
- * Depend on Guard 2.8+
75
- * Get environment from RACK_ENV by default
81
+ - Depend on rake 10.2+
82
+ - Update Guard::Puma initialize method to accept only options hash
83
+ - Depend on Guard 2.8+
84
+ - Get environment from RACK_ENV by default
76
85
 
77
86
  ## 0.2.5
78
87
 
79
- * Change rb-inotify and libnotify to be development dependencies
80
- * Update test Rubies
88
+ - Change rb-inotify and libnotify to be development dependencies
89
+ - Update test Rubies
81
90
 
82
91
  ## 0.2.4
83
92
 
84
- * Fix bug where runner not respecting environment set in Guard options
93
+ - Fix bug where runner not respecting environment set in Guard options
85
94
 
86
95
  ## 0.2.3
87
96
 
88
- * Add quiet flag to suppress output
97
+ - Add quiet flag to suppress output
89
98
 
90
99
  ## 0.2.2
91
100
 
92
- * Remove unused dependency on RestClient.
101
+ - Remove unused dependency on RestClient.
93
102
 
94
103
  ## 0.2.1
95
104
 
96
- * Fix restarting & halting inside the runner.
105
+ - Fix restarting & halting inside the runner.
97
106
 
98
107
  ## 0.2.0
99
108
 
100
- * Switched to puma's control server. pid file was too messy.
109
+ - Switched to puma's control server. pid file was too messy.
101
110
 
102
111
  ## 0.1.0
103
112
 
104
- * Fixed pid file path. Ready for general consumption.
113
+ - Fixed pid file path. Ready for general consumption.
105
114
 
106
115
  ## 0.0.x
107
116
 
108
- * Added all CLI options for Puma
109
- * Ported over [guard-rack](https://github.com/dblock/guard-rack)
117
+ - Added all CLI options for Puma
118
+ - Ported over [guard-rack](https://github.com/dblock/guard-rack)
data/README.md CHANGED
@@ -60,6 +60,7 @@ CMD ["bundle", "exec", "guard", "-i"]
60
60
  ## Contributing
61
61
 
62
62
  1. Fork it
63
+ 1. `mise install`
63
64
  1. Create your feature branch (`git checkout -b my-new-feature`)
64
65
  1. Leave the version alone!
65
66
  1. Add what you changed to CHANGES.md
data/guard-puma.gemspec CHANGED
@@ -7,6 +7,7 @@ Gem::Specification.new do |gem|
7
7
  gem.summary = %q{Restart puma when files change }
8
8
  gem.homepage = "https://github.com/jc00ke/guard-puma"
9
9
  gem.license = "MIT"
10
+ gem.required_ruby_version = ">= 3.2"
10
11
 
11
12
  gem.files = `git ls-files`.split($\)
12
13
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
@@ -16,7 +17,7 @@ Gem::Specification.new do |gem|
16
17
  gem.version = Guard::PumaVersion::VERSION
17
18
  gem.add_dependency "guard", "~> 2.14"
18
19
  gem.add_dependency "guard-compat", "~> 1.2"
19
- gem.add_dependency "puma", ENV["PUMA_VERSION"] || [">= 4.0", "< 7"]
20
+ gem.add_dependency "puma", ENV["PUMA_VERSION"] || [">= 4.0", "< 8"]
20
21
  gem.add_development_dependency "rake", "~> 12"
21
22
  gem.add_development_dependency "rspec", "~> 3.7"
22
23
  gem.add_development_dependency "guard-rspec", "~> 4.7"
@@ -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)
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module PumaVersion
3
- VERSION = "0.8.0"
3
+ VERSION = '0.9.0'
4
4
  end
5
5
  end
@@ -50,7 +50,7 @@ describe Guard::PumaRunner do
50
50
  end
51
51
 
52
52
  let(:command) {
53
- %(sh -c 'cd #{Dir.pwd} && pumactl #{runner.cmd_opts} #{cmd} ')
53
+ %(sh -c 'cd "#{Dir.pwd}" && pumactl #{runner.cmd_opts} #{cmd} ')
54
54
  }
55
55
 
56
56
  it "#{cmd}s" do
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-puma
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jesse Cooke
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2022-10-27 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: guard
@@ -47,7 +46,7 @@ dependencies:
47
46
  version: '4.0'
48
47
  - - "<"
49
48
  - !ruby/object:Gem::Version
50
- version: '7'
49
+ version: '8'
51
50
  type: :runtime
52
51
  prerelease: false
53
52
  version_requirements: !ruby/object:Gem::Requirement
@@ -57,7 +56,7 @@ dependencies:
57
56
  version: '4.0'
58
57
  - - "<"
59
58
  - !ruby/object:Gem::Version
60
- version: '7'
59
+ version: '8'
61
60
  - !ruby/object:Gem::Dependency
62
61
  name: rake
63
62
  requirement: !ruby/object:Gem::Requirement
@@ -100,7 +99,6 @@ dependencies:
100
99
  - - "~>"
101
100
  - !ruby/object:Gem::Version
102
101
  version: '4.7'
103
- description:
104
102
  email:
105
103
  - jesse@jc00ke.com
106
104
  executables: []
@@ -128,7 +126,6 @@ homepage: https://github.com/jc00ke/guard-puma
128
126
  licenses:
129
127
  - MIT
130
128
  metadata: {}
131
- post_install_message:
132
129
  rdoc_options: []
133
130
  require_paths:
134
131
  - lib
@@ -136,15 +133,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
136
133
  requirements:
137
134
  - - ">="
138
135
  - !ruby/object:Gem::Version
139
- version: '0'
136
+ version: '3.2'
140
137
  required_rubygems_version: !ruby/object:Gem::Requirement
141
138
  requirements:
142
139
  - - ">="
143
140
  - !ruby/object:Gem::Version
144
141
  version: '0'
145
142
  requirements: []
146
- rubygems_version: 3.3.7
147
- signing_key:
143
+ rubygems_version: 3.6.9
148
144
  specification_version: 4
149
145
  summary: Restart puma when files change
150
146
  test_files: