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,982 @@
|
|
1
|
+
require 'stringio'
|
2
|
+
require 'nokogiri/xml/node/save_options'
|
3
|
+
|
4
|
+
module Nokogiri
|
5
|
+
module XML
|
6
|
+
####
|
7
|
+
# Nokogiri::XML::Node is your window to the fun filled world of dealing
|
8
|
+
# with XML and HTML tags. A Nokogiri::XML::Node may be treated similarly
|
9
|
+
# to a hash with regard to attributes. For example (from irb):
|
10
|
+
#
|
11
|
+
# irb(main):004:0> node
|
12
|
+
# => <a href="#foo" id="link">link</a>
|
13
|
+
# irb(main):005:0> node['href']
|
14
|
+
# => "#foo"
|
15
|
+
# irb(main):006:0> node.keys
|
16
|
+
# => ["href", "id"]
|
17
|
+
# irb(main):007:0> node.values
|
18
|
+
# => ["#foo", "link"]
|
19
|
+
# irb(main):008:0> node['class'] = 'green'
|
20
|
+
# => "green"
|
21
|
+
# irb(main):009:0> node
|
22
|
+
# => <a href="#foo" id="link" class="green">link</a>
|
23
|
+
# irb(main):010:0>
|
24
|
+
#
|
25
|
+
# See Nokogiri::XML::Node#[] and Nokogiri::XML#[]= for more information.
|
26
|
+
#
|
27
|
+
# Nokogiri::XML::Node also has methods that let you move around your
|
28
|
+
# tree. For navigating your tree, see:
|
29
|
+
#
|
30
|
+
# * Nokogiri::XML::Node#parent
|
31
|
+
# * Nokogiri::XML::Node#children
|
32
|
+
# * Nokogiri::XML::Node#next
|
33
|
+
# * Nokogiri::XML::Node#previous
|
34
|
+
#
|
35
|
+
# You may search this node's subtree using Node#xpath and Node#css
|
36
|
+
class Node
|
37
|
+
include Nokogiri::XML::PP::Node
|
38
|
+
include Enumerable
|
39
|
+
|
40
|
+
# Element node type, see Nokogiri::XML::Node#element?
|
41
|
+
ELEMENT_NODE = 1
|
42
|
+
# Attribute node type
|
43
|
+
ATTRIBUTE_NODE = 2
|
44
|
+
# Text node type, see Nokogiri::XML::Node#text?
|
45
|
+
TEXT_NODE = 3
|
46
|
+
# CDATA node type, see Nokogiri::XML::Node#cdata?
|
47
|
+
CDATA_SECTION_NODE = 4
|
48
|
+
# Entity reference node type
|
49
|
+
ENTITY_REF_NODE = 5
|
50
|
+
# Entity node type
|
51
|
+
ENTITY_NODE = 6
|
52
|
+
# PI node type
|
53
|
+
PI_NODE = 7
|
54
|
+
# Comment node type, see Nokogiri::XML::Node#comment?
|
55
|
+
COMMENT_NODE = 8
|
56
|
+
# Document node type, see Nokogiri::XML::Node#xml?
|
57
|
+
DOCUMENT_NODE = 9
|
58
|
+
# Document type node type
|
59
|
+
DOCUMENT_TYPE_NODE = 10
|
60
|
+
# Document fragment node type
|
61
|
+
DOCUMENT_FRAG_NODE = 11
|
62
|
+
# Notation node type
|
63
|
+
NOTATION_NODE = 12
|
64
|
+
# HTML document node type, see Nokogiri::XML::Node#html?
|
65
|
+
HTML_DOCUMENT_NODE = 13
|
66
|
+
# DTD node type
|
67
|
+
DTD_NODE = 14
|
68
|
+
# Element declaration type
|
69
|
+
ELEMENT_DECL = 15
|
70
|
+
# Attribute declaration type
|
71
|
+
ATTRIBUTE_DECL = 16
|
72
|
+
# Entity declaration type
|
73
|
+
ENTITY_DECL = 17
|
74
|
+
# Namespace declaration type
|
75
|
+
NAMESPACE_DECL = 18
|
76
|
+
# XInclude start type
|
77
|
+
XINCLUDE_START = 19
|
78
|
+
# XInclude end type
|
79
|
+
XINCLUDE_END = 20
|
80
|
+
# DOCB document node type
|
81
|
+
DOCB_DOCUMENT_NODE = 21
|
82
|
+
|
83
|
+
def initialize name, document # :nodoc:
|
84
|
+
# ... Ya. This is empty on purpose.
|
85
|
+
end
|
86
|
+
|
87
|
+
###
|
88
|
+
# Decorate this node with the decorators set up in this node's Document
|
89
|
+
def decorate!
|
90
|
+
document.decorate(self)
|
91
|
+
end
|
92
|
+
|
93
|
+
###
|
94
|
+
# Search this node for +paths+. +paths+ can be XPath or CSS, and an
|
95
|
+
# optional hash of namespaces may be appended.
|
96
|
+
# See Node#xpath and Node#css.
|
97
|
+
def search *paths
|
98
|
+
# TODO use paths, handler, ns, binds = extract_params(paths)
|
99
|
+
ns = paths.last.is_a?(Hash) ? paths.pop :
|
100
|
+
(document.root ? document.root.namespaces : {})
|
101
|
+
|
102
|
+
prefix = "#{implied_xpath_context}/"
|
103
|
+
|
104
|
+
xpath(*(paths.map { |path|
|
105
|
+
path = path.to_s
|
106
|
+
path =~ /^(\.\/|\/|\.\.|\.$)/ ? path : CSS.xpath_for(
|
107
|
+
path,
|
108
|
+
:prefix => prefix,
|
109
|
+
:ns => ns
|
110
|
+
)
|
111
|
+
}.flatten.uniq) + [ns])
|
112
|
+
end
|
113
|
+
alias :/ :search
|
114
|
+
|
115
|
+
###
|
116
|
+
# call-seq: xpath *paths, [namespace-bindings, variable-bindings, custom-handler-class]
|
117
|
+
#
|
118
|
+
# Search this node for XPath +paths+. +paths+ must be one or more XPath
|
119
|
+
# queries.
|
120
|
+
#
|
121
|
+
# node.xpath('.//title')
|
122
|
+
#
|
123
|
+
# A hash of namespace bindings may be appended. For example:
|
124
|
+
#
|
125
|
+
# node.xpath('.//foo:name', {'foo' => 'http://example.org/'})
|
126
|
+
# node.xpath('.//xmlns:name', node.root.namespaces)
|
127
|
+
#
|
128
|
+
# A hash of variable bindings may also be appended to the namespace bindings. For example:
|
129
|
+
#
|
130
|
+
# node.xpath('.//address[@domestic=$value]', nil, {:value => 'Yes'})
|
131
|
+
#
|
132
|
+
# Custom XPath functions may also be defined. To define custom
|
133
|
+
# functions create a class and implement the function you want
|
134
|
+
# to define. The first argument to the method will be the
|
135
|
+
# current matching NodeSet. Any other arguments are ones that
|
136
|
+
# you pass in. Note that this class may appear anywhere in the
|
137
|
+
# argument list. For example:
|
138
|
+
#
|
139
|
+
# node.xpath('.//title[regex(., "\w+")]', Class.new {
|
140
|
+
# def regex node_set, regex
|
141
|
+
# node_set.find_all { |node| node['some_attribute'] =~ /#{regex}/ }
|
142
|
+
# end
|
143
|
+
# }.new)
|
144
|
+
#
|
145
|
+
def xpath *paths
|
146
|
+
return NodeSet.new(document) unless document
|
147
|
+
|
148
|
+
paths, handler, ns, binds = extract_params(paths)
|
149
|
+
|
150
|
+
sets = paths.map { |path|
|
151
|
+
ctx = XPathContext.new(self)
|
152
|
+
ctx.register_namespaces(ns)
|
153
|
+
path = path.gsub(/xmlns:/, ' :') unless Nokogiri.uses_libxml?
|
154
|
+
|
155
|
+
binds.each do |key,value|
|
156
|
+
ctx.register_variable key.to_s, value
|
157
|
+
end if binds
|
158
|
+
|
159
|
+
ctx.evaluate(path, handler)
|
160
|
+
}
|
161
|
+
return sets.first if sets.length == 1
|
162
|
+
|
163
|
+
NodeSet.new(document) do |combined|
|
164
|
+
sets.each do |set|
|
165
|
+
set.each do |node|
|
166
|
+
combined << node
|
167
|
+
end
|
168
|
+
end
|
169
|
+
end
|
170
|
+
end
|
171
|
+
|
172
|
+
###
|
173
|
+
# call-seq: css *rules, [namespace-bindings, custom-pseudo-class]
|
174
|
+
#
|
175
|
+
# Search this node for CSS +rules+. +rules+ must be one or more CSS
|
176
|
+
# selectors. For example:
|
177
|
+
#
|
178
|
+
# node.css('title')
|
179
|
+
# node.css('body h1.bold')
|
180
|
+
# node.css('div + p.green', 'div#one')
|
181
|
+
#
|
182
|
+
# A hash of namespace bindings may be appended. For example:
|
183
|
+
#
|
184
|
+
# node.css('bike|tire', {'bike' => 'http://schwinn.com/'})
|
185
|
+
#
|
186
|
+
# Custom CSS pseudo classes may also be defined. To define
|
187
|
+
# custom pseudo classes, create a class and implement the custom
|
188
|
+
# pseudo class you want defined. The first argument to the
|
189
|
+
# method will be the current matching NodeSet. Any other
|
190
|
+
# arguments are ones that you pass in. For example:
|
191
|
+
#
|
192
|
+
# node.css('title:regex("\w+")', Class.new {
|
193
|
+
# def regex node_set, regex
|
194
|
+
# node_set.find_all { |node| node['some_attribute'] =~ /#{regex}/ }
|
195
|
+
# end
|
196
|
+
# }.new)
|
197
|
+
#
|
198
|
+
# Note that the CSS query string is case-sensitive with regards
|
199
|
+
# to your document type. That is, if you're looking for "H1" in
|
200
|
+
# an HTML document, you'll never find anything, since HTML tags
|
201
|
+
# will match only lowercase CSS queries. However, "H1" might be
|
202
|
+
# found in an XML document, where tags names are case-sensitive
|
203
|
+
# (e.g., "H1" is distinct from "h1").
|
204
|
+
#
|
205
|
+
def css *rules
|
206
|
+
rules, handler, ns, binds = extract_params(rules)
|
207
|
+
|
208
|
+
prefix = "#{implied_xpath_context}/"
|
209
|
+
|
210
|
+
rules = rules.map { |rule|
|
211
|
+
CSS.xpath_for(rule, :prefix => prefix, :ns => ns)
|
212
|
+
}.flatten.uniq + [ns, handler, binds].compact
|
213
|
+
|
214
|
+
xpath(*rules)
|
215
|
+
end
|
216
|
+
|
217
|
+
###
|
218
|
+
# Search this node's immediate children using CSS selector +selector+
|
219
|
+
def > selector
|
220
|
+
ns = document.root.namespaces
|
221
|
+
xpath CSS.xpath_for(selector, :prefix => "./", :ns => ns).first
|
222
|
+
end
|
223
|
+
|
224
|
+
###
|
225
|
+
# Search for the first occurrence of +path+.
|
226
|
+
#
|
227
|
+
# Returns nil if nothing is found, otherwise a Node.
|
228
|
+
def at path, ns = document.root ? document.root.namespaces : {}
|
229
|
+
search(path, ns).first
|
230
|
+
end
|
231
|
+
alias :% :at
|
232
|
+
|
233
|
+
##
|
234
|
+
# Search this node for the first occurrence of XPath +paths+.
|
235
|
+
# Equivalent to <tt>xpath(paths).first</tt>
|
236
|
+
# See Node#xpath for more information.
|
237
|
+
#
|
238
|
+
def at_xpath *paths
|
239
|
+
xpath(*paths).first
|
240
|
+
end
|
241
|
+
|
242
|
+
##
|
243
|
+
# Search this node for the first occurrence of CSS +rules+.
|
244
|
+
# Equivalent to <tt>css(rules).first</tt>
|
245
|
+
# See Node#css for more information.
|
246
|
+
#
|
247
|
+
def at_css *rules
|
248
|
+
css(*rules).first
|
249
|
+
end
|
250
|
+
|
251
|
+
###
|
252
|
+
# Get the attribute value for the attribute +name+
|
253
|
+
def [] name
|
254
|
+
get(name.to_s)
|
255
|
+
end
|
256
|
+
|
257
|
+
###
|
258
|
+
# Set the attribute value for the attribute +name+ to +value+
|
259
|
+
def []= name, value
|
260
|
+
set name.to_s, value.to_s
|
261
|
+
end
|
262
|
+
|
263
|
+
###
|
264
|
+
# Add +node_or_tags+ as a child of this Node.
|
265
|
+
# +node_or_tags+ can be a Nokogiri::XML::Node, a ::DocumentFragment, a ::NodeSet, or a string containing markup.
|
266
|
+
#
|
267
|
+
# Returns the reparented node (if +node_or_tags+ is a Node), or NodeSet (if +node_or_tags+ is a DocumentFragment, NodeSet, or string).
|
268
|
+
#
|
269
|
+
# Also see related method +<<+.
|
270
|
+
def add_child node_or_tags
|
271
|
+
node_or_tags = coerce(node_or_tags)
|
272
|
+
if node_or_tags.is_a?(XML::NodeSet)
|
273
|
+
node_or_tags.each { |n| add_child_node_and_reparent_attrs n }
|
274
|
+
else
|
275
|
+
add_child_node_and_reparent_attrs node_or_tags
|
276
|
+
end
|
277
|
+
node_or_tags
|
278
|
+
end
|
279
|
+
|
280
|
+
###
|
281
|
+
# Add +node_or_tags+ as the first child of this Node.
|
282
|
+
# +node_or_tags+ can be a Nokogiri::XML::Node, a ::DocumentFragment, a ::NodeSet, or a string containing markup.
|
283
|
+
#
|
284
|
+
# Returns the reparented node (if +node_or_tags+ is a Node), or NodeSet (if +node_or_tags+ is a DocumentFragment, NodeSet, or string).
|
285
|
+
#
|
286
|
+
# Also see related method +add_child+.
|
287
|
+
def prepend_child node_or_tags
|
288
|
+
if first = children.first
|
289
|
+
# Mimic the error add_child would raise.
|
290
|
+
raise RuntimeError, "Document already has a root node" if is_a?(XML::Document) && !node_or_tags.is_a?(XML::ProcessingInstruction)
|
291
|
+
first.__send__(:add_sibling, :previous, node_or_tags)
|
292
|
+
else
|
293
|
+
add_child(node_or_tags)
|
294
|
+
end
|
295
|
+
end
|
296
|
+
|
297
|
+
###
|
298
|
+
# Add +node_or_tags+ as a child of this Node.
|
299
|
+
# +node_or_tags+ can be a Nokogiri::XML::Node, a ::DocumentFragment, a ::NodeSet, or a string containing markup.
|
300
|
+
#
|
301
|
+
# Returns self, to support chaining of calls (e.g., root << child1 << child2)
|
302
|
+
#
|
303
|
+
# Also see related method +add_child+.
|
304
|
+
def << node_or_tags
|
305
|
+
add_child node_or_tags
|
306
|
+
self
|
307
|
+
end
|
308
|
+
###
|
309
|
+
# Insert +node_or_tags+ before this Node (as a sibling).
|
310
|
+
# +node_or_tags+ can be a Nokogiri::XML::Node, a ::DocumentFragment, a ::NodeSet, or a string containing markup.
|
311
|
+
#
|
312
|
+
# Returns the reparented node (if +node_or_tags+ is a Node), or NodeSet (if +node_or_tags+ is a DocumentFragment, NodeSet, or string).
|
313
|
+
#
|
314
|
+
# Also see related method +before+.
|
315
|
+
def add_previous_sibling node_or_tags
|
316
|
+
raise ArgumentError.new("A document may not have multiple root nodes.") if parent.is_a?(XML::Document) && !node_or_tags.is_a?(XML::ProcessingInstruction)
|
317
|
+
|
318
|
+
add_sibling :previous, node_or_tags
|
319
|
+
end
|
320
|
+
|
321
|
+
###
|
322
|
+
# Insert +node_or_tags+ after this Node (as a sibling).
|
323
|
+
# +node_or_tags+ can be a Nokogiri::XML::Node, a ::DocumentFragment, a ::NodeSet, or a string containing markup.
|
324
|
+
#
|
325
|
+
# Returns the reparented node (if +node_or_tags+ is a Node), or NodeSet (if +node_or_tags+ is a DocumentFragment, NodeSet, or string).
|
326
|
+
#
|
327
|
+
# Also see related method +after+.
|
328
|
+
def add_next_sibling node_or_tags
|
329
|
+
raise ArgumentError.new("A document may not have multiple root nodes.") if parent.is_a?(XML::Document)
|
330
|
+
|
331
|
+
add_sibling :next, node_or_tags
|
332
|
+
end
|
333
|
+
|
334
|
+
####
|
335
|
+
# Insert +node_or_tags+ before this node (as a sibling).
|
336
|
+
# +node_or_tags+ can be a Nokogiri::XML::Node, a ::DocumentFragment, a ::NodeSet, or a string containing markup.
|
337
|
+
#
|
338
|
+
# Returns self, to support chaining of calls.
|
339
|
+
#
|
340
|
+
# Also see related method +add_previous_sibling+.
|
341
|
+
def before node_or_tags
|
342
|
+
add_previous_sibling node_or_tags
|
343
|
+
self
|
344
|
+
end
|
345
|
+
|
346
|
+
####
|
347
|
+
# Insert +node_or_tags+ after this node (as a sibling).
|
348
|
+
# +node_or_tags+ can be a Nokogiri::XML::Node, a Nokogiri::XML::DocumentFragment, or a string containing markup.
|
349
|
+
#
|
350
|
+
# Returns self, to support chaining of calls.
|
351
|
+
#
|
352
|
+
# Also see related method +add_next_sibling+.
|
353
|
+
def after node_or_tags
|
354
|
+
add_next_sibling node_or_tags
|
355
|
+
self
|
356
|
+
end
|
357
|
+
|
358
|
+
####
|
359
|
+
# Set the inner html for this Node to +node_or_tags+
|
360
|
+
# +node_or_tags+ can be a Nokogiri::XML::Node, a Nokogiri::XML::DocumentFragment, or a string containing markup.
|
361
|
+
#
|
362
|
+
# Returns self.
|
363
|
+
#
|
364
|
+
# Also see related method +children=+
|
365
|
+
def inner_html= node_or_tags
|
366
|
+
self.children = node_or_tags
|
367
|
+
self
|
368
|
+
end
|
369
|
+
|
370
|
+
####
|
371
|
+
# Set the inner html for this Node +node_or_tags+
|
372
|
+
# +node_or_tags+ can be a Nokogiri::XML::Node, a Nokogiri::XML::DocumentFragment, or a string containing markup.
|
373
|
+
#
|
374
|
+
# Returns the reparented node (if +node_or_tags+ is a Node), or NodeSet (if +node_or_tags+ is a DocumentFragment, NodeSet, or string).
|
375
|
+
#
|
376
|
+
# Also see related method +inner_html=+
|
377
|
+
def children= node_or_tags
|
378
|
+
node_or_tags = coerce(node_or_tags)
|
379
|
+
children.unlink
|
380
|
+
if node_or_tags.is_a?(XML::NodeSet)
|
381
|
+
node_or_tags.each { |n| add_child_node_and_reparent_attrs n }
|
382
|
+
else
|
383
|
+
add_child_node_and_reparent_attrs node_or_tags
|
384
|
+
end
|
385
|
+
node_or_tags
|
386
|
+
end
|
387
|
+
|
388
|
+
####
|
389
|
+
# Replace this Node with +node_or_tags+.
|
390
|
+
# +node_or_tags+ can be a Nokogiri::XML::Node, a ::DocumentFragment, a ::NodeSet, or a string containing markup.
|
391
|
+
#
|
392
|
+
# Returns the reparented node (if +node_or_tags+ is a Node), or NodeSet (if +node_or_tags+ is a DocumentFragment, NodeSet, or string).
|
393
|
+
#
|
394
|
+
# Also see related method +swap+.
|
395
|
+
def replace node_or_tags
|
396
|
+
# We cannot replace a text node directly, otherwise libxml will return
|
397
|
+
# an internal error at parser.c:13031, I don't know exactly why
|
398
|
+
# libxml is trying to find a parent node that is an element or document
|
399
|
+
# so I can't tell if this is bug in libxml or not. issue #775.
|
400
|
+
if text?
|
401
|
+
replacee = Nokogiri::XML::Node.new 'dummy', document
|
402
|
+
add_previous_sibling_node replacee
|
403
|
+
unlink
|
404
|
+
return replacee.replace node_or_tags
|
405
|
+
end
|
406
|
+
|
407
|
+
node_or_tags = coerce(node_or_tags)
|
408
|
+
|
409
|
+
if node_or_tags.is_a?(XML::NodeSet)
|
410
|
+
node_or_tags.each { |n| add_previous_sibling n }
|
411
|
+
unlink
|
412
|
+
else
|
413
|
+
replace_node node_or_tags
|
414
|
+
end
|
415
|
+
node_or_tags
|
416
|
+
end
|
417
|
+
|
418
|
+
####
|
419
|
+
# Swap this Node for +node_or_tags+
|
420
|
+
# +node_or_tags+ can be a Nokogiri::XML::Node, a ::DocumentFragment, a ::NodeSet, or a string containing markup.
|
421
|
+
#
|
422
|
+
# Returns self, to support chaining of calls.
|
423
|
+
#
|
424
|
+
# Also see related method +replace+.
|
425
|
+
def swap node_or_tags
|
426
|
+
replace node_or_tags
|
427
|
+
self
|
428
|
+
end
|
429
|
+
|
430
|
+
alias :next :next_sibling
|
431
|
+
alias :previous :previous_sibling
|
432
|
+
|
433
|
+
# :stopdoc:
|
434
|
+
# HACK: This is to work around an RDoc bug
|
435
|
+
alias :next= :add_next_sibling
|
436
|
+
# :startdoc:
|
437
|
+
|
438
|
+
alias :previous= :add_previous_sibling
|
439
|
+
alias :remove :unlink
|
440
|
+
alias :get_attribute :[]
|
441
|
+
alias :attr :[]
|
442
|
+
alias :set_attribute :[]=
|
443
|
+
alias :text :content
|
444
|
+
alias :inner_text :content
|
445
|
+
alias :has_attribute? :key?
|
446
|
+
alias :name :node_name
|
447
|
+
alias :name= :node_name=
|
448
|
+
alias :type :node_type
|
449
|
+
alias :to_str :text
|
450
|
+
alias :clone :dup
|
451
|
+
alias :elements :element_children
|
452
|
+
|
453
|
+
####
|
454
|
+
# Returns a hash containing the node's attributes. The key is
|
455
|
+
# the attribute name without any namespace, the value is a Nokogiri::XML::Attr
|
456
|
+
# representing the attribute.
|
457
|
+
# If you need to distinguish attributes with the same name, with different namespaces
|
458
|
+
# use #attribute_nodes instead.
|
459
|
+
def attributes
|
460
|
+
Hash[attribute_nodes.map { |node|
|
461
|
+
[node.node_name, node]
|
462
|
+
}]
|
463
|
+
end
|
464
|
+
|
465
|
+
###
|
466
|
+
# Get the attribute values for this Node.
|
467
|
+
def values
|
468
|
+
attribute_nodes.map { |node| node.value }
|
469
|
+
end
|
470
|
+
|
471
|
+
###
|
472
|
+
# Get the attribute names for this Node.
|
473
|
+
def keys
|
474
|
+
attribute_nodes.map { |node| node.node_name }
|
475
|
+
end
|
476
|
+
|
477
|
+
###
|
478
|
+
# Iterate over each attribute name and value pair for this Node.
|
479
|
+
def each
|
480
|
+
attribute_nodes.each { |node|
|
481
|
+
yield [node.node_name, node.value]
|
482
|
+
}
|
483
|
+
end
|
484
|
+
|
485
|
+
###
|
486
|
+
# Remove the attribute named +name+
|
487
|
+
def remove_attribute name
|
488
|
+
attributes[name].remove if key? name
|
489
|
+
end
|
490
|
+
alias :delete :remove_attribute
|
491
|
+
|
492
|
+
###
|
493
|
+
# Returns true if this Node matches +selector+
|
494
|
+
def matches? selector
|
495
|
+
ancestors.last.search(selector).include?(self)
|
496
|
+
end
|
497
|
+
|
498
|
+
###
|
499
|
+
# Create a DocumentFragment containing +tags+ that is relative to _this_
|
500
|
+
# context node.
|
501
|
+
def fragment tags
|
502
|
+
type = document.html? ? Nokogiri::HTML : Nokogiri::XML
|
503
|
+
type::DocumentFragment.new(document, tags, self)
|
504
|
+
end
|
505
|
+
|
506
|
+
###
|
507
|
+
# Parse +string_or_io+ as a document fragment within the context of
|
508
|
+
# *this* node. Returns a XML::NodeSet containing the nodes parsed from
|
509
|
+
# +string_or_io+.
|
510
|
+
def parse string_or_io, options = nil
|
511
|
+
##
|
512
|
+
# When the current node is unparented and not an element node, use the
|
513
|
+
# document as the parsing context instead. Otherwise, the in-context
|
514
|
+
# parser cannot find an element or a document node.
|
515
|
+
# Document Fragments are also not usable by the in-context parser.
|
516
|
+
if !element? && !xml? && (!parent || parent.fragment?)
|
517
|
+
return document.parse(string_or_io, options)
|
518
|
+
end
|
519
|
+
|
520
|
+
options ||= (document.html? ? ParseOptions::DEFAULT_HTML : ParseOptions::DEFAULT_XML)
|
521
|
+
if Fixnum === options
|
522
|
+
options = Nokogiri::XML::ParseOptions.new(options)
|
523
|
+
end
|
524
|
+
# Give the options to the user
|
525
|
+
yield options if block_given?
|
526
|
+
|
527
|
+
contents = string_or_io.respond_to?(:read) ?
|
528
|
+
string_or_io.read :
|
529
|
+
string_or_io
|
530
|
+
|
531
|
+
return Nokogiri::XML::NodeSet.new(document) if contents.empty?
|
532
|
+
|
533
|
+
##
|
534
|
+
# This is a horrible hack, but I don't care. See #313 for background.
|
535
|
+
error_count = document.errors.length
|
536
|
+
node_set = in_context(contents, options.to_i)
|
537
|
+
if node_set.empty? and document.errors.length > error_count and options.recover?
|
538
|
+
fragment = Nokogiri::HTML::DocumentFragment.parse contents
|
539
|
+
node_set = fragment.children
|
540
|
+
end
|
541
|
+
node_set
|
542
|
+
end
|
543
|
+
|
544
|
+
####
|
545
|
+
# Set the Node's content to a Text node containing +string+. The string gets XML escaped, not interpreted as markup.
|
546
|
+
def content= string
|
547
|
+
self.native_content = encode_special_chars(string.to_s)
|
548
|
+
end
|
549
|
+
|
550
|
+
###
|
551
|
+
# Set the parent Node for this Node
|
552
|
+
def parent= parent_node
|
553
|
+
parent_node.add_child(self)
|
554
|
+
parent_node
|
555
|
+
end
|
556
|
+
|
557
|
+
###
|
558
|
+
# Returns a Hash of {prefix => value} for all namespaces on this
|
559
|
+
# node and its ancestors.
|
560
|
+
#
|
561
|
+
# This method returns the same namespaces as #namespace_scopes.
|
562
|
+
#
|
563
|
+
# Returns namespaces in scope for self -- those defined on self
|
564
|
+
# element directly or any ancestor node -- as a Hash of
|
565
|
+
# attribute-name/value pairs. Note that the keys in this hash
|
566
|
+
# XML attributes that would be used to define this namespace,
|
567
|
+
# such as "xmlns:prefix", not just the prefix. Default namespace
|
568
|
+
# set on self will be included with key "xmlns". However,
|
569
|
+
# default namespaces set on ancestor will NOT be, even if self
|
570
|
+
# has no explicit default namespace.
|
571
|
+
def namespaces
|
572
|
+
Hash[namespace_scopes.map { |nd|
|
573
|
+
key = ['xmlns', nd.prefix].compact.join(':')
|
574
|
+
if RUBY_VERSION >= '1.9' && document.encoding
|
575
|
+
begin
|
576
|
+
key.force_encoding document.encoding
|
577
|
+
rescue ArgumentError
|
578
|
+
end
|
579
|
+
end
|
580
|
+
[key, nd.href]
|
581
|
+
}]
|
582
|
+
end
|
583
|
+
|
584
|
+
# Returns true if this is a Comment
|
585
|
+
def comment?
|
586
|
+
type == COMMENT_NODE
|
587
|
+
end
|
588
|
+
|
589
|
+
# Returns true if this is a CDATA
|
590
|
+
def cdata?
|
591
|
+
type == CDATA_SECTION_NODE
|
592
|
+
end
|
593
|
+
|
594
|
+
# Returns true if this is an XML::Document node
|
595
|
+
def xml?
|
596
|
+
type == DOCUMENT_NODE
|
597
|
+
end
|
598
|
+
|
599
|
+
# Returns true if this is an HTML::Document node
|
600
|
+
def html?
|
601
|
+
type == HTML_DOCUMENT_NODE
|
602
|
+
end
|
603
|
+
|
604
|
+
# Returns true if this is a Text node
|
605
|
+
def text?
|
606
|
+
type == TEXT_NODE
|
607
|
+
end
|
608
|
+
|
609
|
+
# Returns true if this is a DocumentFragment
|
610
|
+
def fragment?
|
611
|
+
type == DOCUMENT_FRAG_NODE
|
612
|
+
end
|
613
|
+
|
614
|
+
###
|
615
|
+
# Fetch the Nokogiri::HTML::ElementDescription for this node. Returns
|
616
|
+
# nil on XML documents and on unknown tags.
|
617
|
+
def description
|
618
|
+
return nil if document.xml?
|
619
|
+
Nokogiri::HTML::ElementDescription[name]
|
620
|
+
end
|
621
|
+
|
622
|
+
###
|
623
|
+
# Is this a read only node?
|
624
|
+
def read_only?
|
625
|
+
# According to gdome2, these are read-only node types
|
626
|
+
[NOTATION_NODE, ENTITY_NODE, ENTITY_DECL].include?(type)
|
627
|
+
end
|
628
|
+
|
629
|
+
# Returns true if this is an Element node
|
630
|
+
def element?
|
631
|
+
type == ELEMENT_NODE
|
632
|
+
end
|
633
|
+
alias :elem? :element?
|
634
|
+
|
635
|
+
###
|
636
|
+
# Turn this node in to a string. If the document is HTML, this method
|
637
|
+
# returns html. If the document is XML, this method returns XML.
|
638
|
+
def to_s
|
639
|
+
document.xml? ? to_xml : to_html
|
640
|
+
end
|
641
|
+
|
642
|
+
# Get the inner_html for this node's Node#children
|
643
|
+
def inner_html *args
|
644
|
+
children.map { |x| x.to_html(*args) }.join
|
645
|
+
end
|
646
|
+
|
647
|
+
# Get the path to this node as a CSS expression
|
648
|
+
def css_path
|
649
|
+
path.split(/\//).map { |part|
|
650
|
+
part.length == 0 ? nil : part.gsub(/\[(\d+)\]/, ':nth-of-type(\1)')
|
651
|
+
}.compact.join(' > ')
|
652
|
+
end
|
653
|
+
|
654
|
+
###
|
655
|
+
# Get a list of ancestor Node for this Node. If +selector+ is given,
|
656
|
+
# the ancestors must match +selector+
|
657
|
+
def ancestors selector = nil
|
658
|
+
return NodeSet.new(document) unless respond_to?(:parent)
|
659
|
+
return NodeSet.new(document) unless parent
|
660
|
+
|
661
|
+
parents = [parent]
|
662
|
+
|
663
|
+
while parents.last.respond_to?(:parent)
|
664
|
+
break unless ctx_parent = parents.last.parent
|
665
|
+
parents << ctx_parent
|
666
|
+
end
|
667
|
+
|
668
|
+
return NodeSet.new(document, parents) unless selector
|
669
|
+
|
670
|
+
root = parents.last
|
671
|
+
|
672
|
+
NodeSet.new(document, parents.find_all { |parent|
|
673
|
+
root.search(selector).include?(parent)
|
674
|
+
})
|
675
|
+
end
|
676
|
+
|
677
|
+
###
|
678
|
+
# Adds a default namespace supplied as a string +url+ href, to self.
|
679
|
+
# The consequence is as an xmlns attribute with supplied argument were
|
680
|
+
# present in parsed XML. A default namespace set with this method will
|
681
|
+
# now show up in #attributes, but when this node is serialized to XML an
|
682
|
+
# "xmlns" attribute will appear. See also #namespace and #namespace=
|
683
|
+
def default_namespace= url
|
684
|
+
add_namespace_definition(nil, url)
|
685
|
+
end
|
686
|
+
alias :add_namespace :add_namespace_definition
|
687
|
+
|
688
|
+
###
|
689
|
+
# Set the default namespace on this node (as would be defined with an
|
690
|
+
# "xmlns=" attribute in XML source), as a Namespace object +ns+. Note that
|
691
|
+
# a Namespace added this way will NOT be serialized as an xmlns attribute
|
692
|
+
# for this node. You probably want #default_namespace= instead, or perhaps
|
693
|
+
# #add_namespace_definition with a nil prefix argument.
|
694
|
+
def namespace= ns
|
695
|
+
return set_namespace(ns) unless ns
|
696
|
+
|
697
|
+
unless Nokogiri::XML::Namespace === ns
|
698
|
+
raise TypeError, "#{ns.class} can't be coerced into Nokogiri::XML::Namespace"
|
699
|
+
end
|
700
|
+
if ns.document != document
|
701
|
+
raise ArgumentError, 'namespace must be declared on the same document'
|
702
|
+
end
|
703
|
+
|
704
|
+
set_namespace ns
|
705
|
+
end
|
706
|
+
|
707
|
+
####
|
708
|
+
# Yields self and all children to +block+ recursively.
|
709
|
+
def traverse &block
|
710
|
+
children.each{|j| j.traverse(&block) }
|
711
|
+
block.call(self)
|
712
|
+
end
|
713
|
+
|
714
|
+
###
|
715
|
+
# Accept a visitor. This method calls "visit" on +visitor+ with self.
|
716
|
+
def accept visitor
|
717
|
+
visitor.visit(self)
|
718
|
+
end
|
719
|
+
|
720
|
+
###
|
721
|
+
# Test to see if this Node is equal to +other+
|
722
|
+
def == other
|
723
|
+
return false unless other
|
724
|
+
return false unless other.respond_to?(:pointer_id)
|
725
|
+
pointer_id == other.pointer_id
|
726
|
+
end
|
727
|
+
|
728
|
+
###
|
729
|
+
# Serialize Node using +options+. Save options can also be set using a
|
730
|
+
# block. See SaveOptions.
|
731
|
+
#
|
732
|
+
# These two statements are equivalent:
|
733
|
+
#
|
734
|
+
# node.serialize(:encoding => 'UTF-8', :save_with => FORMAT | AS_XML)
|
735
|
+
#
|
736
|
+
# or
|
737
|
+
#
|
738
|
+
# node.serialize(:encoding => 'UTF-8') do |config|
|
739
|
+
# config.format.as_xml
|
740
|
+
# end
|
741
|
+
#
|
742
|
+
def serialize *args, &block
|
743
|
+
options = args.first.is_a?(Hash) ? args.shift : {
|
744
|
+
:encoding => args[0],
|
745
|
+
:save_with => args[1]
|
746
|
+
}
|
747
|
+
|
748
|
+
encoding = options[:encoding] || document.encoding
|
749
|
+
options[:encoding] = encoding
|
750
|
+
|
751
|
+
outstring = ""
|
752
|
+
if encoding && outstring.respond_to?(:force_encoding)
|
753
|
+
outstring.force_encoding(Encoding.find(encoding))
|
754
|
+
end
|
755
|
+
io = StringIO.new(outstring)
|
756
|
+
write_to io, options, &block
|
757
|
+
io.string
|
758
|
+
end
|
759
|
+
|
760
|
+
###
|
761
|
+
# Serialize this Node to HTML
|
762
|
+
#
|
763
|
+
# doc.to_html
|
764
|
+
#
|
765
|
+
# See Node#write_to for a list of +options+. For formatted output,
|
766
|
+
# use Node#to_xhtml instead.
|
767
|
+
def to_html options = {}
|
768
|
+
to_format SaveOptions::DEFAULT_HTML, options
|
769
|
+
end
|
770
|
+
|
771
|
+
###
|
772
|
+
# Serialize this Node to XML using +options+
|
773
|
+
#
|
774
|
+
# doc.to_xml(:indent => 5, :encoding => 'UTF-8')
|
775
|
+
#
|
776
|
+
# See Node#write_to for a list of +options+
|
777
|
+
def to_xml options = {}
|
778
|
+
options[:save_with] ||= SaveOptions::DEFAULT_XML
|
779
|
+
serialize(options)
|
780
|
+
end
|
781
|
+
|
782
|
+
###
|
783
|
+
# Serialize this Node to XHTML using +options+
|
784
|
+
#
|
785
|
+
# doc.to_xhtml(:indent => 5, :encoding => 'UTF-8')
|
786
|
+
#
|
787
|
+
# See Node#write_to for a list of +options+
|
788
|
+
def to_xhtml options = {}
|
789
|
+
to_format SaveOptions::DEFAULT_XHTML, options
|
790
|
+
end
|
791
|
+
|
792
|
+
###
|
793
|
+
# Write Node to +io+ with +options+. +options+ modify the output of
|
794
|
+
# this method. Valid options are:
|
795
|
+
#
|
796
|
+
# * +:encoding+ for changing the encoding
|
797
|
+
# * +:indent_text+ the indentation text, defaults to one space
|
798
|
+
# * +:indent+ the number of +:indent_text+ to use, defaults to 2
|
799
|
+
# * +:save_with+ a combination of SaveOptions constants.
|
800
|
+
#
|
801
|
+
# To save with UTF-8 indented twice:
|
802
|
+
#
|
803
|
+
# node.write_to(io, :encoding => 'UTF-8', :indent => 2)
|
804
|
+
#
|
805
|
+
# To save indented with two dashes:
|
806
|
+
#
|
807
|
+
# node.write_to(io, :indent_text => '-', :indent => 2
|
808
|
+
#
|
809
|
+
def write_to io, *options
|
810
|
+
options = options.first.is_a?(Hash) ? options.shift : {}
|
811
|
+
encoding = options[:encoding] || options[0]
|
812
|
+
if Nokogiri.jruby?
|
813
|
+
save_options = options[:save_with] || options[1]
|
814
|
+
indent_times = options[:indent] || 0
|
815
|
+
else
|
816
|
+
save_options = options[:save_with] || options[1] || SaveOptions::FORMAT
|
817
|
+
indent_times = options[:indent] || 2
|
818
|
+
end
|
819
|
+
indent_text = options[:indent_text] || ' '
|
820
|
+
|
821
|
+
config = SaveOptions.new(save_options.to_i)
|
822
|
+
yield config if block_given?
|
823
|
+
|
824
|
+
native_write_to(io, encoding, indent_text * indent_times, config.options)
|
825
|
+
end
|
826
|
+
|
827
|
+
###
|
828
|
+
# Write Node as HTML to +io+ with +options+
|
829
|
+
#
|
830
|
+
# See Node#write_to for a list of +options+
|
831
|
+
def write_html_to io, options = {}
|
832
|
+
write_format_to SaveOptions::DEFAULT_HTML, io, options
|
833
|
+
end
|
834
|
+
|
835
|
+
###
|
836
|
+
# Write Node as XHTML to +io+ with +options+
|
837
|
+
#
|
838
|
+
# See Node#write_to for a list of +options+
|
839
|
+
def write_xhtml_to io, options = {}
|
840
|
+
write_format_to SaveOptions::DEFAULT_XHTML, io, options
|
841
|
+
end
|
842
|
+
|
843
|
+
###
|
844
|
+
# Write Node as XML to +io+ with +options+
|
845
|
+
#
|
846
|
+
# doc.write_xml_to io, :encoding => 'UTF-8'
|
847
|
+
#
|
848
|
+
# See Node#write_to for a list of options
|
849
|
+
def write_xml_to io, options = {}
|
850
|
+
options[:save_with] ||= SaveOptions::DEFAULT_XML
|
851
|
+
write_to io, options
|
852
|
+
end
|
853
|
+
|
854
|
+
###
|
855
|
+
# Compare two Node objects with respect to their Document. Nodes from
|
856
|
+
# different documents cannot be compared.
|
857
|
+
def <=> other
|
858
|
+
return nil unless other.is_a?(Nokogiri::XML::Node)
|
859
|
+
return nil unless document == other.document
|
860
|
+
compare other
|
861
|
+
end
|
862
|
+
|
863
|
+
###
|
864
|
+
# Do xinclude substitution on the subtree below node. If given a block, a
|
865
|
+
# Nokogiri::XML::ParseOptions object initialized from +options+, will be
|
866
|
+
# passed to it, allowing more convenient modification of the parser options.
|
867
|
+
def do_xinclude options = XML::ParseOptions::DEFAULT_XML, &block
|
868
|
+
options = Nokogiri::XML::ParseOptions.new(options) if Fixnum === options
|
869
|
+
|
870
|
+
# give options to user
|
871
|
+
yield options if block_given?
|
872
|
+
|
873
|
+
# call c extension
|
874
|
+
process_xincludes(options.to_i)
|
875
|
+
end
|
876
|
+
|
877
|
+
def canonicalize(mode=XML::XML_C14N_1_0,inclusive_namespaces=nil,with_comments=false)
|
878
|
+
c14n_root = self
|
879
|
+
document.canonicalize(mode, inclusive_namespaces, with_comments) do |node, parent|
|
880
|
+
tn = node.is_a?(XML::Node) ? node : parent
|
881
|
+
tn == c14n_root || tn.ancestors.include?(c14n_root)
|
882
|
+
end
|
883
|
+
end
|
884
|
+
|
885
|
+
private
|
886
|
+
|
887
|
+
def add_sibling next_or_previous, node_or_tags
|
888
|
+
impl = (next_or_previous == :next) ? :add_next_sibling_node : :add_previous_sibling_node
|
889
|
+
iter = (next_or_previous == :next) ? :reverse_each : :each
|
890
|
+
|
891
|
+
node_or_tags = coerce node_or_tags
|
892
|
+
if node_or_tags.is_a?(XML::NodeSet)
|
893
|
+
if text?
|
894
|
+
pivot = Nokogiri::XML::Node.new 'dummy', document
|
895
|
+
send impl, pivot
|
896
|
+
else
|
897
|
+
pivot = self
|
898
|
+
end
|
899
|
+
node_or_tags.send(iter) { |n| pivot.send impl, n }
|
900
|
+
pivot.unlink if text?
|
901
|
+
else
|
902
|
+
send impl, node_or_tags
|
903
|
+
end
|
904
|
+
node_or_tags
|
905
|
+
end
|
906
|
+
|
907
|
+
def to_format save_option, options
|
908
|
+
# FIXME: this is a hack around broken libxml versions
|
909
|
+
return dump_html if Nokogiri.uses_libxml? && %w[2 6] === LIBXML_VERSION.split('.')[0..1]
|
910
|
+
|
911
|
+
options[:save_with] = save_option unless options[:save_with]
|
912
|
+
serialize(options)
|
913
|
+
end
|
914
|
+
|
915
|
+
def write_format_to save_option, io, options
|
916
|
+
# FIXME: this is a hack around broken libxml versions
|
917
|
+
return (io << dump_html) if Nokogiri.uses_libxml? && %w[2 6] === LIBXML_VERSION.split('.')[0..1]
|
918
|
+
|
919
|
+
options[:save_with] ||= save_option
|
920
|
+
write_to io, options
|
921
|
+
end
|
922
|
+
|
923
|
+
def extract_params params # :nodoc:
|
924
|
+
# Pop off our custom function handler if it exists
|
925
|
+
handler = params.find { |param|
|
926
|
+
![Hash, String, Symbol].include?(param.class)
|
927
|
+
}
|
928
|
+
|
929
|
+
params -= [handler] if handler
|
930
|
+
|
931
|
+
hashes = []
|
932
|
+
while Hash === params.last || params.last.nil?
|
933
|
+
hashes << params.pop
|
934
|
+
break if params.empty?
|
935
|
+
end
|
936
|
+
|
937
|
+
ns, binds = hashes.reverse
|
938
|
+
|
939
|
+
ns ||= document.root ? document.root.namespaces : {}
|
940
|
+
|
941
|
+
[params, handler, ns, binds]
|
942
|
+
end
|
943
|
+
|
944
|
+
def coerce data # :nodoc:
|
945
|
+
case data
|
946
|
+
when XML::NodeSet
|
947
|
+
return data
|
948
|
+
when XML::DocumentFragment
|
949
|
+
return data.children
|
950
|
+
when String
|
951
|
+
return fragment(data).children
|
952
|
+
when Document, XML::Attr
|
953
|
+
# unacceptable
|
954
|
+
when XML::Node
|
955
|
+
return data
|
956
|
+
end
|
957
|
+
|
958
|
+
raise ArgumentError, <<-EOERR
|
959
|
+
Requires a Node, NodeSet or String argument, and cannot accept a #{data.class}.
|
960
|
+
(You probably want to select a node from the Document with at() or search(), or create a new Node via Node.new().)
|
961
|
+
EOERR
|
962
|
+
end
|
963
|
+
|
964
|
+
def implied_xpath_context
|
965
|
+
"./"
|
966
|
+
end
|
967
|
+
|
968
|
+
def inspect_attributes
|
969
|
+
[:name, :namespace, :attribute_nodes, :children]
|
970
|
+
end
|
971
|
+
|
972
|
+
def add_child_node_and_reparent_attrs node
|
973
|
+
add_child_node node
|
974
|
+
node.attribute_nodes.find_all { |a| a.name =~ /:/ }.each do |attr_node|
|
975
|
+
attr_node.remove
|
976
|
+
node[attr_node.name] = attr_node.value
|
977
|
+
end
|
978
|
+
end
|
979
|
+
|
980
|
+
end
|
981
|
+
end
|
982
|
+
end
|