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,211 @@
|
|
1
|
+
require 'thread_safe'
|
2
|
+
require 'active_support/core_ext/array/prepend_and_append'
|
3
|
+
require 'active_support/i18n'
|
4
|
+
|
5
|
+
module ActiveSupport
|
6
|
+
module Inflector
|
7
|
+
extend self
|
8
|
+
|
9
|
+
# A singleton instance of this class is yielded by Inflector.inflections,
|
10
|
+
# which can then be used to specify additional inflection rules. If passed
|
11
|
+
# an optional locale, rules for other languages can be specified. The
|
12
|
+
# default locale is <tt>:en</tt>. Only rules for English are provided.
|
13
|
+
#
|
14
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
15
|
+
# inflect.plural /^(ox)$/i, '\1\2en'
|
16
|
+
# inflect.singular /^(ox)en/i, '\1'
|
17
|
+
#
|
18
|
+
# inflect.irregular 'octopus', 'octopi'
|
19
|
+
#
|
20
|
+
# inflect.uncountable 'equipment'
|
21
|
+
# end
|
22
|
+
#
|
23
|
+
# New rules are added at the top. So in the example above, the irregular
|
24
|
+
# rule for octopus will now be the first of the pluralization and
|
25
|
+
# singularization rules that is runs. This guarantees that your rules run
|
26
|
+
# before any of the rules that may already have been loaded.
|
27
|
+
class Inflections
|
28
|
+
@__instance__ = ThreadSafe::Cache.new
|
29
|
+
|
30
|
+
def self.instance(locale = :en)
|
31
|
+
@__instance__[locale] ||= new
|
32
|
+
end
|
33
|
+
|
34
|
+
attr_reader :plurals, :singulars, :uncountables, :humans, :acronyms, :acronym_regex
|
35
|
+
|
36
|
+
def initialize
|
37
|
+
@plurals, @singulars, @uncountables, @humans, @acronyms, @acronym_regex = [], [], [], [], {}, /(?=a)b/
|
38
|
+
end
|
39
|
+
|
40
|
+
# Private, for the test suite.
|
41
|
+
def initialize_dup(orig) # :nodoc:
|
42
|
+
%w(plurals singulars uncountables humans acronyms acronym_regex).each do |scope|
|
43
|
+
instance_variable_set("@#{scope}", orig.send(scope).dup)
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# Specifies a new acronym. An acronym must be specified as it will appear
|
48
|
+
# in a camelized string. An underscore string that contains the acronym
|
49
|
+
# will retain the acronym when passed to +camelize+, +humanize+, or
|
50
|
+
# +titleize+. A camelized string that contains the acronym will maintain
|
51
|
+
# the acronym when titleized or humanized, and will convert the acronym
|
52
|
+
# into a non-delimited single lowercase word when passed to +underscore+.
|
53
|
+
#
|
54
|
+
# acronym 'HTML'
|
55
|
+
# titleize 'html' # => 'HTML'
|
56
|
+
# camelize 'html' # => 'HTML'
|
57
|
+
# underscore 'MyHTML' # => 'my_html'
|
58
|
+
#
|
59
|
+
# The acronym, however, must occur as a delimited unit and not be part of
|
60
|
+
# another word for conversions to recognize it:
|
61
|
+
#
|
62
|
+
# acronym 'HTTP'
|
63
|
+
# camelize 'my_http_delimited' # => 'MyHTTPDelimited'
|
64
|
+
# camelize 'https' # => 'Https', not 'HTTPs'
|
65
|
+
# underscore 'HTTPS' # => 'http_s', not 'https'
|
66
|
+
#
|
67
|
+
# acronym 'HTTPS'
|
68
|
+
# camelize 'https' # => 'HTTPS'
|
69
|
+
# underscore 'HTTPS' # => 'https'
|
70
|
+
#
|
71
|
+
# Note: Acronyms that are passed to +pluralize+ will no longer be
|
72
|
+
# recognized, since the acronym will not occur as a delimited unit in the
|
73
|
+
# pluralized result. To work around this, you must specify the pluralized
|
74
|
+
# form as an acronym as well:
|
75
|
+
#
|
76
|
+
# acronym 'API'
|
77
|
+
# camelize(pluralize('api')) # => 'Apis'
|
78
|
+
#
|
79
|
+
# acronym 'APIs'
|
80
|
+
# camelize(pluralize('api')) # => 'APIs'
|
81
|
+
#
|
82
|
+
# +acronym+ may be used to specify any word that contains an acronym or
|
83
|
+
# otherwise needs to maintain a non-standard capitalization. The only
|
84
|
+
# restriction is that the word must begin with a capital letter.
|
85
|
+
#
|
86
|
+
# acronym 'RESTful'
|
87
|
+
# underscore 'RESTful' # => 'restful'
|
88
|
+
# underscore 'RESTfulController' # => 'restful_controller'
|
89
|
+
# titleize 'RESTfulController' # => 'RESTful Controller'
|
90
|
+
# camelize 'restful' # => 'RESTful'
|
91
|
+
# camelize 'restful_controller' # => 'RESTfulController'
|
92
|
+
#
|
93
|
+
# acronym 'McDonald'
|
94
|
+
# underscore 'McDonald' # => 'mcdonald'
|
95
|
+
# camelize 'mcdonald' # => 'McDonald'
|
96
|
+
def acronym(word)
|
97
|
+
@acronyms[word.downcase] = word
|
98
|
+
@acronym_regex = /#{@acronyms.values.join("|")}/
|
99
|
+
end
|
100
|
+
|
101
|
+
# Specifies a new pluralization rule and its replacement. The rule can
|
102
|
+
# either be a string or a regular expression. The replacement should
|
103
|
+
# always be a string that may include references to the matched data from
|
104
|
+
# the rule.
|
105
|
+
def plural(rule, replacement)
|
106
|
+
@uncountables.delete(rule) if rule.is_a?(String)
|
107
|
+
@uncountables.delete(replacement)
|
108
|
+
@plurals.prepend([rule, replacement])
|
109
|
+
end
|
110
|
+
|
111
|
+
# Specifies a new singularization rule and its replacement. The rule can
|
112
|
+
# either be a string or a regular expression. The replacement should
|
113
|
+
# always be a string that may include references to the matched data from
|
114
|
+
# the rule.
|
115
|
+
def singular(rule, replacement)
|
116
|
+
@uncountables.delete(rule) if rule.is_a?(String)
|
117
|
+
@uncountables.delete(replacement)
|
118
|
+
@singulars.prepend([rule, replacement])
|
119
|
+
end
|
120
|
+
|
121
|
+
# Specifies a new irregular that applies to both pluralization and
|
122
|
+
# singularization at the same time. This can only be used for strings, not
|
123
|
+
# regular expressions. You simply pass the irregular in singular and
|
124
|
+
# plural form.
|
125
|
+
#
|
126
|
+
# irregular 'octopus', 'octopi'
|
127
|
+
# irregular 'person', 'people'
|
128
|
+
def irregular(singular, plural)
|
129
|
+
@uncountables.delete(singular)
|
130
|
+
@uncountables.delete(plural)
|
131
|
+
|
132
|
+
s0 = singular[0]
|
133
|
+
srest = singular[1..-1]
|
134
|
+
|
135
|
+
p0 = plural[0]
|
136
|
+
prest = plural[1..-1]
|
137
|
+
|
138
|
+
if s0.upcase == p0.upcase
|
139
|
+
plural(/(#{s0})#{srest}$/i, '\1' + prest)
|
140
|
+
plural(/(#{p0})#{prest}$/i, '\1' + prest)
|
141
|
+
|
142
|
+
singular(/(#{s0})#{srest}$/i, '\1' + srest)
|
143
|
+
singular(/(#{p0})#{prest}$/i, '\1' + srest)
|
144
|
+
else
|
145
|
+
plural(/#{s0.upcase}(?i)#{srest}$/, p0.upcase + prest)
|
146
|
+
plural(/#{s0.downcase}(?i)#{srest}$/, p0.downcase + prest)
|
147
|
+
plural(/#{p0.upcase}(?i)#{prest}$/, p0.upcase + prest)
|
148
|
+
plural(/#{p0.downcase}(?i)#{prest}$/, p0.downcase + prest)
|
149
|
+
|
150
|
+
singular(/#{s0.upcase}(?i)#{srest}$/, s0.upcase + srest)
|
151
|
+
singular(/#{s0.downcase}(?i)#{srest}$/, s0.downcase + srest)
|
152
|
+
singular(/#{p0.upcase}(?i)#{prest}$/, s0.upcase + srest)
|
153
|
+
singular(/#{p0.downcase}(?i)#{prest}$/, s0.downcase + srest)
|
154
|
+
end
|
155
|
+
end
|
156
|
+
|
157
|
+
# Add uncountable words that shouldn't be attempted inflected.
|
158
|
+
#
|
159
|
+
# uncountable 'money'
|
160
|
+
# uncountable 'money', 'information'
|
161
|
+
# uncountable %w( money information rice )
|
162
|
+
def uncountable(*words)
|
163
|
+
(@uncountables << words).flatten!
|
164
|
+
end
|
165
|
+
|
166
|
+
# Specifies a humanized form of a string by a regular expression rule or
|
167
|
+
# by a string mapping. When using a regular expression based replacement,
|
168
|
+
# the normal humanize formatting is called after the replacement. When a
|
169
|
+
# string is used, the human form should be specified as desired (example:
|
170
|
+
# 'The name', not 'the_name').
|
171
|
+
#
|
172
|
+
# human /_cnt$/i, '\1_count'
|
173
|
+
# human 'legacy_col_person_name', 'Name'
|
174
|
+
def human(rule, replacement)
|
175
|
+
@humans.prepend([rule, replacement])
|
176
|
+
end
|
177
|
+
|
178
|
+
# Clears the loaded inflections within a given scope (default is
|
179
|
+
# <tt>:all</tt>). Give the scope as a symbol of the inflection type, the
|
180
|
+
# options are: <tt>:plurals</tt>, <tt>:singulars</tt>, <tt>:uncountables</tt>,
|
181
|
+
# <tt>:humans</tt>.
|
182
|
+
#
|
183
|
+
# clear :all
|
184
|
+
# clear :plurals
|
185
|
+
def clear(scope = :all)
|
186
|
+
case scope
|
187
|
+
when :all
|
188
|
+
@plurals, @singulars, @uncountables, @humans = [], [], [], []
|
189
|
+
else
|
190
|
+
instance_variable_set "@#{scope}", []
|
191
|
+
end
|
192
|
+
end
|
193
|
+
end
|
194
|
+
|
195
|
+
# Yields a singleton instance of Inflector::Inflections so you can specify
|
196
|
+
# additional inflector rules. If passed an optional locale, rules for other
|
197
|
+
# languages can be specified. If not specified, defaults to <tt>:en</tt>.
|
198
|
+
# Only rules for English are provided.
|
199
|
+
#
|
200
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
201
|
+
# inflect.uncountable 'rails'
|
202
|
+
# end
|
203
|
+
def inflections(locale = :en)
|
204
|
+
if block_given?
|
205
|
+
yield Inflections.instance(locale)
|
206
|
+
else
|
207
|
+
Inflections.instance(locale)
|
208
|
+
end
|
209
|
+
end
|
210
|
+
end
|
211
|
+
end
|
@@ -0,0 +1,359 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'active_support/inflections'
|
4
|
+
|
5
|
+
module ActiveSupport
|
6
|
+
# The Inflector transforms words from singular to plural, class names to table
|
7
|
+
# names, modularized class names to ones without, and class names to foreign
|
8
|
+
# keys. The default inflections for pluralization, singularization, and
|
9
|
+
# uncountable words are kept in inflections.rb.
|
10
|
+
#
|
11
|
+
# The Rails core team has stated patches for the inflections library will not
|
12
|
+
# be accepted in order to avoid breaking legacy applications which may be
|
13
|
+
# relying on errant inflections. If you discover an incorrect inflection and
|
14
|
+
# require it for your application or wish to define rules for languages other
|
15
|
+
# than English, please correct or add them yourself (explained below).
|
16
|
+
module Inflector
|
17
|
+
extend self
|
18
|
+
|
19
|
+
# Returns the plural form of the word in the string.
|
20
|
+
#
|
21
|
+
# If passed an optional +locale+ parameter, the word will be
|
22
|
+
# pluralized using rules defined for that language. By default,
|
23
|
+
# this parameter is set to <tt>:en</tt>.
|
24
|
+
#
|
25
|
+
# 'post'.pluralize # => "posts"
|
26
|
+
# 'octopus'.pluralize # => "octopi"
|
27
|
+
# 'sheep'.pluralize # => "sheep"
|
28
|
+
# 'words'.pluralize # => "words"
|
29
|
+
# 'CamelOctopus'.pluralize # => "CamelOctopi"
|
30
|
+
# 'ley'.pluralize(:es) # => "leyes"
|
31
|
+
def pluralize(word, locale = :en)
|
32
|
+
apply_inflections(word, inflections(locale).plurals)
|
33
|
+
end
|
34
|
+
|
35
|
+
# The reverse of +pluralize+, returns the singular form of a word in a
|
36
|
+
# string.
|
37
|
+
#
|
38
|
+
# If passed an optional +locale+ parameter, the word will be
|
39
|
+
# singularized using rules defined for that language. By default,
|
40
|
+
# this parameter is set to <tt>:en</tt>.
|
41
|
+
#
|
42
|
+
# 'posts'.singularize # => "post"
|
43
|
+
# 'octopi'.singularize # => "octopus"
|
44
|
+
# 'sheep'.singularize # => "sheep"
|
45
|
+
# 'word'.singularize # => "word"
|
46
|
+
# 'CamelOctopi'.singularize # => "CamelOctopus"
|
47
|
+
# 'leyes'.singularize(:es) # => "ley"
|
48
|
+
def singularize(word, locale = :en)
|
49
|
+
apply_inflections(word, inflections(locale).singulars)
|
50
|
+
end
|
51
|
+
|
52
|
+
# By default, +camelize+ converts strings to UpperCamelCase. If the argument
|
53
|
+
# to +camelize+ is set to <tt>:lower</tt> then +camelize+ produces
|
54
|
+
# lowerCamelCase.
|
55
|
+
#
|
56
|
+
# +camelize+ will also convert '/' to '::' which is useful for converting
|
57
|
+
# paths to namespaces.
|
58
|
+
#
|
59
|
+
# 'active_model'.camelize # => "ActiveModel"
|
60
|
+
# 'active_model'.camelize(:lower) # => "activeModel"
|
61
|
+
# 'active_model/errors'.camelize # => "ActiveModel::Errors"
|
62
|
+
# 'active_model/errors'.camelize(:lower) # => "activeModel::Errors"
|
63
|
+
#
|
64
|
+
# As a rule of thumb you can think of +camelize+ as the inverse of
|
65
|
+
# +underscore+, though there are cases where that does not hold:
|
66
|
+
#
|
67
|
+
# 'SSLError'.underscore.camelize # => "SslError"
|
68
|
+
def camelize(term, uppercase_first_letter = true)
|
69
|
+
string = term.to_s
|
70
|
+
if uppercase_first_letter
|
71
|
+
string = string.sub(/^[a-z\d]*/) { inflections.acronyms[$&] || $&.capitalize }
|
72
|
+
else
|
73
|
+
string = string.sub(/^(?:#{inflections.acronym_regex}(?=\b|[A-Z_])|\w)/) { $&.downcase }
|
74
|
+
end
|
75
|
+
string.gsub!(/(?:_|(\/))([a-z\d]*)/i) { "#{$1}#{inflections.acronyms[$2] || $2.capitalize}" }
|
76
|
+
string.gsub!('/', '::')
|
77
|
+
string
|
78
|
+
end
|
79
|
+
|
80
|
+
# Makes an underscored, lowercase form from the expression in the string.
|
81
|
+
#
|
82
|
+
# Changes '::' to '/' to convert namespaces to paths.
|
83
|
+
#
|
84
|
+
# 'ActiveModel'.underscore # => "active_model"
|
85
|
+
# 'ActiveModel::Errors'.underscore # => "active_model/errors"
|
86
|
+
#
|
87
|
+
# As a rule of thumb you can think of +underscore+ as the inverse of
|
88
|
+
# +camelize+, though there are cases where that does not hold:
|
89
|
+
#
|
90
|
+
# 'SSLError'.underscore.camelize # => "SslError"
|
91
|
+
def underscore(camel_cased_word)
|
92
|
+
word = camel_cased_word.to_s.gsub('::', '/')
|
93
|
+
word.gsub!(/(?:([A-Za-z\d])|^)(#{inflections.acronym_regex})(?=\b|[^a-z])/) { "#{$1}#{$1 && '_'}#{$2.downcase}" }
|
94
|
+
word.gsub!(/([A-Z\d]+)([A-Z][a-z])/,'\1_\2')
|
95
|
+
word.gsub!(/([a-z\d])([A-Z])/,'\1_\2')
|
96
|
+
word.tr!("-", "_")
|
97
|
+
word.downcase!
|
98
|
+
word
|
99
|
+
end
|
100
|
+
|
101
|
+
# Capitalizes the first word, turns underscores into spaces, and strips a
|
102
|
+
# trailing '_id' if present.
|
103
|
+
# Like +titleize+, this is meant for creating pretty output.
|
104
|
+
#
|
105
|
+
# The capitalization of the first word can be turned off by setting the
|
106
|
+
# optional parameter +capitalize+ to false.
|
107
|
+
# By default, this parameter is true.
|
108
|
+
#
|
109
|
+
# humanize('employee_salary') # => "Employee salary"
|
110
|
+
# humanize('author_id') # => "Author"
|
111
|
+
# humanize('author_id', capitalize: false) # => "author"
|
112
|
+
def humanize(lower_case_and_underscored_word, options = {})
|
113
|
+
result = lower_case_and_underscored_word.to_s.dup
|
114
|
+
inflections.humans.each { |(rule, replacement)| break if result.sub!(rule, replacement) }
|
115
|
+
result.gsub!(/_id$/, "")
|
116
|
+
result.tr!('_', ' ')
|
117
|
+
result.gsub!(/([a-z\d]*)/i) { |match|
|
118
|
+
"#{inflections.acronyms[match] || match.downcase}"
|
119
|
+
}
|
120
|
+
result.gsub!(/^\w/) { |match| match.upcase } if options.fetch(:capitalize, true)
|
121
|
+
result
|
122
|
+
end
|
123
|
+
|
124
|
+
# Capitalizes all the words and replaces some characters in the string to
|
125
|
+
# create a nicer looking title. +titleize+ is meant for creating pretty
|
126
|
+
# output. It is not used in the Rails internals.
|
127
|
+
#
|
128
|
+
# +titleize+ is also aliased as +titlecase+.
|
129
|
+
#
|
130
|
+
# 'man from the boondocks'.titleize # => "Man From The Boondocks"
|
131
|
+
# 'x-men: the last stand'.titleize # => "X Men: The Last Stand"
|
132
|
+
# 'TheManWithoutAPast'.titleize # => "The Man Without A Past"
|
133
|
+
# 'raiders_of_the_lost_ark'.titleize # => "Raiders Of The Lost Ark"
|
134
|
+
def titleize(word)
|
135
|
+
humanize(underscore(word)).gsub(/\b(?<!['’`])[a-z]/) { $&.capitalize }
|
136
|
+
end
|
137
|
+
|
138
|
+
# Create the name of a table like Rails does for models to table names. This
|
139
|
+
# method uses the +pluralize+ method on the last word in the string.
|
140
|
+
#
|
141
|
+
# 'RawScaledScorer'.tableize # => "raw_scaled_scorers"
|
142
|
+
# 'egg_and_ham'.tableize # => "egg_and_hams"
|
143
|
+
# 'fancyCategory'.tableize # => "fancy_categories"
|
144
|
+
def tableize(class_name)
|
145
|
+
pluralize(underscore(class_name))
|
146
|
+
end
|
147
|
+
|
148
|
+
# Create a class name from a plural table name like Rails does for table
|
149
|
+
# names to models. Note that this returns a string and not a Class (To
|
150
|
+
# convert to an actual class follow +classify+ with +constantize+).
|
151
|
+
#
|
152
|
+
# 'egg_and_hams'.classify # => "EggAndHam"
|
153
|
+
# 'posts'.classify # => "Post"
|
154
|
+
#
|
155
|
+
# Singular names are not handled correctly:
|
156
|
+
#
|
157
|
+
# 'business'.classify # => "Busines"
|
158
|
+
def classify(table_name)
|
159
|
+
# strip out any leading schema name
|
160
|
+
camelize(singularize(table_name.to_s.sub(/.*\./, '')))
|
161
|
+
end
|
162
|
+
|
163
|
+
# Replaces underscores with dashes in the string.
|
164
|
+
#
|
165
|
+
# 'puni_puni'.dasherize # => "puni-puni"
|
166
|
+
def dasherize(underscored_word)
|
167
|
+
underscored_word.tr('_', '-')
|
168
|
+
end
|
169
|
+
|
170
|
+
# Removes the module part from the expression in the string.
|
171
|
+
#
|
172
|
+
# 'ActiveRecord::CoreExtensions::String::Inflections'.demodulize # => "Inflections"
|
173
|
+
# 'Inflections'.demodulize # => "Inflections"
|
174
|
+
#
|
175
|
+
# See also +deconstantize+.
|
176
|
+
def demodulize(path)
|
177
|
+
path = path.to_s
|
178
|
+
if i = path.rindex('::')
|
179
|
+
path[(i+2)..-1]
|
180
|
+
else
|
181
|
+
path
|
182
|
+
end
|
183
|
+
end
|
184
|
+
|
185
|
+
# Removes the rightmost segment from the constant expression in the string.
|
186
|
+
#
|
187
|
+
# 'Net::HTTP'.deconstantize # => "Net"
|
188
|
+
# '::Net::HTTP'.deconstantize # => "::Net"
|
189
|
+
# 'String'.deconstantize # => ""
|
190
|
+
# '::String'.deconstantize # => ""
|
191
|
+
# ''.deconstantize # => ""
|
192
|
+
#
|
193
|
+
# See also +demodulize+.
|
194
|
+
def deconstantize(path)
|
195
|
+
path.to_s[0, path.rindex('::') || 0] # implementation based on the one in facets' Module#spacename
|
196
|
+
end
|
197
|
+
|
198
|
+
# Creates a foreign key name from a class name.
|
199
|
+
# +separate_class_name_and_id_with_underscore+ sets whether
|
200
|
+
# the method should put '_' between the name and 'id'.
|
201
|
+
#
|
202
|
+
# 'Message'.foreign_key # => "message_id"
|
203
|
+
# 'Message'.foreign_key(false) # => "messageid"
|
204
|
+
# 'Admin::Post'.foreign_key # => "post_id"
|
205
|
+
def foreign_key(class_name, separate_class_name_and_id_with_underscore = true)
|
206
|
+
underscore(demodulize(class_name)) + (separate_class_name_and_id_with_underscore ? "_id" : "id")
|
207
|
+
end
|
208
|
+
|
209
|
+
# Tries to find a constant with the name specified in the argument string.
|
210
|
+
#
|
211
|
+
# 'Module'.constantize # => Module
|
212
|
+
# 'Test::Unit'.constantize # => Test::Unit
|
213
|
+
#
|
214
|
+
# The name is assumed to be the one of a top-level constant, no matter
|
215
|
+
# whether it starts with "::" or not. No lexical context is taken into
|
216
|
+
# account:
|
217
|
+
#
|
218
|
+
# C = 'outside'
|
219
|
+
# module M
|
220
|
+
# C = 'inside'
|
221
|
+
# C # => 'inside'
|
222
|
+
# 'C'.constantize # => 'outside', same as ::C
|
223
|
+
# end
|
224
|
+
#
|
225
|
+
# NameError is raised when the name is not in CamelCase or the constant is
|
226
|
+
# unknown.
|
227
|
+
def constantize(camel_cased_word)
|
228
|
+
names = camel_cased_word.split('::')
|
229
|
+
|
230
|
+
# Trigger a builtin NameError exception including the ill-formed constant in the message.
|
231
|
+
Object.const_get(camel_cased_word) if names.empty?
|
232
|
+
|
233
|
+
# Remove the first blank element in case of '::ClassName' notation.
|
234
|
+
names.shift if names.size > 1 && names.first.empty?
|
235
|
+
|
236
|
+
names.inject(Object) do |constant, name|
|
237
|
+
if constant == Object
|
238
|
+
constant.const_get(name)
|
239
|
+
else
|
240
|
+
candidate = constant.const_get(name)
|
241
|
+
next candidate if constant.const_defined?(name, false)
|
242
|
+
next candidate unless Object.const_defined?(name)
|
243
|
+
|
244
|
+
# Go down the ancestors to check it it's owned
|
245
|
+
# directly before we reach Object or the end of ancestors.
|
246
|
+
constant = constant.ancestors.inject do |const, ancestor|
|
247
|
+
break const if ancestor == Object
|
248
|
+
break ancestor if ancestor.const_defined?(name, false)
|
249
|
+
const
|
250
|
+
end
|
251
|
+
|
252
|
+
# owner is in Object, so raise
|
253
|
+
constant.const_get(name, false)
|
254
|
+
end
|
255
|
+
end
|
256
|
+
end
|
257
|
+
|
258
|
+
# Tries to find a constant with the name specified in the argument string.
|
259
|
+
#
|
260
|
+
# 'Module'.safe_constantize # => Module
|
261
|
+
# 'Test::Unit'.safe_constantize # => Test::Unit
|
262
|
+
#
|
263
|
+
# The name is assumed to be the one of a top-level constant, no matter
|
264
|
+
# whether it starts with "::" or not. No lexical context is taken into
|
265
|
+
# account:
|
266
|
+
#
|
267
|
+
# C = 'outside'
|
268
|
+
# module M
|
269
|
+
# C = 'inside'
|
270
|
+
# C # => 'inside'
|
271
|
+
# 'C'.safe_constantize # => 'outside', same as ::C
|
272
|
+
# end
|
273
|
+
#
|
274
|
+
# +nil+ is returned when the name is not in CamelCase or the constant (or
|
275
|
+
# part of it) is unknown.
|
276
|
+
#
|
277
|
+
# 'blargle'.safe_constantize # => nil
|
278
|
+
# 'UnknownModule'.safe_constantize # => nil
|
279
|
+
# 'UnknownModule::Foo::Bar'.safe_constantize # => nil
|
280
|
+
def safe_constantize(camel_cased_word)
|
281
|
+
constantize(camel_cased_word)
|
282
|
+
rescue NameError => e
|
283
|
+
raise unless e.message =~ /(uninitialized constant|wrong constant name) #{const_regexp(camel_cased_word)}$/ ||
|
284
|
+
e.name.to_s == camel_cased_word.to_s
|
285
|
+
rescue ArgumentError => e
|
286
|
+
raise unless e.message =~ /not missing constant #{const_regexp(camel_cased_word)}\!$/
|
287
|
+
end
|
288
|
+
|
289
|
+
# Returns the suffix that should be added to a number to denote the position
|
290
|
+
# in an ordered sequence such as 1st, 2nd, 3rd, 4th.
|
291
|
+
#
|
292
|
+
# ordinal(1) # => "st"
|
293
|
+
# ordinal(2) # => "nd"
|
294
|
+
# ordinal(1002) # => "nd"
|
295
|
+
# ordinal(1003) # => "rd"
|
296
|
+
# ordinal(-11) # => "th"
|
297
|
+
# ordinal(-1021) # => "st"
|
298
|
+
def ordinal(number)
|
299
|
+
abs_number = number.to_i.abs
|
300
|
+
|
301
|
+
if (11..13).include?(abs_number % 100)
|
302
|
+
"th"
|
303
|
+
else
|
304
|
+
case abs_number % 10
|
305
|
+
when 1; "st"
|
306
|
+
when 2; "nd"
|
307
|
+
when 3; "rd"
|
308
|
+
else "th"
|
309
|
+
end
|
310
|
+
end
|
311
|
+
end
|
312
|
+
|
313
|
+
# Turns a number into an ordinal string used to denote the position in an
|
314
|
+
# ordered sequence such as 1st, 2nd, 3rd, 4th.
|
315
|
+
#
|
316
|
+
# ordinalize(1) # => "1st"
|
317
|
+
# ordinalize(2) # => "2nd"
|
318
|
+
# ordinalize(1002) # => "1002nd"
|
319
|
+
# ordinalize(1003) # => "1003rd"
|
320
|
+
# ordinalize(-11) # => "-11th"
|
321
|
+
# ordinalize(-1021) # => "-1021st"
|
322
|
+
def ordinalize(number)
|
323
|
+
"#{number}#{ordinal(number)}"
|
324
|
+
end
|
325
|
+
|
326
|
+
private
|
327
|
+
|
328
|
+
# Mount a regular expression that will match part by part of the constant.
|
329
|
+
#
|
330
|
+
# const_regexp("Foo::Bar::Baz") # => /Foo(::Bar(::Baz)?)?/
|
331
|
+
# const_regexp("::") # => /::/
|
332
|
+
def const_regexp(camel_cased_word) #:nodoc:
|
333
|
+
parts = camel_cased_word.split("::")
|
334
|
+
|
335
|
+
return Regexp.escape(camel_cased_word) if parts.blank?
|
336
|
+
|
337
|
+
last = parts.pop
|
338
|
+
|
339
|
+
parts.reverse.inject(last) do |acc, part|
|
340
|
+
part.empty? ? acc : "#{part}(::#{acc})?"
|
341
|
+
end
|
342
|
+
end
|
343
|
+
|
344
|
+
# Applies inflection rules for +singularize+ and +pluralize+.
|
345
|
+
#
|
346
|
+
# apply_inflections('post', inflections.plurals) # => "posts"
|
347
|
+
# apply_inflections('posts', inflections.singulars) # => "post"
|
348
|
+
def apply_inflections(word, rules)
|
349
|
+
result = word.to_s.dup
|
350
|
+
|
351
|
+
if word.empty? || inflections.uncountables.include?(result.downcase[/\b\w+\Z/])
|
352
|
+
result
|
353
|
+
else
|
354
|
+
rules.each { |(rule, replacement)| break if result.sub!(rule, replacement) }
|
355
|
+
result
|
356
|
+
end
|
357
|
+
end
|
358
|
+
end
|
359
|
+
end
|
@@ -0,0 +1,97 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
require 'active_support/core_ext/string/multibyte'
|
3
|
+
require 'active_support/i18n'
|
4
|
+
|
5
|
+
module ActiveSupport
|
6
|
+
module Inflector
|
7
|
+
|
8
|
+
# Replaces non-ASCII characters with an ASCII approximation, or if none
|
9
|
+
# exists, a replacement character which defaults to "?".
|
10
|
+
#
|
11
|
+
# transliterate('Ærøskøbing')
|
12
|
+
# # => "AEroskobing"
|
13
|
+
#
|
14
|
+
# Default approximations are provided for Western/Latin characters,
|
15
|
+
# e.g, "ø", "ñ", "é", "ß", etc.
|
16
|
+
#
|
17
|
+
# This method is I18n aware, so you can set up custom approximations for a
|
18
|
+
# locale. This can be useful, for example, to transliterate German's "ü"
|
19
|
+
# and "ö" to "ue" and "oe", or to add support for transliterating Russian
|
20
|
+
# to ASCII.
|
21
|
+
#
|
22
|
+
# In order to make your custom transliterations available, you must set
|
23
|
+
# them as the <tt>i18n.transliterate.rule</tt> i18n key:
|
24
|
+
#
|
25
|
+
# # Store the transliterations in locales/de.yml
|
26
|
+
# i18n:
|
27
|
+
# transliterate:
|
28
|
+
# rule:
|
29
|
+
# ü: "ue"
|
30
|
+
# ö: "oe"
|
31
|
+
#
|
32
|
+
# # Or set them using Ruby
|
33
|
+
# I18n.backend.store_translations(:de, i18n: {
|
34
|
+
# transliterate: {
|
35
|
+
# rule: {
|
36
|
+
# 'ü' => 'ue',
|
37
|
+
# 'ö' => 'oe'
|
38
|
+
# }
|
39
|
+
# }
|
40
|
+
# })
|
41
|
+
#
|
42
|
+
# The value for <tt>i18n.transliterate.rule</tt> can be a simple Hash that
|
43
|
+
# maps characters to ASCII approximations as shown above, or, for more
|
44
|
+
# complex requirements, a Proc:
|
45
|
+
#
|
46
|
+
# I18n.backend.store_translations(:de, i18n: {
|
47
|
+
# transliterate: {
|
48
|
+
# rule: ->(string) { MyTransliterator.transliterate(string) }
|
49
|
+
# }
|
50
|
+
# })
|
51
|
+
#
|
52
|
+
# Now you can have different transliterations for each locale:
|
53
|
+
#
|
54
|
+
# I18n.locale = :en
|
55
|
+
# transliterate('Jürgen')
|
56
|
+
# # => "Jurgen"
|
57
|
+
#
|
58
|
+
# I18n.locale = :de
|
59
|
+
# transliterate('Jürgen')
|
60
|
+
# # => "Juergen"
|
61
|
+
def transliterate(string, replacement = "?")
|
62
|
+
I18n.transliterate(ActiveSupport::Multibyte::Unicode.normalize(
|
63
|
+
ActiveSupport::Multibyte::Unicode.tidy_bytes(string), :c),
|
64
|
+
:replacement => replacement)
|
65
|
+
end
|
66
|
+
|
67
|
+
# Replaces special characters in a string so that it may be used as part of
|
68
|
+
# a 'pretty' URL.
|
69
|
+
#
|
70
|
+
# class Person
|
71
|
+
# def to_param
|
72
|
+
# "#{id}-#{name.parameterize}"
|
73
|
+
# end
|
74
|
+
# end
|
75
|
+
#
|
76
|
+
# @person = Person.find(1)
|
77
|
+
# # => #<Person id: 1, name: "Donald E. Knuth">
|
78
|
+
#
|
79
|
+
# <%= link_to(@person.name, person_path(@person)) %>
|
80
|
+
# # => <a href="/person/1-donald-e-knuth">Donald E. Knuth</a>
|
81
|
+
def parameterize(string, sep = '-')
|
82
|
+
# replace accented chars with their ascii equivalents
|
83
|
+
parameterized_string = transliterate(string)
|
84
|
+
# Turn unwanted chars into the separator
|
85
|
+
parameterized_string.gsub!(/[^a-z0-9\-_]+/i, sep)
|
86
|
+
unless sep.nil? || sep.empty?
|
87
|
+
re_sep = Regexp.escape(sep)
|
88
|
+
# No more than one of the separator in a row.
|
89
|
+
parameterized_string.gsub!(/#{re_sep}{2,}/, sep)
|
90
|
+
# Remove leading/trailing separator.
|
91
|
+
parameterized_string.gsub!(/^#{re_sep}|#{re_sep}$/i, '')
|
92
|
+
end
|
93
|
+
parameterized_string.downcase
|
94
|
+
end
|
95
|
+
|
96
|
+
end
|
97
|
+
end
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# in case active_support/inflector is required without the rest of active_support
|
2
|
+
require 'active_support/inflector/inflections'
|
3
|
+
require 'active_support/inflector/transliterate'
|
4
|
+
require 'active_support/inflector/methods'
|
5
|
+
|
6
|
+
require 'active_support/inflections'
|
7
|
+
require 'active_support/core_ext/string/inflections'
|