Test for 2.1 compatibility since it's "due soon."
Fix the hooks/callbacks feature
…guard into fix-531
…ugin with an explicit group Fixes #526.
This changes the way groups are remembered when evaluating the DSL, so they can be nested more flexible and also take multiple name, so its plugin are part of multiple groups with a single definition. The idea comes from the following Google+ post: https://plus.google.com/114035850232644654438/posts/HTNs9tcWVAt My initial idea was that the shared plugins should go to the top level, so they are part of the `default` group and always executed, but as it turned out, this feature was broken. So instead of fixing it, I implemented the multiple group names and updated the README.
Emacs notifier closes IO object instead of Array object
1. Follow this instruction: https://github.com/octokit/octokit.rb#using-a-netrc-file (you can use a personal token instead of your password). 2. Write the next release's draft on GitHub: https://github.com/guard/guard/releases/new 3. Run `rake release:full` (or `rake release:gem` and then `rake release:github`) 4. Drink a beer and congratulate yourself.
Properly sending titles through notify-send
Prior to Guard 2.2 the Tmux notifier set the `quiet` option to `on` when notifications are turned on and to `off` when turned off. This interferes with custom configuration and other tools, so with Guard 2.2 the output of the commands is set to quiet on a command basis, which solves the issue. But for people running the old Tmux version 1.6, this breaks the Tmux notifier since since the `set-option` command does support the `-q` flag only since version (See #512). This commit reverts some testing to work around the backward compatibility issue and commits to the new approach with one exception: the title notification is not quiet on Tmux <= 1.6, since it's the only part which relies on `set-option`. This implies that Tmux 1.6 users with the title notification set to true are seeing the Tmux command output. Now it's up to the user to configure that Tmux is quiet by adding ``` set-option -s quiet ``` to their Tmux config.