cucumber-sinatra 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES.md +4 -0
- data/cucumber-sinatra.gemspec +2 -2
- data/lib/cucumber/sinatra/templates/features/support/env.rbt +6 -2
- data/lib/cucumber/sinatra.rb +1 -1
- metadata +11 -4
data/CHANGES.md
CHANGED
data/cucumber-sinatra.gemspec
CHANGED
@@ -7,8 +7,8 @@ Gem::Specification.new do |s|
|
|
7
7
|
## If your rubyforge_project name is different, then edit it and comment out
|
8
8
|
## the sub! line in the Rakefile
|
9
9
|
s.name = 'cucumber-sinatra'
|
10
|
-
s.version = '0.2.
|
11
|
-
s.date = '2010-
|
10
|
+
s.version = '0.2.3'
|
11
|
+
s.date = '2010-07-21'
|
12
12
|
s.rubyforge_project = 'cucumber-sinatra'
|
13
13
|
|
14
14
|
s.summary = "Initialize a cucumber environment for sinatra"
|
@@ -8,10 +8,14 @@ require 'spec'
|
|
8
8
|
|
9
9
|
<%= app_class -%>.set(:environment, :test)
|
10
10
|
|
11
|
-
|
12
|
-
Capybara.app = <%= app_class -%>
|
11
|
+
Capybara.app = <%= app_class %>
|
13
12
|
|
13
|
+
class <%= app_class -%>World
|
14
14
|
include Capybara
|
15
15
|
include Spec::Expectations
|
16
16
|
include Spec::Matchers
|
17
17
|
end
|
18
|
+
|
19
|
+
World do
|
20
|
+
<%= app_class -%>World.new
|
21
|
+
end
|
data/lib/cucumber/sinatra.rb
CHANGED
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber-sinatra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 17
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 2
|
8
|
-
-
|
9
|
-
version: 0.2.
|
9
|
+
- 3
|
10
|
+
version: 0.2.3
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Bernd Ahlers
|
@@ -14,16 +15,18 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date: 2010-
|
18
|
+
date: 2010-07-21 00:00:00 +02:00
|
18
19
|
default_executable: cucumber-sinatra
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|
21
22
|
name: templater
|
22
23
|
prerelease: false
|
23
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
24
26
|
requirements:
|
25
27
|
- - ">="
|
26
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 23
|
27
30
|
segments:
|
28
31
|
- 1
|
29
32
|
- 0
|
@@ -64,23 +67,27 @@ rdoc_options:
|
|
64
67
|
require_paths:
|
65
68
|
- lib
|
66
69
|
required_ruby_version: !ruby/object:Gem::Requirement
|
70
|
+
none: false
|
67
71
|
requirements:
|
68
72
|
- - ">="
|
69
73
|
- !ruby/object:Gem::Version
|
74
|
+
hash: 3
|
70
75
|
segments:
|
71
76
|
- 0
|
72
77
|
version: "0"
|
73
78
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
79
|
+
none: false
|
74
80
|
requirements:
|
75
81
|
- - ">="
|
76
82
|
- !ruby/object:Gem::Version
|
83
|
+
hash: 3
|
77
84
|
segments:
|
78
85
|
- 0
|
79
86
|
version: "0"
|
80
87
|
requirements: []
|
81
88
|
|
82
89
|
rubyforge_project: cucumber-sinatra
|
83
|
-
rubygems_version: 1.3.
|
90
|
+
rubygems_version: 1.3.7
|
84
91
|
signing_key:
|
85
92
|
specification_version: 2
|
86
93
|
summary: Initialize a cucumber environment for sinatra
|