cucumber 0.8.7 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. data/.gitignore +24 -0
  2. data/Gemfile +5 -0
  3. data/History.txt +16 -3
  4. data/Rakefile +4 -50
  5. data/cucumber.gemspec +36 -600
  6. data/features/cucumber_cli.feature +1 -1
  7. data/features/json_formatter.feature +1 -1
  8. data/features/junit_formatter.feature +10 -6
  9. data/features/post_configuration_hook.feature +15 -2
  10. data/features/step_definitions/cucumber_steps.rb +5 -1
  11. data/features/step_definitions/wire_steps.rb +1 -0
  12. data/features/support/env.rb +2 -5
  13. data/features/wire_protocol.feature +1 -1
  14. data/lib/cucumber.rb +8 -0
  15. data/lib/cucumber/ast/outline_table.rb +4 -4
  16. data/lib/cucumber/ast/step_invocation.rb +14 -13
  17. data/lib/cucumber/ast/table.rb +2 -1
  18. data/lib/cucumber/ast/tree_walker.rb +3 -3
  19. data/lib/cucumber/cli/configuration.rb +32 -7
  20. data/lib/cucumber/cli/main.rb +26 -30
  21. data/lib/cucumber/cli/options.rb +1 -3
  22. data/lib/cucumber/cli/profile_loader.rb +2 -0
  23. data/lib/cucumber/configuration.rb +37 -0
  24. data/lib/cucumber/errors.rb +40 -0
  25. data/lib/cucumber/feature_file.rb +5 -12
  26. data/lib/cucumber/formatter/junit.rb +2 -2
  27. data/lib/cucumber/formatter/tag_cloud.rb +1 -1
  28. data/lib/cucumber/js_support/js_dsl.js +4 -4
  29. data/lib/cucumber/js_support/js_language.rb +9 -5
  30. data/lib/cucumber/language_support.rb +2 -2
  31. data/lib/cucumber/parser/gherkin_builder.rb +19 -19
  32. data/lib/cucumber/platform.rb +3 -4
  33. data/lib/cucumber/rake/task.rb +1 -7
  34. data/lib/cucumber/rb_support/rb_dsl.rb +1 -0
  35. data/lib/cucumber/rb_support/rb_language.rb +1 -0
  36. data/lib/cucumber/rspec/doubles.rb +3 -3
  37. data/lib/cucumber/runtime.rb +192 -0
  38. data/lib/cucumber/runtime/features_loader.rb +62 -0
  39. data/lib/cucumber/runtime/results.rb +46 -0
  40. data/lib/cucumber/runtime/support_code.rb +174 -0
  41. data/lib/cucumber/runtime/user_interface.rb +80 -0
  42. data/lib/cucumber/step_mother.rb +6 -427
  43. data/lib/cucumber/wire_support/configuration.rb +2 -0
  44. data/lib/cucumber/wire_support/wire_language.rb +1 -8
  45. data/spec/cucumber/ast/background_spec.rb +3 -3
  46. data/spec/cucumber/ast/feature_spec.rb +2 -2
  47. data/spec/cucumber/ast/scenario_outline_spec.rb +1 -1
  48. data/spec/cucumber/ast/scenario_spec.rb +1 -2
  49. data/spec/cucumber/ast/tree_walker_spec.rb +1 -1
  50. data/spec/cucumber/cli/configuration_spec.rb +31 -5
  51. data/spec/cucumber/cli/drb_client_spec.rb +1 -1
  52. data/spec/cucumber/cli/main_spec.rb +8 -37
  53. data/spec/cucumber/cli/options_spec.rb +20 -0
  54. data/spec/cucumber/formatter/spec_helper.rb +5 -7
  55. data/spec/cucumber/rb_support/rb_language_spec.rb +2 -2
  56. data/spec/cucumber/rb_support/rb_step_definition_spec.rb +1 -1
  57. data/spec/cucumber/runtime_spec.rb +294 -0
  58. data/spec/cucumber/step_match_spec.rb +10 -8
  59. data/spec/cucumber/world/pending_spec.rb +1 -1
  60. data/spec/spec_helper.rb +2 -21
  61. metadata +215 -84
  62. data/Caliper.yml +0 -4
  63. data/VERSION.yml +0 -5
  64. data/spec/cucumber/step_mother_spec.rb +0 -302
@@ -0,0 +1,24 @@
1
+ .bundle
2
+ Gemfile.lock
3
+ nbproject
4
+ coverage
5
+ pkg
6
+ doc
7
+ tmp
8
+ .yardoc
9
+ *.log
10
+ *.pid
11
+ .eprj
12
+ .tmtags
13
+ *~
14
+ .DS_Store
15
+ *.swp
16
+ target
17
+ *.tmproj
18
+ .#*
19
+ .idea
20
+ *.pyc
21
+ *.rbc
22
+ rerun.txt
23
+ ._*
24
+ .rvmrc
data/Gemfile ADDED
@@ -0,0 +1,5 @@
1
+ source "http://rubygems.org"
2
+ gemspec
3
+
4
+ @dependencies.reject!{|dep| dep.name == 'gherkin'}
5
+ gem 'gherkin', :path => '../gherkin'
@@ -1,7 +1,20 @@
1
- == 0.8.6 (2011-06-19)
1
+ == 0.9.0 (2010-09-21)
2
2
 
3
- === New Features
4
- * Support for Rake 0.9.x (Rasheed Abdul-Aziz)
3
+ Maintenance release for the new release of Gherkin 2.2.3.
4
+
5
+ === Bugfixes
6
+ * Compatibility with rspec-2.0.0.beta.19 mocks (Aslak Hellesøy)
7
+ * JUnit formatter now puts output in CDATA sections. (Dmitry Amelchenko)
8
+
9
+ === New features
10
+ * --dry-run now shows snippets (Ben Hall)
11
+ * Use Bundler for dependency management. (Aslak Hellesøy, Rob Hunter)
12
+
13
+ === Removed features
14
+ * No more Jeweler
15
+
16
+ === Internal changes
17
+ * Big refactoring of StepMother (Matt Wynne)
5
18
 
6
19
  == 0.8.5 (2010-07-14)
7
20
 
data/Rakefile CHANGED
@@ -1,58 +1,12 @@
1
1
  # encoding: utf-8
2
2
  require 'rubygems'
3
- require 'term/ansicolor'
4
- require 'rake'
5
- $:.unshift(File.dirname(__FILE__) + '/lib')
6
- require 'cucumber/formatter/ansicolor'
7
- require 'cucumber/platform'
8
-
9
- begin
10
- require 'jeweler'
11
- Jeweler::Tasks.new do |gem|
12
- gem.name = "cucumber"
13
- gem.summary = %Q{Behaviour Driven Development with elegance and joy}
14
- gem.description = %Q{Behaviour Driven Development with elegance and joy}
15
- gem.email = "cukes@googlegroups.com"
16
- gem.homepage = "http://cukes.info"
17
- gem.authors = ["Aslak Hellesøy"]
18
-
19
- gem.add_dependency 'gherkin', '~> 2.1.4'
20
- gem.add_dependency 'term-ansicolor', '~> 1.0.4'
21
- gem.add_dependency 'builder', '~> 2.1.2'
22
- gem.add_dependency 'diff-lcs', '~> 1.1.2'
23
- gem.add_dependency 'json_pure', '~> 1.4.3'
24
-
25
- gem.add_development_dependency 'nokogiri', '~> 1.4.2'
26
- gem.add_development_dependency 'prawn', '= 0.8.4'
27
- gem.add_development_dependency 'prawn-layout', '= 0.8.4'
28
- gem.add_development_dependency 'rspec', '~> 2.0.0.beta.15'
29
- gem.add_development_dependency 'syntax', '~> 1.0.0'
30
- gem.add_development_dependency 'spork', '~> 0.8.4' unless Cucumber::JRUBY || Cucumber::WINDOWS
31
-
32
- extend Cucumber::Formatter::ANSIColor
33
- gem.post_install_message = <<-POST_INSTALL_MESSAGE
34
-
35
- #{cukes(15)}
36
-
37
- #{cukes(1)} U P G R A D I N G #{cukes(1)}
38
-
39
- Thank you for installing cucumber-#{Cucumber::VERSION}.
40
- Please be sure to read http://wiki.github.com/aslakhellesoy/cucumber/upgrading
41
- for important information about this release. Happy cuking!
42
-
43
- #{cukes(15)}
44
-
45
- POST_INSTALL_MESSAGE
46
- end
47
-
48
- Jeweler::GemcutterTasks.new
49
- rescue LoadError
50
- puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
51
- end
3
+ require 'bundler'
4
+ Bundler.setup
5
+ Bundler::GemHelper.install_tasks
52
6
 
53
7
  Dir['gem_tasks/**/*.rake'].each { |rake| load rake }
54
8
 
55
- task :default => [:check_dependencies, :spec, :cucumber]
9
+ task :default => [:spec, :cucumber]
56
10
 
57
11
  require 'rake/clean'
58
12
  CLEAN.include %w(**/*.{log,pyc})
@@ -1,613 +1,49 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
1
  # -*- encoding: utf-8 -*-
2
+ $LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
3
+ require "cucumber/platform"
5
4
 
6
5
  Gem::Specification.new do |s|
7
- s.name = %q{cucumber}
8
- s.version = "0.8.7"
9
-
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Aslak Helles\303\270y"]
12
- s.date = %q{2011-06-19}
13
- s.default_executable = %q{cucumber}
14
- s.description = %q{Behaviour Driven Development with elegance and joy}
15
- s.email = %q{cukes@googlegroups.com}
16
- s.executables = ["cucumber"]
17
- s.extra_rdoc_files = [
18
- "LICENSE",
19
- "README.rdoc"
20
- ]
21
- s.files = [
22
- ".gitattributes",
23
- ".rspec",
24
- "Caliper.yml",
25
- "History.txt",
26
- "LICENSE",
27
- "README.rdoc",
28
- "Rakefile",
29
- "VERSION.yml",
30
- "bin/cucumber",
31
- "cucumber.gemspec",
32
- "cucumber.yml",
33
- "examples/i18n/README.textile",
34
- "examples/i18n/Rakefile",
35
- "examples/i18n/ar/Rakefile",
36
- "examples/i18n/ar/features/addition.feature",
37
- "examples/i18n/ar/features/step_definitons/calculator_steps.rb",
38
- "examples/i18n/ar/lib/calculator.rb",
39
- "examples/i18n/bg/Rakefile",
40
- "examples/i18n/bg/features/addition.feature",
41
- "examples/i18n/bg/features/consecutive_calculations.feature",
42
- "examples/i18n/bg/features/division.feature",
43
- "examples/i18n/bg/features/step_definitons/calculator_steps.rb",
44
- "examples/i18n/bg/features/support/env.rb",
45
- "examples/i18n/bg/features/support/world.rb",
46
- "examples/i18n/bg/lib/calculator.rb",
47
- "examples/i18n/ca/Rakefile",
48
- "examples/i18n/ca/features/step_definitons/calculator_steps.rb",
49
- "examples/i18n/ca/features/suma.feature",
50
- "examples/i18n/ca/lib/calculadora.rb",
51
- "examples/i18n/da/Rakefile",
52
- "examples/i18n/da/features/sammenlaegning.feature",
53
- "examples/i18n/da/features/step_definitons/lommeregner_steps.rb",
54
- "examples/i18n/da/lib/lommeregner.rb",
55
- "examples/i18n/de/.gitignore",
56
- "examples/i18n/de/Rakefile",
57
- "examples/i18n/de/features/addition.feature",
58
- "examples/i18n/de/features/division.feature",
59
- "examples/i18n/de/features/step_definitons/calculator_steps.rb",
60
- "examples/i18n/de/lib/calculator.rb",
61
- "examples/i18n/en-lol/Rakefile",
62
- "examples/i18n/en-lol/features/step_definitions/cucumbrz_steps.rb",
63
- "examples/i18n/en-lol/features/stuffing.feature",
64
- "examples/i18n/en-lol/features/support/env.rb",
65
- "examples/i18n/en-lol/lib/basket.rb",
66
- "examples/i18n/en-lol/lib/belly.rb",
67
- "examples/i18n/en/.gitignore",
68
- "examples/i18n/en/Rakefile",
69
- "examples/i18n/en/features/addition.feature",
70
- "examples/i18n/en/features/division.feature",
71
- "examples/i18n/en/features/step_definitons/calculator_steps.rb",
72
- "examples/i18n/en/lib/calculator.rb",
73
- "examples/i18n/eo/.gitignore",
74
- "examples/i18n/eo/Rakefile",
75
- "examples/i18n/eo/features/adicio.feature",
76
- "examples/i18n/eo/features/divido.feature",
77
- "examples/i18n/eo/features/step_definitons/calculator_steps.rb",
78
- "examples/i18n/eo/lib/calculator.rb",
79
- "examples/i18n/es/Rakefile",
80
- "examples/i18n/es/features/adicion.feature",
81
- "examples/i18n/es/features/step_definitons/calculador_steps.rb",
82
- "examples/i18n/es/lib/calculador.rb",
83
- "examples/i18n/et/Rakefile",
84
- "examples/i18n/et/features/jagamine.feature",
85
- "examples/i18n/et/features/liitmine.feature",
86
- "examples/i18n/et/features/step_definitions/kalkulaator_steps.rb",
87
- "examples/i18n/et/lib/kalkulaator.rb",
88
- "examples/i18n/fi/.gitignore",
89
- "examples/i18n/fi/Rakefile",
90
- "examples/i18n/fi/features/jakolasku.feature",
91
- "examples/i18n/fi/features/step_definitons/laskin_steps.rb",
92
- "examples/i18n/fi/features/yhteenlasku.feature",
93
- "examples/i18n/fi/lib/laskin.rb",
94
- "examples/i18n/fr/Rakefile",
95
- "examples/i18n/fr/features/addition.feature",
96
- "examples/i18n/fr/features/addition2.feature",
97
- "examples/i18n/fr/features/step_definitions/calculatrice_steps.rb",
98
- "examples/i18n/fr/features/support/env.rb",
99
- "examples/i18n/fr/lib/calculatrice.rb",
100
- "examples/i18n/he/Rakefile",
101
- "examples/i18n/he/features/addition.feature",
102
- "examples/i18n/he/features/division.feature",
103
- "examples/i18n/he/features/step_definitons/calculator_steps.rb",
104
- "examples/i18n/he/lib/calculator.rb",
105
- "examples/i18n/hu/.gitignore",
106
- "examples/i18n/hu/Rakefile",
107
- "examples/i18n/hu/features/osszeadas.feature",
108
- "examples/i18n/hu/features/osztas.feature",
109
- "examples/i18n/hu/features/step_definitons/calculator_steps.rb",
110
- "examples/i18n/hu/lib/calculator.rb",
111
- "examples/i18n/id/.gitignore",
112
- "examples/i18n/id/Rakefile",
113
- "examples/i18n/id/features/addition.feature",
114
- "examples/i18n/id/features/division.feature",
115
- "examples/i18n/id/features/step_definitons/calculator_steps.rb",
116
- "examples/i18n/id/lib/calculator.rb",
117
- "examples/i18n/it/Rakefile",
118
- "examples/i18n/it/features/somma.feature",
119
- "examples/i18n/it/features/step_definitons/calcolatrice_steps.rb",
120
- "examples/i18n/it/lib/calcolatrice.rb",
121
- "examples/i18n/ja/.gitignore",
122
- "examples/i18n/ja/Rakefile",
123
- "examples/i18n/ja/features/addition.feature",
124
- "examples/i18n/ja/features/division.feature",
125
- "examples/i18n/ja/features/step_definitons/calculator_steps.rb",
126
- "examples/i18n/ja/features/support/env.rb",
127
- "examples/i18n/ja/lib/calculator.rb",
128
- "examples/i18n/ko/.gitignore",
129
- "examples/i18n/ko/Rakefile",
130
- "examples/i18n/ko/features/addition.feature",
131
- "examples/i18n/ko/features/division.feature",
132
- "examples/i18n/ko/features/step_definitons/calculator_steps.rb",
133
- "examples/i18n/ko/lib/calculator.rb",
134
- "examples/i18n/lt/.gitignore",
135
- "examples/i18n/lt/Rakefile",
136
- "examples/i18n/lt/features/addition.feature",
137
- "examples/i18n/lt/features/division.feature",
138
- "examples/i18n/lt/features/step_definitons/calculator_steps.rb",
139
- "examples/i18n/lt/lib/calculator.rb",
140
- "examples/i18n/lv/Rakefile",
141
- "examples/i18n/lv/features/addition.feature",
142
- "examples/i18n/lv/features/division.feature",
143
- "examples/i18n/lv/features/step_definitons/calculator_steps.rb",
144
- "examples/i18n/lv/lib/calculator.rb",
145
- "examples/i18n/no/Rakefile",
146
- "examples/i18n/no/features/step_definitons/kalkulator_steps.rb",
147
- "examples/i18n/no/features/summering.feature",
148
- "examples/i18n/no/features/support/env.rb",
149
- "examples/i18n/no/lib/kalkulator.rb",
150
- "examples/i18n/pl/.gitignore",
151
- "examples/i18n/pl/Rakefile",
152
- "examples/i18n/pl/features/addition.feature",
153
- "examples/i18n/pl/features/division.feature",
154
- "examples/i18n/pl/features/step_definitons/calculator_steps.rb",
155
- "examples/i18n/pl/features/support/env.rb",
156
- "examples/i18n/pl/lib/calculator.rb",
157
- "examples/i18n/pt/Rakefile",
158
- "examples/i18n/pt/features/adicao.feature",
159
- "examples/i18n/pt/features/step_definitions/calculadora_steps.rb",
160
- "examples/i18n/pt/features/support/env.rb",
161
- "examples/i18n/pt/lib/calculadora.rb",
162
- "examples/i18n/ro/Rakefile",
163
- "examples/i18n/ro/features/step_definitons/calculator_steps.rb",
164
- "examples/i18n/ro/features/suma.feature",
165
- "examples/i18n/ro/lib/calculator.rb",
166
- "examples/i18n/ru/Rakefile",
167
- "examples/i18n/ru/features/addition.feature",
168
- "examples/i18n/ru/features/consecutive_calculations.feature",
169
- "examples/i18n/ru/features/division.feature",
170
- "examples/i18n/ru/features/step_definitons/calculator_steps.rb",
171
- "examples/i18n/ru/features/support/env.rb",
172
- "examples/i18n/ru/features/support/world.rb",
173
- "examples/i18n/ru/lib/calculator.rb",
174
- "examples/i18n/sk/.gitignore",
175
- "examples/i18n/sk/Rakefile",
176
- "examples/i18n/sk/features/addition.feature",
177
- "examples/i18n/sk/features/division.feature",
178
- "examples/i18n/sk/features/step_definitons/calculator_steps.rb",
179
- "examples/i18n/sk/lib/calculator.rb",
180
- "examples/i18n/sr-Cyrl/Rakefile",
181
- "examples/i18n/sr-Cyrl/features/sabiranje.feature",
182
- "examples/i18n/sr-Cyrl/features/step_definitons/calculator_steps.rb",
183
- "examples/i18n/sr-Cyrl/features/support/env.rb",
184
- "examples/i18n/sr-Cyrl/lib/calculator.rb",
185
- "examples/i18n/sr-Latn/Rakefile",
186
- "examples/i18n/sr-Latn/features/sabiranje.feature",
187
- "examples/i18n/sr-Latn/features/step_definitons/calculator_steps.rb",
188
- "examples/i18n/sr-Latn/lib/calculator.rb",
189
- "examples/i18n/sv/Rakefile",
190
- "examples/i18n/sv/features/step_definitons/kalkulator_steps.rb",
191
- "examples/i18n/sv/features/summering.feature",
192
- "examples/i18n/sv/lib/kalkulator.rb",
193
- "examples/i18n/tr/.gitignore",
194
- "examples/i18n/tr/Rakefile",
195
- "examples/i18n/tr/features/bolme.feature",
196
- "examples/i18n/tr/features/step_definitons/hesap_makinesi_adimlari.rb",
197
- "examples/i18n/tr/features/toplama.feature",
198
- "examples/i18n/tr/lib/hesap_makinesi.rb",
199
- "examples/i18n/uk/Rakefile",
200
- "examples/i18n/uk/features/addition.feature",
201
- "examples/i18n/uk/features/consecutive_calculations.feature",
202
- "examples/i18n/uk/features/division.feature",
203
- "examples/i18n/uk/features/step_definitons/calculator_steps.rb",
204
- "examples/i18n/uk/features/support/env.rb",
205
- "examples/i18n/uk/features/support/world.rb",
206
- "examples/i18n/uk/lib/calculator.rb",
207
- "examples/i18n/uz/Rakefile",
208
- "examples/i18n/uz/features/addition.feature",
209
- "examples/i18n/uz/features/consecutive_calculations.feature",
210
- "examples/i18n/uz/features/division.feature",
211
- "examples/i18n/uz/features/step_definitons/calculator_steps.rb",
212
- "examples/i18n/uz/features/support/env.rb",
213
- "examples/i18n/uz/features/support/world.rb",
214
- "examples/i18n/uz/lib/calculator.rb",
215
- "examples/i18n/zh-CN/Rakefile",
216
- "examples/i18n/zh-CN/features/addition.feature",
217
- "examples/i18n/zh-CN/features/step_definitons/calculator_steps.rb",
218
- "examples/i18n/zh-CN/lib/calculator.rb",
219
- "examples/i18n/zh-TW/.gitignore",
220
- "examples/i18n/zh-TW/Rakefile",
221
- "examples/i18n/zh-TW/features/addition.feature",
222
- "examples/i18n/zh-TW/features/division.feature",
223
- "examples/i18n/zh-TW/features/step_definitons/calculator_steps.rb",
224
- "examples/i18n/zh-TW/lib/calculator.rb",
225
- "examples/python/README.textile",
226
- "examples/python/Rakefile",
227
- "examples/python/features/fibonacci.feature",
228
- "examples/python/features/step_definitions/fib_steps.py",
229
- "examples/python/lib/.gitignore",
230
- "examples/python/lib/fib.py",
231
- "examples/ramaze/README.textile",
232
- "examples/ramaze/Rakefile",
233
- "examples/ramaze/app.rb",
234
- "examples/ramaze/features/add.feature",
235
- "examples/ramaze/features/step_definitions/add_steps.rb",
236
- "examples/ramaze/features/support/env.rb",
237
- "examples/ramaze/layout/default.html.erb",
238
- "examples/ramaze/view/index.html.erb",
239
- "examples/rspec_doubles/Rakefile",
240
- "examples/rspec_doubles/features/mocking.feature",
241
- "examples/rspec_doubles/features/step_definitions/calvin_steps.rb",
242
- "examples/rspec_doubles/features/support/env.rb",
243
- "examples/ruby2python/README.textile",
244
- "examples/ruby2python/Rakefile",
245
- "examples/ruby2python/features/fibonacci.feature",
246
- "examples/ruby2python/features/step_definitions/fib_steps.rb",
247
- "examples/ruby2python/features/support/env.rb",
248
- "examples/ruby2python/lib/.gitignore",
249
- "examples/ruby2python/lib/fib.py",
250
- "examples/sinatra/README.textile",
251
- "examples/sinatra/Rakefile",
252
- "examples/sinatra/app.rb",
253
- "examples/sinatra/features/add.feature",
254
- "examples/sinatra/features/step_definitions/add_steps.rb",
255
- "examples/sinatra/features/support/env.rb",
256
- "examples/sinatra/views/add.erb",
257
- "examples/sinatra/views/layout.erb",
258
- "examples/tcl/README.textile",
259
- "examples/tcl/Rakefile",
260
- "examples/tcl/features/fibonnacci.feature",
261
- "examples/tcl/features/step_definitions/fib_steps.rb",
262
- "examples/tcl/features/support/env.rb",
263
- "examples/tcl/src/fib.tcl",
264
- "examples/test_unit/Rakefile",
265
- "examples/test_unit/features/step_definitions/test_unit_steps.rb",
266
- "examples/test_unit/features/test_unit.feature",
267
- "examples/v8/Rakefile",
268
- "examples/v8/features/fibonacci.feature",
269
- "examples/v8/features/step_definitions/fib_steps.js",
270
- "examples/v8/features/support/env.js",
271
- "examples/v8/lib/fibonacci.js",
272
- "examples/watir/.gitignore",
273
- "examples/watir/README.textile",
274
- "examples/watir/Rakefile",
275
- "examples/watir/cucumber.yml",
276
- "examples/watir/features/search.feature",
277
- "examples/watir/features/step_definitions/search_steps.rb",
278
- "examples/watir/features/support/env.rb",
279
- "examples/watir/features/support/screenshots.rb",
280
- "features/announce.feature",
281
- "features/around_hooks.feature",
282
- "features/background.feature",
283
- "features/bug_371.feature",
284
- "features/bug_464.feature",
285
- "features/bug_475.feature",
286
- "features/bug_585_tab_indentation.feature",
287
- "features/bug_600.feature",
288
- "features/call_steps_from_stepdefs.feature",
289
- "features/cucumber_cli.feature",
290
- "features/cucumber_cli_outlines.feature",
291
- "features/custom_formatter.feature",
292
- "features/default_snippets.feature",
293
- "features/diffing.feature",
294
- "features/drb_server_integration.feature",
295
- "features/exception_in_after_block.feature",
296
- "features/exception_in_after_step_block.feature",
297
- "features/exception_in_before_block.feature",
298
- "features/exclude_files.feature",
299
- "features/expand.feature",
300
- "features/html_formatter.feature",
301
- "features/html_formatter/a.html",
302
- "features/json_formatter.feature",
303
- "features/junit_formatter.feature",
304
- "features/language_from_header.feature",
305
- "features/language_help.feature",
306
- "features/listener_debugger_formatter.feature",
307
- "features/multiline_names.feature",
308
- "features/negative_tagged_hooks.feature",
309
- "features/post_configuration_hook.feature",
310
- "features/profiles.feature",
311
- "features/rake_task.feature",
312
- "features/report_called_undefined_steps.feature",
313
- "features/rerun_formatter.feature",
314
- "features/simplest.feature",
315
- "features/snippet.feature",
316
- "features/snippets_when_using_star_keyword.feature",
317
- "features/step_definitions/cucumber_steps.rb",
318
- "features/step_definitions/extra_steps.rb",
319
- "features/step_definitions/simplest_steps.rb",
320
- "features/step_definitions/wire_steps.rb",
321
- "features/support/env.rb",
322
- "features/support/env.rb.simplest",
323
- "features/support/fake_wire_server.rb",
324
- "features/table_diffing.feature",
325
- "features/table_mapping.feature",
326
- "features/tag_logic.feature",
327
- "features/transform.feature",
328
- "features/unicode_table.feature",
329
- "features/usage_and_stepdefs_formatter.feature",
330
- "features/wire_protocol.feature",
331
- "features/wire_protocol_table_diffing.feature",
332
- "features/wire_protocol_tags.feature",
333
- "features/wire_protocol_timeouts.feature",
334
- "features/work_in_progress.feature",
335
- "fixtures/json/features/background.feature",
336
- "fixtures/json/features/embed.feature",
337
- "fixtures/json/features/one_passing_one_failing.feature",
338
- "fixtures/json/features/pystring.feature",
339
- "fixtures/json/features/step_definitions/steps.rb",
340
- "fixtures/json/features/tables.feature",
341
- "fixtures/junit/features/one_passing_one_failing.feature",
342
- "fixtures/junit/features/pending.feature",
343
- "fixtures/junit/features/step_definitions/steps.rb",
344
- "fixtures/self_test/.gitignore",
345
- "fixtures/self_test/README.textile",
346
- "fixtures/self_test/Rakefile",
347
- "fixtures/self_test/features/background/background_tagged_before_on_outline.feature",
348
- "fixtures/self_test/features/background/background_with_name.feature",
349
- "fixtures/self_test/features/background/failing_background.feature",
350
- "fixtures/self_test/features/background/failing_background_after_success.feature",
351
- "fixtures/self_test/features/background/multiline_args_background.feature",
352
- "fixtures/self_test/features/background/passing_background.feature",
353
- "fixtures/self_test/features/background/pending_background.feature",
354
- "fixtures/self_test/features/background/scenario_outline_failing_background.feature",
355
- "fixtures/self_test/features/background/scenario_outline_passing_background.feature",
356
- "fixtures/self_test/features/call_undefined_step_from_step_def.feature",
357
- "fixtures/self_test/features/failing_expectation.feature",
358
- "fixtures/self_test/features/lots_of_undefined.feature",
359
- "fixtures/self_test/features/multiline_name.feature",
360
- "fixtures/self_test/features/outline_sample.feature",
361
- "fixtures/self_test/features/sample.feature",
362
- "fixtures/self_test/features/search_sample.feature",
363
- "fixtures/self_test/features/step_definitions/sample_steps.rb",
364
- "fixtures/self_test/features/support/env.rb",
365
- "fixtures/self_test/features/tags_sample.feature",
366
- "fixtures/self_test/features/tons_of_cukes.feature",
367
- "fixtures/self_test/features/undefined_multiline_args.feature",
368
- "fixtures/self_test/list-of-features.txt",
369
- "fixtures/steps_library/features/step_definitions/steps_lib1.rb",
370
- "fixtures/steps_library/features/step_definitions/steps_lib2.rb",
371
- "fixtures/tickets/Rakefile",
372
- "fixtures/tickets/features.html",
373
- "fixtures/tickets/features/172.feature",
374
- "fixtures/tickets/features/177/1.feature",
375
- "fixtures/tickets/features/177/2.feature",
376
- "fixtures/tickets/features/177/3.feature",
377
- "fixtures/tickets/features/180.feature",
378
- "fixtures/tickets/features/229/tagged_hooks.feature",
379
- "fixtures/tickets/features/229/tagged_hooks.rb",
380
- "fixtures/tickets/features/236.feature",
381
- "fixtures/tickets/features/241.feature",
382
- "fixtures/tickets/features/246.feature",
383
- "fixtures/tickets/features/248.feature",
384
- "fixtures/tickets/features/270/back.feature",
385
- "fixtures/tickets/features/270/back.steps.rb",
386
- "fixtures/tickets/features/272/hooks.feature",
387
- "fixtures/tickets/features/272/hooks_steps.rb",
388
- "fixtures/tickets/features/279/py_string_indent.feature",
389
- "fixtures/tickets/features/279/py_string_indent.steps.rb",
390
- "fixtures/tickets/features/279/wrong.feature_",
391
- "fixtures/tickets/features/301/filter_background_tagged_hooks.feature",
392
- "fixtures/tickets/features/301/filter_background_tagged_hooks_steps.rb",
393
- "fixtures/tickets/features/306/only_background.feature",
394
- "fixtures/tickets/features/around_timeout.feature",
395
- "fixtures/tickets/features/gherkin_67.feature",
396
- "fixtures/tickets/features/gherkin_68.feature",
397
- "fixtures/tickets/features/half_manual.feature",
398
- "fixtures/tickets/features/lib/eatting_machine.rb",
399
- "fixtures/tickets/features/lib/pantry.rb",
400
- "fixtures/tickets/features/scenario_outline.feature",
401
- "fixtures/tickets/features/step_definitons/246_steps.rb",
402
- "fixtures/tickets/features/step_definitons/248_steps.rb",
403
- "fixtures/tickets/features/step_definitons/around_timeout_steps.rb",
404
- "fixtures/tickets/features/step_definitons/half_manual_steps.rb",
405
- "fixtures/tickets/features/step_definitons/scenario_outline_steps.rb",
406
- "fixtures/tickets/features/step_definitons/tickets_steps.rb",
407
- "fixtures/tickets/features/table_diffing.feature",
408
- "fixtures/tickets/features/tickets.feature",
409
- "gem_tasks/contributors.rake",
410
- "gem_tasks/environment.rake",
411
- "gem_tasks/examples.rake",
412
- "gem_tasks/features.rake",
413
- "gem_tasks/fix_cr_lf.rake",
414
- "gem_tasks/flog.rake",
415
- "gem_tasks/rspec.rake",
416
- "gem_tasks/sass.rake",
417
- "gem_tasks/sdoc.rake",
418
- "lib/README.rdoc",
419
- "lib/autotest/cucumber.rb",
420
- "lib/autotest/cucumber_mixin.rb",
421
- "lib/autotest/cucumber_rails.rb",
422
- "lib/autotest/cucumber_rails_rspec.rb",
423
- "lib/autotest/cucumber_rails_rspec2.rb",
424
- "lib/autotest/cucumber_rspec.rb",
425
- "lib/autotest/cucumber_rspec2.rb",
426
- "lib/autotest/discover.rb",
427
- "lib/cucumber.rb",
428
- "lib/cucumber/ast.rb",
429
- "lib/cucumber/ast/background.rb",
430
- "lib/cucumber/ast/comment.rb",
431
- "lib/cucumber/ast/examples.rb",
432
- "lib/cucumber/ast/feature.rb",
433
- "lib/cucumber/ast/feature_element.rb",
434
- "lib/cucumber/ast/features.rb",
435
- "lib/cucumber/ast/outline_table.rb",
436
- "lib/cucumber/ast/py_string.rb",
437
- "lib/cucumber/ast/scenario.rb",
438
- "lib/cucumber/ast/scenario_outline.rb",
439
- "lib/cucumber/ast/step.rb",
440
- "lib/cucumber/ast/step_collection.rb",
441
- "lib/cucumber/ast/step_invocation.rb",
442
- "lib/cucumber/ast/table.rb",
443
- "lib/cucumber/ast/tags.rb",
444
- "lib/cucumber/ast/tree_walker.rb",
445
- "lib/cucumber/ast/visitor.rb",
446
- "lib/cucumber/broadcaster.rb",
447
- "lib/cucumber/cli/configuration.rb",
448
- "lib/cucumber/cli/drb_client.rb",
449
- "lib/cucumber/cli/main.rb",
450
- "lib/cucumber/cli/options.rb",
451
- "lib/cucumber/cli/profile_loader.rb",
452
- "lib/cucumber/constantize.rb",
453
- "lib/cucumber/core_ext/instance_exec.rb",
454
- "lib/cucumber/core_ext/proc.rb",
455
- "lib/cucumber/core_ext/string.rb",
456
- "lib/cucumber/feature_file.rb",
457
- "lib/cucumber/formatter/ansicolor.rb",
458
- "lib/cucumber/formatter/color_io.rb",
459
- "lib/cucumber/formatter/console.rb",
460
- "lib/cucumber/formatter/cucumber.css",
461
- "lib/cucumber/formatter/cucumber.sass",
462
- "lib/cucumber/formatter/debug.rb",
463
- "lib/cucumber/formatter/duration.rb",
464
- "lib/cucumber/formatter/html.rb",
465
- "lib/cucumber/formatter/io.rb",
466
- "lib/cucumber/formatter/jquery-min.js",
467
- "lib/cucumber/formatter/json.rb",
468
- "lib/cucumber/formatter/json_pretty.rb",
469
- "lib/cucumber/formatter/junit.rb",
470
- "lib/cucumber/formatter/ordered_xml_markup.rb",
471
- "lib/cucumber/formatter/pdf.rb",
472
- "lib/cucumber/formatter/pretty.rb",
473
- "lib/cucumber/formatter/progress.rb",
474
- "lib/cucumber/formatter/rerun.rb",
475
- "lib/cucumber/formatter/stepdefs.rb",
476
- "lib/cucumber/formatter/steps.rb",
477
- "lib/cucumber/formatter/summary.rb",
478
- "lib/cucumber/formatter/tag_cloud.rb",
479
- "lib/cucumber/formatter/unicode.rb",
480
- "lib/cucumber/formatter/usage.rb",
481
- "lib/cucumber/js_support/js_dsl.js",
482
- "lib/cucumber/js_support/js_language.rb",
483
- "lib/cucumber/js_support/js_snippets.rb",
484
- "lib/cucumber/language_support.rb",
485
- "lib/cucumber/language_support/language_methods.rb",
486
- "lib/cucumber/parser.rb",
487
- "lib/cucumber/parser/gherkin_builder.rb",
488
- "lib/cucumber/platform.rb",
489
- "lib/cucumber/py_support/py_dsl.py",
490
- "lib/cucumber/py_support/py_language.py",
491
- "lib/cucumber/py_support/py_language.rb",
492
- "lib/cucumber/rake/task.rb",
493
- "lib/cucumber/rb_support/rb_dsl.rb",
494
- "lib/cucumber/rb_support/rb_hook.rb",
495
- "lib/cucumber/rb_support/rb_language.rb",
496
- "lib/cucumber/rb_support/rb_step_definition.rb",
497
- "lib/cucumber/rb_support/rb_transform.rb",
498
- "lib/cucumber/rb_support/rb_world.rb",
499
- "lib/cucumber/rb_support/regexp_argument_matcher.rb",
500
- "lib/cucumber/rspec/disable_option_parser.rb",
501
- "lib/cucumber/rspec/doubles.rb",
502
- "lib/cucumber/step_argument.rb",
503
- "lib/cucumber/step_definition_light.rb",
504
- "lib/cucumber/step_match.rb",
505
- "lib/cucumber/step_mother.rb",
506
- "lib/cucumber/wire_support/configuration.rb",
507
- "lib/cucumber/wire_support/connection.rb",
508
- "lib/cucumber/wire_support/request_handler.rb",
509
- "lib/cucumber/wire_support/wire_exception.rb",
510
- "lib/cucumber/wire_support/wire_language.rb",
511
- "lib/cucumber/wire_support/wire_packet.rb",
512
- "lib/cucumber/wire_support/wire_protocol.rb",
513
- "lib/cucumber/wire_support/wire_protocol/requests.rb",
514
- "lib/cucumber/wire_support/wire_step_definition.rb",
515
- "spec/cucumber/ast/background_spec.rb",
516
- "spec/cucumber/ast/feature_factory.rb",
517
- "spec/cucumber/ast/feature_spec.rb",
518
- "spec/cucumber/ast/outline_table_spec.rb",
519
- "spec/cucumber/ast/py_string_spec.rb",
520
- "spec/cucumber/ast/scenario_outline_spec.rb",
521
- "spec/cucumber/ast/scenario_spec.rb",
522
- "spec/cucumber/ast/step_spec.rb",
523
- "spec/cucumber/ast/table_spec.rb",
524
- "spec/cucumber/ast/tree_walker_spec.rb",
525
- "spec/cucumber/broadcaster_spec.rb",
526
- "spec/cucumber/cli/configuration_spec.rb",
527
- "spec/cucumber/cli/drb_client_spec.rb",
528
- "spec/cucumber/cli/main_spec.rb",
529
- "spec/cucumber/cli/options_spec.rb",
530
- "spec/cucumber/cli/profile_loader_spec.rb",
531
- "spec/cucumber/core_ext/proc_spec.rb",
532
- "spec/cucumber/formatter/ansicolor_spec.rb",
533
- "spec/cucumber/formatter/color_io_spec.rb",
534
- "spec/cucumber/formatter/duration_spec.rb",
535
- "spec/cucumber/formatter/html_spec.rb",
536
- "spec/cucumber/formatter/junit_spec.rb",
537
- "spec/cucumber/formatter/progress_spec.rb",
538
- "spec/cucumber/formatter/spec_helper.rb",
539
- "spec/cucumber/rb_support/rb_language_spec.rb",
540
- "spec/cucumber/rb_support/rb_step_definition_spec.rb",
541
- "spec/cucumber/rb_support/regexp_argument_matcher_spec.rb",
542
- "spec/cucumber/sell_cucumbers.feature",
543
- "spec/cucumber/step_match_spec.rb",
544
- "spec/cucumber/step_mother_spec.rb",
545
- "spec/cucumber/wire_support/configuration_spec.rb",
546
- "spec/cucumber/wire_support/connection_spec.rb",
547
- "spec/cucumber/wire_support/wire_exception_spec.rb",
548
- "spec/cucumber/wire_support/wire_language_spec.rb",
549
- "spec/cucumber/wire_support/wire_packet_spec.rb",
550
- "spec/cucumber/wire_support/wire_step_definition_spec.rb",
551
- "spec/cucumber/world/pending_spec.rb",
552
- "spec/spec_helper.rb"
553
- ]
554
- s.homepage = %q{http://cukes.info}
555
- s.post_install_message = %q{
6
+ s.name = 'cucumber'
7
+ s.version = Cucumber::VERSION
8
+ s.authors = ["Aslak Hellesøy"]
9
+ s.description = 'Behaviour Driven Development with elegance and joy'
10
+ s.summary = "cucumber-#{s.version}"
11
+ s.email = 'cukes@googlegroups.com'
12
+ s.homepage = "http://cukes.info"
13
+
14
+ s.platform = Gem::Platform::RUBY
15
+ s.default_executable = "cucumber"
16
+ s.post_install_message = %{
556
17
  (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)
557
18
 
558
- (::) U P G R A D I N G (::)
559
-
560
- Thank you for installing cucumber-0.8.7.
19
+ Thank you for installing cucumber-#{Cucumber::VERSION}.
561
20
  Please be sure to read http://wiki.github.com/aslakhellesoy/cucumber/upgrading
562
21
  for important information about this release. Happy cuking!
563
22
 
564
23
  (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)
565
24
 
566
25
  }
567
- s.require_paths = ["lib"]
568
- s.rubygems_version = %q{1.6.2}
569
- s.summary = %q{Behaviour Driven Development with elegance and joy}
570
26
 
571
- if s.respond_to? :specification_version then
572
- s.specification_version = 3
573
-
574
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
575
- s.add_runtime_dependency(%q<gherkin>, ["~> 2.1.4"])
576
- s.add_runtime_dependency(%q<term-ansicolor>, ["~> 1.0.4"])
577
- s.add_runtime_dependency(%q<builder>, ["~> 2.1.2"])
578
- s.add_runtime_dependency(%q<diff-lcs>, ["~> 1.1.2"])
579
- s.add_runtime_dependency(%q<json_pure>, ["~> 1.4.3"])
580
- s.add_development_dependency(%q<nokogiri>, ["~> 1.4.2"])
581
- s.add_development_dependency(%q<prawn>, ["= 0.8.4"])
582
- s.add_development_dependency(%q<prawn-layout>, ["= 0.8.4"])
583
- s.add_development_dependency(%q<rspec>, ["~> 2.0.0.beta.15"])
584
- s.add_development_dependency(%q<syntax>, ["~> 1.0.0"])
585
- s.add_development_dependency(%q<spork>, ["~> 0.8.4"])
586
- else
587
- s.add_dependency(%q<gherkin>, ["~> 2.1.4"])
588
- s.add_dependency(%q<term-ansicolor>, ["~> 1.0.4"])
589
- s.add_dependency(%q<builder>, ["~> 2.1.2"])
590
- s.add_dependency(%q<diff-lcs>, ["~> 1.1.2"])
591
- s.add_dependency(%q<json_pure>, ["~> 1.4.3"])
592
- s.add_dependency(%q<nokogiri>, ["~> 1.4.2"])
593
- s.add_dependency(%q<prawn>, ["= 0.8.4"])
594
- s.add_dependency(%q<prawn-layout>, ["= 0.8.4"])
595
- s.add_dependency(%q<rspec>, ["~> 2.0.0.beta.15"])
596
- s.add_dependency(%q<syntax>, ["~> 1.0.0"])
597
- s.add_dependency(%q<spork>, ["~> 0.8.4"])
598
- end
599
- else
600
- s.add_dependency(%q<gherkin>, ["~> 2.1.4"])
601
- s.add_dependency(%q<term-ansicolor>, ["~> 1.0.4"])
602
- s.add_dependency(%q<builder>, ["~> 2.1.2"])
603
- s.add_dependency(%q<diff-lcs>, ["~> 1.1.2"])
604
- s.add_dependency(%q<json_pure>, ["~> 1.4.3"])
605
- s.add_dependency(%q<nokogiri>, ["~> 1.4.2"])
606
- s.add_dependency(%q<prawn>, ["= 0.8.4"])
607
- s.add_dependency(%q<prawn-layout>, ["= 0.8.4"])
608
- s.add_dependency(%q<rspec>, ["~> 2.0.0.beta.15"])
609
- s.add_dependency(%q<syntax>, ["~> 1.0.0"])
610
- s.add_dependency(%q<spork>, ["~> 0.8.4"])
611
- end
27
+ s.add_dependency 'gherkin', '~> 2.2.2'
28
+ s.add_dependency 'term-ansicolor', '~> 1.0.5'
29
+ s.add_dependency 'builder', '~> 2.1.2'
30
+ s.add_dependency 'diff-lcs', '~> 1.1.2'
31
+ s.add_dependency 'json', '~> 1.4.6'
32
+
33
+ s.add_development_dependency 'rake', '~> 0.8.7'
34
+ s.add_development_dependency 'rspec', '~> 2.0.0.beta.20'
35
+ s.add_development_dependency 'nokogiri', '~> 1.4.3'
36
+ s.add_development_dependency 'prawn', '= 0.8.4'
37
+ s.add_development_dependency 'prawn-layout', '= 0.8.4'
38
+ s.add_development_dependency 'syntax', '~> 1.0.0'
39
+ s.add_development_dependency 'spork', '~> 0.8.4'
40
+ s.add_development_dependency 'rcov', '~> 0.9.9'
41
+
42
+ s.rubygems_version = "1.3.7"
43
+ s.files = `git ls-files`.split("\n")
44
+ s.test_files = `git ls-files -- {spec,features}/*`.split("\n")
45
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
46
+ s.extra_rdoc_files = ["LICENSE", "README.rdoc", "History.txt"]
47
+ s.rdoc_options = ["--charset=UTF-8"]
48
+ s.require_path = "lib"
612
49
  end
613
-