guard-cucumber 1.5.3 → 1.5.4

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: 84d669b6f0bfb271a815214b84c8fd0230f80591
4
- data.tar.gz: ff85c06952595aa3fe4630cefa0d36b96c476d5a
3
+ metadata.gz: bf7de9085f49a2e9a66fd825dffb9d69d5fdd499
4
+ data.tar.gz: 86da610faa26f8230e52088e0419a7641fbe5ed4
5
5
  SHA512:
6
- metadata.gz: de4c0d9e4d142e13376412a9650cda2c04cccec601a6776f25c2c79be53f1c257f8ba5936154390e12d1d0e4fb888b9cd9aa5599c251c009ca337a05047d0757
7
- data.tar.gz: fda1d6bbd3f5195a0f044d8960ab9ce8c973b20c96124b9af6345f05149ef7edd9010e16c9242321e408cd03ceebba357db192b2c1ba15c00291b4b0048de8fa
6
+ metadata.gz: 3d5bdcacfddfd61346de45ac871301370ee430494a0bb90d9c214865450ffff5574006b84e5907e18557fb6bc5a5d6b95bda299e0f7ddc9f86ff853581ac0adf
7
+ data.tar.gz: f31d79dda1b81f16522e1511af6ab65dd165db3197b805ad516279987dbbc477e437e8e7ebf7f9013789a525b1c5a0ff367a6b6d5f18d778c71fb22e93153d4e
@@ -1,6 +1,15 @@
1
1
  # Conditionally require this because it's run outside Guard
2
- # TODO: MOVE THIS OUTSIDE THE FORMATTER!!!!
3
- require "guard/notifier"
2
+ #
3
+ if Object.const_defined?(:Guard)
4
+ # TODO: MOVE THIS OUTSIDE THE FORMATTER!!!!
5
+ # TODO: (call notify() in Guard::Cucumber, not here in formatter
6
+
7
+ # If notifier is defined it's likely Guard::Compat::Plugin's stub
8
+ unless Guard.const_defined?(:Notifier)
9
+ require "guard"
10
+ require "guard/notifier"
11
+ end
12
+ end
4
13
 
5
14
  require "cucumber"
6
15
  require "guard/compat/plugin"
@@ -34,6 +43,10 @@ module Guard
34
43
  @step_mother = step_mother
35
44
  end
36
45
 
46
+ def before_background(background)
47
+ @feature_name = background.feature.name
48
+ end
49
+
37
50
  # Notification after all features have completed.
38
51
  #
39
52
  # @param [Array[Cucumber::Ast::Feature]] features the ran features
@@ -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.3"
4
+ VERSION = "1.5.4"
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-cucumber
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.3
4
+ version: 1.5.4
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-17 00:00:00.000000000 Z
11
+ date: 2015-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: guard
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: 2.0.0
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: 2.0.0
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: guard-compat
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -72,42 +58,14 @@ dependencies:
72
58
  requirements:
73
59
  - - "~>"
74
60
  - !ruby/object:Gem::Version
75
- version: '1.1'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '1.1'
83
- - !ruby/object:Gem::Dependency
84
- name: rake
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
- - !ruby/object:Gem::Dependency
98
- name: rspec
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: '3.1'
61
+ version: '1.6'
104
62
  type: :development
105
63
  prerelease: false
106
64
  version_requirements: !ruby/object:Gem::Requirement
107
65
  requirements:
108
66
  - - "~>"
109
67
  - !ruby/object:Gem::Version
110
- version: '3.1'
68
+ version: '1.6'
111
69
  description: Guard::Cucumber automatically run your features (much like autotest)
112
70
  email:
113
71
  - michi@flinkfinger.com
@@ -144,9 +102,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
144
102
  version: 1.3.6
145
103
  requirements: []
146
104
  rubyforge_project:
147
- rubygems_version: 2.2.2
105
+ rubygems_version: 2.4.5
148
106
  signing_key:
149
107
  specification_version: 4
150
108
  summary: Guard plugin for Cucumber
151
109
  test_files: []
152
- has_rdoc: