guard-puma 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +28 -0
- data/CHANGES.md +4 -0
- data/README.md +8 -0
- data/guard-puma.gemspec +1 -1
- data/lib/guard/puma/runner.rb +1 -0
- data/lib/guard/puma/version.rb +1 -1
- metadata +6 -6
- data/.travis.yml +0 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a1d847cbaeea25542c7fb7886e959f27eee88f23ad4218f1034310d196e2c55
|
4
|
+
data.tar.gz: 8106c9d374e602f484743acc6863305a0ab50b19d36dee245d2b4f2cb58e97b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eaa82652cb439b97aca96fc755aab145c46728f24f0fe9fe91a49530f71a4b10c3c545b902989be71c60bb2530419b0286394537e867acd71bb3f5a8d4f9b8fe
|
7
|
+
data.tar.gz: 3e8a9c1af7776ff691d7a53287ad3d385f0934cc0e172c78548dd7c2dcf0c0a20c908b78c92e8f39f2f08f8e86925611d3b920aea3cf573515648fc224db9f11
|
@@ -0,0 +1,28 @@
|
|
1
|
+
name: ci
|
2
|
+
on: [push, pull_request]
|
3
|
+
jobs:
|
4
|
+
test:
|
5
|
+
name: Ruby ${{ matrix.ruby }} with Puma ${{ matrix.puma_version }}
|
6
|
+
strategy:
|
7
|
+
matrix:
|
8
|
+
ruby:
|
9
|
+
- 3.1
|
10
|
+
- 3.0
|
11
|
+
- 2.7
|
12
|
+
- 2.6
|
13
|
+
- 2.5
|
14
|
+
puma_version:
|
15
|
+
- "~> 6.0"
|
16
|
+
- "~> 5.0"
|
17
|
+
- "~> 4.0"
|
18
|
+
runs-on: ubuntu-latest
|
19
|
+
steps:
|
20
|
+
- uses: actions/checkout@v2
|
21
|
+
- uses: ruby/setup-ruby@v1
|
22
|
+
env:
|
23
|
+
PUMA_VERSION: ${{ matrix.puma_version }}
|
24
|
+
with:
|
25
|
+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
26
|
+
bundler: ${{ matrix.bundler || 2 }}
|
27
|
+
ruby-version: ${{ matrix.ruby }}
|
28
|
+
- run: bundle exec rake
|
data/CHANGES.md
CHANGED
data/README.md
CHANGED
@@ -28,6 +28,14 @@ guard 'puma', :port => 4000 do
|
|
28
28
|
end
|
29
29
|
```
|
30
30
|
|
31
|
+
Run `guard-puma` with `bundle exec guard`.
|
32
|
+
|
33
|
+
Note that if you're running `guard-puma` in Docker, you'll additionally need to pass the `-i` argument to your command in order to disable all terminal interactions, for example:
|
34
|
+
|
35
|
+
```
|
36
|
+
CMD ["bundle", "exec", "guard", "-i"]
|
37
|
+
```
|
38
|
+
|
31
39
|
## Options
|
32
40
|
|
33
41
|
* `:port` is the port number to run on (default `4000`)
|
data/guard-puma.gemspec
CHANGED
@@ -16,7 +16,7 @@ Gem::Specification.new do |gem|
|
|
16
16
|
gem.version = Guard::PumaVersion::VERSION
|
17
17
|
gem.add_dependency "guard", "~> 2.14"
|
18
18
|
gem.add_dependency "guard-compat", "~> 1.2"
|
19
|
-
gem.add_dependency "puma", ENV["PUMA_VERSION"] || [">= 4.0", "<
|
19
|
+
gem.add_dependency "puma", ENV["PUMA_VERSION"] || [">= 4.0", "< 7"]
|
20
20
|
gem.add_development_dependency "rake", "~> 12"
|
21
21
|
gem.add_development_dependency "rspec", "~> 3.7"
|
22
22
|
gem.add_development_dependency "guard-rspec", "~> 4.7"
|
data/lib/guard/puma/runner.rb
CHANGED
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.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jesse Cooke
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: guard
|
@@ -47,7 +47,7 @@ dependencies:
|
|
47
47
|
version: '4.0'
|
48
48
|
- - "<"
|
49
49
|
- !ruby/object:Gem::Version
|
50
|
-
version: '
|
50
|
+
version: '7'
|
51
51
|
type: :runtime
|
52
52
|
prerelease: false
|
53
53
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -57,7 +57,7 @@ dependencies:
|
|
57
57
|
version: '4.0'
|
58
58
|
- - "<"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '
|
60
|
+
version: '7'
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: rake
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,8 +108,8 @@ extensions: []
|
|
108
108
|
extra_rdoc_files: []
|
109
109
|
files:
|
110
110
|
- ".editorconfig"
|
111
|
+
- ".github/workflows/ci.yml"
|
111
112
|
- ".gitignore"
|
112
|
-
- ".travis.yml"
|
113
113
|
- CHANGES.md
|
114
114
|
- Gemfile
|
115
115
|
- Guardfile
|
@@ -143,7 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
143
143
|
- !ruby/object:Gem::Version
|
144
144
|
version: '0'
|
145
145
|
requirements: []
|
146
|
-
rubygems_version: 3.
|
146
|
+
rubygems_version: 3.3.7
|
147
147
|
signing_key:
|
148
148
|
specification_version: 4
|
149
149
|
summary: Restart puma when files change
|
data/.travis.yml
DELETED