guard-cucumber 0.6.0 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,7 +19,7 @@ module Guard
19
19
  end
20
20
 
21
21
  def cucumber_file?(path)
22
- cucumber_files.include?(path)
22
+ cucumber_files.include?(path.split(':').first)
23
23
  end
24
24
 
25
25
  def cucumber_files
@@ -28,8 +28,8 @@ module Guard
28
28
 
29
29
  def after_feature_element(feature_element)
30
30
  if @rerun
31
- file, line = *feature_element.file_colon_line.split(':')
32
- @file_names << file
31
+ @file_names << feature_element.file_colon_line
32
+ @rerun = false
33
33
  end
34
34
  end
35
35
 
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module CucumberVersion
3
- VERSION = '0.6.0'
3
+ VERSION = '0.6.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-cucumber
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 0
10
- version: 0.6.0
9
+ - 1
10
+ version: 0.6.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Michael Kessler
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-08-15 00:00:00 +02:00
18
+ date: 2011-08-17 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency