lazy_record 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.rspec +2 -0
- data/.rubocop.yml +5 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/Gemfile +5 -0
- data/LICENSE.txt +21 -0
- data/README.md +41 -0
- data/Rakefile +3 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/lazy_record.gemspec +39 -0
- data/lib/lazy_record.rb +14 -0
- data/lib/lazy_record/associations.rb +48 -0
- data/lib/lazy_record/attributes.rb +56 -0
- data/lib/lazy_record/base.rb +62 -0
- data/lib/lazy_record/callbacks.rb +30 -0
- data/lib/lazy_record/dynamic_modules.rb +17 -0
- data/lib/lazy_record/methods.rb +36 -0
- data/lib/lazy_record/relation.rb +37 -0
- data/lib/lazy_record/scopes.rb +20 -0
- data/lib/lazy_record/validations.rb +31 -0
- data/lib/lazy_record/version.rb +4 -0
- data/vendor/bundle/bin/coderay +22 -0
- data/vendor/bundle/bin/htmldiff +24 -0
- data/vendor/bundle/bin/ldiff +24 -0
- data/vendor/bundle/bin/pry +22 -0
- data/vendor/bundle/bin/rake +22 -0
- data/vendor/bundle/bin/rspec +22 -0
- data/vendor/bundle/cache/activesupport-5.0.2.gem +0 -0
- data/vendor/bundle/cache/coderay-1.1.1.gem +0 -0
- data/vendor/bundle/cache/concurrent-ruby-1.0.5.gem +0 -0
- data/vendor/bundle/cache/diff-lcs-1.3.gem +0 -0
- data/vendor/bundle/cache/i18n-0.8.1.gem +0 -0
- data/vendor/bundle/cache/method_source-0.8.2.gem +0 -0
- data/vendor/bundle/cache/minitest-5.10.1.gem +0 -0
- data/vendor/bundle/cache/pry-0.10.4.gem +0 -0
- data/vendor/bundle/cache/rake-10.5.0.gem +0 -0
- data/vendor/bundle/cache/rspec-3.5.0.gem +0 -0
- data/vendor/bundle/cache/rspec-core-3.5.4.gem +0 -0
- data/vendor/bundle/cache/rspec-expectations-3.5.0.gem +0 -0
- data/vendor/bundle/cache/rspec-mocks-3.5.0.gem +0 -0
- data/vendor/bundle/cache/rspec-support-3.5.0.gem +0 -0
- data/vendor/bundle/cache/slop-3.6.0.gem +0 -0
- data/vendor/bundle/cache/thread_safe-0.3.6.gem +0 -0
- data/vendor/bundle/cache/tzinfo-1.2.2.gem +0 -0
- data/vendor/bundle/gems/activesupport-5.0.2/CHANGELOG.md +922 -0
- data/vendor/bundle/gems/activesupport-5.0.2/MIT-LICENSE +20 -0
- data/vendor/bundle/gems/activesupport-5.0.2/README.rdoc +39 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support.rb +99 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/all.rb +3 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/array_inquirer.rb +44 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/backtrace_cleaner.rb +103 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/benchmarkable.rb +49 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/builder.rb +6 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/cache.rb +701 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/cache/file_store.rb +204 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/cache/mem_cache_store.rb +207 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/cache/memory_store.rb +167 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/cache/null_store.rb +41 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/cache/strategy/local_cache.rb +172 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/cache/strategy/local_cache_middleware.rb +44 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/callbacks.rb +791 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/concern.rb +142 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/concurrency/latch.rb +26 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/concurrency/share_lock.rb +226 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/configurable.rb +148 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext.rb +4 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/array.rb +7 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/array/access.rb +90 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/array/conversions.rb +211 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/array/extract_options.rb +29 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/array/grouping.rb +107 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/array/inquiry.rb +17 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/array/prepend_and_append.rb +7 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/array/wrap.rb +46 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/benchmark.rb +14 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/big_decimal.rb +1 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/big_decimal/conversions.rb +14 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/class.rb +2 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/class/attribute.rb +128 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/class/attribute_accessors.rb +4 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/class/subclasses.rb +41 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date.rb +5 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date/acts_like.rb +8 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date/blank.rb +12 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date/calculations.rb +143 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date/conversions.rb +95 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date/zones.rb +6 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date_and_time/calculations.rb +335 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date_and_time/compatibility.rb +22 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date_and_time/zones.rb +40 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date_time.rb +5 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date_time/acts_like.rb +14 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date_time/blank.rb +12 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date_time/calculations.rb +199 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date_time/compatibility.rb +5 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date_time/conversions.rb +105 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/digest/uuid.rb +51 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/enumerable.rb +124 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/file.rb +1 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/file/atomic.rb +68 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/hash.rb +9 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/hash/compact.rb +24 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/hash/conversions.rb +262 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/hash/deep_merge.rb +38 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/hash/except.rb +22 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/hash/indifferent_access.rb +23 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/hash/keys.rb +170 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/hash/reverse_merge.rb +22 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/hash/slice.rb +48 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/hash/transform_values.rb +29 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/integer.rb +3 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/integer/inflections.rb +29 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/integer/multiple.rb +10 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/integer/time.rb +29 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/kernel.rb +4 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/kernel/agnostics.rb +11 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/kernel/concern.rb +12 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/kernel/debugger.rb +3 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/kernel/reporting.rb +43 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/kernel/singleton_class.rb +6 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/load_error.rb +31 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/marshal.rb +22 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module.rb +12 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module/aliasing.rb +74 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module/anonymous.rb +28 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module/attr_internal.rb +36 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module/attribute_accessors.rb +212 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb +141 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module/concerning.rb +135 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module/delegation.rb +216 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module/deprecation.rb +23 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module/introspection.rb +68 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module/method_transplanting.rb +3 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module/qualified_const.rb +70 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module/reachable.rb +8 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module/remove_method.rb +35 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/name_error.rb +31 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/numeric.rb +4 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/numeric/bytes.rb +64 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/numeric/conversions.rb +144 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/numeric/inquiry.rb +26 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/numeric/time.rb +74 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/object.rb +14 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/object/acts_like.rb +10 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/object/blank.rb +143 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/object/conversions.rb +4 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/object/deep_dup.rb +53 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/object/duplicable.rb +124 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/object/inclusion.rb +27 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/object/instance_variables.rb +28 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/object/json.rb +205 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/object/to_param.rb +1 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/object/to_query.rb +84 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/object/try.rb +146 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/object/with_options.rb +69 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/range.rb +4 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/range/conversions.rb +31 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/range/each.rb +21 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/range/include_range.rb +23 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/range/overlaps.rb +8 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/regexp.rb +5 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/securerandom.rb +23 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string.rb +13 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string/access.rb +104 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string/behavior.rb +6 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string/conversions.rb +57 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string/exclude.rb +11 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string/filters.rb +102 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string/indent.rb +43 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string/inflections.rb +244 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string/inquiry.rb +13 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string/multibyte.rb +53 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string/output_safety.rb +260 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string/starts_ends_with.rb +4 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string/strip.rb +23 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string/zones.rb +14 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/struct.rb +3 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/time.rb +5 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/time/acts_like.rb +8 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/time/calculations.rb +290 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/time/compatibility.rb +5 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/time/conversions.rb +67 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/time/marshal.rb +3 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/time/zones.rb +111 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/uri.rb +24 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/dependencies.rb +754 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/dependencies/autoload.rb +77 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/dependencies/interlock.rb +55 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/deprecation.rb +43 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/deprecation/behaviors.rb +90 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/deprecation/instance_delegator.rb +37 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/deprecation/method_wrappers.rb +70 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/deprecation/proxy_wrappers.rb +149 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/deprecation/reporting.rb +112 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/descendants_tracker.rb +60 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/duration.rb +182 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/duration/iso8601_parser.rb +122 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/duration/iso8601_serializer.rb +51 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/evented_file_update_checker.rb +194 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/execution_wrapper.rb +126 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/executor.rb +6 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/file_update_checker.rb +157 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/gem_version.rb +15 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/gzip.rb +36 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/hash_with_indifferent_access.rb +329 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/i18n.rb +13 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/i18n_railtie.rb +115 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/inflections.rb +70 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/inflector.rb +7 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/inflector/inflections.rb +242 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/inflector/methods.rb +390 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/inflector/transliterate.rb +112 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/json.rb +2 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/json/decoding.rb +74 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/json/encoding.rb +127 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/key_generator.rb +71 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/lazy_load_hooks.rb +56 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/locale/en.yml +135 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/log_subscriber.rb +109 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/log_subscriber/test_helper.rb +104 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/logger.rb +106 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/logger_silence.rb +28 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/logger_thread_safe_level.rb +31 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/message_encryptor.rb +114 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/message_verifier.rb +134 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/multibyte.rb +21 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/multibyte/chars.rb +231 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/multibyte/unicode.rb +413 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/notifications.rb +212 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/notifications/fanout.rb +157 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/notifications/instrumenter.rb +91 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/number_helper.rb +368 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/number_helper/number_converter.rb +182 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/number_helper/number_to_currency_converter.rb +44 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/number_helper/number_to_delimited_converter.rb +28 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/number_helper/number_to_human_converter.rb +68 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/number_helper/number_to_human_size_converter.rb +62 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/number_helper/number_to_percentage_converter.rb +12 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/number_helper/number_to_phone_converter.rb +58 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/number_helper/number_to_rounded_converter.rb +92 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/option_merger.rb +25 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/ordered_hash.rb +48 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/ordered_options.rb +81 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/per_thread_registry.rb +58 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/proxy_object.rb +13 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/rails.rb +27 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/railtie.rb +51 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/reloader.rb +129 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/rescuable.rb +167 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/security_utils.rb +27 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/string_inquirer.rb +26 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/subscriber.rb +120 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/tagged_logging.rb +77 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/test_case.rb +88 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/testing/assertions.rb +99 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/testing/autorun.rb +9 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/testing/constant_lookup.rb +50 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/testing/declarative.rb +26 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/testing/deprecation.rb +36 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/testing/file_fixtures.rb +34 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/testing/isolation.rb +115 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/testing/method_call_assertions.rb +41 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/testing/setup_and_teardown.rb +50 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/testing/stream.rb +42 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/testing/tagged_logging.rb +25 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/testing/time_helpers.rb +134 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/time.rb +18 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/time_with_zone.rb +500 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/values/time_zone.rb +474 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/values/unicode_tables.dat +0 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/version.rb +8 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/xml_mini.rb +209 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/xml_mini/jdom.rb +181 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/xml_mini/libxml.rb +79 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/xml_mini/libxmlsax.rb +85 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/xml_mini/nokogiri.rb +83 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/xml_mini/nokogirisax.rb +87 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/xml_mini/rexml.rb +128 -0
- data/vendor/bundle/gems/coderay-1.1.1/README_INDEX.rdoc +123 -0
- data/vendor/bundle/gems/coderay-1.1.1/Rakefile +37 -0
- data/vendor/bundle/gems/coderay-1.1.1/bin/coderay +215 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay.rb +284 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/duo.rb +81 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders.rb +18 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/_map.rb +17 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/comment_filter.rb +25 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/count.rb +39 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/debug.rb +49 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/debug_lint.rb +63 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/div.rb +23 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/encoder.rb +190 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/filter.rb +58 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/html.rb +333 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/html/css.rb +65 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/html/numbering.rb +108 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/html/output.rb +166 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/json.rb +83 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/lines_of_code.rb +45 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/lint.rb +59 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/null.rb +18 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/page.rb +24 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/span.rb +23 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/statistic.rb +95 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/terminal.rb +195 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/text.rb +46 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/token_kind_filter.rb +111 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/xml.rb +72 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/yaml.rb +50 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/for_redcloth.rb +95 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/helpers/file_type.rb +151 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/helpers/plugin.rb +55 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/helpers/plugin_host.rb +221 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/helpers/word_list.rb +72 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners.rb +27 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/_map.rb +24 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/c.rb +189 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/clojure.rb +217 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/cpp.rb +215 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/css.rb +196 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/debug.rb +75 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/delphi.rb +144 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/diff.rb +221 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/erb.rb +81 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/go.rb +208 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/groovy.rb +268 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/haml.rb +168 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/html.rb +275 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/java.rb +174 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/java/builtin_types.rb +421 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/java_script.rb +237 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/json.rb +98 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/lua.rb +280 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/php.rb +527 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/python.rb +287 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/raydebug.rb +75 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/ruby.rb +477 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/ruby/patterns.rb +178 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/ruby/string_state.rb +79 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/sass.rb +232 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/scanner.rb +337 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/sql.rb +169 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/taskpaper.rb +36 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/text.rb +26 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/xml.rb +17 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/yaml.rb +140 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/styles.rb +15 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/styles/_map.rb +7 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/styles/alpha.rb +153 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/styles/style.rb +18 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/token_kinds.rb +85 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/tokens.rb +161 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/tokens_proxy.rb +55 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/version.rb +3 -0
- data/vendor/bundle/gems/coderay-1.1.1/test/functional/basic.rb +318 -0
- data/vendor/bundle/gems/coderay-1.1.1/test/functional/examples.rb +129 -0
- data/vendor/bundle/gems/coderay-1.1.1/test/functional/for_redcloth.rb +78 -0
- data/vendor/bundle/gems/coderay-1.1.1/test/functional/suite.rb +15 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/CHANGELOG.md +387 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/LICENSE.txt +21 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/README.md +247 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent.rb +130 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/agent.rb +587 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/array.rb +39 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/async.rb +445 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atom.rb +222 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/abstract_thread_local_var.rb +66 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/atomic_boolean.rb +122 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/atomic_fixnum.rb +139 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/atomic_reference.rb +51 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/count_down_latch.rb +100 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/cyclic_barrier.rb +128 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/event.rb +109 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/java_count_down_latch.rb +39 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/java_thread_local_var.rb +37 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/mutex_atomic_boolean.rb +60 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/mutex_atomic_fixnum.rb +75 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/mutex_count_down_latch.rb +43 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/mutex_semaphore.rb +115 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/read_write_lock.rb +253 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/reentrant_read_write_lock.rb +377 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/ruby_thread_local_var.rb +161 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/semaphore.rb +145 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/thread_local_var.rb +104 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/concurrent_update_error.rb +8 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/direct_update.rb +81 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/jruby+truffle.rb +2 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/jruby.rb +16 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/mutex_atomic.rb +61 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/numeric_cas_wrapper.rb +28 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/rbx.rb +22 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/ruby.rb +32 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomics.rb +53 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/copy_on_notify_observer_set.rb +107 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/copy_on_write_observer_set.rb +111 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/java_non_concurrent_priority_queue.rb +84 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/map/atomic_reference_map_backend.rb +927 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/map/mri_map_backend.rb +66 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/map/non_concurrent_map_backend.rb +141 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/map/synchronized_map_backend.rb +82 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/non_concurrent_priority_queue.rb +143 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/ruby_non_concurrent_priority_queue.rb +150 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/concern/deprecation.rb +34 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/concern/dereferenceable.rb +73 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/concern/logging.rb +27 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/concern/obligation.rb +220 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/concern/observable.rb +110 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/configuration.rb +188 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/constants.rb +8 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/dataflow.rb +80 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/delay.rb +197 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/edge.rb +26 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/errors.rb +69 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/exchanger.rb +356 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/abstract_executor_service.rb +134 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/cached_thread_pool.rb +62 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/executor_service.rb +185 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/fixed_thread_pool.rb +206 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/immediate_executor.rb +66 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/indirect_immediate_executor.rb +44 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/java_executor_service.rb +100 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/java_single_thread_executor.rb +29 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/java_thread_pool_executor.rb +120 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_executor_service.rb +78 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_single_thread_executor.rb +22 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb +362 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/safe_task_executor.rb +35 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/serial_executor_service.rb +34 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/serialized_execution.rb +107 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/serialized_execution_delegator.rb +28 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/simple_executor_service.rb +100 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/single_thread_executor.rb +56 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/thread_pool_executor.rb +87 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/timer_set.rb +175 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executors.rb +20 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/future.rb +138 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/hash.rb +36 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/immutable_struct.rb +93 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/ivar.rb +208 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/lazy_register.rb +81 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/map.rb +240 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/maybe.rb +229 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/mutable_struct.rb +228 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/mvar.rb +242 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/options.rb +42 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/promise.rb +547 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/scheduled_task.rb +318 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/settable_struct.rb +128 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization.rb +31 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/abstract_lockable_object.rb +98 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/abstract_object.rb +24 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/abstract_struct.rb +157 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/condition.rb +58 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/jruby_lockable_object.rb +13 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/jruby_object.rb +44 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/lock.rb +34 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/lockable_object.rb +74 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/mri_lockable_object.rb +71 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/mri_object.rb +43 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/object.rb +153 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/rbx_lockable_object.rb +65 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/rbx_object.rb +48 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/truffle_lockable_object.rb +9 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/truffle_object.rb +31 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/volatile.rb +34 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/synchronized_delegator.rb +50 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util.rb +16 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/adder.rb +74 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/array_hash_rbx.rb +30 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/cheap_lockable.rb +118 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/power_of_two_tuple.rb +38 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/striped64.rb +241 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/volatile.rb +75 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/xor_shift_random.rb +50 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/timer_task.rb +331 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/tuple.rb +86 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/tvar.rb +258 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/at_exit.rb +97 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/engine.rb +56 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/monotonic_time.rb +58 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/native_extension_loader.rb +73 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/native_integer.rb +53 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/processor_counter.rb +160 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/version.rb +4 -0
- data/vendor/bundle/gems/diff-lcs-1.3/.rspec +1 -0
- data/vendor/bundle/gems/diff-lcs-1.3/Code-of-Conduct.md +74 -0
- data/vendor/bundle/gems/diff-lcs-1.3/Contributing.md +83 -0
- data/vendor/bundle/gems/diff-lcs-1.3/History.md +220 -0
- data/vendor/bundle/gems/diff-lcs-1.3/License.md +39 -0
- data/vendor/bundle/gems/diff-lcs-1.3/Manifest.txt +37 -0
- data/vendor/bundle/gems/diff-lcs-1.3/README.rdoc +84 -0
- data/vendor/bundle/gems/diff-lcs-1.3/Rakefile +57 -0
- data/vendor/bundle/gems/diff-lcs-1.3/autotest/discover.rb +1 -0
- data/vendor/bundle/gems/diff-lcs-1.3/bin/htmldiff +32 -0
- data/vendor/bundle/gems/diff-lcs-1.3/bin/ldiff +6 -0
- data/vendor/bundle/gems/diff-lcs-1.3/docs/COPYING.txt +339 -0
- data/vendor/bundle/gems/diff-lcs-1.3/docs/artistic.txt +127 -0
- data/vendor/bundle/gems/diff-lcs-1.3/lib/diff-lcs.rb +3 -0
- data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs.rb +725 -0
- data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/array.rb +7 -0
- data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/block.rb +37 -0
- data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/callbacks.rb +322 -0
- data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/change.rb +181 -0
- data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/htmldiff.rb +149 -0
- data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/hunk.rb +276 -0
- data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/internals.rb +307 -0
- data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/ldiff.rb +167 -0
- data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/string.rb +5 -0
- data/vendor/bundle/gems/diff-lcs-1.3/spec/change_spec.rb +65 -0
- data/vendor/bundle/gems/diff-lcs-1.3/spec/diff_spec.rb +47 -0
- data/vendor/bundle/gems/diff-lcs-1.3/spec/fixtures/ds1.csv +50 -0
- data/vendor/bundle/gems/diff-lcs-1.3/spec/fixtures/ds2.csv +51 -0
- data/vendor/bundle/gems/diff-lcs-1.3/spec/hunk_spec.rb +72 -0
- data/vendor/bundle/gems/diff-lcs-1.3/spec/issues_spec.rb +49 -0
- data/vendor/bundle/gems/diff-lcs-1.3/spec/lcs_spec.rb +56 -0
- data/vendor/bundle/gems/diff-lcs-1.3/spec/ldiff_spec.rb +47 -0
- data/vendor/bundle/gems/diff-lcs-1.3/spec/patch_spec.rb +422 -0
- data/vendor/bundle/gems/diff-lcs-1.3/spec/sdiff_spec.rb +214 -0
- data/vendor/bundle/gems/diff-lcs-1.3/spec/spec_helper.rb +321 -0
- data/vendor/bundle/gems/diff-lcs-1.3/spec/traverse_balanced_spec.rb +310 -0
- data/vendor/bundle/gems/diff-lcs-1.3/spec/traverse_sequences_spec.rb +139 -0
- data/vendor/bundle/gems/i18n-0.8.1/MIT-LICENSE +20 -0
- data/vendor/bundle/gems/i18n-0.8.1/README.md +84 -0
- data/vendor/bundle/gems/i18n-0.8.1/gemfiles/Gemfile.rails-3.2.x +9 -0
- data/vendor/bundle/gems/i18n-0.8.1/gemfiles/Gemfile.rails-4.0.x +9 -0
- data/vendor/bundle/gems/i18n-0.8.1/gemfiles/Gemfile.rails-4.1.x +9 -0
- data/vendor/bundle/gems/i18n-0.8.1/gemfiles/Gemfile.rails-4.2.x +9 -0
- data/vendor/bundle/gems/i18n-0.8.1/gemfiles/Gemfile.rails-5.0.x +9 -0
- data/vendor/bundle/gems/i18n-0.8.1/gemfiles/Gemfile.rails-master +9 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n.rb +343 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend.rb +18 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/base.rb +230 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/cache.rb +114 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/cascade.rb +54 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/chain.rb +97 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/fallbacks.rb +84 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/flatten.rb +113 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/gettext.rb +81 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/interpolation_compiler.rb +121 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/key_value.rb +100 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/memoize.rb +46 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/metadata.rb +69 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/pluralization.rb +53 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/simple.rb +87 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/transliterator.rb +106 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/config.rb +142 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/core_ext/hash.rb +29 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/core_ext/kernel/suppress_warnings.rb +8 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/core_ext/string/interpolate.rb +9 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/exceptions.rb +104 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/gettext.rb +25 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/gettext/helpers.rb +73 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/gettext/po_parser.rb +329 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/interpolate/ruby.rb +37 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/locale.rb +6 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/locale/fallbacks.rb +96 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/locale/tag.rb +28 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/locale/tag/parents.rb +22 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/locale/tag/rfc4646.rb +74 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/locale/tag/simple.rb +39 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/tests.rb +12 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/tests/basics.rb +60 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/tests/defaults.rb +48 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/tests/interpolation.rb +153 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/tests/link.rb +56 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/tests/localization.rb +19 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/tests/localization/date.rb +95 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/tests/localization/date_time.rb +82 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/tests/localization/procs.rb +116 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/tests/localization/time.rb +81 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/tests/lookup.rb +81 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/tests/pluralization.rb +35 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/tests/procs.rb +55 -0
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/version.rb +3 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/api/all_features_test.rb +58 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/api/cascade_test.rb +28 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/api/chain_test.rb +24 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/api/fallbacks_test.rb +30 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/api/key_value_test.rb +24 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/api/memoize_test.rb +56 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/api/override_test.rb +42 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/api/pluralization_test.rb +30 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/api/simple_test.rb +28 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/backend/cache_test.rb +108 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/backend/cascade_test.rb +86 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/backend/chain_test.rb +91 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/backend/exceptions_test.rb +36 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/backend/fallbacks_test.rb +206 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/backend/interpolation_compiler_test.rb +118 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/backend/key_value_test.rb +43 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/backend/memoize_test.rb +47 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/backend/metadata_test.rb +48 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/backend/pluralization_test.rb +45 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/backend/simple_test.rb +84 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/backend/transliterator_test.rb +84 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/core_ext/hash_test.rb +42 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/gettext/api_test.rb +214 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/gettext/backend_test.rb +92 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/i18n/exceptions_test.rb +114 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/i18n/interpolate_test.rb +91 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/i18n/load_path_test.rb +34 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/i18n_test.rb +437 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/locale/fallbacks_test.rb +133 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/locale/tag/rfc4646_test.rb +143 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/locale/tag/simple_test.rb +32 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/run_all.rb +20 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/test_data/locales/de.po +82 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/test_data/locales/en.rb +3 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/test_data/locales/en.yml +3 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/test_data/locales/invalid/empty.yml +0 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/test_data/locales/invalid/syntax.yml +4 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/test_data/locales/plurals.rb +113 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/test_helper.rb +55 -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.rb +141 -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/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/minitest-5.10.1/.autotest +34 -0
- data/vendor/bundle/gems/minitest-5.10.1/History.rdoc +1207 -0
- data/vendor/bundle/gems/minitest-5.10.1/Manifest.txt +26 -0
- data/vendor/bundle/gems/minitest-5.10.1/README.rdoc +660 -0
- data/vendor/bundle/gems/minitest-5.10.1/Rakefile +86 -0
- data/vendor/bundle/gems/minitest-5.10.1/design_rationale.rb +52 -0
- data/vendor/bundle/gems/minitest-5.10.1/lib/hoe/minitest.rb +32 -0
- data/vendor/bundle/gems/minitest-5.10.1/lib/minitest.rb +842 -0
- data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/assertions.rb +688 -0
- data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/autorun.rb +13 -0
- data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/benchmark.rb +424 -0
- data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/expectations.rb +284 -0
- data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/hell.rb +17 -0
- data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/mock.rb +232 -0
- data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/parallel.rb +69 -0
- data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/pride.rb +4 -0
- data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/pride_plugin.rb +142 -0
- data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/spec.rb +331 -0
- data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/test.rb +282 -0
- data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/unit.rb +45 -0
- data/vendor/bundle/gems/minitest-5.10.1/test/minitest/metametameta.rb +101 -0
- data/vendor/bundle/gems/minitest-5.10.1/test/minitest/test_minitest_benchmark.rb +137 -0
- data/vendor/bundle/gems/minitest-5.10.1/test/minitest/test_minitest_mock.rb +512 -0
- data/vendor/bundle/gems/minitest-5.10.1/test/minitest/test_minitest_reporter.rb +281 -0
- data/vendor/bundle/gems/minitest-5.10.1/test/minitest/test_minitest_spec.rb +970 -0
- data/vendor/bundle/gems/minitest-5.10.1/test/minitest/test_minitest_test.rb +2058 -0
- data/vendor/bundle/gems/pry-0.10.4/CHANGELOG.md +718 -0
- data/vendor/bundle/gems/pry-0.10.4/LICENSE +25 -0
- data/vendor/bundle/gems/pry-0.10.4/README.md +406 -0
- data/vendor/bundle/gems/pry-0.10.4/bin/pry +16 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry.rb +161 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/cli.rb +220 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/code.rb +348 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/code/code_file.rb +103 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/code/code_range.rb +71 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/code/loc.rb +92 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/code_object.rb +172 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/color_printer.rb +55 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/command.rb +692 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/command_set.rb +443 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands.rb +6 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/amend_line.rb +99 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/bang.rb +20 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/bang_pry.rb +17 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/cat.rb +62 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/cat/abstract_formatter.rb +27 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/cat/exception_formatter.rb +77 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/cat/file_formatter.rb +67 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/cat/input_expression_formatter.rb +43 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/cd.rb +41 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/change_inspector.rb +27 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/change_prompt.rb +26 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/code_collector.rb +165 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/disable_pry.rb +27 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/disabled_commands.rb +2 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/easter_eggs.rb +112 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/edit.rb +195 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/edit/exception_patcher.rb +25 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/edit/file_and_line_locator.rb +36 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/exit.rb +42 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/exit_all.rb +29 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/exit_program.rb +23 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/find_method.rb +193 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/fix_indent.rb +19 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/gem_cd.rb +26 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/gem_install.rb +32 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/gem_list.rb +33 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/gem_open.rb +29 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/gist.rb +101 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/help.rb +164 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/hist.rb +180 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/import_set.rb +22 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/install_command.rb +53 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/jump_to.rb +29 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/list_inspectors.rb +35 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/list_prompts.rb +35 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls.rb +114 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/constants.rb +47 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/formatter.rb +49 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/globals.rb +48 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/grep.rb +21 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/instance_vars.rb +39 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/interrogatable.rb +18 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/jruby_hacks.rb +49 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/local_names.rb +35 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/local_vars.rb +39 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/ls_entity.rb +70 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/methods.rb +57 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/methods_helper.rb +46 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/self_methods.rb +32 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/nesting.rb +25 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/play.rb +103 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/pry_backtrace.rb +25 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/pry_version.rb +17 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/raise_up.rb +32 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/reload_code.rb +62 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/reset.rb +18 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ri.rb +60 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/save_file.rb +61 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/shell_command.rb +48 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/shell_mode.rb +25 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/show_doc.rb +83 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/show_info.rb +201 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/show_input.rb +17 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/show_source.rb +50 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/simple_prompt.rb +22 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/stat.rb +40 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/switch_to.rb +23 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/toggle_color.rb +24 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/watch_expression.rb +105 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/watch_expression/expression.rb +38 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/whereami.rb +196 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/wtf.rb +57 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/config.rb +24 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/config/behavior.rb +139 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/config/convenience.rb +25 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/config/default.rb +161 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/core_extensions.rb +131 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/editor.rb +135 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/exceptions.rb +78 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/helpers.rb +5 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/helpers/base_helpers.rb +113 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/helpers/command_helpers.rb +156 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/helpers/documentation_helpers.rb +75 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/helpers/options_helpers.rb +27 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/helpers/table.rb +109 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/helpers/text.rb +107 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/history.rb +127 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/history_array.rb +121 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/hooks.rb +230 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/indent.rb +406 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/input_completer.rb +242 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/input_lock.rb +132 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/inspector.rb +27 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/last_exception.rb +61 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/method.rb +546 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/method/disowned.rb +53 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/method/patcher.rb +125 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/method/weird_method_locator.rb +188 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/module_candidate.rb +137 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/object_path.rb +82 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/output.rb +50 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/pager.rb +239 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/plugins.rb +103 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/prompt.rb +26 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/pry_class.rb +375 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/pry_instance.rb +664 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/rbx_path.rb +22 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/repl.rb +202 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/repl_file_loader.rb +74 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/rubygem.rb +82 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/terminal.rb +79 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/test/helper.rb +170 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/version.rb +3 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/wrapped_module.rb +378 -0
- data/vendor/bundle/gems/rake-10.5.0/.autotest +7 -0
- data/vendor/bundle/gems/rake-10.5.0/.rubocop.yml +27 -0
- data/vendor/bundle/gems/rake-10.5.0/.togglerc +7 -0
- data/vendor/bundle/gems/rake-10.5.0/CONTRIBUTING.rdoc +38 -0
- data/vendor/bundle/gems/rake-10.5.0/History.rdoc +659 -0
- data/vendor/bundle/gems/rake-10.5.0/MIT-LICENSE +21 -0
- data/vendor/bundle/gems/rake-10.5.0/Manifest.txt +166 -0
- data/vendor/bundle/gems/rake-10.5.0/README.rdoc +139 -0
- data/vendor/bundle/gems/rake-10.5.0/Rakefile +81 -0
- data/vendor/bundle/gems/rake-10.5.0/bin/rake +33 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/command_line_usage.rdoc +158 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/example/a.c +6 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/example/b.c +6 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/example/main.c +11 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/glossary.rdoc +42 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/jamis.rb +591 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/rake.1 +141 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/rakefile.rdoc +624 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/rational.rdoc +151 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.4.14.rdoc +23 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.4.15.rdoc +35 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.5.0.rdoc +53 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.5.3.rdoc +78 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.5.4.rdoc +46 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.6.0.rdoc +141 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.7.0.rdoc +119 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.7.1.rdoc +59 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.7.2.rdoc +121 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.7.3.rdoc +47 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.8.0.rdoc +114 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.8.2.rdoc +165 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.8.3.rdoc +112 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.8.4.rdoc +147 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.8.5.rdoc +53 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.8.6.rdoc +37 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.8.7.rdoc +55 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.0.rdoc +112 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.1.rdoc +52 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.2.2.rdoc +55 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.2.rdoc +49 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.3.rdoc +102 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.4.rdoc +60 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.5.rdoc +55 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.6.rdoc +64 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-10.0.0.rdoc +178 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-10.0.1.rdoc +58 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-10.0.2.rdoc +53 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-10.0.3.rdoc +191 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-10.1.0.rdoc +61 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake.rb +79 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/alt_system.rb +110 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/application.rb +790 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/backtrace.rb +23 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/clean.rb +76 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/cloneable.rb +16 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/contrib/.document +1 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb +21 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/contrib/ftptools.rb +137 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/contrib/publisher.rb +81 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/contrib/rubyforgepublisher.rb +18 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/contrib/sshpublisher.rb +61 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/contrib/sys.rb +4 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/cpu_counter.rb +125 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/default_loader.rb +14 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/dsl_definition.rb +201 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/early_time.rb +21 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/ext/core.rb +25 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/ext/module.rb +2 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/ext/pathname.rb +25 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/ext/string.rb +175 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/ext/time.rb +18 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/file_creation_task.rb +24 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/file_list.rb +428 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/file_task.rb +46 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/file_utils.rb +128 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/file_utils_ext.rb +144 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/gempackagetask.rb +4 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/invocation_chain.rb +56 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/invocation_exception_mixin.rb +16 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/late_time.rb +17 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/linked_list.rb +103 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/loaders/makefile.rb +53 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/multi_task.rb +13 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/name_space.rb +38 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/packagetask.rb +199 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/pathmap.rb +3 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/phony.rb +15 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/private_reader.rb +20 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/promise.rb +99 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/pseudo_status.rb +29 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/rake_module.rb +38 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/rake_test_loader.rb +22 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/rdoctask.rb +4 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/ruby182_test_unit_fix.rb +29 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/runtest.rb +27 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/scope.rb +42 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/task.rb +383 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/task_argument_error.rb +7 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/task_arguments.rb +98 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/task_manager.rb +307 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/tasklib.rb +24 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/testtask.rb +213 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/thread_history_display.rb +48 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/thread_pool.rb +164 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/trace_output.rb +22 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/version.rb +7 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/win32.rb +56 -0
- data/vendor/bundle/gems/rake-10.5.0/rakelib/publish.rake +20 -0
- data/vendor/bundle/gems/rake-10.5.0/rakelib/test_times.rake +25 -0
- data/vendor/bundle/gems/rake-10.5.0/test/file_creation.rb +34 -0
- data/vendor/bundle/gems/rake-10.5.0/test/helper.rb +129 -0
- data/vendor/bundle/gems/rake-10.5.0/test/support/rakefile_definitions.rb +478 -0
- data/vendor/bundle/gems/rake-10.5.0/test/support/ruby_runner.rb +34 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_private_reader.rb +42 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake.rb +40 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_application.rb +643 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_application_options.rb +468 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_backtrace.rb +119 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_clean.rb +61 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_cpu_counter.rb +68 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_definitions.rb +84 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_directory_task.rb +76 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_dsl.rb +40 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_early_time.rb +31 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_extension.rb +59 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_file_creation_task.rb +56 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_file_list.rb +670 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_file_list_path_map.rb +8 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_file_task.rb +197 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_file_utils.rb +314 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_ftp_file.rb +74 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_functional.rb +482 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_invocation_chain.rb +64 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_late_time.rb +18 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_linked_list.rb +84 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_makefile_loader.rb +46 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_multi_task.rb +64 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_name_space.rb +57 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_package_task.rb +79 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_path_map.rb +168 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_path_map_explode.rb +34 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_path_map_partial.rb +18 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_pathname_extensions.rb +15 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_pseudo_status.rb +21 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_rake_test_loader.rb +20 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_reduce_compat.rb +26 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_require.rb +40 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_rules.rb +388 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_scope.rb +44 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_task.rb +393 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_task_argument_parsing.rb +119 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_task_arguments.rb +127 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_task_lib.rb +9 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_task_manager.rb +178 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_task_manager_argument_resolution.rb +19 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_task_with_arguments.rb +172 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_test_task.rb +146 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_thread_pool.rb +145 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_top_level_functions.rb +71 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_win32.rb +72 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_thread_history_display.rb +101 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_trace_output.rb +52 -0
- data/vendor/bundle/gems/rspec-3.5.0/LICENSE.md +27 -0
- data/vendor/bundle/gems/rspec-3.5.0/README.md +39 -0
- data/vendor/bundle/gems/rspec-3.5.0/lib/rspec.rb +3 -0
- data/vendor/bundle/gems/rspec-3.5.0/lib/rspec/version.rb +5 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/.document +5 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/.yardopts +8 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/Changelog.md +2102 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/LICENSE.md +26 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/README.md +384 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/exe/rspec +4 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/autorun.rb +3 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core.rb +185 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/backtrace_formatter.rb +65 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/bisect/coordinator.rb +66 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/bisect/example_minimizer.rb +169 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/bisect/runner.rb +169 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/bisect/server.rb +65 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb +2100 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/configuration_options.rb +194 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/drb.rb +111 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/dsl.rb +98 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/example.rb +649 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb +879 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/example_status_persister.rb +235 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/filter_manager.rb +231 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/flat_map.rb +20 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters.rb +255 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/base_formatter.rb +70 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/base_text_formatter.rb +77 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/bisect_formatter.rb +69 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/bisect_progress_formatter.rb +144 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/console_codes.rb +65 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/deprecation_formatter.rb +223 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/documentation_formatter.rb +69 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/exception_presenter.rb +491 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/helpers.rb +110 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/html_formatter.rb +151 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/html_printer.rb +414 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/html_snippet_extractor.rb +116 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/json_formatter.rb +96 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/profile_formatter.rb +68 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/progress_formatter.rb +28 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/protocol.rb +181 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/snippet_extractor.rb +136 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/hooks.rb +624 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/invocations.rb +67 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/memoized_helpers.rb +532 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/metadata.rb +499 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/metadata_filter.rb +243 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/mocking_adapters/null.rb +14 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/mocking_adapters/rr.rb +31 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/notifications.rb +498 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/option_parser.rb +289 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/ordering.rb +158 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/pending.rb +165 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/profiler.rb +32 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/project_initializer.rb +48 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/project_initializer/.rspec +2 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/project_initializer/spec/spec_helper.rb +103 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/rake_task.rb +168 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/reporter.rb +248 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/ruby_project.rb +53 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb +188 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/sandbox.rb +37 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/set.rb +49 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/shared_context.rb +55 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/shared_example_group.rb +247 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/shell_escape.rb +49 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/source.rb +86 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/source/location.rb +13 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/source/node.rb +93 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/source/syntax_highlighter.rb +71 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/source/token.rb +87 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/version.rb +9 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/warnings.rb +40 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/world.rb +256 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/.document +5 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/.yardopts +6 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/Changelog.md +1034 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/LICENSE.md +25 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/README.md +303 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/expectations.rb +81 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/expectations/configuration.rb +201 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/expectations/expectation_target.rb +127 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/expectations/fail_with.rb +31 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/expectations/failure_aggregator.rb +194 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/expectations/handler.rb +170 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/expectations/minitest_integration.rb +58 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/expectations/syntax.rb +132 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/expectations/version.rb +8 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers.rb +1038 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/aliased_matcher.rb +116 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in.rb +52 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/all.rb +85 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/base_matcher.rb +181 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/be.rb +288 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/be_between.rb +77 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/be_instance_of.rb +22 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/be_kind_of.rb +16 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/be_within.rb +72 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/change.rb +354 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/compound.rb +272 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/contain_exactly.rb +286 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/cover.rb +24 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/eq.rb +40 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/eql.rb +34 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/equal.rb +81 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/exist.rb +86 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/has.rb +103 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/have_attributes.rb +114 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/include.rb +143 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/match.rb +106 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/operators.rb +128 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/output.rb +200 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/raise_error.rb +230 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/respond_to.rb +165 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/satisfy.rb +37 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/start_or_end_with.rb +94 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/throw_symbol.rb +132 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/yield.rb +419 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/composable.rb +185 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/dsl.rb +466 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/english_phrasing.rb +58 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +73 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/fail_matchers.rb +42 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/generated_descriptions.rb +42 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/matcher_delegator.rb +35 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/matcher_protocol.rb +99 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/.document +5 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/.yardopts +6 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/Changelog.md +1043 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/LICENSE.md +25 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/README.md +445 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks.rb +130 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance.rb +11 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/chain.rb +110 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/expect_chain_chain.rb +35 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/expectation_chain.rb +48 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/proxy.rb +116 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/recorder.rb +289 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/stub_chain.rb +47 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/stub_chain_chain.rb +28 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/argument_list_matcher.rb +100 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/argument_matchers.rb +320 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/configuration.rb +205 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/error_generator.rb +369 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/example_methods.rb +422 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/instance_method_stasher.rb +135 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/marshal_extension.rb +41 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/matchers/have_received.rb +130 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/matchers/receive.rb +132 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/matchers/receive_message_chain.rb +82 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/matchers/receive_messages.rb +77 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/message_chain.rb +87 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/message_expectation.rb +740 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/method_double.rb +287 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/method_reference.rb +202 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/minitest_integration.rb +68 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/mutate_const.rb +335 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/object_reference.rb +149 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/order_group.rb +81 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/proxy.rb +489 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/space.rb +238 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/standalone.rb +3 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/syntax.rb +325 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/targets.rb +124 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/test_double.rb +170 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/verifying_double.rb +129 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/verifying_message_expectation.rb +54 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/verifying_proxy.rb +213 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/version.rb +9 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/Changelog.md +192 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/LICENSE.md +23 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/README.md +40 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support.rb +139 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/caller_filter.rb +83 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/comparable_version.rb +46 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/differ.rb +215 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/directory_maker.rb +63 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/encoded_string.rb +165 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/fuzzy_matcher.rb +48 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/hunk_generator.rb +47 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/matcher_definition.rb +42 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/method_signature_verifier.rb +392 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/mutex.rb +73 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/object_formatter.rb +249 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/recursive_const_methods.rb +76 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/reentrant_mutex.rb +53 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/ruby_features.rb +149 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec.rb +81 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec/deprecation_helpers.rb +64 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec/formatting_support.rb +9 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec/in_sub_process.rb +52 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec/library_wide_checks.rb +150 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec/shell_out.rb +82 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec/stderr_splitter.rb +63 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec/string_matcher.rb +46 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec/with_isolated_directory.rb +13 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec/with_isolated_stderr.rb +13 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/version.rb +7 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/warnings.rb +39 -0
- data/vendor/bundle/gems/slop-3.6.0/.gitignore +7 -0
- data/vendor/bundle/gems/slop-3.6.0/.travis.yml +9 -0
- data/vendor/bundle/gems/slop-3.6.0/CHANGES.md +309 -0
- data/vendor/bundle/gems/slop-3.6.0/Gemfile +3 -0
- data/vendor/bundle/gems/slop-3.6.0/LICENSE +20 -0
- data/vendor/bundle/gems/slop-3.6.0/README.md +202 -0
- data/vendor/bundle/gems/slop-3.6.0/Rakefile +29 -0
- data/vendor/bundle/gems/slop-3.6.0/lib/slop.rb +687 -0
- data/vendor/bundle/gems/slop-3.6.0/lib/slop/commands.rb +196 -0
- data/vendor/bundle/gems/slop-3.6.0/lib/slop/option.rb +214 -0
- data/vendor/bundle/gems/slop-3.6.0/slop.gemspec +17 -0
- data/vendor/bundle/gems/slop-3.6.0/test/commands_test.rb +26 -0
- data/vendor/bundle/gems/slop-3.6.0/test/helper.rb +12 -0
- data/vendor/bundle/gems/slop-3.6.0/test/option_test.rb +145 -0
- data/vendor/bundle/gems/slop-3.6.0/test/slop_test.rb +518 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/.rspec +2 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/.travis.yml +46 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/.yardopts +13 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/Gemfile +20 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/LICENSE +144 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/README.md +60 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/Rakefile +62 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/examples/bench_cache.rb +35 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/JRubyCacheBackendLibrary.java +245 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMap.java +31 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMapV8.java +3863 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/LongAdder.java +203 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/Striped64.java +342 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/ConcurrentHashMapV8.java +3800 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/LongAdder.java +204 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/Striped64.java +291 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166y/ThreadLocalRandom.java +199 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/ext/thread_safe/JrubyCacheBackendService.java +15 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe.rb +65 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/atomic_reference_cache_backend.rb +908 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/cache.rb +161 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/mri_cache_backend.rb +60 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/non_concurrent_cache_backend.rb +135 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/synchronized_cache_backend.rb +77 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/synchronized_delegator.rb +43 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util.rb +16 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/adder.rb +62 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/atomic_reference.rb +44 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/cheap_lockable.rb +106 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/power_of_two_tuple.rb +26 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/striped64.rb +222 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/volatile.rb +64 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/volatile_tuple.rb +46 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/xor_shift_random.rb +41 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/version.rb +21 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/spec/.gitignore +0 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/spec/spec_helper.rb +31 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/spec/src/thread_safe/SecurityManager.java +21 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/spec/support/.gitignore +0 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/spec/support/threads.rb +1 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/spec/support/threadsafe_test.rb +75 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/spec/thread_safe/.gitignore +0 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/spec/thread_safe/array_spec.rb +18 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/spec/thread_safe/cache_loops_spec.rb +507 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/spec/thread_safe/cache_spec.rb +943 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/spec/thread_safe/hash_spec.rb +17 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/spec/thread_safe/no_unsafe_spec.rb +27 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/spec/thread_safe/synchronized_delegator_spec.rb +85 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/tasks/update_doc.rake +45 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/thread_safe.gemspec +26 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/yard-template/default/fulldoc/html/css/common.css +125 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/yard-template/default/layout/html/footer.erb +16 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/.yardopts +6 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/CHANGES.md +649 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/LICENSE +19 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/README.md +151 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/Rakefile +104 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo.rb +40 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/country.rb +196 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/country_index_definition.rb +31 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/country_info.rb +42 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/country_timezone.rb +123 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/data_source.rb +190 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/data_timezone.rb +58 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/data_timezone_info.rb +55 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/info_timezone.rb +30 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/linked_timezone.rb +63 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/linked_timezone_info.rb +26 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/offset_rationals.rb +77 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/ruby_core_support.rb +146 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/ruby_country_info.rb +70 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/ruby_data_source.rb +136 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/time_or_datetime.rb +333 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/timezone.rb +637 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/timezone_definition.rb +36 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/timezone_index_definition.rb +54 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/timezone_info.rb +30 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/timezone_offset.rb +74 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/timezone_period.rb +204 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/timezone_proxy.rb +70 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/timezone_transition.rb +120 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/timezone_transition_definition.rb +101 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/transition_data_timezone_info.rb +274 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/zoneinfo_country_info.rb +35 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/zoneinfo_data_source.rb +487 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/zoneinfo_timezone_info.rb +245 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_country.rb +236 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_country_index_definition.rb +69 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_country_info.rb +16 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_country_timezone.rb +161 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_data_source.rb +218 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_data_timezone.rb +99 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_data_timezone_info.rb +18 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_info_timezone.rb +34 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_linked_timezone.rb +155 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_linked_timezone_info.rb +23 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_offset_rationals.rb +23 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_ruby_core_support.rb +168 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_ruby_country_info.rb +80 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_ruby_data_source.rb +143 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_time_or_datetime.rb +639 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone.rb +1334 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_definition.rb +113 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_index_definition.rb +73 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_info.rb +11 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_london.rb +143 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_melbourne.rb +142 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_new_york.rb +142 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_offset.rb +126 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_period.rb +548 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_proxy.rb +113 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_transition.rb +352 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_transition_definition.rb +284 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_utc.rb +27 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_transition_data_timezone_info.rb +423 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_zoneinfo_country_info.rb +64 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_zoneinfo_data_source.rb +1122 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_zoneinfo_timezone_info.rb +814 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/test_utils.rb +132 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/ts_all.rb +7 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/ts_all_ruby.rb +5 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/ts_all_zoneinfo.rb +7 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data.rb +8 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/America/Argentina/Buenos_Aires.rb +89 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/America/New_York.rb +315 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Australia/Melbourne.rb +218 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/EST.rb +19 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__m__1.rb +21 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__p__1.rb +21 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Etc/UTC.rb +21 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Europe/Amsterdam.rb +261 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Europe/Andorra.rb +186 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Europe/London.rb +321 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Europe/Paris.rb +265 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Europe/Prague.rb +220 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/UTC.rb +16 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/indexes/countries.rb +927 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/indexes/timezones.rb +596 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/version.rb +14 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/America/Argentina/Buenos_Aires +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/America/New_York +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/Australia/Melbourne +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/EST +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/Etc/UTC +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/Europe/Amsterdam +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/Europe/Andorra +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/Europe/London +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/Europe/Paris +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/Europe/Prague +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/Factory +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/iso3166.tab +275 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/posix/Europe/London +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/posixrules +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/right/Europe/London +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/zone.tab +439 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/zone1970.tab +369 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/tzinfo.gemspec +21 -0
- data/vendor/bundle/specifications/activesupport-5.0.2.gemspec +43 -0
- data/vendor/bundle/specifications/coderay-1.1.1.gemspec +26 -0
- data/vendor/bundle/specifications/concurrent-ruby-1.0.5.gemspec +23 -0
- data/vendor/bundle/specifications/diff-lcs-1.3.gemspec +61 -0
- data/vendor/bundle/specifications/i18n-0.8.1.gemspec +22 -0
- data/vendor/bundle/specifications/method_source-0.8.2.gemspec +34 -0
- data/vendor/bundle/specifications/minitest-5.10.1.gemspec +39 -0
- data/vendor/bundle/specifications/pry-0.10.4.gemspec +43 -0
- data/vendor/bundle/specifications/rake-10.5.0.gemspec +43 -0
- data/vendor/bundle/specifications/rspec-3.5.0.gemspec +42 -0
- data/vendor/bundle/specifications/rspec-core-3.5.4.gemspec +62 -0
- data/vendor/bundle/specifications/rspec-expectations-3.5.0.gemspec +50 -0
- data/vendor/bundle/specifications/rspec-mocks-3.5.0.gemspec +50 -0
- data/vendor/bundle/specifications/rspec-support-3.5.0.gemspec +41 -0
- data/vendor/bundle/specifications/slop-3.6.0.gemspec +36 -0
- data/vendor/bundle/specifications/thread_safe-0.3.6.gemspec +38 -0
- data/vendor/bundle/specifications/tzinfo-1.2.2.gemspec +37 -0
- metadata +1467 -0
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2012 Lee Jarvis
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
@@ -0,0 +1,202 @@
|
|
1
|
+
Slop
|
2
|
+
====
|
3
|
+
|
4
|
+
Slop is a simple option parser with an easy to remember syntax and friendly API.
|
5
|
+
API Documentation is available [here](http://leejarvis.github.com/rdoc/slop/).
|
6
|
+
|
7
|
+
[![Build Status](https://travis-ci.org/leejarvis/slop.png?branch=master)](http://travis-ci.org/leejarvis/slop)
|
8
|
+
|
9
|
+
Usage
|
10
|
+
-----
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
opts = Slop.parse do
|
14
|
+
banner 'Usage: foo.rb [options]'
|
15
|
+
|
16
|
+
on 'name=', 'Your name'
|
17
|
+
on 'p', 'password', 'An optional password', argument: :optional
|
18
|
+
on 'v', 'verbose', 'Enable verbose mode'
|
19
|
+
end
|
20
|
+
|
21
|
+
# if ARGV is `--name Lee -v`
|
22
|
+
opts.verbose? #=> true
|
23
|
+
opts.password? #=> false
|
24
|
+
opts[:name] #=> 'lee'
|
25
|
+
opts.to_hash #=> {:name=>"Lee", :password=>nil, :verbose=>true}
|
26
|
+
```
|
27
|
+
|
28
|
+
Installation
|
29
|
+
------------
|
30
|
+
|
31
|
+
gem install slop
|
32
|
+
|
33
|
+
Printing Help
|
34
|
+
-------------
|
35
|
+
|
36
|
+
Slop attempts to build a good looking help string to print to your users. You
|
37
|
+
can see this by calling `opts.help` or simply `puts opts`.
|
38
|
+
|
39
|
+
Configuration Options
|
40
|
+
---------------------
|
41
|
+
|
42
|
+
All of these options can be sent to `Slop.new` or `Slop.parse` in Hash form.
|
43
|
+
|
44
|
+
| Option | Description | Default/Example |
|
45
|
+
| ------ | ----------- | --------------- |
|
46
|
+
| strict | Enable strict mode. Slop will raise an `InvalidOptionError` for unkown options. | `false` |
|
47
|
+
| help | Automatically add the `--help` option. | `false` |
|
48
|
+
| banner | Set the help banner text. | `nil` |
|
49
|
+
| ignore_case | When enabled, `-A` will look for the `-a` option if `-A` does not exist. | `false` |
|
50
|
+
| autocreate | Autocreate options on the fly. | `false` |
|
51
|
+
| arguments | Force all options to expect arguments. | `false` |
|
52
|
+
| optional_arguments | Force all options to accept optional arguments. | `false` |
|
53
|
+
| multiple_switches | When disabled, Slop will parse `-abc` as the option `a` with the argument `bc` rather than 3 separate options. | `true` |
|
54
|
+
|
55
|
+
Lists
|
56
|
+
-----
|
57
|
+
|
58
|
+
```ruby
|
59
|
+
opts = Slop.parse do
|
60
|
+
on :list=, as: Array
|
61
|
+
end
|
62
|
+
# ruby run.rb --list one,two
|
63
|
+
opts[:list] #=> ["one", "two"]
|
64
|
+
# ruby run.rb --list one,two --list three
|
65
|
+
opts[:list] #=> ["one", "two", "three"]
|
66
|
+
```
|
67
|
+
|
68
|
+
You can also specify a delimiter and limit.
|
69
|
+
|
70
|
+
```ruby
|
71
|
+
opts = Slop.parse do
|
72
|
+
on :list=, as: Array, delimiter: ':', limit: 2
|
73
|
+
end
|
74
|
+
# ruby run.rb --list one:two:three
|
75
|
+
opts[:list] #=> ["one", "two:three"]
|
76
|
+
```
|
77
|
+
|
78
|
+
Ranges
|
79
|
+
------
|
80
|
+
|
81
|
+
```ruby
|
82
|
+
opts = Slop.parse do
|
83
|
+
on :range=, as: Range
|
84
|
+
end
|
85
|
+
# ruby run.rb --range 1..10
|
86
|
+
opts[:range] #=> 1..10
|
87
|
+
# ruby run.rb --range 1...10
|
88
|
+
opts[:range] #=> 1...10
|
89
|
+
# ruby run.rb --range 1-10
|
90
|
+
opts[:range] #=> 1..10
|
91
|
+
# ruby run.rb --range 1,10
|
92
|
+
opts[:range] #=> 1..10
|
93
|
+
```
|
94
|
+
|
95
|
+
Autocreate
|
96
|
+
----------
|
97
|
+
|
98
|
+
Slop has an 'autocreate' feature. This feature is intended to create
|
99
|
+
options on the fly, without having to specify them yourself. In some case,
|
100
|
+
using this code could be all you need in your application:
|
101
|
+
|
102
|
+
```ruby
|
103
|
+
# ruby run.rb --foo bar --baz --name lee
|
104
|
+
opts = Slop.parse(autocreate: true)
|
105
|
+
opts.to_hash #=> {:foo=>"bar", :baz=>true, :name=>"lee"}
|
106
|
+
opts.fetch_option(:name).expects_argument? #=> true
|
107
|
+
```
|
108
|
+
|
109
|
+
Commands
|
110
|
+
--------
|
111
|
+
|
112
|
+
Slop supports git style sub-commands, like so:
|
113
|
+
|
114
|
+
```ruby
|
115
|
+
opts = Slop.parse do
|
116
|
+
on '-v', 'Print the version' do
|
117
|
+
puts "Version 1.0"
|
118
|
+
end
|
119
|
+
|
120
|
+
command 'add' do
|
121
|
+
on :v, :verbose, 'Enable verbose mode'
|
122
|
+
on :name=, 'Your name'
|
123
|
+
|
124
|
+
run do |opts, args|
|
125
|
+
puts "You ran 'add' with options #{opts.to_hash} and args: #{args.inspect}"
|
126
|
+
end
|
127
|
+
end
|
128
|
+
end
|
129
|
+
|
130
|
+
# ruby run.rb -v
|
131
|
+
#=> Version 1.0
|
132
|
+
# ruby run.rb add -v foo --name Lee
|
133
|
+
#=> You ran 'add' with options {:verbose=>true,:name=>"Lee"} and args ["foo"]
|
134
|
+
opts.to_hash(true) # Pass true to tell Slop to merge sub-command option values.
|
135
|
+
# => { :v => nil, :add => { :v => true, :name => "Lee" } }
|
136
|
+
```
|
137
|
+
|
138
|
+
Remaining arguments
|
139
|
+
-------------------
|
140
|
+
|
141
|
+
The *parse!* method will remove any options and option arguments from the original Array:
|
142
|
+
|
143
|
+
```ruby
|
144
|
+
# restarguments.rb
|
145
|
+
opts = Slop.parse! do
|
146
|
+
on :foo
|
147
|
+
end
|
148
|
+
```
|
149
|
+
|
150
|
+
Example:
|
151
|
+
|
152
|
+
```
|
153
|
+
ruby restarguments.rb --foo bar
|
154
|
+
```
|
155
|
+
|
156
|
+
```
|
157
|
+
opts.to_hash = { :foo => true }
|
158
|
+
|
159
|
+
ARGV #=> ["bar"]
|
160
|
+
```
|
161
|
+
|
162
|
+
Woah woah, why you hating on OptionParser?
|
163
|
+
------------------------------------------
|
164
|
+
|
165
|
+
I'm not, honestly! I love OptionParser. I really do, it's a fantastic library.
|
166
|
+
So why did I build Slop? Well, I find myself using OptionParser to simply
|
167
|
+
gather a bunch of key/value options, usually you would do something like this:
|
168
|
+
|
169
|
+
```ruby
|
170
|
+
require 'optparse'
|
171
|
+
|
172
|
+
things = {}
|
173
|
+
|
174
|
+
opt = OptionParser.new do |opt|
|
175
|
+
opt.on('-n', '--name NAME', 'Your name') do |name|
|
176
|
+
things[:name] = name
|
177
|
+
end
|
178
|
+
|
179
|
+
opt.on('-a', '--age AGE', 'Your age') do |age|
|
180
|
+
things[:age] = age.to_i
|
181
|
+
end
|
182
|
+
|
183
|
+
# you get the point
|
184
|
+
end
|
185
|
+
|
186
|
+
opt.parse
|
187
|
+
things #=> { :name => 'lee', :age => 105 }
|
188
|
+
```
|
189
|
+
|
190
|
+
Which is all great and stuff, but it can lead to some repetition. The same
|
191
|
+
thing in Slop:
|
192
|
+
|
193
|
+
```ruby
|
194
|
+
require 'slop'
|
195
|
+
|
196
|
+
opts = Slop.parse do
|
197
|
+
on :n, :name=, 'Your name'
|
198
|
+
on :a, :age=, 'Your age', as: Integer
|
199
|
+
end
|
200
|
+
|
201
|
+
opts.to_hash #=> { :name => 'lee', :age => 105 }
|
202
|
+
```
|
@@ -0,0 +1,29 @@
|
|
1
|
+
begin
|
2
|
+
require 'bundler/gem_tasks'
|
3
|
+
rescue LoadError
|
4
|
+
end
|
5
|
+
|
6
|
+
require 'rake/testtask'
|
7
|
+
|
8
|
+
Rake::TestTask.new do |t|
|
9
|
+
t.libs << 'test'
|
10
|
+
t.test_files = Dir['test/*_test.rb']
|
11
|
+
end
|
12
|
+
|
13
|
+
# begin
|
14
|
+
# require 'rdoc/task'
|
15
|
+
|
16
|
+
# # requires sdoc and horo gems
|
17
|
+
# RDoc::Task.new do |rdoc|
|
18
|
+
# rdoc.title = 'Slop API Documentation'
|
19
|
+
# rdoc.rdoc_dir = 'doc'
|
20
|
+
# rdoc.options << '-f' << 'sdoc'
|
21
|
+
# rdoc.options << '-T' << 'rails'
|
22
|
+
# rdoc.options << '-e' << 'UTF-8'
|
23
|
+
# rdoc.options << '-g'
|
24
|
+
# rdoc.rdoc_files.include('lib/**/*.rb')
|
25
|
+
# end
|
26
|
+
# rescue LoadError
|
27
|
+
# end
|
28
|
+
|
29
|
+
task :default => :test
|
@@ -0,0 +1,687 @@
|
|
1
|
+
require 'slop/option'
|
2
|
+
require 'slop/commands'
|
3
|
+
|
4
|
+
class Slop
|
5
|
+
include Enumerable
|
6
|
+
|
7
|
+
VERSION = '3.6.0'
|
8
|
+
|
9
|
+
# The main Error class, all Exception classes inherit from this class.
|
10
|
+
class Error < StandardError; end
|
11
|
+
|
12
|
+
# Raised when an option argument is expected but none are given.
|
13
|
+
class MissingArgumentError < Error; end
|
14
|
+
|
15
|
+
# Raised when an option is expected/required but not present.
|
16
|
+
class MissingOptionError < Error; end
|
17
|
+
|
18
|
+
# Raised when an argument does not match its intended match constraint.
|
19
|
+
class InvalidArgumentError < Error; end
|
20
|
+
|
21
|
+
# Raised when an invalid option is found and the strict flag is enabled.
|
22
|
+
class InvalidOptionError < Error; end
|
23
|
+
|
24
|
+
# Raised when an invalid command is found and the strict flag is enabled.
|
25
|
+
class InvalidCommandError < Error; end
|
26
|
+
|
27
|
+
# Returns a default Hash of configuration options this Slop instance uses.
|
28
|
+
DEFAULT_OPTIONS = {
|
29
|
+
:strict => false,
|
30
|
+
:help => false,
|
31
|
+
:banner => nil,
|
32
|
+
:ignore_case => false,
|
33
|
+
:autocreate => false,
|
34
|
+
:arguments => false,
|
35
|
+
:optional_arguments => false,
|
36
|
+
:multiple_switches => true,
|
37
|
+
:longest_flag => 0
|
38
|
+
}
|
39
|
+
|
40
|
+
class << self
|
41
|
+
|
42
|
+
# items - The Array of items to extract options from (default: ARGV).
|
43
|
+
# config - The Hash of configuration options to send to Slop.new().
|
44
|
+
# block - An optional block used to add options.
|
45
|
+
#
|
46
|
+
# Examples:
|
47
|
+
#
|
48
|
+
# Slop.parse(ARGV, :help => true) do
|
49
|
+
# on '-n', '--name', 'Your username', :argument => true
|
50
|
+
# end
|
51
|
+
#
|
52
|
+
# Returns a new instance of Slop.
|
53
|
+
def parse(items = ARGV, config = {}, &block)
|
54
|
+
parse! items.dup, config, &block
|
55
|
+
end
|
56
|
+
|
57
|
+
# items - The Array of items to extract options from (default: ARGV).
|
58
|
+
# config - The Hash of configuration options to send to Slop.new().
|
59
|
+
# block - An optional block used to add options.
|
60
|
+
#
|
61
|
+
# Returns a new instance of Slop.
|
62
|
+
def parse!(items = ARGV, config = {}, &block)
|
63
|
+
config, items = items, ARGV if items.is_a?(Hash) && config.empty?
|
64
|
+
slop = new config, &block
|
65
|
+
slop.parse! items
|
66
|
+
slop
|
67
|
+
end
|
68
|
+
|
69
|
+
# Build a Slop object from a option specification.
|
70
|
+
#
|
71
|
+
# This allows you to design your options via a simple String rather
|
72
|
+
# than programatically. Do note though that with this method, you're
|
73
|
+
# unable to pass any advanced options to the on() method when creating
|
74
|
+
# options.
|
75
|
+
#
|
76
|
+
# string - The optspec String
|
77
|
+
# config - A Hash of configuration options to pass to Slop.new
|
78
|
+
#
|
79
|
+
# Examples:
|
80
|
+
#
|
81
|
+
# opts = Slop.optspec(<<-SPEC)
|
82
|
+
# ruby foo.rb [options]
|
83
|
+
# ---
|
84
|
+
# n,name= Your name
|
85
|
+
# a,age= Your age
|
86
|
+
# A,auth Sign in with auth
|
87
|
+
# p,passcode= Your secret pass code
|
88
|
+
# SPEC
|
89
|
+
#
|
90
|
+
# opts.fetch_option(:name).description #=> "Your name"
|
91
|
+
#
|
92
|
+
# Returns a new instance of Slop.
|
93
|
+
def optspec(string, config = {})
|
94
|
+
warn "[DEPRECATED] `Slop.optspec` is deprecated and will be removed in version 4"
|
95
|
+
config[:banner], optspec = string.split(/^--+$/, 2) if string[/^--+$/]
|
96
|
+
lines = optspec.split("\n").reject(&:empty?)
|
97
|
+
opts = Slop.new(config)
|
98
|
+
|
99
|
+
lines.each do |line|
|
100
|
+
opt, description = line.split(' ', 2)
|
101
|
+
short, long = opt.split(',').map { |s| s.sub(/\A--?/, '') }
|
102
|
+
opt = opts.on(short, long, description)
|
103
|
+
|
104
|
+
if long && long.end_with?('=')
|
105
|
+
long.sub!(/\=$/, '')
|
106
|
+
opt.config[:argument] = true
|
107
|
+
end
|
108
|
+
end
|
109
|
+
|
110
|
+
opts
|
111
|
+
end
|
112
|
+
|
113
|
+
end
|
114
|
+
|
115
|
+
# The Hash of configuration options for this Slop instance.
|
116
|
+
attr_reader :config
|
117
|
+
|
118
|
+
# The Array of Slop::Option objects tied to this Slop instance.
|
119
|
+
attr_reader :options
|
120
|
+
|
121
|
+
# The Hash of sub-commands for this Slop instance.
|
122
|
+
attr_reader :commands
|
123
|
+
|
124
|
+
# Create a new instance of Slop and optionally build options via a block.
|
125
|
+
#
|
126
|
+
# config - A Hash of configuration options.
|
127
|
+
# block - An optional block used to specify options.
|
128
|
+
def initialize(config = {}, &block)
|
129
|
+
@config = DEFAULT_OPTIONS.merge(config)
|
130
|
+
@options = []
|
131
|
+
@commands = {}
|
132
|
+
@trash = []
|
133
|
+
@triggered_options = []
|
134
|
+
@unknown_options = []
|
135
|
+
@callbacks = {}
|
136
|
+
@separators = {}
|
137
|
+
@runner = nil
|
138
|
+
@command = config.delete(:command)
|
139
|
+
|
140
|
+
if block_given?
|
141
|
+
block.arity == 1 ? yield(self) : instance_eval(&block)
|
142
|
+
end
|
143
|
+
|
144
|
+
if config[:help]
|
145
|
+
on('-h', '--help', 'Display this help message.', :tail => true) do
|
146
|
+
puts help
|
147
|
+
exit
|
148
|
+
end
|
149
|
+
end
|
150
|
+
end
|
151
|
+
|
152
|
+
# Is strict mode enabled?
|
153
|
+
#
|
154
|
+
# Returns true if strict mode is enabled, false otherwise.
|
155
|
+
def strict?
|
156
|
+
config[:strict]
|
157
|
+
end
|
158
|
+
|
159
|
+
# Set the banner.
|
160
|
+
#
|
161
|
+
# banner - The String to set the banner.
|
162
|
+
def banner=(banner)
|
163
|
+
config[:banner] = banner
|
164
|
+
end
|
165
|
+
|
166
|
+
# Get or set the banner.
|
167
|
+
#
|
168
|
+
# banner - The String to set the banner.
|
169
|
+
#
|
170
|
+
# Returns the banner String.
|
171
|
+
def banner(banner = nil)
|
172
|
+
config[:banner] = banner if banner
|
173
|
+
config[:banner]
|
174
|
+
end
|
175
|
+
|
176
|
+
# Set the description (used for commands).
|
177
|
+
#
|
178
|
+
# desc - The String to set the description.
|
179
|
+
def description=(desc)
|
180
|
+
config[:description] = desc
|
181
|
+
end
|
182
|
+
|
183
|
+
# Get or set the description (used for commands).
|
184
|
+
#
|
185
|
+
# desc - The String to set the description.
|
186
|
+
#
|
187
|
+
# Returns the description String.
|
188
|
+
def description(desc = nil)
|
189
|
+
config[:description] = desc if desc
|
190
|
+
config[:description]
|
191
|
+
end
|
192
|
+
|
193
|
+
# Add a new command.
|
194
|
+
#
|
195
|
+
# command - The Symbol or String used to identify this command.
|
196
|
+
# options - A Hash of configuration options (see Slop::new)
|
197
|
+
#
|
198
|
+
# Returns a new instance of Slop mapped to this command.
|
199
|
+
def command(command, options = {}, &block)
|
200
|
+
options = @config.merge(options)
|
201
|
+
@commands[command.to_s] = Slop.new(options.merge(:command => command.to_s), &block)
|
202
|
+
end
|
203
|
+
|
204
|
+
# Parse a list of items, executing and gathering options along the way.
|
205
|
+
#
|
206
|
+
# items - The Array of items to extract options from (default: ARGV).
|
207
|
+
# block - An optional block which when used will yield non options.
|
208
|
+
#
|
209
|
+
# Returns an Array of original items.
|
210
|
+
def parse(items = ARGV, &block)
|
211
|
+
parse! items.dup, &block
|
212
|
+
items
|
213
|
+
end
|
214
|
+
|
215
|
+
# Parse a list of items, executing and gathering options along the way.
|
216
|
+
# unlike parse() this method will remove any options and option arguments
|
217
|
+
# from the original Array.
|
218
|
+
#
|
219
|
+
# items - The Array of items to extract options from (default: ARGV).
|
220
|
+
# block - An optional block which when used will yield non options.
|
221
|
+
#
|
222
|
+
# Returns an Array of original items with options removed.
|
223
|
+
def parse!(items = ARGV, &block)
|
224
|
+
if items.empty? && @callbacks[:empty]
|
225
|
+
@callbacks[:empty].each { |cb| cb.call(self) }
|
226
|
+
return items
|
227
|
+
end
|
228
|
+
|
229
|
+
# reset the trash so it doesn't carry over if you parse multiple
|
230
|
+
# times with the same instance
|
231
|
+
@trash.clear
|
232
|
+
|
233
|
+
if cmd = @commands[items[0]]
|
234
|
+
items.shift
|
235
|
+
return cmd.parse! items
|
236
|
+
end
|
237
|
+
|
238
|
+
items.each_with_index do |item, index|
|
239
|
+
@trash << index && break if item == '--'
|
240
|
+
autocreate(items, index) if config[:autocreate]
|
241
|
+
process_item(items, index, &block) unless @trash.include?(index)
|
242
|
+
end
|
243
|
+
items.reject!.with_index { |item, index| @trash.include?(index) }
|
244
|
+
|
245
|
+
missing_options = options.select { |opt| opt.required? && opt.count < 1 }
|
246
|
+
if missing_options.any?
|
247
|
+
raise MissingOptionError,
|
248
|
+
"Missing required option(s): #{missing_options.map(&:key).join(', ')}"
|
249
|
+
end
|
250
|
+
|
251
|
+
if @unknown_options.any?
|
252
|
+
raise InvalidOptionError, "Unknown options #{@unknown_options.join(', ')}"
|
253
|
+
end
|
254
|
+
|
255
|
+
if @triggered_options.empty? && @callbacks[:no_options]
|
256
|
+
@callbacks[:no_options].each { |cb| cb.call(self) }
|
257
|
+
end
|
258
|
+
|
259
|
+
if @runner.respond_to?(:call)
|
260
|
+
@runner.call(self, items) unless config[:help] and present?(:help)
|
261
|
+
end
|
262
|
+
|
263
|
+
items
|
264
|
+
end
|
265
|
+
|
266
|
+
# Add an Option.
|
267
|
+
#
|
268
|
+
# objects - An Array with an optional Hash as the last element.
|
269
|
+
#
|
270
|
+
# Examples:
|
271
|
+
#
|
272
|
+
# on '-u', '--username=', 'Your username'
|
273
|
+
# on :v, :verbose, 'Enable verbose mode'
|
274
|
+
#
|
275
|
+
# Returns the created instance of Slop::Option.
|
276
|
+
def on(*objects, &block)
|
277
|
+
option = build_option(objects, &block)
|
278
|
+
original = options.find do |o|
|
279
|
+
o.long and o.long == option.long or o.short and o.short == option.short
|
280
|
+
end
|
281
|
+
options.delete(original) if original
|
282
|
+
options << option
|
283
|
+
option
|
284
|
+
end
|
285
|
+
alias option on
|
286
|
+
alias opt on
|
287
|
+
|
288
|
+
# Fetch an options argument value.
|
289
|
+
#
|
290
|
+
# key - The Symbol or String option short or long flag.
|
291
|
+
#
|
292
|
+
# Returns the Object value for this option, or nil.
|
293
|
+
def [](key)
|
294
|
+
option = fetch_option(key)
|
295
|
+
option.value if option
|
296
|
+
end
|
297
|
+
alias get []
|
298
|
+
|
299
|
+
# Returns a new Hash with option flags as keys and option values as values.
|
300
|
+
#
|
301
|
+
# include_commands - If true, merge options from all sub-commands.
|
302
|
+
def to_hash(include_commands = false)
|
303
|
+
hash = Hash[options.map { |opt| [opt.key.to_sym, opt.value] }]
|
304
|
+
if include_commands
|
305
|
+
@commands.each { |cmd, opts| hash.merge!(cmd.to_sym => opts.to_hash) }
|
306
|
+
end
|
307
|
+
hash
|
308
|
+
end
|
309
|
+
alias to_h to_hash
|
310
|
+
|
311
|
+
# Enumerable interface. Yields each Slop::Option.
|
312
|
+
def each(&block)
|
313
|
+
options.each(&block)
|
314
|
+
end
|
315
|
+
|
316
|
+
# Specify code to be executed when these options are parsed.
|
317
|
+
#
|
318
|
+
# callable - An object responding to a call method.
|
319
|
+
#
|
320
|
+
# yields - The instance of Slop parsing these options
|
321
|
+
# An Array of unparsed arguments
|
322
|
+
#
|
323
|
+
# Example:
|
324
|
+
#
|
325
|
+
# Slop.parse do
|
326
|
+
# on :v, :verbose
|
327
|
+
#
|
328
|
+
# run do |opts, args|
|
329
|
+
# puts "Arguments: #{args.inspect}" if opts.verbose?
|
330
|
+
# end
|
331
|
+
# end
|
332
|
+
def run(callable = nil, &block)
|
333
|
+
@runner = callable || block
|
334
|
+
unless @runner.respond_to?(:call)
|
335
|
+
raise ArgumentError, "You must specify a callable object or a block to #run"
|
336
|
+
end
|
337
|
+
end
|
338
|
+
|
339
|
+
# Check for an options presence.
|
340
|
+
#
|
341
|
+
# Examples:
|
342
|
+
#
|
343
|
+
# opts.parse %w( --foo )
|
344
|
+
# opts.present?(:foo) #=> true
|
345
|
+
# opts.present?(:bar) #=> false
|
346
|
+
#
|
347
|
+
# Returns true if all of the keys are present in the parsed arguments.
|
348
|
+
def present?(*keys)
|
349
|
+
keys.all? { |key| (opt = fetch_option(key)) && opt.count > 0 }
|
350
|
+
end
|
351
|
+
|
352
|
+
# Override this method so we can check if an option? method exists.
|
353
|
+
#
|
354
|
+
# Returns true if this option key exists in our list of options.
|
355
|
+
def respond_to_missing?(method_name, include_private = false)
|
356
|
+
options.any? { |o| o.key == method_name.to_s.chop } || super
|
357
|
+
end
|
358
|
+
|
359
|
+
# Fetch a list of options which were missing from the parsed list.
|
360
|
+
#
|
361
|
+
# Examples:
|
362
|
+
#
|
363
|
+
# opts = Slop.new do
|
364
|
+
# on :n, :name=
|
365
|
+
# on :p, :password=
|
366
|
+
# end
|
367
|
+
#
|
368
|
+
# opts.parse %w[ --name Lee ]
|
369
|
+
# opts.missing #=> ['password']
|
370
|
+
#
|
371
|
+
# Returns an Array of Strings representing missing options.
|
372
|
+
def missing
|
373
|
+
(options - @triggered_options).map(&:key)
|
374
|
+
end
|
375
|
+
|
376
|
+
# Fetch a Slop::Option object.
|
377
|
+
#
|
378
|
+
# key - The Symbol or String option key.
|
379
|
+
#
|
380
|
+
# Examples:
|
381
|
+
#
|
382
|
+
# opts.on(:foo, 'Something fooey', :argument => :optional)
|
383
|
+
# opt = opts.fetch_option(:foo)
|
384
|
+
# opt.class #=> Slop::Option
|
385
|
+
# opt.accepts_optional_argument? #=> true
|
386
|
+
#
|
387
|
+
# Returns an Option or nil if none were found.
|
388
|
+
def fetch_option(key)
|
389
|
+
options.find { |option| [option.long, option.short].include?(clean(key)) }
|
390
|
+
end
|
391
|
+
|
392
|
+
# Fetch a Slop object associated with this command.
|
393
|
+
#
|
394
|
+
# command - The String or Symbol name of the command.
|
395
|
+
#
|
396
|
+
# Examples:
|
397
|
+
#
|
398
|
+
# opts.command :foo do
|
399
|
+
# on :v, :verbose, 'Enable verbose mode'
|
400
|
+
# end
|
401
|
+
#
|
402
|
+
# # ruby run.rb foo -v
|
403
|
+
# opts.fetch_command(:foo).verbose? #=> true
|
404
|
+
def fetch_command(command)
|
405
|
+
@commands[command.to_s]
|
406
|
+
end
|
407
|
+
|
408
|
+
# Add a callback.
|
409
|
+
#
|
410
|
+
# label - The Symbol identifier to attach this callback.
|
411
|
+
#
|
412
|
+
# Returns nothing.
|
413
|
+
def add_callback(label, &block)
|
414
|
+
(@callbacks[label] ||= []) << block
|
415
|
+
end
|
416
|
+
|
417
|
+
# Add string separators between options.
|
418
|
+
#
|
419
|
+
# text - The String text to print.
|
420
|
+
def separator(text)
|
421
|
+
if @separators[options.size]
|
422
|
+
@separators[options.size] << "\n#{text}"
|
423
|
+
else
|
424
|
+
@separators[options.size] = text
|
425
|
+
end
|
426
|
+
end
|
427
|
+
|
428
|
+
# Print a handy Slop help string.
|
429
|
+
#
|
430
|
+
# Returns the banner followed by available option help strings.
|
431
|
+
def to_s
|
432
|
+
heads = options.reject(&:tail?)
|
433
|
+
tails = (options - heads)
|
434
|
+
opts = (heads + tails).select(&:help).map(&:to_s)
|
435
|
+
optstr = opts.each_with_index.map { |o, i|
|
436
|
+
(str = @separators[i + 1]) ? [o, str].join("\n") : o
|
437
|
+
}.join("\n")
|
438
|
+
|
439
|
+
if @commands.any?
|
440
|
+
optstr << "\n" if !optstr.empty?
|
441
|
+
optstr << "\nAvailable commands:\n\n"
|
442
|
+
optstr << commands_to_help
|
443
|
+
optstr << "\n\nSee `<command> --help` for more information on a specific command."
|
444
|
+
end
|
445
|
+
|
446
|
+
banner = config[:banner]
|
447
|
+
if banner.nil?
|
448
|
+
banner = "Usage: #{File.basename($0, '.*')}"
|
449
|
+
banner << " #{@command}" if @command
|
450
|
+
banner << " [command]" if @commands.any?
|
451
|
+
banner << " [options]"
|
452
|
+
end
|
453
|
+
if banner
|
454
|
+
"#{banner}\n#{@separators[0] ? "#{@separators[0]}\n" : ''}#{optstr}"
|
455
|
+
else
|
456
|
+
optstr
|
457
|
+
end
|
458
|
+
end
|
459
|
+
alias help to_s
|
460
|
+
|
461
|
+
private
|
462
|
+
|
463
|
+
# Convenience method for present?(:option).
|
464
|
+
#
|
465
|
+
# Examples:
|
466
|
+
#
|
467
|
+
# opts.parse %( --verbose )
|
468
|
+
# opts.verbose? #=> true
|
469
|
+
# opts.other? #=> false
|
470
|
+
#
|
471
|
+
# Returns true if this option is present. If this method does not end
|
472
|
+
# with a ? character it will instead call super().
|
473
|
+
def method_missing(method, *args, &block)
|
474
|
+
meth = method.to_s
|
475
|
+
if meth.end_with?('?')
|
476
|
+
meth.chop!
|
477
|
+
present?(meth) || present?(meth.gsub('_', '-'))
|
478
|
+
else
|
479
|
+
super
|
480
|
+
end
|
481
|
+
end
|
482
|
+
|
483
|
+
# Process a list item, figure out if it's an option, execute any
|
484
|
+
# callbacks, assign any option arguments, and do some sanity checks.
|
485
|
+
#
|
486
|
+
# items - The Array of items to process.
|
487
|
+
# index - The current Integer index of the item we want to process.
|
488
|
+
# block - An optional block which when passed will yield non options.
|
489
|
+
#
|
490
|
+
# Returns nothing.
|
491
|
+
def process_item(items, index, &block)
|
492
|
+
return unless item = items[index]
|
493
|
+
option, argument = extract_option(item) if item.start_with?('-')
|
494
|
+
|
495
|
+
if option
|
496
|
+
option.count += 1 unless item.start_with?('--no-')
|
497
|
+
option.count += 1 if option.key[0, 3] == "no-"
|
498
|
+
@trash << index
|
499
|
+
@triggered_options << option
|
500
|
+
|
501
|
+
if option.expects_argument?
|
502
|
+
argument ||= items.at(index + 1)
|
503
|
+
|
504
|
+
if !argument || argument =~ /\A--?[a-zA-Z][a-zA-Z0-9_-]*\z/
|
505
|
+
raise MissingArgumentError, "#{option.key} expects an argument"
|
506
|
+
end
|
507
|
+
|
508
|
+
execute_option(option, argument, index, item)
|
509
|
+
elsif option.accepts_optional_argument?
|
510
|
+
argument ||= items.at(index + 1)
|
511
|
+
|
512
|
+
if argument && argument =~ /\A([^\-?]|-\d)+/
|
513
|
+
execute_option(option, argument, index, item)
|
514
|
+
else
|
515
|
+
option.call(nil)
|
516
|
+
end
|
517
|
+
elsif config[:multiple_switches] && argument
|
518
|
+
execute_multiple_switches(option, argument, items, index)
|
519
|
+
else
|
520
|
+
option.value = option.count > 0
|
521
|
+
option.call(nil)
|
522
|
+
end
|
523
|
+
else
|
524
|
+
@unknown_options << item if strict? && item =~ /\A--?/
|
525
|
+
block.call(item) if block && !@trash.include?(index)
|
526
|
+
end
|
527
|
+
end
|
528
|
+
|
529
|
+
# Execute an option, firing off callbacks and assigning arguments.
|
530
|
+
#
|
531
|
+
# option - The Slop::Option object found by #process_item.
|
532
|
+
# argument - The argument Object to assign to this option.
|
533
|
+
# index - The current Integer index of the object we're processing.
|
534
|
+
# item - The optional String item we're processing.
|
535
|
+
#
|
536
|
+
# Returns nothing.
|
537
|
+
def execute_option(option, argument, index, item = nil)
|
538
|
+
if !option
|
539
|
+
if config[:multiple_switches] && strict?
|
540
|
+
raise InvalidOptionError, "Unknown option -#{item}"
|
541
|
+
end
|
542
|
+
return
|
543
|
+
end
|
544
|
+
|
545
|
+
if argument
|
546
|
+
unless item && item.end_with?("=#{argument}")
|
547
|
+
@trash << index + 1 unless option.argument_in_value
|
548
|
+
end
|
549
|
+
option.value = argument
|
550
|
+
else
|
551
|
+
option.value = option.count > 0
|
552
|
+
end
|
553
|
+
|
554
|
+
if option.match? && !argument.match(option.config[:match])
|
555
|
+
raise InvalidArgumentError, "#{argument} is an invalid argument"
|
556
|
+
end
|
557
|
+
|
558
|
+
option.call(option.value)
|
559
|
+
end
|
560
|
+
|
561
|
+
# Execute a `-abc` type option where a, b and c are all options. This
|
562
|
+
# method is only executed if the multiple_switches argument is true.
|
563
|
+
#
|
564
|
+
# option - The first Option object.
|
565
|
+
# argument - The argument to this option. (Split into multiple Options).
|
566
|
+
# items - The Array of items currently being parsed.
|
567
|
+
# index - The index of the current item being processed.
|
568
|
+
#
|
569
|
+
# Returns nothing.
|
570
|
+
def execute_multiple_switches(option, argument, items, index)
|
571
|
+
execute_option(option, nil, index)
|
572
|
+
flags = argument.split('')
|
573
|
+
flags.each do |key|
|
574
|
+
if opt = fetch_option(key)
|
575
|
+
opt.count += 1
|
576
|
+
if (opt.expects_argument? || opt.accepts_optional_argument?) &&
|
577
|
+
(flags[-1] == opt.key) && (val = items[index+1])
|
578
|
+
execute_option(opt, val, index, key)
|
579
|
+
else
|
580
|
+
execute_option(opt, nil, index, key)
|
581
|
+
end
|
582
|
+
else
|
583
|
+
raise InvalidOptionError, "Unknown option -#{key}" if strict?
|
584
|
+
end
|
585
|
+
end
|
586
|
+
end
|
587
|
+
|
588
|
+
# Extract an option from a flag.
|
589
|
+
#
|
590
|
+
# flag - The flag key used to extract an option.
|
591
|
+
#
|
592
|
+
# Returns an Array of [option, argument].
|
593
|
+
def extract_option(flag)
|
594
|
+
option = fetch_option(flag)
|
595
|
+
option ||= fetch_option(flag.downcase) if config[:ignore_case]
|
596
|
+
option ||= fetch_option(flag.gsub(/([^-])-/, '\1_'))
|
597
|
+
|
598
|
+
unless option
|
599
|
+
case flag
|
600
|
+
when /\A--?([^=]+)=(.+)\z/, /\A-([a-zA-Z])(.+)\z/, /\A--no-(.+)\z/
|
601
|
+
option, argument = fetch_option($1), ($2 || false)
|
602
|
+
option.argument_in_value = true if option
|
603
|
+
end
|
604
|
+
end
|
605
|
+
|
606
|
+
[option, argument]
|
607
|
+
end
|
608
|
+
|
609
|
+
# Autocreate an option on the fly. See the :autocreate Slop config option.
|
610
|
+
#
|
611
|
+
# items - The Array of items we're parsing.
|
612
|
+
# index - The current Integer index for the item we're processing.
|
613
|
+
#
|
614
|
+
# Returns nothing.
|
615
|
+
def autocreate(items, index)
|
616
|
+
flag = items[index]
|
617
|
+
if !fetch_option(flag) && !@trash.include?(index)
|
618
|
+
option = build_option(Array(flag))
|
619
|
+
argument = items[index + 1]
|
620
|
+
option.config[:argument] = (argument && argument !~ /\A--?/)
|
621
|
+
option.config[:autocreated] = true
|
622
|
+
options << option
|
623
|
+
end
|
624
|
+
end
|
625
|
+
|
626
|
+
# Build an option from a list of objects.
|
627
|
+
#
|
628
|
+
# objects - An Array of objects used to build this option.
|
629
|
+
#
|
630
|
+
# Returns a new instance of Slop::Option.
|
631
|
+
def build_option(objects, &block)
|
632
|
+
config = {}
|
633
|
+
config[:argument] = true if @config[:arguments]
|
634
|
+
config[:optional_argument] = true if @config[:optional_arguments]
|
635
|
+
|
636
|
+
if objects.last.is_a?(Hash)
|
637
|
+
config.merge!(objects.pop)
|
638
|
+
end
|
639
|
+
|
640
|
+
short = extract_short_flag(objects, config)
|
641
|
+
long = extract_long_flag(objects, config)
|
642
|
+
desc = objects.shift if objects[0].respond_to?(:to_str)
|
643
|
+
|
644
|
+
Option.new(self, short, long, desc, config, &block)
|
645
|
+
end
|
646
|
+
|
647
|
+
def extract_short_flag(objects, config)
|
648
|
+
flag = objects[0].to_s
|
649
|
+
if flag =~ /\A-?\w=?\z/
|
650
|
+
config[:argument] ||= flag.end_with?('=')
|
651
|
+
objects.shift
|
652
|
+
flag.delete('-=')
|
653
|
+
end
|
654
|
+
end
|
655
|
+
|
656
|
+
# Extract the long flag from an item.
|
657
|
+
#
|
658
|
+
# objects - The Array of objects passed from #build_option.
|
659
|
+
# config - The Hash of configuration options built in #build_option.
|
660
|
+
def extract_long_flag(objects, config)
|
661
|
+
flag = objects.first.to_s
|
662
|
+
if flag =~ /\A(?:--?)?[a-zA-Z0-9][a-zA-Z0-9_.-]+\=?\??\z/
|
663
|
+
config[:argument] ||= true if flag.end_with?('=')
|
664
|
+
config[:optional_argument] = true if flag.end_with?('=?')
|
665
|
+
objects.shift
|
666
|
+
clean(flag).sub(/\=\??\z/, '')
|
667
|
+
end
|
668
|
+
end
|
669
|
+
|
670
|
+
# Remove any leading -- characters from a string.
|
671
|
+
#
|
672
|
+
# object - The Object we want to cast to a String and clean.
|
673
|
+
#
|
674
|
+
# Returns the newly cleaned String with leading -- characters removed.
|
675
|
+
def clean(object)
|
676
|
+
object.to_s.sub(/\A--?/, '')
|
677
|
+
end
|
678
|
+
|
679
|
+
def commands_to_help
|
680
|
+
padding = 0
|
681
|
+
@commands.each { |c, _| padding = c.size if c.size > padding }
|
682
|
+
@commands.map do |cmd, opts|
|
683
|
+
" #{cmd}#{' ' * (padding - cmd.size)} #{opts.description}"
|
684
|
+
end.join("\n")
|
685
|
+
end
|
686
|
+
|
687
|
+
end
|