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,161 @@
|
|
1
|
+
module Term
|
2
|
+
module ANSIColor
|
3
|
+
module RGBColorMetricsHelpers
|
4
|
+
module WeightedEuclideanDistance
|
5
|
+
def weighted_euclidean_distance_to(other, weights = [ 1.0 ] * values.size)
|
6
|
+
sum = 0.0
|
7
|
+
values.zip(other.values, weights) do |s, o, w|
|
8
|
+
sum += w * (s - o) ** 2
|
9
|
+
end
|
10
|
+
Math.sqrt(sum)
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
module NormalizeRGBTriple
|
15
|
+
private
|
16
|
+
|
17
|
+
def normalize(v)
|
18
|
+
v /= 255.0
|
19
|
+
if v <= 0.04045
|
20
|
+
v / 12
|
21
|
+
else
|
22
|
+
( (v + 0.055) / 1.055) ** 2.4
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
def normalize_rgb_triple(rgb_triple)
|
27
|
+
[
|
28
|
+
rgb_triple.red,
|
29
|
+
rgb_triple.green,
|
30
|
+
rgb_triple.blue
|
31
|
+
].map { |v| normalize(v) }
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
module RGBColorMetrics
|
37
|
+
def self.metric(name)
|
38
|
+
metric?(name) or raise ArgumentError, "unknown metric #{name.inspect}"
|
39
|
+
end
|
40
|
+
|
41
|
+
def self.metric?(name)
|
42
|
+
if const_defined?(name)
|
43
|
+
const_get name
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
def self.metrics
|
48
|
+
constants.map(&:to_sym)
|
49
|
+
end
|
50
|
+
|
51
|
+
# Implements color distance how the old greeks and most donkeys would…
|
52
|
+
module Euclidean
|
53
|
+
def self.distance(rgb1, rgb2)
|
54
|
+
rgb1.weighted_euclidean_distance_to rgb2
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
# Implements color distance the best way everybody knows…
|
59
|
+
module NTSC
|
60
|
+
def self.distance(rgb1, rgb2)
|
61
|
+
rgb1.weighted_euclidean_distance_to rgb2, [ 0.299, 0.587, 0.114 ]
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
# Implements color distance as given in:
|
66
|
+
# http://www.compuphase.com/cmetric.htm
|
67
|
+
module CompuPhase
|
68
|
+
def self.distance(rgb1, rgb2)
|
69
|
+
rmean = (rgb1.red + rgb2.red) / 2
|
70
|
+
rgb1.weighted_euclidean_distance_to rgb2,
|
71
|
+
[ 2 + (rmean >> 8), 4, 2 + ((255 - rmean) >> 8) ]
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
module YUV
|
76
|
+
class YUVTriple < Struct.new(:y, :u, :v)
|
77
|
+
include RGBColorMetricsHelpers::WeightedEuclideanDistance
|
78
|
+
|
79
|
+
def self.from_rgb_triple(rgb_triple)
|
80
|
+
r, g, b = rgb_triple.red, rgb_triple.green, rgb_triple.blue
|
81
|
+
y = (0.299 * r + 0.587 * g + 0.114 * b).round
|
82
|
+
u = ((b - y) * 0.492).round
|
83
|
+
v = ((r - y) * 0.877).round
|
84
|
+
new(y, u, v)
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
def self.distance(rgb1, rgb2)
|
89
|
+
yuv1 = YUVTriple.from_rgb_triple(rgb1)
|
90
|
+
yuv2 = YUVTriple.from_rgb_triple(rgb2)
|
91
|
+
yuv1.weighted_euclidean_distance_to yuv2
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
module CIEXYZ
|
96
|
+
class CIEXYZTriple < Struct.new(:x, :y, :z)
|
97
|
+
include RGBColorMetricsHelpers::WeightedEuclideanDistance
|
98
|
+
extend RGBColorMetricsHelpers::NormalizeRGBTriple
|
99
|
+
|
100
|
+
def self.from_rgb_triple(rgb_triple)
|
101
|
+
r, g, b = normalize_rgb_triple rgb_triple
|
102
|
+
|
103
|
+
x = 0.436052025 * r + 0.385081593 * g + 0.143087414 * b
|
104
|
+
y = 0.222491598 * r + 0.71688606 * g + 0.060621486 * b
|
105
|
+
z = 0.013929122 * r + 0.097097002 * g + 0.71418547 * b
|
106
|
+
|
107
|
+
x *= 255
|
108
|
+
y *= 255
|
109
|
+
z *= 255
|
110
|
+
|
111
|
+
new(x.round, y.round, z.round)
|
112
|
+
end
|
113
|
+
end
|
114
|
+
|
115
|
+
def self.distance(rgb1, rgb2)
|
116
|
+
xyz1 = CIEXYZTriple.from_rgb_triple(rgb1)
|
117
|
+
xyz2 = CIEXYZTriple.from_rgb_triple(rgb2)
|
118
|
+
xyz1.weighted_euclidean_distance_to xyz2
|
119
|
+
end
|
120
|
+
end
|
121
|
+
|
122
|
+
module CIELab
|
123
|
+
class CIELabTriple < Struct.new(:l, :a, :b)
|
124
|
+
include RGBColorMetricsHelpers::WeightedEuclideanDistance
|
125
|
+
extend RGBColorMetricsHelpers::NormalizeRGBTriple
|
126
|
+
|
127
|
+
def self.from_rgb_triple(rgb_triple)
|
128
|
+
r, g, b = normalize_rgb_triple rgb_triple
|
129
|
+
|
130
|
+
x = 0.436052025 * r + 0.385081593 * g + 0.143087414 * b
|
131
|
+
y = 0.222491598 * r + 0.71688606 * g + 0.060621486 * b
|
132
|
+
z = 0.013929122 * r + 0.097097002 * g + 0.71418547 * b
|
133
|
+
|
134
|
+
xr = x / 0.964221
|
135
|
+
yr = y
|
136
|
+
zr = z / 0.825211
|
137
|
+
|
138
|
+
eps = 216.0 / 24389
|
139
|
+
k = 24389.0 / 27
|
140
|
+
|
141
|
+
fx = xr > eps ? xr ** (1.0 / 3) : (k * xr + 16) / 116
|
142
|
+
fy = yr > eps ? yr ** (1.0 / 3) : (k * yr + 16) / 116
|
143
|
+
fz = zr > eps ? zr ** (1.0 / 3) : (k * zr + 16) / 116
|
144
|
+
|
145
|
+
l = 2.55 * ((116 * fy) - 16)
|
146
|
+
a = 500 * (fx - fy)
|
147
|
+
b = 200 * (fy - fz)
|
148
|
+
|
149
|
+
new(l.round, a.round, b.round)
|
150
|
+
end
|
151
|
+
end
|
152
|
+
|
153
|
+
def self.distance(rgb1, rgb2)
|
154
|
+
lab1 = CIELabTriple.from_rgb_triple(rgb1)
|
155
|
+
lab2 = CIELabTriple.from_rgb_triple(rgb2)
|
156
|
+
lab1.weighted_euclidean_distance_to lab2
|
157
|
+
end
|
158
|
+
end
|
159
|
+
end
|
160
|
+
end
|
161
|
+
end
|
@@ -0,0 +1,121 @@
|
|
1
|
+
require 'term/ansicolor/rgb_color_metrics'
|
2
|
+
|
3
|
+
module Term
|
4
|
+
module ANSIColor
|
5
|
+
class RGBTriple
|
6
|
+
include Term::ANSIColor::RGBColorMetricsHelpers::WeightedEuclideanDistance
|
7
|
+
|
8
|
+
def self.convert_value(color)
|
9
|
+
color.nil? and raise ArgumentError, "missing color value"
|
10
|
+
color = Integer(color)
|
11
|
+
(0..0xff) === color or raise ArgumentError,
|
12
|
+
"color value #{color.inspect} not between 0 and 255"
|
13
|
+
color
|
14
|
+
end
|
15
|
+
|
16
|
+
private_class_method :convert_value
|
17
|
+
|
18
|
+
def self.from_html(html)
|
19
|
+
case html
|
20
|
+
when /\A#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})\z/i
|
21
|
+
new(*$~.captures.map { |c| convert_value(c.to_i(16)) })
|
22
|
+
when /\A#([0-9a-f])([0-9a-f])([0-9a-f])\z/i
|
23
|
+
new(*$~.captures.map { |c| convert_value(c.to_i(16) << 4) })
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
def self.from_hash(options)
|
28
|
+
new(
|
29
|
+
convert_value(options[:red]),
|
30
|
+
convert_value(options[:green]),
|
31
|
+
convert_value(options[:blue])
|
32
|
+
)
|
33
|
+
end
|
34
|
+
|
35
|
+
def self.from_array(array)
|
36
|
+
new(*array)
|
37
|
+
end
|
38
|
+
|
39
|
+
def self.[](thing)
|
40
|
+
case
|
41
|
+
when thing.respond_to?(:to_rgb_triple) then thing
|
42
|
+
when thing.respond_to?(:to_ary) then RGBTriple.from_array(thing.to_ary)
|
43
|
+
when thing.respond_to?(:to_str) then RGBTriple.from_html(thing.to_str.sub(/\Aon_/, '')) # XXX somewhat hacky
|
44
|
+
when thing.respond_to?(:to_hash) then RGBTriple.from_hash(thing.to_hash)
|
45
|
+
else raise ArgumentError, "cannot convert #{thing.inspect} into #{self}"
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
def initialize(red, green, blue)
|
50
|
+
@values = [ red, green, blue ]
|
51
|
+
end
|
52
|
+
|
53
|
+
def red
|
54
|
+
@values[0]
|
55
|
+
end
|
56
|
+
|
57
|
+
def green
|
58
|
+
@values[1]
|
59
|
+
end
|
60
|
+
|
61
|
+
def blue
|
62
|
+
@values[2]
|
63
|
+
end
|
64
|
+
|
65
|
+
def gray?
|
66
|
+
red != 0 && red != 0xff && red == green && green == blue && blue == red
|
67
|
+
end
|
68
|
+
|
69
|
+
def html
|
70
|
+
s = '#'
|
71
|
+
@values.each { |c| s << '%02x' % c }
|
72
|
+
s
|
73
|
+
end
|
74
|
+
|
75
|
+
def to_rgb_triple
|
76
|
+
self
|
77
|
+
end
|
78
|
+
|
79
|
+
attr_reader :values
|
80
|
+
protected :values
|
81
|
+
|
82
|
+
def to_a
|
83
|
+
@values.dup
|
84
|
+
end
|
85
|
+
|
86
|
+
def ==(other)
|
87
|
+
@values == other.values
|
88
|
+
end
|
89
|
+
|
90
|
+
def distance_to(other, options = {})
|
91
|
+
options[:metric] ||= RGBColorMetrics::CIELab
|
92
|
+
options[:metric].distance(self, other)
|
93
|
+
end
|
94
|
+
|
95
|
+
def initialize_copy(other)
|
96
|
+
r = super
|
97
|
+
other.instance_variable_set :@values, @values.dup
|
98
|
+
r
|
99
|
+
end
|
100
|
+
|
101
|
+
def gradient_to(other, options = {})
|
102
|
+
options[:steps] ||= 16
|
103
|
+
steps = options[:steps].to_i
|
104
|
+
steps < 2 and raise ArgumentError, 'at least 2 steps are required'
|
105
|
+
changes = other.values.zip(@values).map { |x, y| x - y }
|
106
|
+
current = self
|
107
|
+
gradient = [ current.dup ]
|
108
|
+
s = steps - 1
|
109
|
+
while s > 1
|
110
|
+
current = current.dup
|
111
|
+
gradient << current
|
112
|
+
3.times do |i|
|
113
|
+
current.values[i] += changes[i] / (steps - 1)
|
114
|
+
end
|
115
|
+
s -= 1
|
116
|
+
end
|
117
|
+
gradient << other
|
118
|
+
end
|
119
|
+
end
|
120
|
+
end
|
121
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
module Term::ANSIColor
|
2
|
+
# Term::ANSIColor version
|
3
|
+
VERSION = '1.2.2'
|
4
|
+
VERSION_ARRAY = VERSION.split('.').map(&:to_i) # :nodoc:
|
5
|
+
VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
|
6
|
+
VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
|
7
|
+
VERSION_BUILD = VERSION_ARRAY[2] # :nodoc:
|
8
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = "term-ansicolor"
|
5
|
+
s.version = "1.2.2"
|
6
|
+
|
7
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
|
+
s.authors = ["Florian Frank"]
|
9
|
+
s.date = "2013-05-30"
|
10
|
+
s.description = "This library uses ANSI escape sequences to control the attributes of terminal output"
|
11
|
+
s.email = "flori@ping.de"
|
12
|
+
s.executables = ["cdiff", "decolor", "colortab", "term_mandel", "term_display"]
|
13
|
+
s.extra_rdoc_files = ["README.rdoc", "lib/term/ansicolor.rb", "lib/term/ansicolor/attribute.rb", "lib/term/ansicolor/ppm_reader.rb", "lib/term/ansicolor/rgb_color_metrics.rb", "lib/term/ansicolor/rgb_triple.rb", "lib/term/ansicolor/version.rb"]
|
14
|
+
s.files = [".gitignore", ".travis.yml", "CHANGES", "COPYING", "Gemfile", "README.rdoc", "Rakefile", "VERSION", "bin/cdiff", "bin/colortab", "bin/decolor", "bin/term_display", "bin/term_mandel", "examples/ColorTest.gif", "examples/Mona_Lisa.jpg", "examples/Stilleben.jpg", "examples/example.rb", "examples/lambda-red-plain.ppm", "examples/lambda-red.png", "examples/lambda-red.ppm", "examples/pacman.jpg", "examples/smiley.png", "examples/wool.jpg", "lib/term/ansicolor.rb", "lib/term/ansicolor/.keep", "lib/term/ansicolor/attribute.rb", "lib/term/ansicolor/ppm_reader.rb", "lib/term/ansicolor/rgb_color_metrics.rb", "lib/term/ansicolor/rgb_triple.rb", "lib/term/ansicolor/version.rb", "term-ansicolor.gemspec", "tests/ansicolor_test.rb", "tests/attribute_test.rb", "tests/ppm_reader_test.rb", "tests/rgb_color_metrics_test.rb", "tests/rgb_triple_test.rb", "tests/test_helper.rb"]
|
15
|
+
s.homepage = "http://flori.github.com/term-ansicolor"
|
16
|
+
s.licenses = ["GPL-2"]
|
17
|
+
s.rdoc_options = ["--title", "Term-ansicolor - Ruby library that colors strings using ANSI escape sequences", "--main", "README.rdoc"]
|
18
|
+
s.require_paths = ["lib"]
|
19
|
+
s.rubygems_version = "2.0.3"
|
20
|
+
s.summary = "Ruby library that colors strings using ANSI escape sequences"
|
21
|
+
s.test_files = ["tests/ansicolor_test.rb", "tests/attribute_test.rb", "tests/ppm_reader_test.rb", "tests/rgb_color_metrics_test.rb", "tests/rgb_triple_test.rb", "tests/test_helper.rb"]
|
22
|
+
|
23
|
+
if s.respond_to? :specification_version then
|
24
|
+
s.specification_version = 4
|
25
|
+
|
26
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
27
|
+
s.add_development_dependency(%q<gem_hadar>, ["~> 0.3.2"])
|
28
|
+
s.add_development_dependency(%q<simplecov>, [">= 0"])
|
29
|
+
s.add_runtime_dependency(%q<tins>, ["~> 0.8"])
|
30
|
+
else
|
31
|
+
s.add_dependency(%q<gem_hadar>, ["~> 0.3.2"])
|
32
|
+
s.add_dependency(%q<simplecov>, [">= 0"])
|
33
|
+
s.add_dependency(%q<tins>, ["~> 0.8"])
|
34
|
+
end
|
35
|
+
else
|
36
|
+
s.add_dependency(%q<gem_hadar>, ["~> 0.3.2"])
|
37
|
+
s.add_dependency(%q<simplecov>, [">= 0"])
|
38
|
+
s.add_dependency(%q<tins>, ["~> 0.8"])
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,133 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class String
|
4
|
+
include Term::ANSIColor
|
5
|
+
end
|
6
|
+
|
7
|
+
class Color
|
8
|
+
extend Term::ANSIColor
|
9
|
+
end
|
10
|
+
|
11
|
+
class StringLike
|
12
|
+
def initialize(string)
|
13
|
+
@string = string
|
14
|
+
end
|
15
|
+
|
16
|
+
def to_str
|
17
|
+
@string
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
class ANSIColorTest < Test::Unit::TestCase
|
22
|
+
include Term::ANSIColor
|
23
|
+
|
24
|
+
def setup
|
25
|
+
@string = "red"
|
26
|
+
@string_red = "\e[31mred\e[0m"
|
27
|
+
@string_red_on_green = "\e[42m\e[31mred\e[0m\e[0m"
|
28
|
+
@string_like = StringLike.new(@string)
|
29
|
+
@string_like_red = StringLike.new(@string_red)
|
30
|
+
end
|
31
|
+
|
32
|
+
attr_reader :string, :string_red, :string_red_on_green, :string_like, :string_like_red
|
33
|
+
|
34
|
+
def test_red
|
35
|
+
assert_equal string_red, string.red
|
36
|
+
assert_equal string_red, Color.red(string)
|
37
|
+
assert_equal string_red, Color.red { string }
|
38
|
+
assert_equal string_red, Term::ANSIColor.red { string }
|
39
|
+
assert_equal string_red, red { string }
|
40
|
+
end
|
41
|
+
|
42
|
+
def test_red_on_green
|
43
|
+
assert_equal string_red_on_green, string.red.on_green
|
44
|
+
assert_equal string_red_on_green, Color.on_green(Color.red(string))
|
45
|
+
assert_equal string_red_on_green, Color.on_green { Color.red { string } }
|
46
|
+
assert_equal string_red_on_green,
|
47
|
+
Term::ANSIColor.on_green { Term::ANSIColor.red { string } }
|
48
|
+
assert_equal string_red_on_green, on_green { red { string } }
|
49
|
+
end
|
50
|
+
|
51
|
+
def test_color
|
52
|
+
assert_equal "\e[38;5;128mfoo\e[0m", Color.color(:color128, "foo")
|
53
|
+
assert_equal "\e[38;5;128mfoo\e[0m", "foo".color(:color128)
|
54
|
+
assert_equal "\e[38;5;128mfoo\e[0m", color(:color128, "foo")
|
55
|
+
assert_equal "\e[38;5;128mfoo\e[0m", Color.color(:color128) { "foo" }
|
56
|
+
assert_equal "\e[38;5;128mfoo\e[0m", "foo".color(:color128) { "foo" }
|
57
|
+
assert_equal "\e[38;5;128mfoo\e[0m", color(:color128) { "foo" }
|
58
|
+
assert_equal "\e[38;5;128mfoo\e[0m", color(:color128) + "foo" + color(:reset)
|
59
|
+
assert_equal "\e[38;5;128mfoo\e[0m", Color.color(128, "foo")
|
60
|
+
assert_equal "\e[38;5;128mfoo\e[0m", "foo".color(128)
|
61
|
+
assert_equal "\e[38;5;128mfoo\e[0m", color(128, "foo")
|
62
|
+
assert_equal "\e[38;5;128mfoo\e[0m", Color.color(128) { "foo" }
|
63
|
+
assert_equal "\e[38;5;128mfoo\e[0m", "foo".color(128) { "foo" }
|
64
|
+
assert_equal "\e[38;5;128mfoo\e[0m", color(128) { "foo" }
|
65
|
+
assert_equal "\e[38;5;128mfoo\e[0m", color(128) + "foo" + color(:reset)
|
66
|
+
end
|
67
|
+
|
68
|
+
def test_on_color
|
69
|
+
assert_equal "\e[48;5;128mfoo\e[0m", Color.on_color(:color128, "foo")
|
70
|
+
assert_equal "\e[48;5;128mfoo\e[0m", "foo".on_color(:color128)
|
71
|
+
assert_equal "\e[48;5;128mfoo\e[0m", on_color(:color128, "foo")
|
72
|
+
assert_equal "\e[48;5;128mfoo\e[0m", Color.on_color(:color128) { "foo" }
|
73
|
+
assert_equal "\e[48;5;128mfoo\e[0m", "foo".on_color(:color128) { "foo" }
|
74
|
+
assert_equal "\e[48;5;128mfoo\e[0m", on_color(:color128) { "foo" }
|
75
|
+
assert_equal "\e[48;5;128mfoo\e[0m", on_color(:color128) + "foo" + color(:reset)
|
76
|
+
assert_equal "\e[48;5;128mfoo\e[0m", Color.on_color(128, "foo")
|
77
|
+
assert_equal "\e[48;5;128mfoo\e[0m", "foo".on_color(128)
|
78
|
+
assert_equal "\e[48;5;128mfoo\e[0m", on_color(128, "foo")
|
79
|
+
assert_equal "\e[48;5;128mfoo\e[0m", Color.on_color(128) { "foo" }
|
80
|
+
assert_equal "\e[48;5;128mfoo\e[0m", "foo".on_color(128) { "foo" }
|
81
|
+
assert_equal "\e[48;5;128mfoo\e[0m", on_color(128) { "foo" }
|
82
|
+
assert_equal "\e[48;5;128mfoo\e[0m", on_color(128) + "foo" + color(:reset)
|
83
|
+
end
|
84
|
+
|
85
|
+
def test_uncolor
|
86
|
+
assert_equal string, string_red.uncolor
|
87
|
+
assert_equal string, Color.uncolor(string_red)
|
88
|
+
assert_equal string, Color.uncolor(string_like_red)
|
89
|
+
assert_equal string, Color.uncolor { string_red }
|
90
|
+
assert_equal string, Color.uncolor { string_like_red }
|
91
|
+
assert_equal string, Term::ANSIColor.uncolor { string_red }
|
92
|
+
assert_equal string, Term::ANSIColor.uncolor { string_like_red }
|
93
|
+
assert_equal string, uncolor { string }
|
94
|
+
assert_equal string, uncolor { string_like_red }
|
95
|
+
assert_equal "", uncolor(Object.new)
|
96
|
+
for index in 0..255
|
97
|
+
assert_equal "foo", Color.uncolor(Color.color("color#{index}", "foo"))
|
98
|
+
assert_equal "foo", Color.uncolor(Color.on_color("color#{index}", "foo"))
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
def test_attributes
|
103
|
+
foo = 'foo'
|
104
|
+
for a in Term::ANSIColor.attributes
|
105
|
+
# skip clear for Ruby 1.9 which implements String#clear to empty the string
|
106
|
+
if a != :clear || Term::ANSIColor.support?(:clear)
|
107
|
+
assert_not_equal foo, foo_colored = foo.__send__(a)
|
108
|
+
assert_equal foo, foo_colored.uncolor
|
109
|
+
end
|
110
|
+
assert_not_equal foo, foo_colored = Color.__send__(a, foo)
|
111
|
+
assert_equal foo, Color.uncolor(foo_colored)
|
112
|
+
assert_not_equal foo, foo_colored = Color.__send__(a) { foo }
|
113
|
+
assert_equal foo, Color.uncolor { foo_colored }
|
114
|
+
assert_not_equal foo, foo_colored = Term::ANSIColor.__send__(a) { foo }
|
115
|
+
assert_equal foo, Term::ANSIColor.uncolor { foo_colored }
|
116
|
+
assert_not_equal foo, foo_colored = __send__(a) { foo }
|
117
|
+
assert_equal foo, uncolor { foo_colored }
|
118
|
+
end
|
119
|
+
assert_equal Term::ANSIColor.attributes, 'foo'.attributes
|
120
|
+
end
|
121
|
+
|
122
|
+
def test_coloring_string_like
|
123
|
+
assert_equal "\e[31mred\e[0m", red(string_like)
|
124
|
+
end
|
125
|
+
|
126
|
+
def test_frozen
|
127
|
+
string = 'foo'
|
128
|
+
red = string.red
|
129
|
+
string.extend(Term::ANSIColor).freeze
|
130
|
+
assert string.frozen?
|
131
|
+
assert_equal red, string.red
|
132
|
+
end
|
133
|
+
end
|