vim-jar 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +4 -0
- data/.rspec +2 -0
- data/.rvmrc +1 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +44 -0
- data/README.md +25 -0
- data/Rakefile +2 -0
- data/TODO.otl +28 -0
- data/bin/vim-jar +62 -0
- data/bundler/ruby/1.8/bin/autospec +19 -0
- data/bundler/ruby/1.8/bin/autotest +21 -0
- data/bundler/ruby/1.8/bin/htmldiff +19 -0
- data/bundler/ruby/1.8/bin/ldiff +19 -0
- data/bundler/ruby/1.8/bin/multigem +21 -0
- data/bundler/ruby/1.8/bin/multiruby +21 -0
- data/bundler/ruby/1.8/bin/multiruby_setup +21 -0
- data/bundler/ruby/1.8/bin/rdebug +19 -0
- data/bundler/ruby/1.8/bin/rspec +19 -0
- data/bundler/ruby/1.8/bin/unit_diff +21 -0
- data/bundler/ruby/1.8/bin/vim-jar +19 -0
- data/bundler/ruby/1.8/bin/zentest +21 -0
- data/bundler/ruby/1.8/gems/RubyInline-3.8.6/History.txt +392 -0
- data/bundler/ruby/1.8/gems/RubyInline-3.8.6/Manifest.txt +12 -0
- data/bundler/ruby/1.8/gems/RubyInline-3.8.6/README.txt +139 -0
- data/bundler/ruby/1.8/gems/RubyInline-3.8.6/Rakefile +38 -0
- data/bundler/ruby/1.8/gems/RubyInline-3.8.6/demo/fastmath.rb +27 -0
- data/bundler/ruby/1.8/gems/RubyInline-3.8.6/demo/hello.rb +13 -0
- data/bundler/ruby/1.8/gems/RubyInline-3.8.6/example.rb +86 -0
- data/bundler/ruby/1.8/gems/RubyInline-3.8.6/example2.rb +34 -0
- data/bundler/ruby/1.8/gems/RubyInline-3.8.6/lib/inline.rb +878 -0
- data/bundler/ruby/1.8/gems/RubyInline-3.8.6/test/test_inline.rb +1051 -0
- data/bundler/ruby/1.8/gems/RubyInline-3.8.6/tutorial/example1.rb +63 -0
- data/bundler/ruby/1.8/gems/RubyInline-3.8.6/tutorial/example2.rb +96 -0
- data/bundler/ruby/1.8/gems/ZenTest-4.4.0/.autotest +21 -0
- data/bundler/ruby/1.8/gems/ZenTest-4.4.0/History.txt +709 -0
- data/bundler/ruby/1.8/gems/ZenTest-4.4.0/Manifest.txt +35 -0
- data/bundler/ruby/1.8/gems/ZenTest-4.4.0/README.txt +109 -0
- data/bundler/ruby/1.8/gems/ZenTest-4.4.0/Rakefile +59 -0
- data/bundler/ruby/1.8/gems/ZenTest-4.4.0/articles/Article.css +721 -0
- data/bundler/ruby/1.8/gems/ZenTest-4.4.0/articles/getting_started_with_autotest.html +533 -0
- data/bundler/ruby/1.8/gems/ZenTest-4.4.0/articles/how_to_use_zentest.txt +393 -0
- data/bundler/ruby/1.8/gems/ZenTest-4.4.0/bin/autotest +55 -0
- data/bundler/ruby/1.8/gems/ZenTest-4.4.0/bin/multigem +4 -0
- data/bundler/ruby/1.8/gems/ZenTest-4.4.0/bin/multiruby +76 -0
- data/bundler/ruby/1.8/gems/ZenTest-4.4.0/bin/multiruby_setup +74 -0
- data/bundler/ruby/1.8/gems/ZenTest-4.4.0/bin/unit_diff +37 -0
- data/bundler/ruby/1.8/gems/ZenTest-4.4.0/bin/zentest +28 -0
- data/bundler/ruby/1.8/gems/ZenTest-4.4.0/example.txt +42 -0
- data/bundler/ruby/1.8/gems/ZenTest-4.4.0/example1.rb +7 -0
- data/bundler/ruby/1.8/gems/ZenTest-4.4.0/example2.rb +15 -0
- data/bundler/ruby/1.8/gems/ZenTest-4.4.0/example_dot_autotest.rb +12 -0
- data/bundler/ruby/1.8/gems/ZenTest-4.4.0/lib/autotest/autoupdate.rb +26 -0
- data/bundler/ruby/1.8/gems/ZenTest-4.4.0/lib/autotest/once.rb +9 -0
- data/bundler/ruby/1.8/gems/ZenTest-4.4.0/lib/autotest/rcov.rb +27 -0
- data/bundler/ruby/1.8/gems/ZenTest-4.4.0/lib/autotest/restart.rb +11 -0
- data/bundler/ruby/1.8/gems/ZenTest-4.4.0/lib/autotest/timestamp.rb +9 -0
- data/bundler/ruby/1.8/gems/ZenTest-4.4.0/lib/autotest.rb +658 -0
- data/bundler/ruby/1.8/gems/ZenTest-4.4.0/lib/focus.rb +21 -0
- data/bundler/ruby/1.8/gems/ZenTest-4.4.0/lib/functional_test_matrix.rb +92 -0
- data/bundler/ruby/1.8/gems/ZenTest-4.4.0/lib/multiruby.rb +412 -0
- data/bundler/ruby/1.8/gems/ZenTest-4.4.0/lib/unit_diff.rb +274 -0
- data/bundler/ruby/1.8/gems/ZenTest-4.4.0/lib/zentest.rb +562 -0
- data/bundler/ruby/1.8/gems/ZenTest-4.4.0/lib/zentest_mapping.rb +117 -0
- data/bundler/ruby/1.8/gems/ZenTest-4.4.0/test/test_autotest.rb +477 -0
- data/bundler/ruby/1.8/gems/ZenTest-4.4.0/test/test_focus.rb +35 -0
- data/bundler/ruby/1.8/gems/ZenTest-4.4.0/test/test_unit_diff.rb +343 -0
- data/bundler/ruby/1.8/gems/ZenTest-4.4.0/test/test_zentest.rb +566 -0
- data/bundler/ruby/1.8/gems/ZenTest-4.4.0/test/test_zentest_mapping.rb +242 -0
- data/bundler/ruby/1.8/gems/columnize-0.3.2/AUTHORS +1 -0
- data/bundler/ruby/1.8/gems/columnize-0.3.2/COPYING +340 -0
- data/bundler/ruby/1.8/gems/columnize-0.3.2/ChangeLog +101 -0
- data/bundler/ruby/1.8/gems/columnize-0.3.2/Makefile +8 -0
- data/bundler/ruby/1.8/gems/columnize-0.3.2/NEWS +32 -0
- data/bundler/ruby/1.8/gems/columnize-0.3.2/README +39 -0
- data/bundler/ruby/1.8/gems/columnize-0.3.2/Rakefile +84 -0
- data/bundler/ruby/1.8/gems/columnize-0.3.2/lib/Makefile +7 -0
- data/bundler/ruby/1.8/gems/columnize-0.3.2/lib/columnize.rb +247 -0
- data/bundler/ruby/1.8/gems/columnize-0.3.2/lib/version.rb +3 -0
- data/bundler/ruby/1.8/gems/columnize-0.3.2/test/test-columnize.rb +81 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/.require_paths +3 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/LICENSE +51 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/README +158 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/Rakefile +316 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/doc.rb +42 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/ext/Makefile +157 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/ext/conftest.dSYM/Contents/Info.plist +20 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/ext/conftest.dSYM/Contents/Resources/DWARF/conftest +0 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/ext/curb.c +373 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/ext/curb.h +52 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/ext/curb.o +0 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/ext/curb_config.h +64 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/ext/curb_core.bundle +0 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/ext/curb_easy.c +3379 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/ext/curb_easy.h +84 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/ext/curb_easy.o +0 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/ext/curb_errors.c +637 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/ext/curb_errors.h +129 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/ext/curb_errors.o +0 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/ext/curb_macros.h +155 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/ext/curb_multi.c +519 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/ext/curb_multi.h +26 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/ext/curb_multi.o +0 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/ext/curb_postfield.c +522 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/ext/curb_postfield.h +40 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/ext/curb_postfield.o +0 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/ext/curb_upload.c +80 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/ext/curb_upload.h +30 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/ext/curb_upload.o +0 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/ext/extconf.rb +177 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/ext/mkmf.log +1088 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/lib/curb.rb +255 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/lib/curb_core.bundle +0 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/lib/curl.rb +2 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/tests/alltests.rb +3 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/tests/bug_curb_easy_blocks_ruby_threads.rb +52 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/tests/bug_curb_easy_post_with_string_no_content_length_header.rb +83 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/tests/bug_instance_post_differs_from_class_post.rb +53 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/tests/bug_multi_segfault.rb +14 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/tests/bug_postfields_crash.rb +26 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/tests/bug_postfields_crash2.rb +57 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/tests/bug_require_last_or_segfault.rb +40 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/tests/bugtests.rb +9 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/tests/helper.rb +182 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/tests/mem_check.rb +65 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/tests/require_last_or_segfault_script.rb +36 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/tests/tc_curl_download.rb +32 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/tests/tc_curl_easy.rb +830 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/tests/tc_curl_multi.rb +461 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/tests/tc_curl_postfield.rb +143 -0
- data/bundler/ruby/1.8/gems/curb-0.7.8/tests/unittests.rb +2 -0
- data/bundler/ruby/1.8/gems/curl-multi-0.2/History.txt +7 -0
- data/bundler/ruby/1.8/gems/curl-multi-0.2/License.txt +676 -0
- data/bundler/ruby/1.8/gems/curl-multi-0.2/Manifest.txt +25 -0
- data/bundler/ruby/1.8/gems/curl-multi-0.2/README.txt +7 -0
- data/bundler/ruby/1.8/gems/curl-multi-0.2/Rakefile +4 -0
- data/bundler/ruby/1.8/gems/curl-multi-0.2/config/hoe.rb +71 -0
- data/bundler/ruby/1.8/gems/curl-multi-0.2/config/requirements.rb +17 -0
- data/bundler/ruby/1.8/gems/curl-multi-0.2/lib/curl-multi/version.rb +23 -0
- data/bundler/ruby/1.8/gems/curl-multi-0.2/lib/curl-multi.rb +374 -0
- data/bundler/ruby/1.8/gems/curl-multi-0.2/lib/uri-extensions.rb +34 -0
- data/bundler/ruby/1.8/gems/curl-multi-0.2/log/debug.log +0 -0
- data/bundler/ruby/1.8/gems/curl-multi-0.2/script/destroy +14 -0
- data/bundler/ruby/1.8/gems/curl-multi-0.2/script/generate +14 -0
- data/bundler/ruby/1.8/gems/curl-multi-0.2/script/txt2html +74 -0
- data/bundler/ruby/1.8/gems/curl-multi-0.2/setup.rb +1585 -0
- data/bundler/ruby/1.8/gems/curl-multi-0.2/tasks/deployment.rake +34 -0
- data/bundler/ruby/1.8/gems/curl-multi-0.2/tasks/environment.rake +7 -0
- data/bundler/ruby/1.8/gems/curl-multi-0.2/tasks/website.rake +17 -0
- data/bundler/ruby/1.8/gems/curl-multi-0.2/test/test_curl-multi.rb +34 -0
- data/bundler/ruby/1.8/gems/curl-multi-0.2/test/test_helper.rb +2 -0
- data/bundler/ruby/1.8/gems/curl-multi-0.2/website/index.html +129 -0
- data/bundler/ruby/1.8/gems/curl-multi-0.2/website/index.txt +65 -0
- data/bundler/ruby/1.8/gems/curl-multi-0.2/website/javascripts/rounded_corners_lite.inc.js +285 -0
- data/bundler/ruby/1.8/gems/curl-multi-0.2/website/stylesheets/screen.css +138 -0
- data/bundler/ruby/1.8/gems/curl-multi-0.2/website/template.rhtml +48 -0
- data/bundler/ruby/1.8/gems/diff-lcs-1.1.2/ChangeLog +46 -0
- data/bundler/ruby/1.8/gems/diff-lcs-1.1.2/Install +6 -0
- data/bundler/ruby/1.8/gems/diff-lcs-1.1.2/README +76 -0
- data/bundler/ruby/1.8/gems/diff-lcs-1.1.2/Rakefile +116 -0
- data/bundler/ruby/1.8/gems/diff-lcs-1.1.2/bin/htmldiff +112 -0
- data/bundler/ruby/1.8/gems/diff-lcs-1.1.2/bin/ldiff +45 -0
- data/bundler/ruby/1.8/gems/diff-lcs-1.1.2/lib/diff/lcs/array.rb +21 -0
- data/bundler/ruby/1.8/gems/diff-lcs-1.1.2/lib/diff/lcs/block.rb +51 -0
- data/bundler/ruby/1.8/gems/diff-lcs-1.1.2/lib/diff/lcs/callbacks.rb +322 -0
- data/bundler/ruby/1.8/gems/diff-lcs-1.1.2/lib/diff/lcs/change.rb +169 -0
- data/bundler/ruby/1.8/gems/diff-lcs-1.1.2/lib/diff/lcs/hunk.rb +257 -0
- data/bundler/ruby/1.8/gems/diff-lcs-1.1.2/lib/diff/lcs/ldiff.rb +226 -0
- data/bundler/ruby/1.8/gems/diff-lcs-1.1.2/lib/diff/lcs/string.rb +19 -0
- data/bundler/ruby/1.8/gems/diff-lcs-1.1.2/lib/diff/lcs.rb +1105 -0
- data/bundler/ruby/1.8/gems/diff-lcs-1.1.2/tests/00test.rb +626 -0
- data/bundler/ruby/1.8/gems/fakefs-0.2.1/.gitignore +1 -0
- data/bundler/ruby/1.8/gems/fakefs-0.2.1/CONTRIBUTORS +12 -0
- data/bundler/ruby/1.8/gems/fakefs-0.2.1/LICENSE +20 -0
- data/bundler/ruby/1.8/gems/fakefs-0.2.1/README.markdown +101 -0
- data/bundler/ruby/1.8/gems/fakefs-0.2.1/Rakefile +47 -0
- data/bundler/ruby/1.8/gems/fakefs-0.2.1/lib/fakefs/base.rb +38 -0
- data/bundler/ruby/1.8/gems/fakefs-0.2.1/lib/fakefs/dir.rb +114 -0
- data/bundler/ruby/1.8/gems/fakefs-0.2.1/lib/fakefs/fake/dir.rb +45 -0
- data/bundler/ruby/1.8/gems/fakefs-0.2.1/lib/fakefs/fake/file.rb +79 -0
- data/bundler/ruby/1.8/gems/fakefs-0.2.1/lib/fakefs/fake/symlink.rb +32 -0
- data/bundler/ruby/1.8/gems/fakefs-0.2.1/lib/fakefs/file.rb +282 -0
- data/bundler/ruby/1.8/gems/fakefs-0.2.1/lib/fakefs/file_system.rb +136 -0
- data/bundler/ruby/1.8/gems/fakefs-0.2.1/lib/fakefs/fileutils.rb +129 -0
- data/bundler/ruby/1.8/gems/fakefs-0.2.1/lib/fakefs/safe.rb +11 -0
- data/bundler/ruby/1.8/gems/fakefs-0.2.1/lib/fakefs/spec_helpers.rb +46 -0
- data/bundler/ruby/1.8/gems/fakefs-0.2.1/lib/fakefs/version.rb +9 -0
- data/bundler/ruby/1.8/gems/fakefs-0.2.1/lib/fakefs.rb +3 -0
- data/bundler/ruby/1.8/gems/fakefs-0.2.1/spec/fakefs/spec_helpers_spec.rb +57 -0
- data/bundler/ruby/1.8/gems/fakefs-0.2.1/spec/spec.opts +1 -0
- data/bundler/ruby/1.8/gems/fakefs-0.2.1/spec/spec_helper.rb +3 -0
- data/bundler/ruby/1.8/gems/fakefs-0.2.1/test/fake/file_test.rb +88 -0
- data/bundler/ruby/1.8/gems/fakefs-0.2.1/test/fake/symlink_test.rb +12 -0
- data/bundler/ruby/1.8/gems/fakefs-0.2.1/test/fakefs_test.rb +1251 -0
- data/bundler/ruby/1.8/gems/fakefs-0.2.1/test/file/stat_test.rb +70 -0
- data/bundler/ruby/1.8/gems/fakefs-0.2.1/test/safe_test.rb +42 -0
- data/bundler/ruby/1.8/gems/fakefs-0.2.1/test/verify.rb +27 -0
- data/bundler/ruby/1.8/gems/fuubar-0.0.2/.gitignore +3 -0
- data/bundler/ruby/1.8/gems/fuubar-0.0.2/.rspec +2 -0
- data/bundler/ruby/1.8/gems/fuubar-0.0.2/Gemfile +4 -0
- data/bundler/ruby/1.8/gems/fuubar-0.0.2/Gemfile.lock +31 -0
- data/bundler/ruby/1.8/gems/fuubar-0.0.2/LICENSE +3 -0
- data/bundler/ruby/1.8/gems/fuubar-0.0.2/README.textile +18 -0
- data/bundler/ruby/1.8/gems/fuubar-0.0.2/fuubar.gemspec +23 -0
- data/bundler/ruby/1.8/gems/fuubar-0.0.2/lib/fuubar.rb +69 -0
- data/bundler/ruby/1.8/gems/fuubar-0.0.2/spec/fuubar_spec.rb +150 -0
- data/bundler/ruby/1.8/gems/fuubar-0.0.2/spec/spec_helper.rb +3 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/AUTHORS +1 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/COPYING +340 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/ChangeLog +317 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/NEWS +29 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/README +38 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/Rakefile +166 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/VERSION +1 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/ext/Makefile +157 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/ext/extconf.rb +16 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/ext/trace_nums.bundle +0 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/ext/trace_nums.c +716 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/ext/trace_nums.h +111 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/ext/trace_nums.o +0 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/lib/linecache.rb +399 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/lib/trace_nums.bundle +0 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/lib/tracelines.rb +47 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/test/data/begin1.rb +3 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/test/data/begin2.rb +3 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/test/data/begin3.rb +6 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/test/data/block1.rb +7 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/test/data/block2.rb +4 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/test/data/case1.rb +6 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/test/data/case2.rb +5 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/test/data/case3.rb +5 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/test/data/case4.rb +4 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/test/data/case5.rb +10 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/test/data/class1.rb +5 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/test/data/comments1.rb +6 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/test/data/def1.rb +9 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/test/data/each1.rb +3 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/test/data/end.rb +3 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/test/data/for1.rb +4 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/test/data/if1.rb +4 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/test/data/if2.rb +4 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/test/data/if3.rb +9 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/test/data/if4.rb +14 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/test/data/if5.rb +7 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/test/data/if6.rb +4 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/test/data/if7.rb +8 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/test/data/match.rb +3 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/test/data/match3.rb +5 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/test/data/match3a.rb +6 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/test/data/not-lit.rb +6 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/test/lnum-diag.rb +130 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/test/parse-show.rb +14 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/test/rcov-bug.rb +10 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/test/short-file +2 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/test/test-linecache.rb +151 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/test/test-lnum.rb +36 -0
- data/bundler/ruby/1.8/gems/linecache-0.43/test/test-tracelines.rb +41 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/CHANGES +260 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/Gemfile +6 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/LICENSE +22 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/README.rdoc +385 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/Rakefile +88 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/VERSION.yml +5 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/adapters/rr_methods.rb +146 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/adapters/rspec.rb +61 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/adapters/test_unit.rb +31 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/blank_slate.rb +17 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/class_instance_method_defined.rb +9 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/double.rb +154 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/double_definitions/child_double_definition_create.rb +27 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/double_definitions/double_definition.rb +367 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/double_definitions/double_definition_create.rb +139 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/double_definitions/double_definition_create_blank_slate.rb +26 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/double_definitions/double_injections/any_instance_of.rb +28 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/double_definitions/double_injections/instance.rb +16 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/double_definitions/strategies/double_injection/any_instance_of.rb +30 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/double_definitions/strategies/double_injection/double_injection_strategy.rb +10 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/double_definitions/strategies/double_injection/instance.rb +17 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/double_definitions/strategies/implementation/implementation_strategy.rb +10 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/double_definitions/strategies/implementation/proxy.rb +60 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/double_definitions/strategies/implementation/reimplementation.rb +14 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/double_definitions/strategies/implementation/strongly_typed_reimplementation.rb +15 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/double_definitions/strategies/strategy.rb +43 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/double_definitions/strategies/strategy_methods.rb +53 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/double_definitions/strategies/verification/dont_allow.rb +31 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/double_definitions/strategies/verification/mock.rb +42 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/double_definitions/strategies/verification/stub.rb +43 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/double_definitions/strategies/verification/verification_strategy.rb +10 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/double_matches.rb +42 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/errors/argument_equality_error.rb +6 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/errors/double_definition_error.rb +6 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/errors/double_not_found_error.rb +6 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/errors/double_order_error.rb +6 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/errors/rr_error.rb +20 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/errors/spy_verification_errors/double_injection_not_found_error.rb +8 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/errors/spy_verification_errors/invocation_count_error.rb +8 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/errors/spy_verification_errors/spy_verification_error.rb +8 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/errors/subject_does_not_implement_method_error.rb +6 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/errors/subject_has_different_arity_error.rb +6 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/errors/times_called_error.rb +6 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/expectations/any_argument_expectation.rb +21 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/expectations/argument_equality_expectation.rb +41 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/expectations/times_called_expectation.rb +57 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/hash_with_object_id_key.rb +46 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/injections/double_injection.rb +213 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/injections/injection.rb +33 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/injections/method_missing_injection.rb +68 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/injections/singleton_method_added_injection.rb +72 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/method_dispatches/base_method_dispatch.rb +84 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/method_dispatches/method_dispatch.rb +59 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/method_dispatches/method_missing_dispatch.rb +61 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/proc_from_block.rb +7 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/recorded_calls.rb +103 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/space.rb +112 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/spy_verification.rb +48 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/spy_verification_proxy.rb +13 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/times_called_matchers/any_times_matcher.rb +18 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/times_called_matchers/at_least_matcher.rb +15 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/times_called_matchers/at_most_matcher.rb +23 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/times_called_matchers/integer_matcher.rb +19 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/times_called_matchers/never_matcher.rb +23 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/times_called_matchers/non_terminal.rb +27 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/times_called_matchers/proc_matcher.rb +11 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/times_called_matchers/range_matcher.rb +21 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/times_called_matchers/terminal.rb +20 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/times_called_matchers/times_called_matcher.rb +44 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/wildcard_matchers/anything.rb +18 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/wildcard_matchers/boolean.rb +23 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/wildcard_matchers/duck_type.rb +32 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/wildcard_matchers/hash_including.rb +29 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/wildcard_matchers/is_a.rb +25 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/wildcard_matchers/numeric.rb +13 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/wildcard_matchers/range.rb +7 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/wildcard_matchers/regexp.rb +7 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/wildcard_matchers/satisfy.rb +26 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr/wildcard_matchers.rb +158 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/lib/rr.rb +99 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/scratch.rb +118 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/api/any_instance_of/all_instances_of_spec.rb +12 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/api/any_instance_of/any_instance_of_spec.rb +47 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/api/any_instance_of/instance_of_spec.rb +12 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/api/dont_allow/dont_allow_after_stub_spec.rb +14 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/api/mock/mock_spec.rb +193 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/api/proxy/proxy_spec.rb +86 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/api/spy/spy_spec.rb +49 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/api/strong/strong_spec.rb +87 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/api/stub/stub_spec.rb +152 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/core_spec_suite.rb +19 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/environment_fixture_setup.rb +8 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/proc_from_block_spec.rb +14 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/adapters/rr_methods_argument_matcher_spec.rb +67 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/adapters/rr_methods_creator_spec.rb +137 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/adapters/rr_methods_space_spec.rb +98 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/adapters/rr_methods_spec_helper.rb +11 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/adapters/rr_methods_times_matcher_spec.rb +13 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/double_definitions/child_double_definition_creator_spec.rb +112 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/double_definitions/double_definition_create_blank_slate_spec.rb +91 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/double_definitions/double_definition_create_spec.rb +443 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/double_injection/double_injection_spec.rb +546 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/double_injection/double_injection_verify_spec.rb +29 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/errors/rr_error_spec.rb +67 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/expectations/any_argument_expectation_spec.rb +47 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/expectations/anything_argument_equality_expectation_spec.rb +14 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/expectations/argument_equality_expectation_spec.rb +135 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/expectations/boolean_argument_equality_expectation_spec.rb +34 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/expectations/hash_including_argument_equality_expectation_spec.rb +82 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/expectations/hash_including_spec.rb +17 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/expectations/satisfy_argument_equality_expectation_spec.rb +59 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/expectations/satisfy_spec.rb +14 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/expectations/times_called_expectation/times_called_expectation_any_times_spec.rb +22 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/expectations/times_called_expectation/times_called_expectation_at_least_spec.rb +37 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/expectations/times_called_expectation/times_called_expectation_at_most_spec.rb +43 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/expectations/times_called_expectation/times_called_expectation_helper.rb +15 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/expectations/times_called_expectation/times_called_expectation_integer_spec.rb +58 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/expectations/times_called_expectation/times_called_expectation_proc_spec.rb +35 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/expectations/times_called_expectation/times_called_expectation_range_spec.rb +39 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/rspec/invocation_matcher_spec.rb +279 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/rspec/rspec_adapter_spec.rb +63 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/rspec/rspec_backtrace_tweaking_spec.rb +31 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/rspec/rspec_backtrace_tweaking_spec_fixture.rb +11 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/rspec/rspec_usage_spec.rb +86 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/space/hash_with_object_id_key_spec.rb +88 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/space/space_spec.rb +587 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/test_unit/test_helper.rb +7 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/test_unit/test_unit_backtrace_test.rb +36 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/test_unit/test_unit_integration_test.rb +59 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/times_called_matchers/any_times_matcher_spec.rb +47 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/times_called_matchers/at_least_matcher_spec.rb +55 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/times_called_matchers/at_most_matcher_spec.rb +70 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/times_called_matchers/integer_matcher_spec.rb +70 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/times_called_matchers/proc_matcher_spec.rb +55 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/times_called_matchers/range_matcher_spec.rb +76 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/times_called_matchers/times_called_matcher_spec.rb +118 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/wildcard_matchers/anything_spec.rb +24 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/wildcard_matchers/boolean_spec.rb +36 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/wildcard_matchers/duck_type_spec.rb +52 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/wildcard_matchers/is_a_spec.rb +32 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/wildcard_matchers/numeric_spec.rb +32 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/wildcard_matchers/range_spec.rb +35 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr/wildcard_matchers/regexp_spec.rb +43 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rr_spec.rb +28 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/rspec_spec_suite.rb +17 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/spec_helper.rb +37 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/spec_suite.rb +48 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/spy_verification_spec.rb +129 -0
- data/bundler/ruby/1.8/gems/rr-1.0.2/spec/test_unit_spec_suite.rb +21 -0
- data/bundler/ruby/1.8/gems/rspec-2.1.0/.document +2 -0
- data/bundler/ruby/1.8/gems/rspec-2.1.0/.gitignore +7 -0
- data/bundler/ruby/1.8/gems/rspec-2.1.0/Gemfile +7 -0
- data/bundler/ruby/1.8/gems/rspec-2.1.0/License.txt +22 -0
- data/bundler/ruby/1.8/gems/rspec-2.1.0/README.markdown +47 -0
- data/bundler/ruby/1.8/gems/rspec-2.1.0/Rakefile +16 -0
- data/bundler/ruby/1.8/gems/rspec-2.1.0/lib/rspec/version.rb +5 -0
- data/bundler/ruby/1.8/gems/rspec-2.1.0/lib/rspec.rb +4 -0
- data/bundler/ruby/1.8/gems/rspec-2.1.0/rspec.gemspec +29 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/.document +5 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/.gitignore +11 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/.treasure_map.rb +23 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/Gemfile +31 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/Guardfile +5 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/History.markdown +104 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/License.txt +22 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/README.markdown +95 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/Rakefile +71 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/Upgrade.markdown +289 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/autotest/discover.rb +2 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/bin/autospec +13 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/bin/rspec +25 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/cucumber.yml +2 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/features/README.markdown +19 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/features/command_line/configure.feature +20 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/features/command_line/example_name_option.feature +86 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/features/command_line/exit_status.feature +52 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/features/command_line/line_number_appended_to_path.feature +106 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/features/command_line/line_number_option.feature +45 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/features/command_line/rake_task.feature +68 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/features/command_line/tag.feature +74 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/features/configuration/custom_settings.feature +84 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/features/configuration/fail_fast.feature +77 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/features/configuration/read_options_from_file.feature +74 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/features/example_groups/basic_structure.feature +54 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/features/example_groups/shared_example_group.feature +177 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/features/filtering/exclusion_filters.feature +115 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/features/filtering/implicit_filters.feature +166 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/features/filtering/inclusion_filters.feature +83 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/features/filtering/run_all_when_everything_filtered.feature +46 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/features/formatters/custom_formatter.feature +32 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/features/hooks/around_hooks.feature +320 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/features/hooks/before_and_after_hooks.feature +432 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/features/metadata/described_class.feature +17 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/features/mock_framework_integration/use_flexmock.feature +23 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/features/mock_framework_integration/use_mocha.feature +23 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/features/mock_framework_integration/use_rr.feature +23 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/features/mock_framework_integration/use_rspec.feature +23 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/features/pending/pending_examples.feature +216 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/features/spec_files/arbitrary_file_suffix.feature +13 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/features/step_definitions/additional_cli_steps.rb +11 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/features/subject/attribute_of_subject.feature +52 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/features/subject/explicit_subject.feature +62 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/features/subject/implicit_receiver.feature +29 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/features/subject/implicit_subject.feature +30 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/features/support/env.rb +1 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/autotest/rspec2.rb +66 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/autorun.rb +2 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/backward_compatibility.rb +48 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/command_line.rb +35 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/command_line_configuration.rb +62 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/configuration.rb +401 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/configuration_options.rb +98 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/deprecation.rb +45 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/drb_command_line.rb +29 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/errors.rb +14 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/example.rb +139 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/example_group.rb +311 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/expecting/with_rspec.rb +11 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/extensions/instance_eval_with_args.rb +39 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/extensions/kernel.rb +5 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/extensions/module_eval_with_args.rb +34 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/extensions/object.rb +14 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/extensions.rb +4 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/formatters/base_formatter.rb +162 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/formatters/base_text_formatter.rb +151 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/formatters/documentation_formatter.rb +71 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/formatters/helpers.rb +28 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/formatters/html_formatter.rb +351 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/formatters/progress_formatter.rb +32 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/formatters/snippet_extractor.rb +52 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/formatters/text_mate_formatter.rb +20 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/hooks.rb +134 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/let.rb +101 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/load_path.rb +3 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/metadata.rb +175 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/mocking/with_absolutely_nothing.rb +11 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/mocking/with_flexmock.rb +25 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/mocking/with_mocha.rb +21 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/mocking/with_rr.rb +25 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/mocking/with_rspec.rb +21 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/option_parser.rb +122 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/pending.rb +28 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/rake_task.rb +196 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/reporter.rb +79 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/ruby_project.rb +44 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/runner.rb +61 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/shared_example_group.rb +52 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/subject.rb +170 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/version.rb +7 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/world.rb +102 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core.rb +62 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/monkey/spork/test_framework/rspec.rb +7 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/monkey.rb +1 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/rspec-core.gemspec +38 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/script/console +8 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/autotest/failed_results_re_spec.rb +20 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/autotest/rspec_spec.rb +123 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/command_line_configuration_spec.rb +26 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/command_line_spec.rb +134 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/command_line_spec_output.txt +0 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/configuration_options_spec.rb +311 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/configuration_spec.rb +662 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/deprecations_spec.rb +45 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/drb_command_line_spec.rb +159 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/example_group_spec.rb +787 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/example_spec.rb +160 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/formatters/base_formatter_spec.rb +36 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/formatters/base_text_formatter_spec.rb +160 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/formatters/documentation_formatter_spec.rb +66 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/formatters/helpers_spec.rb +46 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/formatters/html_formatted-1.8.6.html +296 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/formatters/html_formatted-1.8.7-jruby.html +285 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/formatters/html_formatted-1.8.7.html +296 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/formatters/html_formatted-1.9.1.html +303 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/formatters/html_formatted-1.9.2.html +303 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/formatters/html_formatter_spec.rb +81 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/formatters/progress_formatter_spec.rb +31 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/formatters/snippet_extractor_spec.rb +18 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/formatters/text_mate_formatted-1.8.6.html +296 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/formatters/text_mate_formatted-1.8.7-jruby.html +280 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/formatters/text_mate_formatted-1.8.7.html +296 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/formatters/text_mate_formatted-1.9.1.html +303 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/formatters/text_mate_formatted-1.9.2.html +303 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/formatters/text_mate_formatter_spec.rb +84 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/hooks_filtering_spec.rb +124 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/hooks_spec.rb +57 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/kernel_extensions_spec.rb +9 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/let_spec.rb +42 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/metadata_spec.rb +285 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/option_parser_spec.rb +39 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/pending_example_spec.rb +226 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/rake_task_spec.rb +141 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/reporter_spec.rb +70 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/resources/a_bar.rb +0 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/resources/a_foo.rb +0 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/resources/a_spec.rb +1 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/resources/custom_example_group_runner.rb +14 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/resources/formatter_specs.rb +54 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/resources/utf8_encoded.rb +8 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/ruby_project_spec.rb +24 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/runner_spec.rb +47 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/shared_example_group_spec.rb +152 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/subject_spec.rb +78 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core/world_spec.rb +174 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core_spec.rb +31 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/ruby_forker.rb +13 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/spec_helper.rb +70 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/support/matchers.rb +44 -0
- data/bundler/ruby/1.8/gems/rspec-core-2.1.0/specs.watchr +58 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/.document +5 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/.gitignore +10 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/Gemfile +21 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/History.markdown +54 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/License.txt +22 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/README.markdown +33 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/Rakefile +70 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/Upgrade.markdown +53 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/cucumber.yml +3 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/features/README.markdown +18 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/features/expectations/attribute_of_subject.feature +19 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/features/expectations/customized_message.feature +54 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/features/expectations/diffing.feature +85 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/features/expectations/implicit_docstrings.feature +52 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/features/matchers/access_running_example.feature +53 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/features/matchers/be_within.feature +43 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/features/matchers/define_diffable_matcher.feature +27 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/features/matchers/define_matcher.feature +311 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/features/matchers/define_matcher_outside_rspec.feature +38 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/features/matchers/define_matcher_with_fluent_interface.feature +24 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/features/matchers/equality.feature +142 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/features/matchers/exist.feature +44 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/features/matchers/expect_change.feature +65 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/features/matchers/expect_error.feature +44 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/features/matchers/have.feature +103 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/features/matchers/include.feature +136 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/features/matchers/operators.feature +280 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/features/matchers/predicates.feature +128 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/features/matchers/respond_to.feature +78 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/features/matchers/satisfy.feature +31 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/features/matchers/throw_symbol.feature +85 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/features/matchers/types.feature +114 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/features/step_definitions/additional_cli_steps.rb +13 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/features/support/env.rb +1 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/features/test_frameworks/test_unit.feature +46 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/expectations/backward_compatibility.rb +16 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/expectations/deprecation.rb +36 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/expectations/differ.rb +62 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/expectations/errors.rb +12 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/expectations/extensions/array.rb +7 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/expectations/extensions/kernel.rb +52 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/expectations/extensions.rb +2 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/expectations/fail_with.rb +51 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/expectations/handler.rb +50 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/expectations/version.rb +7 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/expectations.rb +39 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/matchers/be.rb +222 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/matchers/be_close.rb +17 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/matchers/be_instance_of.rb +26 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/matchers/be_kind_of.rb +26 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/matchers/be_within.rb +40 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/matchers/block_aliases.rb +18 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/matchers/change.rb +184 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/matchers/compatibility.rb +14 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/matchers/dsl.rb +21 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/matchers/eq.rb +50 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/matchers/eql.rb +45 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/matchers/equal.rb +53 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/matchers/errors.rb +5 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/matchers/exist.rb +16 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/matchers/extensions/instance_exec.rb +31 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/matchers/generated_descriptions.rb +36 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/matchers/has.rb +35 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/matchers/have.rb +151 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/matchers/include.rb +51 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/matchers/match.rb +21 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/matchers/match_array.rb +71 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/matchers/matcher.rb +161 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/matchers/method_missing.rb +9 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/matchers/operator_matcher.rb +87 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/matchers/pretty.rb +37 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/matchers/raise_error.rb +130 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/matchers/respond_to.rb +85 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/matchers/satisfy.rb +51 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/matchers/throw_symbol.rb +121 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/matchers.rb +196 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec-expectations.rb +1 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/rspec-expectations.gemspec +27 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/spec/rspec/expectations/differ_spec.rb +96 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/spec/rspec/expectations/extensions/kernel_spec.rb +45 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/spec/rspec/expectations/fail_with_spec.rb +70 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/spec/rspec/expectations/handler_spec.rb +206 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/spec/rspec/matchers/be_close_spec.rb +22 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/spec/rspec/matchers/be_instance_of_spec.rb +36 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/spec/rspec/matchers/be_kind_of_spec.rb +33 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/spec/rspec/matchers/be_spec.rb +456 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/spec/rspec/matchers/be_within_spec.rb +64 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/spec/rspec/matchers/change_spec.rb +409 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/spec/rspec/matchers/compatibility_spec.rb +28 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/spec/rspec/matchers/description_generation_spec.rb +160 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/spec/rspec/matchers/dsl_spec.rb +25 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/spec/rspec/matchers/eq_spec.rb +38 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/spec/rspec/matchers/eql_spec.rb +37 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/spec/rspec/matchers/equal_spec.rb +57 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/spec/rspec/matchers/exist_spec.rb +65 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/spec/rspec/matchers/has_spec.rb +81 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/spec/rspec/matchers/have_spec.rb +411 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/spec/rspec/matchers/include_spec.rb +341 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/spec/rspec/matchers/match_array_spec.rb +111 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/spec/rspec/matchers/match_spec.rb +57 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/spec/rspec/matchers/matcher_spec.rb +374 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/spec/rspec/matchers/matchers_spec.rb +51 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/spec/rspec/matchers/operator_matcher_spec.rb +215 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/spec/rspec/matchers/raise_error_spec.rb +339 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/spec/rspec/matchers/respond_to_spec.rb +292 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/spec/rspec/matchers/satisfy_spec.rb +40 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/spec/rspec/matchers/throw_symbol_spec.rb +113 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/spec/spec_helper.rb +66 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/spec/suite.rb +1 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/spec/support/classes.rb +45 -0
- data/bundler/ruby/1.8/gems/rspec-expectations-2.1.0/specs.watchr +57 -0
- data/bundler/ruby/1.8/gems/rspec-instafail-0.1.4/Rakefile +20 -0
- data/bundler/ruby/1.8/gems/rspec-instafail-0.1.4/Readme.md +48 -0
- data/bundler/ruby/1.8/gems/rspec-instafail-0.1.4/VERSION +1 -0
- data/bundler/ruby/1.8/gems/rspec-instafail-0.1.4/lib/rspec/instafail/rspec_1.rb +27 -0
- data/bundler/ruby/1.8/gems/rspec-instafail-0.1.4/lib/rspec/instafail/rspec_2.rb +21 -0
- data/bundler/ruby/1.8/gems/rspec-instafail-0.1.4/lib/rspec/instafail.rb +9 -0
- data/bundler/ruby/1.8/gems/rspec-instafail-0.1.4/rspec-instafail.gemspec +51 -0
- data/bundler/ruby/1.8/gems/rspec-instafail-0.1.4/spec/instafail_spec.rb +77 -0
- data/bundler/ruby/1.8/gems/rspec-instafail-0.1.4/spec/rspec_1/Gemfile +2 -0
- data/bundler/ruby/1.8/gems/rspec-instafail-0.1.4/spec/rspec_1/Gemfile.lock +10 -0
- data/bundler/ruby/1.8/gems/rspec-instafail-0.1.4/spec/rspec_1/a_test.rb +21 -0
- data/bundler/ruby/1.8/gems/rspec-instafail-0.1.4/spec/rspec_2/Gemfile +2 -0
- data/bundler/ruby/1.8/gems/rspec-instafail-0.1.4/spec/rspec_2/Gemfile.lock +20 -0
- data/bundler/ruby/1.8/gems/rspec-instafail-0.1.4/spec/rspec_2/a_test.rb +21 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/.autotest +7 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/.document +5 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/.gitignore +10 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/Gemfile +18 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/History.markdown +33 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/License.txt +22 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/README.markdown +49 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/Rakefile +70 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/autotest/discover.rb +1 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/cucumber.yml +2 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/features/README.markdown +30 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/features/message_expectations/block_local_expectations.feature.pending +55 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/features/message_expectations/expect_message.feature +94 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/features/message_expectations/warn_when_expectation_is_set_on_nil.feature +50 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/features/outside_rspec/configuration.feature +82 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/features/stubs/simple_return_value.feature +55 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/features/stubs/stub_chain.feature +44 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/features/stubs/stub_implementation.feature +26 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/features/support/env.rb +2 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/lib/rspec/mocks/argument_expectation.rb +48 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/lib/rspec/mocks/argument_matchers.rb +233 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/lib/rspec/mocks/error_generator.rb +97 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/lib/rspec/mocks/errors.rb +10 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/lib/rspec/mocks/extensions/instance_exec.rb +31 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/lib/rspec/mocks/extensions/marshal.rb +25 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/lib/rspec/mocks/extensions/object.rb +3 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/lib/rspec/mocks/framework.rb +17 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/lib/rspec/mocks/message_expectation.rb +341 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/lib/rspec/mocks/method_double.rb +165 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/lib/rspec/mocks/methods.rb +100 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/lib/rspec/mocks/mock.rb +79 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/lib/rspec/mocks/order_group.rb +29 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/lib/rspec/mocks/proxy.rb +157 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/lib/rspec/mocks/serialization.rb +26 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/lib/rspec/mocks/space.rb +28 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/lib/rspec/mocks/spec_methods.rb +53 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/lib/rspec/mocks/version.rb +7 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/lib/rspec/mocks.rb +196 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/lib/spec/mocks.rb +2 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/rspec-mocks.gemspec +25 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/and_yield_spec.rb +114 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/any_number_of_times_spec.rb +36 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/argument_expectation_spec.rb +23 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/at_least_spec.rb +97 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/at_most_spec.rb +93 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/block_return_value_spec.rb +45 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/bug_report_10260_spec.rb +8 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/bug_report_10263_spec.rb +27 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/bug_report_11545_spec.rb +32 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/bug_report_496_spec.rb +17 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/bug_report_600_spec.rb +22 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/bug_report_7611_spec.rb +18 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/bug_report_7805_spec.rb +22 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/bug_report_8165_spec.rb +31 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/bug_report_8302_spec.rb +26 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/bug_report_830_spec.rb +21 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/bug_report_957_spec.rb +22 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/double_spec.rb +12 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/failing_argument_matchers_spec.rb +96 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/hash_including_matcher_spec.rb +90 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/hash_not_including_matcher_spec.rb +67 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/mock_ordering_spec.rb +94 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/mock_space_spec.rb +54 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/mock_spec.rb +661 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/multiple_return_value_spec.rb +133 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/nil_expectation_warning_spec.rb +63 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/null_object_mock_spec.rb +73 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/once_counts_spec.rb +53 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/options_hash_spec.rb +35 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/partial_mock_spec.rb +155 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/partial_mock_using_mocks_directly_spec.rb +94 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/passing_argument_matchers_spec.rb +145 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/precise_counts_spec.rb +52 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/record_messages_spec.rb +26 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/serialization_spec.rb +67 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/stash_spec.rb +27 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/stub_chain_spec.rb +114 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/stub_implementation_spec.rb +68 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/stub_spec.rb +232 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/stubbed_message_expectations_spec.rb +26 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks/twice_counts_spec.rb +67 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/rspec/mocks_spec.rb +51 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/spec/spec_helper.rb +52 -0
- data/bundler/ruby/1.8/gems/rspec-mocks-2.1.0/specs.watchr +57 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/.require_paths +2 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/AUTHORS +7 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/CHANGES +349 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/ChangeLog +5926 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/LICENSE +23 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/README +114 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/Rakefile +311 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/VERSION +3 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/bin/rdebug +416 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/cli/ruby-debug/command.rb +267 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/cli/ruby-debug/commands/breakpoints.rb +155 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/cli/ruby-debug/commands/catchpoint.rb +55 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/cli/ruby-debug/commands/condition.rb +49 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/cli/ruby-debug/commands/continue.rb +38 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/cli/ruby-debug/commands/control.rb +107 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/cli/ruby-debug/commands/disassemble.RB +38 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/cli/ruby-debug/commands/display.rb +120 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/cli/ruby-debug/commands/edit.rb +48 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/cli/ruby-debug/commands/enable.rb +202 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/cli/ruby-debug/commands/eval.rb +179 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/cli/ruby-debug/commands/finish.rb +42 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/cli/ruby-debug/commands/frame.rb +302 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/cli/ruby-debug/commands/help.rb +61 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/cli/ruby-debug/commands/info.rb +472 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/cli/ruby-debug/commands/irb.rb +193 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/cli/ruby-debug/commands/kill.rb +50 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/cli/ruby-debug/commands/list.rb +94 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/cli/ruby-debug/commands/method.rb +84 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/cli/ruby-debug/commands/quit.rb +44 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/cli/ruby-debug/commands/raise.RB +41 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/cli/ruby-debug/commands/reload.rb +40 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/cli/ruby-debug/commands/save.rb +90 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/cli/ruby-debug/commands/set.rb +237 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/cli/ruby-debug/commands/show.rb +251 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/cli/ruby-debug/commands/source.RB +44 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/cli/ruby-debug/commands/stepping.rb +81 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/cli/ruby-debug/commands/threads.rb +189 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/cli/ruby-debug/commands/tmate.rb +36 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/cli/ruby-debug/commands/trace.rb +57 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/cli/ruby-debug/commands/variables.rb +199 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/cli/ruby-debug/debugger.rb +5 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/cli/ruby-debug/helper.rb +74 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/cli/ruby-debug/interface.rb +260 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/cli/ruby-debug/processor.rb +556 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/cli/ruby-debug.rb +179 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/doc/rdebug.1 +241 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/rdbg.rb +33 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/runner.sh +7 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/base/base.rb +74 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/base/binding.rb +31 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/base/catchpoint.rb +26 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/base/load.rb +40 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/base/reload_bug.rb +8 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/bp_loop_issue.rb +3 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/brkpt-class-bug.rb +8 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/classes.rb +11 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/cli/commands/catchpoint_test.rb +36 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/cli/commands/unit/regexp.rb +42 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/config.yaml +8 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/annotate.cmd +29 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/annotate.right +139 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/break_bad.cmd +18 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/break_bad.right +28 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/break_loop_bug.cmd +5 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/break_loop_bug.right +15 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/breakpoints.cmd +38 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/breakpoints.right +98 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/brkpt-class-bug.cmd +9 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/brkpt-class-bug.right +18 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/catch.cmd +17 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/catch.right +39 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/condition.cmd +29 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/condition.right +67 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/ctrl.cmd +23 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/ctrl.right +69 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/display.cmd +24 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/display.right +44 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/dollar-0.right +2 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/dollar-0a.right +2 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/dollar-0b.right +2 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/edit.cmd +12 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/edit.right +19 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/emacs_basic.cmd +43 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/emacs_basic.right +106 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/enable.cmd +20 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/enable.right +36 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/except-bug1.cmd +7 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/except-bug1.right +13 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/file-with-space.cmd +7 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/file-with-space.right +9 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/finish.cmd +16 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/finish.right +31 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/frame.cmd +32 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/frame.right +66 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/help.cmd +20 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/help.right +21 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/history.right +7 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/info-thread.cmd +13 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/info-thread.right +37 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/info-var-bug2.cmd +5 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/info-var-bug2.right +10 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/info-var.cmd +23 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/info-var.right +52 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/info.cmd +22 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/info.right +84 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/linetrace.cmd +6 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/linetrace.right +32 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/linetracep.cmd +7 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/linetracep.right +25 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/list.cmd +19 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/list.right +127 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/method.cmd +10 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/method.right +21 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/methodsig.cmd +10 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/methodsig.right +20 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/noquit.right +1 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/output.cmd +6 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/output.right +31 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/pm-bug.cmd +7 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/pm-bug.right +12 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/post-mortem-next.cmd +8 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/post-mortem-next.right +14 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/post-mortem-osx.right +31 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/post-mortem.cmd +13 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/post-mortem.right +32 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/quit.cmd +6 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/quit.right +0 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/raise.cmd +11 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/raise.right +26 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/save.cmd +33 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/save.right +59 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/setshow.cmd +46 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/setshow.right +80 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/source.cmd +5 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/source.right +15 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/stepping.cmd +21 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/stepping.right +50 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/test-init-cygwin.right +7 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/test-init-osx.right +4 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/test-init.right +5 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/trace.right +23 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/dollar-0.rb +5 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/except-bug1.rb +4 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/except-bug2.rb +7 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/file with space.rb +1 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/gcd-dbg-nox.rb +31 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/gcd-dbg.rb +30 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/gcd.rb +18 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/helper.rb +149 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/info-var-bug.rb +47 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/info-var-bug2.rb +2 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/null.rb +1 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/output.rb +2 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/pm-base.rb +22 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/pm-bug.rb +3 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/pm.rb +11 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/raise.rb +3 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/rdebug-save.1 +7 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/scope-test.rb +8 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/tdebug.rb +252 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/test-annotate.rb +25 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/test-break-bad.rb +36 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/test-breakpoints.rb +25 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/test-brkpt-class-bug.rb +26 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/test-catch.rb +25 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/test-condition.rb +25 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/test-ctrl.rb +55 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/test-display.rb +26 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/test-dollar-0.rb +45 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/test-edit.rb +26 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/test-emacs-basic.rb +26 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/test-enable.rb +25 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/test-except-bug1.rb +31 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/test-file-with-space.rb +30 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/test-finish.rb +34 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/test-frame.rb +34 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/test-help.rb +60 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/test-hist.rb +68 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/test-info-thread.rb +32 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/test-info-var.rb +47 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/test-info.rb +26 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/test-init.rb +49 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/test-list.rb +25 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/test-method.rb +34 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/test-output.rb +26 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/test-pm.rb +59 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/test-quit.rb +30 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/test-raise.rb +25 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/test-save.rb +31 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/test-setshow.rb +25 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/test-source.rb +25 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/test-stepping.rb +26 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/test-trace.rb +63 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/thread1.rb +26 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/trunc-call.rb +31 -0
- data/bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/tvar.rb +3 -0
- data/bundler/ruby/1.8/gems/ruby-debug-base-0.10.4/AUTHORS +7 -0
- data/bundler/ruby/1.8/gems/ruby-debug-base-0.10.4/CHANGES +349 -0
- data/bundler/ruby/1.8/gems/ruby-debug-base-0.10.4/LICENSE +23 -0
- data/bundler/ruby/1.8/gems/ruby-debug-base-0.10.4/README +114 -0
- data/bundler/ruby/1.8/gems/ruby-debug-base-0.10.4/Rakefile +311 -0
- data/bundler/ruby/1.8/gems/ruby-debug-base-0.10.4/VERSION +3 -0
- data/bundler/ruby/1.8/gems/ruby-debug-base-0.10.4/ext/Makefile +157 -0
- data/bundler/ruby/1.8/gems/ruby-debug-base-0.10.4/ext/breakpoint.c +582 -0
- data/bundler/ruby/1.8/gems/ruby-debug-base-0.10.4/ext/breakpoint.o +0 -0
- data/bundler/ruby/1.8/gems/ruby-debug-base-0.10.4/ext/extconf.rb +20 -0
- data/bundler/ruby/1.8/gems/ruby-debug-base-0.10.4/ext/ruby_debug.bundle +0 -0
- data/bundler/ruby/1.8/gems/ruby-debug-base-0.10.4/ext/ruby_debug.c +2326 -0
- data/bundler/ruby/1.8/gems/ruby-debug-base-0.10.4/ext/ruby_debug.h +123 -0
- data/bundler/ruby/1.8/gems/ruby-debug-base-0.10.4/ext/ruby_debug.o +0 -0
- data/bundler/ruby/1.8/gems/ruby-debug-base-0.10.4/ext/win32/Makefile +157 -0
- data/bundler/ruby/1.8/gems/ruby-debug-base-0.10.4/ext/win32/breakpoint.o +0 -0
- data/bundler/ruby/1.8/gems/ruby-debug-base-0.10.4/ext/win32/ruby_debug.o +0 -0
- data/bundler/ruby/1.8/gems/ruby-debug-base-0.10.4/ext/win32/ruby_debug.so +0 -0
- data/bundler/ruby/1.8/gems/ruby-debug-base-0.10.4/lib/ChangeLog +1162 -0
- data/bundler/ruby/1.8/gems/ruby-debug-base-0.10.4/lib/ruby-debug-base.rb +301 -0
- data/bundler/ruby/1.8/gems/ruby-debug-base-0.10.4/lib/ruby_debug.bundle +0 -0
- data/bundler/ruby/1.8/gems/ruby-debug-base-0.10.4/test/base/base.rb +74 -0
- data/bundler/ruby/1.8/gems/ruby-debug-base-0.10.4/test/base/binding.rb +31 -0
- data/bundler/ruby/1.8/gems/ruby-debug-base-0.10.4/test/base/catchpoint.rb +26 -0
- data/bundler/ruby/1.8/gems/ruby-debug-base-0.10.4/test/base/reload_bug.rb +8 -0
- data/bundler/ruby/1.8/gems/ruby-progressbar-0.0.9/GPL_LICENSE +340 -0
- data/bundler/ruby/1.8/gems/ruby-progressbar-0.0.9/README.md +91 -0
- data/bundler/ruby/1.8/gems/ruby-progressbar-0.0.9/RUBY_LICENSE +53 -0
- data/bundler/ruby/1.8/gems/ruby-progressbar-0.0.9/lib/progressbar.rb +237 -0
- data/bundler/ruby/1.8/gems/ruby-progressbar-0.0.9/test.rb +116 -0
- data/bundler/ruby/1.8/specifications/RubyInline-3.8.6.gemspec +52 -0
- data/bundler/ruby/1.8/specifications/ZenTest-4.4.0.gemspec +59 -0
- data/bundler/ruby/1.8/specifications/columnize-0.3.2.gemspec +48 -0
- data/bundler/ruby/1.8/specifications/curb-0.7.8.gemspec +32 -0
- data/bundler/ruby/1.8/specifications/curl-multi-0.2.gemspec +39 -0
- data/bundler/ruby/1.8/specifications/diff-lcs-1.1.2.gemspec +34 -0
- data/bundler/ruby/1.8/specifications/fakefs-0.2.1.gemspec +30 -0
- data/bundler/ruby/1.8/specifications/fuubar-0.0.2.gemspec +38 -0
- data/bundler/ruby/1.8/specifications/linecache-0.43.gemspec +33 -0
- data/bundler/ruby/1.8/specifications/rr-1.0.2.gemspec +31 -0
- data/bundler/ruby/1.8/specifications/rspec-2.1.0.gemspec +39 -0
- data/bundler/ruby/1.8/specifications/rspec-core-2.1.0.gemspec +44 -0
- data/bundler/ruby/1.8/specifications/rspec-expectations-2.1.0.gemspec +34 -0
- data/bundler/ruby/1.8/specifications/rspec-instafail-0.1.4.gemspec +28 -0
- data/bundler/ruby/1.8/specifications/rspec-mocks-2.1.0.gemspec +31 -0
- data/bundler/ruby/1.8/specifications/ruby-debug-0.10.4.gemspec +39 -0
- data/bundler/ruby/1.8/specifications/ruby-debug-base-0.10.4.gemspec +39 -0
- data/bundler/ruby/1.8/specifications/ruby-progressbar-0.0.9.gemspec +27 -0
- data/lib/vim-jar/cli.rb +94 -0
- data/lib/vim-jar/config.rb +59 -0
- data/lib/vim-jar/importer/github.rb +18 -0
- data/lib/vim-jar/importer.rb +51 -0
- data/lib/vim-jar/installer/base.rb +9 -0
- data/lib/vim-jar/installer/git.rb +19 -0
- data/lib/vim-jar/installer.rb +7 -0
- data/lib/vim-jar/plugin/git.rb +32 -0
- data/lib/vim-jar/plugin.rb +65 -0
- data/lib/vim-jar/plugins.yml +2673 -0
- data/lib/vim-jar/version.rb +5 -0
- data/lib/vim-jar.rb +24 -0
- data/script/github_crawler.rb +76 -0
- data/spec/spec_helper.rb +21 -0
- data/spec/vim-jar/config_spec.rb +70 -0
- data/spec/vim-jar/importer/github_spec.rb +12 -0
- data/spec/vim-jar/importer/pages/vim-rails-github.html +975 -0
- data/spec/vim-jar/importer_spec.rb +58 -0
- data/spec/vim-jar/plugin_spec.rb +39 -0
- data/spec/vim-jar/plugin_ymls/blank.yml +6 -0
- data/spec/vim-jar/plugin_ymls/rails-vim.yml +7 -0
- data/spec/vim-jar_test.rb +17 -0
- data/vim-jar.gemspec +28 -0
- metadata +1185 -0
@@ -0,0 +1,175 @@
|
|
1
|
+
module RSpec
|
2
|
+
module Core
|
3
|
+
class Metadata < Hash
|
4
|
+
|
5
|
+
def initialize(superclass_metadata=nil)
|
6
|
+
@superclass_metadata = superclass_metadata
|
7
|
+
if @superclass_metadata
|
8
|
+
update(@superclass_metadata)
|
9
|
+
example_group = {:example_group => @superclass_metadata[:example_group]}
|
10
|
+
end
|
11
|
+
|
12
|
+
store(:example_group, example_group || {})
|
13
|
+
yield self if block_given?
|
14
|
+
end
|
15
|
+
|
16
|
+
RESERVED_KEYS = [
|
17
|
+
:description,
|
18
|
+
:example_group,
|
19
|
+
:execution_result,
|
20
|
+
:file_path,
|
21
|
+
:full_description,
|
22
|
+
:line_number,
|
23
|
+
:location
|
24
|
+
]
|
25
|
+
|
26
|
+
def process(*args)
|
27
|
+
user_metadata = args.last.is_a?(Hash) ? args.pop : {}
|
28
|
+
ensure_valid_keys(user_metadata)
|
29
|
+
|
30
|
+
self[:example_group][:describes] = described_class_from(*args)
|
31
|
+
self[:example_group][:description] = description_from(*args)
|
32
|
+
self[:example_group][:full_description] = full_description_from(*args)
|
33
|
+
|
34
|
+
self[:example_group][:block] = user_metadata.delete(:example_group_block)
|
35
|
+
self[:example_group][:file_path], self[:example_group][:line_number] = file_and_line_number_from(user_metadata.delete(:caller) || caller)
|
36
|
+
self[:example_group][:location] = location_from(self[:example_group])
|
37
|
+
|
38
|
+
update(user_metadata)
|
39
|
+
end
|
40
|
+
|
41
|
+
def ensure_valid_keys(user_metadata)
|
42
|
+
RESERVED_KEYS.each do |key|
|
43
|
+
if user_metadata.keys.include?(key)
|
44
|
+
raise <<-EOM
|
45
|
+
#{"*"*50}
|
46
|
+
:#{key} is not allowed
|
47
|
+
|
48
|
+
RSpec reserves some hash keys for its own internal use,
|
49
|
+
including :#{key}, which is used on:
|
50
|
+
|
51
|
+
#{caller(0)[4]}.
|
52
|
+
|
53
|
+
Here are all of RSpec's reserved hash keys:
|
54
|
+
|
55
|
+
#{RESERVED_KEYS.join("\n ")}
|
56
|
+
#{"*"*50}
|
57
|
+
EOM
|
58
|
+
raise ":#{key} is not allowed"
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
def for_example(description, options)
|
64
|
+
dup.configure_for_example(description,options)
|
65
|
+
end
|
66
|
+
|
67
|
+
def configure_for_example(description, options)
|
68
|
+
store(:description, description.to_s)
|
69
|
+
store(:full_description, "#{self[:example_group][:full_description]} #{self[:description]}")
|
70
|
+
store(:execution_result, {})
|
71
|
+
self[:file_path], self[:line_number] = file_and_line_number_from(options.delete(:caller) || caller)
|
72
|
+
self[:location] = location_from(self)
|
73
|
+
update(options)
|
74
|
+
end
|
75
|
+
|
76
|
+
def apply?(predicate, filters)
|
77
|
+
filters.send(predicate) do |key, value|
|
78
|
+
apply_condition(key, value)
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
def relevant_line_numbers(metadata)
|
83
|
+
line_numbers = [metadata[:line_number]]
|
84
|
+
if metadata[:example_group]
|
85
|
+
line_numbers + relevant_line_numbers(metadata[:example_group])
|
86
|
+
else
|
87
|
+
line_numbers
|
88
|
+
end
|
89
|
+
end
|
90
|
+
|
91
|
+
def apply_condition(key, value, metadata=nil)
|
92
|
+
metadata ||= self
|
93
|
+
case value
|
94
|
+
when Hash
|
95
|
+
value.all? { |k, v| apply_condition(k, v, metadata[key]) }
|
96
|
+
when Regexp
|
97
|
+
metadata[key] =~ value
|
98
|
+
when Proc
|
99
|
+
if value.arity == 2
|
100
|
+
# Pass the metadata hash to allow the proc to check if it even has the key.
|
101
|
+
# This is necessary for the implicit :if exclusion filter:
|
102
|
+
# { } # => run the example
|
103
|
+
# { :if => nil } # => exclude the example
|
104
|
+
# The value of metadata[:if] is the same in these two cases but
|
105
|
+
# they need to be treated differently.
|
106
|
+
value.call(metadata[key], metadata) rescue false
|
107
|
+
else
|
108
|
+
value.call(metadata[key]) rescue false
|
109
|
+
end
|
110
|
+
when Fixnum
|
111
|
+
if key == :line_number
|
112
|
+
relevant_line_numbers(metadata).include?(world.preceding_declaration_line(value))
|
113
|
+
else
|
114
|
+
metadata[key] == value
|
115
|
+
end
|
116
|
+
else
|
117
|
+
metadata[key] == value
|
118
|
+
end
|
119
|
+
end
|
120
|
+
|
121
|
+
private
|
122
|
+
|
123
|
+
def world
|
124
|
+
RSpec.world
|
125
|
+
end
|
126
|
+
|
127
|
+
def superclass_metadata
|
128
|
+
@superclass_metadata ||= { :example_group => {} }
|
129
|
+
end
|
130
|
+
|
131
|
+
def description_from(*args)
|
132
|
+
args.inject("") do |result, a|
|
133
|
+
a = a.to_s.strip
|
134
|
+
if result == ""
|
135
|
+
a
|
136
|
+
elsif a =~ /^(#|::|\.)/
|
137
|
+
"#{result}#{a}"
|
138
|
+
else
|
139
|
+
"#{result} #{a}"
|
140
|
+
end
|
141
|
+
end
|
142
|
+
end
|
143
|
+
|
144
|
+
def full_description_from(*args)
|
145
|
+
if superclass_metadata[:example_group][:full_description]
|
146
|
+
description_from(superclass_metadata[:example_group][:full_description], *args)
|
147
|
+
else
|
148
|
+
description_from(*args)
|
149
|
+
end
|
150
|
+
end
|
151
|
+
|
152
|
+
def described_class_from(*args)
|
153
|
+
if args.first.is_a?(String) || args.first.is_a?(Symbol)
|
154
|
+
superclass_metadata[:example_group][:describes]
|
155
|
+
else
|
156
|
+
args.first
|
157
|
+
end
|
158
|
+
end
|
159
|
+
|
160
|
+
def file_and_line_number_from(list)
|
161
|
+
entry = first_caller_from_outside_rspec_from_caller(list)
|
162
|
+
entry =~ /(.+?):(\d+)(|:\d+)/
|
163
|
+
return [$1, $2.to_i]
|
164
|
+
end
|
165
|
+
|
166
|
+
def first_caller_from_outside_rspec_from_caller(list)
|
167
|
+
list.detect {|l| l !~ /\/lib\/rspec\/core/}
|
168
|
+
end
|
169
|
+
|
170
|
+
def location_from(metadata)
|
171
|
+
"#{metadata[:file_path]}:#{metadata[:line_number]}"
|
172
|
+
end
|
173
|
+
end
|
174
|
+
end
|
175
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
#
|
3
|
+
# Created by Jim Weirich on 2007-04-10.
|
4
|
+
# Copyright (c) 2007. All rights reserved.
|
5
|
+
|
6
|
+
require 'flexmock/rspec'
|
7
|
+
|
8
|
+
module RSpec
|
9
|
+
module Core
|
10
|
+
module MockFrameworkAdapter
|
11
|
+
|
12
|
+
include FlexMock::MockContainer
|
13
|
+
def setup_mocks_for_rspec
|
14
|
+
# No setup required
|
15
|
+
end
|
16
|
+
def verify_mocks_for_rspec
|
17
|
+
flexmock_verify
|
18
|
+
end
|
19
|
+
def teardown_mocks_for_rspec
|
20
|
+
flexmock_close
|
21
|
+
end
|
22
|
+
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
require 'mocha/standalone'
|
2
|
+
require 'mocha/object'
|
3
|
+
|
4
|
+
module RSpec
|
5
|
+
module Core
|
6
|
+
module MockFrameworkAdapter
|
7
|
+
|
8
|
+
# Mocha::Standalone was deprecated as of Mocha 0.9.7.
|
9
|
+
begin
|
10
|
+
include Mocha::API
|
11
|
+
rescue NameError
|
12
|
+
include Mocha::Standalone
|
13
|
+
end
|
14
|
+
|
15
|
+
alias :setup_mocks_for_rspec :mocha_setup
|
16
|
+
alias :verify_mocks_for_rspec :mocha_verify
|
17
|
+
alias :teardown_mocks_for_rspec :mocha_teardown
|
18
|
+
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
require 'rr'
|
2
|
+
|
3
|
+
RSpec.configuration.backtrace_clean_patterns.push(RR::Errors::BACKTRACE_IDENTIFIER)
|
4
|
+
|
5
|
+
module RSpec
|
6
|
+
module Core
|
7
|
+
module MockFrameworkAdapter
|
8
|
+
|
9
|
+
include RR::Extensions::InstanceMethods
|
10
|
+
|
11
|
+
def setup_mocks_for_rspec
|
12
|
+
RR::Space.instance.reset
|
13
|
+
end
|
14
|
+
|
15
|
+
def verify_mocks_for_rspec
|
16
|
+
RR::Space.instance.verify_doubles
|
17
|
+
end
|
18
|
+
|
19
|
+
def teardown_mocks_for_rspec
|
20
|
+
RR::Space.instance.reset
|
21
|
+
end
|
22
|
+
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
require 'rspec/mocks'
|
2
|
+
|
3
|
+
module RSpec
|
4
|
+
module Core
|
5
|
+
module MockFrameworkAdapter
|
6
|
+
|
7
|
+
def setup_mocks_for_rspec
|
8
|
+
RSpec::Mocks::setup(self)
|
9
|
+
end
|
10
|
+
|
11
|
+
def verify_mocks_for_rspec
|
12
|
+
RSpec::Mocks::verify
|
13
|
+
end
|
14
|
+
|
15
|
+
def teardown_mocks_for_rspec
|
16
|
+
RSpec::Mocks::teardown
|
17
|
+
end
|
18
|
+
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,122 @@
|
|
1
|
+
module RSpec::Core
|
2
|
+
class Parser
|
3
|
+
def self.parse!(args)
|
4
|
+
new.parse!(args)
|
5
|
+
end
|
6
|
+
|
7
|
+
class << self
|
8
|
+
alias_method :parse, :parse!
|
9
|
+
end
|
10
|
+
|
11
|
+
def parse!(args)
|
12
|
+
return {} if args.empty?
|
13
|
+
if args.include?("--formatter")
|
14
|
+
RSpec.deprecate("the --formatter option", "-f or --format")
|
15
|
+
args[args.index("--formatter")] = "--format"
|
16
|
+
end
|
17
|
+
options = {}
|
18
|
+
parser(options).parse!(args)
|
19
|
+
options
|
20
|
+
end
|
21
|
+
|
22
|
+
alias_method :parse, :parse!
|
23
|
+
|
24
|
+
def parser(options)
|
25
|
+
OptionParser.new do |parser|
|
26
|
+
parser.banner = "Usage: rspec [options] [files or directories]"
|
27
|
+
|
28
|
+
parser.on('-b', '--backtrace', 'Enable full backtrace') do |o|
|
29
|
+
options[:full_backtrace] = true
|
30
|
+
end
|
31
|
+
|
32
|
+
parser.on('-c', '--[no-]color', '--[no-]colour', 'Enable color in the output') do |o|
|
33
|
+
options[:color_enabled] = o
|
34
|
+
end
|
35
|
+
|
36
|
+
parser.on('-d', '--debug', 'Enable debugging') do |o|
|
37
|
+
options[:debug] = true
|
38
|
+
end
|
39
|
+
|
40
|
+
parser.on('-e', '--example PATTERN', "Run examples whose full descriptions match this pattern",
|
41
|
+
"(PATTERN is compiled into a Ruby regular expression)") do |o|
|
42
|
+
options[:full_description] = /#{o}/
|
43
|
+
end
|
44
|
+
|
45
|
+
parser.on('-f', '--format FORMATTER', 'Choose a formatter',
|
46
|
+
' [p]rogress (default - dots)',
|
47
|
+
' [d]ocumentation (group and example names)',
|
48
|
+
' [h]tml',
|
49
|
+
' [t]extmate',
|
50
|
+
' custom formatter class name') do |o|
|
51
|
+
options[:formatter] = o
|
52
|
+
end
|
53
|
+
|
54
|
+
parser.on('-o', '--out FILE', 'output to a file instead of STDOUT') do |o|
|
55
|
+
options[:output_stream] = File.open(o,'w')
|
56
|
+
end
|
57
|
+
|
58
|
+
parser.on_tail('-h', '--help', "You're looking at it.") do
|
59
|
+
puts parser
|
60
|
+
exit
|
61
|
+
end
|
62
|
+
|
63
|
+
parser.on('-I DIRECTORY', 'specify $LOAD_PATH directory (may be used more than once)') do |dir|
|
64
|
+
options[:libs] ||= []
|
65
|
+
options[:libs] << dir
|
66
|
+
end
|
67
|
+
|
68
|
+
parser.on('-l', '--line_number LINE', 'Specify the line number of a single example to run') do |o|
|
69
|
+
options[:line_number] = o
|
70
|
+
end
|
71
|
+
|
72
|
+
parser.on('-p', '--profile', 'Enable profiling of examples with output of the top 10 slowest examples') do |o|
|
73
|
+
options[:profile_examples] = o
|
74
|
+
end
|
75
|
+
|
76
|
+
parser.on('-r', '--require PATH', 'Require a file') do |path|
|
77
|
+
options[:requires] ||= []
|
78
|
+
options[:requires] << path
|
79
|
+
end
|
80
|
+
|
81
|
+
parser.on('-v', '--version', 'Show version') do
|
82
|
+
puts RSpec::Core::Version::STRING
|
83
|
+
exit
|
84
|
+
end
|
85
|
+
|
86
|
+
parser.on('-X', '--drb', 'Run examples via DRb') do |o|
|
87
|
+
options[:drb] = true
|
88
|
+
end
|
89
|
+
|
90
|
+
parser.on('--configure COMMAND', 'Generate configuration files') do |cmd|
|
91
|
+
CommandLineConfiguration.new(cmd).run
|
92
|
+
exit
|
93
|
+
end
|
94
|
+
|
95
|
+
parser.on('--drb-port [PORT]', 'Port to connect to on the DRb server') do |o|
|
96
|
+
options[:drb_port] = o.to_i
|
97
|
+
end
|
98
|
+
|
99
|
+
parser.on('--autotest') do |o|
|
100
|
+
options[:autotest] = true
|
101
|
+
end
|
102
|
+
|
103
|
+
parser.on('--fail-fast', 'Use the fail_fast option to tell RSpec to abort the run on first failure.') do |o|
|
104
|
+
options[:fail_fast] = true
|
105
|
+
end
|
106
|
+
|
107
|
+
parser.on('-t', '--tag TAG[:VALUE]', 'Run examples with the specified tag',
|
108
|
+
'To exclude examples, add ~ before the tag (e.g. ~slow)',
|
109
|
+
'(TAG is always converted to a symbol)') do |tag|
|
110
|
+
filter_type = tag =~ /^~/ ? :exclusion_filter : :filter
|
111
|
+
|
112
|
+
name,value = tag.gsub(/^(~@|~|@)/, '').split(':')
|
113
|
+
name = name.to_sym
|
114
|
+
value = true if value.nil?
|
115
|
+
|
116
|
+
options[filter_type] ||= {}
|
117
|
+
options[filter_type][name] = value
|
118
|
+
end
|
119
|
+
end
|
120
|
+
end
|
121
|
+
end
|
122
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
module RSpec
|
2
|
+
module Core
|
3
|
+
module Pending
|
4
|
+
DEFAULT_MESSAGE = 'No reason given'
|
5
|
+
|
6
|
+
def pending(*args)
|
7
|
+
options = args.last.is_a?(Hash) ? args.pop : {}
|
8
|
+
message = args.first || DEFAULT_MESSAGE
|
9
|
+
|
10
|
+
if options[:unless] || (options.has_key?(:if) && !options[:if])
|
11
|
+
return block_given? ? yield : nil
|
12
|
+
end
|
13
|
+
|
14
|
+
example.metadata[:pending] = true
|
15
|
+
example.metadata[:execution_result][:pending_message] = message
|
16
|
+
if block_given?
|
17
|
+
begin
|
18
|
+
result = yield
|
19
|
+
example.metadata[:pending] = false
|
20
|
+
rescue Exception => e
|
21
|
+
end
|
22
|
+
raise RSpec::Core::PendingExampleFixedError.new if result
|
23
|
+
end
|
24
|
+
throw :pending_declared_in_example, message
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,196 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'rspec/core'
|
4
|
+
require 'rspec/core/deprecation'
|
5
|
+
require 'rake'
|
6
|
+
require 'rake/tasklib'
|
7
|
+
|
8
|
+
module RSpec
|
9
|
+
module Core
|
10
|
+
class RakeTask < ::Rake::TaskLib
|
11
|
+
|
12
|
+
# Name of task.
|
13
|
+
#
|
14
|
+
# default:
|
15
|
+
# :spec
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# Glob pattern to match files.
|
19
|
+
#
|
20
|
+
# default:
|
21
|
+
# 'spec/**/*_spec.rb'
|
22
|
+
attr_accessor :pattern
|
23
|
+
|
24
|
+
# By default, if there is a Gemfile, the generated command will include
|
25
|
+
# 'bundle exec'. Set this to true to ignore the presence of a Gemfile, and
|
26
|
+
# not add 'bundle exec' to the command.
|
27
|
+
#
|
28
|
+
# default:
|
29
|
+
# false
|
30
|
+
attr_accessor :skip_bundler
|
31
|
+
|
32
|
+
# Name of Gemfile to use
|
33
|
+
#
|
34
|
+
# default:
|
35
|
+
# Gemfile
|
36
|
+
attr_accessor :gemfile
|
37
|
+
|
38
|
+
# Deprecated. Use ruby_opts="-w" instead.
|
39
|
+
#
|
40
|
+
# When true, requests that the specs be run with the warning flag set.
|
41
|
+
# e.g. "ruby -w"
|
42
|
+
#
|
43
|
+
# default:
|
44
|
+
# false
|
45
|
+
attr_reader :warning
|
46
|
+
|
47
|
+
def warning=(true_or_false)
|
48
|
+
RSpec.deprecate("RSpec::Core::RakeTask#warning=", 'ruby_opts="-w"')
|
49
|
+
@warning = true_or_false
|
50
|
+
end
|
51
|
+
|
52
|
+
# Whether or not to fail Rake when an error occurs (typically when examples fail).
|
53
|
+
#
|
54
|
+
# default:
|
55
|
+
# true
|
56
|
+
attr_accessor :fail_on_error
|
57
|
+
|
58
|
+
# A message to print to stderr when there are failures.
|
59
|
+
attr_accessor :failure_message
|
60
|
+
|
61
|
+
# Use verbose output. If this is set to true, the task will print the
|
62
|
+
# executed spec command to stdout.
|
63
|
+
#
|
64
|
+
# default:
|
65
|
+
# true
|
66
|
+
attr_accessor :verbose
|
67
|
+
|
68
|
+
# Use rcov for code coverage?
|
69
|
+
#
|
70
|
+
# default:
|
71
|
+
# false
|
72
|
+
attr_accessor :rcov
|
73
|
+
|
74
|
+
# Path to rcov.
|
75
|
+
#
|
76
|
+
# default:
|
77
|
+
# 'rcov'
|
78
|
+
attr_accessor :rcov_path
|
79
|
+
|
80
|
+
# Command line options to pass to rcov.
|
81
|
+
#
|
82
|
+
# default:
|
83
|
+
# nil
|
84
|
+
attr_accessor :rcov_opts
|
85
|
+
|
86
|
+
# Command line options to pass to ruby.
|
87
|
+
#
|
88
|
+
# default:
|
89
|
+
# nil
|
90
|
+
attr_accessor :ruby_opts
|
91
|
+
|
92
|
+
# Path to rspec
|
93
|
+
#
|
94
|
+
# default:
|
95
|
+
# 'rspec'
|
96
|
+
attr_accessor :rspec_path
|
97
|
+
|
98
|
+
# Command line options to pass to rspec.
|
99
|
+
#
|
100
|
+
# default:
|
101
|
+
# nil
|
102
|
+
attr_accessor :rspec_opts
|
103
|
+
|
104
|
+
# Deprecated. Use rspec_opts instead.
|
105
|
+
#
|
106
|
+
# Command line options to pass to rspec.
|
107
|
+
#
|
108
|
+
# default:
|
109
|
+
# nil
|
110
|
+
def spec_opts=(opts)
|
111
|
+
RSpec.deprecate('RSpec::Core::RakeTask#spec_opts=', 'rspec_opts=')
|
112
|
+
@rspec_opts = opts
|
113
|
+
end
|
114
|
+
|
115
|
+
def initialize(*args)
|
116
|
+
@name = args.shift || :spec
|
117
|
+
@pattern, @rcov_path, @rcov_opts, @ruby_opts, @rspec_opts = nil, nil, nil, nil, nil
|
118
|
+
@warning, @rcov, @skip_bundler = false, false, false
|
119
|
+
@verbose, @fail_on_error = true, true
|
120
|
+
@gemfile = 'Gemfile'
|
121
|
+
|
122
|
+
yield self if block_given?
|
123
|
+
|
124
|
+
@rcov_path ||= 'rcov'
|
125
|
+
@rspec_path ||= 'rspec'
|
126
|
+
@pattern ||= './spec/**/*_spec.rb'
|
127
|
+
|
128
|
+
desc("Run RSpec code examples") unless ::Rake.application.last_comment
|
129
|
+
|
130
|
+
task name do
|
131
|
+
RakeFileUtils.send(:verbose, verbose) do
|
132
|
+
if files_to_run.empty?
|
133
|
+
puts "No examples matching #{pattern} could be found"
|
134
|
+
else
|
135
|
+
begin
|
136
|
+
ruby(spec_command)
|
137
|
+
rescue
|
138
|
+
puts failure_message if failure_message
|
139
|
+
raise("ruby #{spec_command} failed") if fail_on_error
|
140
|
+
end
|
141
|
+
end
|
142
|
+
end
|
143
|
+
end
|
144
|
+
end
|
145
|
+
|
146
|
+
private
|
147
|
+
|
148
|
+
def files_to_run # :nodoc:
|
149
|
+
if ENV['SPEC']
|
150
|
+
FileList[ ENV['SPEC'] ]
|
151
|
+
else
|
152
|
+
FileList[ pattern ].map { |f| %["#{f}"] }
|
153
|
+
end
|
154
|
+
end
|
155
|
+
|
156
|
+
def spec_command
|
157
|
+
@spec_command ||= begin
|
158
|
+
cmd_parts = [ruby_opts]
|
159
|
+
cmd_parts << "-w" if warning?
|
160
|
+
cmd_parts << "-S"
|
161
|
+
cmd_parts << "bundle exec" if gemfile? unless skip_bundler
|
162
|
+
cmd_parts << runner
|
163
|
+
if rcov
|
164
|
+
cmd_parts << ["-Ispec", "-Ilib", rcov_opts]
|
165
|
+
else
|
166
|
+
cmd_parts << rspec_opts
|
167
|
+
end
|
168
|
+
cmd_parts << files_to_run
|
169
|
+
if rcov && rspec_opts
|
170
|
+
cmd_parts << ["--", rspec_opts]
|
171
|
+
end
|
172
|
+
cmd_parts.flatten.compact.reject(&blank).join(" ")
|
173
|
+
end
|
174
|
+
end
|
175
|
+
|
176
|
+
private
|
177
|
+
|
178
|
+
def runner
|
179
|
+
rcov ? rcov_path : rspec_path
|
180
|
+
end
|
181
|
+
|
182
|
+
def warning?
|
183
|
+
warning
|
184
|
+
end
|
185
|
+
|
186
|
+
def blank
|
187
|
+
lambda {|s| s == ""}
|
188
|
+
end
|
189
|
+
|
190
|
+
def gemfile?
|
191
|
+
File.exist?(gemfile)
|
192
|
+
end
|
193
|
+
|
194
|
+
end
|
195
|
+
end
|
196
|
+
end
|
@@ -0,0 +1,79 @@
|
|
1
|
+
module RSpec::Core
|
2
|
+
class Reporter
|
3
|
+
def initialize(*formatters)
|
4
|
+
@formatters = formatters
|
5
|
+
@example_count = @failure_count = @pending_count = 0
|
6
|
+
@duration = @start = nil
|
7
|
+
end
|
8
|
+
|
9
|
+
def report(count)
|
10
|
+
start(count)
|
11
|
+
begin
|
12
|
+
yield self
|
13
|
+
ensure
|
14
|
+
conclude
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
def conclude
|
19
|
+
begin
|
20
|
+
stop
|
21
|
+
notify :start_dump
|
22
|
+
notify :dump_pending
|
23
|
+
notify :dump_failures
|
24
|
+
notify :dump_summary, @duration, @example_count, @failure_count, @pending_count
|
25
|
+
ensure
|
26
|
+
notify :close
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
alias_method :abort, :conclude
|
31
|
+
|
32
|
+
def start(expected_example_count)
|
33
|
+
@start = Time.now
|
34
|
+
notify :start, expected_example_count
|
35
|
+
end
|
36
|
+
|
37
|
+
def message(message)
|
38
|
+
notify :message, message
|
39
|
+
end
|
40
|
+
|
41
|
+
def example_group_started(group)
|
42
|
+
notify :example_group_started, group
|
43
|
+
end
|
44
|
+
|
45
|
+
def example_group_finished(group)
|
46
|
+
notify :example_group_finished, group
|
47
|
+
end
|
48
|
+
|
49
|
+
def example_started(example)
|
50
|
+
@example_count += 1
|
51
|
+
notify :example_started, example
|
52
|
+
end
|
53
|
+
|
54
|
+
def example_passed(example)
|
55
|
+
notify :example_passed, example
|
56
|
+
end
|
57
|
+
|
58
|
+
def example_failed(example)
|
59
|
+
@failure_count += 1
|
60
|
+
notify :example_failed, example
|
61
|
+
end
|
62
|
+
|
63
|
+
def example_pending(example)
|
64
|
+
@pending_count += 1
|
65
|
+
notify :example_pending, example
|
66
|
+
end
|
67
|
+
|
68
|
+
def stop
|
69
|
+
@duration = Time.now - @start if @start
|
70
|
+
notify :stop
|
71
|
+
end
|
72
|
+
|
73
|
+
def notify(method, *args, &block)
|
74
|
+
@formatters.each do |formatter|
|
75
|
+
formatter.send method, *args, &block
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|