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 +7 -0
- data/lib/guard/krl.rb +1 -1
- data/lib/guard-krl/version.rb +1 -1
- metadata +3 -3
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(
|
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
|
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: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 5
|
10
|
+
version: 0.0.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Michael Farmer
|