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
data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/multibyte.rb
ADDED
@@ -0,0 +1,72 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
require 'active_support/multibyte'
|
3
|
+
|
4
|
+
class String
|
5
|
+
if RUBY_VERSION >= "1.9"
|
6
|
+
# == Multibyte proxy
|
7
|
+
#
|
8
|
+
# +mb_chars+ is a multibyte safe proxy for string methods.
|
9
|
+
#
|
10
|
+
# In Ruby 1.8 and older it creates and returns an instance of the ActiveSupport::Multibyte::Chars class which
|
11
|
+
# encapsulates the original string. A Unicode safe version of all the String methods are defined on this proxy
|
12
|
+
# class. If the proxy class doesn't respond to a certain method, it's forwarded to the encapsuled string.
|
13
|
+
#
|
14
|
+
# name = 'Claus Müller'
|
15
|
+
# name.reverse # => "rell??M sualC"
|
16
|
+
# name.length # => 13
|
17
|
+
#
|
18
|
+
# name.mb_chars.reverse.to_s # => "rellüM sualC"
|
19
|
+
# name.mb_chars.length # => 12
|
20
|
+
#
|
21
|
+
# In Ruby 1.9 and newer +mb_chars+ returns +self+ because String is (mostly) encoding aware. This means that
|
22
|
+
# it becomes easy to run one version of your code on multiple Ruby versions.
|
23
|
+
#
|
24
|
+
# == Method chaining
|
25
|
+
#
|
26
|
+
# All the methods on the Chars proxy which normally return a string will return a Chars object. This allows
|
27
|
+
# method chaining on the result of any of these methods.
|
28
|
+
#
|
29
|
+
# name.mb_chars.reverse.length # => 12
|
30
|
+
#
|
31
|
+
# == Interoperability and configuration
|
32
|
+
#
|
33
|
+
# The Chars object tries to be as interchangeable with String objects as possible: sorting and comparing between
|
34
|
+
# String and Char work like expected. The bang! methods change the internal string representation in the Chars
|
35
|
+
# object. Interoperability problems can be resolved easily with a +to_s+ call.
|
36
|
+
#
|
37
|
+
# For more information about the methods defined on the Chars proxy see ActiveSupport::Multibyte::Chars. For
|
38
|
+
# information about how to change the default Multibyte behaviour see ActiveSupport::Multibyte.
|
39
|
+
def mb_chars
|
40
|
+
if ActiveSupport::Multibyte.proxy_class.consumes?(self)
|
41
|
+
ActiveSupport::Multibyte.proxy_class.new(self)
|
42
|
+
else
|
43
|
+
self
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
def is_utf8? #:nodoc
|
48
|
+
case encoding
|
49
|
+
when Encoding::UTF_8
|
50
|
+
valid_encoding?
|
51
|
+
when Encoding::ASCII_8BIT, Encoding::US_ASCII
|
52
|
+
dup.force_encoding(Encoding::UTF_8).valid_encoding?
|
53
|
+
else
|
54
|
+
false
|
55
|
+
end
|
56
|
+
end
|
57
|
+
else
|
58
|
+
def mb_chars
|
59
|
+
if ActiveSupport::Multibyte.proxy_class.wants?(self)
|
60
|
+
ActiveSupport::Multibyte.proxy_class.new(self)
|
61
|
+
else
|
62
|
+
self
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
# Returns true if the string has UTF-8 semantics (a String used for purely byte resources is unlikely to have
|
67
|
+
# them), returns false otherwise.
|
68
|
+
def is_utf8?
|
69
|
+
ActiveSupport::Multibyte::Chars.consumes?(self)
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/output_safety.rb
ADDED
@@ -0,0 +1,109 @@
|
|
1
|
+
require 'erb'
|
2
|
+
require 'active_support/core_ext/kernel/singleton_class'
|
3
|
+
|
4
|
+
class ERB
|
5
|
+
module Util
|
6
|
+
HTML_ESCAPE = { '&' => '&', '>' => '>', '<' => '<', '"' => '"' }
|
7
|
+
JSON_ESCAPE = { '&' => '\u0026', '>' => '\u003E', '<' => '\u003C' }
|
8
|
+
|
9
|
+
# A utility method for escaping HTML tag characters.
|
10
|
+
# This method is also aliased as <tt>h</tt>.
|
11
|
+
#
|
12
|
+
# In your ERb templates, use this method to escape any unsafe content. For example:
|
13
|
+
# <%=h @person.name %>
|
14
|
+
#
|
15
|
+
# ==== Example:
|
16
|
+
# puts html_escape("is a > 0 & a < 10?")
|
17
|
+
# # => is a > 0 & a < 10?
|
18
|
+
def html_escape(s)
|
19
|
+
s = s.to_s
|
20
|
+
if s.html_safe?
|
21
|
+
s
|
22
|
+
else
|
23
|
+
s.gsub(/[&"><]/) { |special| HTML_ESCAPE[special] }.html_safe
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
remove_method(:h)
|
28
|
+
alias h html_escape
|
29
|
+
|
30
|
+
module_function :h
|
31
|
+
|
32
|
+
singleton_class.send(:remove_method, :html_escape)
|
33
|
+
module_function :html_escape
|
34
|
+
|
35
|
+
# A utility method for escaping HTML entities in JSON strings.
|
36
|
+
# This method is also aliased as <tt>j</tt>.
|
37
|
+
#
|
38
|
+
# In your ERb templates, use this method to escape any HTML entities:
|
39
|
+
# <%=j @person.to_json %>
|
40
|
+
#
|
41
|
+
# ==== Example:
|
42
|
+
# puts json_escape("is a > 0 & a < 10?")
|
43
|
+
# # => is a \u003E 0 \u0026 a \u003C 10?
|
44
|
+
def json_escape(s)
|
45
|
+
s.to_s.gsub(/[&"><]/) { |special| JSON_ESCAPE[special] }
|
46
|
+
end
|
47
|
+
|
48
|
+
alias j json_escape
|
49
|
+
module_function :j
|
50
|
+
module_function :json_escape
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
class Object
|
55
|
+
def html_safe?
|
56
|
+
false
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
class Fixnum
|
61
|
+
def html_safe?
|
62
|
+
true
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
module ActiveSupport #:nodoc:
|
67
|
+
class SafeBuffer < String
|
68
|
+
alias safe_concat concat
|
69
|
+
|
70
|
+
def concat(value)
|
71
|
+
if value.html_safe?
|
72
|
+
super(value)
|
73
|
+
else
|
74
|
+
super(ERB::Util.h(value))
|
75
|
+
end
|
76
|
+
end
|
77
|
+
alias << concat
|
78
|
+
|
79
|
+
def +(other)
|
80
|
+
dup.concat(other)
|
81
|
+
end
|
82
|
+
|
83
|
+
def html_safe?
|
84
|
+
true
|
85
|
+
end
|
86
|
+
|
87
|
+
def html_safe
|
88
|
+
self
|
89
|
+
end
|
90
|
+
|
91
|
+
def to_s
|
92
|
+
self
|
93
|
+
end
|
94
|
+
|
95
|
+
def to_yaml(*args)
|
96
|
+
to_str.to_yaml(*args)
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
class String
|
102
|
+
def html_safe!
|
103
|
+
raise "You can't call html_safe! on a String"
|
104
|
+
end
|
105
|
+
|
106
|
+
def html_safe
|
107
|
+
ActiveSupport::SafeBuffer.new(self)
|
108
|
+
end
|
109
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
class String
|
2
|
+
# Strips indentation in heredocs.
|
3
|
+
#
|
4
|
+
# For example in
|
5
|
+
#
|
6
|
+
# if options[:usage]
|
7
|
+
# puts <<-USAGE.strip_heredoc
|
8
|
+
# This command does such and such.
|
9
|
+
#
|
10
|
+
# Supported options are:
|
11
|
+
# -h This message
|
12
|
+
# ...
|
13
|
+
# USAGE
|
14
|
+
# end
|
15
|
+
#
|
16
|
+
# the user would see the usage message aligned against the left margin.
|
17
|
+
#
|
18
|
+
# Technically, it looks for the least indented line in the whole string, and removes
|
19
|
+
# that amount of leading whitespace.
|
20
|
+
def strip_heredoc
|
21
|
+
indent = chomp.scan(/^\s*/).min.size
|
22
|
+
gsub(/^\s{#{indent}}/, '')
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
begin
|
2
|
+
# See http://fast-xs.rubyforge.org/ by Eric Wong.
|
3
|
+
# Also included with hpricot.
|
4
|
+
require 'fast_xs'
|
5
|
+
rescue LoadError
|
6
|
+
# fast_xs extension unavailable
|
7
|
+
else
|
8
|
+
begin
|
9
|
+
require 'builder'
|
10
|
+
rescue LoadError
|
11
|
+
# builder demands the first shot at defining String#to_xs
|
12
|
+
end
|
13
|
+
|
14
|
+
class String
|
15
|
+
alias_method :original_xs, :to_xs if method_defined?(:to_xs)
|
16
|
+
alias_method :to_xs, :fast_xs
|
17
|
+
end
|
18
|
+
end
|
data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/time/calculations.rb
ADDED
@@ -0,0 +1,287 @@
|
|
1
|
+
require 'active_support/duration'
|
2
|
+
require 'active_support/core_ext/date/acts_like'
|
3
|
+
require 'active_support/core_ext/date/calculations'
|
4
|
+
require 'active_support/core_ext/date_time/conversions'
|
5
|
+
|
6
|
+
class Time
|
7
|
+
COMMON_YEAR_DAYS_IN_MONTH = [nil, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]
|
8
|
+
DAYS_INTO_WEEK = { :monday => 0, :tuesday => 1, :wednesday => 2, :thursday => 3, :friday => 4, :saturday => 5, :sunday => 6 }
|
9
|
+
|
10
|
+
class << self
|
11
|
+
# Overriding case equality method so that it returns true for ActiveSupport::TimeWithZone instances
|
12
|
+
def ===(other)
|
13
|
+
other.is_a?(::Time)
|
14
|
+
end
|
15
|
+
|
16
|
+
# Return the number of days in the given month.
|
17
|
+
# If no year is specified, it will use the current year.
|
18
|
+
def days_in_month(month, year = now.year)
|
19
|
+
return 29 if month == 2 && ::Date.gregorian_leap?(year)
|
20
|
+
COMMON_YEAR_DAYS_IN_MONTH[month]
|
21
|
+
end
|
22
|
+
|
23
|
+
# Returns a new Time if requested year can be accommodated by Ruby's Time class
|
24
|
+
# (i.e., if year is within either 1970..2038 or 1902..2038, depending on system architecture);
|
25
|
+
# otherwise returns a DateTime
|
26
|
+
def time_with_datetime_fallback(utc_or_local, year, month=1, day=1, hour=0, min=0, sec=0, usec=0)
|
27
|
+
time = ::Time.send(utc_or_local, year, month, day, hour, min, sec, usec)
|
28
|
+
# This check is needed because Time.utc(y) returns a time object in the 2000s for 0 <= y <= 138.
|
29
|
+
time.year == year ? time : ::DateTime.civil_from_format(utc_or_local, year, month, day, hour, min, sec)
|
30
|
+
rescue
|
31
|
+
::DateTime.civil_from_format(utc_or_local, year, month, day, hour, min, sec)
|
32
|
+
end
|
33
|
+
|
34
|
+
# Wraps class method +time_with_datetime_fallback+ with +utc_or_local+ set to <tt>:utc</tt>.
|
35
|
+
def utc_time(*args)
|
36
|
+
time_with_datetime_fallback(:utc, *args)
|
37
|
+
end
|
38
|
+
|
39
|
+
# Wraps class method +time_with_datetime_fallback+ with +utc_or_local+ set to <tt>:local</tt>.
|
40
|
+
def local_time(*args)
|
41
|
+
time_with_datetime_fallback(:local, *args)
|
42
|
+
end
|
43
|
+
|
44
|
+
# Returns <tt>Time.zone.now</tt> when <tt>config.time_zone</tt> is set, otherwise just returns <tt>Time.now</tt>.
|
45
|
+
def current
|
46
|
+
::Time.zone_default ? ::Time.zone.now : ::Time.now
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
# Tells whether the Time object's time lies in the past
|
51
|
+
def past?
|
52
|
+
self < ::Time.current
|
53
|
+
end
|
54
|
+
|
55
|
+
# Tells whether the Time object's time is today
|
56
|
+
def today?
|
57
|
+
to_date == ::Date.current
|
58
|
+
end
|
59
|
+
|
60
|
+
# Tells whether the Time object's time lies in the future
|
61
|
+
def future?
|
62
|
+
self > ::Time.current
|
63
|
+
end
|
64
|
+
|
65
|
+
# Seconds since midnight: Time.now.seconds_since_midnight
|
66
|
+
def seconds_since_midnight
|
67
|
+
to_i - change(:hour => 0).to_i + (usec / 1.0e+6)
|
68
|
+
end
|
69
|
+
|
70
|
+
# Returns a new Time where one or more of the elements have been changed according to the +options+ parameter. The time options
|
71
|
+
# (hour, minute, sec, usec) reset cascadingly, so if only the hour is passed, then minute, sec, and usec is set to 0. If the hour and
|
72
|
+
# minute is passed, then sec and usec is set to 0.
|
73
|
+
def change(options)
|
74
|
+
::Time.send(
|
75
|
+
utc? ? :utc_time : :local_time,
|
76
|
+
options[:year] || year,
|
77
|
+
options[:month] || month,
|
78
|
+
options[:day] || day,
|
79
|
+
options[:hour] || hour,
|
80
|
+
options[:min] || (options[:hour] ? 0 : min),
|
81
|
+
options[:sec] || ((options[:hour] || options[:min]) ? 0 : sec),
|
82
|
+
options[:usec] || ((options[:hour] || options[:min] || options[:sec]) ? 0 : usec)
|
83
|
+
)
|
84
|
+
end
|
85
|
+
|
86
|
+
# Uses Date to provide precise Time calculations for years, months, and days.
|
87
|
+
# The +options+ parameter takes a hash with any of these keys: <tt>:years</tt>,
|
88
|
+
# <tt>:months</tt>, <tt>:weeks</tt>, <tt>:days</tt>, <tt>:hours</tt>,
|
89
|
+
# <tt>:minutes</tt>, <tt>:seconds</tt>.
|
90
|
+
def advance(options)
|
91
|
+
unless options[:weeks].nil?
|
92
|
+
options[:weeks], partial_weeks = options[:weeks].divmod(1)
|
93
|
+
options[:days] = (options[:days] || 0) + 7 * partial_weeks
|
94
|
+
end
|
95
|
+
|
96
|
+
unless options[:days].nil?
|
97
|
+
options[:days], partial_days = options[:days].divmod(1)
|
98
|
+
options[:hours] = (options[:hours] || 0) + 24 * partial_days
|
99
|
+
end
|
100
|
+
|
101
|
+
d = to_date.advance(options)
|
102
|
+
time_advanced_by_date = change(:year => d.year, :month => d.month, :day => d.day)
|
103
|
+
seconds_to_advance = (options[:seconds] || 0) + (options[:minutes] || 0) * 60 + (options[:hours] || 0) * 3600
|
104
|
+
seconds_to_advance == 0 ? time_advanced_by_date : time_advanced_by_date.since(seconds_to_advance)
|
105
|
+
end
|
106
|
+
|
107
|
+
# Returns a new Time representing the time a number of seconds ago, this is basically a wrapper around the Numeric extension
|
108
|
+
def ago(seconds)
|
109
|
+
since(-seconds)
|
110
|
+
end
|
111
|
+
|
112
|
+
# Returns a new Time representing the time a number of seconds since the instance time
|
113
|
+
def since(seconds)
|
114
|
+
self + seconds
|
115
|
+
rescue
|
116
|
+
to_datetime.since(seconds)
|
117
|
+
end
|
118
|
+
alias :in :since
|
119
|
+
|
120
|
+
# Returns a new Time representing the time a number of specified months ago
|
121
|
+
def months_ago(months)
|
122
|
+
advance(:months => -months)
|
123
|
+
end
|
124
|
+
|
125
|
+
# Returns a new Time representing the time a number of specified months in the future
|
126
|
+
def months_since(months)
|
127
|
+
advance(:months => months)
|
128
|
+
end
|
129
|
+
|
130
|
+
# Returns a new Time representing the time a number of specified years ago
|
131
|
+
def years_ago(years)
|
132
|
+
advance(:years => -years)
|
133
|
+
end
|
134
|
+
|
135
|
+
# Returns a new Time representing the time a number of specified years in the future
|
136
|
+
def years_since(years)
|
137
|
+
advance(:years => years)
|
138
|
+
end
|
139
|
+
|
140
|
+
# Short-hand for years_ago(1)
|
141
|
+
def prev_year
|
142
|
+
years_ago(1)
|
143
|
+
end
|
144
|
+
|
145
|
+
# Short-hand for years_since(1)
|
146
|
+
def next_year
|
147
|
+
years_since(1)
|
148
|
+
end
|
149
|
+
|
150
|
+
# Short-hand for months_ago(1)
|
151
|
+
def prev_month
|
152
|
+
months_ago(1)
|
153
|
+
end
|
154
|
+
|
155
|
+
# Short-hand for months_since(1)
|
156
|
+
def next_month
|
157
|
+
months_since(1)
|
158
|
+
end
|
159
|
+
|
160
|
+
# Returns a new Time representing the "start" of this week (Monday, 0:00)
|
161
|
+
def beginning_of_week
|
162
|
+
days_to_monday = wday!=0 ? wday-1 : 6
|
163
|
+
(self - days_to_monday.days).midnight
|
164
|
+
end
|
165
|
+
alias :monday :beginning_of_week
|
166
|
+
alias :at_beginning_of_week :beginning_of_week
|
167
|
+
|
168
|
+
# Returns a new Time representing the end of this week, (end of Sunday)
|
169
|
+
def end_of_week
|
170
|
+
days_to_sunday = wday!=0 ? 7-wday : 0
|
171
|
+
(self + days_to_sunday.days).end_of_day
|
172
|
+
end
|
173
|
+
alias :at_end_of_week :end_of_week
|
174
|
+
|
175
|
+
# Returns a new Time representing the start of the given day in next week (default is Monday).
|
176
|
+
def next_week(day = :monday)
|
177
|
+
since(1.week).beginning_of_week.since(DAYS_INTO_WEEK[day].day).change(:hour => 0)
|
178
|
+
end
|
179
|
+
|
180
|
+
# Returns a new Time representing the start of the day (0:00)
|
181
|
+
def beginning_of_day
|
182
|
+
#(self - seconds_since_midnight).change(:usec => 0)
|
183
|
+
change(:hour => 0, :min => 0, :sec => 0, :usec => 0)
|
184
|
+
end
|
185
|
+
alias :midnight :beginning_of_day
|
186
|
+
alias :at_midnight :beginning_of_day
|
187
|
+
alias :at_beginning_of_day :beginning_of_day
|
188
|
+
|
189
|
+
# Returns a new Time representing the end of the day, 23:59:59.999999 (.999999999 in ruby1.9)
|
190
|
+
def end_of_day
|
191
|
+
change(:hour => 23, :min => 59, :sec => 59, :usec => 999999.999)
|
192
|
+
end
|
193
|
+
|
194
|
+
# Returns a new Time representing the start of the month (1st of the month, 0:00)
|
195
|
+
def beginning_of_month
|
196
|
+
#self - ((self.mday-1).days + self.seconds_since_midnight)
|
197
|
+
change(:day => 1,:hour => 0, :min => 0, :sec => 0, :usec => 0)
|
198
|
+
end
|
199
|
+
alias :at_beginning_of_month :beginning_of_month
|
200
|
+
|
201
|
+
# Returns a new Time representing the end of the month (end of the last day of the month)
|
202
|
+
def end_of_month
|
203
|
+
#self - ((self.mday-1).days + self.seconds_since_midnight)
|
204
|
+
last_day = ::Time.days_in_month(month, year)
|
205
|
+
change(:day => last_day, :hour => 23, :min => 59, :sec => 59, :usec => 999999.999)
|
206
|
+
end
|
207
|
+
alias :at_end_of_month :end_of_month
|
208
|
+
|
209
|
+
# Returns a new Time representing the start of the quarter (1st of january, april, july, october, 0:00)
|
210
|
+
def beginning_of_quarter
|
211
|
+
beginning_of_month.change(:month => [10, 7, 4, 1].detect { |m| m <= month })
|
212
|
+
end
|
213
|
+
alias :at_beginning_of_quarter :beginning_of_quarter
|
214
|
+
|
215
|
+
# Returns a new Time representing the end of the quarter (end of the last day of march, june, september, december)
|
216
|
+
def end_of_quarter
|
217
|
+
beginning_of_month.change(:month => [3, 6, 9, 12].detect { |m| m >= month }).end_of_month
|
218
|
+
end
|
219
|
+
alias :at_end_of_quarter :end_of_quarter
|
220
|
+
|
221
|
+
# Returns a new Time representing the start of the year (1st of january, 0:00)
|
222
|
+
def beginning_of_year
|
223
|
+
change(:month => 1, :day => 1, :hour => 0, :min => 0, :sec => 0, :usec => 0)
|
224
|
+
end
|
225
|
+
alias :at_beginning_of_year :beginning_of_year
|
226
|
+
|
227
|
+
# Returns a new Time representing the end of the year (end of the 31st of december)
|
228
|
+
def end_of_year
|
229
|
+
change(:month => 12, :day => 31, :hour => 23, :min => 59, :sec => 59, :usec => 999999.999)
|
230
|
+
end
|
231
|
+
alias :at_end_of_year :end_of_year
|
232
|
+
|
233
|
+
# Convenience method which returns a new Time representing the time 1 day ago
|
234
|
+
def yesterday
|
235
|
+
advance(:days => -1)
|
236
|
+
end
|
237
|
+
|
238
|
+
# Convenience method which returns a new Time representing the time 1 day since the instance time
|
239
|
+
def tomorrow
|
240
|
+
advance(:days => 1)
|
241
|
+
end
|
242
|
+
|
243
|
+
def plus_with_duration(other) #:nodoc:
|
244
|
+
if ActiveSupport::Duration === other
|
245
|
+
other.since(self)
|
246
|
+
else
|
247
|
+
plus_without_duration(other)
|
248
|
+
end
|
249
|
+
end
|
250
|
+
alias_method :plus_without_duration, :+
|
251
|
+
alias_method :+, :plus_with_duration
|
252
|
+
|
253
|
+
def minus_with_duration(other) #:nodoc:
|
254
|
+
if ActiveSupport::Duration === other
|
255
|
+
other.until(self)
|
256
|
+
else
|
257
|
+
minus_without_duration(other)
|
258
|
+
end
|
259
|
+
end
|
260
|
+
alias_method :minus_without_duration, :-
|
261
|
+
alias_method :-, :minus_with_duration
|
262
|
+
|
263
|
+
# Time#- can also be used to determine the number of seconds between two Time instances.
|
264
|
+
# We're layering on additional behavior so that ActiveSupport::TimeWithZone instances
|
265
|
+
# are coerced into values that Time#- will recognize
|
266
|
+
def minus_with_coercion(other)
|
267
|
+
other = other.comparable_time if other.respond_to?(:comparable_time)
|
268
|
+
other.is_a?(DateTime) ? to_f - other.to_f : minus_without_coercion(other)
|
269
|
+
end
|
270
|
+
alias_method :minus_without_coercion, :-
|
271
|
+
alias_method :-, :minus_with_coercion
|
272
|
+
|
273
|
+
# Layers additional behavior on Time#<=> so that DateTime and ActiveSupport::TimeWithZone instances
|
274
|
+
# can be chronologically compared with a Time
|
275
|
+
def compare_with_coercion(other)
|
276
|
+
# if other is an ActiveSupport::TimeWithZone, coerce a Time instance from it so we can do <=> comparison
|
277
|
+
other = other.comparable_time if other.respond_to?(:comparable_time)
|
278
|
+
if other.acts_like?(:date)
|
279
|
+
# other is a Date/DateTime, so coerce self #to_datetime and hand off to DateTime#<=>
|
280
|
+
to_datetime.compare_without_coercion(other)
|
281
|
+
else
|
282
|
+
compare_without_coercion(other)
|
283
|
+
end
|
284
|
+
end
|
285
|
+
alias_method :compare_without_coercion, :<=>
|
286
|
+
alias_method :<=>, :compare_with_coercion
|
287
|
+
end
|