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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3a1d847cbaeea25542c7fb7886e959f27eee88f23ad4218f1034310d196e2c55
4
- data.tar.gz: 8106c9d374e602f484743acc6863305a0ab50b19d36dee245d2b4f2cb58e97b3
3
+ metadata.gz: a8c0c95376af755bc14c0d2a035404e68f1cf334b0e911c77c36f3c3a5a119b2
4
+ data.tar.gz: 0d237582d109553ed4988e994a82ab6545aa91542e26f750ed48c78568df354d
5
5
  SHA512:
6
- metadata.gz: eaa82652cb439b97aca96fc755aab145c46728f24f0fe9fe91a49530f71a4b10c3c545b902989be71c60bb2530419b0286394537e867acd71bb3f5a8d4f9b8fe
7
- data.tar.gz: 3e8a9c1af7776ff691d7a53287ad3d385f0934cc0e172c78548dd7c2dcf0c0a20c908b78c92e8f39f2f08f8e86925611d3b920aea3cf573515648fc224db9f11
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
- * Bump puma to 6.0
9
+ - Bump puma to 6.0
6
10
 
7
11
  ## 0.7.0
8
12
 
9
- * Add MIT license identifier in gemspec. Via #45
10
- * Remove support for MRI 2.2|3 and bump other versions
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
- * Bump puma to 4.0
18
+ - Bump puma to 4.0
15
19
 
16
20
  ## 0.5.2
17
21
 
18
- * Default config to `-` instead of `nil`. Fixes #38
22
+ - Default config to `-` instead of `nil`. Fixes #38
19
23
 
20
24
  ## 0.5.1
21
25
 
22
- * Detect and use `config/puma.rb` if present
26
+ - Detect and use `config/puma.rb` if present
23
27
 
24
28
  ## 0.5.0
25
29
 
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
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
- * Improve notifications. Via #30
41
+ - Improve notifications. Via #30
37
42
 
38
43
  ## 0.4.0
39
44
 
40
- * Support Windows with custom start command. Via #29
45
+ - Support Windows with custom start command. Via #29
41
46
 
42
47
  ## 0.3.6
43
48
 
44
- * Use a secure random token by default for the control token. Fixes #23
49
+ - Use a secure random token by default for the control token. Fixes #23
45
50
 
46
51
  ## 0.3.5
47
52
 
48
- * If puma crashed don't fail when trying to restart. Fixes #22
53
+ - If puma crashed don't fail when trying to restart. Fixes #22
49
54
 
50
55
  ## 0.3.4
51
56
 
52
- * Respect the environment when using a config file. Fixes #21
57
+ - Respect the environment when using a config file. Fixes #21
53
58
 
54
59
  ## 0.3.3
55
60
 
56
- * Update deps
57
- * Kill testing Ruby < 2.2.5
58
- * Fix control when using `--config`
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
- * Update Guardfile to support new options
63
- * Let --config take precedence over default options
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
- * Update RSpec to 3.1.0+
68
- * Fix Travis CI builds on Rubinius
72
+ - Update RSpec to 3.1.0+
73
+ - Fix Travis CI builds on Rubinius
69
74
 
70
75
  ## 0.3.0
71
76
 
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
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
- * Change rb-inotify and libnotify to be development dependencies
80
- * Update test Rubies
84
+ - Change rb-inotify and libnotify to be development dependencies
85
+ - Update test Rubies
81
86
 
82
87
  ## 0.2.4
83
88
 
84
- * Fix bug where runner not respecting environment set in Guard options
89
+ - Fix bug where runner not respecting environment set in Guard options
85
90
 
86
91
  ## 0.2.3
87
92
 
88
- * Add quiet flag to suppress output
93
+ - Add quiet flag to suppress output
89
94
 
90
95
  ## 0.2.2
91
96
 
92
- * Remove unused dependency on RestClient.
97
+ - Remove unused dependency on RestClient.
93
98
 
94
99
  ## 0.2.1
95
100
 
96
- * Fix restarting & halting inside the runner.
101
+ - Fix restarting & halting inside the runner.
97
102
 
98
103
  ## 0.2.0
99
104
 
100
- * Switched to puma's control server. pid file was too messy.
105
+ - Switched to puma's control server. pid file was too messy.
101
106
 
102
107
  ## 0.1.0
103
108
 
104
- * Fixed pid file path. Ready for general consumption.
109
+ - Fixed pid file path. Ready for general consumption.
105
110
 
106
111
  ## 0.0.x
107
112
 
108
- * Added all CLI options for Puma
109
- * Ported over [guard-rack](https://github.com/dblock/guard-rack)
113
+ - Added all CLI options for Puma
114
+ - Ported over [guard-rack](https://github.com/dblock/guard-rack)
@@ -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.8.1'
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,14 @@
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.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: 2022-10-27 00:00:00.000000000 Z
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: