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,168 @@
|
|
1
|
+
require 'rake/ext/core'
|
2
|
+
|
3
|
+
######################################################################
|
4
|
+
# Rake extension methods for String.
|
5
|
+
#
|
6
|
+
class String
|
7
|
+
|
8
|
+
rake_extension("ext") do
|
9
|
+
# Replace the file extension with +newext+. If there is no extension on
|
10
|
+
# the string, append the new extension to the end. If the new extension
|
11
|
+
# is not given, or is the empty string, remove any existing extension.
|
12
|
+
#
|
13
|
+
# +ext+ is a user added method for the String class.
|
14
|
+
def ext(newext='')
|
15
|
+
return self.dup if ['.', '..'].include? self
|
16
|
+
if newext != ''
|
17
|
+
newext = (newext =~ /^\./) ? newext : ("." + newext)
|
18
|
+
end
|
19
|
+
self.chomp(File.extname(self)) << newext
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
rake_extension("pathmap") do
|
24
|
+
# Explode a path into individual components. Used by +pathmap+.
|
25
|
+
def pathmap_explode
|
26
|
+
head, tail = File.split(self)
|
27
|
+
return [self] if head == self
|
28
|
+
return [tail] if head == '.' || tail == '/'
|
29
|
+
return [head, tail] if head == '/'
|
30
|
+
return head.pathmap_explode + [tail]
|
31
|
+
end
|
32
|
+
protected :pathmap_explode
|
33
|
+
|
34
|
+
# Extract a partial path from the path. Include +n+ directories from the
|
35
|
+
# front end (left hand side) if +n+ is positive. Include |+n+|
|
36
|
+
# directories from the back end (right hand side) if +n+ is negative.
|
37
|
+
def pathmap_partial(n)
|
38
|
+
dirs = File.dirname(self).pathmap_explode
|
39
|
+
partial_dirs =
|
40
|
+
if n > 0
|
41
|
+
dirs[0...n]
|
42
|
+
elsif n < 0
|
43
|
+
dirs.reverse[0...-n].reverse
|
44
|
+
else
|
45
|
+
"."
|
46
|
+
end
|
47
|
+
File.join(partial_dirs)
|
48
|
+
end
|
49
|
+
protected :pathmap_partial
|
50
|
+
|
51
|
+
# Preform the pathmap replacement operations on the given path. The
|
52
|
+
# patterns take the form 'pat1,rep1;pat2,rep2...'.
|
53
|
+
def pathmap_replace(patterns, &block)
|
54
|
+
result = self
|
55
|
+
patterns.split(';').each do |pair|
|
56
|
+
pattern, replacement = pair.split(',')
|
57
|
+
pattern = Regexp.new(pattern)
|
58
|
+
if replacement == '*' && block_given?
|
59
|
+
result = result.sub(pattern, &block)
|
60
|
+
elsif replacement
|
61
|
+
result = result.sub(pattern, replacement)
|
62
|
+
else
|
63
|
+
result = result.sub(pattern, '')
|
64
|
+
end
|
65
|
+
end
|
66
|
+
result
|
67
|
+
end
|
68
|
+
protected :pathmap_replace
|
69
|
+
|
70
|
+
# Map the path according to the given specification. The specification
|
71
|
+
# controls the details of the mapping. The following special patterns are
|
72
|
+
# recognized:
|
73
|
+
#
|
74
|
+
# * <b>%p</b> -- The complete path.
|
75
|
+
# * <b>%f</b> -- The base file name of the path, with its file extension,
|
76
|
+
# but without any directories.
|
77
|
+
# * <b>%n</b> -- The file name of the path without its file extension.
|
78
|
+
# * <b>%d</b> -- The directory list of the path.
|
79
|
+
# * <b>%x</b> -- The file extension of the path. An empty string if there
|
80
|
+
# is no extension.
|
81
|
+
# * <b>%X</b> -- Everything *but* the file extension.
|
82
|
+
# * <b>%s</b> -- The alternate file separator if defined, otherwise use
|
83
|
+
# the standard file separator.
|
84
|
+
# * <b>%%</b> -- A percent sign.
|
85
|
+
#
|
86
|
+
# The %d specifier can also have a numeric prefix (e.g. '%2d'). If the
|
87
|
+
# number is positive, only return (up to) +n+ directories in the path,
|
88
|
+
# starting from the left hand side. If +n+ is negative, return (up to)
|
89
|
+
# |+n+| directories from the right hand side of the path.
|
90
|
+
#
|
91
|
+
# Examples:
|
92
|
+
#
|
93
|
+
# 'a/b/c/d/file.txt'.pathmap("%2d") => 'a/b'
|
94
|
+
# 'a/b/c/d/file.txt'.pathmap("%-2d") => 'c/d'
|
95
|
+
#
|
96
|
+
# Also the %d, %p, %f, %n, %x, and %X operators can take a
|
97
|
+
# pattern/replacement argument to perform simple string substitutions on a
|
98
|
+
# particular part of the path. The pattern and replacement are separated
|
99
|
+
# by a comma and are enclosed by curly braces. The replacement spec comes
|
100
|
+
# after the % character but before the operator letter. (e.g.
|
101
|
+
# "%{old,new}d"). Multiple replacement specs should be separated by
|
102
|
+
# semi-colons (e.g. "%{old,new;src,bin}d").
|
103
|
+
#
|
104
|
+
# Regular expressions may be used for the pattern, and back refs may be
|
105
|
+
# used in the replacement text. Curly braces, commas and semi-colons are
|
106
|
+
# excluded from both the pattern and replacement text (let's keep parsing
|
107
|
+
# reasonable).
|
108
|
+
#
|
109
|
+
# For example:
|
110
|
+
#
|
111
|
+
# "src/org/onestepback/proj/A.java".pathmap("%{^src,bin}X.class")
|
112
|
+
#
|
113
|
+
# returns:
|
114
|
+
#
|
115
|
+
# "bin/org/onestepback/proj/A.class"
|
116
|
+
#
|
117
|
+
# If the replacement text is '*', then a block may be provided to perform
|
118
|
+
# some arbitrary calculation for the replacement.
|
119
|
+
#
|
120
|
+
# For example:
|
121
|
+
#
|
122
|
+
# "/path/to/file.TXT".pathmap("%X%{.*,*}x") { |ext|
|
123
|
+
# ext.downcase
|
124
|
+
# }
|
125
|
+
#
|
126
|
+
# Returns:
|
127
|
+
#
|
128
|
+
# "/path/to/file.txt"
|
129
|
+
#
|
130
|
+
def pathmap(spec=nil, &block)
|
131
|
+
return self if spec.nil?
|
132
|
+
result = ''
|
133
|
+
spec.scan(/%\{[^}]*\}-?\d*[sdpfnxX%]|%-?\d+d|%.|[^%]+/) do |frag|
|
134
|
+
case frag
|
135
|
+
when '%f'
|
136
|
+
result << File.basename(self)
|
137
|
+
when '%n'
|
138
|
+
result << File.basename(self).ext
|
139
|
+
when '%d'
|
140
|
+
result << File.dirname(self)
|
141
|
+
when '%x'
|
142
|
+
result << File.extname(self)
|
143
|
+
when '%X'
|
144
|
+
result << self.ext
|
145
|
+
when '%p'
|
146
|
+
result << self
|
147
|
+
when '%s'
|
148
|
+
result << (File::ALT_SEPARATOR || File::SEPARATOR)
|
149
|
+
when '%-'
|
150
|
+
# do nothing
|
151
|
+
when '%%'
|
152
|
+
result << "%"
|
153
|
+
when /%(-?\d+)d/
|
154
|
+
result << pathmap_partial($1.to_i)
|
155
|
+
when /^%\{([^}]*)\}(\d*[dpfnxX])/
|
156
|
+
patterns, operator = $1, $2
|
157
|
+
result << pathmap('%' + operator).pathmap_replace(patterns, &block)
|
158
|
+
when /^%/
|
159
|
+
fail ArgumentError, "Unknown pathmap specifier #{frag} in '#{spec}'"
|
160
|
+
else
|
161
|
+
result << frag
|
162
|
+
end
|
163
|
+
end
|
164
|
+
result
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
168
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
#--
|
2
|
+
# Extensions to time to allow comparisons with an early time class.
|
3
|
+
|
4
|
+
require 'rake/early_time'
|
5
|
+
|
6
|
+
class Time
|
7
|
+
alias rake_original_time_compare :<=>
|
8
|
+
def <=>(other)
|
9
|
+
if Rake::EarlyTime === other
|
10
|
+
- other.<=>(self)
|
11
|
+
else
|
12
|
+
rake_original_time_compare(other)
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
require 'rake/file_task'
|
2
|
+
require 'rake/early_time'
|
3
|
+
|
4
|
+
module Rake
|
5
|
+
|
6
|
+
# A FileCreationTask is a file task that when used as a dependency will be
|
7
|
+
# needed if and only if the file has not been created. Once created, it is
|
8
|
+
# not re-triggered if any of its dependencies are newer, nor does trigger
|
9
|
+
# any rebuilds of tasks that depend on it whenever it is updated.
|
10
|
+
#
|
11
|
+
class FileCreationTask < FileTask
|
12
|
+
# Is this file task needed? Yes if it doesn't exist.
|
13
|
+
def needed?
|
14
|
+
! File.exist?(name)
|
15
|
+
end
|
16
|
+
|
17
|
+
# Time stamp for file creation task. This time stamp is earlier
|
18
|
+
# than any other time stamp.
|
19
|
+
def timestamp
|
20
|
+
Rake::EARLY
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
end
|
@@ -0,0 +1,410 @@
|
|
1
|
+
require 'rake/cloneable'
|
2
|
+
require 'rake/file_utils_ext'
|
3
|
+
require 'rake/pathmap'
|
4
|
+
|
5
|
+
######################################################################
|
6
|
+
module Rake
|
7
|
+
|
8
|
+
# #########################################################################
|
9
|
+
# A FileList is essentially an array with a few helper methods defined to
|
10
|
+
# make file manipulation a bit easier.
|
11
|
+
#
|
12
|
+
# FileLists are lazy. When given a list of glob patterns for possible files
|
13
|
+
# to be included in the file list, instead of searching the file structures
|
14
|
+
# to find the files, a FileList holds the pattern for latter use.
|
15
|
+
#
|
16
|
+
# This allows us to define a number of FileList to match any number of
|
17
|
+
# files, but only search out the actual files when then FileList itself is
|
18
|
+
# actually used. The key is that the first time an element of the
|
19
|
+
# FileList/Array is requested, the pending patterns are resolved into a real
|
20
|
+
# list of file names.
|
21
|
+
#
|
22
|
+
class FileList
|
23
|
+
|
24
|
+
include Cloneable
|
25
|
+
|
26
|
+
# == Method Delegation
|
27
|
+
#
|
28
|
+
# The lazy evaluation magic of FileLists happens by implementing all the
|
29
|
+
# array specific methods to call +resolve+ before delegating the heavy
|
30
|
+
# lifting to an embedded array object (@items).
|
31
|
+
#
|
32
|
+
# In addition, there are two kinds of delegation calls. The regular kind
|
33
|
+
# delegates to the @items array and returns the result directly. Well,
|
34
|
+
# almost directly. It checks if the returned value is the @items object
|
35
|
+
# itself, and if so will return the FileList object instead.
|
36
|
+
#
|
37
|
+
# The second kind of delegation call is used in methods that normally
|
38
|
+
# return a new Array object. We want to capture the return value of these
|
39
|
+
# methods and wrap them in a new FileList object. We enumerate these
|
40
|
+
# methods in the +SPECIAL_RETURN+ list below.
|
41
|
+
|
42
|
+
# List of array methods (that are not in +Object+) that need to be
|
43
|
+
# delegated.
|
44
|
+
ARRAY_METHODS = (Array.instance_methods - Object.instance_methods).map { |n| n.to_s }
|
45
|
+
|
46
|
+
# List of additional methods that must be delegated.
|
47
|
+
MUST_DEFINE = %w[to_a inspect <=>]
|
48
|
+
|
49
|
+
# List of methods that should not be delegated here (we define special
|
50
|
+
# versions of them explicitly below).
|
51
|
+
MUST_NOT_DEFINE = %w[to_a to_ary partition *]
|
52
|
+
|
53
|
+
# List of delegated methods that return new array values which need
|
54
|
+
# wrapping.
|
55
|
+
SPECIAL_RETURN = %w[
|
56
|
+
map collect sort sort_by select find_all reject grep
|
57
|
+
compact flatten uniq values_at
|
58
|
+
+ - & |
|
59
|
+
]
|
60
|
+
|
61
|
+
DELEGATING_METHODS = (ARRAY_METHODS + MUST_DEFINE - MUST_NOT_DEFINE).collect{ |s| s.to_s }.sort.uniq
|
62
|
+
|
63
|
+
# Now do the delegation.
|
64
|
+
DELEGATING_METHODS.each_with_index do |sym, i|
|
65
|
+
if SPECIAL_RETURN.include?(sym)
|
66
|
+
ln = __LINE__+1
|
67
|
+
class_eval %{
|
68
|
+
def #{sym}(*args, &block)
|
69
|
+
resolve
|
70
|
+
result = @items.send(:#{sym}, *args, &block)
|
71
|
+
FileList.new.import(result)
|
72
|
+
end
|
73
|
+
}, __FILE__, ln
|
74
|
+
else
|
75
|
+
ln = __LINE__+1
|
76
|
+
class_eval %{
|
77
|
+
def #{sym}(*args, &block)
|
78
|
+
resolve
|
79
|
+
result = @items.send(:#{sym}, *args, &block)
|
80
|
+
result.object_id == @items.object_id ? self : result
|
81
|
+
end
|
82
|
+
}, __FILE__, ln
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
86
|
+
# Create a file list from the globbable patterns given. If you wish to
|
87
|
+
# perform multiple includes or excludes at object build time, use the
|
88
|
+
# "yield self" pattern.
|
89
|
+
#
|
90
|
+
# Example:
|
91
|
+
# file_list = FileList.new('lib/**/*.rb', 'test/test*.rb')
|
92
|
+
#
|
93
|
+
# pkg_files = FileList.new('lib/**/*') do |fl|
|
94
|
+
# fl.exclude(/\bCVS\b/)
|
95
|
+
# end
|
96
|
+
#
|
97
|
+
def initialize(*patterns)
|
98
|
+
@pending_add = []
|
99
|
+
@pending = false
|
100
|
+
@exclude_patterns = DEFAULT_IGNORE_PATTERNS.dup
|
101
|
+
@exclude_procs = DEFAULT_IGNORE_PROCS.dup
|
102
|
+
@items = []
|
103
|
+
patterns.each { |pattern| include(pattern) }
|
104
|
+
yield self if block_given?
|
105
|
+
end
|
106
|
+
|
107
|
+
# Add file names defined by glob patterns to the file list. If an array
|
108
|
+
# is given, add each element of the array.
|
109
|
+
#
|
110
|
+
# Example:
|
111
|
+
# file_list.include("*.java", "*.cfg")
|
112
|
+
# file_list.include %w( math.c lib.h *.o )
|
113
|
+
#
|
114
|
+
def include(*filenames)
|
115
|
+
# TODO: check for pending
|
116
|
+
filenames.each do |fn|
|
117
|
+
if fn.respond_to? :to_ary
|
118
|
+
include(*fn.to_ary)
|
119
|
+
else
|
120
|
+
@pending_add << fn
|
121
|
+
end
|
122
|
+
end
|
123
|
+
@pending = true
|
124
|
+
self
|
125
|
+
end
|
126
|
+
alias :add :include
|
127
|
+
|
128
|
+
# Register a list of file name patterns that should be excluded from the
|
129
|
+
# list. Patterns may be regular expressions, glob patterns or regular
|
130
|
+
# strings. In addition, a block given to exclude will remove entries that
|
131
|
+
# return true when given to the block.
|
132
|
+
#
|
133
|
+
# Note that glob patterns are expanded against the file system. If a file
|
134
|
+
# is explicitly added to a file list, but does not exist in the file
|
135
|
+
# system, then an glob pattern in the exclude list will not exclude the
|
136
|
+
# file.
|
137
|
+
#
|
138
|
+
# Examples:
|
139
|
+
# FileList['a.c', 'b.c'].exclude("a.c") => ['b.c']
|
140
|
+
# FileList['a.c', 'b.c'].exclude(/^a/) => ['b.c']
|
141
|
+
#
|
142
|
+
# If "a.c" is a file, then ...
|
143
|
+
# FileList['a.c', 'b.c'].exclude("a.*") => ['b.c']
|
144
|
+
#
|
145
|
+
# If "a.c" is not a file, then ...
|
146
|
+
# FileList['a.c', 'b.c'].exclude("a.*") => ['a.c', 'b.c']
|
147
|
+
#
|
148
|
+
def exclude(*patterns, &block)
|
149
|
+
patterns.each do |pat|
|
150
|
+
@exclude_patterns << pat
|
151
|
+
end
|
152
|
+
if block_given?
|
153
|
+
@exclude_procs << block
|
154
|
+
end
|
155
|
+
resolve_exclude if ! @pending
|
156
|
+
self
|
157
|
+
end
|
158
|
+
|
159
|
+
|
160
|
+
# Clear all the exclude patterns so that we exclude nothing.
|
161
|
+
def clear_exclude
|
162
|
+
@exclude_patterns = []
|
163
|
+
@exclude_procs = []
|
164
|
+
self
|
165
|
+
end
|
166
|
+
|
167
|
+
# Define equality.
|
168
|
+
def ==(array)
|
169
|
+
to_ary == array
|
170
|
+
end
|
171
|
+
|
172
|
+
# Return the internal array object.
|
173
|
+
def to_a
|
174
|
+
resolve
|
175
|
+
@items
|
176
|
+
end
|
177
|
+
|
178
|
+
# Return the internal array object.
|
179
|
+
def to_ary
|
180
|
+
to_a
|
181
|
+
end
|
182
|
+
|
183
|
+
# Lie about our class.
|
184
|
+
def is_a?(klass)
|
185
|
+
klass == Array || super(klass)
|
186
|
+
end
|
187
|
+
alias kind_of? is_a?
|
188
|
+
|
189
|
+
# Redefine * to return either a string or a new file list.
|
190
|
+
def *(other)
|
191
|
+
result = @items * other
|
192
|
+
case result
|
193
|
+
when Array
|
194
|
+
FileList.new.import(result)
|
195
|
+
else
|
196
|
+
result
|
197
|
+
end
|
198
|
+
end
|
199
|
+
|
200
|
+
# Resolve all the pending adds now.
|
201
|
+
def resolve
|
202
|
+
if @pending
|
203
|
+
@pending = false
|
204
|
+
@pending_add.each do |fn| resolve_add(fn) end
|
205
|
+
@pending_add = []
|
206
|
+
resolve_exclude
|
207
|
+
end
|
208
|
+
self
|
209
|
+
end
|
210
|
+
|
211
|
+
def resolve_add(fn)
|
212
|
+
case fn
|
213
|
+
when %r{[*?\[\{]}
|
214
|
+
add_matching(fn)
|
215
|
+
else
|
216
|
+
self << fn
|
217
|
+
end
|
218
|
+
end
|
219
|
+
private :resolve_add
|
220
|
+
|
221
|
+
def resolve_exclude
|
222
|
+
reject! { |fn| exclude?(fn) }
|
223
|
+
self
|
224
|
+
end
|
225
|
+
private :resolve_exclude
|
226
|
+
|
227
|
+
# Return a new FileList with the results of running +sub+ against each
|
228
|
+
# element of the original list.
|
229
|
+
#
|
230
|
+
# Example:
|
231
|
+
# FileList['a.c', 'b.c'].sub(/\.c$/, '.o') => ['a.o', 'b.o']
|
232
|
+
#
|
233
|
+
def sub(pat, rep)
|
234
|
+
inject(FileList.new) { |res, fn| res << fn.sub(pat,rep) }
|
235
|
+
end
|
236
|
+
|
237
|
+
# Return a new FileList with the results of running +gsub+ against each
|
238
|
+
# element of the original list.
|
239
|
+
#
|
240
|
+
# Example:
|
241
|
+
# FileList['lib/test/file', 'x/y'].gsub(/\//, "\\")
|
242
|
+
# => ['lib\\test\\file', 'x\\y']
|
243
|
+
#
|
244
|
+
def gsub(pat, rep)
|
245
|
+
inject(FileList.new) { |res, fn| res << fn.gsub(pat,rep) }
|
246
|
+
end
|
247
|
+
|
248
|
+
# Same as +sub+ except that the original file list is modified.
|
249
|
+
def sub!(pat, rep)
|
250
|
+
each_with_index { |fn, i| self[i] = fn.sub(pat,rep) }
|
251
|
+
self
|
252
|
+
end
|
253
|
+
|
254
|
+
# Same as +gsub+ except that the original file list is modified.
|
255
|
+
def gsub!(pat, rep)
|
256
|
+
each_with_index { |fn, i| self[i] = fn.gsub(pat,rep) }
|
257
|
+
self
|
258
|
+
end
|
259
|
+
|
260
|
+
# Apply the pathmap spec to each of the included file names, returning a
|
261
|
+
# new file list with the modified paths. (See String#pathmap for
|
262
|
+
# details.)
|
263
|
+
def pathmap(spec=nil)
|
264
|
+
collect { |fn| fn.pathmap(spec) }
|
265
|
+
end
|
266
|
+
|
267
|
+
# Return a new FileList with <tt>String#ext</tt> method applied to
|
268
|
+
# each member of the array.
|
269
|
+
#
|
270
|
+
# This method is a shortcut for:
|
271
|
+
#
|
272
|
+
# array.collect { |item| item.ext(newext) }
|
273
|
+
#
|
274
|
+
# +ext+ is a user added method for the Array class.
|
275
|
+
def ext(newext='')
|
276
|
+
collect { |fn| fn.ext(newext) }
|
277
|
+
end
|
278
|
+
|
279
|
+
|
280
|
+
# Grep each of the files in the filelist using the given pattern. If a
|
281
|
+
# block is given, call the block on each matching line, passing the file
|
282
|
+
# name, line number, and the matching line of text. If no block is given,
|
283
|
+
# a standard emacs style file:linenumber:line message will be printed to
|
284
|
+
# standard out. Returns the number of matched items.
|
285
|
+
def egrep(pattern, *options)
|
286
|
+
matched = 0
|
287
|
+
each do |fn|
|
288
|
+
begin
|
289
|
+
open(fn, "r", *options) do |inf|
|
290
|
+
count = 0
|
291
|
+
inf.each do |line|
|
292
|
+
count += 1
|
293
|
+
if pattern.match(line)
|
294
|
+
matched += 1
|
295
|
+
if block_given?
|
296
|
+
yield fn, count, line
|
297
|
+
else
|
298
|
+
puts "#{fn}:#{count}:#{line}"
|
299
|
+
end
|
300
|
+
end
|
301
|
+
end
|
302
|
+
end
|
303
|
+
rescue StandardError => ex
|
304
|
+
$stderr.puts "Error while processing '#{fn}': #{ex}"
|
305
|
+
end
|
306
|
+
end
|
307
|
+
matched
|
308
|
+
end
|
309
|
+
|
310
|
+
# Return a new file list that only contains file names from the current
|
311
|
+
# file list that exist on the file system.
|
312
|
+
def existing
|
313
|
+
select { |fn| File.exist?(fn) }
|
314
|
+
end
|
315
|
+
|
316
|
+
# Modify the current file list so that it contains only file name that
|
317
|
+
# exist on the file system.
|
318
|
+
def existing!
|
319
|
+
resolve
|
320
|
+
@items = @items.select { |fn| File.exist?(fn) }
|
321
|
+
self
|
322
|
+
end
|
323
|
+
|
324
|
+
# FileList version of partition. Needed because the nested arrays should
|
325
|
+
# be FileLists in this version.
|
326
|
+
def partition(&block) # :nodoc:
|
327
|
+
resolve
|
328
|
+
result = @items.partition(&block)
|
329
|
+
[
|
330
|
+
FileList.new.import(result[0]),
|
331
|
+
FileList.new.import(result[1]),
|
332
|
+
]
|
333
|
+
end
|
334
|
+
|
335
|
+
# Convert a FileList to a string by joining all elements with a space.
|
336
|
+
def to_s
|
337
|
+
resolve
|
338
|
+
self.join(' ')
|
339
|
+
end
|
340
|
+
|
341
|
+
# Add matching glob patterns.
|
342
|
+
def add_matching(pattern)
|
343
|
+
FileList.glob(pattern).each do |fn|
|
344
|
+
self << fn unless exclude?(fn)
|
345
|
+
end
|
346
|
+
end
|
347
|
+
private :add_matching
|
348
|
+
|
349
|
+
# Should the given file name be excluded?
|
350
|
+
def exclude?(fn)
|
351
|
+
return true if @exclude_patterns.any? do |pat|
|
352
|
+
case pat
|
353
|
+
when Regexp
|
354
|
+
fn =~ pat
|
355
|
+
when /[*?]/
|
356
|
+
File.fnmatch?(pat, fn, File::FNM_PATHNAME)
|
357
|
+
else
|
358
|
+
fn == pat
|
359
|
+
end
|
360
|
+
end
|
361
|
+
@exclude_procs.any? { |p| p.call(fn) }
|
362
|
+
end
|
363
|
+
|
364
|
+
DEFAULT_IGNORE_PATTERNS = [
|
365
|
+
/(^|[\/\\])CVS([\/\\]|$)/,
|
366
|
+
/(^|[\/\\])\.svn([\/\\]|$)/,
|
367
|
+
/\.bak$/,
|
368
|
+
/~$/
|
369
|
+
]
|
370
|
+
DEFAULT_IGNORE_PROCS = [
|
371
|
+
proc { |fn| fn =~ /(^|[\/\\])core$/ && ! File.directory?(fn) }
|
372
|
+
]
|
373
|
+
|
374
|
+
def import(array)
|
375
|
+
@items = array
|
376
|
+
self
|
377
|
+
end
|
378
|
+
|
379
|
+
class << self
|
380
|
+
# Create a new file list including the files listed. Similar to:
|
381
|
+
#
|
382
|
+
# FileList.new(*args)
|
383
|
+
def [](*args)
|
384
|
+
new(*args)
|
385
|
+
end
|
386
|
+
|
387
|
+
# Get a sorted list of files matching the pattern. This method
|
388
|
+
# should be prefered to Dir[pattern] and Dir.glob(pattern) because
|
389
|
+
# the files returned are guaranteed to be sorted.
|
390
|
+
def glob(pattern, *args)
|
391
|
+
Dir.glob(pattern, *args).sort
|
392
|
+
end
|
393
|
+
end
|
394
|
+
end
|
395
|
+
end
|
396
|
+
|
397
|
+
module Rake
|
398
|
+
class << self
|
399
|
+
|
400
|
+
# Yield each file or directory component.
|
401
|
+
def each_dir_parent(dir) # :nodoc:
|
402
|
+
old_length = nil
|
403
|
+
while dir != '.' && dir.length != old_length
|
404
|
+
yield(dir)
|
405
|
+
old_length = dir.length
|
406
|
+
dir = File.dirname(dir)
|
407
|
+
end
|
408
|
+
end
|
409
|
+
end
|
410
|
+
end # module Rake
|
@@ -0,0 +1,47 @@
|
|
1
|
+
require 'rake/task.rb'
|
2
|
+
require 'rake/early_time'
|
3
|
+
|
4
|
+
module Rake
|
5
|
+
# #########################################################################
|
6
|
+
# A FileTask is a task that includes time based dependencies. If any of a
|
7
|
+
# FileTask's prerequisites have a timestamp that is later than the file
|
8
|
+
# represented by this task, then the file must be rebuilt (using the
|
9
|
+
# supplied actions).
|
10
|
+
#
|
11
|
+
class FileTask < Task
|
12
|
+
|
13
|
+
# Is this file task needed? Yes if it doesn't exist, or if its time stamp
|
14
|
+
# is out of date.
|
15
|
+
def needed?
|
16
|
+
! File.exist?(name) || out_of_date?(timestamp)
|
17
|
+
end
|
18
|
+
|
19
|
+
# Time stamp for file task.
|
20
|
+
def timestamp
|
21
|
+
if File.exist?(name)
|
22
|
+
File.mtime(name.to_s)
|
23
|
+
else
|
24
|
+
Rake::EARLY
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
private
|
29
|
+
|
30
|
+
# Are there any prerequisites with a later time than the given time stamp?
|
31
|
+
def out_of_date?(stamp)
|
32
|
+
@prerequisites.any? { |n| application[n, @scope].timestamp > stamp}
|
33
|
+
end
|
34
|
+
|
35
|
+
# ----------------------------------------------------------------
|
36
|
+
# Task class methods.
|
37
|
+
#
|
38
|
+
class << self
|
39
|
+
# Apply the scope to the task name according to the rules for this kind
|
40
|
+
# of task. File based tasks ignore the scope when creating the name.
|
41
|
+
def scope_name(scope, task_name)
|
42
|
+
task_name
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|