guard 2.7.0 → 2.7.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/lib/guard/sheller.rb CHANGED
@@ -41,7 +41,7 @@ module Guard
41
41
  #
42
42
  def run
43
43
  unless ran?
44
- status, output, errors = self.class._system(*@command)
44
+ status, output, errors = self.class._system_with_capture(*@command)
45
45
  @ran = true
46
46
  @stdout = output
47
47
  @stderr = errors
@@ -66,7 +66,7 @@ module Guard
66
66
  def ok?
67
67
  run unless ran?
68
68
 
69
- @status.success?
69
+ @status && @status.success?
70
70
  end
71
71
 
72
72
  # Returns the command's output.
@@ -89,19 +89,55 @@ module Guard
89
89
  @stderr
90
90
  end
91
91
 
92
- # Stubbed by tests
93
- def self._system(*args)
94
- out, wout = IO.pipe
95
- err, werr = IO.pipe
92
+ # No output capturing
93
+ #
94
+ # NOTE: `$stdout.puts system('cls')` on Windows won't work like
95
+ # it does for on systems with ansi terminals, so we need to be
96
+ # able to call Kernel.system directly.
97
+ def self.system(*args)
98
+ _system_with_no_capture(*args)
99
+ end
100
+
101
+ def self._system_with_no_capture(*args)
102
+ Kernel.system(*args)
103
+ result = $?
104
+ errors = (result == 0) || "Guard failed to run: #{args.inspect}"
105
+ [result, nil, errors]
106
+ end
96
107
 
97
- _result = Kernel.system(*args, err: werr, out: wout)
108
+ def self._system_with_capture(*args)
109
+ # We use popen3, because it started working on recent versions
110
+ # of JRuby, while JRuby doesn't handle options to Kernel.system
111
+ require "open3"
98
112
 
99
- [werr, wout].map(&:close)
113
+ args = _shellize_if_needed(args)
100
114
 
101
- output, errors = out.read, err.read
102
- [out, err].map(&:close)
115
+ stdout, stderr, status = nil
116
+ Open3.popen3(*args) do |_stdin, _stdout, _stderr, _thr|
117
+ stdout = _stdout.read
118
+ stderr = _stderr.read
119
+ status = _thr.value
120
+ end
121
+
122
+ [status, stdout, stderr]
123
+ rescue Errno::ENOENT, IOError => e
124
+ [nil, nil, "Guard::Sheller failed (#{e.inspect})"]
125
+ end
103
126
 
104
- [$?.dup, output, errors]
127
+ # Only needed on JRUBY, because MRI properly detects ';' and metachars
128
+ def self._shellize_if_needed(args)
129
+ return args unless RUBY_PLATFORM == "java"
130
+ return args unless args.size == 1
131
+ return args unless /[;<>]/ =~ args.first
132
+
133
+ # NOTE: guard basically only uses UNIX commands anyway
134
+ # while JRuby doesn't support options to Kernel.system and doesn't
135
+ # automatically shell when there's a metacharacter in the command
136
+ #
137
+ # So ... I'm assuming /bin/sh exists - if not, PRs are welcome,
138
+ # because I have no clue what to do if /bin/sh doesn't exist.
139
+ # (use ENV["RUBYSHELL"] ? Detect cmd.exe ?)
140
+ ["/bin/sh", "-c", args.first]
105
141
  end
106
142
  end
107
143
  end
@@ -0,0 +1,107 @@
1
+ module Guard
2
+ # The Guard sheller abstract the actual subshell
3
+ # calls and allow easier stubbing.
4
+ #
5
+ class Sheller
6
+ attr_reader :status
7
+
8
+ # Creates a new Guard::Sheller object.
9
+ #
10
+ # @param [String] args a command to run in a subshell
11
+ # @param [Array<String>] args an array of command parts to run in a subshell
12
+ # @param [*String] args a list of command parts to run in a subshell
13
+ #
14
+ def initialize(*args)
15
+ fail ArgumentError, "no command given" if args.empty?
16
+ @command = args
17
+ @ran = false
18
+ end
19
+
20
+ # Shortcut for new(command).run
21
+ #
22
+ def self.run(*args)
23
+ new(*args).run
24
+ end
25
+
26
+ # Shortcut for new(command).run.stdout
27
+ #
28
+ def self.stdout(*args)
29
+ new(*args).stdout
30
+ end
31
+
32
+ # Shortcut for new(command).run.stderr
33
+ #
34
+ def self.stderr(*args)
35
+ new(*args).stderr
36
+ end
37
+
38
+ # Runs the command.
39
+ #
40
+ # @return [Boolean] whether or not the command succeeded.
41
+ #
42
+ def run
43
+ unless ran?
44
+ status, output, errors = self.class._system(*@command)
45
+ @ran = true
46
+ @stdout = output
47
+ @stderr = errors
48
+ @status = status
49
+ end
50
+
51
+ ok?
52
+ end
53
+
54
+ # Returns true if the command has already been run, false otherwise.
55
+ #
56
+ # @return [Boolean] whether or not the command has already been run
57
+ #
58
+ def ran?
59
+ @ran
60
+ end
61
+
62
+ # Returns true if the command succeeded, false otherwise.
63
+ #
64
+ # @return [Boolean] whether or not the command succeeded
65
+ #
66
+ def ok?
67
+ run unless ran?
68
+
69
+ @status.success?
70
+ end
71
+
72
+ # Returns the command's output.
73
+ #
74
+ # @return [String] the command output
75
+ #
76
+ def stdout
77
+ run unless ran?
78
+
79
+ @stdout
80
+ end
81
+
82
+ # Returns the command's error output.
83
+ #
84
+ # @return [String] the command output
85
+ #
86
+ def stderr
87
+ run unless ran?
88
+
89
+ @stderr
90
+ end
91
+
92
+ # Stubbed by tests
93
+ def self._system(*args)
94
+ out, wout = IO.pipe
95
+ err, werr = IO.pipe
96
+
97
+ _result = Kernel.system(*args, err: werr, out: wout)
98
+
99
+ [werr, wout].map(&:close)
100
+
101
+ output, errors = out.read, err.read
102
+ [out, err].map(&:close)
103
+
104
+ [$?.dup, output, errors]
105
+ end
106
+ end
107
+ end
data/lib/guard/tags CHANGED
@@ -4,12 +4,22 @@
4
4
  !_TAG_PROGRAM_NAME Exuberant Ctags //
5
5
  !_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/
6
6
  !_TAG_PROGRAM_VERSION 5.9~svn20110310 //
7
+ All commands/all.rb /^ class All$/;" c class:Guard.Commands
8
+ Base jobs/base.rb /^ class Base$/;" c class:Guard.Jobs
7
9
  Base notifiers/base.rb /^ class Base$/;" c class:Guard.Notifier
8
10
  Base plugin/base.rb /^ module Base$/;" m class:Guard.Plugin
9
11
  CLI cli.rb /^ class CLI < Thor$/;" c class:Guard
12
+ Change commands/change.rb /^ class Change$/;" c class:Guard.Commands
10
13
  ClassMethods plugin/base.rb /^ module ClassMethods$/;" m class:Guard.Plugin.Base
11
14
  Colors ui/colors.rb /^ module Colors$/;" m class:Guard.UI
12
15
  Commander commander.rb /^ module Commander$/;" m class:Guard
16
+ Commands commands/all.rb /^ module Commands$/;" m class:Guard
17
+ Commands commands/change.rb /^ module Commands$/;" m class:Guard
18
+ Commands commands/notification.rb /^ module Commands$/;" m class:Guard
19
+ Commands commands/pause.rb /^ module Commands$/;" m class:Guard
20
+ Commands commands/reload.rb /^ module Commands$/;" m class:Guard
21
+ Commands commands/scope.rb /^ module Commands$/;" m class:Guard
22
+ Commands commands/show.rb /^ module Commands$/;" m class:Guard
13
23
  DeprecatedMethods deprecated_methods.rb /^ module DeprecatedMethods$/;" m class:Guard
14
24
  Deprecator deprecator.rb /^ class Deprecator$/;" c class:Guard
15
25
  Dsl dsl.rb /^ class Dsl$/;" c class:Guard
@@ -17,12 +27,10 @@ DslDescriber dsl_describer.rb /^ class DslDescriber$/;" c class:Guard
17
27
  Emacs notifiers/emacs.rb /^ class Emacs < Base$/;" c class:Guard.Notifier
18
28
  Evaluator guardfile/evaluator.rb /^ class Evaluator$/;" c class:Guard.Guardfile
19
29
  FileNotifier notifiers/file_notifier.rb /^ class FileNotifier < Base$/;" c class:Guard.Notifier
20
- FileSource guardfile/evaluator.rb /^ class FileSource < Source$/;" c class:Guard.Guardfile
21
30
  GNTP notifiers/gntp.rb /^ class GNTP < Base$/;" c class:Guard.Notifier
22
31
  Generator guardfile/generator.rb /^ class Generator$/;" c class:Guard.Guardfile
23
32
  Group group.rb /^ class Group$/;" c class:Guard
24
33
  Growl notifiers/growl.rb /^ class Growl < Base$/;" c class:Guard.Notifier
25
- GrowlNotify notifiers/growl_notify.rb /^ class GrowlNotify < Base$/;" c class:Guard.Notifier
26
34
  Guard cli.rb /^module Guard$/;" m
27
35
  Guard commander.rb /^module Guard$/;" m
28
36
  Guard commands/all.rb /^module Guard$/;" m
@@ -43,26 +51,33 @@ Guard guardfile.rb /^module Guard$/;" m
43
51
  Guard guardfile/evaluator.rb /^module Guard$/;" m
44
52
  Guard guardfile/generator.rb /^module Guard$/;" m
45
53
  Guard interactor.rb /^module Guard$/;" m
54
+ Guard internals/scope.rb /^module Guard$/;" m
55
+ Guard internals/session.rb /^module Guard$/;" m
56
+ Guard jobs/base.rb /^module Guard$/;" m
57
+ Guard jobs/pry_wrapper.rb /^module Guard$/;" m
58
+ Guard jobs/sleep.rb /^module Guard$/;" m
46
59
  Guard notifier.rb /^module Guard$/;" m
47
60
  Guard notifiers/base.rb /^module Guard$/;" m
48
61
  Guard notifiers/emacs.rb /^module Guard$/;" m
49
62
  Guard notifiers/file_notifier.rb /^module Guard$/;" m
50
63
  Guard notifiers/gntp.rb /^module Guard$/;" m
51
64
  Guard notifiers/growl.rb /^module Guard$/;" m
52
- Guard notifiers/growl_notify.rb /^module Guard$/;" m
53
65
  Guard notifiers/libnotify.rb /^module Guard$/;" m
54
66
  Guard notifiers/notifysend.rb /^module Guard$/;" m
55
67
  Guard notifiers/rb_notifu.rb /^module Guard$/;" m
56
68
  Guard notifiers/terminal_notifier.rb /^module Guard$/;" m
57
69
  Guard notifiers/terminal_title.rb /^module Guard$/;" m
58
70
  Guard notifiers/tmux.rb /^module Guard$/;" m
71
+ Guard options.rb /^module Guard$/;" m
59
72
  Guard plugin.rb /^module Guard$/;" m
60
73
  Guard plugin/base.rb /^module Guard$/;" m
61
74
  Guard plugin/hooker.rb /^module Guard$/;" m
62
75
  Guard plugin_util.rb /^module Guard$/;" m
63
76
  Guard rake_task.rb /^module Guard$/;" m
77
+ Guard reevaluator.rb /^module Guard$/;" m
64
78
  Guard runner.rb /^module Guard$/;" m
65
79
  Guard setuper.rb /^module Guard$/;" m
80
+ Guard sheller.rb /^module Guard$/;" m
66
81
  Guard ui.rb /^module Guard$/;" m
67
82
  Guard ui/colors.rb /^module Guard$/;" m
68
83
  Guard version.rb /^module Guard$/;" m
@@ -71,23 +86,20 @@ Guardfile guardfile.rb /^ module Guardfile$/;" m class:Guard
71
86
  Guardfile guardfile/evaluator.rb /^ module Guardfile$/;" m class:Guard
72
87
  Guardfile guardfile/generator.rb /^ module Guardfile$/;" m class:Guard
73
88
  Hooker plugin/hooker.rb /^ module Hooker$/;" m class:Guard.Plugin
74
- InlineSource guardfile/evaluator.rb /^ class InlineSource < Source$/;" c class:Guard.Guardfile
75
- Interactor commands/all.rb /^ class Interactor$/;" c class:Guard
76
- Interactor commands/change.rb /^ class Interactor$/;" c class:Guard
77
- Interactor commands/notification.rb /^ class Interactor$/;" c class:Guard
78
- Interactor commands/pause.rb /^ class Interactor$/;" c class:Guard
79
- Interactor commands/reload.rb /^ class Interactor$/;" c class:Guard
80
- Interactor commands/scope.rb /^ class Interactor$/;" c class:Guard
81
- Interactor commands/show.rb /^ class Interactor$/;" c class:Guard
82
89
  Interactor interactor.rb /^ class Interactor$/;" c class:Guard
90
+ Internals internals/scope.rb /^ module Internals$/;" m class:Guard
91
+ Internals internals/session.rb /^ module Internals$/;" m class:Guard
92
+ Jobs jobs/base.rb /^ module Jobs$/;" m class:Guard
93
+ Jobs jobs/pry_wrapper.rb /^ module Jobs$/;" m class:Guard
94
+ Jobs jobs/sleep.rb /^ module Jobs$/;" m class:Guard
83
95
  Libnotify notifiers/libnotify.rb /^ class Libnotify < Base$/;" c class:Guard.Notifier
96
+ Notification commands/notification.rb /^ class Notification$/;" c class:Guard.Commands
84
97
  Notifier notifier.rb /^ module Notifier$/;" m class:Guard
85
98
  Notifier notifiers/base.rb /^ module Notifier$/;" m class:Guard
86
99
  Notifier notifiers/emacs.rb /^ module Notifier$/;" m class:Guard
87
100
  Notifier notifiers/file_notifier.rb /^ module Notifier$/;" m class:Guard
88
101
  Notifier notifiers/gntp.rb /^ module Notifier$/;" m class:Guard
89
102
  Notifier notifiers/growl.rb /^ module Notifier$/;" m class:Guard
90
- Notifier notifiers/growl_notify.rb /^ module Notifier$/;" m class:Guard
91
103
  Notifier notifiers/libnotify.rb /^ module Notifier$/;" m class:Guard
92
104
  Notifier notifiers/notifysend.rb /^ module Notifier$/;" m class:Guard
93
105
  Notifier notifiers/rb_notifu.rb /^ module Notifier$/;" m class:Guard
@@ -96,111 +108,141 @@ Notifier notifiers/terminal_title.rb /^ module Notifier$/;" m class:Guard
96
108
  Notifier notifiers/tmux.rb /^ module Notifier$/;" m class:Guard
97
109
  Notifu notifiers/rb_notifu.rb /^ class Notifu < Base$/;" c class:Guard.Notifier
98
110
  NotifySend notifiers/notifysend.rb /^ class NotifySend < Base$/;" c class:Guard.Notifier
111
+ Options options.rb /^ class Options < Thor::CoreExt::HashWithIndifferentAccess$/;" c class:Guard
112
+ Pause commands/pause.rb /^ class Pause$/;" c class:Guard.Commands
99
113
  Plugin plugin.rb /^ class Plugin$/;" c class:Guard
100
114
  Plugin plugin/base.rb /^ class Plugin$/;" c class:Guard
101
115
  Plugin plugin/hooker.rb /^ class Plugin$/;" c class:Guard
102
116
  PluginUtil plugin_util.rb /^ class PluginUtil$/;" c class:Guard
117
+ PryWrapper jobs/pry_wrapper.rb /^ class PryWrapper < Base$/;" c class:Guard.Jobs
103
118
  RakeTask rake_task.rb /^ class RakeTask < ::Rake::TaskLib$/;" c class:Guard
119
+ Reevaluator reevaluator.rb /^ class Reevaluator < Guard::Plugin$/;" c class:Guard
120
+ Reload commands/reload.rb /^ class Reload$/;" c class:Guard.Commands
104
121
  Runner runner.rb /^ class Runner$/;" c class:Guard
122
+ Scope commands/scope.rb /^ class Scope$/;" c class:Guard.Commands
123
+ Scope internals/scope.rb /^ class Scope$/;" c class:Guard.Internals
124
+ Session internals/session.rb /^ class Session$/;" c class:Guard.Internals
105
125
  Setuper setuper.rb /^ module Setuper$/;" m class:Guard
106
- Source guardfile/evaluator.rb /^ class Source$/;" c class:Guard.Guardfile
126
+ Sheller sheller.rb /^ class Sheller$/;" c class:Guard
127
+ Show commands/show.rb /^ class Show$/;" c class:Guard.Commands
128
+ Sleep jobs/sleep.rb /^ class Sleep < Base$/;" c class:Guard.Jobs
107
129
  TerminalNotifier notifiers/terminal_notifier.rb /^ class TerminalNotifier < Base$/;" c class:Guard.Notifier
130
+ TerminalSettings jobs/pry_wrapper.rb /^ class TerminalSettings$/;" c class:Guard.Jobs
108
131
  TerminalTitle notifiers/terminal_title.rb /^ class TerminalTitle < Base$/;" c class:Guard.Notifier
109
132
  Tmux notifiers/tmux.rb /^ class Tmux < Base$/;" c class:Guard.Notifier
110
133
  UI ui.rb /^ module UI$/;" m class:Guard
111
134
  UI ui/colors.rb /^ module UI$/;" m class:Guard
112
135
  Watcher watcher.rb /^ class Watcher$/;" c class:Guard
113
- _add_hooks interactor.rb /^ def _add_hooks$/;" f class:Guard.Interactor
114
- _add_load_guard_rc_hook interactor.rb /^ def _add_load_guard_rc_hook$/;" f class:Guard.Interactor
115
- _add_load_project_guard_rc_hook interactor.rb /^ def _add_load_project_guard_rc_hook$/;" f class:Guard.Interactor
116
- _add_restore_visibility_hook interactor.rb /^ def _add_restore_visibility_hook$/;" f class:Guard.Interactor
117
- _after_reevaluate guardfile/evaluator.rb /^ def _after_reevaluate$/;" f class:Guard.Guardfile.Evaluator
136
+ _add_hooks jobs/pry_wrapper.rb /^ def _add_hooks(options)$/;" f class:Guard.Jobs.PryWrapper
137
+ _add_load_guard_rc_hook jobs/pry_wrapper.rb /^ def _add_load_guard_rc_hook(guard_rc)$/;" f class:Guard.Jobs.PryWrapper
138
+ _add_load_project_guard_rc_hook jobs/pry_wrapper.rb /^ def _add_load_project_guard_rc_hook(guard_rc)$/;" f class:Guard.Jobs.PryWrapper
139
+ _add_restore_visibility_hook jobs/pry_wrapper.rb /^ def _add_restore_visibility_hook$/;" f class:Guard.Jobs.PryWrapper
140
+ _add_row dsl_describer.rb /^ def _add_row(rows, name, available, used, option, value)$/;" f class:Guard.DslDescriber.show
118
141
  _auto_detect_notification notifier.rb /^ def _auto_detect_notification$/;" f class:Guard.Notifier
119
- _before_reevaluate guardfile/evaluator.rb /^ def _before_reevaluate$/;" f class:Guard.Guardfile.Evaluator
120
- _clearable? runner.rb /^ def _clearable?(guard, modified_paths, added_paths, removed_paths)$/;" f class:Guard.Runner
121
142
  _client notifiers/gntp.rb /^ def _client(opts = {})$/;" f class:Guard.Notifier.GNTP
122
143
  _client_cmd_flag notifiers/tmux.rb /^ def _client_cmd_flag(cmd)$/;" f class:Guard.Notifier
123
- _clients notifiers/tmux.rb /^ def _clients$/;" f class:Guard.Notifier
124
- _clients notifiers/tmux.rb /^ def self._clients$/;" F class:Guard.Notifier
125
- _clip_name interactor.rb /^ def _clip_name(target)$/;" f
126
- _configure_prompt interactor.rb /^ def _configure_prompt$/;" f
127
- _constant_name plugin_util.rb /^ def _constant_name$/;" f class:Guard.PluginUtil.plugin_names
128
- _create_command_aliases interactor.rb /^ def _create_command_aliases$/;" f class:Guard
129
- _create_group_commands interactor.rb /^ def _create_group_commands$/;" f
130
- _create_guard_commands interactor.rb /^ def _create_guard_commands$/;" f class:Guard
131
- _create_run_all_command interactor.rb /^ def _create_run_all_command$/;" f class:Guard
132
- _current_groups_scope runner.rb /^ def _current_groups_scope(scope)$/;" f class:Guard.Runner
133
- _current_plugins_scope runner.rb /^ def _current_plugins_scope(scope)$/;" f class:Guard.Runner
144
+ _clients notifiers/tmux.rb /^ def _clients$/;" f class:Guard.Notifier.Tmux
145
+ _clients notifiers/tmux.rb /^ def self._clients$/;" F class:Guard.Notifier.Tmux
146
+ _clip_name jobs/pry_wrapper.rb /^ def _clip_name(target)$/;" f class:Guard
147
+ _configure_prompt jobs/pry_wrapper.rb /^ def _configure_prompt$/;" f class:Guard
148
+ _constant_name plugin_util.rb /^ def _constant_name$/;" f class:Guard.PluginUtil
149
+ _create_command_aliases jobs/pry_wrapper.rb /^ def _create_command_aliases$/;" f class:Guard
150
+ _create_group_commands jobs/pry_wrapper.rb /^ def _create_group_commands$/;" f class:Guard
151
+ _create_guard_commands jobs/pry_wrapper.rb /^ def _create_guard_commands$/;" f class:Guard
152
+ _create_run_all_command jobs/pry_wrapper.rb /^ def _create_run_all_command$/;" f class:Guard.Jobs
134
153
  _debug_command_execution setuper.rb /^ def _debug_command_execution$/;" f class:Guard.Setuper
135
154
  _emacs_client_available notifiers/emacs.rb /^ def self._emacs_client_available?(opts)$/;" F class:Guard.Notifier.Emacs
136
- _evaluate_guardfile dsl_describer.rb /^ def _evaluate_guardfile$/;" f class:Guard.DslDescriber
155
+ _fetch_guardfile_contents guardfile/evaluator.rb /^ def _fetch_guardfile_contents$/;" f class:Guard.Guardfile.Evaluator
137
156
  _filter ui.rb /^ def _filter(plugin)$/;" f class:Guard.UI
138
157
  _filtered_logger_message ui.rb /^ def _filtered_logger_message(message, method, color_name, options = {})$/;" f class:Guard.UI
139
- _find_non_empty_groups_scope runner.rb /^ def _find_non_empty_groups_scope(scope)$/;" f class:Guard.Runner
140
- _find_non_empty_plugins_scope runner.rb /^ def _find_non_empty_plugins_scope(scope)$/;" f class:Guard.Runner
141
- _find_non_empty_scope runner.rb /^ def _find_non_empty_scope(type, local_scope, *additional_possibilities)$/;" f class:Guard.Runner
142
- _first_non_blank_scope ui.rb /^ def _first_non_blank_scope(scope)$/;" f class:Guard.UI
158
+ _find_default_guardfile guardfile/evaluator.rb /^ def _find_default_guardfile$/;" f class:Guard.Guardfile.Evaluator
143
159
  _get_notifier_module notifier.rb /^ def _get_notifier_module(name)$/;" f class:Guard.Notifier
160
+ _guardfile_contents_usable? guardfile/evaluator.rb /^ def _guardfile_contents_usable?$/;" f class:Guard.Guardfile.Evaluator
161
+ _guardfile_contents_without_user_config guardfile/evaluator.rb /^ def _guardfile_contents_without_user_config$/;" f class:Guard.Guardfile.Evaluator
162
+ _home_guardfile_path guardfile/evaluator.rb /^ def _home_guardfile_path$/;" f class:Guard.Guardfile.Evaluator
144
163
  _image_path notifiers/base.rb /^ def _image_path(image)$/;" f class:Guard.Notifier.Base
145
- _join_scope_for_prompt interactor.rb /^ def _join_scope_for_prompt(scope_name)$/;" f
164
+ _instance_eval_guardfile guardfile/evaluator.rb /^ def _instance_eval_guardfile(contents)$/;" f class:Guard.Guardfile.Evaluator
165
+ _interactor_loop commander.rb /^ def _interactor_loop$/;" f class:Guard.Commander
166
+ _kill_pry jobs/pry_wrapper.rb /^ def _kill_pry$/;" f class:Guard.Jobs.PryWrapper
146
167
  _libnotify_urgency notifiers/libnotify.rb /^ def _libnotify_urgency(type)$/;" f class:Guard.Notifier.Libnotify
147
168
  _listener_callback setuper.rb /^ def _listener_callback$/;" f class:Guard.Setuper
169
+ _local_guardfile_path guardfile/evaluator.rb /^ def _local_guardfile_path$/;" f class:Guard.Guardfile.Evaluator
170
+ _merge_options dsl_describer.rb /^ def _merge_options(klass, notifier)$/;" f class:Guard.DslDescriber.show
171
+ _non_builtin_plugins? setuper.rb /^ def _non_builtin_plugins?$/;" f class:Guard.Setuper
148
172
  _notification_type notifiers/base.rb /^ def _notification_type(image)$/;" f class:Guard.Notifier.Base
173
+ _notifier_by_name dsl_describer.rb /^ def _notifier_by_name(name)$/;" f class:Guard.DslDescriber.show
149
174
  _notifu_type notifiers/rb_notifu.rb /^ def _notifu_type(type)$/;" f class:Guard.Notifier.Notifu
150
175
  _notifysend_binary_available notifiers/notifysend.rb /^ def self._notifysend_binary_available?$/;" F class:Guard.Notifier.NotifySend
151
176
  _notifysend_urgency notifiers/notifysend.rb /^ def _notifysend_urgency(type)$/;" f class:Guard.Notifier.NotifySend
152
- _plugin_constant plugin_util.rb /^ def _plugin_constant$/;" f class:Guard.PluginUtil.plugin_names
153
- _prompt interactor.rb /^ def _prompt(ending_char)$/;" f
154
- _quiet_option notifiers/tmux.rb /^ def _quiet_option$/;" f class:Guard.Notifier
155
- _read guardfile/evaluator.rb /^ def _read(rel_path)$/;" f class:Guard.Guardfile.FileSource
177
+ _options_for_client notifiers/tmux.rb /^ def self._options_for_client(client)$/;" F class:Guard.Notifier.Tmux
178
+ _plugin_constant plugin_util.rb /^ def _plugin_constant$/;" f class:Guard.PluginUtil
179
+ _process_queue setuper.rb /^ def _process_queue$/;" f class:Guard.Setuper
180
+ _prompt jobs/pry_wrapper.rb /^ def _prompt(ending_char)$/;" f class:Guard
181
+ _quiet_option notifiers/tmux.rb /^ def self._quiet_option$/;" F class:Guard.Notifier
182
+ _read_guardfile guardfile/evaluator.rb /^ def _read_guardfile(guardfile_path)$/;" f class:Guard.Guardfile.Evaluator
156
183
  _register notifiers/growl.rb /^ def self._register!(opts)$/;" F class:Guard.Notifier.Growl
157
- _register notifiers/growl_notify.rb /^ def self._register!(options)$/;" F class:Guard.Notifier.GrowlNotify
158
184
  _register notifiers/notifysend.rb /^ def self._register!(opts)$/;" F class:Guard.Notifier.NotifySend
159
185
  _register notifiers/terminal_notifier.rb /^ def self._register!(opts)$/;" F class:Guard.Notifier.TerminalNotifier
160
186
  _register notifiers/tmux.rb /^ def self._register!(opts)$/;" F class:Guard.Notifier.Tmux
161
187
  _register! notifiers/gntp.rb /^ def _register!(gntp_client)$/;" f class:Guard.Notifier.GNTP
162
188
  _register_callbacks plugin/hooker.rb /^ def _register_callbacks$/;" f class:Guard.Plugin
163
- _relative_from setuper.rb /^ def _relative_from(path, base)$/;" f class:Guard.Setuper
164
- _relative_paths setuper.rb /^ def _relative_paths(files)$/;" f class:Guard.Setuper
189
+ _relative_pathname setuper.rb /^ def _relative_pathname(path)$/;" f class:Guard.Setuper
190
+ _relative_pathnames setuper.rb /^ def _relative_pathnames(paths)$/;" f class:Guard.Setuper
165
191
  _relevant_changes? setuper.rb /^ def _relevant_changes?(changes)$/;" f class:Guard.Setuper
166
- _replace_reset_command interactor.rb /^ def _replace_reset_command$/;" f class:Guard.Interactor
192
+ _replace_reset_command jobs/pry_wrapper.rb /^ def _replace_reset_command$/;" f class:Guard.Jobs.PryWrapper
193
+ _reset_for_tests setuper.rb /^ def _reset_for_tests$/;" f class:Guard.Setuper
167
194
  _reset_options_store notifiers/tmux.rb /^ def self._reset_options_store$/;" F class:Guard.Notifier
168
- _restore_terminal_settings interactor.rb /^ def _restore_terminal_settings$/;" f
169
- _run_client notifiers/tmux.rb /^ def _run_client(cmd, args)$/;" f class:Guard.Notifier
170
- _run_cmd notifiers/emacs.rb /^ def _run_cmd(*args)$/;" f class:Guard.Notifier.Emacs
171
- _run_first_task_found runner.rb /^ def _run_first_task_found(guard, tasks, task_param)$/;" f class:Guard.Runner
172
- _scope_for_prompt interactor.rb /^ def _scope_for_prompt$/;" f
173
- _scoped_plugins runner.rb /^ def _scoped_plugins(scopes = {})$/;" f class:Guard.Runner
195
+ _run_actions setuper.rb /^ def _run_actions(actions)$/;" f class:Guard.Setuper
196
+ _run_client notifiers/tmux.rb /^ def _run_client(cmd, args)$/;" f class:Guard.Notifier.Tmux
197
+ _run_cmd notifiers/emacs.rb /^ def _run_cmd(cmd, *args)$/;" f class:Guard.Notifier.Emacs
198
+ _scope_for_prompt jobs/pry_wrapper.rb /^ def _scope_for_prompt$/;" f class:Guard
199
+ _scope_titles commander.rb /^ def _scope_titles$/;" f class:Guard.Commander
200
+ _scoped_watchers setuper.rb /^ def _scoped_watchers$/;" f class:Guard.Setuper
174
201
  _set_instance_variables_from_options plugin/base.rb /^ def _set_instance_variables_from_options(options)$/;" f class:Guard.Plugin.Base
202
+ _setup jobs/pry_wrapper.rb /^ def _setup(options)$/;" f class:Guard.Jobs.PryWrapper
203
+ _setup_commands jobs/pry_wrapper.rb /^ def _setup_commands$/;" f class:Guard.Jobs.PryWrapper
175
204
  _setup_debug setuper.rb /^ def _setup_debug$/;" f class:Guard.Setuper
176
205
  _setup_listener setuper.rb /^ def _setup_listener$/;" f class:Guard.Setuper
177
- _setup_notifier setuper.rb /^ def _setup_notifier$/;" f class:Guard.Setuper
178
206
  _setup_signal_traps setuper.rb /^ def _setup_signal_traps$/;" f class:Guard.Setuper
179
- _store_terminal_settings interactor.rb /^ def _store_terminal_settings$/;" f
180
- _stty_exists? interactor.rb /^ def _stty_exists?$/;" f
207
+ _setup_watchdirs setuper.rb /^ def _setup_watchdirs$/;" f class:Guard.Setuper
208
+ _start_pry jobs/pry_wrapper.rb /^ def _start_pry$/;" f class:Guard.Jobs.PryWrapper
209
+ _supervise runner.rb /^ def _supervise(plugin, task, *args)$/;" f class:Guard.Runner
181
210
  _supported_host notifiers/base.rb /^ def self._supported_host?$/;" F class:Guard.Notifier.Base
211
+ _system sheller.rb /^ def self._system(*args)$/;" F class:Guard.Sheller
182
212
  _tmux_environment_available notifiers/tmux.rb /^ def self._tmux_environment_available?(opts)$/;" F class:Guard.Notifier.Tmux
183
- _tmux_version notifiers/tmux.rb /^ def _tmux_version$/;" f class:Guard.Notifier
213
+ _tmux_version notifiers/tmux.rb /^ def self._tmux_version$/;" F class:Guard.Notifier
184
214
  _to_arguments notifiers/notifysend.rb /^ def _to_arguments(command, supported, opts = {})$/;" f class:Guard.Notifier.NotifySend
185
- _verify_bundler_presence cli.rb /^ def _verify_bundler_presence$/;" f class:Guard.CLI.start
186
- _watchdirs setuper.rb /^ def _watchdirs$/;" f class:Guard.Setuper
215
+ _use_default guardfile/evaluator.rb /^ def _use_default$/;" f class:Guard.Guardfile.Evaluator
216
+ _use_inline guardfile/evaluator.rb /^ def _use_inline$/;" f class:Guard.Guardfile.Evaluator
217
+ _use_provided guardfile/evaluator.rb /^ def _use_provided$/;" f class:Guard.Guardfile.Evaluator
218
+ _user_config_path guardfile/evaluator.rb /^ def _user_config_path$/;" f class:Guard.Guardfile.Evaluator
219
+ _verify_bundler_presence cli.rb /^ def _verify_bundler_presence$/;" f class:Guard.CLI
220
+ _within_current_guardfile dsl_describer.rb /^ def _within_current_guardfile(&_block)$/;" f class:Guard.DslDescriber.show
187
221
  _write notifiers/file_notifier.rb /^ def _write(path, contents)$/;" f class:Guard.Notifier.FileNotifier
188
- action_with_scopes ui.rb /^ def action_with_scopes(action, scope)$/;" f class:Guard.UI
222
+ add_builtin_plugins setuper.rb /^ def add_builtin_plugins(guardfile)$/;" f class:Guard.Setuper
189
223
  add_callback plugin/hooker.rb /^ def self.add_callback(listener, guard_plugin, events)$/;" F class:Guard.Plugin.Hooker
190
224
  add_guard deprecated_methods.rb /^ def add_guard(*args)$/;" f class:Guard.DeprecatedMethods
191
225
  add_notifier notifier.rb /^ def add_notifier(name, opts = {})$/;" f class:Guard.Notifier
192
226
  add_to_guardfile plugin_util.rb /^ def add_to_guardfile$/;" f class:Guard.PluginUtil.plugin_names
227
+ after_guardfile_eval internals/scope.rb /^ def after_guardfile_eval$/;" f class:Guard.Internals.Scope
228
+ after_guardfile_reeval internals/scope.rb /^ def after_guardfile_reeval$/;" f class:Guard.Internals.Scope
229
+ async_queue_add setuper.rb /^ def async_queue_add(changes)$/;" f class:Guard.Setuper
193
230
  available notifiers/base.rb /^ def self.available?(opts = {})$/;" F class:Guard.Notifier.Base
194
231
  available notifiers/emacs.rb /^ def self.available?(opts = {})$/;" F class:Guard.Notifier.Emacs
195
232
  available notifiers/file_notifier.rb /^ def self.available?(opts = {})$/;" F class:Guard.Notifier.FileNotifier
196
233
  available notifiers/gntp.rb /^ def self.available?(opts = {})$/;" F class:Guard.Notifier.GNTP
197
234
  available notifiers/growl.rb /^ def self.available?(opts = {})$/;" F class:Guard.Notifier.Growl
198
- available notifiers/growl_notify.rb /^ def self.available?(opts = {})$/;" F class:Guard.Notifier.GrowlNotify
199
235
  available notifiers/libnotify.rb /^ def self.available?(opts = {})$/;" F class:Guard.Notifier.Libnotify
200
236
  available notifiers/notifysend.rb /^ def self.available?(opts = {})$/;" F class:Guard.Notifier.NotifySend
201
237
  available notifiers/rb_notifu.rb /^ def self.available?(opts = {})$/;" F class:Guard.Notifier.Notifu
202
238
  available notifiers/terminal_notifier.rb /^ def self.available?(opts = {})$/;" F class:Guard.Notifier.TerminalNotifier
203
239
  available notifiers/tmux.rb /^ def self.available?(opts = {})$/;" F class:Guard.Notifier.Tmux
240
+ background interactor.rb /^ def background$/;" f class:Guard.Interactor
241
+ background jobs/base.rb /^ def background$/;" f class:Guard.Jobs.Base
242
+ background jobs/pry_wrapper.rb /^ def background$/;" f class:Guard.Jobs.PryWrapper
243
+ background jobs/sleep.rb /^ def background$/;" f class:Guard.Jobs.Sleep
244
+ before_guardfile_eval internals/scope.rb /^ def before_guardfile_eval$/;" f class:Guard.Internals.Scope
245
+ before_guardfile_reeval internals/scope.rb /^ def before_guardfile_reeval$/;" f class:Guard.Internals.Scope
204
246
  call_action watcher.rb /^ def call_action(matches)$/;" f class:Guard.Watcher
205
247
  callback dsl.rb /^ def callback(*args, &block)$/;" f class:Guard.Dsl
206
248
  callbacks plugin/hooker.rb /^ def self.callbacks$/;" F class:Guard.Plugin.Hooker
@@ -211,22 +253,27 @@ clear_options setuper.rb /^ def clear_options$/;" f class:Guard.Setuper
211
253
  clearable ui.rb /^ def clearable$/;" f class:Guard.UI
212
254
  color ui.rb /^ def color(text, *color_options)$/;" f class:Guard.UI
213
255
  color_enabled? ui.rb /^ def color_enabled?$/;" f class:Guard.UI
214
- content guardfile/evaluator.rb /^ def content$/;" f class:Guard.Guardfile.FileSource
215
- content guardfile/evaluator.rb /^ def content$/;" f class:Guard.Guardfile.InlineSource
216
- convert_scope interactor.rb /^ def self.convert_scope(entries)$/;" F class:Guard.Interactor
256
+ configurable? jobs/pry_wrapper.rb /^ def configurable?$/;" f class:Guard.Jobs.TerminalSettings
217
257
  create_guardfile guardfile.rb /^ def self.create_guardfile(options = {})$/;" F class:Guard.Guardfile
218
258
  create_guardfile guardfile/generator.rb /^ def create_guardfile$/;" f class:Guard.Guardfile.Generator
219
259
  debug ui.rb /^ def debug(message, options = {})$/;" f class:Guard.UI
220
260
  deprecation ui.rb /^ def deprecation(message, options = {})$/;" f class:Guard.UI
221
261
  display_message notifiers/tmux.rb /^ def display_message(type, title, message, opts = {})$/;" f class:Guard.Notifier.Tmux
222
262
  display_title notifiers/tmux.rb /^ def display_title(type, title, message, opts = {})$/;" f class:Guard.Notifier.Tmux
263
+ echo jobs/pry_wrapper.rb /^ def echo$/;" f class:Guard.Jobs.TerminalSettings
223
264
  emacs_color notifiers/emacs.rb /^ def emacs_color(type, options = {})$/;" f class:Guard.Notifier.Emacs
224
- enabled interactor.rb /^ def self.enabled$/;" F class:Guard.Interactor
225
- enabled interactor.rb /^ def self.enabled=(status)$/;" F class:Guard.Interactor
265
+ enabled? interactor.rb /^ def enabled?$/;" f class:Guard.Interactor
226
266
  enabled? notifier.rb /^ def enabled?$/;" f class:Guard.Notifier
227
267
  error ui.rb /^ def error(message, options = {})$/;" f class:Guard.UI
228
- evaluate guardfile/evaluator.rb /^ def evaluate$/;" f class:Guard.Guardfile.Evaluator
229
268
  evaluate_guardfile dsl.rb /^ def self.evaluate_guardfile(options = {})$/;" F class:Guard.Dsl
269
+ evaluate_guardfile guardfile/evaluator.rb /^ def evaluate_guardfile$/;" f class:Guard.Guardfile.Evaluator
270
+ evaluate_guardfile setuper.rb /^ def evaluate_guardfile$/;" f class:Guard.Setuper
271
+ evaluator deprecated_methods.rb /^ def evaluator$/;" f class:Guard.DeprecatedMethods
272
+ foreground interactor.rb /^ def foreground$/;" f class:Guard.Interactor
273
+ foreground jobs/base.rb /^ def foreground$/;" f class:Guard.Jobs.Base
274
+ foreground jobs/pry_wrapper.rb /^ def foreground$/;" f class:Guard.Jobs.PryWrapper
275
+ foreground jobs/sleep.rb /^ def foreground$/;" f class:Guard.Jobs.Sleep
276
+ from_names commands/scope.rb /^ def self.from_names(entries)$/;" F class:Guard.Commands.Scope
230
277
  gem_name notifiers/base.rb /^ def self.gem_name$/;" F class:Guard.Notifier.Base
231
278
  gem_name notifiers/gntp.rb /^ def self.gem_name$/;" F class:Guard.Notifier.GNTP
232
279
  gem_name notifiers/rb_notifu.rb /^ def self.gem_name$/;" F class:Guard.Notifier.Notifu
@@ -235,43 +282,60 @@ get_guard_class deprecated_methods.rb /^ def get_guard_class(name, fail_grace
235
282
  group dsl.rb /^ def group(*args)$/;" f class:Guard.Dsl
236
283
  guard dsl.rb /^ def guard(name, options = {})$/;" f class:Guard.Dsl
237
284
  guard_gem_names deprecated_methods.rb /^ def guard_gem_names$/;" f class:Guard.DeprecatedMethods
285
+ guardfile_contents guardfile/evaluator.rb /^ def guardfile_contents$/;" f class:Guard.Guardfile.Evaluator
286
+ guardfile_include? guardfile/evaluator.rb /^ def guardfile_include?(plugin_name)$/;" f class:Guard.Guardfile.Evaluator
287
+ guardfile_source guardfile/evaluator.rb /^ def guardfile_source$/;" f class:Guard.Guardfile.Evaluator
238
288
  guards deprecated_methods.rb /^ def guards(filter = nil)$/;" f class:Guard.DeprecatedMethods
289
+ handle_interrupt interactor.rb /^ def handle_interrupt$/;" f class:Guard.Interactor
290
+ handle_interrupt jobs/base.rb /^ def handle_interrupt$/;" f class:Guard.Jobs.Base
291
+ handle_interrupt jobs/pry_wrapper.rb /^ def handle_interrupt$/;" f class:Guard.Jobs.PryWrapper
292
+ handle_interrupt jobs/sleep.rb /^ def handle_interrupt$/;" f class:Guard.Jobs.Sleep
239
293
  hook plugin/hooker.rb /^ def hook(event, *args)$/;" f class:Guard.Plugin.Hooker
240
294
  ignore dsl.rb /^ def ignore(*regexps)$/;" f class:Guard
241
295
  ignore! dsl.rb /^ def ignore!(*regexps)$/;" f class:Guard
242
296
  images_path notifiers/base.rb /^ def images_path$/;" f class:Guard.Notifier.Base
297
+ import commands/all.rb /^ def self.import$/;" F class:Guard.Commands.All
298
+ import commands/change.rb /^ def self.import$/;" F class:Guard.Commands.Change
299
+ import commands/notification.rb /^ def self.import$/;" F class:Guard.Commands.Notification
300
+ import commands/pause.rb /^ def self.import$/;" F class:Guard.Commands.Pause
301
+ import commands/reload.rb /^ def self.import$/;" F class:Guard.Commands.Reload
302
+ import commands/scope.rb /^ def self.import$/;" F class:Guard.Commands.Scope
303
+ import commands/show.rb /^ def self.import$/;" F class:Guard.Commands.Show
243
304
  included plugin/base.rb /^ def self.included(base)$/;" F class:Guard.Plugin.Base
244
305
  info ui.rb /^ def info(message, options = {})$/;" f class:Guard.UI
245
- init cli.rb /^ def init(*plugin_names)$/;" f class:Guard.CLI.start
306
+ init cli.rb /^ def init(*plugin_names)$/;" f class:Guard.CLI
246
307
  initialize dsl_describer.rb /^ def initialize(options = {})$/;" f class:Guard.DslDescriber
247
308
  initialize group.rb /^ def initialize(name, options = {})$/;" f class:Guard.Group
248
309
  initialize guard.rb /^ def initialize(watchers = [], options = {})$/;" f class:Guard.Guard
249
- initialize guardfile/evaluator.rb /^ def initialize(content)$/;" f class:Guard.Guardfile.InlineSource
250
- initialize guardfile/evaluator.rb /^ def initialize(options = {})$/;" f class:Guard.Guardfile.Evaluator
251
- initialize guardfile/evaluator.rb /^ def initialize(path)$/;" f class:Guard.Guardfile.Source
252
- initialize guardfile/evaluator.rb /^ def initialize(path, options = {})$/;" f class:Guard.Guardfile.FileSource
310
+ initialize guardfile/evaluator.rb /^ def initialize(opts = {})$/;" f class:Guard.Guardfile.Evaluator
253
311
  initialize guardfile/generator.rb /^ def initialize(options = {})$/;" f class:Guard.Guardfile.Generator
254
- initialize interactor.rb /^ def initialize$/;" f class:Guard.Interactor
312
+ initialize interactor.rb /^ def initialize(no_interaction = false)$/;" f class:Guard.Interactor
313
+ initialize internals/session.rb /^ def initialize(options)$/;" f class:Guard.Internals.Session
314
+ initialize jobs/base.rb /^ def initialize(_options)$/;" f class:Guard.Jobs.Base
315
+ initialize jobs/pry_wrapper.rb /^ def initialize$/;" f class:Guard.Jobs.TerminalSettings
316
+ initialize jobs/pry_wrapper.rb /^ def initialize(options)$/;" f class:Guard.Jobs.PryWrapper
255
317
  initialize notifiers/base.rb /^ def initialize(opts = {})$/;" f class:Guard.Notifier.Base
318
+ initialize options.rb /^ def initialize(opts = {}, default_opts = {})$/;" f class:Guard.Options
256
319
  initialize plugin.rb /^ def initialize(options = {})$/;" f class:Guard.Plugin
257
320
  initialize plugin_util.rb /^ def initialize(name)$/;" f class:Guard.PluginUtil.plugin_names
258
- initialize rake_task.rb /^ def initialize(name = :guard, options = '')$/;" f class:Guard.RakeTask
321
+ initialize rake_task.rb /^ def initialize(name = :guard, options = "")$/;" f class:Guard.RakeTask
322
+ initialize sheller.rb /^ def initialize(*args)$/;" f class:Guard.Sheller
259
323
  initialize watcher.rb /^ def initialize(pattern, action = nil)$/;" f class:Guard.Watcher
260
324
  initialize_all_templates guardfile.rb /^ def self.initialize_all_templates$/;" F class:Guard.Guardfile
261
- initialize_all_templates guardfile/generator.rb /^ def initialize_all_templates$/;" f class:Guard.Guardfile.Generator
325
+ initialize_all_templates guardfile/generator.rb /^ def initialize_all_templates$/;" f class:Guard.Guardfile
262
326
  initialize_plugin plugin_util.rb /^ def initialize_plugin(options)$/;" f class:Guard.PluginUtil.plugin_names
263
327
  initialize_template guardfile.rb /^ def self.initialize_template(plugin_name)$/;" F class:Guard.Guardfile
264
328
  initialize_template guardfile/generator.rb /^ def initialize_template(plugin_name)$/;" f class:Guard.Guardfile.Generator
329
+ interactive? interactor.rb /^ def interactive?$/;" f class:Guard.Interactor
265
330
  interactor dsl.rb /^ def interactor(options)$/;" f class:Guard.Dsl
266
- interactor setuper.rb /^ def interactor$/;" f class:Guard.Setuper
267
- list cli.rb /^ def list$/;" f class:Guard.CLI.start
331
+ list cli.rb /^ def list$/;" f class:Guard.CLI
268
332
  list dsl_describer.rb /^ def list$/;" f class:Guard.DslDescriber
269
333
  locate_guard deprecated_methods.rb /^ def locate_guard(name)$/;" f class:Guard.DeprecatedMethods
334
+ lock deprecated_methods.rb /^ def lock$/;" f class:Guard.DeprecatedMethods
270
335
  logger dsl.rb /^ def logger(options)$/;" f class:Guard
271
336
  logger ui.rb /^ def logger$/;" f class:Guard.UI
272
- match watcher.rb /^ def match(file)$/;" f class:Guard.Watcher
337
+ match watcher.rb /^ def match(string_or_pathname)$/;" f class:Guard.Watcher
273
338
  match_files watcher.rb /^ def self.match_files(guard, files)$/;" F class:Guard.Watcher
274
- match_files watcher.rb /^ def self.match_files?(plugins, files)$/;" F class:Guard.Watcher
275
339
  match_guardfile watcher.rb /^ def self.match_guardfile?(files)$/;" F class:Guard.Watcher
276
340
  name notifiers/base.rb /^ def name$/;" f class:Guard.Notifier.Base
277
341
  name notifiers/base.rb /^ def self.name$/;" F class:Guard.Notifier.Base
@@ -280,17 +344,16 @@ non_namespaced_classname plugin/base.rb /^ def non_namespaced_classname$/
280
344
  non_namespaced_name plugin/base.rb /^ def non_namespaced_name$/;" f class:Guard.Plugin.Base.ClassMethods
281
345
  normalize_standard_options! notifiers/base.rb /^ def normalize_standard_options!(opts)$/;" f class:Guard.Notifier.Base
282
346
  notification dsl.rb /^ def notification(notifier, options = {})$/;" f class:Guard.Dsl
283
- notifiers cli.rb /^ def notifiers$/;" f class:Guard.CLI.start
284
- notifiers dsl_describer.rb /^ def notifiers$/;" f class:Guard.DslDescriber
347
+ notifiers cli.rb /^ def notifiers$/;" f class:Guard.CLI
348
+ notifiers dsl_describer.rb /^ def notifiers$/;" f class:Guard.DslDescriber.show
285
349
  notifiers notifier.rb /^ def notifiers$/;" f class:Guard.Notifier
286
350
  notifiers= notifier.rb /^ def notifiers=(notifiers)$/;" f class:Guard.Notifier
287
351
  notify notifier.rb /^ def notify(message, opts = {})$/;" f class:Guard.Notifier
288
- notify notifiers/base.rb /^ def notify(message, opts = {})$/;" f class:Guard.Notifier.Base
352
+ notify notifiers/base.rb /^ def notify(_message, opts = {})$/;" f class:Guard.Notifier.Base
289
353
  notify notifiers/emacs.rb /^ def notify(message, opts = {})$/;" f class:Guard.Notifier.Emacs
290
354
  notify notifiers/file_notifier.rb /^ def notify(message, opts = {})$/;" f class:Guard.Notifier.FileNotifier
291
355
  notify notifiers/gntp.rb /^ def notify(message, opts = {})$/;" f class:Guard.Notifier.GNTP
292
356
  notify notifiers/growl.rb /^ def notify(message, opts = {})$/;" f class:Guard.Notifier.Growl
293
- notify notifiers/growl_notify.rb /^ def notify(message, opts = {})$/;" f class:Guard.Notifier.GrowlNotify
294
357
  notify notifiers/libnotify.rb /^ def notify(message, opts = {})$/;" f class:Guard.Notifier.Libnotify
295
358
  notify notifiers/notifysend.rb /^ def notify(message, opts = {})$/;" f class:Guard.Notifier.NotifySend
296
359
  notify notifiers/rb_notifu.rb /^ def notify(message, opts = {})$/;" f class:Guard.Notifier.Notifu
@@ -298,70 +361,82 @@ notify notifiers/terminal_notifier.rb /^ def notify(message, opts = {})$/;"
298
361
  notify notifiers/terminal_title.rb /^ def notify(message, opts = {})$/;" f class:Guard.Notifier.TerminalTitle
299
362
  notify notifiers/tmux.rb /^ def notify(message, opts = {})$/;" f class:Guard.Notifier.Tmux
300
363
  notify plugin/hooker.rb /^ def self.notify(guard_plugin, event, *args)$/;" F class:Guard.Plugin.Hooker
301
- options interactor.rb /^ def self.options$/;" F class:Guard.Interactor
302
- options interactor.rb /^ def self.options=(options)$/;" F class:Guard.Interactor
364
+ ok? sheller.rb /^ def ok?$/;" f class:Guard.Sheller
365
+ options interactor.rb /^ def options$/;" f class:Guard.Interactor
303
366
  options ui.rb /^ def options$/;" f class:Guard.UI
304
- options_store notifiers/tmux.rb /^ def self.options_store$/;" F class:Guard.Notifier
305
- pause commander.rb /^ def pause$/;" f class:Guard.Commander
367
+ options= ui.rb /^ def options=(options)$/;" f class:Guard.UI
368
+ options_store notifiers/tmux.rb /^ def self.options_store$/;" F class:Guard.Notifier.Tmux
369
+ pause commander.rb /^ def pause(expected = nil)$/;" f class:Guard.Commander
370
+ pending_changes? setuper.rb /^ def pending_changes?$/;" f class:Guard.Setuper
306
371
  plugin_class plugin_util.rb /^ def plugin_class(options = {})$/;" f class:Guard.PluginUtil.plugin_names
307
372
  plugin_location plugin_util.rb /^ def plugin_location$/;" f class:Guard.PluginUtil.plugin_names
308
373
  plugin_names plugin_util.rb /^ def self.plugin_names$/;" F class:Guard.PluginUtil
309
- process commands/all.rb /^ def process(*entries)$/;" f class:Guard.Interactor
310
- process commands/change.rb /^ def process(*entries)$/;" f class:Guard.Interactor
311
- process commands/notification.rb /^ def process$/;" f class:Guard.Interactor
312
- process commands/pause.rb /^ def process$/;" f class:Guard.Interactor
313
- process commands/reload.rb /^ def process(*entries)$/;" f class:Guard.Interactor
314
- process commands/scope.rb /^ def process(*entries)$/;" f class:Guard.Interactor
315
- process commands/show.rb /^ def process$/;" f class:Guard.Interactor
316
- process interactor.rb /^ def process$/;" f class:Guard._create_guard_commands
317
- process interactor.rb /^ def process$/;" f class:_create_group_commands
318
- reevaluate guardfile/evaluator.rb /^ def reevaluate$/;" f class:Guard.Guardfile.Evaluator
374
+ plugins internals/scope.rb /^ def plugins$/;" f class:Guard.Internals.Scope
375
+ process commands/all.rb /^ def process(*entries)$/;" f class:Guard.Commands.All.import
376
+ process commands/change.rb /^ def process(*files)$/;" f class:Guard.Commands.Change.import
377
+ process commands/notification.rb /^ def process$/;" f class:Guard.Commands.Notification.import
378
+ process commands/pause.rb /^ def process$/;" f class:Guard.Commands.Pause.import
379
+ process commands/reload.rb /^ def process(*entries)$/;" f class:Guard.Commands.Reload.import
380
+ process commands/scope.rb /^ def process(*entries)$/;" f class:Guard.Commands.Scope.import
381
+ process commands/show.rb /^ def process$/;" f class:Guard.Commands.Show.import
382
+ process jobs/pry_wrapper.rb /^ def process$/;" f class:Guard._create_group_commands
383
+ process jobs/pry_wrapper.rb /^ def process$/;" f class:Guard._create_guard_commands
384
+ ran? sheller.rb /^ def ran?$/;" f class:Guard.Sheller
385
+ reevaluate_guardfile guardfile/evaluator.rb /^ def reevaluate_guardfile$/;" f class:Guard.Guardfile.Evaluator
319
386
  reload commander.rb /^ def reload(scopes = {})$/;" f class:Guard.Commander
320
387
  require_gem_safely notifiers/base.rb /^ def self.require_gem_safely(opts = {})$/;" F class:Guard.Notifier.Base
321
388
  reset_callbacks plugin/hooker.rb /^ def self.reset_callbacks!$/;" F class:Guard.Plugin.Hooker
322
389
  reset_groups setuper.rb /^ def reset_groups$/;" f class:Guard.Setuper
323
390
  reset_line ui.rb /^ def reset_line$/;" f class:Guard.UI
391
+ reset_options setuper.rb /^ def reset_options(new_options)$/;" f class:Guard.Setuper
324
392
  reset_plugins setuper.rb /^ def reset_plugins$/;" f class:Guard.Setuper
325
- reset_scope setuper.rb /^ def reset_scope$/;" f class:Guard.Setuper
326
- run runner.rb /^ def run(task, scope = {})$/;" f class:Guard.Runner
393
+ restore jobs/pry_wrapper.rb /^ def restore$/;" f class:Guard.Jobs.TerminalSettings
394
+ run runner.rb /^ def run(task, scope_hash = nil)$/;" f class:Guard.Runner
395
+ run sheller.rb /^ def run$/;" f class:Guard.Sheller
396
+ run sheller.rb /^ def self.run(*args)$/;" F class:Guard.Sheller
327
397
  run_all commander.rb /^ def run_all(scopes = {})$/;" f class:Guard.Commander
328
398
  run_on_changes runner.rb /^ def run_on_changes(modified, added, removed)$/;" f class:Guard.Runner
329
- run_supervised_task runner.rb /^ def run_supervised_task(guard, task, *args)$/;" f class:Guard.Runner
399
+ run_on_modifications reevaluator.rb /^ def run_on_modifications(files)$/;" f class:Guard.Reevaluator
400
+ running deprecated_methods.rb /^ def running$/;" f class:Guard.DeprecatedMethods
401
+ save jobs/pry_wrapper.rb /^ def save$/;" f class:Guard.Jobs.TerminalSettings
330
402
  scope dsl.rb /^ def scope(scope = {})$/;" f class:Guard
403
+ set_from_idle_job internals/scope.rb /^ def set_from_idle_job(_new_scope)$/;" f class:Guard.Internals.Scope
404
+ set_from_within_guardfile internals/scope.rb /^ def set_from_within_guardfile(_new_scope)$/;" f class:Guard.Internals.Scope
331
405
  setup setuper.rb /^ def setup(opts = {})$/;" f class:Guard.Setuper
332
- setup_scope setuper.rb /^ def setup_scope(new_scope)$/;" f class:Guard.Setuper
333
- show cli.rb /^ def show$/;" f class:Guard.CLI.start
406
+ show cli.rb /^ def show$/;" f class:Guard.CLI
407
+ show commander.rb /^ def show$/;" f class:Guard.Commander
334
408
  show dsl_describer.rb /^ def show$/;" f class:Guard.DslDescriber
335
409
  start cli.rb /^ def start$/;" f class:Guard.CLI
336
410
  start commander.rb /^ def start(options = {})$/;" f class:Guard.Commander
337
- start interactor.rb /^ def start$/;" f class:Guard.Interactor
411
+ stderr sheller.rb /^ def self.stderr(*args)$/;" F class:Guard.Sheller
412
+ stderr sheller.rb /^ def stderr$/;" f class:Guard.Sheller
413
+ stdout sheller.rb /^ def self.stdout(*args)$/;" F class:Guard.Sheller
414
+ stdout sheller.rb /^ def stdout$/;" f class:Guard.Sheller
338
415
  stop commander.rb /^ def stop$/;" f class:Guard.Commander
339
- stop interactor.rb /^ def stop$/;" f class:Guard.Interactor
340
416
  stopping_symbol_for runner.rb /^ def self.stopping_symbol_for(guard)$/;" F class:Guard.Runner
341
417
  supported_hosts notifiers/base.rb /^ def self.supported_hosts$/;" F class:Guard.Notifier.Base
342
418
  supported_hosts notifiers/gntp.rb /^ def self.supported_hosts$/;" F class:Guard.Notifier.GNTP
343
419
  supported_hosts notifiers/growl.rb /^ def self.supported_hosts$/;" F class:Guard.Notifier.Growl
344
- supported_hosts notifiers/growl_notify.rb /^ def self.supported_hosts$/;" F class:Guard.Notifier.GrowlNotify
345
420
  supported_hosts notifiers/libnotify.rb /^ def self.supported_hosts$/;" F class:Guard.Notifier.Libnotify
346
421
  supported_hosts notifiers/notifysend.rb /^ def self.supported_hosts$/;" F class:Guard.Notifier.NotifySend
347
422
  supported_hosts notifiers/rb_notifu.rb /^ def self.supported_hosts$/;" F class:Guard.Notifier.Notifu
348
423
  supported_hosts notifiers/terminal_notifier.rb /^ def self.supported_hosts$/;" F class:Guard.Notifier.TerminalNotifier
349
- system notifiers/tmux.rb /^ def system(args)$/;" f class:Guard.Notifier
350
424
  template plugin/base.rb /^ def template(plugin_location)$/;" f class:Guard.Plugin.Base.ClassMethods
351
425
  title group.rb /^ def title$/;" f class:Guard.Group
352
426
  title notifiers/base.rb /^ def self.title$/;" F class:Guard.Notifier.Base
353
427
  title notifiers/base.rb /^ def title$/;" f class:Guard.Notifier.Base
354
428
  title plugin/base.rb /^ def title$/;" f class:Guard.Plugin.Base
429
+ titles internals/scope.rb /^ def titles$/;" f class:Guard.Internals.Scope
355
430
  tmux_color notifiers/tmux.rb /^ def tmux_color(type, opts = {})$/;" f class:Guard.Notifier.Tmux
356
431
  to_s group.rb /^ def to_s$/;" f class:Guard.Group
357
432
  to_s plugin/base.rb /^ def to_s$/;" f class:Guard.Plugin.Base
358
433
  toggle notifier.rb /^ def toggle$/;" f class:Guard.Notifier
359
434
  turn_off notifier.rb /^ def turn_off$/;" f class:Guard.Notifier
360
435
  turn_off notifiers/terminal_title.rb /^ def self.turn_off$/;" F class:Guard.Notifier.TerminalTitle
361
- turn_off notifiers/tmux.rb /^ def self.turn_off$/;" F class:Guard.Notifier
436
+ turn_off notifiers/tmux.rb /^ def self.turn_off$/;" F class:Guard.Notifier.Tmux
362
437
  turn_on notifier.rb /^ def turn_on(opts = {})$/;" f class:Guard.Notifier
363
438
  turn_on notifiers/tmux.rb /^ def self.turn_on$/;" F class:Guard.Notifier.Tmux
364
- version cli.rb /^ def version$/;" f class:Guard.CLI.start
439
+ use internals/scope.rb /^ def use(_type_or_scope)$/;" f class:Guard.Internals.Scope
440
+ version cli.rb /^ def version$/;" f class:Guard.CLI
365
441
  warning ui.rb /^ def warning(message, options = {})$/;" f class:Guard.UI
366
442
  watch dsl.rb /^ def watch(pattern, &action)$/;" f class:Guard.Dsl
367
- within_preserved_state commander.rb /^ def within_preserved_state$/;" f class:Guard.Commander