guard 2.3.0 → 2.4.0
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 +4 -4
- data/LICENSE +1 -1
- data/README.md +6 -6
- data/lib/guard/commands/show.rb +1 -1
- data/lib/guard/dsl.rb +1 -1
- data/lib/guard/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92ad4b938632516836b137027518c5ce1b078ede
|
4
|
+
data.tar.gz: 106f21643bca890f75c08c49a618497577e057b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cfa0c07f4c42e02df37ba8efca2cc0d4b28b67c83d827c601d7066840d994bb166fa66eeb41a840132e6bf193a94eb14672b124c834d7676c7d8c55265a943c5
|
7
|
+
data.tar.gz: fcc4854eeefb682c40ad6c11081c5214217ed7eaa13c30123b5d02befd96926fb30a15df110e0f41eef0dd405d8b89d3bbd3faf925da547413b97867b168fe1c
|
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Guard [](http://badge.fury.io/rb/guard) [](https://travis-ci.org/guard/guard) [](https://gemnasium.com/guard/guard) [](https://codeclimate.com/github/guard/guard) [](https://coveralls.io/r/guard/guard)
|
2
2
|
=====
|
3
3
|
|
4
|
-
<img src="http://
|
4
|
+
<img src="http://cl.ly/image/1k3o1r2Z3a0J/guard-Icon.png" alt="Guard Icon" align="right" />
|
5
5
|
Guard is a command line tool to easily handle events on file system modifications.
|
6
6
|
|
7
7
|
This document contains a lot of information, please take your time and read these instructions carefully. If you have
|
@@ -23,7 +23,7 @@ Before you file an issue, make sure you have read the _[known issues](#issues)_
|
|
23
23
|
* File system changes handled by our awesome [Listen](https://github.com/guard/listen) gem.
|
24
24
|
* Support for visual system notifications.
|
25
25
|
* Huge eco-system with [more than 220](https://rubygems.org/search?query=guard-) Guard plugins.
|
26
|
-
* Tested against Ruby 1.9.3, 2.0.0,
|
26
|
+
* Tested against Ruby 1.9.3, 2.0.0, 2.1.0, JRuby & Rubinius.
|
27
27
|
|
28
28
|
#### Screencast
|
29
29
|
|
@@ -437,7 +437,7 @@ guard :bundler do
|
|
437
437
|
end
|
438
438
|
```
|
439
439
|
|
440
|
-
String watch patterns are matched with [String#==](http://www.ruby-doc.org/core-1.9.
|
440
|
+
String watch patterns are matched with [String#==](http://www.ruby-doc.org/core-1.9.3/String.html#method-i-3D-3D).
|
441
441
|
You can also pass a regular expression to the watch method:
|
442
442
|
|
443
443
|
```ruby
|
@@ -462,7 +462,7 @@ end
|
|
462
462
|
|
463
463
|
In this example the regular expression capture group `(.+)` is used to transform a file change
|
464
464
|
in the `lib` folder to its test case in the `spec` folder. Regular expression watch patterns
|
465
|
-
are matched with [Regexp#match](http://www.ruby-doc.org/core-1.9.
|
465
|
+
are matched with [Regexp#match](http://www.ruby-doc.org/core-1.9.3/Regexp.html#method-i-match).
|
466
466
|
|
467
467
|
You can also launch any arbitrary command in the supplied block:
|
468
468
|
|
@@ -752,9 +752,9 @@ Please try to follow these simple rules:
|
|
752
752
|
|
753
753
|
#### Core Team
|
754
754
|
|
755
|
-
* [Michael Kessler](https://github.com/netzpirat) ([@netzpirat](http://twitter.com/netzpirat), [
|
755
|
+
* [Michael Kessler](https://github.com/netzpirat) ([@netzpirat](http://twitter.com/netzpirat), [flinkfinger.com](http://www.flinkfinger.com))
|
756
756
|
* [Rémy Coutable](https://github.com/rymai)
|
757
|
-
* [Thibaud Guillaume-Gentil](https://github.com/thibaudgg) ([@thibaudgg](http://twitter.com/thibaudgg), [thibaud.
|
757
|
+
* [Thibaud Guillaume-Gentil](https://github.com/thibaudgg) ([@thibaudgg](http://twitter.com/thibaudgg), [thibaud.gg](http://thibaud.gg/))
|
758
758
|
|
759
759
|
#### Contributors
|
760
760
|
|
data/lib/guard/commands/show.rb
CHANGED
data/lib/guard/dsl.rb
CHANGED
@@ -234,7 +234,7 @@ module Guard
|
|
234
234
|
# @param [Regexp] regexps a pattern (or list of patterns) for ignoring paths
|
235
235
|
#
|
236
236
|
def ignore(*regexps)
|
237
|
-
::Guard.listener.ignore(
|
237
|
+
::Guard.listener.ignore(regexps) if ::Guard.listener
|
238
238
|
end
|
239
239
|
alias filter ignore
|
240
240
|
|
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.4.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: 2014-
|
11
|
+
date: 2014-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -110,7 +110,7 @@ dependencies:
|
|
110
110
|
version: 3.0.0.beta1
|
111
111
|
description: Guard is a command line tool to easily handle events on file system modifications.
|
112
112
|
email:
|
113
|
-
- thibaud@thibaud.
|
113
|
+
- thibaud@thibaud.gg
|
114
114
|
executables:
|
115
115
|
- guard
|
116
116
|
extensions: []
|
@@ -185,7 +185,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
185
185
|
requirements:
|
186
186
|
- - ">="
|
187
187
|
- !ruby/object:Gem::Version
|
188
|
-
version: 1.9.
|
188
|
+
version: 1.9.3
|
189
189
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
190
190
|
requirements:
|
191
191
|
- - ">="
|