spinach-rails 0.1.8 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/features/rails3/{rails_3_1_app.feature → rails_3_2_app.feature} +3 -3
- data/features/steps/rails3/{rails_3_1_app.rb → rails_3_2_app.rb} +2 -2
- data/features/support/rails_fixtures.rb +2 -2
- data/lib/spinach-rails.rb +4 -0
- data/lib/spinach-rails/version.rb +1 -1
- data/spinach-rails.gemspec +1 -1
- metadata +8 -14
@@ -1,7 +1,7 @@
|
|
1
|
-
Feature: Spinach works with a Rails 3.
|
2
|
-
In order to use spinach with Rails 3.
|
1
|
+
Feature: Spinach works with a Rails 3.2 app
|
2
|
+
In order to use spinach with Rails 3.2
|
3
3
|
As a developer
|
4
|
-
I want spinach to be fully compatible with Rails 3.
|
4
|
+
I want spinach to be fully compatible with Rails 3.2
|
5
5
|
|
6
6
|
Scenario: Spinach binary
|
7
7
|
Given I create a new rails 3 app
|
@@ -5,7 +5,7 @@ module RailsFixtures
|
|
5
5
|
include Aruba::Api
|
6
6
|
|
7
7
|
Given "I create a new rails 3 app" do
|
8
|
-
create_rails_app('3.
|
8
|
+
create_rails_app('3.2')
|
9
9
|
end
|
10
10
|
|
11
11
|
And "I add spinach-rails to it" do
|
@@ -32,7 +32,7 @@ module RailsFixtures
|
|
32
32
|
|
33
33
|
private
|
34
34
|
|
35
|
-
def create_rails_app(version = '3.
|
35
|
+
def create_rails_app(version = '3.2')
|
36
36
|
@aruba_timeout_seconds = 100
|
37
37
|
write_file(
|
38
38
|
'Gemfile',
|
data/lib/spinach-rails.rb
CHANGED
data/spinach-rails.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |gem|
|
|
8
8
|
gem.summary = %q{spinach-rails adds Rails support to spinach}
|
9
9
|
gem.homepage = 'http://github.com/codegram/spinach-rails'
|
10
10
|
|
11
|
-
gem.add_runtime_dependency 'capybara', '~>
|
11
|
+
gem.add_runtime_dependency 'capybara', '~> 2.0.0'
|
12
12
|
gem.add_runtime_dependency 'spinach', '>= 0.4'
|
13
13
|
gem.add_runtime_dependency 'railties', '>= 3'
|
14
14
|
gem.add_development_dependency 'aruba'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spinach-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-11-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: capybara
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
21
|
+
version: 2.0.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 2.0.0
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: spinach
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -104,9 +104,9 @@ files:
|
|
104
104
|
- Gemfile
|
105
105
|
- README.markdown
|
106
106
|
- Rakefile
|
107
|
-
- features/rails3/
|
107
|
+
- features/rails3/rails_3_2_app.feature
|
108
108
|
- features/rails3/spinach_adds_the_route_helpers.feature
|
109
|
-
- features/steps/rails3/
|
109
|
+
- features/steps/rails3/rails_3_2_app.rb
|
110
110
|
- features/steps/spinach_adds_the_route_helpers.rb
|
111
111
|
- features/support/env.rb
|
112
112
|
- features/support/rails_fixtures.rb
|
@@ -129,18 +129,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
129
129
|
- - ! '>='
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: '0'
|
132
|
-
segments:
|
133
|
-
- 0
|
134
|
-
hash: -328442580198610005
|
135
132
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
136
133
|
none: false
|
137
134
|
requirements:
|
138
135
|
- - ! '>='
|
139
136
|
- !ruby/object:Gem::Version
|
140
137
|
version: '0'
|
141
|
-
segments:
|
142
|
-
- 0
|
143
|
-
hash: -328442580198610005
|
144
138
|
requirements: []
|
145
139
|
rubyforge_project:
|
146
140
|
rubygems_version: 1.8.24
|
@@ -148,9 +142,9 @@ signing_key:
|
|
148
142
|
specification_version: 3
|
149
143
|
summary: spinach-rails adds Rails support to spinach
|
150
144
|
test_files:
|
151
|
-
- features/rails3/
|
145
|
+
- features/rails3/rails_3_2_app.feature
|
152
146
|
- features/rails3/spinach_adds_the_route_helpers.feature
|
153
|
-
- features/steps/rails3/
|
147
|
+
- features/steps/rails3/rails_3_2_app.rb
|
154
148
|
- features/steps/spinach_adds_the_route_helpers.rb
|
155
149
|
- features/support/env.rb
|
156
150
|
- features/support/rails_fixtures.rb
|