rspec-example_steps 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rspec/example_steps.rb +5 -1
- data/rspec-example_steps.gemspec +1 -1
- metadata +28 -53
data/lib/rspec/example_steps.rb
CHANGED
@@ -16,7 +16,11 @@ RSpec::Core::ExampleGroup.send :include, RSpec::ExampleSte
|
|
16
16
|
RSpec::Core::Reporter.send :include, RSpec::ExampleSteps::Reporter
|
17
17
|
RSpec::Core::World.send :include, RSpec::ExampleSteps::World
|
18
18
|
|
19
|
-
RSpec::Core::ExampleGroup.define_example_method
|
19
|
+
if RSpec::Core::ExampleGroup.singleton_class.respond_to?(:define_example_method)
|
20
|
+
RSpec::Core::ExampleGroup.singleton_class.define_example_method :Steps, :with_steps => true
|
21
|
+
else
|
22
|
+
RSpec::Core::ExampleGroup.define_example_method :Steps, :with_steps => true
|
23
|
+
end
|
20
24
|
|
21
25
|
require 'rspec/example_steps/shared_steps'
|
22
26
|
include RSpec::ExampleSteps::SharedSteps
|
data/rspec-example_steps.gemspec
CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "rspec-example_steps"
|
6
|
-
s.version = "0.2.
|
6
|
+
s.version = "0.2.1"
|
7
7
|
s.authors = ["Andriy Yanko"]
|
8
8
|
s.email = ["andriy.yanko@gmail.com"]
|
9
9
|
s.homepage = "https://github.com/railsware/rspec-example_steps"
|
metadata
CHANGED
@@ -1,49 +1,34 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-example_steps
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.1
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 2
|
9
|
-
- 0
|
10
|
-
version: 0.2.0
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Andriy Yanko
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-09-20 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
22
15
|
name: rspec-core
|
23
|
-
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &19185160 !ruby/object:Gem::Requirement
|
25
17
|
none: false
|
26
|
-
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 15
|
30
|
-
segments:
|
31
|
-
- 2
|
32
|
-
- 0
|
33
|
-
- 0
|
18
|
+
requirements:
|
19
|
+
- - ! '>'
|
20
|
+
- !ruby/object:Gem::Version
|
34
21
|
version: 2.0.0
|
35
22
|
type: :runtime
|
36
|
-
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *19185160
|
37
25
|
description:
|
38
|
-
email:
|
26
|
+
email:
|
39
27
|
- andriy.yanko@gmail.com
|
40
28
|
executables: []
|
41
|
-
|
42
29
|
extensions: []
|
43
|
-
|
44
30
|
extra_rdoc_files: []
|
45
|
-
|
46
|
-
files:
|
31
|
+
files:
|
47
32
|
- .gitignore
|
48
33
|
- Gemfile
|
49
34
|
- README.md
|
@@ -59,41 +44,31 @@ files:
|
|
59
44
|
- spec/example_steps_spec.rb
|
60
45
|
- spec/shared_steps_spec.rb
|
61
46
|
- spec/spec_helper.rb
|
62
|
-
has_rdoc: true
|
63
47
|
homepage: https://github.com/railsware/rspec-example_steps
|
64
48
|
licenses: []
|
65
|
-
|
66
49
|
post_install_message:
|
67
50
|
rdoc_options: []
|
68
|
-
|
69
|
-
require_paths:
|
51
|
+
require_paths:
|
70
52
|
- lib
|
71
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
53
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
72
54
|
none: false
|
73
|
-
requirements:
|
74
|
-
- -
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
|
77
|
-
|
78
|
-
- 0
|
79
|
-
version: "0"
|
80
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
55
|
+
requirements:
|
56
|
+
- - ! '>='
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: '0'
|
59
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
60
|
none: false
|
82
|
-
requirements:
|
83
|
-
- -
|
84
|
-
- !ruby/object:Gem::Version
|
85
|
-
|
86
|
-
segments:
|
87
|
-
- 0
|
88
|
-
version: "0"
|
61
|
+
requirements:
|
62
|
+
- - ! '>='
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: '0'
|
89
65
|
requirements: []
|
90
|
-
|
91
66
|
rubyforge_project: rspec_example_steps
|
92
|
-
rubygems_version: 1.
|
67
|
+
rubygems_version: 1.8.15
|
93
68
|
signing_key:
|
94
69
|
specification_version: 3
|
95
70
|
summary: Given/When/Then steps for RSpec examples
|
96
|
-
test_files:
|
71
|
+
test_files:
|
97
72
|
- spec/example_steps_spec.rb
|
98
73
|
- spec/shared_steps_spec.rb
|
99
74
|
- spec/spec_helper.rb
|