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,79 +0,0 @@
|
|
1
|
-
module VCR
|
2
|
-
module Middleware
|
3
|
-
# Object yielded by VCR's {Rack} middleware that allows you to configure
|
4
|
-
# the cassette dynamically based on the rack env.
|
5
|
-
class CassetteArguments
|
6
|
-
# @private
|
7
|
-
def initialize
|
8
|
-
@name = nil
|
9
|
-
@options = {}
|
10
|
-
end
|
11
|
-
|
12
|
-
# Sets (and gets) the cassette name.
|
13
|
-
#
|
14
|
-
# @param [#to_s] name the cassette name
|
15
|
-
# @return [#to_s] the cassette name
|
16
|
-
def name(name = nil)
|
17
|
-
@name = name if name
|
18
|
-
@name
|
19
|
-
end
|
20
|
-
|
21
|
-
# Sets (and gets) the cassette options.
|
22
|
-
#
|
23
|
-
# @param [Hash] options the cassette options
|
24
|
-
# @return [Hash] the cassette options
|
25
|
-
def options(options = {})
|
26
|
-
@options.merge!(options)
|
27
|
-
end
|
28
|
-
end
|
29
|
-
|
30
|
-
# Rack middleware that uses a VCR cassette for each incoming HTTP request.
|
31
|
-
#
|
32
|
-
# @example
|
33
|
-
# app = Rack::Builder.new do
|
34
|
-
# use VCR::Middleware::Rack do |cassette, env|
|
35
|
-
# cassette.name "rack/#{env['SERVER_NAME']}"
|
36
|
-
# cassette.options :record => :new_episodes
|
37
|
-
# end
|
38
|
-
#
|
39
|
-
# run MyRackApp
|
40
|
-
# end
|
41
|
-
#
|
42
|
-
# @note This will record/replay _outbound_ HTTP requests made by your rack app.
|
43
|
-
class Rack
|
44
|
-
include VCR::VariableArgsBlockCaller
|
45
|
-
|
46
|
-
# Constructs a new instance of VCR's rack middleware.
|
47
|
-
#
|
48
|
-
# @param [#call] app the rack app
|
49
|
-
# @yield the cassette configuration block
|
50
|
-
# @yieldparam [CassetteArguments] cassette the cassette configuration object
|
51
|
-
# @yieldparam [(optional) Hash] env the rack env hash
|
52
|
-
# @raise [ArgumentError] if no configuration block is provided
|
53
|
-
def initialize(app, &block)
|
54
|
-
raise ArgumentError.new("You must provide a block to set the cassette options") unless block
|
55
|
-
@app, @cassette_arguments_block, @mutex = app, block, Mutex.new
|
56
|
-
end
|
57
|
-
|
58
|
-
# Implements the rack middleware interface.
|
59
|
-
#
|
60
|
-
# @param [Hash] env the rack env hash
|
61
|
-
# @return [Array(Integer, Hash, #each)] the rack response
|
62
|
-
def call(env)
|
63
|
-
@mutex.synchronize do
|
64
|
-
VCR.use_cassette(*cassette_arguments(env)) do
|
65
|
-
@app.call(env)
|
66
|
-
end
|
67
|
-
end
|
68
|
-
end
|
69
|
-
|
70
|
-
private
|
71
|
-
|
72
|
-
def cassette_arguments(env)
|
73
|
-
arguments = CassetteArguments.new
|
74
|
-
call_block(@cassette_arguments_block, arguments, env)
|
75
|
-
[arguments.name, arguments.options]
|
76
|
-
end
|
77
|
-
end
|
78
|
-
end
|
79
|
-
end
|
@@ -1,114 +0,0 @@
|
|
1
|
-
module VCR
|
2
|
-
# @private
|
3
|
-
class RequestHandler
|
4
|
-
include Logger::Mixin
|
5
|
-
|
6
|
-
def handle
|
7
|
-
log "Handling request: #{request_summary} (disabled: #{disabled?})"
|
8
|
-
invoke_before_request_hook
|
9
|
-
|
10
|
-
req_type = request_type(:consume_stub)
|
11
|
-
|
12
|
-
log "Identified request type (#{req_type}) for #{request_summary}"
|
13
|
-
|
14
|
-
# The before_request hook can change the type of request
|
15
|
-
# (i.e. by inserting a cassette), so we need to query the
|
16
|
-
# request type again.
|
17
|
-
#
|
18
|
-
# Likewise, the main handler logic can modify what
|
19
|
-
# #request_type would return (i.e. when a response stub is
|
20
|
-
# used), so we need to store the request type for the
|
21
|
-
# after_request hook.
|
22
|
-
set_typed_request_for_after_hook(req_type)
|
23
|
-
|
24
|
-
send "on_#{req_type}_request"
|
25
|
-
end
|
26
|
-
|
27
|
-
private
|
28
|
-
|
29
|
-
def set_typed_request_for_after_hook(request_type)
|
30
|
-
@after_hook_typed_request = Request::Typed.new(vcr_request, request_type)
|
31
|
-
end
|
32
|
-
|
33
|
-
def request_type(consume_stub = false)
|
34
|
-
case
|
35
|
-
when externally_stubbed? then :externally_stubbed
|
36
|
-
when should_ignore? then :ignored
|
37
|
-
when has_response_stub?(consume_stub) then :stubbed_by_vcr
|
38
|
-
when VCR.real_http_connections_allowed? then :recordable
|
39
|
-
else :unhandled
|
40
|
-
end
|
41
|
-
end
|
42
|
-
|
43
|
-
def invoke_before_request_hook
|
44
|
-
return if disabled? || !VCR.configuration.has_hooks_for?(:before_http_request)
|
45
|
-
typed_request = Request::Typed.new(vcr_request, request_type)
|
46
|
-
VCR.configuration.invoke_hook(:before_http_request, typed_request)
|
47
|
-
end
|
48
|
-
|
49
|
-
def invoke_after_request_hook(vcr_response)
|
50
|
-
return if disabled?
|
51
|
-
VCR.configuration.invoke_hook(:after_http_request, @after_hook_typed_request, vcr_response)
|
52
|
-
end
|
53
|
-
|
54
|
-
def externally_stubbed?
|
55
|
-
false
|
56
|
-
end
|
57
|
-
|
58
|
-
def should_ignore?
|
59
|
-
disabled? || VCR.request_ignorer.ignore?(vcr_request)
|
60
|
-
end
|
61
|
-
|
62
|
-
def disabled?
|
63
|
-
VCR.library_hooks.disabled?(library_name)
|
64
|
-
end
|
65
|
-
|
66
|
-
def has_response_stub?(consume_stub)
|
67
|
-
if consume_stub
|
68
|
-
stubbed_response
|
69
|
-
else
|
70
|
-
VCR.http_interactions.has_interaction_matching?(vcr_request)
|
71
|
-
end
|
72
|
-
end
|
73
|
-
|
74
|
-
def stubbed_response
|
75
|
-
@stubbed_response ||= VCR.http_interactions.response_for(vcr_request)
|
76
|
-
end
|
77
|
-
|
78
|
-
def library_name
|
79
|
-
# extracts `:typhoeus` from `VCR::LibraryHooks::Typhoeus::RequestHandler`
|
80
|
-
@library_name ||= self.class.name.split('::')[-2].downcase.to_sym
|
81
|
-
end
|
82
|
-
|
83
|
-
# Subclasses can implement these
|
84
|
-
def on_externally_stubbed_request
|
85
|
-
end
|
86
|
-
|
87
|
-
def on_ignored_request
|
88
|
-
end
|
89
|
-
|
90
|
-
def on_stubbed_by_vcr_request
|
91
|
-
end
|
92
|
-
|
93
|
-
def on_recordable_request
|
94
|
-
end
|
95
|
-
|
96
|
-
def on_unhandled_request
|
97
|
-
raise VCR::Errors::UnhandledHTTPRequestError.new(vcr_request)
|
98
|
-
end
|
99
|
-
|
100
|
-
def request_summary
|
101
|
-
request_matchers = if cass = VCR.current_cassette
|
102
|
-
cass.match_requests_on
|
103
|
-
else
|
104
|
-
VCR.configuration.default_cassette_options[:match_requests_on]
|
105
|
-
end
|
106
|
-
|
107
|
-
super(vcr_request, request_matchers)
|
108
|
-
end
|
109
|
-
|
110
|
-
def log_prefix
|
111
|
-
"[#{library_name}] "
|
112
|
-
end
|
113
|
-
end
|
114
|
-
end
|
@@ -1,43 +0,0 @@
|
|
1
|
-
require 'set'
|
2
|
-
require 'vcr/util/hooks'
|
3
|
-
|
4
|
-
module VCR
|
5
|
-
# @private
|
6
|
-
class RequestIgnorer
|
7
|
-
include VCR::Hooks
|
8
|
-
|
9
|
-
define_hook :ignore_request
|
10
|
-
|
11
|
-
LOCALHOST_ALIASES = %w( localhost 127.0.0.1 0.0.0.0 )
|
12
|
-
|
13
|
-
def initialize
|
14
|
-
ignore_request do |request|
|
15
|
-
host = request.parsed_uri.host
|
16
|
-
ignored_hosts.include?(host)
|
17
|
-
end
|
18
|
-
end
|
19
|
-
|
20
|
-
def ignore_localhost=(value)
|
21
|
-
if value
|
22
|
-
ignore_hosts(*LOCALHOST_ALIASES)
|
23
|
-
else
|
24
|
-
ignored_hosts.reject! { |h| LOCALHOST_ALIASES.include?(h) }
|
25
|
-
end
|
26
|
-
end
|
27
|
-
|
28
|
-
def ignore_hosts(*hosts)
|
29
|
-
ignored_hosts.merge(hosts)
|
30
|
-
end
|
31
|
-
|
32
|
-
def ignore?(request)
|
33
|
-
invoke_hook(:ignore_request, request).any?
|
34
|
-
end
|
35
|
-
|
36
|
-
private
|
37
|
-
|
38
|
-
def ignored_hosts
|
39
|
-
@ignored_hosts ||= Set.new
|
40
|
-
end
|
41
|
-
end
|
42
|
-
end
|
43
|
-
|
@@ -1,149 +0,0 @@
|
|
1
|
-
require 'vcr/errors'
|
2
|
-
|
3
|
-
module VCR
|
4
|
-
# Keeps track of the different request matchers.
|
5
|
-
class RequestMatcherRegistry
|
6
|
-
|
7
|
-
# The default request matchers used for any cassette that does not
|
8
|
-
# specify request matchers.
|
9
|
-
DEFAULT_MATCHERS = [:method, :uri]
|
10
|
-
|
11
|
-
# @private
|
12
|
-
class Matcher < Struct.new(:callable)
|
13
|
-
def matches?(request_1, request_2)
|
14
|
-
callable.call(request_1, request_2)
|
15
|
-
end
|
16
|
-
end
|
17
|
-
|
18
|
-
# @private
|
19
|
-
class URIWithoutParamsMatcher < Struct.new(:params_to_ignore)
|
20
|
-
def partial_uri_from(request)
|
21
|
-
request.parsed_uri.tap do |uri|
|
22
|
-
return uri unless uri.query # ignore uris without params, e.g. "http://example.com/"
|
23
|
-
|
24
|
-
uri.query = uri.query.split('&').tap { |params|
|
25
|
-
params.map! do |p|
|
26
|
-
key, value = p.split('=')
|
27
|
-
key.gsub!(/\[\]\z/, '') # handle params like tag[]=
|
28
|
-
[key, value]
|
29
|
-
end
|
30
|
-
|
31
|
-
params.reject! { |p| params_to_ignore.include?(p.first) }
|
32
|
-
params.map! { |p| p.join('=') }
|
33
|
-
}.join('&')
|
34
|
-
|
35
|
-
uri.query = nil if uri.query.empty?
|
36
|
-
end
|
37
|
-
end
|
38
|
-
|
39
|
-
def call(request_1, request_2)
|
40
|
-
partial_uri_from(request_1) == partial_uri_from(request_2)
|
41
|
-
end
|
42
|
-
|
43
|
-
def to_proc
|
44
|
-
lambda { |r1, r2| call(r1, r2) }
|
45
|
-
end
|
46
|
-
end
|
47
|
-
|
48
|
-
# @private
|
49
|
-
def initialize
|
50
|
-
@registry = {}
|
51
|
-
register_built_ins
|
52
|
-
end
|
53
|
-
|
54
|
-
# @private
|
55
|
-
def register(name, &block)
|
56
|
-
if @registry.has_key?(name)
|
57
|
-
warn "WARNING: There is already a VCR request matcher registered for #{name.inspect}. Overriding it."
|
58
|
-
end
|
59
|
-
|
60
|
-
@registry[name] = Matcher.new(block)
|
61
|
-
end
|
62
|
-
|
63
|
-
# @private
|
64
|
-
def [](matcher)
|
65
|
-
@registry.fetch(matcher) do
|
66
|
-
matcher.respond_to?(:call) ?
|
67
|
-
Matcher.new(matcher) :
|
68
|
-
raise_unregistered_matcher_error(matcher)
|
69
|
-
end
|
70
|
-
end
|
71
|
-
|
72
|
-
# Builds a dynamic request matcher that matches on a URI while ignoring the
|
73
|
-
# named query parameters. This is useful for dealing with non-deterministic
|
74
|
-
# URIs (i.e. that have a timestamp or request signature parameter).
|
75
|
-
#
|
76
|
-
# @example
|
77
|
-
# without_timestamp = VCR.request_matchers.uri_without_param(:timestamp)
|
78
|
-
#
|
79
|
-
# # use it directly...
|
80
|
-
# VCR.use_cassette('example', :match_requests_on => [:method, without_timestamp]) { }
|
81
|
-
#
|
82
|
-
# # ...or register it as a named matcher
|
83
|
-
# VCR.configure do |c|
|
84
|
-
# c.register_request_matcher(:uri_without_timestamp, &without_timestamp)
|
85
|
-
# end
|
86
|
-
#
|
87
|
-
# VCR.use_cassette('example', :match_requests_on => [:method, :uri_without_timestamp]) { }
|
88
|
-
#
|
89
|
-
# @param ignores [Array<#to_s>] The names of the query parameters to ignore
|
90
|
-
# @return [#call] the request matcher
|
91
|
-
def uri_without_params(*ignores)
|
92
|
-
uri_without_param_matchers[ignores]
|
93
|
-
end
|
94
|
-
alias uri_without_param uri_without_params
|
95
|
-
|
96
|
-
private
|
97
|
-
|
98
|
-
def uri_without_param_matchers
|
99
|
-
@uri_without_param_matchers ||= Hash.new do |hash, params|
|
100
|
-
params = params.map(&:to_s)
|
101
|
-
hash[params] = URIWithoutParamsMatcher.new(params)
|
102
|
-
end
|
103
|
-
end
|
104
|
-
|
105
|
-
def raise_unregistered_matcher_error(name)
|
106
|
-
raise Errors::UnregisteredMatcherError.new \
|
107
|
-
"There is no matcher registered for #{name.inspect}. " +
|
108
|
-
"Did you mean one of #{@registry.keys.map(&:inspect).join(', ')}?"
|
109
|
-
end
|
110
|
-
|
111
|
-
def register_built_ins
|
112
|
-
register(:method) { |r1, r2| r1.method == r2.method }
|
113
|
-
register(:uri) { |r1, r2| r1.uri == r2.uri }
|
114
|
-
register(:body) { |r1, r2| r1.body == r2.body }
|
115
|
-
register(:headers) { |r1, r2| r1.headers == r2.headers }
|
116
|
-
|
117
|
-
register(:host) do |r1, r2|
|
118
|
-
r1.parsed_uri.host == r2.parsed_uri.host
|
119
|
-
end
|
120
|
-
register(:path) do |r1, r2|
|
121
|
-
r1.parsed_uri.path == r2.parsed_uri.path
|
122
|
-
end
|
123
|
-
|
124
|
-
register(:query) do |r1, r2|
|
125
|
-
VCR.configuration.query_parser.call(r1.parsed_uri.query.to_s) ==
|
126
|
-
VCR.configuration.query_parser.call(r2.parsed_uri.query.to_s)
|
127
|
-
end
|
128
|
-
|
129
|
-
try_to_register_body_as_json
|
130
|
-
end
|
131
|
-
|
132
|
-
def try_to_register_body_as_json
|
133
|
-
begin
|
134
|
-
require 'json'
|
135
|
-
rescue LoadError
|
136
|
-
return
|
137
|
-
end
|
138
|
-
|
139
|
-
register(:body_as_json) do |r1, r2|
|
140
|
-
begin
|
141
|
-
JSON.parse(r1.body) == JSON.parse(r2.body)
|
142
|
-
rescue JSON::ParserError
|
143
|
-
false
|
144
|
-
end
|
145
|
-
end
|
146
|
-
end
|
147
|
-
end
|
148
|
-
end
|
149
|
-
|
@@ -1,578 +0,0 @@
|
|
1
|
-
require 'base64'
|
2
|
-
require 'delegate'
|
3
|
-
require 'time'
|
4
|
-
|
5
|
-
module VCR
|
6
|
-
# @private
|
7
|
-
module Normalizers
|
8
|
-
# @private
|
9
|
-
module Body
|
10
|
-
def self.included(klass)
|
11
|
-
klass.extend ClassMethods
|
12
|
-
end
|
13
|
-
|
14
|
-
# @private
|
15
|
-
module ClassMethods
|
16
|
-
def body_from(hash_or_string)
|
17
|
-
return hash_or_string unless hash_or_string.is_a?(Hash)
|
18
|
-
hash = hash_or_string
|
19
|
-
|
20
|
-
if hash.has_key?('base64_string')
|
21
|
-
string = Base64.decode64(hash['base64_string'])
|
22
|
-
force_encode_string(string, hash['encoding'])
|
23
|
-
else
|
24
|
-
try_encode_string(hash['string'], hash['encoding'])
|
25
|
-
end
|
26
|
-
end
|
27
|
-
|
28
|
-
if "".respond_to?(:encoding)
|
29
|
-
def force_encode_string(string, encoding)
|
30
|
-
return string unless encoding
|
31
|
-
string.force_encoding(encoding)
|
32
|
-
end
|
33
|
-
|
34
|
-
def try_encode_string(string, encoding)
|
35
|
-
return string if encoding.nil? || string.encoding.name == encoding
|
36
|
-
|
37
|
-
# ASCII-8BIT just means binary, so encoding to it is nonsensical
|
38
|
-
# and yet "\u00f6".encode("ASCII-8BIT") raises an error.
|
39
|
-
# Instead, we'll force encode it (essentially just tagging it as binary)
|
40
|
-
return string.force_encoding(encoding) if encoding == "ASCII-8BIT"
|
41
|
-
|
42
|
-
string.encode(encoding)
|
43
|
-
rescue EncodingError => e
|
44
|
-
struct_type = name.split('::').last.downcase
|
45
|
-
warn "VCR: got `#{e.class.name}: #{e.message}` while trying to encode the #{string.encoding.name} " +
|
46
|
-
"#{struct_type} body to the original body encoding (#{encoding}). Consider using the " +
|
47
|
-
"`:preserve_exact_body_bytes` option to work around this."
|
48
|
-
return string
|
49
|
-
end
|
50
|
-
else
|
51
|
-
def force_encode_string(string, encoding)
|
52
|
-
string
|
53
|
-
end
|
54
|
-
|
55
|
-
def try_encode_string(string, encoding)
|
56
|
-
string
|
57
|
-
end
|
58
|
-
end
|
59
|
-
end
|
60
|
-
|
61
|
-
def initialize(*args)
|
62
|
-
super
|
63
|
-
|
64
|
-
if body && !body.is_a?(String)
|
65
|
-
raise ArgumentError, "#{self.class} initialized with an invalid body: #{body.inspect}."
|
66
|
-
end
|
67
|
-
|
68
|
-
# Ensure that the body is a raw string, in case the string instance
|
69
|
-
# has been subclassed or extended with additional instance variables
|
70
|
-
# or attributes, so that it is serialized to YAML as a raw string.
|
71
|
-
# This is needed for rest-client. See this ticket for more info:
|
72
|
-
# http://github.com/myronmarston/vcr/issues/4
|
73
|
-
self.body = String.new(body.to_s)
|
74
|
-
end
|
75
|
-
|
76
|
-
private
|
77
|
-
|
78
|
-
def serializable_body
|
79
|
-
# Ensure it's just a string, and not a string with some
|
80
|
-
# extra state, as such strings serialize to YAML with
|
81
|
-
# all the extra state.
|
82
|
-
body = String.new(self.body.to_s)
|
83
|
-
|
84
|
-
if VCR.configuration.preserve_exact_body_bytes_for?(self)
|
85
|
-
base_body_hash(body).merge('base64_string' => Base64.encode64(body))
|
86
|
-
else
|
87
|
-
base_body_hash(body).merge('string' => body)
|
88
|
-
end
|
89
|
-
end
|
90
|
-
|
91
|
-
if ''.respond_to?(:encoding)
|
92
|
-
def base_body_hash(body)
|
93
|
-
{ 'encoding' => body.encoding.name }
|
94
|
-
end
|
95
|
-
else
|
96
|
-
def base_body_hash(body)
|
97
|
-
{ }
|
98
|
-
end
|
99
|
-
end
|
100
|
-
end
|
101
|
-
|
102
|
-
# @private
|
103
|
-
module Header
|
104
|
-
def initialize(*args)
|
105
|
-
super
|
106
|
-
normalize_headers
|
107
|
-
end
|
108
|
-
|
109
|
-
private
|
110
|
-
|
111
|
-
def normalize_headers
|
112
|
-
new_headers = {}
|
113
|
-
@normalized_header_keys = Hash.new {|h,k| k }
|
114
|
-
|
115
|
-
headers.each do |k, v|
|
116
|
-
val_array = case v
|
117
|
-
when Array then v
|
118
|
-
when nil then []
|
119
|
-
else [v]
|
120
|
-
end
|
121
|
-
|
122
|
-
new_headers[String.new(k)] = convert_to_raw_strings(val_array)
|
123
|
-
@normalized_header_keys[k.downcase] = k
|
124
|
-
end if headers
|
125
|
-
|
126
|
-
self.headers = new_headers
|
127
|
-
end
|
128
|
-
|
129
|
-
def header_key(key)
|
130
|
-
key = @normalized_header_keys[key.downcase]
|
131
|
-
key if headers.has_key? key
|
132
|
-
end
|
133
|
-
|
134
|
-
def get_header(key)
|
135
|
-
key = header_key(key)
|
136
|
-
headers[key] if key
|
137
|
-
end
|
138
|
-
|
139
|
-
def edit_header(key, value = nil)
|
140
|
-
if key = header_key(key)
|
141
|
-
value ||= yield headers[key]
|
142
|
-
headers[key] = Array(value)
|
143
|
-
end
|
144
|
-
end
|
145
|
-
|
146
|
-
def delete_header(key)
|
147
|
-
if key = header_key(key)
|
148
|
-
@normalized_header_keys.delete key.downcase
|
149
|
-
headers.delete key
|
150
|
-
end
|
151
|
-
end
|
152
|
-
|
153
|
-
def convert_to_raw_strings(array)
|
154
|
-
# Ensure the values are raw strings.
|
155
|
-
# Apparently for Paperclip uploads to S3, headers
|
156
|
-
# get serialized with some extra stuff which leads
|
157
|
-
# to a seg fault. See this issue for more info:
|
158
|
-
# https://github.com/myronmarston/vcr/issues#issue/39
|
159
|
-
array.map do |v|
|
160
|
-
case v
|
161
|
-
when String; String.new(v)
|
162
|
-
when Array; convert_to_raw_strings(v)
|
163
|
-
else v
|
164
|
-
end
|
165
|
-
end
|
166
|
-
end
|
167
|
-
end
|
168
|
-
end
|
169
|
-
|
170
|
-
# @private
|
171
|
-
module OrderedHashSerializer
|
172
|
-
def each
|
173
|
-
@ordered_keys.each do |key|
|
174
|
-
yield key, self[key] if has_key?(key)
|
175
|
-
end
|
176
|
-
end
|
177
|
-
|
178
|
-
if RUBY_VERSION.to_f > 1.8
|
179
|
-
# 1.9+ hashes are already ordered.
|
180
|
-
def self.apply_to(*args); end
|
181
|
-
else
|
182
|
-
def self.apply_to(hash, keys)
|
183
|
-
hash.instance_variable_set(:@ordered_keys, keys)
|
184
|
-
hash.extend self
|
185
|
-
end
|
186
|
-
end
|
187
|
-
end
|
188
|
-
|
189
|
-
# The request of an {HTTPInteraction}.
|
190
|
-
#
|
191
|
-
# @attr [Symbol] method the HTTP method (i.e. :head, :options, :get, :post, :put, :patch or :delete)
|
192
|
-
# @attr [String] uri the request URI
|
193
|
-
# @attr [String, nil] body the request body
|
194
|
-
# @attr [Hash{String => Array<String>}] headers the request headers
|
195
|
-
class Request < Struct.new(:method, :uri, :body, :headers)
|
196
|
-
include Normalizers::Header
|
197
|
-
include Normalizers::Body
|
198
|
-
|
199
|
-
def initialize(*args)
|
200
|
-
skip_port_stripping = false
|
201
|
-
if args.last == :skip_port_stripping
|
202
|
-
skip_port_stripping = true
|
203
|
-
args.pop
|
204
|
-
end
|
205
|
-
|
206
|
-
super(*args)
|
207
|
-
self.method = self.method.to_s.downcase.to_sym if self.method
|
208
|
-
self.uri = without_standard_port(self.uri) unless skip_port_stripping
|
209
|
-
end
|
210
|
-
|
211
|
-
# Builds a serializable hash from the request data.
|
212
|
-
#
|
213
|
-
# @return [Hash] hash that represents this request and can be easily
|
214
|
-
# serialized.
|
215
|
-
# @see Request.from_hash
|
216
|
-
def to_hash
|
217
|
-
{
|
218
|
-
'method' => method.to_s,
|
219
|
-
'uri' => uri,
|
220
|
-
'body' => serializable_body,
|
221
|
-
'headers' => headers
|
222
|
-
}.tap { |h| OrderedHashSerializer.apply_to(h, members) }
|
223
|
-
end
|
224
|
-
|
225
|
-
# Constructs a new instance from a hash.
|
226
|
-
#
|
227
|
-
# @param [Hash] hash the hash to use to construct the instance.
|
228
|
-
# @return [Request] the request
|
229
|
-
def self.from_hash(hash)
|
230
|
-
method = hash['method']
|
231
|
-
method &&= method.to_sym
|
232
|
-
new method,
|
233
|
-
hash['uri'],
|
234
|
-
body_from(hash['body']),
|
235
|
-
hash['headers'],
|
236
|
-
:skip_port_stripping
|
237
|
-
end
|
238
|
-
|
239
|
-
# Parses the URI using the configured `uri_parser`.
|
240
|
-
#
|
241
|
-
# @return [#schema, #host, #port, #path, #query] A parsed URI object.
|
242
|
-
def parsed_uri
|
243
|
-
VCR.configuration.uri_parser.parse(uri)
|
244
|
-
end
|
245
|
-
|
246
|
-
@@object_method = Object.instance_method(:method)
|
247
|
-
def method(*args)
|
248
|
-
return super if args.empty?
|
249
|
-
@@object_method.bind(self).call(*args)
|
250
|
-
end
|
251
|
-
|
252
|
-
# Decorates a {Request} with its current type.
|
253
|
-
class Typed < DelegateClass(self)
|
254
|
-
# @return [Symbol] One of `:ignored`, `:stubbed`, `:recordable` or `:unhandled`.
|
255
|
-
attr_reader :type
|
256
|
-
|
257
|
-
# @param [Request] request the request
|
258
|
-
# @param [Symbol] type the type. Should be one of `:ignored`, `:stubbed`, `:recordable` or `:unhandled`.
|
259
|
-
def initialize(request, type)
|
260
|
-
@type = type
|
261
|
-
super(request)
|
262
|
-
end
|
263
|
-
|
264
|
-
# @return [Boolean] whether or not this request is being ignored
|
265
|
-
def ignored?
|
266
|
-
type == :ignored
|
267
|
-
end
|
268
|
-
|
269
|
-
# @return [Boolean] whether or not this request is being stubbed by VCR
|
270
|
-
# @see #externally_stubbed?
|
271
|
-
# @see #stubbed?
|
272
|
-
def stubbed_by_vcr?
|
273
|
-
type == :stubbed_by_vcr
|
274
|
-
end
|
275
|
-
|
276
|
-
# @return [Boolean] whether or not this request is being stubbed by an
|
277
|
-
# external library (such as WebMock or FakeWeb).
|
278
|
-
# @see #stubbed_by_vcr?
|
279
|
-
# @see #stubbed?
|
280
|
-
def externally_stubbed?
|
281
|
-
type == :externally_stubbed
|
282
|
-
end
|
283
|
-
|
284
|
-
# @return [Boolean] whether or not this request will be recorded.
|
285
|
-
def recordable?
|
286
|
-
type == :recordable
|
287
|
-
end
|
288
|
-
|
289
|
-
# @return [Boolean] whether or not VCR knows how to handle this request.
|
290
|
-
def unhandled?
|
291
|
-
type == :unhandled
|
292
|
-
end
|
293
|
-
|
294
|
-
# @return [Boolean] whether or not this request will be made for real.
|
295
|
-
# @note VCR allows `:ignored` and `:recordable` requests to be made for real.
|
296
|
-
def real?
|
297
|
-
ignored? || recordable?
|
298
|
-
end
|
299
|
-
|
300
|
-
# @return [Boolean] whether or not this request will be stubbed.
|
301
|
-
# It may be stubbed by an external library or by VCR.
|
302
|
-
# @see #stubbed_by_vcr?
|
303
|
-
# @see #externally_stubbed?
|
304
|
-
def stubbed?
|
305
|
-
stubbed_by_vcr? || externally_stubbed?
|
306
|
-
end
|
307
|
-
|
308
|
-
undef method
|
309
|
-
end
|
310
|
-
|
311
|
-
# Provides fiber-awareness for the {VCR::Configuration#around_http_request} hook.
|
312
|
-
class FiberAware < DelegateClass(Typed)
|
313
|
-
# Yields the fiber so the request can proceed.
|
314
|
-
#
|
315
|
-
# @return [VCR::Response] the response from the request
|
316
|
-
def proceed
|
317
|
-
Fiber.yield
|
318
|
-
end
|
319
|
-
|
320
|
-
# Builds a proc that allows the request to proceed when called.
|
321
|
-
# This allows you to treat the request as a proc and pass it on
|
322
|
-
# to a method that yields (at which point the request will proceed).
|
323
|
-
#
|
324
|
-
# @return [Proc] the proc
|
325
|
-
def to_proc
|
326
|
-
lambda { proceed }
|
327
|
-
end
|
328
|
-
|
329
|
-
undef method
|
330
|
-
end
|
331
|
-
|
332
|
-
private
|
333
|
-
|
334
|
-
def without_standard_port(uri)
|
335
|
-
return uri if uri.nil?
|
336
|
-
u = parsed_uri
|
337
|
-
return uri unless [['http', 80], ['https', 443]].include?([u.scheme, u.port])
|
338
|
-
u.port = nil
|
339
|
-
u.to_s
|
340
|
-
end
|
341
|
-
end
|
342
|
-
|
343
|
-
# The response of an {HTTPInteraction}.
|
344
|
-
#
|
345
|
-
# @attr [ResponseStatus] status the status of the response
|
346
|
-
# @attr [Hash{String => Array<String>}] headers the response headers
|
347
|
-
# @attr [String] body the response body
|
348
|
-
# @attr [nil, String] http_version the HTTP version
|
349
|
-
# @attr [Hash] adapter_metadata Additional metadata used by a specific VCR adapter.
|
350
|
-
class Response < Struct.new(:status, :headers, :body, :http_version, :adapter_metadata)
|
351
|
-
include Normalizers::Header
|
352
|
-
include Normalizers::Body
|
353
|
-
|
354
|
-
def initialize(*args)
|
355
|
-
super(*args)
|
356
|
-
self.adapter_metadata ||= {}
|
357
|
-
end
|
358
|
-
|
359
|
-
# Builds a serializable hash from the response data.
|
360
|
-
#
|
361
|
-
# @return [Hash] hash that represents this response
|
362
|
-
# and can be easily serialized.
|
363
|
-
# @see Response.from_hash
|
364
|
-
def to_hash
|
365
|
-
{
|
366
|
-
'status' => status.to_hash,
|
367
|
-
'headers' => headers,
|
368
|
-
'body' => serializable_body,
|
369
|
-
'http_version' => http_version
|
370
|
-
}.tap do |hash|
|
371
|
-
hash['adapter_metadata'] = adapter_metadata unless adapter_metadata.empty?
|
372
|
-
OrderedHashSerializer.apply_to(hash, members)
|
373
|
-
end
|
374
|
-
end
|
375
|
-
|
376
|
-
# Constructs a new instance from a hash.
|
377
|
-
#
|
378
|
-
# @param [Hash] hash the hash to use to construct the instance.
|
379
|
-
# @return [Response] the response
|
380
|
-
def self.from_hash(hash)
|
381
|
-
new ResponseStatus.from_hash(hash.fetch('status', {})),
|
382
|
-
hash['headers'],
|
383
|
-
body_from(hash['body']),
|
384
|
-
hash['http_version'],
|
385
|
-
hash['adapter_metadata']
|
386
|
-
end
|
387
|
-
|
388
|
-
# Updates the Content-Length response header so that it is
|
389
|
-
# accurate for the response body.
|
390
|
-
def update_content_length_header
|
391
|
-
edit_header('Content-Length') { body ? body.bytesize.to_s : '0' }
|
392
|
-
end
|
393
|
-
|
394
|
-
# The type of encoding.
|
395
|
-
#
|
396
|
-
# @return [String] encoding type
|
397
|
-
def content_encoding
|
398
|
-
enc = get_header('Content-Encoding') and enc.first
|
399
|
-
end
|
400
|
-
|
401
|
-
# Checks if the type of encoding is one of "gzip" or "deflate".
|
402
|
-
def compressed?
|
403
|
-
%w[ gzip deflate ].include? content_encoding
|
404
|
-
end
|
405
|
-
|
406
|
-
# Decodes the compressed body and deletes evidence that it was ever compressed.
|
407
|
-
#
|
408
|
-
# @return self
|
409
|
-
# @raise [VCR::Errors::UnknownContentEncodingError] if the content encoding
|
410
|
-
# is not a known encoding.
|
411
|
-
def decompress
|
412
|
-
self.class.decompress(body, content_encoding) { |new_body|
|
413
|
-
self.body = new_body
|
414
|
-
update_content_length_header
|
415
|
-
delete_header('Content-Encoding')
|
416
|
-
}
|
417
|
-
return self
|
418
|
-
end
|
419
|
-
|
420
|
-
begin
|
421
|
-
require 'zlib'
|
422
|
-
require 'stringio'
|
423
|
-
HAVE_ZLIB = true
|
424
|
-
rescue LoadError
|
425
|
-
HAVE_ZLIB = false
|
426
|
-
end
|
427
|
-
|
428
|
-
# Decode string compressed with gzip or deflate
|
429
|
-
#
|
430
|
-
# @raise [VCR::Errors::UnknownContentEncodingError] if the content encoding
|
431
|
-
# is not a known encoding.
|
432
|
-
def self.decompress(body, type)
|
433
|
-
unless HAVE_ZLIB
|
434
|
-
warn "VCR: cannot decompress response; Zlib not available"
|
435
|
-
return
|
436
|
-
end
|
437
|
-
|
438
|
-
case type
|
439
|
-
when 'gzip'
|
440
|
-
args = [StringIO.new(body)]
|
441
|
-
args << { :encoding => 'ASCII-8BIT' } if ''.respond_to?(:encoding)
|
442
|
-
yield Zlib::GzipReader.new(*args).read
|
443
|
-
when 'deflate'
|
444
|
-
yield Zlib::Inflate.inflate(body)
|
445
|
-
when 'identity', NilClass
|
446
|
-
return
|
447
|
-
else
|
448
|
-
raise Errors::UnknownContentEncodingError, "unknown content encoding: #{type}"
|
449
|
-
end
|
450
|
-
end
|
451
|
-
end
|
452
|
-
|
453
|
-
# The response status of an {HTTPInteraction}.
|
454
|
-
#
|
455
|
-
# @attr [Integer] code the HTTP status code
|
456
|
-
# @attr [String] message the HTTP status message (e.g. "OK" for a status of 200)
|
457
|
-
class ResponseStatus < Struct.new(:code, :message)
|
458
|
-
# Builds a serializable hash from the response status data.
|
459
|
-
#
|
460
|
-
# @return [Hash] hash that represents this response status
|
461
|
-
# and can be easily serialized.
|
462
|
-
# @see ResponseStatus.from_hash
|
463
|
-
def to_hash
|
464
|
-
{
|
465
|
-
'code' => code, 'message' => message
|
466
|
-
}.tap { |h| OrderedHashSerializer.apply_to(h, members) }
|
467
|
-
end
|
468
|
-
|
469
|
-
# Constructs a new instance from a hash.
|
470
|
-
#
|
471
|
-
# @param [Hash] hash the hash to use to construct the instance.
|
472
|
-
# @return [ResponseStatus] the response status
|
473
|
-
def self.from_hash(hash)
|
474
|
-
new hash['code'], hash['message']
|
475
|
-
end
|
476
|
-
end
|
477
|
-
|
478
|
-
# Represents a single interaction over HTTP, containing a request and a response.
|
479
|
-
#
|
480
|
-
# @attr [Request] request the request
|
481
|
-
# @attr [Response] response the response
|
482
|
-
# @attr [Time] recorded_at when this HTTP interaction was recorded
|
483
|
-
class HTTPInteraction < Struct.new(:request, :response, :recorded_at)
|
484
|
-
def initialize(*args)
|
485
|
-
super
|
486
|
-
self.recorded_at ||= Time.now
|
487
|
-
end
|
488
|
-
|
489
|
-
# Builds a serializable hash from the HTTP interaction data.
|
490
|
-
#
|
491
|
-
# @return [Hash] hash that represents this HTTP interaction
|
492
|
-
# and can be easily serialized.
|
493
|
-
# @see HTTPInteraction.from_hash
|
494
|
-
def to_hash
|
495
|
-
{
|
496
|
-
'request' => request.to_hash,
|
497
|
-
'response' => response.to_hash,
|
498
|
-
'recorded_at' => recorded_at.httpdate
|
499
|
-
}.tap do |hash|
|
500
|
-
OrderedHashSerializer.apply_to(hash, members)
|
501
|
-
end
|
502
|
-
end
|
503
|
-
|
504
|
-
# Constructs a new instance from a hash.
|
505
|
-
#
|
506
|
-
# @param [Hash] hash the hash to use to construct the instance.
|
507
|
-
# @return [HTTPInteraction] the HTTP interaction
|
508
|
-
def self.from_hash(hash)
|
509
|
-
new Request.from_hash(hash.fetch('request', {})),
|
510
|
-
Response.from_hash(hash.fetch('response', {})),
|
511
|
-
Time.httpdate(hash.fetch('recorded_at'))
|
512
|
-
end
|
513
|
-
|
514
|
-
# @return [HookAware] an instance with additional capabilities
|
515
|
-
# suitable for use in `before_record` and `before_playback` hooks.
|
516
|
-
def hook_aware
|
517
|
-
HookAware.new(self)
|
518
|
-
end
|
519
|
-
|
520
|
-
# Decorates an {HTTPInteraction} with additional methods useful
|
521
|
-
# for a `before_record` or `before_playback` hook.
|
522
|
-
class HookAware < DelegateClass(HTTPInteraction)
|
523
|
-
def initialize(http_interaction)
|
524
|
-
@ignored = false
|
525
|
-
super
|
526
|
-
end
|
527
|
-
|
528
|
-
# Flags the HTTP interaction so that VCR ignores it. This is useful in
|
529
|
-
# a {VCR::Configuration#before_record} or {VCR::Configuration#before_playback}
|
530
|
-
# hook so that VCR does not record or play it back.
|
531
|
-
# @see #ignored?
|
532
|
-
def ignore!
|
533
|
-
@ignored = true
|
534
|
-
end
|
535
|
-
|
536
|
-
# @return [Boolean] whether or not this HTTP interaction should be ignored.
|
537
|
-
# @see #ignore!
|
538
|
-
def ignored?
|
539
|
-
!!@ignored
|
540
|
-
end
|
541
|
-
|
542
|
-
# Replaces a string in any part of the HTTP interaction (headers, request body,
|
543
|
-
# response body, etc) with the given replacement text.
|
544
|
-
#
|
545
|
-
# @param [#to_s] text the text to replace
|
546
|
-
# @param [#to_s] replacement_text the text to put in its place
|
547
|
-
def filter!(text, replacement_text)
|
548
|
-
text, replacement_text = text.to_s, replacement_text.to_s
|
549
|
-
return self if [text, replacement_text].any? { |t| t.empty? }
|
550
|
-
filter_object!(self, text, replacement_text)
|
551
|
-
end
|
552
|
-
|
553
|
-
private
|
554
|
-
|
555
|
-
def filter_object!(object, text, replacement_text)
|
556
|
-
if object.respond_to?(:gsub)
|
557
|
-
object.gsub!(text, replacement_text) if object.include?(text)
|
558
|
-
elsif Hash === object
|
559
|
-
filter_hash!(object, text, replacement_text)
|
560
|
-
elsif object.respond_to?(:each)
|
561
|
-
# This handles nested arrays and structs
|
562
|
-
object.each { |o| filter_object!(o, text, replacement_text) }
|
563
|
-
end
|
564
|
-
|
565
|
-
object
|
566
|
-
end
|
567
|
-
|
568
|
-
def filter_hash!(hash, text, replacement_text)
|
569
|
-
filter_object!(hash.values, text, replacement_text)
|
570
|
-
|
571
|
-
hash.keys.each do |k|
|
572
|
-
new_key = filter_object!(k.dup, text, replacement_text)
|
573
|
-
hash[new_key] = hash.delete(k) unless k == new_key
|
574
|
-
end
|
575
|
-
end
|
576
|
-
end
|
577
|
-
end
|
578
|
-
end
|