guard 2.16.2 → 2.18.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 +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9bc4f16fcb5313bd7482ee1968c9292198956a24f44d0a20622313ef50ea840f
|
4
|
+
data.tar.gz: 86448d1f2f36026d02dab3da8d0ba6ed1a9fcc0219708ed2f61e1e9a857e60bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ad2f478c89e07aca1e113acffc7efcf556818962186b0b853353eb1e32470e821d43b3d5aab7c3313c5028ce717b05a78c5e394db67a60d0f7251c3e56ca19a
|
7
|
+
data.tar.gz: 7f2565eded7d35d4b143c164600c3e8f606f15cf307890455cdadd5dd980820faa3967f4fb30e620fbce85f92ce7c1dbe4163460eb77074f5a5137c21325ec01
|
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.18.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thibaud Guillaume-Gentil
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -50,14 +50,14 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - ">="
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 0.
|
53
|
+
version: 0.13.0
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - ">="
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 0.
|
60
|
+
version: 0.13.0
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: lumberjack
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -234,7 +234,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
234
234
|
- !ruby/object:Gem::Version
|
235
235
|
version: '0'
|
236
236
|
requirements: []
|
237
|
-
rubygems_version: 3.
|
237
|
+
rubygems_version: 3.1.4
|
238
238
|
signing_key:
|
239
239
|
specification_version: 4
|
240
240
|
summary: Guard keeps an eye on your file modifications
|