remq 0.0.1a → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +8 -0
- data/Readme.md +31 -17
- data/lib/remq/version.rb +1 -1
- data/lib/remq.rb +130 -28
- data/remq.gemspec +2 -4
- data/spec/remq_spec.rb +68 -42
- data/vendor/bundle/bin/autospec +23 -0
- data/vendor/bundle/bin/htmldiff +25 -0
- data/vendor/bundle/bin/ldiff +25 -0
- data/vendor/bundle/bin/rake +23 -0
- data/vendor/bundle/bin/rspec +23 -0
- data/vendor/bundle/cache/diff-lcs-1.1.3.gem +0 -0
- data/vendor/bundle/cache/hiredis-0.4.5.gem +0 -0
- data/vendor/bundle/cache/multi_json-1.6.1.gem +0 -0
- data/vendor/bundle/cache/rake-10.0.3.gem +0 -0
- data/vendor/bundle/cache/redis-3.0.2.gem +0 -0
- data/vendor/bundle/cache/rspec-2.12.0.gem +0 -0
- data/vendor/bundle/cache/rspec-core-2.12.2.gem +0 -0
- data/vendor/bundle/cache/rspec-expectations-2.12.1.gem +0 -0
- data/vendor/bundle/cache/rspec-mocks-2.12.2.gem +0 -0
- data/vendor/bundle/gems/diff-lcs-1.1.3/History.rdoc +54 -0
- data/vendor/bundle/gems/diff-lcs-1.1.3/License.rdoc +38 -0
- data/vendor/bundle/gems/diff-lcs-1.1.3/Manifest.txt +27 -0
- data/vendor/bundle/gems/diff-lcs-1.1.3/README.rdoc +72 -0
- data/vendor/bundle/gems/diff-lcs-1.1.3/Rakefile +26 -0
- data/vendor/bundle/gems/diff-lcs-1.1.3/bin/htmldiff +32 -0
- data/vendor/bundle/gems/diff-lcs-1.1.3/bin/ldiff +6 -0
- data/vendor/bundle/gems/diff-lcs-1.1.3/diff-lcs.gemspec +51 -0
- data/vendor/bundle/gems/diff-lcs-1.1.3/docs/COPYING.txt +340 -0
- data/vendor/bundle/gems/diff-lcs-1.1.3/docs/artistic.html +289 -0
- data/vendor/bundle/gems/diff-lcs-1.1.3/lib/diff/lcs/array.rb +21 -0
- data/vendor/bundle/gems/diff-lcs-1.1.3/lib/diff/lcs/block.rb +51 -0
- data/vendor/bundle/gems/diff-lcs-1.1.3/lib/diff/lcs/callbacks.rb +322 -0
- data/vendor/bundle/gems/diff-lcs-1.1.3/lib/diff/lcs/change.rb +169 -0
- data/vendor/bundle/gems/diff-lcs-1.1.3/lib/diff/lcs/htmldiff.rb +151 -0
- data/vendor/bundle/gems/diff-lcs-1.1.3/lib/diff/lcs/hunk.rb +242 -0
- data/vendor/bundle/gems/diff-lcs-1.1.3/lib/diff/lcs/ldiff.rb +210 -0
- data/vendor/bundle/gems/diff-lcs-1.1.3/lib/diff/lcs/string.rb +19 -0
- data/vendor/bundle/gems/diff-lcs-1.1.3/lib/diff/lcs.rb +1105 -0
- data/vendor/bundle/gems/diff-lcs-1.1.3/lib/diff-lcs.rb +5 -0
- data/vendor/bundle/gems/diff-lcs-1.1.3/spec/diff_spec.rb +35 -0
- data/vendor/bundle/gems/diff-lcs-1.1.3/spec/lcs_spec.rb +36 -0
- data/vendor/bundle/gems/diff-lcs-1.1.3/spec/patch_spec.rb +390 -0
- data/vendor/bundle/gems/diff-lcs-1.1.3/spec/sdiff_spec.rb +204 -0
- data/vendor/bundle/gems/diff-lcs-1.1.3/spec/spec_helper.rb +284 -0
- data/vendor/bundle/gems/diff-lcs-1.1.3/spec/traverse_balanced_spec.rb +286 -0
- data/vendor/bundle/gems/diff-lcs-1.1.3/spec/traverse_sequences_spec.rb +83 -0
- data/vendor/bundle/gems/hiredis-0.4.5/COPYING +28 -0
- data/vendor/bundle/gems/hiredis-0.4.5/Rakefile +45 -0
- data/vendor/bundle/gems/hiredis-0.4.5/ext/hiredis_ext/Makefile +213 -0
- data/vendor/bundle/gems/hiredis-0.4.5/ext/hiredis_ext/connection.c +472 -0
- data/vendor/bundle/gems/hiredis-0.4.5/ext/hiredis_ext/connection.o +0 -0
- data/vendor/bundle/gems/hiredis-0.4.5/ext/hiredis_ext/extconf.rb +17 -0
- data/vendor/bundle/gems/hiredis-0.4.5/ext/hiredis_ext/hiredis_ext.bundle +0 -0
- data/vendor/bundle/gems/hiredis-0.4.5/ext/hiredis_ext/hiredis_ext.c +13 -0
- data/vendor/bundle/gems/hiredis-0.4.5/ext/hiredis_ext/hiredis_ext.h +37 -0
- data/vendor/bundle/gems/hiredis-0.4.5/ext/hiredis_ext/hiredis_ext.o +0 -0
- data/vendor/bundle/gems/hiredis-0.4.5/ext/hiredis_ext/reader.c +114 -0
- data/vendor/bundle/gems/hiredis-0.4.5/ext/hiredis_ext/reader.o +0 -0
- data/vendor/bundle/gems/hiredis-0.4.5/lib/hiredis/connection.rb +10 -0
- data/vendor/bundle/gems/hiredis-0.4.5/lib/hiredis/errors.rb +5 -0
- data/vendor/bundle/gems/hiredis-0.4.5/lib/hiredis/ext/connection.rb +29 -0
- data/vendor/bundle/gems/hiredis-0.4.5/lib/hiredis/ext/hiredis_ext.bundle +0 -0
- data/vendor/bundle/gems/hiredis-0.4.5/lib/hiredis/ext/reader.rb +2 -0
- data/vendor/bundle/gems/hiredis-0.4.5/lib/hiredis/reader.rb +10 -0
- data/vendor/bundle/gems/hiredis-0.4.5/lib/hiredis/ruby/connection.rb +298 -0
- data/vendor/bundle/gems/hiredis-0.4.5/lib/hiredis/ruby/reader.rb +183 -0
- data/vendor/bundle/gems/hiredis-0.4.5/lib/hiredis/version.rb +3 -0
- data/vendor/bundle/gems/hiredis-0.4.5/lib/hiredis.rb +2 -0
- data/vendor/bundle/gems/hiredis-0.4.5/vendor/hiredis/COPYING +29 -0
- data/vendor/bundle/gems/hiredis-0.4.5/vendor/hiredis/Makefile +148 -0
- data/vendor/bundle/gems/hiredis-0.4.5/vendor/hiredis/async.c +604 -0
- data/vendor/bundle/gems/hiredis-0.4.5/vendor/hiredis/async.h +125 -0
- data/vendor/bundle/gems/hiredis-0.4.5/vendor/hiredis/async.o +0 -0
- data/vendor/bundle/gems/hiredis-0.4.5/vendor/hiredis/dict.c +338 -0
- data/vendor/bundle/gems/hiredis-0.4.5/vendor/hiredis/dict.h +126 -0
- data/vendor/bundle/gems/hiredis-0.4.5/vendor/hiredis/fmacros.h +16 -0
- data/vendor/bundle/gems/hiredis-0.4.5/vendor/hiredis/hiredis.c +1283 -0
- data/vendor/bundle/gems/hiredis-0.4.5/vendor/hiredis/hiredis.h +204 -0
- data/vendor/bundle/gems/hiredis-0.4.5/vendor/hiredis/hiredis.o +0 -0
- data/vendor/bundle/gems/hiredis-0.4.5/vendor/hiredis/libhiredis.a +0 -0
- data/vendor/bundle/gems/hiredis-0.4.5/vendor/hiredis/net.c +279 -0
- data/vendor/bundle/gems/hiredis-0.4.5/vendor/hiredis/net.h +47 -0
- data/vendor/bundle/gems/hiredis-0.4.5/vendor/hiredis/net.o +0 -0
- data/vendor/bundle/gems/hiredis-0.4.5/vendor/hiredis/sds.c +605 -0
- data/vendor/bundle/gems/hiredis-0.4.5/vendor/hiredis/sds.h +88 -0
- data/vendor/bundle/gems/hiredis-0.4.5/vendor/hiredis/sds.o +0 -0
- data/vendor/bundle/gems/hiredis-0.4.5/vendor/hiredis/test.c +653 -0
- data/vendor/bundle/gems/multi_json-1.6.1/CHANGELOG.md +121 -0
- data/vendor/bundle/gems/multi_json-1.6.1/CONTRIBUTING.md +46 -0
- data/vendor/bundle/gems/multi_json-1.6.1/Gemfile +31 -0
- data/vendor/bundle/gems/multi_json-1.6.1/LICENSE.md +20 -0
- data/vendor/bundle/gems/multi_json-1.6.1/README.md +105 -0
- data/vendor/bundle/gems/multi_json-1.6.1/Rakefile +12 -0
- data/vendor/bundle/gems/multi_json-1.6.1/lib/multi_json/adapters/gson.rb +20 -0
- data/vendor/bundle/gems/multi_json-1.6.1/lib/multi_json/adapters/json_common.rb +35 -0
- data/vendor/bundle/gems/multi_json-1.6.1/lib/multi_json/adapters/json_gem.rb +12 -0
- data/vendor/bundle/gems/multi_json-1.6.1/lib/multi_json/adapters/json_pure.rb +12 -0
- data/vendor/bundle/gems/multi_json-1.6.1/lib/multi_json/adapters/nsjsonserialization.rb +35 -0
- data/vendor/bundle/gems/multi_json-1.6.1/lib/multi_json/adapters/oj.rb +29 -0
- data/vendor/bundle/gems/multi_json-1.6.1/lib/multi_json/adapters/ok_json.rb +58 -0
- data/vendor/bundle/gems/multi_json-1.6.1/lib/multi_json/adapters/yajl.rb +20 -0
- data/vendor/bundle/gems/multi_json-1.6.1/lib/multi_json/vendor/okjson.rb +602 -0
- data/vendor/bundle/gems/multi_json-1.6.1/lib/multi_json/version.rb +3 -0
- data/vendor/bundle/gems/multi_json-1.6.1/lib/multi_json.rb +137 -0
- data/vendor/bundle/gems/multi_json-1.6.1/multi_json.gemspec +22 -0
- data/vendor/bundle/gems/multi_json-1.6.1/spec/adapter_shared_example.rb +162 -0
- data/vendor/bundle/gems/multi_json-1.6.1/spec/helper.rb +45 -0
- data/vendor/bundle/gems/multi_json-1.6.1/spec/json_common_shared_example.rb +36 -0
- data/vendor/bundle/gems/multi_json-1.6.1/spec/multi_json_spec.rb +151 -0
- data/vendor/bundle/gems/rake-10.0.3/CHANGES +526 -0
- data/vendor/bundle/gems/rake-10.0.3/MIT-LICENSE +21 -0
- data/vendor/bundle/gems/rake-10.0.3/README.rdoc +187 -0
- data/vendor/bundle/gems/rake-10.0.3/Rakefile +374 -0
- data/vendor/bundle/gems/rake-10.0.3/TODO +21 -0
- data/vendor/bundle/gems/rake-10.0.3/bin/rake +33 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/command_line_usage.rdoc +152 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/example/a.c +6 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/example/b.c +6 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/example/main.c +11 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/glossary.rdoc +51 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/jamis.rb +591 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/rake.1.gz +0 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/rakefile.rdoc +557 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/rational.rdoc +151 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.4.14.rdoc +23 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.4.15.rdoc +35 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.5.0.rdoc +53 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.5.3.rdoc +78 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.5.4.rdoc +46 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.6.0.rdoc +141 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.7.0.rdoc +119 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.7.1.rdoc +59 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.7.2.rdoc +121 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.7.3.rdoc +47 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.8.0.rdoc +114 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.8.2.rdoc +165 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.8.3.rdoc +112 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.8.4.rdoc +147 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.8.5.rdoc +53 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.8.6.rdoc +55 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.8.7.rdoc +55 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.9.0.rdoc +112 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.9.1.rdoc +52 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.9.2.2.rdoc +55 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.9.2.rdoc +49 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.9.3.rdoc +102 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.9.4.rdoc +110 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.9.5.rdoc +114 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.9.6.rdoc +127 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-10.0.0.rdoc +178 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-10.0.1.rdoc +187 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-10.0.2.rdoc +191 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-10.0.3.rdoc +191 -0
- data/vendor/bundle/gems/rake-10.0.3/install.rb +90 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/alt_system.rb +109 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/application.rb +669 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/backtrace.rb +18 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/clean.rb +32 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/cloneable.rb +16 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/contrib/compositepublisher.rb +21 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/contrib/ftptools.rb +151 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/contrib/publisher.rb +73 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/contrib/rubyforgepublisher.rb +16 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/contrib/sshpublisher.rb +50 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/contrib/sys.rb +1 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/default_loader.rb +10 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/dsl_definition.rb +156 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/early_time.rb +18 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/ext/core.rb +27 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/ext/module.rb +0 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/ext/string.rb +168 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/ext/time.rb +15 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/file_creation_task.rb +24 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/file_list.rb +410 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/file_task.rb +47 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/file_utils.rb +114 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/file_utils_ext.rb +146 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/gempackagetask.rb +1 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/invocation_chain.rb +51 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/invocation_exception_mixin.rb +16 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/loaders/makefile.rb +40 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/multi_task.rb +13 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/name_space.rb +25 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/packagetask.rb +185 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/pathmap.rb +1 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/phony.rb +15 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/private_reader.rb +20 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/promise.rb +99 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/pseudo_status.rb +24 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/rake_module.rb +37 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/rake_test_loader.rb +22 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/rdoctask.rb +1 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/ruby182_test_unit_fix.rb +25 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/runtest.rb +22 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/task.rb +350 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/task_argument_error.rb +7 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/task_arguments.rb +78 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/task_manager.rb +296 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/tasklib.rb +22 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/testtask.rb +198 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/thread_history_display.rb +48 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/thread_pool.rb +155 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/trace_output.rb +19 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/version.rb +13 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/win32.rb +55 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake.rb +71 -0
- data/vendor/bundle/gems/rake-10.0.3/test/file_creation.rb +34 -0
- data/vendor/bundle/gems/rake-10.0.3/test/helper.rb +562 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_private_reader.rb +42 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake.rb +40 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_application.rb +515 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_application_options.rb +443 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_backtrace.rb +89 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_clean.rb +14 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_definitions.rb +80 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_directory_task.rb +57 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_dsl.rb +40 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_early_time.rb +31 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_extension.rb +59 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_file_creation_task.rb +56 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_file_list.rb +628 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_file_list_path_map.rb +8 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_file_task.rb +122 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_file_utils.rb +305 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_ftp_file.rb +59 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_functional.rb +496 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_invocation_chain.rb +52 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_makefile_loader.rb +44 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_multi_task.rb +59 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_name_space.rb +43 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_package_task.rb +79 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_path_map.rb +157 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_path_map_explode.rb +34 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_path_map_partial.rb +18 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_pseudo_status.rb +21 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_rake_test_loader.rb +21 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_reduce_compat.rb +30 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_require.rb +40 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_rules.rb +327 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_task.rb +316 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_task_argument_parsing.rb +103 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_task_arguments.rb +88 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_task_lib.rb +9 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_task_manager.rb +157 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_task_manager_argument_resolution.rb +19 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_task_with_arguments.rb +171 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_test_task.rb +120 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_thread_pool.rb +123 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_top_level_functions.rb +71 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_win32.rb +72 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_thread_history_display.rb +91 -0
- data/vendor/bundle/gems/rake-10.0.3/test/test_trace_output.rb +43 -0
- data/vendor/bundle/gems/redis-3.0.2/CHANGELOG.md +238 -0
- data/vendor/bundle/gems/redis-3.0.2/LICENSE +20 -0
- data/vendor/bundle/gems/redis-3.0.2/README.md +232 -0
- data/vendor/bundle/gems/redis-3.0.2/Rakefile +392 -0
- data/vendor/bundle/gems/redis-3.0.2/benchmarking/logging.rb +62 -0
- data/vendor/bundle/gems/redis-3.0.2/benchmarking/pipeline.rb +51 -0
- data/vendor/bundle/gems/redis-3.0.2/benchmarking/speed.rb +21 -0
- data/vendor/bundle/gems/redis-3.0.2/benchmarking/suite.rb +24 -0
- data/vendor/bundle/gems/redis-3.0.2/benchmarking/worker.rb +71 -0
- data/vendor/bundle/gems/redis-3.0.2/examples/basic.rb +15 -0
- data/vendor/bundle/gems/redis-3.0.2/examples/dist_redis.rb +43 -0
- data/vendor/bundle/gems/redis-3.0.2/examples/incr-decr.rb +17 -0
- data/vendor/bundle/gems/redis-3.0.2/examples/list.rb +26 -0
- data/vendor/bundle/gems/redis-3.0.2/examples/pubsub.rb +37 -0
- data/vendor/bundle/gems/redis-3.0.2/examples/sets.rb +36 -0
- data/vendor/bundle/gems/redis-3.0.2/examples/unicorn/config.ru +3 -0
- data/vendor/bundle/gems/redis-3.0.2/examples/unicorn/unicorn.rb +20 -0
- data/vendor/bundle/gems/redis-3.0.2/lib/redis/client.rb +401 -0
- data/vendor/bundle/gems/redis-3.0.2/lib/redis/connection/command_helper.rb +44 -0
- data/vendor/bundle/gems/redis-3.0.2/lib/redis/connection/hiredis.rb +63 -0
- data/vendor/bundle/gems/redis-3.0.2/lib/redis/connection/registry.rb +12 -0
- data/vendor/bundle/gems/redis-3.0.2/lib/redis/connection/ruby.rb +285 -0
- data/vendor/bundle/gems/redis-3.0.2/lib/redis/connection/synchrony.rb +124 -0
- data/vendor/bundle/gems/redis-3.0.2/lib/redis/connection.rb +9 -0
- data/vendor/bundle/gems/redis-3.0.2/lib/redis/distributed.rb +816 -0
- data/vendor/bundle/gems/redis-3.0.2/lib/redis/errors.rb +40 -0
- data/vendor/bundle/gems/redis-3.0.2/lib/redis/hash_ring.rb +131 -0
- data/vendor/bundle/gems/redis-3.0.2/lib/redis/pipeline.rb +130 -0
- data/vendor/bundle/gems/redis-3.0.2/lib/redis/subscribe.rb +79 -0
- data/vendor/bundle/gems/redis-3.0.2/lib/redis/version.rb +3 -0
- data/vendor/bundle/gems/redis-3.0.2/lib/redis.rb +2233 -0
- data/vendor/bundle/gems/redis-3.0.2/redis.gemspec +41 -0
- data/vendor/bundle/gems/redis-3.0.2/test/blocking_commands_test.rb +42 -0
- data/vendor/bundle/gems/redis-3.0.2/test/command_map_test.rb +30 -0
- data/vendor/bundle/gems/redis-3.0.2/test/commands_on_hashes_test.rb +21 -0
- data/vendor/bundle/gems/redis-3.0.2/test/commands_on_lists_test.rb +20 -0
- data/vendor/bundle/gems/redis-3.0.2/test/commands_on_sets_test.rb +77 -0
- data/vendor/bundle/gems/redis-3.0.2/test/commands_on_sorted_sets_test.rb +109 -0
- data/vendor/bundle/gems/redis-3.0.2/test/commands_on_strings_test.rb +83 -0
- data/vendor/bundle/gems/redis-3.0.2/test/commands_on_value_types_test.rb +99 -0
- data/vendor/bundle/gems/redis-3.0.2/test/connection_handling_test.rb +189 -0
- data/vendor/bundle/gems/redis-3.0.2/test/distributed_blocking_commands_test.rb +46 -0
- data/vendor/bundle/gems/redis-3.0.2/test/distributed_commands_on_hashes_test.rb +10 -0
- data/vendor/bundle/gems/redis-3.0.2/test/distributed_commands_on_lists_test.rb +22 -0
- data/vendor/bundle/gems/redis-3.0.2/test/distributed_commands_on_sets_test.rb +83 -0
- data/vendor/bundle/gems/redis-3.0.2/test/distributed_commands_on_sorted_sets_test.rb +18 -0
- data/vendor/bundle/gems/redis-3.0.2/test/distributed_commands_on_strings_test.rb +48 -0
- data/vendor/bundle/gems/redis-3.0.2/test/distributed_commands_on_value_types_test.rb +87 -0
- data/vendor/bundle/gems/redis-3.0.2/test/distributed_commands_requiring_clustering_test.rb +148 -0
- data/vendor/bundle/gems/redis-3.0.2/test/distributed_connection_handling_test.rb +23 -0
- data/vendor/bundle/gems/redis-3.0.2/test/distributed_internals_test.rb +41 -0
- data/vendor/bundle/gems/redis-3.0.2/test/distributed_key_tags_test.rb +52 -0
- data/vendor/bundle/gems/redis-3.0.2/test/distributed_persistence_control_commands_test.rb +26 -0
- data/vendor/bundle/gems/redis-3.0.2/test/distributed_publish_subscribe_test.rb +92 -0
- data/vendor/bundle/gems/redis-3.0.2/test/distributed_remote_server_control_commands_test.rb +66 -0
- data/vendor/bundle/gems/redis-3.0.2/test/distributed_scripting_test.rb +102 -0
- data/vendor/bundle/gems/redis-3.0.2/test/distributed_sorting_test.rb +20 -0
- data/vendor/bundle/gems/redis-3.0.2/test/distributed_test.rb +58 -0
- data/vendor/bundle/gems/redis-3.0.2/test/distributed_transactions_test.rb +32 -0
- data/vendor/bundle/gems/redis-3.0.2/test/encoding_test.rb +18 -0
- data/vendor/bundle/gems/redis-3.0.2/test/error_replies_test.rb +59 -0
- data/vendor/bundle/gems/redis-3.0.2/test/helper.rb +194 -0
- data/vendor/bundle/gems/redis-3.0.2/test/helper_test.rb +22 -0
- data/vendor/bundle/gems/redis-3.0.2/test/internals_test.rb +301 -0
- data/vendor/bundle/gems/redis-3.0.2/test/lint/blocking_commands.rb +124 -0
- data/vendor/bundle/gems/redis-3.0.2/test/lint/hashes.rb +162 -0
- data/vendor/bundle/gems/redis-3.0.2/test/lint/lists.rb +143 -0
- data/vendor/bundle/gems/redis-3.0.2/test/lint/sets.rb +96 -0
- data/vendor/bundle/gems/redis-3.0.2/test/lint/sorted_sets.rb +238 -0
- data/vendor/bundle/gems/redis-3.0.2/test/lint/strings.rb +157 -0
- data/vendor/bundle/gems/redis-3.0.2/test/lint/value_types.rb +106 -0
- data/vendor/bundle/gems/redis-3.0.2/test/persistence_control_commands_test.rb +26 -0
- data/vendor/bundle/gems/redis-3.0.2/test/pipelining_commands_test.rb +195 -0
- data/vendor/bundle/gems/redis-3.0.2/test/publish_subscribe_test.rb +153 -0
- data/vendor/bundle/gems/redis-3.0.2/test/remote_server_control_commands_test.rb +117 -0
- data/vendor/bundle/gems/redis-3.0.2/test/scripting_test.rb +78 -0
- data/vendor/bundle/gems/redis-3.0.2/test/sorting_test.rb +45 -0
- data/vendor/bundle/gems/redis-3.0.2/test/support/connection/hiredis.rb +1 -0
- data/vendor/bundle/gems/redis-3.0.2/test/support/connection/ruby.rb +1 -0
- data/vendor/bundle/gems/redis-3.0.2/test/support/connection/synchrony.rb +17 -0
- data/vendor/bundle/gems/redis-3.0.2/test/support/redis_mock.rb +110 -0
- data/vendor/bundle/gems/redis-3.0.2/test/support/wire/synchrony.rb +24 -0
- data/vendor/bundle/gems/redis-3.0.2/test/support/wire/thread.rb +5 -0
- data/vendor/bundle/gems/redis-3.0.2/test/synchrony_driver.rb +88 -0
- data/vendor/bundle/gems/redis-3.0.2/test/test.conf +9 -0
- data/vendor/bundle/gems/redis-3.0.2/test/thread_safety_test.rb +32 -0
- data/vendor/bundle/gems/redis-3.0.2/test/transactions_test.rb +260 -0
- data/vendor/bundle/gems/redis-3.0.2/test/unknown_commands_test.rb +14 -0
- data/vendor/bundle/gems/redis-3.0.2/test/url_param_test.rb +132 -0
- data/vendor/bundle/gems/rspec-2.12.0/License.txt +24 -0
- data/vendor/bundle/gems/rspec-2.12.0/README.md +47 -0
- data/vendor/bundle/gems/rspec-2.12.0/lib/rspec/version.rb +5 -0
- data/vendor/bundle/gems/rspec-2.12.0/lib/rspec.rb +4 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/Changelog.md +655 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/License.txt +24 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/README.md +257 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/exe/autospec +13 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/exe/rspec +25 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/Autotest.md +38 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/README.md +17 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/Upgrade.md +364 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/command_line/README.md +28 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/command_line/example_name_option.feature +101 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/command_line/exit_status.feature +82 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/command_line/format_option.feature +81 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/command_line/init.feature +18 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/command_line/line_number_appended_to_path.feature +140 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/command_line/line_number_option.feature +58 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/command_line/order.feature +29 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/command_line/pattern_option.feature +31 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/command_line/rake_task.feature +122 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/command_line/ruby.feature +22 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/command_line/tag.feature +91 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/configuration/alias_example_to.feature +48 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/configuration/custom_settings.feature +84 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/configuration/default_path.feature +38 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/configuration/fail_fast.feature +77 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/configuration/read_options_from_file.feature +87 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/example_groups/basic_structure.feature +55 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/example_groups/shared_context.feature +74 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/example_groups/shared_examples.feature +222 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/expectation_framework_integration/configure_expectation_framework.feature +102 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/filtering/exclusion_filters.feature +139 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/filtering/if_and_unless.feature +168 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/filtering/inclusion_filters.feature +105 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/filtering/run_all_when_everything_filtered.feature +46 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/formatters/custom_formatter.feature +36 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/formatters/json_formatter.feature +30 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/formatters/text_formatter.feature +46 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/helper_methods/arbitrary_methods.feature +40 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/helper_methods/let.feature +50 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/helper_methods/modules.feature +149 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/hooks/around_hooks.feature +343 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/hooks/before_and_after_hooks.feature +427 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/hooks/filtering.feature +234 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/metadata/current_example.feature +17 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/metadata/described_class.feature +17 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/metadata/user_defined.feature +113 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/mock_framework_integration/use_any_framework.feature +106 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/mock_framework_integration/use_flexmock.feature +96 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/mock_framework_integration/use_mocha.feature +97 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/mock_framework_integration/use_rr.feature +98 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/mock_framework_integration/use_rspec.feature +97 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/pending/pending_examples.feature +229 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/spec_files/arbitrary_file_suffix.feature +13 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/step_definitions/additional_cli_steps.rb +32 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/subject/attribute_of_subject.feature +124 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/subject/explicit_subject.feature +82 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/subject/implicit_receiver.feature +29 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/subject/implicit_subject.feature +63 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/features/support/env.rb +12 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/autotest/discover.rb +1 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/autotest/rspec2.rb +73 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/autorun.rb +2 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/backward_compatibility.rb +65 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/command_line.rb +36 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/configuration.rb +1057 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/configuration_options.rb +144 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/deprecation.rb +36 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/drb_command_line.rb +26 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/drb_options.rb +87 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/dsl.rb +26 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/example.rb +331 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb +476 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/extensions/instance_eval_with_args.rb +44 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/extensions/kernel.rb +9 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/extensions/module_eval_with_args.rb +38 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/extensions/ordered.rb +27 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/filter_manager.rb +203 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/formatters/base_formatter.rb +237 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/formatters/base_text_formatter.rb +225 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/formatters/documentation_formatter.rb +67 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/formatters/helpers.rb +103 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/formatters/html_formatter.rb +154 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/formatters/html_printer.rb +407 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/formatters/json_formatter.rb +73 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/formatters/progress_formatter.rb +32 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/formatters/snippet_extractor.rb +92 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/formatters/text_mate_formatter.rb +34 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/formatters.rb +55 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/hooks.rb +495 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/let.rb +110 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/load_path.rb +3 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/metadata.rb +293 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/metadata_hash_builder.rb +97 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/mocking/with_absolutely_nothing.rb +11 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/mocking/with_flexmock.rb +27 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/mocking/with_mocha.rb +52 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/mocking/with_rr.rb +27 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/mocking/with_rspec.rb +27 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/option_parser.rb +202 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/pending.rb +101 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/project_initializer.rb +86 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/rake_task.rb +202 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/reporter.rb +102 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/ruby_project.rb +44 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/runner.rb +87 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/shared_context.rb +49 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/shared_example_group.rb +144 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/subject.rb +223 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/version.rb +7 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/world.rb +128 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core.rb +147 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/autotest/discover_spec.rb +19 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/autotest/failed_results_re_spec.rb +45 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/autotest/rspec_spec.rb +128 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/command_line/order_spec.rb +204 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/command_line_spec.rb +108 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/command_line_spec_output.txt +0 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/configuration_options_spec.rb +384 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/configuration_spec.rb +1371 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/deprecations_spec.rb +75 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/drb_command_line_spec.rb +102 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/drb_options_spec.rb +180 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/dsl_spec.rb +25 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/example_group_spec.rb +1144 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/example_spec.rb +402 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/filter_manager_spec.rb +246 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/formatters/base_formatter_spec.rb +108 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/formatters/base_text_formatter_spec.rb +367 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/formatters/documentation_formatter_spec.rb +88 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/formatters/helpers_spec.rb +78 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/formatters/html_formatted-1.8.7-jruby.html +410 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/formatters/html_formatted-1.8.7-rbx.html +462 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/formatters/html_formatted-1.8.7.html +409 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/formatters/html_formatted-1.9.2-jruby.html +410 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/formatters/html_formatted-1.9.2.html +416 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/formatters/html_formatted-1.9.3-jruby.html +410 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/formatters/html_formatted-1.9.3-rbx.html +462 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/formatters/html_formatted-1.9.3.html +416 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/formatters/html_formatter_spec.rb +90 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/formatters/json_formatter_spec.rb +110 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/formatters/progress_formatter_spec.rb +30 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/formatters/snippet_extractor_spec.rb +26 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/formatters/text_mate_formatted-1.8.7-jruby.html +410 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/formatters/text_mate_formatted-1.8.7-rbx.html +462 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/formatters/text_mate_formatted-1.8.7.html +409 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/formatters/text_mate_formatted-1.9.2-jruby.html +410 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/formatters/text_mate_formatted-1.9.2.html +416 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/formatters/text_mate_formatted-1.9.3-jruby.html +410 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/formatters/text_mate_formatted-1.9.3-rbx.html +462 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/formatters/text_mate_formatted-1.9.3.html +416 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/formatters/text_mate_formatter_spec.rb +91 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/hooks_filtering_spec.rb +227 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/hooks_spec.rb +250 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/kernel_extensions_spec.rb +9 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/let_spec.rb +55 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/metadata_spec.rb +486 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/option_parser_spec.rb +208 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/pending_example_spec.rb +220 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/project_initializer_spec.rb +130 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/rake_task_spec.rb +181 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/reporter_spec.rb +120 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/resources/a_bar.rb +0 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/resources/a_foo.rb +0 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/resources/a_spec.rb +1 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/resources/custom_example_group_runner.rb +14 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/resources/formatter_specs.rb +60 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/resources/utf8_encoded.rb +8 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/rspec_matchers_spec.rb +45 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/ruby_project_spec.rb +24 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/runner_spec.rb +82 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/shared_context_spec.rb +67 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/shared_example_group_spec.rb +96 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/subject_spec.rb +255 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core/world_spec.rb +144 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/rspec/core_spec.rb +35 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/spec_helper.rb +128 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/support/config_options_helper.rb +15 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/support/helper_methods.rb +18 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/support/isolated_directory.rb +10 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/support/isolated_home_directory.rb +16 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/support/matchers.rb +65 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/support/shared_example_groups.rb +41 -0
- data/vendor/bundle/gems/rspec-core-2.12.2/spec/support/spec_files.rb +44 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/Changelog.md +297 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/License.txt +23 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/README.md +228 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/features/README.md +49 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/features/Upgrade.md +53 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/features/built_in_matchers/README.md +90 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/features/built_in_matchers/be.feature +173 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/features/built_in_matchers/be_within.feature +46 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/features/built_in_matchers/cover.feature +45 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/features/built_in_matchers/end_with.feature +46 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/features/built_in_matchers/equality.feature +145 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/features/built_in_matchers/exist.feature +43 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/features/built_in_matchers/expect_change.feature +59 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/features/built_in_matchers/expect_error.feature +138 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/features/built_in_matchers/have.feature +103 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/features/built_in_matchers/include.feature +121 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/features/built_in_matchers/match.feature +50 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/features/built_in_matchers/operators.feature +221 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/features/built_in_matchers/predicates.feature +129 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/features/built_in_matchers/respond_to.feature +78 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/features/built_in_matchers/satisfy.feature +31 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/features/built_in_matchers/start_with.feature +46 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/features/built_in_matchers/throw_symbol.feature +85 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/features/built_in_matchers/types.feature +114 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/features/built_in_matchers/yield.feature +146 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/features/custom_matchers/access_running_example.feature +53 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/features/custom_matchers/define_diffable_matcher.feature +27 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/features/custom_matchers/define_matcher.feature +368 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/features/custom_matchers/define_matcher_outside_rspec.feature +38 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/features/custom_matchers/define_matcher_with_fluent_interface.feature +24 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/features/customized_message.feature +22 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/features/diffing.feature +85 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/features/implicit_docstrings.feature +52 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/features/step_definitions/additional_cli_steps.rb +22 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/features/support/env.rb +5 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/features/syntax_configuration.feature +68 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/features/test_frameworks/test_unit.feature +46 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/expectations/deprecation.rb +38 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/expectations/differ.rb +115 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/expectations/errors.rb +9 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/expectations/expectation_target.rb +88 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/expectations/extensions/array.rb +9 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/expectations/extensions/object.rb +39 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/expectations/extensions.rb +2 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/expectations/fail_with.rb +55 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/expectations/handler.rb +63 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/expectations/syntax.rb +118 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/expectations/version.rb +8 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/expectations.rb +47 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/matchers/be_close.rb +9 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/matchers/built_in/base_matcher.rb +68 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/matchers/built_in/be.rb +185 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/matchers/built_in/be_instance_of.rb +15 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/matchers/built_in/be_kind_of.rb +11 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/matchers/built_in/be_within.rb +46 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/matchers/built_in/change.rb +133 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/matchers/built_in/cover.rb +21 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/matchers/built_in/eq.rb +22 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/matchers/built_in/eql.rb +23 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/matchers/built_in/equal.rb +44 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/matchers/built_in/exist.rb +26 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/matchers/built_in/has.rb +48 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/matchers/built_in/have.rb +108 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/matchers/built_in/include.rb +53 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/matchers/built_in/match.rb +12 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/matchers/built_in/match_array.rb +51 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/matchers/built_in/raise_error.rb +107 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/matchers/built_in/respond_to.rb +74 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/matchers/built_in/satisfy.rb +30 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/matchers/built_in/start_and_end_with.rb +48 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/matchers/built_in/throw_symbol.rb +94 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/matchers/built_in/yield.rb +221 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/matchers/built_in.rb +39 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/matchers/compatibility.rb +14 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/matchers/configuration.rb +108 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/matchers/dsl.rb +24 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/matchers/extensions/instance_eval_with_args.rb +39 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/matchers/generated_descriptions.rb +35 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/matchers/matcher.rb +299 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/matchers/method_missing.rb +12 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/matchers/operator_matcher.rb +109 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/matchers/pretty.rb +60 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/matchers.rb +699 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec-expectations.rb +1 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/rspec/expectations/differ_spec.rb +177 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/rspec/expectations/expectation_target_spec.rb +65 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/rspec/expectations/extensions/kernel_spec.rb +67 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/rspec/expectations/fail_with_spec.rb +70 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/rspec/expectations/handler_spec.rb +206 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/rspec/expectations/syntax_spec.rb +35 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/rspec/matchers/base_matcher_spec.rb +60 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/rspec/matchers/be_close_spec.rb +22 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/rspec/matchers/be_instance_of_spec.rb +57 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/rspec/matchers/be_kind_of_spec.rb +37 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/rspec/matchers/be_spec.rb +452 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/rspec/matchers/be_within_spec.rb +80 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/rspec/matchers/change_spec.rb +528 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/rspec/matchers/configuration_spec.rb +234 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/rspec/matchers/cover_spec.rb +69 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/rspec/matchers/description_generation_spec.rb +176 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/rspec/matchers/dsl_spec.rb +57 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/rspec/matchers/eq_spec.rb +54 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/rspec/matchers/eql_spec.rb +41 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/rspec/matchers/equal_spec.rb +60 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/rspec/matchers/exist_spec.rb +110 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/rspec/matchers/has_spec.rb +118 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/rspec/matchers/have_spec.rb +431 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/rspec/matchers/include_spec.rb +373 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/rspec/matchers/match_array_spec.rb +153 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/rspec/matchers/match_spec.rb +61 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/rspec/matchers/matcher_spec.rb +434 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/rspec/matchers/matchers_spec.rb +31 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/rspec/matchers/method_missing_spec.rb +24 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/rspec/matchers/operator_matcher_spec.rb +244 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/rspec/matchers/raise_error_spec.rb +395 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/rspec/matchers/respond_to_spec.rb +295 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/rspec/matchers/satisfy_spec.rb +44 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/rspec/matchers/start_with_end_with_spec.rb +182 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/rspec/matchers/throw_symbol_spec.rb +116 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/rspec/matchers/yield_spec.rb +437 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/spec_helper.rb +27 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/support/classes.rb +56 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/support/in_sub_process.rb +31 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/support/matchers.rb +22 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/support/ruby_version.rb +10 -0
- data/vendor/bundle/gems/rspec-expectations-2.12.1/spec/support/shared_examples.rb +13 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/Changelog.md +268 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/License.txt +23 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/README.md +301 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/features/README.md +67 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/features/Scope.md +17 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/features/Upgrade.md +22 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/features/argument_matchers/README.md +27 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/features/argument_matchers/explicit.feature +60 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/features/argument_matchers/general_matchers.feature +85 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/features/argument_matchers/type_matchers.feature +27 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/features/message_expectations/README.md +73 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/features/message_expectations/any_instance.feature +21 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/features/message_expectations/block_local_expectations.feature.pending +55 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/features/message_expectations/call_original.feature +24 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/features/message_expectations/expect_message.feature +94 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/features/message_expectations/receive_counts.feature +209 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/features/message_expectations/warn_when_expectation_is_set_on_nil.feature +50 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/features/method_stubs/README.md +47 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/features/method_stubs/any_instance.feature +132 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/features/method_stubs/as_null_object.feature +35 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/features/method_stubs/simple_return_value.feature +64 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/features/method_stubs/stub_chain.feature +51 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/features/method_stubs/stub_implementation.feature +26 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/features/method_stubs/to_ary.feature +47 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/features/mutating_constants/README.md +82 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/features/mutating_constants/hiding_defined_constant.feature +64 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/features/mutating_constants/stub_defined_constant.feature +79 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/features/mutating_constants/stub_undefined_constant.feature +50 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/features/outside_rspec/configuration.feature +82 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/features/outside_rspec/standalone.feature +33 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/features/step_definitions/additional_cli_steps.rb +4 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/features/support/env.rb +6 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/lib/rspec/mocks/any_instance/chain.rb +78 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/lib/rspec/mocks/any_instance/expectation_chain.rb +57 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/lib/rspec/mocks/any_instance/message_chains.rb +60 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/lib/rspec/mocks/any_instance/recorder.rb +199 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/lib/rspec/mocks/any_instance/stub_chain.rb +37 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/lib/rspec/mocks/any_instance/stub_chain_chain.rb +25 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/lib/rspec/mocks/any_instance.rb +81 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/lib/rspec/mocks/argument_list_matcher.rb +93 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/lib/rspec/mocks/argument_matchers.rb +238 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/lib/rspec/mocks/configuration.rb +28 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/lib/rspec/mocks/error_generator.rb +120 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/lib/rspec/mocks/errors.rb +12 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/lib/rspec/mocks/example_methods.rb +120 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/lib/rspec/mocks/extensions/instance_exec.rb +34 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/lib/rspec/mocks/extensions/marshal.rb +23 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/lib/rspec/mocks/extensions/psych.rb +23 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/lib/rspec/mocks/framework.rb +22 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/lib/rspec/mocks/instance_method_stasher.rb +85 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/lib/rspec/mocks/message_expectation.rb +503 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/lib/rspec/mocks/method_double.rb +280 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/lib/rspec/mocks/methods.rb +155 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/lib/rspec/mocks/mock.rb +7 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/lib/rspec/mocks/mutate_const.rb +415 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/lib/rspec/mocks/order_group.rb +40 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/lib/rspec/mocks/proxy.rb +205 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/lib/rspec/mocks/serialization.rb +34 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/lib/rspec/mocks/space.rb +34 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/lib/rspec/mocks/standalone.rb +3 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/lib/rspec/mocks/test_double.rb +103 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/lib/rspec/mocks/version.rb +7 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/lib/rspec/mocks.rb +63 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/lib/spec/mocks.rb +6 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/and_call_original_spec.rb +225 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/and_yield_spec.rb +114 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/any_instance/message_chains_spec.rb +40 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/any_instance_spec.rb +888 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/any_number_of_times_spec.rb +30 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/argument_expectation_spec.rb +34 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/at_least_spec.rb +142 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/at_most_spec.rb +90 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/block_return_value_spec.rb +53 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/bug_report_10260_spec.rb +8 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/bug_report_10263_spec.rb +27 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/bug_report_11545_spec.rb +32 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/bug_report_496_spec.rb +17 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/bug_report_600_spec.rb +22 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/bug_report_7611_spec.rb +16 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/bug_report_8165_spec.rb +31 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/bug_report_830_spec.rb +21 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/bug_report_957_spec.rb +22 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/configuration_spec.rb +26 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/double_spec.rb +12 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/failing_argument_matchers_spec.rb +94 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/hash_excluding_matcher_spec.rb +67 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/hash_including_matcher_spec.rb +90 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/instance_method_stasher_spec.rb +58 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/mock_ordering_spec.rb +103 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/mock_space_spec.rb +58 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/mock_spec.rb +734 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/multiple_return_value_spec.rb +119 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/mutate_const_spec.rb +481 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/nil_expectation_warning_spec.rb +56 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/null_object_mock_spec.rb +107 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/once_counts_spec.rb +52 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/options_hash_spec.rb +35 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/partial_mock_spec.rb +196 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/partial_mock_using_mocks_directly_spec.rb +95 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/passing_argument_matchers_spec.rb +142 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/precise_counts_spec.rb +68 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/record_messages_spec.rb +26 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/serialization_spec.rb +110 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/stash_spec.rb +54 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/stub_chain_spec.rb +154 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/stub_implementation_spec.rb +81 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/stub_spec.rb +266 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/stubbed_message_expectations_spec.rb +47 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/test_double_spec.rb +57 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/to_ary_spec.rb +40 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks/twice_counts_spec.rb +66 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/rspec/mocks_spec.rb +67 -0
- data/vendor/bundle/gems/rspec-mocks-2.12.2/spec/spec_helper.rb +36 -0
- data/vendor/bundle/specifications/diff-lcs-1.1.3.gemspec +35 -0
- data/vendor/bundle/specifications/hiredis-0.4.5.gemspec +30 -0
- data/vendor/bundle/specifications/multi_json-1.6.1.gemspec +30 -0
- data/vendor/bundle/specifications/rake-10.0.3.gemspec +34 -0
- data/vendor/bundle/specifications/redis-3.0.2.gemspec +28 -0
- data/vendor/bundle/specifications/rspec-2.12.0.gemspec +39 -0
- data/vendor/bundle/specifications/rspec-core-2.12.2.gemspec +58 -0
- data/vendor/bundle/specifications/rspec-expectations-2.12.1.gemspec +40 -0
- data/vendor/bundle/specifications/rspec-mocks-2.12.2.gemspec +37 -0
- data/vendor/remq/Readme.md +30 -16
- data/vendor/remq/VERSION +1 -0
- data/vendor/remq/scripts/consume.lua +24 -38
- data/vendor/remq/scripts/flush.lua +33 -0
- data/vendor/remq/scripts/publish.lua +10 -7
- metadata +806 -29
- data/lib/remq/coder.rb +0 -30
- data/lib/remq/multi_json_coder.rb +0 -39
- data/vendor/remq/scripts/purge.lua +0 -18
@@ -0,0 +1,443 @@
|
|
1
|
+
require File.expand_path('../helper', __FILE__)
|
2
|
+
|
3
|
+
TESTING_REQUIRE = [ ]
|
4
|
+
|
5
|
+
class TestRakeApplicationOptions < Rake::TestCase
|
6
|
+
|
7
|
+
def setup
|
8
|
+
super
|
9
|
+
|
10
|
+
clear_argv
|
11
|
+
Rake::FileUtilsExt.verbose_flag = false
|
12
|
+
Rake::FileUtilsExt.nowrite_flag = false
|
13
|
+
TESTING_REQUIRE.clear
|
14
|
+
end
|
15
|
+
|
16
|
+
def teardown
|
17
|
+
clear_argv
|
18
|
+
Rake::FileUtilsExt.verbose_flag = false
|
19
|
+
Rake::FileUtilsExt.nowrite_flag = false
|
20
|
+
|
21
|
+
super
|
22
|
+
end
|
23
|
+
|
24
|
+
def clear_argv
|
25
|
+
while ! ARGV.empty?
|
26
|
+
ARGV.pop
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
def test_default_options
|
31
|
+
opts = command_line
|
32
|
+
assert_nil opts.backtrace
|
33
|
+
assert_nil opts.dryrun
|
34
|
+
assert_nil opts.ignore_system
|
35
|
+
assert_nil opts.load_system
|
36
|
+
assert_nil opts.always_multitask
|
37
|
+
assert_nil opts.nosearch
|
38
|
+
assert_equal ['rakelib'], opts.rakelib
|
39
|
+
assert_nil opts.show_prereqs
|
40
|
+
assert_nil opts.show_task_pattern
|
41
|
+
assert_nil opts.show_tasks
|
42
|
+
assert_nil opts.silent
|
43
|
+
assert_nil opts.trace
|
44
|
+
assert_nil opts.thread_pool_size
|
45
|
+
assert_equal ['rakelib'], opts.rakelib
|
46
|
+
assert ! Rake::FileUtilsExt.verbose_flag
|
47
|
+
assert ! Rake::FileUtilsExt.nowrite_flag
|
48
|
+
end
|
49
|
+
|
50
|
+
def test_dry_run
|
51
|
+
flags('--dry-run', '-n') do |opts|
|
52
|
+
assert opts.dryrun
|
53
|
+
assert opts.trace
|
54
|
+
assert Rake::FileUtilsExt.verbose_flag
|
55
|
+
assert Rake::FileUtilsExt.nowrite_flag
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
def test_describe
|
60
|
+
flags('--describe') do |opts|
|
61
|
+
assert_equal :describe, opts.show_tasks
|
62
|
+
assert_equal(//.to_s, opts.show_task_pattern.to_s)
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
def test_describe_with_pattern
|
67
|
+
flags('--describe=X') do |opts|
|
68
|
+
assert_equal :describe, opts.show_tasks
|
69
|
+
assert_equal(/X/.to_s, opts.show_task_pattern.to_s)
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
def test_execute
|
74
|
+
$xyzzy = 0
|
75
|
+
flags('--execute=$xyzzy=1', '-e $xyzzy=1') do |opts|
|
76
|
+
assert_equal 1, $xyzzy
|
77
|
+
assert_equal :exit, @exit
|
78
|
+
$xyzzy = 0
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
def test_execute_and_continue
|
83
|
+
$xyzzy = 0
|
84
|
+
flags('--execute-continue=$xyzzy=1', '-E $xyzzy=1') do |opts|
|
85
|
+
assert_equal 1, $xyzzy
|
86
|
+
refute_equal :exit, @exit
|
87
|
+
$xyzzy = 0
|
88
|
+
end
|
89
|
+
end
|
90
|
+
|
91
|
+
def test_execute_and_print
|
92
|
+
$xyzzy = 0
|
93
|
+
out, = capture_io do
|
94
|
+
flags('--execute-print=$xyzzy="pugh"', '-p $xyzzy="pugh"') do |opts|
|
95
|
+
assert_equal 'pugh', $xyzzy
|
96
|
+
assert_equal :exit, @exit
|
97
|
+
$xyzzy = 0
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
assert_match(/^pugh$/, out)
|
102
|
+
end
|
103
|
+
|
104
|
+
def test_help
|
105
|
+
out, = capture_io do
|
106
|
+
flags '--help', '-H', '-h'
|
107
|
+
end
|
108
|
+
|
109
|
+
assert_match(/\Arake/, out)
|
110
|
+
assert_match(/\boptions\b/, out)
|
111
|
+
assert_match(/\btargets\b/, out)
|
112
|
+
assert_equal :exit, @exit
|
113
|
+
end
|
114
|
+
|
115
|
+
def test_jobs
|
116
|
+
flags(['--jobs', '4'], ['-j', '4']) do |opts|
|
117
|
+
assert_equal 4, opts.thread_pool_size
|
118
|
+
end
|
119
|
+
flags(['--jobs', 'asdas'], ['-j', 'asdas']) do |opts|
|
120
|
+
assert_equal 2, opts.thread_pool_size
|
121
|
+
end
|
122
|
+
flags('--jobs', '-j') do |opts|
|
123
|
+
assert_equal 2, opts.thread_pool_size
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
127
|
+
def test_libdir
|
128
|
+
flags(['--libdir', 'xx'], ['-I', 'xx'], ['-Ixx']) do |opts|
|
129
|
+
$:.include?('xx')
|
130
|
+
end
|
131
|
+
ensure
|
132
|
+
$:.delete('xx')
|
133
|
+
end
|
134
|
+
|
135
|
+
def test_multitask
|
136
|
+
flags('--multitask', '-m') do |opts|
|
137
|
+
assert_equal opts.always_multitask, true
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
def test_rakefile
|
142
|
+
flags(['--rakefile', 'RF'], ['--rakefile=RF'], ['-f', 'RF'], ['-fRF']) do |opts|
|
143
|
+
assert_equal ['RF'], @app.instance_eval { @rakefiles }
|
144
|
+
end
|
145
|
+
end
|
146
|
+
|
147
|
+
def test_rakelib
|
148
|
+
dirs = %w(A B C).join(File::PATH_SEPARATOR)
|
149
|
+
flags(['--rakelibdir', dirs], ["--rakelibdir=#{dirs}"], ['-R', dirs], ["-R#{dirs}"]) do |opts|
|
150
|
+
assert_equal ['A', 'B', 'C'], opts.rakelib
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
def test_require
|
155
|
+
$LOAD_PATH.unshift @tempdir
|
156
|
+
|
157
|
+
open 'reqfile.rb', 'w' do |io| io << 'TESTING_REQUIRE << 1' end
|
158
|
+
open 'reqfile2.rb', 'w' do |io| io << 'TESTING_REQUIRE << 2' end
|
159
|
+
open 'reqfile3.rake', 'w' do |io| io << 'TESTING_REQUIRE << 3' end
|
160
|
+
|
161
|
+
flags(['--require', 'reqfile'], '-rreqfile2', '-rreqfile3')
|
162
|
+
|
163
|
+
assert_includes TESTING_REQUIRE, 1
|
164
|
+
assert_includes TESTING_REQUIRE, 2
|
165
|
+
assert_includes TESTING_REQUIRE, 3
|
166
|
+
|
167
|
+
assert_equal 3, TESTING_REQUIRE.size
|
168
|
+
ensure
|
169
|
+
$LOAD_PATH.delete @tempdir
|
170
|
+
end
|
171
|
+
|
172
|
+
def test_missing_require
|
173
|
+
ex = assert_raises(LoadError) do
|
174
|
+
flags(['--require', 'test/missing']) do |opts|
|
175
|
+
end
|
176
|
+
end
|
177
|
+
assert_match(/such file/, ex.message)
|
178
|
+
assert_match(/test\/missing/, ex.message)
|
179
|
+
end
|
180
|
+
|
181
|
+
def test_prereqs
|
182
|
+
flags('--prereqs', '-P') do |opts|
|
183
|
+
assert opts.show_prereqs
|
184
|
+
end
|
185
|
+
end
|
186
|
+
|
187
|
+
def test_quiet
|
188
|
+
flags('--quiet', '-q') do |opts|
|
189
|
+
assert ! Rake::FileUtilsExt.verbose_flag
|
190
|
+
assert ! opts.silent
|
191
|
+
end
|
192
|
+
end
|
193
|
+
|
194
|
+
def test_no_search
|
195
|
+
flags('--nosearch', '--no-search', '-N') do |opts|
|
196
|
+
assert opts.nosearch
|
197
|
+
end
|
198
|
+
end
|
199
|
+
|
200
|
+
def test_silent
|
201
|
+
flags('--silent', '-s') do |opts|
|
202
|
+
assert ! Rake::FileUtilsExt.verbose_flag
|
203
|
+
assert opts.silent
|
204
|
+
end
|
205
|
+
end
|
206
|
+
|
207
|
+
def test_system
|
208
|
+
flags('--system', '-g') do |opts|
|
209
|
+
assert opts.load_system
|
210
|
+
end
|
211
|
+
end
|
212
|
+
|
213
|
+
def test_no_system
|
214
|
+
flags('--no-system', '-G') do |opts|
|
215
|
+
assert opts.ignore_system
|
216
|
+
end
|
217
|
+
end
|
218
|
+
|
219
|
+
def test_trace
|
220
|
+
flags('--trace', '-t') do |opts|
|
221
|
+
assert opts.trace, "should enable trace option"
|
222
|
+
assert opts.backtrace, "should enabled backtrace option"
|
223
|
+
assert_equal $stderr, opts.trace_output
|
224
|
+
assert Rake::FileUtilsExt.verbose_flag
|
225
|
+
assert ! Rake::FileUtilsExt.nowrite_flag
|
226
|
+
end
|
227
|
+
end
|
228
|
+
|
229
|
+
def test_trace_with_stdout
|
230
|
+
flags('--trace=stdout', '-tstdout') do |opts|
|
231
|
+
assert opts.trace, "should enable trace option"
|
232
|
+
assert opts.backtrace, "should enabled backtrace option"
|
233
|
+
assert_equal $stdout, opts.trace_output
|
234
|
+
assert Rake::FileUtilsExt.verbose_flag
|
235
|
+
assert ! Rake::FileUtilsExt.nowrite_flag
|
236
|
+
end
|
237
|
+
end
|
238
|
+
|
239
|
+
def test_trace_with_stderr
|
240
|
+
flags('--trace=stderr', '-tstderr') do |opts|
|
241
|
+
assert opts.trace, "should enable trace option"
|
242
|
+
assert opts.backtrace, "should enabled backtrace option"
|
243
|
+
assert_equal $stderr, opts.trace_output
|
244
|
+
assert Rake::FileUtilsExt.verbose_flag
|
245
|
+
assert ! Rake::FileUtilsExt.nowrite_flag
|
246
|
+
end
|
247
|
+
end
|
248
|
+
|
249
|
+
def test_trace_with_error
|
250
|
+
ex = assert_raises(Rake::CommandLineOptionError) do
|
251
|
+
flags('--trace=xyzzy') do |opts| end
|
252
|
+
end
|
253
|
+
assert_match(/un(known|recognized).*\btrace\b.*xyzzy/i, ex.message)
|
254
|
+
end
|
255
|
+
|
256
|
+
def test_trace_with_following_task_name
|
257
|
+
flags(['--trace', 'taskname'], ['-t', 'taskname']) do |opts|
|
258
|
+
assert opts.trace, "should enable trace option"
|
259
|
+
assert opts.backtrace, "should enabled backtrace option"
|
260
|
+
assert_equal $stderr, opts.trace_output
|
261
|
+
assert Rake::FileUtilsExt.verbose_flag
|
262
|
+
assert_equal ['taskname'], @app.top_level_tasks
|
263
|
+
end
|
264
|
+
end
|
265
|
+
|
266
|
+
def test_backtrace
|
267
|
+
flags('--backtrace') do |opts|
|
268
|
+
assert opts.backtrace, "should enable backtrace option"
|
269
|
+
assert_equal $stderr, opts.trace_output
|
270
|
+
assert ! opts.trace, "should not enable trace option"
|
271
|
+
end
|
272
|
+
end
|
273
|
+
|
274
|
+
def test_backtrace_with_stdout
|
275
|
+
flags('--backtrace=stdout') do |opts|
|
276
|
+
assert opts.backtrace, "should enable backtrace option"
|
277
|
+
assert_equal $stdout, opts.trace_output
|
278
|
+
assert ! opts.trace, "should not enable trace option"
|
279
|
+
end
|
280
|
+
end
|
281
|
+
|
282
|
+
def test_backtrace_with_stderr
|
283
|
+
flags('--backtrace=stderr') do |opts|
|
284
|
+
assert opts.backtrace, "should enable backtrace option"
|
285
|
+
assert_equal $stderr, opts.trace_output
|
286
|
+
assert ! opts.trace, "should not enable trace option"
|
287
|
+
end
|
288
|
+
end
|
289
|
+
|
290
|
+
def test_backtrace_with_error
|
291
|
+
ex = assert_raises(Rake::CommandLineOptionError) do
|
292
|
+
flags('--backtrace=xyzzy') do |opts| end
|
293
|
+
end
|
294
|
+
assert_match(/un(known|recognized).*\bbacktrace\b.*xyzzy/i, ex.message)
|
295
|
+
end
|
296
|
+
|
297
|
+
def test_backtrace_with_following_task_name
|
298
|
+
flags(['--backtrace', 'taskname']) do |opts|
|
299
|
+
assert ! opts.trace, "should enable trace option"
|
300
|
+
assert opts.backtrace, "should enabled backtrace option"
|
301
|
+
assert_equal $stderr, opts.trace_output
|
302
|
+
assert_equal ['taskname'], @app.top_level_tasks
|
303
|
+
end
|
304
|
+
end
|
305
|
+
|
306
|
+
def test_trace_rules
|
307
|
+
flags('--rules') do |opts|
|
308
|
+
assert opts.trace_rules
|
309
|
+
end
|
310
|
+
end
|
311
|
+
|
312
|
+
def test_tasks
|
313
|
+
flags('--tasks', '-T') do |opts|
|
314
|
+
assert_equal :tasks, opts.show_tasks
|
315
|
+
assert_equal(//.to_s, opts.show_task_pattern.to_s)
|
316
|
+
assert_equal nil, opts.show_all_tasks
|
317
|
+
end
|
318
|
+
flags(['--tasks', 'xyz'], ['-Txyz']) do |opts|
|
319
|
+
assert_equal :tasks, opts.show_tasks
|
320
|
+
assert_equal(/xyz/.to_s, opts.show_task_pattern.to_s)
|
321
|
+
assert_equal nil, opts.show_all_tasks
|
322
|
+
end
|
323
|
+
flags(['--tasks', 'xyz', '--comments']) do |opts|
|
324
|
+
assert_equal :tasks, opts.show_tasks
|
325
|
+
assert_equal(/xyz/.to_s, opts.show_task_pattern.to_s)
|
326
|
+
assert_equal false, opts.show_all_tasks
|
327
|
+
end
|
328
|
+
end
|
329
|
+
|
330
|
+
def test_where
|
331
|
+
flags('--where', '-W') do |opts|
|
332
|
+
assert_equal :lines, opts.show_tasks
|
333
|
+
assert_equal(//.to_s, opts.show_task_pattern.to_s)
|
334
|
+
assert_equal true, opts.show_all_tasks
|
335
|
+
end
|
336
|
+
flags(['--where', 'xyz'], ['-Wxyz']) do |opts|
|
337
|
+
assert_equal :lines, opts.show_tasks
|
338
|
+
assert_equal(/xyz/.to_s, opts.show_task_pattern.to_s)
|
339
|
+
assert_equal true, opts.show_all_tasks
|
340
|
+
end
|
341
|
+
flags(['--where', 'xyz', '--comments'], ['-Wxyz', '--comments']) do |opts|
|
342
|
+
assert_equal :lines, opts.show_tasks
|
343
|
+
assert_equal(/xyz/.to_s, opts.show_task_pattern.to_s)
|
344
|
+
assert_equal false, opts.show_all_tasks
|
345
|
+
end
|
346
|
+
end
|
347
|
+
|
348
|
+
def test_no_deprecated_messages
|
349
|
+
flags('--no-deprecation-warnings', '-X') do |opts|
|
350
|
+
assert opts.ignore_deprecate
|
351
|
+
end
|
352
|
+
end
|
353
|
+
|
354
|
+
def test_verbose
|
355
|
+
out, = capture_io do
|
356
|
+
flags('--verbose', '-V') do |opts|
|
357
|
+
assert Rake::FileUtilsExt.verbose_flag
|
358
|
+
assert ! opts.silent
|
359
|
+
end
|
360
|
+
end
|
361
|
+
|
362
|
+
assert_equal "rake, version #{Rake::VERSION}\n", out
|
363
|
+
end
|
364
|
+
|
365
|
+
def test_version
|
366
|
+
out, = capture_io do
|
367
|
+
flags '--version', '-V'
|
368
|
+
end
|
369
|
+
|
370
|
+
assert_match(/\bversion\b/, out)
|
371
|
+
assert_match(/\b#{RAKEVERSION}\b/, out)
|
372
|
+
assert_equal :exit, @exit
|
373
|
+
end
|
374
|
+
|
375
|
+
def test_bad_option
|
376
|
+
_, err = capture_io do
|
377
|
+
ex = assert_raises(OptionParser::InvalidOption) do
|
378
|
+
flags('--bad-option')
|
379
|
+
end
|
380
|
+
|
381
|
+
if ex.message =~ /^While/ # Ruby 1.9 error message
|
382
|
+
assert_match(/while parsing/i, ex.message)
|
383
|
+
else # Ruby 1.8 error message
|
384
|
+
assert_match(/(invalid|unrecognized) option/i, ex.message)
|
385
|
+
assert_match(/--bad-option/, ex.message)
|
386
|
+
end
|
387
|
+
end
|
388
|
+
|
389
|
+
assert_equal '', err
|
390
|
+
end
|
391
|
+
|
392
|
+
def test_task_collection
|
393
|
+
command_line("a", "b")
|
394
|
+
assert_equal ["a", "b"], @tasks.sort
|
395
|
+
end
|
396
|
+
|
397
|
+
def test_default_task_collection
|
398
|
+
command_line()
|
399
|
+
assert_equal ["default"], @tasks
|
400
|
+
end
|
401
|
+
|
402
|
+
def test_environment_definition
|
403
|
+
ENV.delete('TESTKEY')
|
404
|
+
command_line("a", "TESTKEY=12")
|
405
|
+
assert_equal ["a"], @tasks.sort
|
406
|
+
assert '12', ENV['TESTKEY']
|
407
|
+
end
|
408
|
+
|
409
|
+
def test_rake_explicit_task_library
|
410
|
+
Rake.add_rakelib 'app/task', 'other'
|
411
|
+
|
412
|
+
libs = Rake.application.options.rakelib
|
413
|
+
|
414
|
+
assert libs.include?("app/task")
|
415
|
+
assert libs.include?("other")
|
416
|
+
end
|
417
|
+
|
418
|
+
private
|
419
|
+
|
420
|
+
def flags(*sets)
|
421
|
+
sets.each do |set|
|
422
|
+
ARGV.clear
|
423
|
+
|
424
|
+
@exit = catch(:system_exit) { command_line(*set) }
|
425
|
+
|
426
|
+
yield(@app.options) if block_given?
|
427
|
+
end
|
428
|
+
end
|
429
|
+
|
430
|
+
def command_line(*options)
|
431
|
+
options.each do |opt| ARGV << opt end
|
432
|
+
@app = Rake::Application.new
|
433
|
+
def @app.exit(*args)
|
434
|
+
throw :system_exit, :exit
|
435
|
+
end
|
436
|
+
@app.instance_eval do
|
437
|
+
handle_options
|
438
|
+
collect_tasks
|
439
|
+
end
|
440
|
+
@tasks = @app.top_level_tasks
|
441
|
+
@app.options
|
442
|
+
end
|
443
|
+
end
|
@@ -0,0 +1,89 @@
|
|
1
|
+
require File.expand_path('../helper', __FILE__)
|
2
|
+
require 'open3'
|
3
|
+
|
4
|
+
class TestRakeBacktrace < Rake::TestCase
|
5
|
+
|
6
|
+
def setup
|
7
|
+
super
|
8
|
+
|
9
|
+
skip 'tmpdir is suppressed in backtrace' if
|
10
|
+
Dir.pwd =~ Rake::Backtrace::SUPPRESS_PATTERN
|
11
|
+
end
|
12
|
+
|
13
|
+
# TODO: factor out similar code in test_rake_functional.rb
|
14
|
+
def rake(*args)
|
15
|
+
Open3.popen3(RUBY, "-I", @rake_lib, @rake_exec, *args) { |_, _, err, _|
|
16
|
+
err.read
|
17
|
+
}
|
18
|
+
end
|
19
|
+
|
20
|
+
def invoke(task_name)
|
21
|
+
rake task_name.to_s
|
22
|
+
end
|
23
|
+
|
24
|
+
def test_single_collapse
|
25
|
+
rakefile %q{
|
26
|
+
task :foo do
|
27
|
+
raise "foooo!"
|
28
|
+
end
|
29
|
+
}
|
30
|
+
|
31
|
+
lines = invoke(:foo).split("\n")
|
32
|
+
|
33
|
+
assert_equal "rake aborted!", lines[0]
|
34
|
+
assert_equal "foooo!", lines[1]
|
35
|
+
assert_something_matches %r!\A#{Regexp.quote Dir.pwd}/Rakefile:3!i, lines
|
36
|
+
assert_something_matches %r!\ATasks:!, lines
|
37
|
+
end
|
38
|
+
|
39
|
+
def test_multi_collapse
|
40
|
+
rakefile %q{
|
41
|
+
task :foo do
|
42
|
+
Rake.application.invoke_task(:bar)
|
43
|
+
end
|
44
|
+
task :bar do
|
45
|
+
raise "barrr!"
|
46
|
+
end
|
47
|
+
}
|
48
|
+
|
49
|
+
lines = invoke(:foo).split("\n")
|
50
|
+
|
51
|
+
assert_equal "rake aborted!", lines[0]
|
52
|
+
assert_equal "barrr!", lines[1]
|
53
|
+
assert_something_matches %r!\A#{Regexp.quote Dir.pwd}/Rakefile:6!i, lines
|
54
|
+
assert_something_matches %r!\A#{Regexp.quote Dir.pwd}/Rakefile:3!i, lines
|
55
|
+
assert_something_matches %r!\ATasks:!, lines
|
56
|
+
end
|
57
|
+
|
58
|
+
def test_suppress_option
|
59
|
+
rakefile %q{
|
60
|
+
task :baz do
|
61
|
+
raise "bazzz!"
|
62
|
+
end
|
63
|
+
}
|
64
|
+
|
65
|
+
lines = rake("baz").split("\n")
|
66
|
+
assert_equal "rake aborted!", lines[0]
|
67
|
+
assert_equal "bazzz!", lines[1]
|
68
|
+
assert_something_matches %r!Rakefile!i, lines
|
69
|
+
|
70
|
+
lines = rake("--suppress-backtrace", ".ak.file", "baz").split("\n")
|
71
|
+
assert_equal "rake aborted!", lines[0]
|
72
|
+
assert_equal "bazzz!", lines[1]
|
73
|
+
refute_match %r!Rakefile!i, lines[2]
|
74
|
+
end
|
75
|
+
|
76
|
+
private
|
77
|
+
|
78
|
+
# Assert that the pattern matches at least one line in +lines+.
|
79
|
+
def assert_something_matches(pattern, lines)
|
80
|
+
lines.each do |ln|
|
81
|
+
if pattern =~ ln
|
82
|
+
assert_match pattern, ln
|
83
|
+
return
|
84
|
+
end
|
85
|
+
end
|
86
|
+
flunk "expected #{pattern.inspect} to match something in:\n #{lines.join("\n ")}"
|
87
|
+
end
|
88
|
+
|
89
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
require File.expand_path('../helper', __FILE__)
|
2
|
+
require 'rake/clean'
|
3
|
+
|
4
|
+
class TestRakeClean < Rake::TestCase
|
5
|
+
include Rake
|
6
|
+
def test_clean
|
7
|
+
load 'rake/clean.rb', true
|
8
|
+
|
9
|
+
assert Task['clean'], "Should define clean"
|
10
|
+
assert Task['clobber'], "Should define clobber"
|
11
|
+
assert Task['clobber'].prerequisites.include?("clean"),
|
12
|
+
"Clobber should require clean"
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,80 @@
|
|
1
|
+
require File.expand_path('../helper', __FILE__)
|
2
|
+
require 'fileutils'
|
3
|
+
|
4
|
+
class TestRakeDefinitions < Rake::TestCase
|
5
|
+
include Rake
|
6
|
+
|
7
|
+
EXISTINGFILE = "existing"
|
8
|
+
|
9
|
+
def setup
|
10
|
+
super
|
11
|
+
|
12
|
+
Task.clear
|
13
|
+
end
|
14
|
+
|
15
|
+
def test_task
|
16
|
+
done = false
|
17
|
+
task :one => [:two] do done = true end
|
18
|
+
task :two
|
19
|
+
task :three => [:one, :two]
|
20
|
+
check_tasks(:one, :two, :three)
|
21
|
+
assert done, "Should be done"
|
22
|
+
end
|
23
|
+
|
24
|
+
def test_file_task
|
25
|
+
done = false
|
26
|
+
file "one" => "two" do done = true end
|
27
|
+
file "two"
|
28
|
+
file "three" => ["one", "two"]
|
29
|
+
check_tasks("one", "two", "three")
|
30
|
+
assert done, "Should be done"
|
31
|
+
end
|
32
|
+
|
33
|
+
def check_tasks(n1, n2, n3)
|
34
|
+
t = Task[n1]
|
35
|
+
assert Task === t, "Should be a Task"
|
36
|
+
assert_equal n1.to_s, t.name
|
37
|
+
assert_equal [n2.to_s], t.prerequisites.collect{|n| n.to_s}
|
38
|
+
t.invoke
|
39
|
+
t2 = Task[n2]
|
40
|
+
assert_equal FileList[], t2.prerequisites
|
41
|
+
t3 = Task[n3]
|
42
|
+
assert_equal [n1.to_s, n2.to_s], t3.prerequisites.collect{|n|n.to_s}
|
43
|
+
end
|
44
|
+
|
45
|
+
def test_incremental_definitions
|
46
|
+
runs = []
|
47
|
+
task :t1 => [:t2] do runs << "A"; 4321 end
|
48
|
+
task :t1 => [:t3] do runs << "B"; 1234 end
|
49
|
+
task :t1 => [:t3]
|
50
|
+
task :t2
|
51
|
+
task :t3
|
52
|
+
Task[:t1].invoke
|
53
|
+
assert_equal ["A", "B"], runs
|
54
|
+
assert_equal ["t2", "t3"], Task[:t1].prerequisites
|
55
|
+
end
|
56
|
+
|
57
|
+
def test_missing_dependencies
|
58
|
+
task :x => ["missing"]
|
59
|
+
assert_raises(RuntimeError) { Task[:x].invoke }
|
60
|
+
end
|
61
|
+
|
62
|
+
def test_implicit_file_dependencies
|
63
|
+
runs = []
|
64
|
+
create_existing_file
|
65
|
+
task :y => [EXISTINGFILE] do |t| runs << t.name end
|
66
|
+
Task[:y].invoke
|
67
|
+
assert_equal runs, ['y']
|
68
|
+
end
|
69
|
+
|
70
|
+
private # ----------------------------------------------------------
|
71
|
+
|
72
|
+
def create_existing_file
|
73
|
+
Dir.mkdir File.dirname(EXISTINGFILE) unless
|
74
|
+
File.exist?(File.dirname(EXISTINGFILE))
|
75
|
+
open(EXISTINGFILE, "w") do |f| f.puts "HI" end unless
|
76
|
+
File.exist?(EXISTINGFILE)
|
77
|
+
end
|
78
|
+
|
79
|
+
end
|
80
|
+
|
@@ -0,0 +1,57 @@
|
|
1
|
+
require File.expand_path('../helper', __FILE__)
|
2
|
+
require 'fileutils'
|
3
|
+
|
4
|
+
class TestRakeDirectoryTask < Rake::TestCase
|
5
|
+
include Rake
|
6
|
+
|
7
|
+
def test_directory
|
8
|
+
desc "DESC"
|
9
|
+
|
10
|
+
directory "a/b/c"
|
11
|
+
|
12
|
+
assert_equal FileCreationTask, Task["a"].class
|
13
|
+
assert_equal FileCreationTask, Task["a/b"].class
|
14
|
+
assert_equal FileCreationTask, Task["a/b/c"].class
|
15
|
+
|
16
|
+
assert_nil Task["a"].comment
|
17
|
+
assert_nil Task["a/b"].comment
|
18
|
+
assert_equal "DESC", Task["a/b/c"].comment
|
19
|
+
|
20
|
+
verbose(false) {
|
21
|
+
Task['a/b'].invoke
|
22
|
+
}
|
23
|
+
|
24
|
+
assert File.exist?("a/b")
|
25
|
+
refute File.exist?("a/b/c")
|
26
|
+
end
|
27
|
+
|
28
|
+
if Rake::Win32.windows?
|
29
|
+
def test_directory_win32
|
30
|
+
desc "WIN32 DESC"
|
31
|
+
directory 'c:/a/b/c'
|
32
|
+
assert_equal FileTask, Task['c:'].class
|
33
|
+
assert_equal FileCreationTask, Task['c:/a'].class
|
34
|
+
assert_equal FileCreationTask, Task['c:/a/b'].class
|
35
|
+
assert_equal FileCreationTask, Task['c:/a/b/c'].class
|
36
|
+
assert_nil Task['c:/'].comment
|
37
|
+
assert_equal "WIN32 DESC", Task['c:/a/b/c'].comment
|
38
|
+
assert_nil Task['c:/a/b'].comment
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
def test_can_use_blocks
|
43
|
+
runlist = []
|
44
|
+
|
45
|
+
t1 = directory("a/b/c" => :t2) { |t| runlist << t.name }
|
46
|
+
t2 = task(:t2) { |t| runlist << t.name }
|
47
|
+
|
48
|
+
verbose(false) {
|
49
|
+
t1.invoke
|
50
|
+
}
|
51
|
+
|
52
|
+
assert_equal Task["a/b/c"], t1
|
53
|
+
assert_equal FileCreationTask, Task["a/b/c"].class
|
54
|
+
assert_equal ["t2", "a/b/c"], runlist
|
55
|
+
assert File.directory?("a/b/c")
|
56
|
+
end
|
57
|
+
end
|