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 +4 -4
- data/.github/workflows/ci.yml +4 -5
- data/CHANGES.md +48 -39
- data/README.md +1 -0
- data/guard-puma.gemspec +2 -1
- 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 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 893d2d1958ed86350dfa71363a42711bd9bde5cd97aaab101ec2c1111b666afc
|
4
|
+
data.tar.gz: fb61f5dd559b08cd1cc657f392257420600c3028d69dd987c6bc45cc2c05e8ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5ab30340889b440a0fc7a856dcbde6328e725cb35593324fa8869861149ca45a757671afc75ec48ab5e121def8292a702271470cd407031b9cd9c525040387d
|
7
|
+
data.tar.gz: 1b1534dfdad3e88782467ebf5590494eed92d57db93146ea7605ac7d23091c9c54763c52fbbc71983951cc7212b69dd34860eca2f319577994271f01f3d34fe8
|
data/.github/workflows/ci.yml
CHANGED
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
|
-
|
13
|
+
- Bump puma to 6.0
|
6
14
|
|
7
15
|
## 0.7.0
|
8
16
|
|
9
|
-
|
10
|
-
|
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
|
-
|
22
|
+
- Bump puma to 4.0
|
15
23
|
|
16
24
|
## 0.5.2
|
17
25
|
|
18
|
-
|
26
|
+
- Default config to `-` instead of `nil`. Fixes #38
|
19
27
|
|
20
28
|
## 0.5.1
|
21
29
|
|
22
|
-
|
30
|
+
- Detect and use `config/puma.rb` if present
|
23
31
|
|
24
32
|
## 0.5.0
|
25
33
|
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
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
|
-
|
45
|
+
- Improve notifications. Via #30
|
37
46
|
|
38
47
|
## 0.4.0
|
39
48
|
|
40
|
-
|
49
|
+
- Support Windows with custom start command. Via #29
|
41
50
|
|
42
51
|
## 0.3.6
|
43
52
|
|
44
|
-
|
53
|
+
- Use a secure random token by default for the control token. Fixes #23
|
45
54
|
|
46
55
|
## 0.3.5
|
47
56
|
|
48
|
-
|
57
|
+
- If puma crashed don't fail when trying to restart. Fixes #22
|
49
58
|
|
50
59
|
## 0.3.4
|
51
60
|
|
52
|
-
|
61
|
+
- Respect the environment when using a config file. Fixes #21
|
53
62
|
|
54
63
|
## 0.3.3
|
55
64
|
|
56
|
-
|
57
|
-
|
58
|
-
|
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
|
-
|
63
|
-
|
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
|
-
|
68
|
-
|
76
|
+
- Update RSpec to 3.1.0+
|
77
|
+
- Fix Travis CI builds on Rubinius
|
69
78
|
|
70
79
|
## 0.3.0
|
71
80
|
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
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
|
-
|
80
|
-
|
88
|
+
- Change rb-inotify and libnotify to be development dependencies
|
89
|
+
- Update test Rubies
|
81
90
|
|
82
91
|
## 0.2.4
|
83
92
|
|
84
|
-
|
93
|
+
- Fix bug where runner not respecting environment set in Guard options
|
85
94
|
|
86
95
|
## 0.2.3
|
87
96
|
|
88
|
-
|
97
|
+
- Add quiet flag to suppress output
|
89
98
|
|
90
99
|
## 0.2.2
|
91
100
|
|
92
|
-
|
101
|
+
- Remove unused dependency on RestClient.
|
93
102
|
|
94
103
|
## 0.2.1
|
95
104
|
|
96
|
-
|
105
|
+
- Fix restarting & halting inside the runner.
|
97
106
|
|
98
107
|
## 0.2.0
|
99
108
|
|
100
|
-
|
109
|
+
- Switched to puma's control server. pid file was too messy.
|
101
110
|
|
102
111
|
## 0.1.0
|
103
112
|
|
104
|
-
|
113
|
+
- Fixed pid file path. Ready for general consumption.
|
105
114
|
|
106
115
|
## 0.0.x
|
107
116
|
|
108
|
-
|
109
|
-
|
117
|
+
- Added all CLI options for Puma
|
118
|
+
- Ported over [guard-rack](https://github.com/dblock/guard-rack)
|
data/README.md
CHANGED
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", "<
|
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"
|
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,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-puma
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 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:
|
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: '
|
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: '
|
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: '
|
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.
|
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:
|