social_url_stats 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/.gitignore +1 -0
- data/Gemfile +2 -0
- data/lib/social_url_stats/counter.rb +46 -22
- data/lib/social_url_stats/version.rb +1 -1
- data/test/counter_test.rb +90 -51
- data/test/test_helper.rb +7 -0
- data/vcr_cassettes/social_url_stats.yml +422 -0
- metadata +3 -819
- data/vendor/ruby/1.9.1/bin/cdiff +0 -23
- data/vendor/ruby/1.9.1/bin/colortab +0 -23
- data/vendor/ruby/1.9.1/bin/decolor +0 -23
- data/vendor/ruby/1.9.1/bin/rake +0 -23
- data/vendor/ruby/1.9.1/bin/term_display +0 -23
- data/vendor/ruby/1.9.1/bin/term_mandel +0 -23
- data/vendor/ruby/1.9.1/bin/watchr +0 -23
- data/vendor/ruby/1.9.1/build_info/active_support-3.0.0.info +0 -1
- data/vendor/ruby/1.9.1/build_info/activesupport-3.0.0.info +0 -1
- data/vendor/ruby/1.9.1/build_info/autotest-fsevent-0.2.9.info +0 -1
- data/vendor/ruby/1.9.1/build_info/autotest-growl-0.2.16.info +0 -1
- data/vendor/ruby/1.9.1/build_info/autotest-standalone-4.5.11.info +0 -1
- data/vendor/ruby/1.9.1/build_info/ffi-1.9.3.info +0 -1
- data/vendor/ruby/1.9.1/build_info/i18n-0.6.9.info +0 -1
- data/vendor/ruby/1.9.1/build_info/minitest-5.2.0.info +0 -1
- data/vendor/ruby/1.9.1/build_info/mynyml-redgreen-0.7.1.info +0 -1
- data/vendor/ruby/1.9.1/build_info/rake-10.1.0.info +0 -1
- data/vendor/ruby/1.9.1/build_info/ruby-fsevent-0.2.1.info +0 -1
- data/vendor/ruby/1.9.1/build_info/sys-uname-0.9.2.info +0 -1
- data/vendor/ruby/1.9.1/build_info/term-ansicolor-1.2.2.info +0 -1
- data/vendor/ruby/1.9.1/build_info/tins-0.13.1.info +0 -1
- data/vendor/ruby/1.9.1/build_info/vcr-2.8.0.info +0 -1
- data/vendor/ruby/1.9.1/build_info/watchr-0.7.info +0 -1
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/CHANGELOG +0 -1457
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/README.rdoc +0 -33
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support.rb +0 -79
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/all.rb +0 -3
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/backtrace_cleaner.rb +0 -94
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/base64.rb +0 -42
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/basic_object.rb +0 -21
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/benchmarkable.rb +0 -60
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/buffered_logger.rb +0 -136
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/builder.rb +0 -6
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/cache.rb +0 -638
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/cache/compressed_mem_cache_store.rb +0 -13
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/cache/file_store.rb +0 -189
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/cache/mem_cache_store.rb +0 -190
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/cache/memory_store.rb +0 -159
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/cache/strategy/local_cache.rb +0 -164
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/cache/synchronized_memory_store.rb +0 -11
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/callbacks.rb +0 -600
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/concern.rb +0 -64
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/configurable.rb +0 -36
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext.rb +0 -3
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/array.rb +0 -7
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/array/access.rb +0 -46
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/array/conversions.rb +0 -164
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/array/extract_options.rb +0 -29
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/array/grouping.rb +0 -100
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/array/random_access.rb +0 -27
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/array/uniq_by.rb +0 -17
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/array/wrap.rb +0 -48
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/benchmark.rb +0 -7
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/big_decimal.rb +0 -1
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/big_decimal/conversions.rb +0 -27
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/cgi.rb +0 -1
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/cgi/escape_skipping_slashes.rb +0 -19
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/class.rb +0 -5
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/class/attribute.rb +0 -90
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/class/attribute_accessors.rb +0 -79
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/class/delegating_attributes.rb +0 -44
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/class/inheritable_attributes.rb +0 -254
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/class/subclasses.rb +0 -50
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/date/acts_like.rb +0 -8
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/date/calculations.rb +0 -241
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/date/conversions.rb +0 -99
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/date/freeze.rb +0 -31
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/date/zones.rb +0 -14
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/date_time/acts_like.rb +0 -13
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/date_time/calculations.rb +0 -114
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/date_time/conversions.rb +0 -103
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/date_time/zones.rb +0 -21
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/enumerable.rb +0 -120
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/exception.rb +0 -3
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/file.rb +0 -2
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/file/atomic.rb +0 -41
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/file/path.rb +0 -5
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/float.rb +0 -1
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/float/rounding.rb +0 -19
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/hash.rb +0 -8
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/hash/conversions.rb +0 -150
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/hash/deep_merge.rb +0 -16
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/hash/diff.rb +0 -13
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/hash/except.rb +0 -23
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/hash/indifferent_access.rb +0 -12
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/hash/keys.rb +0 -45
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/hash/reverse_merge.rb +0 -28
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/hash/slice.rb +0 -38
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/integer.rb +0 -3
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/integer/inflections.rb +0 -14
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/integer/multiple.rb +0 -6
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/integer/time.rb +0 -39
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/kernel.rb +0 -5
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/kernel/agnostics.rb +0 -11
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/kernel/debugger.rb +0 -16
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/kernel/reporting.rb +0 -62
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/kernel/requires.rb +0 -26
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/kernel/singleton_class.rb +0 -13
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/load_error.rb +0 -23
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/logger.rb +0 -108
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/module.rb +0 -12
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/module/aliasing.rb +0 -70
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/module/anonymous.rb +0 -24
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/module/attr_accessor_with_default.rb +0 -31
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/module/attr_internal.rb +0 -32
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/module/attribute_accessors.rb +0 -60
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/module/delegation.rb +0 -146
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/module/deprecation.rb +0 -9
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/module/introspection.rb +0 -88
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/module/method_names.rb +0 -14
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/module/reachable.rb +0 -10
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/module/remove_method.rb +0 -11
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/module/synchronization.rb +0 -42
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/name_error.rb +0 -18
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/numeric.rb +0 -2
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/numeric/bytes.rb +0 -44
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/numeric/time.rb +0 -77
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/object.rb +0 -13
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/object/acts_like.rb +0 -10
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/object/blank.rb +0 -76
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/object/conversions.rb +0 -4
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/object/duplicable.rb +0 -65
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/object/instance_variables.rb +0 -67
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/object/returning.rb +0 -43
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/object/to_json.rb +0 -19
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/object/to_param.rb +0 -49
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/object/to_query.rb +0 -27
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/object/try.rb +0 -36
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/object/with_options.rb +0 -26
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/proc.rb +0 -14
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/process.rb +0 -1
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/process/daemon.rb +0 -23
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/range.rb +0 -4
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/range/blockless_step.rb +0 -29
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/range/conversions.rb +0 -21
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/range/include_range.rb +0 -21
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/range/overlaps.rb +0 -8
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/regexp.rb +0 -5
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/rexml.rb +0 -46
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string.rb +0 -13
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/access.rb +0 -99
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/behavior.rb +0 -7
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/conversions.rb +0 -53
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/encoding.rb +0 -11
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/exclude.rb +0 -6
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/filters.rb +0 -49
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/inflections.rb +0 -164
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/interpolation.rb +0 -2
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/multibyte.rb +0 -72
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/output_safety.rb +0 -109
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/starts_ends_with.rb +0 -4
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/strip.rb +0 -24
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/xchar.rb +0 -18
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/time/acts_like.rb +0 -8
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/time/calculations.rb +0 -287
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/time/conversions.rb +0 -85
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/time/marshal.rb +0 -56
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/time/publicize_conversion_methods.rb +0 -10
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/time/zones.rb +0 -75
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/uri.rb +0 -22
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb +0 -662
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies/autoload.rb +0 -50
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/deprecation.rb +0 -18
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/deprecation/behaviors.rb +0 -42
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/deprecation/method_wrappers.rb +0 -29
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/deprecation/proxy_wrappers.rb +0 -81
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/deprecation/reporting.rb +0 -61
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/descendants_tracker.rb +0 -43
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/duration.rb +0 -105
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/file_update_checker.rb +0 -36
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/gzip.rb +0 -25
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/hash_with_indifferent_access.rb +0 -151
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/i18n.rb +0 -9
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/i18n_railtie.rb +0 -81
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/inflections.rb +0 -56
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/inflector.rb +0 -7
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/inflector/inflections.rb +0 -211
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/inflector/methods.rb +0 -151
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/inflector/transliterate.rb +0 -97
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/json.rb +0 -2
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/json/backends/jsongem.rb +0 -43
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/json/backends/yajl.rb +0 -40
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/json/backends/yaml.rb +0 -90
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/json/decoding.rb +0 -51
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/json/encoding.rb +0 -241
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/json/variable.rb +0 -9
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/lazy_load_hooks.rb +0 -46
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/locale/en.yml +0 -36
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/log_subscriber.rb +0 -122
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/log_subscriber/test_helper.rb +0 -99
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/memoizable.rb +0 -103
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/message_encryptor.rb +0 -71
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/message_verifier.rb +0 -62
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/multibyte.rb +0 -44
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/multibyte/chars.rb +0 -476
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/multibyte/exceptions.rb +0 -8
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/multibyte/unicode.rb +0 -392
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/multibyte/utils.rb +0 -60
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/notifications.rb +0 -78
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/notifications/fanout.rb +0 -61
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/notifications/instrumenter.rb +0 -54
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/option_merger.rb +0 -25
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/ordered_hash.rb +0 -179
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/ordered_options.rb +0 -27
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/railtie.rb +0 -60
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/rescuable.rb +0 -114
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/ruby/shim.rb +0 -22
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/secure_random.rb +0 -199
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/string_inquirer.rb +0 -21
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/test_case.rb +0 -42
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/testing/assertions.rb +0 -84
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/testing/declarative.rb +0 -40
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/testing/default.rb +0 -9
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/testing/deprecation.rb +0 -55
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/testing/isolation.rb +0 -157
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/testing/pending.rb +0 -48
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/testing/performance.rb +0 -425
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/testing/setup_and_teardown.rb +0 -111
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/time.rb +0 -35
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/time/autoload.rb +0 -5
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/time_with_zone.rb +0 -342
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/values/time_zone.rb +0 -379
- 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 +0 -9
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/whiny_nil.rb +0 -60
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/xml_mini.rb +0 -162
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/xml_mini/jdom.rb +0 -168
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/xml_mini/libxml.rb +0 -79
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/xml_mini/libxmlsax.rb +0 -85
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/xml_mini/nokogiri.rb +0 -83
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/xml_mini/nokogirisax.rb +0 -88
- data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/xml_mini/rexml.rb +0 -129
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/.autotest +0 -34
- 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 +0 -967
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/Manifest.txt +0 -26
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/README.txt +0 -514
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/Rakefile +0 -67
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/design_rationale.rb +0 -52
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/hoe/minitest.rb +0 -26
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/minitest.rb +0 -766
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/minitest/assertions.rb +0 -661
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/minitest/autorun.rb +0 -12
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/minitest/benchmark.rb +0 -423
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/minitest/expectations.rb +0 -281
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/minitest/hell.rb +0 -11
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/minitest/mock.rb +0 -220
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/minitest/parallel.rb +0 -40
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/minitest/pride.rb +0 -4
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/minitest/pride_plugin.rb +0 -143
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/minitest/spec.rb +0 -277
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/minitest/test.rb +0 -283
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/minitest/unit.rb +0 -45
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/test/minitest/metametameta.rb +0 -80
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/test/minitest/test_minitest_benchmark.rb +0 -130
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/test/minitest/test_minitest_mock.rb +0 -489
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/test/minitest/test_minitest_reporter.rb +0 -313
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/test/minitest/test_minitest_spec.rb +0 -799
- data/vendor/ruby/1.9.1/gems/minitest-5.2.0/test/minitest/test_minitest_unit.rb +0 -1865
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/.gitignore +0 -2
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/LICENSE +0 -19
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/Manifest +0 -25
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/README +0 -32
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/Rakefile +0 -48
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/lib/redgreen.rb +0 -17
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/lib/redgreen/minitest.rb +0 -20
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/lib/redgreen/nanotest.rb +0 -9
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/lib/redgreen/testunit.rb +0 -21
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/mynyml-redgreen.gemspec +0 -22
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/specs.watchr +0 -25
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/README +0 -11
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/contest/test_failure.rb +0 -8
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/contest/test_success.rb +0 -8
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/context/test_failure.rb +0 -8
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/context/test_success.rb +0 -8
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/minitest/test_failure.rb +0 -8
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/minitest/test_success.rb +0 -8
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/nanotest/test_failure.rb +0 -5
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/nanotest/test_success.rb +0 -5
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/shoulda/test_failure.rb +0 -8
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/shoulda/test_success.rb +0 -8
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/tests.rake +0 -35
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/testunit/test_failure.rb +0 -8
- data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/testunit/test_success.rb +0 -8
- 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 +0 -530
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/MIT-LICENSE +0 -21
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/README.rdoc +0 -187
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/Rakefile +0 -375
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/TODO +0 -21
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/bin/rake +0 -33
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/install.rb +0 -80
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake.rb +0 -73
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/alt_system.rb +0 -108
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/application.rb +0 -728
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/backtrace.rb +0 -20
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/clean.rb +0 -55
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/cloneable.rb +0 -16
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/contrib/compositepublisher.rb +0 -21
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/contrib/ftptools.rb +0 -139
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/contrib/publisher.rb +0 -73
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/contrib/rubyforgepublisher.rb +0 -16
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/contrib/sshpublisher.rb +0 -50
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/contrib/sys.rb +0 -2
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/default_loader.rb +0 -10
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/dsl_definition.rb +0 -157
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/early_time.rb +0 -18
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/ext/core.rb +0 -28
- 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 +0 -166
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/ext/time.rb +0 -15
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/file_creation_task.rb +0 -24
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/file_list.rb +0 -416
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/file_task.rb +0 -46
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/file_utils.rb +0 -116
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/file_utils_ext.rb +0 -144
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/gempackagetask.rb +0 -2
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/invocation_chain.rb +0 -57
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/invocation_exception_mixin.rb +0 -16
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/linked_list.rb +0 -103
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/loaders/makefile.rb +0 -40
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/multi_task.rb +0 -13
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/name_space.rb +0 -25
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/packagetask.rb +0 -190
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/pathmap.rb +0 -1
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/phony.rb +0 -15
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/private_reader.rb +0 -20
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/promise.rb +0 -99
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/pseudo_status.rb +0 -29
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/rake_module.rb +0 -37
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/rake_test_loader.rb +0 -22
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/rdoctask.rb +0 -2
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/ruby182_test_unit_fix.rb +0 -27
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/rule_recursion_overflow_error.rb +0 -20
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/runtest.rb +0 -22
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/scope.rb +0 -42
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/task.rb +0 -378
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/task_argument_error.rb +0 -7
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/task_arguments.rb +0 -89
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/task_manager.rb +0 -297
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/tasklib.rb +0 -22
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/testtask.rb +0 -201
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/thread_history_display.rb +0 -48
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/thread_pool.rb +0 -161
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/trace_output.rb +0 -22
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/version.rb +0 -9
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/win32.rb +0 -56
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/file_creation.rb +0 -34
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/helper.rb +0 -128
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/support/rakefile_definitions.rb +0 -444
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/support/ruby_runner.rb +0 -33
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_private_reader.rb +0 -42
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake.rb +0 -40
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_application.rb +0 -517
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_application_options.rb +0 -457
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_backtrace.rb +0 -113
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_clean.rb +0 -46
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_definitions.rb +0 -79
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_directory_task.rb +0 -57
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_dsl.rb +0 -40
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_early_time.rb +0 -31
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_extension.rb +0 -59
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_file_creation_task.rb +0 -56
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_file_list.rb +0 -627
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_file_list_path_map.rb +0 -8
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_file_task.rb +0 -122
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_file_utils.rb +0 -309
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_ftp_file.rb +0 -74
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_functional.rb +0 -466
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_invocation_chain.rb +0 -64
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_linked_list.rb +0 -84
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_makefile_loader.rb +0 -46
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_multi_task.rb +0 -58
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_name_space.rb +0 -43
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_package_task.rb +0 -79
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_path_map.rb +0 -168
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_path_map_explode.rb +0 -34
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_path_map_partial.rb +0 -18
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_pseudo_status.rb +0 -21
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_rake_test_loader.rb +0 -20
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_reduce_compat.rb +0 -26
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_require.rb +0 -40
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_rules.rb +0 -362
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_scope.rb +0 -44
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_task.rb +0 -376
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_task_argument_parsing.rb +0 -103
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_task_arguments.rb +0 -121
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_task_lib.rb +0 -9
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_task_manager.rb +0 -158
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_task_manager_argument_resolution.rb +0 -19
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_task_with_arguments.rb +0 -171
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_test_task.rb +0 -119
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_thread_pool.rb +0 -142
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_top_level_functions.rb +0 -71
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_win32.rb +0 -72
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_thread_history_display.rb +0 -101
- data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_trace_output.rb +0 -52
- data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/.gitignore +0 -5
- data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/History.md +0 -27
- data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/LICENSE +0 -20
- data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/README.md +0 -54
- data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/Rakefile +0 -57
- data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/VERSION +0 -1
- data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/examples/print_changes.rb +0 -19
- data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/examples/restart.rb +0 -25
- data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/ext/extconf.rb +0 -4
- data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/ext/fsevent.c +0 -148
- 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 +0 -48
- data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/ruby-fsevent.gemspec +0 -65
- data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/spec/fsevent_spec.rb +0 -41
- data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/spec/signal_ext_spec.rb +0 -76
- data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/spec/spec_helper.rb +0 -5
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/.gitignore +0 -6
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/.travis.yml +0 -11
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/CHANGES +0 -60
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/COPYING +0 -340
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/Gemfile +0 -5
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/README.rdoc +0 -55
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/Rakefile +0 -34
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/VERSION +0 -1
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/bin/cdiff +0 -19
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/bin/colortab +0 -48
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/bin/decolor +0 -12
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/bin/term_display +0 -91
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/bin/term_mandel +0 -52
- 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 +0 -90
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/examples/lambda-red-plain.ppm +0 -135
- 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 +0 -4
- 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 +0 -228
- 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 +0 -143
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/lib/term/ansicolor/ppm_reader.rb +0 -96
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/lib/term/ansicolor/rgb_color_metrics.rb +0 -161
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/lib/term/ansicolor/rgb_triple.rb +0 -121
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/lib/term/ansicolor/version.rb +0 -8
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/term-ansicolor.gemspec +0 -40
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/tests/ansicolor_test.rb +0 -133
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/tests/attribute_test.rb +0 -73
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/tests/ppm_reader_test.rb +0 -46
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/tests/rgb_color_metrics_test.rb +0 -100
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/tests/rgb_triple_test.rb +0 -71
- data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/tests/test_helper.rb +0 -8
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/.gitignore +0 -9
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/.travis.yml +0 -16
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/COPYING +0 -18
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/Gemfile +0 -9
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/README.rdoc +0 -19
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/Rakefile +0 -34
- 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 +0 -1
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/spruz.rb +0 -2
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins.rb +0 -54
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/alias.rb +0 -1
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/annotate.rb +0 -30
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/ask_and_send.rb +0 -15
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/attempt.rb +0 -52
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/bijection.rb +0 -46
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/concern.rb +0 -30
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/count_by.rb +0 -8
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/date_dummy.rb +0 -42
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/date_time_dummy.rb +0 -40
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/deep_const_get.rb +0 -37
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/deep_dup.rb +0 -11
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/extract_last_argument_options.rb +0 -14
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/file_binary.rb +0 -85
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/find.rb +0 -138
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/generator.rb +0 -68
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/go.rb +0 -69
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/hash_symbolize_keys_recursive.rb +0 -28
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/hash_union.rb +0 -15
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/if_predicate.rb +0 -7
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/limited.rb +0 -38
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/lines_file.rb +0 -123
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/memoize.rb +0 -71
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/method_description.rb +0 -38
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/minimize.rb +0 -55
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/module_group.rb +0 -13
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/named_set.rb +0 -12
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/null.rb +0 -92
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/once.rb +0 -25
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/p.rb +0 -23
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/partial_application.rb +0 -31
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/proc_compose.rb +0 -15
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/proc_prelude.rb +0 -73
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/range_plus.rb +0 -9
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/require_maybe.rb +0 -9
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/responding.rb +0 -19
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/rotate.rb +0 -16
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/round.rb +0 -51
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/secure_write.rb +0 -27
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/sexy_singleton.rb +0 -39
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/shuffle.rb +0 -18
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/string_byte_order_mark.rb +0 -20
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/string_camelize.rb +0 -16
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/string_underscore.rb +0 -15
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/string_version.rb +0 -105
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/subhash.rb +0 -42
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/terminal.rb +0 -35
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/time_dummy.rb +0 -55
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/to.rb +0 -8
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/to_proc.rb +0 -12
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/token.rb +0 -25
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/uniq_by.rb +0 -10
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/version.rb +0 -8
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/write.rb +0 -19
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt.rb +0 -42
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/annotate.rb +0 -5
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/ask_and_send.rb +0 -7
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/attempt.rb +0 -7
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/blank.rb +0 -67
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/concern.rb +0 -20
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/count_by.rb +0 -11
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/date_dummy.rb +0 -7
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/date_time_dummy.rb +0 -7
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/deep_const_get.rb +0 -7
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/deep_dup.rb +0 -7
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/extract_last_argument_options.rb +0 -7
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/file_binary.rb +0 -7
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/full.rb +0 -39
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/hash_symbolize_keys_recursive.rb +0 -7
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/hash_union.rb +0 -11
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/if_predicate.rb +0 -7
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/irb.rb +0 -23
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/method_description.rb +0 -23
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/named.rb +0 -35
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/null.rb +0 -9
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/p.rb +0 -7
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/partial_application.rb +0 -11
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/proc_compose.rb +0 -7
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/proc_prelude.rb +0 -7
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/range_plus.rb +0 -12
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/require_maybe.rb +0 -7
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/responding.rb +0 -7
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/rotate.rb +0 -7
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/round.rb +0 -13
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/secure_write.rb +0 -11
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/sexy_singleton.rb +0 -3
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/shuffle.rb +0 -11
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/string.rb +0 -6
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/string_byte_order_mark.rb +0 -7
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/string_camelize.rb +0 -6
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/string_underscore.rb +0 -6
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/string_version.rb +0 -7
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/subhash.rb +0 -11
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/symbol_to_proc.rb +0 -8
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/time_dummy.rb +0 -7
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/to.rb +0 -5
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/uniq_by.rb +0 -15
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/write.rb +0 -11
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/annotate_test.rb +0 -37
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/ask_and_send_test.rb +0 -32
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/attempt_test.rb +0 -43
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/bijection_test.rb +0 -19
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/blank_full_test.rb +0 -77
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/concern_test.rb +0 -36
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/count_by_test.rb +0 -17
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/date_dummy_test.rb +0 -31
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/date_time_dummy_test.rb +0 -31
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/deep_const_get_test.rb +0 -37
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/deep_dup_test.rb +0 -20
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/extract_last_argument_options_test.rb +0 -30
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/file_binary_test.rb +0 -65
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/find_test.rb +0 -115
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/generator_test.rb +0 -47
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/go_test.rb +0 -50
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/hash_symbolize_keys_recursive_test.rb +0 -24
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/hash_union_test.rb +0 -42
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/if_predicate_test.rb +0 -12
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/limited_test.rb +0 -25
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/lines_file_test.rb +0 -82
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/memoize_test.rb +0 -58
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/method_description_test.rb +0 -49
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/minimize_test.rb +0 -54
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/module_group_test.rb +0 -29
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/named_set_test.rb +0 -18
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/named_test.rb +0 -32
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/null_test.rb +0 -58
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/p_test.rb +0 -14
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/partial_application_test.rb +0 -30
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/proc_compose_test.rb +0 -25
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/proc_prelude_test.rb +0 -81
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/range_plus_test.rb +0 -14
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/require_maybe_test.rb +0 -24
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/responding_test.rb +0 -24
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/rotate_test.rb +0 -65
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/round_test.rb +0 -32
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/secure_write_test.rb +0 -42
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/sexy_singleton_test.rb +0 -16
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/shuffle_test.rb +0 -30
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/string_byte_order_mark_test.rb +0 -40
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/string_camelize_test.rb +0 -21
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/string_underscore_test.rb +0 -11
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/string_version_test.rb +0 -31
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/subhash_test.rb +0 -29
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/test_helper.rb +0 -8
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/time_dummy_test.rb +0 -31
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/to_test.rb +0 -32
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/token_test.rb +0 -38
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/uniq_by_test.rb +0 -31
- data/vendor/ruby/1.9.1/gems/tins-0.13.1/tins.gemspec +0 -40
- 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 +0 -52
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/.gitmodules +0 -3
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/.rspec +0 -2
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/.travis.yml +0 -26
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/.yardopts +0 -9
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/Appraisals +0 -5
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/CHANGELOG.md +0 -949
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/CONTRIBUTING.md +0 -33
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/Gemfile +0 -55
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/LICENSE +0 -20
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/README.md +0 -230
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/Rakefile +0 -197
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/Upgrade.md +0 -289
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/benchmarks/http_stubbing_libraries.rb +0 -59
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/benchmarks/null_logging.rb +0 -62
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/cucumber.yml +0 -16
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/.nav +0 -62
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/about_these_examples.md +0 -18
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/cassettes/allow_unused_http_interactions.feature +0 -100
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/cassettes/automatic_re_recording.feature +0 -72
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/cassettes/decompress.feature +0 -74
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/cassettes/dynamic_erb.feature +0 -100
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/cassettes/exclusive.feature +0 -123
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/cassettes/format.feature +0 -308
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/cassettes/freezing_time.feature +0 -68
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/cassettes/naming.feature +0 -28
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/cassettes/no_cassette.feature +0 -152
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/cassettes/persistence.feature +0 -63
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/cassettes/update_content_length_header.feature +0 -112
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/configuration/allow_http_connections_when_no_cassette.feature +0 -52
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/configuration/cassette_library_dir.feature +0 -31
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/configuration/debug_logging.feature +0 -52
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/configuration/default_cassette_options.feature +0 -100
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/configuration/filter_sensitive_data.feature +0 -152
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/configuration/hook_into.feature +0 -172
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/configuration/ignore_request.feature +0 -193
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/configuration/preserve_exact_body_bytes.feature +0 -108
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/configuration/query_parser.feature +0 -84
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/configuration/uri_parser.feature +0 -89
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/getting_started.md +0 -82
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/hooks/after_http_request.feature +0 -57
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/hooks/around_http_request.feature +0 -57
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/hooks/before_http_request.feature +0 -61
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/hooks/before_playback.feature +0 -185
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/hooks/before_record.feature +0 -172
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/http_libraries/em_http_request.feature +0 -247
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/http_libraries/net_http.feature +0 -169
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/middleware/faraday.feature +0 -56
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/middleware/rack.feature +0 -92
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/record_modes/all.feature +0 -82
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/record_modes/new_episodes.feature +0 -79
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/record_modes/none.feature +0 -72
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/record_modes/once.feature +0 -95
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/request_matching/README.md +0 -30
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/request_matching/body.feature +0 -91
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/request_matching/body_as_json.feature +0 -90
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/request_matching/custom_matcher.feature +0 -135
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/request_matching/headers.feature +0 -86
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/request_matching/host.feature +0 -95
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/request_matching/identical_request_sequence.feature +0 -89
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/request_matching/method.feature +0 -96
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/request_matching/path.feature +0 -96
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/request_matching/playback_repeats.feature +0 -98
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/request_matching/query.feature +0 -97
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/request_matching/uri.feature +0 -94
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/request_matching/uri_without_param.feature +0 -101
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/step_definitions/cli_steps.rb +0 -200
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/support/env.rb +0 -41
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/support/http_lib_filters.rb +0 -53
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/support/vcr_cucumber_helpers.rb +0 -46
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/test_frameworks/cucumber.feature +0 -210
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/test_frameworks/rspec_macro.feature +0 -106
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/test_frameworks/rspec_metadata.feature +0 -149
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/test_frameworks/test_unit.feature +0 -46
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/gemfiles/typhoeus_old.gemfile +0 -34
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/gemfiles/typhoeus_old.gemfile.lock +0 -133
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr.rb +0 -347
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/cassette.rb +0 -289
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/cassette/erb_renderer.rb +0 -55
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/cassette/http_interaction_list.rb +0 -108
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/cassette/migrator.rb +0 -118
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/cassette/persisters.rb +0 -42
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/cassette/persisters/file_system.rb +0 -64
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/cassette/serializers.rb +0 -57
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/cassette/serializers/json.rb +0 -48
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/cassette/serializers/psych.rb +0 -48
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/cassette/serializers/syck.rb +0 -61
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/cassette/serializers/yaml.rb +0 -50
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/configuration.rb +0 -555
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/deprecations.rb +0 -108
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/errors.rb +0 -266
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/extensions/net_http_response.rb +0 -36
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/library_hooks.rb +0 -18
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/library_hooks/excon.rb +0 -27
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/library_hooks/fakeweb.rb +0 -196
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/library_hooks/faraday.rb +0 -47
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/library_hooks/typhoeus.rb +0 -120
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/library_hooks/typhoeus_0.4.rb +0 -103
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/library_hooks/webmock.rb +0 -164
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/middleware/excon.rb +0 -221
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/middleware/excon/legacy_methods.rb +0 -33
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/middleware/faraday.rb +0 -114
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/middleware/rack.rb +0 -79
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/request_handler.rb +0 -114
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/request_ignorer.rb +0 -43
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/request_matcher_registry.rb +0 -149
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/structs.rb +0 -578
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/tasks/vcr.rake +0 -9
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/test_frameworks/cucumber.rb +0 -64
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/test_frameworks/rspec.rb +0 -42
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/util/hooks.rb +0 -61
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/util/internet_connection.rb +0 -43
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/util/logger.rb +0 -59
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/util/variable_args_block_caller.rb +0 -13
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/util/version_checker.rb +0 -64
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/version.rb +0 -34
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/script/ci.sh +0 -27
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/acceptance/threading_spec.rb +0 -34
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/capture_warnings.rb +0 -73
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/fixtures/cassette_spec/1_x_cassette.yml +0 -110
- 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 +0 -111
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/fixtures/cassette_spec/with_localhost_requests.yml +0 -111
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/fixtures/fake_example_responses.yml +0 -110
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/fixtures/match_requests_on.yml +0 -187
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/monkey_patches.rb +0 -182
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/quality_spec.rb +0 -51
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/spec_helper.rb +0 -94
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/support/configuration_stubbing.rb +0 -8
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/support/fixnum_extension.rb +0 -10
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/support/http_library_adapters.rb +0 -285
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/support/limited_uri.rb +0 -31
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/support/ruby_interpreter.rb +0 -7
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/support/shared_example_groups/excon.rb +0 -63
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/support/shared_example_groups/hook_into_http_library.rb +0 -594
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/support/shared_example_groups/request_hooks.rb +0 -59
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/support/sinatra_app.rb +0 -86
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/support/vcr_localhost_server.rb +0 -77
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/support/vcr_stub_helpers.rb +0 -17
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/cassette/erb_renderer_spec.rb +0 -53
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/cassette/http_interaction_list_spec.rb +0 -295
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/cassette/migrator_spec.rb +0 -195
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/cassette/persisters/file_system_spec.rb +0 -69
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/cassette/persisters_spec.rb +0 -39
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/cassette/serializers_spec.rb +0 -176
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/cassette_spec.rb +0 -608
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/configuration_spec.rb +0 -326
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/deprecations_spec.rb +0 -85
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/errors_spec.rb +0 -162
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/extensions/net_http_response_spec.rb +0 -86
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/library_hooks/excon_spec.rb +0 -104
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/library_hooks/fakeweb_spec.rb +0 -169
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/library_hooks/faraday_spec.rb +0 -68
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/library_hooks/typhoeus_0.4_spec.rb +0 -36
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/library_hooks/typhoeus_spec.rb +0 -162
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/library_hooks/webmock_spec.rb +0 -118
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/library_hooks_spec.rb +0 -51
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/middleware/faraday_spec.rb +0 -182
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/middleware/rack_spec.rb +0 -115
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/request_ignorer_spec.rb +0 -70
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/request_matcher_registry_spec.rb +0 -345
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/structs_spec.rb +0 -732
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/test_frameworks/cucumber_spec.rb +0 -107
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/test_frameworks/rspec_spec.rb +0 -83
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/util/hooks_spec.rb +0 -158
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/util/internet_connection_spec.rb +0 -37
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/util/version_checker_spec.rb +0 -45
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/version_spec.rb +0 -27
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr_spec.rb +0 -349
- data/vendor/ruby/1.9.1/gems/vcr-2.8.0/vcr.gemspec +0 -23
- data/vendor/ruby/1.9.1/gems/watchr-0.7/.gitignore +0 -6
- data/vendor/ruby/1.9.1/gems/watchr-0.7/History.txt +0 -32
- data/vendor/ruby/1.9.1/gems/watchr-0.7/LICENSE +0 -19
- data/vendor/ruby/1.9.1/gems/watchr-0.7/README.md +0 -119
- data/vendor/ruby/1.9.1/gems/watchr-0.7/Rakefile +0 -34
- data/vendor/ruby/1.9.1/gems/watchr-0.7/TODO.md +0 -31
- data/vendor/ruby/1.9.1/gems/watchr-0.7/bin/watchr +0 -105
- data/vendor/ruby/1.9.1/gems/watchr-0.7/contributions.txt +0 -7
- data/vendor/ruby/1.9.1/gems/watchr-0.7/docs.watchr +0 -26
- data/vendor/ruby/1.9.1/gems/watchr-0.7/gem.watchr +0 -22
- data/vendor/ruby/1.9.1/gems/watchr-0.7/lib/watchr.rb +0 -133
- data/vendor/ruby/1.9.1/gems/watchr-0.7/lib/watchr/controller.rb +0 -87
- data/vendor/ruby/1.9.1/gems/watchr-0.7/lib/watchr/event_handlers/base.rb +0 -57
- data/vendor/ruby/1.9.1/gems/watchr-0.7/lib/watchr/event_handlers/darwin.rb +0 -160
- data/vendor/ruby/1.9.1/gems/watchr-0.7/lib/watchr/event_handlers/portable.rb +0 -75
- data/vendor/ruby/1.9.1/gems/watchr-0.7/lib/watchr/event_handlers/unix.rb +0 -125
- data/vendor/ruby/1.9.1/gems/watchr-0.7/lib/watchr/script.rb +0 -257
- data/vendor/ruby/1.9.1/gems/watchr-0.7/specs.watchr +0 -37
- data/vendor/ruby/1.9.1/gems/watchr-0.7/test/README +0 -11
- data/vendor/ruby/1.9.1/gems/watchr-0.7/test/event_handlers/test_base.rb +0 -24
- data/vendor/ruby/1.9.1/gems/watchr-0.7/test/event_handlers/test_darwin.rb +0 -111
- data/vendor/ruby/1.9.1/gems/watchr-0.7/test/event_handlers/test_portable.rb +0 -142
- data/vendor/ruby/1.9.1/gems/watchr-0.7/test/event_handlers/test_unix.rb +0 -162
- data/vendor/ruby/1.9.1/gems/watchr-0.7/test/test_controller.rb +0 -113
- data/vendor/ruby/1.9.1/gems/watchr-0.7/test/test_helper.rb +0 -37
- data/vendor/ruby/1.9.1/gems/watchr-0.7/test/test_script.rb +0 -163
- data/vendor/ruby/1.9.1/gems/watchr-0.7/test/test_watchr.rb +0 -76
- data/vendor/ruby/1.9.1/gems/watchr-0.7/watchr.gemspec +0 -20
- data/vendor/ruby/1.9.1/specifications/active_support-3.0.0.gemspec +0 -24
- data/vendor/ruby/1.9.1/specifications/activesupport-3.0.0.gemspec +0 -18
- data/vendor/ruby/1.9.1/specifications/minitest-5.2.0.gemspec +0 -37
- data/vendor/ruby/1.9.1/specifications/mynyml-redgreen-0.7.1.gemspec +0 -44
- data/vendor/ruby/1.9.1/specifications/rake-10.1.0.gemspec +0 -35
- data/vendor/ruby/1.9.1/specifications/ruby-fsevent-0.2.1.gemspec +0 -32
- data/vendor/ruby/1.9.1/specifications/term-ansicolor-1.2.2.gemspec +0 -39
- data/vendor/ruby/1.9.1/specifications/tins-0.13.1.gemspec +0 -38
- data/vendor/ruby/1.9.1/specifications/vcr-2.8.0.gemspec +0 -18
- data/vendor/ruby/1.9.1/specifications/watchr-0.7.gemspec +0 -37
@@ -1,638 +0,0 @@
|
|
1
|
-
require 'benchmark'
|
2
|
-
require 'zlib'
|
3
|
-
require 'active_support/core_ext/array/extract_options'
|
4
|
-
require 'active_support/core_ext/array/wrap'
|
5
|
-
require 'active_support/core_ext/benchmark'
|
6
|
-
require 'active_support/core_ext/exception'
|
7
|
-
require 'active_support/core_ext/class/attribute_accessors'
|
8
|
-
require 'active_support/core_ext/numeric/bytes'
|
9
|
-
require 'active_support/core_ext/numeric/time'
|
10
|
-
require 'active_support/core_ext/object/to_param'
|
11
|
-
require 'active_support/core_ext/string/inflections'
|
12
|
-
|
13
|
-
module ActiveSupport
|
14
|
-
# See ActiveSupport::Cache::Store for documentation.
|
15
|
-
module Cache
|
16
|
-
autoload :FileStore, 'active_support/cache/file_store'
|
17
|
-
autoload :MemoryStore, 'active_support/cache/memory_store'
|
18
|
-
autoload :MemCacheStore, 'active_support/cache/mem_cache_store'
|
19
|
-
autoload :SynchronizedMemoryStore, 'active_support/cache/synchronized_memory_store'
|
20
|
-
autoload :CompressedMemCacheStore, 'active_support/cache/compressed_mem_cache_store'
|
21
|
-
|
22
|
-
# These options mean something to all cache implementations. Individual cache
|
23
|
-
# implementations may support additional options.
|
24
|
-
UNIVERSAL_OPTIONS = [:namespace, :compress, :compress_threshold, :expires_in, :race_condition_ttl]
|
25
|
-
|
26
|
-
module Strategy
|
27
|
-
autoload :LocalCache, 'active_support/cache/strategy/local_cache'
|
28
|
-
end
|
29
|
-
|
30
|
-
# Creates a new CacheStore object according to the given options.
|
31
|
-
#
|
32
|
-
# If no arguments are passed to this method, then a new
|
33
|
-
# ActiveSupport::Cache::MemoryStore object will be returned.
|
34
|
-
#
|
35
|
-
# If you pass a Symbol as the first argument, then a corresponding cache
|
36
|
-
# store class under the ActiveSupport::Cache namespace will be created.
|
37
|
-
# For example:
|
38
|
-
#
|
39
|
-
# ActiveSupport::Cache.lookup_store(:memory_store)
|
40
|
-
# # => returns a new ActiveSupport::Cache::MemoryStore object
|
41
|
-
#
|
42
|
-
# ActiveSupport::Cache.lookup_store(:mem_cache_store)
|
43
|
-
# # => returns a new ActiveSupport::Cache::MemCacheStore object
|
44
|
-
#
|
45
|
-
# Any additional arguments will be passed to the corresponding cache store
|
46
|
-
# class's constructor:
|
47
|
-
#
|
48
|
-
# ActiveSupport::Cache.lookup_store(:file_store, "/tmp/cache")
|
49
|
-
# # => same as: ActiveSupport::Cache::FileStore.new("/tmp/cache")
|
50
|
-
#
|
51
|
-
# If the first argument is not a Symbol, then it will simply be returned:
|
52
|
-
#
|
53
|
-
# ActiveSupport::Cache.lookup_store(MyOwnCacheStore.new)
|
54
|
-
# # => returns MyOwnCacheStore.new
|
55
|
-
def self.lookup_store(*store_option)
|
56
|
-
store, *parameters = *Array.wrap(store_option).flatten
|
57
|
-
|
58
|
-
case store
|
59
|
-
when Symbol
|
60
|
-
store_class_name = store.to_s.camelize
|
61
|
-
store_class =
|
62
|
-
begin
|
63
|
-
require "active_support/cache/#{store}"
|
64
|
-
rescue LoadError
|
65
|
-
raise "Could not find cache store adapter for #{store} (#{$!})"
|
66
|
-
else
|
67
|
-
ActiveSupport::Cache.const_get(store_class_name)
|
68
|
-
end
|
69
|
-
store_class.new(*parameters)
|
70
|
-
when nil
|
71
|
-
ActiveSupport::Cache::MemoryStore.new
|
72
|
-
else
|
73
|
-
store
|
74
|
-
end
|
75
|
-
end
|
76
|
-
|
77
|
-
def self.expand_cache_key(key, namespace = nil)
|
78
|
-
expanded_cache_key = namespace ? "#{namespace}/" : ""
|
79
|
-
|
80
|
-
prefix = ENV["RAILS_CACHE_ID"] || ENV["RAILS_APP_VERSION"]
|
81
|
-
if prefix
|
82
|
-
expanded_cache_key << "#{prefix}/"
|
83
|
-
end
|
84
|
-
|
85
|
-
expanded_cache_key <<
|
86
|
-
if key.respond_to?(:cache_key)
|
87
|
-
key.cache_key
|
88
|
-
elsif key.is_a?(Array)
|
89
|
-
if key.size > 1
|
90
|
-
key.collect { |element| expand_cache_key(element) }.to_param
|
91
|
-
else
|
92
|
-
key.first.to_param
|
93
|
-
end
|
94
|
-
elsif key
|
95
|
-
key.to_param
|
96
|
-
end.to_s
|
97
|
-
|
98
|
-
expanded_cache_key
|
99
|
-
end
|
100
|
-
|
101
|
-
# An abstract cache store class. There are multiple cache store
|
102
|
-
# implementations, each having its own additional features. See the classes
|
103
|
-
# under the ActiveSupport::Cache module, e.g.
|
104
|
-
# ActiveSupport::Cache::MemCacheStore. MemCacheStore is currently the most
|
105
|
-
# popular cache store for large production websites.
|
106
|
-
#
|
107
|
-
# Some implementations may not support all methods beyond the basic cache
|
108
|
-
# methods of +fetch+, +write+, +read+, +exist?+, and +delete+.
|
109
|
-
#
|
110
|
-
# ActiveSupport::Cache::Store can store any serializable Ruby object.
|
111
|
-
#
|
112
|
-
# cache = ActiveSupport::Cache::MemoryStore.new
|
113
|
-
#
|
114
|
-
# cache.read("city") # => nil
|
115
|
-
# cache.write("city", "Duckburgh")
|
116
|
-
# cache.read("city") # => "Duckburgh"
|
117
|
-
#
|
118
|
-
# Keys are always translated into Strings and are case sensitive. When an
|
119
|
-
# object is specified as a key, its +cache_key+ method will be called if it
|
120
|
-
# is defined. Otherwise, the +to_param+ method will be called. Hashes and
|
121
|
-
# Arrays can be used as keys. The elements will be delimited by slashes
|
122
|
-
# and Hashes elements will be sorted by key so they are consistent.
|
123
|
-
#
|
124
|
-
# cache.read("city") == cache.read(:city) # => true
|
125
|
-
#
|
126
|
-
# Nil values can be cached.
|
127
|
-
#
|
128
|
-
# If your cache is on a shared infrastructure, you can define a namespace for
|
129
|
-
# your cache entries. If a namespace is defined, it will be prefixed on to every
|
130
|
-
# key. The namespace can be either a static value or a Proc. If it is a Proc, it
|
131
|
-
# will be invoked when each key is evaluated so that you can use application logic
|
132
|
-
# to invalidate keys.
|
133
|
-
#
|
134
|
-
# cache.namespace = lambda { @last_mod_time } # Set the namespace to a variable
|
135
|
-
# @last_mod_time = Time.now # Invalidate the entire cache by changing namespace
|
136
|
-
#
|
137
|
-
#
|
138
|
-
# Caches can also store values in a compressed format to save space and reduce
|
139
|
-
# time spent sending data. Since there is some overhead, values must be large
|
140
|
-
# enough to warrant compression. To turn on compression either pass
|
141
|
-
# <tt>:compress => true</tt> in the initializer or to +fetch+ or +write+.
|
142
|
-
# To specify the threshold at which to compress values, set
|
143
|
-
# <tt>:compress_threshold</tt>. The default threshold is 32K.
|
144
|
-
class Store
|
145
|
-
|
146
|
-
cattr_accessor :logger, :instance_writer => true
|
147
|
-
|
148
|
-
attr_reader :silence, :options
|
149
|
-
alias :silence? :silence
|
150
|
-
|
151
|
-
# Create a new cache. The options will be passed to any write method calls except
|
152
|
-
# for :namespace which can be used to set the global namespace for the cache.
|
153
|
-
def initialize (options = nil)
|
154
|
-
@options = options ? options.dup : {}
|
155
|
-
end
|
156
|
-
|
157
|
-
# Silence the logger.
|
158
|
-
def silence!
|
159
|
-
@silence = true
|
160
|
-
self
|
161
|
-
end
|
162
|
-
|
163
|
-
# Silence the logger within a block.
|
164
|
-
def mute
|
165
|
-
previous_silence, @silence = defined?(@silence) && @silence, true
|
166
|
-
yield
|
167
|
-
ensure
|
168
|
-
@silence = previous_silence
|
169
|
-
end
|
170
|
-
|
171
|
-
# Set to true if cache stores should be instrumented. Default is false.
|
172
|
-
def self.instrument=(boolean)
|
173
|
-
Thread.current[:instrument_cache_store] = boolean
|
174
|
-
end
|
175
|
-
|
176
|
-
def self.instrument
|
177
|
-
Thread.current[:instrument_cache_store] || false
|
178
|
-
end
|
179
|
-
|
180
|
-
# Fetches data from the cache, using the given key. If there is data in
|
181
|
-
# the cache with the given key, then that data is returned.
|
182
|
-
#
|
183
|
-
# If there is no such data in the cache (a cache miss occurred),
|
184
|
-
# then nil will be returned. However, if a block has been passed, then
|
185
|
-
# that block will be run in the event of a cache miss. The return value
|
186
|
-
# of the block will be written to the cache under the given cache key,
|
187
|
-
# and that return value will be returned.
|
188
|
-
#
|
189
|
-
# cache.write("today", "Monday")
|
190
|
-
# cache.fetch("today") # => "Monday"
|
191
|
-
#
|
192
|
-
# cache.fetch("city") # => nil
|
193
|
-
# cache.fetch("city") do
|
194
|
-
# "Duckburgh"
|
195
|
-
# end
|
196
|
-
# cache.fetch("city") # => "Duckburgh"
|
197
|
-
#
|
198
|
-
# You may also specify additional options via the +options+ argument.
|
199
|
-
# Setting <tt>:force => true</tt> will force a cache miss:
|
200
|
-
#
|
201
|
-
# cache.write("today", "Monday")
|
202
|
-
# cache.fetch("today", :force => true) # => nil
|
203
|
-
#
|
204
|
-
# Setting <tt>:compress</tt> will store a large cache entry set by the call
|
205
|
-
# in a compressed format.
|
206
|
-
#
|
207
|
-
#
|
208
|
-
# Setting <tt>:expires_in</tt> will set an expiration time on the cache. All caches
|
209
|
-
# support auto expiring content after a specified number of seconds. This value can
|
210
|
-
# be specified as an option to the construction in which call all entries will be
|
211
|
-
# affected. Or it can be supplied to the +fetch+ or +write+ method for just one entry.
|
212
|
-
#
|
213
|
-
# cache = ActiveSupport::Cache::MemoryStore.new(:expire_in => 5.minutes)
|
214
|
-
# cache.write(key, value, :expire_in => 1.minute) # Set a lower value for one entry
|
215
|
-
#
|
216
|
-
# Setting <tt>:race_condition_ttl</tt> is very useful in situations where a cache entry
|
217
|
-
# is used very frequently unver heavy load. If a cache expires and due to heavy load
|
218
|
-
# seven different processes will try to read data natively and then they all will try to
|
219
|
-
# write to cache. To avoid that case the first process to find an expired cache entry will
|
220
|
-
# bump the cache expiration time by the value set in <tt>:race_condition_ttl</tt>. Yes
|
221
|
-
# this process is extending the time for a stale value by another few seconds. Because
|
222
|
-
# of extended life of the previous cache, other processes will continue to use slightly
|
223
|
-
# stale data for a just a big longer. In the meantime that first process will go ahead
|
224
|
-
# and will write into cache the new value. After that all the processes will start
|
225
|
-
# getting new value. The key is to keep <tt>:race_condition_ttl</tt> small.
|
226
|
-
#
|
227
|
-
# If the process regenerating the entry errors out, the entry will be regenerated
|
228
|
-
# after the specified number of seconds. Also note that the life of stale cache is
|
229
|
-
# extended only if it expired recently. Otherwise a new value is generated and
|
230
|
-
# <tt>:race_condition_ttl</tt> does not play any role.
|
231
|
-
#
|
232
|
-
# # Set all values to expire after one minute.
|
233
|
-
# cache = ActiveSupport::Cache::MemoryCache.new(:expires_in => 1.minute)
|
234
|
-
#
|
235
|
-
# cache.write("foo", "original value")
|
236
|
-
# val_1 = nil
|
237
|
-
# val_2 = nil
|
238
|
-
# sleep 60
|
239
|
-
#
|
240
|
-
# Thread.new do
|
241
|
-
# val_1 = cache.fetch("foo", :race_condition_ttl => 10) do
|
242
|
-
# sleep 1
|
243
|
-
# "new value 1"
|
244
|
-
# end
|
245
|
-
# end
|
246
|
-
#
|
247
|
-
# Thread.new do
|
248
|
-
# val_2 = cache.fetch("foo", :race_condition_ttl => 10) do
|
249
|
-
# "new value 2"
|
250
|
-
# end
|
251
|
-
# end
|
252
|
-
#
|
253
|
-
# # val_1 => "new value 1"
|
254
|
-
# # val_2 => "original value"
|
255
|
-
# # sleep 10 # First thread extend the life of cache by another 10 seconds
|
256
|
-
# # cache.fetch("foo") => "new value 1"
|
257
|
-
#
|
258
|
-
# Other options will be handled by the specific cache store implementation.
|
259
|
-
# Internally, #fetch calls #read_entry, and calls #write_entry on a cache miss.
|
260
|
-
# +options+ will be passed to the #read and #write calls.
|
261
|
-
#
|
262
|
-
# For example, MemCacheStore's #write method supports the +:raw+
|
263
|
-
# option, which tells the memcached server to store all values as strings.
|
264
|
-
# We can use this option with #fetch too:
|
265
|
-
#
|
266
|
-
# cache = ActiveSupport::Cache::MemCacheStore.new
|
267
|
-
# cache.fetch("foo", :force => true, :raw => true) do
|
268
|
-
# :bar
|
269
|
-
# end
|
270
|
-
# cache.fetch("foo") # => "bar"
|
271
|
-
def fetch(name, options = nil)
|
272
|
-
if block_given?
|
273
|
-
options = merged_options(options)
|
274
|
-
key = namespaced_key(name, options)
|
275
|
-
unless options[:force]
|
276
|
-
entry = instrument(:read, name, options) do |payload|
|
277
|
-
payload[:super_operation] = :fetch if payload
|
278
|
-
read_entry(key, options)
|
279
|
-
end
|
280
|
-
end
|
281
|
-
if entry && entry.expired?
|
282
|
-
race_ttl = options[:race_condition_ttl].to_f
|
283
|
-
if race_ttl and Time.now.to_f - entry.expires_at <= race_ttl
|
284
|
-
entry.expires_at = Time.now + race_ttl
|
285
|
-
write_entry(key, entry, :expires_in => race_ttl * 2)
|
286
|
-
else
|
287
|
-
delete_entry(key, options)
|
288
|
-
end
|
289
|
-
entry = nil
|
290
|
-
end
|
291
|
-
|
292
|
-
if entry
|
293
|
-
instrument(:fetch_hit, name, options) { |payload| }
|
294
|
-
entry.value
|
295
|
-
else
|
296
|
-
result = instrument(:generate, name, options) do |payload|
|
297
|
-
yield
|
298
|
-
end
|
299
|
-
write(name, result, options)
|
300
|
-
result
|
301
|
-
end
|
302
|
-
else
|
303
|
-
read(name, options)
|
304
|
-
end
|
305
|
-
end
|
306
|
-
|
307
|
-
# Fetches data from the cache, using the given key. If there is data in
|
308
|
-
# the cache with the given key, then that data is returned. Otherwise,
|
309
|
-
# nil is returned.
|
310
|
-
#
|
311
|
-
# Options are passed to the underlying cache implementation.
|
312
|
-
def read(name, options = nil)
|
313
|
-
options = merged_options(options)
|
314
|
-
key = namespaced_key(name, options)
|
315
|
-
instrument(:read, name, options) do |payload|
|
316
|
-
entry = read_entry(key, options)
|
317
|
-
if entry
|
318
|
-
if entry.expired?
|
319
|
-
delete_entry(key, options)
|
320
|
-
payload[:hit] = false if payload
|
321
|
-
nil
|
322
|
-
else
|
323
|
-
payload[:hit] = true if payload
|
324
|
-
entry.value
|
325
|
-
end
|
326
|
-
else
|
327
|
-
payload[:hit] = false if payload
|
328
|
-
nil
|
329
|
-
end
|
330
|
-
end
|
331
|
-
end
|
332
|
-
|
333
|
-
# Read multiple values at once from the cache. Options can be passed
|
334
|
-
# in the last argument.
|
335
|
-
#
|
336
|
-
# Some cache implementation may optimize this method.
|
337
|
-
#
|
338
|
-
# Returns a hash mapping the names provided to the values found.
|
339
|
-
def read_multi(*names)
|
340
|
-
options = names.extract_options!
|
341
|
-
options = merged_options(options)
|
342
|
-
results = {}
|
343
|
-
names.each do |name|
|
344
|
-
key = namespaced_key(name, options)
|
345
|
-
entry = read_entry(key, options)
|
346
|
-
if entry
|
347
|
-
if entry.expired?
|
348
|
-
delete_entry(key)
|
349
|
-
else
|
350
|
-
results[name] = entry.value
|
351
|
-
end
|
352
|
-
end
|
353
|
-
end
|
354
|
-
results
|
355
|
-
end
|
356
|
-
|
357
|
-
# Writes the value to the cache, with the key.
|
358
|
-
#
|
359
|
-
# Options are passed to the underlying cache implementation.
|
360
|
-
def write(name, value, options = nil)
|
361
|
-
options = merged_options(options)
|
362
|
-
instrument(:write, name, options) do |payload|
|
363
|
-
entry = Entry.new(value, options)
|
364
|
-
write_entry(namespaced_key(name, options), entry, options)
|
365
|
-
end
|
366
|
-
end
|
367
|
-
|
368
|
-
# Deletes an entry in the cache. Returns +true+ if an entry is deleted.
|
369
|
-
#
|
370
|
-
# Options are passed to the underlying cache implementation.
|
371
|
-
def delete(name, options = nil)
|
372
|
-
options = merged_options(options)
|
373
|
-
instrument(:delete, name) do |payload|
|
374
|
-
delete_entry(namespaced_key(name, options), options)
|
375
|
-
end
|
376
|
-
end
|
377
|
-
|
378
|
-
# Return true if the cache contains an entry for the given key.
|
379
|
-
#
|
380
|
-
# Options are passed to the underlying cache implementation.
|
381
|
-
def exist?(name, options = nil)
|
382
|
-
options = merged_options(options)
|
383
|
-
instrument(:exist?, name) do |payload|
|
384
|
-
entry = read_entry(namespaced_key(name, options), options)
|
385
|
-
if entry && !entry.expired?
|
386
|
-
true
|
387
|
-
else
|
388
|
-
false
|
389
|
-
end
|
390
|
-
end
|
391
|
-
end
|
392
|
-
|
393
|
-
# Delete all entries with keys matching the pattern.
|
394
|
-
#
|
395
|
-
# Options are passed to the underlying cache implementation.
|
396
|
-
#
|
397
|
-
# All implementations may not support this method.
|
398
|
-
def delete_matched(matcher, options = nil)
|
399
|
-
raise NotImplementedError.new("#{self.class.name} does not support delete_matched")
|
400
|
-
end
|
401
|
-
|
402
|
-
# Increment an integer value in the cache.
|
403
|
-
#
|
404
|
-
# Options are passed to the underlying cache implementation.
|
405
|
-
#
|
406
|
-
# All implementations may not support this method.
|
407
|
-
def increment(name, amount = 1, options = nil)
|
408
|
-
raise NotImplementedError.new("#{self.class.name} does not support increment")
|
409
|
-
end
|
410
|
-
|
411
|
-
# Increment an integer value in the cache.
|
412
|
-
#
|
413
|
-
# Options are passed to the underlying cache implementation.
|
414
|
-
#
|
415
|
-
# All implementations may not support this method.
|
416
|
-
def decrement(name, amount = 1, options = nil)
|
417
|
-
raise NotImplementedError.new("#{self.class.name} does not support decrement")
|
418
|
-
end
|
419
|
-
|
420
|
-
# Cleanup the cache by removing expired entries.
|
421
|
-
#
|
422
|
-
# Options are passed to the underlying cache implementation.
|
423
|
-
#
|
424
|
-
# All implementations may not support this method.
|
425
|
-
def cleanup(options = nil)
|
426
|
-
raise NotImplementedError.new("#{self.class.name} does not support cleanup")
|
427
|
-
end
|
428
|
-
|
429
|
-
# Clear the entire cache. Be careful with this method since it could
|
430
|
-
# affect other processes if shared cache is being used.
|
431
|
-
#
|
432
|
-
# Options are passed to the underlying cache implementation.
|
433
|
-
#
|
434
|
-
# All implementations may not support this method.
|
435
|
-
def clear(options = nil)
|
436
|
-
raise NotImplementedError.new("#{self.class.name} does not support clear")
|
437
|
-
end
|
438
|
-
|
439
|
-
protected
|
440
|
-
# Add the namespace defined in the options to a pattern designed to match keys.
|
441
|
-
# Implementations that support delete_matched should call this method to translate
|
442
|
-
# a pattern that matches names into one that matches namespaced keys.
|
443
|
-
def key_matcher(pattern, options)
|
444
|
-
prefix = options[:namespace].is_a?(Proc) ? options[:namespace].call : options[:namespace]
|
445
|
-
if prefix
|
446
|
-
source = pattern.source
|
447
|
-
if source.start_with?('^')
|
448
|
-
source = source[1, source.length]
|
449
|
-
else
|
450
|
-
source = ".*#{source[0, source.length]}"
|
451
|
-
end
|
452
|
-
Regexp.new("^#{Regexp.escape(prefix)}:#{source}", pattern.options)
|
453
|
-
else
|
454
|
-
pattern
|
455
|
-
end
|
456
|
-
end
|
457
|
-
|
458
|
-
# Read an entry from the cache implementation. Subclasses must implement this method.
|
459
|
-
def read_entry(key, options) # :nodoc:
|
460
|
-
raise NotImplementedError.new
|
461
|
-
end
|
462
|
-
|
463
|
-
# Write an entry to the cache implementation. Subclasses must implement this method.
|
464
|
-
def write_entry(key, entry, options) # :nodoc:
|
465
|
-
raise NotImplementedError.new
|
466
|
-
end
|
467
|
-
|
468
|
-
# Delete an entry from the cache implementation. Subclasses must implement this method.
|
469
|
-
def delete_entry(key, options) # :nodoc:
|
470
|
-
raise NotImplementedError.new
|
471
|
-
end
|
472
|
-
|
473
|
-
private
|
474
|
-
# Merge the default options with ones specific to a method call.
|
475
|
-
def merged_options(call_options) # :nodoc:
|
476
|
-
if call_options
|
477
|
-
options.merge(call_options)
|
478
|
-
else
|
479
|
-
options.dup
|
480
|
-
end
|
481
|
-
end
|
482
|
-
|
483
|
-
# Expand key to be a consistent string value. Invoke +cache_key+ if
|
484
|
-
# object responds to +cache_key+. Otherwise, to_param method will be
|
485
|
-
# called. If the key is a Hash, then keys will be sorted alphabetically.
|
486
|
-
def expanded_key(key) # :nodoc:
|
487
|
-
if key.respond_to?(:cache_key)
|
488
|
-
key = key.cache_key.to_s
|
489
|
-
elsif key.is_a?(Array)
|
490
|
-
if key.size > 1
|
491
|
-
key.collect{|element| expanded_key(element)}.to_param
|
492
|
-
else
|
493
|
-
key.first.to_param
|
494
|
-
end
|
495
|
-
elsif key.is_a?(Hash)
|
496
|
-
key = key.to_a.sort{|a,b| a.first.to_s <=> b.first.to_s}.collect{|k,v| "#{k}=#{v}"}.to_param
|
497
|
-
else
|
498
|
-
key = key.to_param
|
499
|
-
end
|
500
|
-
end
|
501
|
-
|
502
|
-
# Prefix a key with the namespace. Namespace and key will be delimited with a colon.
|
503
|
-
def namespaced_key(key, options)
|
504
|
-
key = expanded_key(key)
|
505
|
-
namespace = options[:namespace] if options
|
506
|
-
prefix = namespace.is_a?(Proc) ? namespace.call : namespace
|
507
|
-
key = "#{prefix}:#{key}" if prefix
|
508
|
-
key
|
509
|
-
end
|
510
|
-
|
511
|
-
def instrument(operation, key, options = nil)
|
512
|
-
log(operation, key, options)
|
513
|
-
|
514
|
-
if self.class.instrument
|
515
|
-
payload = { :key => key }
|
516
|
-
payload.merge!(options) if options.is_a?(Hash)
|
517
|
-
ActiveSupport::Notifications.instrument("cache_#{operation}.active_support", payload){ yield(payload) }
|
518
|
-
else
|
519
|
-
yield(nil)
|
520
|
-
end
|
521
|
-
end
|
522
|
-
|
523
|
-
def log(operation, key, options = nil)
|
524
|
-
return unless logger && logger.debug? && !silence?
|
525
|
-
logger.debug("Cache #{operation}: #{key}#{options.blank? ? "" : " (#{options.inspect})"}")
|
526
|
-
end
|
527
|
-
end
|
528
|
-
|
529
|
-
# Entry that is put into caches. It supports expiration time on entries and can compress values
|
530
|
-
# to save space in the cache.
|
531
|
-
class Entry
|
532
|
-
attr_reader :created_at, :expires_in
|
533
|
-
|
534
|
-
DEFAULT_COMPRESS_LIMIT = 16.kilobytes
|
535
|
-
|
536
|
-
class << self
|
537
|
-
# Create an entry with internal attributes set. This method is intended to be
|
538
|
-
# used by implementations that store cache entries in a native format instead
|
539
|
-
# of as serialized Ruby objects.
|
540
|
-
def create (raw_value, created_at, options = {})
|
541
|
-
entry = new(nil)
|
542
|
-
entry.instance_variable_set(:@value, raw_value)
|
543
|
-
entry.instance_variable_set(:@created_at, created_at.to_f)
|
544
|
-
entry.instance_variable_set(:@compressed, !!options[:compressed])
|
545
|
-
entry.instance_variable_set(:@expires_in, options[:expires_in])
|
546
|
-
entry
|
547
|
-
end
|
548
|
-
end
|
549
|
-
|
550
|
-
# Create a new cache entry for the specified value. Options supported are
|
551
|
-
# +:compress+, +:compress_threshold+, and +:expires_in+.
|
552
|
-
def initialize(value, options = {})
|
553
|
-
@compressed = false
|
554
|
-
@expires_in = options[:expires_in]
|
555
|
-
@expires_in = @expires_in.to_f if @expires_in
|
556
|
-
@created_at = Time.now.to_f
|
557
|
-
if value
|
558
|
-
if should_compress?(value, options)
|
559
|
-
@value = Zlib::Deflate.deflate(Marshal.dump(value))
|
560
|
-
@compressed = true
|
561
|
-
else
|
562
|
-
@value = value
|
563
|
-
end
|
564
|
-
else
|
565
|
-
@value = nil
|
566
|
-
end
|
567
|
-
end
|
568
|
-
|
569
|
-
# Get the raw value. This value may be serialized and compressed.
|
570
|
-
def raw_value
|
571
|
-
@value
|
572
|
-
end
|
573
|
-
|
574
|
-
# Get the value stored in the cache.
|
575
|
-
def value
|
576
|
-
if @value
|
577
|
-
val = compressed? ? Marshal.load(Zlib::Inflate.inflate(@value)) : @value
|
578
|
-
unless val.frozen?
|
579
|
-
val.freeze rescue nil
|
580
|
-
end
|
581
|
-
val
|
582
|
-
end
|
583
|
-
end
|
584
|
-
|
585
|
-
def compressed?
|
586
|
-
@compressed
|
587
|
-
end
|
588
|
-
|
589
|
-
# Check if the entry is expired. The +expires_in+ parameter can override the
|
590
|
-
# value set when the entry was created.
|
591
|
-
def expired?
|
592
|
-
if @expires_in && @created_at + @expires_in <= Time.now.to_f
|
593
|
-
true
|
594
|
-
else
|
595
|
-
false
|
596
|
-
end
|
597
|
-
end
|
598
|
-
|
599
|
-
# Set a new time when the entry will expire.
|
600
|
-
def expires_at=(time)
|
601
|
-
if time
|
602
|
-
@expires_in = time.to_f - @created_at
|
603
|
-
else
|
604
|
-
@expires_in = nil
|
605
|
-
end
|
606
|
-
end
|
607
|
-
|
608
|
-
# Seconds since the epoch when the entry will expire.
|
609
|
-
def expires_at
|
610
|
-
@expires_in ? @created_at + @expires_in : nil
|
611
|
-
end
|
612
|
-
|
613
|
-
# Returns the size of the cached value. This could be less than value.size
|
614
|
-
# if the data is compressed.
|
615
|
-
def size
|
616
|
-
if @value.nil?
|
617
|
-
0
|
618
|
-
elsif @value.respond_to?(:bytesize)
|
619
|
-
@value.bytesize
|
620
|
-
else
|
621
|
-
Marshal.dump(@value).bytesize
|
622
|
-
end
|
623
|
-
end
|
624
|
-
|
625
|
-
private
|
626
|
-
def should_compress?(value, options)
|
627
|
-
if options[:compress] && value
|
628
|
-
unless value.is_a?(Numeric)
|
629
|
-
compress_threshold = options[:compress_threshold] || DEFAULT_COMPRESS_LIMIT
|
630
|
-
serialized_value = value.is_a?(String) ? value : Marshal.dump(value)
|
631
|
-
return true if serialized_value.size >= compress_threshold
|
632
|
-
end
|
633
|
-
end
|
634
|
-
false
|
635
|
-
end
|
636
|
-
end
|
637
|
-
end
|
638
|
-
end
|