Commit b05b6378cfa4f97c4b1baa4210157df19506ee66

Authored by Pius Uzamere
2 parents 3ae2d766 8e225cfc

Merge branch 'master' of git://github.com/dancroak/heroku_suspenders

Showing 1053 changed files with 29762 additions and 25339 deletions   Show diff stats

Too many changes.

To preserve performance only 100 of 1053 files displayed.

config/environments/cucumber.rb
  1 +# IMPORTANT: This file was generated by Cucumber 0.4.2
  2 +# Edit at your own peril - it's recommended to regenerate this file
  3 +# in the future when you upgrade to a newer version of Cucumber.
  4 +
1 5 config.cache_classes = true # This must be true for Cucumber to operate correctly!
2 6  
3 7 # Log error messages when you accidentally call methods on nil.
... ... @@ -15,41 +19,26 @@ config.action_controller.allow_forgery_protection = false
15 19 # ActionMailer::Base.deliveries array.
16 20 config.action_mailer.delivery_method = :test
17 21  
18   -# rake gems:install RAILS_ENV=cucumber
19   -
20   -# Cucumber and dependencies
21   -config.gem 'polyglot',
22   - :version => '0.2.8',
23   - :lib => false
24   -config.gem 'treetop',
25   - :version => '1.3.0',
26   - :lib => false
27   -config.gem 'term-ansicolor',
28   - :version => '1.0.3',
29   - :lib => false
30   -config.gem 'diff-lcs',
31   - :version => '1.1.2',
32   - :lib => false
33   -config.gem 'builder',
34   - :version => '2.1.2',
35   - :lib => false
36   -config.gem 'cucumber',
37   - :version => '0.3.98'
38   -config.gem 'fakeweb',
39   - :version => '>= 1.2.5'
  22 +unless File.directory?(File.join(Rails.root, 'vendor/plugins/cucumber'))
  23 + config.gem 'cucumber',
  24 + :lib => false,
  25 + :version => '>=0.4.2'
  26 +end
40 27  
41   -# Webrat and dependencies
42   -# NOTE: don't vendor nokogiri - it's a binary Gem
43   -config.gem 'nokogiri',
44   - :version => '1.3.3',
45   - :lib => false
46   -config.gem 'webrat',
47   - :version => '0.5.3'
  28 +unless File.directory?(File.join(Rails.root, 'vendor/plugins/webrat'))
  29 + config.gem 'webrat',
  30 + :lib => false,
  31 + :version => '>=0.5.0'
  32 +end
48 33  
49   -require 'rubygems'
50   -require 'factory_girl'
51   -require 'shoulda'
52   -require 'fakeweb'
  34 +config.gem 'fakeweb',
  35 + :version => '>= 1.2.5'
  36 +config.gem 'factory_girl',
  37 + :source => 'http://gemcutter.org',
  38 + :version => '>= 1.2.3'
53 39  
54 40 HOST = "localhost"
  41 +AUTHORIZE_NET_API_LOGIN_ID = ''
  42 +AUTHORIZE_NET_TRANSACTION_KEY = ''
  43 +ActiveMerchant::Billing::Base.gateway_mode = :test
55 44  
... ...
config/environments/test.rb
... ... @@ -23,10 +23,9 @@ config.action_mailer.delivery_method = :test
23 23  
24 24 # rake gems:install RAILS_ENV=test
25 25  
26   -config.gem 'thoughtbot-factory_girl',
27   - :lib => 'factory_girl',
28   - :source => 'http://gems.github.com',
29   - :version => '>= 1.2.1'
  26 +config.gem 'factory_girl',
  27 + :source => 'http://gemcutter.org',
  28 + :version => '>= 1.2.3'
30 29 config.gem 'thoughtbot-shoulda',
31 30 :lib => 'shoulda',
32 31 :source => 'http://gems.github.com',
... ... @@ -44,10 +43,9 @@ config.gem 'jferris-mocha',
44 43  
45 44 HOST = 'localhost'
46 45  
47   -begin
48   - require 'factory_girl'
49   - require 'redgreen'
50   - require 'fakeweb'
51   -rescue LoadError
52   -end
  46 +AUTHORIZE_NET_API_LOGIN_ID = ''
  47 +AUTHORIZE_NET_TRANSACTION_KEY = ''
  48 +PAYPAL_API_LOGIN = ''
  49 +PAYPAL_API_PASSWORD = ''
  50 +PAYPAL_API_SIGNATURE = ''
53 51  
... ...
features/support/env.rb
  1 +# IMPORTANT: This file was generated by Cucumber 0.4.2
  2 +# Edit at your own peril - it's recommended to regenerate this file
  3 +# in the future when you upgrade to a newer version of Cucumber.
  4 +# Consider adding your own code to a new file instead of editing this one.
  5 +
1 6 # Sets up the Rails environment for Cucumber
2 7 ENV["RAILS_ENV"] ||= "cucumber"
3 8 require File.expand_path(File.dirname(__FILE__) + '/../../config/environment')
4 9 require 'cucumber/rails/world'
5 10  
6   -# Comment out the next line if you don't want Cucumber Unicode support
7   -require 'cucumber/formatter/unicode'
  11 +# If you set this to true, each scenario will run in a database transaction.
  12 +# You can still turn off transactions on a per-scenario basis, simply tagging
  13 +# a feature or scenario with the @no-txn tag.
  14 +#
  15 +# If you set this to false, transactions will be off for all scenarios,
  16 +# regardless of whether you use @no-txn or not.
  17 +#
  18 +# Beware that turning transactions off will leave data in your database
  19 +# after each scenario, which can lead to hard-to-debug failures in
  20 +# subsequent scenarios. If you do this, we recommend you create a Before
  21 +# block that will explicitly put your database in a known state.
  22 +Cucumber::Rails::World.use_transactional_fixtures = true
8 23  
9   -# Comment out the next line if you don't want transactions to
10   -# open/roll back around each scenario
11   -Cucumber::Rails.use_transactional_fixtures
  24 +# If you set this to false, any error raised from within your app will bubble
  25 +# up to your step definition and out to cucumber unless you catch it somewhere
  26 +# on the way. You can make Rails rescue errors and render error pages on a
  27 +# per-scenario basis by tagging a scenario or feature with the @allow-rescue tag.
  28 +#
  29 +# If you set this to true, Rails will rescue all errors and render error
  30 +# pages, more or less in the same way your application would behave in the
  31 +# default production environment. It's not recommended to do this for all
  32 +# of your scenarios, as this makes it hard to discover errors in your application.
  33 +ActionController::Base.allow_rescue = false
12 34  
13   -# Comment out the next line if you want Rails' own error handling
14   -# (e.g. rescue_action_in_public / rescue_responses / rescue_from)
15   -Cucumber::Rails.bypass_rescue
  35 +require 'cucumber'
  36 +# Comment out the next line if you don't want Cucumber Unicode support
  37 +require 'cucumber/formatter/unicode'
  38 +require 'cucumber/webrat/element_locator' # Lets you do table.diff!(element_at('#my_table_or_dl_or_ul_or_ol').to_table)
16 39  
17 40 require 'webrat'
18   -
  41 +require 'webrat/core/matchers'
19 42 Webrat.configure do |config|
20 43 config.mode = :rails
  44 + config.open_error_files = false # Set to true if you want error pages to pop up in the browser
21 45 end
22 46  
23   -# require 'cucumber/rails/rspec'
24   -require 'webrat/core/matchers'
  47 +require 'factory_girl/step_definitions'
  48 +FakeWeb.allow_net_connect = false
  49 +
  50 +Dir[File.join(Rails.root, "test", "support", "**", "*.rb")].each { |file| require(file) }
  51 +
... ...
script/create_project
... ... @@ -78,11 +78,6 @@ unless installed?("nokogiri")
78 78 run "sudo gem install nokogiri --version='1.3.3'"
79 79 end
80 80  
81   -# need to install tpope-pickler for the 'pickler' command
82   -unless installed?("tpope-pickler")
83   - run "sudo gem install tpope-pickler"
84   -end
85   -
86 81 # need to install heroku gem for the 'heroku' commands
87 82 unless installed?("heroku")
88 83 run "sudo gem install heroku"
... ...
vendor/gems/cucumber-0.3.98/.specification
... ... @@ -1,547 +0,0 @@
1   ---- !ruby/object:Gem::Specification
2   -name: cucumber
3   -version: !ruby/object:Gem::Version
4   - version: 0.3.98
5   -platform: ruby
6   -authors:
7   -- "Aslak Helles\xC3\xB8y"
8   -autorequire:
9   -bindir: bin
10   -cert_chain: []
11   -
12   -date: 2009-08-25 00:00:00 -04:00
13   -default_executable: cucumber
14   -dependencies:
15   -- !ruby/object:Gem::Dependency
16   - name: term-ansicolor
17   - type: :runtime
18   - version_requirement:
19   - version_requirements: !ruby/object:Gem::Requirement
20   - requirements:
21   - - - ">="
22   - - !ruby/object:Gem::Version
23   - version: 1.0.3
24   - version:
25   -- !ruby/object:Gem::Dependency
26   - name: treetop
27   - type: :runtime
28   - version_requirement:
29   - version_requirements: !ruby/object:Gem::Requirement
30   - requirements:
31   - - - ">="
32   - - !ruby/object:Gem::Version
33   - version: 1.3.0
34   - version:
35   -- !ruby/object:Gem::Dependency
36   - name: polyglot
37   - type: :runtime
38   - version_requirement:
39   - version_requirements: !ruby/object:Gem::Requirement
40   - requirements:
41   - - - ">="
42   - - !ruby/object:Gem::Version
43   - version: 0.2.8
44   - version:
45   -- !ruby/object:Gem::Dependency
46   - name: diff-lcs
47   - type: :runtime
48   - version_requirement:
49   - version_requirements: !ruby/object:Gem::Requirement
50   - requirements:
51   - - - ">="
52   - - !ruby/object:Gem::Version
53   - version: 1.1.2
54   - version:
55   -- !ruby/object:Gem::Dependency
56   - name: builder
57   - type: :runtime
58   - version_requirement:
59   - version_requirements: !ruby/object:Gem::Requirement
60   - requirements:
61   - - - ">="
62   - - !ruby/object:Gem::Version
63   - version: 2.1.2
64   - version:
65   -description: Executable Feature scenarios
66   -email:
67   -- aslak.hellesoy@gmail.com
68   -executables:
69   -- cucumber
70   -extensions: []
71   -
72   -extra_rdoc_files:
73   -- History.txt
74   -- License.txt
75   -- Manifest.txt
76   -- README.txt
77   -files:
78   -- History.txt
79   -- License.txt
80   -- Manifest.txt
81   -- README.txt
82   -- Rakefile
83   -- bin/cucumber
84   -- config/hoe.rb
85   -- config/requirements.rb
86   -- cucumber.yml
87   -- examples/cs/README.textile
88   -- examples/cs/Rakefile
89   -- examples/cs/compile.bat
90   -- examples/cs/features/addition.feature
91   -- examples/cs/features/step_definitons/calculator_steps.rb
92   -- examples/cs/src/demo/Calculator.cs
93   -- examples/dos_line_endings/Rakefile
94   -- examples/dos_line_endings/features/dos_line_endings.feature
95   -- examples/i18n/README.textile
96   -- examples/i18n/Rakefile
97   -- examples/i18n/ar/Rakefile
98   -- examples/i18n/ar/features/addition.feature
99   -- examples/i18n/ar/features/step_definitons/calculator_steps.rb
100   -- examples/i18n/ar/lib/calculator.rb
101   -- examples/i18n/bg/Rakefile
102   -- examples/i18n/bg/features/addition.feature
103   -- examples/i18n/bg/features/consecutive_calculations.feature
104   -- examples/i18n/bg/features/division.feature
105   -- examples/i18n/bg/features/step_definitons/calculator_steps.rb
106   -- examples/i18n/bg/features/support/env.rb
107   -- examples/i18n/bg/features/support/world.rb
108   -- examples/i18n/bg/lib/calculator.rb
109   -- examples/i18n/cat/Rakefile
110   -- examples/i18n/cat/features/step_definitons/calculator_steps.rb
111   -- examples/i18n/cat/features/suma.feature
112   -- examples/i18n/cat/lib/calculadora.rb
113   -- examples/i18n/da/Rakefile
114   -- examples/i18n/da/features/step_definitons/kalkulator_steps.rb
115   -- examples/i18n/da/features/summering.feature
116   -- examples/i18n/da/lib/kalkulator.rb
117   -- examples/i18n/de/Rakefile
118   -- examples/i18n/de/features/addition.feature
119   -- examples/i18n/de/features/division.feature
120   -- examples/i18n/de/features/step_definitons/calculator_steps.rb
121   -- examples/i18n/de/lib/calculator.rb
122   -- examples/i18n/en-lol/Rakefile
123   -- examples/i18n/en-lol/features/step_definitions/cucumbrz_steps.rb
124   -- examples/i18n/en-lol/features/stuffing.feature
125   -- examples/i18n/en-lol/features/support/env.rb
126   -- examples/i18n/en-lol/lib/basket.rb
127   -- examples/i18n/en-lol/lib/belly.rb
128   -- examples/i18n/en/Rakefile
129   -- examples/i18n/en/features/addition.feature
130   -- examples/i18n/en/features/division.feature
131   -- examples/i18n/en/features/step_definitons/calculator_steps.rb
132   -- examples/i18n/en/lib/calculator.rb
133   -- examples/i18n/es/Rakefile
134   -- examples/i18n/es/features/adicion.feature
135   -- examples/i18n/es/features/step_definitons/calculador_steps.rb
136   -- examples/i18n/es/lib/calculador.rb
137   -- examples/i18n/et/Rakefile
138   -- examples/i18n/et/features/jagamine.feature
139   -- examples/i18n/et/features/liitmine.feature
140   -- examples/i18n/et/features/step_definitions/kalkulaator_steps.rb
141   -- examples/i18n/et/lib/kalkulaator.rb
142   -- examples/i18n/fi/Rakefile
143   -- examples/i18n/fi/features/jakolasku.feature
144   -- examples/i18n/fi/features/step_definitons/laskin_steps.rb
145   -- examples/i18n/fi/features/yhteenlasku.feature
146   -- examples/i18n/fi/lib/laskin.rb
147   -- examples/i18n/fr/Rakefile
148   -- examples/i18n/fr/features/addition.feature
149   -- examples/i18n/fr/features/step_definitions/calculatrice_steps.rb
150   -- examples/i18n/fr/lib/calculatrice.rb
151   -- examples/i18n/he/Rakefile
152   -- examples/i18n/he/features/addition.feature
153   -- examples/i18n/he/features/division.feature
154   -- examples/i18n/he/features/step_definitons/calculator_steps.rb
155   -- examples/i18n/he/lib/calculator.rb
156   -- examples/i18n/hu/Rakefile
157   -- examples/i18n/hu/features/addition.feature
158   -- examples/i18n/hu/features/division.feature
159   -- examples/i18n/hu/features/step_definitons/calculator_steps.rb
160   -- examples/i18n/hu/lib/calculator.rb
161   -- examples/i18n/id/Rakefile
162   -- examples/i18n/id/features/addition.feature
163   -- examples/i18n/id/features/division.feature
164   -- examples/i18n/id/features/step_definitons/calculator_steps.rb
165   -- examples/i18n/id/lib/calculator.rb
166   -- examples/i18n/it/Rakefile
167   -- examples/i18n/it/features/somma.feature
168   -- examples/i18n/it/features/step_definitons/calcolatrice_steps.rb
169   -- examples/i18n/it/lib/calcolatrice.rb
170   -- examples/i18n/ja/Rakefile
171   -- examples/i18n/ja/features/addition.feature
172   -- examples/i18n/ja/features/division.feature
173   -- examples/i18n/ja/features/step_definitons/calculator_steps.rb
174   -- examples/i18n/ja/lib/calculator.rb
175   -- examples/i18n/ko/Rakefile
176   -- examples/i18n/ko/features/addition.feature
177   -- examples/i18n/ko/features/division.feature
178   -- examples/i18n/ko/features/step_definitons/calculator_steps.rb
179   -- examples/i18n/ko/lib/calculator.rb
180   -- examples/i18n/lt/Rakefile
181   -- examples/i18n/lt/features/addition.feature
182   -- examples/i18n/lt/features/division.feature
183   -- examples/i18n/lt/features/step_definitons/calculator_steps.rb
184   -- examples/i18n/lt/lib/calculator.rb
185   -- examples/i18n/lv/Rakefile
186   -- examples/i18n/lv/features/addition.feature
187   -- examples/i18n/lv/features/division.feature
188   -- examples/i18n/lv/features/step_definitons/calculator_steps.rb
189   -- examples/i18n/lv/lib/calculator.rb
190   -- examples/i18n/no/Rakefile
191   -- examples/i18n/no/features/step_definitons/kalkulator_steps.rb
192   -- examples/i18n/no/features/summering.feature
193   -- examples/i18n/no/features/support/env.rb
194   -- examples/i18n/no/lib/kalkulator.rb
195   -- examples/i18n/pl/Rakefile
196   -- examples/i18n/pl/features/addition.feature
197   -- examples/i18n/pl/features/division.feature
198   -- examples/i18n/pl/features/step_definitons/calculator_steps.rb
199   -- examples/i18n/pl/features/support/env.rb
200   -- examples/i18n/pl/lib/calculator.rb
201   -- examples/i18n/pt/Rakefile
202   -- examples/i18n/pt/features/adicao.feature
203   -- examples/i18n/pt/features/step_definitions/calculadora_steps.rb
204   -- examples/i18n/pt/features/support/env.rb
205   -- examples/i18n/pt/lib/calculadora.rb
206   -- examples/i18n/ro/Rakefile
207   -- examples/i18n/ro/features/step_definitons/calculator_steps.rb
208   -- examples/i18n/ro/features/suma.feature
209   -- examples/i18n/ro/lib/calculator.rb
210   -- examples/i18n/ru/Rakefile
211   -- examples/i18n/ru/features/addition.feature
212   -- examples/i18n/ru/features/consecutive_calculations.feature
213   -- examples/i18n/ru/features/division.feature
214   -- examples/i18n/ru/features/step_definitons/calculator_steps.rb
215   -- examples/i18n/ru/features/support/env.rb
216   -- examples/i18n/ru/features/support/world.rb
217   -- examples/i18n/ru/lib/calculator.rb
218   -- examples/i18n/se/Rakefile
219   -- examples/i18n/se/features/step_definitons/kalkulator_steps.rb
220   -- examples/i18n/se/features/summering.feature
221   -- examples/i18n/se/lib/kalkulator.rb
222   -- examples/i18n/sk/Rakefile
223   -- examples/i18n/sk/features/addition.feature
224   -- examples/i18n/sk/features/division.feature
225   -- examples/i18n/sk/features/step_definitons/calculator_steps.rb
226   -- examples/i18n/sk/lib/calculator.rb
227   -- examples/i18n/zh-CN/Rakefile
228   -- examples/i18n/zh-CN/features/addition.feature
229   -- examples/i18n/zh-CN/features/step_definitons/calculator_steps.rb
230   -- examples/i18n/zh-CN/lib/calculator.rb
231   -- examples/i18n/zh-TW/Rakefile
232   -- examples/i18n/zh-TW/features/addition.feature
233   -- examples/i18n/zh-TW/features/division.feature
234   -- examples/i18n/zh-TW/features/step_definitons/calculator_steps.rb
235   -- examples/i18n/zh-TW/lib/calculator.rb
236   -- examples/java/README.textile
237   -- examples/java/build.xml
238   -- examples/java/features/hello.feature
239   -- examples/java/features/step_definitons/hello_steps.rb
240   -- examples/java/features/step_definitons/tree_steps.rb
241   -- examples/java/features/tree.feature
242   -- examples/java/src/cucumber/demo/Hello.java
243   -- examples/junit/features/one_passing_one_failing.feature
244   -- examples/junit/features/pending.feature
245   -- examples/junit/features/step_definitions/steps.rb
246   -- examples/pure_java/README.textile
247   -- examples/python/features/fibonacci.feature
248   -- examples/python/features/step_definitions/fib_steps.py
249   -- examples/python/features/step_definitions/fib_steps.rb
250   -- examples/python/features/support/env.rb
251   -- examples/python/lib/fib.py
252   -- examples/selenium/Rakefile
253   -- examples/selenium/features/search.feature
254   -- examples/selenium/features/step_definitons/search_steps.rb
255   -- examples/selenium/features/support/env.rb
256   -- examples/selenium_webrat/Rakefile
257   -- examples/selenium_webrat/config.ru
258   -- examples/selenium_webrat/features/search.feature
259   -- examples/selenium_webrat/features/step_definitons/search_steps.rb
260   -- examples/selenium_webrat/features/support/env.rb
261   -- examples/self_test/README.textile
262   -- examples/self_test/Rakefile
263   -- examples/self_test/features/background/background_tagged_before_on_outline.feature
264   -- examples/self_test/features/background/background_with_name.feature
265   -- examples/self_test/features/background/failing_background.feature
266   -- examples/self_test/features/background/failing_background_after_success.feature
267   -- examples/self_test/features/background/multiline_args_background.feature
268   -- examples/self_test/features/background/passing_background.feature
269   -- examples/self_test/features/background/pending_background.feature
270   -- examples/self_test/features/background/scenario_outline_failing_background.feature
271   -- examples/self_test/features/background/scenario_outline_passing_background.feature
272   -- examples/self_test/features/call_undefined_step_from_step_def.feature
273   -- examples/self_test/features/failing_expectation.feature
274   -- examples/self_test/features/lots_of_undefined.feature
275   -- examples/self_test/features/multiline_name.feature
276   -- examples/self_test/features/outline_sample.feature
277   -- examples/self_test/features/sample.feature
278   -- examples/self_test/features/search_sample.feature
279   -- examples/self_test/features/step_definitions/sample_steps.rb
280   -- examples/self_test/features/support/env.rb
281   -- examples/self_test/features/tags_sample.feature
282   -- examples/self_test/features/tons_of_cukes.feature
283   -- examples/self_test/features/undefined_multiline_args.feature
284   -- examples/sinatra/README.textile
285   -- examples/sinatra/Rakefile
286   -- examples/sinatra/app.rb
287   -- examples/sinatra/features/add.feature
288   -- examples/sinatra/features/step_definitions/add_steps.rb
289   -- examples/sinatra/features/support/env.rb
290   -- examples/sinatra/views/add.erb
291   -- examples/sinatra/views/layout.erb
292   -- examples/steps_library/features/step_definitions/steps_lib1.rb
293   -- examples/steps_library/features/step_definitions/steps_lib2.rb
294   -- examples/test_unit/Rakefile
295   -- examples/test_unit/features/step_definitions/test_unit_steps.rb
296   -- examples/test_unit/features/test_unit.feature
297   -- examples/tickets/Rakefile
298   -- examples/tickets/features/172.feature
299   -- examples/tickets/features/177/1.feature
300   -- examples/tickets/features/177/2.feature
301   -- examples/tickets/features/177/3.feature
302   -- examples/tickets/features/180.feature
303   -- examples/tickets/features/229/tagged_hooks.feature
304   -- examples/tickets/features/229/tagged_hooks.rb
305   -- examples/tickets/features/236.feature
306   -- examples/tickets/features/241.feature
307   -- examples/tickets/features/246.feature
308   -- examples/tickets/features/248.feature
309   -- examples/tickets/features/270/back.feature
310   -- examples/tickets/features/270/back.steps.rb
311   -- examples/tickets/features/272/hooks.feature
312   -- examples/tickets/features/272/hooks_steps.rb
313   -- examples/tickets/features/279/py_string_indent.feature
314   -- examples/tickets/features/279/py_string_indent.steps.rb
315   -- examples/tickets/features/279/wrong.feature_
316   -- examples/tickets/features/301/filter_background_tagged_hooks.feature
317   -- examples/tickets/features/301/filter_background_tagged_hooks_steps.rb
318   -- examples/tickets/features/306/only_background.feature
319   -- examples/tickets/features/lib/eatting_machine.rb
320   -- examples/tickets/features/lib/pantry.rb
321   -- examples/tickets/features/scenario_outline.feature
322   -- examples/tickets/features/step_definitons/246_steps.rb
323   -- examples/tickets/features/step_definitons/248_steps.rb
324   -- examples/tickets/features/step_definitons/scenario_outline_steps.rb
325   -- examples/tickets/features/step_definitons/tickets_steps.rb
326   -- examples/tickets/features/table_diffing.feature
327   -- examples/tickets/features/tickets.feature
328   -- examples/watir/README.textile
329   -- examples/watir/Rakefile
330   -- examples/watir/features/search.feature
331   -- examples/watir/features/step_definitons/search_steps.rb
332   -- examples/watir/features/support/env.rb
333   -- features/after_block_exceptions.feature
334   -- features/after_step_block_exceptions.feature
335   -- features/background.feature
336   -- features/bug_371.feature
337   -- features/cucumber_cli.feature
338   -- features/cucumber_cli_diff_disabled.feature
339   -- features/cucumber_cli_outlines.feature
340   -- features/custom_formatter.feature
341   -- features/drb_server_integration.feature
342   -- features/exclude_files.feature
343   -- features/expand.feature
344   -- features/html_formatter.feature
345   -- features/html_formatter/a.html
346   -- features/junit_formatter.feature
347   -- features/language_from_header.feature
348   -- features/multiline_names.feature
349   -- features/profiles.feature
350   -- features/rake_task.feature
351   -- features/report_called_undefined_steps.feature
352   -- features/snippet.feature
353   -- features/step_definitions/cucumber_steps.rb
354   -- features/step_definitions/extra_steps.rb
355   -- features/steps_formatter.feature
356   -- features/support/env.rb
357   -- features/table_diffing.feature
358   -- features/unicode_table.feature
359   -- features/usage.feature
360   -- features/work_in_progress.feature
361   -- gem_tasks/contributors.rake
362   -- gem_tasks/deployment.rake
363   -- gem_tasks/environment.rake
364   -- gem_tasks/features.rake
365   -- gem_tasks/fix_cr_lf.rake
366   -- gem_tasks/flog.rake
367   -- gem_tasks/gemspec.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/visitor.rb
396   -- lib/cucumber/broadcaster.rb
397   -- lib/cucumber/cli/configuration.rb
398   -- lib/cucumber/cli/drb_client.rb
399   -- lib/cucumber/cli/language_help_formatter.rb
400   -- lib/cucumber/cli/main.rb
401   -- lib/cucumber/cli/options.rb
402   -- lib/cucumber/cli/profile_loader.rb
403   -- lib/cucumber/constantize.rb
404   -- lib/cucumber/core_ext/instance_exec.rb
405   -- lib/cucumber/core_ext/proc.rb
406   -- lib/cucumber/core_ext/string.rb
407   -- lib/cucumber/feature_file.rb
408   -- lib/cucumber/filter.rb
409   -- lib/cucumber/formatter/ansicolor.rb
410   -- lib/cucumber/formatter/color_io.rb
411   -- lib/cucumber/formatter/console.rb
412   -- lib/cucumber/formatter/cucumber.css
413   -- lib/cucumber/formatter/cucumber.sass
414   -- lib/cucumber/formatter/duration.rb
415   -- lib/cucumber/formatter/html.rb
416   -- lib/cucumber/formatter/junit.rb
417   -- lib/cucumber/formatter/ordered_xml_markup.rb
418   -- lib/cucumber/formatter/pretty.rb
419   -- lib/cucumber/formatter/profile.rb
420   -- lib/cucumber/formatter/progress.rb
421   -- lib/cucumber/formatter/rerun.rb
422   -- lib/cucumber/formatter/steps.rb
423   -- lib/cucumber/formatter/tag_cloud.rb
424   -- lib/cucumber/formatter/unicode.rb
425   -- lib/cucumber/formatter/usage.rb
426   -- lib/cucumber/formatters/unicode.rb
427   -- lib/cucumber/language_support.rb
428   -- lib/cucumber/language_support/language_methods.rb
429   -- lib/cucumber/language_support/step_definition_methods.rb
430   -- lib/cucumber/languages.yml
431   -- lib/cucumber/parser.rb
432   -- lib/cucumber/parser/feature.rb
433   -- lib/cucumber/parser/feature.tt
434   -- lib/cucumber/parser/i18n.tt
435   -- lib/cucumber/parser/natural_language.rb
436   -- lib/cucumber/parser/table.rb
437   -- lib/cucumber/parser/table.tt
438   -- lib/cucumber/parser/treetop_ext.rb
439   -- lib/cucumber/platform.rb
440   -- lib/cucumber/py_support/py_dsl.py
441   -- lib/cucumber/py_support/py_language.py
442   -- lib/cucumber/py_support/py_language.rb
443   -- lib/cucumber/rails/rspec.rb
444   -- lib/cucumber/rails/world.rb
445   -- lib/cucumber/rake/task.rb
446   -- lib/cucumber/rb_support/rb_dsl.rb
447   -- lib/cucumber/rb_support/rb_hook.rb
448   -- lib/cucumber/rb_support/rb_language.rb
449   -- lib/cucumber/rb_support/rb_step_definition.rb
450   -- lib/cucumber/rb_support/rb_world.rb
451   -- lib/cucumber/rspec_neuter.rb
452   -- lib/cucumber/step_match.rb
453   -- lib/cucumber/step_mother.rb
454   -- lib/cucumber/version.rb
455   -- lib/cucumber/webrat/element_locator.rb
456   -- lib/cucumber/webrat/table_locator.rb
457   -- rails_generators/cucumber/USAGE
458   -- rails_generators/cucumber/cucumber_generator.rb
459   -- rails_generators/cucumber/templates/cucumber
460   -- rails_generators/cucumber/templates/cucumber.rake
461   -- rails_generators/cucumber/templates/cucumber_environment.rb
462   -- rails_generators/cucumber/templates/env.rb
463   -- rails_generators/cucumber/templates/paths.rb
464   -- rails_generators/cucumber/templates/spork_env.rb
465   -- rails_generators/cucumber/templates/webrat_steps.rb
466   -- rails_generators/feature/USAGE
467   -- rails_generators/feature/feature_generator.rb
468   -- rails_generators/feature/templates/feature.erb
469   -- rails_generators/feature/templates/steps.erb
470   -- spec/cucumber/ast/background_spec.rb
471   -- spec/cucumber/ast/feature_element_spec.rb
472   -- spec/cucumber/ast/feature_factory.rb
473   -- spec/cucumber/ast/feature_spec.rb
474   -- spec/cucumber/ast/py_string_spec.rb
475   -- spec/cucumber/ast/scenario_outline_spec.rb
476   -- spec/cucumber/ast/scenario_spec.rb
477   -- spec/cucumber/ast/step_collection_spec.rb
478   -- spec/cucumber/ast/step_spec.rb
479   -- spec/cucumber/ast/table_spec.rb
480   -- spec/cucumber/broadcaster_spec.rb
481   -- spec/cucumber/cli/configuration_spec.rb
482   -- spec/cucumber/cli/drb_client_spec.rb
483   -- spec/cucumber/cli/main_spec.rb
484   -- spec/cucumber/cli/options_spec.rb
485   -- spec/cucumber/cli/profile_loader_spec.rb
486   -- spec/cucumber/core_ext/proc_spec.rb
487   -- spec/cucumber/core_ext/string_spec.rb
488   -- spec/cucumber/formatter/ansicolor_spec.rb
489   -- spec/cucumber/formatter/color_io_spec.rb
490   -- spec/cucumber/formatter/duration_spec.rb
491   -- spec/cucumber/formatter/html_spec.rb
492   -- spec/cucumber/formatter/progress_spec.rb
493   -- spec/cucumber/parser/feature_parser_spec.rb
494   -- spec/cucumber/parser/table_parser_spec.rb
495   -- spec/cucumber/rails/stubs/mini_rails.rb
496   -- spec/cucumber/rails/stubs/test_help.rb
497   -- spec/cucumber/rails/world_spec.rb
498   -- spec/cucumber/rb_support/rb_step_definition_spec.rb
499   -- spec/cucumber/sell_cucumbers.feature
500   -- spec/cucumber/step_mother_spec.rb
501   -- spec/cucumber/treetop_parser/empty_feature.feature
502   -- spec/cucumber/treetop_parser/empty_scenario.feature
503   -- spec/cucumber/treetop_parser/empty_scenario_outline.feature
504   -- spec/cucumber/treetop_parser/fit_scenario.feature
505   -- spec/cucumber/treetop_parser/given_scenario.feature
506   -- spec/cucumber/treetop_parser/invalid_scenario_outlines.feature
507   -- spec/cucumber/treetop_parser/multiline_steps.feature
508   -- spec/cucumber/treetop_parser/multiple_tables.feature
509   -- spec/cucumber/treetop_parser/scenario_outline.feature
510   -- spec/cucumber/treetop_parser/spaces.feature
511   -- spec/cucumber/treetop_parser/test_dos.feature
512   -- spec/cucumber/treetop_parser/with_comments.feature
513   -- spec/cucumber/treetop_parser/with_tags.feature
514   -- spec/cucumber/world/pending_spec.rb
515   -- spec/spec.opts
516   -- spec/spec_helper.rb
517   -has_rdoc: true
518   -homepage: http://cukes.info
519   -licenses: []
520   -
521   -post_install_message:
522   -rdoc_options:
523   -- --main
524   -- README.txt
525   -require_paths:
526   -- lib
527   -required_ruby_version: !ruby/object:Gem::Requirement
528   - requirements:
529   - - - ">="
530   - - !ruby/object:Gem::Version
531   - version: "0"
532   - version:
533   -required_rubygems_version: !ruby/object:Gem::Requirement
534   - requirements:
535   - - - ">="
536   - - !ruby/object:Gem::Version
537   - version: "0"
538   - version:
539   -requirements: []
540   -
541   -rubyforge_project: rspec
542   -rubygems_version: 1.3.4
543   -signing_key:
544   -specification_version: 3
545   -summary: Executable Feature scenarios
546   -test_files: []
547   -
vendor/gems/cucumber-0.3.98/History.txt
... ... @@ -1,1033 +0,0 @@
1   -== 0.3.98 2009-08-25
2   -
3   -Just a small release to help Cuke4Duke, which will be presented at Agile2009
4   -in 2 days.
5   -
6   -=== New Features
7   -* Backtrace filtering now happens in StepInvocation class, meaning other languages (Cuke4Duke) can get backtraces stripped. (Aslak Hellesøy)
8   -* Cucumber::Ast::Table#map_headers now allows for a block that will convert all the headers. See docs for details. (Ben Mabey)
9   -
10   -== 0.3.97 2009-08-23
11   -
12   -The AA-FTT release. Creating a release for the AA-FTT meeting in Chicago so that we can play
13   -with the new language API and maybe knock out some better .NET support.
14   -
15   -=== Bugfixes
16   -* Allow comments on examples sections underneath scenario outlines (#420 Mike Sassak)
17   -* Table.map_headers! will fail with a decent error message when 0 or 2+ headers are matched. (Aslak Hellesøy)
18   -* Fixed an issue with comments with preceding spaces after a background causing a parse error (#401 Joseph Wilk)
19   -
20   -=== New Features
21   -* The public API is documented and there is a new :sdoc task to generate nice searchable API docs.
22   -* Add :default => :cucumber when setting up Rake tasks for Cucumber in Rails (Aslak Hellesøy)
23   -* New When /^I fill in "([^\"]*)" for "([^\"]*)"$/ Webrat step for Rails (Aslak Hellesøy)
24   -
25   -=== Changed Features
26   -* Changed the Programming Language API to support languages without "bleed through" (e.g. rubypython can't invoke ruby objs) (Aslak Hellesøy)
27   -* The Programming Language API manages hooks on the language level instead of on the step mother level (Aslak Hellesøy)
28   -
29   -== 0.3.96 2009-08-15
30   -
31   -This release doesn't have any significant new features or bug fixes, but there are big
32   -internal changes. This release has a new API for plugging in other programming languages.
33   -You can read more about that here: http://groups.google.com/group/cukes/browse_thread/thread/b9db8bf1f3ec9708
34   -
35   -This might break other tools that are using Cucumber's internal APIs. For example Spork broke and had to
36   -be patched. Please upgrade to Spork 0.5.9 if you are using Spork.
37   -
38   -=== New Features
39   -* Ability to preload natural language in Spork's prefork. Rerun script/generate cucumber --spork to see how. (Aslak Hellesøy)
40   -* Ability to control which DRb port is used via the --port flag or by setting CUCUMBER_DRB environment variable. (Chris Flipse)
41   -* Upgrade Rails generator to use webrat 0.5.0. (Aslak Hellesøy)
42   -* Upgrade Sinatra example to work with rack-test 0.4.1 and webrat 0.5.0. (Aslak Hellesøy)
43   -
44   -=== Changed Features
45   -* --strict will cause an exit code 1 for missing and pending (used to be for missing only). (Mads Buus)
46   -* junit formatter doesn't report pending steps unless --strict is used. (Mads Buus)
47   -
48   -== 0.3.95 2009-08-13
49   -
50   -This release improves Webrat support for table-like HTML markup. Now you can easily turn the HTML
51   -elements table, dl, ol and ul elements into a 2D array. This is particularly useful for comparing
52   -data in your HTML with a Cucumber table using Cucumber::Ast::Table#diff!
53   -
54   -This release also fixes several bugs related to --drb (Spork) and profiles (cucumber.yml)
55   -
56   -=== Bug Fixes
57   -* --guess will always prefer the longest regexp with no groups if they exist.
58   -* Prevent delays if a NoMethodError is raise in a step definition. Define a light #inspect in World. (#374 Aslak Hellesøy)
59   -* Restore 'features' as the default feature running path. (#412 Ben Mabey)
60   -* --drb degrades gracefully when no drb server is running and no formatter is provided. (#410 Ben Mabey)
61   -* --language picked up from profiles again. (#409 Ben Mabey)
62   -* Resolved infinite loop problem when --drb was defined in a profile. (#408 Ben Mabey)
63   -
64   -=== New Features
65   -* Cucumber::World#table has been overloaded to work with 2D Array in addition to a table String to be parsed.
66   -* New When /^I fill in the following:$/ step definition for Webrat. Useful for filling out a form with a Table. (Aslak Hellesøy)
67   -* The object returned by element_at (Webrat::Element) has a #to_table that works for table, dl, ol and ul. (Aslak Hellesøy)
68   -* An explanation of why failures are ok is printed when --wip is used. (Aslak Hellesøy)
69   -* Added cucumber alias for cucumber:ok in Rails Rake tasks. (Aslak Hellesøy)
70   -
71   -=== Changed features
72   -* 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)
73   -* 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)
74   -
75   -== 0.3.94 2009-08-06
76   -
77   -Kanban take II.
78   -
79   -Release 0.3.6 introduced a new --wip switch that can be used to limit work in progress
80   -(WIP). Limiting WIP is central for Kanban Software Development (http://www.infoq.com/articles/hiranabe-lean-agile-kanban).
81   -
82   -However, this feature went mostly unnoticed, and because we think it's so great we have decided
83   -to make it the default for Rails projects. When you bootstrap your Rails project for Cucumber
84   -you will now get 2 Cucumber Rake tasks for Kanban development:
85   -
86   - cucumber:ok : Run features that should pass. This runs your "good,old" features
87   - cucumber:wip : Run the features you're working on that don't pass yet. Tag them with @wip. Max 2!
88   -
89   -So upgrade today and get into the habit of tagging new features with @wip (or invent your own tags).
90   -You'll achieve better flow this way.
91   -
92   -=== New features
93   -* Support limiting the number of feature elements with certain tags (#353 Joseph Wilk)
94   -* script/generate cucumber sets up 'cucumber:ok' and 'cucumber:wip' tasks and deprecates 'features'. More Kanban love. (#344 Aslak Hellesøy)
95   -* Better JUnit formatter: feature->testsuite, scenario->testcase. Better timing and support for background and scenario outline. (Mads Buus Westmark)
96   -* Added examples/python that uses rubypython. (Aslak Hellesøy)
97   -* Checks the number of available colors on the terminal with ruby-terminfo if ruby-terminfo is installed.
98   - This prevents Apple's Terminal.app from stalling (Yugui - Yuki Sonoda).
99   - * Set 'xterm-256color' to TERM if your terminal supports grey.
100   - * ruby-terminfo is available as genki-ruby-terminfo gem from github.
101   -* Document builtin formatters with --help. (#406 Aslak Hellesøy)
102   -* Added support for using regular expressions when mapping table headers. (Peter Williams)
103   -
104   -== 0.3.93 2009-08-03
105   -
106   -Highlights in this release: Improved profile handling (cucumber.yml) and a fix for cucumber hanging.
107   -
108   -=== New features
109   -* script/generate cucumber --spork now sets up a spork gem dependency in the cucumber.rb environment. (Aslak Hellesøy)
110   -* Feature files defined on the command line override any that are present in profiles. (#344 Ben Mabey)
111   -* Default (STDOUT) formatter defined in profile can be overridden from the command line. (#344 Ben Mabey)
112   -* Displays which profile, if any, is being used. (Ben Mabey)
113   -* click_link_within(parent, link) webrat step (Joakim Kolsjö)
114   -
115   -=== Bugfixes
116   -* script/cucumber correctly loads the gem's binary if the plugin isn't installed.
117   -* Cucumber hangs waiting for Ctrl+C if an Error is raised. (#374 Aslak Hellesøy)
118   -
119   -== 0.3.92 2009-07-29
120   -
121   -This release has some minor improvements to the new Table.diff! functionality. For example,
122   -if you're using Webrat and you want to compare a feature table with a HTML table containing
123   -links in one of the columns, you can do:
124   -
125   - actual = Cucumber::Ast::Table.new(table_at('table').to_a)
126   - actual.map_column!('Name') { |text| text.strip.match(/>(.*)</)[1] }
127   - table.diff!(actual)
128   -
129   -=== New features
130   -* Allow Step Definitions to accept mix of required & optional args (Niels Ganser)
131   -* table_a.diff!(table_b) now uses column conversions from both tables (Table#map_column!) (Aslak Hellesøy)
132   -
133   -=== Bugfixes
134   -* Upgrade Sinatra example to work with rack-test 0.3.0 and aslakhellesoy-webrat 0.4.4.1 (Aslak Hellesøy)
135   -* require 'cucumber/webrat/table_locator' added to Spork environment for Rails (Anders Furseth)
136   -
137   -=== Changed Features
138   -* The 'default' profile is now ALWAYS used unless you specify another profile or use the -P or --no-profile flag. (#344 Ben Mabey)
139   -
140   -== 0.3.91 2009-07-27
141   -
142   -=== New Features
143   -* CTRL-C will exit immediately instead of carrying on until all features are run. (Aslak Hellesøy)
144   -* Run can be stopped programmatically by setting $cucumber_interrupted = true, for example in an After block. (Aslak Hellesøy)
145   -* Support limiting the number of feature elements with certain tags (#353 Joseph Wilk)
146   -* Table support for cuke4duke
147   -
148   -== 0.3.90 2009-07-22
149   -
150   -The Hot summer release
151   -
152   -This is a hot summer in Norway, and Cucumbers are growing in abundance. To celebrate this we give you
153   -a new release with lots of new features and bugfixes. This is also one of the last releases in the 0.3 series
154   -(hence the 0.3.90 number), so 0.4 (or maybe 1.0!) will be coming up soon. The highlights of this release are:
155   -
156   -=== Egality
157   -
158   -English is not the world's most spoken language, so why should Cucumber force non-English speakers to use the
159   ---language flag? As of this release you're no longer forced to do that. Instead, you can add a comment header
160   -to your .feature files:
161   -
162   - # language: fr
163   - # Cucumber understands that this is French
164   - Fonctionnalité: Trou de boulette
165   -
166   -If you don't have that header, Cucumber will work as before - using whatever you specified with --language,
167   -or default to English if no --language option was specified. A nice side effect of this is that you can now
168   -have features in several languages side by side and run them in the same cucumber. (Not recommended unless
169   -you want to take polyglot programming to an extreme level).
170   -
171   -=== Table diffing (experimental)
172   -
173   -When you pass a table as an argument to your Then steps you often want to compare that table
174   -to some actual values. In previous releases you had to iterate over the table's values and manually
175   -compare each row using cell.should equal('foo') or assert_equal('foo', cell). If a discrepancy was found
176   -you'd get an error, but it was hard to see how the entire expected data set was different from the actual one.
177   -
178   -With this release you have a much more powerful way to compare expected tables with actual data. An
179   -Ast::Table object now has a new #diff!(table) method that you can invoke in your step definitions
180   -that take table arguments. If the table you pass in is different from the expected table (from your
181   -plain text step), Cucumber will print the difference for each of the row or column and fail your step.
182   -
183   -The Table#diff! method expects an Array of Array, Array of Hash (similar to what you'd get from table#hashes)
184   -or simply another Ast::Table object. Here is a simple example:
185   -
186   - Then /^I should see the following cukes:$/ do |expected_cukes_table|
187   - actual_table = ... # For example [['Latin', 'English'], ['Cucumis sativus', 'Cucumber'], ['Cucumis anguria', 'Burr Gherkin']]
188   - expected_cukes_table.diff!(actual_table)
189   - end
190   -
191   -As an extra bonus we provide Webrat users with a new #table_at(selector) method that you can use to transform
192   -an HTML table into an Array of Array, so that you can easily compare the contents of your HTML table to
193   -expected data passed to a step. Here is an example:
194   -
195   - Then /^I should see the following cukes:$/ do |expected_cukes_table|
196   - expected_cukes_table.diff!(table_at('#cuke_table').to_a)
197   - end
198   -
199   -You can do the same trick to compare data from a Rails ActiveRecord table (although this is not a
200   -recommended practice - your Then steps should compare against what users *see*, not what's in the
201   -database):
202   -
203   - # This requires that you use the column names in the header of the plain text expected table
204   - Then /^I should have the following cukes in the database:$/ do |expected_cukes_table|
205   - expected_cukes_table.diff!(Cuke.find(:all).map(&attributes))
206   - end
207   -
208   -=== Environment variables
209   -
210   -Another useful new feature is the ability to define environment variables on Cucumber's command line (just
211   -like you can with Rake). Example:
212   -
213   - cucumber FOO=BAR --format progress features
214   -
215   -You can now pick up ENV['FOO'] in ruby (for example in env.rb) and take actions according to the value,
216   -for example enabling your super hack that validates all HTTP responses for XHTML validity.
217   -
218   -This release also has several bugfixes related to --format and Before/After hooks.
219   -
220   -=== Bugfixes
221   -* Fix some misspellings which affect test fail for Korean example (#373 Dongju Kim)
222   -* Make it possible to write non-localized step definitions (#377 Aslak Hellesøy)
223   -* Table cells containing unicode are rendered incorrectly (#386 Stefan Kanev)
224   -* Before and After hooks run after everything is finished when there are 2+ --format options (#371 Aslak Hellesøy)
225   -* When using --out and two --format the first is not delivered inline with execution of features (#361 Aslak Hellesøy)
226   -* Profile Formatter broken (#370 Aslak Hellesøy)
227   -* Default profile usage with --drb flag degrades gracefully with no server. (#367 Ben Mabey)
228   -* JUnit formatter uses original file name instead of narrative to avoid accidental duplicate XML files (Aslak Hellesøy)
229   -* rake gems no longer lists cucumber as a [F]ramework gem (David Chelimsky)
230   -* CLI issues correct exit code when using --drb. Requires Spork version >= 0.5.1. (#355 Ben Mabey)
231   -* Make sure script/generate cucumber --spork uses the cucumber Rails environment (Philippe Lafoucrière)
232   -* Fixed bug with rake task raising errors with feature files with spaces (#380 Joseph Wilk)
233   -
234   -=== New Features
235   -* I should see should support regexes (#382 John Ferlito)
236   -* Access to scenario outline name from After hook scenario parameter (#342 Aslak Hellesøy)
237   -* Allow multiple --tags switches to be passed
238   -* Load step definitions from vendored gems and plugins (#388 Mike Burns)
239   -* New --format steps formatter. Variant of the usage formatter that lists available step definitions (Demetrius Nunes)
240   -* Possibility to specify scenario language as part of the .feature file (#345 Aslak Hellesøy)
241   -* Support specifying environment variables using foo=bar syntax on command line or in profiles (#362 Bryan Helmkamp)
242   -* Display failing scenarios at the end of pretty format to make it easier for people to play them back (#360 Ryan Bigg)
243   -
244   -=== Changed Features
245   -* When using --tags, positive tags are &&'ed while negative tags are ||'ed (John Wilger)
246   -* The data returned from Table#hashes and similar methods are frozen. Dup if you need to modify. (Aslak Hellesøy)
247   -* Visitor.visit_table_cell_value(value, col_width, status) is now visitor.visit_table_cell_value(value, status)
248   -
249   -== 0.3.11 2009-06-05
250   -
251   -This release just fixes a tiny bug in the formatter to fix an incompatibility
252   -with the latest RedMine release. It should have been included in 0.3.10, but
253   -was forgotten.
254   -
255   -=== Bugfixes
256   -* Formatter API was broken in 0.3.9 (Roman Chernyatchik)
257   -
258   -== 0.3.10 2009-06-05
259   -
260   -The Spork Release!
261   -
262   -This release has an exciting new feature - a new --drb switch! This magic switch lets you run your
263   -features much faster than before, because you can eliminate the startup time for your code. This is
264   -thanks to a brand new gem called Spork by Tim Harper and Ben Mabey. (You can find out more about Spork
265   -here: http://github.com/timcharper/spork/tree/master). You can start Spork and have it preload your
266   -application in a separate process. Spork listens for DRb connections, and when you run cucumber with
267   ---drb the features will run inside the Spork server instead. Spork provides two simple hooks for preloading
268   -your application - one for framework/stable code (Spork.prefork) and one for the code that *you* write and
269   -change often (Spork.each_run). Keep in mind that all World, Before, and other Cucumber hooks need to be
270   -in the Spork.each_run block. Using Spork works great for Ruby on Rails, which can take a while to load,
271   -but --drb and Spork aren't tied to Rails at all. The new --drb switch also works great alongside autotest
272   -(just add --drb to your autotest profile in cucumber.yml), so now you can get even faster feedback.
273   -
274   -Cucumber's built-in cucumber generator now has a new --spork switch, so when you bootstrap your Rails
275   -application for cucumber, you can have spork configuration set up out of the box. (It's just a
276   -slightly different env.rb.)
277   -
278   -Although Spork was in mind when the --drb switch was added it is important to realize that all that was added
279   -to Cucumber was a DRb client. Any DRb server that adheres to this protocol can be used with Cucumber's --drb
280   -switch. While Spork is geared towards removing the load time to give you a faster feedback loop you could
281   -just as easily use this client with a server that distributes your features to run in parallel. Someone just
282   -needs to write such a server. ;)
283   -
284   -This release also has some minor bugfixes related to RSpec and Rails interop.
285   -
286   -=== Bugfixes
287   -* RSpec's be_* matchers did not work in 0.3.9 and probably earlier versions. Now they do. (Aslak Hellesøy)
288   -* The Rails cucumber environment won't declare gem dependencies if the plugin exists. (Aslak Hellesøy)
289   -* The Rails cucumber generator will no longer declare gem dependencies on rspec if you use --testunit. (Aslak Hellesøy)
290   -
291   -=== New features
292   -* Spork support via --drb. (Ben Mabey)
293   -* Added a Ast::Feature#name method for convenience. (Aslak Hellesøy)
294   -
295   -=== Changed features
296   -* The HTML formatter wraps examples in a div, and distinguishes between Scenario and Scenario Outline. (Aslak Hellesøy)
297   -
298   -== 0.3.9 2009-05-27
299   -
300   -Bugfix release for 0.3.8 released earlier today. 0.3.8 had a bug in the Rails cucumber
301   -generator which is fixed in 0.3.9.
302   -
303   -=== Bugfixes
304   -* Fix broken Rails cucumber generator (Tim Glen)
305   -* The Cucumber Rake task in non-fork mode will properly cause Rake to exit with 1 when Cucumber fails. (Aslak Hellesøy)
306   -
307   -== 0.3.8 2009-05-27
308   -
309   -This Cucumber version fixes several bugs related to Ruby on Rails and RSpec. If you
310   -use Cucumber with a Rails app we *strongly* recommend you bootstrap Cucumber again:
311   -
312   - ruby script/generate cucumber
313   -
314   -=== New Features
315   -* Rails cucumber generator sets up default gem dependencies in cucumber environment.
316   -* The duration of a run is reported by formatters - same format as the Linux time command (#228 Aslak Hellesøy)
317   -* Scenario and ExampleRow objects (passed to Before and After hooks) have #name and #line methods (#316 Aslak Hellesøy)
318   -* Rails generator creates a cucumber environment file to avoid potential cache_classes conflicts in test.rb (#165, Ben Mabey)
319   -* HTML formatter renders @tags (but the CSS is still ugly)
320   -
321   -=== Removed/changed features
322   -* The Cucumber Rake task will again fork by default (as 0.3.3 and earlier). Forking must be turned off explicitly. (Aslak Hellesøy)
323   -
324   -=== Bugfixes
325   -* Better coexistence with RSpec - Cucumber now *neuters* the part of RSpec that tries to parse ARGV.
326   -* The differ= exception is gone (#325, #340 Aslak Hellesøy)
327   -
328   -== 0.3.7 2009-05-22
329   -
330   -This is the "Help JetBrains RubyMine" release!
331   -
332   -=== New Features
333   -* Added new Given alias for Catalan: Donat|Donada (Lleïr Borràs Metje)
334   -* New --expand option. This will print Scenario Outlines once for each Example row - with values expanded. (#327 Aslak Hellesøy)
335   -* You can override the formatter in Rails-generated rake tasks with the CUCUMBER_FORMAT environment variable (#335 Aslak Hellesøy)
336   -
337   -=== Bugfixes
338   -* 'specs' folder needs to be renamed back to 'spec' (#339 Aslak Hellesøy)
339   -* CUCUMBER_OPTS doesn't work for cucumber rake tasks (#336 Aslak Hellesøy)
340   -
341   -== 0.3.6 2009-05-20
342   -
343   -Kanban! With this release you can tag features or scenarios that are work in progress
344   -with a tag and use the new --wip switch.
345   -
346   -Another handy feature in this release is that you can package your own formatters in RubyGems.
347   -
348   -=== New features
349   -* New --wip switch. See http://www.jroller.com/perryn/entry/bdd_on_a_multi_disciplined (Perryn Fowler)
350   -* Added a AfterStep hook (Luke Melia)
351   -* New aliases for Vietnamese (Ngoc Dao)
352   -* Automatic require of custom formatters. --require is no longer needed to load them, and they can be in Ruby gems. (Aslak Hellesøy)
353   -* Lazy loading of built-in formatters. Should improve startup time a little bit.
354   -
355   -=== Bugfixes
356   -* Gracefully handle exceptions in After block (#330 Matt Wynne)
357   -* Feature with only Background doesn't run hooks (#314, #329 Aslak Hellesøy)
358   -
359   -== 0.3.5 2009-05-14
360   -
361   -Let's make a new release today because two annoying bugs are fixed.
362   -
363   -=== Bugfixes
364   -* Allow feature element names to contain Gherkin keywords as long as they are not the first word on a newline (#319, #307 Joseph Wilk)
365   -
366   -== 0.3.4 2009-05-14
367   -
368   -A couple of great new features in this release. Running with Rake is faster than before,
369   -and there is a brand new JUnit formatter - great for Continuous Integration reports!
370   -
371   -This release was made especially for the Oslo XP Meetup today.
372   -
373   -** IMPORTANT UPGRADE NOTES FOR RAILS USERS **
374   -
375   -Running Cucumber features in the same Ruby interpreter as Rake doesn't seem to work,
376   -so you have to explicitly tell the task to fork (like it was doing by default in prior
377   -versions). In lib/tasks/cucumber.rake:
378   -
379   - Cucumber::Rake::Task.new(:features) do |t|
380   - t.fork = true # Explicitly fork
381   - t.cucumber_opts = %w{--format pretty}
382   - end
383   -
384   -(If you run script/generate cucumber this will be done for you).
385   -Alternatively you can omit forking and run features like this:
386   -
387   - RAILS_ENV=test rake features
388   -
389   -However, setting the RAILS_ENV is easy to forget, so I don't recommend relying on this.
390   -
391   -=== Bugfixes
392   -* Hooks (World, Before, After) are no longer executed when --dry-run (Aslak Hellesøy)
393   -* Proper UTF8 use in HTML formatter (Herminio Torres)
394   -* Problem with multiple terms in languages.yml (#321 Aslak Hellesøy)
395   -
396   -=== New features
397   -* New JUnit formatter (Gareth Jones)
398   -* Support for Vietnamese (Ngoc Dao)
399   -* Added aliases for Feature and But in Japanese (Leonard Chin)
400   -* Support for Catalan (Francesc Esplugas)
401   -
402   -=== Changed features
403   -* --exclude flag now works on ruby files in addition to feature files (#312 Ben Mabey)
404   -* The Java example under examples/java uses Ant instead of Rake - and the new JUnit formatter.
405   -* Rake task should not shell out (#297 Aslak Hellesøy)
406   - The Cucumber Rake task will run Cucumber in the same Ruby interpreter as Rake itself
407   - unless explicitly told to fork a new interpreter. This is to increase speed. You can
408   - force a new interpreter by setting fork=true or rcov=true in the task.
409   -
410   -== 0.3.3 2009-05-10
411   -
412   -Minor bugfix release, made specially for EuRuKo!
413   -
414   -=== Bugfixes
415   -* Summaries are no longer printed in an empty () if there are no scenarios/steps (Aslak Hellesøy)
416   -* Background, Scenario Outline, Before Hook interaction (#309 Aslak Hellesøy)
417   -* Multiline String snippets no longer give misleading info. It's a String, not a PyString that's sent to step def.
418   -
419   -=== Removed/changed features
420   -* New aliases: --no-source/-s, --name/-n (#317 Lonnon Foster)
421   -
422   -== 0.3.2 2009-05-05
423   -
424   -This release has some minor bug fixes and new features.
425   -Nothing major, but we need a release for RailsConf'09 in Las Vegas!
426   -
427   -=== Bugfixes
428   -* rake tasks with profiles not respecting --require flags (#311 Ben Mabey)
429   -* Step table with blank cell fails (#308 JohnnyT)
430   -* Fixed error where unused table cells in Examples where raising exceptions due to having no status (#302 Joseph Wilk)
431   -
432   -=== New features
433   -* Support for Hebrew (Ido Kanner)
434   -* Summary should report scenarios (#32 Aslak Hellesøy)
435   -* Examples and the associated tables are indented one level deeper than Scenario Outline. (Aslak Hellesøy)
436   -* Added support for Examples selection when using --name. (#295 Joseph Wilk)
437   -
438   -== 0.3.1 2009-04-26
439   -
440   -This release has several minor bug fixes and new features. With the addition of Latvian and Hungarian Cucumber
441   -now supports 32(!!) languages.
442   -
443   -=== New features
444   -* Support multiline names for Scenarios, Scenario Outlines, Backgrounds, Examples (#231 Joseph Wilk)
445   -* Added #headers to Cucumber::Ast::Table (Ben Mabey)
446   -* New translation for Latvian (Vitauts Stočka)
447   -* New translation for Hungarian (#287 Bence Golda)
448   -* Pick up failure on after hook (#272 Aslak Hellesøy)
449   -
450   -=== Bugfixes
451   -* Pretty formatter not colouring Examples tables correctly (#304 Aslak Hellesøy)
452   -* Problem using --scenario and Scenario Outline (#298 Aslak Hellesøy)
453   -* Tag Hook gets executed always there is a background (#301 Aslak Hellesøy)
454   -* Feature which only has a Background with steps causes an exception (#306 Aslak Hellesøy)
455   -* Gem no longer depends on Hoe (Aslak Hellesøy)
456   -* Span html tags appear on HTML results with 0.3.0 (#299 Aslak Hellesøy)
457   -* Fixed incorrect colours in pretty formatter's table headers for outline tables (Aslak Hellesøy)
458   -* Exceptions from steps called within hooks are now reraised. (#294 Ben Mabey)
459   -
460   -=== Removed/changed features
461   -* --scenario handle has been removed and replaced with --name which supports partial matches, regexp special characters, running named backgrounds (#295 Joseph Wilk)
462   -
463   -== 0.3.0 2009-04-14
464   -
465   -This release has some minor changes to the APIs, but big enough that a new major release is in order.
466   -The biggest change is the new semantics of the #World method. Previously you would call this method
467   -several times, passing a Proc and extending the world object of the previous one with a Ruby module.
468   -The problem was that there was no nice way to ensure the order in which these procs were called, which
469   -led to some unexpected situations. In this release you can only register a single World proc. If you
470   -want to extend a world with certain modules, you simply call the #World method with the module(s)
471   -you wish to extend the World with. The Sinatra example illustrates how to do this. Also check out
472   -the RDoc for Cucumber::StepMother#World.
473   -
474   -The Visitor API (which is used for formatters) has also changed slightly. However, we have tried to
475   -do this in a backwards compatible way, so if you have custom formatters for Cucumber 0.2 they should
476   -still work.
477   -
478   -One of the most significant new features is Tagged Hooks: http://wiki.github.com/aslakhellesoy/cucumber/hooks
479   -This lets you associate Before and After blocks with specific scenarios.
480   -
481   -We are also deprecating the step_list, step_pattern, feature_list, and feature_pattern accessors on
482   -Cucumber::Rake::Task. These accessors will be completely removed in version 0.4. For complex settings
483   -please rely on cucumber profiles in your rake tasks:
484   -http://wiki.github.com/aslakhellesoy/cucumber/using-rake#profiles
485   -
486   -=== New features
487   -* Use Hooks with @tags (#229 Aslak Hellesøy)
488   -* Rake task supports cucumber.yml profiles (#187 Ben Mabey)
489   -* Field value steps for Webrat (Jack Chen)
490   -* Added translation for Bulgarian (Krasimir Angelov)
491   -* Updated translation for Polish (#273 Grzegorz Marszałek)
492   -* Only a single World proc can be registered. World extension now happens by calling #World with ruby modules.
493   -* Portuguese uses Funcionalidade in stead of Característica and accented words are aliased with unaccented ones (Alexandre da Silva and Felipe Coury).
494   -* The usage formatter also prints unused step definitions (Aslak Hellesøy)
495   -* Better exception if a World proc returns nil. (Aslak Hellesøy)
496   -* Allow Step Definitions to use |*varargs|, but only on Ruby 1.9. (Aslak Hellesøy)
497   -* Snippets for steps that use Step Tables or PyStrings include block param and object type hint comment (#247 Joseph Wilk)
498   -* Support description string for Backgrounds (#271 Joseph Wilk)
499   -
500   -=== Bugfixes
501   -* After methods not being executed when Background fails (#288 Luismi Cavallé)
502   -* Fixed dependency on internal files in rspec breaks cucumber w/ rspec-1.2.4 (#291 Aslak Hellesøy)
503   -* Fix color use when using autotest on Linux. (Hans de Graaff)
504   -* Fixed incorrect calculation of pystring indentation (#279 Eugene Naydanov)
505   -* Fixed --format html leads to an error (#252 Aslak Hellesøy)
506   -* Fixed Background runs twice (#255 Aslak Hellesøy)
507   -* Fixed Background Transactions and :xx (#270 Aslak Hellesøy)
508   -* Fixed Autospec failing with cucumber 0.2 (#254 Aslak Hellesøy)
509   -* Sibling file detecting not working (#278 Aslak Hellesøy)
510   -
511   -=== Removed/changed features
512   -* The visitor API has changed slightly:
513   -** #visit_step_name, #visit_multiline_arg and #visit_exception are no longer official API methods.
514   -** #visit_step_result replaces those 3 methods.
515   -** Table and PyString no longer hold status information. Each visitor subclass should store state in @state if needed.
516   -** #visit_py_string no longer takes a status argument.
517   -
518   -== 0.2.3 2009-03-30
519   -
520   -This release sports 4 updated languages, slightly better help with snippets if you "quote" arguments
521   -in your steps. Windows/JRuby users can enjoy colours and you get some more sugar with Tables.
522   -
523   -=== New features
524   -* Added new Then /^I should be on (.+)$/ do |page_name| step (Grant Hollingworth)
525   -* Use skipped_param color for examples table header (#266 Eugene Naydanov)
526   -* Added new Cucumber::Ast::Table#rows_hash method (Torbjørn Vatn)
527   -* Windows/JRuby users can now enjoy colourful output (via http://github.com/aslakhellesoy/ansicolor) (#166 Aslak Hellesøy)
528   -* Ambiguous step errors hint about --guess (unless --guess already on) (Aslak Hellesøy)
529   -* Added translation for Slovak (Ahmed Al Hafoudh)
530   -* Updated translation for Dutch (Bart Zonneveld)
531   -* Updated translation for Italian (Alessandro Baroni)
532   -* Updated translation for Japanese (KAKUTANI Shintaro)
533   -
534   -=== Bugfixes
535   -* Fixed step name after step keyword without space (#265 Aslak Hellesøy)
536   -* Backtrace is back in HTML reports (Aslak Hellesøy)
537   -
538   -== 0.2.2 2009-03-25
539   -
540   -This release includes some minor changes to make Cucumber work with pure Java. Cucumber
541   -has already worked with Java for a while (using JRuby and step definitions in Ruby),
542   -but now you can write step definitions in pure Java!
543   -
544   -Check out the Cucumber Java project for more details:
545   -http://github.com/aslakhellesoy/cucumber_java/tree/master
546   -
547   -== 0.2.1 2009-03-25
548   -
549   -This release fixes a few minor bugs and adds a couple of new features.
550   -
551   -== Bugfixes
552   -* Fixed Cucumber, and rails controller error handling (#49 Matt Patterson)
553   -* HTML Formatter doesn't work correctly with scenario Outlines. (#260 Aslak Hellesøy)
554   -* After blocks are run in reverse order of registration. (#113 Aslak Hellesøy)
555   -* Snippets are showing 'Ands' (#249 Aslak Hellesøy)
556   -
557   -=== New features
558   -* Snippets use a regexp and block arguments if the step name has "quoted" arguments. (Aslak Hellesøy)
559   -* Cucumber::Ast::Feature#to_sexp includes the file name. (Aslak Hellesøy)
560   -* support/env.rb is not loaded when --dry-run is specified. This is to increase performance. (Aslak Hellesøy)
561   -* New usage formatter. This is the foundation for editor autocompletion and navigation between steps and step definitions. (#209 Aslak Hellesøy)
562   -
563   -=== Removed features
564   -* -S/--step-definitions option introduced in 0.2.0 is removed. Use --format usage [--dry-run] [--no-color].
565   -
566   -== 0.2.0 2009-03-18
567   -
568   -This release sports a bunch of new and exciting features, as well a major rewrite of Cucumber's internals.
569   -The rewrite was done to address technical debt and to have a code base that is easier to evolve and maintain.
570   -
571   -There are some changes to the Gherkin language that breaks backwards compatible with the 0.1.x series.
572   -Most importantly, "GivenScenario" and "More Examples" no longer exist. See the "Removed features" section
573   -below for more details on how to use alternatives.
574   -
575   -Since the grammar has changed, there are some new keywords. We have to rely on the community
576   -to provide updated translations. This is much easier than before - just update languages.yml.
577   -There is no static code generation anymore. To list all languages:
578   -
579   - cucumber --lang help
580   -
581   -And to list the keywords for a particular language:
582   -
583   - cucumber --lang en-lol help
584   -
585   -There are some really awesome new features in this release: Tagging, Autoformatting, automatic
586   -aliasing of keywords in all languages, full Ruby 1.9 support and improved output
587   -for multiline arguments are some of the highlights.
588   -
589   -== Bugfixes
590   -* New StepInvocation breaks console formatter for pending steps. (#241 Jacob Radford)
591   -* Within Scenario Outlines when replacing with a nil in a step name use empty string instead. (#237 Joseph Wilk)
592   -* Fixed bug with Scenario Outlines incorrectly replacing values in step tables with nil. (#237 Joseph Wilk)
593   -* Within Scenario Outlines when replacing with a nil in multiline strings use empty string instead. (#238 Joseph Wilk)
594   -* Re-structure the ast: Feature -> Background -> (Scenario|ScenarioOutline)*. Fixes bug with background being called outside transactions. (#181 Joseph Wilk)
595   -* --strict always exits with status 1 (#230 Tim Cuthbertson)
596   -* Fix error with nil values in tables raising an exception (#227 Joseph Wilk)
597   -* Add support for using << in formatters to ensure the html formatter works (#210 Joseph Wilk)
598   -* Explicitly require env.rb files first to avoid potential load order problems. (#213, Ben Mabey, Randy Harmon)
599   -* Depend on polyglot version (0.2.4) to avoid masking require errors. (Aslak Hellesøy).
600   -* -n option does not suppress the line info for a Scenario Outline (#175 Aslak Hellesøy)
601   -* Errors with rspec-rails matchers in cucumber 0.1.99 (#173 David Chelimsky)
602   -* Can't use an empty string as a table value in a scenario outline (#172 Aslak Hellesøy)
603   -* Really skip skipped steps (#90 Aslak Hellesøy)
604   -* No output for multi-line strings (#71 Aslak Hellesøy)
605   -* Fix cucumber/formatter/unicode flaws on Windows (#145 Michael)
606   -* Autotest-related Bugs: YAML missing (#136 Tobias Pape)
607   -* Overeager "rescue LoadError" hides lots of errors (#137 Jonathan del Strother)
608   -* Nested steps don't show mismatch (#116 Aslak Hellesøy)
609   -* Pending steps in > steps called from steps (#65 Aslak Hellesøy)
610   -
611   -=== New features
612   -* Australian translation (Josh Graham)
613   -* Added World#announce(announcment) which lets you output text to the formatted output (#222 Rob Kaufmann)
614   -* Added Table#transpose to to allow use of vertically aligned table keys (Torbjørn Vatn, Aslak Hellesøy)
615   -* Added Table#map_headers to to allow use of more readable headers (Rob Holland)
616   -* New -S/--step-definitions option. Useful (among other things) for tools that implement automcompletion. (#208 Aslak Hellesøy).
617   -* The cucumber.rake file defines a dummy :features task if Cucumber is not installed (#225 Josh Nichols)
618   -* Added Table#map_column! to ease casting of cell values into relevant types (#223 Rob Holland)
619   -* New --no-diff option (#218 Bryan Ash)
620   -* Rails generators supports testunit and rspec option, defaulting to rspec (#217 Josh Nichols)
621   -* Sinatra Example (#204 Rob Holland)
622   -* Keywords can be aliased in languages.yml. See English for an example (examples: Examples|Scenarios)
623   -* Adding support for Background (#153 Joseph Wilk)
624   -* Added Česky/Czech (Vojtech Salbaba)
625   -* New --no-multiline option to reduce noise in output. Useful if lots of features are failing. (Aslak Hellesøy)
626   -* Added ability to pass URIs to cucumber in addition to files and directories. Useful for troubleshooting! (Aslak Hellesøy)
627   -* Groups of tabular scenarios (#57 Aslak Hellesøy)
628   -* Tagging scenarios and features. Pick the ones to run with --tags (#54 Aslak Hellesøy)
629   -* Make the current scenario available to the steps. (#44 Aslak Hellesøy)
630   -* Step definition snippets contain a 'pending' call (#84 Aslak Hellesøy)
631   -* Call multiline steps from other steps (#144 Aslak Hellesøy)
632   -* Run cucumber with --autoformat DIR to reformat (pretty print) all of your feature files. (Aslak Hellesøy)
633   -* New --strict option exits with an error code if there are undefined steps. (#52 Aslak Hellesøy)
634   -* Given, When, Then methods (used in step definitions) are automatically aliased to current language. Use $KCODE='u' in env.rb if needed.
635   -* Run cucumber --language help to see all supported languages. (Aslak Hellesøy)
636   -* Run cucumber --language LANG help to see keywords for a given language. (Aslak Hellesøy)
637   -* Multiline arguments (tables and """ strings) are printed in the output. (Aslak Hellesøy)
638   -* It's no longer necessary to compile the Treetop grammar when adding a new language. Localised parser is generated at runtime. (Aslak Hellesøy)
639   -* New --guess option tries to guess the best step definition match instead of raising Cucumber::Multiple. (Jake Howerton)
640   -
641   -=== Removed features
642   -* "GivenScenario" is gone. Instead you can call Steps from Step Definitions, or use the new Background feature (#153)
643   -* "More Examples" is gone. "Scenario" + "More Examples" is no longer supported. Use "Scenario Outline" + "Examples" instead.
644   -* Pure Ruby features are no longer supported.
645   -* Remove --color option in autotest. Can be added manually in cucumber.yml (#215 Jean-Michel Garnier)
646   -
647   -== (0.1.16.4 aslakhellesoy-cucumber gem on GitHub)
648   -
649   -Bugfix release.
650   -
651   -IMPORTANT NOTE FOR RAILS USERS.
652   -The template used to generate your features/support/env.rb has changed. You have to apply a minor change
653   -manually for existing Rails projects when you upgrade to this version. Change this:
654   -
655   - require 'webrat/rspec-rails'
656   -
657   -to this:
658   -
659   - require 'webrat/core/matchers'
660   -
661   -=== New features
662   -* Finnish translation (Tero Tilus)
663   -* Use Webrat's #contain matcher in generated "I should (not) see" step definitions (Bryan Helmkamp)
664   -
665   -== Bugfixes
666   -* Escaped quotes - \" - inside multiline strings will be unescaped.
667   -* Flush output in HTML formatter since JRuby doesnt do it automatically (Diego Carrion)
668   -* Better handling of ARGV (#169 David Chelimsky, Ben Mabey)
669   -* Compatibility with ruby-debug (do ARGV.dup in bin/cucumber so it can restart ruby with same args) (Aslak Hellesøy)
670   -
671   -== 0.1.16 2009-01-19
672   -
673   -This is a small bugfix release. The most notable improvement is compatibility with Webrat 0.4. Rails/Webrat users should
674   -upgrade both Cucumber and Webrat gems.
675   -
676   -=== New features
677   -* Allow argument placeholders in step tables and multiline comments (#121 Joseph Wilk)
678   -* Scenario Outline can be followed by several named Examples sections (#123 Aslak Hellesøy)
679   -* 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)
680   -* Added a /^When I go to (.+)$/ step definition to webrat_steps.rb and a simple page name to path mapping method (Bryan Helmkamp)
681   -
682   -=== Bugfixes
683   -* 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é)
684   -
685   -=== Removed features
686   -
687   -== 0.1.15 2009-01-08
688   -
689   -Bugfix release
690   -
691   -=== New features
692   -* 한국어! (Korean!) (John Hwang)
693   -
694   -=== Bugfixes
695   -* --dry-run skips running before/after/steps (#147 Ian Dees)
696   -* Fix a minor bug in the console formatter's summary (David Chelimsky)
697   -* Better quoting of Scenario names in Autotest (Peter Jaros)
698   -* Added some small workarounds for unicode handling on Windows (Aslak Hellesøy)
699   -
700   -== 0.1.14 2009-01-04
701   -
702   -This is the first release of Cucumber that runs on Ruby 1.9. There are still some encoding-related issues
703   -with Arabic (ar), Japanese (ja) and Simplified Chinese (zh-CN). Patches are welcome. Other than that -
704   -a couple of minor bug fixes and polishing.
705   -
706   -=== New features
707   -* Pretty formatter shows number of scenarios (#139 Joseph Wilk)
708   -* Rudimentary support for Ruby 1.9. Now it's ok to file Ruby 1.9-related bugs.
709   -
710   -=== Bugfixes
711   -* Fixed "No such file or directory -- cucumber (LoadError)" bug with AutoTest (Aslak Hellesøy)
712   -* Fixed `load_missing_constant': uninitialized constant Dispatcher error with Rails (Aslak Hellesøy)
713   -
714   -=== Removed features
715   -* The #binary= method is gone from the Rake task. It will always point to the binary in the current gem. (Aslak Hellesøy)
716   -
717   -== 0.1.13 2008-12-20
718   -
719   -It's time for some new features again. Output is now much better since you can use diffing, tweak
720   -the output colours and get the full --backtrace if you want. Managing your support/* files became
721   -a little easier since they are now always loaded before the step definitions. Life became easier
722   -for Windows users in Norway (and other countries using unicode in the features). Plus several other
723   -bug fixes.
724   -
725   -Enjoy!
726   -
727   -=== New features
728   -* Console output is no longer bold, but regular. Step arguments are bold instead of blold+underlined. (Aslak Hellesøy)
729   -* Console output can be configured with CUCUMBER_COLORS in your shell. (Aslak Hellesøy)
730   -* Added new --backtrace option to show full backtrace (Aslak Hellesøy)
731   -* Enable RSpec's diffing automatically if RSpec is loaded (Aslak Hellesøy)
732   -* Files in support directories are loaded before any other file (i.e. step definitions.) (#120, Ben Mabey)
733   -* The Rails features generator got some love and is now tested: http://github.com/aslakhellesoy/cucumber_rails (Aslak Hellesøy)
734   -* --language is aliased to -l instead of -a (-l became available when --line was refactored) (Aslak Hellesøy)
735   -* Scenario Outlines which through placeholders in the steps allow control of how scenario table values are used. (#57 Joseph Wilk)
736   -* Scenario Outlines are now usable in pure ruby (Joseph Wilk)
737   -* Add support for calling 'pending' from step definitions. (#112 Joseph Wilk)
738   -
739   -=== Bugfixes
740   -* Make rails before filters work correctly (#122, #129 Guillermo Álvarez Fernández)
741   -* Proper Unicode support for Windows command shells: Just require cucumber/formatter/unicode in env.rb (Aslak Hellesøy)
742   -* Fixed disappearing "a" on Windows (#81 Aslak Hellesøy)
743   -* Fixed a bug where row step outlines were loosing step tables. (#121 Joseph Wilk, Ben Mabey)
744   -* The Cucumber Autotest plugin now launches JRuby if autotest is run with JRuby (Aslak Hellesøy)
745   -* Provide helpful and non-confusing error message when specified profile is blank. (#118, Ben Mabey)
746   -* Improve handling and error messages for malformed cucumber.yml files. (#117, Ben Mabey)
747   -* document :x run option in command line help (#114, Aslak Hellesøy)
748   -* Change 'visits' to 'visit' in features generator to comply with new Webrat API (Darius Roberts)
749   -
750   -=== Removed features
751   -
752   -== 0.1.12 2008-12-04
753   -
754   -This is the "getting serious with IronRuby release" - largely based on
755   -"Patrick Gannon":http://www.patrickgannon.net/archive/2008/10/23/bdd-style-feature-tests-using-ironruby-and-rspeccucumber.aspx's
756   -blog entry.
757   -
758   -== New features
759   -* Cucumber works with IronRuby/.NET - http://github.com/aslakhellesoy/cucumber/wikis/ironruby-and-net (Aslak Hellesøy)
760   -
761   -== Bugfixes
762   -* Fixed bug which was preventing coloring under Autotest (#111, Alan Larkin)
763   -
764   -== Removed features
765   -None
766   -
767   -== 0.1.11 2008-12-02
768   -
769   -Bugfix release with a couple of minor additional features to the command line options.
770   -
771   -=== New features
772   -* Capture output from cucumber in Autotest (Alan Larkin)
773   -* Update cucumber generator to work with latest Webrat (Bryan Helkamp)
774   -* CUCUMBR LIKEZ 2 SPEEK WIF KATS. KTHXBAI (Aimee Daniells)
775   -* Support for dynamically pluggable formatters (#99 Joseph Wilk)
776   -* --verbose mode to see ruby files and feature files loaded by Cucumber (#106 Joseph Wilk)
777   -
778   -=== Bugfixes
779   -* The jcode library is not loaded on JRuby/Rails. Workaround for http://tinyurl.com/55uu3u. (Aslak Hellesøy)
780   -* Support including modules for class passed to --format (#109 Joseph Wilk)
781   -
782   -=== Removed features
783   -* The cucumber gem no longer depends on the rspec gem. It must be downloaded manually if RSpec is used. (Jeff Rafter)
784   -
785   -== 0.1.10 2008-11-25
786   -
787   -This release mostly has smaller bugfixes. The most significant new feature is how
788   -line numbers are specified. You can now run multiple features at specific lines numbers like this:
789   -
790   - cucumber foo.feature:15 bar.feature:6:45:111
791   -
792   -This will run foo.feature at line 15 and bar.feature at line 6, 45 and 111.
793   -
794   -=== New features
795   -* Added example showing how to use Cucumber with Test::Unit + Matchy instead of RSpec (Aslak Hellesøy)
796   -* Yield existing world object to World block (#87 Aslak Hellesøy)
797   -* AUTOFEATURE=tRue works (case insensitive) (Aslak Hellesøy)
798   -* Initial support for .NET via IronRuby. (Aslak Hellesøy)
799   -* Lithuanian translation (sauliusgrigaitis)
800   -* New webrat step defintions to wrap the new selects_time, selects_date, and selects_datetime methods. (Ben Mabey)
801   -* Try to load webrat gem if it's not installed as a plugin (Aslak Hellesøy)
802   -* Support example.feature:20 or example.feature:10:20:30 syntax for running features at specific line number(s). (#88 Joseph Wilk)
803   -
804   -=== Bugfixes
805   -* Windows - all the 'a' characters in the output have gone on strike (#81 Luis Lavena, Joseph Wilk, Aslak Hellesøy)
806   -* Raise a nice error when encountering step definition without block (#95 Aslak Hellesøy)
807   -* Features written using Ruby where breaking due to missing a line number (#91 Joseph Wilk)
808   -* Directly creating a Table meant the scenario table header was never set which was causing a formatter error (#91 Joseph Wilk)
809   -
810   -=== Removed features
811   -* $KCODE='u' is no longer done automatically. Developers should do that explicitly when needed in step definitions or env.rb.
812   -* Step definition without a block being treated as pending (#64 Joseph Wilk)
813   -* The --line option has been removed. Use the new file.feature:line format instead.
814   -
815   -== 0.1.9 2008-11-12
816   -
817   -With this release Cucumber supports 19 (!) natural languages:
818   -
819   -* Arabic
820   -* Chinese Simplified
821   -* Danish
822   -* Dutch
823   -* Estonian
824   -* French
825   -* German
826   -* Italian
827   -* Japanese
828   -* Malay
829   -* Norwegian
830   -* Polish
831   -* Portuguese
832   -* Romanian
833   -* Russian
834   -* Spanish
835   -* Swedish
836   -* Texan
837   -* Welsh
838   -
839   -Thanks a lot to everyone who has contributed translations. If you don't see your language here, please
840   -add it: http://github.com/aslakhellesoy/cucumber/wikis/spoken-languages
841   -
842   -Main functional changes in this release is "Autotest":http://github.com/aslakhellesoy/cucumber/wikis/autotest-integration
843   -support and how multiline strings work in feature files:
844   -
845   - # In your .feature file
846   - Then I should see
847   - """
848   - A string
849   - that "indents"
850   - and spans
851   - several lines
852   -
853   - """
854   -
855   - # In your steps.rb file
856   - Then 'I should see' do |text|
857   - text.should == "A string\n that \"indents\"\nand spans\nseveral lines\n"
858   - end
859   -
860   -The triple quotes are used to define the start and end of a string, and it also defines what gets stripped away
861   -in the inside string. If the triple quotes are indented 4 spaces, then the text within will have the 4 first
862   -spaces removed too.
863   -
864   -=== New features
865   -* Added --[no-]color option to force color on or off (Peter Jaros)
866   -* Step definition without a block will be treated as pending (#64 Joseph Wilk)
867   -* Added support for Welsh (improvements welcome) (Joseph Wilk)
868   -* Added --quiet option to hide all development aid output when using Pretty formatter (#69 Joseph Wilk)
869   -* Added --no-snippets option to hide snippets for pending steps when using Pretty formatter (#69 Joseph Wilk)
870   -* Added error messages concerning cucumber.yml. (#70 Ben Mabey)
871   -* Added Autotest support - work in progress... (Peter Jaros)
872   -* Added new --exclude option (Bryan Helkamp)
873   -* Added new --scenario option (Peter Jaros)
874   -* Renamed common_webrat.rb to webrat_steps.rb (Ben Mabey, Aslak Hellesøy)
875   -* Added new feature[:feature_path] task (Roman Gonzalez)
876   -* Added support for Polish (Joseph Wilk)
877   -* Support specifying multiple formatters and multiple outputs (#47 Joseph Wilk)
878   -* Added support for Japanese. (Kakutani Shintaro)
879   -* Added support for Texan (improvements welcome). (Aslak Hellesøy)
880   -
881   -=== Bugfixes
882   -* Pending step snippets should escape special Regexp characters (#82 Joseph Wilk)
883   -* Scenario without a body shouldn't show up as complete (#63 Josh Knowles)
884   -* Fixed bug where utf-8 strings where breaking comment alighments. (#79 Joseph Wilk)
885   -* Fixed next_column_index not resetting after large tables (#60, Barry Mitchelson)
886   -* The HTML formatter was rendering everything twice. Cannot invoke visit_feature on formatters in executor (#72 Joseph Wilk)
887   -* Row Scenarios need to support pending? in order for the Profile formatter to work (Joseph Wilk)
888   -* Snippets are not shown for steps which already have a step definition (#65 Joseph Wilk)
889   -* Prevent feature/scenario/pending step comments from containing '//' when running features by specifying a directory with a trailing '/' (Joseph Wilk)
890   -* Scenario tables need spacing after them (#59 Joseph Wilk)
891   -* Support running scenario table rows when using --line argument (#55 Joseph Wilk)
892   -* Don't load cucumber.yml unless it exists (Aslak Hellesøy)
893   -* 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)
894   -
895   -=== Removed features
896   -
897   -
898   -== 0.1.8 2008-10-18
899   -
900   -This release extends the support for tables. PLEASE NOTE THAT TABLES ARE STILL EXPERIMENTAL.
901   -In previous releases it has been possible to use tables to define "more examples" of a scenario in
902   -a FIT-style column fixture kind of way. Now you can also use tables as arguments to steps.
903   -
904   -Tables used to define more examples after a scenario must now be prefixed. In English it looks like this:
905   -
906   - Feature: Addition
907   - In order to avoid silly mistakes
908   - As a math idiot
909   - I want to be told the sum of two numbers
910   -
911   - Scenario: Add two numbers
912   - Given I have entered 50 into the calculator
913   - And I have entered 70 into the calculator
914   - When I press add
915   - Then the result should be 120 on the screen
916   -
917   - More Examples:
918   - | input_1 | input_2 | button | output |
919   - | 20 | 30 | add | 50 |
920   - | 2 | 5 | add | 7 |
921   - | 0 | 40 | add | 40 |
922   -
923   -Languages that are not updated yet will have to use "More Examples" until we get the translations.
924   -
925   -Tables can also be used as arguments to individual steps. In fact, steps now support a single argument
926   -that can span several lines. This can be a table or a string.
927   -
928   -Example:
929   -
930   - Given the following people exist:
931   - | name | email | phone |
932   - | Aslak | aslak@email.com | 123 |
933   - | Joe | joe@email.com | 234 |
934   - | Bryan | bryan@email.org | 456 |
935   - When I search for email.com
936   - Then I should see:
937   - | name | email | phone |
938   - | Aslak | aslak@email.com | 123 |
939   - | Joe | joe@email.com | 234 |
940   - And I should see:
941   - "Some text
942   - on several lines"
943   -
944   -The step definitions for such multiline steps must define an extra block argument for the argument:
945   -
946   - Given /the following people exist:/ do |people_table|
947   - # people_table is of type Cucumber::Model::Table
948   - # See RDoc for more info
949   - end
950   -
951   - Then /I should see:/ do |string|
952   - # string is a plain old ruby String with leading spaces on each line removed
953   - end
954   -
955   -=== New features
956   -* Added profile formatter. (#35, Joseph Wilk)
957   -* Added support for Chinese Simplified. (Liming Lian)
958   -* Added support for Dutch. (Sjoerd Tieleman)
959   -* Multiline steps are now supported. (#4, Aslak Hellesøy)
960   -* Tables used to define more examples for a scenario must be prefixed "More Examples" (see languages.yml for other languages)
961   -* Show the file and line number for scenarios as a comment when displaying with the pretty formatter. (#40, Joseph Wilk)
962   -* Show the file for the feature as a comment when displaying with the pretty formatter. (#40, Joseph Wilk)
963   -* Show the feature file and line for pending steps as a comment when displaying with the pretty formatter. (#40, Joseph Wilk)
964   -
965   -=== Bugfixes
966   -* Fixed speling errors in Spanish (Daniel Cadenas)
967   -* ActionMailer delivery_method should not be set to test (#41, Luke Melia)
968   -* Reverse incorrectly ordered args in webrat select step (#43, David Chelimsky)
969   -* Support comments above the first scenario (#31, Aslak Hellesøy)
970   -* Fixed the HTML Formatter to use actual values for FIT table headers (#30, Joseph Wilk)
971   -
972   -=== Removed features
973   -* Removed the /^I go to (.*)$/ step from common_webrat.rb - it's not language agnostic and provides little value.
974   -
975   -=== New features
976   -* Added new --out option to make it easier to specify output from Rake and cucumber.yml
977   -
978   -== 0.1.7 2008-10-05
979   -
980   -This release fixes a few bugs and adds some new features. The most notable features are:
981   -
982   -=== Calling steps from steps
983   -
984   -Step definitions are a little bit closer to having regular method semantics.
985   -You define them, but now you can also call them from other steps. Here is an
986   -example:
987   -
988   - Given /I am logged in as an (.*) named (.*)$/ do |role, name|
989   - Given "I am registered as #{role}, #{name}, secret"
990   - When "I log in with #{name}, secret"
991   - end
992   -
993   - Given /I am registered as (.*), (.*), (.*)/ do |role, name, password|
994   - # (Code removed for brevity)
995   - end
996   -
997   - When /I log in with (.*), (.*)/ do |name, password|
998   - # (Code removed for brevity)
999   - end
1000   -
1001   -This means that steps can be reused in other steps. The GivenScenario feature achieves a similar
1002   -effect (on the scenario level), but this feature is something we're not very happy with, mostly
1003   -because it's not parameterisable. Calling steps from steps is.
1004   -
1005   -GivenScenario will still be working several releases, but the plan is to remove it completely in
1006   -the 0.3.0 release.
1007   -
1008   -=== Seeing where a step is defined
1009   -
1010   -Prior to this release it could be hard to find out where the ruby step definition matching
1011   -a plain text step is defined. Not anymore! Cucumber will now output this:
1012   -
1013   - Scenario: Regular numbers
1014   - Given I have entered 3 into the calculator # features/steps/calculator_steps.rb:12
1015   - And I have entered 2 into the calculator # features/steps/calculator_steps.rb:12
1016   - When I press divide # features/steps/calculator_steps.rb:16
1017   - Then the result should be 1.5 on the screen # features/steps/calculator_steps.rb:20
1018   - And the result class should be Float # features/steps/calculator_steps.rb:24
1019   -
1020   -=== Bugfixes
1021   -* Fixed a bug in the command line args being lost when using --profile (#27, Joseph Wilk)
1022   -* Fixed a bug in Webrat selects (Tim Glen)
1023   -* Fixed parsing of DOS line endings (#2, #28, Aslak Hellesøy)
1024   -
1025   -=== New features
1026   -* Steps can be called from other steps (#3, Bryan Helmkamp, Aslak Hellesøy)
1027   -* Added But keyword to all languages (#21, Aslak Hellesøy)
1028   -* Added --no-source option to display step definition location next to step text (#26, Joseph Wilk, Aslak Hellesøy)
1029   -* Added more Webrat steps (#25, Tim Glen)
1030   -
1031   -== 0.1.6 2008-10-01
1032   -
1033   -First gem release!
vendor/gems/cucumber-0.3.98/License.txt
... ... @@ -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 0 \ No newline at end of file
vendor/gems/cucumber-0.3.98/Manifest.txt
... ... @@ -1,439 +0,0 @@
1   -History.txt
2   -License.txt
3   -Manifest.txt
4   -README.txt
5   -Rakefile
6   -bin/cucumber
7   -config/hoe.rb
8   -config/requirements.rb
9   -cucumber.yml
10   -examples/cs/README.textile
11   -examples/cs/Rakefile
12   -examples/cs/compile.bat
13   -examples/cs/features/addition.feature
14   -examples/cs/features/step_definitons/calculator_steps.rb
15   -examples/cs/src/demo/Calculator.cs
16   -examples/dos_line_endings/Rakefile
17   -examples/dos_line_endings/features/dos_line_endings.feature
18   -examples/i18n/README.textile
19   -examples/i18n/Rakefile
20   -examples/i18n/ar/Rakefile
21   -examples/i18n/ar/features/addition.feature
22   -examples/i18n/ar/features/step_definitons/calculator_steps.rb
23   -examples/i18n/ar/lib/calculator.rb
24   -examples/i18n/bg/Rakefile
25   -examples/i18n/bg/features/addition.feature
26   -examples/i18n/bg/features/consecutive_calculations.feature
27   -examples/i18n/bg/features/division.feature
28   -examples/i18n/bg/features/step_definitons/calculator_steps.rb
29   -examples/i18n/bg/features/support/env.rb
30   -examples/i18n/bg/features/support/world.rb
31   -examples/i18n/bg/lib/calculator.rb
32   -examples/i18n/cat/Rakefile
33   -examples/i18n/cat/features/step_definitons/calculator_steps.rb
34   -examples/i18n/cat/features/suma.feature
35   -examples/i18n/cat/lib/calculadora.rb
36   -examples/i18n/da/Rakefile
37   -examples/i18n/da/features/step_definitons/kalkulator_steps.rb
38   -examples/i18n/da/features/summering.feature
39   -examples/i18n/da/lib/kalkulator.rb
40   -examples/i18n/de/Rakefile
41   -examples/i18n/de/features/addition.feature
42   -examples/i18n/de/features/division.feature
43   -examples/i18n/de/features/step_definitons/calculator_steps.rb
44   -examples/i18n/de/lib/calculator.rb
45   -examples/i18n/en-lol/Rakefile
46   -examples/i18n/en-lol/features/step_definitions/cucumbrz_steps.rb
47   -examples/i18n/en-lol/features/stuffing.feature
48   -examples/i18n/en-lol/features/support/env.rb
49   -examples/i18n/en-lol/lib/basket.rb
50   -examples/i18n/en-lol/lib/belly.rb
51   -examples/i18n/en/Rakefile
52   -examples/i18n/en/features/addition.feature
53   -examples/i18n/en/features/division.feature
54   -examples/i18n/en/features/step_definitons/calculator_steps.rb
55   -examples/i18n/en/lib/calculator.rb
56   -examples/i18n/es/Rakefile
57   -examples/i18n/es/features/adicion.feature
58   -examples/i18n/es/features/step_definitons/calculador_steps.rb
59   -examples/i18n/es/lib/calculador.rb
60   -examples/i18n/et/Rakefile
61   -examples/i18n/et/features/jagamine.feature
62   -examples/i18n/et/features/liitmine.feature
63   -examples/i18n/et/features/step_definitions/kalkulaator_steps.rb
64   -examples/i18n/et/lib/kalkulaator.rb
65   -examples/i18n/fi/Rakefile
66   -examples/i18n/fi/features/jakolasku.feature
67   -examples/i18n/fi/features/step_definitons/laskin_steps.rb
68   -examples/i18n/fi/features/yhteenlasku.feature
69   -examples/i18n/fi/lib/laskin.rb
70   -examples/i18n/fr/Rakefile
71   -examples/i18n/fr/features/addition.feature
72   -examples/i18n/fr/features/step_definitions/calculatrice_steps.rb
73   -examples/i18n/fr/lib/calculatrice.rb
74   -examples/i18n/he/Rakefile
75   -examples/i18n/he/features/addition.feature
76   -examples/i18n/he/features/division.feature
77   -examples/i18n/he/features/step_definitons/calculator_steps.rb
78   -examples/i18n/he/lib/calculator.rb
79   -examples/i18n/hu/Rakefile
80   -examples/i18n/hu/features/addition.feature
81   -examples/i18n/hu/features/division.feature
82   -examples/i18n/hu/features/step_definitons/calculator_steps.rb
83   -examples/i18n/hu/lib/calculator.rb
84   -examples/i18n/id/Rakefile
85   -examples/i18n/id/features/addition.feature
86   -examples/i18n/id/features/division.feature
87   -examples/i18n/id/features/step_definitons/calculator_steps.rb
88   -examples/i18n/id/lib/calculator.rb
89   -examples/i18n/it/Rakefile
90   -examples/i18n/it/features/somma.feature
91   -examples/i18n/it/features/step_definitons/calcolatrice_steps.rb
92   -examples/i18n/it/lib/calcolatrice.rb
93   -examples/i18n/ja/Rakefile
94   -examples/i18n/ja/features/addition.feature
95   -examples/i18n/ja/features/division.feature
96   -examples/i18n/ja/features/step_definitons/calculator_steps.rb
97   -examples/i18n/ja/lib/calculator.rb
98   -examples/i18n/ko/Rakefile
99   -examples/i18n/ko/features/addition.feature
100   -examples/i18n/ko/features/division.feature
101   -examples/i18n/ko/features/step_definitons/calculator_steps.rb
102   -examples/i18n/ko/lib/calculator.rb
103   -examples/i18n/lt/Rakefile
104   -examples/i18n/lt/features/addition.feature
105   -examples/i18n/lt/features/division.feature
106   -examples/i18n/lt/features/step_definitons/calculator_steps.rb
107   -examples/i18n/lt/lib/calculator.rb
108   -examples/i18n/lv/Rakefile
109   -examples/i18n/lv/features/addition.feature
110   -examples/i18n/lv/features/division.feature
111   -examples/i18n/lv/features/step_definitons/calculator_steps.rb
112   -examples/i18n/lv/lib/calculator.rb
113   -examples/i18n/no/Rakefile
114   -examples/i18n/no/features/step_definitons/kalkulator_steps.rb
115   -examples/i18n/no/features/summering.feature
116   -examples/i18n/no/features/support/env.rb
117   -examples/i18n/no/lib/kalkulator.rb
118   -examples/i18n/pl/Rakefile
119   -examples/i18n/pl/features/addition.feature
120   -examples/i18n/pl/features/division.feature
121   -examples/i18n/pl/features/step_definitons/calculator_steps.rb
122   -examples/i18n/pl/features/support/env.rb
123   -examples/i18n/pl/lib/calculator.rb
124   -examples/i18n/pt/Rakefile
125   -examples/i18n/pt/features/adicao.feature
126   -examples/i18n/pt/features/step_definitions/calculadora_steps.rb
127   -examples/i18n/pt/features/support/env.rb
128   -examples/i18n/pt/lib/calculadora.rb
129   -examples/i18n/ro/Rakefile
130   -examples/i18n/ro/features/step_definitons/calculator_steps.rb
131   -examples/i18n/ro/features/suma.feature
132   -examples/i18n/ro/lib/calculator.rb
133   -examples/i18n/ru/Rakefile
134   -examples/i18n/ru/features/addition.feature
135   -examples/i18n/ru/features/consecutive_calculations.feature
136   -examples/i18n/ru/features/division.feature
137   -examples/i18n/ru/features/step_definitons/calculator_steps.rb
138   -examples/i18n/ru/features/support/env.rb
139   -examples/i18n/ru/features/support/world.rb
140   -examples/i18n/ru/lib/calculator.rb
141   -examples/i18n/se/Rakefile
142   -examples/i18n/se/features/step_definitons/kalkulator_steps.rb
143   -examples/i18n/se/features/summering.feature
144   -examples/i18n/se/lib/kalkulator.rb
145   -examples/i18n/sk/Rakefile
146   -examples/i18n/sk/features/addition.feature
147   -examples/i18n/sk/features/division.feature
148   -examples/i18n/sk/features/step_definitons/calculator_steps.rb
149   -examples/i18n/sk/lib/calculator.rb
150   -examples/i18n/zh-CN/Rakefile
151   -examples/i18n/zh-CN/features/addition.feature
152   -examples/i18n/zh-CN/features/step_definitons/calculator_steps.rb
153   -examples/i18n/zh-CN/lib/calculator.rb
154   -examples/i18n/zh-TW/Rakefile
155   -examples/i18n/zh-TW/features/addition.feature
156   -examples/i18n/zh-TW/features/division.feature
157   -examples/i18n/zh-TW/features/step_definitons/calculator_steps.rb
158   -examples/i18n/zh-TW/lib/calculator.rb
159   -examples/java/README.textile
160   -examples/java/build.xml
161   -examples/java/features/hello.feature
162   -examples/java/features/step_definitons/hello_steps.rb
163   -examples/java/features/step_definitons/tree_steps.rb
164   -examples/java/features/tree.feature
165   -examples/java/src/cucumber/demo/Hello.java
166   -examples/junit/features/one_passing_one_failing.feature
167   -examples/junit/features/pending.feature
168   -examples/junit/features/step_definitions/steps.rb
169   -examples/pure_java/README.textile
170   -examples/python/features/fibonacci.feature
171   -examples/python/features/step_definitions/fib_steps.py
172   -examples/python/features/step_definitions/fib_steps.rb
173   -examples/python/features/support/env.rb
174   -examples/python/lib/fib.py
175   -examples/selenium/Rakefile
176   -examples/selenium/features/search.feature
177   -examples/selenium/features/step_definitons/search_steps.rb
178   -examples/selenium/features/support/env.rb
179   -examples/selenium_webrat/Rakefile
180   -examples/selenium_webrat/config.ru
181   -examples/selenium_webrat/features/search.feature
182   -examples/selenium_webrat/features/step_definitons/search_steps.rb
183   -examples/selenium_webrat/features/support/env.rb
184   -examples/self_test/README.textile
185   -examples/self_test/Rakefile
186   -examples/self_test/features/background/background_tagged_before_on_outline.feature
187   -examples/self_test/features/background/background_with_name.feature
188   -examples/self_test/features/background/failing_background.feature
189   -examples/self_test/features/background/failing_background_after_success.feature
190   -examples/self_test/features/background/multiline_args_background.feature
191   -examples/self_test/features/background/passing_background.feature
192   -examples/self_test/features/background/pending_background.feature
193   -examples/self_test/features/background/scenario_outline_failing_background.feature
194   -examples/self_test/features/background/scenario_outline_passing_background.feature
195   -examples/self_test/features/call_undefined_step_from_step_def.feature
196   -examples/self_test/features/failing_expectation.feature
197   -examples/self_test/features/lots_of_undefined.feature
198   -examples/self_test/features/multiline_name.feature
199   -examples/self_test/features/outline_sample.feature
200   -examples/self_test/features/sample.feature
201   -examples/self_test/features/search_sample.feature
202   -examples/self_test/features/step_definitions/sample_steps.rb
203   -examples/self_test/features/support/env.rb
204   -examples/self_test/features/tags_sample.feature
205   -examples/self_test/features/tons_of_cukes.feature
206   -examples/self_test/features/undefined_multiline_args.feature
207   -examples/sinatra/README.textile
208   -examples/sinatra/Rakefile
209   -examples/sinatra/app.rb
210   -examples/sinatra/features/add.feature
211   -examples/sinatra/features/step_definitions/add_steps.rb
212   -examples/sinatra/features/support/env.rb
213   -examples/sinatra/views/add.erb
214   -examples/sinatra/views/layout.erb
215   -examples/steps_library/features/step_definitions/steps_lib1.rb
216   -examples/steps_library/features/step_definitions/steps_lib2.rb
217   -examples/test_unit/Rakefile
218   -examples/test_unit/features/step_definitions/test_unit_steps.rb
219   -examples/test_unit/features/test_unit.feature
220   -examples/tickets/Rakefile
221   -examples/tickets/features/172.feature
222   -examples/tickets/features/177/1.feature
223   -examples/tickets/features/177/2.feature
224   -examples/tickets/features/177/3.feature
225   -examples/tickets/features/180.feature
226   -examples/tickets/features/229/tagged_hooks.feature
227   -examples/tickets/features/229/tagged_hooks.rb
228   -examples/tickets/features/236.feature
229   -examples/tickets/features/241.feature
230   -examples/tickets/features/246.feature
231   -examples/tickets/features/248.feature
232   -examples/tickets/features/270/back.feature
233   -examples/tickets/features/270/back.steps.rb
234   -examples/tickets/features/272/hooks.feature
235   -examples/tickets/features/272/hooks_steps.rb
236   -examples/tickets/features/279/py_string_indent.feature
237   -examples/tickets/features/279/py_string_indent.steps.rb
238   -examples/tickets/features/279/wrong.feature_
239   -examples/tickets/features/301/filter_background_tagged_hooks.feature
240   -examples/tickets/features/301/filter_background_tagged_hooks_steps.rb
241   -examples/tickets/features/306/only_background.feature
242   -examples/tickets/features/lib/eatting_machine.rb
243   -examples/tickets/features/lib/pantry.rb
244   -examples/tickets/features/scenario_outline.feature
245   -examples/tickets/features/step_definitons/246_steps.rb
246   -examples/tickets/features/step_definitons/248_steps.rb
247   -examples/tickets/features/step_definitons/scenario_outline_steps.rb
248   -examples/tickets/features/step_definitons/tickets_steps.rb
249   -examples/tickets/features/table_diffing.feature
250   -examples/tickets/features/tickets.feature
251   -examples/watir/README.textile
252   -examples/watir/Rakefile
253   -examples/watir/features/search.feature
254   -examples/watir/features/step_definitons/search_steps.rb
255   -examples/watir/features/support/env.rb
256   -features/after_block_exceptions.feature
257   -features/after_step_block_exceptions.feature
258   -features/background.feature
259   -features/bug_371.feature
260   -features/cucumber_cli.feature
261   -features/cucumber_cli_diff_disabled.feature
262   -features/cucumber_cli_outlines.feature
263   -features/custom_formatter.feature
264   -features/drb_server_integration.feature
265   -features/exclude_files.feature
266   -features/expand.feature
267   -features/html_formatter.feature
268   -features/html_formatter/a.html
269   -features/junit_formatter.feature
270   -features/language_from_header.feature
271   -features/multiline_names.feature
272   -features/profiles.feature
273   -features/rake_task.feature
274   -features/report_called_undefined_steps.feature
275   -features/snippet.feature
276   -features/step_definitions/cucumber_steps.rb
277   -features/step_definitions/extra_steps.rb
278   -features/steps_formatter.feature
279   -features/support/env.rb
280   -features/table_diffing.feature
281   -features/unicode_table.feature
282   -features/usage.feature
283   -features/work_in_progress.feature
284   -gem_tasks/contributors.rake
285   -gem_tasks/deployment.rake
286   -gem_tasks/environment.rake
287   -gem_tasks/features.rake
288   -gem_tasks/fix_cr_lf.rake
289   -gem_tasks/flog.rake
290   -gem_tasks/gemspec.rake
291   -gem_tasks/rspec.rake
292   -gem_tasks/sass.rake
293   -gem_tasks/sdoc.rake
294   -lib/README.rdoc
295   -lib/autotest/cucumber.rb
296   -lib/autotest/cucumber_mixin.rb
297   -lib/autotest/cucumber_rails.rb
298   -lib/autotest/cucumber_rails_rspec.rb
299   -lib/autotest/cucumber_rspec.rb
300   -lib/autotest/discover.rb
301   -lib/cucumber.rb
302   -lib/cucumber/ast.rb
303   -lib/cucumber/ast/background.rb
304   -lib/cucumber/ast/comment.rb
305   -lib/cucumber/ast/examples.rb
306   -lib/cucumber/ast/feature.rb
307   -lib/cucumber/ast/feature_element.rb
308   -lib/cucumber/ast/features.rb
309   -lib/cucumber/ast/outline_table.rb
310   -lib/cucumber/ast/py_string.rb
311   -lib/cucumber/ast/scenario.rb
312   -lib/cucumber/ast/scenario_outline.rb
313   -lib/cucumber/ast/step.rb
314   -lib/cucumber/ast/step_collection.rb
315   -lib/cucumber/ast/step_invocation.rb
316   -lib/cucumber/ast/table.rb
317   -lib/cucumber/ast/tags.rb
318   -lib/cucumber/ast/visitor.rb
319   -lib/cucumber/broadcaster.rb
320   -lib/cucumber/cli/configuration.rb
321   -lib/cucumber/cli/drb_client.rb
322   -lib/cucumber/cli/language_help_formatter.rb
323   -lib/cucumber/cli/main.rb
324   -lib/cucumber/cli/options.rb
325   -lib/cucumber/cli/profile_loader.rb
326   -lib/cucumber/constantize.rb
327   -lib/cucumber/core_ext/instance_exec.rb
328   -lib/cucumber/core_ext/proc.rb
329   -lib/cucumber/core_ext/string.rb
330   -lib/cucumber/feature_file.rb
331   -lib/cucumber/filter.rb
332   -lib/cucumber/formatter/ansicolor.rb
333   -lib/cucumber/formatter/color_io.rb
334   -lib/cucumber/formatter/console.rb
335   -lib/cucumber/formatter/cucumber.css
336   -lib/cucumber/formatter/cucumber.sass
337   -lib/cucumber/formatter/duration.rb
338   -lib/cucumber/formatter/html.rb
339   -lib/cucumber/formatter/junit.rb
340   -lib/cucumber/formatter/ordered_xml_markup.rb
341   -lib/cucumber/formatter/pretty.rb
342   -lib/cucumber/formatter/profile.rb
343   -lib/cucumber/formatter/progress.rb
344   -lib/cucumber/formatter/rerun.rb
345   -lib/cucumber/formatter/steps.rb
346   -lib/cucumber/formatter/tag_cloud.rb
347   -lib/cucumber/formatter/unicode.rb
348   -lib/cucumber/formatter/usage.rb
349   -lib/cucumber/formatters/unicode.rb
350   -lib/cucumber/language_support.rb
351   -lib/cucumber/language_support/language_methods.rb
352   -lib/cucumber/language_support/step_definition_methods.rb
353   -lib/cucumber/languages.yml
354   -lib/cucumber/parser.rb
355   -lib/cucumber/parser/feature.rb
356   -lib/cucumber/parser/feature.tt
357   -lib/cucumber/parser/i18n.tt
358   -lib/cucumber/parser/natural_language.rb
359   -lib/cucumber/parser/table.rb
360   -lib/cucumber/parser/table.tt
361   -lib/cucumber/parser/treetop_ext.rb
362   -lib/cucumber/platform.rb
363   -lib/cucumber/py_support/py_dsl.py
364   -lib/cucumber/py_support/py_language.py
365   -lib/cucumber/py_support/py_language.rb
366   -lib/cucumber/rails/rspec.rb
367   -lib/cucumber/rails/world.rb
368   -lib/cucumber/rake/task.rb
369   -lib/cucumber/rb_support/rb_dsl.rb
370   -lib/cucumber/rb_support/rb_hook.rb
371   -lib/cucumber/rb_support/rb_language.rb
372   -lib/cucumber/rb_support/rb_step_definition.rb
373   -lib/cucumber/rb_support/rb_world.rb
374   -lib/cucumber/rspec_neuter.rb
375   -lib/cucumber/step_match.rb
376   -lib/cucumber/step_mother.rb
377   -lib/cucumber/version.rb
378   -lib/cucumber/webrat/element_locator.rb
379   -lib/cucumber/webrat/table_locator.rb
380   -rails_generators/cucumber/USAGE
381   -rails_generators/cucumber/cucumber_generator.rb
382   -rails_generators/cucumber/templates/cucumber
383   -rails_generators/cucumber/templates/cucumber.rake
384   -rails_generators/cucumber/templates/cucumber_environment.rb
385   -rails_generators/cucumber/templates/env.rb
386   -rails_generators/cucumber/templates/paths.rb
387   -rails_generators/cucumber/templates/spork_env.rb
388   -rails_generators/cucumber/templates/webrat_steps.rb
389   -rails_generators/feature/USAGE
390   -rails_generators/feature/feature_generator.rb
391   -rails_generators/feature/templates/feature.erb
392   -rails_generators/feature/templates/steps.erb
393   -spec/cucumber/ast/background_spec.rb
394   -spec/cucumber/ast/feature_element_spec.rb
395   -spec/cucumber/ast/feature_factory.rb
396   -spec/cucumber/ast/feature_spec.rb
397   -spec/cucumber/ast/py_string_spec.rb
398   -spec/cucumber/ast/scenario_outline_spec.rb
399   -spec/cucumber/ast/scenario_spec.rb
400   -spec/cucumber/ast/step_collection_spec.rb
401   -spec/cucumber/ast/step_spec.rb
402   -spec/cucumber/ast/table_spec.rb
403   -spec/cucumber/broadcaster_spec.rb
404   -spec/cucumber/cli/configuration_spec.rb
405   -spec/cucumber/cli/drb_client_spec.rb
406   -spec/cucumber/cli/main_spec.rb
407   -spec/cucumber/cli/options_spec.rb
408   -spec/cucumber/cli/profile_loader_spec.rb
409   -spec/cucumber/core_ext/proc_spec.rb
410   -spec/cucumber/core_ext/string_spec.rb
411   -spec/cucumber/formatter/ansicolor_spec.rb
412   -spec/cucumber/formatter/color_io_spec.rb
413   -spec/cucumber/formatter/duration_spec.rb
414   -spec/cucumber/formatter/html_spec.rb
415   -spec/cucumber/formatter/progress_spec.rb
416   -spec/cucumber/parser/feature_parser_spec.rb
417   -spec/cucumber/parser/table_parser_spec.rb
418   -spec/cucumber/rails/stubs/mini_rails.rb
419   -spec/cucumber/rails/stubs/test_help.rb
420   -spec/cucumber/rails/world_spec.rb
421   -spec/cucumber/rb_support/rb_step_definition_spec.rb
422   -spec/cucumber/sell_cucumbers.feature
423   -spec/cucumber/step_mother_spec.rb
424   -spec/cucumber/treetop_parser/empty_feature.feature
425   -spec/cucumber/treetop_parser/empty_scenario.feature
426   -spec/cucumber/treetop_parser/empty_scenario_outline.feature
427   -spec/cucumber/treetop_parser/fit_scenario.feature
428   -spec/cucumber/treetop_parser/given_scenario.feature
429   -spec/cucumber/treetop_parser/invalid_scenario_outlines.feature
430   -spec/cucumber/treetop_parser/multiline_steps.feature
431   -spec/cucumber/treetop_parser/multiple_tables.feature
432   -spec/cucumber/treetop_parser/scenario_outline.feature
433   -spec/cucumber/treetop_parser/spaces.feature
434   -spec/cucumber/treetop_parser/test_dos.feature
435   -spec/cucumber/treetop_parser/with_comments.feature
436   -spec/cucumber/treetop_parser/with_tags.feature
437   -spec/cucumber/world/pending_spec.rb
438   -spec/spec.opts
439   -spec/spec_helper.rb
vendor/gems/cucumber-0.3.98/README.txt
... ... @@ -1,4 +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/
vendor/gems/cucumber-0.3.98/Rakefile
... ... @@ -1,9 +0,0 @@
1   -ENV['NODOT'] = 'true' # We don't want class diagrams in RDoc
2   -require 'config/requirements'
3   -require 'config/hoe' # setup Hoe + all gem configuration
4   -
5   -Dir['gem_tasks/**/*.rake'].each { |rake| load rake }
6   -
7   -# Hoe gives us :default => :test, but we don't have Test::Unit tests.
8   -Rake::Task[:default].clear_prerequisites rescue nil # For some super weird reason this fails for some...
9   -task :default => [:spec, :cucumber]
vendor/gems/cucumber-0.3.98/bin/cucumber
... ... @@ -1,17 +0,0 @@
1   -#!/usr/bin/env ruby
2   -# Add '.rb' to work around a bug in IronRuby's File#dirname
3   -$:.unshift(File.dirname(__FILE__ + '.rb') + '/../lib') unless $:.include?(File.dirname(__FILE__ + '.rb') + '/../lib')
4   -
5   -require 'cucumber/rspec_neuter'
6   -require 'cucumber/cli/main'
7   -begin
8   - # The dup is to keep ARGV intact, so that tools like ruby-debug can respawn.
9   - failure = Cucumber::Cli::Main.execute(ARGV.dup)
10   - Kernel.exit(failure ? 1 : 0)
11   -rescue SystemExit => e
12   - Kernel.exit(e.status)
13   -rescue Exception => e
14   - STDERR.puts("#{e.message} (#{e.class})")
15   - STDERR.puts(e.backtrace.join("\n"))
16   - Kernel.exit 1
17   -end
18 0 \ No newline at end of file
vendor/gems/cucumber-0.3.98/config/hoe.rb
... ... @@ -1,78 +0,0 @@
1   -# encoding: utf-8
2   -require 'cucumber/version'
3   -
4   -AUTHOR = 'Aslak Hellesøy' # can also be an array of Authors
5   -EMAIL = "aslak.hellesoy@gmail.com"
6   -DESCRIPTION = "Executable Feature scenarios"
7   -GEM_NAME = 'cucumber' # what ppl will type to install your gem
8   -HOMEPATH = "http://cukes.info"
9   -RUBYFORGE_PROJECT = 'rspec'
10   -
11   -@config_file = "~/.rubyforge/user-config.yml"
12   -@config = nil
13   -RUBYFORGE_USERNAME = "aslak_hellesoy"
14   -def rubyforge_username
15   - unless @config
16   - begin
17   - @config = YAML.load(File.read(File.expand_path(@config_file)))
18   - rescue
19   - puts <<-EOS
20   -ERROR: No rubyforge config file found: #{@config_file}
21   -Run 'rubyforge setup' to prepare your env for access to Rubyforge
22   - - See http://newgem.rubyforge.org/rubyforge.html for more details
23   - EOS
24   - exit
25   - end
26   - end
27   - RUBYFORGE_USERNAME.replace @config["username"]
28   -end
29   -
30   -
31   -REV = nil
32   -# UNCOMMENT IF REQUIRED:
33   -# REV = YAML.load(`svn info`)['Revision']
34   -VERS = Cucumber::VERSION::STRING + (REV ? ".#{REV}" : "")
35   -RDOC_OPTS = ['--quiet', '--title', 'Cucumber documentation',
36   - "--opname", "index.html",
37   - "--line-numbers",
38   - "--main", "README.textile",
39   - "--inline-source"]
40   -
41   -# Remove Hoe dependency
42   -class Hoe
43   - def extra_dev_deps
44   - @extra_dev_deps.reject! { |dep| dep[0] == "hoe" }
45   - @extra_dev_deps
46   - end
47   -end
48   -
49   -# Generate all the Rake tasks
50   -# Run 'rake -T' to see list of generated tasks (from gem root directory)
51   -$hoe = Hoe.spec(GEM_NAME) do |p|
52   - p.version = VERS
53   - p.developer(AUTHOR, EMAIL)
54   - p.description = DESCRIPTION
55   - p.summary = DESCRIPTION
56   - p.url = HOMEPATH
57   - p.rubyforge_name = RUBYFORGE_PROJECT if RUBYFORGE_PROJECT
58   - p.clean_globs |= ['**/.*.sw?', '*.gem', '.config', '**/.DS_Store', '**/*.class', '**/*.jar', '**/tmp'] #An array of file patterns to delete on clean.
59   -
60   - # == Optional
61   - p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
62   - #p.extra_deps = [] # An array of rubygem dependencies [name, version], e.g. [ ['active_support', '>= 1.3.1'] ]
63   - p.extra_deps = [
64   - ['term-ansicolor', '>= 1.0.3'],
65   - ['treetop', '>= 1.3.0'],
66   - ['polyglot', '>= 0.2.8'], # Don't really want polyglot, but it keeps breaking so we'll make people use something that works ok'ish
67   - ['diff-lcs', '>= 1.1.2'],
68   - ['builder', '>= 2.1.2']
69   - ]
70   -
71   - #p.spec_extras = {} # A hash of extra values to set in the gemspec.
72   -
73   -end
74   -
75   -CHANGES = $hoe.paragraphs_of('History.txt', 0..1).join("\\n\\n")
76   -PATH = (RUBYFORGE_PROJECT == GEM_NAME) ? RUBYFORGE_PROJECT : "#{RUBYFORGE_PROJECT}/#{GEM_NAME}"
77   -$hoe.remote_rdoc_dir = File.join(PATH.gsub(/^#{RUBYFORGE_PROJECT}\/?/,''), 'rdoc')
78   -$hoe.rsync_args = '-av --delete --ignore-errors'
79 0 \ No newline at end of file
vendor/gems/cucumber-0.3.98/config/requirements.rb
... ... @@ -1,15 +0,0 @@
1   -require 'fileutils'
2   -include FileUtils
3   -
4   -require 'rubygems'
5   -%w[rake hoe].each do |req_gem|
6   - begin
7   - require req_gem
8   - rescue LoadError
9   - puts "This Rakefile requires the '#{req_gem}' RubyGem."
10   - puts "Installation: gem install #{req_gem} -y"
11   - exit
12   - end
13   -end
14   -
15   -$:.unshift(File.join(File.dirname(__FILE__), %w[.. lib]))
vendor/gems/cucumber-0.3.98/cucumber.yml
... ... @@ -1,2 +0,0 @@
1   -default: --format progress --tags ~@proposed,~@wip --strict features
2   -wip: --tags @wip --wip features
vendor/gems/cucumber-0.3.98/examples/cs/README.textile
... ... @@ -1 +0,0 @@
1   -See "IronRuby and .NET":http://github.com/aslakhellesoy/cucumber/wikis/ironruby-and-net
2 0 \ No newline at end of file
vendor/gems/cucumber-0.3.98/examples/cs/Rakefile
... ... @@ -1,12 +0,0 @@
1   -$:.unshift(File.dirname(__FILE__) + '/../../lib')
2   -require 'cucumber/rake/task'
3   -
4   -Cucumber::Rake::Task.new(:features) do |t|
5   - t.cucumber_opts = %w{--format pretty}
6   -end
7   -
8   -task :features => :compile
9   -
10   -task :compile do
11   - sh "csc /target:library /out:Demo.dll src\\demo\\Calculator.cs"
12   -end
13 0 \ No newline at end of file
vendor/gems/cucumber-0.3.98/examples/cs/compile.bat
... ... @@ -1 +0,0 @@
1   -csc /target:library /out:Calculator.dll src\demo\Calculator.cs
2 0 \ No newline at end of file
vendor/gems/cucumber-0.3.98/examples/cs/features/addition.feature
... ... @@ -1,16 +0,0 @@
1   -Feature: Addition
2   - In order to avoid silly mistakes
3   - As a math idiot
4   - I want to be told the sum of two numbers
5   -
6   - Scenario Outline: Add two numbers
7   - Given I have entered <input_1> into the calculator
8   - And I have entered <input_2> into the calculator
9   - When I press add
10   - Then the result should be <output> on the screen
11   -
12   - Examples:
13   - | input_1 | input_2 | output |
14   - | 20 | 30 | 50 |
15   - | 2 | 5 | 7 |
16   - | 0 | 40 | 40 |
vendor/gems/cucumber-0.3.98/examples/cs/features/step_definitons/calculator_steps.rb
... ... @@ -1,19 +0,0 @@
1   -require 'spec/expectations'
2   -$:.unshift(File.dirname(__FILE__) + '/../../') # This line is not needed in your own project
3   -require 'Calculator' # Calculator.dll
4   -
5   -Before do
6   - @calc = Demo::Calculator.new # A .NET class in Calculator.dll
7   -end
8   -
9   -Given "I have entered $n into the calculator" do |n|
10   - @calc.push n.to_i
11   -end
12   -
13   -When /I press add/ do
14   - @result = @calc.Add
15   -end
16   -
17   -Then /the result should be (.*) on the screen/ do |result|
18   - @result.should == result.to_i
19   -end
vendor/gems/cucumber-0.3.98/examples/cs/src/demo/Calculator.cs
... ... @@ -1,20 +0,0 @@
1   -using System;
2   -using System.Collections.Generic;
3   -
4   -namespace Demo {
5   - public class Calculator {
6   - private List<int>args = new List<int>();
7   -
8   - public void Push(int n) {
9   - args.Add(n);
10   - }
11   -
12   - public int Add() {
13   - int result = 0;
14   - foreach(int n in args) {
15   - result += n;
16   - }
17   - return result;
18   - }
19   - }
20   -}
vendor/gems/cucumber-0.3.98/examples/dos_line_endings/Rakefile
... ... @@ -1,6 +0,0 @@
1   -$:.unshift(File.dirname(__FILE__) + '/../../lib')
2   -require 'cucumber/rake/task'
3   -
4   -Cucumber::Rake::Task.new do |t|
5   - t.cucumber_opts = %w{--format pretty}
6   -end
7 0 \ No newline at end of file
vendor/gems/cucumber-0.3.98/examples/dos_line_endings/features/dos_line_endings.feature
... ... @@ -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.3.98/examples/i18n/README.textile
... ... @@ -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 0 \ No newline at end of file
vendor/gems/cucumber-0.3.98/examples/i18n/Rakefile
... ... @@ -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{ro}.index(lang)
28   -end
29   -
30   -def rake(args)
31   - ruby($0, args)
32   -end
vendor/gems/cucumber-0.3.98/examples/i18n/ar/Rakefile
... ... @@ -1,6 +0,0 @@
1   -$:.unshift(File.dirname(__FILE__) + '/../../../lib')
2   -require 'cucumber/rake/task'
3   -
4   -Cucumber::Rake::Task.new do |t|
5   - t.cucumber_opts = %w{--format pretty}
6   -end
7 0 \ No newline at end of file
vendor/gems/cucumber-0.3.98/examples/i18n/ar/features/addition.feature
... ... @@ -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 0 \ No newline at end of file
vendor/gems/cucumber-0.3.98/examples/i18n/ar/features/step_definitons/calculator_steps.rb
... ... @@ -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.3.98/examples/i18n/ar/lib/calculator.rb
... ... @@ -1,11 +0,0 @@
1   -# encoding: utf-8
2   -class Calculator
3   - def push(n)
4   - @args ||= []
5   - @args << n
6   - end
7   -
8   - def جمع
9   - @args.inject(0){|n,sum| sum+=n}
10   - end
11   -end
12 0 \ No newline at end of file
vendor/gems/cucumber-0.3.98/examples/i18n/bg/Rakefile
... ... @@ -1,6 +0,0 @@
1   -$:.unshift(File.dirname(__FILE__) + '/../../../lib')
2   -require 'cucumber/rake/task'
3   -
4   -Cucumber::Rake::Task.new do |t|
5   - t.cucumber_opts = %w{--format pretty}
6   -end
vendor/gems/cucumber-0.3.98/examples/i18n/bg/features/addition.feature
... ... @@ -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.3.98/examples/i18n/bg/features/consecutive_calculations.feature
... ... @@ -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.3.98/examples/i18n/bg/features/division.feature
... ... @@ -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.3.98/examples/i18n/bg/features/step_definitons/calculator_steps.rb
... ... @@ -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.3.98/examples/i18n/bg/features/support/env.rb
... ... @@ -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 0 \ No newline at end of file
vendor/gems/cucumber-0.3.98/examples/i18n/bg/features/support/world.rb
... ... @@ -1,8 +0,0 @@
1   -# encoding: utf-8
2   -module LazyCalc
3   - def calc
4   - @calc ||= Calculator.new
5   - end
6   -end
7   -
8   -World(LazyCalc)
vendor/gems/cucumber-0.3.98/examples/i18n/bg/lib/calculator.rb
... ... @@ -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 0 \ No newline at end of file
vendor/gems/cucumber-0.3.98/examples/i18n/cat/Rakefile
... ... @@ -1,6 +0,0 @@
1   -$:.unshift(File.dirname(__FILE__) + '/../../../lib')
2   -require 'cucumber/rake/task'
3   -
4   -Cucumber::Rake::Task.new do |t|
5   - t.cucumber_opts = %w{--format pretty}
6   -end
7 0 \ No newline at end of file
vendor/gems/cucumber-0.3.98/examples/i18n/cat/features/step_definitons/calculator_steps.rb
... ... @@ -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.3.98/examples/i18n/cat/features/suma.feature
... ... @@ -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 0 \ No newline at end of file
vendor/gems/cucumber-0.3.98/examples/i18n/cat/lib/calculadora.rb
... ... @@ -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 0 \ No newline at end of file
vendor/gems/cucumber-0.3.98/examples/i18n/da/Rakefile
... ... @@ -1,6 +0,0 @@
1   -$:.unshift(File.dirname(__FILE__) + '/../../../lib')
2   -require 'cucumber/rake/task'
3   -
4   -Cucumber::Rake::Task.new do |t|
5   - t.cucumber_opts = %w{--format pretty}
6   -end
7 0 \ No newline at end of file
vendor/gems/cucumber-0.3.98/examples/i18n/da/features/step_definitons/kalkulator_steps.rb
... ... @@ -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 'kalkulator'
6   -
7   -Before do
8   - @calc = Kalkulator.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 summerer' 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.3.98/examples/i18n/da/features/summering.feature
... ... @@ -1,18 +0,0 @@
1   -# language: da
2   -Egenskab: Summering
3   - For at slippe for at lave dumme fejl
4   - Som en regnskabsfører
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 summerer
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 summerer
18   - Så skal resultatet være 13
19 0 \ No newline at end of file
vendor/gems/cucumber-0.3.98/examples/i18n/da/lib/kalkulator.rb
... ... @@ -1,11 +0,0 @@
1   -class Kalkulator
2   - def push(n)
3   - @args ||= []
4   - @args << n
5   - end
6   -
7   - def add
8   - #@args[0] + @args[1]
9   - @args.inject(0){|n,sum| sum+=n}
10   - end
11   -end
12 0 \ No newline at end of file
vendor/gems/cucumber-0.3.98/examples/i18n/de/Rakefile
... ... @@ -1,6 +0,0 @@
1   -$:.unshift(File.dirname(__FILE__) + '/../../../lib')
2   -require 'cucumber/rake/task'
3   -
4   -Cucumber::Rake::Task.new do |t|
5   - t.cucumber_opts = %w{--format pretty}
6   -end
7 0 \ No newline at end of file
vendor/gems/cucumber-0.3.98/examples/i18n/de/features/addition.feature
... ... @@ -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.3.98/examples/i18n/de/features/division.feature
... ... @@ -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.3.98/examples/i18n/de/features/step_definitons/calculator_steps.rb
... ... @@ -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.3.98/examples/i18n/de/lib/calculator.rb
... ... @@ -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 0 \ No newline at end of file
vendor/gems/cucumber-0.3.98/examples/i18n/en-lol/Rakefile
... ... @@ -1,6 +0,0 @@
1   -$:.unshift(File.dirname(__FILE__) + '/../../../lib')
2   -require 'cucumber/rake/task'
3   -
4   -Cucumber::Rake::Task.new do |t|
5   - t.cucumber_opts = %w{--language en-lol}
6   -end
7 0 \ No newline at end of file
vendor/gems/cucumber-0.3.98/examples/i18n/en-lol/features/step_definitions/cucumbrz_steps.rb
... ... @@ -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.3.98/examples/i18n/en-lol/features/stuffing.feature
... ... @@ -1,8 +0,0 @@
1   -# language: en-lol
2   -OH HAI: STUFFING
3   -
4   - MISHUN: CUCUMBR
5   - I CAN HAZ IN TEH BEGINNIN 3 CUCUMBRZ
6   - WEN I EAT 2 CUCUMBRZ
7   - DEN I HAS 2 CUCUMBERZ IN MAH BELLY
8   - AN IN TEH END 1 CUCUMBRZ KTHXBAI
9 0 \ No newline at end of file
vendor/gems/cucumber-0.3.98/examples/i18n/en-lol/features/support/env.rb
... ... @@ -1,8 +0,0 @@
1   -# encoding: utf-8
2   -$KCODE='u' unless Cucumber::RUBY_1_9
3   -require 'cucumber/formatter/unicode'
4   -require 'spec/expectations'
5   -
6   -$:.unshift(File.dirname(__FILE__) + '/../../lib')
7   -require 'basket'
8   -require 'belly'
vendor/gems/cucumber-0.3.98/examples/i18n/en-lol/lib/basket.rb
... ... @@ -1,12 +0,0 @@
1   -class Basket
2   - attr_reader :cukes
3   -
4   - def initialize(cukes)
5   - @cukes = cukes
6   - end
7   -
8   - def take(cukes)
9   - @cukes -= cukes
10   - cukes
11   - end
12   -end
13 0 \ No newline at end of file
vendor/gems/cucumber-0.3.98/examples/i18n/en-lol/lib/belly.rb
... ... @@ -1,11 +0,0 @@
1   -class Belly
2   - attr_reader :cukes
3   -
4   - def initialize
5   - @cukes = 0
6   - end
7   -
8   - def eat(cukes)
9   - @cukes += cukes
10   - end
11   -end
12 0 \ No newline at end of file
vendor/gems/cucumber-0.3.98/examples/i18n/en/Rakefile
... ... @@ -1,6 +0,0 @@
1   -$:.unshift(File.dirname(__FILE__) + '/../../../lib')
2   -require 'cucumber/rake/task'
3   -
4   -Cucumber::Rake::Task.new do |t|
5   - t.cucumber_opts = %w{--format pretty}
6   -end
7 0 \ No newline at end of file
vendor/gems/cucumber-0.3.98/examples/i18n/en/features/addition.feature
... ... @@ -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.3.98/examples/i18n/en/features/division.feature
... ... @@ -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.3.98/examples/i18n/en/features/step_definitons/calculator_steps.rb
... ... @@ -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.3.98/examples/i18n/en/lib/calculator.rb
... ... @@ -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 0 \ No newline at end of file
vendor/gems/cucumber-0.3.98/examples/i18n/es/Rakefile
... ... @@ -1,6 +0,0 @@
1   -$:.unshift(File.dirname(__FILE__) + '/../../../lib')
2   -require 'cucumber/rake/task'
3   -
4   -Cucumber::Rake::Task.new do |t|
5   - t.cucumber_opts = %w{--format pretty}
6   -end
7 0 \ No newline at end of file
vendor/gems/cucumber-0.3.98/examples/i18n/es/features/adicion.feature
... ... @@ -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 0 \ No newline at end of file
vendor/gems/cucumber-0.3.98/examples/i18n/es/features/step_definitons/calculador_steps.rb
... ... @@ -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 0 \ No newline at end of file
vendor/gems/cucumber-0.3.98/examples/i18n/es/lib/calculador.rb
... ... @@ -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 0 \ No newline at end of file
vendor/gems/cucumber-0.3.98/examples/i18n/et/Rakefile
... ... @@ -1,6 +0,0 @@
1   -$:.unshift(File.dirname(__FILE__) + '/../../../lib')
2   -require 'cucumber/rake/task'
3   -
4   -Cucumber::Rake::Task.new do |t|
5   - t.cucumber_opts = %w{--format pretty}
6   -end
7 0 \ No newline at end of file
vendor/gems/cucumber-0.3.98/examples/i18n/et/features/jagamine.feature
... ... @@ -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.3.98/examples/i18n/et/features/liitmine.feature
... ... @@ -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 0 \ No newline at end of file
vendor/gems/cucumber-0.3.98/examples/i18n/et/features/step_definitions/kalkulaator_steps.rb
... ... @@ -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.3.98/examples/i18n/et/lib/kalkulaator.rb
... ... @@ -1,14 +0,0 @@
1   -class Kalkulaator
2   - def push(n)
3   - @args ||= []
4   - @args << n
5   - end
6   -
7   - def liida
8   - @args.inject(0){|n,sum| sum+=n}
9   - end
10   -
11   - def jaga
12   - @args[0].to_f / @args[1].to_f
13   - end
14   -end
vendor/gems/cucumber-0.3.98/examples/i18n/fi/Rakefile
... ... @@ -1,6 +0,0 @@
1   -$:.unshift(File.dirname(__FILE__) + '/../../../lib')
2   -require 'cucumber/rake/task'
3   -
4   -Cucumber::Rake::Task.new do |t|
5   - t.cucumber_opts = %w{--format pretty}
6   -end
vendor/gems/cucumber-0.3.98/examples/i18n/fi/features/jakolasku.feature
... ... @@ -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.3.98/examples/i18n/fi/features/step_definitons/laskin_steps.rb
... ... @@ -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.3.98/examples/i18n/fi/features/yhteenlasku.feature
... ... @@ -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.3.98/examples/i18n/fi/lib/laskin.rb
... ... @@ -1,14 +0,0 @@
1   -class Laskin
2   - def pinoa(n)
3   - @args ||= []
4   - @args << n
5   - end
6   -
7   - def summaa
8   - @args.inject(0){|n,sum| sum+=n}
9   - end
10   -
11   - def jaa
12   - @args[0].to_f / @args[1].to_f
13   - end
14   -end
vendor/gems/cucumber-0.3.98/examples/i18n/fr/Rakefile
... ... @@ -1,6 +0,0 @@
1   -$:.unshift(File.dirname(__FILE__) + '/../../../lib')
2   -require 'cucumber/rake/task'
3   -
4   -Cucumber::Rake::Task.new do |t|
5   - t.cucumber_opts = %w{--format pretty}
6   -end
7 0 \ No newline at end of file
vendor/gems/cucumber-0.3.98/examples/i18n/fr/features/addition.feature
... ... @@ -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.3.98/examples/i18n/fr/features/step_definitions/calculatrice_steps.rb
... ... @@ -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.3.98/examples/i18n/fr/lib/calculatrice.rb
... ... @@ -1,10 +0,0 @@
1   -class Calculatrice
2   - def push(n)
3   - @args ||= []
4   - @args << n
5   - end
6   -
7   - def additionner
8   - @args.inject(0){|n,sum| sum+=n}
9   - end
10   -end
vendor/gems/cucumber-0.3.98/examples/i18n/he/Rakefile
... ... @@ -1,6 +0,0 @@
1   -$:.unshift(File.dirname(__FILE__) + '/../../../lib')
2   -require 'cucumber/rake/task'
3   -
4   -Cucumber::Rake::Task.new do |t|
5   - t.cucumber_opts = %w{--format pretty}
6   -end
vendor/gems/cucumber-0.3.98/examples/i18n/he/features/addition.feature
... ... @@ -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.3.98/examples/i18n/he/features/division.feature
... ... @@ -1,10 +0,0 @@
1   -# language: he
2   -תכונה: חילוק
3   - כדי למנוע טעויות טפשיות
4   - לקופאים חייבת להיות יכולת לחשב שבר
5   -
6   - תרחיש: מספרים רגילים
7   - בהינתן שהזנתי 3 למחשבון
8   - וגם שהזנתי 2 למחשבון
9   - כאשר אני לוחץ על חלק
10   - אז התוצאה על המסך צריכה להיות 1.5
vendor/gems/cucumber-0.3.98/examples/i18n/he/features/step_definitons/calculator_steps.rb
... ... @@ -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.3.98/examples/i18n/he/lib/calculator.rb
... ... @@ -1,14 +0,0 @@
1   -class Calculator
2   - def push(n)
3   - @args ||= []
4   - @args << n
5   - end
6   -
7   - def חבר
8   - @args.inject(0){|n,sum| sum+=n}
9   - end
10   -
11   - def חלק
12   - @args[0].to_f / @args[1].to_f
13   - end
14   -end
vendor/gems/cucumber-0.3.98/examples/i18n/hu/Rakefile
... ... @@ -1,6 +0,0 @@
1   -$:.unshift(File.dirname(__FILE__) + '/../../../lib')
2   -require 'cucumber/rake/task'
3   -
4   -Cucumber::Rake::Task.new do |t|
5   - t.cucumber_opts = %w{--format pretty}
6   -end
vendor/gems/cucumber-0.3.98/examples/i18n/hu/features/addition.feature
... ... @@ -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.3.98/examples/i18n/hu/features/division.feature
... ... @@ -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.3.98/examples/i18n/hu/features/step_definitons/calculator_steps.rb
... ... @@ -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.3.98/examples/i18n/hu/lib/calculator.rb
... ... @@ -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
vendor/gems/cucumber-0.3.98/examples/i18n/id/Rakefile
... ... @@ -1,6 +0,0 @@
1   -$:.unshift(File.dirname(__FILE__) + '/../../../lib')
2   -require 'cucumber/rake/task'
3   -
4   -Cucumber::Rake::Task.new do |t|
5   - t.cucumber_opts = %w{--format pretty}
6   -end
7 0 \ No newline at end of file
vendor/gems/cucumber-0.3.98/examples/i18n/id/features/addition.feature
... ... @@ -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.3.98/examples/i18n/id/features/division.feature
... ... @@ -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.3.98/examples/i18n/id/features/step_definitons/calculator_steps.rb
... ... @@ -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.3.98/examples/i18n/id/lib/calculator.rb
... ... @@ -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 0 \ No newline at end of file
vendor/gems/cucumber-0.3.98/examples/i18n/it/Rakefile
... ... @@ -1,6 +0,0 @@
1   -$:.unshift(File.dirname(__FILE__) + '/../../../lib')
2   -require 'cucumber/rake/task'
3   -
4   -Cucumber::Rake::Task.new do |t|
5   - t.cucumber_opts = %w{--format pretty}
6   -end
7 0 \ No newline at end of file
vendor/gems/cucumber-0.3.98/examples/i18n/it/features/somma.feature
... ... @@ -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.3.98/examples/i18n/it/features/step_definitons/calcolatrice_steps.rb
... ... @@ -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.3.98/examples/i18n/it/lib/calcolatrice.rb
... ... @@ -1,11 +0,0 @@
1   -class Calcolatrice
2   - def push(n)
3   - @args ||= []
4   - @args << n
5   - end
6   -
7   - def add
8   - #@args[0] + @args[1]
9   - @args.inject(0){|n,sum| sum+=n}
10   - end
11   -end
12 0 \ No newline at end of file
vendor/gems/cucumber-0.3.98/examples/i18n/ja/Rakefile
... ... @@ -1,6 +0,0 @@
1   -$:.unshift(File.dirname(__FILE__) + '/../../../lib')
2   -require 'cucumber/rake/task'
3   -
4   -Cucumber::Rake::Task.new do |t|
5   - t.cucumber_opts = %w{--format pretty}
6   -end
vendor/gems/cucumber-0.3.98/examples/i18n/ja/features/addition.feature
... ... @@ -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.3.98/examples/i18n/ja/features/division.feature
... ... @@ -1,10 +0,0 @@
1   -# language: ja
2   -フィーチャ: 除算
3   - バカな間違いを避けるために
4   - 有理数も計算できること
5   -
6   - シナリオ: ふつうの数値
7   - 前提 3 を入力
8   - かつ 2 を入力
9   - もし divide を押した
10   - ならば 1.5 を表示