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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c4882d80d8bb73e013141fc821e88c95a5cf8cf2c2cb1597de1d266951dda350
4
- data.tar.gz: db041e9db3a6612ad08c77d10c40245675e41b4022366e36ac2a23b6390cc4a5
3
+ metadata.gz: 3a1d847cbaeea25542c7fb7886e959f27eee88f23ad4218f1034310d196e2c55
4
+ data.tar.gz: 8106c9d374e602f484743acc6863305a0ab50b19d36dee245d2b4f2cb58e97b3
5
5
  SHA512:
6
- metadata.gz: 742d39e52c73797a1bfae1d5744a3744a0ee13672ca5c950aa610739614f6647db02153935e72b264c53719aac2a0d1b3992dc5bad5545c48b802c4c0868d94f
7
- data.tar.gz: f4e46ba7c2cfdbfb9726bcbf23099456efe4a22cc30b7424f27edaf21dc86a08bd7647e9a463ed99b9dfb302f341914054be89c0800f5c804cb487c42e522d73
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
@@ -1,5 +1,9 @@
1
1
  # Changes
2
2
 
3
+ ## 0.8.0
4
+
5
+ * Bump puma to 6.0
6
+
3
7
  ## 0.7.0
4
8
 
5
9
  * Add MIT license identifier in gemspec. Via #45
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", "< 6"]
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"
@@ -1,4 +1,5 @@
1
1
  require 'net/http'
2
+ require 'puma/detect'
2
3
  require 'puma/configuration'
3
4
 
4
5
  module Guard
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module PumaVersion
3
- VERSION = "0.7.0"
3
+ VERSION = "0.8.0"
4
4
  end
5
5
  end
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.7.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: 2021-02-26 00:00:00.000000000 Z
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: '6'
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: '6'
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.1.2
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
@@ -1,15 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- rvm:
4
- - 2.5.5
5
- - 2.6.3
6
- - 2.7.0-preview1
7
- - rbx
8
- - jruby-9.2.2.0
9
- env:
10
- - PUMA_VERSION="~> 5.0"
11
- - PUMA_VERSION="~> 4.0"
12
- matrix:
13
- allow_failures:
14
- - rvm: rbx
15
- - rvm: 2.7.0-preview1