syllable_counter 0.0.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +6 -14
- data/README.md +5 -2
- data/lib/syllable_counter.rb +7 -19
- data/lib/syllable_counter/calculate.rb +28 -0
- data/lib/syllable_counter/english_exceptions.rb +11 -0
- data/lib/syllable_counter/rules.rb +71 -0
- data/lib/syllable_counter/version.rb +1 -1
- data/spec/calculator_spec.rb +27 -0
- data/spec/rules_spec.rb +39 -0
- data/spec/spec_helper.rb +3 -0
- data/spec/syllable_counter_spec.rb +6 -75
- data/syllable_counter.gemspec +2 -2
- data/vendor/bundle/bin/autospec +23 -0
- data/vendor/bundle/bin/htmldiff +25 -0
- data/vendor/bundle/bin/ldiff +25 -0
- data/vendor/bundle/bin/rake +23 -0
- data/vendor/bundle/bin/rspec +23 -0
- data/vendor/bundle/build_info/diff-lcs-1.2.4.info +1 -0
- data/vendor/bundle/build_info/rake-10.1.0.info +1 -0
- data/vendor/bundle/build_info/rspec-2.14.1.info +1 -0
- data/vendor/bundle/build_info/rspec-core-2.14.5.info +1 -0
- data/vendor/bundle/build_info/rspec-expectations-2.14.2.info +1 -0
- data/vendor/bundle/build_info/rspec-mocks-2.14.3.info +1 -0
- data/vendor/bundle/gems/diff-lcs-1.2.4/.autotest +3 -0
- data/vendor/bundle/gems/diff-lcs-1.2.4/.gemtest +0 -0
- data/vendor/bundle/gems/diff-lcs-1.2.4/.hoerc +2 -0
- data/vendor/bundle/gems/diff-lcs-1.2.4/.rspec +2 -0
- data/vendor/bundle/gems/diff-lcs-1.2.4/.travis.yml +22 -0
- data/vendor/bundle/gems/diff-lcs-1.2.4/Contributing.rdoc +64 -0
- data/vendor/bundle/gems/diff-lcs-1.2.4/Gemfile +20 -0
- data/vendor/bundle/gems/diff-lcs-1.2.4/History.rdoc +146 -0
- data/vendor/bundle/gems/diff-lcs-1.2.4/License.rdoc +39 -0
- data/vendor/bundle/gems/diff-lcs-1.2.4/Manifest.txt +38 -0
- data/vendor/bundle/gems/diff-lcs-1.2.4/README.rdoc +85 -0
- data/vendor/bundle/gems/diff-lcs-1.2.4/Rakefile +39 -0
- data/vendor/bundle/gems/diff-lcs-1.2.4/autotest/discover.rb +1 -0
- data/vendor/bundle/gems/diff-lcs-1.2.4/bin/htmldiff +32 -0
- data/vendor/bundle/gems/diff-lcs-1.2.4/bin/ldiff +6 -0
- data/vendor/bundle/gems/diff-lcs-1.2.4/docs/COPYING.txt +339 -0
- data/vendor/bundle/gems/diff-lcs-1.2.4/docs/artistic.txt +127 -0
- data/vendor/bundle/gems/diff-lcs-1.2.4/lib/diff-lcs.rb +3 -0
- data/vendor/bundle/gems/diff-lcs-1.2.4/lib/diff/lcs.rb +805 -0
- data/vendor/bundle/gems/diff-lcs-1.2.4/lib/diff/lcs/array.rb +7 -0
- data/vendor/bundle/gems/diff-lcs-1.2.4/lib/diff/lcs/block.rb +37 -0
- data/vendor/bundle/gems/diff-lcs-1.2.4/lib/diff/lcs/callbacks.rb +322 -0
- data/vendor/bundle/gems/diff-lcs-1.2.4/lib/diff/lcs/change.rb +177 -0
- data/vendor/bundle/gems/diff-lcs-1.2.4/lib/diff/lcs/htmldiff.rb +149 -0
- data/vendor/bundle/gems/diff-lcs-1.2.4/lib/diff/lcs/hunk.rb +276 -0
- data/vendor/bundle/gems/diff-lcs-1.2.4/lib/diff/lcs/internals.rb +301 -0
- data/vendor/bundle/gems/diff-lcs-1.2.4/lib/diff/lcs/ldiff.rb +195 -0
- data/vendor/bundle/gems/diff-lcs-1.2.4/lib/diff/lcs/string.rb +5 -0
- data/vendor/bundle/gems/diff-lcs-1.2.4/spec/change_spec.rb +65 -0
- data/vendor/bundle/gems/diff-lcs-1.2.4/spec/diff_spec.rb +47 -0
- data/vendor/bundle/gems/diff-lcs-1.2.4/spec/hunk_spec.rb +72 -0
- data/vendor/bundle/gems/diff-lcs-1.2.4/spec/issues_spec.rb +24 -0
- data/vendor/bundle/gems/diff-lcs-1.2.4/spec/lcs_spec.rb +54 -0
- data/vendor/bundle/gems/diff-lcs-1.2.4/spec/patch_spec.rb +414 -0
- data/vendor/bundle/gems/diff-lcs-1.2.4/spec/sdiff_spec.rb +202 -0
- data/vendor/bundle/gems/diff-lcs-1.2.4/spec/spec_helper.rb +290 -0
- data/vendor/bundle/gems/diff-lcs-1.2.4/spec/traverse_balanced_spec.rb +310 -0
- data/vendor/bundle/gems/diff-lcs-1.2.4/spec/traverse_sequences_spec.rb +139 -0
- data/vendor/bundle/gems/rake-10.1.0/.gemtest +0 -0
- data/vendor/bundle/gems/rake-10.1.0/CHANGES +530 -0
- data/vendor/bundle/gems/rake-10.1.0/MIT-LICENSE +21 -0
- data/vendor/bundle/gems/rake-10.1.0/README.rdoc +187 -0
- data/vendor/bundle/gems/rake-10.1.0/Rakefile +375 -0
- data/vendor/bundle/gems/rake-10.1.0/TODO +21 -0
- data/vendor/bundle/gems/rake-10.1.0/bin/rake +33 -0
- data/vendor/bundle/gems/rake-10.1.0/install.rb +80 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake.rb +73 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/alt_system.rb +108 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/application.rb +728 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/backtrace.rb +20 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/clean.rb +55 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/cloneable.rb +16 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/contrib/compositepublisher.rb +21 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/contrib/ftptools.rb +139 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/contrib/publisher.rb +73 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/contrib/rubyforgepublisher.rb +16 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/contrib/sshpublisher.rb +50 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/contrib/sys.rb +2 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/default_loader.rb +10 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/dsl_definition.rb +157 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/early_time.rb +18 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/ext/core.rb +28 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/ext/module.rb +0 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/ext/string.rb +166 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/ext/time.rb +15 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/file_creation_task.rb +24 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/file_list.rb +416 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/file_task.rb +46 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/file_utils.rb +116 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/file_utils_ext.rb +144 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/gempackagetask.rb +2 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/invocation_chain.rb +57 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/invocation_exception_mixin.rb +16 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/linked_list.rb +103 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/loaders/makefile.rb +40 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/multi_task.rb +13 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/name_space.rb +25 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/packagetask.rb +190 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/pathmap.rb +1 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/phony.rb +15 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/private_reader.rb +20 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/promise.rb +99 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/pseudo_status.rb +29 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/rake_module.rb +37 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/rake_test_loader.rb +22 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/rdoctask.rb +2 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/ruby182_test_unit_fix.rb +27 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/runtest.rb +22 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/scope.rb +42 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/task.rb +378 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/task_argument_error.rb +7 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/task_arguments.rb +89 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/task_manager.rb +297 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/tasklib.rb +22 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/testtask.rb +201 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/thread_history_display.rb +48 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/thread_pool.rb +161 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/trace_output.rb +22 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/version.rb +9 -0
- data/vendor/bundle/gems/rake-10.1.0/lib/rake/win32.rb +56 -0
- data/vendor/bundle/gems/rake-10.1.0/test/file_creation.rb +34 -0
- data/vendor/bundle/gems/rake-10.1.0/test/helper.rb +128 -0
- data/vendor/bundle/gems/rake-10.1.0/test/support/rakefile_definitions.rb +444 -0
- data/vendor/bundle/gems/rake-10.1.0/test/support/ruby_runner.rb +33 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_private_reader.rb +42 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake.rb +40 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_application.rb +517 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_application_options.rb +457 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_backtrace.rb +113 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_clean.rb +46 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_definitions.rb +79 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_directory_task.rb +57 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_dsl.rb +40 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_early_time.rb +31 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_extension.rb +59 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_file_creation_task.rb +56 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_file_list.rb +627 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_file_list_path_map.rb +8 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_file_task.rb +122 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_file_utils.rb +309 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_ftp_file.rb +74 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_functional.rb +466 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_invocation_chain.rb +64 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_linked_list.rb +84 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_makefile_loader.rb +46 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_multi_task.rb +58 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_name_space.rb +43 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_package_task.rb +79 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_path_map.rb +168 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_path_map_explode.rb +34 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_path_map_partial.rb +18 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_pseudo_status.rb +21 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_rake_test_loader.rb +20 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_reduce_compat.rb +26 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_require.rb +40 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_rules.rb +362 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_scope.rb +44 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_task.rb +376 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_task_argument_parsing.rb +103 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_task_arguments.rb +121 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_task_lib.rb +9 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_task_manager.rb +158 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_task_manager_argument_resolution.rb +19 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_task_with_arguments.rb +171 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_test_task.rb +119 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_thread_pool.rb +142 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_top_level_functions.rb +71 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_rake_win32.rb +72 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_thread_history_display.rb +101 -0
- data/vendor/bundle/gems/rake-10.1.0/test/test_trace_output.rb +52 -0
- data/vendor/bundle/gems/rspec-2.14.1/License.txt +24 -0
- data/vendor/bundle/gems/rspec-2.14.1/README.md +47 -0
- data/vendor/bundle/gems/rspec-2.14.1/lib/rspec.rb +3 -0
- data/vendor/bundle/gems/rspec-2.14.1/lib/rspec/version.rb +5 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/.document +5 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/.yardopts +6 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/Changelog.md +881 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/License.txt +24 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/README.md +261 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/exe/autospec +13 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/exe/rspec +25 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/Autotest.md +38 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/README.md +17 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/Upgrade.md +364 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/command_line/README.md +28 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/command_line/example_name_option.feature +97 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/command_line/exit_status.feature +82 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/command_line/format_option.feature +75 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/command_line/init.feature +18 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/command_line/line_number_appended_to_path.feature +140 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/command_line/line_number_option.feature +58 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/command_line/order.feature +29 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/command_line/pattern_option.feature +49 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/command_line/rake_task.feature +122 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/command_line/require_option.feature +43 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/command_line/ruby.feature +22 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/command_line/tag.feature +98 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/command_line/warnings_option.feature +29 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/configuration/alias_example_to.feature +48 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/configuration/backtrace_clean_patterns.feature +102 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/configuration/custom_settings.feature +84 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/configuration/default_path.feature +38 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/configuration/deprecation_stream.feature +58 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/configuration/fail_fast.feature +77 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/configuration/failure_exit_code.feature +36 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/configuration/order_and_seed.feature +3 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/configuration/output_stream.feature +24 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/configuration/pattern.feature +38 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/configuration/profile.feature +220 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/configuration/read_options_from_file.feature +90 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/configuration/run_all_when_everything_filtered.feature +76 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/configuration/show_failures_in_pending_blocks.feature +61 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/configuration/treat_symbols_as_metadata_keys_with_true_values.feature +52 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/example_groups/basic_structure.feature +55 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/example_groups/shared_context.feature +74 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/example_groups/shared_examples.feature +294 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/expectation_framework_integration/configure_expectation_framework.feature +102 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/filtering/exclusion_filters.feature +138 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/filtering/if_and_unless.feature +168 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/filtering/inclusion_filters.feature +105 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/formatters/configurable_colors.feature +31 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/formatters/custom_formatter.feature +36 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/formatters/json_formatter.feature +30 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/formatters/text_formatter.feature +46 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/helper_methods/arbitrary_methods.feature +40 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/helper_methods/let.feature +50 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/helper_methods/modules.feature +149 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/hooks/around_hooks.feature +343 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/hooks/before_and_after_hooks.feature +427 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/hooks/filtering.feature +234 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/metadata/current_example.feature +17 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/metadata/described_class.feature +17 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/metadata/user_defined.feature +113 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/mock_framework_integration/use_any_framework.feature +106 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/mock_framework_integration/use_flexmock.feature +96 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/mock_framework_integration/use_mocha.feature +97 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/mock_framework_integration/use_rr.feature +98 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/mock_framework_integration/use_rspec.feature +97 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/pending/pending_examples.feature +229 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/spec_files/arbitrary_file_suffix.feature +13 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/step_definitions/additional_cli_steps.rb +49 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/subject/attribute_of_subject.feature +124 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/subject/explicit_subject.feature +101 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/subject/implicit_receiver.feature +29 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/subject/implicit_subject.feature +63 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/support/env.rb +14 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/features/support/rubinius.rb +6 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/autotest/discover.rb +1 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/autotest/rspec2.rb +73 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/autorun.rb +2 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core.rb +169 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/backtrace_cleaner.rb +46 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/backward_compatibility.rb +55 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/command_line.rb +36 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/configuration.rb +1174 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/configuration_options.rb +156 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/deprecation.rb +31 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/drb_command_line.rb +26 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/drb_options.rb +87 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/dsl.rb +26 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/example.rb +331 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/example_group.rb +479 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/extensions/instance_eval_with_args.rb +44 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/extensions/kernel.rb +9 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/extensions/module_eval_with_args.rb +38 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/extensions/ordered.rb +27 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/filter_manager.rb +203 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/formatters.rb +55 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/formatters/base_formatter.rb +246 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/formatters/base_text_formatter.rb +329 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/formatters/deprecation_formatter.rb +39 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/formatters/documentation_formatter.rb +67 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/formatters/helpers.rb +110 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/formatters/html_formatter.rb +155 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/formatters/html_printer.rb +408 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/formatters/json_formatter.rb +70 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/formatters/progress_formatter.rb +32 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/formatters/snippet_extractor.rb +92 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/formatters/text_mate_formatter.rb +34 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/hooks.rb +519 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/memoized_helpers.rb +514 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/metadata.rb +299 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/metadata_hash_builder.rb +97 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/mocking/with_absolutely_nothing.rb +11 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/mocking/with_flexmock.rb +27 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/mocking/with_mocha.rb +52 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/mocking/with_rr.rb +27 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/mocking/with_rspec.rb +27 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/option_parser.rb +219 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/pending.rb +109 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/project_initializer.rb +86 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/rake_task.rb +206 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/reporter.rb +132 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/ruby_project.rb +44 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/runner.rb +87 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/shared_context.rb +55 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/shared_example_group.rb +185 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/shared_example_group/collection.rb +43 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/version.rb +8 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/world.rb +127 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/autotest/discover_spec.rb +19 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/autotest/failed_results_re_spec.rb +45 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/autotest/rspec_spec.rb +133 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/command_line/order_spec.rb +204 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/backtrace_cleaner_spec.rb +68 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/command_line_spec.rb +108 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/command_line_spec_output.txt +0 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/configuration_options_spec.rb +417 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/configuration_spec.rb +1561 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/deprecation_spec.rb +46 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/deprecations_spec.rb +73 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/drb_command_line_spec.rb +102 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/drb_options_spec.rb +193 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/dsl_spec.rb +25 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/example_group_spec.rb +1187 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/example_spec.rb +439 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/filter_manager_spec.rb +246 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/base_formatter_spec.rb +108 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/base_text_formatter_spec.rb +494 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/deprecation_formatter_spec.rb +96 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/documentation_formatter_spec.rb +88 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/helpers_spec.rb +94 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/html_formatted-1.8.7-jruby.html +404 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/html_formatted-1.8.7-rbx.html +477 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/html_formatted-1.8.7.html +414 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/html_formatted-1.9.2.html +425 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/html_formatted-1.9.3-jruby.html +404 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/html_formatted-1.9.3-rbx.html +477 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/html_formatted-1.9.3.html +425 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/html_formatted-2.0.0.html +425 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/html_formatter_spec.rb +95 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/json_formatter_spec.rb +115 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/progress_formatter_spec.rb +30 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/snippet_extractor_spec.rb +26 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/text_mate_formatted-1.8.7-jruby.html +395 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/text_mate_formatted-1.8.7-rbx.html +477 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/text_mate_formatted-1.8.7.html +414 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/text_mate_formatted-1.9.2.html +425 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/text_mate_formatted-1.9.3-jruby.html +404 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/text_mate_formatted-1.9.3-rbx.html +477 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/text_mate_formatted-1.9.3.html +425 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/text_mate_formatted-2.0.0.html +425 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/text_mate_formatter_spec.rb +96 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/hooks_filtering_spec.rb +227 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/hooks_spec.rb +267 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/kernel_extensions_spec.rb +9 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/memoized_helpers_spec.rb +688 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/metadata_spec.rb +491 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/option_parser_spec.rb +242 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/pending_example_spec.rb +220 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/project_initializer_spec.rb +130 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/rake_task_spec.rb +181 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/reporter_spec.rb +141 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/resources/a_bar.rb +0 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/resources/a_foo.rb +0 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/resources/a_spec.rb +1 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/resources/custom_example_group_runner.rb +14 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/resources/formatter_specs.rb +60 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/resources/utf8_encoded.rb +8 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/rspec_matchers_spec.rb +45 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/ruby_project_spec.rb +26 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/runner_spec.rb +82 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/shared_context_spec.rb +114 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/shared_example_group/collection_spec.rb +70 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/shared_example_group_spec.rb +120 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/world_spec.rb +142 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core_spec.rb +74 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/spec_helper.rb +132 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/support/config_options_helper.rb +15 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/support/helper_methods.rb +36 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/support/isolate_load_path_mutation.rb +6 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/support/isolated_directory.rb +10 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/support/isolated_home_directory.rb +16 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/support/matchers.rb +65 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/support/sandboxed_mock_space.rb +100 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/support/shared_example_groups.rb +41 -0
- data/vendor/bundle/gems/rspec-core-2.14.5/spec/support/spec_files.rb +44 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/.document +5 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/.yardopts +6 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/Changelog.md +399 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/License.txt +23 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/README.md +184 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/features/README.md +48 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/features/Upgrade.md +53 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/README.md +90 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/be.feature +175 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/be_within.feature +48 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/cover.feature +47 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/end_with.feature +48 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/equality.feature +139 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/exist.feature +45 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/expect_change.feature +59 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/expect_error.feature +144 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/have.feature +109 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/include.feature +174 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/match.feature +52 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/operators.feature +227 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/predicates.feature +137 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/respond_to.feature +84 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/satisfy.feature +33 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/start_with.feature +48 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/throw_symbol.feature +91 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/types.feature +116 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/yield.feature +161 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/features/custom_matchers/access_running_example.feature +53 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/features/custom_matchers/define_diffable_matcher.feature +27 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/features/custom_matchers/define_matcher.feature +368 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/features/custom_matchers/define_matcher_outside_rspec.feature +38 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/features/custom_matchers/define_matcher_with_fluent_interface.feature +24 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/features/customized_message.feature +22 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/features/diffing.feature +85 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/features/implicit_docstrings.feature +52 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/features/step_definitions/additional_cli_steps.rb +22 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/features/support/env.rb +14 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/features/support/rubinius.rb +6 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/features/syntax_configuration.feature +71 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/features/test_frameworks/test_unit.feature +44 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec-expectations.rb +1 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/expectations.rb +47 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/expectations/deprecation.rb +17 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/expectations/differ.rb +140 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/expectations/errors.rb +9 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/expectations/expectation_target.rb +87 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/expectations/extensions.rb +2 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/expectations/extensions/array.rb +9 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/expectations/extensions/object.rb +29 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/expectations/fail_with.rb +79 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/expectations/handler.rb +68 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/expectations/syntax.rb +164 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/expectations/version.rb +9 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers.rb +697 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/be_close.rb +9 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in.rb +39 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/base_matcher.rb +68 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/be.rb +197 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/be_instance_of.rb +15 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/be_kind_of.rb +11 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/be_within.rb +55 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/change.rb +141 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/cover.rb +21 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/eq.rb +22 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/eql.rb +23 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/equal.rb +48 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/exist.rb +26 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/has.rb +48 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/have.rb +124 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/include.rb +61 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/match.rb +12 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/match_array.rb +51 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/raise_error.rb +123 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/respond_to.rb +74 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/satisfy.rb +30 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/start_and_end_with.rb +48 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/throw_symbol.rb +94 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/yield.rb +296 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/compatibility.rb +14 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/configuration.rb +108 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/dsl.rb +24 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/extensions/instance_eval_with_args.rb +39 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/generated_descriptions.rb +35 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/matcher.rb +300 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/method_missing.rb +12 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/operator_matcher.rb +109 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/pretty.rb +70 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/test_unit_integration.rb +11 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/expectations/differ_spec.rb +203 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/expectations/expectation_target_spec.rb +82 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/expectations/extensions/kernel_spec.rb +67 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/expectations/fail_with_spec.rb +114 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/expectations/handler_spec.rb +227 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/expectations/syntax_spec.rb +139 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/base_matcher_spec.rb +62 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/be_close_spec.rb +22 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/be_instance_of_spec.rb +63 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/be_kind_of_spec.rb +41 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/be_spec.rb +522 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/be_within_spec.rb +137 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/change_spec.rb +567 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/configuration_spec.rb +206 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/cover_spec.rb +69 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/description_generation_spec.rb +190 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/dsl_spec.rb +57 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/eq_spec.rb +60 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/eql_spec.rb +41 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/equal_spec.rb +78 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/exist_spec.rb +124 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/has_spec.rb +122 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/have_spec.rb +455 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/include_matcher_integration_spec.rb +30 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/include_spec.rb +531 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/match_array_spec.rb +194 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/match_spec.rb +61 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/matcher_spec.rb +471 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/matchers_spec.rb +37 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/method_missing_spec.rb +28 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/operator_matcher_spec.rb +223 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/raise_error_spec.rb +485 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/respond_to_spec.rb +292 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/satisfy_spec.rb +44 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/start_with_end_with_spec.rb +186 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/throw_symbol_spec.rb +116 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/yield_spec.rb +514 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/spec_helper.rb +54 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/support/classes.rb +56 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/support/in_sub_process.rb +38 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/support/matchers.rb +22 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/support/ruby_version.rb +10 -0
- data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/support/shared_examples.rb +13 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/.document +5 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/.yardopts +6 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/Changelog.md +410 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/License.txt +23 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/README.md +315 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/features/README.md +67 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/features/Scope.md +17 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/features/Upgrade.md +22 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/features/argument_matchers/README.md +27 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/features/argument_matchers/explicit.feature +59 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/features/argument_matchers/general_matchers.feature +85 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/features/argument_matchers/type_matchers.feature +26 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/features/message_expectations/README.md +73 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/features/message_expectations/allow_any_instance_of.feature +26 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/features/message_expectations/any_instance.feature +21 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/features/message_expectations/block_local_expectations.feature.pending +55 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/features/message_expectations/call_original.feature +24 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/features/message_expectations/expect_any_instance_of.feature +27 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/features/message_expectations/expect_message_using_expect.feature +107 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/features/message_expectations/expect_message_using_should_receive.feature +118 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/features/message_expectations/receive_counts.feature +209 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/features/message_expectations/warn_when_expectation_is_set_on_nil.feature +50 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/features/method_stubs/README.md +73 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/features/method_stubs/any_instance.feature +136 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/features/method_stubs/as_null_object.feature +40 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/features/method_stubs/simple_return_value_with_allow.feature +44 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/features/method_stubs/simple_return_value_with_stub.feature +64 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/features/method_stubs/stub_chain.feature +51 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/features/method_stubs/stub_implementation.feature +48 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/features/method_stubs/to_ary.feature +51 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/features/mutating_constants/README.md +82 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/features/mutating_constants/hiding_defined_constant.feature +64 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/features/mutating_constants/stub_defined_constant.feature +79 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/features/mutating_constants/stub_undefined_constant.feature +50 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/features/outside_rspec/configuration.feature +62 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/features/outside_rspec/standalone.feature +33 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/features/spies/spy_partial_mock_method.feature +34 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/features/spies/spy_pure_mock_method.feature +76 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/features/spies/spy_unstubbed_method.feature +18 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/features/step_definitions/additional_cli_steps.rb +11 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/features/support/env.rb +13 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/features/support/rubinius.rb +6 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/features/test_frameworks/test_unit.feature +43 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks.rb +92 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/any_instance/chain.rb +93 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/any_instance/expectation_chain.rb +42 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/any_instance/message_chains.rb +60 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/any_instance/recorder.rb +206 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/any_instance/stub_chain.rb +38 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/any_instance/stub_chain_chain.rb +23 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/argument_list_matcher.rb +97 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/argument_matchers.rb +238 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/configuration.rb +55 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/deprecation.rb +18 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/error_generator.rb +179 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/errors.rb +12 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/example_methods.rb +156 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/extensions/instance_exec.rb +34 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/extensions/marshal.rb +17 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/framework.rb +34 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/instance_method_stasher.rb +94 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/matchers/have_received.rb +93 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/matchers/receive.rb +96 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/message_expectation.rb +583 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/method_double.rb +265 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/mock.rb +7 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/mutate_const.rb +403 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/order_group.rb +40 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/proxy.rb +216 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/proxy_for_nil.rb +37 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/space.rb +87 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/standalone.rb +3 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/stub_chain.rb +51 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/syntax.rb +349 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/targets.rb +69 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/test_double.rb +135 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/version.rb +7 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/spec/mocks.rb +4 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/and_call_original_spec.rb +243 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/and_yield_spec.rb +127 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/any_instance/message_chains_spec.rb +40 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/any_instance_spec.rb +963 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/any_number_of_times_spec.rb +36 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/argument_expectation_spec.rb +32 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/at_least_spec.rb +151 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/at_most_spec.rb +90 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/block_return_value_spec.rb +88 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/bug_report_10260_spec.rb +8 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/bug_report_10263_spec.rb +27 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/bug_report_11545_spec.rb +32 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/bug_report_496_spec.rb +17 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/bug_report_600_spec.rb +22 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/bug_report_7611_spec.rb +16 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/bug_report_8165_spec.rb +31 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/bug_report_830_spec.rb +21 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/bug_report_957_spec.rb +22 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/combining_implementation_instructions_spec.rb +205 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/configuration_spec.rb +150 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/double_spec.rb +24 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/extensions/marshal_spec.rb +54 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/failing_argument_matchers_spec.rb +110 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/hash_excluding_matcher_spec.rb +67 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/hash_including_matcher_spec.rb +90 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/instance_method_stasher_spec.rb +58 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/matchers/have_received_spec.rb +266 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/matchers/receive_spec.rb +328 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/methods_spec.rb +27 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/mock_ordering_spec.rb +103 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/mock_space_spec.rb +113 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/mock_spec.rb +798 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/multiple_return_value_spec.rb +132 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/mutate_const_spec.rb +501 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/nil_expectation_warning_spec.rb +68 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/null_object_mock_spec.rb +123 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/once_counts_spec.rb +52 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/options_hash_spec.rb +35 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/partial_mock_spec.rb +205 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/partial_mock_using_mocks_directly_spec.rb +95 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/passing_argument_matchers_spec.rb +142 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/precise_counts_spec.rb +68 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/record_messages_spec.rb +26 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/serialization_spec.rb +89 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/stash_spec.rb +46 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/stub_chain_spec.rb +154 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/stub_implementation_spec.rb +81 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/stub_spec.rb +353 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/stubbed_message_expectations_spec.rb +58 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb +81 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/test_double_spec.rb +67 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/to_ary_spec.rb +54 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/twice_counts_spec.rb +66 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks_spec.rb +65 -0
- data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/spec_helper.rb +60 -0
- data/vendor/bundle/specifications/diff-lcs-1.2.4.gemspec +64 -0
- data/vendor/bundle/specifications/rake-10.1.0.gemspec +35 -0
- data/vendor/bundle/specifications/rspec-2.14.1.gemspec +39 -0
- data/vendor/bundle/specifications/rspec-core-2.14.5.gemspec +58 -0
- data/vendor/bundle/specifications/rspec-expectations-2.14.2.gemspec +40 -0
- data/vendor/bundle/specifications/rspec-mocks-2.14.3.gemspec +37 -0
- metadata +657 -11
@@ -0,0 +1,52 @@
|
|
1
|
+
require File.expand_path('../helper', __FILE__)
|
2
|
+
require 'stringio'
|
3
|
+
|
4
|
+
class TestTraceOutput < Rake::TestCase
|
5
|
+
include Rake::TraceOutput
|
6
|
+
|
7
|
+
class PrintSpy
|
8
|
+
attr_reader :result, :calls
|
9
|
+
|
10
|
+
def initialize
|
11
|
+
@result = ""
|
12
|
+
@calls = 0
|
13
|
+
end
|
14
|
+
|
15
|
+
def print(string)
|
16
|
+
@result << string
|
17
|
+
@calls += 1
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
def test_trace_issues_single_io_for_args_with_empty_args
|
22
|
+
spy = PrintSpy.new
|
23
|
+
trace_on(spy)
|
24
|
+
assert_equal "\n", spy.result
|
25
|
+
assert_equal 1, spy.calls
|
26
|
+
end
|
27
|
+
|
28
|
+
def test_trace_issues_single_io_for_args_multiple_strings
|
29
|
+
spy = PrintSpy.new
|
30
|
+
trace_on(spy, "HI\n", "LO")
|
31
|
+
assert_equal "HI\nLO\n", spy.result
|
32
|
+
assert_equal 1, spy.calls
|
33
|
+
end
|
34
|
+
|
35
|
+
def test_trace_handles_nil_objects
|
36
|
+
spy = PrintSpy.new
|
37
|
+
trace_on(spy, "HI\n", nil, "LO")
|
38
|
+
assert_equal "HI\nLO\n", spy.result
|
39
|
+
assert_equal 1, spy.calls
|
40
|
+
end
|
41
|
+
|
42
|
+
def test_trace_issues_single_io_for_args_multiple_strings_and_alternate_sep
|
43
|
+
old_sep = $\
|
44
|
+
$\ = "\r"
|
45
|
+
spy = PrintSpy.new
|
46
|
+
trace_on(spy, "HI\r", "LO")
|
47
|
+
assert_equal "HI\rLO\r", spy.result
|
48
|
+
assert_equal 1, spy.calls
|
49
|
+
ensure
|
50
|
+
$\ = old_sep
|
51
|
+
end
|
52
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
(The MIT License)
|
2
|
+
|
3
|
+
Copyright (c) 2009 Chad Humphries, David Chelimsky
|
4
|
+
Copyright (c) 2006 David Chelimsky, The RSpec Development Team
|
5
|
+
Copyright (c) 2005 Steven Baker
|
6
|
+
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
8
|
+
a copy of this software and associated documentation files (the
|
9
|
+
"Software"), to deal in the Software without restriction, including
|
10
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
11
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
12
|
+
permit persons to whom the Software is furnished to do so, subject to
|
13
|
+
the following conditions:
|
14
|
+
|
15
|
+
The above copyright notice and this permission notice shall be
|
16
|
+
included in all copies or substantial portions of the Software.
|
17
|
+
|
18
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
19
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
20
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
21
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
22
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
23
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
24
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
@@ -0,0 +1,47 @@
|
|
1
|
+
# RSpec-2
|
2
|
+
|
3
|
+
Behaviour Driven Development for Ruby
|
4
|
+
|
5
|
+
# Description
|
6
|
+
|
7
|
+
rspec-2.x is a meta-gem, which depends on the rspec-core, rspec-expectations
|
8
|
+
and rspec-mocks gems. Each of these can be installed separately and actived in
|
9
|
+
isolation with the `gem` command. Among other benefits, this allows you to use
|
10
|
+
rspec-expectations, for example, in Test::Unit::TestCase if you happen to
|
11
|
+
prefer that style.
|
12
|
+
|
13
|
+
Conversely, if you like RSpec's approach to declaring example groups and
|
14
|
+
examples (`describe` and `it`) but prefer Test::Unit assertions and mocha, rr
|
15
|
+
or flexmock for mocking, you'll be able to do that without having to load the
|
16
|
+
components of rspec that you're not using.
|
17
|
+
|
18
|
+
## Documentation
|
19
|
+
|
20
|
+
### rspec-core
|
21
|
+
|
22
|
+
* [Cucumber features](http://relishapp.com/rspec/rspec-core)
|
23
|
+
* [RDoc](http://rubydoc.info/gems/rspec-core/frames)
|
24
|
+
|
25
|
+
### rspec-expectations
|
26
|
+
|
27
|
+
* [Cucumber features](http://relishapp.com/rspec/rspec-expectations)
|
28
|
+
* [RDoc](http://rubydoc.info/gems/rspec-expectations/frames)
|
29
|
+
|
30
|
+
### rspec-mocks
|
31
|
+
|
32
|
+
* [Cucumber features](http://relishapp.com/rspec/rspec-mocks)
|
33
|
+
* [RDoc](http://rubydoc.info/gems/rspec-mocks/frames)
|
34
|
+
|
35
|
+
## Install
|
36
|
+
|
37
|
+
gem install rspec
|
38
|
+
|
39
|
+
## Contribute
|
40
|
+
|
41
|
+
* [http://github.com/rspec/rspec-dev](http://github.com/rspec/rspec-dev)
|
42
|
+
|
43
|
+
## Also see
|
44
|
+
|
45
|
+
* [http://github.com/rspec/rspec-core](http://github.com/rspec/rspec-core)
|
46
|
+
* [http://github.com/rspec/rspec-expectations](http://github.com/rspec/rspec-expectations)
|
47
|
+
* [http://github.com/rspec/rspec-mocks](http://github.com/rspec/rspec-mocks)
|
@@ -0,0 +1,881 @@
|
|
1
|
+
### 2.14.5 / 2013-08-13
|
2
|
+
[full changelog](http://github.com/rspec/rspec-core/compare/v2.14.4...v2.14.5)
|
3
|
+
|
4
|
+
Bug fixes:
|
5
|
+
|
6
|
+
* Fix a `NoMethodError` that was being raised when there were no shared
|
7
|
+
examples or contexts declared and `RSpec.world.reset` is invoked.
|
8
|
+
(thepoho, Jon Rowe, Myron Marston)
|
9
|
+
* Fix a deprecation warning that was being incorrectly displayed when
|
10
|
+
`shared_examples` are declared at top level in a `module` scope.
|
11
|
+
(Jon Rowe)
|
12
|
+
* Fix after(:all) hooks so consecutive (same context) scopes will run even if
|
13
|
+
one raises an error. (Jon Rowe, Trejkaz)
|
14
|
+
* JsonFormatter no longer dies if `dump_profile` isn't defined (Alex / @MasterLambaster, Jon Rowe)
|
15
|
+
|
16
|
+
### 2.14.4 / 2013-07-21
|
17
|
+
[full changelog](http://github.com/rspec/rspec-core/compare/v2.14.3...v2.14.4)
|
18
|
+
|
19
|
+
Bug fixes
|
20
|
+
|
21
|
+
* Fix regression in 2.14: ensure configured requires (via `-r` option)
|
22
|
+
are loaded before spec files are loaded. This allows the spec files
|
23
|
+
to programatically change the file pattern (Jon Rowe).
|
24
|
+
* Autoload `RSpec::Mocks` and `RSpec::Expectations` when referenced if
|
25
|
+
they are not already loaded (`RSpec::Matches` has been autoloaded
|
26
|
+
for a while). In the `rspec` gem, we changed it recently to stop
|
27
|
+
loading `rspec/mocks` and `rspec/expectations` by default, as some
|
28
|
+
users reported problems where they were intending to use mocha,
|
29
|
+
not rspec-mocks, but rspec-mocks was loaded and causing a conflict.
|
30
|
+
rspec-core loads mocks and expectations at the appropriate time, so
|
31
|
+
it seemed like a safe change -- but caused a problem for some authors
|
32
|
+
of libraries that integrate with RSpec. This fixes that problem.
|
33
|
+
(Myron Marston)
|
34
|
+
* Gracefully handle a command like `rspec --profile path/to/spec.rb`:
|
35
|
+
the `path/to/spec.rb` arg was being wrongly treated as the `profile`
|
36
|
+
integer arg, which got cast `0` using `to_i`, causing no profiled
|
37
|
+
examples to be printed. (Jon Rowe)
|
38
|
+
|
39
|
+
### 2.14.3 / 2013-07-13
|
40
|
+
[full changelog](http://github.com/rspec/rspec-core/compare/v2.14.2...v2.14.3)
|
41
|
+
|
42
|
+
Bug fixes
|
43
|
+
|
44
|
+
* Fix deprecation notices issued from `RSpec::Core::RakeTask` so
|
45
|
+
that they work properly when all of rspec-core is not loaded.
|
46
|
+
(This was a regression in 2.14) (Jon Rowe)
|
47
|
+
|
48
|
+
### 2.14.2 / 2013-07-09
|
49
|
+
[full changelog](http://github.com/rspec/rspec-core/compare/v2.14.1...v2.14.2)
|
50
|
+
|
51
|
+
Bug fixes
|
52
|
+
|
53
|
+
* Fix regression caused by 2.14.1 release: formatters that
|
54
|
+
report that they `respond_to?` a notification, but had
|
55
|
+
no corresponding method would raise an error when registered.
|
56
|
+
The new fix is to just implement `start` on the deprecation
|
57
|
+
formatter to fix the original JRuby/ruby-debug issue.
|
58
|
+
(Jon Rowe)
|
59
|
+
|
60
|
+
### 2.14.1 / 2013-07-08
|
61
|
+
[full changelog](http://github.com/rspec/rspec-core/compare/v2.14.0...v2.14.1)
|
62
|
+
|
63
|
+
Bug fixes
|
64
|
+
|
65
|
+
* Address deprecation formatter failure when using `ruby-debug` on
|
66
|
+
JRuby: fix `RSpec::Core::Reporter` to not send a notification
|
67
|
+
when the formatter's implementation of the notification method
|
68
|
+
comes from `Kernel` (Alex Portnov, Jon Rowe).
|
69
|
+
|
70
|
+
### 2.14.0 / 2013-07-06
|
71
|
+
[full changelog](http://github.com/rspec/rspec-core/compare/v2.14.0.rc1...v2.14.0)
|
72
|
+
|
73
|
+
Enhancements
|
74
|
+
|
75
|
+
* Apply focus to examples defined with `fit` (equivalent of
|
76
|
+
`it "description", focus: true`) (Michael de Silva)
|
77
|
+
|
78
|
+
Bug fixes
|
79
|
+
|
80
|
+
* Ensure methods defined by `let` take precedence over others
|
81
|
+
when there is a name collision (e.g. from an included module).
|
82
|
+
(Jon Rowe, Andy Lindeman and Myron Marston)
|
83
|
+
|
84
|
+
### 2.14.0.rc1 / 2013-05-27
|
85
|
+
[full changelog](http://github.com/rspec/rspec-core/compare/v2.13.1...v2.14.0.rc1)
|
86
|
+
|
87
|
+
Enhancements
|
88
|
+
|
89
|
+
* Improved Windows detection inside Git Bash, for better `--color` handling.
|
90
|
+
* Add profiling of the slowest example groups to `--profile` option.
|
91
|
+
The output is sorted by the slowest average example groups.
|
92
|
+
* Don't show slow examples if there's a failure and both `--fail-fast`
|
93
|
+
and `--profile` options are used (Paweł Gościcki).
|
94
|
+
* Rather than always adding `spec` to the load path, add the configured
|
95
|
+
`--default-path` to the load path (which defaults to `spec`). This
|
96
|
+
better supports folks who choose to put their specs in a different
|
97
|
+
directory (John Feminella).
|
98
|
+
* Add some logic to test time duration precision. Make it a
|
99
|
+
function of time, dropping precision as the time increases. (Aaron Kromer)
|
100
|
+
* Add new `backtrace_inclusion_patterns` config option. Backtrace lines
|
101
|
+
that match one of these patterns will _always_ be included in the
|
102
|
+
backtrace, even if they match an exclusion pattern, too (Sam Phippen).
|
103
|
+
* Support ERB trim mode using the `-` when parsing `.rspec` as ERB
|
104
|
+
(Gabor Garami).
|
105
|
+
* Give a better error message when let and subject are called without a block.
|
106
|
+
(Sam Phippen).
|
107
|
+
* List the precedence of `.rspec-local` in the configuration documentation
|
108
|
+
(Sam Phippen)
|
109
|
+
* Support `{a,b}` shell expansion syntax in `--pattern` option
|
110
|
+
(Konstantin Haase).
|
111
|
+
* Add cucumber documentation for --require command line option
|
112
|
+
(Bradley Schaefer)
|
113
|
+
* Expose configruation options via config:
|
114
|
+
* `config.libs` returns the libs configured to be added onto the load path
|
115
|
+
* `full_backtrace?` returns the state of the backtrace cleaner
|
116
|
+
* `debug?` returns true when the debugger is loaded
|
117
|
+
* `line_numbers` returns the line numbers we are filtering by (if any)
|
118
|
+
* `full_description` returns the RegExp used to filter descriptions
|
119
|
+
(Jon Rowe)
|
120
|
+
* Add setters for RSpec.world and RSpec.configuration (Alex Soulim)
|
121
|
+
* Configure ruby's warning behaviour with `--warnings` (Jon Rowe)
|
122
|
+
* Fix an obscure issue on old versions of `1.8.7` where `Time.dup` wouldn't
|
123
|
+
allow access to `Time.now` (Jon Rowe)
|
124
|
+
* Make `shared_examples_for` context aware, so that keys may be safely reused
|
125
|
+
in multiple contexts without colliding. (Jon Rowe)
|
126
|
+
* Add a configurable `deprecation_stream` (Jon Rowe)
|
127
|
+
* Publish deprecations through a formatter (David Chelimsky)
|
128
|
+
|
129
|
+
Bug fixes
|
130
|
+
|
131
|
+
* Make JSON formatter behave the same when it comes to `--profile` as
|
132
|
+
the text formatter (Paweł Gościcki).
|
133
|
+
* Fix named subjects so that if an inner group defines a method that
|
134
|
+
overrides the named method, `subject` still retains the originally
|
135
|
+
declared value (Myron Marston).
|
136
|
+
* Fix random ordering so that it does not cause `rand` in examples in
|
137
|
+
nested sibling contexts to return the same value (Max Shytikov).
|
138
|
+
* Use the new `backtrace_inclusion_patterns` config option to ensure
|
139
|
+
that folks who develop code in a directory matching one of the default
|
140
|
+
exclusion patterns (e.g. `gems`) still get the normal backtrace
|
141
|
+
filtering (Sam Phippen).
|
142
|
+
* Fix ordering of `before` hooks so that `before` hooks declared in
|
143
|
+
`RSpec.configure` run before `before` hooks declared in a shared
|
144
|
+
context (Michi Huber and Tejas Dinkar).
|
145
|
+
* Fix `Example#full_description` so that it gets filled in by the last
|
146
|
+
matcher description (as `Example#description` already did) when no
|
147
|
+
doc string has been provided (David Chelimsky).
|
148
|
+
* Fix the memoized methods (`let` and `subject`) leaking `define_method`
|
149
|
+
as a `public` method. (Thomas Holmes and Jon Rowe) (#873)
|
150
|
+
* Fix warnings coming from the test suite. (Pete Higgins)
|
151
|
+
|
152
|
+
Deprecations
|
153
|
+
|
154
|
+
* Deprecate `Configuration#backtrace_clean_patterns` in favor of
|
155
|
+
`Configuration#backtrace_exclusion_patterns` for greater consistency
|
156
|
+
and symmetry with new `backtrace_inclusion_patterns` config option
|
157
|
+
(Sam Phippen).
|
158
|
+
* Deprecate `Configuration#requires=` in favor of using ruby's
|
159
|
+
`require`. Requires specified by the command line can still be
|
160
|
+
accessed by the `Configuration#require` reader. (Bradley Schaefer)
|
161
|
+
* Deprecate calling `SharedExampleGroups` defined across sibling contexts
|
162
|
+
(Jon Rowe)
|
163
|
+
|
164
|
+
### 2.13.1 / 2013-03-12
|
165
|
+
[full changelog](http://github.com/rspec/rspec-core/compare/v2.13.0...v2.13.1)
|
166
|
+
|
167
|
+
Bug fixes
|
168
|
+
|
169
|
+
* Use hook classes as proxies rather than extending hook blocks to support
|
170
|
+
lambdas for before/after/around hooks. (David Chelimsky)
|
171
|
+
* Fix regression in 2.13.0 that caused confusing behavior when overriding
|
172
|
+
a named subject with an unnamed subject in an inner group and then
|
173
|
+
referencing the outer group subject's name. The fix for this required
|
174
|
+
us to disallow using `super` in a named subject (which is confusing,
|
175
|
+
anyway -- named subjects create 2 methods, so which method on the
|
176
|
+
parent example group are you `super`ing to?) but `super` in an unnamed
|
177
|
+
subject continues to work (Myron Marston).
|
178
|
+
* Do not allow a referenced `let` or `subject` in `before(:all)` to cause
|
179
|
+
other `let` declarations to leak across examples (Myron Marston).
|
180
|
+
* Work around odd ruby 1.9 bug with `String#match` that was triggered
|
181
|
+
by passing it a regex from a `let` declaration. For more info, see
|
182
|
+
http://bugs.ruby-lang.org/issues/8059 (Aaron Kromer).
|
183
|
+
* Add missing `require 'set'` to `base_text_formatter.rb` (Tom
|
184
|
+
Anderson).
|
185
|
+
|
186
|
+
Deprecations
|
187
|
+
|
188
|
+
* Deprecate accessing `let` or `subject` declarations in `before(:all)`.
|
189
|
+
These were not intended to be called in a `before(:all)` hook, as
|
190
|
+
they exist to define state that is reset between each example, while
|
191
|
+
`before(:all)` exists to define state that is shared across examples
|
192
|
+
in an example group (Myron Marston).
|
193
|
+
|
194
|
+
### 2.13.0 / 2013-02-23
|
195
|
+
[full changelog](http://github.com/rspec/rspec-core/compare/v2.12.2...v2.13.0)
|
196
|
+
|
197
|
+
Enhancements
|
198
|
+
|
199
|
+
* Allow `--profile` option to take a count argument that
|
200
|
+
determines the number of slow examples to dump
|
201
|
+
(Greggory Rothmeier).
|
202
|
+
* Add `subject!` that is the analog to `let!`. It defines an
|
203
|
+
explicit subject and sets a `before` hook that will invoke
|
204
|
+
the subject (Zubin Henner).
|
205
|
+
* Fix `let` and `subject` declaration so that `super`
|
206
|
+
and `return` can be used in them, just like in a normal
|
207
|
+
method. (Myron Marston)
|
208
|
+
* Allow output colors to be configured individually.
|
209
|
+
(Charlie Maffitt)
|
210
|
+
* Always dump slow examples when `--profile` option is given,
|
211
|
+
even when an example failed (Myron Marston).
|
212
|
+
|
213
|
+
Bug fixes
|
214
|
+
|
215
|
+
* Don't blow up when dumping error output for instances
|
216
|
+
of anonymous error classes (Myron Marston).
|
217
|
+
* Fix default backtrace filters so lines from projects
|
218
|
+
containing "gems" in the name are not filtered, but
|
219
|
+
lines from installed gems still are (Myron Marston).
|
220
|
+
* Fix autotest command so that is uses double quotes
|
221
|
+
rather than single quotes for windows compatibility
|
222
|
+
(Jonas Tingeborn).
|
223
|
+
* Fix `its` so that uses of `subject` in a `before` or `let`
|
224
|
+
declaration in the parent group continue to reference the
|
225
|
+
parent group's subject. (Olek Janiszewski)
|
226
|
+
|
227
|
+
### 2.12.2 / 2012-12-13
|
228
|
+
[full changelog](http://github.com/rspec/rspec-core/compare/v2.12.1...v2.12.2)
|
229
|
+
|
230
|
+
Bug fixes
|
231
|
+
|
232
|
+
* Fix `RSpec::Core::RakeTask` so that it is compatible with rake 0.8.7
|
233
|
+
on ruby 1.8.7. We had accidentally broke it in the 2.12 release
|
234
|
+
(Myron Marston).
|
235
|
+
* Fix `RSpec::Core::RakeTask` so it is tolerant of the `Rspec` constant
|
236
|
+
for backwards compatibility (Patrick Van Stee)
|
237
|
+
|
238
|
+
### 2.12.1 / 2012-12-01
|
239
|
+
[full changelog](http://github.com/rspec/rspec-core/compare/v2.12.0...v2.12.1)
|
240
|
+
|
241
|
+
Bug fixes
|
242
|
+
|
243
|
+
* Specs are run even if another at\_exit hook calls `exit`. This allows
|
244
|
+
Test::Unit and RSpec to run together. (Suraj N. Kurapati)
|
245
|
+
* Fix full doc string concatenation so that it handles the case of a
|
246
|
+
method string (e.g. "#foo") being nested under a context string
|
247
|
+
(e.g. "when it is tuesday"), so that we get "when it is tuesday #foo"
|
248
|
+
rather than "when it is tuesday#foo". (Myron Marston)
|
249
|
+
* Restore public API I unintentionally broke in 2.12.0:
|
250
|
+
`RSpec::Core::Formatters::BaseFormatter#format_backtrce(backtrace, example)`
|
251
|
+
(Myron Marston).
|
252
|
+
|
253
|
+
### 2.12.0 / 2012-11-12
|
254
|
+
[full changelog](http://github.com/rspec/rspec-core/compare/v2.11.1...v2.12.0)
|
255
|
+
|
256
|
+
Enhancements
|
257
|
+
|
258
|
+
* Add support for custom ordering strategies for groups and examples.
|
259
|
+
(Myron Marston)
|
260
|
+
* JSON Formatter (Alex Chaffee)
|
261
|
+
* Refactor rake task internals (Sam Phippen)
|
262
|
+
* Refactor HtmlFormatter (Pete Hodgson)
|
263
|
+
* Autotest supports a path to Ruby that contains spaces (dsisnero)
|
264
|
+
* Provide a helpful warning when a shared example group is redefined.
|
265
|
+
(Mark Burns).
|
266
|
+
* `--default_path` can be specified as `--default-line`. `--line_number` can be
|
267
|
+
specified as `--line-number`. Hyphens are more idiomatic command line argument
|
268
|
+
separators (Sam Phippen).
|
269
|
+
* A more useful error message is shown when an invalid command line option is
|
270
|
+
used (Jordi Polo).
|
271
|
+
* Add `format_docstrings { |str| }` config option. It can be used to
|
272
|
+
apply formatting rules to example group and example docstrings.
|
273
|
+
(Alex Tan)
|
274
|
+
* Add support for an `.rspec-local` options file. This is intended to
|
275
|
+
allow individual developers to set options in a git-ignored file that
|
276
|
+
override the common project options in `.rspec`. (Sam Phippen)
|
277
|
+
* Support for mocha 0.13.0. (Andy Lindeman)
|
278
|
+
|
279
|
+
Bug fixes
|
280
|
+
|
281
|
+
* Remove override of `ExampleGroup#ancestors`. This is a core ruby method that
|
282
|
+
RSpec shouldn't override. Instead, define `ExampleGroup#parent_groups`. (Myron
|
283
|
+
Marston)
|
284
|
+
* Limit monkey patching of shared example/context declaration methods
|
285
|
+
(`shared_examples_for`, etc.) to just the objects that need it rather than
|
286
|
+
every object in the system (Myron Marston).
|
287
|
+
* Fix Metadata#fetch to support computed values (Sam Goldman).
|
288
|
+
* Named subject can now be referred to from within subject block in a nested
|
289
|
+
group (tomykaira).
|
290
|
+
* Fix `fail_fast` so that it properly exits when an error occurs in a
|
291
|
+
`before(:all) hook` (Bradley Schaefer).
|
292
|
+
* Make the order spec files are loaded consistent, regardless of the
|
293
|
+
order of the files returned by the OS or the order passed at
|
294
|
+
the command line (Jo Liss and Sam Phippen).
|
295
|
+
* Ensure instance variables from `before(:all)` are always exposed
|
296
|
+
from `after(:all)`, even if an error occurs in `before(:all)`
|
297
|
+
(Sam Phippen).
|
298
|
+
* `rspec --init` no longer generates an incorrect warning about `--configure`
|
299
|
+
being deprecated (Sam Phippen).
|
300
|
+
* Fix pluralization of `1 seconds` (Odin Dutton)
|
301
|
+
* Fix ANSICON url (Jarmo Pertman)
|
302
|
+
* Use dup of Time so reporting isn't clobbered by examples that modify Time
|
303
|
+
without properly restoring it. (David Chelimsky)
|
304
|
+
|
305
|
+
Deprecations
|
306
|
+
|
307
|
+
* `share_as` is no longer needed. `shared_context` and/or
|
308
|
+
`RSpec::SharedContext` provide better mechanisms (Sam Phippen).
|
309
|
+
* Deprecate `RSpec.configuration` with a block (use `RSpec.configure`).
|
310
|
+
|
311
|
+
|
312
|
+
### 2.11.1 / 2012-07-18
|
313
|
+
[full changelog](http://github.com/rspec/rspec-core/compare/v2.11.0...v2.11.1)
|
314
|
+
|
315
|
+
Bug fixes
|
316
|
+
|
317
|
+
* Fix the way we autoload RSpec::Matchers so that custom matchers can be
|
318
|
+
defined before rspec-core has been configured to definitely use
|
319
|
+
rspec-expectations. (Myron Marston)
|
320
|
+
* Fix typo in --help message printed for -e option. (Jo Liss)
|
321
|
+
* Fix ruby warnings. (Myron Marston)
|
322
|
+
* Ignore mock expectation failures when the example has already failed.
|
323
|
+
Mock expectation failures have always been ignored in this situation,
|
324
|
+
but due to my changes in 27059bf1 it was printing a confusing message.
|
325
|
+
(Myron Marston).
|
326
|
+
|
327
|
+
### 2.11.0 / 2012-07-07
|
328
|
+
[full changelog](http://github.com/rspec/rspec-core/compare/v2.10.1...v2.11.0)
|
329
|
+
|
330
|
+
Enhancements
|
331
|
+
|
332
|
+
* Support multiple `--example` options. (Daniel Doubrovkine @dblock)
|
333
|
+
* Named subject e.g. `subject(:article) { Article.new }`
|
334
|
+
* see [http://blog.davidchelimsky.net/2012/05/13/spec-smell-explicit-use-of-subject/](http://blog.davidchelimsky.net/2012/05/13/spec-smell-explicit-use-of-subject/)
|
335
|
+
for background.
|
336
|
+
* thanks to Bradley Schaefer for suggesting it and Avdi Grimm for almost
|
337
|
+
suggesting it.
|
338
|
+
* `config.mock_with` and `config.expect_with` yield custom config object to a
|
339
|
+
block if given
|
340
|
+
* aids decoupling from rspec-core's configuation
|
341
|
+
* `include_context` and `include_examples` support a block, which gets eval'd
|
342
|
+
in the current context (vs the nested context generated by `it_behaves_like`).
|
343
|
+
* Add `config.order = 'random'` to the `spec_helper.rb` generated by `rspec
|
344
|
+
--init`.
|
345
|
+
* Delay the loading of DRb (Myron Marston).
|
346
|
+
* Limit monkey patching of `describe` onto just the objects that need it rather
|
347
|
+
than every object in the system (Myron Marston).
|
348
|
+
|
349
|
+
Bug fixes
|
350
|
+
|
351
|
+
* Support alternative path separators. For example, on Windows, you can now do
|
352
|
+
this: `rspec spec\subdir`. (Jarmo Pertman @jarmo)
|
353
|
+
* When an example raises an error and an after or around hook does as
|
354
|
+
well, print out the hook error. Previously, the error was silenced and
|
355
|
+
the user got no feedback about what happened. (Myron Marston)
|
356
|
+
* `--require` and `-I` are merged among different configuration sources (Andy
|
357
|
+
Lindeman)
|
358
|
+
* Delegate to mocha methods instead of aliasing them in mocha adapter.
|
359
|
+
|
360
|
+
### 2.10.1 / 2012-05-19
|
361
|
+
[full changelog](http://github.com/rspec/rspec-core/compare/v2.10.0...v2.10.1)
|
362
|
+
|
363
|
+
Bug fixes
|
364
|
+
|
365
|
+
* `RSpec.reset` properly reinits configuration and world
|
366
|
+
* Call `to_s` before `split` on exception messages that might not always be
|
367
|
+
Strings (slyphon)
|
368
|
+
|
369
|
+
### 2.10.0 / 2012-05-03
|
370
|
+
[full changelog](http://github.com/rspec/rspec-core/compare/v2.9.0...v2.10.0)
|
371
|
+
|
372
|
+
Enhancements
|
373
|
+
|
374
|
+
* Add `prepend_before` and `append_after` hooks (preethiramdev)
|
375
|
+
* intended for extension libs
|
376
|
+
* restores rspec-1 behavior
|
377
|
+
* Reporting of profiled examples (moro)
|
378
|
+
* Report the total amount of time taken for the top slowest examples.
|
379
|
+
* Report what percentage the slowest examples took from the total runtime.
|
380
|
+
|
381
|
+
Bug fixes
|
382
|
+
|
383
|
+
* Properly parse `SPEC_OPTS` options.
|
384
|
+
* `example.description` returns the location of the example if there is no
|
385
|
+
explicit description or matcher-generated description.
|
386
|
+
* RDoc fixes (Grzegorz Świrski)
|
387
|
+
* Do not modify example ancestry when dumping errors (Michael Grosser)
|
388
|
+
|
389
|
+
### 2.9.0 / 2012-03-17
|
390
|
+
[full changelog](http://github.com/rspec/rspec-core/compare/v2.8.0...v2.9.0)
|
391
|
+
|
392
|
+
Enhancements
|
393
|
+
|
394
|
+
* Support for "X minutes X seconds" spec run duration in formatter. (uzzz)
|
395
|
+
* Strip whitespace from group and example names in doc formatter.
|
396
|
+
* Removed spork-0.9 shim. If you're using spork-0.8.x, you'll need to upgrade
|
397
|
+
to 0.9.0.
|
398
|
+
|
399
|
+
Bug fixes
|
400
|
+
|
401
|
+
* Restore `--full_backtrace` option
|
402
|
+
* Ensure that values passed to `config.filter_run` are respected when running
|
403
|
+
over DRb (using spork).
|
404
|
+
* Ensure shared example groups are reset after a run (as example groups are).
|
405
|
+
* Remove `rescue false` from calls to filters represented as Procs
|
406
|
+
* Ensure `described_class` gets the closest constant (pyromaniac)
|
407
|
+
* In "autorun", don't run the specs in the `at_exit` hook if there was an
|
408
|
+
exception (most likely due to a SyntaxError). (sunaku)
|
409
|
+
* Don't extend groups with modules already used to extend ancestor groups.
|
410
|
+
* `its` correctly memoizes nil or false values (Yamada Masaki)
|
411
|
+
|
412
|
+
### 2.8.0 / 2012-01-04
|
413
|
+
|
414
|
+
[full changelog](http://github.com/rspec/rspec-core/compare/v2.8.0.rc2...v2.8.0)
|
415
|
+
|
416
|
+
Bug fixes
|
417
|
+
|
418
|
+
* For metadata filtering, restore passing the entire array to the proc, rather
|
419
|
+
than each item in the array (weidenfreak)
|
420
|
+
* Ensure each spec file is loaded only once
|
421
|
+
* Fixes a bug that caused all the examples in a file to be run when
|
422
|
+
referenced twice with line numbers in a command, e.g.
|
423
|
+
* `rspec path/to/file:37 path/to/file:42`
|
424
|
+
|
425
|
+
### 2.8.0.rc2 / 2011-12-19
|
426
|
+
|
427
|
+
[full changelog](http://github.com/rspec/rspec-core/compare/v2.8.0.rc1...v2.8.0.rc2)
|
428
|
+
|
429
|
+
Enhancments
|
430
|
+
|
431
|
+
* new `--init` command (Peter Schröder)
|
432
|
+
* generates `spec/spec_helper.rb`
|
433
|
+
* deletes obsolete files (on confirmation)
|
434
|
+
* merged with and deprecates `--configure` command, which generated
|
435
|
+
`.rspec`
|
436
|
+
* use `require_relative` when available (Ian Leitch)
|
437
|
+
* `include_context` and `include_examples` accept params (Calvin Bascom)
|
438
|
+
* print the time for every example in the html formatter (Richie Vos)
|
439
|
+
* several tasty refactoring niblets (Sasha)
|
440
|
+
* `it "does something", :x => [:foo,'bar',/baz/] (Ivan Neverov)
|
441
|
+
* supports matching n command line tag values with an example or group
|
442
|
+
|
443
|
+
### 2.8.0.rc1 / 2011-11-06
|
444
|
+
|
445
|
+
[full changelog](http://github.com/rspec/rspec-core/compare/v2.7.1...v2.8.0.rc1)
|
446
|
+
|
447
|
+
Enhancements
|
448
|
+
|
449
|
+
* `--order` (Justin Ko)
|
450
|
+
* run examples in random order: `--order rand`
|
451
|
+
* specify the seed: `--order rand:123`
|
452
|
+
* `--seed SEED`
|
453
|
+
* equivalent of `--order rand:SEED`
|
454
|
+
* SharedContext supports `let` (David Chelimsky)
|
455
|
+
* Filter improvements (David Chelimsky)
|
456
|
+
* override opposing tags from the command line
|
457
|
+
* override RSpec.configure tags from the command line
|
458
|
+
* `--line_number 37` overrides all other filters
|
459
|
+
* `path/to/file.rb:37` overrides all other filters
|
460
|
+
* refactor: consolidate filter management in a FilterManger object
|
461
|
+
* Eliminate Ruby warnings (Matijs van Zuijlen)
|
462
|
+
* Make reporter.report an API (David Chelimsky)
|
463
|
+
* supports extension tools like interative_rspec
|
464
|
+
|
465
|
+
Changes
|
466
|
+
|
467
|
+
* change `config.color_enabled` (getter/setter/predicate) to `color` to align
|
468
|
+
with `--[no]-color` CLI option.
|
469
|
+
* `color_enabled` is still supported for now, but will likley be deprecated
|
470
|
+
in a 2.x release so we can remove it in 3.0.
|
471
|
+
|
472
|
+
Bug fixes
|
473
|
+
|
474
|
+
* Make sure the `bar` in `--tag foo:bar` makes it to DRb (Aaron Gibralter)
|
475
|
+
* Fix bug where full descriptions of groups nested 3 deep were repeated.
|
476
|
+
* Restore report of time to run to start after files are loaded.
|
477
|
+
* fixes bug where run times were cumalitive in spork
|
478
|
+
* fixes compatibility with time-series metrics
|
479
|
+
* Don't error out when `config.mock_with` or `expect_with` is re-specifying the
|
480
|
+
current config (Myron Marston)
|
481
|
+
|
482
|
+
* Deprecations
|
483
|
+
* :alias option on `configuration.add_setting`. Use `:alias_with` on the
|
484
|
+
original setting declaration instead.
|
485
|
+
|
486
|
+
### 2.7.1 / 2011-10-20
|
487
|
+
|
488
|
+
[full changelog](http://github.com/rspec/rspec-core/compare/v2.7.0...v2.7.1)
|
489
|
+
|
490
|
+
Bug fixes
|
491
|
+
|
492
|
+
* tell autotest the correct place to find the rspec executable
|
493
|
+
|
494
|
+
### 2.7.0 / 2011-10-16
|
495
|
+
|
496
|
+
[full changelog](http://github.com/rspec/rspec-core/compare/v2.6.4...v2.7.0)
|
497
|
+
|
498
|
+
NOTE: RSpec's release policy dictates that there should not be any backward
|
499
|
+
incompatible changes in minor releases, but we're making an exception to
|
500
|
+
release a change to how RSpec interacts with other command line tools.
|
501
|
+
|
502
|
+
As of 2.7.0, you must explicity `require "rspec/autorun"` unless you use the
|
503
|
+
`rspec` command (which already does this for you).
|
504
|
+
|
505
|
+
Enhancements
|
506
|
+
|
507
|
+
* Add `example.exception` (David Chelimsky)
|
508
|
+
* `--default_path` command line option (Justin Ko)
|
509
|
+
* support multiple `--line_number` options (David J. Hamilton)
|
510
|
+
* also supports `path/to/file.rb:5:9` (runs examples on lines 5 and 9)
|
511
|
+
* Allow classes/modules to be used as shared example group identifiers (Arthur
|
512
|
+
Gunn)
|
513
|
+
* Friendly error message when shared context cannot be found (Sławosz
|
514
|
+
Sławiński)
|
515
|
+
* Clear formatters when resetting config (John Bintz)
|
516
|
+
* Add `xspecify` and xexample as temp-pending methods (David Chelimsky)
|
517
|
+
* Add `--no-drb` option (Iain Hecker)
|
518
|
+
* Provide more accurate run time by registering start time before code is
|
519
|
+
loaded (David Chelimsky)
|
520
|
+
* reverted in 2.8.0
|
521
|
+
* Rake task default pattern finds specs in symlinked dirs (Kelly Felkins)
|
522
|
+
* Rake task no longer does anything to invoke bundler since Bundler already
|
523
|
+
handles it for us. Thanks to Andre Arko for the tip.
|
524
|
+
* Add `--failure-exit-code` option (Chris Griego)
|
525
|
+
|
526
|
+
Bug fixes
|
527
|
+
|
528
|
+
* Include `Rake::DSL` to remove deprecation warnings in Rake > 0.8.7 (Pivotal
|
529
|
+
Casebook)
|
530
|
+
* Only eval `let` block once even if it returns `nil` (Adam Meehan)
|
531
|
+
* Fix `--pattern` option (wasn't being recognized) (David Chelimsky)
|
532
|
+
* Only implicitly `require "rspec/autorun"` with the `rspec` command (David
|
533
|
+
Chelimsky)
|
534
|
+
* Ensure that rspec's `at_exit` defines the exit code (Daniel Doubrovkine)
|
535
|
+
* Show the correct snippet in the HTML and TextMate formatters (Brian Faherty)
|
536
|
+
|
537
|
+
### 2.6.4 / 2011-06-06
|
538
|
+
|
539
|
+
[full changelog](http://github.com/rspec/rspec-core/compare/v2.6.3...v2.6.4)
|
540
|
+
|
541
|
+
NOTE: RSpec's release policy dictates that there should not be new
|
542
|
+
functionality in patch releases, but this minor enhancement slipped in by
|
543
|
+
accident. As it doesn't add a new API, we decided to leave it in rather than
|
544
|
+
roll back this release.
|
545
|
+
|
546
|
+
Enhancements
|
547
|
+
|
548
|
+
* Add summary of commands to run individual failed examples.
|
549
|
+
|
550
|
+
Bug fixes
|
551
|
+
|
552
|
+
* Support exclusion filters in DRb. (Yann Lugrin)
|
553
|
+
* Fix --example escaping when run over DRb. (Elliot Winkler)
|
554
|
+
* Use standard ANSI codes for color formatting so colors work in a wider set of
|
555
|
+
color schemes.
|
556
|
+
|
557
|
+
### 2.6.3 / 2011-05-24
|
558
|
+
|
559
|
+
[full changelog](http://github.com/rspec/rspec-core/compare/v2.6.2...v2.6.3)
|
560
|
+
|
561
|
+
Bug fixes
|
562
|
+
|
563
|
+
* Explicitly convert exit code to integer, avoiding TypeError when return
|
564
|
+
value of run is IO object proxied by `DRb::DRbObject` (Julian Scheid)
|
565
|
+
* Clarify behavior of `--example` command line option
|
566
|
+
* Build using a rubygems-1.6.2 to avoid downstream yaml parsing error
|
567
|
+
|
568
|
+
### 2.6.2 / 2011-05-21
|
569
|
+
|
570
|
+
[full changelog](http://github.com/rspec/rspec-core/compare/v2.6.1...v2.6.2)
|
571
|
+
|
572
|
+
Bug fixes
|
573
|
+
|
574
|
+
* Warn rather than raise when HOME env var is not defined
|
575
|
+
* Properly merge command-line exclusions with default :if and :unless (joshcooper)
|
576
|
+
|
577
|
+
### 2.6.1 / 2011-05-19
|
578
|
+
|
579
|
+
[full changelog](http://github.com/rspec/rspec-core/compare/v2.6.0...v2.6.1)
|
580
|
+
|
581
|
+
Bug fixes
|
582
|
+
|
583
|
+
* Don't extend nil when filters are nil
|
584
|
+
* `require 'rspec/autorun'` when running rcov.
|
585
|
+
|
586
|
+
### 2.6.0 / 2011-05-12
|
587
|
+
|
588
|
+
[full changelog](http://github.com/rspec/rspec-core/compare/v2.5.1...v2.6.0)
|
589
|
+
|
590
|
+
Enhancements
|
591
|
+
|
592
|
+
* `shared_context` (Damian Nurzynski)
|
593
|
+
* extend groups matching specific metadata with:
|
594
|
+
* method definitions
|
595
|
+
* subject declarations
|
596
|
+
* let/let! declarations
|
597
|
+
* etc (anything you can do in a group)
|
598
|
+
* `its([:key])` works for any subject with #[]. (Peter Jaros)
|
599
|
+
* `treat_symbols_as_metadata_keys_with_true_values` (Myron Marston)
|
600
|
+
* Print a deprecation warning when you configure RSpec after defining an
|
601
|
+
example. All configuration should happen before any examples are defined.
|
602
|
+
(Myron Marston)
|
603
|
+
* Pass the exit status of a DRb run to the invoking process. This causes specs
|
604
|
+
run via DRb to not just return true or false. (Ilkka Laukkanen)
|
605
|
+
* Refactoring of `ConfigurationOptions#parse_options` (Rodrigo Rosenfeld Rosas)
|
606
|
+
* Report excluded filters in runner output (tip from andyl)
|
607
|
+
* Clean up messages for filters/tags.
|
608
|
+
* Restore --pattern/-P command line option from rspec-1
|
609
|
+
* Support false as well as true in config.full_backtrace= (Andreas Tolf
|
610
|
+
Tolfsen)
|
611
|
+
|
612
|
+
Bug fixes
|
613
|
+
|
614
|
+
* Don't stumble over an exception without a message (Hans Hasselberg)
|
615
|
+
* Remove non-ascii characters from comments that were choking rcov (Geoffrey
|
616
|
+
Byers)
|
617
|
+
* Fixed backtrace so it doesn't include lines from before the autorun at_exit
|
618
|
+
hook (Myron Marston)
|
619
|
+
* Include RSpec::Matchers when first example group is defined, rather than just
|
620
|
+
before running the examples. This works around an obscure bug in ruby 1.9
|
621
|
+
that can cause infinite recursion. (Myron Marston)
|
622
|
+
* Don't send `example_group_[started|finished]` to formatters for empty groups.
|
623
|
+
* Get specs passing on jruby (Sidu Ponnappa)
|
624
|
+
* Fix bug where mixing nested groups and outer-level examples gave
|
625
|
+
unpredictable :line_number behavior (Artur Małecki)
|
626
|
+
* Regexp.escape the argument to --example (tip from Elliot Winkler)
|
627
|
+
* Correctly pass/fail pending block with message expectations
|
628
|
+
* CommandLine returns exit status (0/1) instead of true/false
|
629
|
+
* Create path to formatter output file if it doesn't exist (marekj).
|
630
|
+
|
631
|
+
|
632
|
+
### 2.5.1 / 2011-02-06
|
633
|
+
|
634
|
+
[full changelog](http://github.com/rspec/rspec-core/compare/v2.5.0...v2.5.1)
|
635
|
+
|
636
|
+
NOTE: this release breaks compatibility with rspec/autotest/bundler
|
637
|
+
integration, but does so in order to greatly simplify it.
|
638
|
+
|
639
|
+
With this release, if you want the generated autotest command to include
|
640
|
+
'bundle exec', require Autotest's bundler plugin in a .autotest file in the
|
641
|
+
project's root directory or in your home directory:
|
642
|
+
|
643
|
+
require "autotest/bundler"
|
644
|
+
|
645
|
+
Now you can just type 'autotest' on the commmand line and it will work as you expect.
|
646
|
+
|
647
|
+
If you don't want 'bundle exec', there is nothing you have to do.
|
648
|
+
|
649
|
+
### 2.5.0 / 2011-02-05
|
650
|
+
|
651
|
+
[full changelog](http://github.com/rspec/rspec-core/compare/v2.4.0...v2.5.0)
|
652
|
+
|
653
|
+
Enhancements
|
654
|
+
|
655
|
+
* Autotest::Rspec2 parses command line args passed to autotest after '--'
|
656
|
+
* --skip-bundler option for autotest command
|
657
|
+
* Autotest regexp fixes (Jon Rowe)
|
658
|
+
* Add filters to html and textmate formatters (Daniel Quimper)
|
659
|
+
* Explicit passing of block (need for JRuby 1.6) (John Firebaugh)
|
660
|
+
|
661
|
+
Bug fixes
|
662
|
+
|
663
|
+
* fix dom IDs in HTML formatter (Brian Faherty)
|
664
|
+
* fix bug with --drb + formatters when not running in drb
|
665
|
+
* include --tag options in drb args (monocle)
|
666
|
+
* fix regression so now SPEC_OPTS take precedence over CLI options again (Roman
|
667
|
+
Chernyatchik)
|
668
|
+
* only call its(:attribute) once (failing example from Brian Dunn)
|
669
|
+
* fix bizarre bug where rspec would hang after String.alias :to_int :to_i
|
670
|
+
(Damian Nurzynski)
|
671
|
+
|
672
|
+
Deprecations
|
673
|
+
|
674
|
+
* implicit inclusion of 'bundle exec' when Gemfile present (use autotest's
|
675
|
+
bundler plugin instead)
|
676
|
+
|
677
|
+
### 2.4.0 / 2011-01-02
|
678
|
+
|
679
|
+
[full changelog](http://github.com/rspec/rspec-core/compare/v2.3.1...v2.4.0)
|
680
|
+
|
681
|
+
Enhancements
|
682
|
+
|
683
|
+
* start the debugger on -d so the stack trace is visible when it stops
|
684
|
+
(Clifford Heath)
|
685
|
+
* apply hook filtering to examples as well as groups (Myron Marston)
|
686
|
+
* support multiple formatters, each with their own output
|
687
|
+
* show exception classes in failure messages unless they come from RSpec
|
688
|
+
matchers or message expectations
|
689
|
+
* before(:all) { pending } sets all examples to pending
|
690
|
+
|
691
|
+
Bug fixes
|
692
|
+
|
693
|
+
* fix bug due to change in behavior of reject in Ruby 1.9.3-dev (Shota
|
694
|
+
Fukumori)
|
695
|
+
* fix bug when running in jruby: be explicit about passing block to super (John
|
696
|
+
Firebaugh)
|
697
|
+
* rake task doesn't choke on paths with quotes (Janmejay Singh)
|
698
|
+
* restore --options option from rspec-1
|
699
|
+
* require 'ostruct' to fix bug with its([key]) (Kim Burgestrand)
|
700
|
+
* --configure option generates .rspec file instead of autotest/discover.rb
|
701
|
+
|
702
|
+
### 2.3.1 / 2010-12-16
|
703
|
+
|
704
|
+
[full changelog](http://github.com/rspec/rspec-core/compare/v2.3.0...v2.3.1)
|
705
|
+
|
706
|
+
Bug fixes
|
707
|
+
|
708
|
+
* send debugger warning message to $stdout if RSpec.configuration.error_stream
|
709
|
+
has not been defined yet.
|
710
|
+
* HTML Formatter _finally_ properly displays nested groups (Jarmo Pertman)
|
711
|
+
* eliminate some warnings when running RSpec's own suite (Jarmo Pertman)
|
712
|
+
|
713
|
+
### 2.3.0 / 2010-12-12
|
714
|
+
|
715
|
+
[full changelog](http://github.com/rspec/rspec-core/compare/v2.2.1...v2.3.0)
|
716
|
+
|
717
|
+
Enhancements
|
718
|
+
|
719
|
+
* tell autotest to use "rspec2" if it sees a .rspec file in the project's root
|
720
|
+
directory
|
721
|
+
* replaces the need for ./autotest/discover.rb, which will not work with
|
722
|
+
all versions of ZenTest and/or autotest
|
723
|
+
* config.expect_with
|
724
|
+
* :rspec # => rspec/expectations
|
725
|
+
* :stdlib # => test/unit/assertions
|
726
|
+
* :rspec, :stdlib # => both
|
727
|
+
|
728
|
+
Bug fixes
|
729
|
+
|
730
|
+
* fix dev Gemfile to work on non-mac-os machines (Lake Denman)
|
731
|
+
* ensure explicit subject is only eval'd once (Laszlo Bacsi)
|
732
|
+
|
733
|
+
### 2.2.1 / 2010-11-28
|
734
|
+
|
735
|
+
[full changelog](http://github.com/rspec/rspec-core/compare/v2.2.0...v2.2.1)
|
736
|
+
|
737
|
+
Bug fixes
|
738
|
+
* alias_method instead of override Kernel#method_missing (John Wilger)
|
739
|
+
* changed --autotest to --tty in generated command (MIKAMI Yoshiyuki)
|
740
|
+
* revert change to debugger (had introduced conflict with Rails)
|
741
|
+
* also restored --debugger/-debug option
|
742
|
+
|
743
|
+
### 2.2.0 / 2010-11-28
|
744
|
+
|
745
|
+
[full changelog](http://github.com/rspec/rspec-core/compare/v2.1.0...v2.2.0)
|
746
|
+
|
747
|
+
Deprecations/changes
|
748
|
+
|
749
|
+
* --debug/-d on command line is deprecated and now has no effect
|
750
|
+
* win32console is now ignored; Windows users must use ANSICON for color support
|
751
|
+
(Bosko Ivanisevic)
|
752
|
+
|
753
|
+
Enhancements
|
754
|
+
|
755
|
+
* When developing locally rspec-core now works with the rspec-dev setup or your
|
756
|
+
local gems
|
757
|
+
* Raise exception with helpful message when rspec-1 is loaded alongside rspec-2
|
758
|
+
(Justin Ko)
|
759
|
+
* debugger statements _just work_ as long as ruby-debug is installed
|
760
|
+
* otherwise you get warned, but not fired
|
761
|
+
* Expose example.metadata in around hooks
|
762
|
+
* Performance improvments (much faster now)
|
763
|
+
|
764
|
+
Bug fixes
|
765
|
+
|
766
|
+
* Make sure --fail-fast makes it across drb
|
767
|
+
* Pass -Ilib:spec to rcov
|
768
|
+
|
769
|
+
### 2.1.0 / 2010-11-07
|
770
|
+
|
771
|
+
[full changelog](http://github.com/rspec/rspec-core/compare/v2.0.1...v2.1.0)
|
772
|
+
|
773
|
+
Enhancments
|
774
|
+
|
775
|
+
* Add skip_bundler option to rake task to tell rake task to ignore the presence
|
776
|
+
of a Gemfile (jfelchner)
|
777
|
+
* Add gemfile option to rake task to tell rake task what Gemfile to look for
|
778
|
+
(defaults to 'Gemfile')
|
779
|
+
* Allow passing caller trace into Metadata to support extensions (Glenn
|
780
|
+
Vanderburg)
|
781
|
+
* Add deprecation warning for Spec::Runner.configure to aid upgrade from
|
782
|
+
RSpec-1
|
783
|
+
* Add deprecated Spec::Rake::SpecTask to aid upgrade from RSpec-1
|
784
|
+
* Add 'autospec' command with helpful message to aid upgrade from RSpec-1
|
785
|
+
* Add support for filtering with tags on CLI (Lailson Bandeira)
|
786
|
+
* Add a helpful message about RUBYOPT when require fails in bin/rspec (slyphon)
|
787
|
+
* Add "-Ilib" to the default rcov options (Tianyi Cui)
|
788
|
+
* Make the expectation framework configurable (default rspec, of course)
|
789
|
+
(Justin Ko)
|
790
|
+
* Add 'pending' to be conditional (Myron Marston)
|
791
|
+
* Add explicit support for :if and :unless as metadata keys for conditional run
|
792
|
+
of examples (Myron Marston)
|
793
|
+
* Add --fail-fast command line option (Jeff Kreeftmeijer)
|
794
|
+
|
795
|
+
Bug fixes
|
796
|
+
|
797
|
+
* Eliminate stack overflow with "subject { self }"
|
798
|
+
* Require 'rspec/core' in the Raketask (ensures it required when running rcov)
|
799
|
+
|
800
|
+
### 2.0.1 / 2010-10-18
|
801
|
+
|
802
|
+
[full changelog](http://github.com/rspec/rspec-core/compare/v2.0.0...v2.0.1)
|
803
|
+
|
804
|
+
Bug fixes
|
805
|
+
|
806
|
+
* Restore color when using spork + autotest
|
807
|
+
* Pending examples without docstrings render the correct message (Josep M.
|
808
|
+
Bach)
|
809
|
+
* Fixed bug where a failure in a spec file ending in anything but _spec.rb
|
810
|
+
would fail in a confusing way.
|
811
|
+
* Support backtrace lines from erb templates in html formatter (Alex Crichton)
|
812
|
+
|
813
|
+
### 2.0.0 / 2010-10-10
|
814
|
+
|
815
|
+
[full changelog](http://github.com/rspec/rspec-core/compare/v2.0.0.rc...v2.0.0)
|
816
|
+
|
817
|
+
RSpec-1 compatibility
|
818
|
+
|
819
|
+
* Rake task uses ENV["SPEC"] as file list if present
|
820
|
+
|
821
|
+
Bug fixes
|
822
|
+
|
823
|
+
* Bug Fix: optparse --out foo.txt (Leonardo Bessa)
|
824
|
+
* Suppress color codes for non-tty output (except autotest)
|
825
|
+
|
826
|
+
### 2.0.0.rc / 2010-10-05
|
827
|
+
|
828
|
+
[full changelog](http://github.com/rspec/rspec-core/compare/v2.0.0.beta.22...v2.0.0.rc)
|
829
|
+
|
830
|
+
Enhancements
|
831
|
+
|
832
|
+
* implicitly require unknown formatters so you don't have to require the file
|
833
|
+
explicitly on the commmand line (Michael Grosser)
|
834
|
+
* add --out/-o option to assign output target
|
835
|
+
* added fail_fast configuration option to abort on first failure
|
836
|
+
* support a Hash subject (its([:key]) { should == value }) (Josep M. Bach)
|
837
|
+
|
838
|
+
Bug fixes
|
839
|
+
|
840
|
+
* Explicitly require rspec version to fix broken rdoc task (Hans de Graaff)
|
841
|
+
* Ignore backtrace lines that come from other languages, like Java or
|
842
|
+
Javascript (Charles Lowell)
|
843
|
+
* Rake task now does what is expected when setting (or not setting)
|
844
|
+
fail_on_error and verbose
|
845
|
+
* Fix bug in which before/after(:all) hooks were running on excluded nested
|
846
|
+
groups (Myron Marston)
|
847
|
+
* Fix before(:all) error handling so that it fails examples in nested groups,
|
848
|
+
too (Myron Marston)
|
849
|
+
|
850
|
+
### 2.0.0.beta.22 / 2010-09-12
|
851
|
+
|
852
|
+
[full changelog](http://github.com/rspec/rspec-core/compare/v2.0.0.beta.20...v2.0.0.beta.22)
|
853
|
+
|
854
|
+
Enhancements
|
855
|
+
|
856
|
+
* removed at_exit hook
|
857
|
+
* CTRL-C stops the run (almost) immediately
|
858
|
+
* first it cleans things up by running the appropriate after(:all) and
|
859
|
+
after(:suite) hooks
|
860
|
+
* then it reports on any examples that have already run
|
861
|
+
* cleaned up rake task
|
862
|
+
* generate correct task under variety of conditions
|
863
|
+
* options are more consistent
|
864
|
+
* deprecated redundant options
|
865
|
+
* run 'bundle exec autotest' when Gemfile is present
|
866
|
+
* support ERB in .rspec options files (Justin Ko)
|
867
|
+
* depend on bundler for development tasks (Myron Marston)
|
868
|
+
* add example_group_finished to formatters and reporter (Roman Chernyatchik)
|
869
|
+
|
870
|
+
Bug fixes
|
871
|
+
|
872
|
+
* support paths with spaces when using autotest (Andreas Neuhaus)
|
873
|
+
* fix module_exec with ruby 1.8.6 (Myron Marston)
|
874
|
+
* remove context method from top-level
|
875
|
+
* was conflicting with irb, for example
|
876
|
+
* errors in before(:all) are now reported correctly (Chad Humphries)
|
877
|
+
|
878
|
+
Removals
|
879
|
+
|
880
|
+
* removed -o --options-file command line option
|
881
|
+
* use ./.rspec and ~/.rspec
|