guard 2.16.2 → 2.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -2
- data/lib/guard/jobs/pry_wrapper.rb +12 -2
- data/lib/guard/plugin_util.rb +1 -1
- data/lib/guard/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 909f2f0b8875294f9d73116fdcf9c0499cdd3e1e928db9fd8a0517ab7045f5e0
|
4
|
+
data.tar.gz: 0bd68633d9e2051c2912d01f941d16a601120379bdf841a688d850fa3a1be462
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e25b07345fe9097d6e837ee1747e69df8c4d83d06c35e92548a96a2212dacfb1cee2016b74ad5fbb78ed74a2ade54ba17a844e305d6e45d8a194c722e3e84d25
|
7
|
+
data.tar.gz: 5ac8af0c983be8956442afa34e814865cdf3fec6616f7b3a5b8e6c7bb61339abe9b10332b45be5213ad910f2e1fb4a62fb2287a8ddb258d5b7ff45404ca562cc
|
data/README.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
# Guard
|
2
2
|
|
3
|
-
**IMPORTANT:
|
3
|
+
**IMPORTANT: Please upgrade to Ruby >= 2.4 before installing Guard! To install for older versions, update Bundler at least 1.12: `gem update bundler` and Bundler should correctly resolve to earlier gems for your given Ruby version.**
|
4
|
+
|
5
|
+
- [Ruby 2.1 is officially outdated and unsupported!](https://www.ruby-lang.org/en/news/2016/03/30/ruby-2-1-9-released/)
|
6
|
+
- [Ruby 2.2 is officially outdated and unsupported!](https://www.ruby-lang.org/en/news/2018/06/20/support-of-ruby-2-2-has-ended/)
|
7
|
+
- [Ruby 2.3 is officially outdated and unsupported!](https://www.ruby-lang.org/en/news/2019/03/31/support-of-ruby-2-3-has-ended/)
|
4
8
|
|
5
9
|
:exclamation: Guard is currently accepting more maintainers. Please [read this](https://github.com/guard/guard/wiki/Maintainers) if you're interested in joining the team.
|
6
10
|
|
@@ -32,7 +36,7 @@ Before you file an issue, make sure you have read the _[known issues](#issues)_
|
|
32
36
|
* File system changes handled by our awesome [Listen](https://github.com/guard/listen) gem.
|
33
37
|
* Support for visual system notifications.
|
34
38
|
* Huge eco-system with [more than 300](https://rubygems.org/search?query=guard-) Guard plugins.
|
35
|
-
* Tested against the latest Ruby 2.
|
39
|
+
* Tested against the latest Ruby 2.4.x, 2.5.x, 2.6.x, JRuby & Rubinius. See [`.travis-ci.yml`](https://github.com/guard/guard/blob/master/.travis.yml) for the exact versions.
|
36
40
|
|
37
41
|
## Screencast
|
38
42
|
|
@@ -40,11 +40,21 @@ module Guard
|
|
40
40
|
class PryWrapper < Base
|
41
41
|
# The default Ruby script to configure Guard Pry if the option `:guard_rc`
|
42
42
|
# is not defined.
|
43
|
-
|
43
|
+
|
44
|
+
GUARD_RC = if ENV["XDG_CONFIG_HOME"] && File.exist?(ENV["XDG_CONFIG_HOME"] + "/guard/guardrc")
|
45
|
+
ENV["XDG_CONFIG_HOME"] + "/guard/guardrc"
|
46
|
+
else
|
47
|
+
"~/.guardrc"
|
48
|
+
end
|
44
49
|
|
45
50
|
# The default Guard Pry history file if the option `:history_file` is not
|
46
51
|
# defined.
|
47
|
-
|
52
|
+
|
53
|
+
HISTORY_FILE = if ENV["XDG_DATA_HOME"] && File.exist?(ENV["XDG_DATA_HOME"] + "/guard/history")
|
54
|
+
ENV["XDG_DATA_HOME"] + "/guard/history"
|
55
|
+
else
|
56
|
+
"~/.guard_history"
|
57
|
+
end
|
48
58
|
|
49
59
|
# List of shortcuts for each interactor command
|
50
60
|
SHORTCUTS = {
|
data/lib/guard/plugin_util.rb
CHANGED
data/lib/guard/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.17.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thibaud Guillaume-Gentil
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -219,7 +219,7 @@ homepage: http://guardgem.org
|
|
219
219
|
licenses:
|
220
220
|
- MIT
|
221
221
|
metadata: {}
|
222
|
-
post_install_message:
|
222
|
+
post_install_message:
|
223
223
|
rdoc_options: []
|
224
224
|
require_paths:
|
225
225
|
- lib
|
@@ -234,8 +234,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
234
234
|
- !ruby/object:Gem::Version
|
235
235
|
version: '0'
|
236
236
|
requirements: []
|
237
|
-
rubygems_version: 3.
|
238
|
-
signing_key:
|
237
|
+
rubygems_version: 3.2.15
|
238
|
+
signing_key:
|
239
239
|
specification_version: 4
|
240
240
|
summary: Guard keeps an eye on your file modifications
|
241
241
|
test_files: []
|