Commit 299dd86ddfadc04142318a148f433282d3346dc5
1 parent
4411c516
Exists in
master
and in
1 other branch
Deleting old vendored gems
Showing
521 changed files
with
0 additions
and
26492 deletions
Show diff stats
Too many changes.
To preserve performance only 100 of 521 files displayed.
vendor/gems/cucumber-0.4.4/.gitattributes
vendor/gems/cucumber-0.4.4/.gitignore
vendor/gems/cucumber-0.4.4/History.txt
@@ -1,1269 +0,0 @@ | @@ -1,1269 +0,0 @@ | ||
1 | -== 0.4.4 2009-11-13 | ||
2 | - | ||
3 | -What a bad day to make a release, but here goes. | ||
4 | - | ||
5 | -=== New features | ||
6 | -* Cucumber should use ActiveSupport::Callbacks for fixtures (#516 Adam Salter) | ||
7 | -* Make 'I' optional in all webrat steps. (Gavin Hughes) | ||
8 | -* Make generated cucumber.rake work with a vendored gem (Alex Rothenberg) | ||
9 | -* Native support for ANSIColor on IronRuby via the iron-term-ansicolor gem (Will Green) | ||
10 | -* Call a bunch of steps from step definitions - also with tables or pystrings. Copy-paste friendly (Bodaniel Jeanes, Jack Chen, Aslak Hellesøy) TODO - WIKI DOCUMENTATION BEFORE RELEASE | ||
11 | - | ||
12 | -=== Bugfixes | ||
13 | -* Pretty printer fails when expanding scenario outlines with -x when the background includes a table (#515 Mike Sassak) | ||
14 | -* Ensure tags used with Before/After hooks always get parsed (#520 Joseph Wilk) | ||
15 | -* Define IRONRUBY correctly on Ruby 1.9 (Joe Van Dyk) | ||
16 | -* RbStepDefinition#invoke calls #backtrace_line on self rather than @proc (#503 Mike Sassak) | ||
17 | -* Avoid duplicate cucumber entries in database.yml (Daniel Hofstetter) | ||
18 | -* Added respond_to? when checking config.cache_classes for older Rails versions (Jeremy Durham) | ||
19 | - | ||
20 | -=== Changed Features | ||
21 | -* The code for Czech has changed from cz to cs. (deepj) | ||
22 | -* $cucumber_interrupted is now Cucumber.wants_to_quit - avoid global variable, which gives warnings. (Aslak Hellesøy) | ||
23 | -* Examples keyword without a colon is deprecated loudly. Gherkin will not recognize it at all. (Gherkin #30 Mike Sassak) | ||
24 | - | ||
25 | -== 0.4.3 2009-10-28 | ||
26 | - | ||
27 | -The exciting thing about this release is that the wire protocol is starting to take shape. This means you can | ||
28 | -now use Cucumber with .NET - writing step definitions in C#. And this is without having to use IronRuby at all! | ||
29 | -See Cuke4Nuke (http://wiki.github.com/richardlawrence/Cuke4Nuke) for more information. | ||
30 | - | ||
31 | -As usual there are several small features and bug fixes. | ||
32 | - | ||
33 | -=== New Features | ||
34 | -* Add support for ORing tags which are passed in with seperate --tag arguments. Make comma seperated tags use AND (#368 Joseph Wilk) | ||
35 | -* New Wire Protocol - allowing out of process execution of Cucumber scenarios. (#428 Matt Wynne) | ||
36 | -* Added an example illustrating how to get screenshots in HTML reports (examples/watir) (Aslak Hellesøy) | ||
37 | -* Added new #embed(file, mime_type) method to visitors and Ruby Worlds to make it easier to embed screenshots (Aslak Hellesøy) | ||
38 | -* The #announce method available from Ruby Step Definitions will print *after* the step is executed. (#487 Zoltan Penzeli) | ||
39 | -* Add support for rolling back transaction for all open database connections. (John Ferlito) | ||
40 | -* Show scenario and step summary in HTML formatter (#285 Joseph Wilk) | ||
41 | -* Ast::Table can now be constructed with an Array of Hash. (Aslak Hellesøy) | ||
42 | - | ||
43 | -=== Changed features | ||
44 | -* The #announce method will no longer escape HTML if the html formatter is used. Escaping must be done manually. (Aslak Hellesøy) | ||
45 | - | ||
46 | -=== Bugfixes | ||
47 | -* Fixed incorrect rendering of step arguments with UTF8 characters (Aslak Hellesøy) | ||
48 | -* "--format rerun", with a Scenario Outline, kills cucumber (#492 Aslak Hellesøy) | ||
49 | -* Usage formatter is not reporting time correctly. (Elliot Crosby-McCullough) | ||
50 | -* JUnit formatter raises a more helpful error when run on a feature with no name. (#493 Matt Wynne) | ||
51 | -* Better Danish translation (Thorbjørn Ravn Andersen) | ||
52 | - | ||
53 | - | ||
54 | -== 0.4.2 2009-10-14 | ||
55 | - | ||
56 | -Bugfix release. The 0.4.1 release was hosed when switching from Hoe to Jeweler. | ||
57 | - | ||
58 | -== 0.4.1 2009-10-14 | ||
59 | - | ||
60 | -This is mostly a bugfix release. Some of Cucumber's own features have been fixed so they pass on more platforms, | ||
61 | -making it easier for people to contribute. The README.txt also describes how to get up and running with the | ||
62 | -development environment. | ||
63 | - | ||
64 | -=== Bugfixes | ||
65 | -* Cucumber's features verified passing on MRI 1.8.6 (OSX), 1.8.7 (OSX), 1.9.1 (OSX/Win) and JRuby 1.4.0RC1 (OSX). (Aslak Hellesøy) | ||
66 | -* Ensure no errors are raised when limiting with tags which are not in the feature set (#464 Joseph Wilk) | ||
67 | -* Missing Romanian keywords added for Examples, Scenario Outline and Background (to my best google translate knowledge) (Aslak Hellesøy) | ||
68 | -* Make rerun and --drb work together again after formatter API changes (#485 Erik Hansson, John Ferlito) | ||
69 | - | ||
70 | -=== New Features | ||
71 | -* The Rails cucumber generator will only default to RSpec if installed. And print better help. (Aslak Hellesøy) | ||
72 | -* Added 'but' variants to Japanese. (Kakutani Shintaro) | ||
73 | -* README.txt explains people how to run all tests. Install gems with geminstaller. (Aslak Hellesøy) | ||
74 | -* Added support for Serbian language, both Cyrillic and Latin with usage examples. (Dejan Dimic) | ||
75 | -* Add new 'debug' formatter for debugging and visualising the calls to listeners. (Matt Wynne) | ||
76 | - | ||
77 | -=== Changed features | ||
78 | -* Use http://github.com/aslakhellesoy/wac instead of http://github.com/aslakhellesoy/ansicolor on Windows/JRuby (#456 Aslak Hellesøy) | ||
79 | - | ||
80 | -=== Internal changes | ||
81 | -* Ditched Hoe for Jeweler (Aslak Hellesøy) | ||
82 | -* Added StepMother#invoke(step_name, multiline_argument=nil) - needed by cuke4duke ticket #26 (Aslak Hellesøy) | ||
83 | -* StepDefinitionMethods is gone. | ||
84 | - | ||
85 | -== 0.4.0 2009-10-09 | ||
86 | - | ||
87 | -The back to stable release. When we went from 0.3.11 to 0.3.90 we thought we were close to a 0.4.0 release. Then the community | ||
88 | -went nuts and a lot of great contributions came in. Some of those broke backwards compatibility, and we decided it would be | ||
89 | -better to do this while still on 0.3.x. | ||
90 | - | ||
91 | -Rails users: you *must* run script/generate cucumber after installing this version. | ||
92 | - | ||
93 | -If something breaks for you, please please please read this file carefully. It's most likely something referenced here, and | ||
94 | -that will give you more information so you can solve any problems. If not, just get in touch on IRC or the Google Group. | ||
95 | - | ||
96 | -=== New Features | ||
97 | -* Total feature parsing time is shown when run with --verbose. Useful for benchmarking with future Ragel parser (Aslak Hellesøy) | ||
98 | -* Tables yielded to step definitions are no longer frozen, so you can edit their data without #dup'ing (Aslak Hellesøy) | ||
99 | -* Transform can now transform tables, using /table:col1,col2,col3/ (#478 Corey Haines) | ||
100 | -* cucumber.yml can also end in .yaml and be located in .config/ or config/ dirs (#447 trans) | ||
101 | -* Turkish support. (Hakan Şenol Ensari) | ||
102 | -* Upgrade Rails generator to set a dependency to Spork 0.7.3. (Aslak Hellesøy) | ||
103 | -* Installation via rubygems will print a message telling people to read this file. (Aslak Hellesøy) | ||
104 | -* Files generated by the Rails cucumber generator have information about the risks of editing. (Aslak Hellesøy) | ||
105 | -* Rotten Cucumber alert on Rails if you upgrade your gem without regenerating with script/generate cucumber. (Aslak Hellesøy) | ||
106 | -* Stop the confusion between "homepage" and "home page" by allowing both (Ryan Bigg & Bodaniel Jeanes) | ||
107 | -* Make script/cucumber file generated by the Rails cucumber generator look for cucumber in vendored gems as well. (Tom ten Thij) | ||
108 | - | ||
109 | -=== Changed Features | ||
110 | -* Step tables now default empty table cells to empty strings and not nil (#470 Joseph Wilk) | ||
111 | - | ||
112 | -=== Removed Features | ||
113 | -* The feature_list, feature_pattern, step_list and step_pattern properties are removed from the Rake task. Use profiles instead. (Aslak Hellesøy) | ||
114 | -* The FeatureTask is removed. Use profiles instead. | ||
115 | - | ||
116 | -=== Bugfixes | ||
117 | -* instance_exec get declared private (#477 Tim Galeckas) | ||
118 | -* Transforms can return nil. (Thomas Marek) | ||
119 | -* Generated rails rake tasks doesn't use the vendored version cucumber binary (#468 Josh Nichols) | ||
120 | -* Incorrect diagnostics in case when Before raises in presence of Background (#465 Fedor Kocherga) | ||
121 | -* Error on pystring in scenario outline with pretty formatter (#475 Aslak Hellesøy) | ||
122 | -* Adding After('@allow-rescue') to set allow_rescue back to its former value. (Alf Mikula) | ||
123 | -* Feature files are now sorted before they are executed, because different operating systems may list files differently. (Aslak Hellesøy) | ||
124 | -* Fixed image loading for Windows in PDF formatter. Allow use of both png and jpg. (#461 Declan Whelan) | ||
125 | -* Before('~@no-txn') is run on all scenarios without @no-txn causing Cucumber::Rails::World.use_transactional_fixtures to always be true. (#457 Aslak Hellesøy) | ||
126 | -* JUnit formatter not handling scenario outline tables (#472 Matt Wynne) | ||
127 | -* Language help broken (#467 Matt Wynne) | ||
128 | -* Language help formatter aligns output better on Ruby 1.8.6 (Aslak Hellesøy) | ||
129 | -* Better backtraces for Ruby 1.8.7. (Jakob Skov-Pedersen) | ||
130 | -* String step definitions ( Given 'I have $number cucumbers' ) are escaped before being turned into regular expressions. (David Waite) | ||
131 | - | ||
132 | -== 0.3.104 2009-09-27 | ||
133 | - | ||
134 | -This release has some minor changes to the command line and formatters. The biggest change is internally, paving | ||
135 | -the way for more programming language support in Cuke4Duke, which now supports step definitions written in Java, Scala, | ||
136 | -Groovy, Clojure and Javascript! | ||
137 | - | ||
138 | -=== New Features | ||
139 | -* "usage" formatter should display progress (#437 Aslak Hellesøy) | ||
140 | -* Added example for Ramaze. (Yutaka HARA) | ||
141 | - | ||
142 | -=== Bugfixes | ||
143 | -* Fixed regression in profile formatter from 0.3.102. (Aslak Hellesøy) | ||
144 | -* Raise a proper error message if someone forgets @ for tags, example: --tags ~foo or --tags bar. (Aslak Hellesøy) | ||
145 | -* lib/cucumber/formatter/html.rb requires xml (#458 Brent Snook) | ||
146 | -* lib/cucumber/formatter/html.rb requires ruby-debug (#455 Assaf Arkin) | ||
147 | -* Allow for STDOUT formatters to be defined in profiles. Addresses an Autotest plugin issue. (#375 Gabriel Medina) | ||
148 | - | ||
149 | -=== Removed features | ||
150 | -* The --dry-run option no longer implies --no-source and --no-snippets. It only implies --no-snippets. (Aslak Hellesøy) | ||
151 | - | ||
152 | -=== Changed features | ||
153 | -* The profile and usage formatters have been combined to the usage formatter. Use it eith or without --dry-run. See --help for more. (Aslak Hellesøy) | ||
154 | -* The steps formatter has been renamed to stepdefs formatter. (Aslak Hellesøy) | ||
155 | -* The internal programming language API has changed, giving more power to the implementation. See #428. (Aslak Hellesøy) | ||
156 | - | ||
157 | -== 0.3.103 2009-09-24 | ||
158 | - | ||
159 | -This release gives you back some of the control over the Rails environment that was accidentally taken away from you in the | ||
160 | -previous release. | ||
161 | - | ||
162 | -Using this release on a Rails project requires a rerun of script/generate cucumber. | ||
163 | - | ||
164 | -=== New Features | ||
165 | -* Added a new @no-txn tag to selectively turn off transactions for a particlular scenario. | ||
166 | -* Added back a way to globally turn off transactions. | ||
167 | -* Renamed @allow_rescue tag to @allow-rescue. | ||
168 | - | ||
169 | -=== Bugfixes | ||
170 | -* Gracefully handle cases when optional regexp groups are not matched. Ex: /should( not)? be flashed '([^']*?)'$/ (Aslak Hellesøy) | ||
171 | - | ||
172 | -=== Changed Features | ||
173 | -* The Formatter API has completely changed. Formatters are no longer a double-dispacth visitor - just a single-dispatch listener (#438 Matt Wynne) | ||
174 | - | ||
175 | -== 0.3.102 2009-09-22 | ||
176 | - | ||
177 | -This release has some changes in the Rails support, so make sure you run "script/generate cucumber" after you upgrade. | ||
178 | -Other noteworthy new features are improved Hook, tags and Transform support, and as always - several smaller bug fixes. | ||
179 | - | ||
180 | -=== New Features | ||
181 | -* Added new internal API for Regexp and groups, allowing other programming languages to leverage native regexps. (Aslak Hellesøy) | ||
182 | -* New @allow_rescue tag for Rails scenarios. Causes exceptions raised in actions to be caught by rails and not bubble up to Cucumber (Aslak Hellesøy) | ||
183 | -* Negative tags can now be used in hooks, just like the command line's --tags option: Before('~@yarr') - will run for all scenarios that *don't* have the @yarr tag. (Aslak Hellesøy) | ||
184 | -* Transform has current "World" scope (Larry Diehl) | ||
185 | -* Other Transforms can be reused by calling Transform with a string inside of another Transform definition (Larry Diehl) | ||
186 | -* Execute "After" hooks in reverse order of declaration for better behavior with dependent blocks and to mimic the behavior of at_exit (David Waite) | ||
187 | - | ||
188 | -=== Bugfixes | ||
189 | -* features/support/env.rb runs commands twice (bugfix cuts total time by almost 50% w00t) (#452 Jim Meyer) | ||
190 | -* Problems adding custom formatters to features/support. (features/support is added to $LOAD_PATH) (#449 Aslak Hellesøy) | ||
191 | -* Some options set in cucumber.yml profiles are ignored (#446 Leonard CHIN) | ||
192 | -* Missing step_definition snippets not properly displayed (#433 Aslak Hellesøy) | ||
193 | -* rspec-rails, :lib => false (#447 David Chelimsky) | ||
194 | -* Cucumber with Spork breaks on OS X Snow Leopard (#431 David Chelimsky) | ||
195 | - | ||
196 | -=== Changed Features | ||
197 | -* Tag names passed on the command line *always* have to use the @ sign. --tags foo or --tags ~bar won't work. Use --tags @foo or --tags ~@bar (Aslak Hellesøy) | ||
198 | - | ||
199 | -=== Removed features | ||
200 | -* The Cucumber::Rails.bypass_rescue no longer exists. Errors will always bubble up, unless you use the new @allow_rescue tag. (Aslak Hellesøy) | ||
201 | -* The Cucumber::Rails.use_transactional_fixtures no longer exists. Transactional fixtures are always enabled for the cucumber environment. (Aslak Hellesøy) | ||
202 | - | ||
203 | -== 0.3.101 2009-09-15 | ||
204 | - | ||
205 | -Two exciting things in this release. Step Argument Transforms and a PDF formatter you can use to send | ||
206 | -your features to your customer for review! | ||
207 | - | ||
208 | -=== New Features | ||
209 | -* New pdf formatter (#425 Mads Buus) | ||
210 | -* Step Argument Transforms: These let you use the Transform method to register regular expressions | ||
211 | - to catch and transform/coerce arguments before they are yielded to step definitions: | ||
212 | - http://wiki.github.com/aslakhellesoy/cucumber/step-argument-transforms (Larry Diehl & Dave Astels) | ||
213 | -* Adding webrat steps for asserting content does or does not exist within a particular element | ||
214 | - (using webrat's within method) (Kieran Pilkington) | ||
215 | - | ||
216 | -== 0.3.100 2009-09-09 | ||
217 | - | ||
218 | -The JavaZone release! | ||
219 | - | ||
220 | -=== New Features | ||
221 | -* Added support for Uzbek (msarvar) | ||
222 | -* The file argument on the cucumber command line will replace contents of file on cli if file is prefixed with @ (Tero Tilus) | ||
223 | - | ||
224 | -=== Bugfixes | ||
225 | -* Backtraces on JRuby are handled in a cleaner way when the exception comes from Java (NativeException). (Aslak Hellesøy) | ||
226 | -* When exceptions occur in a Before block the rest of the scenario is now skipped (#331 Matt Wynne) | ||
227 | - | ||
228 | -== 0.3.99 2009-09-03 | ||
229 | - | ||
230 | -=== New Features | ||
231 | -* Support for Croatian (Bkrsta) | ||
232 | -* Make #feature available from scenario so you can do: Before{|scenario| scenario.feature}. (Aslak Hellesøy) | ||
233 | -* cucumber.yml parsing supports ERB syntax (#427 Gregory Hnatiuk) | ||
234 | -* New AfterConfiguration hook added; a block can be specified that takes Cucumber::Cli::Configuration (#423 Brent Snook) | ||
235 | -* Cucumber::Cli::Configuration#feature_dirs and #out_stream exposed as public attributes so that they may be used in AfterConfiguration hook (#423 Brent Snook) | ||
236 | - | ||
237 | -== 0.3.98 2009-08-25 | ||
238 | - | ||
239 | -Just a small release to help Cuke4Duke, which will be presented at Agile2009 | ||
240 | -in 2 days. | ||
241 | - | ||
242 | -=== New Features | ||
243 | -* Backtrace filtering now happens in StepInvocation class, meaning other languages (Cuke4Duke) can get backtraces stripped. (Aslak Hellesøy) | ||
244 | -* Cucumber::Ast::Table#map_headers now allows for a block that will convert all the headers. See docs for details. (Ben Mabey) | ||
245 | - | ||
246 | -== 0.3.97 2009-08-23 | ||
247 | - | ||
248 | -The AA-FTT release. Creating a release for the AA-FTT meeting in Chicago so that we can play | ||
249 | -with the new language API and maybe knock out some better .NET support. | ||
250 | - | ||
251 | -=== Bugfixes | ||
252 | -* Allow comments on examples sections underneath scenario outlines (#420 Mike Sassak) | ||
253 | -* Table.map_headers! will fail with a decent error message when 0 or 2+ headers are matched. (Aslak Hellesøy) | ||
254 | -* Fixed an issue with comments with preceding spaces after a background causing a parse error (#401 Joseph Wilk) | ||
255 | - | ||
256 | -=== New Features | ||
257 | -* The public API is documented and there is a new :sdoc task to generate nice searchable API docs. | ||
258 | -* Add :default => :cucumber when setting up Rake tasks for Cucumber in Rails (Aslak Hellesøy) | ||
259 | -* New When /^I fill in "([^\"]*)" for "([^\"]*)"$/ Webrat step for Rails (Aslak Hellesøy) | ||
260 | - | ||
261 | -=== Changed Features | ||
262 | -* Changed the Programming Language API to support languages without "bleed through" (e.g. rubypython can't invoke ruby objs) (Aslak Hellesøy) | ||
263 | -* The Programming Language API manages hooks on the language level instead of on the step mother level (Aslak Hellesøy) | ||
264 | - | ||
265 | -== 0.3.96 2009-08-15 | ||
266 | - | ||
267 | -This release doesn't have any significant new features or bug fixes, but there are big | ||
268 | -internal changes. This release has a new API for plugging in other programming languages. | ||
269 | -You can read more about that here: http://groups.google.com/group/cukes/browse_thread/thread/b9db8bf1f3ec9708 | ||
270 | - | ||
271 | -This might break other tools that are using Cucumber's internal APIs. For example Spork broke and had to | ||
272 | -be patched. Please upgrade to Spork 0.5.9 if you are using Spork. | ||
273 | - | ||
274 | -=== New Features | ||
275 | -* Ability to preload natural language in Spork's prefork. Rerun script/generate cucumber --spork to see how. (Aslak Hellesøy) | ||
276 | -* Ability to control which DRb port is used via the --port flag or by setting CUCUMBER_DRB environment variable. (Chris Flipse) | ||
277 | -* Upgrade Rails generator to use webrat 0.5.0. (Aslak Hellesøy) | ||
278 | -* Upgrade Sinatra example to work with rack-test 0.4.1 and webrat 0.5.0. (Aslak Hellesøy) | ||
279 | - | ||
280 | -=== Changed Features | ||
281 | -* --strict will cause an exit code 1 for missing and pending (used to be for missing only). (Mads Buus) | ||
282 | -* junit formatter doesn't report pending steps unless --strict is used. (Mads Buus) | ||
283 | - | ||
284 | -== 0.3.95 2009-08-13 | ||
285 | - | ||
286 | -This release improves Webrat support for table-like HTML markup. Now you can easily turn the HTML | ||
287 | -elements table, dl, ol and ul elements into a 2D array. This is particularly useful for comparing | ||
288 | -data in your HTML with a Cucumber table using Cucumber::Ast::Table#diff! | ||
289 | - | ||
290 | -This release also fixes several bugs related to --drb (Spork) and profiles (cucumber.yml) | ||
291 | - | ||
292 | -=== Bug Fixes | ||
293 | -* --guess will always prefer the longest regexp with no groups if they exist. | ||
294 | -* Prevent delays if a NoMethodError is raise in a step definition. Define a light #inspect in World. (#374 Aslak Hellesøy) | ||
295 | -* Restore 'features' as the default feature running path. (#412 Ben Mabey) | ||
296 | -* --drb degrades gracefully when no drb server is running and no formatter is provided. (#410 Ben Mabey) | ||
297 | -* --language picked up from profiles again. (#409 Ben Mabey) | ||
298 | -* Resolved infinite loop problem when --drb was defined in a profile. (#408 Ben Mabey) | ||
299 | - | ||
300 | -=== New Features | ||
301 | -* Cucumber::World#table has been overloaded to work with 2D Array in addition to a table String to be parsed. | ||
302 | -* New When /^I fill in the following:$/ step definition for Webrat. Useful for filling out a form with a Table. (Aslak Hellesøy) | ||
303 | -* The object returned by element_at (Webrat::Element) has a #to_table that works for table, dl, ol and ul. (Aslak Hellesøy) | ||
304 | -* An explanation of why failures are ok is printed when --wip is used. (Aslak Hellesøy) | ||
305 | -* Added cucumber alias for cucumber:ok in Rails Rake tasks. (Aslak Hellesøy) | ||
306 | - | ||
307 | -=== Changed features | ||
308 | -* element_at('table').to_table should be used instead of table_at('table').to_a. The old way is deprecated but still works. (Aslak Hellesøy) | ||
309 | -* element_at (and the depracated table_at) no longer takes a DOM id, only CSS selectors. Change "my_id" to "#my_id". (Aslak Hellesøy) | ||
310 | - | ||
311 | -== 0.3.94 2009-08-06 | ||
312 | - | ||
313 | -Kanban take II. | ||
314 | - | ||
315 | -Release 0.3.6 introduced a new --wip switch that can be used to limit work in progress | ||
316 | -(WIP). Limiting WIP is central for Kanban Software Development (http://www.infoq.com/articles/hiranabe-lean-agile-kanban). | ||
317 | - | ||
318 | -However, this feature went mostly unnoticed, and because we think it's so great we have decided | ||
319 | -to make it the default for Rails projects. When you bootstrap your Rails project for Cucumber | ||
320 | -you will now get 2 Cucumber Rake tasks for Kanban development: | ||
321 | - | ||
322 | - cucumber:ok : Run features that should pass. This runs your "good,old" features | ||
323 | - cucumber:wip : Run the features you're working on that don't pass yet. Tag them with @wip. Max 2! | ||
324 | - | ||
325 | -So upgrade today and get into the habit of tagging new features with @wip (or invent your own tags). | ||
326 | -You'll achieve better flow this way. | ||
327 | - | ||
328 | -=== New features | ||
329 | -* Support limiting the number of feature elements with certain tags (#353 Joseph Wilk) | ||
330 | -* script/generate cucumber sets up 'cucumber:ok' and 'cucumber:wip' tasks and deprecates 'features'. More Kanban love. (#344 Aslak Hellesøy) | ||
331 | -* Better JUnit formatter: feature->testsuite, scenario->testcase. Better timing and support for background and scenario outline. (Mads Buus Westmark) | ||
332 | -* Added examples/python that uses rubypython. (Aslak Hellesøy) | ||
333 | -* Checks the number of available colors on the terminal with ruby-terminfo if ruby-terminfo is installed. | ||
334 | - This prevents Apple's Terminal.app from stalling (Yugui - Yuki Sonoda). | ||
335 | - * Set 'xterm-256color' to TERM if your terminal supports grey. | ||
336 | - * ruby-terminfo is available as genki-ruby-terminfo gem from github. | ||
337 | -* Document builtin formatters with --help. (#406 Aslak Hellesøy) | ||
338 | -* Added support for using regular expressions when mapping table headers. (Peter Williams) | ||
339 | - | ||
340 | -== 0.3.93 2009-08-03 | ||
341 | - | ||
342 | -Highlights in this release: Improved profile handling (cucumber.yml) and a fix for cucumber hanging. | ||
343 | - | ||
344 | -=== New features | ||
345 | -* script/generate cucumber --spork now sets up a spork gem dependency in the cucumber.rb environment. (Aslak Hellesøy) | ||
346 | -* Feature files defined on the command line override any that are present in profiles. (#344 Ben Mabey) | ||
347 | -* Default (STDOUT) formatter defined in profile can be overridden from the command line. (#344 Ben Mabey) | ||
348 | -* Displays which profile, if any, is being used. (Ben Mabey) | ||
349 | -* click_link_within(parent, link) webrat step (Joakim Kolsjö) | ||
350 | - | ||
351 | -=== Bugfixes | ||
352 | -* script/cucumber correctly loads the gem's binary if the plugin isn't installed. | ||
353 | -* Cucumber hangs waiting for Ctrl+C if an Error is raised. (#374 Aslak Hellesøy) | ||
354 | - | ||
355 | -== 0.3.92 2009-07-29 | ||
356 | - | ||
357 | -This release has some minor improvements to the new Table.diff! functionality. For example, | ||
358 | -if you're using Webrat and you want to compare a feature table with a HTML table containing | ||
359 | -links in one of the columns, you can do: | ||
360 | - | ||
361 | - actual = Cucumber::Ast::Table.new(table_at('table').to_a) | ||
362 | - actual.map_column!('Name') { |text| text.strip.match(/>(.*)</)[1] } | ||
363 | - table.diff!(actual) | ||
364 | - | ||
365 | -=== New features | ||
366 | -* Allow Step Definitions to accept mix of required & optional args (Niels Ganser) | ||
367 | -* table_a.diff!(table_b) now uses column conversions from both tables (Table#map_column!) (Aslak Hellesøy) | ||
368 | - | ||
369 | -=== Bugfixes | ||
370 | -* Upgrade Sinatra example to work with rack-test 0.3.0 and aslakhellesoy-webrat 0.4.4.1 (Aslak Hellesøy) | ||
371 | -* require 'cucumber/webrat/table_locator' added to Spork environment for Rails (Anders Furseth) | ||
372 | - | ||
373 | -=== Changed Features | ||
374 | -* The 'default' profile is now ALWAYS used unless you specify another profile or use the -P or --no-profile flag. (#344 Ben Mabey) | ||
375 | - | ||
376 | -== 0.3.91 2009-07-27 | ||
377 | - | ||
378 | -=== New Features | ||
379 | -* CTRL-C will exit immediately instead of carrying on until all features are run. (Aslak Hellesøy) | ||
380 | -* Run can be stopped programmatically by setting $cucumber_interrupted = true, for example in an After block. (Aslak Hellesøy) | ||
381 | -* Support limiting the number of feature elements with certain tags (#353 Joseph Wilk) | ||
382 | -* Table support for cuke4duke | ||
383 | - | ||
384 | -== 0.3.90 2009-07-22 | ||
385 | - | ||
386 | -The Hot summer release | ||
387 | - | ||
388 | -This is a hot summer in Norway, and Cucumbers are growing in abundance. To celebrate this we give you | ||
389 | -a new release with lots of new features and bugfixes. This is also one of the last releases in the 0.3 series | ||
390 | -(hence the 0.3.90 number), so 0.4 (or maybe 1.0!) will be coming up soon. The highlights of this release are: | ||
391 | - | ||
392 | -=== Egality | ||
393 | - | ||
394 | -English is not the world's most spoken language, so why should Cucumber force non-English speakers to use the | ||
395 | ---language flag? As of this release you're no longer forced to do that. Instead, you can add a comment header | ||
396 | -to your .feature files: | ||
397 | - | ||
398 | - # language: fr | ||
399 | - # Cucumber understands that this is French | ||
400 | - Fonctionnalité: Trou de boulette | ||
401 | - | ||
402 | -If you don't have that header, Cucumber will work as before - using whatever you specified with --language, | ||
403 | -or default to English if no --language option was specified. A nice side effect of this is that you can now | ||
404 | -have features in several languages side by side and run them in the same cucumber. (Not recommended unless | ||
405 | -you want to take polyglot programming to an extreme level). | ||
406 | - | ||
407 | -=== Table diffing (experimental) | ||
408 | - | ||
409 | -When you pass a table as an argument to your Then steps you often want to compare that table | ||
410 | -to some actual values. In previous releases you had to iterate over the table's values and manually | ||
411 | -compare each row using cell.should equal('foo') or assert_equal('foo', cell). If a discrepancy was found | ||
412 | -you'd get an error, but it was hard to see how the entire expected data set was different from the actual one. | ||
413 | - | ||
414 | -With this release you have a much more powerful way to compare expected tables with actual data. An | ||
415 | -Ast::Table object now has a new #diff!(table) method that you can invoke in your step definitions | ||
416 | -that take table arguments. If the table you pass in is different from the expected table (from your | ||
417 | -plain text step), Cucumber will print the difference for each of the row or column and fail your step. | ||
418 | - | ||
419 | -The Table#diff! method expects an Array of Array, Array of Hash (similar to what you'd get from table#hashes) | ||
420 | -or simply another Ast::Table object. Here is a simple example: | ||
421 | - | ||
422 | - Then /^I should see the following cukes:$/ do |expected_cukes_table| | ||
423 | - actual_table = ... # For example [['Latin', 'English'], ['Cucumis sativus', 'Cucumber'], ['Cucumis anguria', 'Burr Gherkin']] | ||
424 | - expected_cukes_table.diff!(actual_table) | ||
425 | - end | ||
426 | - | ||
427 | -As an extra bonus we provide Webrat users with a new #table_at(selector) method that you can use to transform | ||
428 | -an HTML table into an Array of Array, so that you can easily compare the contents of your HTML table to | ||
429 | -expected data passed to a step. Here is an example: | ||
430 | - | ||
431 | - Then /^I should see the following cukes:$/ do |expected_cukes_table| | ||
432 | - expected_cukes_table.diff!(table_at('#cuke_table').to_a) | ||
433 | - end | ||
434 | - | ||
435 | -You can do the same trick to compare data from a Rails ActiveRecord table (although this is not a | ||
436 | -recommended practice - your Then steps should compare against what users *see*, not what's in the | ||
437 | -database): | ||
438 | - | ||
439 | - # This requires that you use the column names in the header of the plain text expected table | ||
440 | - Then /^I should have the following cukes in the database:$/ do |expected_cukes_table| | ||
441 | - expected_cukes_table.diff!(Cuke.find(:all).map(&attributes)) | ||
442 | - end | ||
443 | - | ||
444 | -=== Environment variables | ||
445 | - | ||
446 | -Another useful new feature is the ability to define environment variables on Cucumber's command line (just | ||
447 | -like you can with Rake). Example: | ||
448 | - | ||
449 | - cucumber FOO=BAR --format progress features | ||
450 | - | ||
451 | -You can now pick up ENV['FOO'] in ruby (for example in env.rb) and take actions according to the value, | ||
452 | -for example enabling your super hack that validates all HTTP responses for XHTML validity. | ||
453 | - | ||
454 | -This release also has several bugfixes related to --format and Before/After hooks. | ||
455 | - | ||
456 | -=== Bugfixes | ||
457 | -* Fix some misspellings which affect test fail for Korean example (#373 Dongju Kim) | ||
458 | -* Make it possible to write non-localized step definitions (#377 Aslak Hellesøy) | ||
459 | -* Table cells containing unicode are rendered incorrectly (#386 Stefan Kanev) | ||
460 | -* Before and After hooks run after everything is finished when there are 2+ --format options (#371 Aslak Hellesøy) | ||
461 | -* When using --out and two --format the first is not delivered inline with execution of features (#361 Aslak Hellesøy) | ||
462 | -* Profile Formatter broken (#370 Aslak Hellesøy) | ||
463 | -* Default profile usage with --drb flag degrades gracefully with no server. (#367 Ben Mabey) | ||
464 | -* JUnit formatter uses original file name instead of narrative to avoid accidental duplicate XML files (Aslak Hellesøy) | ||
465 | -* rake gems no longer lists cucumber as a [F]ramework gem (David Chelimsky) | ||
466 | -* CLI issues correct exit code when using --drb. Requires Spork version >= 0.5.1. (#355 Ben Mabey) | ||
467 | -* Make sure script/generate cucumber --spork uses the cucumber Rails environment (Philippe Lafoucrière) | ||
468 | -* Fixed bug with rake task raising errors with feature files with spaces (#380 Joseph Wilk) | ||
469 | - | ||
470 | -=== New Features | ||
471 | -* I should see should support regexes (#382 John Ferlito) | ||
472 | -* Access to scenario outline name from After hook scenario parameter (#342 Aslak Hellesøy) | ||
473 | -* Allow multiple --tags switches to be passed | ||
474 | -* Load step definitions from vendored gems and plugins (#388 Mike Burns) | ||
475 | -* New --format steps formatter. Variant of the usage formatter that lists available step definitions (Demetrius Nunes) | ||
476 | -* Possibility to specify scenario language as part of the .feature file (#345 Aslak Hellesøy) | ||
477 | -* Support specifying environment variables using foo=bar syntax on command line or in profiles (#362 Bryan Helmkamp) | ||
478 | -* Display failing scenarios at the end of pretty format to make it easier for people to play them back (#360 Ryan Bigg) | ||
479 | - | ||
480 | -=== Changed Features | ||
481 | -* When using --tags, positive tags are &&'ed while negative tags are ||'ed (John Wilger) | ||
482 | -* The data returned from Table#hashes and similar methods are frozen. Dup if you need to modify. (Aslak Hellesøy) | ||
483 | -* Visitor.visit_table_cell_value(value, col_width, status) is now visitor.visit_table_cell_value(value, status) | ||
484 | - | ||
485 | -== 0.3.11 2009-06-05 | ||
486 | - | ||
487 | -This release just fixes a tiny bug in the formatter to fix an incompatibility | ||
488 | -with the latest RedMine release. It should have been included in 0.3.10, but | ||
489 | -was forgotten. | ||
490 | - | ||
491 | -=== Bugfixes | ||
492 | -* Formatter API was broken in 0.3.9 (Roman Chernyatchik) | ||
493 | - | ||
494 | -== 0.3.10 2009-06-05 | ||
495 | - | ||
496 | -The Spork Release! | ||
497 | - | ||
498 | -This release has an exciting new feature - a new --drb switch! This magic switch lets you run your | ||
499 | -features much faster than before, because you can eliminate the startup time for your code. This is | ||
500 | -thanks to a brand new gem called Spork by Tim Harper and Ben Mabey. (You can find out more about Spork | ||
501 | -here: http://github.com/timcharper/spork/tree/master). You can start Spork and have it preload your | ||
502 | -application in a separate process. Spork listens for DRb connections, and when you run cucumber with | ||
503 | ---drb the features will run inside the Spork server instead. Spork provides two simple hooks for preloading | ||
504 | -your application - one for framework/stable code (Spork.prefork) and one for the code that *you* write and | ||
505 | -change often (Spork.each_run). Keep in mind that all World, Before, and other Cucumber hooks need to be | ||
506 | -in the Spork.each_run block. Using Spork works great for Ruby on Rails, which can take a while to load, | ||
507 | -but --drb and Spork aren't tied to Rails at all. The new --drb switch also works great alongside autotest | ||
508 | -(just add --drb to your autotest profile in cucumber.yml), so now you can get even faster feedback. | ||
509 | - | ||
510 | -Cucumber's built-in cucumber generator now has a new --spork switch, so when you bootstrap your Rails | ||
511 | -application for cucumber, you can have spork configuration set up out of the box. (It's just a | ||
512 | -slightly different env.rb.) | ||
513 | - | ||
514 | -Although Spork was in mind when the --drb switch was added it is important to realize that all that was added | ||
515 | -to Cucumber was a DRb client. Any DRb server that adheres to this protocol can be used with Cucumber's --drb | ||
516 | -switch. While Spork is geared towards removing the load time to give you a faster feedback loop you could | ||
517 | -just as easily use this client with a server that distributes your features to run in parallel. Someone just | ||
518 | -needs to write such a server. ;) | ||
519 | - | ||
520 | -This release also has some minor bugfixes related to RSpec and Rails interop. | ||
521 | - | ||
522 | -=== Bugfixes | ||
523 | -* RSpec's be_* matchers did not work in 0.3.9 and probably earlier versions. Now they do. (Aslak Hellesøy) | ||
524 | -* The Rails cucumber environment won't declare gem dependencies if the plugin exists. (Aslak Hellesøy) | ||
525 | -* The Rails cucumber generator will no longer declare gem dependencies on rspec if you use --testunit. (Aslak Hellesøy) | ||
526 | - | ||
527 | -=== New features | ||
528 | -* Spork support via --drb. (Ben Mabey) | ||
529 | -* Added a Ast::Feature#name method for convenience. (Aslak Hellesøy) | ||
530 | - | ||
531 | -=== Changed features | ||
532 | -* The HTML formatter wraps examples in a div, and distinguishes between Scenario and Scenario Outline. (Aslak Hellesøy) | ||
533 | - | ||
534 | -== 0.3.9 2009-05-27 | ||
535 | - | ||
536 | -Bugfix release for 0.3.8 released earlier today. 0.3.8 had a bug in the Rails cucumber | ||
537 | -generator which is fixed in 0.3.9. | ||
538 | - | ||
539 | -=== Bugfixes | ||
540 | -* Fix broken Rails cucumber generator (Tim Glen) | ||
541 | -* The Cucumber Rake task in non-fork mode will properly cause Rake to exit with 1 when Cucumber fails. (Aslak Hellesøy) | ||
542 | - | ||
543 | -== 0.3.8 2009-05-27 | ||
544 | - | ||
545 | -This Cucumber version fixes several bugs related to Ruby on Rails and RSpec. If you | ||
546 | -use Cucumber with a Rails app we *strongly* recommend you bootstrap Cucumber again: | ||
547 | - | ||
548 | - ruby script/generate cucumber | ||
549 | - | ||
550 | -=== New Features | ||
551 | -* Rails cucumber generator sets up default gem dependencies in cucumber environment. | ||
552 | -* The duration of a run is reported by formatters - same format as the Linux time command (#228 Aslak Hellesøy) | ||
553 | -* Scenario and ExampleRow objects (passed to Before and After hooks) have #name and #line methods (#316 Aslak Hellesøy) | ||
554 | -* Rails generator creates a cucumber environment file to avoid potential cache_classes conflicts in test.rb (#165, Ben Mabey) | ||
555 | -* HTML formatter renders @tags (but the CSS is still ugly) | ||
556 | - | ||
557 | -=== Removed/changed features | ||
558 | -* The Cucumber Rake task will again fork by default (as 0.3.3 and earlier). Forking must be turned off explicitly. (Aslak Hellesøy) | ||
559 | - | ||
560 | -=== Bugfixes | ||
561 | -* Better coexistence with RSpec - Cucumber now *neuters* the part of RSpec that tries to parse ARGV. | ||
562 | -* The differ= exception is gone (#325, #340 Aslak Hellesøy) | ||
563 | - | ||
564 | -== 0.3.7 2009-05-22 | ||
565 | - | ||
566 | -This is the "Help JetBrains RubyMine" release! | ||
567 | - | ||
568 | -=== New Features | ||
569 | -* Added new Given alias for Catalan: Donat|Donada (Lleïr Borràs Metje) | ||
570 | -* New --expand option. This will print Scenario Outlines once for each Example row - with values expanded. (#327 Aslak Hellesøy) | ||
571 | -* You can override the formatter in Rails-generated rake tasks with the CUCUMBER_FORMAT environment variable (#335 Aslak Hellesøy) | ||
572 | - | ||
573 | -=== Bugfixes | ||
574 | -* 'specs' folder needs to be renamed back to 'spec' (#339 Aslak Hellesøy) | ||
575 | -* CUCUMBER_OPTS doesn't work for cucumber rake tasks (#336 Aslak Hellesøy) | ||
576 | - | ||
577 | -== 0.3.6 2009-05-20 | ||
578 | - | ||
579 | -Kanban! With this release you can tag features or scenarios that are work in progress | ||
580 | -with a tag and use the new --wip switch. | ||
581 | - | ||
582 | -Another handy feature in this release is that you can package your own formatters in RubyGems. | ||
583 | - | ||
584 | -=== New features | ||
585 | -* New --wip switch. See http://www.jroller.com/perryn/entry/bdd_on_a_multi_disciplined (Perryn Fowler) | ||
586 | -* Added a AfterStep hook (Luke Melia) | ||
587 | -* New aliases for Vietnamese (Ngoc Dao) | ||
588 | -* Automatic require of custom formatters. --require is no longer needed to load them, and they can be in Ruby gems. (Aslak Hellesøy) | ||
589 | -* Lazy loading of built-in formatters. Should improve startup time a little bit. | ||
590 | - | ||
591 | -=== Bugfixes | ||
592 | -* Gracefully handle exceptions in After block (#330 Matt Wynne) | ||
593 | -* Feature with only Background doesn't run hooks (#314, #329 Aslak Hellesøy) | ||
594 | - | ||
595 | -== 0.3.5 2009-05-14 | ||
596 | - | ||
597 | -Let's make a new release today because two annoying bugs are fixed. | ||
598 | - | ||
599 | -=== Bugfixes | ||
600 | -* Allow feature element names to contain Gherkin keywords as long as they are not the first word on a newline (#319, #307 Joseph Wilk) | ||
601 | - | ||
602 | -== 0.3.4 2009-05-14 | ||
603 | - | ||
604 | -A couple of great new features in this release. Running with Rake is faster than before, | ||
605 | -and there is a brand new JUnit formatter - great for Continuous Integration reports! | ||
606 | - | ||
607 | -This release was made especially for the Oslo XP Meetup today. | ||
608 | - | ||
609 | -** IMPORTANT UPGRADE NOTES FOR RAILS USERS ** | ||
610 | - | ||
611 | -Running Cucumber features in the same Ruby interpreter as Rake doesn't seem to work, | ||
612 | -so you have to explicitly tell the task to fork (like it was doing by default in prior | ||
613 | -versions). In lib/tasks/cucumber.rake: | ||
614 | - | ||
615 | - Cucumber::Rake::Task.new(:features) do |t| | ||
616 | - t.fork = true # Explicitly fork | ||
617 | - t.cucumber_opts = %w{--format pretty} | ||
618 | - end | ||
619 | - | ||
620 | -(If you run script/generate cucumber this will be done for you). | ||
621 | -Alternatively you can omit forking and run features like this: | ||
622 | - | ||
623 | - RAILS_ENV=test rake cucumber | ||
624 | - | ||
625 | -However, setting the RAILS_ENV is easy to forget, so I don't recommend relying on this. | ||
626 | - | ||
627 | -=== Bugfixes | ||
628 | -* Hooks (World, Before, After) are no longer executed when --dry-run (Aslak Hellesøy) | ||
629 | -* Proper UTF8 use in HTML formatter (Herminio Torres) | ||
630 | -* Problem with multiple terms in languages.yml (#321 Aslak Hellesøy) | ||
631 | - | ||
632 | -=== New features | ||
633 | -* New JUnit formatter (Gareth Jones) | ||
634 | -* Support for Vietnamese (Ngoc Dao) | ||
635 | -* Added aliases for Feature and But in Japanese (Leonard Chin) | ||
636 | -* Support for Catalan (Francesc Esplugas) | ||
637 | - | ||
638 | -=== Changed features | ||
639 | -* --exclude flag now works on ruby files in addition to feature files (#312 Ben Mabey) | ||
640 | -* The Java example under examples/java uses Ant instead of Rake - and the new JUnit formatter. | ||
641 | -* Rake task should not shell out (#297 Aslak Hellesøy) | ||
642 | - The Cucumber Rake task will run Cucumber in the same Ruby interpreter as Rake itself | ||
643 | - unless explicitly told to fork a new interpreter. This is to increase speed. You can | ||
644 | - force a new interpreter by setting fork=true or rcov=true in the task. | ||
645 | - | ||
646 | -== 0.3.3 2009-05-10 | ||
647 | - | ||
648 | -Minor bugfix release, made specially for EuRuKo! | ||
649 | - | ||
650 | -=== Bugfixes | ||
651 | -* Summaries are no longer printed in an empty () if there are no scenarios/steps (Aslak Hellesøy) | ||
652 | -* Background, Scenario Outline, Before Hook interaction (#309 Aslak Hellesøy) | ||
653 | -* Multiline String snippets no longer give misleading info. It's a String, not a PyString that's sent to step def. | ||
654 | - | ||
655 | -=== Removed/changed features | ||
656 | -* New aliases: --no-source/-s, --name/-n (#317 Lonnon Foster) | ||
657 | - | ||
658 | -== 0.3.2 2009-05-05 | ||
659 | - | ||
660 | -This release has some minor bug fixes and new features. | ||
661 | -Nothing major, but we need a release for RailsConf'09 in Las Vegas! | ||
662 | - | ||
663 | -=== Bugfixes | ||
664 | -* rake tasks with profiles not respecting --require flags (#311 Ben Mabey) | ||
665 | -* Step table with blank cell fails (#308 JohnnyT) | ||
666 | -* Fixed error where unused table cells in Examples where raising exceptions due to having no status (#302 Joseph Wilk) | ||
667 | - | ||
668 | -=== New features | ||
669 | -* Support for Hebrew (Ido Kanner) | ||
670 | -* Summary should report scenarios (#32 Aslak Hellesøy) | ||
671 | -* Examples and the associated tables are indented one level deeper than Scenario Outline. (Aslak Hellesøy) | ||
672 | -* Added support for Examples selection when using --name. (#295 Joseph Wilk) | ||
673 | - | ||
674 | -== 0.3.1 2009-04-26 | ||
675 | - | ||
676 | -This release has several minor bug fixes and new features. With the addition of Latvian and Hungarian Cucumber | ||
677 | -now supports 32(!!) languages. | ||
678 | - | ||
679 | -=== New features | ||
680 | -* Support multiline names for Scenarios, Scenario Outlines, Backgrounds, Examples (#231 Joseph Wilk) | ||
681 | -* Added #headers to Cucumber::Ast::Table (Ben Mabey) | ||
682 | -* New translation for Latvian (Vitauts Stočka) | ||
683 | -* New translation for Hungarian (#287 Bence Golda) | ||
684 | -* Pick up failure on after hook (#272 Aslak Hellesøy) | ||
685 | - | ||
686 | -=== Bugfixes | ||
687 | -* Pretty formatter not colouring Examples tables correctly (#304 Aslak Hellesøy) | ||
688 | -* Problem using --scenario and Scenario Outline (#298 Aslak Hellesøy) | ||
689 | -* Tag Hook gets executed always there is a background (#301 Aslak Hellesøy) | ||
690 | -* Feature which only has a Background with steps causes an exception (#306 Aslak Hellesøy) | ||
691 | -* Gem no longer depends on Hoe (Aslak Hellesøy) | ||
692 | -* Span html tags appear on HTML results with 0.3.0 (#299 Aslak Hellesøy) | ||
693 | -* Fixed incorrect colours in pretty formatter's table headers for outline tables (Aslak Hellesøy) | ||
694 | -* Exceptions from steps called within hooks are now reraised. (#294 Ben Mabey) | ||
695 | - | ||
696 | -=== Removed/changed features | ||
697 | -* --scenario handle has been removed and replaced with --name which supports partial matches, regexp special characters, running named backgrounds (#295 Joseph Wilk) | ||
698 | - | ||
699 | -== 0.3.0 2009-04-14 | ||
700 | - | ||
701 | -This release has some minor changes to the APIs, but big enough that a new major release is in order. | ||
702 | -The biggest change is the new semantics of the #World method. Previously you would call this method | ||
703 | -several times, passing a Proc and extending the world object of the previous one with a Ruby module. | ||
704 | -The problem was that there was no nice way to ensure the order in which these procs were called, which | ||
705 | -led to some unexpected situations. In this release you can only register a single World proc. If you | ||
706 | -want to extend a world with certain modules, you simply call the #World method with the module(s) | ||
707 | -you wish to extend the World with. The Sinatra example illustrates how to do this. Also check out | ||
708 | -the RDoc for Cucumber::StepMother#World. | ||
709 | - | ||
710 | -The Visitor API (which is used for formatters) has also changed slightly. However, we have tried to | ||
711 | -do this in a backwards compatible way, so if you have custom formatters for Cucumber 0.2 they should | ||
712 | -still work. | ||
713 | - | ||
714 | -One of the most significant new features is Tagged Hooks: http://wiki.github.com/aslakhellesoy/cucumber/hooks | ||
715 | -This lets you associate Before and After blocks with specific scenarios. | ||
716 | - | ||
717 | -We are also deprecating the step_list, step_pattern, feature_list, and feature_pattern accessors on | ||
718 | -Cucumber::Rake::Task. These accessors will be completely removed in version 0.4. For complex settings | ||
719 | -please rely on cucumber profiles in your rake tasks: | ||
720 | -http://wiki.github.com/aslakhellesoy/cucumber/using-rake#profiles | ||
721 | - | ||
722 | -=== New features | ||
723 | -* Use Hooks with @tags (#229 Aslak Hellesøy) | ||
724 | -* Rake task supports cucumber.yml profiles (#187 Ben Mabey) | ||
725 | -* Field value steps for Webrat (Jack Chen) | ||
726 | -* Added translation for Bulgarian (Krasimir Angelov) | ||
727 | -* Updated translation for Polish (#273 Grzegorz Marszałek) | ||
728 | -* Only a single World proc can be registered. World extension now happens by calling #World with ruby modules. | ||
729 | -* Portuguese uses Funcionalidade in stead of Característica and accented words are aliased with unaccented ones (Alexandre da Silva and Felipe Coury). | ||
730 | -* The usage formatter also prints unused step definitions (Aslak Hellesøy) | ||
731 | -* Better exception if a World proc returns nil. (Aslak Hellesøy) | ||
732 | -* Allow Step Definitions to use |*varargs|, but only on Ruby 1.9. (Aslak Hellesøy) | ||
733 | -* Snippets for steps that use Step Tables or PyStrings include block param and object type hint comment (#247 Joseph Wilk) | ||
734 | -* Support description string for Backgrounds (#271 Joseph Wilk) | ||
735 | - | ||
736 | -=== Bugfixes | ||
737 | -* After methods not being executed when Background fails (#288 Luismi Cavallé) | ||
738 | -* Fixed dependency on internal files in rspec breaks cucumber w/ rspec-1.2.4 (#291 Aslak Hellesøy) | ||
739 | -* Fix color use when using autotest on Linux. (Hans de Graaff) | ||
740 | -* Fixed incorrect calculation of pystring indentation (#279 Eugene Naydanov) | ||
741 | -* Fixed --format html leads to an error (#252 Aslak Hellesøy) | ||
742 | -* Fixed Background runs twice (#255 Aslak Hellesøy) | ||
743 | -* Fixed Background Transactions and :xx (#270 Aslak Hellesøy) | ||
744 | -* Fixed Autospec failing with cucumber 0.2 (#254 Aslak Hellesøy) | ||
745 | -* Sibling file detecting not working (#278 Aslak Hellesøy) | ||
746 | - | ||
747 | -=== Removed/changed features | ||
748 | -* The visitor API has changed slightly: | ||
749 | -** #visit_step_name, #visit_multiline_arg and #visit_exception are no longer official API methods. | ||
750 | -** #visit_step_result replaces those 3 methods. | ||
751 | -** Table and PyString no longer hold status information. Each visitor subclass should store state in @state if needed. | ||
752 | -** #visit_py_string no longer takes a status argument. | ||
753 | - | ||
754 | -== 0.2.3 2009-03-30 | ||
755 | - | ||
756 | -This release sports 4 updated languages, slightly better help with snippets if you "quote" arguments | ||
757 | -in your steps. Windows/JRuby users can enjoy colours and you get some more sugar with Tables. | ||
758 | - | ||
759 | -=== New features | ||
760 | -* Added new Then /^I should be on (.+)$/ do |page_name| step (Grant Hollingworth) | ||
761 | -* Use skipped_param color for examples table header (#266 Eugene Naydanov) | ||
762 | -* Added new Cucumber::Ast::Table#rows_hash method (Torbjørn Vatn) | ||
763 | -* Windows/JRuby users can now enjoy colourful output (via http://github.com/aslakhellesoy/ansicolor) (#166 Aslak Hellesøy) | ||
764 | -* Ambiguous step errors hint about --guess (unless --guess already on) (Aslak Hellesøy) | ||
765 | -* Added translation for Slovak (Ahmed Al Hafoudh) | ||
766 | -* Updated translation for Dutch (Bart Zonneveld) | ||
767 | -* Updated translation for Italian (Alessandro Baroni) | ||
768 | -* Updated translation for Japanese (KAKUTANI Shintaro) | ||
769 | - | ||
770 | -=== Bugfixes | ||
771 | -* Fixed step name after step keyword without space (#265 Aslak Hellesøy) | ||
772 | -* Backtrace is back in HTML reports (Aslak Hellesøy) | ||
773 | - | ||
774 | -== 0.2.2 2009-03-25 | ||
775 | - | ||
776 | -This release includes some minor changes to make Cucumber work with pure Java. Cucumber | ||
777 | -has already worked with Java for a while (using JRuby and step definitions in Ruby), | ||
778 | -but now you can write step definitions in pure Java! | ||
779 | - | ||
780 | -Check out the Cucumber Java project for more details: | ||
781 | -http://github.com/aslakhellesoy/cucumber_java/tree/master | ||
782 | - | ||
783 | -== 0.2.1 2009-03-25 | ||
784 | - | ||
785 | -This release fixes a few minor bugs and adds a couple of new features. | ||
786 | - | ||
787 | -== Bugfixes | ||
788 | -* Fixed Cucumber, and rails controller error handling (#49 Matt Patterson) | ||
789 | -* HTML Formatter doesn't work correctly with scenario Outlines. (#260 Aslak Hellesøy) | ||
790 | -* After blocks are run in reverse order of registration. (#113 Aslak Hellesøy) | ||
791 | -* Snippets are showing 'Ands' (#249 Aslak Hellesøy) | ||
792 | - | ||
793 | -=== New features | ||
794 | -* Snippets use a regexp and block arguments if the step name has "quoted" arguments. (Aslak Hellesøy) | ||
795 | -* Cucumber::Ast::Feature#to_sexp includes the file name. (Aslak Hellesøy) | ||
796 | -* support/env.rb is not loaded when --dry-run is specified. This is to increase performance. (Aslak Hellesøy) | ||
797 | -* New usage formatter. This is the foundation for editor autocompletion and navigation between steps and step definitions. (#209 Aslak Hellesøy) | ||
798 | - | ||
799 | -=== Removed features | ||
800 | -* -S/--step-definitions option introduced in 0.2.0 is removed. Use --format usage [--dry-run] [--no-color]. | ||
801 | - | ||
802 | -== 0.2.0 2009-03-18 | ||
803 | - | ||
804 | -This release sports a bunch of new and exciting features, as well a major rewrite of Cucumber's internals. | ||
805 | -The rewrite was done to address technical debt and to have a code base that is easier to evolve and maintain. | ||
806 | - | ||
807 | -There are some changes to the Gherkin language that breaks backwards compatible with the 0.1.x series. | ||
808 | -Most importantly, "GivenScenario" and "More Examples" no longer exist. See the "Removed features" section | ||
809 | -below for more details on how to use alternatives. | ||
810 | - | ||
811 | -Since the grammar has changed, there are some new keywords. We have to rely on the community | ||
812 | -to provide updated translations. This is much easier than before - just update languages.yml. | ||
813 | -There is no static code generation anymore. To list all languages: | ||
814 | - | ||
815 | - cucumber --lang help | ||
816 | - | ||
817 | -And to list the keywords for a particular language: | ||
818 | - | ||
819 | - cucumber --lang en-lol help | ||
820 | - | ||
821 | -There are some really awesome new features in this release: Tagging, Autoformatting, automatic | ||
822 | -aliasing of keywords in all languages, full Ruby 1.9 support and improved output | ||
823 | -for multiline arguments are some of the highlights. | ||
824 | - | ||
825 | -== Bugfixes | ||
826 | -* New StepInvocation breaks console formatter for pending steps. (#241 Jacob Radford) | ||
827 | -* Within Scenario Outlines when replacing with a nil in a step name use empty string instead. (#237 Joseph Wilk) | ||
828 | -* Fixed bug with Scenario Outlines incorrectly replacing values in step tables with nil. (#237 Joseph Wilk) | ||
829 | -* Within Scenario Outlines when replacing with a nil in multiline strings use empty string instead. (#238 Joseph Wilk) | ||
830 | -* Re-structure the ast: Feature -> Background -> (Scenario|ScenarioOutline)*. Fixes bug with background being called outside transactions. (#181 Joseph Wilk) | ||
831 | -* --strict always exits with status 1 (#230 Tim Cuthbertson) | ||
832 | -* Fix error with nil values in tables raising an exception (#227 Joseph Wilk) | ||
833 | -* Add support for using << in formatters to ensure the html formatter works (#210 Joseph Wilk) | ||
834 | -* Explicitly require env.rb files first to avoid potential load order problems. (#213, Ben Mabey, Randy Harmon) | ||
835 | -* Depend on polyglot version (0.2.4) to avoid masking require errors. (Aslak Hellesøy). | ||
836 | -* -n option does not suppress the line info for a Scenario Outline (#175 Aslak Hellesøy) | ||
837 | -* Errors with rspec-rails matchers in cucumber 0.1.99 (#173 David Chelimsky) | ||
838 | -* Can't use an empty string as a table value in a scenario outline (#172 Aslak Hellesøy) | ||
839 | -* Really skip skipped steps (#90 Aslak Hellesøy) | ||
840 | -* No output for multi-line strings (#71 Aslak Hellesøy) | ||
841 | -* Fix cucumber/formatter/unicode flaws on Windows (#145 Michael) | ||
842 | -* Autotest-related Bugs: YAML missing (#136 Tobias Pape) | ||
843 | -* Overeager "rescue LoadError" hides lots of errors (#137 Jonathan del Strother) | ||
844 | -* Nested steps don't show mismatch (#116 Aslak Hellesøy) | ||
845 | -* Pending steps in > steps called from steps (#65 Aslak Hellesøy) | ||
846 | - | ||
847 | -=== New features | ||
848 | -* Australian translation (Josh Graham) | ||
849 | -* Added World#announce(announcment) which lets you output text to the formatted output (#222 Rob Kaufmann) | ||
850 | -* Added Table#transpose to to allow use of vertically aligned table keys (Torbjørn Vatn, Aslak Hellesøy) | ||
851 | -* Added Table#map_headers to to allow use of more readable headers (Rob Holland) | ||
852 | -* New -S/--step-definitions option. Useful (among other things) for tools that implement automcompletion. (#208 Aslak Hellesøy). | ||
853 | -* The cucumber.rake file defines a dummy :features task if Cucumber is not installed (#225 Josh Nichols) | ||
854 | -* Added Table#map_column! to ease casting of cell values into relevant types (#223 Rob Holland) | ||
855 | -* New --no-diff option (#218 Bryan Ash) | ||
856 | -* Rails generators supports testunit and rspec option, defaulting to rspec (#217 Josh Nichols) | ||
857 | -* Sinatra Example (#204 Rob Holland) | ||
858 | -* Keywords can be aliased in languages.yml. See English for an example (examples: Examples|Scenarios) | ||
859 | -* Adding support for Background (#153 Joseph Wilk) | ||
860 | -* Added Česky/Czech (Vojtech Salbaba) | ||
861 | -* New --no-multiline option to reduce noise in output. Useful if lots of features are failing. (Aslak Hellesøy) | ||
862 | -* Added ability to pass URIs to cucumber in addition to files and directories. Useful for troubleshooting! (Aslak Hellesøy) | ||
863 | -* Groups of tabular scenarios (#57 Aslak Hellesøy) | ||
864 | -* Tagging scenarios and features. Pick the ones to run with --tags (#54 Aslak Hellesøy) | ||
865 | -* Make the current scenario available to the steps. (#44 Aslak Hellesøy) | ||
866 | -* Step definition snippets contain a 'pending' call (#84 Aslak Hellesøy) | ||
867 | -* Call multiline steps from other steps (#144 Aslak Hellesøy) | ||
868 | -* Run cucumber with --autoformat DIR to reformat (pretty print) all of your feature files. (Aslak Hellesøy) | ||
869 | -* New --strict option exits with an error code if there are undefined steps. (#52 Aslak Hellesøy) | ||
870 | -* Given, When, Then methods (used in step definitions) are automatically aliased to current language. Use $KCODE='u' in env.rb if needed. | ||
871 | -* Run cucumber --language help to see all supported languages. (Aslak Hellesøy) | ||
872 | -* Run cucumber --language LANG help to see keywords for a given language. (Aslak Hellesøy) | ||
873 | -* Multiline arguments (tables and """ strings) are printed in the output. (Aslak Hellesøy) | ||
874 | -* It's no longer necessary to compile the Treetop grammar when adding a new language. Localised parser is generated at runtime. (Aslak Hellesøy) | ||
875 | -* New --guess option tries to guess the best step definition match instead of raising Cucumber::Multiple. (Jake Howerton) | ||
876 | - | ||
877 | -=== Removed features | ||
878 | -* "GivenScenario" is gone. Instead you can call Steps from Step Definitions, or use the new Background feature (#153) | ||
879 | -* "More Examples" is gone. "Scenario" + "More Examples" is no longer supported. Use "Scenario Outline" + "Examples" instead. | ||
880 | -* Pure Ruby features are no longer supported. | ||
881 | -* Remove --color option in autotest. Can be added manually in cucumber.yml (#215 Jean-Michel Garnier) | ||
882 | - | ||
883 | -== (0.1.16.4 aslakhellesoy-cucumber gem on GitHub) | ||
884 | - | ||
885 | -Bugfix release. | ||
886 | - | ||
887 | -IMPORTANT NOTE FOR RAILS USERS. | ||
888 | -The template used to generate your features/support/env.rb has changed. You have to apply a minor change | ||
889 | -manually for existing Rails projects when you upgrade to this version. Change this: | ||
890 | - | ||
891 | - require 'webrat/rspec-rails' | ||
892 | - | ||
893 | -to this: | ||
894 | - | ||
895 | - require 'webrat/core/matchers' | ||
896 | - | ||
897 | -=== New features | ||
898 | -* Finnish translation (Tero Tilus) | ||
899 | -* Use Webrat's #contain matcher in generated "I should (not) see" step definitions (Bryan Helmkamp) | ||
900 | - | ||
901 | -== Bugfixes | ||
902 | -* Escaped quotes - \" - inside multiline strings will be unescaped. | ||
903 | -* Flush output in HTML formatter since JRuby doesnt do it automatically (Diego Carrion) | ||
904 | -* Better handling of ARGV (#169 David Chelimsky, Ben Mabey) | ||
905 | -* Compatibility with ruby-debug (do ARGV.dup in bin/cucumber so it can restart ruby with same args) (Aslak Hellesøy) | ||
906 | - | ||
907 | -== 0.1.16 2009-01-19 | ||
908 | - | ||
909 | -This is a small bugfix release. The most notable improvement is compatibility with Webrat 0.4. Rails/Webrat users should | ||
910 | -upgrade both Cucumber and Webrat gems. | ||
911 | - | ||
912 | -=== New features | ||
913 | -* Allow argument placeholders in step tables and multiline comments (#121 Joseph Wilk) | ||
914 | -* Scenario Outline can be followed by several named Examples sections (#123 Aslak Hellesøy) | ||
915 | -* Add the #binary= method back to the Rake task. It is needed by merb_cucumber for running the features of a merb app with it's bundled gems. (Thomas Marek) | ||
916 | -* Added a /^When I go to (.+)$/ step definition to webrat_steps.rb and a simple page name to path mapping method (Bryan Helmkamp) | ||
917 | - | ||
918 | -=== Bugfixes | ||
919 | -* Fix to run single scenarios when the line number specified doesn't correspond to a step (i.e. blank lines or rows) (#160 Luismi Cavallé) | ||
920 | - | ||
921 | -=== Removed features | ||
922 | - | ||
923 | -== 0.1.15 2009-01-08 | ||
924 | - | ||
925 | -Bugfix release | ||
926 | - | ||
927 | -=== New features | ||
928 | -* 한국어! (Korean!) (John Hwang) | ||
929 | - | ||
930 | -=== Bugfixes | ||
931 | -* --dry-run skips running before/after/steps (#147 Ian Dees) | ||
932 | -* Fix a minor bug in the console formatter's summary (David Chelimsky) | ||
933 | -* Better quoting of Scenario names in Autotest (Peter Jaros) | ||
934 | -* Added some small workarounds for unicode handling on Windows (Aslak Hellesøy) | ||
935 | - | ||
936 | -== 0.1.14 2009-01-04 | ||
937 | - | ||
938 | -This is the first release of Cucumber that runs on Ruby 1.9. There are still some encoding-related issues | ||
939 | -with Arabic (ar), Japanese (ja) and Simplified Chinese (zh-CN). Patches are welcome. Other than that - | ||
940 | -a couple of minor bug fixes and polishing. | ||
941 | - | ||
942 | -=== New features | ||
943 | -* Pretty formatter shows number of scenarios (#139 Joseph Wilk) | ||
944 | -* Rudimentary support for Ruby 1.9. Now it's ok to file Ruby 1.9-related bugs. | ||
945 | - | ||
946 | -=== Bugfixes | ||
947 | -* Fixed "No such file or directory -- cucumber (LoadError)" bug with AutoTest (Aslak Hellesøy) | ||
948 | -* Fixed `load_missing_constant': uninitialized constant Dispatcher error with Rails (Aslak Hellesøy) | ||
949 | - | ||
950 | -=== Removed features | ||
951 | -* The #binary= method is gone from the Rake task. It will always point to the binary in the current gem. (Aslak Hellesøy) | ||
952 | - | ||
953 | -== 0.1.13 2008-12-20 | ||
954 | - | ||
955 | -It's time for some new features again. Output is now much better since you can use diffing, tweak | ||
956 | -the output colours and get the full --backtrace if you want. Managing your support/* files became | ||
957 | -a little easier since they are now always loaded before the step definitions. Life became easier | ||
958 | -for Windows users in Norway (and other countries using unicode in the features). Plus several other | ||
959 | -bug fixes. | ||
960 | - | ||
961 | -Enjoy! | ||
962 | - | ||
963 | -=== New features | ||
964 | -* Console output is no longer bold, but regular. Step arguments are bold instead of blold+underlined. (Aslak Hellesøy) | ||
965 | -* Console output can be configured with CUCUMBER_COLORS in your shell. (Aslak Hellesøy) | ||
966 | -* Added new --backtrace option to show full backtrace (Aslak Hellesøy) | ||
967 | -* Enable RSpec's diffing automatically if RSpec is loaded (Aslak Hellesøy) | ||
968 | -* Files in support directories are loaded before any other file (i.e. step definitions.) (#120, Ben Mabey) | ||
969 | -* The Rails features generator got some love and is now tested: http://github.com/aslakhellesoy/cucumber_rails (Aslak Hellesøy) | ||
970 | -* --language is aliased to -l instead of -a (-l became available when --line was refactored) (Aslak Hellesøy) | ||
971 | -* Scenario Outlines which through placeholders in the steps allow control of how scenario table values are used. (#57 Joseph Wilk) | ||
972 | -* Scenario Outlines are now usable in pure ruby (Joseph Wilk) | ||
973 | -* Add support for calling 'pending' from step definitions. (#112 Joseph Wilk) | ||
974 | - | ||
975 | -=== Bugfixes | ||
976 | -* Make rails before filters work correctly (#122, #129 Guillermo Álvarez Fernández) | ||
977 | -* Proper Unicode support for Windows command shells: Just require cucumber/formatter/unicode in env.rb (Aslak Hellesøy) | ||
978 | -* Fixed disappearing "a" on Windows (#81 Aslak Hellesøy) | ||
979 | -* Fixed a bug where row step outlines were loosing step tables. (#121 Joseph Wilk, Ben Mabey) | ||
980 | -* The Cucumber Autotest plugin now launches JRuby if autotest is run with JRuby (Aslak Hellesøy) | ||
981 | -* Provide helpful and non-confusing error message when specified profile is blank. (#118, Ben Mabey) | ||
982 | -* Improve handling and error messages for malformed cucumber.yml files. (#117, Ben Mabey) | ||
983 | -* document :x run option in command line help (#114, Aslak Hellesøy) | ||
984 | -* Change 'visits' to 'visit' in features generator to comply with new Webrat API (Darius Roberts) | ||
985 | - | ||
986 | -=== Removed features | ||
987 | - | ||
988 | -== 0.1.12 2008-12-04 | ||
989 | - | ||
990 | -This is the "getting serious with IronRuby release" - largely based on | ||
991 | -"Patrick Gannon":http://www.patrickgannon.net/archive/2008/10/23/bdd-style-feature-tests-using-ironruby-and-rspeccucumber.aspx's | ||
992 | -blog entry. | ||
993 | - | ||
994 | -== New features | ||
995 | -* Cucumber works with IronRuby/.NET - http://github.com/aslakhellesoy/cucumber/wikis/ironruby-and-net (Aslak Hellesøy) | ||
996 | - | ||
997 | -== Bugfixes | ||
998 | -* Fixed bug which was preventing coloring under Autotest (#111, Alan Larkin) | ||
999 | - | ||
1000 | -== Removed features | ||
1001 | -None | ||
1002 | - | ||
1003 | -== 0.1.11 2008-12-02 | ||
1004 | - | ||
1005 | -Bugfix release with a couple of minor additional features to the command line options. | ||
1006 | - | ||
1007 | -=== New features | ||
1008 | -* Capture output from cucumber in Autotest (Alan Larkin) | ||
1009 | -* Update cucumber generator to work with latest Webrat (Bryan Helkamp) | ||
1010 | -* CUCUMBR LIKEZ 2 SPEEK WIF KATS. KTHXBAI (Aimee Daniells) | ||
1011 | -* Support for dynamically pluggable formatters (#99 Joseph Wilk) | ||
1012 | -* --verbose mode to see ruby files and feature files loaded by Cucumber (#106 Joseph Wilk) | ||
1013 | - | ||
1014 | -=== Bugfixes | ||
1015 | -* The jcode library is not loaded on JRuby/Rails. Workaround for http://tinyurl.com/55uu3u. (Aslak Hellesøy) | ||
1016 | -* Support including modules for class passed to --format (#109 Joseph Wilk) | ||
1017 | - | ||
1018 | -=== Removed features | ||
1019 | -* The cucumber gem no longer depends on the rspec gem. It must be downloaded manually if RSpec is used. (Jeff Rafter) | ||
1020 | - | ||
1021 | -== 0.1.10 2008-11-25 | ||
1022 | - | ||
1023 | -This release mostly has smaller bugfixes. The most significant new feature is how | ||
1024 | -line numbers are specified. You can now run multiple features at specific lines numbers like this: | ||
1025 | - | ||
1026 | - cucumber foo.feature:15 bar.feature:6:45:111 | ||
1027 | - | ||
1028 | -This will run foo.feature at line 15 and bar.feature at line 6, 45 and 111. | ||
1029 | - | ||
1030 | -=== New features | ||
1031 | -* Added example showing how to use Cucumber with Test::Unit + Matchy instead of RSpec (Aslak Hellesøy) | ||
1032 | -* Yield existing world object to World block (#87 Aslak Hellesøy) | ||
1033 | -* AUTOFEATURE=tRue works (case insensitive) (Aslak Hellesøy) | ||
1034 | -* Initial support for .NET via IronRuby. (Aslak Hellesøy) | ||
1035 | -* Lithuanian translation (sauliusgrigaitis) | ||
1036 | -* New webrat step defintions to wrap the new selects_time, selects_date, and selects_datetime methods. (Ben Mabey) | ||
1037 | -* Try to load webrat gem if it's not installed as a plugin (Aslak Hellesøy) | ||
1038 | -* Support example.feature:20 or example.feature:10:20:30 syntax for running features at specific line number(s). (#88 Joseph Wilk) | ||
1039 | - | ||
1040 | -=== Bugfixes | ||
1041 | -* Windows - all the 'a' characters in the output have gone on strike (#81 Luis Lavena, Joseph Wilk, Aslak Hellesøy) | ||
1042 | -* Raise a nice error when encountering step definition without block (#95 Aslak Hellesøy) | ||
1043 | -* Features written using Ruby where breaking due to missing a line number (#91 Joseph Wilk) | ||
1044 | -* Directly creating a Table meant the scenario table header was never set which was causing a formatter error (#91 Joseph Wilk) | ||
1045 | - | ||
1046 | -=== Removed features | ||
1047 | -* $KCODE='u' is no longer done automatically. Developers should do that explicitly when needed in step definitions or env.rb. | ||
1048 | -* Step definition without a block being treated as pending (#64 Joseph Wilk) | ||
1049 | -* The --line option has been removed. Use the new file.feature:line format instead. | ||
1050 | - | ||
1051 | -== 0.1.9 2008-11-12 | ||
1052 | - | ||
1053 | -With this release Cucumber supports 19 (!) natural languages: | ||
1054 | - | ||
1055 | -* Arabic | ||
1056 | -* Chinese Simplified | ||
1057 | -* Danish | ||
1058 | -* Dutch | ||
1059 | -* Estonian | ||
1060 | -* French | ||
1061 | -* German | ||
1062 | -* Italian | ||
1063 | -* Japanese | ||
1064 | -* Malay | ||
1065 | -* Norwegian | ||
1066 | -* Polish | ||
1067 | -* Portuguese | ||
1068 | -* Romanian | ||
1069 | -* Russian | ||
1070 | -* Spanish | ||
1071 | -* Swedish | ||
1072 | -* Texan | ||
1073 | -* Welsh | ||
1074 | - | ||
1075 | -Thanks a lot to everyone who has contributed translations. If you don't see your language here, please | ||
1076 | -add it: http://github.com/aslakhellesoy/cucumber/wikis/spoken-languages | ||
1077 | - | ||
1078 | -Main functional changes in this release is "Autotest":http://github.com/aslakhellesoy/cucumber/wikis/autotest-integration | ||
1079 | -support and how multiline strings work in feature files: | ||
1080 | - | ||
1081 | - # In your .feature file | ||
1082 | - Then I should see | ||
1083 | - """ | ||
1084 | - A string | ||
1085 | - that "indents" | ||
1086 | - and spans | ||
1087 | - several lines | ||
1088 | - | ||
1089 | - """ | ||
1090 | - | ||
1091 | - # In your steps.rb file | ||
1092 | - Then 'I should see' do |text| | ||
1093 | - text.should == "A string\n that \"indents\"\nand spans\nseveral lines\n" | ||
1094 | - end | ||
1095 | - | ||
1096 | -The triple quotes are used to define the start and end of a string, and it also defines what gets stripped away | ||
1097 | -in the inside string. If the triple quotes are indented 4 spaces, then the text within will have the 4 first | ||
1098 | -spaces removed too. | ||
1099 | - | ||
1100 | -=== New features | ||
1101 | -* Added --[no-]color option to force color on or off (Peter Jaros) | ||
1102 | -* Step definition without a block will be treated as pending (#64 Joseph Wilk) | ||
1103 | -* Added support for Welsh (improvements welcome) (Joseph Wilk) | ||
1104 | -* Added --quiet option to hide all development aid output when using Pretty formatter (#69 Joseph Wilk) | ||
1105 | -* Added --no-snippets option to hide snippets for pending steps when using Pretty formatter (#69 Joseph Wilk) | ||
1106 | -* Added error messages concerning cucumber.yml. (#70 Ben Mabey) | ||
1107 | -* Added Autotest support - work in progress... (Peter Jaros) | ||
1108 | -* Added new --exclude option (Bryan Helkamp) | ||
1109 | -* Added new --scenario option (Peter Jaros) | ||
1110 | -* Renamed common_webrat.rb to webrat_steps.rb (Ben Mabey, Aslak Hellesøy) | ||
1111 | -* Added new feature[:feature_path] task (Roman Gonzalez) | ||
1112 | -* Added support for Polish (Joseph Wilk) | ||
1113 | -* Support specifying multiple formatters and multiple outputs (#47 Joseph Wilk) | ||
1114 | -* Added support for Japanese. (Kakutani Shintaro) | ||
1115 | -* Added support for Texan (improvements welcome). (Aslak Hellesøy) | ||
1116 | - | ||
1117 | -=== Bugfixes | ||
1118 | -* Pending step snippets should escape special Regexp characters (#82 Joseph Wilk) | ||
1119 | -* Scenario without a body shouldn't show up as complete (#63 Josh Knowles) | ||
1120 | -* Fixed bug where utf-8 strings where breaking comment alighments. (#79 Joseph Wilk) | ||
1121 | -* Fixed next_column_index not resetting after large tables (#60, Barry Mitchelson) | ||
1122 | -* The HTML formatter was rendering everything twice. Cannot invoke visit_feature on formatters in executor (#72 Joseph Wilk) | ||
1123 | -* Row Scenarios need to support pending? in order for the Profile formatter to work (Joseph Wilk) | ||
1124 | -* Snippets are not shown for steps which already have a step definition (#65 Joseph Wilk) | ||
1125 | -* Prevent feature/scenario/pending step comments from containing '//' when running features by specifying a directory with a trailing '/' (Joseph Wilk) | ||
1126 | -* Scenario tables need spacing after them (#59 Joseph Wilk) | ||
1127 | -* Support running scenario table rows when using --line argument (#55 Joseph Wilk) | ||
1128 | -* Don't load cucumber.yml unless it exists (Aslak Hellesøy) | ||
1129 | -* Fixing bug where specifying line number 1 in a feature which starts with a scenario with a scenario table was raising an error (#56 Joseph Wilk) | ||
1130 | - | ||
1131 | -=== Removed features | ||
1132 | - | ||
1133 | - | ||
1134 | -== 0.1.8 2008-10-18 | ||
1135 | - | ||
1136 | -This release extends the support for tables. PLEASE NOTE THAT TABLES ARE STILL EXPERIMENTAL. | ||
1137 | -In previous releases it has been possible to use tables to define "more examples" of a scenario in | ||
1138 | -a FIT-style column fixture kind of way. Now you can also use tables as arguments to steps. | ||
1139 | - | ||
1140 | -Tables used to define more examples after a scenario must now be prefixed. In English it looks like this: | ||
1141 | - | ||
1142 | - Feature: Addition | ||
1143 | - In order to avoid silly mistakes | ||
1144 | - As a math idiot | ||
1145 | - I want to be told the sum of two numbers | ||
1146 | - | ||
1147 | - Scenario: Add two numbers | ||
1148 | - Given I have entered 50 into the calculator | ||
1149 | - And I have entered 70 into the calculator | ||
1150 | - When I press add | ||
1151 | - Then the result should be 120 on the screen | ||
1152 | - | ||
1153 | - More Examples: | ||
1154 | - | input_1 | input_2 | button | output | | ||
1155 | - | 20 | 30 | add | 50 | | ||
1156 | - | 2 | 5 | add | 7 | | ||
1157 | - | 0 | 40 | add | 40 | | ||
1158 | - | ||
1159 | -Languages that are not updated yet will have to use "More Examples" until we get the translations. | ||
1160 | - | ||
1161 | -Tables can also be used as arguments to individual steps. In fact, steps now support a single argument | ||
1162 | -that can span several lines. This can be a table or a string. | ||
1163 | - | ||
1164 | -Example: | ||
1165 | - | ||
1166 | - Given the following people exist: | ||
1167 | - | name | email | phone | | ||
1168 | - | Aslak | aslak@email.com | 123 | | ||
1169 | - | Joe | joe@email.com | 234 | | ||
1170 | - | Bryan | bryan@email.org | 456 | | ||
1171 | - When I search for email.com | ||
1172 | - Then I should see: | ||
1173 | - | name | email | phone | | ||
1174 | - | Aslak | aslak@email.com | 123 | | ||
1175 | - | Joe | joe@email.com | 234 | | ||
1176 | - And I should see: | ||
1177 | - "Some text | ||
1178 | - on several lines" | ||
1179 | - | ||
1180 | -The step definitions for such multiline steps must define an extra block argument for the argument: | ||
1181 | - | ||
1182 | - Given /the following people exist:/ do |people_table| | ||
1183 | - # people_table is of type Cucumber::Model::Table | ||
1184 | - # See RDoc for more info | ||
1185 | - end | ||
1186 | - | ||
1187 | - Then /I should see:/ do |string| | ||
1188 | - # string is a plain old ruby String with leading spaces on each line removed | ||
1189 | - end | ||
1190 | - | ||
1191 | -=== New features | ||
1192 | -* Added profile formatter. (#35, Joseph Wilk) | ||
1193 | -* Added support for Chinese Simplified. (Liming Lian) | ||
1194 | -* Added support for Dutch. (Sjoerd Tieleman) | ||
1195 | -* Multiline steps are now supported. (#4, Aslak Hellesøy) | ||
1196 | -* Tables used to define more examples for a scenario must be prefixed "More Examples" (see languages.yml for other languages) | ||
1197 | -* Show the file and line number for scenarios as a comment when displaying with the pretty formatter. (#40, Joseph Wilk) | ||
1198 | -* Show the file for the feature as a comment when displaying with the pretty formatter. (#40, Joseph Wilk) | ||
1199 | -* Show the feature file and line for pending steps as a comment when displaying with the pretty formatter. (#40, Joseph Wilk) | ||
1200 | - | ||
1201 | -=== Bugfixes | ||
1202 | -* Fixed speling errors in Spanish (Daniel Cadenas) | ||
1203 | -* ActionMailer delivery_method should not be set to test (#41, Luke Melia) | ||
1204 | -* Reverse incorrectly ordered args in webrat select step (#43, David Chelimsky) | ||
1205 | -* Support comments above the first scenario (#31, Aslak Hellesøy) | ||
1206 | -* Fixed the HTML Formatter to use actual values for FIT table headers (#30, Joseph Wilk) | ||
1207 | - | ||
1208 | -=== Removed features | ||
1209 | -* Removed the /^I go to (.*)$/ step from common_webrat.rb - it's not language agnostic and provides little value. | ||
1210 | - | ||
1211 | -=== New features | ||
1212 | -* Added new --out option to make it easier to specify output from Rake and cucumber.yml | ||
1213 | - | ||
1214 | -== 0.1.7 2008-10-05 | ||
1215 | - | ||
1216 | -This release fixes a few bugs and adds some new features. The most notable features are: | ||
1217 | - | ||
1218 | -=== Calling steps from steps | ||
1219 | - | ||
1220 | -Step definitions are a little bit closer to having regular method semantics. | ||
1221 | -You define them, but now you can also call them from other steps. Here is an | ||
1222 | -example: | ||
1223 | - | ||
1224 | - Given /I am logged in as an (.*) named (.*)$/ do |role, name| | ||
1225 | - Given "I am registered as #{role}, #{name}, secret" | ||
1226 | - When "I log in with #{name}, secret" | ||
1227 | - end | ||
1228 | - | ||
1229 | - Given /I am registered as (.*), (.*), (.*)/ do |role, name, password| | ||
1230 | - # (Code removed for brevity) | ||
1231 | - end | ||
1232 | - | ||
1233 | - When /I log in with (.*), (.*)/ do |name, password| | ||
1234 | - # (Code removed for brevity) | ||
1235 | - end | ||
1236 | - | ||
1237 | -This means that steps can be reused in other steps. The GivenScenario feature achieves a similar | ||
1238 | -effect (on the scenario level), but this feature is something we're not very happy with, mostly | ||
1239 | -because it's not parameterisable. Calling steps from steps is. | ||
1240 | - | ||
1241 | -GivenScenario will still be working several releases, but the plan is to remove it completely in | ||
1242 | -the 0.3.0 release. | ||
1243 | - | ||
1244 | -=== Seeing where a step is defined | ||
1245 | - | ||
1246 | -Prior to this release it could be hard to find out where the ruby step definition matching | ||
1247 | -a plain text step is defined. Not anymore! Cucumber will now output this: | ||
1248 | - | ||
1249 | - Scenario: Regular numbers | ||
1250 | - Given I have entered 3 into the calculator # features/steps/calculator_steps.rb:12 | ||
1251 | - And I have entered 2 into the calculator # features/steps/calculator_steps.rb:12 | ||
1252 | - When I press divide # features/steps/calculator_steps.rb:16 | ||
1253 | - Then the result should be 1.5 on the screen # features/steps/calculator_steps.rb:20 | ||
1254 | - And the result class should be Float # features/steps/calculator_steps.rb:24 | ||
1255 | - | ||
1256 | -=== Bugfixes | ||
1257 | -* Fixed a bug in the command line args being lost when using --profile (#27, Joseph Wilk) | ||
1258 | -* Fixed a bug in Webrat selects (Tim Glen) | ||
1259 | -* Fixed parsing of DOS line endings (#2, #28, Aslak Hellesøy) | ||
1260 | - | ||
1261 | -=== New features | ||
1262 | -* Steps can be called from other steps (#3, Bryan Helmkamp, Aslak Hellesøy) | ||
1263 | -* Added But keyword to all languages (#21, Aslak Hellesøy) | ||
1264 | -* Added --no-source option to display step definition location next to step text (#26, Joseph Wilk, Aslak Hellesøy) | ||
1265 | -* Added more Webrat steps (#25, Tim Glen) | ||
1266 | - | ||
1267 | -== 0.1.6 2008-10-01 | ||
1268 | - | ||
1269 | -First gem release! |
vendor/gems/cucumber-0.4.4/LICENSE
@@ -1,22 +0,0 @@ | @@ -1,22 +0,0 @@ | ||
1 | -The MIT License | ||
2 | - | ||
3 | -Copyright (c) 2008,2009 Aslak Hellesøy | ||
4 | - | ||
5 | -Permission is hereby granted, free of charge, to any person obtaining | ||
6 | -a copy of this software and associated documentation files (the | ||
7 | -"Software"), to deal in the Software without restriction, including | ||
8 | -without limitation the rights to use, copy, modify, merge, publish, | ||
9 | -distribute, sublicense, and/or sell copies of the Software, and to | ||
10 | -permit persons to whom the Software is furnished to do so, subject to | ||
11 | -the following conditions: | ||
12 | - | ||
13 | -The above copyright notice and this permission notice shall be | ||
14 | -included in all copies or substantial portions of the Software. | ||
15 | - | ||
16 | -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
17 | -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
18 | -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
19 | -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE | ||
20 | -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION | ||
21 | -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
22 | -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
23 | \ No newline at end of file | 0 | \ No newline at end of file |
vendor/gems/cucumber-0.4.4/Manifest.txt
vendor/gems/cucumber-0.4.4/README.rdoc
@@ -1,26 +0,0 @@ | @@ -1,26 +0,0 @@ | ||
1 | -= Cucumber | ||
2 | - | ||
3 | -The main website is at http://cukes.info/ | ||
4 | -The documentation is at http://github.com/aslakhellesoy/cucumber/wikis/home/ | ||
5 | - | ||
6 | -== Note on Patches/Pull Requests | ||
7 | - | ||
8 | -* Fork the project. | ||
9 | -* Make your feature addition or bug fix. | ||
10 | -* Add tests for it. This is important so I don't break it in a | ||
11 | - future version unintentionally. | ||
12 | -* Commit, do not mess with Rakefile, version, or history. | ||
13 | - (if you want to have your own version, that is fine but | ||
14 | - bump version in a commit by itself I can ignore when I pull) | ||
15 | -* Send me a pull request. Bonus points for topic branches. | ||
16 | - | ||
17 | -== Running tests | ||
18 | - | ||
19 | - rake | ||
20 | - | ||
21 | -If you get errors about missing gems - just install them. | ||
22 | - | ||
23 | -== Copyright | ||
24 | - | ||
25 | -Copyright (c) 2008,2009 Aslak Hellesøy. See LICENSE for details. | ||
26 | - |
vendor/gems/cucumber-0.4.4/Rakefile
@@ -1,63 +0,0 @@ | @@ -1,63 +0,0 @@ | ||
1 | -# encoding: utf-8 | ||
2 | -require 'rubygems' | ||
3 | -require 'term/ansicolor' | ||
4 | -require 'rake' | ||
5 | -$:.unshift(File.dirname(__FILE__) + '/lib') | ||
6 | -require 'cucumber/formatter/ansicolor' | ||
7 | - | ||
8 | -begin | ||
9 | - require 'jeweler' | ||
10 | - Jeweler::Tasks.new do |gem| | ||
11 | - gem.name = "cucumber" | ||
12 | - gem.summary = %Q{Behaviour Driven Development with elegance and joy} | ||
13 | - gem.description = %Q{A BDD tool written in Ruby} | ||
14 | - gem.email = "cukes@googlegroups.com" | ||
15 | - gem.homepage = "http://cukes.info" | ||
16 | - gem.authors = ["Aslak Hellesøy"] | ||
17 | - gem.rubyforge_project = "rspec" | ||
18 | - | ||
19 | - gem.add_dependency 'term-ansicolor', '1.0.4' | ||
20 | - gem.add_dependency 'treetop', '1.4.2' | ||
21 | - gem.add_dependency 'polyglot', '0.2.9' | ||
22 | - gem.add_dependency 'builder', '2.1.2' | ||
23 | - gem.add_dependency 'diff-lcs', '1.1.2' | ||
24 | - | ||
25 | - gem.add_development_dependency 'nokogiri', '1.3.3' | ||
26 | - gem.add_development_dependency 'prawn', '0.5.1' | ||
27 | - gem.add_development_dependency 'rspec', '1.2.9' | ||
28 | - gem.add_development_dependency 'spork', '0.7.3' | ||
29 | - | ||
30 | - extend Cucumber::Formatter::ANSIColor | ||
31 | - gem.post_install_message = <<-POST_INSTALL_MESSAGE | ||
32 | - | ||
33 | -#{cukes(15)} | ||
34 | - | ||
35 | - #{cukes(1)} U P G R A D I N G #{cukes(1)} | ||
36 | - | ||
37 | -Thank you for installing cucumber-#{Cucumber::VERSION}. | ||
38 | -Please be sure to read http://wiki.github.com/aslakhellesoy/cucumber/upgrading | ||
39 | -for important information about this release. Happy cuking! | ||
40 | - | ||
41 | -#{cukes(15)} | ||
42 | - | ||
43 | -POST_INSTALL_MESSAGE | ||
44 | - end | ||
45 | - | ||
46 | - Jeweler::GemcutterTasks.new | ||
47 | - Jeweler::RubyforgeTasks.new do |rubyforge| | ||
48 | - rubyforge.doc_task = "sdoc" | ||
49 | - end | ||
50 | -rescue LoadError | ||
51 | - puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler" | ||
52 | -end | ||
53 | - | ||
54 | -Dir['gem_tasks/**/*.rake'].each { |rake| load rake } | ||
55 | - | ||
56 | -if(Cucumber::RUBY_1_9) | ||
57 | - task :default => [:check_dependencies, :cucumber] # RSpec doesn't run on 1.9 yet. | ||
58 | -else | ||
59 | - task :default => [:check_dependencies, :spec, :cucumber] | ||
60 | -end | ||
61 | - | ||
62 | -require 'rake/clean' | ||
63 | -CLEAN.include %w(**/*.{log,pyc}) |
vendor/gems/cucumber-0.4.4/VERSION.yml
vendor/gems/cucumber-0.4.4/bin/cucumber
@@ -1,16 +0,0 @@ | @@ -1,16 +0,0 @@ | ||
1 | -#!/usr/bin/env ruby | ||
2 | -$:.unshift(File.dirname(__FILE__) + '/../lib') unless $:.include?(File.dirname(__FILE__) + '/../lib') | ||
3 | - | ||
4 | -require 'cucumber/rspec_neuter' | ||
5 | -require 'cucumber/cli/main' | ||
6 | -begin | ||
7 | - # The dup is to keep ARGV intact, so that tools like ruby-debug can respawn. | ||
8 | - failure = Cucumber::Cli::Main.execute(ARGV.dup) | ||
9 | - Kernel.exit(failure ? 1 : 0) | ||
10 | -rescue SystemExit => e | ||
11 | - Kernel.exit(e.status) | ||
12 | -rescue Exception => e | ||
13 | - STDERR.puts("#{e.message} (#{e.class})") | ||
14 | - STDERR.puts(e.backtrace.join("\n")) | ||
15 | - Kernel.exit(1) | ||
16 | -end | ||
17 | \ No newline at end of file | 0 | \ No newline at end of file |
vendor/gems/cucumber-0.4.4/cucumber.gemspec
@@ -1,750 +0,0 @@ | @@ -1,750 +0,0 @@ | ||
1 | -# Generated by jeweler | ||
2 | -# DO NOT EDIT THIS FILE DIRECTLY | ||
3 | -# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command | ||
4 | -# -*- encoding: utf-8 -*- | ||
5 | - | ||
6 | -Gem::Specification.new do |s| | ||
7 | - s.name = %q{cucumber} | ||
8 | - s.version = "0.4.4" | ||
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{2009-11-13} | ||
13 | - s.default_executable = %q{cucumber} | ||
14 | - s.description = %q{A BDD tool written in Ruby} | ||
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 | - ".gitignore", | ||
24 | - "History.txt", | ||
25 | - "LICENSE", | ||
26 | - "Manifest.txt", | ||
27 | - "README.rdoc", | ||
28 | - "Rakefile", | ||
29 | - "VERSION.yml", | ||
30 | - "bin/cucumber", | ||
31 | - "cucumber.gemspec", | ||
32 | - "cucumber.yml", | ||
33 | - "examples/dos_line_endings/Rakefile", | ||
34 | - "examples/dos_line_endings/features/dos_line_endings.feature", | ||
35 | - "examples/i18n/README.textile", | ||
36 | - "examples/i18n/Rakefile", | ||
37 | - "examples/i18n/ar/Rakefile", | ||
38 | - "examples/i18n/ar/features/addition.feature", | ||
39 | - "examples/i18n/ar/features/step_definitons/calculator_steps.rb", | ||
40 | - "examples/i18n/ar/lib/calculator.rb", | ||
41 | - "examples/i18n/bg/Rakefile", | ||
42 | - "examples/i18n/bg/features/addition.feature", | ||
43 | - "examples/i18n/bg/features/consecutive_calculations.feature", | ||
44 | - "examples/i18n/bg/features/division.feature", | ||
45 | - "examples/i18n/bg/features/step_definitons/calculator_steps.rb", | ||
46 | - "examples/i18n/bg/features/support/env.rb", | ||
47 | - "examples/i18n/bg/features/support/world.rb", | ||
48 | - "examples/i18n/bg/lib/calculator.rb", | ||
49 | - "examples/i18n/cat/Rakefile", | ||
50 | - "examples/i18n/cat/features/step_definitons/calculator_steps.rb", | ||
51 | - "examples/i18n/cat/features/suma.feature", | ||
52 | - "examples/i18n/cat/lib/calculadora.rb", | ||
53 | - "examples/i18n/da/Rakefile", | ||
54 | - "examples/i18n/da/features/sammenlaegning.feature", | ||
55 | - "examples/i18n/da/features/step_definitons/lommeregner_steps.rb", | ||
56 | - "examples/i18n/da/lib/lommeregner.rb", | ||
57 | - "examples/i18n/de/.gitignore", | ||
58 | - "examples/i18n/de/Rakefile", | ||
59 | - "examples/i18n/de/features/addition.feature", | ||
60 | - "examples/i18n/de/features/division.feature", | ||
61 | - "examples/i18n/de/features/step_definitons/calculator_steps.rb", | ||
62 | - "examples/i18n/de/lib/calculator.rb", | ||
63 | - "examples/i18n/en-lol/Rakefile", | ||
64 | - "examples/i18n/en-lol/features/step_definitions/cucumbrz_steps.rb", | ||
65 | - "examples/i18n/en-lol/features/stuffing.feature", | ||
66 | - "examples/i18n/en-lol/features/support/env.rb", | ||
67 | - "examples/i18n/en-lol/lib/basket.rb", | ||
68 | - "examples/i18n/en-lol/lib/belly.rb", | ||
69 | - "examples/i18n/en/.gitignore", | ||
70 | - "examples/i18n/en/Rakefile", | ||
71 | - "examples/i18n/en/features/addition.feature", | ||
72 | - "examples/i18n/en/features/division.feature", | ||
73 | - "examples/i18n/en/features/step_definitons/calculator_steps.rb", | ||
74 | - "examples/i18n/en/lib/calculator.rb", | ||
75 | - "examples/i18n/es/Rakefile", | ||
76 | - "examples/i18n/es/features/adicion.feature", | ||
77 | - "examples/i18n/es/features/step_definitons/calculador_steps.rb", | ||
78 | - "examples/i18n/es/lib/calculador.rb", | ||
79 | - "examples/i18n/et/Rakefile", | ||
80 | - "examples/i18n/et/features/jagamine.feature", | ||
81 | - "examples/i18n/et/features/liitmine.feature", | ||
82 | - "examples/i18n/et/features/step_definitions/kalkulaator_steps.rb", | ||
83 | - "examples/i18n/et/lib/kalkulaator.rb", | ||
84 | - "examples/i18n/fi/.gitignore", | ||
85 | - "examples/i18n/fi/Rakefile", | ||
86 | - "examples/i18n/fi/features/jakolasku.feature", | ||
87 | - "examples/i18n/fi/features/step_definitons/laskin_steps.rb", | ||
88 | - "examples/i18n/fi/features/yhteenlasku.feature", | ||
89 | - "examples/i18n/fi/lib/laskin.rb", | ||
90 | - "examples/i18n/fr/Rakefile", | ||
91 | - "examples/i18n/fr/features/addition.feature", | ||
92 | - "examples/i18n/fr/features/step_definitions/calculatrice_steps.rb", | ||
93 | - "examples/i18n/fr/lib/calculatrice.rb", | ||
94 | - "examples/i18n/he/Rakefile", | ||
95 | - "examples/i18n/he/features/addition.feature", | ||
96 | - "examples/i18n/he/features/division.feature", | ||
97 | - "examples/i18n/he/features/step_definitons/calculator_steps.rb", | ||
98 | - "examples/i18n/he/lib/calculator.rb", | ||
99 | - "examples/i18n/hu/.gitignore", | ||
100 | - "examples/i18n/hu/Rakefile", | ||
101 | - "examples/i18n/hu/features/addition.feature", | ||
102 | - "examples/i18n/hu/features/division.feature", | ||
103 | - "examples/i18n/hu/features/step_definitons/calculator_steps.rb", | ||
104 | - "examples/i18n/hu/lib/calculator.rb", | ||
105 | - "examples/i18n/id/.gitignore", | ||
106 | - "examples/i18n/id/Rakefile", | ||
107 | - "examples/i18n/id/features/addition.feature", | ||
108 | - "examples/i18n/id/features/division.feature", | ||
109 | - "examples/i18n/id/features/step_definitons/calculator_steps.rb", | ||
110 | - "examples/i18n/id/lib/calculator.rb", | ||
111 | - "examples/i18n/it/Rakefile", | ||
112 | - "examples/i18n/it/features/somma.feature", | ||
113 | - "examples/i18n/it/features/step_definitons/calcolatrice_steps.rb", | ||
114 | - "examples/i18n/it/lib/calcolatrice.rb", | ||
115 | - "examples/i18n/ja/.gitignore", | ||
116 | - "examples/i18n/ja/Rakefile", | ||
117 | - "examples/i18n/ja/features/addition.feature", | ||
118 | - "examples/i18n/ja/features/division.feature", | ||
119 | - "examples/i18n/ja/features/step_definitons/calculator_steps.rb", | ||
120 | - "examples/i18n/ja/lib/calculator.rb", | ||
121 | - "examples/i18n/ko/.gitignore", | ||
122 | - "examples/i18n/ko/Rakefile", | ||
123 | - "examples/i18n/ko/features/addition.feature", | ||
124 | - "examples/i18n/ko/features/division.feature", | ||
125 | - "examples/i18n/ko/features/step_definitons/calculator_steps.rb", | ||
126 | - "examples/i18n/ko/lib/calculator.rb", | ||
127 | - "examples/i18n/lt/.gitignore", | ||
128 | - "examples/i18n/lt/Rakefile", | ||
129 | - "examples/i18n/lt/features/addition.feature", | ||
130 | - "examples/i18n/lt/features/division.feature", | ||
131 | - "examples/i18n/lt/features/step_definitons/calculator_steps.rb", | ||
132 | - "examples/i18n/lt/lib/calculator.rb", | ||
133 | - "examples/i18n/lv/Rakefile", | ||
134 | - "examples/i18n/lv/features/addition.feature", | ||
135 | - "examples/i18n/lv/features/division.feature", | ||
136 | - "examples/i18n/lv/features/step_definitons/calculator_steps.rb", | ||
137 | - "examples/i18n/lv/lib/calculator.rb", | ||
138 | - "examples/i18n/no/Rakefile", | ||
139 | - "examples/i18n/no/features/step_definitons/kalkulator_steps.rb", | ||
140 | - "examples/i18n/no/features/summering.feature", | ||
141 | - "examples/i18n/no/features/support/env.rb", | ||
142 | - "examples/i18n/no/lib/kalkulator.rb", | ||
143 | - "examples/i18n/pl/.gitignore", | ||
144 | - "examples/i18n/pl/Rakefile", | ||
145 | - "examples/i18n/pl/features/addition.feature", | ||
146 | - "examples/i18n/pl/features/division.feature", | ||
147 | - "examples/i18n/pl/features/step_definitons/calculator_steps.rb", | ||
148 | - "examples/i18n/pl/features/support/env.rb", | ||
149 | - "examples/i18n/pl/lib/calculator.rb", | ||
150 | - "examples/i18n/pt/Rakefile", | ||
151 | - "examples/i18n/pt/features/adicao.feature", | ||
152 | - "examples/i18n/pt/features/step_definitions/calculadora_steps.rb", | ||
153 | - "examples/i18n/pt/features/support/env.rb", | ||
154 | - "examples/i18n/pt/lib/calculadora.rb", | ||
155 | - "examples/i18n/ro/Rakefile", | ||
156 | - "examples/i18n/ro/features/step_definitons/calculator_steps.rb", | ||
157 | - "examples/i18n/ro/features/suma.feature", | ||
158 | - "examples/i18n/ro/lib/calculator.rb", | ||
159 | - "examples/i18n/ru/Rakefile", | ||
160 | - "examples/i18n/ru/features/addition.feature", | ||
161 | - "examples/i18n/ru/features/consecutive_calculations.feature", | ||
162 | - "examples/i18n/ru/features/division.feature", | ||
163 | - "examples/i18n/ru/features/step_definitons/calculator_steps.rb", | ||
164 | - "examples/i18n/ru/features/support/env.rb", | ||
165 | - "examples/i18n/ru/features/support/world.rb", | ||
166 | - "examples/i18n/ru/lib/calculator.rb", | ||
167 | - "examples/i18n/se/Rakefile", | ||
168 | - "examples/i18n/se/features/step_definitons/kalkulator_steps.rb", | ||
169 | - "examples/i18n/se/features/summering.feature", | ||
170 | - "examples/i18n/se/lib/kalkulator.rb", | ||
171 | - "examples/i18n/sk/.gitignore", | ||
172 | - "examples/i18n/sk/Rakefile", | ||
173 | - "examples/i18n/sk/features/addition.feature", | ||
174 | - "examples/i18n/sk/features/division.feature", | ||
175 | - "examples/i18n/sk/features/step_definitons/calculator_steps.rb", | ||
176 | - "examples/i18n/sk/lib/calculator.rb", | ||
177 | - "examples/i18n/sr-latn/Rakefile", | ||
178 | - "examples/i18n/sr-latn/features/sabiranje.feature", | ||
179 | - "examples/i18n/sr-latn/features/step_definitons/calculator_steps.rb", | ||
180 | - "examples/i18n/sr-latn/lib/calculator.rb", | ||
181 | - "examples/i18n/sr/Rakefile", | ||
182 | - "examples/i18n/sr/features/sabiranje.feature", | ||
183 | - "examples/i18n/sr/features/step_definitons/calculator_steps.rb", | ||
184 | - "examples/i18n/sr/lib/calculator.rb", | ||
185 | - "examples/i18n/tr/.gitignore", | ||
186 | - "examples/i18n/tr/Rakefile", | ||
187 | - "examples/i18n/tr/features/bolme.feature", | ||
188 | - "examples/i18n/tr/features/step_definitons/hesap_makinesi_adimlari.rb", | ||
189 | - "examples/i18n/tr/features/toplama.feature", | ||
190 | - "examples/i18n/tr/lib/hesap_makinesi.rb", | ||
191 | - "examples/i18n/uz/Rakefile", | ||
192 | - "examples/i18n/uz/features/addition.feature", | ||
193 | - "examples/i18n/uz/features/consecutive_calculations.feature", | ||
194 | - "examples/i18n/uz/features/division.feature", | ||
195 | - "examples/i18n/uz/features/step_definitons/calculator_steps.rb", | ||
196 | - "examples/i18n/uz/features/support/env.rb", | ||
197 | - "examples/i18n/uz/features/support/world.rb", | ||
198 | - "examples/i18n/uz/lib/calculator.rb", | ||
199 | - "examples/i18n/zh-CN/Rakefile", | ||
200 | - "examples/i18n/zh-CN/features/addition.feature", | ||
201 | - "examples/i18n/zh-CN/features/step_definitons/calculator_steps.rb", | ||
202 | - "examples/i18n/zh-CN/lib/calculator.rb", | ||
203 | - "examples/i18n/zh-TW/.gitignore", | ||
204 | - "examples/i18n/zh-TW/Rakefile", | ||
205 | - "examples/i18n/zh-TW/features/addition.feature", | ||
206 | - "examples/i18n/zh-TW/features/division.feature", | ||
207 | - "examples/i18n/zh-TW/features/step_definitons/calculator_steps.rb", | ||
208 | - "examples/i18n/zh-TW/lib/calculator.rb", | ||
209 | - "examples/junit/features/one_passing_one_failing.feature", | ||
210 | - "examples/junit/features/pending.feature", | ||
211 | - "examples/junit/features/step_definitions/steps.rb", | ||
212 | - "examples/python/features/fibonacci.feature", | ||
213 | - "examples/python/features/step_definitions/fib_steps.py", | ||
214 | - "examples/python/lib/.gitignore", | ||
215 | - "examples/python/lib/fib.py", | ||
216 | - "examples/ramaze/README.textile", | ||
217 | - "examples/ramaze/Rakefile", | ||
218 | - "examples/ramaze/app.rb", | ||
219 | - "examples/ramaze/features/add.feature", | ||
220 | - "examples/ramaze/features/step_definitions/add_steps.rb", | ||
221 | - "examples/ramaze/features/support/env.rb", | ||
222 | - "examples/ramaze/layout/default.html.erb", | ||
223 | - "examples/ramaze/view/index.html.erb", | ||
224 | - "examples/ruby2python/features/fibonacci.feature", | ||
225 | - "examples/ruby2python/features/step_definitions/fib_steps.rb", | ||
226 | - "examples/ruby2python/features/support/env.rb", | ||
227 | - "examples/ruby2python/lib/.gitignore", | ||
228 | - "examples/ruby2python/lib/fib.py", | ||
229 | - "examples/selenium/Rakefile", | ||
230 | - "examples/selenium/features/search.feature", | ||
231 | - "examples/selenium/features/step_definitons/search_steps.rb", | ||
232 | - "examples/selenium/features/support/env.rb", | ||
233 | - "examples/selenium_webrat/Rakefile", | ||
234 | - "examples/selenium_webrat/config.ru", | ||
235 | - "examples/selenium_webrat/features/search.feature", | ||
236 | - "examples/selenium_webrat/features/step_definitons/search_steps.rb", | ||
237 | - "examples/selenium_webrat/features/support/env.rb", | ||
238 | - "examples/self_test/.gitignore", | ||
239 | - "examples/self_test/README.textile", | ||
240 | - "examples/self_test/Rakefile", | ||
241 | - "examples/self_test/features/background/background_tagged_before_on_outline.feature", | ||
242 | - "examples/self_test/features/background/background_with_name.feature", | ||
243 | - "examples/self_test/features/background/failing_background.feature", | ||
244 | - "examples/self_test/features/background/failing_background_after_success.feature", | ||
245 | - "examples/self_test/features/background/multiline_args_background.feature", | ||
246 | - "examples/self_test/features/background/passing_background.feature", | ||
247 | - "examples/self_test/features/background/pending_background.feature", | ||
248 | - "examples/self_test/features/background/scenario_outline_failing_background.feature", | ||
249 | - "examples/self_test/features/background/scenario_outline_passing_background.feature", | ||
250 | - "examples/self_test/features/call_undefined_step_from_step_def.feature", | ||
251 | - "examples/self_test/features/failing_expectation.feature", | ||
252 | - "examples/self_test/features/lots_of_undefined.feature", | ||
253 | - "examples/self_test/features/multiline_name.feature", | ||
254 | - "examples/self_test/features/outline_sample.feature", | ||
255 | - "examples/self_test/features/sample.feature", | ||
256 | - "examples/self_test/features/search_sample.feature", | ||
257 | - "examples/self_test/features/step_definitions/sample_steps.rb", | ||
258 | - "examples/self_test/features/support/env.rb", | ||
259 | - "examples/self_test/features/tags_sample.feature", | ||
260 | - "examples/self_test/features/tons_of_cukes.feature", | ||
261 | - "examples/self_test/features/undefined_multiline_args.feature", | ||
262 | - "examples/self_test/list-of-features.txt", | ||
263 | - "examples/sinatra/README.textile", | ||
264 | - "examples/sinatra/Rakefile", | ||
265 | - "examples/sinatra/app.rb", | ||
266 | - "examples/sinatra/features/add.feature", | ||
267 | - "examples/sinatra/features/step_definitions/add_steps.rb", | ||
268 | - "examples/sinatra/features/support/env.rb", | ||
269 | - "examples/sinatra/views/add.erb", | ||
270 | - "examples/sinatra/views/layout.erb", | ||
271 | - "examples/steps_library/features/step_definitions/steps_lib1.rb", | ||
272 | - "examples/steps_library/features/step_definitions/steps_lib2.rb", | ||
273 | - "examples/test_unit/Rakefile", | ||
274 | - "examples/test_unit/features/step_definitions/test_unit_steps.rb", | ||
275 | - "examples/test_unit/features/test_unit.feature", | ||
276 | - "examples/tickets/Rakefile", | ||
277 | - "examples/tickets/features.html", | ||
278 | - "examples/tickets/features/172.feature", | ||
279 | - "examples/tickets/features/177/1.feature", | ||
280 | - "examples/tickets/features/177/2.feature", | ||
281 | - "examples/tickets/features/177/3.feature", | ||
282 | - "examples/tickets/features/180.feature", | ||
283 | - "examples/tickets/features/229/tagged_hooks.feature", | ||
284 | - "examples/tickets/features/229/tagged_hooks.rb", | ||
285 | - "examples/tickets/features/236.feature", | ||
286 | - "examples/tickets/features/241.feature", | ||
287 | - "examples/tickets/features/246.feature", | ||
288 | - "examples/tickets/features/248.feature", | ||
289 | - "examples/tickets/features/270/back.feature", | ||
290 | - "examples/tickets/features/270/back.steps.rb", | ||
291 | - "examples/tickets/features/272/hooks.feature", | ||
292 | - "examples/tickets/features/272/hooks_steps.rb", | ||
293 | - "examples/tickets/features/279/py_string_indent.feature", | ||
294 | - "examples/tickets/features/279/py_string_indent.steps.rb", | ||
295 | - "examples/tickets/features/279/wrong.feature_", | ||
296 | - "examples/tickets/features/301/filter_background_tagged_hooks.feature", | ||
297 | - "examples/tickets/features/301/filter_background_tagged_hooks_steps.rb", | ||
298 | - "examples/tickets/features/306/only_background.feature", | ||
299 | - "examples/tickets/features/lib/eatting_machine.rb", | ||
300 | - "examples/tickets/features/lib/pantry.rb", | ||
301 | - "examples/tickets/features/scenario_outline.feature", | ||
302 | - "examples/tickets/features/step_definitons/246_steps.rb", | ||
303 | - "examples/tickets/features/step_definitons/248_steps.rb", | ||
304 | - "examples/tickets/features/step_definitons/scenario_outline_steps.rb", | ||
305 | - "examples/tickets/features/step_definitons/tickets_steps.rb", | ||
306 | - "examples/tickets/features/table_diffing.feature", | ||
307 | - "examples/tickets/features/tickets.feature", | ||
308 | - "examples/watir/README.textile", | ||
309 | - "examples/watir/Rakefile", | ||
310 | - "examples/watir/features/search.feature", | ||
311 | - "examples/watir/features/step_definitions/search_steps.rb", | ||
312 | - "examples/watir/features/support/env.rb", | ||
313 | - "examples/watir/features/support/screenshots.rb", | ||
314 | - "examples/webrat/features/search.feature", | ||
315 | - "examples/webrat/features/step_definitions/kvasir_steps.rb", | ||
316 | - "examples/webrat/features/support/env.rb", | ||
317 | - "features/announce.feature", | ||
318 | - "features/background.feature", | ||
319 | - "features/bug_371.feature", | ||
320 | - "features/bug_464.feature", | ||
321 | - "features/bug_475.feature", | ||
322 | - "features/call_many_steps.feature", | ||
323 | - "features/cucumber_cli.feature", | ||
324 | - "features/cucumber_cli_diff_disabled.feature", | ||
325 | - "features/cucumber_cli_outlines.feature", | ||
326 | - "features/custom_formatter.feature", | ||
327 | - "features/default_snippets.feature", | ||
328 | - "features/drb_server_integration.feature", | ||
329 | - "features/exception_in_after_block.feature", | ||
330 | - "features/exception_in_after_step_block.feature", | ||
331 | - "features/exception_in_before_block.feature", | ||
332 | - "features/exclude_files.feature", | ||
333 | - "features/expand.feature", | ||
334 | - "features/html_formatter.feature", | ||
335 | - "features/html_formatter/a.html", | ||
336 | - "features/junit_formatter.feature", | ||
337 | - "features/language_from_header.feature", | ||
338 | - "features/language_help.feature", | ||
339 | - "features/listener_debugger_formatter.feature", | ||
340 | - "features/multiline_names.feature", | ||
341 | - "features/negative_tagged_hooks.feature", | ||
342 | - "features/post_configuration_hook.feature", | ||
343 | - "features/profiles.feature", | ||
344 | - "features/rake_task.feature", | ||
345 | - "features/report_called_undefined_steps.feature", | ||
346 | - "features/simplest.feature", | ||
347 | - "features/snippet.feature", | ||
348 | - "features/step_definitions/cucumber_steps.rb", | ||
349 | - "features/step_definitions/extra_steps.rb", | ||
350 | - "features/step_definitions/simplest_steps.rb", | ||
351 | - "features/step_definitions/wire_steps.rb", | ||
352 | - "features/support/env.rb", | ||
353 | - "features/support/env.rb.simplest", | ||
354 | - "features/support/fake_wire_server.rb", | ||
355 | - "features/table_diffing.feature", | ||
356 | - "features/table_mapping.feature", | ||
357 | - "features/tag_logic.feature", | ||
358 | - "features/transform.feature", | ||
359 | - "features/unicode_table.feature", | ||
360 | - "features/usage_and_stepdefs_formatter.feature", | ||
361 | - "features/wire_protocol.feature", | ||
362 | - "features/work_in_progress.feature", | ||
363 | - "gem_tasks/contributors.rake", | ||
364 | - "gem_tasks/environment.rake", | ||
365 | - "gem_tasks/features.rake", | ||
366 | - "gem_tasks/fix_cr_lf.rake", | ||
367 | - "gem_tasks/flog.rake", | ||
368 | - "gem_tasks/rspec.rake", | ||
369 | - "gem_tasks/sass.rake", | ||
370 | - "gem_tasks/sdoc.rake", | ||
371 | - "lib/README.rdoc", | ||
372 | - "lib/autotest/cucumber.rb", | ||
373 | - "lib/autotest/cucumber_mixin.rb", | ||
374 | - "lib/autotest/cucumber_rails.rb", | ||
375 | - "lib/autotest/cucumber_rails_rspec.rb", | ||
376 | - "lib/autotest/cucumber_rspec.rb", | ||
377 | - "lib/autotest/discover.rb", | ||
378 | - "lib/cucumber.rb", | ||
379 | - "lib/cucumber/ast.rb", | ||
380 | - "lib/cucumber/ast/background.rb", | ||
381 | - "lib/cucumber/ast/comment.rb", | ||
382 | - "lib/cucumber/ast/examples.rb", | ||
383 | - "lib/cucumber/ast/feature.rb", | ||
384 | - "lib/cucumber/ast/feature_element.rb", | ||
385 | - "lib/cucumber/ast/features.rb", | ||
386 | - "lib/cucumber/ast/outline_table.rb", | ||
387 | - "lib/cucumber/ast/py_string.rb", | ||
388 | - "lib/cucumber/ast/scenario.rb", | ||
389 | - "lib/cucumber/ast/scenario_outline.rb", | ||
390 | - "lib/cucumber/ast/step.rb", | ||
391 | - "lib/cucumber/ast/step_collection.rb", | ||
392 | - "lib/cucumber/ast/step_invocation.rb", | ||
393 | - "lib/cucumber/ast/table.rb", | ||
394 | - "lib/cucumber/ast/tags.rb", | ||
395 | - "lib/cucumber/ast/tree_walker.rb", | ||
396 | - "lib/cucumber/ast/visitor.rb", | ||
397 | - "lib/cucumber/broadcaster.rb", | ||
398 | - "lib/cucumber/cli/configuration.rb", | ||
399 | - "lib/cucumber/cli/drb_client.rb", | ||
400 | - "lib/cucumber/cli/language_help_formatter.rb", | ||
401 | - "lib/cucumber/cli/main.rb", | ||
402 | - "lib/cucumber/cli/options.rb", | ||
403 | - "lib/cucumber/cli/profile_loader.rb", | ||
404 | - "lib/cucumber/constantize.rb", | ||
405 | - "lib/cucumber/core_ext/instance_exec.rb", | ||
406 | - "lib/cucumber/core_ext/proc.rb", | ||
407 | - "lib/cucumber/core_ext/string.rb", | ||
408 | - "lib/cucumber/feature_file.rb", | ||
409 | - "lib/cucumber/filter.rb", | ||
410 | - "lib/cucumber/formatter/ansicolor.rb", | ||
411 | - "lib/cucumber/formatter/color_io.rb", | ||
412 | - "lib/cucumber/formatter/console.rb", | ||
413 | - "lib/cucumber/formatter/cucumber.css", | ||
414 | - "lib/cucumber/formatter/cucumber.sass", | ||
415 | - "lib/cucumber/formatter/debug.rb", | ||
416 | - "lib/cucumber/formatter/duration.rb", | ||
417 | - "lib/cucumber/formatter/html.rb", | ||
418 | - "lib/cucumber/formatter/junit.rb", | ||
419 | - "lib/cucumber/formatter/ordered_xml_markup.rb", | ||
420 | - "lib/cucumber/formatter/pdf.rb", | ||
421 | - "lib/cucumber/formatter/pretty.rb", | ||
422 | - "lib/cucumber/formatter/progress.rb", | ||
423 | - "lib/cucumber/formatter/rerun.rb", | ||
424 | - "lib/cucumber/formatter/stepdefs.rb", | ||
425 | - "lib/cucumber/formatter/steps.rb", | ||
426 | - "lib/cucumber/formatter/summary.rb", | ||
427 | - "lib/cucumber/formatter/tag_cloud.rb", | ||
428 | - "lib/cucumber/formatter/unicode.rb", | ||
429 | - "lib/cucumber/formatter/usage.rb", | ||
430 | - "lib/cucumber/language_support.rb", | ||
431 | - "lib/cucumber/language_support/language_methods.rb", | ||
432 | - "lib/cucumber/languages.yml", | ||
433 | - "lib/cucumber/parser.rb", | ||
434 | - "lib/cucumber/parser/common.rb", | ||
435 | - "lib/cucumber/parser/common.tt", | ||
436 | - "lib/cucumber/parser/feature.rb", | ||
437 | - "lib/cucumber/parser/feature.tt", | ||
438 | - "lib/cucumber/parser/i18n.tt", | ||
439 | - "lib/cucumber/parser/natural_language.rb", | ||
440 | - "lib/cucumber/parser/py_string.rb", | ||
441 | - "lib/cucumber/parser/py_string.tt", | ||
442 | - "lib/cucumber/parser/table.rb", | ||
443 | - "lib/cucumber/parser/table.tt", | ||
444 | - "lib/cucumber/parser/treetop_ext.rb", | ||
445 | - "lib/cucumber/platform.rb", | ||
446 | - "lib/cucumber/py_support/py_dsl.py", | ||
447 | - "lib/cucumber/py_support/py_language.py", | ||
448 | - "lib/cucumber/py_support/py_language.rb", | ||
449 | - "lib/cucumber/rails/action_controller.rb", | ||
450 | - "lib/cucumber/rails/active_record.rb", | ||
451 | - "lib/cucumber/rails/rspec.rb", | ||
452 | - "lib/cucumber/rails/test_unit.rb", | ||
453 | - "lib/cucumber/rails/world.rb", | ||
454 | - "lib/cucumber/rake/task.rb", | ||
455 | - "lib/cucumber/rb_support/rb_dsl.rb", | ||
456 | - "lib/cucumber/rb_support/rb_hook.rb", | ||
457 | - "lib/cucumber/rb_support/rb_language.rb", | ||
458 | - "lib/cucumber/rb_support/rb_step_definition.rb", | ||
459 | - "lib/cucumber/rb_support/rb_transform.rb", | ||
460 | - "lib/cucumber/rb_support/rb_world.rb", | ||
461 | - "lib/cucumber/rb_support/regexp_argument_matcher.rb", | ||
462 | - "lib/cucumber/rspec_neuter.rb", | ||
463 | - "lib/cucumber/step_argument.rb", | ||
464 | - "lib/cucumber/step_definition_light.rb", | ||
465 | - "lib/cucumber/step_match.rb", | ||
466 | - "lib/cucumber/step_mother.rb", | ||
467 | - "lib/cucumber/webrat/element_locator.rb", | ||
468 | - "lib/cucumber/webrat/table_locator.rb", | ||
469 | - "lib/cucumber/wire_support/connection.rb", | ||
470 | - "lib/cucumber/wire_support/request_handler.rb", | ||
471 | - "lib/cucumber/wire_support/wire_exception.rb", | ||
472 | - "lib/cucumber/wire_support/wire_language.rb", | ||
473 | - "lib/cucumber/wire_support/wire_packet.rb", | ||
474 | - "lib/cucumber/wire_support/wire_protocol.rb", | ||
475 | - "lib/cucumber/wire_support/wire_step_definition.rb", | ||
476 | - "rails_generators/cucumber/USAGE", | ||
477 | - "rails_generators/cucumber/cucumber_generator.rb", | ||
478 | - "rails_generators/cucumber/templates/cucumber", | ||
479 | - "rails_generators/cucumber/templates/cucumber.rake", | ||
480 | - "rails_generators/cucumber/templates/cucumber_environment.rb", | ||
481 | - "rails_generators/cucumber/templates/env.rb", | ||
482 | - "rails_generators/cucumber/templates/paths.rb", | ||
483 | - "rails_generators/cucumber/templates/spork_env.rb", | ||
484 | - "rails_generators/cucumber/templates/version_check.rb", | ||
485 | - "rails_generators/cucumber/templates/webrat_steps.rb", | ||
486 | - "rails_generators/feature/USAGE", | ||
487 | - "rails_generators/feature/feature_generator.rb", | ||
488 | - "rails_generators/feature/templates/feature.erb", | ||
489 | - "rails_generators/feature/templates/steps.erb", | ||
490 | - "spec/cucumber/ast/background_spec.rb", | ||
491 | - "spec/cucumber/ast/feature_element_spec.rb", | ||
492 | - "spec/cucumber/ast/feature_factory.rb", | ||
493 | - "spec/cucumber/ast/feature_spec.rb", | ||
494 | - "spec/cucumber/ast/outline_table_spec.rb", | ||
495 | - "spec/cucumber/ast/py_string_spec.rb", | ||
496 | - "spec/cucumber/ast/scenario_outline_spec.rb", | ||
497 | - "spec/cucumber/ast/scenario_spec.rb", | ||
498 | - "spec/cucumber/ast/step_collection_spec.rb", | ||
499 | - "spec/cucumber/ast/step_spec.rb", | ||
500 | - "spec/cucumber/ast/table_spec.rb", | ||
501 | - "spec/cucumber/ast/tags_spec.rb", | ||
502 | - "spec/cucumber/ast/tree_walker_spec.rb", | ||
503 | - "spec/cucumber/broadcaster_spec.rb", | ||
504 | - "spec/cucumber/cli/configuration_spec.rb", | ||
505 | - "spec/cucumber/cli/drb_client_spec.rb", | ||
506 | - "spec/cucumber/cli/main_spec.rb", | ||
507 | - "spec/cucumber/cli/options_spec.rb", | ||
508 | - "spec/cucumber/cli/profile_loader_spec.rb", | ||
509 | - "spec/cucumber/core_ext/proc_spec.rb", | ||
510 | - "spec/cucumber/formatter/ansicolor_spec.rb", | ||
511 | - "spec/cucumber/formatter/color_io_spec.rb", | ||
512 | - "spec/cucumber/formatter/console_spec.rb", | ||
513 | - "spec/cucumber/formatter/duration_spec.rb", | ||
514 | - "spec/cucumber/formatter/html_spec.rb", | ||
515 | - "spec/cucumber/formatter/junit_spec.rb", | ||
516 | - "spec/cucumber/formatter/progress_spec.rb", | ||
517 | - "spec/cucumber/formatter/spec_helper.rb", | ||
518 | - "spec/cucumber/parser/feature_parser_spec.rb", | ||
519 | - "spec/cucumber/parser/table_parser_spec.rb", | ||
520 | - "spec/cucumber/rb_support/rb_step_definition_spec.rb", | ||
521 | - "spec/cucumber/rb_support/regexp_argument_matcher_spec.rb", | ||
522 | - "spec/cucumber/sell_cucumbers.feature", | ||
523 | - "spec/cucumber/step_match_spec.rb", | ||
524 | - "spec/cucumber/step_mother_spec.rb", | ||
525 | - "spec/cucumber/treetop_parser/empty_feature.feature", | ||
526 | - "spec/cucumber/treetop_parser/empty_scenario.feature", | ||
527 | - "spec/cucumber/treetop_parser/empty_scenario_outline.feature", | ||
528 | - "spec/cucumber/treetop_parser/fit_scenario.feature", | ||
529 | - "spec/cucumber/treetop_parser/given_scenario.feature", | ||
530 | - "spec/cucumber/treetop_parser/invalid_scenario_outlines.feature", | ||
531 | - "spec/cucumber/treetop_parser/multiline_steps.feature", | ||
532 | - "spec/cucumber/treetop_parser/multiple_tables.feature", | ||
533 | - "spec/cucumber/treetop_parser/scenario_outline.feature", | ||
534 | - "spec/cucumber/treetop_parser/spaces.feature", | ||
535 | - "spec/cucumber/treetop_parser/test_dos.feature", | ||
536 | - "spec/cucumber/treetop_parser/with_comments.feature", | ||
537 | - "spec/cucumber/treetop_parser/with_tags.feature", | ||
538 | - "spec/cucumber/wire_support/wire_language_spec.rb", | ||
539 | - "spec/cucumber/wire_support/wire_packet_spec.rb", | ||
540 | - "spec/cucumber/world/pending_spec.rb", | ||
541 | - "spec/spec.opts", | ||
542 | - "spec/spec_helper.rb" | ||
543 | - ] | ||
544 | - s.homepage = %q{http://cukes.info} | ||
545 | - s.post_install_message = %q{ | ||
546 | -(::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) | ||
547 | - | ||
548 | - (::) U P G R A D I N G (::) | ||
549 | - | ||
550 | -Thank you for installing cucumber-0.4.4. | ||
551 | -Please be sure to read http://wiki.github.com/aslakhellesoy/cucumber/upgrading | ||
552 | -for important information about this release. Happy cuking! | ||
553 | - | ||
554 | -(::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) | ||
555 | - | ||
556 | -} | ||
557 | - s.rdoc_options = ["--charset=UTF-8"] | ||
558 | - s.require_paths = ["lib"] | ||
559 | - s.rubyforge_project = %q{rspec} | ||
560 | - s.rubygems_version = %q{1.3.5} | ||
561 | - s.summary = %q{Behaviour Driven Development with elegance and joy} | ||
562 | - s.test_files = [ | ||
563 | - "spec/cucumber/ast/background_spec.rb", | ||
564 | - "spec/cucumber/ast/feature_element_spec.rb", | ||
565 | - "spec/cucumber/ast/feature_factory.rb", | ||
566 | - "spec/cucumber/ast/feature_spec.rb", | ||
567 | - "spec/cucumber/ast/outline_table_spec.rb", | ||
568 | - "spec/cucumber/ast/py_string_spec.rb", | ||
569 | - "spec/cucumber/ast/scenario_outline_spec.rb", | ||
570 | - "spec/cucumber/ast/scenario_spec.rb", | ||
571 | - "spec/cucumber/ast/step_collection_spec.rb", | ||
572 | - "spec/cucumber/ast/step_spec.rb", | ||
573 | - "spec/cucumber/ast/table_spec.rb", | ||
574 | - "spec/cucumber/ast/tags_spec.rb", | ||
575 | - "spec/cucumber/ast/tree_walker_spec.rb", | ||
576 | - "spec/cucumber/broadcaster_spec.rb", | ||
577 | - "spec/cucumber/cli/configuration_spec.rb", | ||
578 | - "spec/cucumber/cli/drb_client_spec.rb", | ||
579 | - "spec/cucumber/cli/main_spec.rb", | ||
580 | - "spec/cucumber/cli/options_spec.rb", | ||
581 | - "spec/cucumber/cli/profile_loader_spec.rb", | ||
582 | - "spec/cucumber/core_ext/proc_spec.rb", | ||
583 | - "spec/cucumber/formatter/ansicolor_spec.rb", | ||
584 | - "spec/cucumber/formatter/color_io_spec.rb", | ||
585 | - "spec/cucumber/formatter/console_spec.rb", | ||
586 | - "spec/cucumber/formatter/duration_spec.rb", | ||
587 | - "spec/cucumber/formatter/html_spec.rb", | ||
588 | - "spec/cucumber/formatter/junit_spec.rb", | ||
589 | - "spec/cucumber/formatter/progress_spec.rb", | ||
590 | - "spec/cucumber/formatter/spec_helper.rb", | ||
591 | - "spec/cucumber/parser/feature_parser_spec.rb", | ||
592 | - "spec/cucumber/parser/table_parser_spec.rb", | ||
593 | - "spec/cucumber/rb_support/rb_step_definition_spec.rb", | ||
594 | - "spec/cucumber/rb_support/regexp_argument_matcher_spec.rb", | ||
595 | - "spec/cucumber/step_match_spec.rb", | ||
596 | - "spec/cucumber/step_mother_spec.rb", | ||
597 | - "spec/cucumber/wire_support/wire_language_spec.rb", | ||
598 | - "spec/cucumber/wire_support/wire_packet_spec.rb", | ||
599 | - "spec/cucumber/world/pending_spec.rb", | ||
600 | - "spec/spec_helper.rb", | ||
601 | - "examples/i18n/ar/features/step_definitons/calculator_steps.rb", | ||
602 | - "examples/i18n/ar/lib/calculator.rb", | ||
603 | - "examples/i18n/bg/features/step_definitons/calculator_steps.rb", | ||
604 | - "examples/i18n/bg/features/support/env.rb", | ||
605 | - "examples/i18n/bg/features/support/world.rb", | ||
606 | - "examples/i18n/bg/lib/calculator.rb", | ||
607 | - "examples/i18n/cat/features/step_definitons/calculator_steps.rb", | ||
608 | - "examples/i18n/cat/lib/calculadora.rb", | ||
609 | - "examples/i18n/da/features/step_definitons/lommeregner_steps.rb", | ||
610 | - "examples/i18n/da/lib/lommeregner.rb", | ||
611 | - "examples/i18n/de/features/step_definitons/calculator_steps.rb", | ||
612 | - "examples/i18n/de/lib/calculator.rb", | ||
613 | - "examples/i18n/en/features/step_definitons/calculator_steps.rb", | ||
614 | - "examples/i18n/en/lib/calculator.rb", | ||
615 | - "examples/i18n/en-lol/features/step_definitions/cucumbrz_steps.rb", | ||
616 | - "examples/i18n/en-lol/features/support/env.rb", | ||
617 | - "examples/i18n/en-lol/lib/basket.rb", | ||
618 | - "examples/i18n/en-lol/lib/belly.rb", | ||
619 | - "examples/i18n/es/features/step_definitons/calculador_steps.rb", | ||
620 | - "examples/i18n/es/lib/calculador.rb", | ||
621 | - "examples/i18n/et/features/step_definitions/kalkulaator_steps.rb", | ||
622 | - "examples/i18n/et/lib/kalkulaator.rb", | ||
623 | - "examples/i18n/fi/features/step_definitons/laskin_steps.rb", | ||
624 | - "examples/i18n/fi/lib/laskin.rb", | ||
625 | - "examples/i18n/fr/features/step_definitions/calculatrice_steps.rb", | ||
626 | - "examples/i18n/fr/lib/calculatrice.rb", | ||
627 | - "examples/i18n/he/features/step_definitons/calculator_steps.rb", | ||
628 | - "examples/i18n/he/lib/calculator.rb", | ||
629 | - "examples/i18n/hu/features/step_definitons/calculator_steps.rb", | ||
630 | - "examples/i18n/hu/lib/calculator.rb", | ||
631 | - "examples/i18n/id/features/step_definitons/calculator_steps.rb", | ||
632 | - "examples/i18n/id/lib/calculator.rb", | ||
633 | - "examples/i18n/it/features/step_definitons/calcolatrice_steps.rb", | ||
634 | - "examples/i18n/it/lib/calcolatrice.rb", | ||
635 | - "examples/i18n/ja/features/step_definitons/calculator_steps.rb", | ||
636 | - "examples/i18n/ja/lib/calculator.rb", | ||
637 | - "examples/i18n/ko/features/step_definitons/calculator_steps.rb", | ||
638 | - "examples/i18n/ko/lib/calculator.rb", | ||
639 | - "examples/i18n/lt/features/step_definitons/calculator_steps.rb", | ||
640 | - "examples/i18n/lt/lib/calculator.rb", | ||
641 | - "examples/i18n/lv/features/step_definitons/calculator_steps.rb", | ||
642 | - "examples/i18n/lv/lib/calculator.rb", | ||
643 | - "examples/i18n/no/features/step_definitons/kalkulator_steps.rb", | ||
644 | - "examples/i18n/no/features/support/env.rb", | ||
645 | - "examples/i18n/no/lib/kalkulator.rb", | ||
646 | - "examples/i18n/pl/features/step_definitons/calculator_steps.rb", | ||
647 | - "examples/i18n/pl/features/support/env.rb", | ||
648 | - "examples/i18n/pl/lib/calculator.rb", | ||
649 | - "examples/i18n/pt/features/step_definitions/calculadora_steps.rb", | ||
650 | - "examples/i18n/pt/features/support/env.rb", | ||
651 | - "examples/i18n/pt/lib/calculadora.rb", | ||
652 | - "examples/i18n/ro/features/step_definitons/calculator_steps.rb", | ||
653 | - "examples/i18n/ro/lib/calculator.rb", | ||
654 | - "examples/i18n/ru/features/step_definitons/calculator_steps.rb", | ||
655 | - "examples/i18n/ru/features/support/env.rb", | ||
656 | - "examples/i18n/ru/features/support/world.rb", | ||
657 | - "examples/i18n/ru/lib/calculator.rb", | ||
658 | - "examples/i18n/se/features/step_definitons/kalkulator_steps.rb", | ||
659 | - "examples/i18n/se/lib/kalkulator.rb", | ||
660 | - "examples/i18n/sk/features/step_definitons/calculator_steps.rb", | ||
661 | - "examples/i18n/sk/lib/calculator.rb", | ||
662 | - "examples/i18n/sr/features/step_definitons/calculator_steps.rb", | ||
663 | - "examples/i18n/sr/lib/calculator.rb", | ||
664 | - "examples/i18n/sr-latn/features/step_definitons/calculator_steps.rb", | ||
665 | - "examples/i18n/sr-latn/lib/calculator.rb", | ||
666 | - "examples/i18n/tr/features/step_definitons/hesap_makinesi_adimlari.rb", | ||
667 | - "examples/i18n/tr/lib/hesap_makinesi.rb", | ||
668 | - "examples/i18n/uz/features/step_definitons/calculator_steps.rb", | ||
669 | - "examples/i18n/uz/features/support/env.rb", | ||
670 | - "examples/i18n/uz/features/support/world.rb", | ||
671 | - "examples/i18n/uz/lib/calculator.rb", | ||
672 | - "examples/i18n/zh-CN/features/step_definitons/calculator_steps.rb", | ||
673 | - "examples/i18n/zh-CN/lib/calculator.rb", | ||
674 | - "examples/i18n/zh-TW/features/step_definitons/calculator_steps.rb", | ||
675 | - "examples/i18n/zh-TW/lib/calculator.rb", | ||
676 | - "examples/junit/features/step_definitions/steps.rb", | ||
677 | - "examples/ramaze/app.rb", | ||
678 | - "examples/ramaze/features/step_definitions/add_steps.rb", | ||
679 | - "examples/ramaze/features/support/env.rb", | ||
680 | - "examples/ruby2python/features/step_definitions/fib_steps.rb", | ||
681 | - "examples/ruby2python/features/support/env.rb", | ||
682 | - "examples/selenium/features/step_definitons/search_steps.rb", | ||
683 | - "examples/selenium/features/support/env.rb", | ||
684 | - "examples/selenium_webrat/features/step_definitons/search_steps.rb", | ||
685 | - "examples/selenium_webrat/features/support/env.rb", | ||
686 | - "examples/self_test/features/step_definitions/sample_steps.rb", | ||
687 | - "examples/self_test/features/support/env.rb", | ||
688 | - "examples/self_test/tmp/features/step_definitions/steps.rb", | ||
689 | - "examples/sinatra/app.rb", | ||
690 | - "examples/sinatra/features/step_definitions/add_steps.rb", | ||
691 | - "examples/sinatra/features/support/env.rb", | ||
692 | - "examples/steps_library/features/step_definitions/steps_lib1.rb", | ||
693 | - "examples/steps_library/features/step_definitions/steps_lib2.rb", | ||
694 | - "examples/test_unit/features/step_definitions/test_unit_steps.rb", | ||
695 | - "examples/tickets/features/229/tagged_hooks.rb", | ||
696 | - "examples/tickets/features/270/back.steps.rb", | ||
697 | - "examples/tickets/features/272/hooks_steps.rb", | ||
698 | - "examples/tickets/features/279/py_string_indent.steps.rb", | ||
699 | - "examples/tickets/features/301/filter_background_tagged_hooks_steps.rb", | ||
700 | - "examples/tickets/features/lib/eatting_machine.rb", | ||
701 | - "examples/tickets/features/lib/pantry.rb", | ||
702 | - "examples/tickets/features/step_definitons/246_steps.rb", | ||
703 | - "examples/tickets/features/step_definitons/248_steps.rb", | ||
704 | - "examples/tickets/features/step_definitons/scenario_outline_steps.rb", | ||
705 | - "examples/tickets/features/step_definitons/tickets_steps.rb", | ||
706 | - "examples/watir/features/step_definitions/search_steps.rb", | ||
707 | - "examples/watir/features/support/env.rb", | ||
708 | - "examples/watir/features/support/screenshots.rb", | ||
709 | - "examples/webrat/features/step_definitions/kvasir_steps.rb", | ||
710 | - "examples/webrat/features/support/env.rb" | ||
711 | - ] | ||
712 | - | ||
713 | - if s.respond_to? :specification_version then | ||
714 | - current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION | ||
715 | - s.specification_version = 3 | ||
716 | - | ||
717 | - if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then | ||
718 | - s.add_runtime_dependency(%q<term-ansicolor>, ["= 1.0.4"]) | ||
719 | - s.add_runtime_dependency(%q<treetop>, ["= 1.4.2"]) | ||
720 | - s.add_runtime_dependency(%q<polyglot>, ["= 0.2.9"]) | ||
721 | - s.add_runtime_dependency(%q<builder>, ["= 2.1.2"]) | ||
722 | - s.add_runtime_dependency(%q<diff-lcs>, ["= 1.1.2"]) | ||
723 | - s.add_development_dependency(%q<nokogiri>, ["= 1.3.3"]) | ||
724 | - s.add_development_dependency(%q<prawn>, ["= 0.5.1"]) | ||
725 | - s.add_development_dependency(%q<rspec>, ["= 1.2.9"]) | ||
726 | - s.add_development_dependency(%q<spork>, ["= 0.7.3"]) | ||
727 | - else | ||
728 | - s.add_dependency(%q<term-ansicolor>, ["= 1.0.4"]) | ||
729 | - s.add_dependency(%q<treetop>, ["= 1.4.2"]) | ||
730 | - s.add_dependency(%q<polyglot>, ["= 0.2.9"]) | ||
731 | - s.add_dependency(%q<builder>, ["= 2.1.2"]) | ||
732 | - s.add_dependency(%q<diff-lcs>, ["= 1.1.2"]) | ||
733 | - s.add_dependency(%q<nokogiri>, ["= 1.3.3"]) | ||
734 | - s.add_dependency(%q<prawn>, ["= 0.5.1"]) | ||
735 | - s.add_dependency(%q<rspec>, ["= 1.2.9"]) | ||
736 | - s.add_dependency(%q<spork>, ["= 0.7.3"]) | ||
737 | - end | ||
738 | - else | ||
739 | - s.add_dependency(%q<term-ansicolor>, ["= 1.0.4"]) | ||
740 | - s.add_dependency(%q<treetop>, ["= 1.4.2"]) | ||
741 | - s.add_dependency(%q<polyglot>, ["= 0.2.9"]) | ||
742 | - s.add_dependency(%q<builder>, ["= 2.1.2"]) | ||
743 | - s.add_dependency(%q<diff-lcs>, ["= 1.1.2"]) | ||
744 | - s.add_dependency(%q<nokogiri>, ["= 1.3.3"]) | ||
745 | - s.add_dependency(%q<prawn>, ["= 0.5.1"]) | ||
746 | - s.add_dependency(%q<rspec>, ["= 1.2.9"]) | ||
747 | - s.add_dependency(%q<spork>, ["= 0.7.3"]) | ||
748 | - end | ||
749 | -end | ||
750 | - |
vendor/gems/cucumber-0.4.4/cucumber.yml
vendor/gems/cucumber-0.4.4/examples/dos_line_endings/Rakefile
vendor/gems/cucumber-0.4.4/examples/dos_line_endings/features/dos_line_endings.feature
@@ -1,9 +0,0 @@ | @@ -1,9 +0,0 @@ | ||
1 | -Feature: DOS line endings | ||
2 | - In order to have less bug reports | ||
3 | - As a windows developer | ||
4 | - I want to write features with DOS line endigs | ||
5 | - | ||
6 | - Scenario: Just lots of DOS | ||
7 | - Given I am on DOS | ||
8 | - And Any version of Windows is really just DOS | ||
9 | - Then Windows still sucks |
vendor/gems/cucumber-0.4.4/examples/i18n/README.textile
@@ -1,18 +0,0 @@ | @@ -1,18 +0,0 @@ | ||
1 | -h1. Internationalisation (i18n) examples | ||
2 | - | ||
3 | -Under this directory you'll find examples of Cucumber features written in | ||
4 | -many of the natural languages Cucumber supports. | ||
5 | - | ||
6 | -For a full list of what languages Cucumber supports - run <pre>cucumber --language help</pre> | ||
7 | - | ||
8 | -h2. Running all the examples | ||
9 | - | ||
10 | -Open a shell in this directory and run | ||
11 | - | ||
12 | -<pre>rake i18n</pre> | ||
13 | - | ||
14 | -h2. Running examples for a specific language | ||
15 | - | ||
16 | -Open a shell in the directory for the specific language and run | ||
17 | - | ||
18 | -<pre>rake features</pre> | ||
19 | \ No newline at end of file | 0 | \ No newline at end of file |
vendor/gems/cucumber-0.4.4/examples/i18n/Rakefile
@@ -1,32 +0,0 @@ | @@ -1,32 +0,0 @@ | ||
1 | -desc 'Run features for all languages' | ||
2 | -task :i18n do | ||
3 | - dir = File.dirname(__FILE__) | ||
4 | - Dir["#{dir}/*"].each do |f| | ||
5 | - if File.directory?(f) | ||
6 | - lang = f[dir.length+1..-1] | ||
7 | - if examples_working?(lang) | ||
8 | - Dir.chdir(f) do | ||
9 | - rake("cucumber") | ||
10 | - end | ||
11 | - else | ||
12 | - STDERR.puts %{ | ||
13 | -!!!!! | ||
14 | -!!!!! | ||
15 | -!!!!! SKIPPING #{lang} (The examples are out of date - please help update them) | ||
16 | -!!!!! | ||
17 | -!!!!! | ||
18 | -} | ||
19 | - end | ||
20 | - end | ||
21 | - end | ||
22 | -end | ||
23 | - | ||
24 | -task :default => :i18n | ||
25 | - | ||
26 | -def examples_working?(lang) | ||
27 | - !%w{}.index(lang) | ||
28 | -end | ||
29 | - | ||
30 | -def rake(args) | ||
31 | - ruby($0, args) | ||
32 | -end |
vendor/gems/cucumber-0.4.4/examples/i18n/ar/Rakefile
vendor/gems/cucumber-0.4.4/examples/i18n/ar/features/addition.feature
@@ -1,17 +0,0 @@ | @@ -1,17 +0,0 @@ | ||
1 | -# language: ar | ||
2 | -خاصية: الجمع | ||
3 | - من اجل تجنب الأخطاء السخيفة | ||
4 | - كشخص غبي في الرياضيات | ||
5 | - اريد معرفة ناتج جمع عددين | ||
6 | - | ||
7 | - سيناريو مخطط: جمع عددين | ||
8 | - بفرض كتابة <input_1> في الآلة الحاسبة | ||
9 | - و كتابة <input_2> في الآلة الحاسبة | ||
10 | - متى يتم الضغط على <button> | ||
11 | - اذاً يظهر <output> على الشاشة | ||
12 | - | ||
13 | - امثلة: | ||
14 | - | input_1 | input_2 | button | output | | ||
15 | - | 20 | 30 | جمع | 50 | | ||
16 | - | 2 | 5 | جمع | 7 | | ||
17 | - | 0 | 40 | جمع | 40 | | ||
18 | \ No newline at end of file | 0 | \ No newline at end of file |
vendor/gems/cucumber-0.4.4/examples/i18n/ar/features/step_definitons/calculator_steps.rb
@@ -1,24 +0,0 @@ | @@ -1,24 +0,0 @@ | ||
1 | -# encoding: utf-8 | ||
2 | -require 'spec/expectations' | ||
3 | -$:.unshift(File.dirname(__FILE__) + '/../../lib') # This line is not needed in your own project | ||
4 | -require 'cucumber/formatter/unicode' | ||
5 | -require 'calculator' | ||
6 | - | ||
7 | -Before do | ||
8 | - @calc = Calculator.new | ||
9 | -end | ||
10 | - | ||
11 | -After do | ||
12 | -end | ||
13 | - | ||
14 | -Given "كتابة $n في الآلة الحاسبة" do |n| | ||
15 | - @calc.push n.to_i | ||
16 | -end | ||
17 | - | ||
18 | -When /يتم الضغط على (\w+)/ do |op| | ||
19 | - @result = @calc.send op | ||
20 | -end | ||
21 | - | ||
22 | -Then /يظهر (.*) على الشاشة/ do |result| | ||
23 | - @result.should == result.to_f | ||
24 | -end |
vendor/gems/cucumber-0.4.4/examples/i18n/ar/lib/calculator.rb
vendor/gems/cucumber-0.4.4/examples/i18n/bg/Rakefile
vendor/gems/cucumber-0.4.4/examples/i18n/bg/features/addition.feature
@@ -1,12 +0,0 @@ | @@ -1,12 +0,0 @@ | ||
1 | -# language: bg | ||
2 | -Функционалност: Събиране на числа | ||
3 | - За да не го правят наум | ||
4 | - Потребителите | ||
5 | - Трябва да могат да събират числа с калкулатора | ||
6 | - | ||
7 | - Сценарий: Събиране на две цели числа | ||
8 | - Дадено е че съм въвел 50 | ||
9 | - И съм въвел 70 | ||
10 | - Когато натисна "+" | ||
11 | - То резултата трябва да е равен на 120 | ||
12 | - |
vendor/gems/cucumber-0.4.4/examples/i18n/bg/features/consecutive_calculations.feature
@@ -1,19 +0,0 @@ | @@ -1,19 +0,0 @@ | ||
1 | -# language: bg | ||
2 | -Функционалост: Последователни изчисления | ||
3 | - За да не го правят наум | ||
4 | - Потребителите | ||
5 | - Трябва да могат да извършват последователни изчисления с калкулатора | ||
6 | - | ||
7 | - Предистория: | ||
8 | - Дадено е че съм събрал 3 и 5 | ||
9 | - | ||
10 | - Сценарий: събиране с резултата от последната операция | ||
11 | - Когато въведа 4 | ||
12 | - И натисна "+" | ||
13 | - То резултата трябва да е равен на 12 | ||
14 | - | ||
15 | - Сценарий: делене с резултата от последната операция | ||
16 | - Когато въведа 2 | ||
17 | - И натисна "/" | ||
18 | - То резултата трябва да е равен на 4 | ||
19 | - |
vendor/gems/cucumber-0.4.4/examples/i18n/bg/features/division.feature
@@ -1,17 +0,0 @@ | @@ -1,17 +0,0 @@ | ||
1 | -# language: bg | ||
2 | -Фунцкционалност: Делене на числа | ||
3 | - За да не го правят наум | ||
4 | - Потребителите | ||
5 | - Трябва да могат да разделят числа с калкулатора | ||
6 | - | ||
7 | - Рамка на сценарий: Делене на цели числа | ||
8 | - Дадено е че съм въвел <делимо> | ||
9 | - И е че съм въвел <делител> | ||
10 | - Когато натисна "/" | ||
11 | - То резултата трябва да е равен на <частно> | ||
12 | - | ||
13 | - Примери: | ||
14 | - | делимо | делител | частно | | ||
15 | - | 100 | 2 | 50 | | ||
16 | - | 28 | 7 | 4 | | ||
17 | - | 0 | 5 | 0 | |
vendor/gems/cucumber-0.4.4/examples/i18n/bg/features/step_definitons/calculator_steps.rb
@@ -1,24 +0,0 @@ | @@ -1,24 +0,0 @@ | ||
1 | -# encoding: utf-8 | ||
2 | - | ||
3 | -Дадено /въвел (\d+)/ do |x| | ||
4 | - calc.push x.to_i | ||
5 | -end | ||
6 | - | ||
7 | -Когато /^въведа (\d+)/ do |x| | ||
8 | - calc.push x.to_i | ||
9 | -end | ||
10 | - | ||
11 | -Когато /натисна "(.*)"/ do |op| | ||
12 | - calc.send op | ||
13 | -end | ||
14 | - | ||
15 | -То /резултата трябва да е равен на (\d+)/ do |result| | ||
16 | - calc.result.should == result.to_f | ||
17 | -end | ||
18 | - | ||
19 | -Дадено /събрал (\d+) и (\d+)/ do |x, y| | ||
20 | - Дадено %{въвел #{x}} | ||
21 | - Дадено %{въвел #{y}} | ||
22 | - Дадено %{натисна "+"} | ||
23 | -end | ||
24 | - |
vendor/gems/cucumber-0.4.4/examples/i18n/bg/features/support/env.rb
@@ -1,6 +0,0 @@ | @@ -1,6 +0,0 @@ | ||
1 | -# encoding: utf-8 | ||
2 | -require 'spec/expectations' | ||
3 | -$:.unshift(File.dirname(__FILE__) + '/../../lib') | ||
4 | -require 'cucumber/formatter/unicode' | ||
5 | -require 'calculator' | ||
6 | -$KCODE='u' unless Cucumber::RUBY_1_9 | ||
7 | \ No newline at end of file | 0 | \ No newline at end of file |
vendor/gems/cucumber-0.4.4/examples/i18n/bg/features/support/world.rb
vendor/gems/cucumber-0.4.4/examples/i18n/bg/lib/calculator.rb
@@ -1,24 +0,0 @@ | @@ -1,24 +0,0 @@ | ||
1 | -# encoding: utf-8 | ||
2 | - | ||
3 | -class Calculator | ||
4 | - def initialize | ||
5 | - @stack = [] | ||
6 | - end | ||
7 | - | ||
8 | - def push(arg) | ||
9 | - @stack.push arg | ||
10 | - end | ||
11 | - | ||
12 | - def result | ||
13 | - @stack.last | ||
14 | - end | ||
15 | - | ||
16 | - def + | ||
17 | - @stack.push @stack.pop + @stack.pop | ||
18 | - end | ||
19 | - | ||
20 | - def / | ||
21 | - divisor, dividend = [@stack.pop, @stack.pop] # Hm, @stack.pop(2) doesn't work | ||
22 | - @stack.push dividend / divisor | ||
23 | - end | ||
24 | -end | ||
25 | \ No newline at end of file | 0 | \ No newline at end of file |
vendor/gems/cucumber-0.4.4/examples/i18n/cat/Rakefile
vendor/gems/cucumber-0.4.4/examples/i18n/cat/features/step_definitons/calculator_steps.rb
@@ -1,21 +0,0 @@ | @@ -1,21 +0,0 @@ | ||
1 | -# encoding: utf-8 | ||
2 | -require 'spec/expectations' | ||
3 | -$:.unshift(File.dirname(__FILE__) + '/../../lib') # This line is not needed in your own project | ||
4 | -require 'cucumber/formatter/unicode' | ||
5 | -require 'calculadora' | ||
6 | - | ||
7 | -Before do | ||
8 | - @calc = Calculadora.new | ||
9 | -end | ||
10 | - | ||
11 | -Donat /que he introduït (\d+) a la calculadora/ do |n| | ||
12 | - @calc.push n.to_i | ||
13 | -end | ||
14 | - | ||
15 | -Quan /premo el (\w+)/ do |op| | ||
16 | - @result = @calc.send op | ||
17 | -end | ||
18 | - | ||
19 | -Aleshores /el resultat ha de ser (\d+) a la pantalla/ do |result| | ||
20 | - @result.should == result.to_f | ||
21 | -end |
vendor/gems/cucumber-0.4.4/examples/i18n/cat/features/suma.feature
@@ -1,17 +0,0 @@ | @@ -1,17 +0,0 @@ | ||
1 | -# language: cat | ||
2 | -Característica: Suma | ||
3 | - Per evitar fer errors tontos | ||
4 | - Com un matemàtic idiota | ||
5 | - Vull saber la suma dels números | ||
6 | - | ||
7 | - Esquema de l'escenari: Sumar dos números | ||
8 | - Donat que he introduït <entrada_1> a la calculadora | ||
9 | - I que he introduït <entrada_2> a la calculadora | ||
10 | - Quan premo el <botó> | ||
11 | - Aleshores el resultat ha de ser <resultat> a la pantalla | ||
12 | - | ||
13 | - Exemples: | ||
14 | - | entrada_1 | entrada_2 | botó | resultat | | ||
15 | - | 20 | 30 | add | 50 | | ||
16 | - | 2 | 5 | add | 7 | | ||
17 | - | 0 | 40 | add | 40 | | ||
18 | \ No newline at end of file | 0 | \ No newline at end of file |
vendor/gems/cucumber-0.4.4/examples/i18n/cat/lib/calculadora.rb
@@ -1,16 +0,0 @@ | @@ -1,16 +0,0 @@ | ||
1 | -class Calculadora | ||
2 | - | ||
3 | - def push(n) | ||
4 | - @args ||= [] | ||
5 | - @args << n | ||
6 | - end | ||
7 | - | ||
8 | - def add | ||
9 | - @args.inject(0){|n,sum| sum+=n} | ||
10 | - end | ||
11 | - | ||
12 | - def divide | ||
13 | - @args[0].to_f / @args[1].to_f | ||
14 | - end | ||
15 | - | ||
16 | -end | ||
17 | \ No newline at end of file | 0 | \ No newline at end of file |
vendor/gems/cucumber-0.4.4/examples/i18n/da/Rakefile
vendor/gems/cucumber-0.4.4/examples/i18n/da/features/sammenlaegning.feature
@@ -1,18 +0,0 @@ | @@ -1,18 +0,0 @@ | ||
1 | -# language: da | ||
2 | -Egenskab: Sammenlægning | ||
3 | - For at slippe for at lave dumme fejl | ||
4 | - Som bogholder | ||
5 | - Vil jeg kunne lægge sammen | ||
6 | - | ||
7 | - Scenarie: to tal | ||
8 | - Givet at jeg har indtastet 5 | ||
9 | - Og at jeg har indtastet 7 | ||
10 | - Når jeg lægger sammen | ||
11 | - Så skal resultatet være 12 | ||
12 | - | ||
13 | - Scenarie: tre tal | ||
14 | - Givet at jeg har indtastet 5 | ||
15 | - Og at jeg har indtastet 7 | ||
16 | - Og at jeg har indtastet 1 | ||
17 | - Når jeg lægger sammen | ||
18 | - Så skal resultatet være 13 |
vendor/gems/cucumber-0.4.4/examples/i18n/da/features/step_definitons/lommeregner_steps.rb
@@ -1,24 +0,0 @@ | @@ -1,24 +0,0 @@ | ||
1 | -# encoding: utf-8 | ||
2 | -require 'spec/expectations' | ||
3 | -$:.unshift(File.dirname(__FILE__) + '/../../lib') # This line is not needed in your own project | ||
4 | -require 'cucumber/formatter/unicode' | ||
5 | -require 'lommeregner' | ||
6 | - | ||
7 | -Before do | ||
8 | - @calc = Lommeregner.new | ||
9 | -end | ||
10 | - | ||
11 | -After do | ||
12 | -end | ||
13 | - | ||
14 | -Given /at jeg har indtastet (\d+)/ do |n| | ||
15 | - @calc.push n.to_i | ||
16 | -end | ||
17 | - | ||
18 | -When 'jeg lægger sammen' do | ||
19 | - @result = @calc.add | ||
20 | -end | ||
21 | - | ||
22 | -Then /skal resultatet være (\d*)/ do |result| | ||
23 | - @result.should == result.to_i | ||
24 | -end |
vendor/gems/cucumber-0.4.4/examples/i18n/da/lib/lommeregner.rb
vendor/gems/cucumber-0.4.4/examples/i18n/de/.gitignore
vendor/gems/cucumber-0.4.4/examples/i18n/de/Rakefile
vendor/gems/cucumber-0.4.4/examples/i18n/de/features/addition.feature
@@ -1,17 +0,0 @@ | @@ -1,17 +0,0 @@ | ||
1 | -# language: de | ||
2 | -Funktionalität: Addition | ||
3 | - Um dumme Fehler zu vermeiden | ||
4 | - möchte ich als Matheidiot | ||
5 | - die Summe zweier Zahlen gesagt bekommen | ||
6 | - | ||
7 | - Szenariogrundriss: Zwei Zahlen hinzufügen | ||
8 | - Gegeben sei ich habe <Eingabe_1> in den Taschenrechner eingegeben | ||
9 | - Und ich habe <Eingabe_2> in den Taschenrechner eingegeben | ||
10 | - Wenn ich <Knopf> drücke | ||
11 | - Dann sollte das Ergebniss auf dem Bildschirm <Ausgabe> sein | ||
12 | - | ||
13 | - Beispiele: | ||
14 | - | Eingabe_1 | Eingabe_2 | Knopf | Ausgabe | | ||
15 | - | 20 | 30 | add | 50 | | ||
16 | - | 2 | 5 | add | 7 | | ||
17 | - | 0 | 40 | add | 40 | |
vendor/gems/cucumber-0.4.4/examples/i18n/de/features/division.feature
@@ -1,10 +0,0 @@ | @@ -1,10 +0,0 @@ | ||
1 | -# language: de | ||
2 | -Funktionalität: Division | ||
3 | - Um dumme Fehler zu vermeiden | ||
4 | - müssen Kassierer in der Lage sein einen Bruchteil zu berechnen | ||
5 | - | ||
6 | - Szenario: Normale Zahlen | ||
7 | - Gegeben sei ich habe 3 in den Taschenrechner eingegeben | ||
8 | - Und ich habe 2 in den Taschenrechner eingegeben | ||
9 | - Wenn ich divide drücke | ||
10 | - Dann sollte das Ergebniss auf dem Bildschirm 1.5 sein |
vendor/gems/cucumber-0.4.4/examples/i18n/de/features/step_definitons/calculator_steps.rb
@@ -1,24 +0,0 @@ | @@ -1,24 +0,0 @@ | ||
1 | -# encoding: utf-8 | ||
2 | -require 'spec/expectations' | ||
3 | -$:.unshift(File.dirname(__FILE__) + '/../../lib') # This line is not needed in your own project | ||
4 | -require 'cucumber/formatter/unicode' | ||
5 | -require 'calculator' | ||
6 | - | ||
7 | -Before do | ||
8 | - @calc = Calculator.new | ||
9 | -end | ||
10 | - | ||
11 | -After do | ||
12 | -end | ||
13 | - | ||
14 | -Given /ich habe (\d+) in den Taschenrechner eingegeben/ do |n| | ||
15 | - @calc.push n.to_i | ||
16 | -end | ||
17 | - | ||
18 | -When /ich (\w+) drücke/ do |op| | ||
19 | - @result = @calc.send op | ||
20 | -end | ||
21 | - | ||
22 | -Then /sollte das Ergebniss auf dem Bildschirm (.*) sein/ do |result| | ||
23 | - @result.should == result.to_f | ||
24 | -end |
vendor/gems/cucumber-0.4.4/examples/i18n/de/lib/calculator.rb
@@ -1,14 +0,0 @@ | @@ -1,14 +0,0 @@ | ||
1 | -class Calculator | ||
2 | - def push(n) | ||
3 | - @args ||= [] | ||
4 | - @args << n | ||
5 | - end | ||
6 | - | ||
7 | - def add | ||
8 | - @args.inject(0){|n,sum| sum+=n} | ||
9 | - end | ||
10 | - | ||
11 | - def divide | ||
12 | - @args[0].to_f / @args[1].to_f | ||
13 | - end | ||
14 | -end | ||
15 | \ No newline at end of file | 0 | \ No newline at end of file |
vendor/gems/cucumber-0.4.4/examples/i18n/en-lol/Rakefile
vendor/gems/cucumber-0.4.4/examples/i18n/en-lol/features/step_definitions/cucumbrz_steps.rb
@@ -1,16 +0,0 @@ | @@ -1,16 +0,0 @@ | ||
1 | -ICANHAZ /^IN TEH BEGINNIN (\d+) CUCUMBRZ$/ do |n| | ||
2 | - @basket = Basket.new(n.to_i) | ||
3 | -end | ||
4 | - | ||
5 | -WEN /^I EAT (\d+) CUCUMBRZ$/ do |n| | ||
6 | - @belly = Belly.new | ||
7 | - @belly.eat(@basket.take(n.to_i)) | ||
8 | -end | ||
9 | - | ||
10 | -DEN /^I HAS (\d+) CUCUMBERZ IN MAH BELLY$/ do |n| | ||
11 | - @belly.cukes.should == n.to_i | ||
12 | -end | ||
13 | - | ||
14 | -AN /^IN TEH END (\d+) CUCUMBRZ KTHXBAI$/ do |n| | ||
15 | - @basket.cukes.should == n.to_i | ||
16 | -end |
vendor/gems/cucumber-0.4.4/examples/i18n/en-lol/features/stuffing.feature
vendor/gems/cucumber-0.4.4/examples/i18n/en-lol/features/support/env.rb
vendor/gems/cucumber-0.4.4/examples/i18n/en-lol/lib/basket.rb
vendor/gems/cucumber-0.4.4/examples/i18n/en-lol/lib/belly.rb
vendor/gems/cucumber-0.4.4/examples/i18n/en/.gitignore
vendor/gems/cucumber-0.4.4/examples/i18n/en/Rakefile
vendor/gems/cucumber-0.4.4/examples/i18n/en/features/addition.feature
@@ -1,17 +0,0 @@ | @@ -1,17 +0,0 @@ | ||
1 | -# language: en | ||
2 | -Feature: Addition | ||
3 | - In order to avoid silly mistakes | ||
4 | - As a math idiot | ||
5 | - I want to be told the sum of two numbers | ||
6 | - | ||
7 | - Scenario Outline: Add two numbers | ||
8 | - Given I have entered <input_1> into the calculator | ||
9 | - And I have entered <input_2> into the calculator | ||
10 | - When I press <button> | ||
11 | - Then the result should be <output> on the screen | ||
12 | - | ||
13 | - Examples: | ||
14 | - | input_1 | input_2 | button | output | | ||
15 | - | 20 | 30 | add | 50 | | ||
16 | - | 2 | 5 | add | 7 | | ||
17 | - | 0 | 40 | add | 40 | |
vendor/gems/cucumber-0.4.4/examples/i18n/en/features/division.feature
@@ -1,10 +0,0 @@ | @@ -1,10 +0,0 @@ | ||
1 | -# language: en | ||
2 | -Feature: Division | ||
3 | - In order to avoid silly mistakes | ||
4 | - Cashiers must be able to calculate a fraction | ||
5 | - | ||
6 | - Scenario: Regular numbers | ||
7 | - Given I have entered 3 into the calculator | ||
8 | - And I have entered 2 into the calculator | ||
9 | - When I press divide | ||
10 | - Then the result should be 1.5 on the screen |
vendor/gems/cucumber-0.4.4/examples/i18n/en/features/step_definitons/calculator_steps.rb
@@ -1,24 +0,0 @@ | @@ -1,24 +0,0 @@ | ||
1 | -# encoding: utf-8 | ||
2 | -require 'spec/expectations' | ||
3 | -$:.unshift(File.dirname(__FILE__) + '/../../lib') # This line is not needed in your own project | ||
4 | -require 'cucumber/formatter/unicode' | ||
5 | -require 'calculator' | ||
6 | - | ||
7 | -Before do | ||
8 | - @calc = Calculator.new | ||
9 | -end | ||
10 | - | ||
11 | -After do | ||
12 | -end | ||
13 | - | ||
14 | -Given /I have entered (\d+) into the calculator/ do |n| | ||
15 | - @calc.push n.to_i | ||
16 | -end | ||
17 | - | ||
18 | -When /I press (\w+)/ do |op| | ||
19 | - @result = @calc.send op | ||
20 | -end | ||
21 | - | ||
22 | -Then /the result should be (.*) on the screen/ do |result| | ||
23 | - @result.should == result.to_f | ||
24 | -end |
vendor/gems/cucumber-0.4.4/examples/i18n/en/lib/calculator.rb
@@ -1,14 +0,0 @@ | @@ -1,14 +0,0 @@ | ||
1 | -class Calculator | ||
2 | - def push(n) | ||
3 | - @args ||= [] | ||
4 | - @args << n | ||
5 | - end | ||
6 | - | ||
7 | - def add | ||
8 | - @args.inject(0){|n,sum| sum+=n} | ||
9 | - end | ||
10 | - | ||
11 | - def divide | ||
12 | - @args[0].to_f / @args[1].to_f | ||
13 | - end | ||
14 | -end | ||
15 | \ No newline at end of file | 0 | \ No newline at end of file |
vendor/gems/cucumber-0.4.4/examples/i18n/es/Rakefile
vendor/gems/cucumber-0.4.4/examples/i18n/es/features/adicion.feature
@@ -1,17 +0,0 @@ | @@ -1,17 +0,0 @@ | ||
1 | -# language: es | ||
2 | -Característica: adición | ||
3 | - Para evitar hacer errores tontos | ||
4 | - Como un matemático idiota | ||
5 | - Quiero saber la suma de los números | ||
6 | - | ||
7 | - Esquema del escenario: Sumar dos números | ||
8 | - Dado que he introducido <entrada_1> en la calculadora | ||
9 | - Y que he introducido <entrada_2> en la calculadora | ||
10 | - Cuando oprimo el <botón> | ||
11 | - Entonces el resultado debe ser <resultado> en la pantalla | ||
12 | - | ||
13 | - Ejemplos: | ||
14 | - | entrada_1 | entrada_2 | botón | resultado | | ||
15 | - | 20 | 30 | add | 50 | | ||
16 | - | 2 | 5 | add | 7 | | ||
17 | - | 0 | 40 | add | 40 | | ||
18 | \ No newline at end of file | 0 | \ No newline at end of file |
vendor/gems/cucumber-0.4.4/examples/i18n/es/features/step_definitons/calculador_steps.rb
@@ -1,21 +0,0 @@ | @@ -1,21 +0,0 @@ | ||
1 | -# encoding: utf-8 | ||
2 | -require 'spec/expectations' | ||
3 | -$:.unshift(File.dirname(__FILE__) + '/../../lib') # This line is not needed in your own project | ||
4 | -require 'cucumber/formatter/unicode' | ||
5 | -require 'calculador' | ||
6 | - | ||
7 | -Before do | ||
8 | - @calc = Calculador.new | ||
9 | -end | ||
10 | - | ||
11 | -Dado /que he introducido (\d+) en la calculadora/ do |n| | ||
12 | - @calc.push n.to_i | ||
13 | -end | ||
14 | - | ||
15 | -Cuando /oprimo el (\w+)/ do |op| | ||
16 | - @result = @calc.send op | ||
17 | -end | ||
18 | - | ||
19 | -Entonces /el resultado debe ser (.*) en la pantalla/ do |result| | ||
20 | - @result.should == result.to_f | ||
21 | -end | ||
22 | \ No newline at end of file | 0 | \ No newline at end of file |
vendor/gems/cucumber-0.4.4/examples/i18n/es/lib/calculador.rb
@@ -1,14 +0,0 @@ | @@ -1,14 +0,0 @@ | ||
1 | -class Calculador | ||
2 | - def push(n) | ||
3 | - @args ||= [] | ||
4 | - @args << n | ||
5 | - end | ||
6 | - | ||
7 | - def add | ||
8 | - @args.inject(0){|n,sum| sum+=n} | ||
9 | - end | ||
10 | - | ||
11 | - def divide | ||
12 | - @args[0].to_f / @args[1].to_f | ||
13 | - end | ||
14 | -end | ||
15 | \ No newline at end of file | 0 | \ No newline at end of file |
vendor/gems/cucumber-0.4.4/examples/i18n/et/Rakefile
vendor/gems/cucumber-0.4.4/examples/i18n/et/features/jagamine.feature
@@ -1,10 +0,0 @@ | @@ -1,10 +0,0 @@ | ||
1 | -# language: et | ||
2 | -Omadus: Jagamine | ||
3 | - Rumalate vigade vältimiseks | ||
4 | - Peavad kassapidajad saama arvutada murdudes | ||
5 | - | ||
6 | - Stsenaarium: Tavalised numrbid | ||
7 | - Eeldades et olen sisestanud kalkulaatorisse numbri 3 | ||
8 | - Ja olen sisestanud kalkulaatorisse numbri 2 | ||
9 | - Kui ma vajutan jaga | ||
10 | - Siis vastuseks peab ekraanil kuvatama 1.5 |
vendor/gems/cucumber-0.4.4/examples/i18n/et/features/liitmine.feature
@@ -1,17 +0,0 @@ | @@ -1,17 +0,0 @@ | ||
1 | -# language: et | ||
2 | -Omadus: Liitmine | ||
3 | - Selleks et vältida rumalaid vigu | ||
4 | - Olles matemaatika-puupea | ||
5 | - Tahan et mulle öeldaks kahe numbri summa | ||
6 | - | ||
7 | - Raamstsenaarium: Liida kaks numbrit | ||
8 | - Eeldades et olen sisestanud kalkulaatorisse numbri <input_1> | ||
9 | - Ja olen sisestanud kalkulaatorisse numbri <input_2> | ||
10 | - Kui ma vajutan <button> | ||
11 | - Siis vastuseks peab ekraanil kuvatama <output> | ||
12 | - | ||
13 | - Juhtumid: | ||
14 | - | input_1 | input_2 | button | output | | ||
15 | - | 20 | 30 | liida | 50 | | ||
16 | - | 2 | 5 | liida | 7 | | ||
17 | - | 0 | 40 | liida | 40 | | ||
18 | \ No newline at end of file | 0 | \ No newline at end of file |
vendor/gems/cucumber-0.4.4/examples/i18n/et/features/step_definitions/kalkulaator_steps.rb
@@ -1,24 +0,0 @@ | @@ -1,24 +0,0 @@ | ||
1 | -# encoding: utf-8 | ||
2 | -require 'spec/expectations' | ||
3 | -$:.unshift(File.dirname(__FILE__) + '/../../lib') # This line is not needed in your own project | ||
4 | -require 'cucumber/formatter/unicode' | ||
5 | -require 'kalkulaator' | ||
6 | - | ||
7 | -Before do | ||
8 | - @calc = Kalkulaator.new | ||
9 | -end | ||
10 | - | ||
11 | -After do | ||
12 | -end | ||
13 | - | ||
14 | -Given /olen sisestanud kalkulaatorisse numbri (\d+)/ do |n| | ||
15 | - @calc.push n.to_i | ||
16 | -end | ||
17 | - | ||
18 | -When /ma vajutan (\w+)/ do |op| | ||
19 | - @result = @calc.send op | ||
20 | -end | ||
21 | - | ||
22 | -Then /vastuseks peab ekraanil kuvatama (.*)/ do |result| | ||
23 | - @result.should == result.to_f | ||
24 | -end |
vendor/gems/cucumber-0.4.4/examples/i18n/et/lib/kalkulaator.rb
vendor/gems/cucumber-0.4.4/examples/i18n/fi/.gitignore
vendor/gems/cucumber-0.4.4/examples/i18n/fi/Rakefile
vendor/gems/cucumber-0.4.4/examples/i18n/fi/features/jakolasku.feature
@@ -1,10 +0,0 @@ | @@ -1,10 +0,0 @@ | ||
1 | -# language: fi | ||
2 | -Ominaisuus: Jakolasku | ||
3 | - Välttyäkseen hölmöiltä virheiltä | ||
4 | - Kassanhoitajan on voitava laskea osamäärä | ||
5 | - | ||
6 | - Tapaus: Kokonaislukujen jakolasku | ||
7 | - Oletetaan että olen syöttänyt laskimeen luvun 3 | ||
8 | - Ja että olen syöttänyt laskimeen luvun 2 | ||
9 | - Kun painan "jaa" | ||
10 | - Niin laskimen ruudulla pitäisi näkyä tulos 1.5 |
vendor/gems/cucumber-0.4.4/examples/i18n/fi/features/step_definitons/laskin_steps.rb
@@ -1,24 +0,0 @@ | @@ -1,24 +0,0 @@ | ||
1 | -# encoding: utf-8 | ||
2 | -require 'spec/expectations' | ||
3 | -$:.unshift(File.dirname(__FILE__) + '/../../lib') | ||
4 | -require 'cucumber/formatter/unicode' | ||
5 | -require 'laskin' | ||
6 | - | ||
7 | -Before do | ||
8 | - @laskin = Laskin.new | ||
9 | -end | ||
10 | - | ||
11 | -After do | ||
12 | -end | ||
13 | - | ||
14 | -Given /että olen syöttänyt laskimeen luvun (\d+)/ do |n| | ||
15 | - @laskin.pinoa n.to_i | ||
16 | -end | ||
17 | - | ||
18 | -When /painan "(\w+)"/ do |op| | ||
19 | - @tulos = @laskin.send op | ||
20 | -end | ||
21 | - | ||
22 | -Then /laskimen ruudulla pitäisi näkyä tulos (.*)/ do |tulos| | ||
23 | - @tulos.should == tulos.to_f | ||
24 | -end |
vendor/gems/cucumber-0.4.4/examples/i18n/fi/features/yhteenlasku.feature
@@ -1,17 +0,0 @@ | @@ -1,17 +0,0 @@ | ||
1 | -# language: fi | ||
2 | -Ominaisuus: Yhteenlasku | ||
3 | - Välttyäkseni hölmöiltä virheiltä | ||
4 | - Koska olen laskutaidoton | ||
5 | - Haluan että yhteenlaskut lasketaan puolestani | ||
6 | - | ||
7 | - Tapausaihio: Kahden luvun summa | ||
8 | - Oletetaan että olen syöttänyt laskimeen luvun <luku_1> | ||
9 | - Ja että olen syöttänyt laskimeen luvun <luku_2> | ||
10 | - Kun painan "<nappi>" | ||
11 | - Niin laskimen ruudulla pitäisi näkyä tulos <tulos> | ||
12 | - | ||
13 | - Tapaukset: | ||
14 | - | luku_1 | luku_2 | nappi | tulos | | ||
15 | - | 20 | 30 | summaa | 50 | | ||
16 | - | 2 | 5 | summaa | 7 | | ||
17 | - | 0 | 40 | summaa | 40 | |
vendor/gems/cucumber-0.4.4/examples/i18n/fi/lib/laskin.rb
vendor/gems/cucumber-0.4.4/examples/i18n/fr/Rakefile
vendor/gems/cucumber-0.4.4/examples/i18n/fr/features/addition.feature
@@ -1,18 +0,0 @@ | @@ -1,18 +0,0 @@ | ||
1 | -# language: fr | ||
2 | -Fonctionnalité: Addition | ||
3 | - Afin de gagner du temps lors du calcul de la facture | ||
4 | - En tant que commerçant | ||
5 | - Je souhaite pouvoir faire une addition | ||
6 | - | ||
7 | - Plan du Scénario: Addition de deux nombres | ||
8 | - Soit une calculatrice | ||
9 | - Et que j'entre <a> pour le premier nombre | ||
10 | - Et que je tape sur la touche "+" | ||
11 | - Et que j'entre <b> pour le second nombre | ||
12 | - Lorsque je tape sur la touche "=" | ||
13 | - Alors le résultat affiché doit être <somme> | ||
14 | - | ||
15 | - Exemples: | ||
16 | - | a | b | somme | | ||
17 | - | 2 | 2 | 4 | | ||
18 | - | 2 | 3 | 5 | |
vendor/gems/cucumber-0.4.4/examples/i18n/fr/features/step_definitions/calculatrice_steps.rb
@@ -1,25 +0,0 @@ | @@ -1,25 +0,0 @@ | ||
1 | -# encoding: utf-8 | ||
2 | -require 'spec/expectations' | ||
3 | -$:.unshift(File.dirname(__FILE__) + '/../../lib') # This line is not needed in your own project | ||
4 | -require 'cucumber/formatter/unicode' | ||
5 | -require 'calculatrice' | ||
6 | - | ||
7 | -Soit /^une calculatrice$/ do | ||
8 | - @calc = Calculatrice.new | ||
9 | -end | ||
10 | - | ||
11 | -Et /^que j'entre (\d+) pour le (.*) nombre/ do |n, x| | ||
12 | - @calc.push n.to_i | ||
13 | -end | ||
14 | - | ||
15 | -Lorsque /^je tape sur la touche "="$/ do | ||
16 | - @expected_result = @calc.additionner | ||
17 | -end | ||
18 | - | ||
19 | -Alors /le résultat affiché doit être (\d*)/ do |result| | ||
20 | - result.to_i.should == @expected_result | ||
21 | -end | ||
22 | - | ||
23 | -Soit /^que je tape sur la touche "\+"$/ do | ||
24 | - # noop | ||
25 | -end |
vendor/gems/cucumber-0.4.4/examples/i18n/fr/lib/calculatrice.rb
vendor/gems/cucumber-0.4.4/examples/i18n/he/Rakefile
vendor/gems/cucumber-0.4.4/examples/i18n/he/features/addition.feature
@@ -1,17 +0,0 @@ | @@ -1,17 +0,0 @@ | ||
1 | -# language: he | ||
2 | -תכונה: חיבור | ||
3 | - כדי למנוע טעויות טפשיות | ||
4 | - בתור בור מתמטי | ||
5 | - אני רוצה שיגידו לי את הסכום של שני מספרים | ||
6 | - | ||
7 | - תבנית תרחיש: חבר שני מספרים | ||
8 | - בהינתן שהזנתי <קלט_1> למחשבון | ||
9 | - וגם שהזנתי <קלט_2> למחשבון | ||
10 | - כאשר אני לוחץ על <כפתור> | ||
11 | - אז התוצאה על המסך צריכה להיות <פלט> | ||
12 | - | ||
13 | - דוגמאות: | ||
14 | - | קלט_1 | קלט_2 | כפתור | פלט | | ||
15 | - | 20 | 30 | חבר | 50 | | ||
16 | - | 2 | 5 | חבר | 7 | | ||
17 | - | 0 | 40 | חבר | 40 | |
vendor/gems/cucumber-0.4.4/examples/i18n/he/features/division.feature
vendor/gems/cucumber-0.4.4/examples/i18n/he/features/step_definitons/calculator_steps.rb
@@ -1,24 +0,0 @@ | @@ -1,24 +0,0 @@ | ||
1 | -# encoding: utf-8 | ||
2 | -require 'spec/expectations' | ||
3 | -$:.unshift(File.dirname(__FILE__) + '/../../lib') # This line is not needed in your own project | ||
4 | -require 'cucumber/formatter/unicode' | ||
5 | -require 'calculator' | ||
6 | - | ||
7 | -Before do | ||
8 | - @calc = Calculator.new | ||
9 | -end | ||
10 | - | ||
11 | -After do | ||
12 | -end | ||
13 | - | ||
14 | -Given /שהזנתי (\d+) למחשבון/ do |n| | ||
15 | - @calc.push n.to_i | ||
16 | -end | ||
17 | - | ||
18 | -When /אני לוחץ על (\w+)/ do |op| | ||
19 | - @result = @calc.send op | ||
20 | -end | ||
21 | - | ||
22 | -Then /התוצאה על המסך צריכה להיות (.*)/ do |result| | ||
23 | - @result.should == result.to_f | ||
24 | -end |
vendor/gems/cucumber-0.4.4/examples/i18n/he/lib/calculator.rb
vendor/gems/cucumber-0.4.4/examples/i18n/hu/.gitignore
vendor/gems/cucumber-0.4.4/examples/i18n/hu/Rakefile
vendor/gems/cucumber-0.4.4/examples/i18n/hu/features/addition.feature
@@ -1,17 +0,0 @@ | @@ -1,17 +0,0 @@ | ||
1 | -# language: hu | ||
2 | -Jellemző: Összeadás | ||
3 | - Azért, hogy elkerüljem a buta hibákat | ||
4 | - amit diszkalkúliásként elkövethetek, | ||
5 | - két szám összegét szeretném kiszámoltatni. | ||
6 | - | ||
7 | - Forgatókönyv vázlat: Két szám összeadása | ||
8 | - Ha beütök a számológépbe egy <be_1>-est | ||
9 | - És beütök a számológépbe egy <be_2>-est | ||
10 | - Majd megnyomom az <gomb> gombot | ||
11 | - Akkor eredményül <ki>-t kell kapnom | ||
12 | - | ||
13 | - Példák: | ||
14 | - | be_1 | be_2 | gomb | ki | | ||
15 | - | 20 | 30 | add | 50 | | ||
16 | - | 2 | 5 | add | 7 | | ||
17 | - | 0 | 40 | add | 40 | |
vendor/gems/cucumber-0.4.4/examples/i18n/hu/features/division.feature
@@ -1,10 +0,0 @@ | @@ -1,10 +0,0 @@ | ||
1 | -# language: hu | ||
2 | -Jellemző: Osztás | ||
3 | - Azért, hogy elkerüljem a buta hibákat | ||
4 | - a számológépeknek tudniuk kell osztani. | ||
5 | - | ||
6 | - Forgatókönyv: Egyszerű számok | ||
7 | - Ha beütök a számológépbe egy 3-ast | ||
8 | - És beütök a számológépbe egy 2-est | ||
9 | - Majd megnyomom a divide gombot | ||
10 | - Akkor eredményül 1.5-öt kell kapnom |
vendor/gems/cucumber-0.4.4/examples/i18n/hu/features/step_definitons/calculator_steps.rb
@@ -1,25 +0,0 @@ | @@ -1,25 +0,0 @@ | ||
1 | -# encoding: utf-8 | ||
2 | -require 'spec/expectations' | ||
3 | -$:.unshift(File.dirname(__FILE__) + '/../../lib') # This line is not needed in your own project | ||
4 | -require 'cucumber/formatter/unicode' | ||
5 | -require 'calculator' | ||
6 | - | ||
7 | -Before do | ||
8 | - @calc = Calculator.new | ||
9 | -end | ||
10 | - | ||
11 | -After do | ||
12 | -end | ||
13 | - | ||
14 | -Ha /^beütök a számológépbe egy (\d+)\-(?:es|as|ös|ás)t$/ do |n| | ||
15 | - @calc.push n.to_i | ||
16 | -end | ||
17 | - | ||
18 | -Majd /^megnyomom az? (\w+) gombot$/ do |op| | ||
19 | - @result = @calc.send op | ||
20 | -end | ||
21 | - | ||
22 | -Akkor /^eredményül (.*)\-(?:e|a|ö|á|)t kell kapnom$/ do |result| | ||
23 | - @result.should == result.to_f | ||
24 | -end | ||
25 | - |
vendor/gems/cucumber-0.4.4/examples/i18n/hu/lib/calculator.rb
vendor/gems/cucumber-0.4.4/examples/i18n/id/.gitignore
vendor/gems/cucumber-0.4.4/examples/i18n/id/Rakefile
vendor/gems/cucumber-0.4.4/examples/i18n/id/features/addition.feature
@@ -1,17 +0,0 @@ | @@ -1,17 +0,0 @@ | ||
1 | -# language: id | ||
2 | -Fitur: Addition | ||
3 | - Untuk menghindari kesalahan konyol | ||
4 | - Sebagai orang yang gak bisa matematika | ||
5 | - Aku ingin diberi tahu jumlah dua bilangan | ||
6 | - | ||
7 | - Skenario konsep: Menjumlahkan dua bilangan | ||
8 | - Dengan aku sudah masukkan <input_1> ke kalkulator | ||
9 | - Dan aku sudah masukkan <input_2> ke kalkulator | ||
10 | - Ketika aku tekan <button> | ||
11 | - Maka hasilnya harus <output> di layar | ||
12 | - | ||
13 | - Contoh: | ||
14 | - | input_1 | input_2 | button | output | | ||
15 | - | 20 | 30 | add | 50 | | ||
16 | - | 2 | 5 | add | 7 | | ||
17 | - | 0 | 40 | add | 40 | |
vendor/gems/cucumber-0.4.4/examples/i18n/id/features/division.feature
@@ -1,10 +0,0 @@ | @@ -1,10 +0,0 @@ | ||
1 | -# language: id | ||
2 | -Fitur: Division | ||
3 | - Untuk hindari kesalahan konyol | ||
4 | - Kasir harus dapat menghitung pembagian | ||
5 | - | ||
6 | - Skenario: bilangan biasa | ||
7 | - Dengan aku sudah masukkan 3 ke kalkulator | ||
8 | - Dan aku sudah masukkan 2 ke kalkulator | ||
9 | - Ketika aku tekan divide | ||
10 | - Maka hasilnya harus 1.5 di layar |
vendor/gems/cucumber-0.4.4/examples/i18n/id/features/step_definitons/calculator_steps.rb
@@ -1,24 +0,0 @@ | @@ -1,24 +0,0 @@ | ||
1 | -# encoding: utf-8 | ||
2 | -require 'spec/expectations' | ||
3 | -$:.unshift(File.dirname(__FILE__) + '/../../lib') # This line is not needed in your own project | ||
4 | -require 'cucumber/formatter/unicode' | ||
5 | -require 'calculator' | ||
6 | - | ||
7 | -Before do | ||
8 | - @calc = Calculator.new | ||
9 | -end | ||
10 | - | ||
11 | -After do | ||
12 | -end | ||
13 | - | ||
14 | -Given /aku sudah masukkan (\d+) ke kalkulator/ do |n| | ||
15 | - @calc.push n.to_i | ||
16 | -end | ||
17 | - | ||
18 | -When /aku tekan (\w+)/ do |op| | ||
19 | - @result = @calc.send op | ||
20 | -end | ||
21 | - | ||
22 | -Then /hasilnya harus (.*) di layar/ do |result| | ||
23 | - @result.should == result.to_f | ||
24 | -end |
vendor/gems/cucumber-0.4.4/examples/i18n/id/lib/calculator.rb
@@ -1,14 +0,0 @@ | @@ -1,14 +0,0 @@ | ||
1 | -class Calculator | ||
2 | - def push(n) | ||
3 | - @args ||= [] | ||
4 | - @args << n | ||
5 | - end | ||
6 | - | ||
7 | - def add | ||
8 | - @args.inject(0){|n,sum| sum+=n} | ||
9 | - end | ||
10 | - | ||
11 | - def divide | ||
12 | - @args[0].to_f / @args[1].to_f | ||
13 | - end | ||
14 | -end | ||
15 | \ No newline at end of file | 0 | \ No newline at end of file |
vendor/gems/cucumber-0.4.4/examples/i18n/it/Rakefile
vendor/gems/cucumber-0.4.4/examples/i18n/it/features/somma.feature
@@ -1,11 +0,0 @@ | @@ -1,11 +0,0 @@ | ||
1 | -# language: it | ||
2 | -Funzionalità: somma | ||
3 | - Per evitare di fare errori stupidi | ||
4 | - Come utente | ||
5 | - Voglio sapere la somma di due numeri | ||
6 | - | ||
7 | - Scenario: la somma di due numeri | ||
8 | - Dato che ho inserito 5 | ||
9 | - E che ho inserito 7 | ||
10 | - Quando premo somma | ||
11 | - Allora il risultato deve essere 12 |
vendor/gems/cucumber-0.4.4/examples/i18n/it/features/step_definitons/calcolatrice_steps.rb
@@ -1,24 +0,0 @@ | @@ -1,24 +0,0 @@ | ||
1 | -# encoding: utf-8 | ||
2 | -require 'spec/expectations' | ||
3 | -$:.unshift(File.dirname(__FILE__) + '/../../lib') # This line is not needed in your own project | ||
4 | -require 'cucumber/formatter/unicode' | ||
5 | -require 'calcolatrice' | ||
6 | - | ||
7 | -Before do | ||
8 | - @calc = Calcolatrice.new | ||
9 | -end | ||
10 | - | ||
11 | -After do | ||
12 | -end | ||
13 | - | ||
14 | -Given /che ho inserito (\d+)/ do |n| | ||
15 | - @calc.push n.to_i | ||
16 | -end | ||
17 | - | ||
18 | -When 'premo somma' do | ||
19 | - @result = @calc.add | ||
20 | -end | ||
21 | - | ||
22 | -Then /il risultato deve essere (\d*)/ do |result| | ||
23 | - @result.should == result.to_i | ||
24 | -end |
vendor/gems/cucumber-0.4.4/examples/i18n/it/lib/calcolatrice.rb
vendor/gems/cucumber-0.4.4/examples/i18n/ja/.gitignore
vendor/gems/cucumber-0.4.4/examples/i18n/ja/Rakefile
vendor/gems/cucumber-0.4.4/examples/i18n/ja/features/addition.feature
@@ -1,17 +0,0 @@ | @@ -1,17 +0,0 @@ | ||
1 | -# language: ja | ||
2 | -フィーチャ: 加算 | ||
3 | - バカな間違いを避けるために | ||
4 | - 数学オンチとして | ||
5 | - 2つの数の合計を知りたい | ||
6 | - | ||
7 | - シナリオテンプレート: 2つの数の加算について | ||
8 | - 前提 <値1> を入力 | ||
9 | - かつ <値2> を入力 | ||
10 | - もし <ボタン> を押した | ||
11 | - ならば <結果> を表示 | ||
12 | - | ||
13 | - 例: | ||
14 | - | 値1 | 値2 | ボタン | 結果 | | ||
15 | - | 20 | 30 | add | 50 | | ||
16 | - | 2 | 5 | add | 7 | | ||
17 | - | 0 | 40 | add | 40 | |
vendor/gems/cucumber-0.4.4/examples/i18n/ja/features/division.feature
vendor/gems/cucumber-0.4.4/examples/i18n/ja/features/step_definitons/calculator_steps.rb
@@ -1,24 +0,0 @@ | @@ -1,24 +0,0 @@ | ||
1 | -# encoding: UTF-8 | ||
2 | -require 'spec/expectations' | ||
3 | -$:.unshift(File.dirname(__FILE__) + '/../../lib') # This line is not needed in your own project | ||
4 | -require 'cucumber/formatter/unicode' | ||
5 | -require 'calculator' | ||
6 | - | ||
7 | -Before do | ||
8 | - @calc = Calculator.new | ||
9 | -end | ||
10 | - | ||
11 | -After do | ||
12 | -end | ||
13 | - | ||
14 | -Given "$n を入力" do |n| | ||
15 | - @calc.push n.to_i | ||
16 | -end | ||
17 | - | ||
18 | -When /(\w+) を押した/ do |op| | ||
19 | - @result = @calc.send op | ||
20 | -end | ||
21 | - | ||
22 | -Then /(.*) を表示/ do |result| | ||
23 | - @result.should == result.to_f | ||
24 | -end |
vendor/gems/cucumber-0.4.4/examples/i18n/ja/lib/calculator.rb
@@ -1,14 +0,0 @@ | @@ -1,14 +0,0 @@ | ||
1 | -class Calculator | ||
2 | - def push(n) | ||
3 | - @args ||= [] | ||
4 | - @args << n | ||
5 | - end | ||
6 | - | ||
7 | - def add | ||
8 | - @args.inject(0){|n,sum| sum+=n} | ||
9 | - end | ||
10 | - | ||
11 | - def divide | ||
12 | - @args[0].to_f / @args[1].to_f | ||
13 | - end | ||
14 | -end | ||
15 | \ No newline at end of file | 0 | \ No newline at end of file |
vendor/gems/cucumber-0.4.4/examples/i18n/ko/.gitignore