guard-falcon 0.12.0 → 0.13.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: 7b0a7ff9db71d81b1045d6e1a1be5c4fcd2a8bcb62199db6a36369a1cedd8dff
4
- data.tar.gz: 21e08c2302f7c3a2861bb5ca3cc6311cacb198469836404a48994efc238fdbbb
3
+ metadata.gz: e138f9e0a7c2ec228f48a5ea9f0d1b4fd533786e79923b2fa45d979d89c677f3
4
+ data.tar.gz: eb6414031e416a70b0a211bfd3abe3f0bd08f7df836d3e55e8f4be839deedd2b
5
5
  SHA512:
6
- metadata.gz: df23ca209fe67f44c219436f6d824ec2059692b0a2d14b643ec784590911e4ac9d986af42fd9f9622dcd2aabd4505b27b44a9658cbaefa5c644529e6e8b90897
7
- data.tar.gz: b0e5edfb9b7070fa7de69fcf090c23ae8b92da44ad13d3e5f4905edb67944a5cbc59f6e3d5f84b61c4d1bb5da45d2515c6a8ed2c86c6ef6a9a17bccaae22d354
6
+ metadata.gz: 0b9904d8b58e69085e9a144ac1292f8479696e419c27a575e80f83c38deea9feedcae66eb9fe101b06bbc06f5bda9d764ee90eaf3f2e48a333d914d3aa60b0c5
7
+ data.tar.gz: cf7b0ac7af995a33c901c604e22cc81371df2da972537ba7c1b3fb2fd494ccc3ceb3eed47d0f70c21fcbc3523411ad98969c91833769de2b308fadf8bd28b062
checksums.yaml.gz.sig ADDED
Binary file
@@ -22,7 +22,7 @@ require 'guard/compat/plugin'
22
22
 
23
23
  require 'rack/builder'
24
24
 
25
- require 'async/logger'
25
+ require 'console/logger'
26
26
  require 'async/container'
27
27
 
28
28
  require 'falcon/server'
@@ -80,7 +80,7 @@ module Guard
80
80
 
81
81
  # As discussed in https://github.com/guard/guard/issues/713
82
82
  def logger
83
- Async.logger
83
+ Console.logger
84
84
  end
85
85
 
86
86
  def start
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Guard
22
22
  module Falcon
23
- VERSION = "0.12.0"
23
+ VERSION = "0.13.1"
24
24
  end
25
25
  end
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(*args)
26
- Plugin.new(*args)
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,88 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-falcon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
- autorequire:
8
+ - Huba Nagy
9
+ - Olle Jonsson
10
+ autorequire:
9
11
  bindir: bin
10
- cert_chain: []
11
- date: 2020-04-04 00:00:00.000000000 Z
12
+ cert_chain:
13
+ - |
14
+ -----BEGIN CERTIFICATE-----
15
+ MIIE2DCCA0CgAwIBAgIBATANBgkqhkiG9w0BAQsFADBhMRgwFgYDVQQDDA9zYW11
16
+ ZWwud2lsbGlhbXMxHTAbBgoJkiaJk/IsZAEZFg1vcmlvbnRyYW5zZmVyMRIwEAYK
17
+ CZImiZPyLGQBGRYCY28xEjAQBgoJkiaJk/IsZAEZFgJuejAeFw0yMjA4MDYwNDUz
18
+ MjRaFw0zMjA4MDMwNDUzMjRaMGExGDAWBgNVBAMMD3NhbXVlbC53aWxsaWFtczEd
19
+ MBsGCgmSJomT8ixkARkWDW9yaW9udHJhbnNmZXIxEjAQBgoJkiaJk/IsZAEZFgJj
20
+ bzESMBAGCgmSJomT8ixkARkWAm56MIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIB
21
+ igKCAYEAomvSopQXQ24+9DBB6I6jxRI2auu3VVb4nOjmmHq7XWM4u3HL+pni63X2
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ZtPhQgZpfhvh+6hMhraUYRQ6XGyvBqEUe+yo6DKIT3MtGE2+CP
38
+ eX9i9ZWBydWb8/rvmwmX2kkcBbX0hZS1rcR593hGc61JR6lvkGYQ2MYskBveyaxt
39
+ Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
40
+ voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
41
+ -----END CERTIFICATE-----
42
+ date: 2022-08-06 00:00:00.000000000 Z
12
43
  dependencies:
13
44
  - !ruby/object:Gem::Dependency
14
- name: falcon
45
+ name: async-container
15
46
  requirement: !ruby/object:Gem::Requirement
16
47
  requirements:
17
48
  - - "~>"
18
49
  - !ruby/object:Gem::Version
19
- version: '0.35'
50
+ version: '0.16'
20
51
  type: :runtime
21
52
  prerelease: false
22
53
  version_requirements: !ruby/object:Gem::Requirement
23
54
  requirements:
24
55
  - - "~>"
25
56
  - !ruby/object:Gem::Version
26
- version: '0.35'
57
+ version: '0.16'
27
58
  - !ruby/object:Gem::Dependency
28
- name: async-container
59
+ name: console
29
60
  requirement: !ruby/object:Gem::Requirement
30
61
  requirements:
31
62
  - - "~>"
32
63
  - !ruby/object:Gem::Version
33
- version: 0.16.0
64
+ version: '1.0'
34
65
  type: :runtime
35
66
  prerelease: false
36
67
  version_requirements: !ruby/object:Gem::Requirement
37
68
  requirements:
38
69
  - - "~>"
39
70
  - !ruby/object:Gem::Version
40
- version: 0.16.0
71
+ version: '1.0'
72
+ - !ruby/object:Gem::Dependency
73
+ name: falcon
74
+ requirement: !ruby/object:Gem::Requirement
75
+ requirements:
76
+ - - "~>"
77
+ - !ruby/object:Gem::Version
78
+ version: '0.35'
79
+ type: :runtime
80
+ prerelease: false
81
+ version_requirements: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - "~>"
84
+ - !ruby/object:Gem::Version
85
+ version: '0.35'
41
86
  - !ruby/object:Gem::Dependency
42
87
  name: guard
43
88
  requirement: !ruby/object:Gem::Requirement
@@ -67,7 +112,7 @@ dependencies:
67
112
  - !ruby/object:Gem::Version
68
113
  version: '1.2'
69
114
  - !ruby/object:Gem::Dependency
70
- name: covered
115
+ name: bake-bundler
71
116
  requirement: !ruby/object:Gem::Requirement
72
117
  requirements:
73
118
  - - ">="
@@ -95,55 +140,48 @@ dependencies:
95
140
  - !ruby/object:Gem::Version
96
141
  version: '0'
97
142
  - !ruby/object:Gem::Dependency
98
- name: rspec
143
+ name: covered
99
144
  requirement: !ruby/object:Gem::Requirement
100
145
  requirements:
101
- - - "~>"
146
+ - - ">="
102
147
  - !ruby/object:Gem::Version
103
- version: '3.6'
148
+ version: '0'
104
149
  type: :development
105
150
  prerelease: false
106
151
  version_requirements: !ruby/object:Gem::Requirement
107
152
  requirements:
108
- - - "~>"
153
+ - - ">="
109
154
  - !ruby/object:Gem::Version
110
- version: '3.6'
155
+ version: '0'
111
156
  - !ruby/object:Gem::Dependency
112
- name: bake-bundler
157
+ name: rspec
113
158
  requirement: !ruby/object:Gem::Requirement
114
159
  requirements:
115
- - - ">="
160
+ - - "~>"
116
161
  - !ruby/object:Gem::Version
117
- version: '0'
162
+ version: '3.6'
118
163
  type: :development
119
164
  prerelease: false
120
165
  version_requirements: !ruby/object:Gem::Requirement
121
166
  requirements:
122
- - - ">="
167
+ - - "~>"
123
168
  - !ruby/object:Gem::Version
124
- version: '0'
125
- description:
169
+ version: '3.6'
170
+ description:
126
171
  email:
127
- - samuel.williams@oriontransfer.co.nz
128
172
  executables: []
129
173
  extensions: []
130
174
  extra_rdoc_files: []
131
175
  files:
132
- - ".editorconfig"
133
- - ".gitignore"
134
- - ".rspec"
135
- - ".travis.yml"
136
- - Gemfile
137
- - README.md
138
- - guard-falcon.gemspec
139
176
  - lib/guard/falcon.rb
140
177
  - lib/guard/falcon/plugin.rb
141
178
  - lib/guard/falcon/templates/Guardfile
142
179
  - lib/guard/falcon/version.rb
143
180
  homepage: https://github.com/socketry/guard-falcon
144
- licenses: []
181
+ licenses:
182
+ - MIT
145
183
  metadata: {}
146
- post_install_message:
184
+ post_install_message:
147
185
  rdoc_options: []
148
186
  require_paths:
149
187
  - lib
@@ -158,8 +196,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
158
196
  - !ruby/object:Gem::Version
159
197
  version: '0'
160
198
  requirements: []
161
- rubygems_version: 3.1.2
162
- signing_key:
199
+ rubygems_version: 3.3.7
200
+ signing_key:
163
201
  specification_version: 4
164
202
  summary: A guard plugin to run an instance of the falcon web server.
165
203
  test_files: []
metadata.gz.sig ADDED
Binary file
data/.editorconfig DELETED
@@ -1,6 +0,0 @@
1
- root = true
2
-
3
- [*]
4
- indent_style = tab
5
- indent_size = 2
6
-
data/.gitignore DELETED
@@ -1,12 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /Gemfile.lock
4
- /_yardoc/
5
- /coverage/
6
- /doc/
7
- /pkg/
8
- /spec/reports/
9
- /tmp/
10
-
11
- # rspec failure tracking
12
- .rspec_status
data/.rspec DELETED
@@ -1,3 +0,0 @@
1
- --format documentation
2
- --warnings
3
- --require spec_helper
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
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in guard-falcon.gemspec
4
- gemspec
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/guard-falcon.gemspec DELETED
@@ -1,30 +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 "covered"
27
- spec.add_development_dependency "bundler"
28
- spec.add_development_dependency "rspec", "~> 3.6"
29
- spec.add_development_dependency "bake-bundler"
30
- end