guard-krl 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/guard/krl.rb +4 -1
- data/lib/guard-krl/version.rb +1 -1
- metadata +3 -3
data/lib/guard/krl.rb
CHANGED
@@ -31,7 +31,10 @@ module Guard
|
|
31
31
|
paths.each do |file|
|
32
32
|
unless File.basename(file)[0] == "_"
|
33
33
|
UI.info "Running commit for #{file}..."
|
34
|
-
|
34
|
+
commit_result = `krl commit`
|
35
|
+
UI.info commit_result
|
36
|
+
icon = commit_result.match("Committed Version") ? :success : :failed
|
37
|
+
Notifier.notify commit_result, :title => "KRL Watcher", :image => icon
|
35
38
|
end
|
36
39
|
end
|
37
40
|
end
|
data/lib/guard-krl/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-krl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 4
|
10
|
+
version: 0.0.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Michael Farmer
|