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,42 @@
|
|
1
|
+
module ActiveSupport
|
2
|
+
module Testing
|
3
|
+
module Stream #:nodoc:
|
4
|
+
private
|
5
|
+
|
6
|
+
def silence_stream(stream)
|
7
|
+
old_stream = stream.dup
|
8
|
+
stream.reopen(IO::NULL)
|
9
|
+
stream.sync = true
|
10
|
+
yield
|
11
|
+
ensure
|
12
|
+
stream.reopen(old_stream)
|
13
|
+
old_stream.close
|
14
|
+
end
|
15
|
+
|
16
|
+
def quietly
|
17
|
+
silence_stream(STDOUT) do
|
18
|
+
silence_stream(STDERR) do
|
19
|
+
yield
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
def capture(stream)
|
25
|
+
stream = stream.to_s
|
26
|
+
captured_stream = Tempfile.new(stream)
|
27
|
+
stream_io = eval("$#{stream}")
|
28
|
+
origin_stream = stream_io.dup
|
29
|
+
stream_io.reopen(captured_stream)
|
30
|
+
|
31
|
+
yield
|
32
|
+
|
33
|
+
stream_io.rewind
|
34
|
+
return captured_stream.read
|
35
|
+
ensure
|
36
|
+
captured_stream.close
|
37
|
+
captured_stream.unlink
|
38
|
+
stream_io.reopen(origin_stream)
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
module ActiveSupport
|
2
|
+
module Testing
|
3
|
+
# Logs a "PostsControllerTest: test name" heading before each test to
|
4
|
+
# make test.log easier to search and follow along with.
|
5
|
+
module TaggedLogging #:nodoc:
|
6
|
+
attr_writer :tagged_logger
|
7
|
+
|
8
|
+
def before_setup
|
9
|
+
if tagged_logger && tagged_logger.info?
|
10
|
+
heading = "#{self.class}: #{name}"
|
11
|
+
divider = '-' * heading.size
|
12
|
+
tagged_logger.info divider
|
13
|
+
tagged_logger.info heading
|
14
|
+
tagged_logger.info divider
|
15
|
+
end
|
16
|
+
super
|
17
|
+
end
|
18
|
+
|
19
|
+
private
|
20
|
+
def tagged_logger
|
21
|
+
@tagged_logger ||= (defined?(Rails.logger) && Rails.logger)
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,134 @@
|
|
1
|
+
module ActiveSupport
|
2
|
+
module Testing
|
3
|
+
class SimpleStubs # :nodoc:
|
4
|
+
Stub = Struct.new(:object, :method_name, :original_method)
|
5
|
+
|
6
|
+
def initialize
|
7
|
+
@stubs = {}
|
8
|
+
end
|
9
|
+
|
10
|
+
def stub_object(object, method_name, &block)
|
11
|
+
key = [object.object_id, method_name]
|
12
|
+
|
13
|
+
if stub = @stubs[key]
|
14
|
+
unstub_object(stub)
|
15
|
+
end
|
16
|
+
|
17
|
+
new_name = "__simple_stub__#{method_name}"
|
18
|
+
|
19
|
+
@stubs[key] = Stub.new(object, method_name, new_name)
|
20
|
+
|
21
|
+
object.singleton_class.send :alias_method, new_name, method_name
|
22
|
+
object.define_singleton_method(method_name, &block)
|
23
|
+
end
|
24
|
+
|
25
|
+
def unstub_all!
|
26
|
+
@stubs.each_value do |stub|
|
27
|
+
unstub_object(stub)
|
28
|
+
end
|
29
|
+
@stubs = {}
|
30
|
+
end
|
31
|
+
|
32
|
+
private
|
33
|
+
|
34
|
+
def unstub_object(stub)
|
35
|
+
singleton_class = stub.object.singleton_class
|
36
|
+
singleton_class.send :undef_method, stub.method_name
|
37
|
+
singleton_class.send :alias_method, stub.method_name, stub.original_method
|
38
|
+
singleton_class.send :undef_method, stub.original_method
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
# Contains helpers that help you test passage of time.
|
43
|
+
module TimeHelpers
|
44
|
+
# Changes current time to the time in the future or in the past by a given time difference by
|
45
|
+
# stubbing +Time.now+, +Date.today+, and +DateTime.now+.
|
46
|
+
#
|
47
|
+
# Time.current # => Sat, 09 Nov 2013 15:34:49 EST -05:00
|
48
|
+
# travel 1.day
|
49
|
+
# Time.current # => Sun, 10 Nov 2013 15:34:49 EST -05:00
|
50
|
+
# Date.current # => Sun, 10 Nov 2013
|
51
|
+
# DateTime.current # => Sun, 10 Nov 2013 15:34:49 -0500
|
52
|
+
#
|
53
|
+
# This method also accepts a block, which will return the current time back to its original
|
54
|
+
# state at the end of the block:
|
55
|
+
#
|
56
|
+
# Time.current # => Sat, 09 Nov 2013 15:34:49 EST -05:00
|
57
|
+
# travel 1.day do
|
58
|
+
# User.create.created_at # => Sun, 10 Nov 2013 15:34:49 EST -05:00
|
59
|
+
# end
|
60
|
+
# Time.current # => Sat, 09 Nov 2013 15:34:49 EST -05:00
|
61
|
+
def travel(duration, &block)
|
62
|
+
travel_to Time.now + duration, &block
|
63
|
+
end
|
64
|
+
|
65
|
+
# Changes current time to the given time by stubbing +Time.now+,
|
66
|
+
# +Date.today+, and +DateTime.now+ to return the time or date passed into this method.
|
67
|
+
#
|
68
|
+
# Time.current # => Sat, 09 Nov 2013 15:34:49 EST -05:00
|
69
|
+
# travel_to Time.new(2004, 11, 24, 01, 04, 44)
|
70
|
+
# Time.current # => Wed, 24 Nov 2004 01:04:44 EST -05:00
|
71
|
+
# Date.current # => Wed, 24 Nov 2004
|
72
|
+
# DateTime.current # => Wed, 24 Nov 2004 01:04:44 -0500
|
73
|
+
#
|
74
|
+
# Dates are taken as their timestamp at the beginning of the day in the
|
75
|
+
# application time zone. <tt>Time.current</tt> returns said timestamp,
|
76
|
+
# and <tt>Time.now</tt> its equivalent in the system time zone. Similarly,
|
77
|
+
# <tt>Date.current</tt> returns a date equal to the argument, and
|
78
|
+
# <tt>Date.today</tt> the date according to <tt>Time.now</tt>, which may
|
79
|
+
# be different. (Note that you rarely want to deal with <tt>Time.now</tt>,
|
80
|
+
# or <tt>Date.today</tt>, in order to honor the application time zone
|
81
|
+
# please always use <tt>Time.current</tt> and <tt>Date.current</tt>.)
|
82
|
+
#
|
83
|
+
# Note that the usec for the time passed will be set to 0 to prevent rounding
|
84
|
+
# errors with external services, like MySQL (which will round instead of floor,
|
85
|
+
# leading to off-by-one-second errors).
|
86
|
+
#
|
87
|
+
# This method also accepts a block, which will return the current time back to its original
|
88
|
+
# state at the end of the block:
|
89
|
+
#
|
90
|
+
# Time.current # => Sat, 09 Nov 2013 15:34:49 EST -05:00
|
91
|
+
# travel_to Time.new(2004, 11, 24, 01, 04, 44) do
|
92
|
+
# Time.current # => Wed, 24 Nov 2004 01:04:44 EST -05:00
|
93
|
+
# end
|
94
|
+
# Time.current # => Sat, 09 Nov 2013 15:34:49 EST -05:00
|
95
|
+
def travel_to(date_or_time)
|
96
|
+
if date_or_time.is_a?(Date) && !date_or_time.is_a?(DateTime)
|
97
|
+
now = date_or_time.midnight.to_time
|
98
|
+
else
|
99
|
+
now = date_or_time.to_time.change(usec: 0)
|
100
|
+
end
|
101
|
+
|
102
|
+
simple_stubs.stub_object(Time, :now) { at(now.to_i) }
|
103
|
+
simple_stubs.stub_object(Date, :today) { jd(now.to_date.jd) }
|
104
|
+
simple_stubs.stub_object(DateTime, :now) { jd(now.to_date.jd, now.hour, now.min, now.sec, Rational(now.utc_offset, 86400)) }
|
105
|
+
|
106
|
+
if block_given?
|
107
|
+
begin
|
108
|
+
yield
|
109
|
+
ensure
|
110
|
+
travel_back
|
111
|
+
end
|
112
|
+
end
|
113
|
+
end
|
114
|
+
|
115
|
+
# Returns the current time back to its original state, by removing the stubs added by
|
116
|
+
# `travel` and `travel_to`.
|
117
|
+
#
|
118
|
+
# Time.current # => Sat, 09 Nov 2013 15:34:49 EST -05:00
|
119
|
+
# travel_to Time.new(2004, 11, 24, 01, 04, 44)
|
120
|
+
# Time.current # => Wed, 24 Nov 2004 01:04:44 EST -05:00
|
121
|
+
# travel_back
|
122
|
+
# Time.current # => Sat, 09 Nov 2013 15:34:49 EST -05:00
|
123
|
+
def travel_back
|
124
|
+
simple_stubs.unstub_all!
|
125
|
+
end
|
126
|
+
|
127
|
+
private
|
128
|
+
|
129
|
+
def simple_stubs
|
130
|
+
@simple_stubs ||= SimpleStubs.new
|
131
|
+
end
|
132
|
+
end
|
133
|
+
end
|
134
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
module ActiveSupport
|
2
|
+
autoload :Duration, 'active_support/duration'
|
3
|
+
autoload :TimeWithZone, 'active_support/time_with_zone'
|
4
|
+
autoload :TimeZone, 'active_support/values/time_zone'
|
5
|
+
end
|
6
|
+
|
7
|
+
require 'date'
|
8
|
+
require 'time'
|
9
|
+
|
10
|
+
require 'active_support/core_ext/time'
|
11
|
+
require 'active_support/core_ext/date'
|
12
|
+
require 'active_support/core_ext/date_time'
|
13
|
+
|
14
|
+
require 'active_support/core_ext/integer/time'
|
15
|
+
require 'active_support/core_ext/numeric/time'
|
16
|
+
|
17
|
+
require 'active_support/core_ext/string/conversions'
|
18
|
+
require 'active_support/core_ext/string/zones'
|
@@ -0,0 +1,500 @@
|
|
1
|
+
require 'active_support/duration'
|
2
|
+
require 'active_support/values/time_zone'
|
3
|
+
require 'active_support/core_ext/object/acts_like'
|
4
|
+
require 'active_support/core_ext/date_and_time/compatibility'
|
5
|
+
|
6
|
+
module ActiveSupport
|
7
|
+
# A Time-like class that can represent a time in any time zone. Necessary
|
8
|
+
# because standard Ruby Time instances are limited to UTC and the
|
9
|
+
# system's <tt>ENV['TZ']</tt> zone.
|
10
|
+
#
|
11
|
+
# You shouldn't ever need to create a TimeWithZone instance directly via +new+.
|
12
|
+
# Instead use methods +local+, +parse+, +at+ and +now+ on TimeZone instances,
|
13
|
+
# and +in_time_zone+ on Time and DateTime instances.
|
14
|
+
#
|
15
|
+
# Time.zone = 'Eastern Time (US & Canada)' # => 'Eastern Time (US & Canada)'
|
16
|
+
# Time.zone.local(2007, 2, 10, 15, 30, 45) # => Sat, 10 Feb 2007 15:30:45 EST -05:00
|
17
|
+
# Time.zone.parse('2007-02-10 15:30:45') # => Sat, 10 Feb 2007 15:30:45 EST -05:00
|
18
|
+
# Time.zone.at(1171139445) # => Sat, 10 Feb 2007 15:30:45 EST -05:00
|
19
|
+
# Time.zone.now # => Sun, 18 May 2008 13:07:55 EDT -04:00
|
20
|
+
# Time.utc(2007, 2, 10, 20, 30, 45).in_time_zone # => Sat, 10 Feb 2007 15:30:45 EST -05:00
|
21
|
+
#
|
22
|
+
# See Time and TimeZone for further documentation of these methods.
|
23
|
+
#
|
24
|
+
# TimeWithZone instances implement the same API as Ruby Time instances, so
|
25
|
+
# that Time and TimeWithZone instances are interchangeable.
|
26
|
+
#
|
27
|
+
# t = Time.zone.now # => Sun, 18 May 2008 13:27:25 EDT -04:00
|
28
|
+
# t.hour # => 13
|
29
|
+
# t.dst? # => true
|
30
|
+
# t.utc_offset # => -14400
|
31
|
+
# t.zone # => "EDT"
|
32
|
+
# t.to_s(:rfc822) # => "Sun, 18 May 2008 13:27:25 -0400"
|
33
|
+
# t + 1.day # => Mon, 19 May 2008 13:27:25 EDT -04:00
|
34
|
+
# t.beginning_of_year # => Tue, 01 Jan 2008 00:00:00 EST -05:00
|
35
|
+
# t > Time.utc(1999) # => true
|
36
|
+
# t.is_a?(Time) # => true
|
37
|
+
# t.is_a?(ActiveSupport::TimeWithZone) # => true
|
38
|
+
class TimeWithZone
|
39
|
+
|
40
|
+
# Report class name as 'Time' to thwart type checking.
|
41
|
+
def self.name
|
42
|
+
'Time'
|
43
|
+
end
|
44
|
+
|
45
|
+
PRECISIONS = Hash.new { |h, n| h[n] = "%FT%T.%#{n}N".freeze }
|
46
|
+
PRECISIONS[0] = '%FT%T'.freeze
|
47
|
+
|
48
|
+
include Comparable, DateAndTime::Compatibility
|
49
|
+
attr_reader :time_zone
|
50
|
+
|
51
|
+
def initialize(utc_time, time_zone, local_time = nil, period = nil)
|
52
|
+
@utc = utc_time ? transfer_time_values_to_utc_constructor(utc_time) : nil
|
53
|
+
@time_zone, @time = time_zone, local_time
|
54
|
+
@period = @utc ? period : get_period_and_ensure_valid_local_time(period)
|
55
|
+
end
|
56
|
+
|
57
|
+
# Returns a <tt>Time</tt> instance that represents the time in +time_zone+.
|
58
|
+
def time
|
59
|
+
@time ||= period.to_local(@utc)
|
60
|
+
end
|
61
|
+
|
62
|
+
# Returns a <tt>Time</tt> instance of the simultaneous time in the UTC timezone.
|
63
|
+
def utc
|
64
|
+
@utc ||= period.to_utc(@time)
|
65
|
+
end
|
66
|
+
alias_method :comparable_time, :utc
|
67
|
+
alias_method :getgm, :utc
|
68
|
+
alias_method :getutc, :utc
|
69
|
+
alias_method :gmtime, :utc
|
70
|
+
|
71
|
+
# Returns the underlying TZInfo::TimezonePeriod.
|
72
|
+
def period
|
73
|
+
@period ||= time_zone.period_for_utc(@utc)
|
74
|
+
end
|
75
|
+
|
76
|
+
# Returns the simultaneous time in <tt>Time.zone</tt>, or the specified zone.
|
77
|
+
def in_time_zone(new_zone = ::Time.zone)
|
78
|
+
return self if time_zone == new_zone
|
79
|
+
utc.in_time_zone(new_zone)
|
80
|
+
end
|
81
|
+
|
82
|
+
# Returns a <tt>Time</tt> instance of the simultaneous time in the system timezone.
|
83
|
+
def localtime(utc_offset = nil)
|
84
|
+
utc.getlocal(utc_offset)
|
85
|
+
end
|
86
|
+
alias_method :getlocal, :localtime
|
87
|
+
|
88
|
+
# Returns true if the current time is within Daylight Savings Time for the
|
89
|
+
# specified time zone.
|
90
|
+
#
|
91
|
+
# Time.zone = 'Eastern Time (US & Canada)' # => 'Eastern Time (US & Canada)'
|
92
|
+
# Time.zone.parse("2012-5-30").dst? # => true
|
93
|
+
# Time.zone.parse("2012-11-30").dst? # => false
|
94
|
+
def dst?
|
95
|
+
period.dst?
|
96
|
+
end
|
97
|
+
alias_method :isdst, :dst?
|
98
|
+
|
99
|
+
# Returns true if the current time zone is set to UTC.
|
100
|
+
#
|
101
|
+
# Time.zone = 'UTC' # => 'UTC'
|
102
|
+
# Time.zone.now.utc? # => true
|
103
|
+
# Time.zone = 'Eastern Time (US & Canada)' # => 'Eastern Time (US & Canada)'
|
104
|
+
# Time.zone.now.utc? # => false
|
105
|
+
def utc?
|
106
|
+
period.offset.abbreviation == :UTC || period.offset.abbreviation == :UCT
|
107
|
+
end
|
108
|
+
alias_method :gmt?, :utc?
|
109
|
+
|
110
|
+
# Returns the offset from current time to UTC time in seconds.
|
111
|
+
def utc_offset
|
112
|
+
period.utc_total_offset
|
113
|
+
end
|
114
|
+
alias_method :gmt_offset, :utc_offset
|
115
|
+
alias_method :gmtoff, :utc_offset
|
116
|
+
|
117
|
+
# Returns a formatted string of the offset from UTC, or an alternative
|
118
|
+
# string if the time zone is already UTC.
|
119
|
+
#
|
120
|
+
# Time.zone = 'Eastern Time (US & Canada)' # => "Eastern Time (US & Canada)"
|
121
|
+
# Time.zone.now.formatted_offset(true) # => "-05:00"
|
122
|
+
# Time.zone.now.formatted_offset(false) # => "-0500"
|
123
|
+
# Time.zone = 'UTC' # => "UTC"
|
124
|
+
# Time.zone.now.formatted_offset(true, "0") # => "0"
|
125
|
+
def formatted_offset(colon = true, alternate_utc_string = nil)
|
126
|
+
utc? && alternate_utc_string || TimeZone.seconds_to_utc_offset(utc_offset, colon)
|
127
|
+
end
|
128
|
+
|
129
|
+
# Returns the time zone abbreviation.
|
130
|
+
#
|
131
|
+
# Time.zone = 'Eastern Time (US & Canada)' # => "Eastern Time (US & Canada)"
|
132
|
+
# Time.zone.now.zone # => "EST"
|
133
|
+
def zone
|
134
|
+
period.zone_identifier.to_s
|
135
|
+
end
|
136
|
+
|
137
|
+
# Returns a string of the object's date, time, zone and offset from UTC.
|
138
|
+
#
|
139
|
+
# Time.zone.now.inspect # => "Thu, 04 Dec 2014 11:00:25 EST -05:00"
|
140
|
+
def inspect
|
141
|
+
"#{time.strftime('%a, %d %b %Y %H:%M:%S')} #{zone} #{formatted_offset}"
|
142
|
+
end
|
143
|
+
|
144
|
+
# Returns a string of the object's date and time in the ISO 8601 standard
|
145
|
+
# format.
|
146
|
+
#
|
147
|
+
# Time.zone.now.xmlschema # => "2014-12-04T11:02:37-05:00"
|
148
|
+
def xmlschema(fraction_digits = 0)
|
149
|
+
"#{time.strftime(PRECISIONS[fraction_digits.to_i])}#{formatted_offset(true, 'Z'.freeze)}"
|
150
|
+
end
|
151
|
+
alias_method :iso8601, :xmlschema
|
152
|
+
|
153
|
+
# Coerces time to a string for JSON encoding. The default format is ISO 8601.
|
154
|
+
# You can get %Y/%m/%d %H:%M:%S +offset style by setting
|
155
|
+
# <tt>ActiveSupport::JSON::Encoding.use_standard_json_time_format</tt>
|
156
|
+
# to +false+.
|
157
|
+
#
|
158
|
+
# # With ActiveSupport::JSON::Encoding.use_standard_json_time_format = true
|
159
|
+
# Time.utc(2005,2,1,15,15,10).in_time_zone("Hawaii").to_json
|
160
|
+
# # => "2005-02-01T05:15:10.000-10:00"
|
161
|
+
#
|
162
|
+
# # With ActiveSupport::JSON::Encoding.use_standard_json_time_format = false
|
163
|
+
# Time.utc(2005,2,1,15,15,10).in_time_zone("Hawaii").to_json
|
164
|
+
# # => "2005/02/01 05:15:10 -1000"
|
165
|
+
def as_json(options = nil)
|
166
|
+
if ActiveSupport::JSON::Encoding.use_standard_json_time_format
|
167
|
+
xmlschema(ActiveSupport::JSON::Encoding.time_precision)
|
168
|
+
else
|
169
|
+
%(#{time.strftime("%Y/%m/%d %H:%M:%S")} #{formatted_offset(false)})
|
170
|
+
end
|
171
|
+
end
|
172
|
+
|
173
|
+
def init_with(coder) #:nodoc:
|
174
|
+
initialize(coder['utc'], coder['zone'], coder['time'])
|
175
|
+
end
|
176
|
+
|
177
|
+
def encode_with(coder) #:nodoc:
|
178
|
+
coder.tag = '!ruby/object:ActiveSupport::TimeWithZone'
|
179
|
+
coder.map = { 'utc' => utc, 'zone' => time_zone, 'time' => time }
|
180
|
+
end
|
181
|
+
|
182
|
+
# Returns a string of the object's date and time in the format used by
|
183
|
+
# HTTP requests.
|
184
|
+
#
|
185
|
+
# Time.zone.now.httpdate # => "Tue, 01 Jan 2013 04:39:43 GMT"
|
186
|
+
def httpdate
|
187
|
+
utc.httpdate
|
188
|
+
end
|
189
|
+
|
190
|
+
# Returns a string of the object's date and time in the RFC 2822 standard
|
191
|
+
# format.
|
192
|
+
#
|
193
|
+
# Time.zone.now.rfc2822 # => "Tue, 01 Jan 2013 04:51:39 +0000"
|
194
|
+
def rfc2822
|
195
|
+
to_s(:rfc822)
|
196
|
+
end
|
197
|
+
alias_method :rfc822, :rfc2822
|
198
|
+
|
199
|
+
# Returns a string of the object's date and time.
|
200
|
+
# Accepts an optional <tt>format</tt>:
|
201
|
+
# * <tt>:default</tt> - default value, mimics Ruby Time#to_s format.
|
202
|
+
# * <tt>:db</tt> - format outputs time in UTC :db time. See Time#to_formatted_s(:db).
|
203
|
+
# * Any key in <tt>Time::DATE_FORMATS</tt> can be used. See active_support/core_ext/time/conversions.rb.
|
204
|
+
def to_s(format = :default)
|
205
|
+
if format == :db
|
206
|
+
utc.to_s(format)
|
207
|
+
elsif formatter = ::Time::DATE_FORMATS[format]
|
208
|
+
formatter.respond_to?(:call) ? formatter.call(self).to_s : strftime(formatter)
|
209
|
+
else
|
210
|
+
"#{time.strftime("%Y-%m-%d %H:%M:%S")} #{formatted_offset(false, 'UTC')}" # mimicking Ruby Time#to_s format
|
211
|
+
end
|
212
|
+
end
|
213
|
+
alias_method :to_formatted_s, :to_s
|
214
|
+
|
215
|
+
# Replaces <tt>%Z</tt> directive with +zone before passing to Time#strftime,
|
216
|
+
# so that zone information is correct.
|
217
|
+
def strftime(format)
|
218
|
+
format = format.gsub(/((?:\A|[^%])(?:%%)*)%Z/, "\\1#{zone}")
|
219
|
+
getlocal(utc_offset).strftime(format)
|
220
|
+
end
|
221
|
+
|
222
|
+
# Use the time in UTC for comparisons.
|
223
|
+
def <=>(other)
|
224
|
+
utc <=> other
|
225
|
+
end
|
226
|
+
|
227
|
+
# Returns true if the current object's time is within the specified
|
228
|
+
# +min+ and +max+ time.
|
229
|
+
def between?(min, max)
|
230
|
+
utc.between?(min, max)
|
231
|
+
end
|
232
|
+
|
233
|
+
# Returns true if the current object's time is in the past.
|
234
|
+
def past?
|
235
|
+
utc.past?
|
236
|
+
end
|
237
|
+
|
238
|
+
# Returns true if the current object's time falls within
|
239
|
+
# the current day.
|
240
|
+
def today?
|
241
|
+
time.today?
|
242
|
+
end
|
243
|
+
|
244
|
+
# Returns true if the current object's time is in the future.
|
245
|
+
def future?
|
246
|
+
utc.future?
|
247
|
+
end
|
248
|
+
|
249
|
+
# Returns +true+ if +other+ is equal to current object.
|
250
|
+
def eql?(other)
|
251
|
+
other.eql?(utc)
|
252
|
+
end
|
253
|
+
|
254
|
+
def hash
|
255
|
+
utc.hash
|
256
|
+
end
|
257
|
+
|
258
|
+
# Adds an interval of time to the current object's time and returns that
|
259
|
+
# value as a new TimeWithZone object.
|
260
|
+
#
|
261
|
+
# Time.zone = 'Eastern Time (US & Canada)' # => 'Eastern Time (US & Canada)'
|
262
|
+
# now = Time.zone.now # => Sun, 02 Nov 2014 01:26:28 EDT -04:00
|
263
|
+
# now + 1000 # => Sun, 02 Nov 2014 01:43:08 EDT -04:00
|
264
|
+
#
|
265
|
+
# If we're adding a Duration of variable length (i.e., years, months, days),
|
266
|
+
# move forward from #time, otherwise move forward from #utc, for accuracy
|
267
|
+
# when moving across DST boundaries.
|
268
|
+
#
|
269
|
+
# For instance, a time + 24.hours will advance exactly 24 hours, while a
|
270
|
+
# time + 1.day will advance 23-25 hours, depending on the day.
|
271
|
+
#
|
272
|
+
# now + 24.hours # => Mon, 03 Nov 2014 00:26:28 EST -05:00
|
273
|
+
# now + 1.day # => Mon, 03 Nov 2014 01:26:28 EST -05:00
|
274
|
+
def +(other)
|
275
|
+
if duration_of_variable_length?(other)
|
276
|
+
method_missing(:+, other)
|
277
|
+
else
|
278
|
+
result = utc.acts_like?(:date) ? utc.since(other) : utc + other rescue utc.since(other)
|
279
|
+
result.in_time_zone(time_zone)
|
280
|
+
end
|
281
|
+
end
|
282
|
+
alias_method :since, :+
|
283
|
+
alias_method :in, :+
|
284
|
+
|
285
|
+
# Returns a new TimeWithZone object that represents the difference between
|
286
|
+
# the current object's time and the +other+ time.
|
287
|
+
#
|
288
|
+
# Time.zone = 'Eastern Time (US & Canada)' # => 'Eastern Time (US & Canada)'
|
289
|
+
# now = Time.zone.now # => Mon, 03 Nov 2014 00:26:28 EST -05:00
|
290
|
+
# now - 1000 # => Mon, 03 Nov 2014 00:09:48 EST -05:00
|
291
|
+
#
|
292
|
+
# If subtracting a Duration of variable length (i.e., years, months, days),
|
293
|
+
# move backward from #time, otherwise move backward from #utc, for accuracy
|
294
|
+
# when moving across DST boundaries.
|
295
|
+
#
|
296
|
+
# For instance, a time - 24.hours will go subtract exactly 24 hours, while a
|
297
|
+
# time - 1.day will subtract 23-25 hours, depending on the day.
|
298
|
+
#
|
299
|
+
# now - 24.hours # => Sun, 02 Nov 2014 01:26:28 EDT -04:00
|
300
|
+
# now - 1.day # => Sun, 02 Nov 2014 00:26:28 EDT -04:00
|
301
|
+
def -(other)
|
302
|
+
if other.acts_like?(:time)
|
303
|
+
to_time - other.to_time
|
304
|
+
elsif duration_of_variable_length?(other)
|
305
|
+
method_missing(:-, other)
|
306
|
+
else
|
307
|
+
result = utc.acts_like?(:date) ? utc.ago(other) : utc - other rescue utc.ago(other)
|
308
|
+
result.in_time_zone(time_zone)
|
309
|
+
end
|
310
|
+
end
|
311
|
+
|
312
|
+
# Subtracts an interval of time from the current object's time and returns
|
313
|
+
# the result as a new TimeWithZone object.
|
314
|
+
#
|
315
|
+
# Time.zone = 'Eastern Time (US & Canada)' # => 'Eastern Time (US & Canada)'
|
316
|
+
# now = Time.zone.now # => Mon, 03 Nov 2014 00:26:28 EST -05:00
|
317
|
+
# now.ago(1000) # => Mon, 03 Nov 2014 00:09:48 EST -05:00
|
318
|
+
#
|
319
|
+
# If we're subtracting a Duration of variable length (i.e., years, months,
|
320
|
+
# days), move backward from #time, otherwise move backward from #utc, for
|
321
|
+
# accuracy when moving across DST boundaries.
|
322
|
+
#
|
323
|
+
# For instance, <tt>time.ago(24.hours)</tt> will move back exactly 24 hours,
|
324
|
+
# while <tt>time.ago(1.day)</tt> will move back 23-25 hours, depending on
|
325
|
+
# the day.
|
326
|
+
#
|
327
|
+
# now.ago(24.hours) # => Sun, 02 Nov 2014 01:26:28 EDT -04:00
|
328
|
+
# now.ago(1.day) # => Sun, 02 Nov 2014 00:26:28 EDT -04:00
|
329
|
+
def ago(other)
|
330
|
+
since(-other)
|
331
|
+
end
|
332
|
+
|
333
|
+
# Uses Date to provide precise Time calculations for years, months, and days
|
334
|
+
# according to the proleptic Gregorian calendar. The result is returned as a
|
335
|
+
# new TimeWithZone object.
|
336
|
+
#
|
337
|
+
# The +options+ parameter takes a hash with any of these keys:
|
338
|
+
# <tt>:years</tt>, <tt>:months</tt>, <tt>:weeks</tt>, <tt>:days</tt>,
|
339
|
+
# <tt>:hours</tt>, <tt>:minutes</tt>, <tt>:seconds</tt>.
|
340
|
+
#
|
341
|
+
# If advancing by a value of variable length (i.e., years, weeks, months,
|
342
|
+
# days), move forward from #time, otherwise move forward from #utc, for
|
343
|
+
# accuracy when moving across DST boundaries.
|
344
|
+
#
|
345
|
+
# Time.zone = 'Eastern Time (US & Canada)' # => 'Eastern Time (US & Canada)'
|
346
|
+
# now = Time.zone.now # => Sun, 02 Nov 2014 01:26:28 EDT -04:00
|
347
|
+
# now.advance(seconds: 1) # => Sun, 02 Nov 2014 01:26:29 EDT -04:00
|
348
|
+
# now.advance(minutes: 1) # => Sun, 02 Nov 2014 01:27:28 EDT -04:00
|
349
|
+
# now.advance(hours: 1) # => Sun, 02 Nov 2014 01:26:28 EST -05:00
|
350
|
+
# now.advance(days: 1) # => Mon, 03 Nov 2014 01:26:28 EST -05:00
|
351
|
+
# now.advance(weeks: 1) # => Sun, 09 Nov 2014 01:26:28 EST -05:00
|
352
|
+
# now.advance(months: 1) # => Tue, 02 Dec 2014 01:26:28 EST -05:00
|
353
|
+
# now.advance(years: 1) # => Mon, 02 Nov 2015 01:26:28 EST -05:00
|
354
|
+
def advance(options)
|
355
|
+
# If we're advancing a value of variable length (i.e., years, weeks, months, days), advance from #time,
|
356
|
+
# otherwise advance from #utc, for accuracy when moving across DST boundaries
|
357
|
+
if options.values_at(:years, :weeks, :months, :days).any?
|
358
|
+
method_missing(:advance, options)
|
359
|
+
else
|
360
|
+
utc.advance(options).in_time_zone(time_zone)
|
361
|
+
end
|
362
|
+
end
|
363
|
+
|
364
|
+
%w(year mon month day mday wday yday hour min sec usec nsec to_date).each do |method_name|
|
365
|
+
class_eval <<-EOV, __FILE__, __LINE__ + 1
|
366
|
+
def #{method_name} # def month
|
367
|
+
time.#{method_name} # time.month
|
368
|
+
end # end
|
369
|
+
EOV
|
370
|
+
end
|
371
|
+
|
372
|
+
# Returns Array of parts of Time in sequence of
|
373
|
+
# [seconds, minutes, hours, day, month, year, weekday, yearday, dst?, zone].
|
374
|
+
#
|
375
|
+
# now = Time.zone.now # => Tue, 18 Aug 2015 02:29:27 UTC +00:00
|
376
|
+
# now.to_a # => [27, 29, 2, 18, 8, 2015, 2, 230, false, "UTC"]
|
377
|
+
def to_a
|
378
|
+
[time.sec, time.min, time.hour, time.day, time.mon, time.year, time.wday, time.yday, dst?, zone]
|
379
|
+
end
|
380
|
+
|
381
|
+
# Returns the object's date and time as a floating point number of seconds
|
382
|
+
# since the Epoch (January 1, 1970 00:00 UTC).
|
383
|
+
#
|
384
|
+
# Time.zone.now.to_f # => 1417709320.285418
|
385
|
+
def to_f
|
386
|
+
utc.to_f
|
387
|
+
end
|
388
|
+
|
389
|
+
# Returns the object's date and time as an integer number of seconds
|
390
|
+
# since the Epoch (January 1, 1970 00:00 UTC).
|
391
|
+
#
|
392
|
+
# Time.zone.now.to_i # => 1417709320
|
393
|
+
def to_i
|
394
|
+
utc.to_i
|
395
|
+
end
|
396
|
+
alias_method :tv_sec, :to_i
|
397
|
+
|
398
|
+
# Returns the object's date and time as a rational number of seconds
|
399
|
+
# since the Epoch (January 1, 1970 00:00 UTC).
|
400
|
+
#
|
401
|
+
# Time.zone.now.to_r # => (708854548642709/500000)
|
402
|
+
def to_r
|
403
|
+
utc.to_r
|
404
|
+
end
|
405
|
+
|
406
|
+
# Returns an instance of DateTime with the timezone's UTC offset
|
407
|
+
#
|
408
|
+
# Time.zone.now.to_datetime # => Tue, 18 Aug 2015 02:32:20 +0000
|
409
|
+
# Time.current.in_time_zone('Hawaii').to_datetime # => Mon, 17 Aug 2015 16:32:20 -1000
|
410
|
+
def to_datetime
|
411
|
+
utc.to_datetime.new_offset(Rational(utc_offset, 86_400))
|
412
|
+
end
|
413
|
+
|
414
|
+
# So that +self+ <tt>acts_like?(:time)</tt>.
|
415
|
+
def acts_like_time?
|
416
|
+
true
|
417
|
+
end
|
418
|
+
|
419
|
+
# Say we're a Time to thwart type checking.
|
420
|
+
def is_a?(klass)
|
421
|
+
klass == ::Time || super
|
422
|
+
end
|
423
|
+
alias_method :kind_of?, :is_a?
|
424
|
+
|
425
|
+
# An instance of ActiveSupport::TimeWithZone is never blank
|
426
|
+
def blank?
|
427
|
+
false
|
428
|
+
end
|
429
|
+
|
430
|
+
def freeze
|
431
|
+
# preload instance variables before freezing
|
432
|
+
period; utc; time; to_datetime
|
433
|
+
super
|
434
|
+
end
|
435
|
+
|
436
|
+
def marshal_dump
|
437
|
+
[utc, time_zone.name, time]
|
438
|
+
end
|
439
|
+
|
440
|
+
def marshal_load(variables)
|
441
|
+
initialize(variables[0].utc, ::Time.find_zone(variables[1]), variables[2].utc)
|
442
|
+
end
|
443
|
+
|
444
|
+
# respond_to_missing? is not called in some cases, such as when type conversion is
|
445
|
+
# performed with Kernel#String
|
446
|
+
def respond_to?(sym, include_priv = false)
|
447
|
+
# ensure that we're not going to throw and rescue from NoMethodError in method_missing which is slow
|
448
|
+
return false if sym.to_sym == :to_str
|
449
|
+
super
|
450
|
+
end
|
451
|
+
|
452
|
+
# Ensure proxy class responds to all methods that underlying time instance
|
453
|
+
# responds to.
|
454
|
+
def respond_to_missing?(sym, include_priv)
|
455
|
+
return false if sym.to_sym == :acts_like_date?
|
456
|
+
time.respond_to?(sym, include_priv)
|
457
|
+
end
|
458
|
+
|
459
|
+
# Send the missing method to +time+ instance, and wrap result in a new
|
460
|
+
# TimeWithZone with the existing +time_zone+.
|
461
|
+
def method_missing(sym, *args, &block)
|
462
|
+
wrap_with_time_zone time.__send__(sym, *args, &block)
|
463
|
+
rescue NoMethodError => e
|
464
|
+
raise e, e.message.sub(time.inspect, self.inspect), e.backtrace
|
465
|
+
end
|
466
|
+
|
467
|
+
private
|
468
|
+
def get_period_and_ensure_valid_local_time(period)
|
469
|
+
# we don't want a Time.local instance enforcing its own DST rules as well,
|
470
|
+
# so transfer time values to a utc constructor if necessary
|
471
|
+
@time = transfer_time_values_to_utc_constructor(@time) unless @time.utc?
|
472
|
+
begin
|
473
|
+
period || @time_zone.period_for_local(@time)
|
474
|
+
rescue ::TZInfo::PeriodNotFound
|
475
|
+
# time is in the "spring forward" hour gap, so we're moving the time forward one hour and trying again
|
476
|
+
@time += 1.hour
|
477
|
+
retry
|
478
|
+
end
|
479
|
+
end
|
480
|
+
|
481
|
+
def transfer_time_values_to_utc_constructor(time)
|
482
|
+
::Time.utc(time.year, time.month, time.day, time.hour, time.min, time.sec + time.subsec)
|
483
|
+
end
|
484
|
+
|
485
|
+
def duration_of_variable_length?(obj)
|
486
|
+
ActiveSupport::Duration === obj && obj.parts.any? {|p| [:years, :months, :weeks, :days].include?(p[0]) }
|
487
|
+
end
|
488
|
+
|
489
|
+
def wrap_with_time_zone(time)
|
490
|
+
if time.acts_like?(:time)
|
491
|
+
periods = time_zone.periods_for_local(time)
|
492
|
+
self.class.new(nil, time_zone, time, periods.include?(period) ? period : nil)
|
493
|
+
elsif time.is_a?(Range)
|
494
|
+
wrap_with_time_zone(time.begin)..wrap_with_time_zone(time.end)
|
495
|
+
else
|
496
|
+
time
|
497
|
+
end
|
498
|
+
end
|
499
|
+
end
|
500
|
+
end
|