vim-jar 0.0.3 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/Gemfile.lock +21 -1
- data/README.md +35 -1
- data/autotest/discover.rb +2 -0
- data/bundler/ruby/1.8/bin/autotest +4 -6
- data/bundler/ruby/1.8/bin/cdiff +19 -0
- data/bundler/ruby/1.8/bin/cucumber +19 -0
- data/bundler/ruby/1.8/bin/decolor +19 -0
- data/bundler/ruby/1.8/bin/edit_json.rb +19 -0
- data/bundler/ruby/1.8/bin/prettify_json.rb +19 -0
- data/bundler/ruby/1.8/bin/unit_diff +4 -6
- data/bundler/ruby/1.8/gems/aruba-0.2.6/.document +5 -0
- data/bundler/ruby/1.8/gems/aruba-0.2.6/.gitignore +23 -0
- data/bundler/ruby/1.8/gems/aruba-0.2.6/.rvmrc +1 -0
- data/bundler/ruby/1.8/gems/aruba-0.2.6/Gemfile +10 -0
- data/bundler/ruby/1.8/gems/aruba-0.2.6/History.txt +123 -0
- data/bundler/ruby/1.8/gems/aruba-0.2.6/LICENSE +20 -0
- data/bundler/ruby/1.8/gems/aruba-0.2.6/README.rdoc +41 -0
- data/bundler/ruby/1.8/gems/aruba-0.2.6/Rakefile +13 -0
- data/bundler/ruby/1.8/gems/aruba-0.2.6/aruba.gemspec +24 -0
- data/bundler/ruby/1.8/gems/aruba-0.2.6/config/.gitignore +1 -0
- data/bundler/ruby/1.8/gems/aruba-0.2.6/cucumber.yml +2 -0
- data/bundler/ruby/1.8/gems/aruba-0.2.6/features/exit_statuses.feature +29 -0
- data/bundler/ruby/1.8/gems/aruba-0.2.6/features/file_system_commands.feature +128 -0
- data/bundler/ruby/1.8/gems/aruba-0.2.6/features/flushing.feature +23 -0
- data/bundler/ruby/1.8/gems/aruba-0.2.6/features/interactive.feature +38 -0
- data/bundler/ruby/1.8/gems/aruba-0.2.6/features/output.feature +171 -0
- data/bundler/ruby/1.8/gems/aruba-0.2.6/features/step_definitions/aruba_dev_steps.rb +24 -0
- data/bundler/ruby/1.8/gems/aruba-0.2.6/features/support/env.rb +15 -0
- data/bundler/ruby/1.8/gems/aruba-0.2.6/lib/aruba/api.rb +297 -0
- data/bundler/ruby/1.8/gems/aruba-0.2.6/lib/aruba/cucumber.rb +273 -0
- data/bundler/ruby/1.8/gems/aruba-0.2.6/lib/aruba/process.rb +46 -0
- data/bundler/ruby/1.8/gems/aruba-0.2.6/lib/aruba.rb +1 -0
- data/bundler/ruby/1.8/gems/autotest-4.4.5/.autotest +18 -0
- data/bundler/ruby/1.8/gems/autotest-4.4.5/.gitignore +1 -0
- data/bundler/ruby/1.8/gems/autotest-4.4.5/Gemfile +7 -0
- data/bundler/ruby/1.8/gems/autotest-4.4.5/Gemfile.lock +38 -0
- data/bundler/ruby/1.8/gems/autotest-4.4.5/History.txt +709 -0
- data/bundler/ruby/1.8/gems/autotest-4.4.5/Rakefile +67 -0
- data/bundler/ruby/1.8/gems/autotest-4.4.5/Readme.md +95 -0
- data/bundler/ruby/1.8/gems/autotest-4.4.5/VERSION +1 -0
- data/bundler/ruby/1.8/gems/autotest-4.4.5/articles/getting_started_with_autotest.html +533 -0
- data/bundler/ruby/1.8/gems/autotest-4.4.5/autotest.gemspec +62 -0
- data/bundler/ruby/1.8/gems/autotest-4.4.5/bin/autotest +67 -0
- data/bundler/ruby/1.8/gems/autotest-4.4.5/bin/unit_diff +44 -0
- data/bundler/ruby/1.8/gems/autotest-4.4.5/example_dot_autotest.rb +12 -0
- data/bundler/ruby/1.8/gems/autotest-4.4.5/lib/autotest/autoupdate.rb +26 -0
- data/bundler/ruby/1.8/gems/autotest-4.4.5/lib/autotest/once.rb +9 -0
- data/bundler/ruby/1.8/gems/autotest-4.4.5/lib/autotest/rcov.rb +27 -0
- data/bundler/ruby/1.8/gems/autotest-4.4.5/lib/autotest/restart.rb +12 -0
- data/bundler/ruby/1.8/gems/autotest-4.4.5/lib/autotest/timestamp.rb +9 -0
- data/bundler/ruby/1.8/gems/autotest-4.4.5/lib/autotest.rb +724 -0
- data/bundler/ruby/1.8/gems/autotest-4.4.5/lib/unit_diff.rb +274 -0
- data/bundler/ruby/1.8/gems/autotest-4.4.5/test/helper.rb +6 -0
- data/bundler/ruby/1.8/gems/autotest-4.4.5/test/test_autotest.rb +515 -0
- data/bundler/ruby/1.8/gems/autotest-4.4.5/test/test_autotest_integration.rb +95 -0
- data/bundler/ruby/1.8/gems/autotest-4.4.5/test/test_unit_diff.rb +335 -0
- data/bundler/ruby/1.8/gems/background_process-1.2/MIT-LICENSE +20 -0
- data/bundler/ruby/1.8/gems/background_process-1.2/README.textile +82 -0
- data/bundler/ruby/1.8/gems/background_process-1.2/lib/background_process/background_process.rb +114 -0
- data/bundler/ruby/1.8/gems/background_process-1.2/lib/background_process/io_helpers.rb +24 -0
- data/bundler/ruby/1.8/gems/background_process-1.2/lib/background_process/pty_background_process.rb +64 -0
- data/bundler/ruby/1.8/gems/background_process-1.2/lib/background_process.rb +3 -0
- data/bundler/ruby/1.8/gems/background_process-1.2/spec/background_process/background_process_spec.rb +129 -0
- data/bundler/ruby/1.8/gems/background_process-1.2/spec/background_process/io_helpers_spec.rb +30 -0
- data/bundler/ruby/1.8/gems/background_process-1.2/spec/background_process/pty_background_process_spec.rb +49 -0
- data/bundler/ruby/1.8/gems/background_process-1.2/spec/spec_helper.rb +1 -0
- data/bundler/ruby/1.8/gems/builder-2.1.2/CHANGES +85 -0
- data/bundler/ruby/1.8/gems/builder-2.1.2/README +210 -0
- data/bundler/ruby/1.8/gems/builder-2.1.2/Rakefile +263 -0
- data/bundler/ruby/1.8/gems/builder-2.1.2/doc/releases/builder-1.2.4.rdoc +31 -0
- data/bundler/ruby/1.8/gems/builder-2.1.2/doc/releases/builder-2.0.0.rdoc +46 -0
- data/bundler/ruby/1.8/gems/builder-2.1.2/doc/releases/builder-2.1.1.rdoc +58 -0
- data/bundler/ruby/1.8/gems/builder-2.1.2/lib/blankslate.rb +113 -0
- data/bundler/ruby/1.8/gems/builder-2.1.2/lib/builder/blankslate.rb +20 -0
- data/bundler/ruby/1.8/gems/builder-2.1.2/lib/builder/xchar.rb +115 -0
- data/bundler/ruby/1.8/gems/builder-2.1.2/lib/builder/xmlbase.rb +139 -0
- data/bundler/ruby/1.8/gems/builder-2.1.2/lib/builder/xmlevents.rb +63 -0
- data/bundler/ruby/1.8/gems/builder-2.1.2/lib/builder/xmlmarkup.rb +328 -0
- data/bundler/ruby/1.8/gems/builder-2.1.2/lib/builder.rb +13 -0
- data/bundler/ruby/1.8/gems/builder-2.1.2/scripts/publish.rb +17 -0
- data/bundler/ruby/1.8/gems/builder-2.1.2/test/performance.rb +30 -0
- data/bundler/ruby/1.8/gems/builder-2.1.2/test/preload.rb +29 -0
- data/bundler/ruby/1.8/gems/builder-2.1.2/test/test_xchar.rb +37 -0
- data/bundler/ruby/1.8/gems/builder-2.1.2/test/testblankslate.rb +183 -0
- data/bundler/ruby/1.8/gems/builder-2.1.2/test/testeventbuilder.rb +133 -0
- data/bundler/ruby/1.8/gems/builder-2.1.2/test/testmarkupbuilder.rb +449 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/.gitattributes +1 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/.gitignore +24 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/.rspec +1 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/Gemfile +7 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/History.txt +1597 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/LICENSE +22 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/README.rdoc +26 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/Rakefile +12 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/bin/cucumber +16 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/cucumber.gemspec +49 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/cucumber.yml +20 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/README.textile +18 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/Rakefile +33 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ar/Rakefile +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ar/features/addition.feature +17 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ar/features/step_definitons/calculator_steps.rb +24 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ar/lib/calculator.rb +11 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/bg/Rakefile +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/bg/features/addition.feature +12 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/bg/features/consecutive_calculations.feature +19 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/bg/features/division.feature +17 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/bg/features/step_definitons/calculator_steps.rb +24 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/bg/features/support/env.rb +5 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/bg/features/support/world.rb +8 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/bg/lib/calculator.rb +24 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ca/Rakefile +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ca/features/step_definitons/calculator_steps.rb +21 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ca/features/suma.feature +17 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ca/lib/calculadora.rb +16 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/da/Rakefile +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/da/features/sammenlaegning.feature +18 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/da/features/step_definitons/lommeregner_steps.rb +24 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/da/lib/lommeregner.rb +11 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/de/.gitignore +1 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/de/Rakefile +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/de/features/addition.feature +17 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/de/features/division.feature +10 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/de/features/step_definitons/calculator_steps.rb +24 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/de/lib/calculator.rb +14 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/en/.gitignore +1 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/en/Rakefile +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/en/features/addition.feature +17 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/en/features/division.feature +10 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/en/features/step_definitons/calculator_steps.rb +24 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/en/lib/calculator.rb +14 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/en-lol/Rakefile +4 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/en-lol/features/step_definitions/cucumbrz_steps.rb +16 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/en-lol/features/stuffing.feature +8 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/en-lol/features/support/env.rb +7 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/en-lol/lib/basket.rb +12 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/en-lol/lib/belly.rb +11 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/eo/.gitignore +1 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/eo/Rakefile +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/eo/features/adicio.feature +17 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/eo/features/divido.feature +10 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/eo/features/step_definitons/calculator_steps.rb +24 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/eo/lib/calculator.rb +14 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/es/Rakefile +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/es/features/adicion.feature +17 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/es/features/step_definitons/calculador_steps.rb +21 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/es/lib/calculador.rb +14 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/et/Rakefile +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/et/features/jagamine.feature +10 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/et/features/liitmine.feature +17 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/et/features/step_definitions/kalkulaator_steps.rb +24 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/et/lib/kalkulaator.rb +14 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/fi/.gitignore +1 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/fi/Rakefile +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/fi/features/jakolasku.feature +10 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/fi/features/step_definitons/laskin_steps.rb +24 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/fi/features/yhteenlasku.feature +17 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/fi/lib/laskin.rb +14 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/fr/Rakefile +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/fr/features/addition.feature +18 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/fr/features/addition2.feature +17 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/fr/features/step_definitions/calculatrice_steps.rb +32 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/fr/features/support/env.rb +5 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/fr/lib/calculatrice.rb +10 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/he/Rakefile +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/he/features/addition.feature +17 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/he/features/division.feature +10 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/he/features/step_definitons/calculator_steps.rb +24 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/he/lib/calculator.rb +15 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/hu/.gitignore +1 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/hu/Rakefile +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/hu/features/osszeadas.feature +17 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/hu/features/osztas.feature +10 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/hu/features/step_definitons/calculator_steps.rb +25 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/hu/lib/calculator.rb +14 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/id/.gitignore +1 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/id/Rakefile +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/id/features/addition.feature +17 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/id/features/division.feature +10 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/id/features/step_definitons/calculator_steps.rb +24 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/id/lib/calculator.rb +14 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/it/Rakefile +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/it/features/somma.feature +11 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/it/features/step_definitons/calcolatrice_steps.rb +24 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/it/lib/calcolatrice.rb +11 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ja/.gitignore +1 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ja/Rakefile +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ja/features/addition.feature +17 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ja/features/division.feature +10 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ja/features/step_definitons/calculator_steps.rb +19 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ja/features/support/env.rb +5 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ja/lib/calculator.rb +14 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ko/.gitignore +1 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ko/Rakefile +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ko/features/addition.feature +17 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ko/features/division.feature +11 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ko/features/step_definitons/calculator_steps.rb +24 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ko/lib/calculator.rb +14 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/lt/.gitignore +1 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/lt/Rakefile +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/lt/features/addition.feature +17 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/lt/features/division.feature +10 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/lt/features/step_definitons/calculator_steps.rb +24 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/lt/lib/calculator.rb +14 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/lv/Rakefile +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/lv/features/addition.feature +17 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/lv/features/division.feature +10 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/lv/features/step_definitons/calculator_steps.rb +24 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/lv/lib/calculator.rb +14 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/no/Rakefile +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/no/features/step_definitons/kalkulator_steps.rb +17 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/no/features/summering.feature +19 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/no/features/support/env.rb +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/no/lib/kalkulator.rb +11 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/pl/.gitignore +1 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/pl/Rakefile +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/pl/features/addition.feature +17 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/pl/features/division.feature +10 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/pl/features/step_definitons/calculator_steps.rb +24 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/pl/features/support/env.rb +5 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/pl/lib/calculator.rb +14 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/pt/Rakefile +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/pt/features/adicao.feature +11 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/pt/features/step_definitions/calculadora_steps.rb +20 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/pt/features/support/env.rb +5 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/pt/lib/calculadora.rb +10 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ro/Rakefile +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ro/features/step_definitons/calculator_steps.rb +24 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ro/features/suma.feature +11 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ro/lib/calculator.rb +11 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ru/Rakefile +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ru/features/addition.feature +11 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ru/features/consecutive_calculations.feature +17 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ru/features/division.feature +16 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ru/features/step_definitons/calculator_steps.rb +19 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ru/features/support/env.rb +5 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ru/features/support/world.rb +8 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ru/lib/calculator.rb +24 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/sk/.gitignore +1 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/sk/Rakefile +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/sk/features/addition.feature +17 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/sk/features/division.feature +10 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/sk/features/step_definitons/calculator_steps.rb +24 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/sk/lib/calculator.rb +14 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/sr-Cyrl/Rakefile +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/sr-Cyrl/features/sabiranje.feature +18 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/sr-Cyrl/features/step_definitons/calculator_steps.rb +20 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/sr-Cyrl/features/support/env.rb +5 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/sr-Cyrl/lib/calculator.rb +12 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/sr-Latn/Rakefile +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/sr-Latn/features/sabiranje.feature +18 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/sr-Latn/features/step_definitons/calculator_steps.rb +24 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/sr-Latn/lib/calculator.rb +12 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/sv/Rakefile +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/sv/features/step_definitons/kalkulator_steps.rb +24 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/sv/features/summering.feature +18 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/sv/lib/kalkulator.rb +11 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/tr/.gitignore +1 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/tr/Rakefile +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/tr/features/bolme.feature +10 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/tr/features/step_definitons/hesap_makinesi_adimlari.rb +24 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/tr/features/toplama.feature +18 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/tr/lib/hesap_makinesi.rb +15 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/uk/Rakefile +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/uk/features/addition.feature +11 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/uk/features/consecutive_calculations.feature +17 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/uk/features/division.feature +16 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/uk/features/step_definitons/calculator_steps.rb +19 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/uk/features/support/env.rb +5 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/uk/features/support/world.rb +8 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/uk/lib/calculator.rb +24 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/uz/Rakefile +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/uz/features/addition.feature +10 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/uz/features/consecutive_calculations.feature +17 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/uz/features/division.feature +17 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/uz/features/step_definitons/calculator_steps.rb +19 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/uz/features/support/env.rb +5 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/uz/features/support/world.rb +8 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/uz/lib/calculator.rb +24 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/zh-CN/Rakefile +4 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/zh-CN/features/addition.feature +18 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/zh-CN/features/step_definitons/calculator_steps.rb +26 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/zh-CN/lib/calculator.rb +10 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/zh-TW/.gitignore +1 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/zh-TW/Rakefile +4 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/zh-TW/features/addition.feature +17 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/zh-TW/features/division.feature +11 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/zh-TW/features/step_definitons/calculator_steps.rb +24 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/zh-TW/lib/calculator.rb +14 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/python/README.textile +7 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/python/Rakefile +4 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/python/features/fibonacci.feature +19 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/python/features/step_definitions/fib_steps.py +11 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/python/lib/.gitignore +1 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/python/lib/fib.py +7 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/ramaze/README.textile +7 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/ramaze/Rakefile +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/ramaze/app.rb +21 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/ramaze/features/add.feature +11 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/ramaze/features/step_definitions/add_steps.rb +15 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/ramaze/features/support/env.rb +32 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/ramaze/layout/default.html.erb +8 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/ramaze/view/index.html.erb +5 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/rspec_doubles/Rakefile +4 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/rspec_doubles/features/mocking.feature +9 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/rspec_doubles/features/step_definitions/calvin_steps.rb +19 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/rspec_doubles/features/support/env.rb +12 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/ruby2python/README.textile +7 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/ruby2python/Rakefile +4 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/ruby2python/features/fibonacci.feature +19 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/ruby2python/features/step_definitions/fib_steps.rb +7 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/ruby2python/features/support/env.rb +21 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/ruby2python/lib/.gitignore +1 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/ruby2python/lib/fib.py +7 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/sinatra/README.textile +13 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/sinatra/Rakefile +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/sinatra/app.rb +14 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/sinatra/features/add.feature +11 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/sinatra/features/step_definitions/add_steps.rb +15 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/sinatra/features/support/env.rb +13 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/sinatra/views/add.erb +7 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/sinatra/views/layout.erb +8 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/tcl/README.textile +11 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/tcl/Rakefile +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/tcl/features/fibonnacci.feature +17 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/tcl/features/step_definitions/fib_steps.rb +7 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/tcl/features/support/env.rb +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/tcl/src/fib.tcl +3 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/test_unit/Rakefile +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/test_unit/features/step_definitions/test_unit_steps.rb +23 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/test_unit/features/test_unit.feature +9 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/v8/Rakefile +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/v8/features/fibonacci.feature +43 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/v8/features/step_definitions/fib_steps.js +49 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/v8/features/support/env.js +14 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/v8/lib/fibonacci.js +19 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/watir/.gitignore +2 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/watir/README.textile +16 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/watir/Rakefile +12 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/watir/cucumber.yml +1 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/watir/features/search.feature +12 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/watir/features/step_definitions/search_steps.rb +26 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/watir/features/support/env.rb +32 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/watir/features/support/screenshots.rb +47 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/announce.feature +164 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/api/list_step_defs_as_json.feature +50 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/api/run_cli_main_with_existing_runtime.feature +34 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/around_hooks.feature +232 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/background.feature +309 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/bug_371.feature +32 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/bug_464.feature +16 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/bug_475.feature +42 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/bug_585_tab_indentation.feature +22 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/bug_600.feature +67 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/call_steps_from_stepdefs.feature +154 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/cucumber_cli.feature +591 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/cucumber_cli_outlines.feature +117 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/custom_formatter.feature +111 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/default_snippets.feature +42 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/diffing.feature +25 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/drb_server_integration.feature +174 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/exception_in_after_block.feature +127 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/exception_in_after_step_block.feature +104 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/exception_in_before_block.feature +98 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/exclude_files.feature +20 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/expand.feature +60 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/html_formatter/a.html +582 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/html_formatter.feature +8 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/json_formatter.feature +333 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/junit_formatter.feature +92 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/language_from_header.feature +30 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/language_help.feature +78 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/listener_debugger_formatter.feature +42 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/multiline_names.feature +44 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/negative_tagged_hooks.feature +60 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/post_configuration_hook.feature +50 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/profiles.feature +126 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/rake_task.feature +152 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/report_called_undefined_steps.feature +34 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/rerun_formatter.feature +45 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/simplest.feature +11 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/snippet.feature +23 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/snippets_when_using_star_keyword.feature +36 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/step_definitions/cucumber_steps.rb +166 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/step_definitions/extra_steps.rb +2 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/step_definitions/simplest_steps.rb +3 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/step_definitions/wire_steps.rb +33 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/support/env.rb +157 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/support/env.rb.simplest +7 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/support/fake_wire_server.rb +77 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/table_diffing.feature +45 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/table_mapping.feature +34 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/tag_logic.feature +258 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/transform.feature +245 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/unicode_table.feature +35 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/usage_and_stepdefs_formatter.feature +169 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/wire_protocol.feature +332 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/wire_protocol_table_diffing.feature +119 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/wire_protocol_tags.feature +87 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/wire_protocol_timeouts.feature +63 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/work_in_progress.feature +156 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/json/features/background.feature +7 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/json/features/embed.feature +4 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/json/features/one_passing_one_failing.feature +11 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/json/features/pystring.feature +8 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/json/features/step_definitions/steps.rb +32 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/json/features/tables.feature +13 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/junit/features/one_passing_one_failing.feature +8 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/junit/features/pending.feature +5 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/junit/features/step_definitions/steps.rb +11 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/.gitignore +1 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/README.textile +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/Rakefile +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/background/background_tagged_before_on_outline.feature +12 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/background/background_with_name.feature +7 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/background/failing_background.feature +12 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/background/failing_background_after_success.feature +11 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/background/multiline_args_background.feature +32 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/background/passing_background.feature +10 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/background/pending_background.feature +10 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/background/scenario_outline_failing_background.feature +16 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/background/scenario_outline_passing_background.feature +16 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/call_undefined_step_from_step_def.feature +7 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/failing_expectation.feature +4 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/lots_of_undefined.feature +8 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/multiline_name.feature +27 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/outline_sample.feature +15 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/sample.feature +21 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/search_sample.feature +32 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/step_definitions/sample_steps.rb +84 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/support/env.rb +18 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/tags_sample.feature +17 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/tons_of_cukes.feature +52 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/undefined_multiline_args.feature +12 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/list-of-features.txt +1 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/steps_library/features/step_definitions/steps_lib1.rb +8 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/steps_library/features/step_definitions/steps_lib2.rb +8 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/Rakefile +20 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/172.feature +28 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/177/1.feature +28 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/177/2.feature +20 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/177/3.feature +18 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/180.feature +7 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/229/tagged_hooks.feature +8 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/229/tagged_hooks.rb +14 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/236.feature +13 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/241.feature +12 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/246.feature +4 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/248.feature +11 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/270/back.feature +14 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/270/back.steps.rb +14 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/272/hooks.feature +26 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/272/hooks_steps.rb +53 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/279/py_string_indent.feature +25 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/279/py_string_indent.steps.rb +12 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/279/wrong.feature_ +11 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/301/filter_background_tagged_hooks.feature +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/301/filter_background_tagged_hooks_steps.rb +12 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/306/only_background.feature +4 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/around_timeout.feature +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/gherkin_67.feature +12 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/gherkin_68.feature +4 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/half_manual.feature +11 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/lib/eatting_machine.rb +18 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/lib/pantry.rb +20 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/scenario_outline.feature +95 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/step_definitons/246_steps.rb +3 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/step_definitons/248_steps.rb +15 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/step_definitons/around_timeout_steps.rb +9 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/step_definitons/half_manual_steps.rb +11 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/step_definitons/scenario_outline_steps.rb +42 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/step_definitons/tickets_steps.rb +88 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/table_diffing.feature +13 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/tickets.feature +28 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features.html +138 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/gem_tasks/contributors.rake +15 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/gem_tasks/environment.rake +7 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/gem_tasks/examples.rake +11 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/gem_tasks/features.rake +14 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/gem_tasks/fix_cr_lf.rake +10 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/gem_tasks/flog.rake +4 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/gem_tasks/rspec.rake +8 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/gem_tasks/sass.rake +4 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/gem_tasks/sdoc.rake +12 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/README.rdoc +12 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/autotest/cucumber.rb +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/autotest/cucumber_mixin.rb +135 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/autotest/cucumber_rails.rb +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/autotest/cucumber_rails_rspec.rb +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/autotest/cucumber_rails_rspec2.rb +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/autotest/cucumber_rspec.rb +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/autotest/cucumber_rspec2.rb +6 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/autotest/discover.rb +9 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/ast/background.rb +99 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/ast/comment.rb +31 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/ast/examples.rb +38 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/ast/feature.rb +98 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/ast/feature_element.rb +73 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/ast/features.rb +35 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/ast/outline_table.rb +187 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/ast/py_string.rb +80 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/ast/scenario.rb +117 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/ast/scenario_outline.rb +117 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/ast/step.rb +121 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/ast/step_collection.rb +76 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/ast/step_invocation.rb +195 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/ast/table.rb +688 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/ast/tags.rb +28 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/ast/tree_walker.rb +222 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/ast/visitor.rb +11 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/ast.rb +30 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/broadcaster.rb +13 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/cli/configuration.rb +209 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/cli/drb_client.rb +43 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/cli/main.rb +83 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/cli/options.rb +407 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/cli/profile_loader.rb +91 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/configuration.rb +49 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/constantize.rb +34 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/core_ext/disable_mini_unit_autorun.rb +14 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/core_ext/instance_exec.rb +98 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/core_ext/proc.rb +34 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/core_ext/string.rb +9 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/errors.rb +40 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/feature_file.rb +62 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/ansicolor.rb +162 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/color_io.rb +23 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/console.rb +177 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/cucumber.css +275 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/cucumber.sass +271 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/debug.rb +33 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/duration.rb +13 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/html.rb +644 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/io.rb +33 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/jquery-min.js +154 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/json.rb +166 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/json_pretty.rb +14 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/junit.rb +150 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/ordered_xml_markup.rb +24 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/pdf.rb +244 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/pretty.rb +237 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/progress.rb +92 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/rerun.rb +55 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/stepdefs.rb +14 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/steps.rb +49 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/summary.rb +35 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/tag_cloud.rb +35 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/unicode.rb +58 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/usage.rb +127 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/js_support/js_dsl.js +57 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/js_support/js_language.rb +185 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/js_support/js_snippets.rb +27 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/language_support/language_methods.rb +129 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/language_support.rb +30 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/parser/gherkin_builder.rb +124 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/parser.rb +2 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/platform.rb +29 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/py_support/py_dsl.py +10 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/py_support/py_language.py +10 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/py_support/py_language.rb +84 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/rake/task.rb +170 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/rb_support/rb_dsl.rb +112 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/rb_support/rb_hook.rb +18 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/rb_support/rb_language.rb +195 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/rb_support/rb_step_definition.rb +82 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/rb_support/rb_transform.rb +37 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/rb_support/rb_world.rb +95 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/rb_support/regexp_argument_matcher.rb +21 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/rspec/disable_option_parser.rb +23 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/rspec/doubles.rb +16 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/runtime/features_loader.rb +62 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/runtime/for_programming_languages.rb +65 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/runtime/results.rb +64 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/runtime/support_code.rb +203 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/runtime/user_interface.rb +80 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/runtime.rb +145 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/step_argument.rb +9 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/step_definition_light.rb +20 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/step_definitions.rb +14 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/step_match.rb +111 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/step_mother.rb +10 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/wire_support/configuration.rb +30 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/wire_support/connection.rb +55 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/wire_support/request_handler.rb +32 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/wire_support/wire_exception.rb +32 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/wire_support/wire_language.rb +54 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/wire_support/wire_packet.rb +32 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/wire_support/wire_protocol/requests.rb +123 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/wire_support/wire_protocol.rb +44 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/wire_support/wire_step_definition.rb +26 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber.rb +27 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/ast/background_spec.rb +110 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/ast/feature_factory.rb +60 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/ast/feature_spec.rb +63 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/ast/outline_table_spec.rb +21 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/ast/py_string_spec.rb +40 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/ast/scenario_outline_spec.rb +65 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/ast/scenario_spec.rb +43 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/ast/step_spec.rb +66 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/ast/table_spec.rb +465 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/ast/tree_walker_spec.rb +11 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/broadcaster_spec.rb +15 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/cli/configuration_spec.rb +431 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/cli/drb_client_spec.rb +77 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/cli/main_spec.rb +134 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/cli/options_spec.rb +351 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/cli/profile_loader_spec.rb +35 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/configuration_spec.rb +23 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/core_ext/proc_spec.rb +68 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/formatter/ansicolor_spec.rb +31 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/formatter/color_io_spec.rb +29 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/formatter/duration_spec.rb +22 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/formatter/html_spec.rb +258 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/formatter/junit_spec.rb +111 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/formatter/progress_spec.rb +38 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/formatter/spec_helper.rb +51 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/rb_support/rb_language_spec.rb +283 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/rb_support/rb_step_definition_spec.rb +99 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/rb_support/regexp_argument_matcher_spec.rb +18 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/runtime/support_code_spec.rb +112 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/runtime_spec.rb +41 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/sell_cucumbers.feature +19 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/step_match_spec.rb +69 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/wire_support/configuration_spec.rb +51 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/wire_support/connection_spec.rb +46 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/wire_support/wire_exception_spec.rb +44 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/wire_support/wire_language_spec.rb +47 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/wire_support/wire_packet_spec.rb +40 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/wire_support/wire_step_definition_spec.rb +20 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/world/pending_spec.rb +46 -0
- data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/spec_helper.rb +10 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/.gitattributes +2 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/.gitignore +11 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/.mailmap +2 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/.rspec +1 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/.rvmrc +1 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/Gemfile +5 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/History.txt +327 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/LICENSE +20 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/README.rdoc +59 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/Rakefile +16 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/VERSION +1 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/build_native_gems.sh +8 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/cucumber.yml +3 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/features/escaped_pipes.feature +8 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/features/feature_parser.feature +237 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/features/json_formatter.feature +278 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/features/json_parser.feature +318 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/features/native_lexer.feature +19 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/features/parser_with_native_lexer.feature +205 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/features/pretty_formatter.feature +15 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/features/step_definitions/eyeball_steps.rb +3 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/features/step_definitions/gherkin_steps.rb +29 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/features/step_definitions/json_formatter_steps.rb +28 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/features/step_definitions/json_parser_steps.rb +22 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/features/step_definitions/pretty_formatter_steps.rb +84 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/features/steps_parser.feature +46 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/features/support/env.rb +39 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/gherkin.gemspec +58 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/ikvm/.gitignore +3 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/java/.gitignore +5 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/java/src/main/java/gherkin/lexer/i18n/.gitignore +1 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/java/src/main/resources/gherkin/.gitignore +1 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/.gitignore +4 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/c_lexer.rb +17 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/formatter/argument.rb +15 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/formatter/colors.rb +116 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/formatter/escaping.rb +15 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/formatter/filter_formatter.rb +136 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/formatter/json_formatter.rb +72 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/formatter/line_filter.rb +26 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/formatter/model.rb +239 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/formatter/pretty_formatter.rb +217 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/formatter/regexp_filter.rb +21 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/formatter/step_printer.rb +17 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/formatter/tag_count_formatter.rb +47 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/formatter/tag_filter.rb +19 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/i18n.rb +180 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/i18n.yml +601 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/json_parser.rb +88 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/lexer/i18n_lexer.rb +47 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/listener/event.rb +45 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/listener/formatter_listener.rb +113 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/native/ikvm.rb +55 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/native/java.rb +55 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/native/null.rb +9 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/native.rb +7 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/parser/meta.txt +5 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/parser/parser.rb +164 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/parser/root.txt +11 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/parser/steps.txt +4 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/rb_lexer/.gitignore +1 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/rb_lexer/README.rdoc +8 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/rb_lexer.rb +8 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/rubify.rb +24 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/tag_expression.rb +62 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/version.rb +3 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin.rb +2 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/ragel/i18n/.gitignore +1 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/ragel/lexer.c.rl.erb +459 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/ragel/lexer.java.rl.erb +224 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/ragel/lexer.rb.rl.erb +179 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/ragel/lexer_common.rl.erb +50 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/c_lexer_spec.rb +21 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/fixtures/1.feature +8 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/fixtures/comments_in_table.feature +9 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/fixtures/complex.feature +45 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/fixtures/complex.json +143 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/fixtures/complex_for_filtering.feature +60 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/fixtures/complex_with_tags.feature +61 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/fixtures/dos_line_endings.feature +45 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/fixtures/hantu_pisang.feature +35 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/fixtures/i18n_fr.feature +14 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/fixtures/i18n_no.feature +7 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/fixtures/i18n_zh-CN.feature +9 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/fixtures/scenario_outline_with_tags.feature +13 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/fixtures/scenario_without_steps.feature +5 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/fixtures/simple_with_comments.feature +7 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/fixtures/simple_with_tags.feature +11 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/fixtures/with_bom.feature +3 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/formatter/colors_spec.rb +18 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/formatter/filter_formatter_spec.rb +167 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/formatter/model_spec.rb +15 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/formatter/pretty_formatter_spec.rb +147 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/formatter/spaces.feature +9 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/formatter/step_printer_spec.rb +55 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/formatter/tabs.feature +9 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/formatter/tag_count_formatter_spec.rb +30 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/i18n_spec.rb +153 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/java_lexer_spec.rb +20 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/java_libs.rb +13 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/json.rb +5 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/json_parser_spec.rb +67 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/lexer/i18n_lexer_spec.rb +43 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/output_stream_string_io.rb +20 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/parser/parser_spec.rb +16 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/rb_lexer_spec.rb +19 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/sexp_recorder.rb +56 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/shared/lexer_group.rb +592 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/shared/py_string_group.rb +153 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/shared/row_group.rb +120 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/shared/tags_group.rb +54 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/tag_expression_spec.rb +137 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/spec_helper.rb +69 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/tasks/bench/feature_builder.rb +49 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/tasks/bench/generated/.gitignore +1 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/tasks/bench/null_listener.rb +4 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/tasks/bench.rake +184 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/tasks/compile.rake +102 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/tasks/cucumber.rake +18 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/tasks/gems.rake +42 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/tasks/ikvm.rake +54 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/tasks/ragel_task.rb +70 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/tasks/rdoc.rake +9 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/tasks/release.rake +30 -0
- data/bundler/ruby/1.8/gems/gherkin-2.2.9/tasks/rspec.rake +8 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/.require_paths +4 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/CHANGES +179 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/COPYING +58 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/GPL +340 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/README +356 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/Rakefile +292 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/TODO +1 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/VERSION +1 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkComparison.log +52 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast-autocorrelation.dat +1000 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast.dat +1001 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty-autocorrelation.dat +900 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty.dat +901 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe-autocorrelation.dat +1000 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe.dat +1001 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt.log +261 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast-autocorrelation.dat +1000 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast.dat +1001 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty-autocorrelation.dat +1000 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty.dat +1001 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe-autocorrelation.dat +1000 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe.dat +1001 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure.log +262 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator-autocorrelation.dat +1000 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator.dat +1001 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails.log +82 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkComparison.log +34 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser-autocorrelation.dat +900 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser.dat +901 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt.log +81 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser-autocorrelation.dat +1000 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser.dat +1001 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure.log +82 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser-autocorrelation.dat +1000 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser.dat +1001 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails.log +82 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser-autocorrelation.dat +1000 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser.dat +1001 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML.log +82 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/generator2_benchmark.rb +222 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/generator_benchmark.rb +224 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/ohai.json +1216 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/ohai.ruby +1 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/parser2_benchmark.rb +251 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/parser_benchmark.rb +259 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/bin/edit_json.rb +9 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/bin/prettify_json.rb +75 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/data/example.json +1 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/data/index.html +38 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/data/prototype.js +4184 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/ext/json/ext/generator/Makefile +157 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/ext/json/ext/generator/extconf.rb +20 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/ext/json/ext/generator/generator.bundle +0 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/ext/json/ext/generator/generator.c +1417 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/ext/json/ext/generator/generator.h +197 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/ext/json/ext/generator/generator.o +0 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/ext/json/ext/generator/mkmf.log +10 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/ext/json/ext/json/ext/generator.bundle +0 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/ext/json/ext/json/ext/parser.bundle +0 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/ext/json/ext/parser/Makefile +157 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/ext/json/ext/parser/extconf.rb +15 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/ext/json/ext/parser/mkmf.log +10 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/ext/json/ext/parser/parser.bundle +0 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/ext/json/ext/parser/parser.c +1935 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/ext/json/ext/parser/parser.h +71 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/ext/json/ext/parser/parser.o +0 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/ext/json/ext/parser/parser.rl +792 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/install.rb +26 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/lib/json/Array.xpm +21 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/lib/json/FalseClass.xpm +21 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/lib/json/Hash.xpm +21 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/lib/json/Key.xpm +73 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/lib/json/NilClass.xpm +21 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/lib/json/Numeric.xpm +28 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/lib/json/String.xpm +96 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/lib/json/TrueClass.xpm +21 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/lib/json/add/core.rb +148 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/lib/json/add/rails.rb +58 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/lib/json/common.rb +391 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/lib/json/editor.rb +1371 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/lib/json/ext.rb +15 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/lib/json/json.xpm +1499 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/lib/json/pure/generator.rb +439 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/lib/json/pure/parser.rb +309 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/lib/json/pure.rb +77 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/lib/json/version.rb +8 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/lib/json.rb +10 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail1.json +1 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail10.json +1 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail11.json +1 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail12.json +1 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail13.json +1 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail14.json +1 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail18.json +1 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail19.json +1 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail2.json +1 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail20.json +1 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail21.json +1 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail22.json +1 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail23.json +1 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail24.json +1 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail25.json +1 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail27.json +2 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail28.json +2 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail3.json +1 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail4.json +1 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail5.json +1 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail6.json +1 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail7.json +1 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail8.json +1 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail9.json +1 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/pass1.json +56 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/pass15.json +1 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/pass16.json +1 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/pass17.json +1 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/pass2.json +1 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/pass26.json +1 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/pass3.json +6 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tests/test_json.rb +394 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tests/test_json_addition.rb +162 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tests/test_json_encoding.rb +68 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tests/test_json_fixtures.rb +34 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tests/test_json_generate.rb +181 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tests/test_json_rails.rb +144 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tests/test_json_unicode.rb +76 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tools/fuzz.rb +139 -0
- data/bundler/ruby/1.8/gems/json-1.4.6/tools/server.rb +61 -0
- data/bundler/ruby/1.8/gems/term-ansicolor-1.0.5/CHANGES +28 -0
- data/bundler/ruby/1.8/gems/term-ansicolor-1.0.5/COPYING +340 -0
- data/bundler/ruby/1.8/gems/term-ansicolor-1.0.5/README +137 -0
- data/bundler/ruby/1.8/gems/term-ansicolor-1.0.5/Rakefile +88 -0
- data/bundler/ruby/1.8/gems/term-ansicolor-1.0.5/VERSION +1 -0
- data/bundler/ruby/1.8/gems/term-ansicolor-1.0.5/bin/cdiff +19 -0
- data/bundler/ruby/1.8/gems/term-ansicolor-1.0.5/bin/decolor +12 -0
- data/bundler/ruby/1.8/gems/term-ansicolor-1.0.5/examples/example.rb +90 -0
- data/bundler/ruby/1.8/gems/term-ansicolor-1.0.5/install.rb +15 -0
- data/bundler/ruby/1.8/gems/term-ansicolor-1.0.5/lib/term/ansicolor/version.rb +10 -0
- data/bundler/ruby/1.8/gems/term-ansicolor-1.0.5/lib/term/ansicolor.rb +102 -0
- data/bundler/ruby/1.8/gems/term-ansicolor-1.0.5/tests/ansicolor_test.rb +66 -0
- data/bundler/ruby/1.8/specifications/aruba-0.2.6.gemspec +39 -0
- data/bundler/ruby/1.8/specifications/autotest-4.4.5.gemspec +28 -0
- data/bundler/ruby/1.8/specifications/background_process-1.2.gemspec +31 -0
- data/bundler/ruby/1.8/specifications/builder-2.1.2.gemspec +33 -0
- data/bundler/ruby/1.8/specifications/cucumber-0.9.4.gemspec +78 -0
- data/bundler/ruby/1.8/specifications/gherkin-2.2.9.gemspec +53 -0
- data/bundler/ruby/1.8/specifications/json-1.4.6.gemspec +34 -0
- data/bundler/ruby/1.8/specifications/term-ansicolor-1.0.5.gemspec +32 -0
- data/cucumber.yml +6 -0
- data/features/init.feature +31 -0
- data/features/install.feature +25 -0
- data/features/list.feature +6 -0
- data/features/step_definitions/command_steps.rb +9 -0
- data/features/step_definitions/environment_steps.rb +31 -0
- data/features/step_definitions/file_check_steps.rb +16 -0
- data/features/step_definitions/message_steps.rb +28 -0
- data/features/step_definitions/plugin_steps.rb +4 -0
- data/features/support/env.rb +20 -0
- data/features/support/hook.rb +8 -0
- data/features/support/stubs.rb +0 -0
- data/features/uninstall.feature +13 -0
- data/lib/vim-jar/cli.rb +1 -25
- data/lib/vim-jar/config.rb +65 -11
- data/lib/vim-jar/pathogen/pathogen_v1.2.vim +139 -0
- data/lib/vim-jar/plugin.rb +2 -0
- data/lib/vim-jar/plugins.yml +5 -0
- data/lib/vim-jar/version.rb +1 -1
- data/spec/vim-jar/config_spec.rb +33 -4
- data/vim-jar.gemspec +4 -0
- metadata +972 -5
@@ -0,0 +1,688 @@
|
|
1
|
+
require 'gherkin/rubify'
|
2
|
+
require 'gherkin/lexer/i18n_lexer'
|
3
|
+
require 'gherkin/formatter/escaping'
|
4
|
+
|
5
|
+
module Cucumber
|
6
|
+
module Ast
|
7
|
+
# Step Definitions that match a plain text Step with a multiline argument table
|
8
|
+
# will receive it as an instance of Table. A Table object holds the data of a
|
9
|
+
# table parsed from a feature file and lets you access and manipulate the data
|
10
|
+
# in different ways.
|
11
|
+
#
|
12
|
+
# For example:
|
13
|
+
#
|
14
|
+
# Given I have:
|
15
|
+
# | a | b |
|
16
|
+
# | c | d |
|
17
|
+
#
|
18
|
+
# And a matching StepDefinition:
|
19
|
+
#
|
20
|
+
# Given /I have:/ do |table|
|
21
|
+
# data = table.raw
|
22
|
+
# end
|
23
|
+
#
|
24
|
+
# This will store <tt>[['a', 'b'], ['c', 'd']]</tt> in the <tt>data</tt> variable.
|
25
|
+
#
|
26
|
+
class Table
|
27
|
+
class Different < StandardError
|
28
|
+
attr_reader :table
|
29
|
+
|
30
|
+
def initialize(table)
|
31
|
+
super('Tables were not identical')
|
32
|
+
@table = table
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
class Builder
|
37
|
+
attr_reader :rows
|
38
|
+
|
39
|
+
def initialize
|
40
|
+
@rows = []
|
41
|
+
end
|
42
|
+
|
43
|
+
def row(row, line_number)
|
44
|
+
@rows << row
|
45
|
+
end
|
46
|
+
|
47
|
+
def eof
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
include Enumerable
|
52
|
+
include Gherkin::Rubify
|
53
|
+
|
54
|
+
NULL_CONVERSIONS = Hash.new(lambda{ |cell_value| cell_value }).freeze
|
55
|
+
|
56
|
+
attr_accessor :file
|
57
|
+
|
58
|
+
def self.default_arg_name #:nodoc:
|
59
|
+
"table"
|
60
|
+
end
|
61
|
+
|
62
|
+
def self.parse(text, uri, offset)
|
63
|
+
builder = Builder.new
|
64
|
+
lexer = Gherkin::Lexer::I18nLexer.new(builder)
|
65
|
+
lexer.scan(text)
|
66
|
+
new(builder.rows)
|
67
|
+
end
|
68
|
+
|
69
|
+
# Creates a new instance. +raw+ should be an Array of Array of String
|
70
|
+
# or an Array of Hash (similar to what #hashes returns).
|
71
|
+
# You don't typically create your own Table objects - Cucumber will do
|
72
|
+
# it internally and pass them to your Step Definitions.
|
73
|
+
#
|
74
|
+
def initialize(raw, conversion_procs = NULL_CONVERSIONS.dup)
|
75
|
+
@cells_class = Cells
|
76
|
+
@cell_class = Cell
|
77
|
+
|
78
|
+
raw = ensure_array_of_array(rubify(raw))
|
79
|
+
# Verify that it's square
|
80
|
+
transposed = raw.transpose
|
81
|
+
create_cell_matrix(raw)
|
82
|
+
@conversion_procs = conversion_procs
|
83
|
+
end
|
84
|
+
|
85
|
+
def to_step_definition_arg
|
86
|
+
dup
|
87
|
+
end
|
88
|
+
|
89
|
+
# Creates a copy of this table, inheriting any column mappings.
|
90
|
+
# registered with #map_headers!
|
91
|
+
#
|
92
|
+
def dup
|
93
|
+
self.class.new(raw.dup, @conversion_procs.dup)
|
94
|
+
end
|
95
|
+
|
96
|
+
# Returns a new, transposed table. Example:
|
97
|
+
#
|
98
|
+
# | a | 7 | 4 |
|
99
|
+
# | b | 9 | 2 |
|
100
|
+
#
|
101
|
+
# Gets converted into the following:
|
102
|
+
#
|
103
|
+
# | a | b |
|
104
|
+
# | 7 | 9 |
|
105
|
+
# | 4 | 2 |
|
106
|
+
#
|
107
|
+
def transpose
|
108
|
+
self.class.new(raw.transpose, @conversion_procs.dup)
|
109
|
+
end
|
110
|
+
|
111
|
+
# Converts this table into an Array of Hash where the keys of each
|
112
|
+
# Hash are the headers in the table. For example, a Table built from
|
113
|
+
# the following plain text:
|
114
|
+
#
|
115
|
+
# | a | b | sum |
|
116
|
+
# | 2 | 3 | 5 |
|
117
|
+
# | 7 | 9 | 16 |
|
118
|
+
#
|
119
|
+
# Gets converted into the following:
|
120
|
+
#
|
121
|
+
# [{'a' => '2', 'b' => '3', 'sum' => '5'}, {'a' => '7', 'b' => '9', 'sum' => '16'}]
|
122
|
+
#
|
123
|
+
# Use #map_column! to specify how values in a column are converted.
|
124
|
+
#
|
125
|
+
def hashes
|
126
|
+
@hashes ||= cells_rows[1..-1].map do |row|
|
127
|
+
row.to_hash
|
128
|
+
end
|
129
|
+
end
|
130
|
+
|
131
|
+
# Converts this table into a Hash where the first column is
|
132
|
+
# used as keys and the second column is used as values
|
133
|
+
#
|
134
|
+
# | a | 2 |
|
135
|
+
# | b | 3 |
|
136
|
+
#
|
137
|
+
# Gets converted into the following:
|
138
|
+
#
|
139
|
+
# {'a' => '2', 'b' => '3'}
|
140
|
+
#
|
141
|
+
# The table must be exactly two columns wide
|
142
|
+
#
|
143
|
+
def rows_hash
|
144
|
+
return @rows_hash if @rows_hash
|
145
|
+
verify_table_width(2)
|
146
|
+
@rows_hash = self.transpose.hashes[0]
|
147
|
+
end
|
148
|
+
|
149
|
+
# Gets the raw data of this table. For example, a Table built from
|
150
|
+
# the following plain text:
|
151
|
+
#
|
152
|
+
# | a | b |
|
153
|
+
# | c | d |
|
154
|
+
#
|
155
|
+
# gets converted into the following:
|
156
|
+
#
|
157
|
+
# [['a', 'b'], ['c', 'd']]
|
158
|
+
#
|
159
|
+
def raw
|
160
|
+
cell_matrix.map do |row|
|
161
|
+
row.map do |cell|
|
162
|
+
cell.value
|
163
|
+
end
|
164
|
+
end
|
165
|
+
end
|
166
|
+
|
167
|
+
def column_names #:nodoc:
|
168
|
+
@col_names ||= cell_matrix[0].map { |cell| cell.value }
|
169
|
+
end
|
170
|
+
|
171
|
+
# Same as #raw, but skips the first (header) row
|
172
|
+
def rows
|
173
|
+
raw[1..-1]
|
174
|
+
end
|
175
|
+
|
176
|
+
def each_cells_row(&proc) #:nodoc:
|
177
|
+
cells_rows.each(&proc)
|
178
|
+
end
|
179
|
+
|
180
|
+
def accept(visitor) #:nodoc:
|
181
|
+
return if Cucumber.wants_to_quit
|
182
|
+
cells_rows.each do |row|
|
183
|
+
visitor.visit_table_row(row)
|
184
|
+
end
|
185
|
+
nil
|
186
|
+
end
|
187
|
+
|
188
|
+
# Matches +pattern+ against the header row of the table.
|
189
|
+
# This is used especially for argument transforms.
|
190
|
+
#
|
191
|
+
# Example:
|
192
|
+
# | column_1_name | column_2_name |
|
193
|
+
# | x | y |
|
194
|
+
#
|
195
|
+
# table.match(/table:column_1_name,column_2_name/) #=> non-nil
|
196
|
+
#
|
197
|
+
# Note: must use 'table:' prefix on match
|
198
|
+
def match(pattern)
|
199
|
+
header_to_match = "table:#{headers.join(',')}"
|
200
|
+
pattern.match(header_to_match)
|
201
|
+
end
|
202
|
+
|
203
|
+
# For testing only
|
204
|
+
def to_sexp #:nodoc:
|
205
|
+
[:table, *cells_rows.map{|row| row.to_sexp}]
|
206
|
+
end
|
207
|
+
|
208
|
+
# Redefines the table headers. This makes it possible to use
|
209
|
+
# prettier and more flexible header names in the features. The
|
210
|
+
# keys of +mappings+ are Strings or regular expressions
|
211
|
+
# (anything that responds to #=== will work) that may match
|
212
|
+
# column headings in the table. The values of +mappings+ are
|
213
|
+
# desired names for the columns.
|
214
|
+
#
|
215
|
+
# Example:
|
216
|
+
#
|
217
|
+
# | Phone Number | Address |
|
218
|
+
# | 123456 | xyz |
|
219
|
+
# | 345678 | abc |
|
220
|
+
#
|
221
|
+
# A StepDefinition receiving this table can then map the columns
|
222
|
+
# with both Regexp and String:
|
223
|
+
#
|
224
|
+
# table.map_headers!(/phone( number)?/i => :phone, 'Address' => :address)
|
225
|
+
# table.hashes
|
226
|
+
# # => [{:phone => '123456', :address => 'xyz'}, {:phone => '345678', :address => 'abc'}]
|
227
|
+
#
|
228
|
+
# You may also pass in a block if you wish to convert all of the headers:
|
229
|
+
#
|
230
|
+
# table.map_headers! { |header| header.downcase }
|
231
|
+
# table.hashes.keys
|
232
|
+
# # => ['phone number', 'address']
|
233
|
+
#
|
234
|
+
# When a block is passed in along with a hash then the mappings in the hash take precendence:
|
235
|
+
#
|
236
|
+
# table.map_headers!('Address' => 'ADDRESS') { |header| header.downcase }
|
237
|
+
# table.hashes.keys
|
238
|
+
# # => ['phone number', 'ADDRESS']
|
239
|
+
#
|
240
|
+
def map_headers!(mappings={}, &block)
|
241
|
+
header_cells = cell_matrix[0]
|
242
|
+
|
243
|
+
if block_given?
|
244
|
+
header_values = header_cells.map { |cell| cell.value } - mappings.keys
|
245
|
+
mappings = mappings.merge(Hash[*header_values.zip(header_values.map(&block)).flatten])
|
246
|
+
end
|
247
|
+
|
248
|
+
mappings.each_pair do |pre, post|
|
249
|
+
mapped_cells = header_cells.select{|cell| pre === cell.value}
|
250
|
+
raise "No headers matched #{pre.inspect}" if mapped_cells.empty?
|
251
|
+
raise "#{mapped_cells.length} headers matched #{pre.inspect}: #{mapped_cells.map{|c| c.value}.inspect}" if mapped_cells.length > 1
|
252
|
+
mapped_cells[0].value = post
|
253
|
+
if @conversion_procs.has_key?(pre)
|
254
|
+
@conversion_procs[post] = @conversion_procs.delete(pre)
|
255
|
+
end
|
256
|
+
end
|
257
|
+
end
|
258
|
+
|
259
|
+
# Returns a new Table where the headers are redefined. See #map_headers!
|
260
|
+
def map_headers(mappings={})
|
261
|
+
table = self.dup
|
262
|
+
table.map_headers!(mappings)
|
263
|
+
table
|
264
|
+
end
|
265
|
+
|
266
|
+
# Change how #hashes converts column values. The +column_name+ argument identifies the column
|
267
|
+
# and +conversion_proc+ performs the conversion for each cell in that column. If +strict+ is
|
268
|
+
# true, an error will be raised if the column named +column_name+ is not found. If +strict+
|
269
|
+
# is false, no error will be raised. Example:
|
270
|
+
#
|
271
|
+
# Given /^an expense report for (.*) with the following posts:$/ do |table|
|
272
|
+
# posts_table.map_column!('amount') { |a| a.to_i }
|
273
|
+
# posts_table.hashes.each do |post|
|
274
|
+
# # post['amount'] is a Fixnum, rather than a String
|
275
|
+
# end
|
276
|
+
# end
|
277
|
+
#
|
278
|
+
def map_column!(column_name, strict=true, &conversion_proc)
|
279
|
+
verify_column(column_name) if strict
|
280
|
+
@conversion_procs[column_name] = conversion_proc
|
281
|
+
end
|
282
|
+
|
283
|
+
# Compares +other_table+ to self. If +other_table+ contains columns
|
284
|
+
# and/or rows that are not in self, new columns/rows are added at the
|
285
|
+
# relevant positions, marking the cells in those rows/columns as
|
286
|
+
# <tt>surplus</tt>. Likewise, if +other_table+ lacks columns and/or
|
287
|
+
# rows that are present in self, these are marked as <tt>missing</tt>.
|
288
|
+
#
|
289
|
+
# <tt>surplus</tt> and <tt>missing</tt> cells are recognised by formatters
|
290
|
+
# and displayed so that it's easy to read the differences.
|
291
|
+
#
|
292
|
+
# Cells that are different, but <em>look</em> identical (for example the
|
293
|
+
# boolean true and the string "true") are converted to their Object#inspect
|
294
|
+
# representation and preceded with (i) - to make it easier to identify
|
295
|
+
# where the difference actually is.
|
296
|
+
#
|
297
|
+
# Since all tables that are passed to StepDefinitions always have String
|
298
|
+
# objects in their cells, you may want to use #map_column! before calling
|
299
|
+
# #diff!. You can use #map_column! on either of the tables.
|
300
|
+
#
|
301
|
+
# A Different error is raised if there are missing rows or columns, or
|
302
|
+
# surplus rows. An error is <em>not</em> raised for surplus columns.
|
303
|
+
# Whether to raise or not raise can be changed by setting values in
|
304
|
+
# +options+ to true or false:
|
305
|
+
#
|
306
|
+
# * <tt>missing_row</tt> : Raise on missing rows (defaults to true)
|
307
|
+
# * <tt>surplus_row</tt> : Raise on surplus rows (defaults to true)
|
308
|
+
# * <tt>missing_col</tt> : Raise on missing columns (defaults to true)
|
309
|
+
# * <tt>surplus_col</tt> : Raise on surplus columns (defaults to false)
|
310
|
+
#
|
311
|
+
# The +other_table+ argument can be another Table, an Array of Array or
|
312
|
+
# an Array of Hash (similar to the structure returned by #hashes).
|
313
|
+
#
|
314
|
+
# Calling this method is particularly useful in <tt>Then</tt> steps that take
|
315
|
+
# a Table argument, if you want to compare that table to some actual values.
|
316
|
+
#
|
317
|
+
def diff!(other_table, options={})
|
318
|
+
options = {:missing_row => true, :surplus_row => true, :missing_col => true, :surplus_col => false}.merge(options)
|
319
|
+
|
320
|
+
other_table = ensure_table(other_table)
|
321
|
+
other_table.convert_columns!
|
322
|
+
ensure_green!
|
323
|
+
|
324
|
+
original_width = cell_matrix[0].length
|
325
|
+
other_table_cell_matrix = pad!(other_table.cell_matrix)
|
326
|
+
padded_width = cell_matrix[0].length
|
327
|
+
|
328
|
+
missing_col = cell_matrix[0].detect{|cell| cell.status == :undefined}
|
329
|
+
surplus_col = padded_width > original_width
|
330
|
+
|
331
|
+
require_diff_lcs
|
332
|
+
cell_matrix.extend(Diff::LCS)
|
333
|
+
convert_columns!
|
334
|
+
changes = cell_matrix.diff(other_table_cell_matrix).flatten
|
335
|
+
|
336
|
+
inserted = 0
|
337
|
+
missing = 0
|
338
|
+
|
339
|
+
row_indices = Array.new(other_table_cell_matrix.length) {|n| n}
|
340
|
+
|
341
|
+
last_change = nil
|
342
|
+
missing_row_pos = nil
|
343
|
+
insert_row_pos = nil
|
344
|
+
|
345
|
+
changes.each do |change|
|
346
|
+
if(change.action == '-')
|
347
|
+
missing_row_pos = change.position + inserted
|
348
|
+
cell_matrix[missing_row_pos].each{|cell| cell.status = :undefined}
|
349
|
+
row_indices.insert(missing_row_pos, nil)
|
350
|
+
missing += 1
|
351
|
+
else # '+'
|
352
|
+
insert_row_pos = change.position + missing
|
353
|
+
inserted_row = change.element
|
354
|
+
inserted_row.each{|cell| cell.status = :comment}
|
355
|
+
cell_matrix.insert(insert_row_pos, inserted_row)
|
356
|
+
row_indices[insert_row_pos] = nil
|
357
|
+
inspect_rows(cell_matrix[missing_row_pos], inserted_row) if last_change && last_change.action == '-'
|
358
|
+
inserted += 1
|
359
|
+
end
|
360
|
+
last_change = change
|
361
|
+
end
|
362
|
+
|
363
|
+
other_table_cell_matrix.each_with_index do |other_row, i|
|
364
|
+
row_index = row_indices.index(i)
|
365
|
+
row = cell_matrix[row_index] if row_index
|
366
|
+
if row
|
367
|
+
(original_width..padded_width).each do |col_index|
|
368
|
+
surplus_cell = other_row[col_index]
|
369
|
+
row[col_index].value = surplus_cell.value if row[col_index]
|
370
|
+
end
|
371
|
+
end
|
372
|
+
end
|
373
|
+
|
374
|
+
clear_cache!
|
375
|
+
should_raise =
|
376
|
+
missing_row_pos && options[:missing_row] ||
|
377
|
+
insert_row_pos && options[:surplus_row] ||
|
378
|
+
missing_col && options[:missing_col] ||
|
379
|
+
surplus_col && options[:surplus_col]
|
380
|
+
raise Different.new(self) if should_raise
|
381
|
+
end
|
382
|
+
|
383
|
+
def to_hash(cells) #:nodoc:
|
384
|
+
hash = Hash.new do |hash, key|
|
385
|
+
hash[key.to_s] if key.is_a?(Symbol)
|
386
|
+
end
|
387
|
+
column_names.each_with_index do |column_name, column_index|
|
388
|
+
value = @conversion_procs[column_name].call(cells.value(column_index))
|
389
|
+
hash[column_name] = value
|
390
|
+
end
|
391
|
+
hash
|
392
|
+
end
|
393
|
+
|
394
|
+
def index(cells) #:nodoc:
|
395
|
+
cells_rows.index(cells)
|
396
|
+
end
|
397
|
+
|
398
|
+
def verify_column(column_name) #:nodoc:
|
399
|
+
raise %{The column named "#{column_name}" does not exist} unless raw[0].include?(column_name)
|
400
|
+
end
|
401
|
+
|
402
|
+
def verify_table_width(width) #:nodoc:
|
403
|
+
raise %{The table must have exactly #{width} columns} unless raw[0].size == width
|
404
|
+
end
|
405
|
+
|
406
|
+
def arguments_replaced(arguments) #:nodoc:
|
407
|
+
raw_with_replaced_args = raw.map do |row|
|
408
|
+
row.map do |cell|
|
409
|
+
cell_with_replaced_args = cell
|
410
|
+
arguments.each do |name, value|
|
411
|
+
if cell_with_replaced_args && cell_with_replaced_args.include?(name)
|
412
|
+
cell_with_replaced_args = value ? cell_with_replaced_args.gsub(name, value) : nil
|
413
|
+
end
|
414
|
+
end
|
415
|
+
cell_with_replaced_args
|
416
|
+
end
|
417
|
+
end
|
418
|
+
Table.new(raw_with_replaced_args)
|
419
|
+
end
|
420
|
+
|
421
|
+
def has_text?(text) #:nodoc:
|
422
|
+
raw.flatten.compact.detect{|cell_value| cell_value.index(text)}
|
423
|
+
end
|
424
|
+
|
425
|
+
def cells_rows #:nodoc:
|
426
|
+
@rows ||= cell_matrix.map do |cell_row|
|
427
|
+
@cells_class.new(self, cell_row)
|
428
|
+
end
|
429
|
+
end
|
430
|
+
|
431
|
+
def headers #:nodoc:
|
432
|
+
raw.first
|
433
|
+
end
|
434
|
+
|
435
|
+
def header_cell(col) #:nodoc:
|
436
|
+
cells_rows[0][col]
|
437
|
+
end
|
438
|
+
|
439
|
+
def cell_matrix #:nodoc:
|
440
|
+
@cell_matrix
|
441
|
+
end
|
442
|
+
|
443
|
+
def col_width(col) #:nodoc:
|
444
|
+
columns[col].__send__(:width)
|
445
|
+
end
|
446
|
+
|
447
|
+
def to_s(options = {}) #:nodoc:
|
448
|
+
require 'cucumber/formatter/pretty'
|
449
|
+
options = {:color => true, :indent => 2, :prefixes => TO_S_PREFIXES}.merge(options)
|
450
|
+
io = StringIO.new
|
451
|
+
|
452
|
+
c = Term::ANSIColor.coloring?
|
453
|
+
Term::ANSIColor.coloring = options[:color]
|
454
|
+
formatter = Formatter::Pretty.new(nil, io, options)
|
455
|
+
formatter.instance_variable_set('@indent', options[:indent])
|
456
|
+
TreeWalker.new(nil, [formatter]).visit_multiline_arg(self)
|
457
|
+
|
458
|
+
Term::ANSIColor.coloring = c
|
459
|
+
io.rewind
|
460
|
+
s = "\n" + io.read + (" " * (options[:indent] - 2))
|
461
|
+
s
|
462
|
+
end
|
463
|
+
|
464
|
+
private
|
465
|
+
|
466
|
+
TO_S_PREFIXES = Hash.new(' ')
|
467
|
+
TO_S_PREFIXES[:comment] = '(+) '
|
468
|
+
TO_S_PREFIXES[:undefined] = '(-) '
|
469
|
+
|
470
|
+
protected
|
471
|
+
|
472
|
+
def inspect_rows(missing_row, inserted_row) #:nodoc:
|
473
|
+
missing_row.each_with_index do |missing_cell, col|
|
474
|
+
inserted_cell = inserted_row[col]
|
475
|
+
if(missing_cell.value != inserted_cell.value && (missing_cell.value.to_s == inserted_cell.value.to_s))
|
476
|
+
missing_cell.inspect!
|
477
|
+
inserted_cell.inspect!
|
478
|
+
end
|
479
|
+
end
|
480
|
+
end
|
481
|
+
|
482
|
+
def create_cell_matrix(raw) #:nodoc:
|
483
|
+
@cell_matrix = raw.map do |raw_row|
|
484
|
+
line = raw_row.line rescue -1
|
485
|
+
raw_row.map do |raw_cell|
|
486
|
+
new_cell(raw_cell, line)
|
487
|
+
end
|
488
|
+
end
|
489
|
+
end
|
490
|
+
|
491
|
+
def convert_columns! #:nodoc:
|
492
|
+
cell_matrix.transpose.each do |col|
|
493
|
+
conversion_proc = @conversion_procs[col[0].value]
|
494
|
+
col[1..-1].each do |cell|
|
495
|
+
cell.value = conversion_proc.call(cell.value)
|
496
|
+
end
|
497
|
+
end
|
498
|
+
end
|
499
|
+
|
500
|
+
def require_diff_lcs #:nodoc:
|
501
|
+
begin
|
502
|
+
require 'diff/lcs'
|
503
|
+
rescue LoadError => e
|
504
|
+
e.message << "\n Please gem install diff-lcs\n"
|
505
|
+
raise e
|
506
|
+
end
|
507
|
+
end
|
508
|
+
|
509
|
+
def clear_cache! #:nodoc:
|
510
|
+
@hashes = @rows_hash = @rows = @columns = nil
|
511
|
+
end
|
512
|
+
|
513
|
+
def columns #:nodoc:
|
514
|
+
@columns ||= cell_matrix.transpose.map do |cell_row|
|
515
|
+
@cells_class.new(self, cell_row)
|
516
|
+
end
|
517
|
+
end
|
518
|
+
|
519
|
+
def new_cell(raw_cell, line) #:nodoc:
|
520
|
+
@cell_class.new(raw_cell, self, line)
|
521
|
+
end
|
522
|
+
|
523
|
+
# Pads our own cell_matrix and returns a cell matrix of same
|
524
|
+
# column width that can be used for diffing
|
525
|
+
def pad!(other_cell_matrix) #:nodoc:
|
526
|
+
clear_cache!
|
527
|
+
cols = cell_matrix.transpose
|
528
|
+
unmapped_cols = other_cell_matrix.transpose
|
529
|
+
|
530
|
+
mapped_cols = []
|
531
|
+
|
532
|
+
cols.each_with_index do |col, col_index|
|
533
|
+
header = col[0]
|
534
|
+
candidate_cols, unmapped_cols = unmapped_cols.partition do |other_col|
|
535
|
+
other_col[0] == header
|
536
|
+
end
|
537
|
+
raise "More than one column has the header #{header}" if candidate_cols.size > 2
|
538
|
+
|
539
|
+
other_padded_col = if candidate_cols.size == 1
|
540
|
+
# Found a matching column
|
541
|
+
candidate_cols[0]
|
542
|
+
else
|
543
|
+
mark_as_missing(cols[col_index])
|
544
|
+
(0...other_cell_matrix.length).map do |row|
|
545
|
+
val = row == 0 ? header.value : nil
|
546
|
+
SurplusCell.new(val, self, -1)
|
547
|
+
end
|
548
|
+
end
|
549
|
+
mapped_cols.insert(col_index, other_padded_col)
|
550
|
+
end
|
551
|
+
|
552
|
+
unmapped_cols.each_with_index do |col, col_index|
|
553
|
+
empty_col = (0...cell_matrix.length).map do |row|
|
554
|
+
SurplusCell.new(nil, self, -1)
|
555
|
+
end
|
556
|
+
cols << empty_col
|
557
|
+
end
|
558
|
+
|
559
|
+
@cell_matrix = cols.transpose
|
560
|
+
(mapped_cols + unmapped_cols).transpose
|
561
|
+
end
|
562
|
+
|
563
|
+
def ensure_table(table_or_array) #:nodoc:
|
564
|
+
return table_or_array if Table === table_or_array
|
565
|
+
Table.new(table_or_array)
|
566
|
+
end
|
567
|
+
|
568
|
+
def ensure_array_of_array(array)
|
569
|
+
Hash === array[0] ? hashes_to_array(array) : array
|
570
|
+
end
|
571
|
+
|
572
|
+
def hashes_to_array(hashes) #:nodoc:
|
573
|
+
header = hashes[0].keys
|
574
|
+
[header] + hashes.map{|hash| header.map{|key| hash[key]}}
|
575
|
+
end
|
576
|
+
|
577
|
+
def ensure_green! #:nodoc:
|
578
|
+
each_cell{|cell| cell.status = :passed}
|
579
|
+
end
|
580
|
+
|
581
|
+
def each_cell(&proc) #:nodoc:
|
582
|
+
cell_matrix.each{|row| row.each(&proc)}
|
583
|
+
end
|
584
|
+
|
585
|
+
def mark_as_missing(col) #:nodoc:
|
586
|
+
col.each do |cell|
|
587
|
+
cell.status = :undefined
|
588
|
+
end
|
589
|
+
end
|
590
|
+
|
591
|
+
# Represents a row of cells or columns of cells
|
592
|
+
class Cells #:nodoc:
|
593
|
+
include Enumerable
|
594
|
+
include Gherkin::Formatter::Escaping
|
595
|
+
|
596
|
+
attr_reader :exception
|
597
|
+
|
598
|
+
def initialize(table, cells)
|
599
|
+
@table, @cells = table, cells
|
600
|
+
end
|
601
|
+
|
602
|
+
def accept(visitor)
|
603
|
+
return if Cucumber.wants_to_quit
|
604
|
+
each do |cell|
|
605
|
+
visitor.visit_table_cell(cell)
|
606
|
+
end
|
607
|
+
nil
|
608
|
+
end
|
609
|
+
|
610
|
+
# For testing only
|
611
|
+
def to_sexp #:nodoc:
|
612
|
+
[:row, line, *@cells.map{|cell| cell.to_sexp}]
|
613
|
+
end
|
614
|
+
|
615
|
+
def to_hash #:nodoc:
|
616
|
+
@to_hash ||= @table.to_hash(self)
|
617
|
+
end
|
618
|
+
|
619
|
+
def value(n) #:nodoc:
|
620
|
+
self[n].value
|
621
|
+
end
|
622
|
+
|
623
|
+
def [](n)
|
624
|
+
@cells[n]
|
625
|
+
end
|
626
|
+
|
627
|
+
def line
|
628
|
+
@cells[0].line
|
629
|
+
end
|
630
|
+
|
631
|
+
def dom_id
|
632
|
+
"row_#{line}"
|
633
|
+
end
|
634
|
+
|
635
|
+
private
|
636
|
+
|
637
|
+
def index
|
638
|
+
@table.index(self)
|
639
|
+
end
|
640
|
+
|
641
|
+
def width
|
642
|
+
map{|cell| cell.value ? escape_cell(cell.value.to_s).unpack('U*').length : 0}.max
|
643
|
+
end
|
644
|
+
|
645
|
+
def each(&proc)
|
646
|
+
@cells.each(&proc)
|
647
|
+
end
|
648
|
+
end
|
649
|
+
|
650
|
+
class Cell #:nodoc:
|
651
|
+
attr_reader :line, :table
|
652
|
+
attr_accessor :status, :value
|
653
|
+
|
654
|
+
def initialize(value, table, line)
|
655
|
+
@value, @table, @line = value, table, line
|
656
|
+
end
|
657
|
+
|
658
|
+
def accept(visitor)
|
659
|
+
return if Cucumber.wants_to_quit
|
660
|
+
visitor.visit_table_cell_value(value, status)
|
661
|
+
end
|
662
|
+
|
663
|
+
def inspect!
|
664
|
+
@value = "(i) #{value.inspect}"
|
665
|
+
end
|
666
|
+
|
667
|
+
def ==(o)
|
668
|
+
SurplusCell === o || value == o.value
|
669
|
+
end
|
670
|
+
|
671
|
+
# For testing only
|
672
|
+
def to_sexp #:nodoc:
|
673
|
+
[:cell, @value]
|
674
|
+
end
|
675
|
+
end
|
676
|
+
|
677
|
+
class SurplusCell < Cell #:nodoc:
|
678
|
+
def status
|
679
|
+
:comment
|
680
|
+
end
|
681
|
+
|
682
|
+
def ==(o)
|
683
|
+
true
|
684
|
+
end
|
685
|
+
end
|
686
|
+
end
|
687
|
+
end
|
688
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
require 'gherkin/tag_expression'
|
2
|
+
|
3
|
+
module Cucumber
|
4
|
+
module Ast
|
5
|
+
class Tags #:nodoc:
|
6
|
+
attr_reader :tag_names
|
7
|
+
|
8
|
+
def initialize(line, tag_names)
|
9
|
+
@line, @tag_names = line, tag_names
|
10
|
+
end
|
11
|
+
|
12
|
+
def accept(visitor)
|
13
|
+
return if Cucumber.wants_to_quit
|
14
|
+
@tag_names.each do |tag_name|
|
15
|
+
visitor.visit_tag_name(tag_name)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
def accept_hook?(hook)
|
20
|
+
Gherkin::TagExpression.new(hook.tag_expressions).eval(@tag_names)
|
21
|
+
end
|
22
|
+
|
23
|
+
def to_sexp
|
24
|
+
@tag_names.map{|tag_name| [:tag, tag_name]}
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|