when-files-change 0.2 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.markdown +7 -0
  2. data/lib/change_listener.rb +1 -1
  3. metadata +3 -2
data/README.markdown CHANGED
@@ -25,6 +25,13 @@ That's about all there is to it. Most of the credit for this tool goes to the [
25
25
 
26
26
  Used with a build tool like Rake, Make, or some other *ake, you can save yourself a lot of time and hassle. If this doesn't suit your needs, take a look at [Guard](https://github.com/guard/guard) or [Watchr](https://github.com/bevry/watchr), both projects allow special rules for processing various types of events.
27
27
 
28
+ Installation
29
+ ------------
30
+
31
+ Install `when-files-change` with rubygems:
32
+
33
+ gem install when-files-change
34
+
28
35
  -----
29
36
 
30
37
  Adam Sanderson, http://www.monkeyandcrow.com
@@ -20,7 +20,7 @@ class ChangeListener
20
20
 
21
21
  def execute
22
22
  listener.pause
23
- Kernel.system(command, *arguments)
23
+ Kernel.system(ENV, command, *arguments)
24
24
  listener.unpause
25
25
  end
26
26
 
metadata CHANGED
@@ -5,7 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- version: "0.2"
8
+ - 1
9
+ version: 0.2.1
9
10
  platform: ruby
10
11
  authors:
11
12
  - Adam Sanderson
@@ -13,7 +14,7 @@ autorequire:
13
14
  bindir: bin
14
15
  cert_chain: []
15
16
 
16
- date: 2013-02-26 00:00:00 -08:00
17
+ date: 2013-03-24 00:00:00 -07:00
17
18
  default_executable:
18
19
  dependencies:
19
20
  - !ruby/object:Gem::Dependency