cucumber-sinatra 0.3.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGES.md +3 -0
- data/README.md +5 -2
- data/cucumber-sinatra.gemspec +2 -2
- data/lib/cucumber/sinatra.rb +1 -1
- data/lib/cucumber/sinatra/templates/features/support/env.rbt +1 -1
- metadata +6 -6
data/CHANGES.md
CHANGED
data/README.md
CHANGED
|
@@ -6,7 +6,7 @@ cucumber-sinatra
|
|
|
6
6
|
This little gem will help you to initialize a cucumber environment for a sinatra
|
|
7
7
|
application. It will generate the required files from templates.
|
|
8
8
|
|
|
9
|
-
For now it's generating an `env.rb` that is using [rspec](http://github.com/
|
|
9
|
+
For now it's generating an `env.rb` that is using [rspec](http://github.com/rspec/rspec)
|
|
10
10
|
and [capybara](http://github.com/jnicklas/capybara). More options might be added later.
|
|
11
11
|
|
|
12
12
|
# Installation
|
|
@@ -15,6 +15,9 @@ It's available as a gem that can be installed with the following command.
|
|
|
15
15
|
|
|
16
16
|
gem install cucumber-sinatra
|
|
17
17
|
|
|
18
|
+
To use the generated templates without any modification, you'll have to install
|
|
19
|
+
the rspec (v2) and capybara (at least v1.0.0) gems as well.
|
|
20
|
+
|
|
18
21
|
# Usage
|
|
19
22
|
|
|
20
23
|
To initialize the cucumber environment, just execute `cucumber-sinatra` like this:
|
|
@@ -42,7 +45,7 @@ and a working `config.ru`.
|
|
|
42
45
|
# Copyright
|
|
43
46
|
|
|
44
47
|
The content of the following files has been taken from the
|
|
45
|
-
[cucumber-rails](http://github.com/
|
|
48
|
+
[cucumber-rails](http://github.com/cucumber/cucumber-rails) project which is licensed
|
|
46
49
|
under the MIT license.
|
|
47
50
|
|
|
48
51
|
* `lib/cucumber/sinatra/templates/features/step_definitions/web_steps.rbt`
|
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.
|
|
11
|
-
s.date = '2011-
|
|
10
|
+
s.version = '0.4.0'
|
|
11
|
+
s.date = '2011-06-23'
|
|
12
12
|
s.rubyforge_project = 'cucumber-sinatra'
|
|
13
13
|
|
|
14
14
|
s.summary = "Initialize a cucumber environment for sinatra"
|
data/lib/cucumber/sinatra.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cucumber-sinatra
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 15
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
|
-
-
|
|
9
|
-
-
|
|
10
|
-
version: 0.
|
|
8
|
+
- 4
|
|
9
|
+
- 0
|
|
10
|
+
version: 0.4.0
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Bernd Ahlers
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-
|
|
18
|
+
date: 2011-06-23 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
21
|
name: templater
|
|
@@ -85,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
85
85
|
requirements: []
|
|
86
86
|
|
|
87
87
|
rubyforge_project: cucumber-sinatra
|
|
88
|
-
rubygems_version: 1.8.
|
|
88
|
+
rubygems_version: 1.8.5
|
|
89
89
|
signing_key:
|
|
90
90
|
specification_version: 2
|
|
91
91
|
summary: Initialize a cucumber environment for sinatra
|