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
data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/log_subscriber/test_helper.rb
DELETED
@@ -1,99 +0,0 @@
|
|
1
|
-
require 'active_support/log_subscriber'
|
2
|
-
require 'active_support/buffered_logger'
|
3
|
-
|
4
|
-
module ActiveSupport
|
5
|
-
class LogSubscriber
|
6
|
-
# Provides some helpers to deal with testing log subscribers by setting up
|
7
|
-
# notifications. Take for instance Active Record subscriber tests:
|
8
|
-
#
|
9
|
-
# class SyncLogSubscriberTest < ActiveSupport::TestCase
|
10
|
-
# include ActiveSupport::LogSubscriber::TestHelper
|
11
|
-
#
|
12
|
-
# def setup
|
13
|
-
# ActiveRecord::LogSubscriber.attach_to(:active_record)
|
14
|
-
# end
|
15
|
-
#
|
16
|
-
# def test_basic_query_logging
|
17
|
-
# Developer.all
|
18
|
-
# wait
|
19
|
-
# assert_equal 1, @logger.logged(:debug).size
|
20
|
-
# assert_match /Developer Load/, @logger.logged(:debug).last
|
21
|
-
# assert_match /SELECT \* FROM "developers"/, @logger.logged(:debug).last
|
22
|
-
# end
|
23
|
-
# end
|
24
|
-
#
|
25
|
-
# All you need to do is to ensure that your log subscriber is added to Rails::Subscriber,
|
26
|
-
# as in the second line of the code above. The test helpers is reponsible for setting
|
27
|
-
# up the queue, subscriptions and turning colors in logs off.
|
28
|
-
#
|
29
|
-
# The messages are available in the @logger instance, which is a logger with limited
|
30
|
-
# powers (it actually do not send anything to your output), and you can collect them
|
31
|
-
# doing @logger.logged(level), where level is the level used in logging, like info,
|
32
|
-
# debug, warn and so on.
|
33
|
-
#
|
34
|
-
module TestHelper
|
35
|
-
def setup
|
36
|
-
@logger = MockLogger.new
|
37
|
-
@notifier = ActiveSupport::Notifications::Fanout.new
|
38
|
-
|
39
|
-
ActiveSupport::LogSubscriber.colorize_logging = false
|
40
|
-
|
41
|
-
set_logger(@logger)
|
42
|
-
ActiveSupport::Notifications.notifier = @notifier
|
43
|
-
end
|
44
|
-
|
45
|
-
def teardown
|
46
|
-
set_logger(nil)
|
47
|
-
ActiveSupport::Notifications.notifier = nil
|
48
|
-
end
|
49
|
-
|
50
|
-
class MockLogger
|
51
|
-
include ActiveSupport::BufferedLogger::Severity
|
52
|
-
|
53
|
-
attr_reader :flush_count
|
54
|
-
attr_accessor :level
|
55
|
-
|
56
|
-
def initialize(level = DEBUG)
|
57
|
-
@flush_count = 0
|
58
|
-
@level = level
|
59
|
-
@logged = Hash.new { |h,k| h[k] = [] }
|
60
|
-
end
|
61
|
-
|
62
|
-
def method_missing(level, message)
|
63
|
-
@logged[level] << message
|
64
|
-
end
|
65
|
-
|
66
|
-
def logged(level)
|
67
|
-
@logged[level].compact.map { |l| l.to_s.strip }
|
68
|
-
end
|
69
|
-
|
70
|
-
def flush
|
71
|
-
@flush_count += 1
|
72
|
-
end
|
73
|
-
|
74
|
-
ActiveSupport::BufferedLogger::Severity.constants.each do |severity|
|
75
|
-
class_eval <<-EOT, __FILE__, __LINE__ + 1
|
76
|
-
def #{severity.downcase}?
|
77
|
-
#{severity} >= @level
|
78
|
-
end
|
79
|
-
EOT
|
80
|
-
end
|
81
|
-
end
|
82
|
-
|
83
|
-
# Wait notifications to be published.
|
84
|
-
def wait
|
85
|
-
@notifier.wait
|
86
|
-
end
|
87
|
-
|
88
|
-
# Overwrite if you use another logger in your log subscriber:
|
89
|
-
#
|
90
|
-
# def logger
|
91
|
-
# ActiveRecord::Base.logger = @logger
|
92
|
-
# end
|
93
|
-
#
|
94
|
-
def set_logger(logger)
|
95
|
-
ActiveSupport::LogSubscriber.logger = logger
|
96
|
-
end
|
97
|
-
end
|
98
|
-
end
|
99
|
-
end
|
@@ -1,103 +0,0 @@
|
|
1
|
-
require 'active_support/core_ext/kernel/singleton_class'
|
2
|
-
require 'active_support/core_ext/module/aliasing'
|
3
|
-
|
4
|
-
module ActiveSupport
|
5
|
-
module Memoizable
|
6
|
-
def self.memoized_ivar_for(symbol)
|
7
|
-
"@_memoized_#{symbol.to_s.sub(/\?\Z/, '_query').sub(/!\Z/, '_bang')}".to_sym
|
8
|
-
end
|
9
|
-
|
10
|
-
module InstanceMethods
|
11
|
-
def self.included(base)
|
12
|
-
base.class_eval do
|
13
|
-
unless base.method_defined?(:freeze_without_memoizable)
|
14
|
-
alias_method_chain :freeze, :memoizable
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
18
|
-
|
19
|
-
def freeze_with_memoizable
|
20
|
-
memoize_all unless frozen?
|
21
|
-
freeze_without_memoizable
|
22
|
-
end
|
23
|
-
|
24
|
-
def memoize_all
|
25
|
-
prime_cache ".*"
|
26
|
-
end
|
27
|
-
|
28
|
-
def unmemoize_all
|
29
|
-
flush_cache ".*"
|
30
|
-
end
|
31
|
-
|
32
|
-
def prime_cache(*syms)
|
33
|
-
syms.each do |sym|
|
34
|
-
methods.each do |m|
|
35
|
-
if m.to_s =~ /^_unmemoized_(#{sym})/
|
36
|
-
if method(m).arity == 0
|
37
|
-
__send__($1)
|
38
|
-
else
|
39
|
-
ivar = ActiveSupport::Memoizable.memoized_ivar_for($1)
|
40
|
-
instance_variable_set(ivar, {})
|
41
|
-
end
|
42
|
-
end
|
43
|
-
end
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
|
-
def flush_cache(*syms)
|
48
|
-
syms.each do |sym|
|
49
|
-
(methods + private_methods + protected_methods).each do |m|
|
50
|
-
if m.to_s =~ /^_unmemoized_(#{sym.to_s.gsub(/\?\Z/, '\?')})/
|
51
|
-
ivar = ActiveSupport::Memoizable.memoized_ivar_for($1)
|
52
|
-
instance_variable_get(ivar).clear if instance_variable_defined?(ivar)
|
53
|
-
end
|
54
|
-
end
|
55
|
-
end
|
56
|
-
end
|
57
|
-
end
|
58
|
-
|
59
|
-
def memoize(*symbols)
|
60
|
-
symbols.each do |symbol|
|
61
|
-
original_method = :"_unmemoized_#{symbol}"
|
62
|
-
memoized_ivar = ActiveSupport::Memoizable.memoized_ivar_for(symbol)
|
63
|
-
|
64
|
-
class_eval <<-EOS, __FILE__, __LINE__ + 1
|
65
|
-
include InstanceMethods # include InstanceMethods
|
66
|
-
#
|
67
|
-
if method_defined?(:#{original_method}) # if method_defined?(:_unmemoized_mime_type)
|
68
|
-
raise "Already memoized #{symbol}" # raise "Already memoized mime_type"
|
69
|
-
end # end
|
70
|
-
alias #{original_method} #{symbol} # alias _unmemoized_mime_type mime_type
|
71
|
-
#
|
72
|
-
if instance_method(:#{symbol}).arity == 0 # if instance_method(:mime_type).arity == 0
|
73
|
-
def #{symbol}(reload = false) # def mime_type(reload = false)
|
74
|
-
if reload || !defined?(#{memoized_ivar}) || #{memoized_ivar}.empty? # if reload || !defined?(@_memoized_mime_type) || @_memoized_mime_type.empty?
|
75
|
-
#{memoized_ivar} = [#{original_method}] # @_memoized_mime_type = [_unmemoized_mime_type]
|
76
|
-
end # end
|
77
|
-
#{memoized_ivar}[0] # @_memoized_mime_type[0]
|
78
|
-
end # end
|
79
|
-
else # else
|
80
|
-
def #{symbol}(*args) # def mime_type(*args)
|
81
|
-
#{memoized_ivar} ||= {} unless frozen? # @_memoized_mime_type ||= {} unless frozen?
|
82
|
-
reload = args.pop if args.last == true || args.last == :reload # reload = args.pop if args.last == true || args.last == :reload
|
83
|
-
#
|
84
|
-
if defined?(#{memoized_ivar}) && #{memoized_ivar} # if defined?(@_memoized_mime_type) && @_memoized_mime_type
|
85
|
-
if !reload && #{memoized_ivar}.has_key?(args) # if !reload && @_memoized_mime_type.has_key?(args)
|
86
|
-
#{memoized_ivar}[args] # @_memoized_mime_type[args]
|
87
|
-
elsif #{memoized_ivar} # elsif @_memoized_mime_type
|
88
|
-
#{memoized_ivar}[args] = #{original_method}(*args) # @_memoized_mime_type[args] = _unmemoized_mime_type(*args)
|
89
|
-
end # end
|
90
|
-
else # else
|
91
|
-
#{original_method}(*args) # _unmemoized_mime_type(*args)
|
92
|
-
end # end
|
93
|
-
end # end
|
94
|
-
end # end
|
95
|
-
#
|
96
|
-
if private_method_defined?(#{original_method.inspect}) # if private_method_defined?(:_unmemoized_mime_type)
|
97
|
-
private #{symbol.inspect} # private :mime_type
|
98
|
-
end # end
|
99
|
-
EOS
|
100
|
-
end
|
101
|
-
end
|
102
|
-
end
|
103
|
-
end
|
@@ -1,71 +0,0 @@
|
|
1
|
-
require 'openssl'
|
2
|
-
require 'active_support/base64'
|
3
|
-
|
4
|
-
module ActiveSupport
|
5
|
-
# MessageEncryptor is a simple way to encrypt values which get stored somewhere
|
6
|
-
# you don't trust.
|
7
|
-
#
|
8
|
-
# The cipher text and initialization vector are base64 encoded and returned to you.
|
9
|
-
#
|
10
|
-
# This can be used in situations similar to the MessageVerifier, but where you don't
|
11
|
-
# want users to be able to determine the value of the payload.
|
12
|
-
class MessageEncryptor
|
13
|
-
class InvalidMessage < StandardError; end
|
14
|
-
OpenSSLCipherError = OpenSSL::Cipher.const_defined?(:CipherError) ? OpenSSL::Cipher::CipherError : OpenSSL::CipherError
|
15
|
-
|
16
|
-
def initialize(secret, cipher = 'aes-256-cbc')
|
17
|
-
@secret = secret
|
18
|
-
@cipher = cipher
|
19
|
-
end
|
20
|
-
|
21
|
-
def encrypt(value)
|
22
|
-
cipher = new_cipher
|
23
|
-
# Rely on OpenSSL for the initialization vector
|
24
|
-
iv = cipher.random_iv
|
25
|
-
|
26
|
-
cipher.encrypt
|
27
|
-
cipher.key = @secret
|
28
|
-
cipher.iv = iv
|
29
|
-
|
30
|
-
encrypted_data = cipher.update(Marshal.dump(value))
|
31
|
-
encrypted_data << cipher.final
|
32
|
-
|
33
|
-
[encrypted_data, iv].map {|v| ActiveSupport::Base64.encode64s(v)}.join("--")
|
34
|
-
end
|
35
|
-
|
36
|
-
def decrypt(encrypted_message)
|
37
|
-
cipher = new_cipher
|
38
|
-
encrypted_data, iv = encrypted_message.split("--").map {|v| ActiveSupport::Base64.decode64(v)}
|
39
|
-
|
40
|
-
cipher.decrypt
|
41
|
-
cipher.key = @secret
|
42
|
-
cipher.iv = iv
|
43
|
-
|
44
|
-
decrypted_data = cipher.update(encrypted_data)
|
45
|
-
decrypted_data << cipher.final
|
46
|
-
|
47
|
-
Marshal.load(decrypted_data)
|
48
|
-
rescue OpenSSLCipherError, TypeError
|
49
|
-
raise InvalidMessage
|
50
|
-
end
|
51
|
-
|
52
|
-
def encrypt_and_sign(value)
|
53
|
-
verifier.generate(encrypt(value))
|
54
|
-
end
|
55
|
-
|
56
|
-
def decrypt_and_verify(value)
|
57
|
-
decrypt(verifier.verify(value))
|
58
|
-
end
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
private
|
63
|
-
def new_cipher
|
64
|
-
OpenSSL::Cipher::Cipher.new(@cipher)
|
65
|
-
end
|
66
|
-
|
67
|
-
def verifier
|
68
|
-
MessageVerifier.new(@secret)
|
69
|
-
end
|
70
|
-
end
|
71
|
-
end
|
@@ -1,62 +0,0 @@
|
|
1
|
-
require 'active_support/base64'
|
2
|
-
require 'active_support/core_ext/object/blank'
|
3
|
-
|
4
|
-
module ActiveSupport
|
5
|
-
# MessageVerifier makes it easy to generate and verify messages which are signed
|
6
|
-
# to prevent tampering.
|
7
|
-
#
|
8
|
-
# This is useful for cases like remember-me tokens and auto-unsubscribe links where the
|
9
|
-
# session store isn't suitable or available.
|
10
|
-
#
|
11
|
-
# Remember Me:
|
12
|
-
# cookies[:remember_me] = @verifier.generate([@user.id, 2.weeks.from_now])
|
13
|
-
#
|
14
|
-
# In the authentication filter:
|
15
|
-
#
|
16
|
-
# id, time = @verifier.verify(cookies[:remember_me])
|
17
|
-
# if time < Time.now
|
18
|
-
# self.current_user = User.find(id)
|
19
|
-
# end
|
20
|
-
#
|
21
|
-
class MessageVerifier
|
22
|
-
class InvalidSignature < StandardError; end
|
23
|
-
|
24
|
-
def initialize(secret, digest = 'SHA1')
|
25
|
-
@secret = secret
|
26
|
-
@digest = digest
|
27
|
-
end
|
28
|
-
|
29
|
-
def verify(signed_message)
|
30
|
-
raise InvalidSignature if signed_message.blank?
|
31
|
-
|
32
|
-
data, digest = signed_message.split("--")
|
33
|
-
if data.present? && digest.present? && secure_compare(digest, generate_digest(data))
|
34
|
-
Marshal.load(ActiveSupport::Base64.decode64(data))
|
35
|
-
else
|
36
|
-
raise InvalidSignature
|
37
|
-
end
|
38
|
-
end
|
39
|
-
|
40
|
-
def generate(value)
|
41
|
-
data = ActiveSupport::Base64.encode64s(Marshal.dump(value))
|
42
|
-
"#{data}--#{generate_digest(data)}"
|
43
|
-
end
|
44
|
-
|
45
|
-
private
|
46
|
-
# constant-time comparison algorithm to prevent timing attacks
|
47
|
-
def secure_compare(a, b)
|
48
|
-
return false unless a.bytesize == b.bytesize
|
49
|
-
|
50
|
-
l = a.unpack "C#{a.bytesize}"
|
51
|
-
|
52
|
-
res = 0
|
53
|
-
b.each_byte { |byte| res |= byte ^ l.shift }
|
54
|
-
res == 0
|
55
|
-
end
|
56
|
-
|
57
|
-
def generate_digest(data)
|
58
|
-
require 'openssl' unless defined?(OpenSSL)
|
59
|
-
OpenSSL::HMAC.hexdigest(OpenSSL::Digest.const_get(@digest).new, @secret, data)
|
60
|
-
end
|
61
|
-
end
|
62
|
-
end
|
@@ -1,44 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
require 'active_support/core_ext/module/attribute_accessors'
|
3
|
-
|
4
|
-
module ActiveSupport #:nodoc:
|
5
|
-
module Multibyte
|
6
|
-
autoload :EncodingError, 'active_support/multibyte/exceptions'
|
7
|
-
autoload :Chars, 'active_support/multibyte/chars'
|
8
|
-
autoload :Unicode, 'active_support/multibyte/unicode'
|
9
|
-
|
10
|
-
# The proxy class returned when calling mb_chars. You can use this accessor to configure your own proxy
|
11
|
-
# class so you can support other encodings. See the ActiveSupport::Multibyte::Chars implementation for
|
12
|
-
# an example how to do this.
|
13
|
-
#
|
14
|
-
# Example:
|
15
|
-
# ActiveSupport::Multibyte.proxy_class = CharsForUTF32
|
16
|
-
def self.proxy_class=(klass)
|
17
|
-
@proxy_class = klass
|
18
|
-
end
|
19
|
-
|
20
|
-
# Returns the current proxy class
|
21
|
-
def self.proxy_class
|
22
|
-
@proxy_class ||= ActiveSupport::Multibyte::Chars
|
23
|
-
end
|
24
|
-
|
25
|
-
# Regular expressions that describe valid byte sequences for a character
|
26
|
-
VALID_CHARACTER = {
|
27
|
-
# Borrowed from the Kconv library by Shinji KONO - (also as seen on the W3C site)
|
28
|
-
'UTF-8' => /\A(?:
|
29
|
-
[\x00-\x7f] |
|
30
|
-
[\xc2-\xdf] [\x80-\xbf] |
|
31
|
-
\xe0 [\xa0-\xbf] [\x80-\xbf] |
|
32
|
-
[\xe1-\xef] [\x80-\xbf] [\x80-\xbf] |
|
33
|
-
\xf0 [\x90-\xbf] [\x80-\xbf] [\x80-\xbf] |
|
34
|
-
[\xf1-\xf3] [\x80-\xbf] [\x80-\xbf] [\x80-\xbf] |
|
35
|
-
\xf4 [\x80-\x8f] [\x80-\xbf] [\x80-\xbf])\z /xn,
|
36
|
-
# Quick check for valid Shift-JIS characters, disregards the odd-even pairing
|
37
|
-
'Shift_JIS' => /\A(?:
|
38
|
-
[\x00-\x7e\xa1-\xdf] |
|
39
|
-
[\x81-\x9f\xe0-\xef] [\x40-\x7e\x80-\x9e\x9f-\xfc])\z /xn
|
40
|
-
}
|
41
|
-
end
|
42
|
-
end
|
43
|
-
|
44
|
-
require 'active_support/multibyte/utils'
|
@@ -1,476 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
require 'active_support/core_ext/string/access'
|
3
|
-
require 'active_support/core_ext/string/behavior'
|
4
|
-
|
5
|
-
module ActiveSupport #:nodoc:
|
6
|
-
module Multibyte #:nodoc:
|
7
|
-
# Chars enables you to work transparently with UTF-8 encoding in the Ruby String class without having extensive
|
8
|
-
# knowledge about the encoding. A Chars object accepts a string upon initialization and proxies String methods in an
|
9
|
-
# encoding safe manner. All the normal String methods are also implemented on the proxy.
|
10
|
-
#
|
11
|
-
# String methods are proxied through the Chars object, and can be accessed through the +mb_chars+ method. Methods
|
12
|
-
# which would normally return a String object now return a Chars object so methods can be chained.
|
13
|
-
#
|
14
|
-
# "The Perfect String ".mb_chars.downcase.strip.normalize # => "the perfect string"
|
15
|
-
#
|
16
|
-
# Chars objects are perfectly interchangeable with String objects as long as no explicit class checks are made.
|
17
|
-
# If certain methods do explicitly check the class, call +to_s+ before you pass chars objects to them.
|
18
|
-
#
|
19
|
-
# bad.explicit_checking_method "T".mb_chars.downcase.to_s
|
20
|
-
#
|
21
|
-
# The default Chars implementation assumes that the encoding of the string is UTF-8, if you want to handle different
|
22
|
-
# encodings you can write your own multibyte string handler and configure it through
|
23
|
-
# ActiveSupport::Multibyte.proxy_class.
|
24
|
-
#
|
25
|
-
# class CharsForUTF32
|
26
|
-
# def size
|
27
|
-
# @wrapped_string.size / 4
|
28
|
-
# end
|
29
|
-
#
|
30
|
-
# def self.accepts?(string)
|
31
|
-
# string.length % 4 == 0
|
32
|
-
# end
|
33
|
-
# end
|
34
|
-
#
|
35
|
-
# ActiveSupport::Multibyte.proxy_class = CharsForUTF32
|
36
|
-
class Chars
|
37
|
-
attr_reader :wrapped_string
|
38
|
-
alias to_s wrapped_string
|
39
|
-
alias to_str wrapped_string
|
40
|
-
|
41
|
-
if RUBY_VERSION >= "1.9"
|
42
|
-
# Creates a new Chars instance by wrapping _string_.
|
43
|
-
def initialize(string)
|
44
|
-
@wrapped_string = string
|
45
|
-
@wrapped_string.force_encoding(Encoding::UTF_8) unless @wrapped_string.frozen?
|
46
|
-
end
|
47
|
-
else
|
48
|
-
def initialize(string) #:nodoc:
|
49
|
-
@wrapped_string = string
|
50
|
-
end
|
51
|
-
end
|
52
|
-
|
53
|
-
# Forward all undefined methods to the wrapped string.
|
54
|
-
def method_missing(method, *args, &block)
|
55
|
-
if method.to_s =~ /!$/
|
56
|
-
@wrapped_string.__send__(method, *args, &block)
|
57
|
-
self
|
58
|
-
else
|
59
|
-
result = @wrapped_string.__send__(method, *args, &block)
|
60
|
-
result.kind_of?(String) ? chars(result) : result
|
61
|
-
end
|
62
|
-
end
|
63
|
-
|
64
|
-
# Returns +true+ if _obj_ responds to the given method. Private methods are included in the search
|
65
|
-
# only if the optional second parameter evaluates to +true+.
|
66
|
-
def respond_to?(method, include_private=false)
|
67
|
-
super || @wrapped_string.respond_to?(method, include_private) || false
|
68
|
-
end
|
69
|
-
|
70
|
-
# Enable more predictable duck-typing on String-like classes. See Object#acts_like?.
|
71
|
-
def acts_like_string?
|
72
|
-
true
|
73
|
-
end
|
74
|
-
|
75
|
-
# Returns +true+ when the proxy class can handle the string. Returns +false+ otherwise.
|
76
|
-
def self.consumes?(string)
|
77
|
-
# Unpack is a little bit faster than regular expressions.
|
78
|
-
string.unpack('U*')
|
79
|
-
true
|
80
|
-
rescue ArgumentError
|
81
|
-
false
|
82
|
-
end
|
83
|
-
|
84
|
-
include Comparable
|
85
|
-
|
86
|
-
# Returns -1, 0, or 1, depending on whether the Chars object is to be sorted before,
|
87
|
-
# equal or after the object on the right side of the operation. It accepts any object
|
88
|
-
# that implements +to_s+:
|
89
|
-
#
|
90
|
-
# 'é'.mb_chars <=> 'ü'.mb_chars # => -1
|
91
|
-
#
|
92
|
-
# See <tt>String#<=></tt> for more details.
|
93
|
-
def <=>(other)
|
94
|
-
@wrapped_string <=> other.to_s
|
95
|
-
end
|
96
|
-
|
97
|
-
if RUBY_VERSION < "1.9"
|
98
|
-
# Returns +true+ if the Chars class can and should act as a proxy for the string _string_. Returns
|
99
|
-
# +false+ otherwise.
|
100
|
-
def self.wants?(string)
|
101
|
-
$KCODE == 'UTF8' && consumes?(string)
|
102
|
-
end
|
103
|
-
|
104
|
-
# Returns a new Chars object containing the _other_ object concatenated to the string.
|
105
|
-
#
|
106
|
-
# Example:
|
107
|
-
# ('Café'.mb_chars + ' périferôl').to_s # => "Café périferôl"
|
108
|
-
def +(other)
|
109
|
-
chars(@wrapped_string + other)
|
110
|
-
end
|
111
|
-
|
112
|
-
# Like <tt>String#=~</tt> only it returns the character offset (in codepoints) instead of the byte offset.
|
113
|
-
#
|
114
|
-
# Example:
|
115
|
-
# 'Café périferôl'.mb_chars =~ /ô/ # => 12
|
116
|
-
def =~(other)
|
117
|
-
translate_offset(@wrapped_string =~ other)
|
118
|
-
end
|
119
|
-
|
120
|
-
# Inserts the passed string at specified codepoint offsets.
|
121
|
-
#
|
122
|
-
# Example:
|
123
|
-
# 'Café'.mb_chars.insert(4, ' périferôl').to_s # => "Café périferôl"
|
124
|
-
def insert(offset, fragment)
|
125
|
-
unpacked = Unicode.u_unpack(@wrapped_string)
|
126
|
-
unless offset > unpacked.length
|
127
|
-
@wrapped_string.replace(
|
128
|
-
Unicode.u_unpack(@wrapped_string).insert(offset, *Unicode.u_unpack(fragment)).pack('U*')
|
129
|
-
)
|
130
|
-
else
|
131
|
-
raise IndexError, "index #{offset} out of string"
|
132
|
-
end
|
133
|
-
self
|
134
|
-
end
|
135
|
-
|
136
|
-
# Returns +true+ if contained string contains _other_. Returns +false+ otherwise.
|
137
|
-
#
|
138
|
-
# Example:
|
139
|
-
# 'Café'.mb_chars.include?('é') # => true
|
140
|
-
def include?(other)
|
141
|
-
# We have to redefine this method because Enumerable defines it.
|
142
|
-
@wrapped_string.include?(other)
|
143
|
-
end
|
144
|
-
|
145
|
-
# Returns the position _needle_ in the string, counting in codepoints. Returns +nil+ if _needle_ isn't found.
|
146
|
-
#
|
147
|
-
# Example:
|
148
|
-
# 'Café périferôl'.mb_chars.index('ô') # => 12
|
149
|
-
# 'Café périferôl'.mb_chars.index(/\w/u) # => 0
|
150
|
-
def index(needle, offset=0)
|
151
|
-
wrapped_offset = first(offset).wrapped_string.length
|
152
|
-
index = @wrapped_string.index(needle, wrapped_offset)
|
153
|
-
index ? (Unicode.u_unpack(@wrapped_string.slice(0...index)).size) : nil
|
154
|
-
end
|
155
|
-
|
156
|
-
# Returns the position _needle_ in the string, counting in
|
157
|
-
# codepoints, searching backward from _offset_ or the end of the
|
158
|
-
# string. Returns +nil+ if _needle_ isn't found.
|
159
|
-
#
|
160
|
-
# Example:
|
161
|
-
# 'Café périferôl'.mb_chars.rindex('é') # => 6
|
162
|
-
# 'Café périferôl'.mb_chars.rindex(/\w/u) # => 13
|
163
|
-
def rindex(needle, offset=nil)
|
164
|
-
offset ||= length
|
165
|
-
wrapped_offset = first(offset).wrapped_string.length
|
166
|
-
index = @wrapped_string.rindex(needle, wrapped_offset)
|
167
|
-
index ? (Unicode.u_unpack(@wrapped_string.slice(0...index)).size) : nil
|
168
|
-
end
|
169
|
-
|
170
|
-
# Returns the number of codepoints in the string
|
171
|
-
def size
|
172
|
-
Unicode.u_unpack(@wrapped_string).size
|
173
|
-
end
|
174
|
-
alias_method :length, :size
|
175
|
-
|
176
|
-
# Strips entire range of Unicode whitespace from the right of the string.
|
177
|
-
def rstrip
|
178
|
-
chars(@wrapped_string.gsub(Unicode::TRAILERS_PAT, ''))
|
179
|
-
end
|
180
|
-
|
181
|
-
# Strips entire range of Unicode whitespace from the left of the string.
|
182
|
-
def lstrip
|
183
|
-
chars(@wrapped_string.gsub(Unicode::LEADERS_PAT, ''))
|
184
|
-
end
|
185
|
-
|
186
|
-
# Strips entire range of Unicode whitespace from the right and left of the string.
|
187
|
-
def strip
|
188
|
-
rstrip.lstrip
|
189
|
-
end
|
190
|
-
|
191
|
-
# Returns the codepoint of the first character in the string.
|
192
|
-
#
|
193
|
-
# Example:
|
194
|
-
# 'こんにちは'.mb_chars.ord # => 12371
|
195
|
-
def ord
|
196
|
-
Unicode.u_unpack(@wrapped_string)[0]
|
197
|
-
end
|
198
|
-
|
199
|
-
# Works just like <tt>String#rjust</tt>, only integer specifies characters instead of bytes.
|
200
|
-
#
|
201
|
-
# Example:
|
202
|
-
#
|
203
|
-
# "¾ cup".mb_chars.rjust(8).to_s
|
204
|
-
# # => " ¾ cup"
|
205
|
-
#
|
206
|
-
# "¾ cup".mb_chars.rjust(8, " ").to_s # Use non-breaking whitespace
|
207
|
-
# # => " ¾ cup"
|
208
|
-
def rjust(integer, padstr=' ')
|
209
|
-
justify(integer, :right, padstr)
|
210
|
-
end
|
211
|
-
|
212
|
-
# Works just like <tt>String#ljust</tt>, only integer specifies characters instead of bytes.
|
213
|
-
#
|
214
|
-
# Example:
|
215
|
-
#
|
216
|
-
# "¾ cup".mb_chars.rjust(8).to_s
|
217
|
-
# # => "¾ cup "
|
218
|
-
#
|
219
|
-
# "¾ cup".mb_chars.rjust(8, " ").to_s # Use non-breaking whitespace
|
220
|
-
# # => "¾ cup "
|
221
|
-
def ljust(integer, padstr=' ')
|
222
|
-
justify(integer, :left, padstr)
|
223
|
-
end
|
224
|
-
|
225
|
-
# Works just like <tt>String#center</tt>, only integer specifies characters instead of bytes.
|
226
|
-
#
|
227
|
-
# Example:
|
228
|
-
#
|
229
|
-
# "¾ cup".mb_chars.center(8).to_s
|
230
|
-
# # => " ¾ cup "
|
231
|
-
#
|
232
|
-
# "¾ cup".mb_chars.center(8, " ").to_s # Use non-breaking whitespace
|
233
|
-
# # => " ¾ cup "
|
234
|
-
def center(integer, padstr=' ')
|
235
|
-
justify(integer, :center, padstr)
|
236
|
-
end
|
237
|
-
|
238
|
-
else
|
239
|
-
def =~(other)
|
240
|
-
@wrapped_string =~ other
|
241
|
-
end
|
242
|
-
end
|
243
|
-
|
244
|
-
# Works just like <tt>String#split</tt>, with the exception that the items in the resulting list are Chars
|
245
|
-
# instances instead of String. This makes chaining methods easier.
|
246
|
-
#
|
247
|
-
# Example:
|
248
|
-
# 'Café périferôl'.mb_chars.split(/é/).map { |part| part.upcase.to_s } # => ["CAF", " P", "RIFERÔL"]
|
249
|
-
def split(*args)
|
250
|
-
@wrapped_string.split(*args).map { |i| i.mb_chars }
|
251
|
-
end
|
252
|
-
|
253
|
-
# Like <tt>String#[]=</tt>, except instead of byte offsets you specify character offsets.
|
254
|
-
#
|
255
|
-
# Example:
|
256
|
-
#
|
257
|
-
# s = "Müller"
|
258
|
-
# s.mb_chars[2] = "e" # Replace character with offset 2
|
259
|
-
# s
|
260
|
-
# # => "Müeler"
|
261
|
-
#
|
262
|
-
# s = "Müller"
|
263
|
-
# s.mb_chars[1, 2] = "ö" # Replace 2 characters at character offset 1
|
264
|
-
# s
|
265
|
-
# # => "Möler"
|
266
|
-
def []=(*args)
|
267
|
-
replace_by = args.pop
|
268
|
-
# Indexed replace with regular expressions already works
|
269
|
-
if args.first.is_a?(Regexp)
|
270
|
-
@wrapped_string[*args] = replace_by
|
271
|
-
else
|
272
|
-
result = Unicode.u_unpack(@wrapped_string)
|
273
|
-
if args[0].is_a?(Fixnum)
|
274
|
-
raise IndexError, "index #{args[0]} out of string" if args[0] >= result.length
|
275
|
-
min = args[0]
|
276
|
-
max = args[1].nil? ? min : (min + args[1] - 1)
|
277
|
-
range = Range.new(min, max)
|
278
|
-
replace_by = [replace_by].pack('U') if replace_by.is_a?(Fixnum)
|
279
|
-
elsif args.first.is_a?(Range)
|
280
|
-
raise RangeError, "#{args[0]} out of range" if args[0].min >= result.length
|
281
|
-
range = args[0]
|
282
|
-
else
|
283
|
-
needle = args[0].to_s
|
284
|
-
min = index(needle)
|
285
|
-
max = min + Unicode.u_unpack(needle).length - 1
|
286
|
-
range = Range.new(min, max)
|
287
|
-
end
|
288
|
-
result[range] = Unicode.u_unpack(replace_by)
|
289
|
-
@wrapped_string.replace(result.pack('U*'))
|
290
|
-
end
|
291
|
-
end
|
292
|
-
|
293
|
-
# Reverses all characters in the string.
|
294
|
-
#
|
295
|
-
# Example:
|
296
|
-
# 'Café'.mb_chars.reverse.to_s # => 'éfaC'
|
297
|
-
def reverse
|
298
|
-
chars(Unicode.g_unpack(@wrapped_string).reverse.flatten.pack('U*'))
|
299
|
-
end
|
300
|
-
|
301
|
-
# Implements Unicode-aware slice with codepoints. Slicing on one point returns the codepoints for that
|
302
|
-
# character.
|
303
|
-
#
|
304
|
-
# Example:
|
305
|
-
# 'こんにちは'.mb_chars.slice(2..3).to_s # => "にち"
|
306
|
-
def slice(*args)
|
307
|
-
if args.size > 2
|
308
|
-
raise ArgumentError, "wrong number of arguments (#{args.size} for 1)" # Do as if we were native
|
309
|
-
elsif (args.size == 2 && !(args.first.is_a?(Numeric) || args.first.is_a?(Regexp)))
|
310
|
-
raise TypeError, "cannot convert #{args.first.class} into Integer" # Do as if we were native
|
311
|
-
elsif (args.size == 2 && !args[1].is_a?(Numeric))
|
312
|
-
raise TypeError, "cannot convert #{args[1].class} into Integer" # Do as if we were native
|
313
|
-
elsif args[0].kind_of? Range
|
314
|
-
cps = Unicode.u_unpack(@wrapped_string).slice(*args)
|
315
|
-
result = cps.nil? ? nil : cps.pack('U*')
|
316
|
-
elsif args[0].kind_of? Regexp
|
317
|
-
result = @wrapped_string.slice(*args)
|
318
|
-
elsif args.size == 1 && args[0].kind_of?(Numeric)
|
319
|
-
character = Unicode.u_unpack(@wrapped_string)[args[0]]
|
320
|
-
result = character && [character].pack('U')
|
321
|
-
else
|
322
|
-
cps = Unicode.u_unpack(@wrapped_string).slice(*args)
|
323
|
-
result = cps && cps.pack('U*')
|
324
|
-
end
|
325
|
-
result && chars(result)
|
326
|
-
end
|
327
|
-
alias_method :[], :slice
|
328
|
-
|
329
|
-
# Limit the byte size of the string to a number of bytes without breaking characters. Usable
|
330
|
-
# when the storage for a string is limited for some reason.
|
331
|
-
#
|
332
|
-
# Example:
|
333
|
-
# s = 'こんにちは'
|
334
|
-
# s.mb_chars.limit(7) # => "こに"
|
335
|
-
def limit(limit)
|
336
|
-
slice(0...translate_offset(limit))
|
337
|
-
end
|
338
|
-
|
339
|
-
# Convert characters in the string to uppercase.
|
340
|
-
#
|
341
|
-
# Example:
|
342
|
-
# 'Laurent, où sont les tests ?'.mb_chars.upcase.to_s # => "LAURENT, OÙ SONT LES TESTS ?"
|
343
|
-
def upcase
|
344
|
-
chars(Unicode.apply_mapping @wrapped_string, :uppercase_mapping)
|
345
|
-
end
|
346
|
-
|
347
|
-
# Convert characters in the string to lowercase.
|
348
|
-
#
|
349
|
-
# Example:
|
350
|
-
# 'VĚDA A VÝZKUM'.mb_chars.downcase.to_s # => "věda a výzkum"
|
351
|
-
def downcase
|
352
|
-
chars(Unicode.apply_mapping @wrapped_string, :lowercase_mapping)
|
353
|
-
end
|
354
|
-
|
355
|
-
# Converts the first character to uppercase and the remainder to lowercase.
|
356
|
-
#
|
357
|
-
# Example:
|
358
|
-
# 'über'.mb_chars.capitalize.to_s # => "Über"
|
359
|
-
def capitalize
|
360
|
-
(slice(0) || chars('')).upcase + (slice(1..-1) || chars('')).downcase
|
361
|
-
end
|
362
|
-
|
363
|
-
# Capitalizes the first letter of every word, when possible.
|
364
|
-
#
|
365
|
-
# Example:
|
366
|
-
# "ÉL QUE SE ENTERÓ".mb_chars.titleize # => "Él Que Se Enteró"
|
367
|
-
# "日本語".mb_chars.titleize # => "日本語"
|
368
|
-
def titleize
|
369
|
-
chars(downcase.to_s.gsub(/\b('?[\S])/u) { Unicode.apply_mapping $1, :uppercase_mapping })
|
370
|
-
end
|
371
|
-
alias_method :titlecase, :titleize
|
372
|
-
|
373
|
-
# Returns the KC normalization of the string by default. NFKC is considered the best normalization form for
|
374
|
-
# passing strings to databases and validations.
|
375
|
-
#
|
376
|
-
# * <tt>form</tt> - The form you want to normalize in. Should be one of the following:
|
377
|
-
# <tt>:c</tt>, <tt>:kc</tt>, <tt>:d</tt>, or <tt>:kd</tt>. Default is
|
378
|
-
# ActiveSupport::Multibyte::Unicode.default_normalization_form
|
379
|
-
def normalize(form = nil)
|
380
|
-
chars(Unicode.normalize(@wrapped_string, form))
|
381
|
-
end
|
382
|
-
|
383
|
-
# Performs canonical decomposition on all the characters.
|
384
|
-
#
|
385
|
-
# Example:
|
386
|
-
# 'é'.length # => 2
|
387
|
-
# 'é'.mb_chars.decompose.to_s.length # => 3
|
388
|
-
def decompose
|
389
|
-
chars(Unicode.decompose_codepoints(:canonical, Unicode.u_unpack(@wrapped_string)).pack('U*'))
|
390
|
-
end
|
391
|
-
|
392
|
-
# Performs composition on all the characters.
|
393
|
-
#
|
394
|
-
# Example:
|
395
|
-
# 'é'.length # => 3
|
396
|
-
# 'é'.mb_chars.compose.to_s.length # => 2
|
397
|
-
def compose
|
398
|
-
chars(Unicode.compose_codepoints(Unicode.u_unpack(@wrapped_string)).pack('U*'))
|
399
|
-
end
|
400
|
-
|
401
|
-
# Returns the number of grapheme clusters in the string.
|
402
|
-
#
|
403
|
-
# Example:
|
404
|
-
# 'क्षि'.mb_chars.length # => 4
|
405
|
-
# 'क्षि'.mb_chars.g_length # => 3
|
406
|
-
def g_length
|
407
|
-
Unicode.g_unpack(@wrapped_string).length
|
408
|
-
end
|
409
|
-
|
410
|
-
# Replaces all ISO-8859-1 or CP1252 characters by their UTF-8 equivalent resulting in a valid UTF-8 string.
|
411
|
-
#
|
412
|
-
# Passing +true+ will forcibly tidy all bytes, assuming that the string's encoding is entirely CP1252 or ISO-8859-1.
|
413
|
-
def tidy_bytes(force = false)
|
414
|
-
chars(Unicode.tidy_bytes(@wrapped_string, force))
|
415
|
-
end
|
416
|
-
|
417
|
-
%w(capitalize downcase lstrip reverse rstrip slice strip tidy_bytes upcase).each do |method|
|
418
|
-
# Only define a corresponding bang method for methods defined in the proxy; On 1.9 the proxy will
|
419
|
-
# exclude lstrip!, rstrip! and strip! because they are already work as expected on multibyte strings.
|
420
|
-
if public_method_defined?(method)
|
421
|
-
define_method("#{method}!") do |*args|
|
422
|
-
@wrapped_string = send(args.nil? ? method : method, *args).to_s
|
423
|
-
self
|
424
|
-
end
|
425
|
-
end
|
426
|
-
end
|
427
|
-
|
428
|
-
protected
|
429
|
-
|
430
|
-
def translate_offset(byte_offset) #:nodoc:
|
431
|
-
return nil if byte_offset.nil?
|
432
|
-
return 0 if @wrapped_string == ''
|
433
|
-
|
434
|
-
if @wrapped_string.respond_to?(:force_encoding)
|
435
|
-
@wrapped_string = @wrapped_string.dup.force_encoding(Encoding::ASCII_8BIT)
|
436
|
-
end
|
437
|
-
|
438
|
-
begin
|
439
|
-
@wrapped_string[0...byte_offset].unpack('U*').length
|
440
|
-
rescue ArgumentError => e
|
441
|
-
byte_offset -= 1
|
442
|
-
retry
|
443
|
-
end
|
444
|
-
end
|
445
|
-
|
446
|
-
def justify(integer, way, padstr=' ') #:nodoc:
|
447
|
-
raise ArgumentError, "zero width padding" if padstr.length == 0
|
448
|
-
padsize = integer - size
|
449
|
-
padsize = padsize > 0 ? padsize : 0
|
450
|
-
case way
|
451
|
-
when :right
|
452
|
-
result = @wrapped_string.dup.insert(0, padding(padsize, padstr))
|
453
|
-
when :left
|
454
|
-
result = @wrapped_string.dup.insert(-1, padding(padsize, padstr))
|
455
|
-
when :center
|
456
|
-
lpad = padding((padsize / 2.0).floor, padstr)
|
457
|
-
rpad = padding((padsize / 2.0).ceil, padstr)
|
458
|
-
result = @wrapped_string.dup.insert(0, lpad).insert(-1, rpad)
|
459
|
-
end
|
460
|
-
chars(result)
|
461
|
-
end
|
462
|
-
|
463
|
-
def padding(padsize, padstr=' ') #:nodoc:
|
464
|
-
if padsize != 0
|
465
|
-
chars(padstr * ((padsize / Unicode.u_unpack(padstr).size) + 1)).slice(0, padsize)
|
466
|
-
else
|
467
|
-
''
|
468
|
-
end
|
469
|
-
end
|
470
|
-
|
471
|
-
def chars(string) #:nodoc:
|
472
|
-
self.class.new(string)
|
473
|
-
end
|
474
|
-
end
|
475
|
-
end
|
476
|
-
end
|