guard-rake 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -1,2 +1,3 @@
1
1
  .rvmrc
2
2
  pkg
3
+ Gemfile.lock
@@ -35,10 +35,17 @@ module Guard
35
35
  run_rake_task if @options[:run_on_all]
36
36
  end
37
37
 
38
- def run_on_change(paths)
39
- run_rake_task
38
+ if ::Guard::VERSION < "1.1"
39
+ def run_on_change(paths)
40
+ run_rake_task
41
+ end
42
+ else
43
+ def run_on_changes(paths)
44
+ run_rake_task
45
+ end
40
46
  end
41
47
 
48
+
42
49
  def run_rake_task
43
50
  UI.info "running #{@task}"
44
51
  ::Rake::Task.tasks.each { |t| t.reenable }
@@ -1,7 +1,7 @@
1
1
  module Guard
2
2
  module Rake
3
3
  module RakeVersion
4
- VERSION = "0.0.5"
4
+ VERSION = "0.0.6"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: guard-rake
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.5
5
+ version: 0.0.6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Scott Barron
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-03-20 00:00:00 Z
13
+ date: 2012-06-14 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: guard
@@ -46,7 +46,6 @@ extra_rdoc_files: []
46
46
  files:
47
47
  - .gitignore
48
48
  - Gemfile
49
- - Gemfile.lock
50
49
  - LICENSE
51
50
  - README.md
52
51
  - Rakefile
@@ -1,21 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- guard-rake (0.0.1)
5
- guard
6
- rake
7
-
8
- GEM
9
- remote: http://rubygems.org/
10
- specs:
11
- guard (0.5.1)
12
- thor (~> 0.14.6)
13
- rake (0.9.2)
14
- thor (0.14.6)
15
-
16
- PLATFORMS
17
- ruby
18
-
19
- DEPENDENCIES
20
- guard-rake!
21
- rake