alloy-kicker 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/README.rdoc +4 -0
  2. data/VERSION.yml +1 -1
  3. data/bin/kicker +6 -1
  4. data/kicker.gemspec +1 -1
  5. metadata +1 -1
data/README.rdoc CHANGED
@@ -13,6 +13,10 @@ Run a Rake task whenever a given file is changed:
13
13
 
14
14
  $ kicker guides/source/nested_model_forms.textile "ONLY=nested_model_forms rake guides && open -a Safari guides/output/nested_model_forms.html"
15
15
 
16
+ == Installation
17
+
18
+ $ sudo gem install alloy-kicker -s http://gems.github.com
19
+
16
20
  == Tests??
17
21
 
18
22
  For now it's just a very simple bin script which uses the FSEvents abstraction
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 0
2
+ :patch: 1
3
3
  :major: 0
4
4
  :minor: 1
data/bin/kicker CHANGED
@@ -19,10 +19,15 @@ file, path = path, File.dirname(path) unless File.directory?(path)
19
19
 
20
20
  puts "Watching for changes on `#{file || path}'"
21
21
 
22
- Rucola::FSEvents.start_watching(path) do |events|
22
+ stream = Rucola::FSEvents.start_watching(path) do |events|
23
23
  unless file && !events.find { |e| e.last_modified_file == file }
24
24
  system command
25
25
  end
26
26
  end
27
27
 
28
+ trap("INT") do
29
+ stream.stop
30
+ exit
31
+ end
32
+
28
33
  OSX::NSApplication.sharedApplication.run
data/kicker.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{kicker}
5
- s.version = "0.1.0"
5
+ s.version = "0.1.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Eloy Duran"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alloy-kicker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eloy Duran