guard 0.8.4 → 0.8.5
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.
- data/CHANGELOG.md +348 -330
- data/LICENSE +19 -19
- data/README.md +464 -431
- data/bin/guard +6 -6
- data/lib/guard.rb +452 -414
- data/lib/guard/cli.rb +119 -178
- data/lib/guard/dsl.rb +370 -370
- data/lib/guard/dsl_describer.rb +150 -60
- data/lib/guard/group.rb +37 -37
- data/lib/guard/guard.rb +129 -113
- data/lib/guard/hook.rb +118 -118
- data/lib/guard/interactor.rb +110 -44
- data/lib/guard/listener.rb +350 -350
- data/lib/guard/listeners/darwin.rb +66 -66
- data/lib/guard/listeners/linux.rb +97 -97
- data/lib/guard/listeners/polling.rb +55 -55
- data/lib/guard/listeners/windows.rb +61 -61
- data/lib/guard/notifier.rb +290 -211
- data/lib/guard/templates/Guardfile +2 -2
- data/lib/guard/ui.rb +193 -188
- data/lib/guard/version.rb +6 -6
- data/lib/guard/watcher.rb +114 -110
- data/man/guard.1 +93 -93
- data/man/guard.1.html +176 -176
- metadata +107 -59
data/CHANGELOG.md
CHANGED
@@ -1,330 +1,348 @@
|
|
1
|
-
## 0.8.
|
2
|
-
|
3
|
-
###
|
4
|
-
|
5
|
-
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
###
|
25
|
-
|
26
|
-
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
-
|
60
|
-
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
- [#
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
-
|
134
|
-
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
###
|
152
|
-
|
153
|
-
-
|
154
|
-
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
- [#
|
161
|
-
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
-
|
177
|
-
|
178
|
-
## 0.4.0
|
179
|
-
|
180
|
-
### Bug
|
181
|
-
|
182
|
-
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
-
|
187
|
-
-
|
188
|
-
|
189
|
-
###
|
190
|
-
|
191
|
-
- [#
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
- [#
|
198
|
-
- [#
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
-
|
209
|
-
-
|
210
|
-
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
-
|
246
|
-
- [#
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
###
|
259
|
-
|
260
|
-
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
-
|
276
|
-
|
277
|
-
## 0.2.
|
278
|
-
|
279
|
-
###
|
280
|
-
|
281
|
-
-
|
282
|
-
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
[
|
289
|
-
[
|
290
|
-
[@
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
[@
|
297
|
-
[@
|
298
|
-
|
299
|
-
[@
|
300
|
-
[@
|
301
|
-
[@
|
302
|
-
[@
|
303
|
-
[@
|
304
|
-
[@
|
305
|
-
[@
|
306
|
-
[@
|
307
|
-
[@
|
308
|
-
[@
|
309
|
-
[@
|
310
|
-
[@
|
311
|
-
[@
|
312
|
-
[@
|
313
|
-
[@
|
314
|
-
[@
|
315
|
-
[@
|
316
|
-
[@
|
317
|
-
[@
|
318
|
-
[@
|
319
|
-
[@
|
320
|
-
[@
|
321
|
-
[@
|
322
|
-
[@
|
323
|
-
[@
|
324
|
-
[@
|
325
|
-
[@
|
326
|
-
[@
|
327
|
-
[@
|
328
|
-
[@
|
329
|
-
[@
|
330
|
-
[@
|
1
|
+
## 0.8.5 - October 17, 2011
|
2
|
+
|
3
|
+
### Improvements
|
4
|
+
|
5
|
+
- `reload` and `run_all` Guard terminal interactions actions can be scoped to only run on a certain guard or group. ([@thibaudgg][])
|
6
|
+
- Add cli option (-i / --no-interactions) to turn off Guard terminal interactions. ([@thibaudgg][])
|
7
|
+
- Add support for Growl Notification Transport Protocol. ([@netzpirat][])
|
8
|
+
- [#157](https://github.com/guard/guard/pull/157): Allow any return from the Guard watchers. ([@earlonrails][])
|
9
|
+
- [#156](https://github.com/guard/guard/pull/156): Log error and diagnostic messages to STDERR. ([@sunaku][])
|
10
|
+
- [#152](https://github.com/guard/guard/pull/152): Growl Notify API update for a graceful fail. ([@scottdavis][])
|
11
|
+
|
12
|
+
### Bug fix
|
13
|
+
|
14
|
+
- [#149](https://github.com/guard/guard/issues/160): Avoid `Guard is not missing constant ...` exceptions. (reported by [@earlonrails][], fixed by [@netzpirat][])
|
15
|
+
|
16
|
+
## 0.8.4 - October 3, 2011
|
17
|
+
|
18
|
+
### Bug fix
|
19
|
+
|
20
|
+
- [#149](https://github.com/guard/guard/issues/149) & [#150](https://github.com/guard/guard/pull/150): Fix issue where interator thread was continuing to capture input from stdin while a guard is being executed. (reported by [@hardipe][], fixed by [@f1sherman][])
|
21
|
+
|
22
|
+
## 0.8.3 - October 1, 2011
|
23
|
+
|
24
|
+
### Bug fix
|
25
|
+
|
26
|
+
- [#145](https://github.com/guard/guard/pull/145): Fix over-utilization of CPU in Interactor. ([@johnbintz][])
|
27
|
+
|
28
|
+
### Improvements
|
29
|
+
|
30
|
+
- [#146](https://github.com/guard/guard/pull/146): Use a mutex instead of a lock for more efficient/simple locking. ([@f1sherman][])
|
31
|
+
- Make Guard implementation of `:task_has_failed` simple. ([@netzpirat][])
|
32
|
+
|
33
|
+
## 0.8.2 - September 30, 2011
|
34
|
+
|
35
|
+
### Bug fix
|
36
|
+
|
37
|
+
- Fixed guard stop to prevent run_guard_task(:stop) to be skipped [guard-spork issue #28](https://github.com/guard/guard-spork/issues/28). ([@thibaudgg][])
|
38
|
+
|
39
|
+
### Improvement
|
40
|
+
|
41
|
+
- Update docs regarding :task_has_failed. ([@netzpirat][])
|
42
|
+
|
43
|
+
## 0.8.1 - September 29, 2011
|
44
|
+
|
45
|
+
### Bug fix
|
46
|
+
|
47
|
+
- [#144](https://github.com/guard/guard/pull/144): Fix `guard init`. (reported by [@fabioyamate][], fixed by [@rymai][])
|
48
|
+
|
49
|
+
## 0.8.0 - September 28, 2011
|
50
|
+
|
51
|
+
### Bug fixes
|
52
|
+
|
53
|
+
- [#137](https://github.com/guard/guard/pull/137): Fix interacting with tools like ruby-debug. ([@hron][] & [@netzpirat][])
|
54
|
+
- [#138](https://github.com/guard/guard/pull/138): Fixed comments in example scaffold to reference interactions. ([@rmm5t][] & [@netzpirat][])
|
55
|
+
|
56
|
+
### New feature
|
57
|
+
|
58
|
+
- [#136](https://github.com/guard/guard/pull/136): New CLI `:watch_all_modifications`/`-A` option to watch for deleted and moved files too. ([@limeyd][] & [@netzpirat][])
|
59
|
+
- [#97](https://github.com/guard/guard/issues/97): Guard dependencies. Task execution can now be halted if a Guard throws `:task_has_failed` and `Guard::Dsl#group` options include `:halt_on_fail => true`. ([@rymai][])
|
60
|
+
- [#121](https://github.com/guard/guard/issues/121): `Guard.guards` and `Guard.groups` are now smart accessors. Filters can be passed to find a specific Guard/group or several Guards/groups that match (see YARDoc). ([@rymai][] & [@ches][])
|
61
|
+
- New `Guard::Group` class to store groups defined in Guardfile (with `Guard::Dsl#group`). ([@rymai][])
|
62
|
+
|
63
|
+
### Improvements
|
64
|
+
|
65
|
+
- Specs refactoring. ([@netzpirat][])
|
66
|
+
- Full YARD documentation. ([@netzpirat][] & a little of [@rymai][])
|
67
|
+
|
68
|
+
## 0.7.0 - September 14, 2011
|
69
|
+
|
70
|
+
## 0.7.0.rc1 - September 5, 2011
|
71
|
+
|
72
|
+
### Major Changes
|
73
|
+
|
74
|
+
- Posix Signals handlers (`Ctrl-C`, `Ctrl-\` and `Ctrl-Z`) are no more supported and replaced by `$stdin.gets`. Please refer to the "Interactions" section in the README for more information. ([@thibaudgg][])
|
75
|
+
- JRuby & Rubinius support (beta). ([@thibaudgg][] & [@netzpirat][])
|
76
|
+
|
77
|
+
### New features
|
78
|
+
|
79
|
+
- [#42](https://github.com/guard/guard/pull/42): New DSL method: `callback` allows you to execute arbitrary code before or after any of the `start`, `stop`, `reload`, `run_all` and `run_on_change` guards' method. New [Wiki page](https://github.com/guard/guard/wiki/Hooks-and-callbacks) for documenting it. ([@monocle][] & [@rymai][])
|
80
|
+
- Ability to 'pause' files modification listening. Please refer to the "Interactions" section in the README for more information. ([@thibaudgg][])
|
81
|
+
|
82
|
+
### Improvement
|
83
|
+
|
84
|
+
- Remove the need to scan the whole directory after guard's `run_on_change` method. ([@thibaudgg][])
|
85
|
+
|
86
|
+
## 0.6.3 - September 1, 2011
|
87
|
+
|
88
|
+
### New features
|
89
|
+
|
90
|
+
- [#130](https://github.com/guard/guard/pull/130): Adds `ignore_paths` method to DSL. ([@ianwhite][])
|
91
|
+
- [#128](https://github.com/guard/guard/pull/128): Users can add additional settings to `~/.guard.rb` that augment the existing Guardfile. ([@tpope][])
|
92
|
+
|
93
|
+
## 0.6.2 - August 17, 2011
|
94
|
+
|
95
|
+
### Bug fixes
|
96
|
+
|
97
|
+
- Re-add the possibility to use the `growl` gem since the `growl_notify` gem this is currently known to not work in conjunction with Spork. ([@netzpirat][])
|
98
|
+
- Ensure that scoped groups and group name are symbolized before checking for inclusion. ([@rymai][])
|
99
|
+
|
100
|
+
### New features
|
101
|
+
|
102
|
+
- Groups are now stored in a `@groups` variable (will be used for future features). ([@rymai][])
|
103
|
+
- Guards will now receive their group in the options hash at initialization (will be used for future features). ([@rymai][])
|
104
|
+
|
105
|
+
### Improvement
|
106
|
+
|
107
|
+
- Explain the growl/growl_notify differences in the README. ([@netzpirat][])
|
108
|
+
|
109
|
+
## 0.6.1 - August 15, 2011
|
110
|
+
|
111
|
+
### Bug fixes
|
112
|
+
|
113
|
+
- [#120](https://github.com/guard/guard/pull/120): remove `guardfile_contents` when re-evaluating so that the Guardfile gets reloaded correctly. ([@mordaroso][])
|
114
|
+
- [#119](https://github.com/guard/guard/pull/119): `Dsl.evaluate_guardfile` uses all groups if none specified. ([@ches][])
|
115
|
+
|
116
|
+
## 0.6.0 - August 13, 2011
|
117
|
+
|
118
|
+
### Bug fixes
|
119
|
+
|
120
|
+
- Pull request [#107](https://github.com/guard/guard/pull/107): Small spelling fix. ([@dnagir][])
|
121
|
+
- `Dir.glob` now ignores files that don't need to be watched. ([@rymai][])
|
122
|
+
|
123
|
+
### New feature
|
124
|
+
|
125
|
+
- Pull request [#112](https://github.com/guard/guard/pull/112): Add `list` command to CLI. ([@docwhat][])
|
126
|
+
|
127
|
+
### Improvements
|
128
|
+
|
129
|
+
- [#99](https://github.com/guard/guard/pull/99): [OS X] Switch from growl gem to growl_notify gem. ([@johnbintz][])
|
130
|
+
- [#115](https://github.com/guard/guard/pull/115): [Linux] Add `:transient => true` to default libnotify options. ([@zonque][])
|
131
|
+
- [#95](https://github.com/guard/guard/pull/95): Output system commands and options to be executed when in debug mode. ([@uk-ar][] and [@netzpirat][])
|
132
|
+
- `Guard::Dsl.revaluate_guardfile` has been renamed to `Guard::Dsl.reevaluate_guardfile`. ([@rymai][])
|
133
|
+
- New CLI options: ([@nestegg][])
|
134
|
+
- `watchdir`/`-w` to specify the directory in which Guard should watch for changes,
|
135
|
+
- `guardfile`/`-G` to specify an alternate location for the Guardfile to use.
|
136
|
+
- [#90](https://github.com/guard/guard/pull/90): Refactoring of color handling in the `Guard::UI`. ([@stereobooster][])
|
137
|
+
|
138
|
+
## 0.5.1 - July 2, 2011
|
139
|
+
|
140
|
+
### Bug fix
|
141
|
+
|
142
|
+
- Fixed `guard show` command. ([@bronson][] & [@thibaudgg][])
|
143
|
+
|
144
|
+
## 0.5.0 - July 2, 2011
|
145
|
+
|
146
|
+
### New features
|
147
|
+
|
148
|
+
- Guard::Ego is now part of Guard, so Guardfile is automagically re-evaluated when modified. ([@thibaudgg][])
|
149
|
+
- [#91](https://github.com/guard/guard/pull/91): Show Guards in Guardfile with the `guard -T`. ([@johnbintz][])
|
150
|
+
|
151
|
+
### Improvements
|
152
|
+
|
153
|
+
- [#98](https://github.com/guard/guard/issues/98): Multiple calls per watch event on linux with rb-inotify. ([@jeffutter][] & [@netzpirat][])
|
154
|
+
- [#94](https://github.com/guard/guard/pull/94): Show backtrace in terminal when a problem with a watch action occurs. ([@capotej][])
|
155
|
+
- [#88](https://github.com/guard/guard/pull/88): Write exception trace in the terminal when a supervised task fail. ([@mcmire][])
|
156
|
+
- Color in red the "ERROR:" flag when using `UI.error`. ([@rymai][])
|
157
|
+
- [#79](https://github.com/guard/guard/issues/79) and Pull request [#82](https://github.com/guard/guard/pull/82): Improve INotify support on Linux. ([@Gazer][] & [@yannlugrin][])
|
158
|
+
- [#12](https://github.com/guard/guard/issues/12) and Pull request [#86](https://github.com/guard/guard/pull/86): Eventually exits with SystemStackError. ([@stereobooster][])
|
159
|
+
- [#84](https://github.com/guard/guard/pull/84): Use RbConfig instead of obsolete and deprecated Config. ([@etehtsea][])
|
160
|
+
- [#80](https://github.com/guard/guard/pull/80): Watching dotfile (hidden files under unix). (reported by [@chrisberkhout][], fixed by [@yannlugrin][])
|
161
|
+
- Clear the terminal on start when the `:clear` option is given. ([@rymai][])
|
162
|
+
- Rename home directory Guardfile to `.Guardfile`. ([@tpope][])
|
163
|
+
|
164
|
+
## 0.4.2 - June 7, 2011
|
165
|
+
|
166
|
+
### Bug fixes
|
167
|
+
|
168
|
+
- Fixed Guard::Version in ruby 1.8.7 ([@thibaudgg][])
|
169
|
+
- Fix ([@mislav][]) link in CHANGELOG (Note: this is a recursive CHANGELOG item). ([@fnichol][])
|
170
|
+
|
171
|
+
## 0.4.1 - June 7, 2011
|
172
|
+
|
173
|
+
### Improvements
|
174
|
+
|
175
|
+
- [#77](https://github.com/guard/guard/pull/77): Refactor `get_guard_class` to first try the constant and fallback to require + various tweaks. ([@mislav][])
|
176
|
+
- Notifier improvement, don't use system notification library if could not be required. ([@yannlugrin][])
|
177
|
+
|
178
|
+
## 0.4.0 - June 5, 2011
|
179
|
+
|
180
|
+
### Bug fix
|
181
|
+
|
182
|
+
- In Ruby < 1.9, `Symbol#downcase` doesn't exist! ([@rymai][])
|
183
|
+
|
184
|
+
### New features
|
185
|
+
|
186
|
+
- [#73](https://github.com/guard/guard/pull/73): Allow DSL's `group` method to accept a Symbol as group name. ([@johnbintz][])
|
187
|
+
- [#51](https://github.com/guard/guard/pull/51): Allow options (like `:priority`) to be passed through to the Notifier. ([@indirect][] & [@netzpirat][])
|
188
|
+
|
189
|
+
### Improvement
|
190
|
+
|
191
|
+
- [#74](https://github.com/guard/guard/pull/74): Added link definitions to make the CHANGELOG more DRY! That's for sure now, we have the cleanest CHANGELOG ever! (even the link definitions are sorted alphabetically!) ([@pcreux][])
|
192
|
+
|
193
|
+
## 0.4.0.rc - May 28, 2011
|
194
|
+
|
195
|
+
### Bug fixes
|
196
|
+
|
197
|
+
- [#69](https://github.com/guard/guard/pull/69): Fixed typo in README: `Ctr-/` => `Ctr-\`. ([@tinogomes][])
|
198
|
+
- [#66](https://github.com/guard/guard/pull/66): Support for dashes in guard names. ([@johnbintz][])
|
199
|
+
- Require `guard/ui` because `Guard::Notifier` can be required without full Guard. ([@yannlugrin][])
|
200
|
+
- Handled quick file (<1s) modification. Avoid to catch modified files without content modification (sha1 checksum). ([@thibaudgg][] & [@netzpirat][])
|
201
|
+
- Fixed `Guard::Notifier` (when growl/libnotify not present). ([@thibaudgg][])
|
202
|
+
- Fixed Rubygems deprecation messages. ([@thibaudgg][])
|
203
|
+
|
204
|
+
### New features
|
205
|
+
|
206
|
+
- [#67](https://github.com/guard/guard/pull/67): Allow Guardfile in `$HOME` folder. ([@hashrocketeer][])
|
207
|
+
- [#64](https://github.com/guard/guard/pull/64): Windows notifications support. ([@stereobooster][])
|
208
|
+
- [#63](https://github.com/guard/guard/pull/63): Refactor listeners to work as a library. ([@niklas][])
|
209
|
+
- Use `ENV["GUARD_NOTIFY"]` to disable notifications. ([@thibaudgg][])
|
210
|
+
- Cleaning up all specs. ([@netzpirat][])
|
211
|
+
- [#60](https://github.com/guard/guard/pull/60): Added Windows support. ([@stereobooster][])
|
212
|
+
- [#58](https://github.com/guard/guard/pull/58): Extract code from signal handlers into methods. ([@nicksieger][])
|
213
|
+
- [#55](https://github.com/guard/guard/pull/55): It is now possible to pass `:guardfile` (a Guardfile path) or `:guardfile_contents` (the content of a Guardfile) to `Guard::Dsl.evaluate_guardfile`. Hence this allows the use of `Guard::Dsl.evaluate_guardfile` in a programmatic manner. ([@anithri][], improved by [@rymai][])
|
214
|
+
|
215
|
+
## 0.3.4 - April 24, 2011
|
216
|
+
|
217
|
+
### Bug fix
|
218
|
+
|
219
|
+
- [#41](https://github.com/guard/guard/issues/41): Removed useless Bundler requirement. ([@thibaudgg][])
|
220
|
+
|
221
|
+
### New features
|
222
|
+
|
223
|
+
- Changed CHANGELOG from RDOC to Markdown and cleaned it! Let's celebrate! ([@rymai][])
|
224
|
+
- Changed README from RDOC to Markdown! Let's celebrate! ([@thibaudgg][])
|
225
|
+
- [#48](https://github.com/guard/guard/issues/48): Adding support for inline Guard classes rather than requiring a gem. ([@jrsacks][])
|
226
|
+
|
227
|
+
## 0.3.3 - April 18, 2011
|
228
|
+
|
229
|
+
### Bug fix
|
230
|
+
|
231
|
+
- Fixed `new_modified_files` rerun conditions on `Guard.run_on_change_for_all_guards`. ([@thibaudgg][])
|
232
|
+
|
233
|
+
## 0.3.2 - April 17, 2011
|
234
|
+
|
235
|
+
### Bug fixe
|
236
|
+
|
237
|
+
- [#43](https://github.com/guard/guard/pull/43): Fixed `guard init` command. ([@brainopia][])
|
238
|
+
|
239
|
+
## 0.3.1 - April 14, 2011
|
240
|
+
|
241
|
+
### Bug fixes
|
242
|
+
|
243
|
+
- Return unique filenames from Linux listener. (Marian Schubert)
|
244
|
+
- `Guard.get_guard_class` return wrong class when loaded nested class. ([@koshigoe][])
|
245
|
+
- [#35](https://github.com/guard/guard/issues/35): Fixed open-gem/gem_open dependency problem by using `gem which` to locate guards gem path. (reported by [@thierryhenrio][], fixed by [@thibaudgg][])
|
246
|
+
- [#38](https://github.com/guard/guard/issues/38) & Pull request [#39](https://github.com/guard/guard/issues/39): Fixed an invalid ANSI escape code in `Guard::UI.reset_line`. ([@gix][])
|
247
|
+
|
248
|
+
### New feature
|
249
|
+
|
250
|
+
- [#28](https://github.com/guard/guard/issues/28): New `-n` command line option to disable notifications (Growl / Libnotify). ([@thibaudgg][])
|
251
|
+
|
252
|
+
## 0.3.0 - January 19, 2011
|
253
|
+
|
254
|
+
### Bug fix
|
255
|
+
|
256
|
+
- Avoid launching `run_on_change` guards method when no files matched. `--clear` guard argument is now usable. ([@thibaudgg][])
|
257
|
+
|
258
|
+
### New features
|
259
|
+
|
260
|
+
- The whole directory is now watched during `run_on_change` to detect new files modifications. ([@thibaudgg][])
|
261
|
+
- [#26](https://github.com/guard/guard/pull/26): New DSL method: `group` allows you to group several guards. New CLI option: `--group group_name` to specify certain groups of guards to start. ([@netzpirat][])
|
262
|
+
- `watch` patterns are now more strict: strings are matched with `String#==`, `Regexp` are matched with `Regexp#match`. ([@rymai][])
|
263
|
+
- A deprecation warning is displayed if your `Guardfile` contains `String` that look like `Regexp` (bad!). ([@rymai][])
|
264
|
+
- It's now possible to return an `Enumerable` in the `watch` optional blocks in the `Guardfile`. ([@rymai][])
|
265
|
+
|
266
|
+
### New specs
|
267
|
+
|
268
|
+
- `Guard::Watcher`. ([@rymai][])
|
269
|
+
- [#13](https://github.com/guard/guard/pull/13): `Guard::Dsl`. ([@oliamb][])
|
270
|
+
|
271
|
+
## 0.2.2 - October 25, 2010
|
272
|
+
|
273
|
+
### Bug fix
|
274
|
+
|
275
|
+
- [#5](https://github.com/guard/guard/issues/5): avoid creating new copy of `fsevent_watch` every time a file is changed. (reported by [@stouset][], fixed by [@thibaudgg][])
|
276
|
+
|
277
|
+
## 0.2.1 - October 24, 2010
|
278
|
+
|
279
|
+
### Bug fixes
|
280
|
+
|
281
|
+
- [#7](https://github.com/guard/guard/pull/7): Fixes for Linux support. ([@yannlugrin][])
|
282
|
+
- [#6](https://github.com/guard/guard/pull/6): Locate guard now chomp newline in result path. ([@yannlugrin][])
|
283
|
+
|
284
|
+
## 0.2.0 - October 21, 2010
|
285
|
+
|
286
|
+
### Bug fixes
|
287
|
+
|
288
|
+
- [#3](https://github.com/guard/guard/issues/3): `guard init <guard-name>` no more need `Gemfile` but `open_gem` is required now. (reported by [@wereHamster][], fixed by [@thibaudgg][])
|
289
|
+
- [#2](https://github.com/guard/guard/issues/2): 1.8.6 compatibility. (reported by [@veged][], fixed by [@thibaudgg][])
|
290
|
+
- Removes Growl & Libnotify dependencies. ([@thibaudgg][])
|
291
|
+
|
292
|
+
## 0.2.0.beta.1 - October 17, 2010
|
293
|
+
|
294
|
+
### New features
|
295
|
+
|
296
|
+
- Improved listeners support (`rb-fsevent` & `rb-inotify`). ([@thibaudgg][])
|
297
|
+
- Added polling listening fallback. ([@thibaudgg][])
|
298
|
+
|
299
|
+
[@anithri]: https://github.com/anithri
|
300
|
+
[@brainopia]: https://github.com/brainopia
|
301
|
+
[@bronson]: https://github.com/bronson
|
302
|
+
[@capotej]: https://github.com/capotej
|
303
|
+
[@ches]: https://github.com/ches
|
304
|
+
[@chrisberkhout]: https://github.com/chrisberkhout
|
305
|
+
[@dnagir]: https://github.com/dnagir
|
306
|
+
[@docwhat]: https://github.com/docwhat
|
307
|
+
[@earlonrails]: https://github.com/earlonrails
|
308
|
+
[@etehtsea]: https://github.com/etehtsea
|
309
|
+
[@f1sherman]: https://github.com/f1sherman
|
310
|
+
[@fabioyamate]: https://github.com/fabioyamate
|
311
|
+
[@fnichol]: https://github.com/fnichol
|
312
|
+
[@Gazer]: https://github.com/Gazer
|
313
|
+
[@gix]: https://github.com/gix
|
314
|
+
[@hron]: https://github.com/hron
|
315
|
+
[@hardipe]: https://github.com/hardipe
|
316
|
+
[@hashrocketeer]: https://github.com/hashrocketeer
|
317
|
+
[@ianwhite]: https://github.com/ianwhite
|
318
|
+
[@indirect]: https://github.com/indirect
|
319
|
+
[@jeffutter]: https://github.com/jeffutter
|
320
|
+
[@johnbintz]: https://github.com/johnbintz
|
321
|
+
[@jrsacks]: https://github.com/jrsacks
|
322
|
+
[@koshigoe]: https://github.com/koshigoe
|
323
|
+
[@limeyd]: https://github.com/limeyd
|
324
|
+
[@mcmire]: https://github.com/mcmire
|
325
|
+
[@mislav]: https://github.com/mislav
|
326
|
+
[@monocle]: https://github.com/monocle
|
327
|
+
[@mordaroso]: https://github.com/mordaroso
|
328
|
+
[@nestegg]: https://github.com/nestegg
|
329
|
+
[@netzpirat]: https://github.com/netzpirat
|
330
|
+
[@nicksieger]: https://github.com/nicksieger
|
331
|
+
[@niklas]: https://github.com/niklas
|
332
|
+
[@oliamb]: https://github.com/oliamb
|
333
|
+
[@pcreux]: https://github.com/pcreux
|
334
|
+
[@rmm5t]: https://github.com/rmm5t
|
335
|
+
[@rymai]: https://github.com/rymai
|
336
|
+
[@scottdavis]: https://github.com/scottdavis
|
337
|
+
[@stereobooster]: https://github.com/stereobooster
|
338
|
+
[@stouset]: https://github.com/stouset
|
339
|
+
[@sunaku]: https://github.com/sunaku
|
340
|
+
[@thibaudgg]: https://github.com/thibaudgg
|
341
|
+
[@thierryhenrio]: https://github.com/thierryhenrio
|
342
|
+
[@tinogomes]: https://github.com/tinogomes
|
343
|
+
[@tpope]: https://github.com/tpope
|
344
|
+
[@uk-ar]: https://github.com/uk-ar
|
345
|
+
[@veged]: https://github.com/veged
|
346
|
+
[@wereHamster]: https://github.com/wereHamster
|
347
|
+
[@yannlugrin]: https://github.com/yannlugrin
|
348
|
+
[@zonque]: https://github.com/zonque
|