whos_dated_who 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +22 -0
- data/.rspec +3 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +89 -0
- data/Rakefile +2 -0
- data/bin/whos_dated_who +6 -0
- data/lib/whos_dated_who/bing_client.rb +15 -0
- data/lib/whos_dated_who/biography.rb +48 -0
- data/lib/whos_dated_who/cli.rb +18 -0
- data/lib/whos_dated_who/client.rb +17 -0
- data/lib/whos_dated_who/parser.rb +60 -0
- data/lib/whos_dated_who/version.rb +3 -0
- data/lib/whos_dated_who.rb +11 -0
- data/spec/fixtures/scarlett-johansson.resp +3361 -0
- data/spec/spec_helper.rb +25 -0
- data/spec/whos_dated_who/client_spec.rb +7 -0
- data/spec/whos_dated_who/parser_spec.rb +53 -0
- data/vendor/bundle/bin/coderay +23 -0
- data/vendor/bundle/bin/htmldiff +25 -0
- data/vendor/bundle/bin/kill-pry-rescue +23 -0
- data/vendor/bundle/bin/ldiff +25 -0
- data/vendor/bundle/bin/nokogiri +23 -0
- data/vendor/bundle/bin/pry +23 -0
- data/vendor/bundle/bin/rake +23 -0
- data/vendor/bundle/bin/rescue +23 -0
- data/vendor/bundle/bin/rspec +23 -0
- data/vendor/bundle/bin/safe_yaml +23 -0
- data/vendor/bundle/bin/thor +23 -0
- data/vendor/bundle/build_info/activesupport-4.1.1.info +1 -0
- data/vendor/bundle/build_info/addressable-2.3.6.info +1 -0
- data/vendor/bundle/build_info/coderay-1.1.0.info +1 -0
- data/vendor/bundle/build_info/crack-0.4.2.info +1 -0
- data/vendor/bundle/build_info/diff-lcs-1.2.5.info +1 -0
- data/vendor/bundle/build_info/faraday-0.9.0.info +1 -0
- data/vendor/bundle/build_info/hashie-3.0.0.info +1 -0
- data/vendor/bundle/build_info/i18n-0.6.9.info +1 -0
- data/vendor/bundle/build_info/interception-0.5.info +1 -0
- data/vendor/bundle/build_info/method_source-0.8.2.info +1 -0
- data/vendor/bundle/build_info/mini_portile-0.6.0.info +1 -0
- data/vendor/bundle/build_info/minitest-5.3.4.info +1 -0
- data/vendor/bundle/build_info/multipart-post-2.0.0.info +1 -0
- data/vendor/bundle/build_info/nokogiri-1.6.2.1.info +1 -0
- data/vendor/bundle/build_info/pry-0.10.0.info +1 -0
- data/vendor/bundle/build_info/pry-rescue-1.4.1.info +1 -0
- data/vendor/bundle/build_info/rake-10.3.2.info +1 -0
- data/vendor/bundle/build_info/rspec-3.0.0.info +1 -0
- data/vendor/bundle/build_info/rspec-core-3.0.1.info +1 -0
- data/vendor/bundle/build_info/rspec-expectations-3.0.1.info +1 -0
- data/vendor/bundle/build_info/rspec-mocks-3.0.1.info +1 -0
- data/vendor/bundle/build_info/rspec-support-3.0.0.info +1 -0
- data/vendor/bundle/build_info/safe_yaml-1.0.3.info +1 -0
- data/vendor/bundle/build_info/searchbing-0.2.4.info +1 -0
- data/vendor/bundle/build_info/slop-3.5.0.info +1 -0
- data/vendor/bundle/build_info/thor-0.19.1.info +1 -0
- data/vendor/bundle/build_info/thread_safe-0.3.4.info +1 -0
- data/vendor/bundle/build_info/tzinfo-1.2.1.info +1 -0
- data/vendor/bundle/build_info/webmock-1.18.0.info +1 -0
- data/vendor/bundle/extensions/x86_64-darwin-13/2.1.0-static/interception-0.5/gem.build_complete +0 -0
- data/vendor/bundle/extensions/x86_64-darwin-13/2.1.0-static/interception-0.5/gem_make.out +10 -0
- data/vendor/bundle/extensions/x86_64-darwin-13/2.1.0-static/nokogiri-1.6.2.1/gem.build_complete +0 -0
- data/vendor/bundle/extensions/x86_64-darwin-13/2.1.0-static/nokogiri-1.6.2.1/gem_make.out +270 -0
- data/vendor/bundle/gems/activesupport-4.1.1/CHANGELOG.md +635 -0
- data/vendor/bundle/gems/activesupport-4.1.1/MIT-LICENSE +20 -0
- data/vendor/bundle/gems/activesupport-4.1.1/README.rdoc +35 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/all.rb +3 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/backtrace_cleaner.rb +103 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/benchmarkable.rb +49 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/builder.rb +6 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/cache/file_store.rb +185 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/cache/mem_cache_store.rb +198 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/cache/memory_store.rb +172 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/cache/null_store.rb +44 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/cache/strategy/local_cache.rb +159 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/cache/strategy/local_cache_middleware.rb +39 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/cache.rb +719 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/callbacks.rb +745 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/concern.rb +134 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/concurrency/latch.rb +27 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/configurable.rb +147 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/array/access.rb +56 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/array/conversions.rb +209 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/array/extract_options.rb +29 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/array/grouping.rb +111 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/array/prepend_and_append.rb +7 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/array/wrap.rb +45 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/array.rb +6 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/benchmark.rb +14 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/big_decimal/conversions.rb +16 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/big_decimal/yaml_conversions.rb +14 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/big_decimal.rb +1 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/class/attribute.rb +127 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/class/attribute_accessors.rb +4 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/class/delegating_attributes.rb +41 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/class/subclasses.rb +42 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/class.rb +3 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/date/acts_like.rb +8 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/date/calculations.rb +143 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/date/conversions.rb +88 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/date/zones.rb +6 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/date.rb +5 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/date_and_time/calculations.rb +251 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/date_and_time/zones.rb +41 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/date_time/acts_like.rb +14 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/date_time/calculations.rb +161 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/date_time/conversions.rb +103 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/date_time/zones.rb +6 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/date_time.rb +4 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/enumerable.rb +80 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/file/atomic.rb +63 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/file.rb +1 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/hash/compact.rb +20 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/hash/conversions.rb +244 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/hash/deep_merge.rb +27 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/hash/except.rb +15 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/hash/indifferent_access.rb +23 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/hash/keys.rb +140 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/hash/reverse_merge.rb +22 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/hash/slice.rb +42 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/hash.rb +8 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/integer/inflections.rb +29 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/integer/multiple.rb +10 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/integer/time.rb +44 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/integer.rb +3 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/kernel/agnostics.rb +11 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/kernel/debugger.rb +10 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/kernel/reporting.rb +110 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/kernel/singleton_class.rb +6 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/kernel.rb +4 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/load_error.rb +25 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/marshal.rb +21 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/module/aliasing.rb +69 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/module/anonymous.rb +19 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/module/attr_internal.rb +39 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/module/attribute_accessors.rb +212 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/module/concerning.rb +135 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/module/delegation.rb +209 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/module/deprecation.rb +23 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/module/introspection.rb +62 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/module/method_transplanting.rb +11 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/module/qualified_const.rb +52 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/module/reachable.rb +8 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/module/remove_method.rb +12 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/module.rb +11 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/name_error.rb +18 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/numeric/bytes.rb +44 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/numeric/conversions.rb +135 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/numeric/time.rb +87 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/numeric.rb +3 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/object/acts_like.rb +10 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/object/blank.rb +131 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/object/conversions.rb +4 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/object/deep_dup.rb +46 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/object/duplicable.rb +90 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/object/inclusion.rb +27 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/object/instance_variables.rb +28 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/object/json.rb +197 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/object/to_json.rb +5 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/object/to_param.rb +62 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/object/to_query.rb +32 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/object/try.rb +78 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/object/with_options.rb +42 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/object.rb +14 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/range/conversions.rb +19 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/range/each.rb +23 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/range/include_range.rb +23 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/range/overlaps.rb +8 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/range.rb +4 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/regexp.rb +5 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/string/access.rb +104 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/string/behavior.rb +6 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/string/conversions.rb +56 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/string/exclude.rb +11 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/string/filters.rb +65 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/string/indent.rb +43 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/string/inflections.rb +214 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/string/inquiry.rb +13 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/string/multibyte.rb +49 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/string/output_safety.rb +239 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/string/starts_ends_with.rb +4 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/string/strip.rb +26 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/string/zones.rb +14 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/string.rb +13 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/struct.rb +6 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/thread.rb +79 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/time/acts_like.rb +8 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/time/calculations.rb +257 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/time/conversions.rb +65 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/time/marshal.rb +30 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/time/zones.rb +78 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/time.rb +5 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext/uri.rb +26 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/core_ext.rb +3 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/dependencies/autoload.rb +77 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/dependencies.rb +748 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/deprecation/behaviors.rb +76 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/deprecation/instance_delegator.rb +24 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/deprecation/method_wrappers.rb +44 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/deprecation/proxy_wrappers.rb +126 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/deprecation/reporting.rb +94 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/deprecation.rb +43 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/descendants_tracker.rb +60 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/duration.rb +114 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/file_update_checker.rb +137 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/file_watcher.rb +36 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/gem_version.rb +15 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/gzip.rb +36 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/hash_with_indifferent_access.rb +271 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/i18n.rb +13 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/i18n_railtie.rb +96 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/inflections.rb +70 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/inflector/inflections.rb +211 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/inflector/methods.rb +359 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/inflector/transliterate.rb +97 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/inflector.rb +7 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/json/decoding.rb +73 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/json/encoding.rb +172 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/json.rb +2 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/key_generator.rb +73 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/lazy_load_hooks.rb +48 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/locale/en.yml +133 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/log_subscriber/test_helper.rb +104 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/log_subscriber.rb +109 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/logger.rb +57 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/logger_silence.rb +24 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/message_encryptor.rb +106 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/message_verifier.rb +73 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/multibyte/chars.rb +222 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/multibyte/unicode.rb +390 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/multibyte.rb +21 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/notifications/fanout.rb +152 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/notifications/instrumenter.rb +73 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/notifications.rb +207 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/number_helper/number_converter.rb +182 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/number_helper/number_to_currency_converter.rb +46 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/number_helper/number_to_delimited_converter.rb +21 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/number_helper/number_to_human_converter.rb +66 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/number_helper/number_to_human_size_converter.rb +58 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/number_helper/number_to_percentage_converter.rb +12 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/number_helper/number_to_phone_converter.rb +49 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/number_helper/number_to_rounded_converter.rb +91 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/number_helper.rb +346 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/option_merger.rb +25 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/ordered_hash.rb +48 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/ordered_options.rb +67 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/per_thread_registry.rb +53 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/proxy_object.rb +13 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/rails.rb +27 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/railtie.rb +46 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/rescuable.rb +119 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/string_inquirer.rb +26 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/subscriber.rb +116 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/tagged_logging.rb +76 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/test_case.rb +66 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/testing/assertions.rb +97 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/testing/autorun.rb +5 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/testing/constant_lookup.rb +54 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/testing/declarative.rb +50 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/testing/deprecation.rb +35 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/testing/isolation.rb +91 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/testing/setup_and_teardown.rb +50 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/testing/tagged_logging.rb +25 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/testing/time_helpers.rb +127 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/time.rb +20 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/time_with_zone.rb +402 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/values/time_zone.rb +421 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/values/unicode_tables.dat +0 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/version.rb +8 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/xml_mini/jdom.rb +180 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/xml_mini/libxml.rb +79 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/xml_mini/libxmlsax.rb +85 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/xml_mini/nokogiri.rb +83 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/xml_mini/nokogirisax.rb +87 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/xml_mini/rexml.rb +129 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support/xml_mini.rb +191 -0
- data/vendor/bundle/gems/activesupport-4.1.1/lib/active_support.rb +75 -0
- data/vendor/bundle/gems/addressable-2.3.6/CHANGELOG.md +170 -0
- data/vendor/bundle/gems/addressable-2.3.6/Gemfile +28 -0
- data/vendor/bundle/gems/addressable-2.3.6/LICENSE.txt +202 -0
- data/vendor/bundle/gems/addressable-2.3.6/README.md +102 -0
- data/vendor/bundle/gems/addressable-2.3.6/Rakefile +37 -0
- data/vendor/bundle/gems/addressable-2.3.6/data/unicode.data +0 -0
- data/vendor/bundle/gems/addressable-2.3.6/lib/addressable/idna/native.rb +43 -0
- data/vendor/bundle/gems/addressable-2.3.6/lib/addressable/idna/pure.rb +669 -0
- data/vendor/bundle/gems/addressable-2.3.6/lib/addressable/idna.rb +25 -0
- data/vendor/bundle/gems/addressable-2.3.6/lib/addressable/template.rb +938 -0
- data/vendor/bundle/gems/addressable-2.3.6/lib/addressable/uri.rb +2351 -0
- data/vendor/bundle/gems/addressable-2.3.6/lib/addressable/version.rb +30 -0
- data/vendor/bundle/gems/addressable-2.3.6/spec/addressable/idna_spec.rb +238 -0
- data/vendor/bundle/gems/addressable-2.3.6/spec/addressable/net_http_compat_spec.rb +28 -0
- data/vendor/bundle/gems/addressable-2.3.6/spec/addressable/template_spec.rb +1328 -0
- data/vendor/bundle/gems/addressable-2.3.6/spec/addressable/uri_spec.rb +5940 -0
- data/vendor/bundle/gems/addressable-2.3.6/spec/spec_helper.rb +6 -0
- data/vendor/bundle/gems/addressable-2.3.6/tasks/clobber.rake +2 -0
- data/vendor/bundle/gems/addressable-2.3.6/tasks/gem.rake +86 -0
- data/vendor/bundle/gems/addressable-2.3.6/tasks/git.rake +45 -0
- data/vendor/bundle/gems/addressable-2.3.6/tasks/metrics.rake +22 -0
- data/vendor/bundle/gems/addressable-2.3.6/tasks/rspec.rake +58 -0
- data/vendor/bundle/gems/addressable-2.3.6/tasks/rubyforge.rake +73 -0
- data/vendor/bundle/gems/addressable-2.3.6/tasks/yard.rake +27 -0
- data/vendor/bundle/gems/addressable-2.3.6/website/index.html +110 -0
- data/vendor/bundle/gems/coderay-1.1.0/README_INDEX.rdoc +123 -0
- data/vendor/bundle/gems/coderay-1.1.0/Rakefile +37 -0
- data/vendor/bundle/gems/coderay-1.1.0/bin/coderay +215 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/duo.rb +81 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/encoder.rb +201 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/encoders/_map.rb +17 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/encoders/comment_filter.rb +25 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/encoders/count.rb +39 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/encoders/debug.rb +49 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/encoders/debug_lint.rb +63 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/encoders/div.rb +23 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/encoders/filter.rb +58 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/encoders/html/css.rb +65 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/encoders/html/numbering.rb +108 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/encoders/html/output.rb +166 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/encoders/html.rb +332 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/encoders/json.rb +83 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/encoders/lines_of_code.rb +45 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/encoders/lint.rb +59 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/encoders/null.rb +18 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/encoders/page.rb +24 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/encoders/span.rb +23 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/encoders/statistic.rb +95 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/encoders/terminal.rb +195 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/encoders/text.rb +46 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/encoders/token_kind_filter.rb +111 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/encoders/xml.rb +72 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/encoders/yaml.rb +50 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/for_redcloth.rb +95 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/helpers/file_type.rb +151 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/helpers/plugin.rb +274 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/helpers/word_list.rb +72 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/scanner.rb +355 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/scanners/_map.rb +24 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/scanners/c.rb +189 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/scanners/clojure.rb +217 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/scanners/cpp.rb +215 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/scanners/css.rb +196 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/scanners/debug.rb +75 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/scanners/delphi.rb +144 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/scanners/diff.rb +221 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/scanners/erb.rb +81 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/scanners/go.rb +208 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/scanners/groovy.rb +268 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/scanners/haml.rb +168 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/scanners/html.rb +275 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/scanners/java/builtin_types.rb +421 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/scanners/java.rb +174 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/scanners/java_script.rb +237 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/scanners/json.rb +98 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/scanners/lua.rb +280 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/scanners/php.rb +527 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/scanners/python.rb +287 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/scanners/raydebug.rb +75 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/scanners/ruby/patterns.rb +178 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/scanners/ruby/string_state.rb +71 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/scanners/ruby.rb +470 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/scanners/sass.rb +232 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/scanners/sql.rb +177 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/scanners/taskpaper.rb +36 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/scanners/text.rb +26 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/scanners/xml.rb +17 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/scanners/yaml.rb +140 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/style.rb +23 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/styles/_map.rb +7 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/styles/alpha.rb +152 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/token_kinds.rb +85 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/tokens.rb +161 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/tokens_proxy.rb +55 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay/version.rb +3 -0
- data/vendor/bundle/gems/coderay-1.1.0/lib/coderay.rb +284 -0
- data/vendor/bundle/gems/coderay-1.1.0/test/functional/basic.rb +318 -0
- data/vendor/bundle/gems/coderay-1.1.0/test/functional/examples.rb +129 -0
- data/vendor/bundle/gems/coderay-1.1.0/test/functional/for_redcloth.rb +78 -0
- data/vendor/bundle/gems/coderay-1.1.0/test/functional/suite.rb +15 -0
- data/vendor/bundle/gems/crack-0.4.2/.gitignore +8 -0
- data/vendor/bundle/gems/crack-0.4.2/Gemfile +6 -0
- data/vendor/bundle/gems/crack-0.4.2/History +25 -0
- data/vendor/bundle/gems/crack-0.4.2/LICENSE +20 -0
- data/vendor/bundle/gems/crack-0.4.2/README.md +44 -0
- data/vendor/bundle/gems/crack-0.4.2/crack.gemspec +20 -0
- data/vendor/bundle/gems/crack-0.4.2/lib/crack/json.rb +107 -0
- data/vendor/bundle/gems/crack-0.4.2/lib/crack/util.rb +17 -0
- data/vendor/bundle/gems/crack-0.4.2/lib/crack/version.rb +3 -0
- data/vendor/bundle/gems/crack-0.4.2/lib/crack/xml.rb +238 -0
- data/vendor/bundle/gems/crack-0.4.2/lib/crack.rb +7 -0
- data/vendor/bundle/gems/crack-0.4.2/script/bootstrap +21 -0
- data/vendor/bundle/gems/crack-0.4.2/script/release +42 -0
- data/vendor/bundle/gems/crack-0.4.2/script/test +25 -0
- data/vendor/bundle/gems/crack-0.4.2/test/data/twittersearch-firefox.json +1 -0
- data/vendor/bundle/gems/crack-0.4.2/test/data/twittersearch-ie.json +1 -0
- data/vendor/bundle/gems/crack-0.4.2/test/hash_test.rb +26 -0
- data/vendor/bundle/gems/crack-0.4.2/test/json_test.rb +80 -0
- data/vendor/bundle/gems/crack-0.4.2/test/parser_test.rb +27 -0
- data/vendor/bundle/gems/crack-0.4.2/test/string_test.rb +31 -0
- data/vendor/bundle/gems/crack-0.4.2/test/test_helper.rb +3 -0
- data/vendor/bundle/gems/crack-0.4.2/test/xml_test.rb +514 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/.autotest +3 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/.gemtest +0 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/.hoerc +2 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/.rspec +2 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/.travis.yml +22 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/Contributing.rdoc +64 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/Gemfile +20 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/History.rdoc +152 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/License.rdoc +39 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/Manifest.txt +38 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/README.rdoc +85 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/Rakefile +41 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/autotest/discover.rb +1 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/bin/htmldiff +32 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/bin/ldiff +6 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/docs/COPYING.txt +339 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/docs/artistic.txt +127 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/lib/diff/lcs/array.rb +7 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/lib/diff/lcs/block.rb +37 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/lib/diff/lcs/callbacks.rb +322 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/lib/diff/lcs/change.rb +177 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/lib/diff/lcs/htmldiff.rb +149 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/lib/diff/lcs/hunk.rb +276 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/lib/diff/lcs/internals.rb +301 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/lib/diff/lcs/ldiff.rb +195 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/lib/diff/lcs/string.rb +5 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/lib/diff/lcs.rb +805 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/lib/diff-lcs.rb +3 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/spec/change_spec.rb +65 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/spec/diff_spec.rb +47 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/spec/hunk_spec.rb +72 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/spec/issues_spec.rb +24 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/spec/lcs_spec.rb +54 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/spec/patch_spec.rb +414 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/spec/sdiff_spec.rb +214 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/spec/spec_helper.rb +290 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/spec/traverse_balanced_spec.rb +310 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/spec/traverse_sequences_spec.rb +139 -0
- data/vendor/bundle/gems/faraday-0.9.0/.document +6 -0
- data/vendor/bundle/gems/faraday-0.9.0/CHANGELOG.md +15 -0
- data/vendor/bundle/gems/faraday-0.9.0/CONTRIBUTING.md +36 -0
- data/vendor/bundle/gems/faraday-0.9.0/Gemfile +29 -0
- data/vendor/bundle/gems/faraday-0.9.0/LICENSE.md +20 -0
- data/vendor/bundle/gems/faraday-0.9.0/README.md +216 -0
- data/vendor/bundle/gems/faraday-0.9.0/Rakefile +71 -0
- data/vendor/bundle/gems/faraday-0.9.0/faraday.gemspec +34 -0
- data/vendor/bundle/gems/faraday-0.9.0/lib/faraday/adapter/em_http.rb +237 -0
- data/vendor/bundle/gems/faraday-0.9.0/lib/faraday/adapter/em_http_ssl_patch.rb +56 -0
- data/vendor/bundle/gems/faraday-0.9.0/lib/faraday/adapter/em_synchrony/parallel_manager.rb +66 -0
- data/vendor/bundle/gems/faraday-0.9.0/lib/faraday/adapter/em_synchrony.rb +92 -0
- data/vendor/bundle/gems/faraday-0.9.0/lib/faraday/adapter/excon.rb +80 -0
- data/vendor/bundle/gems/faraday-0.9.0/lib/faraday/adapter/httpclient.rb +106 -0
- data/vendor/bundle/gems/faraday-0.9.0/lib/faraday/adapter/net_http.rb +124 -0
- data/vendor/bundle/gems/faraday-0.9.0/lib/faraday/adapter/net_http_persistent.rb +47 -0
- data/vendor/bundle/gems/faraday-0.9.0/lib/faraday/adapter/patron.rb +68 -0
- data/vendor/bundle/gems/faraday-0.9.0/lib/faraday/adapter/rack.rb +58 -0
- data/vendor/bundle/gems/faraday-0.9.0/lib/faraday/adapter/test.rb +162 -0
- data/vendor/bundle/gems/faraday-0.9.0/lib/faraday/adapter/typhoeus.rb +123 -0
- data/vendor/bundle/gems/faraday-0.9.0/lib/faraday/adapter.rb +46 -0
- data/vendor/bundle/gems/faraday-0.9.0/lib/faraday/autoload.rb +85 -0
- data/vendor/bundle/gems/faraday-0.9.0/lib/faraday/connection.rb +432 -0
- data/vendor/bundle/gems/faraday-0.9.0/lib/faraday/error.rb +53 -0
- data/vendor/bundle/gems/faraday-0.9.0/lib/faraday/middleware.rb +37 -0
- data/vendor/bundle/gems/faraday-0.9.0/lib/faraday/options.rb +350 -0
- data/vendor/bundle/gems/faraday-0.9.0/lib/faraday/parameters.rb +193 -0
- data/vendor/bundle/gems/faraday-0.9.0/lib/faraday/rack_builder.rb +212 -0
- data/vendor/bundle/gems/faraday-0.9.0/lib/faraday/request/authorization.rb +42 -0
- data/vendor/bundle/gems/faraday-0.9.0/lib/faraday/request/basic_authentication.rb +13 -0
- data/vendor/bundle/gems/faraday-0.9.0/lib/faraday/request/instrumentation.rb +36 -0
- data/vendor/bundle/gems/faraday-0.9.0/lib/faraday/request/multipart.rb +63 -0
- data/vendor/bundle/gems/faraday-0.9.0/lib/faraday/request/retry.rb +118 -0
- data/vendor/bundle/gems/faraday-0.9.0/lib/faraday/request/token_authentication.rb +15 -0
- data/vendor/bundle/gems/faraday-0.9.0/lib/faraday/request/url_encoded.rb +36 -0
- data/vendor/bundle/gems/faraday-0.9.0/lib/faraday/request.rb +92 -0
- data/vendor/bundle/gems/faraday-0.9.0/lib/faraday/response/logger.rb +34 -0
- data/vendor/bundle/gems/faraday-0.9.0/lib/faraday/response/raise_error.rb +21 -0
- data/vendor/bundle/gems/faraday-0.9.0/lib/faraday/response.rb +93 -0
- data/vendor/bundle/gems/faraday-0.9.0/lib/faraday/upload_io.rb +67 -0
- data/vendor/bundle/gems/faraday-0.9.0/lib/faraday/utils.rb +297 -0
- data/vendor/bundle/gems/faraday-0.9.0/lib/faraday.rb +268 -0
- data/vendor/bundle/gems/faraday-0.9.0/script/console +7 -0
- data/vendor/bundle/gems/faraday-0.9.0/script/generate_certs +42 -0
- data/vendor/bundle/gems/faraday-0.9.0/script/package +7 -0
- data/vendor/bundle/gems/faraday-0.9.0/script/proxy-server +42 -0
- data/vendor/bundle/gems/faraday-0.9.0/script/release +17 -0
- data/vendor/bundle/gems/faraday-0.9.0/script/server +36 -0
- data/vendor/bundle/gems/faraday-0.9.0/script/test +172 -0
- data/vendor/bundle/gems/faraday-0.9.0/test/adapters/default_test.rb +14 -0
- data/vendor/bundle/gems/faraday-0.9.0/test/adapters/em_http_test.rb +20 -0
- data/vendor/bundle/gems/faraday-0.9.0/test/adapters/em_synchrony_test.rb +20 -0
- data/vendor/bundle/gems/faraday-0.9.0/test/adapters/excon_test.rb +20 -0
- data/vendor/bundle/gems/faraday-0.9.0/test/adapters/httpclient_test.rb +21 -0
- data/vendor/bundle/gems/faraday-0.9.0/test/adapters/integration.rb +254 -0
- data/vendor/bundle/gems/faraday-0.9.0/test/adapters/logger_test.rb +37 -0
- data/vendor/bundle/gems/faraday-0.9.0/test/adapters/net_http_persistent_test.rb +20 -0
- data/vendor/bundle/gems/faraday-0.9.0/test/adapters/net_http_test.rb +14 -0
- data/vendor/bundle/gems/faraday-0.9.0/test/adapters/patron_test.rb +20 -0
- data/vendor/bundle/gems/faraday-0.9.0/test/adapters/rack_test.rb +31 -0
- data/vendor/bundle/gems/faraday-0.9.0/test/adapters/test_middleware_test.rb +114 -0
- data/vendor/bundle/gems/faraday-0.9.0/test/adapters/typhoeus_test.rb +28 -0
- data/vendor/bundle/gems/faraday-0.9.0/test/authentication_middleware_test.rb +65 -0
- data/vendor/bundle/gems/faraday-0.9.0/test/composite_read_io_test.rb +111 -0
- data/vendor/bundle/gems/faraday-0.9.0/test/connection_test.rb +522 -0
- data/vendor/bundle/gems/faraday-0.9.0/test/env_test.rb +210 -0
- data/vendor/bundle/gems/faraday-0.9.0/test/helper.rb +81 -0
- data/vendor/bundle/gems/faraday-0.9.0/test/live_server.rb +67 -0
- data/vendor/bundle/gems/faraday-0.9.0/test/middleware/instrumentation_test.rb +88 -0
- data/vendor/bundle/gems/faraday-0.9.0/test/middleware/retry_test.rb +109 -0
- data/vendor/bundle/gems/faraday-0.9.0/test/middleware_stack_test.rb +173 -0
- data/vendor/bundle/gems/faraday-0.9.0/test/multibyte.txt +1 -0
- data/vendor/bundle/gems/faraday-0.9.0/test/options_test.rb +252 -0
- data/vendor/bundle/gems/faraday-0.9.0/test/request_middleware_test.rb +142 -0
- data/vendor/bundle/gems/faraday-0.9.0/test/response_middleware_test.rb +72 -0
- data/vendor/bundle/gems/faraday-0.9.0/test/strawberry.rb +2 -0
- data/vendor/bundle/gems/faraday-0.9.0/test/utils_test.rb +58 -0
- data/vendor/bundle/gems/hashie-3.0.0/.gitignore +9 -0
- data/vendor/bundle/gems/hashie-3.0.0/.rspec +2 -0
- data/vendor/bundle/gems/hashie-3.0.0/.rubocop.yml +36 -0
- data/vendor/bundle/gems/hashie-3.0.0/.travis.yml +16 -0
- data/vendor/bundle/gems/hashie-3.0.0/.yardopts +1 -0
- data/vendor/bundle/gems/hashie-3.0.0/CHANGELOG.md +74 -0
- data/vendor/bundle/gems/hashie-3.0.0/CONTRIBUTING.md +118 -0
- data/vendor/bundle/gems/hashie-3.0.0/Gemfile +11 -0
- data/vendor/bundle/gems/hashie-3.0.0/Guardfile +5 -0
- data/vendor/bundle/gems/hashie-3.0.0/LICENSE +20 -0
- data/vendor/bundle/gems/hashie-3.0.0/README.md +340 -0
- data/vendor/bundle/gems/hashie-3.0.0/Rakefile +15 -0
- data/vendor/bundle/gems/hashie-3.0.0/UPGRADING.md +93 -0
- data/vendor/bundle/gems/hashie-3.0.0/hashie.gemspec +20 -0
- data/vendor/bundle/gems/hashie-3.0.0/lib/hashie/clash.rb +86 -0
- data/vendor/bundle/gems/hashie-3.0.0/lib/hashie/dash.rb +177 -0
- data/vendor/bundle/gems/hashie-3.0.0/lib/hashie/extensions/coercion.rb +119 -0
- data/vendor/bundle/gems/hashie-3.0.0/lib/hashie/extensions/dash/indifferent_access.rb +21 -0
- data/vendor/bundle/gems/hashie-3.0.0/lib/hashie/extensions/deep_fetch.rb +29 -0
- data/vendor/bundle/gems/hashie-3.0.0/lib/hashie/extensions/deep_merge.rb +30 -0
- data/vendor/bundle/gems/hashie-3.0.0/lib/hashie/extensions/ignore_undeclared.rb +45 -0
- data/vendor/bundle/gems/hashie-3.0.0/lib/hashie/extensions/indifferent_access.rb +147 -0
- data/vendor/bundle/gems/hashie-3.0.0/lib/hashie/extensions/key_conversion.rb +10 -0
- data/vendor/bundle/gems/hashie-3.0.0/lib/hashie/extensions/merge_initializer.rb +26 -0
- data/vendor/bundle/gems/hashie-3.0.0/lib/hashie/extensions/method_access.rb +124 -0
- data/vendor/bundle/gems/hashie-3.0.0/lib/hashie/extensions/pretty_inspect.rb +19 -0
- data/vendor/bundle/gems/hashie-3.0.0/lib/hashie/extensions/stringify_keys.rb +44 -0
- data/vendor/bundle/gems/hashie-3.0.0/lib/hashie/extensions/symbolize_keys.rb +44 -0
- data/vendor/bundle/gems/hashie-3.0.0/lib/hashie/hash.rb +55 -0
- data/vendor/bundle/gems/hashie-3.0.0/lib/hashie/mash.rb +251 -0
- data/vendor/bundle/gems/hashie-3.0.0/lib/hashie/rash.rb +119 -0
- data/vendor/bundle/gems/hashie-3.0.0/lib/hashie/trash.rb +99 -0
- data/vendor/bundle/gems/hashie-3.0.0/lib/hashie/version.rb +3 -0
- data/vendor/bundle/gems/hashie-3.0.0/lib/hashie.rb +33 -0
- data/vendor/bundle/gems/hashie-3.0.0/spec/hashie/clash_spec.rb +48 -0
- data/vendor/bundle/gems/hashie-3.0.0/spec/hashie/dash_spec.rb +383 -0
- data/vendor/bundle/gems/hashie-3.0.0/spec/hashie/extensions/coercion_spec.rb +156 -0
- data/vendor/bundle/gems/hashie-3.0.0/spec/hashie/extensions/dash/indifferent_access_spec.rb +58 -0
- data/vendor/bundle/gems/hashie-3.0.0/spec/hashie/extensions/deep_fetch_spec.rb +97 -0
- data/vendor/bundle/gems/hashie-3.0.0/spec/hashie/extensions/deep_merge_spec.rb +22 -0
- data/vendor/bundle/gems/hashie-3.0.0/spec/hashie/extensions/ignore_undeclared_spec.rb +46 -0
- data/vendor/bundle/gems/hashie-3.0.0/spec/hashie/extensions/indifferent_access_spec.rb +152 -0
- data/vendor/bundle/gems/hashie-3.0.0/spec/hashie/extensions/key_conversion_spec.rb +103 -0
- data/vendor/bundle/gems/hashie-3.0.0/spec/hashie/extensions/merge_initializer_spec.rb +23 -0
- data/vendor/bundle/gems/hashie-3.0.0/spec/hashie/extensions/method_access_spec.rb +121 -0
- data/vendor/bundle/gems/hashie-3.0.0/spec/hashie/hash_spec.rb +58 -0
- data/vendor/bundle/gems/hashie-3.0.0/spec/hashie/mash_spec.rb +479 -0
- data/vendor/bundle/gems/hashie-3.0.0/spec/hashie/rash_spec.rb +44 -0
- data/vendor/bundle/gems/hashie-3.0.0/spec/hashie/trash_spec.rb +196 -0
- data/vendor/bundle/gems/hashie-3.0.0/spec/hashie/version_spec.rb +7 -0
- data/vendor/bundle/gems/hashie-3.0.0/spec/spec_helper.rb +7 -0
- data/vendor/bundle/gems/i18n-0.6.9/MIT-LICENSE +20 -0
- data/vendor/bundle/gems/i18n-0.6.9/README.textile +105 -0
- data/vendor/bundle/gems/i18n-0.6.9/ci/Gemfile.no-rails +5 -0
- data/vendor/bundle/gems/i18n-0.6.9/ci/Gemfile.no-rails.lock +14 -0
- data/vendor/bundle/gems/i18n-0.6.9/ci/Gemfile.rails-2.3.x +9 -0
- data/vendor/bundle/gems/i18n-0.6.9/ci/Gemfile.rails-2.3.x.lock +23 -0
- data/vendor/bundle/gems/i18n-0.6.9/ci/Gemfile.rails-3.x +9 -0
- data/vendor/bundle/gems/i18n-0.6.9/ci/Gemfile.rails-3.x.lock +23 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/backend/base.rb +190 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/backend/cache.rb +96 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/backend/cascade.rb +54 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/backend/chain.rb +83 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/backend/fallbacks.rb +65 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/backend/flatten.rb +113 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/backend/gettext.rb +72 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/backend/interpolation_compiler.rb +121 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/backend/key_value.rb +101 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/backend/memoize.rb +46 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/backend/metadata.rb +65 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/backend/pluralization.rb +53 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/backend/simple.rb +87 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/backend/transliterator.rb +99 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/backend.rb +18 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/config.rb +121 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/core_ext/hash.rb +29 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/core_ext/kernel/surpress_warnings.rb +9 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/core_ext/string/interpolate.rb +105 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/exceptions.rb +128 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/gettext/helpers.rb +64 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/gettext/po_parser.rb +329 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/gettext.rb +25 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/interpolate/ruby.rb +37 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/locale/fallbacks.rb +96 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/locale/tag/parents.rb +22 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/locale/tag/rfc4646.rb +74 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/locale/tag/simple.rb +39 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/locale/tag.rb +28 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/locale.rb +6 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/tests/basics.rb +59 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/tests/defaults.rb +40 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/tests/interpolation.rb +133 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/tests/link.rb +56 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/tests/localization/date.rb +91 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/tests/localization/date_time.rb +82 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/tests/localization/procs.rb +116 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/tests/localization/time.rb +81 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/tests/localization.rb +19 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/tests/lookup.rb +81 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/tests/pluralization.rb +35 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/tests/procs.rb +55 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/tests.rb +12 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n/version.rb +3 -0
- data/vendor/bundle/gems/i18n-0.6.9/lib/i18n.rb +367 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/all.rb +8 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/api/all_features_test.rb +58 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/api/cascade_test.rb +28 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/api/chain_test.rb +24 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/api/fallbacks_test.rb +30 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/api/key_value_test.rb +28 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/api/memoize_test.rb +60 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/api/override_test.rb +48 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/api/pluralization_test.rb +30 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/api/simple_test.rb +28 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/backend/cache_test.rb +85 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/backend/cascade_test.rb +85 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/backend/chain_test.rb +76 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/backend/exceptions_test.rb +35 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/backend/fallbacks_test.rb +125 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/backend/interpolation_compiler_test.rb +119 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/backend/key_value_test.rb +46 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/backend/memoize_test.rb +47 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/backend/metadata_test.rb +47 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/backend/pluralization_test.rb +44 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/backend/simple_test.rb +83 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/backend/transliterator_test.rb +85 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/core_ext/hash_test.rb +30 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/core_ext/string/interpolate_test.rb +99 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/gettext/api_test.rb +206 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/gettext/backend_test.rb +101 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/i18n/exceptions_test.rb +120 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/i18n/interpolate_test.rb +79 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/i18n/load_path_test.rb +33 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/i18n_test.rb +365 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/locale/fallbacks_test.rb +136 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/locale/tag/rfc4646_test.rb +142 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/locale/tag/simple_test.rb +32 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/run_all.rb +21 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/test_data/locales/de.po +82 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/test_data/locales/en.rb +3 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/test_data/locales/en.yml +3 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/test_data/locales/invalid/empty.yml +0 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/test_data/locales/invalid/syntax.yml +4 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/test_data/locales/plurals.rb +113 -0
- data/vendor/bundle/gems/i18n-0.6.9/test/test_helper.rb +56 -0
- data/vendor/bundle/gems/interception-0.5/.gitignore +9 -0
- data/vendor/bundle/gems/interception-0.5/.travis.yml +12 -0
- data/vendor/bundle/gems/interception-0.5/CHANGELOG.md +17 -0
- data/vendor/bundle/gems/interception-0.5/Gemfile +2 -0
- data/vendor/bundle/gems/interception-0.5/LICENSE.MIT +19 -0
- data/vendor/bundle/gems/interception-0.5/README.md +84 -0
- data/vendor/bundle/gems/interception-0.5/Rakefile +32 -0
- data/vendor/bundle/gems/interception-0.5/examples/example.rb +16 -0
- data/vendor/bundle/gems/interception-0.5/examples/example2.rb +17 -0
- data/vendor/bundle/gems/interception-0.5/ext/extconf.rb +25 -0
- data/vendor/bundle/gems/interception-0.5/ext/interception.c +80 -0
- data/vendor/bundle/gems/interception-0.5/ext/org/pryrepl/InterceptionEventHook.java +28 -0
- data/vendor/bundle/gems/interception-0.5/interception.gemspec +16 -0
- data/vendor/bundle/gems/interception-0.5/lib/cross_platform.rb +84 -0
- data/vendor/bundle/gems/interception-0.5/lib/interception.rb +120 -0
- data/vendor/bundle/gems/interception-0.5/spec/interception_spec.rb +156 -0
- data/vendor/bundle/gems/interception-0.5/spec/spec_helpers.rb +1 -0
- data/vendor/bundle/gems/method_source-0.8.2/.gemtest +0 -0
- data/vendor/bundle/gems/method_source-0.8.2/.travis.yml +13 -0
- data/vendor/bundle/gems/method_source-0.8.2/.yardopts +1 -0
- data/vendor/bundle/gems/method_source-0.8.2/Gemfile +2 -0
- data/vendor/bundle/gems/method_source-0.8.2/LICENSE +25 -0
- data/vendor/bundle/gems/method_source-0.8.2/README.markdown +91 -0
- data/vendor/bundle/gems/method_source-0.8.2/Rakefile +79 -0
- data/vendor/bundle/gems/method_source-0.8.2/lib/method_source/code_helpers.rb +154 -0
- data/vendor/bundle/gems/method_source-0.8.2/lib/method_source/source_location.rb +138 -0
- data/vendor/bundle/gems/method_source-0.8.2/lib/method_source/version.rb +3 -0
- data/vendor/bundle/gems/method_source-0.8.2/lib/method_source.rb +141 -0
- data/vendor/bundle/gems/method_source-0.8.2/method_source.gemspec +33 -0
- data/vendor/bundle/gems/method_source-0.8.2/test/test.rb +138 -0
- data/vendor/bundle/gems/method_source-0.8.2/test/test_code_helpers.rb +41 -0
- data/vendor/bundle/gems/method_source-0.8.2/test/test_helper.rb +98 -0
- data/vendor/bundle/gems/mini_portile-0.6.0/History.txt +86 -0
- data/vendor/bundle/gems/mini_portile-0.6.0/LICENSE.txt +20 -0
- data/vendor/bundle/gems/mini_portile-0.6.0/README.rdoc +169 -0
- data/vendor/bundle/gems/mini_portile-0.6.0/Rakefile +53 -0
- data/vendor/bundle/gems/mini_portile-0.6.0/examples/Rakefile +113 -0
- data/vendor/bundle/gems/mini_portile-0.6.0/lib/mini_portile.rb +437 -0
- data/vendor/bundle/gems/minitest-5.3.4/.autotest +34 -0
- data/vendor/bundle/gems/minitest-5.3.4/.gemtest +0 -0
- data/vendor/bundle/gems/minitest-5.3.4/History.txt +1023 -0
- data/vendor/bundle/gems/minitest-5.3.4/Manifest.txt +26 -0
- data/vendor/bundle/gems/minitest-5.3.4/README.txt +543 -0
- data/vendor/bundle/gems/minitest-5.3.4/Rakefile +71 -0
- data/vendor/bundle/gems/minitest-5.3.4/design_rationale.rb +52 -0
- data/vendor/bundle/gems/minitest-5.3.4/lib/hoe/minitest.rb +26 -0
- data/vendor/bundle/gems/minitest-5.3.4/lib/minitest/assertions.rb +661 -0
- data/vendor/bundle/gems/minitest-5.3.4/lib/minitest/autorun.rb +12 -0
- data/vendor/bundle/gems/minitest-5.3.4/lib/minitest/benchmark.rb +423 -0
- data/vendor/bundle/gems/minitest-5.3.4/lib/minitest/expectations.rb +281 -0
- data/vendor/bundle/gems/minitest-5.3.4/lib/minitest/hell.rb +11 -0
- data/vendor/bundle/gems/minitest-5.3.4/lib/minitest/mock.rb +220 -0
- data/vendor/bundle/gems/minitest-5.3.4/lib/minitest/parallel.rb +40 -0
- data/vendor/bundle/gems/minitest-5.3.4/lib/minitest/pride.rb +4 -0
- data/vendor/bundle/gems/minitest-5.3.4/lib/minitest/pride_plugin.rb +142 -0
- data/vendor/bundle/gems/minitest-5.3.4/lib/minitest/spec.rb +294 -0
- data/vendor/bundle/gems/minitest-5.3.4/lib/minitest/test.rb +283 -0
- data/vendor/bundle/gems/minitest-5.3.4/lib/minitest/unit.rb +45 -0
- data/vendor/bundle/gems/minitest-5.3.4/lib/minitest.rb +766 -0
- data/vendor/bundle/gems/minitest-5.3.4/test/minitest/metametameta.rb +80 -0
- data/vendor/bundle/gems/minitest-5.3.4/test/minitest/test_minitest_benchmark.rb +137 -0
- data/vendor/bundle/gems/minitest-5.3.4/test/minitest/test_minitest_mock.rb +500 -0
- data/vendor/bundle/gems/minitest-5.3.4/test/minitest/test_minitest_reporter.rb +313 -0
- data/vendor/bundle/gems/minitest-5.3.4/test/minitest/test_minitest_spec.rb +832 -0
- data/vendor/bundle/gems/minitest-5.3.4/test/minitest/test_minitest_unit.rb +1865 -0
- data/vendor/bundle/gems/multipart-post-2.0.0/.gitignore +6 -0
- data/vendor/bundle/gems/multipart-post-2.0.0/.travis.yml +7 -0
- data/vendor/bundle/gems/multipart-post-2.0.0/Gemfile +14 -0
- data/vendor/bundle/gems/multipart-post-2.0.0/History.txt +60 -0
- data/vendor/bundle/gems/multipart-post-2.0.0/Manifest.txt +9 -0
- data/vendor/bundle/gems/multipart-post-2.0.0/README.md +77 -0
- data/vendor/bundle/gems/multipart-post-2.0.0/Rakefile +9 -0
- data/vendor/bundle/gems/multipart-post-2.0.0/lib/composite_io.rb +108 -0
- data/vendor/bundle/gems/multipart-post-2.0.0/lib/multipart_post.rb +9 -0
- data/vendor/bundle/gems/multipart-post-2.0.0/lib/multipartable.rb +29 -0
- data/vendor/bundle/gems/multipart-post-2.0.0/lib/net/http/post/multipart.rb +27 -0
- data/vendor/bundle/gems/multipart-post-2.0.0/lib/parts.rb +96 -0
- data/vendor/bundle/gems/multipart-post-2.0.0/multipart-post.gemspec +22 -0
- data/vendor/bundle/gems/multipart-post-2.0.0/test/multibyte.txt +1 -0
- data/vendor/bundle/gems/multipart-post-2.0.0/test/net/http/post/test_multipart.rb +110 -0
- data/vendor/bundle/gems/multipart-post-2.0.0/test/test_composite_io.rb +115 -0
- data/vendor/bundle/gems/multipart-post-2.0.0/test/test_parts.rb +86 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/.autotest +26 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/.editorconfig +17 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/.gemtest +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/.travis.yml +27 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/CHANGELOG.ja.rdoc +890 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/CHANGELOG.rdoc +899 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/C_CODING_STYLE.rdoc +33 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/Gemfile +21 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/Manifest.txt +377 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/README.ja.rdoc +111 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/README.rdoc +180 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ROADMAP.md +89 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/Rakefile +356 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/STANDARD_RESPONSES.md +47 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/Y_U_NO_GEMSPEC.md +155 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/bin/nokogiri +78 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/build_all +130 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/dependencies.yml +4 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/.RUBYARCHDIR.-.nokogiri.time +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/Makefile +601 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/depend +358 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/extconf.rb +543 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/html_document.c +170 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/html_document.h +10 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/html_element_description.c +279 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/html_element_description.h +10 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/html_entity_lookup.c +32 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/html_entity_lookup.h +8 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/html_sax_parser_context.c +116 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/html_sax_parser_context.h +11 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/html_sax_push_parser.c +87 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/html_sax_push_parser.h +9 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/nokogiri.c +148 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/nokogiri.h +164 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_attr.c +94 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_attr.h +9 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_attribute_decl.c +70 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_attribute_decl.h +9 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_cdata.c +56 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_cdata.h +9 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_comment.c +54 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_comment.h +9 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_document.c +577 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_document.h +23 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_document_fragment.c +48 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_document_fragment.h +10 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_dtd.c +202 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_dtd.h +10 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_element_content.c +123 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_element_content.h +10 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_element_decl.c +69 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_element_decl.h +9 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_encoding_handler.c +79 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_encoding_handler.h +8 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_entity_decl.c +110 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_entity_decl.h +10 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_entity_reference.c +52 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_entity_reference.h +9 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_io.c +56 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_io.h +11 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_libxml2_hacks.c +112 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_libxml2_hacks.h +12 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_namespace.c +78 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_namespace.h +13 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_node.c +1603 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_node.h +13 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_node_set.c +467 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_node_set.h +14 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_processing_instruction.c +56 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_processing_instruction.h +9 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_reader.c +681 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_reader.h +10 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_relax_ng.c +161 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_relax_ng.h +9 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_sax_parser.c +312 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_sax_parser.h +39 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_sax_parser_context.c +262 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_sax_parser_context.h +10 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_sax_push_parser.c +115 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_sax_push_parser.h +9 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_schema.c +205 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_schema.h +9 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_syntax_error.c +63 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_syntax_error.h +13 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_text.c +52 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_text.h +9 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_xpath_context.c +307 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xml_xpath_context.h +10 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xslt_stylesheet.c +270 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/ext/nokogiri/xslt_stylesheet.h +14 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/css/node.rb +52 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/css/parser.rb +715 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/css/parser.y +249 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/css/parser_extras.rb +91 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/css/syntax_error.rb +7 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/css/tokenizer.rb +152 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/css/tokenizer.rex +55 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/css/xpath_visitor.rb +219 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/css.rb +27 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/decorators/slop.rb +35 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/html/builder.rb +35 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/html/document.rb +333 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/html/document_fragment.rb +41 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/html/element_description.rb +23 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/html/element_description_defaults.rb +671 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/html/entity_lookup.rb +13 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/html/sax/parser.rb +52 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/html/sax/parser_context.rb +16 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/html/sax/push_parser.rb +16 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/html.rb +37 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/syntax_error.rb +4 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/version.rb +106 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/xml/attr.rb +14 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/xml/attribute_decl.rb +18 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/xml/builder.rb +443 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/xml/cdata.rb +11 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/xml/character_data.rb +7 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/xml/document.rb +279 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/xml/document_fragment.rb +112 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/xml/dtd.rb +32 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/xml/element_content.rb +36 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/xml/element_decl.rb +13 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/xml/entity_decl.rb +19 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/xml/namespace.rb +13 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/xml/node/save_options.rb +61 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/xml/node.rb +982 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/xml/node_set.rb +355 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/xml/notation.rb +6 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/xml/parse_options.rb +98 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/xml/pp/character_data.rb +18 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/xml/pp/node.rb +56 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/xml/pp.rb +2 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/xml/processing_instruction.rb +8 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/xml/reader.rb +112 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/xml/relax_ng.rb +32 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/xml/sax/document.rb +171 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/xml/sax/parser.rb +123 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/xml/sax/parser_context.rb +16 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/xml/sax/push_parser.rb +60 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/xml/sax.rb +4 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/xml/schema.rb +63 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/xml/syntax_error.rb +47 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/xml/text.rb +9 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/xml/xpath/syntax_error.rb +11 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/xml/xpath.rb +10 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/xml/xpath_context.rb +16 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/xml.rb +73 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/xslt/stylesheet.rb +25 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri/xslt.rb +56 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/nokogiri.rb +137 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/lib/xsd/xmlparser/nokogiri.rb +102 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/suppressions/README.txt +1 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/suppressions/nokogiri_ree-1.8.7.358.supp +61 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/suppressions/nokogiri_ruby-1.8.7.370.supp +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/suppressions/nokogiri_ruby-1.9.2.320.supp +28 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/suppressions/nokogiri_ruby-1.9.3.327.supp +28 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/tasks/nokogiri.org.rb +24 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/tasks/test.rb +95 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/css/test_nthiness.rb +222 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/css/test_parser.rb +358 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/css/test_tokenizer.rb +198 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/css/test_xpath_visitor.rb +96 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/decorators/test_slop.rb +16 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/files/2ch.html +108 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/files/address_book.rlx +12 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/files/address_book.xml +10 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/files/atom.xml +344 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/files/bar/bar.xsd +4 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/files/bogus.xml +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/files/dont_hurt_em_why.xml +422 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/files/encoding.html +82 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/files/encoding.xhtml +84 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/files/exslt.xml +8 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/files/exslt.xslt +35 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/files/foo/foo.xsd +4 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/files/metacharset.html +10 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/files/noencoding.html +47 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/files/po.xml +32 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/files/po.xsd +66 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/files/saml/saml20assertion_schema.xsd +283 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/files/saml/saml20protocol_schema.xsd +302 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/files/saml/xenc_schema.xsd +146 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/files/saml/xmldsig_schema.xsd +318 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/files/shift_jis.html +10 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/files/shift_jis.xml +5 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/files/shift_jis_no_charset.html +9 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/files/slow-xpath.xml +25509 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/files/snuggles.xml +3 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/files/staff.dtd +10 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/files/staff.xml +59 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/files/staff.xslt +32 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/files/test_document_url/bar.xml +2 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/files/test_document_url/document.dtd +4 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/files/test_document_url/document.xml +6 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/files/tlm.html +850 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/files/to_be_xincluded.xml +2 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/files/valid_bar.xml +2 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/files/xinclude.xml +4 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/helper.rb +164 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/html/sax/test_parser.rb +141 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/html/sax/test_parser_context.rb +46 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/html/test_builder.rb +164 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/html/test_document.rb +619 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/html/test_document_encoding.rb +148 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/html/test_document_fragment.rb +267 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/html/test_element_description.rb +105 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/html/test_named_characters.rb +14 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/html/test_node.rb +196 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/html/test_node_encoding.rb +27 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/namespaces/test_additional_namespaces_in_builder_doc.rb +14 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/namespaces/test_namespaces_aliased_default.rb +24 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/namespaces/test_namespaces_in_builder_doc.rb +75 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/namespaces/test_namespaces_in_cloned_doc.rb +31 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/namespaces/test_namespaces_in_created_doc.rb +75 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/namespaces/test_namespaces_in_parsed_doc.rb +66 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/namespaces/test_namespaces_preservation.rb +31 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/test_convert_xpath.rb +135 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/test_css_cache.rb +45 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/test_encoding_handler.rb +46 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/test_memory_leak.rb +156 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/test_nokogiri.rb +138 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/test_reader.rb +558 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/test_soap4r_sax.rb +52 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/test_xslt_transforms.rb +279 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/xml/node/test_save_options.rb +28 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/xml/node/test_subclass.rb +44 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/xml/sax/test_parser.rb +382 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/xml/sax/test_parser_context.rb +115 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/xml/sax/test_push_parser.rb +157 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/xml/test_attr.rb +64 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/xml/test_attribute_decl.rb +86 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/xml/test_builder.rb +315 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/xml/test_c14n.rb +161 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/xml/test_cdata.rb +48 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/xml/test_comment.rb +29 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/xml/test_document.rb +934 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/xml/test_document_encoding.rb +28 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/xml/test_document_fragment.rb +228 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/xml/test_dtd.rb +187 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/xml/test_dtd_encoding.rb +33 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/xml/test_element_content.rb +56 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/xml/test_element_decl.rb +73 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/xml/test_entity_decl.rb +122 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/xml/test_entity_reference.rb +245 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/xml/test_namespace.rb +95 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/xml/test_node.rb +1155 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/xml/test_node_attributes.rb +113 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/xml/test_node_encoding.rb +107 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/xml/test_node_inheritance.rb +32 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/xml/test_node_reparenting.rb +374 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/xml/test_node_set.rb +755 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/xml/test_parse_options.rb +64 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/xml/test_processing_instruction.rb +30 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/xml/test_reader_encoding.rb +142 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/xml/test_relax_ng.rb +60 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/xml/test_schema.rb +129 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/xml/test_syntax_error.rb +12 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/xml/test_text.rb +60 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/xml/test_unparented_node.rb +422 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/xml/test_xinclude.rb +83 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/xml/test_xpath.rb +382 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/xslt/test_custom_functions.rb +133 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test/xslt/test_exception_handling.rb +37 -0
- data/vendor/bundle/gems/nokogiri-1.6.2.1/test_all +81 -0
- data/vendor/bundle/gems/pry-0.10.0/CHANGELOG.md +702 -0
- data/vendor/bundle/gems/pry-0.10.0/LICENSE +25 -0
- data/vendor/bundle/gems/pry-0.10.0/README.md +406 -0
- data/vendor/bundle/gems/pry-0.10.0/bin/pry +16 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/cli.rb +220 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/code/code_file.rb +103 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/code/code_range.rb +71 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/code/loc.rb +92 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/code.rb +341 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/code_object.rb +172 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/color_printer.rb +55 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/command.rb +692 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/command_set.rb +443 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/amend_line.rb +99 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/bang.rb +20 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/bang_pry.rb +17 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/cat/abstract_formatter.rb +27 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/cat/exception_formatter.rb +77 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/cat/file_formatter.rb +67 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/cat/input_expression_formatter.rb +43 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/cat.rb +62 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/cd.rb +41 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/change_inspector.rb +27 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/change_prompt.rb +26 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/code_collector.rb +165 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/disable_pry.rb +27 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/disabled_commands.rb +2 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/easter_eggs.rb +112 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/edit/exception_patcher.rb +25 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/edit/file_and_line_locator.rb +36 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/edit.rb +195 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/exit.rb +42 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/exit_all.rb +29 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/exit_program.rb +23 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/find_method.rb +193 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/fix_indent.rb +19 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/gem_cd.rb +26 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/gem_install.rb +32 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/gem_list.rb +33 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/gem_open.rb +29 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/gist.rb +101 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/help.rb +164 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/hist.rb +180 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/import_set.rb +22 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/install_command.rb +53 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/jump_to.rb +29 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/list_inspectors.rb +35 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/list_prompts.rb +35 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/ls/constants.rb +47 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/ls/formatter.rb +49 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/ls/globals.rb +48 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/ls/grep.rb +21 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/ls/instance_vars.rb +39 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/ls/interrogatable.rb +18 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/ls/jruby_hacks.rb +49 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/ls/local_names.rb +35 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/ls/local_vars.rb +39 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/ls/ls_entity.rb +70 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/ls/methods.rb +57 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/ls/methods_helper.rb +46 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/ls/self_methods.rb +32 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/ls.rb +114 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/nesting.rb +25 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/play.rb +103 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/pry_backtrace.rb +25 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/pry_version.rb +17 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/raise_up.rb +32 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/reload_code.rb +62 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/reset.rb +18 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/ri.rb +60 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/save_file.rb +61 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/shell_command.rb +48 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/shell_mode.rb +25 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/show_doc.rb +83 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/show_info.rb +195 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/show_input.rb +17 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/show_source.rb +50 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/simple_prompt.rb +22 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/stat.rb +40 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/switch_to.rb +23 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/toggle_color.rb +24 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/watch_expression/expression.rb +38 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/watch_expression.rb +105 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/whereami.rb +190 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands/wtf.rb +57 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/commands.rb +6 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/config/behavior.rb +139 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/config/convenience.rb +26 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/config/default.rb +165 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/config.rb +24 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/core_extensions.rb +131 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/editor.rb +133 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/exceptions.rb +77 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/helpers/base_helpers.rb +113 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/helpers/command_helpers.rb +156 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/helpers/documentation_helpers.rb +75 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/helpers/options_helpers.rb +27 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/helpers/table.rb +109 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/helpers/text.rb +107 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/helpers.rb +5 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/history.rb +125 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/history_array.rb +121 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/hooks.rb +230 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/indent.rb +406 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/input_completer.rb +242 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/input_lock.rb +132 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/inspector.rb +27 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/last_exception.rb +61 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/method/disowned.rb +53 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/method/patcher.rb +125 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/method/weird_method_locator.rb +186 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/method.rb +546 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/module_candidate.rb +136 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/object_path.rb +82 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/output.rb +50 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/pager.rb +235 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/plugins.rb +103 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/prompt.rb +26 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/pry_class.rb +375 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/pry_instance.rb +654 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/rbx_path.rb +22 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/repl.rb +202 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/repl_file_loader.rb +74 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/rubygem.rb +82 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/terminal.rb +79 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/test/helper.rb +170 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/version.rb +3 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry/wrapped_module.rb +373 -0
- data/vendor/bundle/gems/pry-0.10.0/lib/pry.rb +161 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/.gitignore +6 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/.travis.yml +7 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/Gemfile +2 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/LICENSE.MIT +19 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/README.md +324 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/Rakefile +30 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/bin/kill-pry-rescue +37 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/bin/rescue +55 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/examples/capybara_spec.rb +15 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/examples/example.rb +29 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/examples/example2.rb +28 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/examples/example_spec.rb +12 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/examples/loop.rb +18 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/examples/random-exit.rb +22 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/examples/rescue.rb +32 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/examples/sigsegv.rb +24 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/examples/syntax-err.rb +1 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/lib/pry/rescue.rb +2 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/lib/pry-rescue/cli.rb +1 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/lib/pry-rescue/commands.rb +74 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/lib/pry-rescue/core_ext.rb +100 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/lib/pry-rescue/kernel_exit_hooks.rb +20 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/lib/pry-rescue/minitest.rb +45 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/lib/pry-rescue/peek/exit.rb +2 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/lib/pry-rescue/peek/int.rb +2 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/lib/pry-rescue/peek/quit.rb +2 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/lib/pry-rescue/peek/usr1.rb +2 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/lib/pry-rescue/peek/usr2.rb +2 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/lib/pry-rescue/peek.rb +18 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/lib/pry-rescue/rack.rb +19 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/lib/pry-rescue/rails.rb +14 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/lib/pry-rescue/rspec.rb +58 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/lib/pry-rescue.rb +209 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/pry-rescue.gemspec +23 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/spec/commands_spec.rb +121 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/spec/core_ext_spec.rb +100 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/spec/fixtures/coderay.rb +3 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/spec/fixtures/initial.rb +13 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/spec/fixtures/raiseother.rb +13 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/spec/fixtures/reraise.rb +13 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/spec/fixtures/simple.rb +1 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/spec/fixtures/super.rb +17 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/spec/fixtures/uri.rb +2 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/spec/peek_spec.rb +29 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/spec/pry_rescue_spec.rb +114 -0
- data/vendor/bundle/gems/pry-rescue-1.4.1/spec/spec_helper.rb +6 -0
- data/vendor/bundle/gems/rake-10.3.2/.autotest +7 -0
- data/vendor/bundle/gems/rake-10.3.2/.gemtest +0 -0
- data/vendor/bundle/gems/rake-10.3.2/.rubocop.yml +27 -0
- data/vendor/bundle/gems/rake-10.3.2/.togglerc +7 -0
- data/vendor/bundle/gems/rake-10.3.2/CONTRIBUTING.rdoc +34 -0
- data/vendor/bundle/gems/rake-10.3.2/History.rdoc +609 -0
- data/vendor/bundle/gems/rake-10.3.2/MIT-LICENSE +21 -0
- data/vendor/bundle/gems/rake-10.3.2/Manifest.txt +162 -0
- data/vendor/bundle/gems/rake-10.3.2/README.rdoc +137 -0
- data/vendor/bundle/gems/rake-10.3.2/Rakefile +81 -0
- data/vendor/bundle/gems/rake-10.3.2/bin/rake +33 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/alt_system.rb +110 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/application.rb +783 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/backtrace.rb +23 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/clean.rb +76 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/cloneable.rb +16 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/contrib/.document +0 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/contrib/compositepublisher.rb +21 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/contrib/ftptools.rb +137 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/contrib/publisher.rb +81 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/contrib/rubyforgepublisher.rb +18 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/contrib/sshpublisher.rb +61 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/contrib/sys.rb +4 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/cpu_counter.rb +109 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/default_loader.rb +14 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/dsl_definition.rb +198 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/early_time.rb +21 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/ext/core.rb +25 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/ext/module.rb +1 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/ext/string.rb +173 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/ext/time.rb +15 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/file_creation_task.rb +24 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/file_list.rb +414 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/file_task.rb +46 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/file_utils.rb +116 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/file_utils_ext.rb +144 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/gempackagetask.rb +4 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/invocation_chain.rb +56 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/invocation_exception_mixin.rb +16 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/linked_list.rb +103 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/loaders/makefile.rb +40 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/multi_task.rb +13 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/name_space.rb +38 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/packagetask.rb +202 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/pathmap.rb +3 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/phony.rb +15 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/private_reader.rb +20 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/promise.rb +99 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/pseudo_status.rb +29 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/rake_module.rb +38 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/rake_test_loader.rb +22 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/rdoctask.rb +4 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/ruby182_test_unit_fix.rb +29 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/runtest.rb +27 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/scope.rb +42 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/task.rb +383 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/task_argument_error.rb +7 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/task_arguments.rb +98 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/task_manager.rb +310 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/tasklib.rb +24 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/testtask.rb +212 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/thread_history_display.rb +48 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/thread_pool.rb +164 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/trace_output.rb +22 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/version.rb +7 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake/win32.rb +56 -0
- data/vendor/bundle/gems/rake-10.3.2/lib/rake.rb +78 -0
- data/vendor/bundle/gems/rake-10.3.2/rakelib/publish.rake +20 -0
- data/vendor/bundle/gems/rake-10.3.2/rakelib/test_times.rake +25 -0
- data/vendor/bundle/gems/rake-10.3.2/test/file_creation.rb +34 -0
- data/vendor/bundle/gems/rake-10.3.2/test/helper.rb +127 -0
- data/vendor/bundle/gems/rake-10.3.2/test/support/rakefile_definitions.rb +478 -0
- data/vendor/bundle/gems/rake-10.3.2/test/support/ruby_runner.rb +33 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_private_reader.rb +42 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake.rb +40 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_application.rb +641 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_application_options.rb +466 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_backtrace.rb +119 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_clean.rb +55 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_cpu_counter.rb +50 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_definitions.rb +79 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_directory_task.rb +63 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_dsl.rb +40 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_early_time.rb +31 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_extension.rb +59 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_file_creation_task.rb +56 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_file_list.rb +627 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_file_list_path_map.rb +8 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_file_task.rb +186 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_file_utils.rb +309 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_ftp_file.rb +74 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_functional.rb +482 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_invocation_chain.rb +64 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_linked_list.rb +84 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_makefile_loader.rb +46 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_multi_task.rb +58 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_name_space.rb +57 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_package_task.rb +79 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_path_map.rb +168 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_path_map_explode.rb +34 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_path_map_partial.rb +18 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_pseudo_status.rb +21 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_rake_test_loader.rb +20 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_reduce_compat.rb +26 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_require.rb +40 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_rules.rb +388 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_scope.rb +44 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_task.rb +392 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_task_argument_parsing.rb +109 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_task_arguments.rb +127 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_task_lib.rb +9 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_task_manager.rb +178 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_task_manager_argument_resolution.rb +19 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_task_with_arguments.rb +171 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_test_task.rb +141 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_thread_pool.rb +142 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_top_level_functions.rb +71 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_rake_win32.rb +72 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_thread_history_display.rb +101 -0
- data/vendor/bundle/gems/rake-10.3.2/test/test_trace_output.rb +52 -0
- data/vendor/bundle/gems/rspec-3.0.0/License.txt +24 -0
- data/vendor/bundle/gems/rspec-3.0.0/README.md +47 -0
- data/vendor/bundle/gems/rspec-3.0.0/lib/rspec/version.rb +5 -0
- data/vendor/bundle/gems/rspec-3.0.0/lib/rspec.rb +3 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/.document +5 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/.yardopts +7 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/Changelog.md +1436 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/License.txt +25 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/README.md +243 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/exe/rspec +4 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/autorun.rb +2 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/backport_random.rb +336 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/backtrace_formatter.rb +70 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/configuration.rb +1336 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/configuration_options.rb +173 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/drb.rb +111 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/dsl.rb +94 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/example.rb +474 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/example_group.rb +697 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/filter_manager.rb +260 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/flat_map.rb +18 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/formatters/base_formatter.rb +172 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/formatters/base_text_formatter.rb +78 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/formatters/console_codes.rb +65 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/formatters/deprecation_formatter.rb +223 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/formatters/documentation_formatter.rb +69 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/formatters/helpers.rb +88 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/formatters/html_formatter.rb +148 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/formatters/html_printer.rb +402 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/formatters/json_formatter.rb +93 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/formatters/profile_formatter.rb +67 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/formatters/progress_formatter.rb +28 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/formatters/snippet_extractor.rb +103 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/formatters.rb +239 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/hooks.rb +574 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/memoized_helpers.rb +470 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/metadata.rb +409 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/metadata_filter.rb +86 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/minitest_assertions_adapter.rb +28 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/mocking_adapters/flexmock.rb +29 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/mocking_adapters/mocha.rb +55 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/mocking_adapters/null.rb +12 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/mocking_adapters/rr.rb +29 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/mocking_adapters/rspec.rb +30 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/notifications.rb +511 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/option_parser.rb +218 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/ordering.rb +156 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/pending.rb +165 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/project_initializer/.rspec +3 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/project_initializer/spec/spec_helper.rb +78 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/project_initializer.rb +46 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/rake_task.rb +144 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/reporter.rb +152 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/ruby_project.rb +45 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/runner.rb +161 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/shared_context.rb +55 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/shared_example_group.rb +181 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/version.rb +9 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/warnings.rb +40 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/world.rb +183 -0
- data/vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core.rb +167 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/.document +5 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/.yardopts +6 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/Changelog.md +728 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/License.txt +24 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/README.md +278 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/expectations/configuration.rb +135 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/expectations/expectation_target.rb +119 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/expectations/fail_with.rb +34 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/expectations/handler.rb +161 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/expectations/minitest_integration.rb +17 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/expectations/syntax.rb +130 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/expectations/version.rb +8 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/expectations.rb +68 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/matchers/aliased_matcher.rb +41 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/matchers/built_in/all.rb +76 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/matchers/built_in/base_matcher.rb +115 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/matchers/built_in/be.rb +277 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/matchers/built_in/be_between.rb +77 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/matchers/built_in/be_instance_of.rb +22 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/matchers/built_in/be_kind_of.rb +16 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/matchers/built_in/be_within.rb +79 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/matchers/built_in/change.rb +334 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/matchers/built_in/compound.rb +119 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/matchers/built_in/contain_exactly.rb +257 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/matchers/built_in/cover.rb +24 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/matchers/built_in/eq.rb +75 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/matchers/built_in/eql.rb +34 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/matchers/built_in/equal.rb +81 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/matchers/built_in/exist.rb +86 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/matchers/built_in/has.rb +104 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/matchers/built_in/include.rb +98 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/matchers/built_in/match.rb +29 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/matchers/built_in/operators.rb +119 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/matchers/built_in/output.rb +150 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/matchers/built_in/raise_error.rb +168 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/matchers/built_in/respond_to.rb +98 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/matchers/built_in/satisfy.rb +46 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/matchers/built_in/start_and_end_with.rb +82 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/matchers/built_in/throw_symbol.rb +128 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/matchers/built_in/yield.rb +402 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/matchers/built_in.rb +51 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/matchers/composable.rb +181 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/matchers/dsl.rb +379 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/matchers/generated_descriptions.rb +42 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/matchers/matcher_delegator.rb +36 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/matchers/pretty.rb +77 -0
- data/vendor/bundle/gems/rspec-expectations-3.0.1/lib/rspec/matchers.rb +921 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/.document +5 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/.yardopts +6 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/Changelog.md +709 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/License.txt +24 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/README.md +380 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/lib/rspec/mocks/any_instance/chain.rb +109 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/lib/rspec/mocks/any_instance/expect_chain_chain.rb +35 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/lib/rspec/mocks/any_instance/expectation_chain.rb +49 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/lib/rspec/mocks/any_instance/message_chains.rb +84 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/lib/rspec/mocks/any_instance/proxy.rb +116 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/lib/rspec/mocks/any_instance/recorder.rb +265 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/lib/rspec/mocks/any_instance/stub_chain.rb +47 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/lib/rspec/mocks/any_instance/stub_chain_chain.rb +27 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/lib/rspec/mocks/any_instance.rb +10 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/lib/rspec/mocks/argument_list_matcher.rb +72 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/lib/rspec/mocks/argument_matchers.rb +249 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/lib/rspec/mocks/configuration.rb +164 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/lib/rspec/mocks/error_generator.rb +247 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/lib/rspec/mocks/example_methods.rb +311 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/lib/rspec/mocks/instance_method_stasher.rb +135 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/lib/rspec/mocks/marshal_extension.rb +41 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/lib/rspec/mocks/matchers/have_received.rb +101 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/lib/rspec/mocks/matchers/receive.rb +106 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/lib/rspec/mocks/matchers/receive_message_chain.rb +67 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/lib/rspec/mocks/matchers/receive_messages.rb +72 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/lib/rspec/mocks/message_chain.rb +91 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/lib/rspec/mocks/message_expectation.rb +650 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/lib/rspec/mocks/method_double.rb +257 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/lib/rspec/mocks/method_reference.rb +154 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/lib/rspec/mocks/mutate_const.rb +398 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/lib/rspec/mocks/object_reference.rb +92 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/lib/rspec/mocks/order_group.rb +82 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/lib/rspec/mocks/proxy.rb +419 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/lib/rspec/mocks/space.rb +221 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/lib/rspec/mocks/standalone.rb +3 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/lib/rspec/mocks/syntax.rb +327 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/lib/rspec/mocks/targets.rb +97 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/lib/rspec/mocks/test_double.rb +126 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/lib/rspec/mocks/verifying_double.rb +127 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/lib/rspec/mocks/verifying_message_expecation.rb +60 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/lib/rspec/mocks/verifying_proxy.rb +170 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/lib/rspec/mocks/version.rb +9 -0
- data/vendor/bundle/gems/rspec-mocks-3.0.1/lib/rspec/mocks.rb +126 -0
- data/vendor/bundle/gems/rspec-support-3.0.0/Changelog.md +17 -0
- data/vendor/bundle/gems/rspec-support-3.0.0/LICENSE.txt +22 -0
- data/vendor/bundle/gems/rspec-support-3.0.0/README.md +17 -0
- data/vendor/bundle/gems/rspec-support-3.0.0/lib/rspec/support/caller_filter.rb +64 -0
- data/vendor/bundle/gems/rspec-support-3.0.0/lib/rspec/support/differ.rb +205 -0
- data/vendor/bundle/gems/rspec-support-3.0.0/lib/rspec/support/encoded_string.rb +66 -0
- data/vendor/bundle/gems/rspec-support-3.0.0/lib/rspec/support/fuzzy_matcher.rb +47 -0
- data/vendor/bundle/gems/rspec-support-3.0.0/lib/rspec/support/hunk_generator.rb +48 -0
- data/vendor/bundle/gems/rspec-support-3.0.0/lib/rspec/support/method_signature_verifier.rb +205 -0
- data/vendor/bundle/gems/rspec-support-3.0.0/lib/rspec/support/ruby_features.rb +35 -0
- data/vendor/bundle/gems/rspec-support-3.0.0/lib/rspec/support/spec/deprecation_helpers.rb +61 -0
- data/vendor/bundle/gems/rspec-support-3.0.0/lib/rspec/support/spec/formatting_support.rb +9 -0
- data/vendor/bundle/gems/rspec-support-3.0.0/lib/rspec/support/spec/in_sub_process.rb +40 -0
- data/vendor/bundle/gems/rspec-support-3.0.0/lib/rspec/support/spec/stderr_splitter.rb +53 -0
- data/vendor/bundle/gems/rspec-support-3.0.0/lib/rspec/support/spec/with_isolated_stderr.rb +15 -0
- data/vendor/bundle/gems/rspec-support-3.0.0/lib/rspec/support/spec.rb +62 -0
- data/vendor/bundle/gems/rspec-support-3.0.0/lib/rspec/support/version.rb +7 -0
- data/vendor/bundle/gems/rspec-support-3.0.0/lib/rspec/support/version_checker.rb +53 -0
- data/vendor/bundle/gems/rspec-support-3.0.0/lib/rspec/support/warnings.rb +36 -0
- data/vendor/bundle/gems/rspec-support-3.0.0/lib/rspec/support.rb +58 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/.gitignore +1 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/.travis.yml +48 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/CHANGES.md +149 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/Gemfile +11 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/LICENSE.txt +22 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/README.md +191 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/Rakefile +23 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/bin/safe_yaml +75 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/bundle_install_all_ruby_versions.sh +21 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/lib/safe_yaml/deep.rb +34 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/lib/safe_yaml/libyaml_checker.rb +36 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/lib/safe_yaml/load.rb +181 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/lib/safe_yaml/parse/date.rb +35 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/lib/safe_yaml/parse/hexadecimal.rb +12 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/lib/safe_yaml/parse/sexagesimal.rb +26 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/lib/safe_yaml/psych_handler.rb +99 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/lib/safe_yaml/psych_resolver.rb +52 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/lib/safe_yaml/resolver.rb +94 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/lib/safe_yaml/safe_to_ruby_visitor.rb +29 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/lib/safe_yaml/syck_hack.rb +36 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/lib/safe_yaml/syck_node_monkeypatch.rb +43 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/lib/safe_yaml/syck_resolver.rb +38 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/lib/safe_yaml/transform/to_boolean.rb +21 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/lib/safe_yaml/transform/to_date.rb +13 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/lib/safe_yaml/transform/to_float.rb +33 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/lib/safe_yaml/transform/to_integer.rb +26 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/lib/safe_yaml/transform/to_nil.rb +18 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/lib/safe_yaml/transform/to_symbol.rb +17 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/lib/safe_yaml/transform/transformation_map.rb +47 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/lib/safe_yaml/transform.rb +41 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/lib/safe_yaml/version.rb +3 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/lib/safe_yaml.rb +94 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/run_specs_all_ruby_versions.sh +29 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/safe_yaml.gemspec +19 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/spec/exploit.1.9.2.yaml +2 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/spec/exploit.1.9.3.yaml +2 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/spec/issue48.txt +20 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/spec/issue49.yml +0 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/spec/libyaml_checker_spec.rb +69 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/spec/psych_resolver_spec.rb +10 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/spec/resolver_specs.rb +278 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/spec/safe_yaml_spec.rb +731 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/spec/spec_helper.rb +42 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/spec/support/exploitable_back_door.rb +29 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/spec/syck_resolver_spec.rb +10 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/spec/transform/base64_spec.rb +11 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/spec/transform/to_date_spec.rb +60 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/spec/transform/to_float_spec.rb +42 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/spec/transform/to_integer_spec.rb +64 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/spec/transform/to_symbol_spec.rb +51 -0
- data/vendor/bundle/gems/safe_yaml-1.0.3/spec/yaml_spec.rb +15 -0
- data/vendor/bundle/gems/searchbing-0.2.4/README.md +50 -0
- data/vendor/bundle/gems/searchbing-0.2.4/lib/searchbing.rb +61 -0
- data/vendor/bundle/gems/slop-3.5.0/.gitignore +7 -0
- data/vendor/bundle/gems/slop-3.5.0/.travis.yml +12 -0
- data/vendor/bundle/gems/slop-3.5.0/CHANGES.md +303 -0
- data/vendor/bundle/gems/slop-3.5.0/Gemfile +3 -0
- data/vendor/bundle/gems/slop-3.5.0/LICENSE +20 -0
- data/vendor/bundle/gems/slop-3.5.0/README.md +182 -0
- data/vendor/bundle/gems/slop-3.5.0/Rakefile +29 -0
- data/vendor/bundle/gems/slop-3.5.0/lib/slop/commands.rb +196 -0
- data/vendor/bundle/gems/slop-3.5.0/lib/slop/option.rb +209 -0
- data/vendor/bundle/gems/slop-3.5.0/lib/slop.rb +687 -0
- data/vendor/bundle/gems/slop-3.5.0/slop.gemspec +17 -0
- data/vendor/bundle/gems/slop-3.5.0/test/commands_test.rb +26 -0
- data/vendor/bundle/gems/slop-3.5.0/test/helper.rb +12 -0
- data/vendor/bundle/gems/slop-3.5.0/test/option_test.rb +138 -0
- data/vendor/bundle/gems/slop-3.5.0/test/slop_test.rb +518 -0
- data/vendor/bundle/gems/thor-0.19.1/.document +5 -0
- data/vendor/bundle/gems/thor-0.19.1/CHANGELOG.md +139 -0
- data/vendor/bundle/gems/thor-0.19.1/LICENSE.md +20 -0
- data/vendor/bundle/gems/thor-0.19.1/README.md +41 -0
- data/vendor/bundle/gems/thor-0.19.1/Thorfile +29 -0
- data/vendor/bundle/gems/thor-0.19.1/bin/thor +6 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/actions/create_file.rb +103 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/actions/create_link.rb +59 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/actions/directory.rb +118 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/actions/empty_directory.rb +135 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/actions/file_manipulation.rb +316 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/actions/inject_into_file.rb +107 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/actions.rb +319 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/base.rb +656 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/command.rb +133 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/core_ext/hash_with_indifferent_access.rb +77 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/core_ext/io_binary_read.rb +10 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/core_ext/ordered_hash.rb +98 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/error.rb +32 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/group.rb +281 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/invocation.rb +178 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/line_editor/basic.rb +35 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/line_editor/readline.rb +88 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/line_editor.rb +17 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/parser/argument.rb +73 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/parser/arguments.rb +175 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/parser/option.rb +125 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/parser/options.rb +218 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/parser.rb +4 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/rake_compat.rb +71 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/runner.rb +322 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/shell/basic.rb +421 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/shell/color.rb +149 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/shell/html.rb +126 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/shell.rb +81 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/util.rb +267 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/version.rb +3 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor.rb +484 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/actions/create_file_spec.rb +168 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/actions/create_link_spec.rb +96 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/actions/directory_spec.rb +169 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/actions/empty_directory_spec.rb +129 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/actions/file_manipulation_spec.rb +392 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/actions/inject_into_file_spec.rb +135 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/actions_spec.rb +331 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/base_spec.rb +298 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/command_spec.rb +79 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/core_ext/hash_with_indifferent_access_spec.rb +48 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/core_ext/ordered_hash_spec.rb +115 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/exit_condition_spec.rb +19 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/fixtures/application.rb +2 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/fixtures/app{1}/README +3 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/fixtures/bundle/execute.rb +6 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/fixtures/bundle/main.thor +1 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/fixtures/command.thor +10 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/fixtures/enum.thor +10 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/fixtures/group.thor +128 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/fixtures/invoke.thor +131 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/fixtures/path with spaces +0 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/fixtures/preserve/script.sh +3 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/fixtures/script.thor +220 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/fixtures/subcommand.thor +17 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/group_spec.rb +222 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/helper.rb +80 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/invocation_spec.rb +120 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/line_editor/basic_spec.rb +28 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/line_editor/readline_spec.rb +69 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/line_editor_spec.rb +43 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/parser/argument_spec.rb +53 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/parser/arguments_spec.rb +66 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/parser/option_spec.rb +210 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/parser/options_spec.rb +414 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/quality_spec.rb +75 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/rake_compat_spec.rb +72 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/register_spec.rb +227 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/runner_spec.rb +246 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/sandbox/application.rb +2 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/sandbox/app{1}/README +3 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/sandbox/bundle/execute.rb +6 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/sandbox/bundle/main.thor +1 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/sandbox/command.thor +10 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/sandbox/enum.thor +10 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/sandbox/group.thor +128 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/sandbox/invoke.thor +131 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/sandbox/path with spaces +0 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/sandbox/preserve/script.sh +3 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/sandbox/script.thor +220 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/sandbox/subcommand.thor +17 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/shell/basic_spec.rb +337 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/shell/color_spec.rb +119 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/shell/html_spec.rb +31 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/shell_spec.rb +47 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/subcommand_spec.rb +48 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/thor_spec.rb +505 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/util_spec.rb +196 -0
- data/vendor/bundle/gems/thor-0.19.1/thor.gemspec +24 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/.travis.yml +24 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/Gemfile +4 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/LICENSE +144 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/README.md +56 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/Rakefile +48 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/examples/bench_cache.rb +35 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/ext/org/jruby/ext/thread_safe/JRubyCacheBackendLibrary.java +245 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMap.java +31 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMapV8.java +3863 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/ext/org/jruby/ext/thread_safe/jsr166e/LongAdder.java +203 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/ext/org/jruby/ext/thread_safe/jsr166e/Striped64.java +342 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/ConcurrentHashMapV8.java +3800 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/LongAdder.java +204 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/Striped64.java +291 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/ext/org/jruby/ext/thread_safe/jsr166y/ThreadLocalRandom.java +199 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/ext/thread_safe/JrubyCacheBackendService.java +15 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/lib/thread_safe/atomic_reference_cache_backend.rb +922 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/lib/thread_safe/cache.rb +163 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/lib/thread_safe/mri_cache_backend.rb +62 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/lib/thread_safe/non_concurrent_cache_backend.rb +133 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/lib/thread_safe/synchronized_cache_backend.rb +76 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/lib/thread_safe/synchronized_delegator.rb +60 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/lib/thread_safe/util/adder.rb +59 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/lib/thread_safe/util/atomic_reference.rb +45 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/lib/thread_safe/util/cheap_lockable.rb +105 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/lib/thread_safe/util/power_of_two_tuple.rb +26 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/lib/thread_safe/util/striped64.rb +226 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/lib/thread_safe/util/volatile.rb +62 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/lib/thread_safe/util/volatile_tuple.rb +46 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/lib/thread_safe/util/xor_shift_random.rb +39 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/lib/thread_safe/util.rb +16 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/lib/thread_safe/version.rb +21 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/lib/thread_safe.rb +65 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/test/src/thread_safe/SecurityManager.java +21 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/test/test_array.rb +18 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/test/test_cache.rb +901 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/test/test_cache_loops.rb +449 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/test/test_hash.rb +17 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/test/test_helper.rb +113 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/test/test_synchronized_delegator.rb +84 -0
- data/vendor/bundle/gems/thread_safe-0.3.4/thread_safe.gemspec +26 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/.yardopts +6 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/CHANGES.md +638 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/LICENSE +19 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/README.md +151 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/Rakefile +104 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/lib/tzinfo/country.rb +180 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/lib/tzinfo/country_index_definition.rb +31 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/lib/tzinfo/country_info.rb +42 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/lib/tzinfo/country_timezone.rb +123 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/lib/tzinfo/data_source.rb +190 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/lib/tzinfo/data_timezone.rb +58 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/lib/tzinfo/data_timezone_info.rb +55 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/lib/tzinfo/info_timezone.rb +30 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/lib/tzinfo/linked_timezone.rb +63 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/lib/tzinfo/linked_timezone_info.rb +26 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/lib/tzinfo/offset_rationals.rb +77 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/lib/tzinfo/ruby_core_support.rb +146 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/lib/tzinfo/ruby_country_info.rb +70 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/lib/tzinfo/ruby_data_source.rb +136 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/lib/tzinfo/time_or_datetime.rb +333 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/lib/tzinfo/timezone.rb +636 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/lib/tzinfo/timezone_definition.rb +36 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/lib/tzinfo/timezone_index_definition.rb +54 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/lib/tzinfo/timezone_info.rb +30 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/lib/tzinfo/timezone_offset.rb +74 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/lib/tzinfo/timezone_period.rb +204 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/lib/tzinfo/timezone_proxy.rb +70 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/lib/tzinfo/timezone_transition.rb +120 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/lib/tzinfo/timezone_transition_definition.rb +101 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/lib/tzinfo/transition_data_timezone_info.rb +274 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/lib/tzinfo/zoneinfo_country_info.rb +35 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/lib/tzinfo/zoneinfo_data_source.rb +460 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/lib/tzinfo/zoneinfo_timezone_info.rb +245 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/lib/tzinfo.rb +40 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tc_country.rb +236 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tc_country_index_definition.rb +69 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tc_country_info.rb +16 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tc_country_timezone.rb +161 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tc_data_source.rb +192 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tc_data_timezone.rb +99 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tc_data_timezone_info.rb +18 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tc_info_timezone.rb +34 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tc_linked_timezone.rb +155 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tc_linked_timezone_info.rb +23 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tc_offset_rationals.rb +23 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tc_ruby_core_support.rb +168 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tc_ruby_country_info.rb +80 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tc_ruby_data_source.rb +143 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tc_time_or_datetime.rb +639 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tc_timezone.rb +1334 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tc_timezone_definition.rb +113 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tc_timezone_index_definition.rb +73 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tc_timezone_info.rb +11 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tc_timezone_london.rb +143 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tc_timezone_melbourne.rb +142 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tc_timezone_new_york.rb +142 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tc_timezone_offset.rb +126 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tc_timezone_period.rb +548 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tc_timezone_proxy.rb +113 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tc_timezone_transition.rb +352 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tc_timezone_transition_definition.rb +284 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tc_timezone_utc.rb +27 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tc_transition_data_timezone_info.rb +423 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tc_zoneinfo_country_info.rb +64 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tc_zoneinfo_data_source.rb +985 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tc_zoneinfo_timezone_info.rb +814 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/test_utils.rb +132 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/ts_all.rb +7 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/ts_all_ruby.rb +5 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/ts_all_zoneinfo.rb +7 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tzinfo-data/tzinfo/data/definitions/America/Argentina/Buenos_Aires.rb +89 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tzinfo-data/tzinfo/data/definitions/America/New_York.rb +315 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tzinfo-data/tzinfo/data/definitions/Australia/Melbourne.rb +218 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tzinfo-data/tzinfo/data/definitions/EST.rb +19 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__m__1.rb +21 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__p__1.rb +21 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tzinfo-data/tzinfo/data/definitions/Etc/UTC.rb +21 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tzinfo-data/tzinfo/data/definitions/Europe/Amsterdam.rb +261 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tzinfo-data/tzinfo/data/definitions/Europe/Andorra.rb +186 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tzinfo-data/tzinfo/data/definitions/Europe/London.rb +321 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tzinfo-data/tzinfo/data/definitions/Europe/Paris.rb +265 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tzinfo-data/tzinfo/data/definitions/Europe/Prague.rb +220 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tzinfo-data/tzinfo/data/definitions/UTC.rb +16 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tzinfo-data/tzinfo/data/indexes/countries.rb +927 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tzinfo-data/tzinfo/data/indexes/timezones.rb +594 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tzinfo-data/tzinfo/data/version.rb +14 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/tzinfo-data/tzinfo/data.rb +8 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/zoneinfo/America/Argentina/Buenos_Aires +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/zoneinfo/America/New_York +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/zoneinfo/Australia/Melbourne +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/zoneinfo/EST +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/zoneinfo/Etc/UTC +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/zoneinfo/Europe/Amsterdam +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/zoneinfo/Europe/Andorra +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/zoneinfo/Europe/London +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/zoneinfo/Europe/Paris +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/zoneinfo/Europe/Prague +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/zoneinfo/Factory +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/zoneinfo/iso3166.tab +275 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/zoneinfo/posix/Europe/London +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/zoneinfo/posixrules +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/zoneinfo/right/Europe/London +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/test/zoneinfo/zone.tab +452 -0
- data/vendor/bundle/gems/tzinfo-1.2.1/tzinfo.gemspec +21 -0
- data/vendor/bundle/gems/webmock-1.18.0/.gemtest +0 -0
- data/vendor/bundle/gems/webmock-1.18.0/.gitignore +30 -0
- data/vendor/bundle/gems/webmock-1.18.0/.rspec-tm +2 -0
- data/vendor/bundle/gems/webmock-1.18.0/.travis.yml +17 -0
- data/vendor/bundle/gems/webmock-1.18.0/CHANGELOG.md +1081 -0
- data/vendor/bundle/gems/webmock-1.18.0/Gemfile +20 -0
- data/vendor/bundle/gems/webmock-1.18.0/LICENSE +20 -0
- data/vendor/bundle/gems/webmock-1.18.0/README.md +926 -0
- data/vendor/bundle/gems/webmock-1.18.0/Rakefile +53 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/api.rb +85 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/assertion_failure.rb +11 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/callback_registry.rb +35 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/config.rb +10 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/cucumber.rb +8 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/deprecation.rb +9 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/errors.rb +33 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/http_lib_adapters/curb_adapter.rb +270 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/http_lib_adapters/em_http_request/em_http_request_0_x.rb +147 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/http_lib_adapters/em_http_request/em_http_request_1_x.rb +208 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/http_lib_adapters/em_http_request_adapter.rb +11 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/http_lib_adapters/excon_adapter.rb +154 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/http_lib_adapters/http_gem/client.rb +14 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/http_lib_adapters/http_gem/request.rb +10 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/http_lib_adapters/http_gem/response.rb +21 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/http_lib_adapters/http_gem/streamer.rb +13 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/http_lib_adapters/http_gem/webmock.rb +62 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/http_lib_adapters/http_gem_adapter.rb +38 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/http_lib_adapters/http_lib_adapter.rb +7 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb +19 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/http_lib_adapters/httpclient_adapter.rb +214 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/http_lib_adapters/net_http.rb +307 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/http_lib_adapters/net_http_response.rb +34 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/http_lib_adapters/patron_adapter.rb +126 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/http_lib_adapters/typhoeus_hydra_adapter.rb +169 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/matchers/hash_including_matcher.rb +36 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/minitest.rb +39 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/rack_response.rb +69 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/request_execution_verifier.rb +56 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/request_pattern.rb +315 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/request_registry.rb +35 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/request_signature.rb +50 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/request_stub.rb +97 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/response.rb +146 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/responses_sequence.rb +40 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/rspec/matchers/request_pattern_matcher.rb +44 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/rspec/matchers/webmock_matcher.rb +48 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/rspec/matchers.rb +28 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/rspec.rb +33 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/stub_registry.rb +67 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/stub_request_snippet.rb +30 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/test_unit.rb +20 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/util/hash_counter.rb +32 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/util/hash_keys_stringifier.rb +23 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/util/headers.rb +43 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/util/json.rb +59 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/util/query_mapper.rb +194 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/util/uri.rb +110 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/util/version_checker.rb +94 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/version.rb +3 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock/webmock.rb +126 -0
- data/vendor/bundle/gems/webmock-1.18.0/lib/webmock.rb +52 -0
- data/vendor/bundle/gems/webmock-1.18.0/minitest/test_helper.rb +34 -0
- data/vendor/bundle/gems/webmock-1.18.0/minitest/test_webmock.rb +9 -0
- data/vendor/bundle/gems/webmock-1.18.0/minitest/webmock_spec.rb +60 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/acceptance/curb/curb_spec.rb +401 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/acceptance/curb/curb_spec_helper.rb +144 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/acceptance/em_http_request/em_http_request_spec.rb +273 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/acceptance/em_http_request/em_http_request_spec_helper.rb +73 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/acceptance/excon/excon_spec.rb +65 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/acceptance/excon/excon_spec_helper.rb +43 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/acceptance/http_gem/http_gem_spec.rb +50 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/acceptance/http_gem/http_gem_spec_helper.rb +43 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/acceptance/httpclient/httpclient_spec.rb +155 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/acceptance/httpclient/httpclient_spec_helper.rb +48 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/acceptance/net_http/net_http_shared.rb +142 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/acceptance/net_http/net_http_spec.rb +278 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/acceptance/net_http/net_http_spec_helper.rb +55 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/acceptance/net_http/real_net_http_spec.rb +20 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/acceptance/patron/patron_spec.rb +136 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/acceptance/patron/patron_spec_helper.rb +50 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/acceptance/shared/allowing_and_disabling_net_connect.rb +142 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/acceptance/shared/callbacks.rb +146 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/acceptance/shared/complex_cross_concern_behaviors.rb +36 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/acceptance/shared/enabling_and_disabling_webmock.rb +95 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/acceptance/shared/precedence_of_stubs.rb +15 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/acceptance/shared/request_expectations.rb +666 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/acceptance/shared/returning_declared_responses.rb +388 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/acceptance/shared/stubbing_requests.rb +523 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/acceptance/typhoeus/typhoeus_hydra_spec.rb +123 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/acceptance/typhoeus/typhoeus_hydra_spec_helper.rb +57 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/acceptance/webmock_shared.rb +41 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/quality_spec.rb +84 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/spec_helper.rb +61 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/support/example_curl_output.txt +22 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/support/my_rack_app.rb +53 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/support/network_connection.rb +25 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/support/webmock_server.rb +69 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/unit/api_spec.rb +75 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/unit/errors_spec.rb +50 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/unit/http_lib_adapters/http_lib_adapter_registry_spec.rb +17 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/unit/http_lib_adapters/http_lib_adapter_spec.rb +12 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/unit/matchers/hash_including_matcher_spec.rb +87 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/unit/rack_response_spec.rb +102 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/unit/request_execution_verifier_spec.rb +100 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/unit/request_pattern_spec.rb +545 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/unit/request_registry_spec.rb +75 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/unit/request_signature_spec.rb +113 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/unit/request_stub_spec.rb +198 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/unit/response_spec.rb +271 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/unit/stub_registry_spec.rb +103 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/unit/stub_request_snippet_spec.rb +95 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/unit/util/hash_counter_spec.rb +39 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/unit/util/hash_keys_stringifier_spec.rb +27 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/unit/util/headers_spec.rb +28 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/unit/util/json_spec.rb +7 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/unit/util/query_mapper_spec.rb +30 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/unit/util/uri_spec.rb +270 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/unit/util/version_checker_spec.rb +59 -0
- data/vendor/bundle/gems/webmock-1.18.0/spec/unit/webmock_spec.rb +7 -0
- data/vendor/bundle/gems/webmock-1.18.0/test/http_request.rb +24 -0
- data/vendor/bundle/gems/webmock-1.18.0/test/shared_test.rb +88 -0
- data/vendor/bundle/gems/webmock-1.18.0/test/test_helper.rb +23 -0
- data/vendor/bundle/gems/webmock-1.18.0/test/test_webmock.rb +6 -0
- data/vendor/bundle/gems/webmock-1.18.0/webmock.gemspec +37 -0
- data/vendor/bundle/specifications/activesupport-4.1.1.gemspec +46 -0
- data/vendor/bundle/specifications/addressable-2.3.6.gemspec +42 -0
- data/vendor/bundle/specifications/coderay-1.1.0.gemspec +26 -0
- data/vendor/bundle/specifications/crack-0.4.2.gemspec +32 -0
- data/vendor/bundle/specifications/diff-lcs-1.2.5.gemspec +68 -0
- data/vendor/bundle/specifications/faraday-0.9.0.gemspec +34 -0
- data/vendor/bundle/specifications/hashie-3.0.0.gemspec +35 -0
- data/vendor/bundle/specifications/i18n-0.6.9.gemspec +42 -0
- data/vendor/bundle/specifications/interception-0.5.gemspec +37 -0
- data/vendor/bundle/specifications/method_source-0.8.2.gemspec +34 -0
- data/vendor/bundle/specifications/mini_portile-0.6.0.gemspec +24 -0
- data/vendor/bundle/specifications/minitest-5.3.4.gemspec +39 -0
- data/vendor/bundle/specifications/multipart-post-2.0.0.gemspec +22 -0
- data/vendor/bundle/specifications/nokogiri-1.6.2.1.gemspec +73 -0
- data/vendor/bundle/specifications/pry-0.10.0.gemspec +43 -0
- data/vendor/bundle/specifications/pry-rescue-1.4.1.gemspec +54 -0
- data/vendor/bundle/specifications/rake-10.3.2.gemspec +45 -0
- data/vendor/bundle/specifications/rspec-3.0.0.gemspec +43 -0
- data/vendor/bundle/specifications/rspec-core-3.0.1.gemspec +66 -0
- data/vendor/bundle/specifications/rspec-expectations-3.0.1.gemspec +51 -0
- data/vendor/bundle/specifications/rspec-mocks-3.0.1.gemspec +48 -0
- data/vendor/bundle/specifications/rspec-support-3.0.0.gemspec +42 -0
- data/vendor/bundle/specifications/safe_yaml-1.0.3.gemspec +23 -0
- data/vendor/bundle/specifications/searchbing-0.2.4.gemspec +20 -0
- data/vendor/bundle/specifications/slop-3.5.0.gemspec +36 -0
- data/vendor/bundle/specifications/thor-0.19.1.gemspec +34 -0
- data/vendor/bundle/specifications/thread_safe-0.3.4.gemspec +38 -0
- data/vendor/bundle/specifications/tzinfo-1.2.1.gemspec +37 -0
- data/vendor/bundle/specifications/webmock-1.18.0.gemspec +66 -0
- data/whos_dated_who.gemspec +33 -0
- metadata +2140 -0
@@ -0,0 +1,922 @@
|
|
1
|
+
module ThreadSafe
|
2
|
+
# A Ruby port of the Doug Lea's jsr166e.ConcurrentHashMapV8 class version 1.59 available in public domain.
|
3
|
+
# Original source code available here: http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/jsr166e/ConcurrentHashMapV8.java?revision=1.59
|
4
|
+
#
|
5
|
+
# The Ruby port skips out the +TreeBin+ (red-black trees for use in bins
|
6
|
+
# whose size exceeds a threshold).
|
7
|
+
#
|
8
|
+
# A hash table supporting full concurrency of retrievals and
|
9
|
+
# high expected concurrency for updates. However, even though all
|
10
|
+
# operations are thread-safe, retrieval operations do _not_ entail locking,
|
11
|
+
# and there is _not_ any support for locking the entire table
|
12
|
+
# in a way that prevents all access.
|
13
|
+
#
|
14
|
+
# Retrieval operations generally do not block, so may overlap with
|
15
|
+
# update operations. Retrievals reflect the results of the most
|
16
|
+
# recently _completed_ update operations holding upon their
|
17
|
+
# onset. (More formally, an update operation for a given key bears a
|
18
|
+
# _happens-before_ relation with any (non +nil+) retrieval for
|
19
|
+
# that key reporting the updated value.) For aggregate operations
|
20
|
+
# such as +clear()+, concurrent retrievals may reflect insertion or removal
|
21
|
+
# of only some entries. Similarly, the +each_pair+ iterator yields elements
|
22
|
+
# reflecting the state of the hash table at some point at or since
|
23
|
+
# the start of the +each_pair+. Bear in mind that the results of
|
24
|
+
# aggregate status methods including +size()+ and +empty?+} are typically
|
25
|
+
# useful only when a map is not undergoing concurrent updates in other
|
26
|
+
# threads. Otherwise the results of these methods reflect transient
|
27
|
+
# states that may be adequate for monitoring or estimation purposes, but not
|
28
|
+
# for program control.
|
29
|
+
#
|
30
|
+
# The table is dynamically expanded when there are too many
|
31
|
+
# collisions (i.e., keys that have distinct hash codes but fall into
|
32
|
+
# the same slot modulo the table size), with the expected average
|
33
|
+
# effect of maintaining roughly two bins per mapping (corresponding
|
34
|
+
# to a 0.75 load factor threshold for resizing). There may be much
|
35
|
+
# variance around this average as mappings are added and removed, but
|
36
|
+
# overall, this maintains a commonly accepted time/space tradeoff for
|
37
|
+
# hash tables. However, resizing this or any other kind of hash
|
38
|
+
# table may be a relatively slow operation. When possible, it is a
|
39
|
+
# good idea to provide a size estimate as an optional :initial_capacity
|
40
|
+
# initializer argument. An additional optional :load_factor constructor
|
41
|
+
# argument provides a further means of customizing initial table capacity
|
42
|
+
# by specifying the table density to be used in calculating the amount of
|
43
|
+
# space to allocate for the given number of elements. Note that using
|
44
|
+
# many keys with exactly the same +hash+ is a sure way to slow down
|
45
|
+
# performance of any hash table.
|
46
|
+
#
|
47
|
+
# == Design overview
|
48
|
+
#
|
49
|
+
# The primary design goal of this hash table is to maintain
|
50
|
+
# concurrent readability (typically method +[]+, but also
|
51
|
+
# iteration and related methods) while minimizing update
|
52
|
+
# contention. Secondary goals are to keep space consumption about
|
53
|
+
# the same or better than plain +Hash+, and to support high
|
54
|
+
# initial insertion rates on an empty table by many threads.
|
55
|
+
#
|
56
|
+
# Each key-value mapping is held in a +Node+. The validation-based
|
57
|
+
# approach explained below leads to a lot of code sprawl because
|
58
|
+
# retry-control precludes factoring into smaller methods.
|
59
|
+
#
|
60
|
+
# The table is lazily initialized to a power-of-two size upon the
|
61
|
+
# first insertion. Each bin in the table normally contains a
|
62
|
+
# list of +Node+s (most often, the list has only zero or one +Node+).
|
63
|
+
# Table accesses require volatile/atomic reads, writes, and
|
64
|
+
# CASes. The lists of nodes within bins are always accurately traversable
|
65
|
+
# under volatile reads, so long as lookups check hash code
|
66
|
+
# and non-nullness of value before checking key equality.
|
67
|
+
#
|
68
|
+
# We use the top two bits of +Node+ hash fields for control
|
69
|
+
# purposes -- they are available anyway because of addressing
|
70
|
+
# constraints. As explained further below, these top bits are
|
71
|
+
# used as follows:
|
72
|
+
# 00 - Normal
|
73
|
+
# 01 - Locked
|
74
|
+
# 11 - Locked and may have a thread waiting for lock
|
75
|
+
# 10 - +Node+ is a forwarding node
|
76
|
+
#
|
77
|
+
# The lower 28 bits of each +Node+'s hash field contain a
|
78
|
+
# the key's hash code, except for forwarding nodes, for which
|
79
|
+
# the lower bits are zero (and so always have hash field == +MOVED+).
|
80
|
+
#
|
81
|
+
# Insertion (via +[]=+ or its variants) of the first node in an
|
82
|
+
# empty bin is performed by just CASing it to the bin. This is
|
83
|
+
# by far the most common case for put operations under most
|
84
|
+
# key/hash distributions. Other update operations (insert,
|
85
|
+
# delete, and replace) require locks. We do not want to waste
|
86
|
+
# the space required to associate a distinct lock object with
|
87
|
+
# each bin, so instead use the first node of a bin list itself as
|
88
|
+
# a lock. Blocking support for these locks relies +Util::CheapLockable.
|
89
|
+
# However, we also need a +try_lock+ construction, so we overlay
|
90
|
+
# these by using bits of the +Node+ hash field for lock control (see above),
|
91
|
+
# and so normally use builtin monitors only for blocking and signalling using
|
92
|
+
# +cheap_wait+/+cheap_broadcast+ constructions. See +Node#try_await_lock+.
|
93
|
+
#
|
94
|
+
# Using the first node of a list as a lock does not by itself
|
95
|
+
# suffice though: When a node is locked, any update must first
|
96
|
+
# validate that it is still the first node after locking it, and
|
97
|
+
# retry if not. Because new nodes are always appended to lists,
|
98
|
+
# once a node is first in a bin, it remains first until deleted
|
99
|
+
# or the bin becomes invalidated (upon resizing). However,
|
100
|
+
# operations that only conditionally update may inspect nodes
|
101
|
+
# until the point of update. This is a converse of sorts to the
|
102
|
+
# lazy locking technique described by Herlihy & Shavit.
|
103
|
+
#
|
104
|
+
# The main disadvantage of per-bin locks is that other update
|
105
|
+
# operations on other nodes in a bin list protected by the same
|
106
|
+
# lock can stall, for example when user +eql?+ or mapping
|
107
|
+
# functions take a long time. However, statistically, under
|
108
|
+
# random hash codes, this is not a common problem. Ideally, the
|
109
|
+
# frequency of nodes in bins follows a Poisson distribution
|
110
|
+
# (http://en.wikipedia.org/wiki/Poisson_distribution) with a
|
111
|
+
# parameter of about 0.5 on average, given the resizing threshold
|
112
|
+
# of 0.75, although with a large variance because of resizing
|
113
|
+
# granularity. Ignoring variance, the expected occurrences of
|
114
|
+
# list size k are (exp(-0.5) * pow(0.5, k) / factorial(k)). The
|
115
|
+
# first values are:
|
116
|
+
#
|
117
|
+
# 0: 0.60653066
|
118
|
+
# 1: 0.30326533
|
119
|
+
# 2: 0.07581633
|
120
|
+
# 3: 0.01263606
|
121
|
+
# 4: 0.00157952
|
122
|
+
# 5: 0.00015795
|
123
|
+
# 6: 0.00001316
|
124
|
+
# 7: 0.00000094
|
125
|
+
# 8: 0.00000006
|
126
|
+
# more: less than 1 in ten million
|
127
|
+
#
|
128
|
+
# Lock contention probability for two threads accessing distinct
|
129
|
+
# elements is roughly 1 / (8 * #elements) under random hashes.
|
130
|
+
#
|
131
|
+
# The table is resized when occupancy exceeds a percentage
|
132
|
+
# threshold (nominally, 0.75, but see below). Only a single
|
133
|
+
# thread performs the resize (using field +size_control+, to arrange
|
134
|
+
# exclusion), but the table otherwise remains usable for reads
|
135
|
+
# and updates. Resizing proceeds by transferring bins, one by
|
136
|
+
# one, from the table to the next table. Because we are using
|
137
|
+
# power-of-two expansion, the elements from each bin must either
|
138
|
+
# stay at same index, or move with a power of two offset. We
|
139
|
+
# eliminate unnecessary node creation by catching cases where old
|
140
|
+
# nodes can be reused because their next fields won't change. On
|
141
|
+
# average, only about one-sixth of them need cloning when a table
|
142
|
+
# doubles. The nodes they replace will be garbage collectable as
|
143
|
+
# soon as they are no longer referenced by any reader thread that
|
144
|
+
# may be in the midst of concurrently traversing table. Upon
|
145
|
+
# transfer, the old table bin contains only a special forwarding
|
146
|
+
# node (with hash field +MOVED+) that contains the next table as
|
147
|
+
# its key. On encountering a forwarding node, access and update
|
148
|
+
# operations restart, using the new table.
|
149
|
+
#
|
150
|
+
# Each bin transfer requires its bin lock. However, unlike other
|
151
|
+
# cases, a transfer can skip a bin if it fails to acquire its
|
152
|
+
# lock, and revisit it later. Method +rebuild+ maintains a buffer of
|
153
|
+
# TRANSFER_BUFFER_SIZE bins that have been skipped because of failure
|
154
|
+
# to acquire a lock, and blocks only if none are available
|
155
|
+
# (i.e., only very rarely). The transfer operation must also ensure
|
156
|
+
# that all accessible bins in both the old and new table are usable by
|
157
|
+
# any traversal. When there are no lock acquisition failures, this is
|
158
|
+
# arranged simply by proceeding from the last bin (+table.size - 1+) up
|
159
|
+
# towards the first. Upon seeing a forwarding node, traversals arrange
|
160
|
+
# to move to the new table without revisiting nodes. However, when any
|
161
|
+
# node is skipped during a transfer, all earlier table bins may have
|
162
|
+
# become visible, so are initialized with a reverse-forwarding node back
|
163
|
+
# to the old table until the new ones are established. (This
|
164
|
+
# sometimes requires transiently locking a forwarding node, which
|
165
|
+
# is possible under the above encoding.) These more expensive
|
166
|
+
# mechanics trigger only when necessary.
|
167
|
+
#
|
168
|
+
# The traversal scheme also applies to partial traversals of
|
169
|
+
# ranges of bins (via an alternate Traverser constructor)
|
170
|
+
# to support partitioned aggregate operations. Also, read-only
|
171
|
+
# operations give up if ever forwarded to a null table, which
|
172
|
+
# provides support for shutdown-style clearing, which is also not
|
173
|
+
# currently implemented.
|
174
|
+
#
|
175
|
+
# Lazy table initialization minimizes footprint until first use.
|
176
|
+
#
|
177
|
+
# The element count is maintained using a +ThreadSafe::Util::Adder+,
|
178
|
+
# which avoids contention on updates but can encounter cache thrashing
|
179
|
+
# if read too frequently during concurrent access. To avoid reading so
|
180
|
+
# often, resizing is attempted either when a bin lock is
|
181
|
+
# contended, or upon adding to a bin already holding two or more
|
182
|
+
# nodes (checked before adding in the +x_if_absent+ methods, after
|
183
|
+
# adding in others). Under uniform hash distributions, the
|
184
|
+
# probability of this occurring at threshold is around 13%,
|
185
|
+
# meaning that only about 1 in 8 puts check threshold (and after
|
186
|
+
# resizing, many fewer do so). But this approximation has high
|
187
|
+
# variance for small table sizes, so we check on any collision
|
188
|
+
# for sizes <= 64. The bulk putAll operation further reduces
|
189
|
+
# contention by only committing count updates upon these size
|
190
|
+
# checks.
|
191
|
+
class AtomicReferenceCacheBackend
|
192
|
+
class Table < Util::PowerOfTwoTuple
|
193
|
+
def cas_new_node(i, hash, key, value)
|
194
|
+
cas(i, nil, Node.new(hash, key, value))
|
195
|
+
end
|
196
|
+
|
197
|
+
def try_to_cas_in_computed(i, hash, key)
|
198
|
+
succeeded = false
|
199
|
+
new_value = nil
|
200
|
+
new_node = Node.new(locked_hash = hash | LOCKED, key, NULL)
|
201
|
+
if cas(i, nil, new_node)
|
202
|
+
begin
|
203
|
+
if NULL == (new_value = yield(NULL))
|
204
|
+
was_null = true
|
205
|
+
else
|
206
|
+
new_node.value = new_value
|
207
|
+
end
|
208
|
+
succeeded = true
|
209
|
+
ensure
|
210
|
+
volatile_set(i, nil) if !succeeded || was_null
|
211
|
+
new_node.unlock_via_hash(locked_hash, hash)
|
212
|
+
end
|
213
|
+
end
|
214
|
+
return succeeded, new_value
|
215
|
+
end
|
216
|
+
|
217
|
+
def try_lock_via_hash(i, node, node_hash)
|
218
|
+
node.try_lock_via_hash(node_hash) do
|
219
|
+
yield if volatile_get(i) == node
|
220
|
+
end
|
221
|
+
end
|
222
|
+
|
223
|
+
def delete_node_at(i, node, predecessor_node)
|
224
|
+
if predecessor_node
|
225
|
+
predecessor_node.next = node.next
|
226
|
+
else
|
227
|
+
volatile_set(i, node.next)
|
228
|
+
end
|
229
|
+
end
|
230
|
+
end
|
231
|
+
|
232
|
+
# Key-value entry. Nodes with a hash field of +MOVED+ are special,
|
233
|
+
# and do not contain user keys or values. Otherwise, keys are never +nil+,
|
234
|
+
# and +NULL+ +value+ fields indicate that a node is in the process
|
235
|
+
# of being deleted or created. For purposes of read-only access, a key may be read
|
236
|
+
# before a value, but can only be used after checking value to be +!= NULL+.
|
237
|
+
class Node
|
238
|
+
extend Util::Volatile
|
239
|
+
attr_volatile :hash, :value, :next
|
240
|
+
|
241
|
+
include Util::CheapLockable
|
242
|
+
|
243
|
+
bit_shift = Util::FIXNUM_BIT_SIZE - 2 # need 2 bits for ourselves
|
244
|
+
# Encodings for special uses of Node hash fields. See above for explanation.
|
245
|
+
MOVED = ('10' << ('0' * bit_shift)).to_i(2) # hash field for forwarding nodes
|
246
|
+
LOCKED = ('01' << ('0' * bit_shift)).to_i(2) # set/tested only as a bit
|
247
|
+
WAITING = ('11' << ('0' * bit_shift)).to_i(2) # both bits set/tested together
|
248
|
+
HASH_BITS = ('00' << ('1' * bit_shift)).to_i(2) # usable bits of normal node hash
|
249
|
+
|
250
|
+
SPIN_LOCK_ATTEMPTS = Util::CPU_COUNT > 1 ? Util::CPU_COUNT * 2 : 0
|
251
|
+
|
252
|
+
attr_reader :key
|
253
|
+
|
254
|
+
def initialize(hash, key, value, next_node = nil)
|
255
|
+
super()
|
256
|
+
@key = key
|
257
|
+
self.lazy_set_hash(hash)
|
258
|
+
self.lazy_set_value(value)
|
259
|
+
self.next = next_node
|
260
|
+
end
|
261
|
+
|
262
|
+
# Spins a while if +LOCKED+ bit set and this node is the first
|
263
|
+
# of its bin, and then sets +WAITING+ bits on hash field and
|
264
|
+
# blocks (once) if they are still set. It is OK for this
|
265
|
+
# method to return even if lock is not available upon exit,
|
266
|
+
# which enables these simple single-wait mechanics.
|
267
|
+
#
|
268
|
+
# The corresponding signalling operation is performed within
|
269
|
+
# callers: Upon detecting that +WAITING+ has been set when
|
270
|
+
# unlocking lock (via a failed CAS from non-waiting +LOCKED+
|
271
|
+
# state), unlockers acquire the +cheap_synchronize+ lock and
|
272
|
+
# perform a +cheap_broadcast+.
|
273
|
+
def try_await_lock(table, i)
|
274
|
+
if table && i >= 0 && i < table.size # bounds check, TODO: why are we bounds checking?
|
275
|
+
spins = SPIN_LOCK_ATTEMPTS
|
276
|
+
randomizer = base_randomizer = Util::XorShiftRandom.get
|
277
|
+
while equal?(table.volatile_get(i)) && self.class.locked_hash?(my_hash = hash)
|
278
|
+
if spins >= 0
|
279
|
+
if (randomizer = (randomizer >> 1)).even? # spin at random
|
280
|
+
if (spins -= 1) == 0
|
281
|
+
Thread.pass # yield before blocking
|
282
|
+
else
|
283
|
+
randomizer = base_randomizer = Util::XorShiftRandom.xorshift(base_randomizer) if randomizer.zero?
|
284
|
+
end
|
285
|
+
end
|
286
|
+
elsif cas_hash(my_hash, my_hash | WAITING)
|
287
|
+
force_aquire_lock(table, i)
|
288
|
+
break
|
289
|
+
end
|
290
|
+
end
|
291
|
+
end
|
292
|
+
end
|
293
|
+
|
294
|
+
def key?(key)
|
295
|
+
@key.eql?(key)
|
296
|
+
end
|
297
|
+
|
298
|
+
def matches?(key, hash)
|
299
|
+
pure_hash == hash && key?(key)
|
300
|
+
end
|
301
|
+
|
302
|
+
def pure_hash
|
303
|
+
hash & HASH_BITS
|
304
|
+
end
|
305
|
+
|
306
|
+
def try_lock_via_hash(node_hash = hash)
|
307
|
+
if cas_hash(node_hash, locked_hash = node_hash | LOCKED)
|
308
|
+
begin
|
309
|
+
yield
|
310
|
+
ensure
|
311
|
+
unlock_via_hash(locked_hash, node_hash)
|
312
|
+
end
|
313
|
+
end
|
314
|
+
end
|
315
|
+
|
316
|
+
def locked?
|
317
|
+
self.class.locked_hash?(hash)
|
318
|
+
end
|
319
|
+
|
320
|
+
def unlock_via_hash(locked_hash, node_hash)
|
321
|
+
unless cas_hash(locked_hash, node_hash)
|
322
|
+
self.hash = node_hash
|
323
|
+
cheap_synchronize { cheap_broadcast }
|
324
|
+
end
|
325
|
+
end
|
326
|
+
|
327
|
+
private
|
328
|
+
def force_aquire_lock(table, i)
|
329
|
+
cheap_synchronize do
|
330
|
+
if equal?(table.volatile_get(i)) && (hash & WAITING) == WAITING
|
331
|
+
cheap_wait
|
332
|
+
else
|
333
|
+
cheap_broadcast # possibly won race vs signaller
|
334
|
+
end
|
335
|
+
end
|
336
|
+
end
|
337
|
+
|
338
|
+
class << self
|
339
|
+
def locked_hash?(hash)
|
340
|
+
(hash & LOCKED) != 0
|
341
|
+
end
|
342
|
+
end
|
343
|
+
end
|
344
|
+
|
345
|
+
# shorthands
|
346
|
+
MOVED = Node::MOVED
|
347
|
+
LOCKED = Node::LOCKED
|
348
|
+
WAITING = Node::WAITING
|
349
|
+
HASH_BITS = Node::HASH_BITS
|
350
|
+
|
351
|
+
NOW_RESIZING = -1
|
352
|
+
DEFAULT_CAPACITY = 16
|
353
|
+
MAX_CAPACITY = Util::MAX_INT
|
354
|
+
|
355
|
+
# The buffer size for skipped bins during transfers. The
|
356
|
+
# value is arbitrary but should be large enough to avoid
|
357
|
+
# most locking stalls during resizes.
|
358
|
+
TRANSFER_BUFFER_SIZE = 32
|
359
|
+
|
360
|
+
extend Util::Volatile
|
361
|
+
attr_volatile :table, # The array of bins. Lazily initialized upon first insertion. Size is always a power of two.
|
362
|
+
|
363
|
+
# Table initialization and resizing control. When negative, the
|
364
|
+
# table is being initialized or resized. Otherwise, when table is
|
365
|
+
# null, holds the initial table size to use upon creation, or 0
|
366
|
+
# for default. After initialization, holds the next element count
|
367
|
+
# value upon which to resize the table.
|
368
|
+
:size_control
|
369
|
+
|
370
|
+
def initialize(options = nil)
|
371
|
+
super()
|
372
|
+
@counter = Util::Adder.new
|
373
|
+
initial_capacity = options && options[:initial_capacity] || DEFAULT_CAPACITY
|
374
|
+
self.size_control = (capacity = table_size_for(initial_capacity)) > MAX_CAPACITY ? MAX_CAPACITY : capacity
|
375
|
+
end
|
376
|
+
|
377
|
+
def get_or_default(key, else_value = nil)
|
378
|
+
hash = key_hash(key)
|
379
|
+
current_table = table
|
380
|
+
while current_table
|
381
|
+
node = current_table.volatile_get_by_hash(hash)
|
382
|
+
current_table =
|
383
|
+
while node
|
384
|
+
if (node_hash = node.hash) == MOVED
|
385
|
+
break node.key
|
386
|
+
elsif (node_hash & HASH_BITS) == hash && node.key?(key) && NULL != (value = node.value)
|
387
|
+
return value
|
388
|
+
end
|
389
|
+
node = node.next
|
390
|
+
end
|
391
|
+
end
|
392
|
+
else_value
|
393
|
+
end
|
394
|
+
|
395
|
+
def [](key)
|
396
|
+
get_or_default(key)
|
397
|
+
end
|
398
|
+
|
399
|
+
def key?(key)
|
400
|
+
get_or_default(key, NULL) != NULL
|
401
|
+
end
|
402
|
+
|
403
|
+
def []=(key, value)
|
404
|
+
get_and_set(key, value)
|
405
|
+
value
|
406
|
+
end
|
407
|
+
|
408
|
+
def compute_if_absent(key)
|
409
|
+
hash = key_hash(key)
|
410
|
+
current_table = table || initialize_table
|
411
|
+
while true
|
412
|
+
if !(node = current_table.volatile_get(i = current_table.hash_to_index(hash)))
|
413
|
+
succeeded, new_value = current_table.try_to_cas_in_computed(i, hash, key) { yield }
|
414
|
+
if succeeded
|
415
|
+
increment_size
|
416
|
+
return new_value
|
417
|
+
end
|
418
|
+
elsif (node_hash = node.hash) == MOVED
|
419
|
+
current_table = node.key
|
420
|
+
elsif NULL != (current_value = find_value_in_node_list(node, key, hash, node_hash & HASH_BITS))
|
421
|
+
return current_value
|
422
|
+
elsif Node.locked_hash?(node_hash)
|
423
|
+
try_await_lock(current_table, i, node)
|
424
|
+
else
|
425
|
+
succeeded, value = attempt_internal_compute_if_absent(key, hash, current_table, i, node, node_hash) { yield }
|
426
|
+
return value if succeeded
|
427
|
+
end
|
428
|
+
end
|
429
|
+
end
|
430
|
+
|
431
|
+
def compute_if_present(key)
|
432
|
+
new_value = nil
|
433
|
+
internal_replace(key) do |old_value|
|
434
|
+
if (new_value = yield(NULL == old_value ? nil : old_value)).nil?
|
435
|
+
NULL
|
436
|
+
else
|
437
|
+
new_value
|
438
|
+
end
|
439
|
+
end
|
440
|
+
new_value
|
441
|
+
end
|
442
|
+
|
443
|
+
def compute(key)
|
444
|
+
internal_compute(key) do |old_value|
|
445
|
+
if (new_value = yield(NULL == old_value ? nil : old_value)).nil?
|
446
|
+
NULL
|
447
|
+
else
|
448
|
+
new_value
|
449
|
+
end
|
450
|
+
end
|
451
|
+
end
|
452
|
+
|
453
|
+
def merge_pair(key, value)
|
454
|
+
internal_compute(key) do |old_value|
|
455
|
+
if NULL == old_value || !(value = yield(old_value)).nil?
|
456
|
+
value
|
457
|
+
else
|
458
|
+
NULL
|
459
|
+
end
|
460
|
+
end
|
461
|
+
end
|
462
|
+
|
463
|
+
def replace_pair(key, old_value, new_value)
|
464
|
+
NULL != internal_replace(key, old_value) { new_value }
|
465
|
+
end
|
466
|
+
|
467
|
+
def replace_if_exists(key, new_value)
|
468
|
+
if (result = internal_replace(key) { new_value }) && NULL != result
|
469
|
+
result
|
470
|
+
end
|
471
|
+
end
|
472
|
+
|
473
|
+
def get_and_set(key, value) # internalPut in the original CHMV8
|
474
|
+
hash = key_hash(key)
|
475
|
+
current_table = table || initialize_table
|
476
|
+
while true
|
477
|
+
if !(node = current_table.volatile_get(i = current_table.hash_to_index(hash)))
|
478
|
+
if current_table.cas_new_node(i, hash, key, value)
|
479
|
+
increment_size
|
480
|
+
break
|
481
|
+
end
|
482
|
+
elsif (node_hash = node.hash) == MOVED
|
483
|
+
current_table = node.key
|
484
|
+
elsif Node.locked_hash?(node_hash)
|
485
|
+
try_await_lock(current_table, i, node)
|
486
|
+
else
|
487
|
+
succeeded, old_value = attempt_get_and_set(key, value, hash, current_table, i, node, node_hash)
|
488
|
+
break old_value if succeeded
|
489
|
+
end
|
490
|
+
end
|
491
|
+
end
|
492
|
+
|
493
|
+
def delete(key)
|
494
|
+
replace_if_exists(key, NULL)
|
495
|
+
end
|
496
|
+
|
497
|
+
def delete_pair(key, value)
|
498
|
+
result = internal_replace(key, value) { NULL }
|
499
|
+
if result && NULL != result
|
500
|
+
!!result
|
501
|
+
else
|
502
|
+
false
|
503
|
+
end
|
504
|
+
end
|
505
|
+
|
506
|
+
def each_pair
|
507
|
+
return self unless current_table = table
|
508
|
+
current_table_size = base_size = current_table.size
|
509
|
+
i = base_index = 0
|
510
|
+
while base_index < base_size
|
511
|
+
if node = current_table.volatile_get(i)
|
512
|
+
if node.hash == MOVED
|
513
|
+
current_table = node.key
|
514
|
+
current_table_size = current_table.size
|
515
|
+
else
|
516
|
+
begin
|
517
|
+
if NULL != (value = node.value) # skip deleted or special nodes
|
518
|
+
yield node.key, value
|
519
|
+
end
|
520
|
+
end while node = node.next
|
521
|
+
end
|
522
|
+
end
|
523
|
+
|
524
|
+
if (i_with_base = i + base_size) < current_table_size
|
525
|
+
i = i_with_base # visit upper slots if present
|
526
|
+
else
|
527
|
+
i = base_index += 1
|
528
|
+
end
|
529
|
+
end
|
530
|
+
self
|
531
|
+
end
|
532
|
+
|
533
|
+
def size
|
534
|
+
(sum = @counter.sum) < 0 ? 0 : sum # ignore transient negative values
|
535
|
+
end
|
536
|
+
|
537
|
+
def empty?
|
538
|
+
size == 0
|
539
|
+
end
|
540
|
+
|
541
|
+
# Implementation for clear. Steps through each bin, removing all nodes.
|
542
|
+
def clear
|
543
|
+
return self unless current_table = table
|
544
|
+
current_table_size = current_table.size
|
545
|
+
deleted_count = i = 0
|
546
|
+
while i < current_table_size
|
547
|
+
if !(node = current_table.volatile_get(i))
|
548
|
+
i += 1
|
549
|
+
elsif (node_hash = node.hash) == MOVED
|
550
|
+
current_table = node.key
|
551
|
+
current_table_size = current_table.size
|
552
|
+
elsif Node.locked_hash?(node_hash)
|
553
|
+
decrement_size(deleted_count) # opportunistically update count
|
554
|
+
deleted_count = 0
|
555
|
+
node.try_await_lock(current_table, i)
|
556
|
+
else
|
557
|
+
current_table.try_lock_via_hash(i, node, node_hash) do
|
558
|
+
begin
|
559
|
+
deleted_count += 1 if NULL != node.value # recheck under lock
|
560
|
+
node.value = nil
|
561
|
+
end while node = node.next
|
562
|
+
current_table.volatile_set(i, nil)
|
563
|
+
i += 1
|
564
|
+
end
|
565
|
+
end
|
566
|
+
end
|
567
|
+
decrement_size(deleted_count)
|
568
|
+
self
|
569
|
+
end
|
570
|
+
|
571
|
+
private
|
572
|
+
# Internal versions of the insertion methods, each a
|
573
|
+
# little more complicated than the last. All have
|
574
|
+
# the same basic structure:
|
575
|
+
# 1. If table uninitialized, create
|
576
|
+
# 2. If bin empty, try to CAS new node
|
577
|
+
# 3. If bin stale, use new table
|
578
|
+
# 4. Lock and validate; if valid, scan and add or update
|
579
|
+
#
|
580
|
+
# The others interweave other checks and/or alternative actions:
|
581
|
+
# * Plain +get_and_set+ checks for and performs resize after insertion.
|
582
|
+
# * compute_if_absent prescans for mapping without lock (and fails to add
|
583
|
+
# if present), which also makes pre-emptive resize checks worthwhile.
|
584
|
+
#
|
585
|
+
# Someday when details settle down a bit more, it might be worth
|
586
|
+
# some factoring to reduce sprawl.
|
587
|
+
def internal_replace(key, expected_old_value = NULL, &block)
|
588
|
+
hash = key_hash(key)
|
589
|
+
current_table = table
|
590
|
+
while current_table
|
591
|
+
if !(node = current_table.volatile_get(i = current_table.hash_to_index(hash)))
|
592
|
+
break
|
593
|
+
elsif (node_hash = node.hash) == MOVED
|
594
|
+
current_table = node.key
|
595
|
+
elsif (node_hash & HASH_BITS) != hash && !node.next # precheck
|
596
|
+
break # rules out possible existence
|
597
|
+
elsif Node.locked_hash?(node_hash)
|
598
|
+
try_await_lock(current_table, i, node)
|
599
|
+
else
|
600
|
+
succeeded, old_value = attempt_internal_replace(key, expected_old_value, hash, current_table, i, node, node_hash, &block)
|
601
|
+
return old_value if succeeded
|
602
|
+
end
|
603
|
+
end
|
604
|
+
NULL
|
605
|
+
end
|
606
|
+
|
607
|
+
def attempt_internal_replace(key, expected_old_value, hash, current_table, i, node, node_hash)
|
608
|
+
current_table.try_lock_via_hash(i, node, node_hash) do
|
609
|
+
predecessor_node = nil
|
610
|
+
old_value = NULL
|
611
|
+
begin
|
612
|
+
if node.matches?(key, hash) && NULL != (current_value = node.value)
|
613
|
+
if NULL == expected_old_value || expected_old_value == current_value # NULL == expected_old_value means whatever value
|
614
|
+
old_value = current_value
|
615
|
+
if NULL == (node.value = yield(old_value))
|
616
|
+
current_table.delete_node_at(i, node, predecessor_node)
|
617
|
+
decrement_size
|
618
|
+
end
|
619
|
+
end
|
620
|
+
break
|
621
|
+
end
|
622
|
+
|
623
|
+
predecessor_node = node
|
624
|
+
end while node = node.next
|
625
|
+
|
626
|
+
return true, old_value
|
627
|
+
end
|
628
|
+
end
|
629
|
+
|
630
|
+
def find_value_in_node_list(node, key, hash, pure_hash)
|
631
|
+
do_check_for_resize = false
|
632
|
+
while true
|
633
|
+
if pure_hash == hash && node.key?(key) && NULL != (value = node.value)
|
634
|
+
return value
|
635
|
+
elsif node = node.next
|
636
|
+
do_check_for_resize = true # at least 2 nodes -> check for resize
|
637
|
+
pure_hash = node.pure_hash
|
638
|
+
else
|
639
|
+
return NULL
|
640
|
+
end
|
641
|
+
end
|
642
|
+
ensure
|
643
|
+
check_for_resize if do_check_for_resize
|
644
|
+
end
|
645
|
+
|
646
|
+
def internal_compute(key, &block)
|
647
|
+
hash = key_hash(key)
|
648
|
+
current_table = table || initialize_table
|
649
|
+
while true
|
650
|
+
if !(node = current_table.volatile_get(i = current_table.hash_to_index(hash)))
|
651
|
+
succeeded, new_value = current_table.try_to_cas_in_computed(i, hash, key, &block)
|
652
|
+
if succeeded
|
653
|
+
if NULL == new_value
|
654
|
+
break nil
|
655
|
+
else
|
656
|
+
increment_size
|
657
|
+
break new_value
|
658
|
+
end
|
659
|
+
end
|
660
|
+
elsif (node_hash = node.hash) == MOVED
|
661
|
+
current_table = node.key
|
662
|
+
elsif Node.locked_hash?(node_hash)
|
663
|
+
try_await_lock(current_table, i, node)
|
664
|
+
else
|
665
|
+
succeeded, new_value = attempt_compute(key, hash, current_table, i, node, node_hash, &block)
|
666
|
+
break new_value if succeeded
|
667
|
+
end
|
668
|
+
end
|
669
|
+
end
|
670
|
+
|
671
|
+
def attempt_internal_compute_if_absent(key, hash, current_table, i, node, node_hash)
|
672
|
+
added = false
|
673
|
+
current_table.try_lock_via_hash(i, node, node_hash) do
|
674
|
+
while true
|
675
|
+
if node.matches?(key, hash) && NULL != (value = node.value)
|
676
|
+
return true, value
|
677
|
+
end
|
678
|
+
last = node
|
679
|
+
unless node = node.next
|
680
|
+
last.next = Node.new(hash, key, value = yield)
|
681
|
+
added = true
|
682
|
+
increment_size
|
683
|
+
return true, value
|
684
|
+
end
|
685
|
+
end
|
686
|
+
end
|
687
|
+
ensure
|
688
|
+
check_for_resize if added
|
689
|
+
end
|
690
|
+
|
691
|
+
def attempt_compute(key, hash, current_table, i, node, node_hash)
|
692
|
+
added = false
|
693
|
+
current_table.try_lock_via_hash(i, node, node_hash) do
|
694
|
+
predecessor_node = nil
|
695
|
+
while true
|
696
|
+
if node.matches?(key, hash) && NULL != (value = node.value)
|
697
|
+
if NULL == (node.value = value = yield(value))
|
698
|
+
current_table.delete_node_at(i, node, predecessor_node)
|
699
|
+
decrement_size
|
700
|
+
value = nil
|
701
|
+
end
|
702
|
+
return true, value
|
703
|
+
end
|
704
|
+
predecessor_node = node
|
705
|
+
unless node = node.next
|
706
|
+
if NULL == (value = yield(NULL))
|
707
|
+
value = nil
|
708
|
+
else
|
709
|
+
predecessor_node.next = Node.new(hash, key, value)
|
710
|
+
added = true
|
711
|
+
increment_size
|
712
|
+
end
|
713
|
+
return true, value
|
714
|
+
end
|
715
|
+
end
|
716
|
+
end
|
717
|
+
ensure
|
718
|
+
check_for_resize if added
|
719
|
+
end
|
720
|
+
|
721
|
+
def attempt_get_and_set(key, value, hash, current_table, i, node, node_hash)
|
722
|
+
node_nesting = nil
|
723
|
+
current_table.try_lock_via_hash(i, node, node_hash) do
|
724
|
+
node_nesting = 1
|
725
|
+
old_value = nil
|
726
|
+
found_old_value = false
|
727
|
+
while node
|
728
|
+
if node.matches?(key, hash) && NULL != (old_value = node.value)
|
729
|
+
found_old_value = true
|
730
|
+
node.value = value
|
731
|
+
break
|
732
|
+
end
|
733
|
+
last = node
|
734
|
+
unless node = node.next
|
735
|
+
last.next = Node.new(hash, key, value)
|
736
|
+
break
|
737
|
+
end
|
738
|
+
node_nesting += 1
|
739
|
+
end
|
740
|
+
|
741
|
+
return true, old_value if found_old_value
|
742
|
+
increment_size
|
743
|
+
true
|
744
|
+
end
|
745
|
+
ensure
|
746
|
+
check_for_resize if node_nesting && (node_nesting > 1 || current_table.size <= 64)
|
747
|
+
end
|
748
|
+
|
749
|
+
def initialize_copy(other)
|
750
|
+
super
|
751
|
+
@counter = Util::Adder.new
|
752
|
+
self.table = nil
|
753
|
+
self.size_control = (other_table = other.table) ? other_table.size : DEFAULT_CAPACITY
|
754
|
+
self
|
755
|
+
end
|
756
|
+
|
757
|
+
def try_await_lock(current_table, i, node)
|
758
|
+
check_for_resize # try resizing if can't get lock
|
759
|
+
node.try_await_lock(current_table, i)
|
760
|
+
end
|
761
|
+
|
762
|
+
def key_hash(key)
|
763
|
+
key.hash & HASH_BITS
|
764
|
+
end
|
765
|
+
|
766
|
+
# Returns a power of two table size for the given desired capacity.
|
767
|
+
def table_size_for(entry_count)
|
768
|
+
size = 2
|
769
|
+
size <<= 1 while size < entry_count
|
770
|
+
size
|
771
|
+
end
|
772
|
+
|
773
|
+
# Initializes table, using the size recorded in +size_control+.
|
774
|
+
def initialize_table
|
775
|
+
until current_table ||= table
|
776
|
+
if (size_ctrl = size_control) == NOW_RESIZING
|
777
|
+
Thread.pass # lost initialization race; just spin
|
778
|
+
else
|
779
|
+
try_in_resize_lock(current_table, size_ctrl) do
|
780
|
+
initial_size = size_ctrl > 0 ? size_ctrl : DEFAULT_CAPACITY
|
781
|
+
current_table = self.table = Table.new(initial_size)
|
782
|
+
initial_size - (initial_size >> 2) # 75% load factor
|
783
|
+
end
|
784
|
+
end
|
785
|
+
end
|
786
|
+
current_table
|
787
|
+
end
|
788
|
+
|
789
|
+
# If table is too small and not already resizing, creates next
|
790
|
+
# table and transfers bins. Rechecks occupancy after a transfer
|
791
|
+
# to see if another resize is already needed because resizings
|
792
|
+
# are lagging additions.
|
793
|
+
def check_for_resize
|
794
|
+
while (current_table = table) && MAX_CAPACITY > (table_size = current_table.size) && NOW_RESIZING != (size_ctrl = size_control) && size_ctrl < @counter.sum
|
795
|
+
try_in_resize_lock(current_table, size_ctrl) do
|
796
|
+
self.table = rebuild(current_table)
|
797
|
+
(table_size << 1) - (table_size >> 1) # 75% load factor
|
798
|
+
end
|
799
|
+
end
|
800
|
+
end
|
801
|
+
|
802
|
+
def try_in_resize_lock(current_table, size_ctrl)
|
803
|
+
if cas_size_control(size_ctrl, NOW_RESIZING)
|
804
|
+
begin
|
805
|
+
if current_table == table # recheck under lock
|
806
|
+
size_ctrl = yield # get new size_control
|
807
|
+
end
|
808
|
+
ensure
|
809
|
+
self.size_control = size_ctrl
|
810
|
+
end
|
811
|
+
end
|
812
|
+
end
|
813
|
+
|
814
|
+
# Moves and/or copies the nodes in each bin to new table. See above for explanation.
|
815
|
+
def rebuild(table)
|
816
|
+
old_table_size = table.size
|
817
|
+
new_table = table.next_in_size_table
|
818
|
+
# puts "#{old_table_size} -> #{new_table.size}"
|
819
|
+
forwarder = Node.new(MOVED, new_table, NULL)
|
820
|
+
rev_forwarder = nil
|
821
|
+
locked_indexes = nil # holds bins to revisit; nil until needed
|
822
|
+
locked_arr_idx = 0
|
823
|
+
bin = old_table_size - 1
|
824
|
+
i = bin
|
825
|
+
while true
|
826
|
+
if !(node = table.volatile_get(i))
|
827
|
+
# no lock needed (or available) if bin >= 0, because we're not popping values from locked_indexes until we've run through the whole table
|
828
|
+
redo unless (bin >= 0 ? table.cas(i, nil, forwarder) : lock_and_clean_up_reverse_forwarders(table, old_table_size, new_table, i, forwarder))
|
829
|
+
elsif Node.locked_hash?(node_hash = node.hash)
|
830
|
+
locked_indexes ||= Array.new
|
831
|
+
if bin < 0 && locked_arr_idx > 0
|
832
|
+
locked_arr_idx -= 1
|
833
|
+
i, locked_indexes[locked_arr_idx] = locked_indexes[locked_arr_idx], i # swap with another bin
|
834
|
+
redo
|
835
|
+
end
|
836
|
+
if bin < 0 || locked_indexes.size >= TRANSFER_BUFFER_SIZE
|
837
|
+
node.try_await_lock(table, i) # no other options -- block
|
838
|
+
redo
|
839
|
+
end
|
840
|
+
rev_forwarder ||= Node.new(MOVED, table, NULL)
|
841
|
+
redo unless table.volatile_get(i) == node && node.locked? # recheck before adding to list
|
842
|
+
locked_indexes << i
|
843
|
+
new_table.volatile_set(i, rev_forwarder)
|
844
|
+
new_table.volatile_set(i + old_table_size, rev_forwarder)
|
845
|
+
else
|
846
|
+
redo unless split_old_bin(table, new_table, i, node, node_hash, forwarder)
|
847
|
+
end
|
848
|
+
|
849
|
+
if bin > 0
|
850
|
+
i = (bin -= 1)
|
851
|
+
elsif locked_indexes && !locked_indexes.empty?
|
852
|
+
bin = -1
|
853
|
+
i = locked_indexes.pop
|
854
|
+
locked_arr_idx = locked_indexes.size - 1
|
855
|
+
else
|
856
|
+
return new_table
|
857
|
+
end
|
858
|
+
end
|
859
|
+
end
|
860
|
+
|
861
|
+
def lock_and_clean_up_reverse_forwarders(old_table, old_table_size, new_table, i, forwarder)
|
862
|
+
# transiently use a locked forwarding node
|
863
|
+
locked_forwarder = Node.new(moved_locked_hash = MOVED | LOCKED, new_table, NULL)
|
864
|
+
if old_table.cas(i, nil, locked_forwarder)
|
865
|
+
new_table.volatile_set(i, nil) # kill the potential reverse forwarders
|
866
|
+
new_table.volatile_set(i + old_table_size, nil) # kill the potential reverse forwarders
|
867
|
+
old_table.volatile_set(i, forwarder)
|
868
|
+
locked_forwarder.unlock_via_hash(moved_locked_hash, MOVED)
|
869
|
+
true
|
870
|
+
end
|
871
|
+
end
|
872
|
+
|
873
|
+
# Splits a normal bin with list headed by e into lo and hi parts; installs in given table.
|
874
|
+
def split_old_bin(table, new_table, i, node, node_hash, forwarder)
|
875
|
+
table.try_lock_via_hash(i, node, node_hash) do
|
876
|
+
split_bin(new_table, i, node, node_hash)
|
877
|
+
table.volatile_set(i, forwarder)
|
878
|
+
end
|
879
|
+
end
|
880
|
+
|
881
|
+
def split_bin(new_table, i, node, node_hash)
|
882
|
+
bit = new_table.size >> 1 # bit to split on
|
883
|
+
run_bit = node_hash & bit
|
884
|
+
last_run = nil
|
885
|
+
low = nil
|
886
|
+
high = nil
|
887
|
+
current_node = node
|
888
|
+
# this optimises for the lowest amount of volatile writes and objects created
|
889
|
+
while current_node = current_node.next
|
890
|
+
unless (b = current_node.hash & bit) == run_bit
|
891
|
+
run_bit = b
|
892
|
+
last_run = current_node
|
893
|
+
end
|
894
|
+
end
|
895
|
+
if run_bit == 0
|
896
|
+
low = last_run
|
897
|
+
else
|
898
|
+
high = last_run
|
899
|
+
end
|
900
|
+
current_node = node
|
901
|
+
until current_node == last_run
|
902
|
+
pure_hash = current_node.pure_hash
|
903
|
+
if (pure_hash & bit) == 0
|
904
|
+
low = Node.new(pure_hash, current_node.key, current_node.value, low)
|
905
|
+
else
|
906
|
+
high = Node.new(pure_hash, current_node.key, current_node.value, high)
|
907
|
+
end
|
908
|
+
current_node = current_node.next
|
909
|
+
end
|
910
|
+
new_table.volatile_set(i, low)
|
911
|
+
new_table.volatile_set(i + bit, high)
|
912
|
+
end
|
913
|
+
|
914
|
+
def increment_size
|
915
|
+
@counter.increment
|
916
|
+
end
|
917
|
+
|
918
|
+
def decrement_size(by = 1)
|
919
|
+
@counter.add(-by)
|
920
|
+
end
|
921
|
+
end
|
922
|
+
end
|