cucumber-sinatra 0.3.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES.md CHANGED
@@ -1,6 +1,9 @@
1
1
  ChangeLog
2
2
  =========
3
3
 
4
+ # 0.4.0
5
+ * Silence a deprecation warning with capybara 1.0.0. (HeroicEric)
6
+
4
7
  # 0.3.1
5
8
  * Remove `default_executable=` from gemspec to please rubygems >=1.8.
6
9
 
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/dchelimsky/rspec)
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/aslakhellesoy/cucumber-rails) project which is licensed
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`
@@ -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.3.1'
11
- s.date = '2011-05-05'
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"
@@ -1,5 +1,5 @@
1
1
  module Cucumber
2
2
  module Sinatra
3
- VERSION = '0.3.1'
3
+ VERSION = '0.4.0'
4
4
  end
5
5
  end
@@ -11,7 +11,7 @@ require 'rspec'
11
11
  Capybara.app = <%= app_class %>
12
12
 
13
13
  class <%= app_class -%>World
14
- include Capybara
14
+ include Capybara::DSL
15
15
  include RSpec::Expectations
16
16
  include RSpec::Matchers
17
17
  end
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: 17
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 3
9
- - 1
10
- version: 0.3.1
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-05-05 00:00:00 Z
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.0
88
+ rubygems_version: 1.8.5
89
89
  signing_key:
90
90
  specification_version: 2
91
91
  summary: Initialize a cucumber environment for sinatra