rspec-steps 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rspec-steps/stepwise.rb +9 -0
- metadata +24 -24
data/lib/rspec-steps/stepwise.rb
CHANGED
@@ -1,14 +1,23 @@
|
|
1
1
|
module RSpecStepwise
|
2
|
+
class ApatheticReporter < ::RSpec::Core::Reporter
|
3
|
+
def notify(*args)
|
4
|
+
#noop
|
5
|
+
end
|
6
|
+
end
|
7
|
+
|
2
8
|
class WholeListExample < RSpec::Core::Example
|
3
9
|
def initialize(example_group_class, descriptions, metadata)
|
4
10
|
super
|
11
|
+
@reporter = ApatheticReporter.new
|
5
12
|
build_example_block
|
6
13
|
end
|
7
14
|
|
8
15
|
def start(reporter)
|
16
|
+
super(@reporter)
|
9
17
|
end
|
10
18
|
|
11
19
|
def finish(reporter)
|
20
|
+
super(@reporter)
|
12
21
|
end
|
13
22
|
|
14
23
|
def build_example_block
|
metadata
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-steps
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0
|
5
4
|
prerelease:
|
5
|
+
version: 0.1.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Judson Lester
|
@@ -10,64 +10,64 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-
|
13
|
+
date: 2013-11-06 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
|
+
prerelease: false
|
17
|
+
type: :development
|
16
18
|
name: corundum
|
17
|
-
|
18
|
-
none: false
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
19
20
|
requirements:
|
20
21
|
- - ! '>='
|
21
22
|
- !ruby/object:Gem::Version
|
22
23
|
version: 0.0.25
|
23
|
-
type: :development
|
24
|
-
prerelease: false
|
25
|
-
version_requirements: !ruby/object:Gem::Requirement
|
26
24
|
none: false
|
25
|
+
requirement: !ruby/object:Gem::Requirement
|
27
26
|
requirements:
|
28
27
|
- - ! '>='
|
29
28
|
- !ruby/object:Gem::Version
|
30
29
|
version: 0.0.25
|
30
|
+
none: false
|
31
31
|
- !ruby/object:Gem::Dependency
|
32
|
+
prerelease: false
|
33
|
+
type: :runtime
|
32
34
|
name: rspec
|
33
|
-
|
34
|
-
none: false
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
35
36
|
requirements:
|
36
37
|
- - ! '>='
|
37
38
|
- !ruby/object:Gem::Version
|
38
|
-
version: '2.6'
|
39
39
|
segments:
|
40
40
|
- 2
|
41
41
|
- 6
|
42
|
+
version: '2.6'
|
42
43
|
- - <
|
43
44
|
- !ruby/object:Gem::Version
|
44
|
-
version: 2.14.0
|
45
45
|
segments:
|
46
46
|
- 2
|
47
47
|
- 14
|
48
48
|
- 0
|
49
|
-
|
50
|
-
prerelease: false
|
51
|
-
version_requirements: !ruby/object:Gem::Requirement
|
49
|
+
version: 2.14.0
|
52
50
|
none: false
|
51
|
+
requirement: !ruby/object:Gem::Requirement
|
53
52
|
requirements:
|
54
53
|
- - ! '>='
|
55
54
|
- !ruby/object:Gem::Version
|
56
|
-
version: '2.6'
|
57
55
|
segments:
|
58
56
|
- 2
|
59
57
|
- 6
|
58
|
+
version: '2.6'
|
60
59
|
- - <
|
61
60
|
- !ruby/object:Gem::Version
|
62
|
-
version: 2.14.0
|
63
61
|
segments:
|
64
62
|
- 2
|
65
63
|
- 14
|
66
64
|
- 0
|
65
|
+
version: 2.14.0
|
66
|
+
none: false
|
67
67
|
description: ! " I don't like Cucumber. I don't need plain text stories. My clients
|
68
|
-
either\n read code or don't read any test documents, so Cucumber is mostly useless
|
69
|
-
|
70
|
-
in a test.\n"
|
68
|
+
either\n read code or don't read any test documents, so Cucumber is mostly useless
|
69
|
+
to me.\n But often, especially in full integration tests, it would be nice to have\n
|
70
|
+
\ steps in a test.\n"
|
71
71
|
email:
|
72
72
|
- judson@lrdesign.com
|
73
73
|
- evan@lrdesign.com
|
@@ -331,24 +331,24 @@ rdoc_options:
|
|
331
331
|
- --main
|
332
332
|
- doc/README
|
333
333
|
- --title
|
334
|
-
- rspec-steps-0.1.
|
334
|
+
- rspec-steps-0.1.1 RDoc
|
335
335
|
require_paths:
|
336
336
|
- lib/
|
337
337
|
required_ruby_version: !ruby/object:Gem::Requirement
|
338
|
-
none: false
|
339
338
|
requirements:
|
340
339
|
- - ! '>='
|
341
340
|
- !ruby/object:Gem::Version
|
342
|
-
version: '0'
|
343
341
|
segments:
|
344
342
|
- 0
|
345
|
-
hash: -
|
346
|
-
|
343
|
+
hash: -147701745
|
344
|
+
version: '0'
|
347
345
|
none: false
|
346
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
348
347
|
requirements:
|
349
348
|
- - ! '>='
|
350
349
|
- !ruby/object:Gem::Version
|
351
350
|
version: '0'
|
351
|
+
none: false
|
352
352
|
requirements: []
|
353
353
|
rubyforge_project: rspec-steps
|
354
354
|
rubygems_version: 1.8.24
|