guard-cucumber 1.5.2 → 1.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/guard/cucumber/focuser.rb +2 -0
- data/lib/guard/cucumber/inspector.rb +2 -0
- data/lib/guard/cucumber/notification_formatter.rb +9 -1
- data/lib/guard/cucumber/runner.rb +4 -0
- data/lib/guard/cucumber/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84d669b6f0bfb271a815214b84c8fd0230f80591
|
4
|
+
data.tar.gz: ff85c06952595aa3fe4630cefa0d36b96c476d5a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de4c0d9e4d142e13376412a9650cda2c04cccec601a6776f25c2c79be53f1c257f8ba5936154390e12d1d0e4fb888b9cd9aa5599c251c009ca337a05047d0757
|
7
|
+
data.tar.gz: fda1d6bbd3f5195a0f044d8960ab9ce8c973b20c96124b9af6345f05149ef7edd9010e16c9242321e408cd03ceebba357db192b2c1ba15c00291b4b0048de8fa
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Guard::Cucumber [![Build Status](https://secure.travis-ci.org/
|
1
|
+
# Guard::Cucumber [![Build Status](https://secure.travis-ci.org/guard/guard-cucumber.png)](http://travis-ci.org/netzpirat/guard-cucumber)
|
2
2
|
|
3
3
|
Guard::Cucumber allows you to automatically run Cucumber features when files are modified.
|
4
4
|
|
@@ -1,3 +1,10 @@
|
|
1
|
+
# Conditionally require this because it's run outside Guard
|
2
|
+
# TODO: MOVE THIS OUTSIDE THE FORMATTER!!!!
|
3
|
+
require "guard/notifier"
|
4
|
+
|
5
|
+
require "cucumber"
|
6
|
+
require "guard/compat/plugin"
|
7
|
+
|
1
8
|
require "cucumber/formatter/console"
|
2
9
|
require "cucumber/formatter/io"
|
3
10
|
|
@@ -69,7 +76,7 @@ module Guard
|
|
69
76
|
def step_name(_keyword, step_match, status, _src_indent, _bckgnd, _loc)
|
70
77
|
return unless [:failed, :pending, :undefined].index(status)
|
71
78
|
|
72
|
-
#TODO:
|
79
|
+
# TODO: NO COVERAGE HERE!
|
73
80
|
@rerun = true
|
74
81
|
step_name = step_match.format_args(lambda { |param| "*#{ param }*" })
|
75
82
|
|
@@ -83,6 +90,7 @@ module Guard
|
|
83
90
|
# result of the feature tests.
|
84
91
|
#
|
85
92
|
def notify_summary
|
93
|
+
# TODO: MOVE THIS OUTSIDE THE FORMATTER!!!!
|
86
94
|
statuses = [:failed, :skipped, :undefined, :pending, :passed]
|
87
95
|
statuses = statuses.reverse
|
88
96
|
statuses.select! { |status| step_mother.steps(status).any? }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-cucumber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Kessler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: guard
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 1.3.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: nenv
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0.1'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0.1'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: bundler
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|