cucumber-rails 1.1.1 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. data/.gitignore +1 -0
  2. data/History.md +8 -1
  3. data/Rakefile +4 -2
  4. data/cucumber-rails.gemspec +17 -17
  5. data/features/allow_rescue.feature +1 -1
  6. data/features/capybara_javascript_drivers.feature +1 -1
  7. data/features/choose_javascript_database_strategy.feature +63 -0
  8. data/features/database_cleaner.feature +1 -1
  9. data/features/emulate_javascript.feature +2 -2
  10. data/features/field_with_errors.feature +2 -2
  11. data/features/fixing_bundler_pre.feature +1 -1
  12. data/features/inspect_query_string.feature +1 -1
  13. data/features/install_cucumber_rails.feature +1 -1
  14. data/features/multiple_databases.feature +1 -1
  15. data/features/no_database.feature +1 -1
  16. data/features/rerun_profile.feature +1 -1
  17. data/features/rest_api.feature +1 -1
  18. data/features/routing.feature +1 -1
  19. data/features/step_definitions/cucumber_rails_steps.rb +52 -398
  20. data/features/support/bundler_pre_support.rb +28 -0
  21. data/features/support/env.rb +1 -4
  22. data/features/support/fixtures/bundler-1.0.21.gem +0 -0
  23. data/features/support/fixtures/bundler-1.1.rc.gem +0 -0
  24. data/{lib/generators/cucumber/install/templates/step_definitions/web_steps.rb.erb → features/support/legacy_web_steps_support.rb} +69 -14
  25. data/lib/cucumber/rails.rb +1 -1
  26. data/lib/cucumber/rails/database.rb +67 -0
  27. data/lib/cucumber/rails/hooks/active_record.rb +2 -12
  28. data/lib/generators/cucumber/install/USAGE +0 -3
  29. data/lib/generators/cucumber/install/templates/support/_rails_each_run.rb.erb +6 -1
  30. metadata +79 -88
  31. data/Gemfile.lock +0 -202
  32. data/features/test_unit.feature +0 -45
  33. data/lib/cucumber/web/tableish.rb +0 -119
  34. data/lib/generators/cucumber/install/templates/step_definitions/web_steps_cs.rb.erb +0 -127
  35. data/lib/generators/cucumber/install/templates/step_definitions/web_steps_da.rb.erb +0 -105
  36. data/lib/generators/cucumber/install/templates/step_definitions/web_steps_de.rb.erb +0 -127
  37. data/lib/generators/cucumber/install/templates/step_definitions/web_steps_es.rb.erb +0 -127
  38. data/lib/generators/cucumber/install/templates/step_definitions/web_steps_ja.rb.erb +0 -140
  39. data/lib/generators/cucumber/install/templates/step_definitions/web_steps_ko.rb.erb +0 -142
  40. data/lib/generators/cucumber/install/templates/step_definitions/web_steps_no.rb.erb +0 -105
  41. data/lib/generators/cucumber/install/templates/step_definitions/web_steps_pt-BR.rb.erb +0 -132
  42. data/spec/cucumber/web/tableish_spec.rb +0 -239
@@ -0,0 +1,28 @@
1
+ module BundlerPreHelper
2
+ def bundler
3
+ fixture 'bundler-1.0.21.gem'
4
+ end
5
+
6
+ def bundler_pre
7
+ fixture 'bundler-1.1.rc.gem'
8
+ end
9
+
10
+ def gem_install(path)
11
+ run_simple("gem install #{path} --no-ri --no-rdoc")
12
+ end
13
+
14
+ def gem_uninstall(path)
15
+ run_simple("gem uninstall #{path}")
16
+ end
17
+ end
18
+
19
+ Before('@bundler-pre') do
20
+ extend(BundlerPreHelper)
21
+ gem_uninstall bundler
22
+ gem_install bundler_pre
23
+ end
24
+
25
+ After('@bundler-pre') do
26
+ gem_uninstall bundler_pre
27
+ gem_install bundler
28
+ end
@@ -9,9 +9,6 @@ Before do
9
9
  unset_bundler_env_vars
10
10
  end
11
11
 
12
-
13
-
14
-
15
12
  if(ENV['ARUBA_REPORT_DIR'])
16
13
  # Override reporting behaviour so we don't document all files, only the ones
17
14
  # that have been created after @aruba_report_start (a Time object). This is
@@ -37,4 +34,4 @@ if(ENV['ARUBA_REPORT_DIR'])
37
34
  end
38
35
  end
39
36
  end
40
- end
37
+ end
@@ -1,9 +1,23 @@
1
- <%= embed_file('support/web_steps_warning.txt') %>
1
+ module WebSteps
2
+ def create_web_steps
3
+ write_file('features/step_definitions/web_steps.rb', <<-EOF)
4
+ # web_steps.rb used to be in Cucumber-Rails, but was removed in 1.1.0. We're still using them in the tests because
5
+ # the tests were written while we still thought web_steps.rb was a good idea. We don't think so anymore:
6
+ #
7
+ # http://groups.google.com/group/cukes/browse_thread/thread/26f80b93c94f2952
8
+ # https://github.com/cucumber/cucumber-rails/issues/174
9
+ # http://benmabey.com/2008/05/19/imperative-vs-declarative-scenarios-in-user-stories.html
10
+ # http://dannorth.net/2011/01/31/whose-domain-is-it-anyway/
11
+ # http://elabs.se/blog/15-you-re-cuking-it-wrong
12
+ #
13
+ # I'm sure someone will find this and paste it into their own projects. Go ahead. It's a bad idea.
14
+ # You have been warned.
15
+ #
16
+ # Aslak
2
17
 
3
18
  require 'uri'
4
19
  require 'cgi'
5
20
  require File.expand_path(File.join(File.dirname(__FILE__), "..", "support", "paths"))
6
- require File.expand_path(File.join(File.dirname(__FILE__), "..", "support", "selectors"))
7
21
 
8
22
  module WithinHelpers
9
23
  def with_scope(locator)
@@ -19,7 +33,7 @@ end
19
33
 
20
34
  # Multi-line step scoper
21
35
  When /^(.*) within (.*[^:]):$/ do |step, parent, table_or_string|
22
- with_scope(parent) { When "#{step}:", table_or_string }
36
+ with_scope(parent) { When "\#{step}:", table_or_string }
23
37
  end
24
38
 
25
39
  Given /^(?:|I )am on (.+)$/ do |page_name|
@@ -59,7 +73,7 @@ end
59
73
  #
60
74
  When /^(?:|I )fill in the following:$/ do |fields|
61
75
  fields.rows_hash.each do |name, value|
62
- When %{I fill in "#{name}" with "#{value}"}
76
+ When %{I fill in "\#{name}" with "\#{value}"}
63
77
  end
64
78
  end
65
79
 
@@ -91,7 +105,7 @@ Then /^(?:|I )should see "([^"]*)"$/ do |text|
91
105
  end
92
106
  end
93
107
 
94
- Then /^(?:|I )should see \/([^\/]*)\/$/ do |regexp|
108
+ Then /^(?:|I )should see \\/([^\\/]*)\\/$/ do |regexp|
95
109
  regexp = Regexp.new(regexp)
96
110
 
97
111
  if page.respond_to? :should
@@ -109,7 +123,7 @@ Then /^(?:|I )should not see "([^"]*)"$/ do |text|
109
123
  end
110
124
  end
111
125
 
112
- Then /^(?:|I )should not see \/([^\/]*)\/$/ do |regexp|
126
+ Then /^(?:|I )should not see \\/([^\\/]*)\\/$/ do |regexp|
113
127
  regexp = Regexp.new(regexp)
114
128
 
115
129
  if page.respond_to? :should
@@ -124,9 +138,9 @@ Then /^the "([^"]*)" field(?: within (.*))? should contain "([^"]*)"$/ do |field
124
138
  field = find_field(field)
125
139
  field_value = (field.tag_name == 'textarea') ? field.text : field.value
126
140
  if field_value.respond_to? :should
127
- field_value.should =~ /#{value}/
141
+ field_value.should =~ /\#{value}/
128
142
  else
129
- assert_match(/#{value}/, field_value)
143
+ assert_match(/\#{value}/, field_value)
130
144
  end
131
145
  end
132
146
  end
@@ -136,9 +150,9 @@ Then /^the "([^"]*)" field(?: within (.*))? should not contain "([^"]*)"$/ do |f
136
150
  field = find_field(field)
137
151
  field_value = (field.tag_name == 'textarea') ? field.text : field.value
138
152
  if field_value.respond_to? :should_not
139
- field_value.should_not =~ /#{value}/
153
+ field_value.should_not =~ /\#{value}/
140
154
  else
141
- assert_no_match(/#{value}/, field_value)
155
+ assert_no_match(/\#{value}/, field_value)
142
156
  end
143
157
  end
144
158
  end
@@ -162,14 +176,14 @@ Then /^the "([^"]*)" field should have the error "([^"]*)"$/ do |field, error_me
162
176
  error_paragraph = element.find(:xpath, '../*[@class="inline-errors"][1]')
163
177
  error_paragraph.should have_content(error_message)
164
178
  else
165
- page.should have_content("#{field.titlecase} #{error_message}")
179
+ page.should have_content("\#{field.titlecase} \#{error_message}")
166
180
  end
167
181
  else
168
182
  if using_formtastic
169
183
  error_paragraph = element.find(:xpath, '../*[@class="inline-errors"][1]')
170
184
  assert error_paragraph.has_content?(error_message)
171
185
  else
172
- assert page.has_content?("#{field.titlecase} #{error_message}")
186
+ assert page.has_content?("\#{field.titlecase} \#{error_message}")
173
187
  end
174
188
  end
175
189
  end
@@ -207,7 +221,7 @@ Then /^the "([^"]*)" checkbox(?: within (.*))? should not be checked$/ do |label
207
221
  end
208
222
  end
209
223
  end
210
-
224
+
211
225
  Then /^(?:|I )should be on (.+)$/ do |page_name|
212
226
  current_path = URI.parse(current_url).path
213
227
  if current_path.respond_to? :should
@@ -222,7 +236,7 @@ Then /^(?:|I )should have the following query string:$/ do |expected_pairs|
222
236
  actual_params = query ? CGI.parse(query) : {}
223
237
  expected_params = {}
224
238
  expected_pairs.rows_hash.each_pair{|k,v| expected_params[k] = v.split(',')}
225
-
239
+
226
240
  if actual_params.respond_to? :should
227
241
  actual_params.should == expected_params
228
242
  else
@@ -233,3 +247,44 @@ end
233
247
  Then /^show me the page$/ do
234
248
  save_and_open_page
235
249
  end
250
+ EOF
251
+
252
+ write_file('features/support/paths.rb', <<-EOF)
253
+ module NavigationHelpers
254
+ # Maps a name to a path. Used by the
255
+ #
256
+ # When /^I go to (.+)$/ do |page_name|
257
+ #
258
+ # step definition in web_steps.rb
259
+ #
260
+ def path_to(page_name)
261
+ case page_name
262
+
263
+ when /^the home\s?page$/
264
+ '/'
265
+
266
+ # Add more mappings here.
267
+ # Here is an example that pulls values out of the Regexp:
268
+ #
269
+ # when /^(.*)'s profile page$/i
270
+ # user_profile_path(User.find_by_login($1))
271
+
272
+ else
273
+ begin
274
+ page_name =~ /^the (.*) page$/
275
+ path_components = $1.split(/\s+/)
276
+ self.send(path_components.push('path').join('_').to_sym)
277
+ rescue NoMethodError, ArgumentError
278
+ raise "Can't find mapping from \"\#{page_name}\" to a path.\\n" +
279
+ "Now, go and add a mapping in \#{__FILE__}"
280
+ end
281
+ end
282
+ end
283
+ end
284
+
285
+ World(NavigationHelpers)
286
+ EOF
287
+ end
288
+ end
289
+ World(WebSteps)
290
+
@@ -21,8 +21,8 @@ if env_caller
21
21
  require 'cucumber/rails/world'
22
22
  require 'cucumber/rails/hooks'
23
23
  require 'cucumber/rails/capybara'
24
+ require 'cucumber/rails/database'
24
25
 
25
- require 'cucumber/web/tableish'
26
26
  else
27
27
  warn "WARNING: Cucumber-rails required outside of env.rb. The rest of loading is being defered until env.rb is called.
28
28
  To avoid this warning, move 'gem cucumber-rails' under only group :test in your Gemfile"
@@ -0,0 +1,67 @@
1
+ module Cucumber
2
+ module Rails
3
+ module Database
4
+ class << self
5
+
6
+ def javascript_strategy=(strategy)
7
+ strategy_type = map[strategy] || raise("The strategy '#{strategy}' is not understood. Please use one of #{map.keys.join(',')}")
8
+ @strategy = strategy_type.new
9
+ end
10
+
11
+ def before_js
12
+ @strategy.before_js
13
+ end
14
+
15
+ def before_non_js
16
+ @strategy.before_non_js
17
+ end
18
+
19
+ private
20
+
21
+ def map
22
+ {
23
+ :truncation => TruncationStrategy,
24
+ :shared_connection => SharedConnectionStrategy,
25
+ :transaction => SharedConnectionStrategy
26
+ }
27
+ end
28
+
29
+ end
30
+
31
+ class SharedConnectionStrategy
32
+ def before_js
33
+ # Forces all threads to share a connection on a per-model basis,
34
+ # as connections may vary per model as per establish_connection. This works
35
+ # on Capybara because it starts the web server in a thread.
36
+ ActiveRecord::Base.shared_connection = ActiveRecord::Base.connection
37
+ ActiveRecord::Base.descendants.each do |model|
38
+ model.shared_connection = model.connection
39
+ end
40
+ end
41
+
42
+ def before_non_js
43
+ # Do not use a shared connection unless we're in a @javascript scenario
44
+ ActiveRecord::Base.shared_connection = nil
45
+ ActiveRecord::Base.descendants.each do |model|
46
+ model.shared_connection = nil
47
+ end
48
+ end
49
+ end
50
+
51
+ class TruncationStrategy
52
+ def before_js
53
+ @original_strategy = DatabaseCleaner.connections.first.strategy # that feels like a nasty hack
54
+ DatabaseCleaner.strategy = :truncation
55
+ end
56
+
57
+ def before_non_js
58
+ return unless @original_strategy
59
+ DatabaseCleaner.strategy = @original_strategy
60
+ @original_strategy = nil
61
+ end
62
+ end
63
+
64
+ self.javascript_strategy = :transaction
65
+ end
66
+ end
67
+ end
@@ -8,20 +8,10 @@ if defined?(ActiveRecord::Base)
8
8
  end
9
9
 
10
10
  Before('@javascript') do
11
- # Forces all threads to share a connection on a per-model basis,
12
- # as connections may vary per model as per establish_connection. This works
13
- # on Capybara because it starts the web server in a thread.
14
- ActiveRecord::Base.shared_connection = ActiveRecord::Base.connection
15
- ActiveRecord::Base.descendants.each do |model|
16
- model.shared_connection = model.connection
17
- end
11
+ Cucumber::Rails::Database.before_js
18
12
  end
19
13
 
20
14
  Before('~@javascript') do
21
- # Do not use a shared connection unless we're in a @javascript scenario
22
- ActiveRecord::Base.shared_connection = nil
23
- ActiveRecord::Base.descendants.each do |model|
24
- model.shared_connection = nil
25
- end
15
+ Cucumber::Rails::Database.before_non_js
26
16
  end
27
17
  end
@@ -8,6 +8,3 @@ Examples:
8
8
  `rails generate cucumber:install`
9
9
 
10
10
  `rails generate cucumber:install --help`
11
-
12
- You can also provide a language argument for localized web_steps:
13
- `rails generate cucumber:install de`
@@ -33,4 +33,9 @@ end
33
33
  # Before('~@no-txn', '~@selenium', '~@culerity', '~@celerity', '~@javascript') do
34
34
  # DatabaseCleaner.strategy = :transaction
35
35
  # end
36
- #
36
+ #
37
+
38
+ # Possible values are :truncation and :transaction
39
+ # The :transaction strategy is faster, but might give you threading problems.
40
+ # See https://github.com/cucumber/cucumber-rails/blob/master/features/choose_javascript_database_strategy.feature
41
+ Cucumber::Rails::Database.javascript_strategy = :truncation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cucumber-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,22 +11,22 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2011-10-03 00:00:00.000000000 Z
14
+ date: 2011-11-03 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: cucumber
18
- requirement: &2153638640 !ruby/object:Gem::Requirement
18
+ requirement: &2156601340 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ! '>='
22
22
  - !ruby/object:Gem::Version
23
- version: 1.1.0
23
+ version: 1.1.1
24
24
  type: :runtime
25
25
  prerelease: false
26
- version_requirements: *2153638640
26
+ version_requirements: *2156601340
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: nokogiri
29
- requirement: &2153625620 !ruby/object:Gem::Requirement
29
+ requirement: &2156600860 !ruby/object:Gem::Requirement
30
30
  none: false
31
31
  requirements:
32
32
  - - ! '>='
@@ -34,10 +34,10 @@ dependencies:
34
34
  version: 1.5.0
35
35
  type: :runtime
36
36
  prerelease: false
37
- version_requirements: *2153625620
37
+ version_requirements: *2156600860
38
38
  - !ruby/object:Gem::Dependency
39
39
  name: capybara
40
- requirement: &2153624760 !ruby/object:Gem::Requirement
40
+ requirement: &2156600400 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
43
  - - ! '>='
@@ -45,21 +45,21 @@ dependencies:
45
45
  version: 1.1.1
46
46
  type: :runtime
47
47
  prerelease: false
48
- version_requirements: *2153624760
48
+ version_requirements: *2156600400
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: rails
51
- requirement: &2153624100 !ruby/object:Gem::Requirement
51
+ requirement: &2156599940 !ruby/object:Gem::Requirement
52
52
  none: false
53
53
  requirements:
54
54
  - - ! '>='
55
55
  - !ruby/object:Gem::Version
56
- version: 3.1.0
56
+ version: 3.1.1
57
57
  type: :development
58
58
  prerelease: false
59
- version_requirements: *2153624100
59
+ version_requirements: *2156599940
60
60
  - !ruby/object:Gem::Dependency
61
61
  name: rake
62
- requirement: &2153623180 !ruby/object:Gem::Requirement
62
+ requirement: &2156599480 !ruby/object:Gem::Requirement
63
63
  none: false
64
64
  requirements:
65
65
  - - ! '>='
@@ -67,21 +67,21 @@ dependencies:
67
67
  version: 0.9.2
68
68
  type: :development
69
69
  prerelease: false
70
- version_requirements: *2153623180
70
+ version_requirements: *2156599480
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: bundler
73
- requirement: &2153621920 !ruby/object:Gem::Requirement
73
+ requirement: &2156599020 !ruby/object:Gem::Requirement
74
74
  none: false
75
75
  requirements:
76
76
  - - ! '>='
77
77
  - !ruby/object:Gem::Version
78
- version: 1.0.18
78
+ version: 1.0.21
79
79
  type: :development
80
80
  prerelease: false
81
- version_requirements: *2153621920
81
+ version_requirements: *2156599020
82
82
  - !ruby/object:Gem::Dependency
83
83
  name: aruba
84
- requirement: &2153614780 !ruby/object:Gem::Requirement
84
+ requirement: &2156598560 !ruby/object:Gem::Requirement
85
85
  none: false
86
86
  requirements:
87
87
  - - ! '>='
@@ -89,10 +89,10 @@ dependencies:
89
89
  version: 0.4.6
90
90
  type: :development
91
91
  prerelease: false
92
- version_requirements: *2153614780
92
+ version_requirements: *2156598560
93
93
  - !ruby/object:Gem::Dependency
94
94
  name: sqlite3
95
- requirement: &2153613880 !ruby/object:Gem::Requirement
95
+ requirement: &2156598100 !ruby/object:Gem::Requirement
96
96
  none: false
97
97
  requirements:
98
98
  - - ! '>='
@@ -100,54 +100,54 @@ dependencies:
100
100
  version: 1.3.4
101
101
  type: :development
102
102
  prerelease: false
103
- version_requirements: *2153613880
103
+ version_requirements: *2156598100
104
104
  - !ruby/object:Gem::Dependency
105
105
  name: rspec
106
- requirement: &2153612900 !ruby/object:Gem::Requirement
106
+ requirement: &2156597640 !ruby/object:Gem::Requirement
107
107
  none: false
108
108
  requirements:
109
109
  - - ! '>='
110
110
  - !ruby/object:Gem::Version
111
- version: 2.6.0
111
+ version: 2.7.0
112
112
  type: :development
113
113
  prerelease: false
114
- version_requirements: *2153612900
114
+ version_requirements: *2156597640
115
115
  - !ruby/object:Gem::Dependency
116
116
  name: rspec-rails
117
- requirement: &2153612080 !ruby/object:Gem::Requirement
117
+ requirement: &2156597180 !ruby/object:Gem::Requirement
118
118
  none: false
119
119
  requirements:
120
120
  - - ! '>='
121
121
  - !ruby/object:Gem::Version
122
- version: 2.6.1
122
+ version: 2.7.0
123
123
  type: :development
124
124
  prerelease: false
125
- version_requirements: *2153612080
125
+ version_requirements: *2156597180
126
126
  - !ruby/object:Gem::Dependency
127
127
  name: ammeter
128
- requirement: &2153611200 !ruby/object:Gem::Requirement
128
+ requirement: &2156596720 !ruby/object:Gem::Requirement
129
129
  none: false
130
130
  requirements:
131
131
  - - ! '>='
132
132
  - !ruby/object:Gem::Version
133
- version: 0.1.2
133
+ version: 0.2.1
134
134
  type: :development
135
135
  prerelease: false
136
- version_requirements: *2153611200
136
+ version_requirements: *2156596720
137
137
  - !ruby/object:Gem::Dependency
138
138
  name: factory_girl
139
- requirement: &2153610080 !ruby/object:Gem::Requirement
139
+ requirement: &2156596260 !ruby/object:Gem::Requirement
140
140
  none: false
141
141
  requirements:
142
142
  - - ! '>='
143
143
  - !ruby/object:Gem::Version
144
- version: 2.1.0
144
+ version: 2.2.0
145
145
  type: :development
146
146
  prerelease: false
147
- version_requirements: *2153610080
147
+ version_requirements: *2156596260
148
148
  - !ruby/object:Gem::Dependency
149
149
  name: database_cleaner
150
- requirement: &2153608180 !ruby/object:Gem::Requirement
150
+ requirement: &2156595800 !ruby/object:Gem::Requirement
151
151
  none: false
152
152
  requirements:
153
153
  - - ! '>='
@@ -155,98 +155,98 @@ dependencies:
155
155
  version: 0.6.7
156
156
  type: :development
157
157
  prerelease: false
158
- version_requirements: *2153608180
158
+ version_requirements: *2156595800
159
159
  - !ruby/object:Gem::Dependency
160
160
  name: mongoid
161
- requirement: &2153607500 !ruby/object:Gem::Requirement
161
+ requirement: &2156595340 !ruby/object:Gem::Requirement
162
162
  none: false
163
163
  requirements:
164
164
  - - ! '>='
165
165
  - !ruby/object:Gem::Version
166
- version: 2.2.2
166
+ version: 2.3.3
167
167
  type: :development
168
168
  prerelease: false
169
- version_requirements: *2153607500
169
+ version_requirements: *2156595340
170
170
  - !ruby/object:Gem::Dependency
171
171
  name: bson_ext
172
- requirement: &2153592360 !ruby/object:Gem::Requirement
172
+ requirement: &2156594880 !ruby/object:Gem::Requirement
173
173
  none: false
174
174
  requirements:
175
175
  - - ! '>='
176
176
  - !ruby/object:Gem::Version
177
- version: 1.3.1
177
+ version: 1.4.0
178
178
  type: :development
179
179
  prerelease: false
180
- version_requirements: *2153592360
180
+ version_requirements: *2156594880
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: turn
183
- requirement: &2153590580 !ruby/object:Gem::Requirement
183
+ requirement: &2156594420 !ruby/object:Gem::Requirement
184
184
  none: false
185
185
  requirements:
186
186
  - - ! '>='
187
187
  - !ruby/object:Gem::Version
188
- version: 0.8.2
188
+ version: 0.8.3
189
189
  type: :development
190
190
  prerelease: false
191
- version_requirements: *2153590580
191
+ version_requirements: *2156594420
192
192
  - !ruby/object:Gem::Dependency
193
- name: sass
194
- requirement: &2153589240 !ruby/object:Gem::Requirement
193
+ name: sass-rails
194
+ requirement: &2156593960 !ruby/object:Gem::Requirement
195
195
  none: false
196
196
  requirements:
197
197
  - - ! '>='
198
198
  - !ruby/object:Gem::Version
199
- version: 3.1.7
199
+ version: 3.1.4
200
200
  type: :development
201
201
  prerelease: false
202
- version_requirements: *2153589240
202
+ version_requirements: *2156593960
203
203
  - !ruby/object:Gem::Dependency
204
- name: coffee-script
205
- requirement: &2153587980 !ruby/object:Gem::Requirement
204
+ name: coffee-rails
205
+ requirement: &2156593500 !ruby/object:Gem::Requirement
206
206
  none: false
207
207
  requirements:
208
208
  - - ! '>='
209
209
  - !ruby/object:Gem::Version
210
- version: 2.2.0
210
+ version: 3.1.1
211
211
  type: :development
212
212
  prerelease: false
213
- version_requirements: *2153587980
213
+ version_requirements: *2156593500
214
214
  - !ruby/object:Gem::Dependency
215
215
  name: uglifier
216
- requirement: &2153587180 !ruby/object:Gem::Requirement
216
+ requirement: &2168752780 !ruby/object:Gem::Requirement
217
217
  none: false
218
218
  requirements:
219
219
  - - ! '>='
220
220
  - !ruby/object:Gem::Version
221
- version: 1.0.3
221
+ version: 1.0.4
222
222
  type: :development
223
223
  prerelease: false
224
- version_requirements: *2153587180
224
+ version_requirements: *2168752780
225
225
  - !ruby/object:Gem::Dependency
226
226
  name: jquery-rails
227
- requirement: &2153586020 !ruby/object:Gem::Requirement
227
+ requirement: &2168751800 !ruby/object:Gem::Requirement
228
228
  none: false
229
229
  requirements:
230
230
  - - ! '>='
231
231
  - !ruby/object:Gem::Version
232
- version: 1.0.14
232
+ version: 1.0.16
233
233
  type: :development
234
234
  prerelease: false
235
- version_requirements: *2153586020
235
+ version_requirements: *2168751800
236
236
  - !ruby/object:Gem::Dependency
237
237
  name: yard
238
- requirement: &2153585360 !ruby/object:Gem::Requirement
238
+ requirement: &2168751000 !ruby/object:Gem::Requirement
239
239
  none: false
240
240
  requirements:
241
241
  - - ~>
242
242
  - !ruby/object:Gem::Version
243
- version: 0.7.2
243
+ version: 0.7.3
244
244
  type: :development
245
245
  prerelease: false
246
- version_requirements: *2153585360
246
+ version_requirements: *2168751000
247
247
  - !ruby/object:Gem::Dependency
248
248
  name: rdiscount
249
- requirement: &2153584220 !ruby/object:Gem::Requirement
249
+ requirement: &2168750020 !ruby/object:Gem::Requirement
250
250
  none: false
251
251
  requirements:
252
252
  - - ~>
@@ -254,10 +254,10 @@ dependencies:
254
254
  version: 1.6.8
255
255
  type: :development
256
256
  prerelease: false
257
- version_requirements: *2153584220
257
+ version_requirements: *2168750020
258
258
  - !ruby/object:Gem::Dependency
259
259
  name: bcat
260
- requirement: &2153583460 !ruby/object:Gem::Requirement
260
+ requirement: &2168746380 !ruby/object:Gem::Requirement
261
261
  none: false
262
262
  requirements:
263
263
  - - ~>
@@ -265,8 +265,8 @@ dependencies:
265
265
  version: 0.6.2
266
266
  type: :development
267
267
  prerelease: false
268
- version_requirements: *2153583460
269
- description: Cucumber Generators and Runtime for Rails
268
+ version_requirements: *2168746380
269
+ description: Cucumber Generator and Runtime for Rails
270
270
  email: cukes@googlegroups.com
271
271
  executables: []
272
272
  extensions: []
@@ -276,7 +276,6 @@ files:
276
276
  - .rspec
277
277
  - .travis.yml
278
278
  - Gemfile
279
- - Gemfile.lock
280
279
  - History.md
281
280
  - LICENSE
282
281
  - README.md
@@ -295,6 +294,7 @@ files:
295
294
  - dev_tasks/yard/default/layout/html/setup.rb
296
295
  - features/allow_rescue.feature
297
296
  - features/capybara_javascript_drivers.feature
297
+ - features/choose_javascript_database_strategy.feature
298
298
  - features/database_cleaner.feature
299
299
  - features/emulate_javascript.feature
300
300
  - features/field_with_errors.feature
@@ -308,14 +308,18 @@ files:
308
308
  - features/rest_api.feature
309
309
  - features/routing.feature
310
310
  - features/step_definitions/cucumber_rails_steps.rb
311
+ - features/support/bundler_pre_support.rb
311
312
  - features/support/env.rb
312
- - features/test_unit.feature
313
+ - features/support/fixtures/bundler-1.0.21.gem
314
+ - features/support/fixtures/bundler-1.1.rc.gem
315
+ - features/support/legacy_web_steps_support.rb
313
316
  - lib/cucumber/rails.rb
314
317
  - lib/cucumber/rails/action_controller.rb
315
318
  - lib/cucumber/rails/application.rb
316
319
  - lib/cucumber/rails/capybara.rb
317
320
  - lib/cucumber/rails/capybara/javascript_emulation.rb
318
321
  - lib/cucumber/rails/capybara/select_dates_and_times.rb
322
+ - lib/cucumber/rails/database.rb
319
323
  - lib/cucumber/rails/hooks.rb
320
324
  - lib/cucumber/rails/hooks/active_record.rb
321
325
  - lib/cucumber/rails/hooks/allow_rescue.rb
@@ -323,20 +327,10 @@ files:
323
327
  - lib/cucumber/rails/hooks/mail.rb
324
328
  - lib/cucumber/rails/rspec.rb
325
329
  - lib/cucumber/rails/world.rb
326
- - lib/cucumber/web/tableish.rb
327
330
  - lib/generators/cucumber/install/USAGE
328
331
  - lib/generators/cucumber/install/install_generator.rb
329
332
  - lib/generators/cucumber/install/templates/config/cucumber.yml.erb
330
333
  - lib/generators/cucumber/install/templates/script/cucumber
331
- - lib/generators/cucumber/install/templates/step_definitions/web_steps.rb.erb
332
- - lib/generators/cucumber/install/templates/step_definitions/web_steps_cs.rb.erb
333
- - lib/generators/cucumber/install/templates/step_definitions/web_steps_da.rb.erb
334
- - lib/generators/cucumber/install/templates/step_definitions/web_steps_de.rb.erb
335
- - lib/generators/cucumber/install/templates/step_definitions/web_steps_es.rb.erb
336
- - lib/generators/cucumber/install/templates/step_definitions/web_steps_ja.rb.erb
337
- - lib/generators/cucumber/install/templates/step_definitions/web_steps_ko.rb.erb
338
- - lib/generators/cucumber/install/templates/step_definitions/web_steps_no.rb.erb
339
- - lib/generators/cucumber/install/templates/step_definitions/web_steps_pt-BR.rb.erb
340
334
  - lib/generators/cucumber/install/templates/support/_rails_each_run.rb.erb
341
335
  - lib/generators/cucumber/install/templates/support/_rails_prefork.rb.erb
342
336
  - lib/generators/cucumber/install/templates/support/capybara.rb
@@ -344,7 +338,6 @@ files:
344
338
  - lib/generators/cucumber/install/templates/support/rails.rb.erb
345
339
  - lib/generators/cucumber/install/templates/support/rails_spork.rb.erb
346
340
  - lib/generators/cucumber/install/templates/tasks/cucumber.rake.erb
347
- - spec/cucumber/web/tableish_spec.rb
348
341
  - spec/generators/cucumber/install/install_generator_spec.rb
349
342
  - spec/spec_helper.rb
350
343
  homepage: http://cukes.info
@@ -359,27 +352,22 @@ required_ruby_version: !ruby/object:Gem::Requirement
359
352
  - - ! '>='
360
353
  - !ruby/object:Gem::Version
361
354
  version: '0'
362
- segments:
363
- - 0
364
- hash: -4466562364292421344
365
355
  required_rubygems_version: !ruby/object:Gem::Requirement
366
356
  none: false
367
357
  requirements:
368
358
  - - ! '>='
369
359
  - !ruby/object:Gem::Version
370
360
  version: '0'
371
- segments:
372
- - 0
373
- hash: -4466562364292421344
374
361
  requirements: []
375
362
  rubyforge_project:
376
363
  rubygems_version: 1.8.10
377
364
  signing_key:
378
365
  specification_version: 3
379
- summary: cucumber-rails-1.1.1
366
+ summary: cucumber-rails-1.2.0
380
367
  test_files:
381
368
  - features/allow_rescue.feature
382
369
  - features/capybara_javascript_drivers.feature
370
+ - features/choose_javascript_database_strategy.feature
383
371
  - features/database_cleaner.feature
384
372
  - features/emulate_javascript.feature
385
373
  - features/field_with_errors.feature
@@ -393,8 +381,11 @@ test_files:
393
381
  - features/rest_api.feature
394
382
  - features/routing.feature
395
383
  - features/step_definitions/cucumber_rails_steps.rb
384
+ - features/support/bundler_pre_support.rb
396
385
  - features/support/env.rb
397
- - features/test_unit.feature
398
- - spec/cucumber/web/tableish_spec.rb
386
+ - features/support/fixtures/bundler-1.0.21.gem
387
+ - features/support/fixtures/bundler-1.1.rc.gem
388
+ - features/support/legacy_web_steps_support.rb
399
389
  - spec/generators/cucumber/install/install_generator_spec.rb
400
390
  - spec/spec_helper.rb
391
+ has_rdoc: