guard 1.1.0 → 1.1.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.
- data/CHANGELOG.md +206 -108
- data/bin/fsevent_watch_guard +0 -0
- data/lib/guard/cli.rb +3 -3
- data/lib/guard/version.rb +1 -1
- data/lib/guard/version.rbc +180 -0
- metadata +8 -3
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,10 @@
|
|
1
|
-
## 1.1.
|
1
|
+
## 1.1.1 - 3 June, 2012
|
2
|
+
|
3
|
+
### Bug fix
|
4
|
+
|
5
|
+
- [#283][] Fix `guard init`. (reported by [@ashleyconnor][], fixed by [@rymai][])
|
6
|
+
|
7
|
+
## 1.1.0 - 2 June, 2012
|
2
8
|
|
3
9
|
### Improvements
|
4
10
|
|
@@ -22,31 +28,31 @@ The Listen integration has been supervised by [@thibaudgg][] and executed by [@M
|
|
22
28
|
|
23
29
|
### Improvements
|
24
30
|
|
25
|
-
- [#274
|
26
|
-
- [#270]
|
27
|
-
- [#254]
|
28
|
-
- [#261]
|
31
|
+
- [#274][] and [#275][] Make the Bundler warning less scary and more friendly. ([@mcmire][])
|
32
|
+
- [#270][] Make urgency configurable for libnotify/notifysend. ([@viking][])
|
33
|
+
- [#254][] Add the possibility to pause/unpause by sending OS signal. ([@steakknife][])
|
34
|
+
- [#261][] Clarify the usage of the term `guard-name` in the README. ([@spadin][])
|
29
35
|
- Add a `--no-bundler-warning` option to Guard start. ([@netzpirat][])
|
30
36
|
- Update vendor/darwin. ([@thibaudgg][])
|
31
37
|
|
32
38
|
### Bug fixes
|
33
39
|
|
34
|
-
- [#260]
|
35
|
-
- [#259]
|
40
|
+
- [#260][] Don't show Bundler warning when no Gemfile present. ([@netzpirat][])
|
41
|
+
- [#259][] Fix `guard show` on Ruby 1.8.7. ([@netzpirat][] and [@rymai][])
|
36
42
|
|
37
43
|
## 1.0.1 - 7 March, 2012
|
38
44
|
|
39
45
|
### Improvements
|
40
46
|
|
41
|
-
- [#236]
|
47
|
+
- [#236][] Add support for `notifysend`. ([@alandipert][])
|
42
48
|
- Update vendor/darwin to rb-fsevent 0.9.0. ([@thibaudgg][])
|
43
49
|
|
44
50
|
### Bug fixes
|
45
51
|
|
46
|
-
- [#249
|
47
|
-
- [#238]
|
48
|
-
- [#233]
|
49
|
-
- [#227
|
52
|
+
- [#249][] and [#250][] Fix programmatic examples that didn't work. ([@oreoshake][])
|
53
|
+
- [#238][] Don't try to load the FSEvents listener on older versions of OSX. ([@philomory][])
|
54
|
+
- [#233][] `Guard::Listener.select_and_init` requires a hash. (reported by [@sunaku][], fixed by [@thibaudgg][])
|
55
|
+
- [#227][] and [#232][] Add the ability to initialize all guards at once. (proposed by [@rupert654][], done by [@Maher4Ever][])
|
50
56
|
|
51
57
|
## 1.0.0 - 19 January, 2012
|
52
58
|
|
@@ -54,22 +60,22 @@ The Listen integration has been supervised by [@thibaudgg][] and executed by [@M
|
|
54
60
|
|
55
61
|
- Add Gemnasium dependency status image to README. ([@laserlemon][])
|
56
62
|
- Update vendor/darwin. ([@thibaudgg][])
|
57
|
-
- [#223]
|
63
|
+
- [#223][] Warn if Guard isn't launched with `bundle exec`. (proposed by [@thibaudgg][], done by [@netzpirat][])
|
58
64
|
|
59
65
|
### Bug fixes
|
60
66
|
|
61
|
-
- [#226]
|
62
|
-
- [#218]
|
63
|
-
- [#174]
|
64
|
-
- [#216]
|
65
|
-
- [#213
|
67
|
+
- [#226][] Use a direct file descriptor with stty. ([@netzpirat][])
|
68
|
+
- [#218][] Watching directory with `-A` option only reports a deleted file the first time around. ([@rymai][])
|
69
|
+
- [#174][] Not creating timestamps for new files with `-A` option. ([@rymai][])
|
70
|
+
- [#216][] Fix exit-status codes for Guard. ([@Maher4Ever][])
|
71
|
+
- [#213][] and [#214][] Fix the "ERROR: No guards found in Guardfile" message wrongly displayed when running `guard list`. ([@pirukire][])
|
66
72
|
|
67
73
|
## 0.10.0 - 1 January, 2012
|
68
74
|
|
69
75
|
### Improvements
|
70
76
|
|
71
|
-
-
|
72
|
-
- Stop
|
77
|
+
- Improve Readline constraints. ([@netzpirat][])
|
78
|
+
- Stop and start all guards on Guardfile reevaluation. ([@thibaudgg][])
|
73
79
|
|
74
80
|
### Bug fix
|
75
81
|
|
@@ -103,18 +109,18 @@ The Listen integration has been supervised by [@thibaudgg][] and executed by [@M
|
|
103
109
|
### Bug fixes
|
104
110
|
|
105
111
|
- Fix wrong `--no-vendor` option. ([@netzpirat][])
|
106
|
-
- [#195]
|
112
|
+
- [#195][] Empty watch directory prohibit Guard from running. (reported by [@madtrick][], fixed by [@netzpirat][])
|
107
113
|
|
108
114
|
## 0.9.0 - December 19, 2011
|
109
115
|
|
110
116
|
### Bug fixes
|
111
117
|
|
112
|
-
- [#173]
|
118
|
+
- [#173][] Cannot set the watch_all_modifications option. (reported by [@sutherland][], fixed by [@netzpirat][])
|
113
119
|
- Fix `guard init` when a guard name is given. ([@rymai][])
|
114
120
|
|
115
121
|
### Improvements
|
116
122
|
|
117
|
-
- [#165]
|
123
|
+
- [#165][] Allow underscores in Guard name. ([@benolee][])
|
118
124
|
- Add readline support to the interactor. ([@netzpirat][])
|
119
125
|
- Add support for notification configuration. ([@netzpirat][])
|
120
126
|
|
@@ -128,81 +134,81 @@ The Listen integration has been supervised by [@thibaudgg][] and executed by [@M
|
|
128
134
|
|
129
135
|
### Bug fix
|
130
136
|
|
131
|
-
- [#166]
|
137
|
+
- [#166][] Fix silent failure after re-evaluating Guardfile. (reported by [@dgutov][], fixed by [@rymai][], special thanks to [@dyfrgi][] for the [reproducible test case](https://github.com/dyfrgi/Guard-Broken))
|
132
138
|
|
133
139
|
## 0.8.6 - October 17, 2011
|
134
140
|
|
135
141
|
### Bug fixes
|
136
142
|
|
137
|
-
- [#168]
|
138
|
-
- [#167]
|
143
|
+
- [#168][] Fix `guard init` path to Guardfile template. (reported by [@semperos][])
|
144
|
+
- [#167][] Include objects in changed_paths when Guard allows any return from the watchers. (reported by [@earlonrails][], fixed by [@netzpirat][])
|
139
145
|
|
140
146
|
## 0.8.5 - October 17, 2011
|
141
147
|
|
142
148
|
### Improvements
|
143
149
|
|
144
150
|
- `reload` and `run_all` Guard terminal interactions actions can be scoped to only run on a certain guard or group. ([@thibaudgg][])
|
145
|
-
- Add cli option (
|
151
|
+
- Add cli option (`-i` / `--no-interactions`) to turn off Guard terminal interactions. ([@thibaudgg][])
|
146
152
|
- Add support for Growl Notification Transport Protocol. ([@netzpirat][])
|
147
|
-
- [#157]
|
148
|
-
- [#156]
|
149
|
-
- [#152]
|
153
|
+
- [#157][] Allow any return from the Guard watchers. ([@earlonrails][])
|
154
|
+
- [#156][] Log error and diagnostic messages to STDERR. ([@sunaku][])
|
155
|
+
- [#152][] Growl Notify API update for a graceful fail. ([@scottdavis][])
|
150
156
|
|
151
157
|
### Bug fix
|
152
158
|
|
153
|
-
- [#160]
|
159
|
+
- [#160][] Avoid `Guard is not missing constant ...` exceptions. (reported by [@earlonrails][], fixed by [@netzpirat][])
|
154
160
|
|
155
161
|
## 0.8.4 - October 3, 2011
|
156
162
|
|
157
163
|
### Bug fix
|
158
164
|
|
159
|
-
- [#149]
|
165
|
+
- [#149][] and [#150][] Fix issue where interactor thread was continuing to capture input from `stdin` while a guard is being executed. (reported by [@hardipe][], fixed by [@f1sherman][])
|
160
166
|
|
161
167
|
## 0.8.3 - October 1, 2011
|
162
168
|
|
163
169
|
### Bug fix
|
164
170
|
|
165
|
-
- [#145]
|
171
|
+
- [#145][] Fix over-utilization of CPU in Interactor. ([@johnbintz][])
|
166
172
|
|
167
173
|
### Improvements
|
168
174
|
|
169
|
-
- [#146]
|
175
|
+
- [#146][] Use a mutex instead of a lock for more efficient/simple locking. ([@f1sherman][])
|
170
176
|
- Make Guard implementation of `:task_has_failed` simple. ([@netzpirat][])
|
171
177
|
|
172
178
|
## 0.8.2 - September 30, 2011
|
173
179
|
|
174
180
|
### Bug fix
|
175
181
|
|
176
|
-
-
|
182
|
+
- Fix guard stop to prevent `run_guard_task(:stop)` from being skipped [guard-spork issue 28](https://github.com/guard/guard-spork/issues/28). ([@thibaudgg][])
|
177
183
|
|
178
184
|
### Improvement
|
179
185
|
|
180
|
-
- Update docs regarding
|
186
|
+
- Update docs regarding `:task_has_failed`. ([@netzpirat][])
|
181
187
|
|
182
188
|
## 0.8.1 - September 29, 2011
|
183
189
|
|
184
190
|
### Bug fix
|
185
191
|
|
186
|
-
- [#144]
|
192
|
+
- [#144][] Fix `guard init`. (reported by [@fabioyamate][], fixed by [@rymai][])
|
187
193
|
|
188
194
|
## 0.8.0 - September 28, 2011
|
189
195
|
|
190
196
|
### Bug fixes
|
191
197
|
|
192
|
-
- [#137]
|
193
|
-
- [#138]
|
198
|
+
- [#137][] Fix interacting with tools like ruby-debug. ([@hron][] and [@netzpirat][])
|
199
|
+
- [#138][] Fix comments in example scaffold to reference interactions. ([@rmm5t][] and [@netzpirat][])
|
194
200
|
|
195
201
|
### New feature
|
196
202
|
|
197
|
-
- [#136]
|
198
|
-
- [#97]
|
199
|
-
- [#121]
|
203
|
+
- [#136][] New CLI `:watch_all_modifications`/`-A` option to watch for deleted and moved files too. ([@limeyd][] and [@netzpirat][])
|
204
|
+
- [#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][])
|
205
|
+
- [#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][] and [@ches][])
|
200
206
|
- New `Guard::Group` class to store groups defined in Guardfile (with `Guard::Dsl#group`). ([@rymai][])
|
201
207
|
|
202
208
|
### Improvements
|
203
209
|
|
204
210
|
- Specs refactoring. ([@netzpirat][])
|
205
|
-
- Full YARD documentation. ([@netzpirat][]
|
211
|
+
- Full YARD documentation. ([@netzpirat][] and a little of [@rymai][])
|
206
212
|
|
207
213
|
## 0.7.0 - September 14, 2011
|
208
214
|
|
@@ -211,11 +217,11 @@ The Listen integration has been supervised by [@thibaudgg][] and executed by [@M
|
|
211
217
|
### Major Changes
|
212
218
|
|
213
219
|
- 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][])
|
214
|
-
- JRuby
|
220
|
+
- JRuby and Rubinius support (beta). ([@thibaudgg][] and [@netzpirat][])
|
215
221
|
|
216
222
|
### New features
|
217
223
|
|
218
|
-
- [#42]
|
224
|
+
- [#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][] and [@rymai][])
|
219
225
|
- Ability to 'pause' files modification listening. Please refer to the "Interactions" section in the README for more information. ([@thibaudgg][])
|
220
226
|
|
221
227
|
### Improvement
|
@@ -226,8 +232,8 @@ The Listen integration has been supervised by [@thibaudgg][] and executed by [@M
|
|
226
232
|
|
227
233
|
### New features
|
228
234
|
|
229
|
-
- [#130]
|
230
|
-
- [#128]
|
235
|
+
- [#130][] Add `ignore_paths` method to DSL. ([@ianwhite][])
|
236
|
+
- [#128][] Users can add additional settings to `~/.guard.rb` that augment the existing Guardfile. ([@tpope][])
|
231
237
|
|
232
238
|
## 0.6.2 - August 17, 2011
|
233
239
|
|
@@ -238,7 +244,7 @@ The Listen integration has been supervised by [@thibaudgg][] and executed by [@M
|
|
238
244
|
|
239
245
|
### New features
|
240
246
|
|
241
|
-
- Groups are now stored in a
|
247
|
+
- Groups are now stored in a `groups` instance variable (will be used for future features). ([@rymai][])
|
242
248
|
- Guards will now receive their group in the options hash at initialization (will be used for future features). ([@rymai][])
|
243
249
|
|
244
250
|
### Improvement
|
@@ -249,54 +255,54 @@ The Listen integration has been supervised by [@thibaudgg][] and executed by [@M
|
|
249
255
|
|
250
256
|
### Bug fixes
|
251
257
|
|
252
|
-
- [#120]
|
253
|
-
- [#119]
|
258
|
+
- [#120][] Remove `guardfile_contents` when re-evaluating so that the Guardfile gets reloaded correctly. ([@mordaroso][])
|
259
|
+
- [#119][] `Dsl.evaluate_guardfile` uses all groups if none specified. ([@ches][])
|
254
260
|
|
255
261
|
## 0.6.0 - August 13, 2011
|
256
262
|
|
257
263
|
### Bug fixes
|
258
264
|
|
259
|
-
-
|
265
|
+
- [#107][] Small spelling fix. ([@dnagir][])
|
260
266
|
- `Dir.glob` now ignores files that don't need to be watched. ([@rymai][])
|
261
267
|
|
262
268
|
### New feature
|
263
269
|
|
264
|
-
-
|
270
|
+
- [#112][] Add `list` command to CLI. ([@docwhat][])
|
265
271
|
|
266
272
|
### Improvements
|
267
273
|
|
268
|
-
- [#99]
|
269
|
-
- [#115]
|
270
|
-
- [#95]
|
274
|
+
- [#99][] [OS X] Switch from growl gem to growl_notify gem. ([@johnbintz][])
|
275
|
+
- [#115][] [Linux] Add `:transient => true` to default libnotify options. ([@zonque][])
|
276
|
+
- [#95][] Output system commands and options to be executed when in debug mode. ([@uk-ar][] and [@netzpirat][])
|
271
277
|
- `Guard::Dsl.revaluate_guardfile` has been renamed to `Guard::Dsl.reevaluate_guardfile`. ([@rymai][])
|
272
278
|
- New CLI options: ([@nestegg][])
|
273
279
|
- `watchdir`/`-w` to specify the directory in which Guard should watch for changes,
|
274
280
|
- `guardfile`/`-G` to specify an alternate location for the Guardfile to use.
|
275
|
-
- [#90]
|
281
|
+
- [#90][] Refactoring of color handling in the `Guard::UI`. ([@stereobooster][])
|
276
282
|
|
277
283
|
## 0.5.1 - July 2, 2011
|
278
284
|
|
279
285
|
### Bug fix
|
280
286
|
|
281
|
-
-
|
287
|
+
- Fix `guard show` command. ([@bronson][] and [@thibaudgg][])
|
282
288
|
|
283
289
|
## 0.5.0 - July 2, 2011
|
284
290
|
|
285
291
|
### New features
|
286
292
|
|
287
293
|
- Guard::Ego is now part of Guard, so Guardfile is automagically re-evaluated when modified. ([@thibaudgg][])
|
288
|
-
- [#91]
|
294
|
+
- [#91][] Show Guards in Guardfile with the `guard -T`. ([@johnbintz][])
|
289
295
|
|
290
296
|
### Improvements
|
291
297
|
|
292
|
-
- [#98]
|
293
|
-
- [#94]
|
294
|
-
- [#88]
|
298
|
+
- [#98][] Multiple calls per watch event on linux with rb-inotify. ([@jeffutter][] and [@netzpirat][])
|
299
|
+
- [#94][] Show backtrace in terminal when a problem with a watch action occurs. ([@capotej][])
|
300
|
+
- [#88][] Write exception trace in the terminal when a supervised task fail. ([@mcmire][])
|
295
301
|
- Color in red the "ERROR:" flag when using `UI.error`. ([@rymai][])
|
296
|
-
- [#79]
|
297
|
-
- [#12]
|
298
|
-
- [#84]
|
299
|
-
- [#80]
|
302
|
+
- [#79][] and [#82][] Improve INotify support on Linux. ([@Gazer][] and [@yannlugrin][])
|
303
|
+
- [#12][] and [#86][] Eventually exits with SystemStackError. ([@stereobooster][])
|
304
|
+
- [#84][] Use RbConfig instead of obsolete and deprecated Config. ([@etehtsea][])
|
305
|
+
- [#80][] Watching dotfile (hidden files under unix). (reported by [@chrisberkhout][], fixed by [@yannlugrin][])
|
300
306
|
- Clear the terminal on start when the `:clear` option is given. ([@rymai][])
|
301
307
|
- Rename home directory Guardfile to `.Guardfile`. ([@tpope][])
|
302
308
|
|
@@ -304,14 +310,14 @@ The Listen integration has been supervised by [@thibaudgg][] and executed by [@M
|
|
304
310
|
|
305
311
|
### Bug fixes
|
306
312
|
|
307
|
-
-
|
308
|
-
- Fix ([@mislav][]) link in CHANGELOG (Note: this is a recursive CHANGELOG item). ([@fnichol][])
|
313
|
+
- Fix Guard::Version in ruby 1.8.7 ([@thibaudgg][])
|
314
|
+
- Fix ([@mislav][]) link in the CHANGELOG (Note: this is a recursive CHANGELOG item). ([@fnichol][])
|
309
315
|
|
310
316
|
## 0.4.1 - June 7, 2011
|
311
317
|
|
312
318
|
### Improvements
|
313
319
|
|
314
|
-
- [#77]
|
320
|
+
- [#77][] Refactor `get_guard_class` to first try the constant and fallback to require + various tweaks. ([@mislav][])
|
315
321
|
- Notifier improvement, don't use system notification library if could not be required. ([@yannlugrin][])
|
316
322
|
|
317
323
|
## 0.4.0 - June 5, 2011
|
@@ -322,58 +328,58 @@ The Listen integration has been supervised by [@thibaudgg][] and executed by [@M
|
|
322
328
|
|
323
329
|
### New features
|
324
330
|
|
325
|
-
- [#73]
|
326
|
-
- [#51]
|
331
|
+
- [#73][] Allow DSL's `group` method to accept a Symbol as group name. ([@johnbintz][])
|
332
|
+
- [#51][] Allow options (like `:priority`) to be passed through to the Notifier. ([@indirect][] and [@netzpirat][])
|
327
333
|
|
328
334
|
### Improvement
|
329
335
|
|
330
|
-
- [#74]
|
336
|
+
- [#74][] Add 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][])
|
331
337
|
|
332
338
|
## 0.4.0.rc - May 28, 2011
|
333
339
|
|
334
340
|
### Bug fixes
|
335
341
|
|
336
|
-
- [#69]
|
337
|
-
- [#66]
|
342
|
+
- [#69][] Fix typo in README: `Ctr-/` => `Ctr-\`. ([@tinogomes][])
|
343
|
+
- [#66][] Support for dashes in guard names. ([@johnbintz][])
|
338
344
|
- Require `guard/ui` because `Guard::Notifier` can be required without full Guard. ([@yannlugrin][])
|
339
|
-
-
|
340
|
-
-
|
341
|
-
-
|
345
|
+
- Handle quick file (<1s) modification. Avoid to catch modified files without content modification (sha1 checksum). ([@thibaudgg][] and [@netzpirat][])
|
346
|
+
- Fix `Guard::Notifier` (when growl/libnotify not present). ([@thibaudgg][])
|
347
|
+
- Fix Rubygems deprecation messages. ([@thibaudgg][])
|
342
348
|
|
343
349
|
### New features
|
344
350
|
|
345
|
-
- [#67]
|
346
|
-
- [#64]
|
347
|
-
- [#63]
|
351
|
+
- [#67][] Allow Guardfile in `$HOME` folder. ([@hashrocketeer][])
|
352
|
+
- [#64][] Windows notifications support. ([@stereobooster][])
|
353
|
+
- [#63][] Refactor listeners to work as a library. ([@niklas][])
|
348
354
|
- Use `ENV["GUARD_NOTIFY"]` to disable notifications. ([@thibaudgg][])
|
349
355
|
- Cleaning up all specs. ([@netzpirat][])
|
350
|
-
- [#60]
|
351
|
-
- [#58]
|
352
|
-
- [#55]
|
356
|
+
- [#60][] Add Windows support. ([@stereobooster][])
|
357
|
+
- [#58][] Extract code from signal handlers into methods. ([@nicksieger][])
|
358
|
+
- [#55][] It's 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][])
|
353
359
|
|
354
360
|
## 0.3.4 - April 24, 2011
|
355
361
|
|
356
362
|
### Bug fix
|
357
363
|
|
358
|
-
- [#41]
|
364
|
+
- [#41][] Remove useless Bundler requirement. ([@thibaudgg][])
|
359
365
|
|
360
366
|
### New features
|
361
367
|
|
362
|
-
-
|
363
|
-
-
|
364
|
-
- [#48]
|
368
|
+
- Change CHANGELOG from RDOC to Markdown and cleaned it! Let's celebrate! ([@rymai][])
|
369
|
+
- Change README from RDOC to Markdown! Let's celebrate! ([@thibaudgg][])
|
370
|
+
- [#48][] Add support for inline Guard classes rather than requiring a gem. ([@jrsacks][])
|
365
371
|
|
366
372
|
## 0.3.3 - April 18, 2011
|
367
373
|
|
368
374
|
### Bug fix
|
369
375
|
|
370
|
-
-
|
376
|
+
- Fix `new_modified_files` rerun conditions on `Guard.run_on_change_for_all_guards`. ([@thibaudgg][])
|
371
377
|
|
372
378
|
## 0.3.2 - April 17, 2011
|
373
379
|
|
374
|
-
### Bug
|
380
|
+
### Bug fix
|
375
381
|
|
376
|
-
- [#43]
|
382
|
+
- [#43][] Fix `guard init` command. ([@brainopia][])
|
377
383
|
|
378
384
|
## 0.3.1 - April 14, 2011
|
379
385
|
|
@@ -381,12 +387,12 @@ The Listen integration has been supervised by [@thibaudgg][] and executed by [@M
|
|
381
387
|
|
382
388
|
- Return unique filenames from Linux listener. (Marian Schubert)
|
383
389
|
- `Guard.get_guard_class` return wrong class when loaded nested class. ([@koshigoe][])
|
384
|
-
- [#35]
|
385
|
-
- [#38]
|
390
|
+
- [#35][] Fix open-gem/gem_open dependency problem by using `gem which` to locate guards gem path. (reported by [@thierryhenrio][], fixed by [@thibaudgg][])
|
391
|
+
- [#38][] and [#39][] Fix an invalid ANSI escape code in `Guard::UI.reset_line`. ([@gix][])
|
386
392
|
|
387
393
|
### New feature
|
388
394
|
|
389
|
-
- [#28]
|
395
|
+
- [#28][] New `-n` command line option to disable notifications (Growl / Libnotify). ([@thibaudgg][])
|
390
396
|
|
391
397
|
## 0.3.0 - January 19, 2011
|
392
398
|
|
@@ -397,7 +403,7 @@ The Listen integration has been supervised by [@thibaudgg][] and executed by [@M
|
|
397
403
|
### New features
|
398
404
|
|
399
405
|
- The whole directory is now watched during `run_on_change` to detect new files modifications. ([@thibaudgg][])
|
400
|
-
- [#26]
|
406
|
+
- [#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][])
|
401
407
|
- `watch` patterns are now more strict: strings are matched with `String#==`, `Regexp` are matched with `Regexp#match`. ([@rymai][])
|
402
408
|
- A deprecation warning is displayed if your `Guardfile` contains `String` that look like `Regexp` (bad!). ([@rymai][])
|
403
409
|
- It's now possible to return an `Enumerable` in the `watch` optional blocks in the `Guardfile`. ([@rymai][])
|
@@ -405,38 +411,132 @@ The Listen integration has been supervised by [@thibaudgg][] and executed by [@M
|
|
405
411
|
### New specs
|
406
412
|
|
407
413
|
- `Guard::Watcher`. ([@rymai][])
|
408
|
-
- [#13]
|
414
|
+
- [#13][] `Guard::Dsl`. ([@oliamb][])
|
409
415
|
|
410
416
|
## 0.2.2 - October 25, 2010
|
411
417
|
|
412
418
|
### Bug fix
|
413
419
|
|
414
|
-
- [#5]
|
420
|
+
- [#5][] Avoid creating new copy of `fsevent_watch` every time a file is changed. (reported by [@stouset][], fixed by [@thibaudgg][])
|
415
421
|
|
416
422
|
## 0.2.1 - October 24, 2010
|
417
423
|
|
418
424
|
### Bug fixes
|
419
425
|
|
420
|
-
- [#7]
|
421
|
-
- [#6]
|
426
|
+
- [#7][] Fix for Linux support. ([@yannlugrin][])
|
427
|
+
- [#6][] Locate guard now chomp newline in result path. ([@yannlugrin][])
|
422
428
|
|
423
429
|
## 0.2.0 - October 21, 2010
|
424
430
|
|
425
431
|
### Bug fixes
|
426
432
|
|
427
|
-
- [#3]
|
428
|
-
- [#2]
|
429
|
-
-
|
433
|
+
- [#3][] `guard init <guard-name>` no more need `Gemfile` but `open_gem` is required now. (reported by [@wereHamster][], fixed by [@thibaudgg][])
|
434
|
+
- [#2][] 1.8.6 compatibility. (reported by [@veged][], fixed by [@thibaudgg][])
|
435
|
+
- Remove Growl and Libnotify dependencies. ([@thibaudgg][])
|
430
436
|
|
431
437
|
## 0.2.0.beta.1 - October 17, 2010
|
432
438
|
|
433
439
|
### New features
|
434
440
|
|
435
|
-
-
|
436
|
-
-
|
437
|
-
|
441
|
+
- Improve listeners support (`rb-fsevent` and `rb-inotify`). ([@thibaudgg][])
|
442
|
+
- Add polling listening fallback. ([@thibaudgg][])
|
443
|
+
|
444
|
+
|
445
|
+
<!--- The following link definition list is generated by PimpMyChangelog --->
|
446
|
+
[#2]: https://github.com/guard/guard/issues/2
|
447
|
+
[#3]: https://github.com/guard/guard/issues/3
|
448
|
+
[#5]: https://github.com/guard/guard/issues/5
|
449
|
+
[#6]: https://github.com/guard/guard/issues/6
|
450
|
+
[#7]: https://github.com/guard/guard/issues/7
|
451
|
+
[#12]: https://github.com/guard/guard/issues/12
|
452
|
+
[#13]: https://github.com/guard/guard/issues/13
|
453
|
+
[#26]: https://github.com/guard/guard/issues/26
|
454
|
+
[#28]: https://github.com/guard/guard/issues/28
|
455
|
+
[#35]: https://github.com/guard/guard/issues/35
|
456
|
+
[#38]: https://github.com/guard/guard/issues/38
|
457
|
+
[#39]: https://github.com/guard/guard/issues/39
|
458
|
+
[#41]: https://github.com/guard/guard/issues/41
|
459
|
+
[#42]: https://github.com/guard/guard/issues/42
|
460
|
+
[#43]: https://github.com/guard/guard/issues/43
|
461
|
+
[#48]: https://github.com/guard/guard/issues/48
|
462
|
+
[#51]: https://github.com/guard/guard/issues/51
|
463
|
+
[#55]: https://github.com/guard/guard/issues/55
|
464
|
+
[#58]: https://github.com/guard/guard/issues/58
|
465
|
+
[#60]: https://github.com/guard/guard/issues/60
|
466
|
+
[#63]: https://github.com/guard/guard/issues/63
|
467
|
+
[#64]: https://github.com/guard/guard/issues/64
|
468
|
+
[#66]: https://github.com/guard/guard/issues/66
|
469
|
+
[#67]: https://github.com/guard/guard/issues/67
|
470
|
+
[#69]: https://github.com/guard/guard/issues/69
|
471
|
+
[#73]: https://github.com/guard/guard/issues/73
|
472
|
+
[#74]: https://github.com/guard/guard/issues/74
|
473
|
+
[#77]: https://github.com/guard/guard/issues/77
|
474
|
+
[#79]: https://github.com/guard/guard/issues/79
|
475
|
+
[#80]: https://github.com/guard/guard/issues/80
|
476
|
+
[#82]: https://github.com/guard/guard/issues/82
|
477
|
+
[#84]: https://github.com/guard/guard/issues/84
|
478
|
+
[#86]: https://github.com/guard/guard/issues/86
|
479
|
+
[#88]: https://github.com/guard/guard/issues/88
|
480
|
+
[#90]: https://github.com/guard/guard/issues/90
|
481
|
+
[#91]: https://github.com/guard/guard/issues/91
|
482
|
+
[#94]: https://github.com/guard/guard/issues/94
|
483
|
+
[#95]: https://github.com/guard/guard/issues/95
|
484
|
+
[#97]: https://github.com/guard/guard/issues/97
|
485
|
+
[#98]: https://github.com/guard/guard/issues/98
|
486
|
+
[#99]: https://github.com/guard/guard/issues/99
|
487
|
+
[#107]: https://github.com/guard/guard/issues/107
|
488
|
+
[#112]: https://github.com/guard/guard/issues/112
|
489
|
+
[#115]: https://github.com/guard/guard/issues/115
|
490
|
+
[#119]: https://github.com/guard/guard/issues/119
|
491
|
+
[#120]: https://github.com/guard/guard/issues/120
|
492
|
+
[#121]: https://github.com/guard/guard/issues/121
|
493
|
+
[#128]: https://github.com/guard/guard/issues/128
|
494
|
+
[#130]: https://github.com/guard/guard/issues/130
|
495
|
+
[#136]: https://github.com/guard/guard/issues/136
|
496
|
+
[#137]: https://github.com/guard/guard/issues/137
|
497
|
+
[#138]: https://github.com/guard/guard/issues/138
|
498
|
+
[#144]: https://github.com/guard/guard/issues/144
|
499
|
+
[#145]: https://github.com/guard/guard/issues/145
|
500
|
+
[#146]: https://github.com/guard/guard/issues/146
|
501
|
+
[#149]: https://github.com/guard/guard/issues/149
|
502
|
+
[#150]: https://github.com/guard/guard/issues/150
|
503
|
+
[#152]: https://github.com/guard/guard/issues/152
|
504
|
+
[#156]: https://github.com/guard/guard/issues/156
|
505
|
+
[#157]: https://github.com/guard/guard/issues/157
|
506
|
+
[#160]: https://github.com/guard/guard/issues/160
|
507
|
+
[#165]: https://github.com/guard/guard/issues/165
|
508
|
+
[#166]: https://github.com/guard/guard/issues/166
|
509
|
+
[#167]: https://github.com/guard/guard/issues/167
|
510
|
+
[#168]: https://github.com/guard/guard/issues/168
|
511
|
+
[#173]: https://github.com/guard/guard/issues/173
|
512
|
+
[#174]: https://github.com/guard/guard/issues/174
|
513
|
+
[#195]: https://github.com/guard/guard/issues/195
|
514
|
+
[#213]: https://github.com/guard/guard/issues/213
|
515
|
+
[#214]: https://github.com/guard/guard/issues/214
|
516
|
+
[#216]: https://github.com/guard/guard/issues/216
|
517
|
+
[#218]: https://github.com/guard/guard/issues/218
|
518
|
+
[#223]: https://github.com/guard/guard/issues/223
|
519
|
+
[#226]: https://github.com/guard/guard/issues/226
|
520
|
+
[#227]: https://github.com/guard/guard/issues/227
|
521
|
+
[#232]: https://github.com/guard/guard/issues/232
|
522
|
+
[#233]: https://github.com/guard/guard/issues/233
|
523
|
+
[#236]: https://github.com/guard/guard/issues/236
|
524
|
+
[#238]: https://github.com/guard/guard/issues/238
|
525
|
+
[#249]: https://github.com/guard/guard/issues/249
|
526
|
+
[#250]: https://github.com/guard/guard/issues/250
|
527
|
+
[#254]: https://github.com/guard/guard/issues/254
|
528
|
+
[#259]: https://github.com/guard/guard/issues/259
|
529
|
+
[#260]: https://github.com/guard/guard/issues/260
|
530
|
+
[#261]: https://github.com/guard/guard/issues/261
|
531
|
+
[#270]: https://github.com/guard/guard/issues/270
|
532
|
+
[#274]: https://github.com/guard/guard/issues/274
|
533
|
+
[#275]: https://github.com/guard/guard/issues/275
|
534
|
+
[#283]: https://github.com/guard/guard/issues/283
|
535
|
+
[@Gazer]: https://github.com/Gazer
|
536
|
+
[@Maher4Ever]: https://github.com/Maher4Ever
|
438
537
|
[@alandipert]: https://github.com/alandipert
|
439
538
|
[@anithri]: https://github.com/anithri
|
539
|
+
[@ashleyconnor]: https://github.com/ashleyconnor
|
440
540
|
[@benolee]: https://github.com/benolee
|
441
541
|
[@brainopia]: https://github.com/brainopia
|
442
542
|
[@bronson]: https://github.com/bronson
|
@@ -452,12 +552,11 @@ The Listen integration has been supervised by [@thibaudgg][] and executed by [@M
|
|
452
552
|
[@f1sherman]: https://github.com/f1sherman
|
453
553
|
[@fabioyamate]: https://github.com/fabioyamate
|
454
554
|
[@fnichol]: https://github.com/fnichol
|
455
|
-
[@Gazer]: https://github.com/Gazer
|
456
555
|
[@gix]: https://github.com/gix
|
457
|
-
[@hawx]: https://github.com/hawx
|
458
|
-
[@hron]: https://github.com/hron
|
459
556
|
[@hardipe]: https://github.com/hardipe
|
460
557
|
[@hashrocketeer]: https://github.com/hashrocketeer
|
558
|
+
[@hawx]: https://github.com/hawx
|
559
|
+
[@hron]: https://github.com/hron
|
461
560
|
[@ianwhite]: https://github.com/ianwhite
|
462
561
|
[@indirect]: https://github.com/indirect
|
463
562
|
[@jeffutter]: https://github.com/jeffutter
|
@@ -467,7 +566,6 @@ The Listen integration has been supervised by [@thibaudgg][] and executed by [@M
|
|
467
566
|
[@laserlemon]: https://github.com/laserlemon
|
468
567
|
[@limeyd]: https://github.com/limeyd
|
469
568
|
[@madtrick]: https://github.com/madtrick
|
470
|
-
[@Maher4Ever]: https://github.com/Maher4Ever
|
471
569
|
[@mcmire]: https://github.com/mcmire
|
472
570
|
[@mislav]: https://github.com/mislav
|
473
571
|
[@monocle]: https://github.com/monocle
|
@@ -502,4 +600,4 @@ The Listen integration has been supervised by [@thibaudgg][] and executed by [@M
|
|
502
600
|
[@waldo]: https://github.com/waldo
|
503
601
|
[@wereHamster]: https://github.com/wereHamster
|
504
602
|
[@yannlugrin]: https://github.com/yannlugrin
|
505
|
-
[@zonque]: https://github.com/zonque
|
603
|
+
[@zonque]: https://github.com/zonque
|
Binary file
|
data/lib/guard/cli.rb
CHANGED
@@ -142,14 +142,14 @@ module Guard
|
|
142
142
|
def init(guard_name = nil)
|
143
143
|
verify_bundler_presence
|
144
144
|
|
145
|
-
::Guard.create_guardfile(:abort_on_existence => options[:bare])
|
145
|
+
::Guard::Guardfile.create_guardfile(:abort_on_existence => options[:bare])
|
146
146
|
|
147
147
|
return if options[:bare]
|
148
148
|
|
149
149
|
if guard_name.nil?
|
150
|
-
::Guard::initialize_all_templates
|
150
|
+
::Guard::Guardfile::initialize_all_templates
|
151
151
|
else
|
152
|
-
::Guard.initialize_template(guard_name)
|
152
|
+
::Guard::Guardfile.initialize_template(guard_name)
|
153
153
|
end
|
154
154
|
end
|
155
155
|
|
data/lib/guard/version.rb
CHANGED
@@ -0,0 +1,180 @@
|
|
1
|
+
!RBIX
|
2
|
+
16846133056282117387
|
3
|
+
x
|
4
|
+
M
|
5
|
+
1
|
6
|
+
n
|
7
|
+
n
|
8
|
+
x
|
9
|
+
10
|
10
|
+
__script__
|
11
|
+
i
|
12
|
+
28
|
13
|
+
99
|
14
|
+
7
|
15
|
+
0
|
16
|
+
65
|
17
|
+
49
|
18
|
+
1
|
19
|
+
2
|
20
|
+
13
|
21
|
+
99
|
22
|
+
12
|
23
|
+
7
|
24
|
+
2
|
25
|
+
12
|
26
|
+
7
|
27
|
+
3
|
28
|
+
12
|
29
|
+
65
|
30
|
+
12
|
31
|
+
49
|
32
|
+
4
|
33
|
+
4
|
34
|
+
15
|
35
|
+
49
|
36
|
+
2
|
37
|
+
0
|
38
|
+
15
|
39
|
+
2
|
40
|
+
11
|
41
|
+
I
|
42
|
+
6
|
43
|
+
I
|
44
|
+
0
|
45
|
+
I
|
46
|
+
0
|
47
|
+
I
|
48
|
+
0
|
49
|
+
n
|
50
|
+
p
|
51
|
+
5
|
52
|
+
x
|
53
|
+
5
|
54
|
+
Guard
|
55
|
+
x
|
56
|
+
11
|
57
|
+
open_module
|
58
|
+
x
|
59
|
+
15
|
60
|
+
__module_init__
|
61
|
+
M
|
62
|
+
1
|
63
|
+
n
|
64
|
+
n
|
65
|
+
x
|
66
|
+
5
|
67
|
+
Guard
|
68
|
+
i
|
69
|
+
48
|
70
|
+
5
|
71
|
+
66
|
72
|
+
26
|
73
|
+
93
|
74
|
+
0
|
75
|
+
15
|
76
|
+
29
|
77
|
+
21
|
78
|
+
0
|
79
|
+
45
|
80
|
+
0
|
81
|
+
1
|
82
|
+
7
|
83
|
+
2
|
84
|
+
3
|
85
|
+
98
|
86
|
+
3
|
87
|
+
3
|
88
|
+
30
|
89
|
+
8
|
90
|
+
27
|
91
|
+
25
|
92
|
+
92
|
93
|
+
0
|
94
|
+
27
|
95
|
+
8
|
96
|
+
32
|
97
|
+
15
|
98
|
+
7
|
99
|
+
4
|
100
|
+
8
|
101
|
+
33
|
102
|
+
1
|
103
|
+
9
|
104
|
+
38
|
105
|
+
1
|
106
|
+
8
|
107
|
+
47
|
108
|
+
65
|
109
|
+
7
|
110
|
+
2
|
111
|
+
7
|
112
|
+
5
|
113
|
+
64
|
114
|
+
49
|
115
|
+
6
|
116
|
+
2
|
117
|
+
11
|
118
|
+
I
|
119
|
+
4
|
120
|
+
I
|
121
|
+
0
|
122
|
+
I
|
123
|
+
0
|
124
|
+
I
|
125
|
+
0
|
126
|
+
n
|
127
|
+
p
|
128
|
+
7
|
129
|
+
x
|
130
|
+
5
|
131
|
+
Guard
|
132
|
+
n
|
133
|
+
x
|
134
|
+
7
|
135
|
+
VERSION
|
136
|
+
x
|
137
|
+
22
|
138
|
+
vm_const_defined_under
|
139
|
+
s
|
140
|
+
8
|
141
|
+
constant
|
142
|
+
s
|
143
|
+
5
|
144
|
+
0.6.3
|
145
|
+
x
|
146
|
+
9
|
147
|
+
const_set
|
148
|
+
p
|
149
|
+
5
|
150
|
+
I
|
151
|
+
2
|
152
|
+
I
|
153
|
+
2
|
154
|
+
I
|
155
|
+
2f
|
156
|
+
I
|
157
|
+
0
|
158
|
+
I
|
159
|
+
30
|
160
|
+
x
|
161
|
+
66
|
162
|
+
/Users/remy/Development/Ruby/Gems/guard/guard/lib/guard/version.rb
|
163
|
+
p
|
164
|
+
0
|
165
|
+
x
|
166
|
+
13
|
167
|
+
attach_method
|
168
|
+
p
|
169
|
+
3
|
170
|
+
I
|
171
|
+
0
|
172
|
+
I
|
173
|
+
1
|
174
|
+
I
|
175
|
+
1c
|
176
|
+
x
|
177
|
+
66
|
178
|
+
/Users/remy/Development/Ruby/Gems/guard/guard/lib/guard/version.rb
|
179
|
+
p
|
180
|
+
0
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-06-
|
12
|
+
date: 2012-06-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thor
|
@@ -147,6 +147,7 @@ executables:
|
|
147
147
|
extensions: []
|
148
148
|
extra_rdoc_files: []
|
149
149
|
files:
|
150
|
+
- bin/fsevent_watch_guard
|
150
151
|
- bin/guard
|
151
152
|
- images/failed.png
|
152
153
|
- images/pending.png
|
@@ -172,6 +173,7 @@ files:
|
|
172
173
|
- lib/guard/templates/Guardfile
|
173
174
|
- lib/guard/ui.rb
|
174
175
|
- lib/guard/version.rb
|
176
|
+
- lib/guard/version.rbc
|
175
177
|
- lib/guard/watcher.rb
|
176
178
|
- lib/guard.rb
|
177
179
|
- CHANGELOG.md
|
@@ -191,6 +193,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
191
193
|
- - ! '>='
|
192
194
|
- !ruby/object:Gem::Version
|
193
195
|
version: '0'
|
196
|
+
segments:
|
197
|
+
- 0
|
198
|
+
hash: 1518185299239522992
|
194
199
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
195
200
|
none: false
|
196
201
|
requirements:
|
@@ -199,7 +204,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
199
204
|
version: 1.3.6
|
200
205
|
requirements: []
|
201
206
|
rubyforge_project: guard
|
202
|
-
rubygems_version: 1.8.
|
207
|
+
rubygems_version: 1.8.23
|
203
208
|
signing_key:
|
204
209
|
specification_version: 3
|
205
210
|
summary: Guard keeps an eye on your file modifications
|