guard-falcon 0.11.0 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/guard/falcon/plugin.rb +2 -2
- data/lib/guard/falcon/version.rb +1 -1
- data/lib/guard/falcon.rb +2 -2
- data.tar.gz.sig +0 -0
- metadata +81 -31
- metadata.gz.sig +2 -0
- data/.editorconfig +0 -6
- data/.gitignore +0 -12
- data/.rspec +0 -3
- data/.travis.yml +0 -24
- data/Gemfile +0 -8
- data/README.md +0 -62
- data/Rakefile +0 -6
- data/guard-falcon.gemspec +0 -29
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f98b56715d37daed05a2164600824a56ebf6a60f6dd5eec37199e3a2b366f2a8
|
4
|
+
data.tar.gz: 00fd7981ef51c713192edd6cb504597e603febd0d67caf02ca2154e37ebc5356
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c720d8413115fac695b01b06b0c622fd02db7b50a3339b131acd8edeeba8490d3620b5e7f5e46b78b75f566ca422f4ed025c541e2e3bbd42b85a22ea05400b30
|
7
|
+
data.tar.gz: c2a71496c370e8abda2aa6a7d6de72d5c77bcf1064b0572137217f6e6527c547848759905686fb8135ad7f94027f04b3f8d180522c5cf86afd00e5da4d585fd4
|
checksums.yaml.gz.sig
ADDED
Binary file
|
data/lib/guard/falcon/plugin.rb
CHANGED
@@ -22,7 +22,7 @@ require 'guard/compat/plugin'
|
|
22
22
|
|
23
23
|
require 'rack/builder'
|
24
24
|
|
25
|
-
require '
|
25
|
+
require 'console/logger'
|
26
26
|
require 'async/container'
|
27
27
|
|
28
28
|
require 'falcon/server'
|
@@ -75,7 +75,7 @@ module Guard
|
|
75
75
|
def load_app
|
76
76
|
rack_app, options = Rack::Builder.parse_file(@options[:config])
|
77
77
|
|
78
|
-
return ::Falcon::Server.middleware(rack_app, verbose: @options[:verbose])
|
78
|
+
return ::Falcon::Server.middleware(rack_app, verbose: @options[:verbose])
|
79
79
|
end
|
80
80
|
|
81
81
|
# As discussed in https://github.com/guard/guard/issues/713
|
data/lib/guard/falcon/version.rb
CHANGED
data/lib/guard/falcon.rb
CHANGED
@@ -22,8 +22,8 @@ require_relative 'falcon/plugin'
|
|
22
22
|
|
23
23
|
module Guard
|
24
24
|
module Falcon
|
25
|
-
def self.new(*
|
26
|
-
Plugin.new(*
|
25
|
+
def self.new(*arguments, **options)
|
26
|
+
Plugin.new(*arguments, **options)
|
27
27
|
end
|
28
28
|
|
29
29
|
# Workaround for https://github.com/guard/guard/pull/872
|
data.tar.gz.sig
ADDED
Binary file
|
metadata
CHANGED
@@ -1,43 +1,87 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-falcon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
|
-
|
8
|
+
- Huba Nagy
|
9
|
+
- Olle Jonsson
|
10
|
+
autorequire:
|
9
11
|
bindir: bin
|
10
|
-
cert_chain:
|
11
|
-
|
12
|
+
cert_chain:
|
13
|
+
- |
|
14
|
+
-----BEGIN CERTIFICATE-----
|
15
|
+
MIIEhDCCAuygAwIBAgIBATANBgkqhkiG9w0BAQsFADA3MTUwMwYDVQQDDCxzYW11
|
16
|
+
ZWwud2lsbGlhbXMvREM9b3Jpb250cmFuc2Zlci9EQz1jby9EQz1uejAeFw0yMTA4
|
17
|
+
MTYwNjMzNDRaFw0yMjA4MTYwNjMzNDRaMDcxNTAzBgNVBAMMLHNhbXVlbC53aWxs
|
18
|
+
aWFtcy9EQz1vcmlvbnRyYW5zZmVyL0RDPWNvL0RDPW56MIIBojANBgkqhkiG9w0B
|
19
|
+
AQEFAAOCAY8AMIIBigKCAYE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+
x9KCFaR8Lvn/r0oJWJOqb/DMAYI83YeN2Dlt3jpwrsmsONrtC5S3gOUle5afSGos
|
35
|
+
bYt5ocnEpKSomR9ZtnCGljds/aeO1Xgpn2r9HHcjwnH346iNrnHmMlC7BtHUFPDg
|
36
|
+
Ts92S47PTOXzwPBDsrFiq3VLbRjHSwf8rpqybQBH9MfzxGGxTaETQYOd6b4e4Ag6
|
37
|
+
y92abGna0bmIEb4+Tx9rQ10Uijh1POzvr/VTH4bbIPy9FbKrRsIQ24qDbNJRtOpE
|
38
|
+
RAOsIl+HOBTb252nx1kIRN5hqQx272AJCbCjKx8egcUQKffFVVCI0nye09v5CK+a
|
39
|
+
HiLJ8VOFx6w=
|
40
|
+
-----END CERTIFICATE-----
|
41
|
+
date: 2022-08-06 00:00:00.000000000 Z
|
12
42
|
dependencies:
|
13
43
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
44
|
+
name: async-container
|
15
45
|
requirement: !ruby/object:Gem::Requirement
|
16
46
|
requirements:
|
17
47
|
- - "~>"
|
18
48
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
49
|
+
version: '0.16'
|
20
50
|
type: :runtime
|
21
51
|
prerelease: false
|
22
52
|
version_requirements: !ruby/object:Gem::Requirement
|
23
53
|
requirements:
|
24
54
|
- - "~>"
|
25
55
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0.
|
56
|
+
version: '0.16'
|
27
57
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
58
|
+
name: console
|
59
|
+
requirement: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - "~>"
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '1.0'
|
64
|
+
type: :runtime
|
65
|
+
prerelease: false
|
66
|
+
version_requirements: !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
68
|
+
- - "~>"
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '1.0'
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: falcon
|
29
73
|
requirement: !ruby/object:Gem::Requirement
|
30
74
|
requirements:
|
31
75
|
- - "~>"
|
32
76
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
77
|
+
version: '0.35'
|
34
78
|
type: :runtime
|
35
79
|
prerelease: false
|
36
80
|
version_requirements: !ruby/object:Gem::Requirement
|
37
81
|
requirements:
|
38
82
|
- - "~>"
|
39
83
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
84
|
+
version: '0.35'
|
41
85
|
- !ruby/object:Gem::Dependency
|
42
86
|
name: guard
|
43
87
|
requirement: !ruby/object:Gem::Requirement
|
@@ -67,7 +111,7 @@ dependencies:
|
|
67
111
|
- !ruby/object:Gem::Version
|
68
112
|
version: '1.2'
|
69
113
|
- !ruby/object:Gem::Dependency
|
70
|
-
name: bundler
|
114
|
+
name: bake-bundler
|
71
115
|
requirement: !ruby/object:Gem::Requirement
|
72
116
|
requirements:
|
73
117
|
- - ">="
|
@@ -81,21 +125,21 @@ dependencies:
|
|
81
125
|
- !ruby/object:Gem::Version
|
82
126
|
version: '0'
|
83
127
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
128
|
+
name: bundler
|
85
129
|
requirement: !ruby/object:Gem::Requirement
|
86
130
|
requirements:
|
87
|
-
- - "
|
131
|
+
- - ">="
|
88
132
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
133
|
+
version: '0'
|
90
134
|
type: :development
|
91
135
|
prerelease: false
|
92
136
|
version_requirements: !ruby/object:Gem::Requirement
|
93
137
|
requirements:
|
94
|
-
- - "
|
138
|
+
- - ">="
|
95
139
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
140
|
+
version: '0'
|
97
141
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
142
|
+
name: covered
|
99
143
|
requirement: !ruby/object:Gem::Requirement
|
100
144
|
requirements:
|
101
145
|
- - ">="
|
@@ -108,29 +152,35 @@ dependencies:
|
|
108
152
|
- - ">="
|
109
153
|
- !ruby/object:Gem::Version
|
110
154
|
version: '0'
|
111
|
-
|
155
|
+
- !ruby/object:Gem::Dependency
|
156
|
+
name: rspec
|
157
|
+
requirement: !ruby/object:Gem::Requirement
|
158
|
+
requirements:
|
159
|
+
- - "~>"
|
160
|
+
- !ruby/object:Gem::Version
|
161
|
+
version: '3.6'
|
162
|
+
type: :development
|
163
|
+
prerelease: false
|
164
|
+
version_requirements: !ruby/object:Gem::Requirement
|
165
|
+
requirements:
|
166
|
+
- - "~>"
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
version: '3.6'
|
169
|
+
description:
|
112
170
|
email:
|
113
|
-
- samuel.williams@oriontransfer.co.nz
|
114
171
|
executables: []
|
115
172
|
extensions: []
|
116
173
|
extra_rdoc_files: []
|
117
174
|
files:
|
118
|
-
- ".editorconfig"
|
119
|
-
- ".gitignore"
|
120
|
-
- ".rspec"
|
121
|
-
- ".travis.yml"
|
122
|
-
- Gemfile
|
123
|
-
- README.md
|
124
|
-
- Rakefile
|
125
|
-
- guard-falcon.gemspec
|
126
175
|
- lib/guard/falcon.rb
|
127
176
|
- lib/guard/falcon/plugin.rb
|
128
177
|
- lib/guard/falcon/templates/Guardfile
|
129
178
|
- lib/guard/falcon/version.rb
|
130
179
|
homepage: https://github.com/socketry/guard-falcon
|
131
|
-
licenses:
|
180
|
+
licenses:
|
181
|
+
- MIT
|
132
182
|
metadata: {}
|
133
|
-
post_install_message:
|
183
|
+
post_install_message:
|
134
184
|
rdoc_options: []
|
135
185
|
require_paths:
|
136
186
|
- lib
|
@@ -145,8 +195,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
145
195
|
- !ruby/object:Gem::Version
|
146
196
|
version: '0'
|
147
197
|
requirements: []
|
148
|
-
rubygems_version: 3.
|
149
|
-
signing_key:
|
198
|
+
rubygems_version: 3.3.7
|
199
|
+
signing_key:
|
150
200
|
specification_version: 4
|
151
201
|
summary: A guard plugin to run an instance of the falcon web server.
|
152
202
|
test_files: []
|
metadata.gz.sig
ADDED
@@ -0,0 +1,2 @@
|
|
1
|
+
pv?�r��&��~�^��r�������)G����+Xl�P�����.:t6��zj�Ym���HߎQybyS��������3}�奜������;�Ġ+�9P`U�ߩe���"�(�O���y�K���1�u�p�:��[T�����p:#���%?�텅O ��}d1~֭�.I慌:��5䜝�'�8a��g���w����T�ǫ��Vq�%�ᤚ�]��j.���0_ݣ,�iu;�����ga�Zx2��w��14�%f)M��/��?��/�JD7v����j�S�p�_��G�
|
2
|
+
�R�a���O���.���7��`/�}BVM.ie��tAO�W�����Ԕ���&pa�퓵}Hk�������p��&ȉ��[P��
|
data/.editorconfig
DELETED
data/.gitignore
DELETED
data/.rspec
DELETED
data/.travis.yml
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
dist: xenial
|
3
|
-
cache: bundler
|
4
|
-
|
5
|
-
matrix:
|
6
|
-
include:
|
7
|
-
- rvm: 2.4
|
8
|
-
- rvm: 2.5
|
9
|
-
- rvm: 2.6
|
10
|
-
- rvm: 2.7
|
11
|
-
- rvm: 2.6
|
12
|
-
env: COVERAGE=Summary,Coveralls
|
13
|
-
- rvm: 2.7
|
14
|
-
- rvm: truffleruby
|
15
|
-
- rvm: jruby-head
|
16
|
-
env: JRUBY_OPTS="--debug -X+O"
|
17
|
-
- rvm: ruby-head
|
18
|
-
- rvm: 2.6
|
19
|
-
os: osx
|
20
|
-
allow_failures:
|
21
|
-
- rvm: truffleruby
|
22
|
-
- rvm: ruby-head
|
23
|
-
- rvm: jruby-head
|
24
|
-
- rvm: truffleruby
|
data/Gemfile
DELETED
data/README.md
DELETED
@@ -1,62 +0,0 @@
|
|
1
|
-
# Guard::Falcon
|
2
|
-
|
3
|
-
Efficiently runs a asynchronous Falcon server, restarting it as required by guard.
|
4
|
-
|
5
|
-
[![Build Status](https://secure.travis-ci.org/socketry/guard-falcon.svg)](http://travis-ci.org/socketry/guard-falcon)
|
6
|
-
[![Code Climate](https://codeclimate.com/github/socketry/guard-falcon.svg)](https://codeclimate.com/github/socketry/guard-falcon)
|
7
|
-
[![Coverage Status](https://coveralls.io/repos/socketry/guard-falcon/badge.svg)](https://coveralls.io/r/socketry/guard-falcon)
|
8
|
-
|
9
|
-
## Installation
|
10
|
-
|
11
|
-
Add this line to your application's Gemfile:
|
12
|
-
|
13
|
-
```ruby
|
14
|
-
gem 'guard-falcon'
|
15
|
-
```
|
16
|
-
|
17
|
-
And then execute:
|
18
|
-
|
19
|
-
$ bundle
|
20
|
-
|
21
|
-
## Usage
|
22
|
-
|
23
|
-
Falcon can restart very quickly and is ideal for use with guard. In your `Guardfile`:
|
24
|
-
|
25
|
-
```ruby
|
26
|
-
|
27
|
-
guard :falcon do
|
28
|
-
end
|
29
|
-
|
30
|
-
```
|
31
|
-
|
32
|
-
## Contributing
|
33
|
-
|
34
|
-
1. Fork it
|
35
|
-
2. Create your feature branch (`git checkout -b my-new-feature`)
|
36
|
-
3. Commit your changes (`git commit -am 'Add some feature'`)
|
37
|
-
4. Push to the branch (`git push origin my-new-feature`)
|
38
|
-
5. Create new Pull Request
|
39
|
-
|
40
|
-
## License
|
41
|
-
|
42
|
-
Released under the MIT license.
|
43
|
-
|
44
|
-
Copyright, 2017, by [Samuel G. D. Williams](http://www.codeotaku.com/samuel-williams).
|
45
|
-
|
46
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
47
|
-
of this software and associated documentation files (the "Software"), to deal
|
48
|
-
in the Software without restriction, including without limitation the rights
|
49
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
50
|
-
copies of the Software, and to permit persons to whom the Software is
|
51
|
-
furnished to do so, subject to the following conditions:
|
52
|
-
|
53
|
-
The above copyright notice and this permission notice shall be included in
|
54
|
-
all copies or substantial portions of the Software.
|
55
|
-
|
56
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
57
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
58
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
59
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
60
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
61
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
62
|
-
THE SOFTWARE.
|
data/Rakefile
DELETED
data/guard-falcon.gemspec
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
|
2
|
-
require_relative 'lib/guard/falcon/version'
|
3
|
-
|
4
|
-
Gem::Specification.new do |spec|
|
5
|
-
spec.name = "guard-falcon"
|
6
|
-
spec.version = Guard::Falcon::VERSION
|
7
|
-
spec.authors = ["Samuel Williams"]
|
8
|
-
spec.email = ["samuel.williams@oriontransfer.co.nz"]
|
9
|
-
|
10
|
-
spec.summary = "A guard plugin to run an instance of the falcon web server."
|
11
|
-
spec.homepage = "https://github.com/socketry/guard-falcon"
|
12
|
-
|
13
|
-
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
14
|
-
f.match(%r{^(test|spec|features)/})
|
15
|
-
end
|
16
|
-
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
17
|
-
spec.require_paths = ["lib"]
|
18
|
-
|
19
|
-
spec.add_dependency("falcon", "~> 0.35")
|
20
|
-
|
21
|
-
spec.add_dependency("async-container", "~> 0.16.0")
|
22
|
-
|
23
|
-
spec.add_dependency("guard")
|
24
|
-
spec.add_dependency("guard-compat", "~> 1.2")
|
25
|
-
|
26
|
-
spec.add_development_dependency "bundler"
|
27
|
-
spec.add_development_dependency "rspec", "~> 3.6"
|
28
|
-
spec.add_development_dependency "rake"
|
29
|
-
end
|