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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0704aa52cb9a9fb9d66551e7c7e94228e4d1d6a7
4
- data.tar.gz: 44ed558e01dd8a58cdec06592dd45c734de3f364
3
+ metadata.gz: 84d669b6f0bfb271a815214b84c8fd0230f80591
4
+ data.tar.gz: ff85c06952595aa3fe4630cefa0d36b96c476d5a
5
5
  SHA512:
6
- metadata.gz: da8a3b2e69f13764c5cd7b90520a4fa6202dc7fbcd4dad90249c7cb15cb2fc98dc05d94dd11e5b3dda78871634433a856958e2fd8a5924a5dea67f9edd0c1b8e
7
- data.tar.gz: 30961c25953da600d5902220da634f563c027fa82be7f06b403199b7b7c50dd3c4d6be17078a95daf1b66eb02c55b67d421f5b5e6f17befa4fa1c3af8058bbf0
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/netzpirat/guard-cucumber.png)](http://travis-ci.org/netzpirat/guard-cucumber)
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,5 @@
1
+ require "guard/compat/plugin"
2
+
1
3
  module Guard
2
4
  class Cucumber < Plugin
3
5
  # The Cucumber focuser updates cucumber feature paths to
@@ -1,3 +1,5 @@
1
+ require "guard/compat/plugin"
2
+
1
3
  module Guard
2
4
  class Cucumber < Plugin
3
5
  # The inspector verifies of the changed paths are valid
@@ -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: "NO COVERATE HERE!!"
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? }
@@ -1,3 +1,7 @@
1
+ require "guard/compat/plugin"
2
+
3
+ require "guard/cucumber/focuser"
4
+
1
5
  module Guard
2
6
  class Cucumber < Plugin
3
7
  # The Cucumber runner handles the execution of the cucumber binary.
@@ -1,6 +1,6 @@
1
1
  module Guard
2
2
  module CucumberVersion
3
3
  # Guard::Cucumber version that is used for the Gem specification
4
- VERSION = "1.5.2"
4
+ VERSION = "1.5.3"
5
5
  end
6
6
  end
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.2
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-14 00:00:00.000000000 Z
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