rerun 0.6.5 → 0.6.6
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/README.md +2 -5
- data/lib/rerun/runner.rb +2 -1
- data/rerun.gemspec +1 -1
- metadata +4 -4
data/README.md
CHANGED
@@ -96,11 +96,7 @@ Also --version and --help, naturally.
|
|
96
96
|
If you have `growlnotify` available on the `PATH`, it sends notifications to
|
97
97
|
growl in addition to the console.
|
98
98
|
|
99
|
-
|
100
|
-
|
101
|
-
> The Installer package for growlnotify is in the growlnotify folder in the Extras folder on the Growl disk image. Simply open the Installer package and follow the on-screen instructions.
|
102
|
-
|
103
|
-
**NOTE**: Growl recently moved to the App Store. I upgraded, and it still works for me, but I'd love it if someone can confirm that `growlnotify` is still available in a clean App Store install and works as advertised.
|
99
|
+
Download [growlnotify here](http://growl.info/downloads.php#generaldownloads) now that Growl has moved to the App Store.
|
104
100
|
|
105
101
|
# On-The-Fly Commands
|
106
102
|
|
@@ -122,6 +118,7 @@ While the app is (re)running, you can make things happen by pressing keys:
|
|
122
118
|
* "Failed" icon
|
123
119
|
* Get Rails icon working
|
124
120
|
* Figure out an algorithm so "-x" is not needed (if possible)
|
121
|
+
* Use growl's AppleScript or SDK instead of relying on growlnotify
|
125
122
|
|
126
123
|
# Other projects that do similar things
|
127
124
|
|
data/lib/rerun/runner.rb
CHANGED
@@ -172,6 +172,7 @@ module Rerun
|
|
172
172
|
end
|
173
173
|
|
174
174
|
def signal(signal)
|
175
|
+
say "Sending #{signal}"
|
175
176
|
Process.kill(signal, @pid)
|
176
177
|
true
|
177
178
|
rescue
|
@@ -182,7 +183,7 @@ module Rerun
|
|
182
183
|
if @pid && (@pid != 0)
|
183
184
|
notify "stopping", "All good things must come to an end." unless @restarting
|
184
185
|
begin
|
185
|
-
timeout(
|
186
|
+
timeout(4) do # todo: escalation timeout setting
|
186
187
|
# start with a polite SIGTERM
|
187
188
|
signal("TERM") && Process.wait(@pid)
|
188
189
|
end
|
data/rerun.gemspec
CHANGED
@@ -3,7 +3,7 @@ $spec = Gem::Specification.new do |s|
|
|
3
3
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
4
4
|
|
5
5
|
s.name = 'rerun'
|
6
|
-
s.version = '0.6.
|
6
|
+
s.version = '0.6.6'
|
7
7
|
|
8
8
|
s.description = "Restarts your app when a file changes"
|
9
9
|
s.summary = "Launches an app, and restarts it whenever the filesystem changes."
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rerun
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.6
|
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:
|
12
|
+
date: 2012-06-02 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Restarts your app when a file changes
|
15
15
|
email: alex@stinky.com
|
@@ -46,7 +46,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
46
46
|
version: '0'
|
47
47
|
segments:
|
48
48
|
- 0
|
49
|
-
hash:
|
49
|
+
hash: -4045611463436758983
|
50
50
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
51
51
|
none: false
|
52
52
|
requirements:
|
@@ -55,7 +55,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
55
55
|
version: '0'
|
56
56
|
requirements: []
|
57
57
|
rubyforge_project: pivotalrb
|
58
|
-
rubygems_version: 1.8.
|
58
|
+
rubygems_version: 1.8.21
|
59
59
|
signing_key:
|
60
60
|
specification_version: 2
|
61
61
|
summary: Launches an app, and restarts it whenever the filesystem changes.
|