social_url_stats 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.gitignore +17 -0
- data/.ruby-version +1 -0
- data/Gemfile +12 -0
- data/LICENSE.txt +22 -0
- data/README.md +59 -0
- data/Rakefile +7 -0
- data/lib/social_url_stats.rb +8 -0
- data/lib/social_url_stats/counter.rb +54 -0
- data/lib/social_url_stats/version.rb +3 -0
- data/social_url_stats.gemspec +23 -0
- data/test/counter_test.rb +66 -0
- data/test/test_helper.rb +7 -0
- data/vendor/ruby/1.9.1/bin/cdiff +23 -0
- data/vendor/ruby/1.9.1/bin/colortab +23 -0
- data/vendor/ruby/1.9.1/bin/decolor +23 -0
- data/vendor/ruby/1.9.1/bin/rake +23 -0
- data/vendor/ruby/1.9.1/bin/term_display +23 -0
- data/vendor/ruby/1.9.1/bin/term_mandel +23 -0
- data/vendor/ruby/1.9.1/bin/watchr +23 -0
- data/vendor/ruby/1.9.1/build_info/active_support-3.0.0.info +1 -0
- data/vendor/ruby/1.9.1/build_info/activesupport-3.0.0.info +1 -0
- data/vendor/ruby/1.9.1/build_info/autotest-fsevent-0.2.9.info +1 -0
- data/vendor/ruby/1.9.1/build_info/autotest-growl-0.2.16.info +1 -0
- data/vendor/ruby/1.9.1/build_info/autotest-standalone-4.5.11.info +1 -0
- data/vendor/ruby/1.9.1/build_info/ffi-1.9.3.info +1 -0
- data/vendor/ruby/1.9.1/build_info/i18n-0.6.9.info +1 -0
- data/vendor/ruby/1.9.1/build_info/minitest-5.2.0.info +1 -0
- data/vendor/ruby/1.9.1/build_info/mynyml-redgreen-0.7.1.info +1 -0
- data/vendor/ruby/1.9.1/build_info/rake-10.1.0.info +1 -0
- data/vendor/ruby/1.9.1/build_info/ruby-fsevent-0.2.1.info +1 -0
- data/vendor/ruby/1.9.1/build_info/sys-uname-0.9.2.info +1 -0
- data/vendor/ruby/1.9.1/build_info/term-ansicolor-1.2.2.info +1 -0
- data/vendor/ruby/1.9.1/build_info/tins-0.13.1.info +1 -0
- data/vendor/ruby/1.9.1/build_info/vcr-2.8.0.info +1 -0
- data/vendor/ruby/1.9.1/build_info/watchr-0.7.info +1 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/CHANGELOG +1457 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/README.rdoc +33 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support.rb +79 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/all.rb +3 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/backtrace_cleaner.rb +94 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/base64.rb +42 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/basic_object.rb +21 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/benchmarkable.rb +60 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/buffered_logger.rb +136 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/builder.rb +6 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/cache.rb +638 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/cache/compressed_mem_cache_store.rb +13 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/cache/file_store.rb +189 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/cache/mem_cache_store.rb +190 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/cache/memory_store.rb +159 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/cache/strategy/local_cache.rb +164 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/cache/synchronized_memory_store.rb +11 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/callbacks.rb +600 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/concern.rb +64 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/configurable.rb +36 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext.rb +3 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/array.rb +7 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/array/access.rb +46 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/array/conversions.rb +164 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/array/extract_options.rb +29 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/array/grouping.rb +100 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/array/random_access.rb +27 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/array/uniq_by.rb +17 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/array/wrap.rb +48 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/benchmark.rb +7 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/big_decimal.rb +1 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/big_decimal/conversions.rb +27 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/cgi.rb +1 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/cgi/escape_skipping_slashes.rb +19 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/class.rb +5 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/class/attribute.rb +90 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/class/attribute_accessors.rb +79 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/class/delegating_attributes.rb +44 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/class/inheritable_attributes.rb +254 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/class/subclasses.rb +50 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/date/acts_like.rb +8 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/date/calculations.rb +241 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/date/conversions.rb +99 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/date/freeze.rb +31 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/date/zones.rb +14 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/date_time/acts_like.rb +13 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/date_time/calculations.rb +114 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/date_time/conversions.rb +103 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/date_time/zones.rb +21 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/enumerable.rb +120 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/exception.rb +3 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/file.rb +2 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/file/atomic.rb +41 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/file/path.rb +5 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/float.rb +1 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/float/rounding.rb +19 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/hash.rb +8 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/hash/conversions.rb +150 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/hash/deep_merge.rb +16 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/hash/diff.rb +13 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/hash/except.rb +23 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/hash/indifferent_access.rb +12 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/hash/keys.rb +45 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/hash/reverse_merge.rb +28 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/hash/slice.rb +38 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/integer.rb +3 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/integer/inflections.rb +14 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/integer/multiple.rb +6 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/integer/time.rb +39 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/kernel.rb +5 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/kernel/agnostics.rb +11 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/kernel/debugger.rb +16 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/kernel/reporting.rb +62 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/kernel/requires.rb +26 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/kernel/singleton_class.rb +13 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/load_error.rb +23 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/logger.rb +108 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/module.rb +12 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/module/aliasing.rb +70 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/module/anonymous.rb +24 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/module/attr_accessor_with_default.rb +31 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/module/attr_internal.rb +32 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/module/attribute_accessors.rb +60 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/module/delegation.rb +146 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/module/deprecation.rb +9 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/module/introspection.rb +88 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/module/method_names.rb +14 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/module/reachable.rb +10 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/module/remove_method.rb +11 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/module/synchronization.rb +42 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/name_error.rb +18 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/numeric.rb +2 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/numeric/bytes.rb +44 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/numeric/time.rb +77 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/object.rb +13 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/object/acts_like.rb +10 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/object/blank.rb +76 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/object/conversions.rb +4 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/object/duplicable.rb +65 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/object/instance_variables.rb +67 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/object/returning.rb +43 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/object/to_json.rb +19 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/object/to_param.rb +49 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/object/to_query.rb +27 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/object/try.rb +36 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/object/with_options.rb +26 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/proc.rb +14 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/process.rb +1 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/process/daemon.rb +23 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/range.rb +4 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/range/blockless_step.rb +29 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/range/conversions.rb +21 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/range/include_range.rb +21 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/range/overlaps.rb +8 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/regexp.rb +5 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/rexml.rb +46 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string.rb +13 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/access.rb +99 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/behavior.rb +7 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/conversions.rb +53 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/encoding.rb +11 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/exclude.rb +6 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/filters.rb +49 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/inflections.rb +164 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/interpolation.rb +2 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/multibyte.rb +72 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/output_safety.rb +109 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/starts_ends_with.rb +4 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/strip.rb +24 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/xchar.rb +18 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/time/acts_like.rb +8 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/time/calculations.rb +287 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/time/conversions.rb +85 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/time/marshal.rb +56 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/time/publicize_conversion_methods.rb +10 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/time/zones.rb +75 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/uri.rb +22 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb +662 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies/autoload.rb +50 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/deprecation.rb +18 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/deprecation/behaviors.rb +42 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/deprecation/method_wrappers.rb +29 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/deprecation/proxy_wrappers.rb +81 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/deprecation/reporting.rb +61 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/descendants_tracker.rb +43 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/duration.rb +105 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/file_update_checker.rb +36 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/gzip.rb +25 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/hash_with_indifferent_access.rb +151 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/i18n.rb +9 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/i18n_railtie.rb +81 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/inflections.rb +56 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/inflector.rb +7 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/inflector/inflections.rb +211 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/inflector/methods.rb +151 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/inflector/transliterate.rb +97 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/json.rb +2 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/json/backends/jsongem.rb +43 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/json/backends/yajl.rb +40 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/json/backends/yaml.rb +90 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/json/decoding.rb +51 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/json/encoding.rb +241 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/json/variable.rb +9 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/lazy_load_hooks.rb +46 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/locale/en.yml +36 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/log_subscriber.rb +122 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/log_subscriber/test_helper.rb +99 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/memoizable.rb +103 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/message_encryptor.rb +71 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/message_verifier.rb +62 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/multibyte.rb +44 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/multibyte/chars.rb +476 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/multibyte/exceptions.rb +8 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/multibyte/unicode.rb +392 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/multibyte/utils.rb +60 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/notifications.rb +78 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/notifications/fanout.rb +61 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/notifications/instrumenter.rb +54 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/option_merger.rb +25 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/ordered_hash.rb +179 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/ordered_options.rb +27 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/railtie.rb +60 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/rescuable.rb +114 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/ruby/shim.rb +22 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/secure_random.rb +199 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/string_inquirer.rb +21 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/test_case.rb +42 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/testing/assertions.rb +84 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/testing/declarative.rb +40 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/testing/default.rb +9 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/testing/deprecation.rb +55 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/testing/isolation.rb +157 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/testing/pending.rb +48 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/testing/performance.rb +425 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/testing/setup_and_teardown.rb +111 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/time.rb +35 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/time/autoload.rb +5 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/time_with_zone.rb +342 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/values/time_zone.rb +379 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/values/unicode_tables.dat +0 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/version.rb +9 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/whiny_nil.rb +60 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/xml_mini.rb +162 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/xml_mini/jdom.rb +168 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/xml_mini/libxml.rb +79 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/xml_mini/libxmlsax.rb +85 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/xml_mini/nokogiri.rb +83 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/xml_mini/nokogirisax.rb +88 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/xml_mini/rexml.rb +129 -0
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/.autotest +34 -0
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/.gemtest +0 -0
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/History.txt +967 -0
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/Manifest.txt +26 -0
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/README.txt +514 -0
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/Rakefile +67 -0
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/design_rationale.rb +52 -0
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/hoe/minitest.rb +26 -0
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/minitest.rb +766 -0
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/minitest/assertions.rb +661 -0
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/minitest/autorun.rb +12 -0
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/minitest/benchmark.rb +423 -0
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/minitest/expectations.rb +281 -0
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/minitest/hell.rb +11 -0
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/minitest/mock.rb +220 -0
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/minitest/parallel.rb +40 -0
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/minitest/pride.rb +4 -0
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/minitest/pride_plugin.rb +143 -0
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/minitest/spec.rb +277 -0
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/minitest/test.rb +283 -0
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/minitest/unit.rb +45 -0
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/test/minitest/metametameta.rb +80 -0
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/test/minitest/test_minitest_benchmark.rb +130 -0
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/test/minitest/test_minitest_mock.rb +489 -0
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/test/minitest/test_minitest_reporter.rb +313 -0
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/test/minitest/test_minitest_spec.rb +799 -0
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/test/minitest/test_minitest_unit.rb +1865 -0
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/.gitignore +2 -0
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/LICENSE +19 -0
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/Manifest +25 -0
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/README +32 -0
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/Rakefile +48 -0
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/lib/redgreen.rb +17 -0
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/lib/redgreen/minitest.rb +20 -0
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/lib/redgreen/nanotest.rb +9 -0
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/lib/redgreen/testunit.rb +21 -0
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/mynyml-redgreen.gemspec +22 -0
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/specs.watchr +25 -0
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/README +11 -0
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/contest/test_failure.rb +8 -0
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/contest/test_success.rb +8 -0
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/context/test_failure.rb +8 -0
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/context/test_success.rb +8 -0
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/minitest/test_failure.rb +8 -0
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/minitest/test_success.rb +8 -0
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/nanotest/test_failure.rb +5 -0
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/nanotest/test_success.rb +5 -0
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/shoulda/test_failure.rb +8 -0
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/shoulda/test_success.rb +8 -0
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/tests.rake +35 -0
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/testunit/test_failure.rb +8 -0
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/testunit/test_success.rb +8 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/.gemtest +0 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/CHANGES +530 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/MIT-LICENSE +21 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/README.rdoc +187 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/Rakefile +375 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/TODO +21 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/bin/rake +33 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/install.rb +80 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake.rb +73 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/alt_system.rb +108 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/application.rb +728 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/backtrace.rb +20 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/clean.rb +55 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/cloneable.rb +16 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/contrib/compositepublisher.rb +21 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/contrib/ftptools.rb +139 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/contrib/publisher.rb +73 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/contrib/rubyforgepublisher.rb +16 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/contrib/sshpublisher.rb +50 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/contrib/sys.rb +2 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/default_loader.rb +10 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/dsl_definition.rb +157 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/early_time.rb +18 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/ext/core.rb +28 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/ext/module.rb +0 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/ext/string.rb +166 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/ext/time.rb +15 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/file_creation_task.rb +24 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/file_list.rb +416 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/file_task.rb +46 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/file_utils.rb +116 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/file_utils_ext.rb +144 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/gempackagetask.rb +2 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/invocation_chain.rb +57 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/invocation_exception_mixin.rb +16 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/linked_list.rb +103 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/loaders/makefile.rb +40 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/multi_task.rb +13 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/name_space.rb +25 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/packagetask.rb +190 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/pathmap.rb +1 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/phony.rb +15 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/private_reader.rb +20 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/promise.rb +99 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/pseudo_status.rb +29 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/rake_module.rb +37 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/rake_test_loader.rb +22 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/rdoctask.rb +2 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/ruby182_test_unit_fix.rb +27 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/runtest.rb +22 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/scope.rb +42 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/task.rb +378 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/task_argument_error.rb +7 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/task_arguments.rb +89 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/task_manager.rb +297 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/tasklib.rb +22 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/testtask.rb +201 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/thread_history_display.rb +48 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/thread_pool.rb +161 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/trace_output.rb +22 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/version.rb +9 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/win32.rb +56 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/file_creation.rb +34 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/helper.rb +128 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/support/rakefile_definitions.rb +444 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/support/ruby_runner.rb +33 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_private_reader.rb +42 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake.rb +40 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_application.rb +517 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_application_options.rb +457 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_backtrace.rb +113 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_clean.rb +46 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_definitions.rb +79 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_directory_task.rb +57 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_dsl.rb +40 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_early_time.rb +31 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_extension.rb +59 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_file_creation_task.rb +56 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_file_list.rb +627 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_file_list_path_map.rb +8 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_file_task.rb +122 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_file_utils.rb +309 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_ftp_file.rb +74 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_functional.rb +466 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_invocation_chain.rb +64 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_linked_list.rb +84 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_makefile_loader.rb +46 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_multi_task.rb +58 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_name_space.rb +43 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_package_task.rb +79 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_path_map.rb +168 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_path_map_explode.rb +34 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_path_map_partial.rb +18 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_pseudo_status.rb +21 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_rake_test_loader.rb +20 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_reduce_compat.rb +26 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_require.rb +40 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_rules.rb +362 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_scope.rb +44 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_task.rb +376 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_task_argument_parsing.rb +103 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_task_arguments.rb +121 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_task_lib.rb +9 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_task_manager.rb +158 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_task_manager_argument_resolution.rb +19 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_task_with_arguments.rb +171 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_test_task.rb +119 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_thread_pool.rb +142 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_top_level_functions.rb +71 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_win32.rb +72 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_thread_history_display.rb +101 -0
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_trace_output.rb +52 -0
- data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/.gitignore +5 -0
- data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/History.md +27 -0
- data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/LICENSE +20 -0
- data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/README.md +54 -0
- data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/Rakefile +57 -0
- data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/VERSION +1 -0
- data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/examples/print_changes.rb +19 -0
- data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/examples/restart.rb +25 -0
- data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/ext/extconf.rb +4 -0
- data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/ext/fsevent.c +148 -0
- data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/lib/fsevent.bundle +0 -0
- data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/lib/fsevent/signal_ext.rb +48 -0
- data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/ruby-fsevent.gemspec +65 -0
- data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/spec/fsevent_spec.rb +41 -0
- data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/spec/signal_ext_spec.rb +76 -0
- data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/spec/spec_helper.rb +5 -0
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/.gitignore +6 -0
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/.travis.yml +11 -0
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/CHANGES +60 -0
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/COPYING +340 -0
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/Gemfile +5 -0
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/README.rdoc +55 -0
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/Rakefile +34 -0
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/VERSION +1 -0
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/bin/cdiff +19 -0
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/bin/colortab +48 -0
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/bin/decolor +12 -0
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/bin/term_display +91 -0
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/bin/term_mandel +52 -0
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/examples/ColorTest.gif +0 -0
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/examples/Mona_Lisa.jpg +0 -0
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/examples/Stilleben.jpg +0 -0
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/examples/example.rb +90 -0
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/examples/lambda-red-plain.ppm +135 -0
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/examples/lambda-red.png +0 -0
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/examples/lambda-red.ppm +4 -0
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/examples/pacman.jpg +0 -0
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/examples/smiley.png +0 -0
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/examples/wool.jpg +0 -0
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/lib/term/ansicolor.rb +228 -0
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/lib/term/ansicolor/.keep +0 -0
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/lib/term/ansicolor/attribute.rb +143 -0
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/lib/term/ansicolor/ppm_reader.rb +96 -0
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/lib/term/ansicolor/rgb_color_metrics.rb +161 -0
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/lib/term/ansicolor/rgb_triple.rb +121 -0
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/lib/term/ansicolor/version.rb +8 -0
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/term-ansicolor.gemspec +40 -0
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/tests/ansicolor_test.rb +133 -0
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/tests/attribute_test.rb +73 -0
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/tests/ppm_reader_test.rb +46 -0
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/tests/rgb_color_metrics_test.rb +100 -0
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/tests/rgb_triple_test.rb +71 -0
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/tests/test_helper.rb +8 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/.gitignore +9 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/.travis.yml +16 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/COPYING +18 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/Gemfile +9 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/README.rdoc +19 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/Rakefile +34 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/TODO +0 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/VERSION +1 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/spruz.rb +2 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins.rb +54 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/alias.rb +1 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/annotate.rb +30 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/ask_and_send.rb +15 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/attempt.rb +52 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/bijection.rb +46 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/concern.rb +30 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/count_by.rb +8 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/date_dummy.rb +42 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/date_time_dummy.rb +40 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/deep_const_get.rb +37 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/deep_dup.rb +11 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/extract_last_argument_options.rb +14 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/file_binary.rb +85 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/find.rb +138 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/generator.rb +68 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/go.rb +69 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/hash_symbolize_keys_recursive.rb +28 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/hash_union.rb +15 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/if_predicate.rb +7 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/limited.rb +38 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/lines_file.rb +123 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/memoize.rb +71 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/method_description.rb +38 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/minimize.rb +55 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/module_group.rb +13 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/named_set.rb +12 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/null.rb +92 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/once.rb +25 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/p.rb +23 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/partial_application.rb +31 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/proc_compose.rb +15 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/proc_prelude.rb +73 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/range_plus.rb +9 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/require_maybe.rb +9 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/responding.rb +19 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/rotate.rb +16 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/round.rb +51 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/secure_write.rb +27 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/sexy_singleton.rb +39 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/shuffle.rb +18 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/string_byte_order_mark.rb +20 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/string_camelize.rb +16 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/string_underscore.rb +15 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/string_version.rb +105 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/subhash.rb +42 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/terminal.rb +35 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/time_dummy.rb +55 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/to.rb +8 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/to_proc.rb +12 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/token.rb +25 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/uniq_by.rb +10 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/version.rb +8 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/write.rb +19 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt.rb +42 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/annotate.rb +5 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/ask_and_send.rb +7 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/attempt.rb +7 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/blank.rb +67 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/concern.rb +20 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/count_by.rb +11 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/date_dummy.rb +7 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/date_time_dummy.rb +7 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/deep_const_get.rb +7 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/deep_dup.rb +7 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/extract_last_argument_options.rb +7 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/file_binary.rb +7 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/full.rb +39 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/hash_symbolize_keys_recursive.rb +7 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/hash_union.rb +11 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/if_predicate.rb +7 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/irb.rb +23 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/method_description.rb +23 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/named.rb +35 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/null.rb +9 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/p.rb +7 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/partial_application.rb +11 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/proc_compose.rb +7 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/proc_prelude.rb +7 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/range_plus.rb +12 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/require_maybe.rb +7 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/responding.rb +7 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/rotate.rb +7 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/round.rb +13 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/secure_write.rb +11 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/sexy_singleton.rb +3 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/shuffle.rb +11 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/string.rb +6 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/string_byte_order_mark.rb +7 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/string_camelize.rb +6 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/string_underscore.rb +6 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/string_version.rb +7 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/subhash.rb +11 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/symbol_to_proc.rb +8 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/time_dummy.rb +7 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/to.rb +5 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/uniq_by.rb +15 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/write.rb +11 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/annotate_test.rb +37 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/ask_and_send_test.rb +32 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/attempt_test.rb +43 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/bijection_test.rb +19 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/blank_full_test.rb +77 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/concern_test.rb +36 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/count_by_test.rb +17 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/date_dummy_test.rb +31 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/date_time_dummy_test.rb +31 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/deep_const_get_test.rb +37 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/deep_dup_test.rb +20 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/extract_last_argument_options_test.rb +30 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/file_binary_test.rb +65 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/find_test.rb +115 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/generator_test.rb +47 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/go_test.rb +50 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/hash_symbolize_keys_recursive_test.rb +24 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/hash_union_test.rb +42 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/if_predicate_test.rb +12 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/limited_test.rb +25 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/lines_file_test.rb +82 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/memoize_test.rb +58 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/method_description_test.rb +49 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/minimize_test.rb +54 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/module_group_test.rb +29 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/named_set_test.rb +18 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/named_test.rb +32 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/null_test.rb +58 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/p_test.rb +14 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/partial_application_test.rb +30 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/proc_compose_test.rb +25 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/proc_prelude_test.rb +81 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/range_plus_test.rb +14 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/require_maybe_test.rb +24 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/responding_test.rb +24 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/rotate_test.rb +65 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/round_test.rb +32 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/secure_write_test.rb +42 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/sexy_singleton_test.rb +16 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/shuffle_test.rb +30 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/string_byte_order_mark_test.rb +40 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/string_camelize_test.rb +21 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/string_underscore_test.rb +11 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/string_version_test.rb +31 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/subhash_test.rb +29 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/test_helper.rb +8 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/time_dummy_test.rb +31 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/to_test.rb +32 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/token_test.rb +38 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/uniq_by_test.rb +31 -0
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tins.gemspec +40 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/.gemtest +0 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/.gitignore +52 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/.gitmodules +3 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/.rspec +2 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/.travis.yml +26 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/.yardopts +9 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/Appraisals +5 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/CHANGELOG.md +949 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/CONTRIBUTING.md +33 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/Gemfile +55 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/LICENSE +20 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/README.md +230 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/Rakefile +197 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/Upgrade.md +289 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/benchmarks/http_stubbing_libraries.rb +59 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/benchmarks/null_logging.rb +62 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/cucumber.yml +16 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/.nav +62 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/about_these_examples.md +18 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/cassettes/allow_unused_http_interactions.feature +100 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/cassettes/automatic_re_recording.feature +72 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/cassettes/decompress.feature +74 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/cassettes/dynamic_erb.feature +100 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/cassettes/exclusive.feature +123 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/cassettes/format.feature +308 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/cassettes/freezing_time.feature +68 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/cassettes/naming.feature +28 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/cassettes/no_cassette.feature +152 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/cassettes/persistence.feature +63 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/cassettes/update_content_length_header.feature +112 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/configuration/allow_http_connections_when_no_cassette.feature +52 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/configuration/cassette_library_dir.feature +31 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/configuration/debug_logging.feature +52 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/configuration/default_cassette_options.feature +100 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/configuration/filter_sensitive_data.feature +152 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/configuration/hook_into.feature +172 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/configuration/ignore_request.feature +193 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/configuration/preserve_exact_body_bytes.feature +108 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/configuration/query_parser.feature +84 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/configuration/uri_parser.feature +89 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/getting_started.md +82 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/hooks/after_http_request.feature +57 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/hooks/around_http_request.feature +57 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/hooks/before_http_request.feature +61 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/hooks/before_playback.feature +185 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/hooks/before_record.feature +172 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/http_libraries/em_http_request.feature +247 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/http_libraries/net_http.feature +169 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/middleware/faraday.feature +56 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/middleware/rack.feature +92 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/record_modes/all.feature +82 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/record_modes/new_episodes.feature +79 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/record_modes/none.feature +72 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/record_modes/once.feature +95 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/request_matching/README.md +30 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/request_matching/body.feature +91 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/request_matching/body_as_json.feature +90 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/request_matching/custom_matcher.feature +135 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/request_matching/headers.feature +86 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/request_matching/host.feature +95 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/request_matching/identical_request_sequence.feature +89 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/request_matching/method.feature +96 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/request_matching/path.feature +96 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/request_matching/playback_repeats.feature +98 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/request_matching/query.feature +97 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/request_matching/uri.feature +94 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/request_matching/uri_without_param.feature +101 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/step_definitions/cli_steps.rb +200 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/support/env.rb +41 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/support/http_lib_filters.rb +53 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/support/vcr_cucumber_helpers.rb +46 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/test_frameworks/cucumber.feature +210 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/test_frameworks/rspec_macro.feature +106 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/test_frameworks/rspec_metadata.feature +149 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/test_frameworks/test_unit.feature +46 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/gemfiles/typhoeus_old.gemfile +34 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/gemfiles/typhoeus_old.gemfile.lock +133 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr.rb +347 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/cassette.rb +289 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/cassette/erb_renderer.rb +55 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/cassette/http_interaction_list.rb +108 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/cassette/migrator.rb +118 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/cassette/persisters.rb +42 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/cassette/persisters/file_system.rb +64 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/cassette/serializers.rb +57 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/cassette/serializers/json.rb +48 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/cassette/serializers/psych.rb +48 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/cassette/serializers/syck.rb +61 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/cassette/serializers/yaml.rb +50 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/configuration.rb +555 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/deprecations.rb +108 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/errors.rb +266 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/extensions/net_http_response.rb +36 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/library_hooks.rb +18 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/library_hooks/excon.rb +27 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/library_hooks/fakeweb.rb +196 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/library_hooks/faraday.rb +47 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/library_hooks/typhoeus.rb +120 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/library_hooks/typhoeus_0.4.rb +103 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/library_hooks/webmock.rb +164 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/middleware/excon.rb +221 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/middleware/excon/legacy_methods.rb +33 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/middleware/faraday.rb +114 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/middleware/rack.rb +79 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/request_handler.rb +114 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/request_ignorer.rb +43 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/request_matcher_registry.rb +149 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/structs.rb +578 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/tasks/vcr.rake +9 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/test_frameworks/cucumber.rb +64 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/test_frameworks/rspec.rb +42 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/util/hooks.rb +61 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/util/internet_connection.rb +43 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/util/logger.rb +59 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/util/variable_args_block_caller.rb +13 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/util/version_checker.rb +64 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/version.rb +34 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/script/ci.sh +27 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/acceptance/threading_spec.rb +34 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/capture_warnings.rb +73 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/fixtures/cassette_spec/1_x_cassette.yml +110 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/fixtures/cassette_spec/empty.yml +0 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/fixtures/cassette_spec/example.yml +111 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/fixtures/cassette_spec/with_localhost_requests.yml +111 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/fixtures/fake_example_responses.yml +110 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/fixtures/match_requests_on.yml +187 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/monkey_patches.rb +182 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/quality_spec.rb +51 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/spec_helper.rb +94 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/support/configuration_stubbing.rb +8 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/support/fixnum_extension.rb +10 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/support/http_library_adapters.rb +285 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/support/limited_uri.rb +31 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/support/ruby_interpreter.rb +7 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/support/shared_example_groups/excon.rb +63 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/support/shared_example_groups/hook_into_http_library.rb +594 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/support/shared_example_groups/request_hooks.rb +59 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/support/sinatra_app.rb +86 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/support/vcr_localhost_server.rb +77 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/support/vcr_stub_helpers.rb +17 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/cassette/erb_renderer_spec.rb +53 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/cassette/http_interaction_list_spec.rb +295 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/cassette/migrator_spec.rb +195 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/cassette/persisters/file_system_spec.rb +69 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/cassette/persisters_spec.rb +39 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/cassette/serializers_spec.rb +176 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/cassette_spec.rb +608 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/configuration_spec.rb +326 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/deprecations_spec.rb +85 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/errors_spec.rb +162 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/extensions/net_http_response_spec.rb +86 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/library_hooks/excon_spec.rb +104 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/library_hooks/fakeweb_spec.rb +169 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/library_hooks/faraday_spec.rb +68 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/library_hooks/typhoeus_0.4_spec.rb +36 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/library_hooks/typhoeus_spec.rb +162 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/library_hooks/webmock_spec.rb +118 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/library_hooks_spec.rb +51 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/middleware/faraday_spec.rb +182 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/middleware/rack_spec.rb +115 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/request_ignorer_spec.rb +70 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/request_matcher_registry_spec.rb +345 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/structs_spec.rb +732 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/test_frameworks/cucumber_spec.rb +107 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/test_frameworks/rspec_spec.rb +83 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/util/hooks_spec.rb +158 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/util/internet_connection_spec.rb +37 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/util/version_checker_spec.rb +45 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/version_spec.rb +27 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr_spec.rb +349 -0
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/vcr.gemspec +23 -0
- data/vendor/ruby/1.9.1/gems/watchr-0.7/.gitignore +6 -0
- data/vendor/ruby/1.9.1/gems/watchr-0.7/History.txt +32 -0
- data/vendor/ruby/1.9.1/gems/watchr-0.7/LICENSE +19 -0
- data/vendor/ruby/1.9.1/gems/watchr-0.7/README.md +119 -0
- data/vendor/ruby/1.9.1/gems/watchr-0.7/Rakefile +34 -0
- data/vendor/ruby/1.9.1/gems/watchr-0.7/TODO.md +31 -0
- data/vendor/ruby/1.9.1/gems/watchr-0.7/bin/watchr +105 -0
- data/vendor/ruby/1.9.1/gems/watchr-0.7/contributions.txt +7 -0
- data/vendor/ruby/1.9.1/gems/watchr-0.7/docs.watchr +26 -0
- data/vendor/ruby/1.9.1/gems/watchr-0.7/gem.watchr +22 -0
- data/vendor/ruby/1.9.1/gems/watchr-0.7/lib/watchr.rb +133 -0
- data/vendor/ruby/1.9.1/gems/watchr-0.7/lib/watchr/controller.rb +87 -0
- data/vendor/ruby/1.9.1/gems/watchr-0.7/lib/watchr/event_handlers/base.rb +57 -0
- data/vendor/ruby/1.9.1/gems/watchr-0.7/lib/watchr/event_handlers/darwin.rb +160 -0
- data/vendor/ruby/1.9.1/gems/watchr-0.7/lib/watchr/event_handlers/portable.rb +75 -0
- data/vendor/ruby/1.9.1/gems/watchr-0.7/lib/watchr/event_handlers/unix.rb +125 -0
- data/vendor/ruby/1.9.1/gems/watchr-0.7/lib/watchr/script.rb +257 -0
- data/vendor/ruby/1.9.1/gems/watchr-0.7/specs.watchr +37 -0
- data/vendor/ruby/1.9.1/gems/watchr-0.7/test/README +11 -0
- data/vendor/ruby/1.9.1/gems/watchr-0.7/test/event_handlers/test_base.rb +24 -0
- data/vendor/ruby/1.9.1/gems/watchr-0.7/test/event_handlers/test_darwin.rb +111 -0
- data/vendor/ruby/1.9.1/gems/watchr-0.7/test/event_handlers/test_portable.rb +142 -0
- data/vendor/ruby/1.9.1/gems/watchr-0.7/test/event_handlers/test_unix.rb +162 -0
- data/vendor/ruby/1.9.1/gems/watchr-0.7/test/test_controller.rb +113 -0
- data/vendor/ruby/1.9.1/gems/watchr-0.7/test/test_helper.rb +37 -0
- data/vendor/ruby/1.9.1/gems/watchr-0.7/test/test_script.rb +163 -0
- data/vendor/ruby/1.9.1/gems/watchr-0.7/test/test_watchr.rb +76 -0
- data/vendor/ruby/1.9.1/gems/watchr-0.7/watchr.gemspec +20 -0
- data/vendor/ruby/1.9.1/specifications/active_support-3.0.0.gemspec +24 -0
- data/vendor/ruby/1.9.1/specifications/activesupport-3.0.0.gemspec +18 -0
- data/vendor/ruby/1.9.1/specifications/minitest-5.2.0.gemspec +37 -0
- data/vendor/ruby/1.9.1/specifications/mynyml-redgreen-0.7.1.gemspec +44 -0
- data/vendor/ruby/1.9.1/specifications/rake-10.1.0.gemspec +35 -0
- data/vendor/ruby/1.9.1/specifications/ruby-fsevent-0.2.1.gemspec +32 -0
- data/vendor/ruby/1.9.1/specifications/term-ansicolor-1.2.2.gemspec +39 -0
- data/vendor/ruby/1.9.1/specifications/tins-0.13.1.gemspec +38 -0
- data/vendor/ruby/1.9.1/specifications/vcr-2.8.0.gemspec +18 -0
- data/vendor/ruby/1.9.1/specifications/watchr-0.7.gemspec +37 -0
- metadata +904 -0
@@ -0,0 +1,627 @@
|
|
1
|
+
require File.expand_path('../helper', __FILE__)
|
2
|
+
|
3
|
+
class TestRakeFileList < Rake::TestCase
|
4
|
+
FileList = Rake::FileList
|
5
|
+
|
6
|
+
def setup
|
7
|
+
super
|
8
|
+
|
9
|
+
FileUtils.mkdir "CVS" rescue nil
|
10
|
+
FileUtils.mkdir ".svn" rescue nil
|
11
|
+
@cdir = "cfiles"
|
12
|
+
FileUtils.mkdir @cdir rescue nil
|
13
|
+
FileUtils.touch ".dummy"
|
14
|
+
FileUtils.touch "x.bak"
|
15
|
+
FileUtils.touch "x~"
|
16
|
+
FileUtils.touch "core"
|
17
|
+
FileUtils.touch "x.c"
|
18
|
+
FileUtils.touch "xyz.c"
|
19
|
+
FileUtils.touch "abc.c"
|
20
|
+
FileUtils.touch "abc.h"
|
21
|
+
FileUtils.touch "abc.x"
|
22
|
+
FileUtils.touch "existing"
|
23
|
+
|
24
|
+
open 'xyzzy.txt', 'w' do |io|
|
25
|
+
io.puts 'x'
|
26
|
+
io.puts 'XYZZY'
|
27
|
+
end
|
28
|
+
|
29
|
+
end
|
30
|
+
|
31
|
+
def test_delegating_methods_do_not_include_to_a_or_to_ary
|
32
|
+
assert ! FileList::DELEGATING_METHODS.include?("to_a"), "should not include to_a"
|
33
|
+
assert ! FileList::DELEGATING_METHODS.include?(:to_a), "should not include to_a"
|
34
|
+
assert ! FileList::DELEGATING_METHODS.include?("to_ary"), "should not include to_ary"
|
35
|
+
assert ! FileList::DELEGATING_METHODS.include?(:to_ary), "should not include to_ary"
|
36
|
+
end
|
37
|
+
|
38
|
+
def test_create
|
39
|
+
fl = FileList.new
|
40
|
+
assert_equal 0, fl.size
|
41
|
+
end
|
42
|
+
|
43
|
+
def test_create_with_args
|
44
|
+
fl = FileList.new("*.c", "x")
|
45
|
+
assert_equal ["abc.c", "x.c", "xyz.c", "x"].sort,
|
46
|
+
fl.sort
|
47
|
+
end
|
48
|
+
|
49
|
+
def test_create_with_block
|
50
|
+
fl = FileList.new { |f| f.include("x") }
|
51
|
+
assert_equal ["x"], fl.resolve
|
52
|
+
end
|
53
|
+
|
54
|
+
def test_create_with_brackets
|
55
|
+
fl = FileList["*.c", "x"]
|
56
|
+
assert_equal ["abc.c", "x.c", "xyz.c", "x"].sort,
|
57
|
+
fl.sort
|
58
|
+
end
|
59
|
+
|
60
|
+
def test_create_with_brackets_and_filelist
|
61
|
+
fl = FileList[FileList["*.c", "x"]]
|
62
|
+
assert_equal ["abc.c", "x.c", "xyz.c", "x"].sort,
|
63
|
+
fl.sort
|
64
|
+
end
|
65
|
+
|
66
|
+
def test_include_with_another_array
|
67
|
+
fl = FileList.new.include(["x", "y", "z"])
|
68
|
+
assert_equal ["x", "y", "z"].sort, fl.sort
|
69
|
+
end
|
70
|
+
|
71
|
+
def test_include_with_another_filelist
|
72
|
+
fl = FileList.new.include(FileList["*.c", "x"])
|
73
|
+
assert_equal ["abc.c", "x.c", "xyz.c", "x"].sort,
|
74
|
+
fl.sort
|
75
|
+
end
|
76
|
+
|
77
|
+
def test_append
|
78
|
+
fl = FileList.new
|
79
|
+
fl << "a.rb" << "b.rb"
|
80
|
+
assert_equal ['a.rb', 'b.rb'], fl
|
81
|
+
end
|
82
|
+
|
83
|
+
def test_add_many
|
84
|
+
fl = FileList.new
|
85
|
+
fl.include %w(a d c)
|
86
|
+
fl.include('x', 'y')
|
87
|
+
assert_equal ['a', 'd', 'c', 'x', 'y'], fl
|
88
|
+
assert_equal ['a', 'd', 'c', 'x', 'y'], fl.resolve
|
89
|
+
end
|
90
|
+
|
91
|
+
def test_add_return
|
92
|
+
f = FileList.new
|
93
|
+
g = f << "x"
|
94
|
+
assert_equal f.object_id, g.object_id
|
95
|
+
h = f.include("y")
|
96
|
+
assert_equal f.object_id, h.object_id
|
97
|
+
end
|
98
|
+
|
99
|
+
def test_match
|
100
|
+
fl = FileList.new
|
101
|
+
fl.include '*.c'
|
102
|
+
|
103
|
+
assert_equal %w[abc.c x.c xyz.c], fl.sort
|
104
|
+
end
|
105
|
+
|
106
|
+
def test_add_matching
|
107
|
+
fl = FileList.new
|
108
|
+
fl << "a.java"
|
109
|
+
fl.include '*.c'
|
110
|
+
|
111
|
+
assert_equal %w[a.java abc.c x.c xyz.c], fl.sort
|
112
|
+
end
|
113
|
+
|
114
|
+
def test_multiple_patterns
|
115
|
+
fl = FileList.new
|
116
|
+
fl.include('*.z', '*foo*')
|
117
|
+
|
118
|
+
assert_equal [], fl
|
119
|
+
|
120
|
+
fl.include('*.c', '*xist*')
|
121
|
+
assert_equal %w[x.c xyz.c abc.c existing].sort, fl.sort
|
122
|
+
end
|
123
|
+
|
124
|
+
def test_square_bracket_pattern
|
125
|
+
fl = FileList.new
|
126
|
+
fl.include("abc.[ch]")
|
127
|
+
assert fl.size == 2
|
128
|
+
assert fl.include?("abc.c")
|
129
|
+
assert fl.include?("abc.h")
|
130
|
+
end
|
131
|
+
|
132
|
+
def test_curly_bracket_pattern
|
133
|
+
fl = FileList.new
|
134
|
+
fl.include("abc.{c,h}")
|
135
|
+
assert fl.size == 2
|
136
|
+
assert fl.include?("abc.c")
|
137
|
+
assert fl.include?("abc.h")
|
138
|
+
end
|
139
|
+
|
140
|
+
def test_reject
|
141
|
+
fl = FileList.new
|
142
|
+
fl.include %w(x.c abc.c xyz.c existing)
|
143
|
+
fl.reject! { |fn| fn =~ /^x/ }
|
144
|
+
assert_equal %w[abc.c existing], fl
|
145
|
+
end
|
146
|
+
|
147
|
+
def test_exclude
|
148
|
+
fl = FileList['x.c', 'abc.c', 'xyz.c', 'existing']
|
149
|
+
fl.each { |fn| touch fn, :verbose => false }
|
150
|
+
|
151
|
+
x = fl.exclude(%r{^x.+\.})
|
152
|
+
|
153
|
+
assert_equal FileList, x.class
|
154
|
+
assert_equal %w(x.c abc.c existing), fl
|
155
|
+
assert_equal fl.object_id, x.object_id
|
156
|
+
|
157
|
+
fl.exclude('*.c')
|
158
|
+
|
159
|
+
assert_equal ['existing'], fl
|
160
|
+
|
161
|
+
fl.exclude('existing')
|
162
|
+
|
163
|
+
assert_equal [], fl
|
164
|
+
end
|
165
|
+
|
166
|
+
def test_excluding_via_block
|
167
|
+
fl = FileList['a.c', 'b.c', 'xyz.c']
|
168
|
+
fl.exclude { |fn| fn.pathmap('%n') == 'xyz' }
|
169
|
+
assert fl.excluded_from_list?("xyz.c"), "Should exclude xyz.c"
|
170
|
+
assert_equal ['a.c', 'b.c'], fl
|
171
|
+
end
|
172
|
+
|
173
|
+
def test_exclude_return_on_create
|
174
|
+
fl = FileList['*'].exclude(/.*\.[hcx]$/)
|
175
|
+
assert_equal %w[cfiles existing xyzzy.txt], fl.sort
|
176
|
+
assert_equal FileList, fl.class
|
177
|
+
end
|
178
|
+
|
179
|
+
def test_exclude_with_string_return_on_create
|
180
|
+
fl = FileList['*'].exclude('abc.c')
|
181
|
+
assert_equal %w[abc.h abc.x cfiles existing x.c xyz.c xyzzy.txt], fl.sort
|
182
|
+
assert_equal FileList, fl.class
|
183
|
+
end
|
184
|
+
|
185
|
+
def test_default_exclude
|
186
|
+
fl = FileList.new
|
187
|
+
fl.clear_exclude
|
188
|
+
fl.include("**/*~", "**/*.bak", "**/core")
|
189
|
+
assert fl.member?("core"), "Should include core"
|
190
|
+
assert fl.member?("x.bak"), "Should include .bak files"
|
191
|
+
end
|
192
|
+
|
193
|
+
def test_unique
|
194
|
+
fl = FileList.new
|
195
|
+
fl << "x.c" << "a.c" << "b.rb" << "a.c"
|
196
|
+
assert_equal ['x.c', 'a.c', 'b.rb', 'a.c'], fl
|
197
|
+
fl.uniq!
|
198
|
+
assert_equal ['x.c', 'a.c', 'b.rb'], fl
|
199
|
+
end
|
200
|
+
|
201
|
+
def test_to_string
|
202
|
+
fl = FileList.new
|
203
|
+
fl << "a.java" << "b.java"
|
204
|
+
assert_equal "a.java b.java", fl.to_s
|
205
|
+
assert_equal "a.java b.java", "#{fl}"
|
206
|
+
end
|
207
|
+
|
208
|
+
def test_to_array
|
209
|
+
fl = FileList['a.java', 'b.java']
|
210
|
+
assert_equal ['a.java', 'b.java'], fl.to_a
|
211
|
+
assert_equal Array, fl.to_a.class
|
212
|
+
assert_equal ['a.java', 'b.java'], fl.to_ary
|
213
|
+
assert_equal Array, fl.to_ary.class
|
214
|
+
end
|
215
|
+
|
216
|
+
def test_to_s_pending
|
217
|
+
fl = FileList['abc.*']
|
218
|
+
result = fl.to_s
|
219
|
+
assert_match(%r{abc\.c}, result)
|
220
|
+
assert_match(%r{abc\.h}, result)
|
221
|
+
assert_match(%r{abc\.x}, result)
|
222
|
+
assert_match(%r{(abc\..\b ?){2}}, result)
|
223
|
+
end
|
224
|
+
|
225
|
+
def test_inspect_pending
|
226
|
+
fl = FileList['abc.*']
|
227
|
+
result = fl.inspect
|
228
|
+
assert_match(%r{"abc\.c"}, result)
|
229
|
+
assert_match(%r{"abc\.h"}, result)
|
230
|
+
assert_match(%r{"abc\.x"}, result)
|
231
|
+
assert_match(%r|^\[("abc\..", ){2}"abc\.."\]$|, result)
|
232
|
+
end
|
233
|
+
|
234
|
+
def test_sub
|
235
|
+
fl = FileList["*.c"]
|
236
|
+
f2 = fl.sub(/\.c$/, ".o")
|
237
|
+
assert_equal FileList, f2.class
|
238
|
+
assert_equal ["abc.o", "x.o", "xyz.o"].sort,
|
239
|
+
f2.sort
|
240
|
+
f3 = fl.gsub(/\.c$/, ".o")
|
241
|
+
assert_equal FileList, f3.class
|
242
|
+
assert_equal ["abc.o", "x.o", "xyz.o"].sort,
|
243
|
+
f3.sort
|
244
|
+
end
|
245
|
+
|
246
|
+
def test_claim_to_be_a_kind_of_array
|
247
|
+
fl = FileList['*.c']
|
248
|
+
assert fl.is_a?(Array)
|
249
|
+
assert fl.kind_of?(Array)
|
250
|
+
end
|
251
|
+
|
252
|
+
def test_claim_to_be_a_kind_of_filelist
|
253
|
+
fl = FileList['*.c']
|
254
|
+
assert fl.is_a?(FileList)
|
255
|
+
assert fl.kind_of?(FileList)
|
256
|
+
end
|
257
|
+
|
258
|
+
def test_claim_to_be_a_filelist_instance
|
259
|
+
fl = FileList['*.c']
|
260
|
+
assert fl.instance_of?(FileList)
|
261
|
+
end
|
262
|
+
|
263
|
+
def test_dont_claim_to_be_an_array_instance
|
264
|
+
fl = FileList['*.c']
|
265
|
+
assert ! fl.instance_of?(Array)
|
266
|
+
end
|
267
|
+
|
268
|
+
def test_sub!
|
269
|
+
f = "x/a.c"
|
270
|
+
fl = FileList[f, "x/b.c"]
|
271
|
+
res = fl.sub!(/\.c$/, ".o")
|
272
|
+
assert_equal ["x/a.o", "x/b.o"].sort, fl.sort
|
273
|
+
assert_equal "x/a.c", f
|
274
|
+
assert_equal fl.object_id, res.object_id
|
275
|
+
end
|
276
|
+
|
277
|
+
def test_sub_with_block
|
278
|
+
fl = FileList["src/org/onestepback/a.java", "src/org/onestepback/b.java"]
|
279
|
+
# The block version doesn't work the way I want it to ...
|
280
|
+
# f2 = fl.sub(%r{^src/(.*)\.java$}) { |x| "classes/" + $1 + ".class" }
|
281
|
+
f2 = fl.sub(%r{^src/(.*)\.java$}, "classes/\\1.class")
|
282
|
+
assert_equal [
|
283
|
+
"classes/org/onestepback/a.class",
|
284
|
+
"classes/org/onestepback/b.class"
|
285
|
+
].sort,
|
286
|
+
f2.sort
|
287
|
+
end
|
288
|
+
|
289
|
+
def test_string_ext
|
290
|
+
assert_equal "one.net", "one.two".ext("net")
|
291
|
+
assert_equal "one.net", "one.two".ext(".net")
|
292
|
+
assert_equal "one.net", "one".ext("net")
|
293
|
+
assert_equal "one.net", "one".ext(".net")
|
294
|
+
assert_equal "one.two.net", "one.two.c".ext(".net")
|
295
|
+
assert_equal "one/two.net", "one/two.c".ext(".net")
|
296
|
+
assert_equal "one.x/two.net", "one.x/two.c".ext(".net")
|
297
|
+
assert_equal "one.x/two.net", "one.x/two".ext(".net")
|
298
|
+
assert_equal ".onerc.net", ".onerc.dot".ext("net")
|
299
|
+
assert_equal ".onerc.net", ".onerc".ext("net")
|
300
|
+
assert_equal ".a/.onerc.net", ".a/.onerc".ext("net")
|
301
|
+
assert_equal "one", "one.two".ext('')
|
302
|
+
assert_equal "one", "one.two".ext
|
303
|
+
assert_equal ".one", ".one.two".ext
|
304
|
+
assert_equal ".one", ".one".ext
|
305
|
+
assert_equal ".", ".".ext("c")
|
306
|
+
assert_equal "..", "..".ext("c")
|
307
|
+
# These only need to work in windows
|
308
|
+
if Rake::Win32.windows?
|
309
|
+
assert_equal "one.x\\two.net", "one.x\\two.c".ext(".net")
|
310
|
+
assert_equal "one.x\\two.net", "one.x\\two".ext(".net")
|
311
|
+
end
|
312
|
+
end
|
313
|
+
|
314
|
+
def test_filelist_ext
|
315
|
+
assert_equal FileList['one.c', '.one.c'],
|
316
|
+
FileList['one.net', '.one'].ext('c')
|
317
|
+
end
|
318
|
+
|
319
|
+
def test_gsub
|
320
|
+
fl = FileList["*.c"]
|
321
|
+
f2 = fl.gsub(/a/, "A")
|
322
|
+
assert_equal ["Abc.c", "x.c", "xyz.c"].sort,
|
323
|
+
f2.sort
|
324
|
+
end
|
325
|
+
|
326
|
+
def test_gsub!
|
327
|
+
f = FileList["*.c"]
|
328
|
+
f.gsub!(/a/, "A")
|
329
|
+
assert_equal ["Abc.c", "x.c", "xyz.c"].sort,
|
330
|
+
f.sort
|
331
|
+
end
|
332
|
+
|
333
|
+
def test_egrep_returns_0_if_no_matches
|
334
|
+
files = FileList['test/lib/*_test.rb'].exclude("test/lib/filelist_test.rb")
|
335
|
+
assert_equal 0, files.egrep(/XYZZY/) { }
|
336
|
+
end
|
337
|
+
|
338
|
+
def test_egrep_with_output
|
339
|
+
files = FileList['*.txt']
|
340
|
+
|
341
|
+
out, = capture_io do
|
342
|
+
files.egrep(/XYZZY/)
|
343
|
+
end
|
344
|
+
|
345
|
+
assert_equal "xyzzy.txt:2:XYZZY\n", out
|
346
|
+
end
|
347
|
+
|
348
|
+
def test_egrep_with_block
|
349
|
+
files = FileList['*.txt']
|
350
|
+
found = nil
|
351
|
+
|
352
|
+
files.egrep(/XYZZY/) do |fn, ln, line|
|
353
|
+
found = [fn, ln, line]
|
354
|
+
end
|
355
|
+
|
356
|
+
assert_equal ["xyzzy.txt", 2, "XYZZY\n"], found
|
357
|
+
end
|
358
|
+
|
359
|
+
def test_egrep_with_error
|
360
|
+
files = FileList['*.txt']
|
361
|
+
|
362
|
+
_, err = capture_io do
|
363
|
+
files.egrep(/XYZZY/) do |fn, ln, line |
|
364
|
+
raise "_EGREP_FAILURE_"
|
365
|
+
end
|
366
|
+
end
|
367
|
+
|
368
|
+
assert_equal "Error while processing 'xyzzy.txt': _EGREP_FAILURE_\n", err
|
369
|
+
end
|
370
|
+
|
371
|
+
def test_existing
|
372
|
+
fl = FileList['abc.c', 'notthere.c']
|
373
|
+
assert_equal ["abc.c"], fl.existing
|
374
|
+
assert fl.existing.is_a?(FileList)
|
375
|
+
end
|
376
|
+
|
377
|
+
def test_existing!
|
378
|
+
fl = FileList['abc.c', 'notthere.c']
|
379
|
+
result = fl.existing!
|
380
|
+
assert_equal ["abc.c"], fl
|
381
|
+
assert_equal fl.object_id, result.object_id
|
382
|
+
end
|
383
|
+
|
384
|
+
def test_ignore_special
|
385
|
+
f = FileList['*']
|
386
|
+
assert ! f.include?("CVS"), "Should not contain CVS"
|
387
|
+
assert ! f.include?(".svn"), "Should not contain .svn"
|
388
|
+
assert ! f.include?(".dummy"), "Should not contain dot files"
|
389
|
+
assert ! f.include?("x.bak"), "Should not contain .bak files"
|
390
|
+
assert ! f.include?("x~"), "Should not contain ~ files"
|
391
|
+
assert ! f.include?("core"), "Should not contain core files"
|
392
|
+
end
|
393
|
+
|
394
|
+
def test_clear_ignore_patterns
|
395
|
+
f = FileList['*', '.svn']
|
396
|
+
f.clear_exclude
|
397
|
+
assert f.include?("abc.c")
|
398
|
+
assert f.include?("xyz.c")
|
399
|
+
assert f.include?("CVS")
|
400
|
+
assert f.include?(".svn")
|
401
|
+
assert f.include?("x.bak")
|
402
|
+
assert f.include?("x~")
|
403
|
+
end
|
404
|
+
|
405
|
+
def test_exclude_with_alternate_file_seps
|
406
|
+
fl = FileList.new
|
407
|
+
assert fl.excluded_from_list?("x/CVS/y")
|
408
|
+
assert fl.excluded_from_list?("x\\CVS\\y")
|
409
|
+
assert fl.excluded_from_list?("x/.svn/y")
|
410
|
+
assert fl.excluded_from_list?("x\\.svn\\y")
|
411
|
+
assert fl.excluded_from_list?("x/core")
|
412
|
+
assert fl.excluded_from_list?("x\\core")
|
413
|
+
end
|
414
|
+
|
415
|
+
def test_add_default_exclude_list
|
416
|
+
fl = FileList.new
|
417
|
+
fl.exclude(/~\d+$/)
|
418
|
+
assert fl.excluded_from_list?("x/CVS/y")
|
419
|
+
assert fl.excluded_from_list?("x\\CVS\\y")
|
420
|
+
assert fl.excluded_from_list?("x/.svn/y")
|
421
|
+
assert fl.excluded_from_list?("x\\.svn\\y")
|
422
|
+
assert fl.excluded_from_list?("x/core")
|
423
|
+
assert fl.excluded_from_list?("x\\core")
|
424
|
+
assert fl.excluded_from_list?("x/abc~1")
|
425
|
+
end
|
426
|
+
|
427
|
+
def test_basic_array_functions
|
428
|
+
f = FileList['b', 'c', 'a']
|
429
|
+
assert_equal 'b', f.first
|
430
|
+
assert_equal 'b', f[0]
|
431
|
+
assert_equal 'a', f.last
|
432
|
+
assert_equal 'a', f[2]
|
433
|
+
assert_equal 'a', f[-1]
|
434
|
+
assert_equal ['a', 'b', 'c'], f.sort
|
435
|
+
f.sort!
|
436
|
+
assert_equal ['a', 'b', 'c'], f
|
437
|
+
end
|
438
|
+
|
439
|
+
def test_flatten
|
440
|
+
assert_equal ['a', 'x.c', 'xyz.c', 'abc.c'].sort,
|
441
|
+
['a', FileList['*.c']].flatten.sort
|
442
|
+
end
|
443
|
+
|
444
|
+
def test_clone_and_dup
|
445
|
+
a = FileList['a', 'b', 'c']
|
446
|
+
c = a.clone
|
447
|
+
d = a.dup
|
448
|
+
a << 'd'
|
449
|
+
assert_equal ['a', 'b', 'c', 'd'], a
|
450
|
+
assert_equal ['a', 'b', 'c'], c
|
451
|
+
assert_equal ['a', 'b', 'c'], d
|
452
|
+
end
|
453
|
+
|
454
|
+
def test_dup_and_clone_replicate_taint
|
455
|
+
a = FileList['a', 'b', 'c']
|
456
|
+
a.taint
|
457
|
+
c = a.clone
|
458
|
+
d = a.dup
|
459
|
+
assert c.tainted?, "Clone should be tainted"
|
460
|
+
assert d.tainted?, "Dup should be tainted"
|
461
|
+
end
|
462
|
+
|
463
|
+
def test_duped_items_will_thaw
|
464
|
+
a = FileList['a', 'b', 'c']
|
465
|
+
a.freeze
|
466
|
+
d = a.dup
|
467
|
+
d << 'more'
|
468
|
+
assert_equal ['a', 'b', 'c', 'more'], d
|
469
|
+
end
|
470
|
+
|
471
|
+
def test_cloned_items_stay_frozen
|
472
|
+
a = FileList['a', 'b', 'c']
|
473
|
+
a.freeze
|
474
|
+
c = a.clone
|
475
|
+
assert_raises(TypeError, RuntimeError) do
|
476
|
+
c << 'more'
|
477
|
+
end
|
478
|
+
end
|
479
|
+
|
480
|
+
def test_array_comparisons
|
481
|
+
fl = FileList['b', 'b']
|
482
|
+
a = ['b', 'a']
|
483
|
+
b = ['b', 'b']
|
484
|
+
c = ['b', 'c']
|
485
|
+
assert_equal(1, fl <=> a)
|
486
|
+
assert_equal(0, fl <=> b)
|
487
|
+
assert_equal(-1, fl <=> c)
|
488
|
+
assert_equal(-1, a <=> fl)
|
489
|
+
assert_equal(0, b <=> fl)
|
490
|
+
assert_equal(1, c <=> fl)
|
491
|
+
end
|
492
|
+
|
493
|
+
def test_array_equality
|
494
|
+
a = FileList['a', 'b']
|
495
|
+
b = ['a', 'b']
|
496
|
+
assert a == b
|
497
|
+
assert b == a
|
498
|
+
# assert a.eql?(b)
|
499
|
+
# assert b.eql?(a)
|
500
|
+
assert ! a.equal?(b)
|
501
|
+
assert ! b.equal?(a)
|
502
|
+
end
|
503
|
+
|
504
|
+
def test_enumeration_methods
|
505
|
+
a = FileList['a', 'b']
|
506
|
+
b = a.map { |it| it.upcase }
|
507
|
+
assert_equal ['A', 'B'], b
|
508
|
+
assert_equal FileList, b.class
|
509
|
+
|
510
|
+
b = a.map { |it| it.upcase }
|
511
|
+
assert_equal ['A', 'B'], b
|
512
|
+
assert_equal FileList, b.class
|
513
|
+
|
514
|
+
b = a.sort
|
515
|
+
assert_equal ['a', 'b'], b
|
516
|
+
assert_equal FileList, b.class
|
517
|
+
|
518
|
+
b = a.sort_by { |it| it }
|
519
|
+
assert_equal ['a', 'b'], b
|
520
|
+
assert_equal FileList, b.class
|
521
|
+
|
522
|
+
b = a.select { |it| it == 'b' }
|
523
|
+
assert_equal ['b'], b
|
524
|
+
assert_equal FileList, b.class
|
525
|
+
|
526
|
+
b = a.select { |it| it.size == 1 }
|
527
|
+
assert_equal ['a', 'b'], b
|
528
|
+
assert_equal FileList, b.class
|
529
|
+
|
530
|
+
b = a.reject { |it| it == 'b' }
|
531
|
+
assert_equal ['a'], b
|
532
|
+
assert_equal FileList, b.class
|
533
|
+
|
534
|
+
b = a.grep(/./)
|
535
|
+
assert_equal ['a', 'b'], b
|
536
|
+
assert_equal FileList, b.class
|
537
|
+
|
538
|
+
b = a.partition { |it| it == 'b' }
|
539
|
+
assert_equal [['b'], ['a']], b
|
540
|
+
assert_equal Array, b.class
|
541
|
+
assert_equal FileList, b[0].class
|
542
|
+
assert_equal FileList, b[1].class
|
543
|
+
|
544
|
+
b = a.zip(['x', 'y']).to_a
|
545
|
+
assert_equal [['a', 'x'], ['b', 'y']], b
|
546
|
+
assert_equal Array, b.class
|
547
|
+
assert_equal Array, b[0].class
|
548
|
+
assert_equal Array, b[1].class
|
549
|
+
end
|
550
|
+
|
551
|
+
def test_array_operators
|
552
|
+
a = ['a', 'b']
|
553
|
+
b = ['c', 'd']
|
554
|
+
f = FileList['x', 'y']
|
555
|
+
g = FileList['w', 'z']
|
556
|
+
|
557
|
+
r = f + g
|
558
|
+
assert_equal ['x', 'y', 'w', 'z'], r
|
559
|
+
assert_equal FileList, r.class
|
560
|
+
|
561
|
+
r = a + g
|
562
|
+
assert_equal ['a', 'b', 'w', 'z'], r
|
563
|
+
assert_equal Array, r.class
|
564
|
+
|
565
|
+
r = f + b
|
566
|
+
assert_equal ['x', 'y', 'c', 'd'], r
|
567
|
+
assert_equal FileList, r.class
|
568
|
+
|
569
|
+
r = FileList['w', 'x', 'y', 'z'] - f
|
570
|
+
assert_equal ['w', 'z'], r
|
571
|
+
assert_equal FileList, r.class
|
572
|
+
|
573
|
+
r = FileList['w', 'x', 'y', 'z'] & f
|
574
|
+
assert_equal ['x', 'y'], r
|
575
|
+
assert_equal FileList, r.class
|
576
|
+
|
577
|
+
r = f * 2
|
578
|
+
assert_equal ['x', 'y', 'x', 'y'], r
|
579
|
+
assert_equal FileList, r.class
|
580
|
+
|
581
|
+
r = f * ','
|
582
|
+
assert_equal 'x,y', r
|
583
|
+
assert_equal String, r.class
|
584
|
+
|
585
|
+
r = f | ['a', 'x']
|
586
|
+
assert_equal ['a', 'x', 'y'].sort, r.sort
|
587
|
+
assert_equal FileList, r.class
|
588
|
+
end
|
589
|
+
|
590
|
+
def test_other_array_returning_methods
|
591
|
+
f = FileList['a', nil, 'b']
|
592
|
+
r = f.compact
|
593
|
+
assert_equal ['a', 'b'], r
|
594
|
+
assert_equal FileList, r.class
|
595
|
+
|
596
|
+
f = FileList['a', 'b']
|
597
|
+
r = f.concat(['x', 'y'])
|
598
|
+
assert_equal ['a', 'b', 'x', 'y'], r
|
599
|
+
assert_equal FileList, r.class
|
600
|
+
|
601
|
+
f = FileList['a', ['b', 'c'], FileList['d', 'e']]
|
602
|
+
r = f.flatten
|
603
|
+
assert_equal ['a', 'b', 'c', 'd', 'e'], r
|
604
|
+
assert_equal FileList, r.class
|
605
|
+
|
606
|
+
f = FileList['a', 'b', 'a']
|
607
|
+
r = f.uniq
|
608
|
+
assert_equal ['a', 'b'], r
|
609
|
+
assert_equal FileList, r.class
|
610
|
+
|
611
|
+
f = FileList['a', 'b', 'c', 'd']
|
612
|
+
r = f.values_at(1, 3)
|
613
|
+
assert_equal ['b', 'd'], r
|
614
|
+
assert_equal FileList, r.class
|
615
|
+
end
|
616
|
+
|
617
|
+
def test_file_utils_can_use_filelists
|
618
|
+
cfiles = FileList['*.c']
|
619
|
+
|
620
|
+
cp cfiles, @cdir, :verbose => false
|
621
|
+
|
622
|
+
assert File.exist?(File.join(@cdir, 'abc.c'))
|
623
|
+
assert File.exist?(File.join(@cdir, 'xyz.c'))
|
624
|
+
assert File.exist?(File.join(@cdir, 'x.c'))
|
625
|
+
end
|
626
|
+
|
627
|
+
end
|