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,587 @@
|
|
1
|
+
require File.expand_path("#{File.dirname(__FILE__)}/../../spec_helper")
|
2
|
+
|
3
|
+
module RR
|
4
|
+
describe Space do
|
5
|
+
it_should_behave_like "Swapped Space"
|
6
|
+
attr_reader :space, :subject, :method_name, :double_injection
|
7
|
+
|
8
|
+
before do
|
9
|
+
@subject = Object.new
|
10
|
+
end
|
11
|
+
|
12
|
+
describe "#record_call" do
|
13
|
+
it "should add a call to the list" do
|
14
|
+
object = Object.new
|
15
|
+
block = lambda {}
|
16
|
+
space.record_call(object, :to_s, [], block)
|
17
|
+
space.recorded_calls.should == RR::RecordedCalls.new([[object, :to_s, [], block]])
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
describe "#double_injection" do
|
22
|
+
context "when existing subject == but not === with the same method name" do
|
23
|
+
it "creates a new DoubleInjection" do
|
24
|
+
subject_1 = []
|
25
|
+
subject_2 = []
|
26
|
+
(subject_1 === subject_2).should be_true
|
27
|
+
subject_1.__id__.should_not == subject_2.__id__
|
28
|
+
|
29
|
+
injection_1 = Injections::DoubleInjection.find_or_create_by_subject(subject_1, :foobar)
|
30
|
+
injection_2 = Injections::DoubleInjection.find_or_create_by_subject(subject_2, :foobar)
|
31
|
+
|
32
|
+
injection_1.should_not == injection_2
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
context "when a DoubleInjection is not registered for the subject and method_name" do
|
37
|
+
before do
|
38
|
+
def subject.foobar(*args)
|
39
|
+
:original_foobar
|
40
|
+
end
|
41
|
+
|
42
|
+
@method_name = :foobar
|
43
|
+
end
|
44
|
+
|
45
|
+
context "when method_name is a symbol" do
|
46
|
+
it "returns double_injection and adds double_injection to double_injection list" do
|
47
|
+
double_injection = Injections::DoubleInjection.find_or_create_by_subject(subject, method_name)
|
48
|
+
Injections::DoubleInjection.find_or_create_by_subject(subject, method_name).should === double_injection
|
49
|
+
double_injection.subject_class.should == (class << subject; self; end)
|
50
|
+
double_injection.method_name.should === method_name
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
context "when method_name is a string" do
|
55
|
+
it "returns double_injection and adds double_injection to double_injection list" do
|
56
|
+
double_injection = Injections::DoubleInjection.find_or_create_by_subject(subject, 'foobar')
|
57
|
+
Injections::DoubleInjection.find_or_create_by_subject(subject, method_name).should === double_injection
|
58
|
+
double_injection.subject_class.should == (class << subject; self; end)
|
59
|
+
double_injection.method_name.should === method_name
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
it "overrides the method when passing a block" do
|
64
|
+
original_method = subject.method(:foobar)
|
65
|
+
Injections::DoubleInjection.find_or_create_by_subject(subject, method_name)
|
66
|
+
subject.method(:foobar).should_not == original_method
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
context "when double_injection exists" do
|
71
|
+
before do
|
72
|
+
def subject.foobar(*args)
|
73
|
+
:original_foobar
|
74
|
+
end
|
75
|
+
|
76
|
+
@method_name = :foobar
|
77
|
+
end
|
78
|
+
|
79
|
+
context "when a DoubleInjection is registered for the subject and method_name" do
|
80
|
+
it "returns the existing DoubleInjection" do
|
81
|
+
@double_injection = Injections::DoubleInjection.find_or_create_by_subject(subject, 'foobar')
|
82
|
+
|
83
|
+
double_injection.subject_has_original_method?.should be_true
|
84
|
+
|
85
|
+
Injections::DoubleInjection.find_or_create_by_subject(subject, 'foobar').should === double_injection
|
86
|
+
|
87
|
+
double_injection.reset
|
88
|
+
subject.foobar.should == :original_foobar
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
describe "#method_missing_injection" do
|
95
|
+
context "when existing subject == but not === with the same method name" do
|
96
|
+
it "creates a new DoubleInjection" do
|
97
|
+
subject_1 = []
|
98
|
+
subject_2 = []
|
99
|
+
(subject_1 === subject_2).should be_true
|
100
|
+
subject_1.__id__.should_not == subject_2.__id__
|
101
|
+
|
102
|
+
injection_1 = Injections::MethodMissingInjection.find_or_create(class << subject_1; self; end)
|
103
|
+
injection_2 = Injections::MethodMissingInjection.find_or_create(class << subject_2; self; end)
|
104
|
+
|
105
|
+
injection_1.should_not == injection_2
|
106
|
+
end
|
107
|
+
end
|
108
|
+
|
109
|
+
context "when a MethodMissingInjection is not registered for the subject and method_name" do
|
110
|
+
before do
|
111
|
+
def subject.method_missing(method_name, *args, &block)
|
112
|
+
:original_method_missing
|
113
|
+
end
|
114
|
+
end
|
115
|
+
|
116
|
+
it "overrides the method when passing a block" do
|
117
|
+
original_method = subject.method(:method_missing)
|
118
|
+
Injections::MethodMissingInjection.find_or_create(class << subject; self; end)
|
119
|
+
subject.method(:method_missing).should_not == original_method
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
123
|
+
context "when a MethodMissingInjection is registered for the subject and method_name" do
|
124
|
+
before do
|
125
|
+
def subject.method_missing(method_name, *args, &block)
|
126
|
+
:original_method_missing
|
127
|
+
end
|
128
|
+
end
|
129
|
+
|
130
|
+
context "when a DoubleInjection is registered for the subject and method_name" do
|
131
|
+
it "returns the existing DoubleInjection" do
|
132
|
+
injection = Injections::MethodMissingInjection.find_or_create(class << subject; self; end)
|
133
|
+
injection.subject_has_original_method?.should be_true
|
134
|
+
|
135
|
+
Injections::MethodMissingInjection.find_or_create(class << subject; self; end).should === injection
|
136
|
+
|
137
|
+
injection.reset
|
138
|
+
subject.method_missing(:foobar).should == :original_method_missing
|
139
|
+
end
|
140
|
+
end
|
141
|
+
end
|
142
|
+
end
|
143
|
+
|
144
|
+
describe "#singleton_method_added_injection" do
|
145
|
+
context "when existing subject == but not === with the same method name" do
|
146
|
+
it "creates a new DoubleInjection" do
|
147
|
+
subject_1 = []
|
148
|
+
subject_2 = []
|
149
|
+
(subject_1 === subject_2).should be_true
|
150
|
+
subject_1.__id__.should_not == subject_2.__id__
|
151
|
+
|
152
|
+
injection_1 = Injections::SingletonMethodAddedInjection.find_or_create(class << subject_1; self; end)
|
153
|
+
injection_2 = Injections::SingletonMethodAddedInjection.find_or_create(class << subject_2; self; end)
|
154
|
+
|
155
|
+
injection_1.should_not == injection_2
|
156
|
+
end
|
157
|
+
end
|
158
|
+
|
159
|
+
context "when a SingletonMethodAddedInjection is not registered for the subject and method_name" do
|
160
|
+
before do
|
161
|
+
def subject.singleton_method_added(method_name)
|
162
|
+
:original_singleton_method_added
|
163
|
+
end
|
164
|
+
end
|
165
|
+
|
166
|
+
it "overrides the method when passing a block" do
|
167
|
+
original_method = subject.method(:singleton_method_added)
|
168
|
+
Injections::SingletonMethodAddedInjection.find_or_create(class << subject; self; end)
|
169
|
+
subject.method(:singleton_method_added).should_not == original_method
|
170
|
+
end
|
171
|
+
end
|
172
|
+
|
173
|
+
context "when a SingletonMethodAddedInjection is registered for the subject and method_name" do
|
174
|
+
before do
|
175
|
+
def subject.singleton_method_added(method_name)
|
176
|
+
:original_singleton_method_added
|
177
|
+
end
|
178
|
+
end
|
179
|
+
|
180
|
+
context "when a DoubleInjection is registered for the subject and method_name" do
|
181
|
+
it "returns the existing DoubleInjection" do
|
182
|
+
injection = Injections::SingletonMethodAddedInjection.find_or_create(class << subject; self; end)
|
183
|
+
injection.subject_has_original_method?.should be_true
|
184
|
+
|
185
|
+
Injections::SingletonMethodAddedInjection.find_or_create(class << subject; self; end).should === injection
|
186
|
+
|
187
|
+
injection.reset
|
188
|
+
subject.singleton_method_added(:foobar).should == :original_singleton_method_added
|
189
|
+
end
|
190
|
+
end
|
191
|
+
end
|
192
|
+
end
|
193
|
+
|
194
|
+
describe "#reset" do
|
195
|
+
attr_reader :subject_1, :subject_2
|
196
|
+
before do
|
197
|
+
@subject_1 = Object.new
|
198
|
+
@subject_2 = Object.new
|
199
|
+
@method_name = :foobar
|
200
|
+
end
|
201
|
+
|
202
|
+
it "should clear the #recorded_calls" do
|
203
|
+
object = Object.new
|
204
|
+
space.record_call(object, :to_s, [], nil)
|
205
|
+
|
206
|
+
space.reset
|
207
|
+
space.recorded_calls.should == RR::RecordedCalls.new([])
|
208
|
+
end
|
209
|
+
|
210
|
+
it "removes the ordered doubles" do
|
211
|
+
mock(subject_1).foobar1.ordered
|
212
|
+
mock(subject_2).foobar2.ordered
|
213
|
+
|
214
|
+
space.ordered_doubles.should_not be_empty
|
215
|
+
|
216
|
+
space.reset
|
217
|
+
space.ordered_doubles.should be_empty
|
218
|
+
end
|
219
|
+
|
220
|
+
it "resets all double_injections" do
|
221
|
+
subject_1.respond_to?(method_name).should be_false
|
222
|
+
subject_2.respond_to?(method_name).should be_false
|
223
|
+
|
224
|
+
Injections::DoubleInjection.find_or_create_by_subject(subject_1, method_name)
|
225
|
+
Injections::DoubleInjection.exists_by_subject?(subject_1, method_name).should be_true
|
226
|
+
subject_1.respond_to?(method_name).should be_true
|
227
|
+
|
228
|
+
Injections::DoubleInjection.find_or_create_by_subject(subject_2, method_name)
|
229
|
+
Injections::DoubleInjection.exists_by_subject?(subject_2, method_name).should be_true
|
230
|
+
subject_2.respond_to?(method_name).should be_true
|
231
|
+
|
232
|
+
space.reset
|
233
|
+
|
234
|
+
subject_1.respond_to?(method_name).should be_false
|
235
|
+
Injections::DoubleInjection.exists?(subject_1, method_name).should be_false
|
236
|
+
|
237
|
+
subject_2.respond_to?(method_name).should be_false
|
238
|
+
Injections::DoubleInjection.exists?(subject_2, method_name).should be_false
|
239
|
+
end
|
240
|
+
|
241
|
+
it "resets all method_missing_injections" do
|
242
|
+
subject_1.respond_to?(:method_missing).should be_false
|
243
|
+
subject_2.respond_to?(:method_missing).should be_false
|
244
|
+
|
245
|
+
Injections::MethodMissingInjection.find_or_create(class << subject_1; self; end)
|
246
|
+
Injections::MethodMissingInjection.exists?(class << subject_1; self; end).should be_true
|
247
|
+
subject_1.respond_to?(:method_missing).should be_true
|
248
|
+
|
249
|
+
Injections::MethodMissingInjection.find_or_create(class << subject_2; self; end)
|
250
|
+
Injections::MethodMissingInjection.exists?(class << subject_2; self; end).should be_true
|
251
|
+
subject_2.respond_to?(:method_missing).should be_true
|
252
|
+
|
253
|
+
space.reset
|
254
|
+
|
255
|
+
subject_1.respond_to?(:method_missing).should be_false
|
256
|
+
Injections::MethodMissingInjection.exists?(subject_1).should be_false
|
257
|
+
|
258
|
+
subject_2.respond_to?(:method_missing).should be_false
|
259
|
+
Injections::MethodMissingInjection.exists?(subject_2).should be_false
|
260
|
+
end
|
261
|
+
|
262
|
+
it "resets all singleton_method_added_injections" do
|
263
|
+
subject_1.respond_to?(:singleton_method_added).should be_false
|
264
|
+
subject_2.respond_to?(:singleton_method_added).should be_false
|
265
|
+
|
266
|
+
Injections::SingletonMethodAddedInjection.find_or_create(class << subject_1; self; end)
|
267
|
+
Injections::SingletonMethodAddedInjection.exists?(class << subject_1; self; end).should be_true
|
268
|
+
subject_1.respond_to?(:singleton_method_added).should be_true
|
269
|
+
|
270
|
+
Injections::SingletonMethodAddedInjection.find_or_create(class << subject_2; self; end)
|
271
|
+
Injections::SingletonMethodAddedInjection.exists?(class << subject_2; self; end).should be_true
|
272
|
+
subject_2.respond_to?(:singleton_method_added).should be_true
|
273
|
+
|
274
|
+
space.reset
|
275
|
+
|
276
|
+
subject_1.respond_to?(:singleton_method_added).should be_false
|
277
|
+
Injections::SingletonMethodAddedInjection.exists?(subject_1).should be_false
|
278
|
+
|
279
|
+
subject_2.respond_to?(:singleton_method_added).should be_false
|
280
|
+
Injections::SingletonMethodAddedInjection.exists?(subject_2).should be_false
|
281
|
+
end
|
282
|
+
end
|
283
|
+
|
284
|
+
describe "#reset_double" do
|
285
|
+
before do
|
286
|
+
@method_name = :foobar
|
287
|
+
|
288
|
+
def subject.foobar
|
289
|
+
end
|
290
|
+
end
|
291
|
+
|
292
|
+
it "resets the double_injections and restores the original method" do
|
293
|
+
original_method = subject.method(method_name)
|
294
|
+
|
295
|
+
@double_injection = Injections::DoubleInjection.find_or_create_by_subject(subject, method_name)
|
296
|
+
Injections::DoubleInjection.instances.keys.should include(class << subject; self; end)
|
297
|
+
Injections::DoubleInjection.find_by_subject(subject, method_name).should_not be_nil
|
298
|
+
subject.method(method_name).should_not == original_method
|
299
|
+
|
300
|
+
space.reset_double(subject, method_name)
|
301
|
+
Injections::DoubleInjection.instances.keys.should_not include(subject)
|
302
|
+
subject.method(method_name).should == original_method
|
303
|
+
end
|
304
|
+
|
305
|
+
context "when it has no double_injections" do
|
306
|
+
it "removes the subject from the double_injections map" do
|
307
|
+
double_1 = Injections::DoubleInjection.find_or_create_by_subject(subject, :foobar1)
|
308
|
+
double_2 = Injections::DoubleInjection.find_or_create_by_subject(subject, :foobar2)
|
309
|
+
|
310
|
+
Injections::DoubleInjection.instances.include?(class << subject; self; end).should == true
|
311
|
+
Injections::DoubleInjection.find_by_subject(subject, :foobar1).should_not be_nil
|
312
|
+
Injections::DoubleInjection.find_by_subject(subject, :foobar2).should_not be_nil
|
313
|
+
|
314
|
+
space.reset_double(subject, :foobar1)
|
315
|
+
Injections::DoubleInjection.instances.include?(class << subject; self; end).should == true
|
316
|
+
Injections::DoubleInjection.find_by_subject(subject, :foobar1).should be_nil
|
317
|
+
Injections::DoubleInjection.find_by_subject(subject, :foobar2).should_not be_nil
|
318
|
+
|
319
|
+
space.reset_double(subject, :foobar2)
|
320
|
+
Injections::DoubleInjection.instances.include?(subject).should == false
|
321
|
+
end
|
322
|
+
end
|
323
|
+
end
|
324
|
+
|
325
|
+
describe "#DoubleInjection.reset" do
|
326
|
+
attr_reader :subject_1, :subject_2
|
327
|
+
before do
|
328
|
+
@subject_1 = Object.new
|
329
|
+
@subject_2 = Object.new
|
330
|
+
@method_name = :foobar
|
331
|
+
end
|
332
|
+
|
333
|
+
it "resets the double_injection and removes it from the double_injections list" do
|
334
|
+
double_injection_1 = Injections::DoubleInjection.find_or_create_by_subject(subject_1, method_name)
|
335
|
+
double_1_reset_call_count = 0
|
336
|
+
( class << double_injection_1; self; end).class_eval do
|
337
|
+
define_method(:reset) do
|
338
|
+
double_1_reset_call_count += 1
|
339
|
+
end
|
340
|
+
end
|
341
|
+
double_injection_2 = Injections::DoubleInjection.find_or_create_by_subject(subject_2, method_name)
|
342
|
+
double_2_reset_call_count = 0
|
343
|
+
( class << double_injection_2; self; end).class_eval do
|
344
|
+
define_method(:reset) do
|
345
|
+
double_2_reset_call_count += 1
|
346
|
+
end
|
347
|
+
end
|
348
|
+
|
349
|
+
Injections::DoubleInjection.reset
|
350
|
+
double_1_reset_call_count.should == 1
|
351
|
+
double_2_reset_call_count.should == 1
|
352
|
+
end
|
353
|
+
end
|
354
|
+
|
355
|
+
describe "#verify_doubles" do
|
356
|
+
attr_reader :subject_1, :subject_2, :subject3, :double_1, :double_2, :double3
|
357
|
+
before do
|
358
|
+
@subject_1 = Object.new
|
359
|
+
@subject_2 = Object.new
|
360
|
+
@subject3 = Object.new
|
361
|
+
@method_name = :foobar
|
362
|
+
@double_1 = Injections::DoubleInjection.find_or_create_by_subject(subject_1, method_name)
|
363
|
+
@double_2 = Injections::DoubleInjection.find_or_create_by_subject(subject_2, method_name)
|
364
|
+
@double3 = Injections::DoubleInjection.find_or_create_by_subject(subject3, method_name)
|
365
|
+
end
|
366
|
+
|
367
|
+
context "when passed no arguments" do
|
368
|
+
it "verifies and deletes the double_injections" do
|
369
|
+
double_1_verify_call_count = 0
|
370
|
+
double_1_reset_call_count = 0
|
371
|
+
(
|
372
|
+
class << double_1;
|
373
|
+
self;
|
374
|
+
end).class_eval do
|
375
|
+
define_method(:verify) do
|
376
|
+
double_1_verify_call_count += 1
|
377
|
+
end
|
378
|
+
define_method(:reset) do
|
379
|
+
double_1_reset_call_count += 1
|
380
|
+
end
|
381
|
+
end
|
382
|
+
|
383
|
+
double_2_verify_call_count = 0
|
384
|
+
double_2_reset_call_count = 0
|
385
|
+
(
|
386
|
+
class << double_2;
|
387
|
+
self;
|
388
|
+
end).class_eval do
|
389
|
+
define_method(:verify) do
|
390
|
+
double_2_verify_call_count += 1
|
391
|
+
end
|
392
|
+
define_method(:reset) do
|
393
|
+
double_2_reset_call_count += 1
|
394
|
+
end
|
395
|
+
end
|
396
|
+
|
397
|
+
space.verify_doubles
|
398
|
+
double_1_verify_call_count.should == 1
|
399
|
+
double_2_verify_call_count.should == 1
|
400
|
+
double_1_reset_call_count.should == 1
|
401
|
+
double_1_reset_call_count.should == 1
|
402
|
+
end
|
403
|
+
end
|
404
|
+
|
405
|
+
context "when passed an Object that has at least one DoubleInjection" do
|
406
|
+
it "verifies all Doubles injected into the Object" do
|
407
|
+
double_1_verify_call_count = 0
|
408
|
+
double_1_reset_call_count = 0
|
409
|
+
(
|
410
|
+
class << double_1;
|
411
|
+
self;
|
412
|
+
end).class_eval do
|
413
|
+
define_method(:verify) do
|
414
|
+
double_1_verify_call_count += 1
|
415
|
+
end
|
416
|
+
define_method(:reset) do
|
417
|
+
double_1_reset_call_count += 1
|
418
|
+
end
|
419
|
+
end
|
420
|
+
|
421
|
+
double_2_verify_call_count = 0
|
422
|
+
double_2_reset_call_count = 0
|
423
|
+
(
|
424
|
+
class << double_2;
|
425
|
+
self;
|
426
|
+
end).class_eval do
|
427
|
+
define_method(:verify) do
|
428
|
+
double_2_verify_call_count += 1
|
429
|
+
end
|
430
|
+
define_method(:reset) do
|
431
|
+
double_2_reset_call_count += 1
|
432
|
+
end
|
433
|
+
end
|
434
|
+
|
435
|
+
space.verify_doubles(subject_1)
|
436
|
+
|
437
|
+
double_1_verify_call_count.should == 1
|
438
|
+
double_1_reset_call_count.should == 1
|
439
|
+
double_2_verify_call_count.should == 0
|
440
|
+
double_2_reset_call_count.should == 0
|
441
|
+
end
|
442
|
+
end
|
443
|
+
|
444
|
+
context "when passed multiple Objects with at least one DoubleInjection" do
|
445
|
+
it "verifies the Doubles injected into all of the Objects" do
|
446
|
+
double_1_verify_call_count = 0
|
447
|
+
double_1_reset_call_count = 0
|
448
|
+
( class << double_1; self; end).class_eval do
|
449
|
+
define_method(:verify) do
|
450
|
+
double_1_verify_call_count += 1
|
451
|
+
end
|
452
|
+
define_method(:reset) do
|
453
|
+
double_1_reset_call_count += 1
|
454
|
+
end
|
455
|
+
end
|
456
|
+
|
457
|
+
double_2_verify_call_count = 0
|
458
|
+
double_2_reset_call_count = 0
|
459
|
+
( class << double_2; self; end).class_eval do
|
460
|
+
define_method(:verify) do
|
461
|
+
double_2_verify_call_count += 1
|
462
|
+
end
|
463
|
+
define_method(:reset) do
|
464
|
+
double_2_reset_call_count += 1
|
465
|
+
end
|
466
|
+
end
|
467
|
+
|
468
|
+
double3_verify_call_count = 0
|
469
|
+
double3_reset_call_count = 0
|
470
|
+
( class << double3; self; end).class_eval do
|
471
|
+
define_method(:verify) do
|
472
|
+
double3_verify_call_count += 1
|
473
|
+
end
|
474
|
+
define_method(:reset) do
|
475
|
+
double3_reset_call_count += 1
|
476
|
+
end
|
477
|
+
end
|
478
|
+
|
479
|
+
space.verify_doubles(subject_1, subject_2)
|
480
|
+
|
481
|
+
double_1_verify_call_count.should == 1
|
482
|
+
double_1_reset_call_count.should == 1
|
483
|
+
double_2_verify_call_count.should == 1
|
484
|
+
double_2_reset_call_count.should == 1
|
485
|
+
double3_verify_call_count.should == 0
|
486
|
+
double3_reset_call_count.should == 0
|
487
|
+
end
|
488
|
+
end
|
489
|
+
|
490
|
+
context "when passed an subject that does not have a DoubleInjection" do
|
491
|
+
it "does not raise an error" do
|
492
|
+
double_1_verify_call_count = 0
|
493
|
+
double_1_reset_call_count = 0
|
494
|
+
( class << double_1; self; end).class_eval do
|
495
|
+
define_method(:verify) do
|
496
|
+
double_1_verify_call_count += 1
|
497
|
+
end
|
498
|
+
define_method(:reset) do
|
499
|
+
double_1_reset_call_count += 1
|
500
|
+
end
|
501
|
+
end
|
502
|
+
|
503
|
+
double_2_verify_call_count = 0
|
504
|
+
double_2_reset_call_count = 0
|
505
|
+
( class << double_2; self; end).class_eval do
|
506
|
+
define_method(:verify) do
|
507
|
+
double_2_verify_call_count += 1
|
508
|
+
end
|
509
|
+
define_method(:reset) do
|
510
|
+
double_2_reset_call_count += 1
|
511
|
+
end
|
512
|
+
end
|
513
|
+
|
514
|
+
double3_verify_call_count = 0
|
515
|
+
double3_reset_call_count = 0
|
516
|
+
( class << double3; self; end).class_eval do
|
517
|
+
define_method(:verify) do
|
518
|
+
double3_verify_call_count += 1
|
519
|
+
end
|
520
|
+
define_method(:reset) do
|
521
|
+
double3_reset_call_count += 1
|
522
|
+
end
|
523
|
+
end
|
524
|
+
|
525
|
+
no_double_injection_object = Object.new
|
526
|
+
space.verify_doubles(no_double_injection_object)
|
527
|
+
|
528
|
+
double_1_verify_call_count.should == 0
|
529
|
+
double_1_reset_call_count.should == 0
|
530
|
+
double_2_verify_call_count.should == 0
|
531
|
+
double_2_reset_call_count.should == 0
|
532
|
+
double3_verify_call_count.should == 0
|
533
|
+
double3_reset_call_count.should == 0
|
534
|
+
end
|
535
|
+
end
|
536
|
+
end
|
537
|
+
|
538
|
+
describe "#verify_double" do
|
539
|
+
before do
|
540
|
+
@method_name = :foobar
|
541
|
+
|
542
|
+
def subject.foobar
|
543
|
+
end
|
544
|
+
end
|
545
|
+
|
546
|
+
it "verifies and deletes the double_injection" do
|
547
|
+
@double_injection = Injections::DoubleInjection.find_or_create_by_subject(subject, method_name)
|
548
|
+
Injections::DoubleInjection.find_by_subject(subject, method_name).should === double_injection
|
549
|
+
|
550
|
+
verify_call_count = 0
|
551
|
+
( class << double_injection; self; end).class_eval do
|
552
|
+
define_method(:verify) do
|
553
|
+
verify_call_count += 1
|
554
|
+
end
|
555
|
+
end
|
556
|
+
space.verify_double(subject, method_name)
|
557
|
+
verify_call_count.should == 1
|
558
|
+
|
559
|
+
Injections::DoubleInjection.find(subject, method_name).should be_nil
|
560
|
+
end
|
561
|
+
|
562
|
+
context "when verifying the double_injection raises an error" do
|
563
|
+
it "deletes the double_injection and restores the original method" do
|
564
|
+
original_method = subject.method(method_name)
|
565
|
+
|
566
|
+
@double_injection = Injections::DoubleInjection.find_or_create_by_subject(subject, method_name)
|
567
|
+
subject.method(method_name).should_not == original_method
|
568
|
+
|
569
|
+
Injections::DoubleInjection.find_by_subject(subject, method_name).should === double_injection
|
570
|
+
|
571
|
+
verify_called = true
|
572
|
+
( class << double_injection; self; end).class_eval do
|
573
|
+
define_method(:verify) do
|
574
|
+
verify_called = true
|
575
|
+
raise "An Error"
|
576
|
+
end
|
577
|
+
end
|
578
|
+
lambda {space.verify_double(subject, method_name)}.should raise_error
|
579
|
+
verify_called.should be_true
|
580
|
+
|
581
|
+
Injections::DoubleInjection.find(subject, method_name).should be_nil
|
582
|
+
subject.method(method_name).should == original_method
|
583
|
+
end
|
584
|
+
end
|
585
|
+
end
|
586
|
+
end
|
587
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
require File.expand_path("#{File.dirname(__FILE__)}/test_helper")
|
2
|
+
|
3
|
+
class TestUnitBacktraceTest < Test::Unit::TestCase
|
4
|
+
def setup
|
5
|
+
super
|
6
|
+
@subject = Object.new
|
7
|
+
end
|
8
|
+
|
9
|
+
def teardown
|
10
|
+
super
|
11
|
+
end
|
12
|
+
|
13
|
+
def test_trim_backtrace_is_set
|
14
|
+
assert RR.trim_backtrace
|
15
|
+
end
|
16
|
+
|
17
|
+
def test_backtrace_tweaking
|
18
|
+
skip "Skipped, because there is no Test::Unit::TestResult in this Test::Unit. Don't worry, this is totally fine." unless defined?(Test::Unit::TestResult)
|
19
|
+
old_result = @_result
|
20
|
+
result = Test::Unit::TestResult.new
|
21
|
+
|
22
|
+
error_display = nil
|
23
|
+
result.add_listener(Test::Unit::TestResult::FAULT) do |f|
|
24
|
+
error_display = f.long_display
|
25
|
+
end
|
26
|
+
test_case = self.class.new(:backtrace_tweaking)
|
27
|
+
test_case.run(result) {}
|
28
|
+
|
29
|
+
assert !error_display.include?("lib/rr")
|
30
|
+
end
|
31
|
+
|
32
|
+
def backtrace_tweaking
|
33
|
+
mock(@subject).foobar
|
34
|
+
RR::Space::instance.verify_double(@subject, :foobar)
|
35
|
+
end
|
36
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
require File.expand_path("#{File.dirname(__FILE__)}/test_helper")
|
2
|
+
|
3
|
+
class TestUnitIntegrationTest < Test::Unit::TestCase
|
4
|
+
include RR::Adapters::TestUnit # Testing against double inclusion issues
|
5
|
+
|
6
|
+
def setup
|
7
|
+
super
|
8
|
+
@subject = Object.new
|
9
|
+
end
|
10
|
+
|
11
|
+
def teardown
|
12
|
+
super
|
13
|
+
end
|
14
|
+
|
15
|
+
def test_using_a_mock
|
16
|
+
mock(@subject).foobar(1, 2) {:baz}
|
17
|
+
assert_equal :baz, @subject.foobar(1, 2)
|
18
|
+
end
|
19
|
+
|
20
|
+
def test_using_a_stub
|
21
|
+
stub(@subject).foobar {:baz}
|
22
|
+
assert_equal :baz, @subject.foobar("any", "thing")
|
23
|
+
end
|
24
|
+
|
25
|
+
def test_using_a_mock_proxy
|
26
|
+
def @subject.foobar
|
27
|
+
:baz
|
28
|
+
end
|
29
|
+
|
30
|
+
mock.proxy(@subject).foobar
|
31
|
+
assert_equal :baz, @subject.foobar
|
32
|
+
end
|
33
|
+
|
34
|
+
def test_using_a_stub_proxy
|
35
|
+
def @subject.foobar
|
36
|
+
:baz
|
37
|
+
end
|
38
|
+
|
39
|
+
stub.proxy(@subject).foobar
|
40
|
+
assert_equal :baz, @subject.foobar
|
41
|
+
end
|
42
|
+
|
43
|
+
def test_times_called_verification
|
44
|
+
mock(@subject).foobar(1, 2) {:baz}
|
45
|
+
assert_raise RR::Errors::TimesCalledError do
|
46
|
+
teardown
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
def test_using_assert_received
|
51
|
+
stub(@subject).foobar(1, 2)
|
52
|
+
@subject.foobar(1, 2)
|
53
|
+
assert_received(@subject) {|subject| subject.foobar(1, 2)}
|
54
|
+
|
55
|
+
assert_raise(RR::Errors::SpyVerificationErrors::InvocationCountError) do
|
56
|
+
assert_received(@subject) {|subject| subject.foobar(1, 2, 3)}
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|