cucumber-sinatra 0.2.2 → 0.2.3

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.3
5
+ * Create a custom world class to avoid SystemStackError
6
+ exceptions with capybara.
7
+
4
8
  # 0.2.2
5
9
  * Set sinatra environment to :test in the env.rb template.
6
10
  * Fix indentation in the app.rb template.
@@ -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.2'
11
- s.date = '2010-06-08'
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
- World do
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
@@ -1,5 +1,5 @@
1
1
  module Cucumber
2
2
  module Sinatra
3
- VERSION = '0.2.2'
3
+ VERSION = '0.2.3'
4
4
  end
5
5
  end
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
- - 2
9
- version: 0.2.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-06-08 00:00:00 +02:00
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.6
90
+ rubygems_version: 1.3.7
84
91
  signing_key:
85
92
  specification_version: 2
86
93
  summary: Initialize a cucumber environment for sinatra