guard-konacha 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/Readme.md CHANGED
@@ -17,7 +17,7 @@ Or add to your Gemfile:
17
17
  Add guard definitions to your `Guardfile`
18
18
 
19
19
  guard :konacha do
20
- watch(%r{^spec/javascripts/.+_spec(\.js|\.js\.coffee)})
20
+ watch(%r{^spec/javascripts/.+_spec(\.js|\.js\.coffee)$})
21
21
  end
22
22
 
23
23
  ## Configure
@@ -36,7 +36,7 @@ module Guard
36
36
 
37
37
  if @options[:notification]
38
38
  last_line = result.split("\n").last
39
- examples, failures = last_line.scan(/\d/).map { |s| s.to_i }
39
+ examples, failures = last_line.scan(/\d+/).map { |s| s.to_i }
40
40
  image = failures > 0 ? :failed : :success
41
41
  ::Guard::Notifier.notify(last_line, :title => 'Konacha Specs', :image => image )
42
42
  end
@@ -3,5 +3,5 @@
3
3
  # - :spec_dir
4
4
  guard :konacha do
5
5
  watch(%r{^app/assets/javascripts/(.*)\.js(\.coffee)?$}) { |m| "#{m[1]}_spec.js" }
6
- watch(%r{^spec/javascripts/.+_spec(\.js|\.js\.coffee)})
6
+ watch(%r{^spec/javascripts/.+_spec(\.js|\.js\.coffee)$})
7
7
  end
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module KonachaVersion
3
- VERSION = "0.1.3"
3
+ VERSION = "0.1.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-konacha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-27 00:00:00.000000000 Z
12
+ date: 2013-01-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: guard