diff --git a/config/environments/cucumber.rb b/config/environments/cucumber.rb index 4e9d43f..f8a6729 100644 --- a/config/environments/cucumber.rb +++ b/config/environments/cucumber.rb @@ -1,3 +1,7 @@ +# IMPORTANT: This file was generated by Cucumber 0.4.2 +# Edit at your own peril - it's recommended to regenerate this file +# in the future when you upgrade to a newer version of Cucumber. + config.cache_classes = true # This must be true for Cucumber to operate correctly! # Log error messages when you accidentally call methods on nil. @@ -15,41 +19,26 @@ config.action_controller.allow_forgery_protection = false # ActionMailer::Base.deliveries array. config.action_mailer.delivery_method = :test -# rake gems:install RAILS_ENV=cucumber - -# Cucumber and dependencies -config.gem 'polyglot', - :version => '0.2.8', - :lib => false -config.gem 'treetop', - :version => '1.3.0', - :lib => false -config.gem 'term-ansicolor', - :version => '1.0.3', - :lib => false -config.gem 'diff-lcs', - :version => '1.1.2', - :lib => false -config.gem 'builder', - :version => '2.1.2', - :lib => false -config.gem 'cucumber', - :version => '0.3.98' -config.gem 'fakeweb', - :version => '>= 1.2.5' +unless File.directory?(File.join(Rails.root, 'vendor/plugins/cucumber')) + config.gem 'cucumber', + :lib => false, + :version => '>=0.4.2' +end -# Webrat and dependencies -# NOTE: don't vendor nokogiri - it's a binary Gem -config.gem 'nokogiri', - :version => '1.3.3', - :lib => false -config.gem 'webrat', - :version => '0.5.3' +unless File.directory?(File.join(Rails.root, 'vendor/plugins/webrat')) + config.gem 'webrat', + :lib => false, + :version => '>=0.5.0' +end -require 'rubygems' -require 'factory_girl' -require 'shoulda' -require 'fakeweb' +config.gem 'fakeweb', + :version => '>= 1.2.5' +config.gem 'factory_girl', + :source => 'http://gemcutter.org', + :version => '>= 1.2.3' HOST = "localhost" +AUTHORIZE_NET_API_LOGIN_ID = '' +AUTHORIZE_NET_TRANSACTION_KEY = '' +ActiveMerchant::Billing::Base.gateway_mode = :test diff --git a/config/environments/test.rb b/config/environments/test.rb index ce4c3b1..7763b1b 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -23,10 +23,9 @@ config.action_mailer.delivery_method = :test # rake gems:install RAILS_ENV=test -config.gem 'thoughtbot-factory_girl', - :lib => 'factory_girl', - :source => 'http://gems.github.com', - :version => '>= 1.2.1' +config.gem 'factory_girl', + :source => 'http://gemcutter.org', + :version => '>= 1.2.3' config.gem 'thoughtbot-shoulda', :lib => 'shoulda', :source => 'http://gems.github.com', @@ -44,10 +43,9 @@ config.gem 'jferris-mocha', HOST = 'localhost' -begin - require 'factory_girl' - require 'redgreen' - require 'fakeweb' -rescue LoadError -end +AUTHORIZE_NET_API_LOGIN_ID = '' +AUTHORIZE_NET_TRANSACTION_KEY = '' +PAYPAL_API_LOGIN = '' +PAYPAL_API_PASSWORD = '' +PAYPAL_API_SIGNATURE = '' diff --git a/script/create_project b/script/create_project index f5bfde4..efd5c22 100755 --- a/script/create_project +++ b/script/create_project @@ -78,11 +78,6 @@ unless installed?("nokogiri") run "sudo gem install nokogiri --version='1.3.3'" end -# need to install tpope-pickler for the 'pickler' command -unless installed?("tpope-pickler") - run "sudo gem install tpope-pickler" -end - # need to install heroku gem for the 'heroku' commands unless installed?("heroku") run "sudo gem install heroku" diff --git a/vendor/gems/cucumber-0.3.98/.specification b/vendor/gems/cucumber-0.3.98/.specification deleted file mode 100644 index 6828afb..0000000 --- a/vendor/gems/cucumber-0.3.98/.specification +++ /dev/null @@ -1,547 +0,0 @@ ---- !ruby/object:Gem::Specification -name: cucumber -version: !ruby/object:Gem::Version - version: 0.3.98 -platform: ruby -authors: -- "Aslak Helles\xC3\xB8y" -autorequire: -bindir: bin -cert_chain: [] - -date: 2009-08-25 00:00:00 -04:00 -default_executable: cucumber -dependencies: -- !ruby/object:Gem::Dependency - name: term-ansicolor - type: :runtime - version_requirement: - version_requirements: !ruby/object:Gem::Requirement - requirements: - - - ">=" - - !ruby/object:Gem::Version - version: 1.0.3 - version: -- !ruby/object:Gem::Dependency - name: treetop - type: :runtime - version_requirement: - version_requirements: !ruby/object:Gem::Requirement - requirements: - - - ">=" - - !ruby/object:Gem::Version - version: 1.3.0 - version: -- !ruby/object:Gem::Dependency - name: polyglot - type: :runtime - version_requirement: - version_requirements: !ruby/object:Gem::Requirement - requirements: - - - ">=" - - !ruby/object:Gem::Version - version: 0.2.8 - version: -- !ruby/object:Gem::Dependency - name: diff-lcs - type: :runtime - version_requirement: - version_requirements: !ruby/object:Gem::Requirement - requirements: - - - ">=" - - !ruby/object:Gem::Version - version: 1.1.2 - version: -- !ruby/object:Gem::Dependency - name: builder - type: :runtime - version_requirement: - version_requirements: !ruby/object:Gem::Requirement - requirements: - - - ">=" - - !ruby/object:Gem::Version - version: 2.1.2 - version: -description: Executable Feature scenarios -email: -- aslak.hellesoy@gmail.com -executables: -- cucumber -extensions: [] - -extra_rdoc_files: -- History.txt -- License.txt -- Manifest.txt -- README.txt -files: -- History.txt -- License.txt -- Manifest.txt -- README.txt -- Rakefile -- bin/cucumber -- config/hoe.rb -- config/requirements.rb -- cucumber.yml -- examples/cs/README.textile -- examples/cs/Rakefile -- examples/cs/compile.bat -- examples/cs/features/addition.feature -- examples/cs/features/step_definitons/calculator_steps.rb -- examples/cs/src/demo/Calculator.cs -- examples/dos_line_endings/Rakefile -- examples/dos_line_endings/features/dos_line_endings.feature -- examples/i18n/README.textile -- examples/i18n/Rakefile -- examples/i18n/ar/Rakefile -- examples/i18n/ar/features/addition.feature -- examples/i18n/ar/features/step_definitons/calculator_steps.rb -- examples/i18n/ar/lib/calculator.rb -- examples/i18n/bg/Rakefile -- examples/i18n/bg/features/addition.feature -- examples/i18n/bg/features/consecutive_calculations.feature -- examples/i18n/bg/features/division.feature -- examples/i18n/bg/features/step_definitons/calculator_steps.rb -- examples/i18n/bg/features/support/env.rb -- examples/i18n/bg/features/support/world.rb -- examples/i18n/bg/lib/calculator.rb -- examples/i18n/cat/Rakefile -- examples/i18n/cat/features/step_definitons/calculator_steps.rb -- examples/i18n/cat/features/suma.feature -- examples/i18n/cat/lib/calculadora.rb -- examples/i18n/da/Rakefile -- examples/i18n/da/features/step_definitons/kalkulator_steps.rb -- examples/i18n/da/features/summering.feature -- examples/i18n/da/lib/kalkulator.rb -- examples/i18n/de/Rakefile -- examples/i18n/de/features/addition.feature -- examples/i18n/de/features/division.feature -- examples/i18n/de/features/step_definitons/calculator_steps.rb -- examples/i18n/de/lib/calculator.rb -- examples/i18n/en-lol/Rakefile -- examples/i18n/en-lol/features/step_definitions/cucumbrz_steps.rb -- examples/i18n/en-lol/features/stuffing.feature -- examples/i18n/en-lol/features/support/env.rb -- examples/i18n/en-lol/lib/basket.rb -- examples/i18n/en-lol/lib/belly.rb -- examples/i18n/en/Rakefile -- examples/i18n/en/features/addition.feature -- examples/i18n/en/features/division.feature -- examples/i18n/en/features/step_definitons/calculator_steps.rb -- examples/i18n/en/lib/calculator.rb -- examples/i18n/es/Rakefile -- examples/i18n/es/features/adicion.feature -- examples/i18n/es/features/step_definitons/calculador_steps.rb -- examples/i18n/es/lib/calculador.rb -- examples/i18n/et/Rakefile -- examples/i18n/et/features/jagamine.feature -- examples/i18n/et/features/liitmine.feature -- examples/i18n/et/features/step_definitions/kalkulaator_steps.rb -- examples/i18n/et/lib/kalkulaator.rb -- examples/i18n/fi/Rakefile -- examples/i18n/fi/features/jakolasku.feature -- examples/i18n/fi/features/step_definitons/laskin_steps.rb -- examples/i18n/fi/features/yhteenlasku.feature -- examples/i18n/fi/lib/laskin.rb -- examples/i18n/fr/Rakefile -- examples/i18n/fr/features/addition.feature -- examples/i18n/fr/features/step_definitions/calculatrice_steps.rb -- examples/i18n/fr/lib/calculatrice.rb -- examples/i18n/he/Rakefile -- examples/i18n/he/features/addition.feature -- examples/i18n/he/features/division.feature -- examples/i18n/he/features/step_definitons/calculator_steps.rb -- examples/i18n/he/lib/calculator.rb -- examples/i18n/hu/Rakefile -- examples/i18n/hu/features/addition.feature -- examples/i18n/hu/features/division.feature -- examples/i18n/hu/features/step_definitons/calculator_steps.rb -- examples/i18n/hu/lib/calculator.rb -- examples/i18n/id/Rakefile -- examples/i18n/id/features/addition.feature -- examples/i18n/id/features/division.feature -- examples/i18n/id/features/step_definitons/calculator_steps.rb -- examples/i18n/id/lib/calculator.rb -- examples/i18n/it/Rakefile -- examples/i18n/it/features/somma.feature -- examples/i18n/it/features/step_definitons/calcolatrice_steps.rb -- examples/i18n/it/lib/calcolatrice.rb -- examples/i18n/ja/Rakefile -- examples/i18n/ja/features/addition.feature -- examples/i18n/ja/features/division.feature -- examples/i18n/ja/features/step_definitons/calculator_steps.rb -- examples/i18n/ja/lib/calculator.rb -- examples/i18n/ko/Rakefile -- examples/i18n/ko/features/addition.feature -- examples/i18n/ko/features/division.feature -- examples/i18n/ko/features/step_definitons/calculator_steps.rb -- examples/i18n/ko/lib/calculator.rb -- examples/i18n/lt/Rakefile -- examples/i18n/lt/features/addition.feature -- examples/i18n/lt/features/division.feature -- examples/i18n/lt/features/step_definitons/calculator_steps.rb -- examples/i18n/lt/lib/calculator.rb -- examples/i18n/lv/Rakefile -- examples/i18n/lv/features/addition.feature -- examples/i18n/lv/features/division.feature -- examples/i18n/lv/features/step_definitons/calculator_steps.rb -- examples/i18n/lv/lib/calculator.rb -- examples/i18n/no/Rakefile -- examples/i18n/no/features/step_definitons/kalkulator_steps.rb -- examples/i18n/no/features/summering.feature -- examples/i18n/no/features/support/env.rb -- examples/i18n/no/lib/kalkulator.rb -- examples/i18n/pl/Rakefile -- examples/i18n/pl/features/addition.feature -- examples/i18n/pl/features/division.feature -- examples/i18n/pl/features/step_definitons/calculator_steps.rb -- examples/i18n/pl/features/support/env.rb -- examples/i18n/pl/lib/calculator.rb -- examples/i18n/pt/Rakefile -- examples/i18n/pt/features/adicao.feature -- examples/i18n/pt/features/step_definitions/calculadora_steps.rb -- examples/i18n/pt/features/support/env.rb -- examples/i18n/pt/lib/calculadora.rb -- examples/i18n/ro/Rakefile -- examples/i18n/ro/features/step_definitons/calculator_steps.rb -- examples/i18n/ro/features/suma.feature -- examples/i18n/ro/lib/calculator.rb -- examples/i18n/ru/Rakefile -- examples/i18n/ru/features/addition.feature -- examples/i18n/ru/features/consecutive_calculations.feature -- examples/i18n/ru/features/division.feature -- examples/i18n/ru/features/step_definitons/calculator_steps.rb -- examples/i18n/ru/features/support/env.rb -- examples/i18n/ru/features/support/world.rb -- examples/i18n/ru/lib/calculator.rb -- examples/i18n/se/Rakefile -- examples/i18n/se/features/step_definitons/kalkulator_steps.rb -- examples/i18n/se/features/summering.feature -- examples/i18n/se/lib/kalkulator.rb -- examples/i18n/sk/Rakefile -- examples/i18n/sk/features/addition.feature -- examples/i18n/sk/features/division.feature -- examples/i18n/sk/features/step_definitons/calculator_steps.rb -- examples/i18n/sk/lib/calculator.rb -- examples/i18n/zh-CN/Rakefile -- examples/i18n/zh-CN/features/addition.feature -- examples/i18n/zh-CN/features/step_definitons/calculator_steps.rb -- examples/i18n/zh-CN/lib/calculator.rb -- examples/i18n/zh-TW/Rakefile -- examples/i18n/zh-TW/features/addition.feature -- examples/i18n/zh-TW/features/division.feature -- examples/i18n/zh-TW/features/step_definitons/calculator_steps.rb -- examples/i18n/zh-TW/lib/calculator.rb -- examples/java/README.textile -- examples/java/build.xml -- examples/java/features/hello.feature -- examples/java/features/step_definitons/hello_steps.rb -- examples/java/features/step_definitons/tree_steps.rb -- examples/java/features/tree.feature -- examples/java/src/cucumber/demo/Hello.java -- examples/junit/features/one_passing_one_failing.feature -- examples/junit/features/pending.feature -- examples/junit/features/step_definitions/steps.rb -- examples/pure_java/README.textile -- examples/python/features/fibonacci.feature -- examples/python/features/step_definitions/fib_steps.py -- examples/python/features/step_definitions/fib_steps.rb -- examples/python/features/support/env.rb -- examples/python/lib/fib.py -- examples/selenium/Rakefile -- examples/selenium/features/search.feature -- examples/selenium/features/step_definitons/search_steps.rb -- examples/selenium/features/support/env.rb -- examples/selenium_webrat/Rakefile -- examples/selenium_webrat/config.ru -- examples/selenium_webrat/features/search.feature -- examples/selenium_webrat/features/step_definitons/search_steps.rb -- examples/selenium_webrat/features/support/env.rb -- examples/self_test/README.textile -- examples/self_test/Rakefile -- examples/self_test/features/background/background_tagged_before_on_outline.feature -- examples/self_test/features/background/background_with_name.feature -- examples/self_test/features/background/failing_background.feature -- examples/self_test/features/background/failing_background_after_success.feature -- examples/self_test/features/background/multiline_args_background.feature -- examples/self_test/features/background/passing_background.feature -- examples/self_test/features/background/pending_background.feature -- examples/self_test/features/background/scenario_outline_failing_background.feature -- examples/self_test/features/background/scenario_outline_passing_background.feature -- examples/self_test/features/call_undefined_step_from_step_def.feature -- examples/self_test/features/failing_expectation.feature -- examples/self_test/features/lots_of_undefined.feature -- examples/self_test/features/multiline_name.feature -- examples/self_test/features/outline_sample.feature -- examples/self_test/features/sample.feature -- examples/self_test/features/search_sample.feature -- examples/self_test/features/step_definitions/sample_steps.rb -- examples/self_test/features/support/env.rb -- examples/self_test/features/tags_sample.feature -- examples/self_test/features/tons_of_cukes.feature -- examples/self_test/features/undefined_multiline_args.feature -- examples/sinatra/README.textile -- examples/sinatra/Rakefile -- examples/sinatra/app.rb -- examples/sinatra/features/add.feature -- examples/sinatra/features/step_definitions/add_steps.rb -- examples/sinatra/features/support/env.rb -- examples/sinatra/views/add.erb -- examples/sinatra/views/layout.erb -- examples/steps_library/features/step_definitions/steps_lib1.rb -- examples/steps_library/features/step_definitions/steps_lib2.rb -- examples/test_unit/Rakefile -- examples/test_unit/features/step_definitions/test_unit_steps.rb -- examples/test_unit/features/test_unit.feature -- examples/tickets/Rakefile -- examples/tickets/features/172.feature -- examples/tickets/features/177/1.feature -- examples/tickets/features/177/2.feature -- examples/tickets/features/177/3.feature -- examples/tickets/features/180.feature -- examples/tickets/features/229/tagged_hooks.feature -- examples/tickets/features/229/tagged_hooks.rb -- examples/tickets/features/236.feature -- examples/tickets/features/241.feature -- examples/tickets/features/246.feature -- examples/tickets/features/248.feature -- examples/tickets/features/270/back.feature -- examples/tickets/features/270/back.steps.rb -- examples/tickets/features/272/hooks.feature -- examples/tickets/features/272/hooks_steps.rb -- examples/tickets/features/279/py_string_indent.feature -- examples/tickets/features/279/py_string_indent.steps.rb -- examples/tickets/features/279/wrong.feature_ -- examples/tickets/features/301/filter_background_tagged_hooks.feature -- examples/tickets/features/301/filter_background_tagged_hooks_steps.rb -- examples/tickets/features/306/only_background.feature -- examples/tickets/features/lib/eatting_machine.rb -- examples/tickets/features/lib/pantry.rb -- examples/tickets/features/scenario_outline.feature -- examples/tickets/features/step_definitons/246_steps.rb -- examples/tickets/features/step_definitons/248_steps.rb -- examples/tickets/features/step_definitons/scenario_outline_steps.rb -- examples/tickets/features/step_definitons/tickets_steps.rb -- examples/tickets/features/table_diffing.feature -- examples/tickets/features/tickets.feature -- examples/watir/README.textile -- examples/watir/Rakefile -- examples/watir/features/search.feature -- examples/watir/features/step_definitons/search_steps.rb -- examples/watir/features/support/env.rb -- features/after_block_exceptions.feature -- features/after_step_block_exceptions.feature -- features/background.feature -- features/bug_371.feature -- features/cucumber_cli.feature -- features/cucumber_cli_diff_disabled.feature -- features/cucumber_cli_outlines.feature -- features/custom_formatter.feature -- features/drb_server_integration.feature -- features/exclude_files.feature -- features/expand.feature -- features/html_formatter.feature -- features/html_formatter/a.html -- features/junit_formatter.feature -- features/language_from_header.feature -- features/multiline_names.feature -- features/profiles.feature -- features/rake_task.feature -- features/report_called_undefined_steps.feature -- features/snippet.feature -- features/step_definitions/cucumber_steps.rb -- features/step_definitions/extra_steps.rb -- features/steps_formatter.feature -- features/support/env.rb -- features/table_diffing.feature -- features/unicode_table.feature -- features/usage.feature -- features/work_in_progress.feature -- gem_tasks/contributors.rake -- gem_tasks/deployment.rake -- gem_tasks/environment.rake -- gem_tasks/features.rake -- gem_tasks/fix_cr_lf.rake -- gem_tasks/flog.rake -- gem_tasks/gemspec.rake -- gem_tasks/rspec.rake -- gem_tasks/sass.rake -- gem_tasks/sdoc.rake -- lib/README.rdoc -- lib/autotest/cucumber.rb -- lib/autotest/cucumber_mixin.rb -- lib/autotest/cucumber_rails.rb -- lib/autotest/cucumber_rails_rspec.rb -- lib/autotest/cucumber_rspec.rb -- lib/autotest/discover.rb -- lib/cucumber.rb -- lib/cucumber/ast.rb -- lib/cucumber/ast/background.rb -- lib/cucumber/ast/comment.rb -- lib/cucumber/ast/examples.rb -- lib/cucumber/ast/feature.rb -- lib/cucumber/ast/feature_element.rb -- lib/cucumber/ast/features.rb -- lib/cucumber/ast/outline_table.rb -- lib/cucumber/ast/py_string.rb -- lib/cucumber/ast/scenario.rb -- lib/cucumber/ast/scenario_outline.rb -- lib/cucumber/ast/step.rb -- lib/cucumber/ast/step_collection.rb -- lib/cucumber/ast/step_invocation.rb -- lib/cucumber/ast/table.rb -- lib/cucumber/ast/tags.rb -- lib/cucumber/ast/visitor.rb -- lib/cucumber/broadcaster.rb -- lib/cucumber/cli/configuration.rb -- lib/cucumber/cli/drb_client.rb -- lib/cucumber/cli/language_help_formatter.rb -- lib/cucumber/cli/main.rb -- lib/cucumber/cli/options.rb -- lib/cucumber/cli/profile_loader.rb -- lib/cucumber/constantize.rb -- lib/cucumber/core_ext/instance_exec.rb -- lib/cucumber/core_ext/proc.rb -- lib/cucumber/core_ext/string.rb -- lib/cucumber/feature_file.rb -- lib/cucumber/filter.rb -- lib/cucumber/formatter/ansicolor.rb -- lib/cucumber/formatter/color_io.rb -- lib/cucumber/formatter/console.rb -- lib/cucumber/formatter/cucumber.css -- lib/cucumber/formatter/cucumber.sass -- lib/cucumber/formatter/duration.rb -- lib/cucumber/formatter/html.rb -- lib/cucumber/formatter/junit.rb -- lib/cucumber/formatter/ordered_xml_markup.rb -- lib/cucumber/formatter/pretty.rb -- lib/cucumber/formatter/profile.rb -- lib/cucumber/formatter/progress.rb -- lib/cucumber/formatter/rerun.rb -- lib/cucumber/formatter/steps.rb -- lib/cucumber/formatter/tag_cloud.rb -- lib/cucumber/formatter/unicode.rb -- lib/cucumber/formatter/usage.rb -- lib/cucumber/formatters/unicode.rb -- lib/cucumber/language_support.rb -- lib/cucumber/language_support/language_methods.rb -- lib/cucumber/language_support/step_definition_methods.rb -- lib/cucumber/languages.yml -- lib/cucumber/parser.rb -- lib/cucumber/parser/feature.rb -- lib/cucumber/parser/feature.tt -- lib/cucumber/parser/i18n.tt -- lib/cucumber/parser/natural_language.rb -- lib/cucumber/parser/table.rb -- lib/cucumber/parser/table.tt -- lib/cucumber/parser/treetop_ext.rb -- lib/cucumber/platform.rb -- lib/cucumber/py_support/py_dsl.py -- lib/cucumber/py_support/py_language.py -- lib/cucumber/py_support/py_language.rb -- lib/cucumber/rails/rspec.rb -- lib/cucumber/rails/world.rb -- lib/cucumber/rake/task.rb -- lib/cucumber/rb_support/rb_dsl.rb -- lib/cucumber/rb_support/rb_hook.rb -- lib/cucumber/rb_support/rb_language.rb -- lib/cucumber/rb_support/rb_step_definition.rb -- lib/cucumber/rb_support/rb_world.rb -- lib/cucumber/rspec_neuter.rb -- lib/cucumber/step_match.rb -- lib/cucumber/step_mother.rb -- lib/cucumber/version.rb -- lib/cucumber/webrat/element_locator.rb -- lib/cucumber/webrat/table_locator.rb -- rails_generators/cucumber/USAGE -- rails_generators/cucumber/cucumber_generator.rb -- rails_generators/cucumber/templates/cucumber -- rails_generators/cucumber/templates/cucumber.rake -- rails_generators/cucumber/templates/cucumber_environment.rb -- rails_generators/cucumber/templates/env.rb -- rails_generators/cucumber/templates/paths.rb -- rails_generators/cucumber/templates/spork_env.rb -- rails_generators/cucumber/templates/webrat_steps.rb -- rails_generators/feature/USAGE -- rails_generators/feature/feature_generator.rb -- rails_generators/feature/templates/feature.erb -- rails_generators/feature/templates/steps.erb -- spec/cucumber/ast/background_spec.rb -- spec/cucumber/ast/feature_element_spec.rb -- spec/cucumber/ast/feature_factory.rb -- spec/cucumber/ast/feature_spec.rb -- spec/cucumber/ast/py_string_spec.rb -- spec/cucumber/ast/scenario_outline_spec.rb -- spec/cucumber/ast/scenario_spec.rb -- spec/cucumber/ast/step_collection_spec.rb -- spec/cucumber/ast/step_spec.rb -- spec/cucumber/ast/table_spec.rb -- spec/cucumber/broadcaster_spec.rb -- spec/cucumber/cli/configuration_spec.rb -- spec/cucumber/cli/drb_client_spec.rb -- spec/cucumber/cli/main_spec.rb -- spec/cucumber/cli/options_spec.rb -- spec/cucumber/cli/profile_loader_spec.rb -- spec/cucumber/core_ext/proc_spec.rb -- spec/cucumber/core_ext/string_spec.rb -- spec/cucumber/formatter/ansicolor_spec.rb -- spec/cucumber/formatter/color_io_spec.rb -- spec/cucumber/formatter/duration_spec.rb -- spec/cucumber/formatter/html_spec.rb -- spec/cucumber/formatter/progress_spec.rb -- spec/cucumber/parser/feature_parser_spec.rb -- spec/cucumber/parser/table_parser_spec.rb -- spec/cucumber/rails/stubs/mini_rails.rb -- spec/cucumber/rails/stubs/test_help.rb -- spec/cucumber/rails/world_spec.rb -- spec/cucumber/rb_support/rb_step_definition_spec.rb -- spec/cucumber/sell_cucumbers.feature -- spec/cucumber/step_mother_spec.rb -- spec/cucumber/treetop_parser/empty_feature.feature -- spec/cucumber/treetop_parser/empty_scenario.feature -- spec/cucumber/treetop_parser/empty_scenario_outline.feature -- spec/cucumber/treetop_parser/fit_scenario.feature -- spec/cucumber/treetop_parser/given_scenario.feature -- spec/cucumber/treetop_parser/invalid_scenario_outlines.feature -- spec/cucumber/treetop_parser/multiline_steps.feature -- spec/cucumber/treetop_parser/multiple_tables.feature -- spec/cucumber/treetop_parser/scenario_outline.feature -- spec/cucumber/treetop_parser/spaces.feature -- spec/cucumber/treetop_parser/test_dos.feature -- spec/cucumber/treetop_parser/with_comments.feature -- spec/cucumber/treetop_parser/with_tags.feature -- spec/cucumber/world/pending_spec.rb -- spec/spec.opts -- spec/spec_helper.rb -has_rdoc: true -homepage: http://cukes.info -licenses: [] - -post_install_message: -rdoc_options: -- --main -- README.txt -require_paths: -- lib -required_ruby_version: !ruby/object:Gem::Requirement - requirements: - - - ">=" - - !ruby/object:Gem::Version - version: "0" - version: -required_rubygems_version: !ruby/object:Gem::Requirement - requirements: - - - ">=" - - !ruby/object:Gem::Version - version: "0" - version: -requirements: [] - -rubyforge_project: rspec -rubygems_version: 1.3.4 -signing_key: -specification_version: 3 -summary: Executable Feature scenarios -test_files: [] - diff --git a/vendor/gems/cucumber-0.3.98/History.txt b/vendor/gems/cucumber-0.3.98/History.txt deleted file mode 100644 index 4a34eeb..0000000 --- a/vendor/gems/cucumber-0.3.98/History.txt +++ /dev/null @@ -1,1033 +0,0 @@ -== 0.3.98 2009-08-25 - -Just a small release to help Cuke4Duke, which will be presented at Agile2009 -in 2 days. - -=== New Features -* Backtrace filtering now happens in StepInvocation class, meaning other languages (Cuke4Duke) can get backtraces stripped. (Aslak Hellesøy) -* Cucumber::Ast::Table#map_headers now allows for a block that will convert all the headers. See docs for details. (Ben Mabey) - -== 0.3.97 2009-08-23 - -The AA-FTT release. Creating a release for the AA-FTT meeting in Chicago so that we can play -with the new language API and maybe knock out some better .NET support. - -=== Bugfixes -* Allow comments on examples sections underneath scenario outlines (#420 Mike Sassak) -* Table.map_headers! will fail with a decent error message when 0 or 2+ headers are matched. (Aslak Hellesøy) -* Fixed an issue with comments with preceding spaces after a background causing a parse error (#401 Joseph Wilk) - -=== New Features -* The public API is documented and there is a new :sdoc task to generate nice searchable API docs. -* Add :default => :cucumber when setting up Rake tasks for Cucumber in Rails (Aslak Hellesøy) -* New When /^I fill in "([^\"]*)" for "([^\"]*)"$/ Webrat step for Rails (Aslak Hellesøy) - -=== Changed Features -* Changed the Programming Language API to support languages without "bleed through" (e.g. rubypython can't invoke ruby objs) (Aslak Hellesøy) -* The Programming Language API manages hooks on the language level instead of on the step mother level (Aslak Hellesøy) - -== 0.3.96 2009-08-15 - -This release doesn't have any significant new features or bug fixes, but there are big -internal changes. This release has a new API for plugging in other programming languages. -You can read more about that here: http://groups.google.com/group/cukes/browse_thread/thread/b9db8bf1f3ec9708 - -This might break other tools that are using Cucumber's internal APIs. For example Spork broke and had to -be patched. Please upgrade to Spork 0.5.9 if you are using Spork. - -=== New Features -* Ability to preload natural language in Spork's prefork. Rerun script/generate cucumber --spork to see how. (Aslak Hellesøy) -* Ability to control which DRb port is used via the --port flag or by setting CUCUMBER_DRB environment variable. (Chris Flipse) -* Upgrade Rails generator to use webrat 0.5.0. (Aslak Hellesøy) -* Upgrade Sinatra example to work with rack-test 0.4.1 and webrat 0.5.0. (Aslak Hellesøy) - -=== Changed Features -* --strict will cause an exit code 1 for missing and pending (used to be for missing only). (Mads Buus) -* junit formatter doesn't report pending steps unless --strict is used. (Mads Buus) - -== 0.3.95 2009-08-13 - -This release improves Webrat support for table-like HTML markup. Now you can easily turn the HTML -elements table, dl, ol and ul elements into a 2D array. This is particularly useful for comparing -data in your HTML with a Cucumber table using Cucumber::Ast::Table#diff! - -This release also fixes several bugs related to --drb (Spork) and profiles (cucumber.yml) - -=== Bug Fixes -* --guess will always prefer the longest regexp with no groups if they exist. -* Prevent delays if a NoMethodError is raise in a step definition. Define a light #inspect in World. (#374 Aslak Hellesøy) -* Restore 'features' as the default feature running path. (#412 Ben Mabey) -* --drb degrades gracefully when no drb server is running and no formatter is provided. (#410 Ben Mabey) -* --language picked up from profiles again. (#409 Ben Mabey) -* Resolved infinite loop problem when --drb was defined in a profile. (#408 Ben Mabey) - -=== New Features -* Cucumber::World#table has been overloaded to work with 2D Array in addition to a table String to be parsed. -* New When /^I fill in the following:$/ step definition for Webrat. Useful for filling out a form with a Table. (Aslak Hellesøy) -* The object returned by element_at (Webrat::Element) has a #to_table that works for table, dl, ol and ul. (Aslak Hellesøy) -* An explanation of why failures are ok is printed when --wip is used. (Aslak Hellesøy) -* Added cucumber alias for cucumber:ok in Rails Rake tasks. (Aslak Hellesøy) - -=== Changed features -* 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) -* 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) - -== 0.3.94 2009-08-06 - -Kanban take II. - -Release 0.3.6 introduced a new --wip switch that can be used to limit work in progress -(WIP). Limiting WIP is central for Kanban Software Development (http://www.infoq.com/articles/hiranabe-lean-agile-kanban). - -However, this feature went mostly unnoticed, and because we think it's so great we have decided -to make it the default for Rails projects. When you bootstrap your Rails project for Cucumber -you will now get 2 Cucumber Rake tasks for Kanban development: - - cucumber:ok : Run features that should pass. This runs your "good,old" features - cucumber:wip : Run the features you're working on that don't pass yet. Tag them with @wip. Max 2! - -So upgrade today and get into the habit of tagging new features with @wip (or invent your own tags). -You'll achieve better flow this way. - -=== New features -* Support limiting the number of feature elements with certain tags (#353 Joseph Wilk) -* script/generate cucumber sets up 'cucumber:ok' and 'cucumber:wip' tasks and deprecates 'features'. More Kanban love. (#344 Aslak Hellesøy) -* Better JUnit formatter: feature->testsuite, scenario->testcase. Better timing and support for background and scenario outline. (Mads Buus Westmark) -* Added examples/python that uses rubypython. (Aslak Hellesøy) -* Checks the number of available colors on the terminal with ruby-terminfo if ruby-terminfo is installed. - This prevents Apple's Terminal.app from stalling (Yugui - Yuki Sonoda). - * Set 'xterm-256color' to TERM if your terminal supports grey. - * ruby-terminfo is available as genki-ruby-terminfo gem from github. -* Document builtin formatters with --help. (#406 Aslak Hellesøy) -* Added support for using regular expressions when mapping table headers. (Peter Williams) - -== 0.3.93 2009-08-03 - -Highlights in this release: Improved profile handling (cucumber.yml) and a fix for cucumber hanging. - -=== New features -* script/generate cucumber --spork now sets up a spork gem dependency in the cucumber.rb environment. (Aslak Hellesøy) -* Feature files defined on the command line override any that are present in profiles. (#344 Ben Mabey) -* Default (STDOUT) formatter defined in profile can be overridden from the command line. (#344 Ben Mabey) -* Displays which profile, if any, is being used. (Ben Mabey) -* click_link_within(parent, link) webrat step (Joakim Kolsjö) - -=== Bugfixes -* script/cucumber correctly loads the gem's binary if the plugin isn't installed. -* Cucumber hangs waiting for Ctrl+C if an Error is raised. (#374 Aslak Hellesøy) - -== 0.3.92 2009-07-29 - -This release has some minor improvements to the new Table.diff! functionality. For example, -if you're using Webrat and you want to compare a feature table with a HTML table containing -links in one of the columns, you can do: - - actual = Cucumber::Ast::Table.new(table_at('table').to_a) - actual.map_column!('Name') { |text| text.strip.match(/>(.*)= 0.5.1. (#355 Ben Mabey) -* Make sure script/generate cucumber --spork uses the cucumber Rails environment (Philippe Lafoucrière) -* Fixed bug with rake task raising errors with feature files with spaces (#380 Joseph Wilk) - -=== New Features -* I should see should support regexes (#382 John Ferlito) -* Access to scenario outline name from After hook scenario parameter (#342 Aslak Hellesøy) -* Allow multiple --tags switches to be passed -* Load step definitions from vendored gems and plugins (#388 Mike Burns) -* New --format steps formatter. Variant of the usage formatter that lists available step definitions (Demetrius Nunes) -* Possibility to specify scenario language as part of the .feature file (#345 Aslak Hellesøy) -* Support specifying environment variables using foo=bar syntax on command line or in profiles (#362 Bryan Helmkamp) -* Display failing scenarios at the end of pretty format to make it easier for people to play them back (#360 Ryan Bigg) - -=== Changed Features -* When using --tags, positive tags are &&'ed while negative tags are ||'ed (John Wilger) -* The data returned from Table#hashes and similar methods are frozen. Dup if you need to modify. (Aslak Hellesøy) -* Visitor.visit_table_cell_value(value, col_width, status) is now visitor.visit_table_cell_value(value, status) - -== 0.3.11 2009-06-05 - -This release just fixes a tiny bug in the formatter to fix an incompatibility -with the latest RedMine release. It should have been included in 0.3.10, but -was forgotten. - -=== Bugfixes -* Formatter API was broken in 0.3.9 (Roman Chernyatchik) - -== 0.3.10 2009-06-05 - -The Spork Release! - -This release has an exciting new feature - a new --drb switch! This magic switch lets you run your -features much faster than before, because you can eliminate the startup time for your code. This is -thanks to a brand new gem called Spork by Tim Harper and Ben Mabey. (You can find out more about Spork -here: http://github.com/timcharper/spork/tree/master). You can start Spork and have it preload your -application in a separate process. Spork listens for DRb connections, and when you run cucumber with ---drb the features will run inside the Spork server instead. Spork provides two simple hooks for preloading -your application - one for framework/stable code (Spork.prefork) and one for the code that *you* write and -change often (Spork.each_run). Keep in mind that all World, Before, and other Cucumber hooks need to be -in the Spork.each_run block. Using Spork works great for Ruby on Rails, which can take a while to load, -but --drb and Spork aren't tied to Rails at all. The new --drb switch also works great alongside autotest -(just add --drb to your autotest profile in cucumber.yml), so now you can get even faster feedback. - -Cucumber's built-in cucumber generator now has a new --spork switch, so when you bootstrap your Rails -application for cucumber, you can have spork configuration set up out of the box. (It's just a -slightly different env.rb.) - -Although Spork was in mind when the --drb switch was added it is important to realize that all that was added -to Cucumber was a DRb client. Any DRb server that adheres to this protocol can be used with Cucumber's --drb -switch. While Spork is geared towards removing the load time to give you a faster feedback loop you could -just as easily use this client with a server that distributes your features to run in parallel. Someone just -needs to write such a server. ;) - -This release also has some minor bugfixes related to RSpec and Rails interop. - -=== Bugfixes -* RSpec's be_* matchers did not work in 0.3.9 and probably earlier versions. Now they do. (Aslak Hellesøy) -* The Rails cucumber environment won't declare gem dependencies if the plugin exists. (Aslak Hellesøy) -* The Rails cucumber generator will no longer declare gem dependencies on rspec if you use --testunit. (Aslak Hellesøy) - -=== New features -* Spork support via --drb. (Ben Mabey) -* Added a Ast::Feature#name method for convenience. (Aslak Hellesøy) - -=== Changed features -* The HTML formatter wraps examples in a div, and distinguishes between Scenario and Scenario Outline. (Aslak Hellesøy) - -== 0.3.9 2009-05-27 - -Bugfix release for 0.3.8 released earlier today. 0.3.8 had a bug in the Rails cucumber -generator which is fixed in 0.3.9. - -=== Bugfixes -* Fix broken Rails cucumber generator (Tim Glen) -* The Cucumber Rake task in non-fork mode will properly cause Rake to exit with 1 when Cucumber fails. (Aslak Hellesøy) - -== 0.3.8 2009-05-27 - -This Cucumber version fixes several bugs related to Ruby on Rails and RSpec. If you -use Cucumber with a Rails app we *strongly* recommend you bootstrap Cucumber again: - - ruby script/generate cucumber - -=== New Features -* Rails cucumber generator sets up default gem dependencies in cucumber environment. -* The duration of a run is reported by formatters - same format as the Linux time command (#228 Aslak Hellesøy) -* Scenario and ExampleRow objects (passed to Before and After hooks) have #name and #line methods (#316 Aslak Hellesøy) -* Rails generator creates a cucumber environment file to avoid potential cache_classes conflicts in test.rb (#165, Ben Mabey) -* HTML formatter renders @tags (but the CSS is still ugly) - -=== Removed/changed features -* The Cucumber Rake task will again fork by default (as 0.3.3 and earlier). Forking must be turned off explicitly. (Aslak Hellesøy) - -=== Bugfixes -* Better coexistence with RSpec - Cucumber now *neuters* the part of RSpec that tries to parse ARGV. -* The differ= exception is gone (#325, #340 Aslak Hellesøy) - -== 0.3.7 2009-05-22 - -This is the "Help JetBrains RubyMine" release! - -=== New Features -* Added new Given alias for Catalan: Donat|Donada (Lleïr Borràs Metje) -* New --expand option. This will print Scenario Outlines once for each Example row - with values expanded. (#327 Aslak Hellesøy) -* You can override the formatter in Rails-generated rake tasks with the CUCUMBER_FORMAT environment variable (#335 Aslak Hellesøy) - -=== Bugfixes -* 'specs' folder needs to be renamed back to 'spec' (#339 Aslak Hellesøy) -* CUCUMBER_OPTS doesn't work for cucumber rake tasks (#336 Aslak Hellesøy) - -== 0.3.6 2009-05-20 - -Kanban! With this release you can tag features or scenarios that are work in progress -with a tag and use the new --wip switch. - -Another handy feature in this release is that you can package your own formatters in RubyGems. - -=== New features -* New --wip switch. See http://www.jroller.com/perryn/entry/bdd_on_a_multi_disciplined (Perryn Fowler) -* Added a AfterStep hook (Luke Melia) -* New aliases for Vietnamese (Ngoc Dao) -* Automatic require of custom formatters. --require is no longer needed to load them, and they can be in Ruby gems. (Aslak Hellesøy) -* Lazy loading of built-in formatters. Should improve startup time a little bit. - -=== Bugfixes -* Gracefully handle exceptions in After block (#330 Matt Wynne) -* Feature with only Background doesn't run hooks (#314, #329 Aslak Hellesøy) - -== 0.3.5 2009-05-14 - -Let's make a new release today because two annoying bugs are fixed. - -=== Bugfixes -* Allow feature element names to contain Gherkin keywords as long as they are not the first word on a newline (#319, #307 Joseph Wilk) - -== 0.3.4 2009-05-14 - -A couple of great new features in this release. Running with Rake is faster than before, -and there is a brand new JUnit formatter - great for Continuous Integration reports! - -This release was made especially for the Oslo XP Meetup today. - -** IMPORTANT UPGRADE NOTES FOR RAILS USERS ** - -Running Cucumber features in the same Ruby interpreter as Rake doesn't seem to work, -so you have to explicitly tell the task to fork (like it was doing by default in prior -versions). In lib/tasks/cucumber.rake: - - Cucumber::Rake::Task.new(:features) do |t| - t.fork = true # Explicitly fork - t.cucumber_opts = %w{--format pretty} - end - -(If you run script/generate cucumber this will be done for you). -Alternatively you can omit forking and run features like this: - - RAILS_ENV=test rake features - -However, setting the RAILS_ENV is easy to forget, so I don't recommend relying on this. - -=== Bugfixes -* Hooks (World, Before, After) are no longer executed when --dry-run (Aslak Hellesøy) -* Proper UTF8 use in HTML formatter (Herminio Torres) -* Problem with multiple terms in languages.yml (#321 Aslak Hellesøy) - -=== New features -* New JUnit formatter (Gareth Jones) -* Support for Vietnamese (Ngoc Dao) -* Added aliases for Feature and But in Japanese (Leonard Chin) -* Support for Catalan (Francesc Esplugas) - -=== Changed features -* --exclude flag now works on ruby files in addition to feature files (#312 Ben Mabey) -* The Java example under examples/java uses Ant instead of Rake - and the new JUnit formatter. -* Rake task should not shell out (#297 Aslak Hellesøy) - The Cucumber Rake task will run Cucumber in the same Ruby interpreter as Rake itself - unless explicitly told to fork a new interpreter. This is to increase speed. You can - force a new interpreter by setting fork=true or rcov=true in the task. - -== 0.3.3 2009-05-10 - -Minor bugfix release, made specially for EuRuKo! - -=== Bugfixes -* Summaries are no longer printed in an empty () if there are no scenarios/steps (Aslak Hellesøy) -* Background, Scenario Outline, Before Hook interaction (#309 Aslak Hellesøy) -* Multiline String snippets no longer give misleading info. It's a String, not a PyString that's sent to step def. - -=== Removed/changed features -* New aliases: --no-source/-s, --name/-n (#317 Lonnon Foster) - -== 0.3.2 2009-05-05 - -This release has some minor bug fixes and new features. -Nothing major, but we need a release for RailsConf'09 in Las Vegas! - -=== Bugfixes -* rake tasks with profiles not respecting --require flags (#311 Ben Mabey) -* Step table with blank cell fails (#308 JohnnyT) -* Fixed error where unused table cells in Examples where raising exceptions due to having no status (#302 Joseph Wilk) - -=== New features -* Support for Hebrew (Ido Kanner) -* Summary should report scenarios (#32 Aslak Hellesøy) -* Examples and the associated tables are indented one level deeper than Scenario Outline. (Aslak Hellesøy) -* Added support for Examples selection when using --name. (#295 Joseph Wilk) - -== 0.3.1 2009-04-26 - -This release has several minor bug fixes and new features. With the addition of Latvian and Hungarian Cucumber -now supports 32(!!) languages. - -=== New features -* Support multiline names for Scenarios, Scenario Outlines, Backgrounds, Examples (#231 Joseph Wilk) -* Added #headers to Cucumber::Ast::Table (Ben Mabey) -* New translation for Latvian (Vitauts Stočka) -* New translation for Hungarian (#287 Bence Golda) -* Pick up failure on after hook (#272 Aslak Hellesøy) - -=== Bugfixes -* Pretty formatter not colouring Examples tables correctly (#304 Aslak Hellesøy) -* Problem using --scenario and Scenario Outline (#298 Aslak Hellesøy) -* Tag Hook gets executed always there is a background (#301 Aslak Hellesøy) -* Feature which only has a Background with steps causes an exception (#306 Aslak Hellesøy) -* Gem no longer depends on Hoe (Aslak Hellesøy) -* Span html tags appear on HTML results with 0.3.0 (#299 Aslak Hellesøy) -* Fixed incorrect colours in pretty formatter's table headers for outline tables (Aslak Hellesøy) -* Exceptions from steps called within hooks are now reraised. (#294 Ben Mabey) - -=== Removed/changed features -* --scenario handle has been removed and replaced with --name which supports partial matches, regexp special characters, running named backgrounds (#295 Joseph Wilk) - -== 0.3.0 2009-04-14 - -This release has some minor changes to the APIs, but big enough that a new major release is in order. -The biggest change is the new semantics of the #World method. Previously you would call this method -several times, passing a Proc and extending the world object of the previous one with a Ruby module. -The problem was that there was no nice way to ensure the order in which these procs were called, which -led to some unexpected situations. In this release you can only register a single World proc. If you -want to extend a world with certain modules, you simply call the #World method with the module(s) -you wish to extend the World with. The Sinatra example illustrates how to do this. Also check out -the RDoc for Cucumber::StepMother#World. - -The Visitor API (which is used for formatters) has also changed slightly. However, we have tried to -do this in a backwards compatible way, so if you have custom formatters for Cucumber 0.2 they should -still work. - -One of the most significant new features is Tagged Hooks: http://wiki.github.com/aslakhellesoy/cucumber/hooks -This lets you associate Before and After blocks with specific scenarios. - -We are also deprecating the step_list, step_pattern, feature_list, and feature_pattern accessors on -Cucumber::Rake::Task. These accessors will be completely removed in version 0.4. For complex settings -please rely on cucumber profiles in your rake tasks: -http://wiki.github.com/aslakhellesoy/cucumber/using-rake#profiles - -=== New features -* Use Hooks with @tags (#229 Aslak Hellesøy) -* Rake task supports cucumber.yml profiles (#187 Ben Mabey) -* Field value steps for Webrat (Jack Chen) -* Added translation for Bulgarian (Krasimir Angelov) -* Updated translation for Polish (#273 Grzegorz Marszałek) -* Only a single World proc can be registered. World extension now happens by calling #World with ruby modules. -* Portuguese uses Funcionalidade in stead of Característica and accented words are aliased with unaccented ones (Alexandre da Silva and Felipe Coury). -* The usage formatter also prints unused step definitions (Aslak Hellesøy) -* Better exception if a World proc returns nil. (Aslak Hellesøy) -* Allow Step Definitions to use |*varargs|, but only on Ruby 1.9. (Aslak Hellesøy) -* Snippets for steps that use Step Tables or PyStrings include block param and object type hint comment (#247 Joseph Wilk) -* Support description string for Backgrounds (#271 Joseph Wilk) - -=== Bugfixes -* After methods not being executed when Background fails (#288 Luismi Cavallé) -* Fixed dependency on internal files in rspec breaks cucumber w/ rspec-1.2.4 (#291 Aslak Hellesøy) -* Fix color use when using autotest on Linux. (Hans de Graaff) -* Fixed incorrect calculation of pystring indentation (#279 Eugene Naydanov) -* Fixed --format html leads to an error (#252 Aslak Hellesøy) -* Fixed Background runs twice (#255 Aslak Hellesøy) -* Fixed Background Transactions and :xx (#270 Aslak Hellesøy) -* Fixed Autospec failing with cucumber 0.2 (#254 Aslak Hellesøy) -* Sibling file detecting not working (#278 Aslak Hellesøy) - -=== Removed/changed features -* The visitor API has changed slightly: -** #visit_step_name, #visit_multiline_arg and #visit_exception are no longer official API methods. -** #visit_step_result replaces those 3 methods. -** Table and PyString no longer hold status information. Each visitor subclass should store state in @state if needed. -** #visit_py_string no longer takes a status argument. - -== 0.2.3 2009-03-30 - -This release sports 4 updated languages, slightly better help with snippets if you "quote" arguments -in your steps. Windows/JRuby users can enjoy colours and you get some more sugar with Tables. - -=== New features -* Added new Then /^I should be on (.+)$/ do |page_name| step (Grant Hollingworth) -* Use skipped_param color for examples table header (#266 Eugene Naydanov) -* Added new Cucumber::Ast::Table#rows_hash method (Torbjørn Vatn) -* Windows/JRuby users can now enjoy colourful output (via http://github.com/aslakhellesoy/ansicolor) (#166 Aslak Hellesøy) -* Ambiguous step errors hint about --guess (unless --guess already on) (Aslak Hellesøy) -* Added translation for Slovak (Ahmed Al Hafoudh) -* Updated translation for Dutch (Bart Zonneveld) -* Updated translation for Italian (Alessandro Baroni) -* Updated translation for Japanese (KAKUTANI Shintaro) - -=== Bugfixes -* Fixed step name after step keyword without space (#265 Aslak Hellesøy) -* Backtrace is back in HTML reports (Aslak Hellesøy) - -== 0.2.2 2009-03-25 - -This release includes some minor changes to make Cucumber work with pure Java. Cucumber -has already worked with Java for a while (using JRuby and step definitions in Ruby), -but now you can write step definitions in pure Java! - -Check out the Cucumber Java project for more details: -http://github.com/aslakhellesoy/cucumber_java/tree/master - -== 0.2.1 2009-03-25 - -This release fixes a few minor bugs and adds a couple of new features. - -== Bugfixes -* Fixed Cucumber, and rails controller error handling (#49 Matt Patterson) -* HTML Formatter doesn't work correctly with scenario Outlines. (#260 Aslak Hellesøy) -* After blocks are run in reverse order of registration. (#113 Aslak Hellesøy) -* Snippets are showing 'Ands' (#249 Aslak Hellesøy) - -=== New features -* Snippets use a regexp and block arguments if the step name has "quoted" arguments. (Aslak Hellesøy) -* Cucumber::Ast::Feature#to_sexp includes the file name. (Aslak Hellesøy) -* support/env.rb is not loaded when --dry-run is specified. This is to increase performance. (Aslak Hellesøy) -* New usage formatter. This is the foundation for editor autocompletion and navigation between steps and step definitions. (#209 Aslak Hellesøy) - -=== Removed features -* -S/--step-definitions option introduced in 0.2.0 is removed. Use --format usage [--dry-run] [--no-color]. - -== 0.2.0 2009-03-18 - -This release sports a bunch of new and exciting features, as well a major rewrite of Cucumber's internals. -The rewrite was done to address technical debt and to have a code base that is easier to evolve and maintain. - -There are some changes to the Gherkin language that breaks backwards compatible with the 0.1.x series. -Most importantly, "GivenScenario" and "More Examples" no longer exist. See the "Removed features" section -below for more details on how to use alternatives. - -Since the grammar has changed, there are some new keywords. We have to rely on the community -to provide updated translations. This is much easier than before - just update languages.yml. -There is no static code generation anymore. To list all languages: - - cucumber --lang help - -And to list the keywords for a particular language: - - cucumber --lang en-lol help - -There are some really awesome new features in this release: Tagging, Autoformatting, automatic -aliasing of keywords in all languages, full Ruby 1.9 support and improved output -for multiline arguments are some of the highlights. - -== Bugfixes -* New StepInvocation breaks console formatter for pending steps. (#241 Jacob Radford) -* Within Scenario Outlines when replacing with a nil in a step name use empty string instead. (#237 Joseph Wilk) -* Fixed bug with Scenario Outlines incorrectly replacing values in step tables with nil. (#237 Joseph Wilk) -* Within Scenario Outlines when replacing with a nil in multiline strings use empty string instead. (#238 Joseph Wilk) -* Re-structure the ast: Feature -> Background -> (Scenario|ScenarioOutline)*. Fixes bug with background being called outside transactions. (#181 Joseph Wilk) -* --strict always exits with status 1 (#230 Tim Cuthbertson) -* Fix error with nil values in tables raising an exception (#227 Joseph Wilk) -* Add support for using << in formatters to ensure the html formatter works (#210 Joseph Wilk) -* Explicitly require env.rb files first to avoid potential load order problems. (#213, Ben Mabey, Randy Harmon) -* Depend on polyglot version (0.2.4) to avoid masking require errors. (Aslak Hellesøy). -* -n option does not suppress the line info for a Scenario Outline (#175 Aslak Hellesøy) -* Errors with rspec-rails matchers in cucumber 0.1.99 (#173 David Chelimsky) -* Can't use an empty string as a table value in a scenario outline (#172 Aslak Hellesøy) -* Really skip skipped steps (#90 Aslak Hellesøy) -* No output for multi-line strings (#71 Aslak Hellesøy) -* Fix cucumber/formatter/unicode flaws on Windows (#145 Michael) -* Autotest-related Bugs: YAML missing (#136 Tobias Pape) -* Overeager "rescue LoadError" hides lots of errors (#137 Jonathan del Strother) -* Nested steps don't show mismatch (#116 Aslak Hellesøy) -* Pending steps in > steps called from steps (#65 Aslak Hellesøy) - -=== New features -* Australian translation (Josh Graham) -* Added World#announce(announcment) which lets you output text to the formatted output (#222 Rob Kaufmann) -* Added Table#transpose to to allow use of vertically aligned table keys (Torbjørn Vatn, Aslak Hellesøy) -* Added Table#map_headers to to allow use of more readable headers (Rob Holland) -* New -S/--step-definitions option. Useful (among other things) for tools that implement automcompletion. (#208 Aslak Hellesøy). -* The cucumber.rake file defines a dummy :features task if Cucumber is not installed (#225 Josh Nichols) -* Added Table#map_column! to ease casting of cell values into relevant types (#223 Rob Holland) -* New --no-diff option (#218 Bryan Ash) -* Rails generators supports testunit and rspec option, defaulting to rspec (#217 Josh Nichols) -* Sinatra Example (#204 Rob Holland) -* Keywords can be aliased in languages.yml. See English for an example (examples: Examples|Scenarios) -* Adding support for Background (#153 Joseph Wilk) -* Added Česky/Czech (Vojtech Salbaba) -* New --no-multiline option to reduce noise in output. Useful if lots of features are failing. (Aslak Hellesøy) -* Added ability to pass URIs to cucumber in addition to files and directories. Useful for troubleshooting! (Aslak Hellesøy) -* Groups of tabular scenarios (#57 Aslak Hellesøy) -* Tagging scenarios and features. Pick the ones to run with --tags (#54 Aslak Hellesøy) -* Make the current scenario available to the steps. (#44 Aslak Hellesøy) -* Step definition snippets contain a 'pending' call (#84 Aslak Hellesøy) -* Call multiline steps from other steps (#144 Aslak Hellesøy) -* Run cucumber with --autoformat DIR to reformat (pretty print) all of your feature files. (Aslak Hellesøy) -* New --strict option exits with an error code if there are undefined steps. (#52 Aslak Hellesøy) -* Given, When, Then methods (used in step definitions) are automatically aliased to current language. Use $KCODE='u' in env.rb if needed. -* Run cucumber --language help to see all supported languages. (Aslak Hellesøy) -* Run cucumber --language LANG help to see keywords for a given language. (Aslak Hellesøy) -* Multiline arguments (tables and """ strings) are printed in the output. (Aslak Hellesøy) -* It's no longer necessary to compile the Treetop grammar when adding a new language. Localised parser is generated at runtime. (Aslak Hellesøy) -* New --guess option tries to guess the best step definition match instead of raising Cucumber::Multiple. (Jake Howerton) - -=== Removed features -* "GivenScenario" is gone. Instead you can call Steps from Step Definitions, or use the new Background feature (#153) -* "More Examples" is gone. "Scenario" + "More Examples" is no longer supported. Use "Scenario Outline" + "Examples" instead. -* Pure Ruby features are no longer supported. -* Remove --color option in autotest. Can be added manually in cucumber.yml (#215 Jean-Michel Garnier) - -== (0.1.16.4 aslakhellesoy-cucumber gem on GitHub) - -Bugfix release. - -IMPORTANT NOTE FOR RAILS USERS. -The template used to generate your features/support/env.rb has changed. You have to apply a minor change -manually for existing Rails projects when you upgrade to this version. Change this: - - require 'webrat/rspec-rails' - -to this: - - require 'webrat/core/matchers' - -=== New features -* Finnish translation (Tero Tilus) -* Use Webrat's #contain matcher in generated "I should (not) see" step definitions (Bryan Helmkamp) - -== Bugfixes -* Escaped quotes - \" - inside multiline strings will be unescaped. -* Flush output in HTML formatter since JRuby doesnt do it automatically (Diego Carrion) -* Better handling of ARGV (#169 David Chelimsky, Ben Mabey) -* Compatibility with ruby-debug (do ARGV.dup in bin/cucumber so it can restart ruby with same args) (Aslak Hellesøy) - -== 0.1.16 2009-01-19 - -This is a small bugfix release. The most notable improvement is compatibility with Webrat 0.4. Rails/Webrat users should -upgrade both Cucumber and Webrat gems. - -=== New features -* Allow argument placeholders in step tables and multiline comments (#121 Joseph Wilk) -* Scenario Outline can be followed by several named Examples sections (#123 Aslak Hellesøy) -* 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) -* Added a /^When I go to (.+)$/ step definition to webrat_steps.rb and a simple page name to path mapping method (Bryan Helmkamp) - -=== Bugfixes -* 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é) - -=== Removed features - -== 0.1.15 2009-01-08 - -Bugfix release - -=== New features -* 한국어! (Korean!) (John Hwang) - -=== Bugfixes -* --dry-run skips running before/after/steps (#147 Ian Dees) -* Fix a minor bug in the console formatter's summary (David Chelimsky) -* Better quoting of Scenario names in Autotest (Peter Jaros) -* Added some small workarounds for unicode handling on Windows (Aslak Hellesøy) - -== 0.1.14 2009-01-04 - -This is the first release of Cucumber that runs on Ruby 1.9. There are still some encoding-related issues -with Arabic (ar), Japanese (ja) and Simplified Chinese (zh-CN). Patches are welcome. Other than that - -a couple of minor bug fixes and polishing. - -=== New features -* Pretty formatter shows number of scenarios (#139 Joseph Wilk) -* Rudimentary support for Ruby 1.9. Now it's ok to file Ruby 1.9-related bugs. - -=== Bugfixes -* Fixed "No such file or directory -- cucumber (LoadError)" bug with AutoTest (Aslak Hellesøy) -* Fixed `load_missing_constant': uninitialized constant Dispatcher error with Rails (Aslak Hellesøy) - -=== Removed features -* The #binary= method is gone from the Rake task. It will always point to the binary in the current gem. (Aslak Hellesøy) - -== 0.1.13 2008-12-20 - -It's time for some new features again. Output is now much better since you can use diffing, tweak -the output colours and get the full --backtrace if you want. Managing your support/* files became -a little easier since they are now always loaded before the step definitions. Life became easier -for Windows users in Norway (and other countries using unicode in the features). Plus several other -bug fixes. - -Enjoy! - -=== New features -* Console output is no longer bold, but regular. Step arguments are bold instead of blold+underlined. (Aslak Hellesøy) -* Console output can be configured with CUCUMBER_COLORS in your shell. (Aslak Hellesøy) -* Added new --backtrace option to show full backtrace (Aslak Hellesøy) -* Enable RSpec's diffing automatically if RSpec is loaded (Aslak Hellesøy) -* Files in support directories are loaded before any other file (i.e. step definitions.) (#120, Ben Mabey) -* The Rails features generator got some love and is now tested: http://github.com/aslakhellesoy/cucumber_rails (Aslak Hellesøy) -* --language is aliased to -l instead of -a (-l became available when --line was refactored) (Aslak Hellesøy) -* Scenario Outlines which through placeholders in the steps allow control of how scenario table values are used. (#57 Joseph Wilk) -* Scenario Outlines are now usable in pure ruby (Joseph Wilk) -* Add support for calling 'pending' from step definitions. (#112 Joseph Wilk) - -=== Bugfixes -* Make rails before filters work correctly (#122, #129 Guillermo Álvarez Fernández) -* Proper Unicode support for Windows command shells: Just require cucumber/formatter/unicode in env.rb (Aslak Hellesøy) -* Fixed disappearing "a" on Windows (#81 Aslak Hellesøy) -* Fixed a bug where row step outlines were loosing step tables. (#121 Joseph Wilk, Ben Mabey) -* The Cucumber Autotest plugin now launches JRuby if autotest is run with JRuby (Aslak Hellesøy) -* Provide helpful and non-confusing error message when specified profile is blank. (#118, Ben Mabey) -* Improve handling and error messages for malformed cucumber.yml files. (#117, Ben Mabey) -* document :x run option in command line help (#114, Aslak Hellesøy) -* Change 'visits' to 'visit' in features generator to comply with new Webrat API (Darius Roberts) - -=== Removed features - -== 0.1.12 2008-12-04 - -This is the "getting serious with IronRuby release" - largely based on -"Patrick Gannon":http://www.patrickgannon.net/archive/2008/10/23/bdd-style-feature-tests-using-ironruby-and-rspeccucumber.aspx's -blog entry. - -== New features -* Cucumber works with IronRuby/.NET - http://github.com/aslakhellesoy/cucumber/wikis/ironruby-and-net (Aslak Hellesøy) - -== Bugfixes -* Fixed bug which was preventing coloring under Autotest (#111, Alan Larkin) - -== Removed features -None - -== 0.1.11 2008-12-02 - -Bugfix release with a couple of minor additional features to the command line options. - -=== New features -* Capture output from cucumber in Autotest (Alan Larkin) -* Update cucumber generator to work with latest Webrat (Bryan Helkamp) -* CUCUMBR LIKEZ 2 SPEEK WIF KATS. KTHXBAI (Aimee Daniells) -* Support for dynamically pluggable formatters (#99 Joseph Wilk) -* --verbose mode to see ruby files and feature files loaded by Cucumber (#106 Joseph Wilk) - -=== Bugfixes -* The jcode library is not loaded on JRuby/Rails. Workaround for http://tinyurl.com/55uu3u. (Aslak Hellesøy) -* Support including modules for class passed to --format (#109 Joseph Wilk) - -=== Removed features -* The cucumber gem no longer depends on the rspec gem. It must be downloaded manually if RSpec is used. (Jeff Rafter) - -== 0.1.10 2008-11-25 - -This release mostly has smaller bugfixes. The most significant new feature is how -line numbers are specified. You can now run multiple features at specific lines numbers like this: - - cucumber foo.feature:15 bar.feature:6:45:111 - -This will run foo.feature at line 15 and bar.feature at line 6, 45 and 111. - -=== New features -* Added example showing how to use Cucumber with Test::Unit + Matchy instead of RSpec (Aslak Hellesøy) -* Yield existing world object to World block (#87 Aslak Hellesøy) -* AUTOFEATURE=tRue works (case insensitive) (Aslak Hellesøy) -* Initial support for .NET via IronRuby. (Aslak Hellesøy) -* Lithuanian translation (sauliusgrigaitis) -* New webrat step defintions to wrap the new selects_time, selects_date, and selects_datetime methods. (Ben Mabey) -* Try to load webrat gem if it's not installed as a plugin (Aslak Hellesøy) -* Support example.feature:20 or example.feature:10:20:30 syntax for running features at specific line number(s). (#88 Joseph Wilk) - -=== Bugfixes -* Windows - all the 'a' characters in the output have gone on strike (#81 Luis Lavena, Joseph Wilk, Aslak Hellesøy) -* Raise a nice error when encountering step definition without block (#95 Aslak Hellesøy) -* Features written using Ruby where breaking due to missing a line number (#91 Joseph Wilk) -* Directly creating a Table meant the scenario table header was never set which was causing a formatter error (#91 Joseph Wilk) - -=== Removed features -* $KCODE='u' is no longer done automatically. Developers should do that explicitly when needed in step definitions or env.rb. -* Step definition without a block being treated as pending (#64 Joseph Wilk) -* The --line option has been removed. Use the new file.feature:line format instead. - -== 0.1.9 2008-11-12 - -With this release Cucumber supports 19 (!) natural languages: - -* Arabic -* Chinese Simplified -* Danish -* Dutch -* Estonian -* French -* German -* Italian -* Japanese -* Malay -* Norwegian -* Polish -* Portuguese -* Romanian -* Russian -* Spanish -* Swedish -* Texan -* Welsh - -Thanks a lot to everyone who has contributed translations. If you don't see your language here, please -add it: http://github.com/aslakhellesoy/cucumber/wikis/spoken-languages - -Main functional changes in this release is "Autotest":http://github.com/aslakhellesoy/cucumber/wikis/autotest-integration -support and how multiline strings work in feature files: - - # In your .feature file - Then I should see - """ - A string - that "indents" - and spans - several lines - - """ - - # In your steps.rb file - Then 'I should see' do |text| - text.should == "A string\n that \"indents\"\nand spans\nseveral lines\n" - end - -The triple quotes are used to define the start and end of a string, and it also defines what gets stripped away -in the inside string. If the triple quotes are indented 4 spaces, then the text within will have the 4 first -spaces removed too. - -=== New features -* Added --[no-]color option to force color on or off (Peter Jaros) -* Step definition without a block will be treated as pending (#64 Joseph Wilk) -* Added support for Welsh (improvements welcome) (Joseph Wilk) -* Added --quiet option to hide all development aid output when using Pretty formatter (#69 Joseph Wilk) -* Added --no-snippets option to hide snippets for pending steps when using Pretty formatter (#69 Joseph Wilk) -* Added error messages concerning cucumber.yml. (#70 Ben Mabey) -* Added Autotest support - work in progress... (Peter Jaros) -* Added new --exclude option (Bryan Helkamp) -* Added new --scenario option (Peter Jaros) -* Renamed common_webrat.rb to webrat_steps.rb (Ben Mabey, Aslak Hellesøy) -* Added new feature[:feature_path] task (Roman Gonzalez) -* Added support for Polish (Joseph Wilk) -* Support specifying multiple formatters and multiple outputs (#47 Joseph Wilk) -* Added support for Japanese. (Kakutani Shintaro) -* Added support for Texan (improvements welcome). (Aslak Hellesøy) - -=== Bugfixes -* Pending step snippets should escape special Regexp characters (#82 Joseph Wilk) -* Scenario without a body shouldn't show up as complete (#63 Josh Knowles) -* Fixed bug where utf-8 strings where breaking comment alighments. (#79 Joseph Wilk) -* Fixed next_column_index not resetting after large tables (#60, Barry Mitchelson) -* The HTML formatter was rendering everything twice. Cannot invoke visit_feature on formatters in executor (#72 Joseph Wilk) -* Row Scenarios need to support pending? in order for the Profile formatter to work (Joseph Wilk) -* Snippets are not shown for steps which already have a step definition (#65 Joseph Wilk) -* Prevent feature/scenario/pending step comments from containing '//' when running features by specifying a directory with a trailing '/' (Joseph Wilk) -* Scenario tables need spacing after them (#59 Joseph Wilk) -* Support running scenario table rows when using --line argument (#55 Joseph Wilk) -* Don't load cucumber.yml unless it exists (Aslak Hellesøy) -* 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) - -=== Removed features - - -== 0.1.8 2008-10-18 - -This release extends the support for tables. PLEASE NOTE THAT TABLES ARE STILL EXPERIMENTAL. -In previous releases it has been possible to use tables to define "more examples" of a scenario in -a FIT-style column fixture kind of way. Now you can also use tables as arguments to steps. - -Tables used to define more examples after a scenario must now be prefixed. In English it looks like this: - - Feature: Addition - In order to avoid silly mistakes - As a math idiot - I want to be told the sum of two numbers - - Scenario: Add two numbers - Given I have entered 50 into the calculator - And I have entered 70 into the calculator - When I press add - Then the result should be 120 on the screen - - More Examples: - | input_1 | input_2 | button | output | - | 20 | 30 | add | 50 | - | 2 | 5 | add | 7 | - | 0 | 40 | add | 40 | - -Languages that are not updated yet will have to use "More Examples" until we get the translations. - -Tables can also be used as arguments to individual steps. In fact, steps now support a single argument -that can span several lines. This can be a table or a string. - -Example: - - Given the following people exist: - | name | email | phone | - | Aslak | aslak@email.com | 123 | - | Joe | joe@email.com | 234 | - | Bryan | bryan@email.org | 456 | - When I search for email.com - Then I should see: - | name | email | phone | - | Aslak | aslak@email.com | 123 | - | Joe | joe@email.com | 234 | - And I should see: - "Some text - on several lines" - -The step definitions for such multiline steps must define an extra block argument for the argument: - - Given /the following people exist:/ do |people_table| - # people_table is of type Cucumber::Model::Table - # See RDoc for more info - end - - Then /I should see:/ do |string| - # string is a plain old ruby String with leading spaces on each line removed - end - -=== New features -* Added profile formatter. (#35, Joseph Wilk) -* Added support for Chinese Simplified. (Liming Lian) -* Added support for Dutch. (Sjoerd Tieleman) -* Multiline steps are now supported. (#4, Aslak Hellesøy) -* Tables used to define more examples for a scenario must be prefixed "More Examples" (see languages.yml for other languages) -* Show the file and line number for scenarios as a comment when displaying with the pretty formatter. (#40, Joseph Wilk) -* Show the file for the feature as a comment when displaying with the pretty formatter. (#40, Joseph Wilk) -* Show the feature file and line for pending steps as a comment when displaying with the pretty formatter. (#40, Joseph Wilk) - -=== Bugfixes -* Fixed speling errors in Spanish (Daniel Cadenas) -* ActionMailer delivery_method should not be set to test (#41, Luke Melia) -* Reverse incorrectly ordered args in webrat select step (#43, David Chelimsky) -* Support comments above the first scenario (#31, Aslak Hellesøy) -* Fixed the HTML Formatter to use actual values for FIT table headers (#30, Joseph Wilk) - -=== Removed features -* Removed the /^I go to (.*)$/ step from common_webrat.rb - it's not language agnostic and provides little value. - -=== New features -* Added new --out option to make it easier to specify output from Rake and cucumber.yml - -== 0.1.7 2008-10-05 - -This release fixes a few bugs and adds some new features. The most notable features are: - -=== Calling steps from steps - -Step definitions are a little bit closer to having regular method semantics. -You define them, but now you can also call them from other steps. Here is an -example: - - Given /I am logged in as an (.*) named (.*)$/ do |role, name| - Given "I am registered as #{role}, #{name}, secret" - When "I log in with #{name}, secret" - end - - Given /I am registered as (.*), (.*), (.*)/ do |role, name, password| - # (Code removed for brevity) - end - - When /I log in with (.*), (.*)/ do |name, password| - # (Code removed for brevity) - end - -This means that steps can be reused in other steps. The GivenScenario feature achieves a similar -effect (on the scenario level), but this feature is something we're not very happy with, mostly -because it's not parameterisable. Calling steps from steps is. - -GivenScenario will still be working several releases, but the plan is to remove it completely in -the 0.3.0 release. - -=== Seeing where a step is defined - -Prior to this release it could be hard to find out where the ruby step definition matching -a plain text step is defined. Not anymore! Cucumber will now output this: - - Scenario: Regular numbers - Given I have entered 3 into the calculator # features/steps/calculator_steps.rb:12 - And I have entered 2 into the calculator # features/steps/calculator_steps.rb:12 - When I press divide # features/steps/calculator_steps.rb:16 - Then the result should be 1.5 on the screen # features/steps/calculator_steps.rb:20 - And the result class should be Float # features/steps/calculator_steps.rb:24 - -=== Bugfixes -* Fixed a bug in the command line args being lost when using --profile (#27, Joseph Wilk) -* Fixed a bug in Webrat selects (Tim Glen) -* Fixed parsing of DOS line endings (#2, #28, Aslak Hellesøy) - -=== New features -* Steps can be called from other steps (#3, Bryan Helmkamp, Aslak Hellesøy) -* Added But keyword to all languages (#21, Aslak Hellesøy) -* Added --no-source option to display step definition location next to step text (#26, Joseph Wilk, Aslak Hellesøy) -* Added more Webrat steps (#25, Tim Glen) - -== 0.1.6 2008-10-01 - -First gem release! diff --git a/vendor/gems/cucumber-0.3.98/License.txt b/vendor/gems/cucumber-0.3.98/License.txt deleted file mode 100644 index 621d6e6..0000000 --- a/vendor/gems/cucumber-0.3.98/License.txt +++ /dev/null @@ -1,22 +0,0 @@ -The MIT License - -Copyright (c) 2008,2009 Aslak Hellesøy - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/vendor/gems/cucumber-0.3.98/Manifest.txt b/vendor/gems/cucumber-0.3.98/Manifest.txt deleted file mode 100644 index 088b2d4..0000000 --- a/vendor/gems/cucumber-0.3.98/Manifest.txt +++ /dev/null @@ -1,439 +0,0 @@ -History.txt -License.txt -Manifest.txt -README.txt -Rakefile -bin/cucumber -config/hoe.rb -config/requirements.rb -cucumber.yml -examples/cs/README.textile -examples/cs/Rakefile -examples/cs/compile.bat -examples/cs/features/addition.feature -examples/cs/features/step_definitons/calculator_steps.rb -examples/cs/src/demo/Calculator.cs -examples/dos_line_endings/Rakefile -examples/dos_line_endings/features/dos_line_endings.feature -examples/i18n/README.textile -examples/i18n/Rakefile -examples/i18n/ar/Rakefile -examples/i18n/ar/features/addition.feature -examples/i18n/ar/features/step_definitons/calculator_steps.rb -examples/i18n/ar/lib/calculator.rb -examples/i18n/bg/Rakefile -examples/i18n/bg/features/addition.feature -examples/i18n/bg/features/consecutive_calculations.feature -examples/i18n/bg/features/division.feature -examples/i18n/bg/features/step_definitons/calculator_steps.rb -examples/i18n/bg/features/support/env.rb -examples/i18n/bg/features/support/world.rb -examples/i18n/bg/lib/calculator.rb -examples/i18n/cat/Rakefile -examples/i18n/cat/features/step_definitons/calculator_steps.rb -examples/i18n/cat/features/suma.feature -examples/i18n/cat/lib/calculadora.rb -examples/i18n/da/Rakefile -examples/i18n/da/features/step_definitons/kalkulator_steps.rb -examples/i18n/da/features/summering.feature -examples/i18n/da/lib/kalkulator.rb -examples/i18n/de/Rakefile -examples/i18n/de/features/addition.feature -examples/i18n/de/features/division.feature -examples/i18n/de/features/step_definitons/calculator_steps.rb -examples/i18n/de/lib/calculator.rb -examples/i18n/en-lol/Rakefile -examples/i18n/en-lol/features/step_definitions/cucumbrz_steps.rb -examples/i18n/en-lol/features/stuffing.feature -examples/i18n/en-lol/features/support/env.rb -examples/i18n/en-lol/lib/basket.rb -examples/i18n/en-lol/lib/belly.rb -examples/i18n/en/Rakefile -examples/i18n/en/features/addition.feature -examples/i18n/en/features/division.feature -examples/i18n/en/features/step_definitons/calculator_steps.rb -examples/i18n/en/lib/calculator.rb -examples/i18n/es/Rakefile -examples/i18n/es/features/adicion.feature -examples/i18n/es/features/step_definitons/calculador_steps.rb -examples/i18n/es/lib/calculador.rb -examples/i18n/et/Rakefile -examples/i18n/et/features/jagamine.feature -examples/i18n/et/features/liitmine.feature -examples/i18n/et/features/step_definitions/kalkulaator_steps.rb -examples/i18n/et/lib/kalkulaator.rb -examples/i18n/fi/Rakefile -examples/i18n/fi/features/jakolasku.feature -examples/i18n/fi/features/step_definitons/laskin_steps.rb -examples/i18n/fi/features/yhteenlasku.feature -examples/i18n/fi/lib/laskin.rb -examples/i18n/fr/Rakefile -examples/i18n/fr/features/addition.feature -examples/i18n/fr/features/step_definitions/calculatrice_steps.rb -examples/i18n/fr/lib/calculatrice.rb -examples/i18n/he/Rakefile -examples/i18n/he/features/addition.feature -examples/i18n/he/features/division.feature -examples/i18n/he/features/step_definitons/calculator_steps.rb -examples/i18n/he/lib/calculator.rb -examples/i18n/hu/Rakefile -examples/i18n/hu/features/addition.feature -examples/i18n/hu/features/division.feature -examples/i18n/hu/features/step_definitons/calculator_steps.rb -examples/i18n/hu/lib/calculator.rb -examples/i18n/id/Rakefile -examples/i18n/id/features/addition.feature -examples/i18n/id/features/division.feature -examples/i18n/id/features/step_definitons/calculator_steps.rb -examples/i18n/id/lib/calculator.rb -examples/i18n/it/Rakefile -examples/i18n/it/features/somma.feature -examples/i18n/it/features/step_definitons/calcolatrice_steps.rb -examples/i18n/it/lib/calcolatrice.rb -examples/i18n/ja/Rakefile -examples/i18n/ja/features/addition.feature -examples/i18n/ja/features/division.feature -examples/i18n/ja/features/step_definitons/calculator_steps.rb -examples/i18n/ja/lib/calculator.rb -examples/i18n/ko/Rakefile -examples/i18n/ko/features/addition.feature -examples/i18n/ko/features/division.feature -examples/i18n/ko/features/step_definitons/calculator_steps.rb -examples/i18n/ko/lib/calculator.rb -examples/i18n/lt/Rakefile -examples/i18n/lt/features/addition.feature -examples/i18n/lt/features/division.feature -examples/i18n/lt/features/step_definitons/calculator_steps.rb -examples/i18n/lt/lib/calculator.rb -examples/i18n/lv/Rakefile -examples/i18n/lv/features/addition.feature -examples/i18n/lv/features/division.feature -examples/i18n/lv/features/step_definitons/calculator_steps.rb -examples/i18n/lv/lib/calculator.rb -examples/i18n/no/Rakefile -examples/i18n/no/features/step_definitons/kalkulator_steps.rb -examples/i18n/no/features/summering.feature -examples/i18n/no/features/support/env.rb -examples/i18n/no/lib/kalkulator.rb -examples/i18n/pl/Rakefile -examples/i18n/pl/features/addition.feature -examples/i18n/pl/features/division.feature -examples/i18n/pl/features/step_definitons/calculator_steps.rb -examples/i18n/pl/features/support/env.rb -examples/i18n/pl/lib/calculator.rb -examples/i18n/pt/Rakefile -examples/i18n/pt/features/adicao.feature -examples/i18n/pt/features/step_definitions/calculadora_steps.rb -examples/i18n/pt/features/support/env.rb -examples/i18n/pt/lib/calculadora.rb -examples/i18n/ro/Rakefile -examples/i18n/ro/features/step_definitons/calculator_steps.rb -examples/i18n/ro/features/suma.feature -examples/i18n/ro/lib/calculator.rb -examples/i18n/ru/Rakefile -examples/i18n/ru/features/addition.feature -examples/i18n/ru/features/consecutive_calculations.feature -examples/i18n/ru/features/division.feature -examples/i18n/ru/features/step_definitons/calculator_steps.rb -examples/i18n/ru/features/support/env.rb -examples/i18n/ru/features/support/world.rb -examples/i18n/ru/lib/calculator.rb -examples/i18n/se/Rakefile -examples/i18n/se/features/step_definitons/kalkulator_steps.rb -examples/i18n/se/features/summering.feature -examples/i18n/se/lib/kalkulator.rb -examples/i18n/sk/Rakefile -examples/i18n/sk/features/addition.feature -examples/i18n/sk/features/division.feature -examples/i18n/sk/features/step_definitons/calculator_steps.rb -examples/i18n/sk/lib/calculator.rb -examples/i18n/zh-CN/Rakefile -examples/i18n/zh-CN/features/addition.feature -examples/i18n/zh-CN/features/step_definitons/calculator_steps.rb -examples/i18n/zh-CN/lib/calculator.rb -examples/i18n/zh-TW/Rakefile -examples/i18n/zh-TW/features/addition.feature -examples/i18n/zh-TW/features/division.feature -examples/i18n/zh-TW/features/step_definitons/calculator_steps.rb -examples/i18n/zh-TW/lib/calculator.rb -examples/java/README.textile -examples/java/build.xml -examples/java/features/hello.feature -examples/java/features/step_definitons/hello_steps.rb -examples/java/features/step_definitons/tree_steps.rb -examples/java/features/tree.feature -examples/java/src/cucumber/demo/Hello.java -examples/junit/features/one_passing_one_failing.feature -examples/junit/features/pending.feature -examples/junit/features/step_definitions/steps.rb -examples/pure_java/README.textile -examples/python/features/fibonacci.feature -examples/python/features/step_definitions/fib_steps.py -examples/python/features/step_definitions/fib_steps.rb -examples/python/features/support/env.rb -examples/python/lib/fib.py -examples/selenium/Rakefile -examples/selenium/features/search.feature -examples/selenium/features/step_definitons/search_steps.rb -examples/selenium/features/support/env.rb -examples/selenium_webrat/Rakefile -examples/selenium_webrat/config.ru -examples/selenium_webrat/features/search.feature -examples/selenium_webrat/features/step_definitons/search_steps.rb -examples/selenium_webrat/features/support/env.rb -examples/self_test/README.textile -examples/self_test/Rakefile -examples/self_test/features/background/background_tagged_before_on_outline.feature -examples/self_test/features/background/background_with_name.feature -examples/self_test/features/background/failing_background.feature -examples/self_test/features/background/failing_background_after_success.feature -examples/self_test/features/background/multiline_args_background.feature -examples/self_test/features/background/passing_background.feature -examples/self_test/features/background/pending_background.feature -examples/self_test/features/background/scenario_outline_failing_background.feature -examples/self_test/features/background/scenario_outline_passing_background.feature -examples/self_test/features/call_undefined_step_from_step_def.feature -examples/self_test/features/failing_expectation.feature -examples/self_test/features/lots_of_undefined.feature -examples/self_test/features/multiline_name.feature -examples/self_test/features/outline_sample.feature -examples/self_test/features/sample.feature -examples/self_test/features/search_sample.feature -examples/self_test/features/step_definitions/sample_steps.rb -examples/self_test/features/support/env.rb -examples/self_test/features/tags_sample.feature -examples/self_test/features/tons_of_cukes.feature -examples/self_test/features/undefined_multiline_args.feature -examples/sinatra/README.textile -examples/sinatra/Rakefile -examples/sinatra/app.rb -examples/sinatra/features/add.feature -examples/sinatra/features/step_definitions/add_steps.rb -examples/sinatra/features/support/env.rb -examples/sinatra/views/add.erb -examples/sinatra/views/layout.erb -examples/steps_library/features/step_definitions/steps_lib1.rb -examples/steps_library/features/step_definitions/steps_lib2.rb -examples/test_unit/Rakefile -examples/test_unit/features/step_definitions/test_unit_steps.rb -examples/test_unit/features/test_unit.feature -examples/tickets/Rakefile -examples/tickets/features/172.feature -examples/tickets/features/177/1.feature -examples/tickets/features/177/2.feature -examples/tickets/features/177/3.feature -examples/tickets/features/180.feature -examples/tickets/features/229/tagged_hooks.feature -examples/tickets/features/229/tagged_hooks.rb -examples/tickets/features/236.feature -examples/tickets/features/241.feature -examples/tickets/features/246.feature -examples/tickets/features/248.feature -examples/tickets/features/270/back.feature -examples/tickets/features/270/back.steps.rb -examples/tickets/features/272/hooks.feature -examples/tickets/features/272/hooks_steps.rb -examples/tickets/features/279/py_string_indent.feature -examples/tickets/features/279/py_string_indent.steps.rb -examples/tickets/features/279/wrong.feature_ -examples/tickets/features/301/filter_background_tagged_hooks.feature -examples/tickets/features/301/filter_background_tagged_hooks_steps.rb -examples/tickets/features/306/only_background.feature -examples/tickets/features/lib/eatting_machine.rb -examples/tickets/features/lib/pantry.rb -examples/tickets/features/scenario_outline.feature -examples/tickets/features/step_definitons/246_steps.rb -examples/tickets/features/step_definitons/248_steps.rb -examples/tickets/features/step_definitons/scenario_outline_steps.rb -examples/tickets/features/step_definitons/tickets_steps.rb -examples/tickets/features/table_diffing.feature -examples/tickets/features/tickets.feature -examples/watir/README.textile -examples/watir/Rakefile -examples/watir/features/search.feature -examples/watir/features/step_definitons/search_steps.rb -examples/watir/features/support/env.rb -features/after_block_exceptions.feature -features/after_step_block_exceptions.feature -features/background.feature -features/bug_371.feature -features/cucumber_cli.feature -features/cucumber_cli_diff_disabled.feature -features/cucumber_cli_outlines.feature -features/custom_formatter.feature -features/drb_server_integration.feature -features/exclude_files.feature -features/expand.feature -features/html_formatter.feature -features/html_formatter/a.html -features/junit_formatter.feature -features/language_from_header.feature -features/multiline_names.feature -features/profiles.feature -features/rake_task.feature -features/report_called_undefined_steps.feature -features/snippet.feature -features/step_definitions/cucumber_steps.rb -features/step_definitions/extra_steps.rb -features/steps_formatter.feature -features/support/env.rb -features/table_diffing.feature -features/unicode_table.feature -features/usage.feature -features/work_in_progress.feature -gem_tasks/contributors.rake -gem_tasks/deployment.rake -gem_tasks/environment.rake -gem_tasks/features.rake -gem_tasks/fix_cr_lf.rake -gem_tasks/flog.rake -gem_tasks/gemspec.rake -gem_tasks/rspec.rake -gem_tasks/sass.rake -gem_tasks/sdoc.rake -lib/README.rdoc -lib/autotest/cucumber.rb -lib/autotest/cucumber_mixin.rb -lib/autotest/cucumber_rails.rb -lib/autotest/cucumber_rails_rspec.rb -lib/autotest/cucumber_rspec.rb -lib/autotest/discover.rb -lib/cucumber.rb -lib/cucumber/ast.rb -lib/cucumber/ast/background.rb -lib/cucumber/ast/comment.rb -lib/cucumber/ast/examples.rb -lib/cucumber/ast/feature.rb -lib/cucumber/ast/feature_element.rb -lib/cucumber/ast/features.rb -lib/cucumber/ast/outline_table.rb -lib/cucumber/ast/py_string.rb -lib/cucumber/ast/scenario.rb -lib/cucumber/ast/scenario_outline.rb -lib/cucumber/ast/step.rb -lib/cucumber/ast/step_collection.rb -lib/cucumber/ast/step_invocation.rb -lib/cucumber/ast/table.rb -lib/cucumber/ast/tags.rb -lib/cucumber/ast/visitor.rb -lib/cucumber/broadcaster.rb -lib/cucumber/cli/configuration.rb -lib/cucumber/cli/drb_client.rb -lib/cucumber/cli/language_help_formatter.rb -lib/cucumber/cli/main.rb -lib/cucumber/cli/options.rb -lib/cucumber/cli/profile_loader.rb -lib/cucumber/constantize.rb -lib/cucumber/core_ext/instance_exec.rb -lib/cucumber/core_ext/proc.rb -lib/cucumber/core_ext/string.rb -lib/cucumber/feature_file.rb -lib/cucumber/filter.rb -lib/cucumber/formatter/ansicolor.rb -lib/cucumber/formatter/color_io.rb -lib/cucumber/formatter/console.rb -lib/cucumber/formatter/cucumber.css -lib/cucumber/formatter/cucumber.sass -lib/cucumber/formatter/duration.rb -lib/cucumber/formatter/html.rb -lib/cucumber/formatter/junit.rb -lib/cucumber/formatter/ordered_xml_markup.rb -lib/cucumber/formatter/pretty.rb -lib/cucumber/formatter/profile.rb -lib/cucumber/formatter/progress.rb -lib/cucumber/formatter/rerun.rb -lib/cucumber/formatter/steps.rb -lib/cucumber/formatter/tag_cloud.rb -lib/cucumber/formatter/unicode.rb -lib/cucumber/formatter/usage.rb -lib/cucumber/formatters/unicode.rb -lib/cucumber/language_support.rb -lib/cucumber/language_support/language_methods.rb -lib/cucumber/language_support/step_definition_methods.rb -lib/cucumber/languages.yml -lib/cucumber/parser.rb -lib/cucumber/parser/feature.rb -lib/cucumber/parser/feature.tt -lib/cucumber/parser/i18n.tt -lib/cucumber/parser/natural_language.rb -lib/cucumber/parser/table.rb -lib/cucumber/parser/table.tt -lib/cucumber/parser/treetop_ext.rb -lib/cucumber/platform.rb -lib/cucumber/py_support/py_dsl.py -lib/cucumber/py_support/py_language.py -lib/cucumber/py_support/py_language.rb -lib/cucumber/rails/rspec.rb -lib/cucumber/rails/world.rb -lib/cucumber/rake/task.rb -lib/cucumber/rb_support/rb_dsl.rb -lib/cucumber/rb_support/rb_hook.rb -lib/cucumber/rb_support/rb_language.rb -lib/cucumber/rb_support/rb_step_definition.rb -lib/cucumber/rb_support/rb_world.rb -lib/cucumber/rspec_neuter.rb -lib/cucumber/step_match.rb -lib/cucumber/step_mother.rb -lib/cucumber/version.rb -lib/cucumber/webrat/element_locator.rb -lib/cucumber/webrat/table_locator.rb -rails_generators/cucumber/USAGE -rails_generators/cucumber/cucumber_generator.rb -rails_generators/cucumber/templates/cucumber -rails_generators/cucumber/templates/cucumber.rake -rails_generators/cucumber/templates/cucumber_environment.rb -rails_generators/cucumber/templates/env.rb -rails_generators/cucumber/templates/paths.rb -rails_generators/cucumber/templates/spork_env.rb -rails_generators/cucumber/templates/webrat_steps.rb -rails_generators/feature/USAGE -rails_generators/feature/feature_generator.rb -rails_generators/feature/templates/feature.erb -rails_generators/feature/templates/steps.erb -spec/cucumber/ast/background_spec.rb -spec/cucumber/ast/feature_element_spec.rb -spec/cucumber/ast/feature_factory.rb -spec/cucumber/ast/feature_spec.rb -spec/cucumber/ast/py_string_spec.rb -spec/cucumber/ast/scenario_outline_spec.rb -spec/cucumber/ast/scenario_spec.rb -spec/cucumber/ast/step_collection_spec.rb -spec/cucumber/ast/step_spec.rb -spec/cucumber/ast/table_spec.rb -spec/cucumber/broadcaster_spec.rb -spec/cucumber/cli/configuration_spec.rb -spec/cucumber/cli/drb_client_spec.rb -spec/cucumber/cli/main_spec.rb -spec/cucumber/cli/options_spec.rb -spec/cucumber/cli/profile_loader_spec.rb -spec/cucumber/core_ext/proc_spec.rb -spec/cucumber/core_ext/string_spec.rb -spec/cucumber/formatter/ansicolor_spec.rb -spec/cucumber/formatter/color_io_spec.rb -spec/cucumber/formatter/duration_spec.rb -spec/cucumber/formatter/html_spec.rb -spec/cucumber/formatter/progress_spec.rb -spec/cucumber/parser/feature_parser_spec.rb -spec/cucumber/parser/table_parser_spec.rb -spec/cucumber/rails/stubs/mini_rails.rb -spec/cucumber/rails/stubs/test_help.rb -spec/cucumber/rails/world_spec.rb -spec/cucumber/rb_support/rb_step_definition_spec.rb -spec/cucumber/sell_cucumbers.feature -spec/cucumber/step_mother_spec.rb -spec/cucumber/treetop_parser/empty_feature.feature -spec/cucumber/treetop_parser/empty_scenario.feature -spec/cucumber/treetop_parser/empty_scenario_outline.feature -spec/cucumber/treetop_parser/fit_scenario.feature -spec/cucumber/treetop_parser/given_scenario.feature -spec/cucumber/treetop_parser/invalid_scenario_outlines.feature -spec/cucumber/treetop_parser/multiline_steps.feature -spec/cucumber/treetop_parser/multiple_tables.feature -spec/cucumber/treetop_parser/scenario_outline.feature -spec/cucumber/treetop_parser/spaces.feature -spec/cucumber/treetop_parser/test_dos.feature -spec/cucumber/treetop_parser/with_comments.feature -spec/cucumber/treetop_parser/with_tags.feature -spec/cucumber/world/pending_spec.rb -spec/spec.opts -spec/spec_helper.rb diff --git a/vendor/gems/cucumber-0.3.98/README.txt b/vendor/gems/cucumber-0.3.98/README.txt deleted file mode 100644 index a980ffc..0000000 --- a/vendor/gems/cucumber-0.3.98/README.txt +++ /dev/null @@ -1,4 +0,0 @@ -= Cucumber - -The main website is at http://cukes.info/ -The documentation is at http://github.com/aslakhellesoy/cucumber/wikis/home/ diff --git a/vendor/gems/cucumber-0.3.98/Rakefile b/vendor/gems/cucumber-0.3.98/Rakefile deleted file mode 100644 index 2d46af3..0000000 --- a/vendor/gems/cucumber-0.3.98/Rakefile +++ /dev/null @@ -1,9 +0,0 @@ -ENV['NODOT'] = 'true' # We don't want class diagrams in RDoc -require 'config/requirements' -require 'config/hoe' # setup Hoe + all gem configuration - -Dir['gem_tasks/**/*.rake'].each { |rake| load rake } - -# Hoe gives us :default => :test, but we don't have Test::Unit tests. -Rake::Task[:default].clear_prerequisites rescue nil # For some super weird reason this fails for some... -task :default => [:spec, :cucumber] diff --git a/vendor/gems/cucumber-0.3.98/bin/cucumber b/vendor/gems/cucumber-0.3.98/bin/cucumber deleted file mode 100755 index 489c868..0000000 --- a/vendor/gems/cucumber-0.3.98/bin/cucumber +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env ruby -# Add '.rb' to work around a bug in IronRuby's File#dirname -$:.unshift(File.dirname(__FILE__ + '.rb') + '/../lib') unless $:.include?(File.dirname(__FILE__ + '.rb') + '/../lib') - -require 'cucumber/rspec_neuter' -require 'cucumber/cli/main' -begin - # The dup is to keep ARGV intact, so that tools like ruby-debug can respawn. - failure = Cucumber::Cli::Main.execute(ARGV.dup) - Kernel.exit(failure ? 1 : 0) -rescue SystemExit => e - Kernel.exit(e.status) -rescue Exception => e - STDERR.puts("#{e.message} (#{e.class})") - STDERR.puts(e.backtrace.join("\n")) - Kernel.exit 1 -end \ No newline at end of file diff --git a/vendor/gems/cucumber-0.3.98/config/hoe.rb b/vendor/gems/cucumber-0.3.98/config/hoe.rb deleted file mode 100644 index 4afded7..0000000 --- a/vendor/gems/cucumber-0.3.98/config/hoe.rb +++ /dev/null @@ -1,78 +0,0 @@ -# encoding: utf-8 -require 'cucumber/version' - -AUTHOR = 'Aslak Hellesøy' # can also be an array of Authors -EMAIL = "aslak.hellesoy@gmail.com" -DESCRIPTION = "Executable Feature scenarios" -GEM_NAME = 'cucumber' # what ppl will type to install your gem -HOMEPATH = "http://cukes.info" -RUBYFORGE_PROJECT = 'rspec' - -@config_file = "~/.rubyforge/user-config.yml" -@config = nil -RUBYFORGE_USERNAME = "aslak_hellesoy" -def rubyforge_username - unless @config - begin - @config = YAML.load(File.read(File.expand_path(@config_file))) - rescue - puts <<-EOS -ERROR: No rubyforge config file found: #{@config_file} -Run 'rubyforge setup' to prepare your env for access to Rubyforge - - See http://newgem.rubyforge.org/rubyforge.html for more details - EOS - exit - end - end - RUBYFORGE_USERNAME.replace @config["username"] -end - - -REV = nil -# UNCOMMENT IF REQUIRED: -# REV = YAML.load(`svn info`)['Revision'] -VERS = Cucumber::VERSION::STRING + (REV ? ".#{REV}" : "") -RDOC_OPTS = ['--quiet', '--title', 'Cucumber documentation', - "--opname", "index.html", - "--line-numbers", - "--main", "README.textile", - "--inline-source"] - -# Remove Hoe dependency -class Hoe - def extra_dev_deps - @extra_dev_deps.reject! { |dep| dep[0] == "hoe" } - @extra_dev_deps - end -end - -# Generate all the Rake tasks -# Run 'rake -T' to see list of generated tasks (from gem root directory) -$hoe = Hoe.spec(GEM_NAME) do |p| - p.version = VERS - p.developer(AUTHOR, EMAIL) - p.description = DESCRIPTION - p.summary = DESCRIPTION - p.url = HOMEPATH - p.rubyforge_name = RUBYFORGE_PROJECT if RUBYFORGE_PROJECT - p.clean_globs |= ['**/.*.sw?', '*.gem', '.config', '**/.DS_Store', '**/*.class', '**/*.jar', '**/tmp'] #An array of file patterns to delete on clean. - - # == Optional - p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n") - #p.extra_deps = [] # An array of rubygem dependencies [name, version], e.g. [ ['active_support', '>= 1.3.1'] ] - p.extra_deps = [ - ['term-ansicolor', '>= 1.0.3'], - ['treetop', '>= 1.3.0'], - ['polyglot', '>= 0.2.8'], # Don't really want polyglot, but it keeps breaking so we'll make people use something that works ok'ish - ['diff-lcs', '>= 1.1.2'], - ['builder', '>= 2.1.2'] - ] - - #p.spec_extras = {} # A hash of extra values to set in the gemspec. - -end - -CHANGES = $hoe.paragraphs_of('History.txt', 0..1).join("\\n\\n") -PATH = (RUBYFORGE_PROJECT == GEM_NAME) ? RUBYFORGE_PROJECT : "#{RUBYFORGE_PROJECT}/#{GEM_NAME}" -$hoe.remote_rdoc_dir = File.join(PATH.gsub(/^#{RUBYFORGE_PROJECT}\/?/,''), 'rdoc') -$hoe.rsync_args = '-av --delete --ignore-errors' \ No newline at end of file diff --git a/vendor/gems/cucumber-0.3.98/config/requirements.rb b/vendor/gems/cucumber-0.3.98/config/requirements.rb deleted file mode 100644 index 2b37f78..0000000 --- a/vendor/gems/cucumber-0.3.98/config/requirements.rb +++ /dev/null @@ -1,15 +0,0 @@ -require 'fileutils' -include FileUtils - -require 'rubygems' -%w[rake hoe].each do |req_gem| - begin - require req_gem - rescue LoadError - puts "This Rakefile requires the '#{req_gem}' RubyGem." - puts "Installation: gem install #{req_gem} -y" - exit - end -end - -$:.unshift(File.join(File.dirname(__FILE__), %w[.. lib])) diff --git a/vendor/gems/cucumber-0.3.98/cucumber.yml b/vendor/gems/cucumber-0.3.98/cucumber.yml deleted file mode 100644 index 3c7b852..0000000 --- a/vendor/gems/cucumber-0.3.98/cucumber.yml +++ /dev/null @@ -1,2 +0,0 @@ -default: --format progress --tags ~@proposed,~@wip --strict features -wip: --tags @wip --wip features diff --git a/vendor/gems/cucumber-0.3.98/examples/cs/README.textile b/vendor/gems/cucumber-0.3.98/examples/cs/README.textile deleted file mode 100644 index 3998674..0000000 --- a/vendor/gems/cucumber-0.3.98/examples/cs/README.textile +++ /dev/null @@ -1 +0,0 @@ -See "IronRuby and .NET":http://github.com/aslakhellesoy/cucumber/wikis/ironruby-and-net \ No newline at end of file diff --git a/vendor/gems/cucumber-0.3.98/examples/cs/Rakefile b/vendor/gems/cucumber-0.3.98/examples/cs/Rakefile deleted file mode 100644 index 38883ed..0000000 --- a/vendor/gems/cucumber-0.3.98/examples/cs/Rakefile +++ /dev/null @@ -1,12 +0,0 @@ -$:.unshift(File.dirname(__FILE__) + '/../../lib') -require 'cucumber/rake/task' - -Cucumber::Rake::Task.new(:features) do |t| - t.cucumber_opts = %w{--format pretty} -end - -task :features => :compile - -task :compile do - sh "csc /target:library /out:Demo.dll src\\demo\\Calculator.cs" -end \ No newline at end of file diff --git a/vendor/gems/cucumber-0.3.98/examples/cs/compile.bat b/vendor/gems/cucumber-0.3.98/examples/cs/compile.bat deleted file mode 100644 index f52f8f8..0000000 --- a/vendor/gems/cucumber-0.3.98/examples/cs/compile.bat +++ /dev/null @@ -1 +0,0 @@ -csc /target:library /out:Calculator.dll src\demo\Calculator.cs \ No newline at end of file diff --git a/vendor/gems/cucumber-0.3.98/examples/cs/features/addition.feature b/vendor/gems/cucumber-0.3.98/examples/cs/features/addition.feature deleted file mode 100644 index b2b724b..0000000 --- a/vendor/gems/cucumber-0.3.98/examples/cs/features/addition.feature +++ /dev/null @@ -1,16 +0,0 @@ -Feature: Addition - In order to avoid silly mistakes - As a math idiot - I want to be told the sum of two numbers - - Scenario Outline: Add two numbers - Given I have entered into the calculator - And I have entered into the calculator - When I press add - Then the result should be on the screen - - Examples: - | input_1 | input_2 | output | - | 20 | 30 | 50 | - | 2 | 5 | 7 | - | 0 | 40 | 40 | diff --git a/vendor/gems/cucumber-0.3.98/examples/cs/features/step_definitons/calculator_steps.rb b/vendor/gems/cucumber-0.3.98/examples/cs/features/step_definitons/calculator_steps.rb deleted file mode 100644 index d37d638..0000000 --- a/vendor/gems/cucumber-0.3.98/examples/cs/features/step_definitons/calculator_steps.rb +++ /dev/null @@ -1,19 +0,0 @@ -require 'spec/expectations' -$:.unshift(File.dirname(__FILE__) + '/../../') # This line is not needed in your own project -require 'Calculator' # Calculator.dll - -Before do - @calc = Demo::Calculator.new # A .NET class in Calculator.dll -end - -Given "I have entered $n into the calculator" do |n| - @calc.push n.to_i -end - -When /I press add/ do - @result = @calc.Add -end - -Then /the result should be (.*) on the screen/ do |result| - @result.should == result.to_i -end diff --git a/vendor/gems/cucumber-0.3.98/examples/cs/src/demo/Calculator.cs b/vendor/gems/cucumber-0.3.98/examples/cs/src/demo/Calculator.cs deleted file mode 100644 index b82ce2c..0000000 --- a/vendor/gems/cucumber-0.3.98/examples/cs/src/demo/Calculator.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Collections.Generic; - -namespace Demo { - public class Calculator { - private Listargs = new List(); - - public void Push(int n) { - args.Add(n); - } - - public int Add() { - int result = 0; - foreach(int n in args) { - result += n; - } - return result; - } - } -} diff --git a/vendor/gems/cucumber-0.3.98/examples/dos_line_endings/Rakefile b/vendor/gems/cucumber-0.3.98/examples/dos_line_endings/Rakefile deleted file mode 100644 index a5cf96a..0000000 --- a/vendor/gems/cucumber-0.3.98/examples/dos_line_endings/Rakefile +++ /dev/null @@ -1,6 +0,0 @@ -$:.unshift(File.dirname(__FILE__) + '/../../lib') -require 'cucumber/rake/task' - -Cucumber::Rake::Task.new do |t| - t.cucumber_opts = %w{--format pretty} -end \ No newline at end of file diff --git a/vendor/gems/cucumber-0.3.98/examples/dos_line_endings/features/dos_line_endings.feature b/vendor/gems/cucumber-0.3.98/examples/dos_line_endings/features/dos_line_endings.feature deleted file mode 100644 index d9358a5..0000000 --- a/vendor/gems/cucumber-0.3.98/examples/dos_line_endings/features/dos_line_endings.feature +++ /dev/null @@ -1,9 +0,0 @@ -Feature: DOS line endings - In order to have less bug reports - As a windows developer - I want to write features with DOS line endigs - - Scenario: Just lots of DOS - Given I am on DOS - And Any version of Windows is really just DOS - Then Windows still sucks diff --git a/vendor/gems/cucumber-0.3.98/examples/i18n/README.textile b/vendor/gems/cucumber-0.3.98/examples/i18n/README.textile deleted file mode 100644 index dc22721..0000000 --- a/vendor/gems/cucumber-0.3.98/examples/i18n/README.textile +++ /dev/null @@ -1,18 +0,0 @@ -h1. Internationalisation (i18n) examples - -Under this directory you'll find examples of Cucumber features written in -many of the natural languages Cucumber supports. - -For a full list of what languages Cucumber supports - run
cucumber --language help
- -h2. Running all the examples - -Open a shell in this directory and run - -
rake i18n
- -h2. Running examples for a specific language - -Open a shell in the directory for the specific language and run - -
rake features
\ No newline at end of file diff --git a/vendor/gems/cucumber-0.3.98/examples/i18n/Rakefile b/vendor/gems/cucumber-0.3.98/examples/i18n/Rakefile deleted file mode 100644 index f2969ac..0000000 --- a/vendor/gems/cucumber-0.3.98/examples/i18n/Rakefile +++ /dev/null @@ -1,32 +0,0 @@ -desc 'Run features for all languages' -task :i18n do - dir = File.dirname(__FILE__) - Dir["#{dir}/*"].each do |f| - if File.directory?(f) - lang = f[dir.length+1..-1] - if examples_working?(lang) - Dir.chdir(f) do - rake("cucumber") - end - else - STDERR.puts %{ -!!!!! -!!!!! -!!!!! SKIPPING #{lang} (The examples are out of date - please help update them) -!!!!! -!!!!! -} - end - end - end -end - -task :default => :i18n - -def examples_working?(lang) - !%w{ro}.index(lang) -end - -def rake(args) - ruby($0, args) -end diff --git a/vendor/gems/cucumber-0.3.98/examples/i18n/ar/Rakefile b/vendor/gems/cucumber-0.3.98/examples/i18n/ar/Rakefile deleted file mode 100644 index 6a41757..0000000 --- a/vendor/gems/cucumber-0.3.98/examples/i18n/ar/Rakefile +++ /dev/null @@ -1,6 +0,0 @@ -$:.unshift(File.dirname(__FILE__) + '/../../../lib') -require 'cucumber/rake/task' - -Cucumber::Rake::Task.new do |t| - t.cucumber_opts = %w{--format pretty} -end \ No newline at end of file diff --git a/vendor/gems/cucumber-0.3.98/examples/i18n/ar/features/addition.feature b/vendor/gems/cucumber-0.3.98/examples/i18n/ar/features/addition.feature deleted file mode 100644 index e2dea44..0000000 --- a/vendor/gems/cucumber-0.3.98/examples/i18n/ar/features/addition.feature +++ /dev/null @@ -1,17 +0,0 @@ -# language: ar -خاصية: الجمع - من اجل تجنب الأخطاء السخيفة - كشخص غبي في الرياضيات - اريد معرفة ناتج جمع عددين - - سيناريو مخطط: جمع عددين - بفرض كتابة في الآلة الحاسبة - و كتابة في الآلة الحاسبة - متى يتم الضغط على