cucumber-sinatra 0.2.1 → 0.2.2

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 CHANGED
@@ -1,6 +1,10 @@
1
1
  ChangeLog
2
2
  =========
3
3
 
4
+ # 0.2.2
5
+ * Set sinatra environment to :test in the env.rb template.
6
+ * Fix indentation in the app.rb template.
7
+
4
8
  # 0.2.1
5
9
  * Clarify licenses.
6
10
 
@@ -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.1'
11
- s.date = '2010-05-26'
10
+ s.version = '0.2.2'
11
+ s.date = '2010-06-08'
12
12
  s.rubyforge_project = 'cucumber-sinatra'
13
13
 
14
14
  s.summary = "Initialize a cucumber environment for sinatra"
@@ -2,6 +2,6 @@ require 'sinatra/base'
2
2
 
3
3
  class <%= app_class -%> < Sinatra::Base
4
4
  get '/' do
5
- 'Hello <%= app_class -%>!'
5
+ 'Hello <%= app_class -%>!'
6
6
  end
7
7
  end
@@ -6,6 +6,8 @@ require 'capybara'
6
6
  require 'capybara/cucumber'
7
7
  require 'spec'
8
8
 
9
+ <%= app_class -%>.set(:environment, :test)
10
+
9
11
  World do
10
12
  Capybara.app = <%= app_class -%>
11
13
 
@@ -1,5 +1,5 @@
1
1
  module Cucumber
2
2
  module Sinatra
3
- VERSION = '0.2.1'
3
+ VERSION = '0.2.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 1
9
- version: 0.2.1
8
+ - 2
9
+ version: 0.2.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Bernd Ahlers
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-05-26 00:00:00 +02:00
17
+ date: 2010-06-08 00:00:00 +02:00
18
18
  default_executable: cucumber-sinatra
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency