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 +1 -0
- data/lib/guard/rake.rb +9 -2
- data/lib/guard/rake/version.rb +1 -1
- metadata +2 -3
- data/Gemfile.lock +0 -21
data/.gitignore
CHANGED
data/lib/guard/rake.rb
CHANGED
@@ -35,10 +35,17 @@ module Guard
|
|
35
35
|
run_rake_task if @options[:run_on_all]
|
36
36
|
end
|
37
37
|
|
38
|
-
|
39
|
-
|
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 }
|
data/lib/guard/rake/version.rb
CHANGED
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
|
+
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-
|
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
|
data/Gemfile.lock
DELETED
@@ -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
|