guard-krl 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -19,6 +19,13 @@ Add an initial setup to your Guardfile with:
19
19
 
20
20
  Please read [Guard usage doc](https://github.com/guard/guard#readme).
21
21
 
22
+ In short (after installing the gem):
23
+
24
+ $ cd /path/to/a00x000.krl
25
+ $ guard init krl
26
+ $ guard
27
+
28
+
22
29
  ## Guardfile
23
30
 
24
31
  guard 'krl' do
data/lib/guard/krl.rb CHANGED
@@ -33,7 +33,7 @@ module Guard
33
33
  UI.info "Running commit for #{file}..."
34
34
  commit_result = `krl commit`
35
35
  UI.info commit_result
36
- icon = commit_result.match("Committed Version") ? :success : :failed
36
+ icon = commit_result.match(/Committed Version: \d+/) ? :success : :failed
37
37
  Notifier.notify commit_result, :title => "KRL Watcher", :image => icon
38
38
  end
39
39
  end
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module Krl
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
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: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 4
10
- version: 0.0.4
9
+ - 5
10
+ version: 0.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Michael Farmer