guard 1.4.0 → 2.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +1 -677
  3. data/LICENSE +4 -2
  4. data/README.md +91 -753
  5. data/bin/_guard-core +11 -0
  6. data/bin/guard +108 -3
  7. data/lib/guard/aruba_adapter.rb +59 -0
  8. data/lib/guard/cli/environments/bundler.rb +22 -0
  9. data/lib/guard/cli/environments/evaluate_only.rb +35 -0
  10. data/lib/guard/cli/environments/valid.rb +69 -0
  11. data/lib/guard/cli.rb +129 -128
  12. data/lib/guard/commander.rb +104 -0
  13. data/lib/guard/commands/all.rb +37 -0
  14. data/lib/guard/commands/change.rb +31 -0
  15. data/lib/guard/commands/notification.rb +26 -0
  16. data/lib/guard/commands/pause.rb +29 -0
  17. data/lib/guard/commands/reload.rb +36 -0
  18. data/lib/guard/commands/scope.rb +38 -0
  19. data/lib/guard/commands/show.rb +24 -0
  20. data/lib/guard/config.rb +18 -0
  21. data/lib/guard/deprecated/dsl.rb +45 -0
  22. data/lib/guard/deprecated/evaluator.rb +39 -0
  23. data/lib/guard/deprecated/guard.rb +328 -0
  24. data/lib/guard/deprecated/guardfile.rb +84 -0
  25. data/lib/guard/deprecated/watcher.rb +27 -0
  26. data/lib/guard/dsl.rb +332 -363
  27. data/lib/guard/dsl_describer.rb +132 -122
  28. data/lib/guard/dsl_reader.rb +51 -0
  29. data/lib/guard/group.rb +34 -14
  30. data/lib/guard/guardfile/evaluator.rb +232 -0
  31. data/lib/guard/guardfile/generator.rb +128 -0
  32. data/lib/guard/guardfile.rb +24 -60
  33. data/lib/guard/interactor.rb +31 -255
  34. data/lib/guard/internals/debugging.rb +68 -0
  35. data/lib/guard/internals/groups.rb +40 -0
  36. data/lib/guard/internals/helpers.rb +13 -0
  37. data/lib/guard/internals/plugins.rb +53 -0
  38. data/lib/guard/internals/queue.rb +51 -0
  39. data/lib/guard/internals/scope.rb +121 -0
  40. data/lib/guard/internals/session.rb +180 -0
  41. data/lib/guard/internals/state.rb +25 -0
  42. data/lib/guard/internals/tracing.rb +33 -0
  43. data/lib/guard/internals/traps.rb +10 -0
  44. data/lib/guard/jobs/base.rb +21 -0
  45. data/lib/guard/jobs/pry_wrapper.rb +336 -0
  46. data/lib/guard/jobs/sleep.rb +26 -0
  47. data/lib/guard/notifier.rb +46 -212
  48. data/lib/guard/options.rb +22 -0
  49. data/lib/guard/plugin.rb +303 -0
  50. data/lib/guard/plugin_util.rb +191 -0
  51. data/lib/guard/rake_task.rb +42 -0
  52. data/lib/guard/runner.rb +80 -140
  53. data/lib/guard/templates/Guardfile +14 -0
  54. data/lib/guard/terminal.rb +13 -0
  55. data/lib/guard/ui/colors.rb +56 -0
  56. data/lib/guard/ui/config.rb +70 -0
  57. data/lib/guard/ui/logger.rb +30 -0
  58. data/lib/guard/ui.rb +163 -128
  59. data/lib/guard/version.rb +1 -2
  60. data/lib/guard/watcher/pattern/deprecated_regexp.rb +45 -0
  61. data/lib/guard/watcher/pattern/match_result.rb +18 -0
  62. data/lib/guard/watcher/pattern/matcher.rb +33 -0
  63. data/lib/guard/watcher/pattern/pathname_path.rb +15 -0
  64. data/lib/guard/watcher/pattern/simple_path.rb +23 -0
  65. data/lib/guard/watcher/pattern.rb +24 -0
  66. data/lib/guard/watcher.rb +52 -95
  67. data/lib/guard.rb +108 -376
  68. data/lib/tasks/releaser.rb +116 -0
  69. data/man/guard.1 +12 -9
  70. data/man/guard.1.html +18 -12
  71. metadata +148 -77
  72. data/images/guard.png +0 -0
  73. data/lib/guard/guard.rb +0 -156
  74. data/lib/guard/hook.rb +0 -120
  75. data/lib/guard/interactors/coolline.rb +0 -64
  76. data/lib/guard/interactors/helpers/completion.rb +0 -32
  77. data/lib/guard/interactors/helpers/terminal.rb +0 -46
  78. data/lib/guard/interactors/readline.rb +0 -94
  79. data/lib/guard/interactors/simple.rb +0 -19
  80. data/lib/guard/notifiers/emacs.rb +0 -69
  81. data/lib/guard/notifiers/gntp.rb +0 -118
  82. data/lib/guard/notifiers/growl.rb +0 -99
  83. data/lib/guard/notifiers/growl_notify.rb +0 -92
  84. data/lib/guard/notifiers/libnotify.rb +0 -96
  85. data/lib/guard/notifiers/notifysend.rb +0 -84
  86. data/lib/guard/notifiers/rb_notifu.rb +0 -102
  87. data/lib/guard/notifiers/terminal_notifier.rb +0 -66
  88. data/lib/guard/notifiers/tmux.rb +0 -69
  89. data/lib/guard/version.rbc +0 -130
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 9bc4f16fcb5313bd7482ee1968c9292198956a24f44d0a20622313ef50ea840f
4
+ data.tar.gz: 86448d1f2f36026d02dab3da8d0ba6ed1a9fcc0219708ed2f61e1e9a857e60bd
5
+ SHA512:
6
+ metadata.gz: 2ad2f478c89e07aca1e113acffc7efcf556818962186b0b853353eb1e32470e821d43b3d5aab7c3313c5028ce717b05a78c5e394db67a60d0f7251c3e56ca19a
7
+ data.tar.gz: 7f2565eded7d35d4b143c164600c3e8f606f15cf307890455cdadd5dd980820faa3967f4fb30e620fbce85f92ce7c1dbe4163460eb77074f5a5137c21325ec01
data/CHANGELOG.md CHANGED
@@ -1,677 +1 @@
1
- ## 1.4.0 - 26 September, 2012
2
-
3
- - [#331][] Add tmux notifier. ([@royvandewater][])
4
-
5
- ## 1.3.3 - 20 September, 2012
6
-
7
- - Add Guard application icon to GNTP notifier. ([@netzpirat][])
8
- - [#324][] Allow Terminal Notifier title to be customizable. ([@mattgreen][])
9
-
10
- ## 1.3.2 - 15 August, 2012
11
-
12
- ### Improvements
13
-
14
- - [#316][] Guard clears screen more than once per single watch event. (reported by [@japgolly][], fixed by [@thibaudgg][])
15
-
16
- ## 1.3.1 - 14 August, 2012
17
-
18
- ### Improvements
19
-
20
- - [#317][] Switch to Terminal-Notifier-Guard gem. ([@foxycoder][])
21
- - [#315][] Improve Emacs detection. ([@maio][])
22
-
23
- ## 1.3.0 - 3 August, 2012
24
-
25
- ### Bug fix
26
-
27
- - [#299][] Fix Readline interactor on JRruby. ([@netzpirat][])
28
-
29
- ### Improvements
30
-
31
- - Add support for OS X notification center ([@foxycoder][])
32
- - Add support for Emacs notifications ([@maio][])
33
- - Add support for multiple guards being passed to `guard init`. ([@jredville][])
34
-
35
- ### 1.2.1 - 2 July, 2012
36
-
37
- ### Bug fix
38
-
39
- - Fix template methods in the Guard plugin class that causes loss of listen changes. ([@netzpirat][])
40
-
41
- ### 1.2.2 - 2 July, 2012
42
-
43
- ### Bug fix
44
-
45
- - [#298][] Deprecations must be explicit enabled. ([@netzpirat][])
46
-
47
- ### 1.2.1 - 20 June, 2012
48
-
49
- ### Bug fix
50
-
51
- - Work around a Listen issue where the stop task isn't executed. ([@netzpirat][])
52
-
53
- ### 1.2.0 - 20 June, 2012
54
-
55
- ### Improvements
56
-
57
- - Add a [Coolline](https://github.com/Mon-Ouie/coolline) based interactor (Ruby 1.9.3 only). ([@netzpirat][])
58
- - More flexible command parser for all interactors. ([@netzpirat][])
59
- - Add 'show' command to describe all plugins in the interactor. ([@netzpirat][])
60
- - Add 'change' command to trigger a file change event in the interactor. ([@netzpirat][])
61
-
62
- ## 1.1.1 - 3 June, 2012
63
-
64
- ### Bug fix
65
-
66
- - [#283][] Fix `guard init`. (reported by [@ashleyconnor][], fixed by [@rymai][])
67
-
68
- ## 1.1.0 - 2 June, 2012
69
-
70
- ### Improvements
71
-
72
- - Listening is now handled by the [Listen gem](https://github.com/guard/listen).
73
- - Replace the `--verbose` option with the `--debug` option.
74
- - New `--latency`/`-l` option to overwrite Listen's default latency.
75
- - New `--force-polling`/`-p` option to force usage of the Listen polling listener.
76
- - `--watch-all-modifications`/`-A` option is removed and is now always on.
77
- - `--no-vendor`/`-I` option is removed because the monitoring gems are now part of the [Listen gem](https://github.com/guard/listen). You can specify a custom version of any monitoring gem directly in your Gemfile if you want to overwrite Listen's default monitoring gems.
78
- - Guard plugins must now implement `run_on_additions`, `run_on_modifications`, `run_on_removals` and / or `run_on_changes`. The `run_on_change` and `run_on_deletion` methods are deprecated and should be removed as soon as possible. See the [Upgrade guide for existing guards to Guard v1.1](https://github.com/guard/guard/wiki/Upgrade-guide-for-existing-guards-to-Guard-v1.1) for more info.
79
-
80
- The Listen integration has been supervised by [@thibaudgg][] and executed by [@Maher4Ever][], [@rymai][] and [@thibaudgg][].
81
-
82
- ## 1.0.3 - 14 May, 2012
83
-
84
- ### Improvement
85
-
86
- - Improve Thor dependency '~> 0.14.6' => '>= 0.14.6'. ([@thibaudgg][])
87
-
88
- ## 1.0.2 - 30 April, 2012
89
-
90
- ### Improvements
91
-
92
- - [#274][] and [#275][] Make the Bundler warning less scary and more friendly. ([@mcmire][])
93
- - [#270][] Make urgency configurable for libnotify/notifysend. ([@viking][])
94
- - [#254][] Add the possibility to pause/unpause by sending OS signal. ([@steakknife][])
95
- - [#261][] Clarify the usage of the term `guard-name` in the README. ([@spadin][])
96
- - Add a `--no-bundler-warning` option to Guard start. ([@netzpirat][])
97
- - Update vendor/darwin. ([@thibaudgg][])
98
-
99
- ### Bug fixes
100
-
101
- - [#260][] Don't show Bundler warning when no Gemfile present. ([@netzpirat][])
102
- - [#259][] Fix `guard show` on Ruby 1.8.7. ([@netzpirat][] and [@rymai][])
103
-
104
- ## 1.0.1 - 7 March, 2012
105
-
106
- ### Improvements
107
-
108
- - [#236][] Add support for `notifysend`. ([@alandipert][])
109
- - Update vendor/darwin to rb-fsevent 0.9.0. ([@thibaudgg][])
110
-
111
- ### Bug fixes
112
-
113
- - [#249][] and [#250][] Fix programmatic examples that didn't work. ([@oreoshake][])
114
- - [#238][] Don't try to load the FSEvents listener on older versions of OSX. ([@philomory][])
115
- - [#233][] `Guard::Listener.select_and_init` requires a hash. (reported by [@sunaku][], fixed by [@thibaudgg][])
116
- - [#227][] and [#232][] Add the ability to initialize all guards at once. (proposed by [@rupert654][], done by [@Maher4Ever][])
117
-
118
- ## 1.0.0 - 19 January, 2012
119
-
120
- ### Improvements
121
-
122
- - Add Gemnasium dependency status image to README. ([@laserlemon][])
123
- - Update vendor/darwin. ([@thibaudgg][])
124
- - [#223][] Warn if Guard isn't launched with `bundle exec`. (proposed by [@thibaudgg][], done by [@netzpirat][])
125
-
126
- ### Bug fixes
127
-
128
- - [#226][] Use a direct file descriptor with stty. ([@netzpirat][])
129
- - [#218][] Watching directory with `-A` option only reports a deleted file the first time around. ([@rymai][])
130
- - [#174][] Not creating timestamps for new files with `-A` option. ([@rymai][])
131
- - [#216][] Fix exit-status codes for Guard. ([@Maher4Ever][])
132
- - [#213][] and [#214][] Fix the "ERROR: No guards found in Guardfile" message wrongly displayed when running `guard list`. ([@pirukire][])
133
-
134
- ## 0.10.0 - 1 January, 2012
135
-
136
- ### Improvements
137
-
138
- - Improve Readline constraints. ([@netzpirat][])
139
- - Stop and start all guards on Guardfile reevaluation. ([@thibaudgg][])
140
-
141
- ### Bug fix
142
-
143
- - Terminal keep-alive causing ERROR: Unknown command. ([@waldo][])
144
-
145
- ## 0.9.4 - December 25, 2011
146
-
147
- ### Improvement
148
-
149
- - Add the ability to load user defined templates. ([@hawx][])
150
-
151
- ### Bug fix
152
-
153
- - Fix guard-rspec notifications by using ENV variable to store Notifier.notifications. ([@thibaudgg][])
154
-
155
- ## 0.9.3 - December 23, 2011
156
-
157
- ### Improvement
158
-
159
- - Fix terminal status after interrupting the Readline interactor. ([@Maher4Ever][])
160
-
161
- ## 0.9.2 - December 22, 2011
162
-
163
- ### Improvements
164
-
165
- - Add `interactor` to DSL to allow switching Guard interaction implementation. ([@netzpirat][])
166
- - Add quit action to the interactor. ([@Maher4Ever][])
167
-
168
- ## 0.9.1 - December 19, 2011
169
-
170
- ### Bug fixes
171
-
172
- - Fix wrong `--no-vendor` option. ([@netzpirat][])
173
- - [#195][] Empty watch directory prohibit Guard from running. (reported by [@madtrick][], fixed by [@netzpirat][])
174
-
175
- ## 0.9.0 - December 19, 2011
176
-
177
- ### Bug fixes
178
-
179
- - [#173][] Cannot set the watch_all_modifications option. (reported by [@sutherland][], fixed by [@netzpirat][])
180
- - Fix `guard init` when a guard name is given. ([@rymai][])
181
-
182
- ### Improvements
183
-
184
- - [#165][] Allow underscores in Guard name. ([@benolee][])
185
- - Add readline support to the interactor. ([@netzpirat][])
186
- - Add support for notification configuration. ([@netzpirat][])
187
-
188
- ## 0.8.8 - October 21, 2011
189
-
190
- ### Bug fix
191
-
192
- - Fix `guard init` when a guard name is given. ([@rymai][])
193
-
194
- ## 0.8.7 - October 18, 2011
195
-
196
- ### Bug fix
197
-
198
- - [#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))
199
-
200
- ## 0.8.6 - October 17, 2011
201
-
202
- ### Bug fixes
203
-
204
- - [#168][] Fix `guard init` path to Guardfile template. (reported by [@semperos][])
205
- - [#167][] Include objects in changed_paths when Guard allows any return from the watchers. (reported by [@earlonrails][], fixed by [@netzpirat][])
206
-
207
- ## 0.8.5 - October 17, 2011
208
-
209
- ### Improvements
210
-
211
- - `reload` and `run_all` Guard terminal interactions actions can be scoped to only run on a certain guard or group. ([@thibaudgg][])
212
- - Add cli option (`-i` / `--no-interactions`) to turn off Guard terminal interactions. ([@thibaudgg][])
213
- - Add support for Growl Notification Transport Protocol. ([@netzpirat][])
214
- - [#157][] Allow any return from the Guard watchers. ([@earlonrails][])
215
- - [#156][] Log error and diagnostic messages to STDERR. ([@sunaku][])
216
- - [#152][] Growl Notify API update for a graceful fail. ([@scottdavis][])
217
-
218
- ### Bug fix
219
-
220
- - [#160][] Avoid `Guard is not missing constant ...` exceptions. (reported by [@earlonrails][], fixed by [@netzpirat][])
221
-
222
- ## 0.8.4 - October 3, 2011
223
-
224
- ### Bug fix
225
-
226
- - [#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][])
227
-
228
- ## 0.8.3 - October 1, 2011
229
-
230
- ### Bug fix
231
-
232
- - [#145][] Fix over-utilization of CPU in Interactor. ([@johnbintz][])
233
-
234
- ### Improvements
235
-
236
- - [#146][] Use a mutex instead of a lock for more efficient/simple locking. ([@f1sherman][])
237
- - Make Guard implementation of `:task_has_failed` simple. ([@netzpirat][])
238
-
239
- ## 0.8.2 - September 30, 2011
240
-
241
- ### Bug fix
242
-
243
- - 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][])
244
-
245
- ### Improvement
246
-
247
- - Update docs regarding `:task_has_failed`. ([@netzpirat][])
248
-
249
- ## 0.8.1 - September 29, 2011
250
-
251
- ### Bug fix
252
-
253
- - [#144][] Fix `guard init`. (reported by [@fabioyamate][], fixed by [@rymai][])
254
-
255
- ## 0.8.0 - September 28, 2011
256
-
257
- ### Bug fixes
258
-
259
- - [#137][] Fix interacting with tools like ruby-debug. ([@hron][] and [@netzpirat][])
260
- - [#138][] Fix comments in example scaffold to reference interactions. ([@rmm5t][] and [@netzpirat][])
261
-
262
- ### New feature
263
-
264
- - [#136][] New CLI `:watch_all_modifications`/`-A` option to watch for deleted and moved files too. ([@limeyd][] and [@netzpirat][])
265
- - [#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][])
266
- - [#121][] `Guard.guards` and `Guard.groups` are now smart accessors. Filters can be passed to find a specific Guard/group or several Guard plugins/groups that match (see YARDoc). ([@rymai][] and [@ches][])
267
- - New `Guard::Group` class to store groups defined in Guardfile (with `Guard::Dsl#group`). ([@rymai][])
268
-
269
- ### Improvements
270
-
271
- - Specs refactoring. ([@netzpirat][])
272
- - Full YARD documentation. ([@netzpirat][] and a little of [@rymai][])
273
-
274
- ## 0.7.0 - September 14, 2011
275
-
276
- ## 0.7.0.rc1 - September 5, 2011
277
-
278
- ### Major Changes
279
-
280
- - 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][])
281
- - JRuby and Rubinius support (beta). ([@thibaudgg][] and [@netzpirat][])
282
-
283
- ### New features
284
-
285
- - [#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][])
286
- - Ability to 'pause' files modification listening. Please refer to the "Interactions" section in the README for more information. ([@thibaudgg][])
287
-
288
- ### Improvement
289
-
290
- - Remove the need to scan the whole directory after guard's `run_on_change` method. ([@thibaudgg][])
291
-
292
- ## 0.6.3 - September 1, 2011
293
-
294
- ### New features
295
-
296
- - [#130][] Add `ignore_paths` method to DSL. ([@ianwhite][])
297
- - [#128][] Users can add additional settings to `~/.guard.rb` that augment the existing Guardfile. ([@tpope][])
298
-
299
- ## 0.6.2 - August 17, 2011
300
-
301
- ### Bug fixes
302
-
303
- - 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][])
304
- - Ensure that scoped groups and group name are symbolized before checking for inclusion. ([@rymai][])
305
-
306
- ### New features
307
-
308
- - Groups are now stored in a `groups` instance variable (will be used for future features). ([@rymai][])
309
- - Guard plugins will now receive their group in the options hash at initialization (will be used for future features). ([@rymai][])
310
-
311
- ### Improvement
312
-
313
- - Explain the growl/growl_notify differences in the README. ([@netzpirat][])
314
-
315
- ## 0.6.1 - August 15, 2011
316
-
317
- ### Bug fixes
318
-
319
- - [#120][] Remove `guardfile_contents` when re-evaluating so that the Guardfile gets reloaded correctly. ([@mordaroso][])
320
- - [#119][] `Dsl.evaluate_guardfile` uses all groups if none specified. ([@ches][])
321
-
322
- ## 0.6.0 - August 13, 2011
323
-
324
- ### Bug fixes
325
-
326
- - [#107][] Small spelling fix. ([@dnagir][])
327
- - `Dir.glob` now ignores files that don't need to be watched. ([@rymai][])
328
-
329
- ### New feature
330
-
331
- - [#112][] Add `list` command to CLI. ([@docwhat][])
332
-
333
- ### Improvements
334
-
335
- - [#99][] [OS X] Switch from growl gem to growl_notify gem. ([@johnbintz][])
336
- - [#115][] [Linux] Add `:transient => true` to default libnotify options. ([@zonque][])
337
- - [#95][] Output system commands and options to be executed when in debug mode. ([@uk-ar][] and [@netzpirat][])
338
- - `Guard::Dsl.revaluate_guardfile` has been renamed to `Guard::Dsl.reevaluate_guardfile`. ([@rymai][])
339
- - New CLI options: ([@nestegg][])
340
- - `watchdir`/`-w` to specify the directory in which Guard should watch for changes,
341
- - `guardfile`/`-G` to specify an alternate location for the Guardfile to use.
342
- - [#90][] Refactoring of color handling in the `Guard::UI`. ([@stereobooster][])
343
-
344
- ## 0.5.1 - July 2, 2011
345
-
346
- ### Bug fix
347
-
348
- - Fix `guard show` command. ([@bronson][] and [@thibaudgg][])
349
-
350
- ## 0.5.0 - July 2, 2011
351
-
352
- ### New features
353
-
354
- - Guard::Ego is now part of Guard, so Guardfile is automagically re-evaluated when modified. ([@thibaudgg][])
355
- - [#91][] Show Guard plugins in Guardfile with the `guard -T`. ([@johnbintz][])
356
-
357
- ### Improvements
358
-
359
- - [#98][] Multiple calls per watch event on linux with rb-inotify. ([@jeffutter][] and [@netzpirat][])
360
- - [#94][] Show backtrace in terminal when a problem with a watch action occurs. ([@capotej][])
361
- - [#88][] Write exception trace in the terminal when a supervised task fail. ([@mcmire][])
362
- - Color in red the "ERROR:" flag when using `UI.error`. ([@rymai][])
363
- - [#79][] and [#82][] Improve INotify support on Linux. ([@Gazer][] and [@yannlugrin][])
364
- - [#12][] and [#86][] Eventually exits with SystemStackError. ([@stereobooster][])
365
- - [#84][] Use RbConfig instead of obsolete and deprecated Config. ([@etehtsea][])
366
- - [#80][] Watching dotfile (hidden files under unix). (reported by [@chrisberkhout][], fixed by [@yannlugrin][])
367
- - Clear the terminal on start when the `:clear` option is given. ([@rymai][])
368
- - Rename home directory Guardfile to `.Guardfile`. ([@tpope][])
369
-
370
- ## 0.4.2 - June 7, 2011
371
-
372
- ### Bug fixes
373
-
374
- - Fix Guard::Version in ruby 1.8.7 ([@thibaudgg][])
375
- - Fix ([@mislav][]) link in the CHANGELOG (Note: this is a recursive CHANGELOG item). ([@fnichol][])
376
-
377
- ## 0.4.1 - June 7, 2011
378
-
379
- ### Improvements
380
-
381
- - [#77][] Refactor `get_guard_class` to first try the constant and fallback to require + various tweaks. ([@mislav][])
382
- - Notifier improvement, don't use system notification library if could not be required. ([@yannlugrin][])
383
-
384
- ## 0.4.0 - June 5, 2011
385
-
386
- ### Bug fix
387
-
388
- - In Ruby < 1.9, `Symbol#downcase` doesn't exist! ([@rymai][])
389
-
390
- ### New features
391
-
392
- - [#73][] Allow DSL's `group` method to accept a Symbol as group name. ([@johnbintz][])
393
- - [#51][] Allow options (like `:priority`) to be passed through to the Notifier. ([@indirect][] and [@netzpirat][])
394
-
395
- ### Improvement
396
-
397
- - [#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][])
398
-
399
- ## 0.4.0.rc - May 28, 2011
400
-
401
- ### Bug fixes
402
-
403
- - [#69][] Fix typo in README: `Ctr-/` => `Ctr-\`. ([@tinogomes][])
404
- - [#66][] Support for dashes in guard names. ([@johnbintz][])
405
- - Require `guard/ui` because `Guard::Notifier` can be required without full Guard. ([@yannlugrin][])
406
- - Handle quick file (<1s) modification. Avoid to catch modified files without content modification (sha1 checksum). ([@thibaudgg][] and [@netzpirat][])
407
- - Fix `Guard::Notifier` (when growl/libnotify not present). ([@thibaudgg][])
408
- - Fix Rubygems deprecation messages. ([@thibaudgg][])
409
-
410
- ### New features
411
-
412
- - [#67][] Allow Guardfile in `$HOME` folder. ([@hashrocketeer][])
413
- - [#64][] Windows notifications support. ([@stereobooster][])
414
- - [#63][] Refactor listeners to work as a library. ([@niklas][])
415
- - Use `ENV["GUARD_NOTIFY"]` to disable notifications. ([@thibaudgg][])
416
- - Cleaning up all specs. ([@netzpirat][])
417
- - [#60][] Add Windows support. ([@stereobooster][])
418
- - [#58][] Extract code from signal handlers into methods. ([@nicksieger][])
419
- - [#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][])
420
-
421
- ## 0.3.4 - April 24, 2011
422
-
423
- ### Bug fix
424
-
425
- - [#41][] Remove useless Bundler requirement. ([@thibaudgg][])
426
-
427
- ### New features
428
-
429
- - Change CHANGELOG from RDOC to Markdown and cleaned it! Let's celebrate! ([@rymai][])
430
- - Change README from RDOC to Markdown! Let's celebrate! ([@thibaudgg][])
431
- - [#48][] Add support for inline Guard classes rather than requiring a gem. ([@jrsacks][])
432
-
433
- ## 0.3.3 - April 18, 2011
434
-
435
- ### Bug fix
436
-
437
- - Fix `new_modified_files` rerun conditions on `Guard.run_on_change_for_all_guards`. ([@thibaudgg][])
438
-
439
- ## 0.3.2 - April 17, 2011
440
-
441
- ### Bug fix
442
-
443
- - [#43][] Fix `guard init` command. ([@brainopia][])
444
-
445
- ## 0.3.1 - April 14, 2011
446
-
447
- ### Bug fixes
448
-
449
- - Return unique filenames from Linux listener. (Marian Schubert)
450
- - `Guard.get_guard_class` return wrong class when loaded nested class. ([@koshigoe][])
451
- - [#35][] Fix open-gem/gem_open dependency problem by using `gem which` to locate guards gem path. (reported by [@thierryhenrio][], fixed by [@thibaudgg][])
452
- - [#38][] and [#39][] Fix an invalid ANSI escape code in `Guard::UI.reset_line`. ([@gix][])
453
-
454
- ### New feature
455
-
456
- - [#28][] New `-n` command line option to disable notifications (Growl / Libnotify). ([@thibaudgg][])
457
-
458
- ## 0.3.0 - January 19, 2011
459
-
460
- ### Bug fix
461
-
462
- - Avoid launching `run_on_change` guards method when no files matched. `--clear` guard argument is now usable. ([@thibaudgg][])
463
-
464
- ### New features
465
-
466
- - The whole directory is now watched during `run_on_change` to detect new files modifications. ([@thibaudgg][])
467
- - [#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][])
468
- - `watch` patterns are now more strict: strings are matched with `String#==`, `Regexp` are matched with `Regexp#match`. ([@rymai][])
469
- - A deprecation warning is displayed if your `Guardfile` contains `String` that look like `Regexp` (bad!). ([@rymai][])
470
- - It's now possible to return an `Enumerable` in the `watch` optional blocks in the `Guardfile`. ([@rymai][])
471
-
472
- ### New specs
473
-
474
- - `Guard::Watcher`. ([@rymai][])
475
- - [#13][] `Guard::Dsl`. ([@oliamb][])
476
-
477
- ## 0.2.2 - October 25, 2010
478
-
479
- ### Bug fix
480
-
481
- - [#5][] Avoid creating new copy of `fsevent_watch` every time a file is changed. (reported by [@stouset][], fixed by [@thibaudgg][])
482
-
483
- ## 0.2.1 - October 24, 2010
484
-
485
- ### Bug fixes
486
-
487
- - [#7][] Fix for Linux support. ([@yannlugrin][])
488
- - [#6][] Locate guard now chomp newline in result path. ([@yannlugrin][])
489
-
490
- ## 0.2.0 - October 21, 2010
491
-
492
- ### Bug fixes
493
-
494
- - [#3][] `guard init <guard-name>` no more need `Gemfile` but `open_gem` is required now. (reported by [@wereHamster][], fixed by [@thibaudgg][])
495
- - [#2][] 1.8.6 compatibility. (reported by [@veged][], fixed by [@thibaudgg][])
496
- - Remove Growl and Libnotify dependencies. ([@thibaudgg][])
497
-
498
- ## 0.2.0.beta.1 - October 17, 2010
499
-
500
- ### New features
501
-
502
- - Improve listeners support (`rb-fsevent` and `rb-inotify`). ([@thibaudgg][])
503
- - Add polling listening fallback. ([@thibaudgg][])
504
-
505
-
506
- <!--- The following link definition list is generated by PimpMyChangelog --->
507
- [#2]: https://github.com/guard/guard/issues/2
508
- [#3]: https://github.com/guard/guard/issues/3
509
- [#5]: https://github.com/guard/guard/issues/5
510
- [#6]: https://github.com/guard/guard/issues/6
511
- [#7]: https://github.com/guard/guard/issues/7
512
- [#12]: https://github.com/guard/guard/issues/12
513
- [#13]: https://github.com/guard/guard/issues/13
514
- [#26]: https://github.com/guard/guard/issues/26
515
- [#28]: https://github.com/guard/guard/issues/28
516
- [#35]: https://github.com/guard/guard/issues/35
517
- [#38]: https://github.com/guard/guard/issues/38
518
- [#39]: https://github.com/guard/guard/issues/39
519
- [#41]: https://github.com/guard/guard/issues/41
520
- [#42]: https://github.com/guard/guard/issues/42
521
- [#43]: https://github.com/guard/guard/issues/43
522
- [#48]: https://github.com/guard/guard/issues/48
523
- [#51]: https://github.com/guard/guard/issues/51
524
- [#55]: https://github.com/guard/guard/issues/55
525
- [#58]: https://github.com/guard/guard/issues/58
526
- [#60]: https://github.com/guard/guard/issues/60
527
- [#63]: https://github.com/guard/guard/issues/63
528
- [#64]: https://github.com/guard/guard/issues/64
529
- [#66]: https://github.com/guard/guard/issues/66
530
- [#67]: https://github.com/guard/guard/issues/67
531
- [#69]: https://github.com/guard/guard/issues/69
532
- [#73]: https://github.com/guard/guard/issues/73
533
- [#74]: https://github.com/guard/guard/issues/74
534
- [#77]: https://github.com/guard/guard/issues/77
535
- [#79]: https://github.com/guard/guard/issues/79
536
- [#80]: https://github.com/guard/guard/issues/80
537
- [#82]: https://github.com/guard/guard/issues/82
538
- [#84]: https://github.com/guard/guard/issues/84
539
- [#86]: https://github.com/guard/guard/issues/86
540
- [#88]: https://github.com/guard/guard/issues/88
541
- [#90]: https://github.com/guard/guard/issues/90
542
- [#91]: https://github.com/guard/guard/issues/91
543
- [#94]: https://github.com/guard/guard/issues/94
544
- [#95]: https://github.com/guard/guard/issues/95
545
- [#97]: https://github.com/guard/guard/issues/97
546
- [#98]: https://github.com/guard/guard/issues/98
547
- [#99]: https://github.com/guard/guard/issues/99
548
- [#107]: https://github.com/guard/guard/issues/107
549
- [#112]: https://github.com/guard/guard/issues/112
550
- [#115]: https://github.com/guard/guard/issues/115
551
- [#119]: https://github.com/guard/guard/issues/119
552
- [#120]: https://github.com/guard/guard/issues/120
553
- [#121]: https://github.com/guard/guard/issues/121
554
- [#128]: https://github.com/guard/guard/issues/128
555
- [#130]: https://github.com/guard/guard/issues/130
556
- [#136]: https://github.com/guard/guard/issues/136
557
- [#137]: https://github.com/guard/guard/issues/137
558
- [#138]: https://github.com/guard/guard/issues/138
559
- [#144]: https://github.com/guard/guard/issues/144
560
- [#145]: https://github.com/guard/guard/issues/145
561
- [#146]: https://github.com/guard/guard/issues/146
562
- [#149]: https://github.com/guard/guard/issues/149
563
- [#150]: https://github.com/guard/guard/issues/150
564
- [#152]: https://github.com/guard/guard/issues/152
565
- [#156]: https://github.com/guard/guard/issues/156
566
- [#157]: https://github.com/guard/guard/issues/157
567
- [#160]: https://github.com/guard/guard/issues/160
568
- [#165]: https://github.com/guard/guard/issues/165
569
- [#166]: https://github.com/guard/guard/issues/166
570
- [#167]: https://github.com/guard/guard/issues/167
571
- [#168]: https://github.com/guard/guard/issues/168
572
- [#173]: https://github.com/guard/guard/issues/173
573
- [#174]: https://github.com/guard/guard/issues/174
574
- [#195]: https://github.com/guard/guard/issues/195
575
- [#213]: https://github.com/guard/guard/issues/213
576
- [#214]: https://github.com/guard/guard/issues/214
577
- [#216]: https://github.com/guard/guard/issues/216
578
- [#218]: https://github.com/guard/guard/issues/218
579
- [#223]: https://github.com/guard/guard/issues/223
580
- [#226]: https://github.com/guard/guard/issues/226
581
- [#227]: https://github.com/guard/guard/issues/227
582
- [#232]: https://github.com/guard/guard/issues/232
583
- [#233]: https://github.com/guard/guard/issues/233
584
- [#236]: https://github.com/guard/guard/issues/236
585
- [#238]: https://github.com/guard/guard/issues/238
586
- [#249]: https://github.com/guard/guard/issues/249
587
- [#250]: https://github.com/guard/guard/issues/250
588
- [#254]: https://github.com/guard/guard/issues/254
589
- [#259]: https://github.com/guard/guard/issues/259
590
- [#260]: https://github.com/guard/guard/issues/260
591
- [#261]: https://github.com/guard/guard/issues/261
592
- [#270]: https://github.com/guard/guard/issues/270
593
- [#274]: https://github.com/guard/guard/issues/274
594
- [#275]: https://github.com/guard/guard/issues/275
595
- [#283]: https://github.com/guard/guard/issues/283
596
- [#298]: https://github.com/guard/guard/issues/298
597
- [#299]: https://github.com/guard/guard/issues/299
598
- [#315]: https://github.com/guard/guard/issues/315
599
- [#316]: https://github.com/guard/guard/issues/316
600
- [#317]: https://github.com/guard/guard/issues/317
601
- [#324]: https://github.com/guard/guard/issues/324
602
- [#331]: https://github.com/guard/guard/issues/331
603
- [@Gazer]: https://github.com/Gazer
604
- [@Maher4Ever]: https://github.com/Maher4Ever
605
- [@alandipert]: https://github.com/alandipert
606
- [@anithri]: https://github.com/anithri
607
- [@ashleyconnor]: https://github.com/ashleyconnor
608
- [@benolee]: https://github.com/benolee
609
- [@brainopia]: https://github.com/brainopia
610
- [@bronson]: https://github.com/bronson
611
- [@capotej]: https://github.com/capotej
612
- [@ches]: https://github.com/ches
613
- [@chrisberkhout]: https://github.com/chrisberkhout
614
- [@dgutov]: https://github.com/dgutov
615
- [@dnagir]: https://github.com/dnagir
616
- [@docwhat]: https://github.com/docwhat
617
- [@dyfrgi]: https://github.com/dyfrgi
618
- [@earlonrails]: https://github.com/earlonrails
619
- [@etehtsea]: https://github.com/etehtsea
620
- [@f1sherman]: https://github.com/f1sherman
621
- [@fabioyamate]: https://github.com/fabioyamate
622
- [@fnichol]: https://github.com/fnichol
623
- [@foxycoder]: https://github.com/foxycoder
624
- [@gix]: https://github.com/gix
625
- [@hardipe]: https://github.com/hardipe
626
- [@hashrocketeer]: https://github.com/hashrocketeer
627
- [@hawx]: https://github.com/hawx
628
- [@hron]: https://github.com/hron
629
- [@ianwhite]: https://github.com/ianwhite
630
- [@indirect]: https://github.com/indirect
631
- [@japgolly]: https://github.com/japgolly
632
- [@jeffutter]: https://github.com/jeffutter
633
- [@johnbintz]: https://github.com/johnbintz
634
- [@jredville]: https://github.com/jredville
635
- [@jrsacks]: https://github.com/jrsacks
636
- [@koshigoe]: https://github.com/koshigoe
637
- [@laserlemon]: https://github.com/laserlemon
638
- [@limeyd]: https://github.com/limeyd
639
- [@madtrick]: https://github.com/madtrick
640
- [@maio]: https://github.com/maio
641
- [@mattgreen]: https://github.com/mattgreen
642
- [@mcmire]: https://github.com/mcmire
643
- [@mislav]: https://github.com/mislav
644
- [@monocle]: https://github.com/monocle
645
- [@mordaroso]: https://github.com/mordaroso
646
- [@nestegg]: https://github.com/nestegg
647
- [@netzpirat]: https://github.com/netzpirat
648
- [@nicksieger]: https://github.com/nicksieger
649
- [@niklas]: https://github.com/niklas
650
- [@oliamb]: https://github.com/oliamb
651
- [@oreoshake]: https://github.com/oreoshake
652
- [@pcreux]: https://github.com/pcreux
653
- [@philomory]: https://github.com/philomory
654
- [@pirukire]: https://github.com/pirukire
655
- [@rmm5t]: https://github.com/rmm5t
656
- [@royvandewater]: https://github.com/royvandewater
657
- [@rupert654]: https://github.com/rupert654
658
- [@rymai]: https://github.com/rymai
659
- [@scottdavis]: https://github.com/scottdavis
660
- [@semperos]: https://github.com/semperos
661
- [@spadin]: https://github.com/spadin
662
- [@steakknife]: https://github.com/steakknife
663
- [@stereobooster]: https://github.com/stereobooster
664
- [@stouset]: https://github.com/stouset
665
- [@sunaku]: https://github.com/sunaku
666
- [@sutherland]: https://github.com/sutherland
667
- [@thibaudgg]: https://github.com/thibaudgg
668
- [@thierryhenrio]: https://github.com/thierryhenrio
669
- [@tinogomes]: https://github.com/tinogomes
670
- [@tpope]: https://github.com/tpope
671
- [@uk-ar]: https://github.com/uk-ar
672
- [@veged]: https://github.com/veged
673
- [@viking]: https://github.com/viking
674
- [@waldo]: https://github.com/waldo
675
- [@wereHamster]: https://github.com/wereHamster
676
- [@yannlugrin]: https://github.com/yannlugrin
677
- [@zonque]: https://github.com/zonque
1
+ # Moved to [Github releases](https://github.com/guard/guard/releases) page.