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,64 @@
|
|
1
|
+
require File.join(File.expand_path(File.dirname(__FILE__)), 'test_utils')
|
2
|
+
|
3
|
+
include TZInfo
|
4
|
+
|
5
|
+
class TCZoneinfoCountryInfo < Minitest::Test
|
6
|
+
|
7
|
+
def test_code
|
8
|
+
ci = ZoneinfoCountryInfo.new('ZZ', 'Zzz', []) {|c| }
|
9
|
+
assert_equal('ZZ', ci.code)
|
10
|
+
end
|
11
|
+
|
12
|
+
def test_name
|
13
|
+
ci = ZoneinfoCountryInfo.new('ZZ', 'Zzz', []) {|c| }
|
14
|
+
assert_equal('Zzz', ci.name)
|
15
|
+
end
|
16
|
+
|
17
|
+
def test_zone_identifiers_empty
|
18
|
+
ci = ZoneinfoCountryInfo.new('ZZ', 'Zzz', []) {|c| }
|
19
|
+
assert(ci.zone_identifiers.empty?)
|
20
|
+
assert(ci.zone_identifiers.frozen?)
|
21
|
+
end
|
22
|
+
|
23
|
+
def test_zone_identifiers
|
24
|
+
zones = [
|
25
|
+
CountryTimezone.new('ZZ/TimezoneB', Rational(1, 2), Rational(1, 2), 'Timezone B'),
|
26
|
+
CountryTimezone.new('ZZ/TimezoneA', Rational(1, 4), Rational(1, 4), 'Timezone A'),
|
27
|
+
CountryTimezone.new('ZZ/TimezoneC', Rational(-10, 3), Rational(-20, 7), 'C'),
|
28
|
+
CountryTimezone.new('ZZ/TimezoneD', Rational(-10, 3), Rational(-20, 7))
|
29
|
+
]
|
30
|
+
|
31
|
+
ci = ZoneinfoCountryInfo.new('ZZ', 'Zzz', zones)
|
32
|
+
|
33
|
+
assert_equal(['ZZ/TimezoneB', 'ZZ/TimezoneA', 'ZZ/TimezoneC', 'ZZ/TimezoneD'], ci.zone_identifiers)
|
34
|
+
assert(ci.zone_identifiers.frozen?)
|
35
|
+
assert(!ci.zones.equal?(zones))
|
36
|
+
assert(!zones.frozen?)
|
37
|
+
end
|
38
|
+
|
39
|
+
def test_zones_empty
|
40
|
+
ci = ZoneinfoCountryInfo.new('ZZ', 'Zzz', [])
|
41
|
+
assert(ci.zones.empty?)
|
42
|
+
assert(ci.zones.frozen?)
|
43
|
+
end
|
44
|
+
|
45
|
+
def test_zones
|
46
|
+
zones = [
|
47
|
+
CountryTimezone.new('ZZ/TimezoneB', Rational(1, 2), Rational(1, 2), 'Timezone B'),
|
48
|
+
CountryTimezone.new('ZZ/TimezoneA', Rational(1, 4), Rational(1, 4), 'Timezone A'),
|
49
|
+
CountryTimezone.new('ZZ/TimezoneC', Rational(-10, 3), Rational(-20, 7), 'C'),
|
50
|
+
CountryTimezone.new('ZZ/TimezoneD', Rational(-10, 3), Rational(-20, 7))
|
51
|
+
]
|
52
|
+
|
53
|
+
ci = ZoneinfoCountryInfo.new('ZZ', 'Zzz', zones)
|
54
|
+
|
55
|
+
assert_equal([CountryTimezone.new('ZZ/TimezoneB', Rational(1, 2), Rational(1, 2), 'Timezone B'),
|
56
|
+
CountryTimezone.new('ZZ/TimezoneA', Rational(1, 4), Rational(1, 4), 'Timezone A'),
|
57
|
+
CountryTimezone.new('ZZ/TimezoneC', Rational(-10, 3), Rational(-20, 7), 'C'),
|
58
|
+
CountryTimezone.new('ZZ/TimezoneD', Rational(-10, 3), Rational(-20, 7))],
|
59
|
+
ci.zones)
|
60
|
+
assert(ci.zones.frozen?)
|
61
|
+
assert(!ci.zones.equal?(zones))
|
62
|
+
assert(!zones.frozen?)
|
63
|
+
end
|
64
|
+
end
|
@@ -0,0 +1,1122 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
|
3
|
+
require File.join(File.expand_path(File.dirname(__FILE__)), 'test_utils')
|
4
|
+
require 'fileutils'
|
5
|
+
require 'pathname'
|
6
|
+
require 'tmpdir'
|
7
|
+
|
8
|
+
include TZInfo
|
9
|
+
|
10
|
+
class TCZoneinfoDataSource < Minitest::Test
|
11
|
+
ZONEINFO_DIR = File.join(File.expand_path(File.dirname(__FILE__)), 'zoneinfo').untaint
|
12
|
+
|
13
|
+
def setup
|
14
|
+
@orig_search_path = ZoneinfoDataSource.search_path.clone
|
15
|
+
@orig_alternate_iso3166_tab_search_path = ZoneinfoDataSource.alternate_iso3166_tab_search_path.clone
|
16
|
+
@orig_pwd = FileUtils.pwd
|
17
|
+
|
18
|
+
# A zoneinfo directory containing files needed by the tests.
|
19
|
+
# The symlinks in this directory are set up in test_utils.rb.
|
20
|
+
@data_source = ZoneinfoDataSource.new(ZONEINFO_DIR)
|
21
|
+
end
|
22
|
+
|
23
|
+
def teardown
|
24
|
+
ZoneinfoDataSource.search_path = @orig_search_path
|
25
|
+
ZoneinfoDataSource.alternate_iso3166_tab_search_path = @orig_alternate_iso3166_tab_search_path
|
26
|
+
FileUtils.chdir(@orig_pwd)
|
27
|
+
end
|
28
|
+
|
29
|
+
def test_default_search_path
|
30
|
+
assert_equal(['/usr/share/zoneinfo', '/usr/share/lib/zoneinfo', '/etc/zoneinfo'], ZoneinfoDataSource.search_path)
|
31
|
+
assert_equal(false, ZoneinfoDataSource.search_path.frozen?)
|
32
|
+
end
|
33
|
+
|
34
|
+
def test_set_search_path_default
|
35
|
+
ZoneinfoDataSource.search_path = ['/tmp/zoneinfo1', '/tmp/zoneinfo2']
|
36
|
+
assert_equal(['/tmp/zoneinfo1', '/tmp/zoneinfo2'], ZoneinfoDataSource.search_path)
|
37
|
+
|
38
|
+
ZoneinfoDataSource.search_path = nil
|
39
|
+
assert_equal(['/usr/share/zoneinfo', '/usr/share/lib/zoneinfo', '/etc/zoneinfo'], ZoneinfoDataSource.search_path)
|
40
|
+
assert_equal(false, ZoneinfoDataSource.search_path.frozen?)
|
41
|
+
end
|
42
|
+
|
43
|
+
def test_set_search_path_array
|
44
|
+
path = ['/tmp/zoneinfo1', '/tmp/zoneinfo2']
|
45
|
+
ZoneinfoDataSource.search_path = path
|
46
|
+
assert_equal(['/tmp/zoneinfo1', '/tmp/zoneinfo2'], ZoneinfoDataSource.search_path)
|
47
|
+
refute_same(path, ZoneinfoDataSource.search_path)
|
48
|
+
end
|
49
|
+
|
50
|
+
def test_set_search_path_array_to_s
|
51
|
+
ZoneinfoDataSource.search_path = [Pathname.new('/tmp/zoneinfo3')]
|
52
|
+
assert_equal(['/tmp/zoneinfo3'], ZoneinfoDataSource.search_path)
|
53
|
+
end
|
54
|
+
|
55
|
+
def test_set_search_path_string
|
56
|
+
ZoneinfoDataSource.search_path = ['/tmp/zoneinfo4', '/tmp/zoneinfo5'].join(File::PATH_SEPARATOR)
|
57
|
+
assert_equal(['/tmp/zoneinfo4', '/tmp/zoneinfo5'], ZoneinfoDataSource.search_path)
|
58
|
+
end
|
59
|
+
|
60
|
+
def test_default_alternate_iso3166_tab_search_path
|
61
|
+
assert_equal(['/usr/share/misc/iso3166.tab', '/usr/share/misc/iso3166'], ZoneinfoDataSource.alternate_iso3166_tab_search_path)
|
62
|
+
assert_equal(false, ZoneinfoDataSource.alternate_iso3166_tab_search_path.frozen?)
|
63
|
+
end
|
64
|
+
|
65
|
+
def test_set_alternate_iso3166_tab_search_path_default
|
66
|
+
ZoneinfoDataSource.alternate_iso3166_tab_search_path = ['/tmp/iso3166.tab', '/tmp/iso3166']
|
67
|
+
assert_equal(['/tmp/iso3166.tab', '/tmp/iso3166'], ZoneinfoDataSource.alternate_iso3166_tab_search_path)
|
68
|
+
|
69
|
+
ZoneinfoDataSource.alternate_iso3166_tab_search_path = nil
|
70
|
+
assert_equal(['/usr/share/misc/iso3166.tab', '/usr/share/misc/iso3166'], ZoneinfoDataSource.alternate_iso3166_tab_search_path)
|
71
|
+
assert_equal(false, ZoneinfoDataSource.alternate_iso3166_tab_search_path.frozen?)
|
72
|
+
end
|
73
|
+
|
74
|
+
def test_set_alternate_iso3166_tab_search_path_array
|
75
|
+
path = ['/tmp/iso3166.tab', '/tmp/iso3166']
|
76
|
+
ZoneinfoDataSource.alternate_iso3166_tab_search_path = path
|
77
|
+
assert_equal(['/tmp/iso3166.tab', '/tmp/iso3166'], ZoneinfoDataSource.alternate_iso3166_tab_search_path)
|
78
|
+
refute_same(path, ZoneinfoDataSource.alternate_iso3166_tab_search_path)
|
79
|
+
end
|
80
|
+
|
81
|
+
def test_set_alternate_iso3166_tab_search_path_array_to_s
|
82
|
+
ZoneinfoDataSource.alternate_iso3166_tab_search_path = [Pathname.new('/tmp/iso3166.tab')]
|
83
|
+
assert_equal(['/tmp/iso3166.tab'], ZoneinfoDataSource.alternate_iso3166_tab_search_path)
|
84
|
+
end
|
85
|
+
|
86
|
+
def test_set_alternate_iso3166_tab_search_path_string
|
87
|
+
ZoneinfoDataSource.alternate_iso3166_tab_search_path = ['/tmp/iso3166.tab', '/tmp/iso3166'].join(File::PATH_SEPARATOR)
|
88
|
+
assert_equal(['/tmp/iso3166.tab', '/tmp/iso3166'], ZoneinfoDataSource.alternate_iso3166_tab_search_path)
|
89
|
+
end
|
90
|
+
|
91
|
+
def test_new_search
|
92
|
+
Dir.mktmpdir('tzinfo_test_dir1') do |dir1|
|
93
|
+
Dir.mktmpdir('tzinfo_test_dir2') do |dir2|
|
94
|
+
Dir.mktmpdir('tzinfo_test_dir3') do |dir3|
|
95
|
+
Dir.mktmpdir('tzinfo_test_dir4') do |dir4|
|
96
|
+
file = File.join(dir1, 'file')
|
97
|
+
FileUtils.touch(File.join(dir2, 'zone.tab'))
|
98
|
+
FileUtils.touch(File.join(dir3, 'iso3166.tab'))
|
99
|
+
FileUtils.touch(File.join(dir4, 'zone.tab'))
|
100
|
+
FileUtils.touch(File.join(dir4, 'iso3166.tab'))
|
101
|
+
|
102
|
+
ZoneinfoDataSource.search_path = [file, dir2, dir3, dir4]
|
103
|
+
ZoneinfoDataSource.alternate_iso3166_tab_search_path = []
|
104
|
+
|
105
|
+
data_source = ZoneinfoDataSource.new
|
106
|
+
assert_equal(dir4, data_source.zoneinfo_dir)
|
107
|
+
end
|
108
|
+
end
|
109
|
+
end
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
def test_new_search_zone1970
|
114
|
+
Dir.mktmpdir('tzinfo_test_dir1') do |dir1|
|
115
|
+
Dir.mktmpdir('tzinfo_test_dir2') do |dir2|
|
116
|
+
Dir.mktmpdir('tzinfo_test_dir3') do |dir3|
|
117
|
+
Dir.mktmpdir('tzinfo_test_dir4') do |dir4|
|
118
|
+
file = File.join(dir1, 'file')
|
119
|
+
FileUtils.touch(File.join(dir2, 'zone1970.tab'))
|
120
|
+
FileUtils.touch(File.join(dir3, 'iso3166.tab'))
|
121
|
+
FileUtils.touch(File.join(dir4, 'zone1970.tab'))
|
122
|
+
FileUtils.touch(File.join(dir4, 'iso3166.tab'))
|
123
|
+
|
124
|
+
ZoneinfoDataSource.search_path = [file, dir2, dir3, dir4]
|
125
|
+
ZoneinfoDataSource.alternate_iso3166_tab_search_path = []
|
126
|
+
|
127
|
+
data_source = ZoneinfoDataSource.new
|
128
|
+
assert_equal(dir4, data_source.zoneinfo_dir)
|
129
|
+
end
|
130
|
+
end
|
131
|
+
end
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
135
|
+
def test_new_search_solaris_tab_files
|
136
|
+
# Solaris names the tab files 'tab/country.tab' (iso3166.tab) and
|
137
|
+
# 'tab/zone_sun.tab' (zone.tab).
|
138
|
+
|
139
|
+
Dir.mktmpdir('tzinfo_test_dir') do |dir|
|
140
|
+
tab = File.join(dir, 'tab')
|
141
|
+
FileUtils.mkdir(tab)
|
142
|
+
FileUtils.touch(File.join(tab, 'country.tab'))
|
143
|
+
FileUtils.touch(File.join(tab, 'zone_sun.tab'))
|
144
|
+
|
145
|
+
ZoneinfoDataSource.search_path = [dir]
|
146
|
+
ZoneinfoDataSource.alternate_iso3166_tab_search_path = []
|
147
|
+
|
148
|
+
data_source = ZoneinfoDataSource.new
|
149
|
+
assert_equal(dir, data_source.zoneinfo_dir)
|
150
|
+
end
|
151
|
+
end
|
152
|
+
|
153
|
+
def test_new_search_alternate_iso3166_path
|
154
|
+
Dir.mktmpdir('tzinfo_test_dir_zoneinfo') do |zoneinfo_dir|
|
155
|
+
Dir.mktmpdir('tzinfo_test_dir_tab') do |tab_dir|
|
156
|
+
FileUtils.touch(File.join(zoneinfo_dir, 'zone.tab'))
|
157
|
+
|
158
|
+
tab_file = File.join(tab_dir, 'iso3166')
|
159
|
+
|
160
|
+
ZoneinfoDataSource.search_path = [zoneinfo_dir]
|
161
|
+
ZoneinfoDataSource.alternate_iso3166_tab_search_path = [tab_file]
|
162
|
+
|
163
|
+
assert_raises(ZoneinfoDirectoryNotFound) do
|
164
|
+
ZoneinfoDataSource.new
|
165
|
+
end
|
166
|
+
|
167
|
+
FileUtils.touch(tab_file)
|
168
|
+
|
169
|
+
data_source = ZoneinfoDataSource.new
|
170
|
+
assert_equal(zoneinfo_dir, data_source.zoneinfo_dir)
|
171
|
+
end
|
172
|
+
end
|
173
|
+
end
|
174
|
+
|
175
|
+
def test_new_search_not_found
|
176
|
+
Dir.mktmpdir('tzinfo_test_dir1') do |dir1|
|
177
|
+
Dir.mktmpdir('tzinfo_test_dir2') do |dir2|
|
178
|
+
Dir.mktmpdir('tzinfo_test_dir3') do |dir3|
|
179
|
+
Dir.mktmpdir('tzinfo_test_dir4') do |dir4|
|
180
|
+
Dir.mktmpdir('tzinfo_test_dir5') do |dir5|
|
181
|
+
file = File.join(dir1, 'file')
|
182
|
+
FileUtils.touch(file)
|
183
|
+
FileUtils.touch(File.join(dir2, 'zone.tab'))
|
184
|
+
FileUtils.touch(File.join(dir3, 'zone1970.tab'))
|
185
|
+
FileUtils.touch(File.join(dir4, 'iso3166.tab'))
|
186
|
+
|
187
|
+
ZoneinfoDataSource.search_path = [file, dir2, dir3, dir4, dir5]
|
188
|
+
ZoneinfoDataSource.alternate_iso3166_tab_search_path = []
|
189
|
+
|
190
|
+
assert_raises(ZoneinfoDirectoryNotFound) do
|
191
|
+
ZoneinfoDataSource.new
|
192
|
+
end
|
193
|
+
end
|
194
|
+
end
|
195
|
+
end
|
196
|
+
end
|
197
|
+
end
|
198
|
+
end
|
199
|
+
|
200
|
+
def test_new_search_relative
|
201
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
202
|
+
FileUtils.touch(File.join(dir, 'zone.tab'))
|
203
|
+
FileUtils.touch(File.join(dir, 'iso3166.tab'))
|
204
|
+
|
205
|
+
FileUtils.chdir(dir)
|
206
|
+
|
207
|
+
ZoneinfoDataSource.search_path = ['.']
|
208
|
+
ZoneinfoDataSource.alternate_iso3166_tab_search_path = []
|
209
|
+
data_source = ZoneinfoDataSource.new
|
210
|
+
assert_equal(Pathname.new(dir).realpath.to_s, data_source.zoneinfo_dir)
|
211
|
+
|
212
|
+
# Change out of the directory to allow it to be deleted on Windows.
|
213
|
+
FileUtils.chdir(@orig_pwd)
|
214
|
+
end
|
215
|
+
end
|
216
|
+
|
217
|
+
def test_new_dir
|
218
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
219
|
+
FileUtils.touch(File.join(dir, 'zone.tab'))
|
220
|
+
FileUtils.touch(File.join(dir, 'iso3166.tab'))
|
221
|
+
|
222
|
+
data_source = ZoneinfoDataSource.new(dir)
|
223
|
+
assert_equal(dir, data_source.zoneinfo_dir)
|
224
|
+
end
|
225
|
+
end
|
226
|
+
|
227
|
+
def test_new_dir_zone1970
|
228
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
229
|
+
FileUtils.touch(File.join(dir, 'zone1970.tab'))
|
230
|
+
FileUtils.touch(File.join(dir, 'iso3166.tab'))
|
231
|
+
|
232
|
+
data_source = ZoneinfoDataSource.new(dir)
|
233
|
+
assert_equal(dir, data_source.zoneinfo_dir)
|
234
|
+
end
|
235
|
+
end
|
236
|
+
|
237
|
+
def test_new_dir_solaris_tab_files
|
238
|
+
# Solaris names the tab files 'tab/country.tab' (iso3166.tab) and
|
239
|
+
# 'tab/zone_sun.tab' (zone.tab).
|
240
|
+
|
241
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
242
|
+
tab = File.join(dir, 'tab')
|
243
|
+
FileUtils.mkdir(tab)
|
244
|
+
FileUtils.touch(File.join(tab, 'country.tab'))
|
245
|
+
FileUtils.touch(File.join(tab, 'zone_sun.tab'))
|
246
|
+
|
247
|
+
data_source = ZoneinfoDataSource.new(dir)
|
248
|
+
assert_equal(dir, data_source.zoneinfo_dir)
|
249
|
+
end
|
250
|
+
end
|
251
|
+
|
252
|
+
def test_new_dir_alternate_iso3166_path
|
253
|
+
Dir.mktmpdir('tzinfo_test_dir_zoneinfo') do |zoneinfo_dir|
|
254
|
+
Dir.mktmpdir('tzinfo_test_dir_tab') do |tab_dir|
|
255
|
+
FileUtils.touch(File.join(zoneinfo_dir, 'zone.tab'))
|
256
|
+
|
257
|
+
tab_file = File.join(tab_dir, 'iso3166')
|
258
|
+
FileUtils.touch(tab_file)
|
259
|
+
|
260
|
+
ZoneinfoDataSource.alternate_iso3166_tab_search_path = [tab_file]
|
261
|
+
|
262
|
+
assert_raises(InvalidZoneinfoDirectory) do
|
263
|
+
# The alternate_iso3166_tab_search_path should not be used. This should raise
|
264
|
+
# an exception.
|
265
|
+
ZoneinfoDataSource.new(zoneinfo_dir)
|
266
|
+
end
|
267
|
+
|
268
|
+
data_source = ZoneinfoDataSource.new(zoneinfo_dir, tab_file)
|
269
|
+
assert_equal(zoneinfo_dir, data_source.zoneinfo_dir)
|
270
|
+
end
|
271
|
+
end
|
272
|
+
end
|
273
|
+
|
274
|
+
def test_new_dir_invalid
|
275
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
276
|
+
assert_raises(InvalidZoneinfoDirectory) do
|
277
|
+
ZoneinfoDataSource.new(dir)
|
278
|
+
end
|
279
|
+
end
|
280
|
+
end
|
281
|
+
|
282
|
+
def test_new_dir_invalid_alternate_iso3166_path
|
283
|
+
Dir.mktmpdir('tzinfo_test_dir_zoneinfo') do |zoneinfo_dir|
|
284
|
+
Dir.mktmpdir('tzinfo_test_dir_tab') do |tab_dir|
|
285
|
+
FileUtils.touch(File.join(zoneinfo_dir, 'zone.tab'))
|
286
|
+
|
287
|
+
assert_raises(InvalidZoneinfoDirectory) do
|
288
|
+
ZoneinfoDataSource.new(zoneinfo_dir, File.join(tab_dir, 'iso3166'))
|
289
|
+
end
|
290
|
+
end
|
291
|
+
end
|
292
|
+
end
|
293
|
+
|
294
|
+
def test_new_dir_invalid_alternate_iso3166_path_overrides_valid
|
295
|
+
Dir.mktmpdir('tzinfo_test_dir_zoneinfo') do |zoneinfo_dir|
|
296
|
+
Dir.mktmpdir('tzinfo_test_dir_tab') do |tab_dir|
|
297
|
+
FileUtils.touch(File.join(zoneinfo_dir, 'iso3166.tab'))
|
298
|
+
FileUtils.touch(File.join(zoneinfo_dir, 'zone.tab'))
|
299
|
+
|
300
|
+
assert_raises(InvalidZoneinfoDirectory) do
|
301
|
+
ZoneinfoDataSource.new(zoneinfo_dir, File.join(tab_dir, 'iso3166'))
|
302
|
+
end
|
303
|
+
end
|
304
|
+
end
|
305
|
+
end
|
306
|
+
|
307
|
+
def test_new_file
|
308
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
309
|
+
file = File.join(dir, 'file')
|
310
|
+
FileUtils.touch(file)
|
311
|
+
|
312
|
+
assert_raises(InvalidZoneinfoDirectory) do
|
313
|
+
ZoneinfoDataSource.new(file)
|
314
|
+
end
|
315
|
+
end
|
316
|
+
end
|
317
|
+
|
318
|
+
def test_new_dir_relative
|
319
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
320
|
+
FileUtils.touch(File.join(dir, 'zone.tab'))
|
321
|
+
FileUtils.touch(File.join(dir, 'iso3166.tab'))
|
322
|
+
|
323
|
+
FileUtils.chdir(dir)
|
324
|
+
|
325
|
+
data_source = ZoneinfoDataSource.new('.')
|
326
|
+
assert_equal(Pathname.new(dir).realpath.to_s, data_source.zoneinfo_dir)
|
327
|
+
|
328
|
+
# Change out of the directory to allow it to be deleted on Windows.
|
329
|
+
FileUtils.chdir(@orig_pwd)
|
330
|
+
end
|
331
|
+
end
|
332
|
+
|
333
|
+
def test_zoneinfo_dir
|
334
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
335
|
+
FileUtils.touch(File.join(dir, 'zone.tab'))
|
336
|
+
FileUtils.touch(File.join(dir, 'iso3166.tab'))
|
337
|
+
|
338
|
+
data_source = ZoneinfoDataSource.new(dir)
|
339
|
+
assert_equal(dir, data_source.zoneinfo_dir)
|
340
|
+
assert_equal(true, data_source.zoneinfo_dir.frozen?)
|
341
|
+
end
|
342
|
+
end
|
343
|
+
|
344
|
+
def test_load_timezone_info_data
|
345
|
+
info = @data_source.load_timezone_info('Europe/London')
|
346
|
+
assert_kind_of(ZoneinfoTimezoneInfo, info)
|
347
|
+
assert_equal('Europe/London', info.identifier)
|
348
|
+
end
|
349
|
+
|
350
|
+
def test_load_timezone_info_linked
|
351
|
+
info = @data_source.load_timezone_info('UTC')
|
352
|
+
|
353
|
+
# On platforms that don't support symlinks, 'UTC' will be created as a copy.
|
354
|
+
# Either way, a ZoneinfoTimezoneInfo should be returned.
|
355
|
+
|
356
|
+
assert_kind_of(ZoneinfoTimezoneInfo, info)
|
357
|
+
assert_equal('UTC', info.identifier)
|
358
|
+
end
|
359
|
+
|
360
|
+
def test_load_timezone_info_does_not_exist
|
361
|
+
assert_raises(InvalidTimezoneIdentifier) do
|
362
|
+
@data_source.load_timezone_info('Nowhere/Special')
|
363
|
+
end
|
364
|
+
end
|
365
|
+
|
366
|
+
def test_load_timezone_info_invalid
|
367
|
+
assert_raises(InvalidTimezoneIdentifier) do
|
368
|
+
@data_source.load_timezone_info('../Definitions/Europe/London')
|
369
|
+
end
|
370
|
+
end
|
371
|
+
|
372
|
+
def test_load_timezone_info_ignored_file
|
373
|
+
assert_raises(InvalidTimezoneIdentifier) do
|
374
|
+
@data_source.load_timezone_info('localtime')
|
375
|
+
end
|
376
|
+
end
|
377
|
+
|
378
|
+
def test_load_timezone_info_ignored_plus_version_file
|
379
|
+
# Mac OS X includes a file named +VERSION containing the tzdata version.
|
380
|
+
|
381
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
382
|
+
FileUtils.touch(File.join(dir, 'zone.tab'))
|
383
|
+
FileUtils.touch(File.join(dir, 'iso3166.tab'))
|
384
|
+
|
385
|
+
File.open(File.join(dir, '+VERSION'), 'w') do |f|
|
386
|
+
f.binmode
|
387
|
+
f.write("2013a\n")
|
388
|
+
end
|
389
|
+
|
390
|
+
data_source = ZoneinfoDataSource.new(dir)
|
391
|
+
|
392
|
+
assert_raises(InvalidTimezoneIdentifier) do
|
393
|
+
data_source.load_timezone_info('+VERSION')
|
394
|
+
end
|
395
|
+
end
|
396
|
+
end
|
397
|
+
|
398
|
+
def test_load_timezone_info_nil
|
399
|
+
assert_raises(InvalidTimezoneIdentifier) do
|
400
|
+
@data_source.load_timezone_info(nil)
|
401
|
+
end
|
402
|
+
end
|
403
|
+
|
404
|
+
def test_load_timezone_info_case
|
405
|
+
assert_raises(InvalidTimezoneIdentifier) do
|
406
|
+
@data_source.load_timezone_info('europe/london')
|
407
|
+
end
|
408
|
+
end
|
409
|
+
|
410
|
+
def test_load_timezone_info_permission_denied
|
411
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
412
|
+
FileUtils.touch(File.join(dir, 'zone.tab'))
|
413
|
+
FileUtils.touch(File.join(dir, 'iso3166.tab'))
|
414
|
+
|
415
|
+
file = File.join(dir, 'UTC')
|
416
|
+
FileUtils.touch(file)
|
417
|
+
FileUtils.chmod(0200, file)
|
418
|
+
|
419
|
+
data_source = ZoneinfoDataSource.new(dir)
|
420
|
+
|
421
|
+
assert_raises(InvalidTimezoneIdentifier) do
|
422
|
+
data_source.load_timezone_info('UTC')
|
423
|
+
end
|
424
|
+
end
|
425
|
+
end
|
426
|
+
|
427
|
+
def test_load_timezone_info_directory
|
428
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
429
|
+
FileUtils.touch(File.join(dir, 'zone.tab'))
|
430
|
+
FileUtils.touch(File.join(dir, 'iso3166.tab'))
|
431
|
+
|
432
|
+
subdir = File.join(dir, 'Subdir')
|
433
|
+
FileUtils.mkdir(subdir)
|
434
|
+
|
435
|
+
data_source = ZoneinfoDataSource.new(dir)
|
436
|
+
|
437
|
+
assert_raises(InvalidTimezoneIdentifier) do
|
438
|
+
data_source.load_timezone_info('Subdir')
|
439
|
+
end
|
440
|
+
end
|
441
|
+
end
|
442
|
+
|
443
|
+
def test_load_timezone_info_linked_absolute_outside
|
444
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
445
|
+
Dir.mktmpdir('tzinfo_test') do |outside|
|
446
|
+
outside_file = File.join(outside, 'EST')
|
447
|
+
FileUtils.cp(File.join(@data_source.zoneinfo_dir, 'EST'), outside_file)
|
448
|
+
|
449
|
+
FileUtils.touch(File.join(dir, 'zone.tab'))
|
450
|
+
FileUtils.touch(File.join(dir, 'iso3166.tab'))
|
451
|
+
|
452
|
+
file = File.join(dir, 'EST')
|
453
|
+
|
454
|
+
begin
|
455
|
+
FileUtils.ln_s(outside_file, file)
|
456
|
+
rescue NotImplementedError
|
457
|
+
# Symlinks not supported on this platform - skip test
|
458
|
+
return
|
459
|
+
end
|
460
|
+
|
461
|
+
data_source = ZoneinfoDataSource.new(dir)
|
462
|
+
|
463
|
+
info = data_source.load_timezone_info('EST')
|
464
|
+
assert_kind_of(ZoneinfoTimezoneInfo, info)
|
465
|
+
assert_equal('EST', info.identifier)
|
466
|
+
end
|
467
|
+
end
|
468
|
+
end
|
469
|
+
|
470
|
+
def test_load_timezone_info_linked_absolute_inside
|
471
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
472
|
+
FileUtils.touch(File.join(dir, 'zone.tab'))
|
473
|
+
FileUtils.touch(File.join(dir, 'iso3166.tab'))
|
474
|
+
|
475
|
+
FileUtils.cp(File.join(@data_source.zoneinfo_dir, 'EST'), File.join(dir, 'EST'))
|
476
|
+
|
477
|
+
link = File.join(dir, 'Link')
|
478
|
+
|
479
|
+
begin
|
480
|
+
FileUtils.ln_s(File.join(File.expand_path(dir), 'EST'), link)
|
481
|
+
rescue NotImplementedError
|
482
|
+
# Symlinks not supported on this platform - skip test
|
483
|
+
return
|
484
|
+
end
|
485
|
+
|
486
|
+
data_source = ZoneinfoDataSource.new(dir)
|
487
|
+
|
488
|
+
info = data_source.load_timezone_info('Link')
|
489
|
+
assert_kind_of(ZoneinfoTimezoneInfo, info)
|
490
|
+
assert_equal('Link', info.identifier)
|
491
|
+
end
|
492
|
+
end
|
493
|
+
|
494
|
+
def test_load_timezone_info_linked_relative_outside
|
495
|
+
Dir.mktmpdir('tzinfo_test') do |root|
|
496
|
+
FileUtils.cp(File.join(@data_source.zoneinfo_dir, 'EST'), File.join(root, 'outside'))
|
497
|
+
|
498
|
+
dir = File.join(root, 'zoneinfo')
|
499
|
+
FileUtils.mkdir(dir)
|
500
|
+
|
501
|
+
FileUtils.touch(File.join(dir, 'zone.tab'))
|
502
|
+
FileUtils.touch(File.join(dir, 'iso3166.tab'))
|
503
|
+
|
504
|
+
link = File.join(dir, 'Link')
|
505
|
+
|
506
|
+
begin
|
507
|
+
FileUtils.ln_s('../outside', link)
|
508
|
+
rescue NotImplementedError
|
509
|
+
# Symlinks not supported on this platform - skip test
|
510
|
+
return
|
511
|
+
end
|
512
|
+
|
513
|
+
subdir = File.join(dir, 'Subdir')
|
514
|
+
subdir_link = File.join(subdir, 'Link')
|
515
|
+
FileUtils.mkdir(subdir)
|
516
|
+
FileUtils.ln_s('../../outside', subdir_link)
|
517
|
+
|
518
|
+
data_source = ZoneinfoDataSource.new(dir)
|
519
|
+
|
520
|
+
info = data_source.load_timezone_info('Link')
|
521
|
+
assert_kind_of(ZoneinfoTimezoneInfo, info)
|
522
|
+
assert_equal('Link', info.identifier)
|
523
|
+
|
524
|
+
info = data_source.load_timezone_info('Subdir/Link')
|
525
|
+
assert_kind_of(ZoneinfoTimezoneInfo, info)
|
526
|
+
assert_equal('Subdir/Link', info.identifier)
|
527
|
+
end
|
528
|
+
end
|
529
|
+
|
530
|
+
def test_load_timezone_info_linked_relative_parent_inside
|
531
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
532
|
+
FileUtils.touch(File.join(dir, 'zone.tab'))
|
533
|
+
FileUtils.touch(File.join(dir, 'iso3166.tab'))
|
534
|
+
|
535
|
+
FileUtils.cp(File.join(@data_source.zoneinfo_dir, 'EST'), File.join(dir, 'EST'))
|
536
|
+
|
537
|
+
subdir = File.join(dir, 'Subdir')
|
538
|
+
FileUtils.mkdir(subdir)
|
539
|
+
FileUtils.cp(File.join(@data_source.zoneinfo_dir, 'EST'), File.join(subdir, 'EST'))
|
540
|
+
|
541
|
+
subdir_link = File.join(subdir, 'Link')
|
542
|
+
begin
|
543
|
+
FileUtils.ln_s('../Subdir/EST', subdir_link)
|
544
|
+
rescue NotImplementedError
|
545
|
+
# Symlinks not supported on this platform - skip test
|
546
|
+
return
|
547
|
+
end
|
548
|
+
|
549
|
+
subdir_link2 = File.join(subdir, 'Link2')
|
550
|
+
FileUtils.ln_s('../EST', subdir_link2)
|
551
|
+
|
552
|
+
subdir2 = File.join(dir, 'Subdir2')
|
553
|
+
FileUtils.mkdir(subdir2)
|
554
|
+
subdir2_link = File.join(subdir2, 'Link')
|
555
|
+
FileUtils.ln_s('../Subdir/EST', subdir2_link)
|
556
|
+
|
557
|
+
data_source = ZoneinfoDataSource.new(dir)
|
558
|
+
|
559
|
+
info = data_source.load_timezone_info('Subdir/Link')
|
560
|
+
assert_kind_of(ZoneinfoTimezoneInfo, info)
|
561
|
+
assert_equal('Subdir/Link', info.identifier)
|
562
|
+
|
563
|
+
info = data_source.load_timezone_info('Subdir/Link2')
|
564
|
+
assert_kind_of(ZoneinfoTimezoneInfo, info)
|
565
|
+
assert_equal('Subdir/Link2', info.identifier)
|
566
|
+
|
567
|
+
info = data_source.load_timezone_info('Subdir2/Link')
|
568
|
+
assert_kind_of(ZoneinfoTimezoneInfo, info)
|
569
|
+
assert_equal('Subdir2/Link', info.identifier)
|
570
|
+
end
|
571
|
+
end
|
572
|
+
|
573
|
+
def test_load_timezone_info_invalid_file
|
574
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
575
|
+
FileUtils.touch(File.join(dir, 'zone.tab'))
|
576
|
+
FileUtils.touch(File.join(dir, 'iso3166.tab'))
|
577
|
+
|
578
|
+
File.open(File.join(dir, 'Zone'), 'wb') do |file|
|
579
|
+
file.write('NotAValidTZifFile')
|
580
|
+
end
|
581
|
+
|
582
|
+
data_source = ZoneinfoDataSource.new(dir)
|
583
|
+
|
584
|
+
assert_raises(InvalidTimezoneIdentifier) do
|
585
|
+
data_source.load_timezone_info('Zone')
|
586
|
+
end
|
587
|
+
end
|
588
|
+
end
|
589
|
+
|
590
|
+
def test_load_timezone_info_invalid_file_2
|
591
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
592
|
+
FileUtils.touch(File.join(dir, 'zone.tab'))
|
593
|
+
FileUtils.touch(File.join(dir, 'iso3166.tab'))
|
594
|
+
|
595
|
+
zone = File.join(dir, 'Zone')
|
596
|
+
|
597
|
+
File.open(File.join(@data_source.zoneinfo_dir, 'EST')) do |src|
|
598
|
+
# Change header to TZif1 (which is not a valid header).
|
599
|
+
File.open(zone, 'wb') do |dest|
|
600
|
+
dest.write('TZif1')
|
601
|
+
src.pos = 5
|
602
|
+
FileUtils.copy_stream(src, dest)
|
603
|
+
end
|
604
|
+
end
|
605
|
+
|
606
|
+
data_source = ZoneinfoDataSource.new(dir)
|
607
|
+
|
608
|
+
assert_raises(InvalidTimezoneIdentifier) do
|
609
|
+
data_source.load_timezone_info('Zone')
|
610
|
+
end
|
611
|
+
end
|
612
|
+
end
|
613
|
+
|
614
|
+
def test_load_timezone_info_tainted
|
615
|
+
safe_test do
|
616
|
+
identifier = 'Europe/Amsterdam'.taint
|
617
|
+
assert(identifier.tainted?)
|
618
|
+
info = @data_source.load_timezone_info(identifier)
|
619
|
+
assert_equal('Europe/Amsterdam', info.identifier)
|
620
|
+
assert(identifier.tainted?)
|
621
|
+
end
|
622
|
+
end
|
623
|
+
|
624
|
+
def test_load_timezone_info_tainted_and_frozen
|
625
|
+
safe_test do
|
626
|
+
info = @data_source.load_timezone_info('Europe/Amsterdam'.taint.freeze)
|
627
|
+
assert_equal('Europe/Amsterdam', info.identifier)
|
628
|
+
end
|
629
|
+
end
|
630
|
+
|
631
|
+
def test_load_timezone_info_tainted_zoneinfo_dir_safe_mode
|
632
|
+
safe_test(:unavailable => :skip) do
|
633
|
+
assert_raises(SecurityError) do
|
634
|
+
ZoneinfoDataSource.new(@data_source.zoneinfo_dir.dup.taint)
|
635
|
+
end
|
636
|
+
end
|
637
|
+
end
|
638
|
+
|
639
|
+
def test_load_timezone_info_tainted_zoneinfo_dir
|
640
|
+
data_source = ZoneinfoDataSource.new(@data_source.zoneinfo_dir.dup.taint)
|
641
|
+
info = data_source.load_timezone_info('Europe/London')
|
642
|
+
assert_kind_of(ZoneinfoTimezoneInfo, info)
|
643
|
+
assert_equal('Europe/London', info.identifier)
|
644
|
+
end
|
645
|
+
|
646
|
+
def get_timezone_filenames(directory)
|
647
|
+
entries = Dir.glob(File.join(directory, '**', '*'))
|
648
|
+
|
649
|
+
entries = entries.select do |file|
|
650
|
+
file.untaint
|
651
|
+
File.file?(file)
|
652
|
+
end
|
653
|
+
|
654
|
+
entries = entries.collect {|file| file[directory.length + File::SEPARATOR.length, file.length - directory.length - File::SEPARATOR.length]}
|
655
|
+
|
656
|
+
# Exclude right (with leapseconds) and posix (copy) directories; .tab files; localtime, posixrules and Factory zones
|
657
|
+
entries = entries.select do |file|
|
658
|
+
file !~ /\A(posix|right)\// &&
|
659
|
+
file !~ /\.tab\z/ &&
|
660
|
+
!%w(localtime posixrules Factory).include?(file)
|
661
|
+
end
|
662
|
+
|
663
|
+
entries.sort
|
664
|
+
end
|
665
|
+
|
666
|
+
def test_timezone_identifiers
|
667
|
+
expected = get_timezone_filenames(@data_source.zoneinfo_dir)
|
668
|
+
all = @data_source.timezone_identifiers
|
669
|
+
assert_kind_of(Array, all)
|
670
|
+
assert_array_same_items(expected, all)
|
671
|
+
assert_equal(true, all.frozen?)
|
672
|
+
end
|
673
|
+
|
674
|
+
def test_data_timezone_identifiers
|
675
|
+
expected = get_timezone_filenames(@data_source.zoneinfo_dir)
|
676
|
+
all_data = @data_source.data_timezone_identifiers
|
677
|
+
assert_kind_of(Array, all_data)
|
678
|
+
assert_array_same_items(expected, all_data)
|
679
|
+
assert_equal(true, all_data.frozen?)
|
680
|
+
end
|
681
|
+
|
682
|
+
def test_linked_timezone_identifiers
|
683
|
+
all_linked = @data_source.linked_timezone_identifiers
|
684
|
+
assert_kind_of(Array, all_linked)
|
685
|
+
assert_equal(true, all_linked.empty?)
|
686
|
+
assert_equal(true, all_linked.frozen?)
|
687
|
+
end
|
688
|
+
|
689
|
+
def test_timezone_identifiers_safe_mode
|
690
|
+
safe_test do
|
691
|
+
expected = get_timezone_filenames(@data_source.zoneinfo_dir)
|
692
|
+
all = @data_source.timezone_identifiers
|
693
|
+
assert_kind_of(Array, all)
|
694
|
+
assert_array_same_items(expected, all)
|
695
|
+
assert_equal(true, all.frozen?)
|
696
|
+
end
|
697
|
+
end
|
698
|
+
|
699
|
+
def test_timezone_identifiers_ignored_plus_version_file
|
700
|
+
# Mac OS X includes a file named +VERSION containing the tzdata version.
|
701
|
+
|
702
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
703
|
+
FileUtils.touch(File.join(dir, 'zone.tab'))
|
704
|
+
FileUtils.touch(File.join(dir, 'iso3166.tab'))
|
705
|
+
FileUtils.cp(File.join(@data_source.zoneinfo_dir, 'EST'), File.join(dir, 'EST'))
|
706
|
+
|
707
|
+
File.open(File.join(dir, '+VERSION'), 'w') do |f|
|
708
|
+
f.binmode
|
709
|
+
f.write("2013a\n")
|
710
|
+
end
|
711
|
+
|
712
|
+
data_source = ZoneinfoDataSource.new(dir)
|
713
|
+
assert_array_same_items(['EST'], data_source.timezone_identifiers)
|
714
|
+
end
|
715
|
+
end
|
716
|
+
|
717
|
+
def test_timezone_identifiers_ignored_src_directory
|
718
|
+
# Solaris includes a src directory containing the source timezone data files
|
719
|
+
# from the tzdata distribution. These should be ignored.
|
720
|
+
|
721
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
722
|
+
FileUtils.touch(File.join(dir, 'zone.tab'))
|
723
|
+
FileUtils.touch(File.join(dir, 'iso3166.tab'))
|
724
|
+
FileUtils.cp(File.join(@data_source.zoneinfo_dir, 'EST'), File.join(dir, 'EST'))
|
725
|
+
|
726
|
+
src_dir = File.join(dir, 'src')
|
727
|
+
FileUtils.mkdir(src_dir)
|
728
|
+
|
729
|
+
File.open(File.join(src_dir, 'europe'), 'w') do |f|
|
730
|
+
f.binmode
|
731
|
+
f.write("Zone\tEurope/London\t0:00\tEU\tGMT/BST\n")
|
732
|
+
end
|
733
|
+
|
734
|
+
data_source = ZoneinfoDataSource.new(dir)
|
735
|
+
assert_array_same_items(['EST'], data_source.timezone_identifiers)
|
736
|
+
end
|
737
|
+
end
|
738
|
+
|
739
|
+
def test_load_country_info
|
740
|
+
info = @data_source.load_country_info('GB')
|
741
|
+
assert_equal('GB', info.code)
|
742
|
+
assert_equal('Britain (UK)', info.name)
|
743
|
+
end
|
744
|
+
|
745
|
+
def test_load_country_info_not_exist
|
746
|
+
assert_raises(InvalidCountryCode) do
|
747
|
+
@data_source.load_country_info('ZZ')
|
748
|
+
end
|
749
|
+
end
|
750
|
+
|
751
|
+
def test_load_country_info_invalid
|
752
|
+
assert_raises(InvalidCountryCode) do
|
753
|
+
@data_source.load_country_info('../Countries/GB')
|
754
|
+
end
|
755
|
+
end
|
756
|
+
|
757
|
+
def test_load_country_info_nil
|
758
|
+
assert_raises(InvalidCountryCode) do
|
759
|
+
@data_source.load_country_info(nil)
|
760
|
+
end
|
761
|
+
end
|
762
|
+
|
763
|
+
def test_load_country_info_case
|
764
|
+
assert_raises(InvalidCountryCode) do
|
765
|
+
@data_source.load_country_info('gb')
|
766
|
+
end
|
767
|
+
end
|
768
|
+
|
769
|
+
def test_load_country_info_tainted
|
770
|
+
safe_test do
|
771
|
+
code = 'NL'.taint
|
772
|
+
assert(code.tainted?)
|
773
|
+
info = @data_source.load_country_info(code)
|
774
|
+
assert_equal('NL', info.code)
|
775
|
+
assert(code.tainted?)
|
776
|
+
end
|
777
|
+
end
|
778
|
+
|
779
|
+
def test_load_country_info_tainted_and_frozen
|
780
|
+
safe_test do
|
781
|
+
info = @data_source.load_country_info('NL'.taint.freeze)
|
782
|
+
assert_equal('NL', info.code)
|
783
|
+
end
|
784
|
+
end
|
785
|
+
|
786
|
+
def test_load_country_info_check_zones
|
787
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
788
|
+
RubyCoreSupport.open_file(File.join(dir, 'iso3166.tab'), 'w', :external_encoding => 'UTF-8') do |iso3166|
|
789
|
+
iso3166.puts('# iso3166.tab')
|
790
|
+
iso3166.puts('')
|
791
|
+
iso3166.puts("FC\tFake Country")
|
792
|
+
iso3166.puts("OC\tOther Country")
|
793
|
+
end
|
794
|
+
|
795
|
+
RubyCoreSupport.open_file(File.join(dir, 'zone.tab'), 'w', :external_encoding => 'UTF-8') do |zone|
|
796
|
+
zone.puts('# zone.tab')
|
797
|
+
zone.puts('')
|
798
|
+
zone.puts("FC\t+513030-0000731\tFake/One\tDescription of one")
|
799
|
+
zone.puts("FC\t+353916+1394441\tFake/Two\tAnother description")
|
800
|
+
zone.puts("FC\t-2332-04637\tFake/Three\tThis is Three")
|
801
|
+
zone.puts("OC\t+5005+01426\tOther/One")
|
802
|
+
end
|
803
|
+
|
804
|
+
data_source = ZoneinfoDataSource.new(dir)
|
805
|
+
|
806
|
+
info = data_source.load_country_info('FC')
|
807
|
+
assert_equal('FC', info.code)
|
808
|
+
assert_equal('Fake Country', info.name)
|
809
|
+
assert_equal(['Fake/One', 'Fake/Two', 'Fake/Three'], info.zone_identifiers)
|
810
|
+
assert_equal(true, info.zone_identifiers.frozen?)
|
811
|
+
assert_equal([
|
812
|
+
CountryTimezone.new('Fake/One', Rational(6181, 120), Rational(-451, 3600), 'Description of one'),
|
813
|
+
CountryTimezone.new('Fake/Two', Rational(32089, 900), Rational(503081, 3600), 'Another description'),
|
814
|
+
CountryTimezone.new('Fake/Three', Rational(-353, 15), Rational(-2797, 60), 'This is Three')], info.zones)
|
815
|
+
assert_equal(true, info.zones.frozen?)
|
816
|
+
|
817
|
+
info = data_source.load_country_info('OC')
|
818
|
+
assert_equal('OC', info.code)
|
819
|
+
assert_equal('Other Country', info.name)
|
820
|
+
assert_equal(['Other/One'], info.zone_identifiers)
|
821
|
+
assert_equal(true, info.zone_identifiers.frozen?)
|
822
|
+
assert_equal([CountryTimezone.new('Other/One', Rational(601, 12), Rational(433, 30))], info.zones)
|
823
|
+
assert_equal(true, info.zones.frozen?)
|
824
|
+
end
|
825
|
+
end
|
826
|
+
|
827
|
+
def test_load_country_info_check_zones_zone1970
|
828
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
829
|
+
RubyCoreSupport.open_file(File.join(dir, 'iso3166.tab'), 'w', :external_encoding => 'UTF-8') do |iso3166|
|
830
|
+
iso3166.puts('# iso3166.tab')
|
831
|
+
iso3166.puts('')
|
832
|
+
iso3166.puts("AC\tAnother Country")
|
833
|
+
iso3166.puts("FC\tFake Country")
|
834
|
+
iso3166.puts("OC\tOther Country")
|
835
|
+
end
|
836
|
+
|
837
|
+
# zone.tab will be ignored.
|
838
|
+
RubyCoreSupport.open_file(File.join(dir, 'zone.tab'), 'w', :external_encoding => 'UTF-8') do |zone|
|
839
|
+
zone.puts('# zone.tab')
|
840
|
+
zone.puts('')
|
841
|
+
zone.puts("FC\t+513030-0000731\tFake/One\tDescription of one")
|
842
|
+
zone.puts("FC\t+353916+1394441\tFake/Two\tAnother description")
|
843
|
+
zone.puts("FC\t-2332-04637\tFake/Three\tThis is Three")
|
844
|
+
zone.puts("OC\t+5005+01426\tOther/One")
|
845
|
+
end
|
846
|
+
|
847
|
+
# zone1970.tab will be used.
|
848
|
+
RubyCoreSupport.open_file(File.join(dir, 'zone1970.tab'), 'w', :external_encoding => 'UTF-8') do |zone|
|
849
|
+
zone.puts('# zone1970.tab')
|
850
|
+
zone.puts('')
|
851
|
+
zone.puts("AC,OC\t+0000+00000\tMiddle/Another/One\tAnother's One")
|
852
|
+
zone.puts("FC\t+513030-0000731\tFake/One\tDescription of one")
|
853
|
+
zone.puts("FC,OC\t+353916+1394441\tFake/Two\tAnother description")
|
854
|
+
zone.puts("FC,OC\t-2332-04637\tFake/Three\tThis is Three")
|
855
|
+
zone.puts("OC\t+5005+01426\tOther/One")
|
856
|
+
zone.puts("OC\t+5015+11426\tOther/Two")
|
857
|
+
end
|
858
|
+
|
859
|
+
data_source = ZoneinfoDataSource.new(dir)
|
860
|
+
|
861
|
+
info = data_source.load_country_info('AC')
|
862
|
+
assert_equal('AC', info.code)
|
863
|
+
assert_equal('Another Country', info.name)
|
864
|
+
assert_equal(['Middle/Another/One'], info.zone_identifiers)
|
865
|
+
assert_equal(true, info.zone_identifiers.frozen?)
|
866
|
+
assert_equal([CountryTimezone.new('Middle/Another/One', Rational(0, 1), Rational(0, 1), "Another's One")], info.zones)
|
867
|
+
assert_equal(true, info.zones.frozen?)
|
868
|
+
|
869
|
+
info = data_source.load_country_info('FC')
|
870
|
+
assert_equal('FC', info.code)
|
871
|
+
assert_equal('Fake Country', info.name)
|
872
|
+
assert_equal(['Fake/One', 'Fake/Two', 'Fake/Three'], info.zone_identifiers)
|
873
|
+
assert_equal(true, info.zone_identifiers.frozen?)
|
874
|
+
assert_equal([
|
875
|
+
CountryTimezone.new('Fake/One', Rational(6181, 120), Rational(-451, 3600), 'Description of one'),
|
876
|
+
CountryTimezone.new('Fake/Two', Rational(32089, 900), Rational(503081, 3600), 'Another description'),
|
877
|
+
CountryTimezone.new('Fake/Three', Rational(-353, 15), Rational(-2797, 60), 'This is Three')], info.zones)
|
878
|
+
assert_equal(true, info.zones.frozen?)
|
879
|
+
|
880
|
+
# Testing the ordering of zones. A zone can either be primary (country
|
881
|
+
# code is the first in the first column), or secondary (country code is
|
882
|
+
# not the first). Should return all the primaries first in the order they
|
883
|
+
# appeared in the file, followed by all the secondaries in the order they
|
884
|
+
# appeared in file.
|
885
|
+
|
886
|
+
info = data_source.load_country_info('OC')
|
887
|
+
assert_equal('OC', info.code)
|
888
|
+
assert_equal('Other Country', info.name)
|
889
|
+
assert_equal(['Other/One', 'Other/Two', 'Middle/Another/One', 'Fake/Two', 'Fake/Three'], info.zone_identifiers)
|
890
|
+
assert_equal(true, info.zone_identifiers.frozen?)
|
891
|
+
assert_equal([
|
892
|
+
CountryTimezone.new('Other/One', Rational(601, 12), Rational( 433, 30)),
|
893
|
+
CountryTimezone.new('Other/Two', Rational(201, 4), Rational(3433, 30)),
|
894
|
+
CountryTimezone.new('Middle/Another/One', Rational(0, 1), Rational(0, 1), "Another's One"),
|
895
|
+
CountryTimezone.new('Fake/Two', Rational(32089, 900), Rational(503081, 3600), 'Another description'),
|
896
|
+
CountryTimezone.new('Fake/Three', Rational(-353, 15), Rational(-2797, 60), 'This is Three')], info.zones)
|
897
|
+
assert_equal(true, info.zones.frozen?)
|
898
|
+
end
|
899
|
+
end
|
900
|
+
|
901
|
+
def test_load_country_info_check_zones_solaris_tab_files
|
902
|
+
# Solaris uses 5 columns instead of the usual 4 in zone_sun.tab.
|
903
|
+
# An extra column before the comment gives an optional linked/alternate
|
904
|
+
# timezone identifier (or '-' if not set).
|
905
|
+
#
|
906
|
+
# Additionally, there is a section at the end of the file for timezones
|
907
|
+
# covering regions. These are given lower-case "country" codes. The timezone
|
908
|
+
# identifier column refers to a continent instead of an identifier. These
|
909
|
+
# lines will be ignored by TZInfo.
|
910
|
+
|
911
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
912
|
+
tab_dir = File.join(dir, 'tab')
|
913
|
+
FileUtils.mkdir(tab_dir)
|
914
|
+
|
915
|
+
RubyCoreSupport.open_file(File.join(tab_dir, 'country.tab'), 'w', :external_encoding => 'UTF-8') do |country|
|
916
|
+
country.puts('# country.tab')
|
917
|
+
country.puts('# Solaris')
|
918
|
+
country.puts("FC\tFake Country")
|
919
|
+
country.puts("OC\tOther Country")
|
920
|
+
end
|
921
|
+
|
922
|
+
RubyCoreSupport.open_file(File.join(tab_dir, 'zone_sun.tab'), 'w', :external_encoding => 'UTF-8') do |zone_sun|
|
923
|
+
zone_sun.puts('# zone_sun.tab')
|
924
|
+
zone_sun.puts('# Solaris')
|
925
|
+
zone_sun.puts('# Countries')
|
926
|
+
zone_sun.puts("FC\t+513030-0000731\tFake/One\t-\tDescription of one")
|
927
|
+
zone_sun.puts("FC\t+353916+1394441\tFake/Two\tFake/Alias/Two\tAnother description")
|
928
|
+
zone_sun.puts("FC\t-2332-04637\tFake/Three\tFake/Alias/Three\tThis is Three")
|
929
|
+
zone_sun.puts("OC\t+5005+01426\tOther/One\tOther/Linked/One")
|
930
|
+
zone_sun.puts("OC\t+5015+01436\tOther/Two\t-")
|
931
|
+
zone_sun.puts('# Regions')
|
932
|
+
zone_sun.puts("ee\t+0000+00000\tEurope/\tEET")
|
933
|
+
zone_sun.puts("me\t+0000+00000\tEurope/\tMET")
|
934
|
+
zone_sun.puts("we\t+0000+00000\tEurope/\tWET")
|
935
|
+
end
|
936
|
+
|
937
|
+
data_source = ZoneinfoDataSource.new(dir)
|
938
|
+
|
939
|
+
info = data_source.load_country_info('FC')
|
940
|
+
assert_equal('FC', info.code)
|
941
|
+
assert_equal('Fake Country', info.name)
|
942
|
+
assert_equal(['Fake/One', 'Fake/Two', 'Fake/Three'], info.zone_identifiers)
|
943
|
+
assert_equal(true, info.zone_identifiers.frozen?)
|
944
|
+
assert_equal([
|
945
|
+
CountryTimezone.new('Fake/One', Rational(6181, 120), Rational(-451, 3600), 'Description of one'),
|
946
|
+
CountryTimezone.new('Fake/Two', Rational(32089, 900), Rational(503081, 3600), 'Another description'),
|
947
|
+
CountryTimezone.new('Fake/Three', Rational(-353, 15), Rational(-2797, 60), 'This is Three')], info.zones)
|
948
|
+
assert_equal(true, info.zones.frozen?)
|
949
|
+
|
950
|
+
info = data_source.load_country_info('OC')
|
951
|
+
assert_equal('OC', info.code)
|
952
|
+
assert_equal('Other Country', info.name)
|
953
|
+
assert_equal(['Other/One', 'Other/Two'], info.zone_identifiers)
|
954
|
+
assert_equal(true, info.zone_identifiers.frozen?)
|
955
|
+
assert_equal([
|
956
|
+
CountryTimezone.new('Other/One', Rational(601, 12), Rational(433, 30)),
|
957
|
+
CountryTimezone.new('Other/Two', Rational(201, 4), Rational(73, 5))], info.zones)
|
958
|
+
assert_equal(true, info.zones.frozen?)
|
959
|
+
end
|
960
|
+
end
|
961
|
+
|
962
|
+
def test_load_country_info_check_zones_alternate_iso3166_file
|
963
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
964
|
+
zoneinfo_dir = File.join(dir, 'zoneinfo')
|
965
|
+
tab_dir = File.join(dir, 'tab')
|
966
|
+
FileUtils.mkdir(zoneinfo_dir)
|
967
|
+
FileUtils.mkdir(tab_dir)
|
968
|
+
|
969
|
+
tab_file = File.join(tab_dir, 'iso3166')
|
970
|
+
RubyCoreSupport.open_file(tab_file, 'w', :external_encoding => 'UTF-8') do |iso3166|
|
971
|
+
# Use the BSD 4 column format (alternate iso3166 is used on BSD).
|
972
|
+
iso3166.puts("FC\tFCC\t001\tFake Country")
|
973
|
+
iso3166.puts("OC\tOCC\t002\tOther Country")
|
974
|
+
end
|
975
|
+
|
976
|
+
RubyCoreSupport.open_file(File.join(zoneinfo_dir, 'zone.tab'), 'w', :external_encoding => 'UTF-8') do |zone|
|
977
|
+
zone.puts("FC\t+513030-0000731\tFake/One\tDescription of one")
|
978
|
+
zone.puts("FC\t+353916+1394441\tFake/Two\tAnother description")
|
979
|
+
zone.puts("FC\t-2332-04637\tFake/Three\tThis is Three")
|
980
|
+
zone.puts("OC\t+5005+01426\tOther/One")
|
981
|
+
end
|
982
|
+
|
983
|
+
data_source = ZoneinfoDataSource.new(zoneinfo_dir, tab_file)
|
984
|
+
|
985
|
+
info = data_source.load_country_info('FC')
|
986
|
+
assert_equal('FC', info.code)
|
987
|
+
assert_equal('Fake Country', info.name)
|
988
|
+
assert_equal(['Fake/One', 'Fake/Two', 'Fake/Three'], info.zone_identifiers)
|
989
|
+
assert_equal(true, info.zone_identifiers.frozen?)
|
990
|
+
assert_equal([
|
991
|
+
CountryTimezone.new('Fake/One', Rational(6181, 120), Rational(-451, 3600), 'Description of one'),
|
992
|
+
CountryTimezone.new('Fake/Two', Rational(32089, 900), Rational(503081, 3600), 'Another description'),
|
993
|
+
CountryTimezone.new('Fake/Three', Rational(-353, 15), Rational(-2797, 60), 'This is Three')], info.zones)
|
994
|
+
assert_equal(true, info.zones.frozen?)
|
995
|
+
|
996
|
+
info = data_source.load_country_info('OC')
|
997
|
+
assert_equal('OC', info.code)
|
998
|
+
assert_equal('Other Country', info.name)
|
999
|
+
assert_equal(['Other/One'], info.zone_identifiers)
|
1000
|
+
assert_equal(true, info.zone_identifiers.frozen?)
|
1001
|
+
assert_equal([CountryTimezone.new('Other/One', Rational(601, 12), Rational(433, 30))], info.zones)
|
1002
|
+
assert_equal(true, info.zones.frozen?)
|
1003
|
+
end
|
1004
|
+
end
|
1005
|
+
|
1006
|
+
def test_load_country_info_four_column_iso31611
|
1007
|
+
# OpenBSD and FreeBSD use a 4 column iso3166.tab file that includes
|
1008
|
+
# alpha-3 and numeric-3 codes in addition to the alpha-2 and name in the
|
1009
|
+
# tz database version.
|
1010
|
+
|
1011
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
1012
|
+
RubyCoreSupport.open_file(File.join(dir, 'iso3166.tab'), 'w', :external_encoding => 'UTF-8') do |iso3166|
|
1013
|
+
iso3166.puts("FC\tFCC\t001\tFake Country")
|
1014
|
+
iso3166.puts("OC\tOCC\t002\tOther Country")
|
1015
|
+
end
|
1016
|
+
|
1017
|
+
RubyCoreSupport.open_file(File.join(dir, 'zone.tab'), 'w', :external_encoding => 'UTF-8') do |zone|
|
1018
|
+
zone.puts("FC\t+513030-0000731\tFake/One\tDescription of one")
|
1019
|
+
zone.puts("OC\t+5005+01426\tOther/One")
|
1020
|
+
end
|
1021
|
+
|
1022
|
+
data_source = ZoneinfoDataSource.new(dir)
|
1023
|
+
|
1024
|
+
info = data_source.load_country_info('FC')
|
1025
|
+
assert_equal('FC', info.code)
|
1026
|
+
assert_equal('Fake Country', info.name)
|
1027
|
+
|
1028
|
+
info = data_source.load_country_info('OC')
|
1029
|
+
assert_equal('OC', info.code)
|
1030
|
+
assert_equal('Other Country', info.name)
|
1031
|
+
end
|
1032
|
+
end
|
1033
|
+
|
1034
|
+
def test_load_country_info_utf8
|
1035
|
+
# iso3166.tab is currently in ASCII (as of tzdata 2014f), but will be
|
1036
|
+
# changed to UTF-8 in the future.
|
1037
|
+
|
1038
|
+
# zone.tab is in ASCII, with no plans to change. Since ASCII is a subset of
|
1039
|
+
# UTF-8, test that this is loaded in UTF-8 anyway.
|
1040
|
+
|
1041
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
1042
|
+
RubyCoreSupport.open_file(File.join(dir, 'iso3166.tab'), 'w', :external_encoding => 'UTF-8') do |iso3166|
|
1043
|
+
iso3166.puts("UT\tUnicode Test ✓")
|
1044
|
+
end
|
1045
|
+
|
1046
|
+
RubyCoreSupport.open_file(File.join(dir, 'zone.tab'), 'w', :external_encoding => 'UTF-8') do |zone|
|
1047
|
+
zone.puts("UT\t+513030-0000731\tUnicode✓/One\tUnicode Description ✓")
|
1048
|
+
end
|
1049
|
+
|
1050
|
+
data_source = ZoneinfoDataSource.new(dir)
|
1051
|
+
|
1052
|
+
info = data_source.load_country_info('UT')
|
1053
|
+
assert_equal('UT', info.code)
|
1054
|
+
assert_equal('Unicode Test ✓', info.name)
|
1055
|
+
assert_equal(['Unicode✓/One'], info.zone_identifiers)
|
1056
|
+
assert_equal([CountryTimezone.new('Unicode✓/One', Rational(6181, 120), Rational(-451, 3600), 'Unicode Description ✓')], info.zones)
|
1057
|
+
end
|
1058
|
+
end
|
1059
|
+
|
1060
|
+
def test_load_country_info_utf8_zone1970
|
1061
|
+
# iso3166.tab is currently in ASCII (as of tzdata 2014f), but will be
|
1062
|
+
# changed to UTF-8 in the future.
|
1063
|
+
|
1064
|
+
# zone1970.tab is in UTF-8.
|
1065
|
+
|
1066
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
1067
|
+
RubyCoreSupport.open_file(File.join(dir, 'iso3166.tab'), 'w', :external_encoding => 'UTF-8') do |iso3166|
|
1068
|
+
iso3166.puts("UT\tUnicode Test ✓")
|
1069
|
+
end
|
1070
|
+
|
1071
|
+
RubyCoreSupport.open_file(File.join(dir, 'zone1970.tab'), 'w', :external_encoding => 'UTF-8') do |zone|
|
1072
|
+
zone.puts("UT\t+513030-0000731\tUnicode✓/One\tUnicode Description ✓")
|
1073
|
+
end
|
1074
|
+
|
1075
|
+
data_source = ZoneinfoDataSource.new(dir)
|
1076
|
+
|
1077
|
+
info = data_source.load_country_info('UT')
|
1078
|
+
assert_equal('UT', info.code)
|
1079
|
+
assert_equal('Unicode Test ✓', info.name)
|
1080
|
+
assert_equal(['Unicode✓/One'], info.zone_identifiers)
|
1081
|
+
assert_equal([CountryTimezone.new('Unicode✓/One', Rational(6181, 120), Rational(-451, 3600), 'Unicode Description ✓')], info.zones)
|
1082
|
+
end
|
1083
|
+
end
|
1084
|
+
|
1085
|
+
def test_country_codes
|
1086
|
+
file_codes = []
|
1087
|
+
|
1088
|
+
RubyCoreSupport.open_file(File.join(@data_source.zoneinfo_dir, 'iso3166.tab'), 'r', :external_encoding => 'UTF-8', :internal_encoding => 'UTF-8') do |file|
|
1089
|
+
file.each_line do |line|
|
1090
|
+
line.chomp!
|
1091
|
+
file_codes << $1 if line =~ /\A([A-Z]{2})\t/
|
1092
|
+
end
|
1093
|
+
end
|
1094
|
+
|
1095
|
+
codes = @data_source.country_codes
|
1096
|
+
assert_array_same_items(file_codes, codes)
|
1097
|
+
assert_equal(true, codes.frozen?)
|
1098
|
+
end
|
1099
|
+
|
1100
|
+
def test_country_codes_four_column_iso3166
|
1101
|
+
# OpenBSD and FreeBSD use a 4 column iso3166.tab file that includes
|
1102
|
+
# alpha-3 and numeric-3 codes in addition to the alpha-2 and name in the
|
1103
|
+
# tz database version.
|
1104
|
+
|
1105
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
1106
|
+
RubyCoreSupport.open_file(File.join(dir, 'iso3166.tab'), 'w', :external_encoding => 'UTF-8') do |iso3166|
|
1107
|
+
iso3166.puts("FC\tFCC\t001\tFake Country")
|
1108
|
+
iso3166.puts("OC\tOCC\t002\tOther Country")
|
1109
|
+
end
|
1110
|
+
|
1111
|
+
RubyCoreSupport.open_file(File.join(dir, 'zone.tab'), 'w', :external_encoding => 'UTF-8') do |zone|
|
1112
|
+
zone.puts("FC\t+513030-0000731\tFake/One\tDescription of one")
|
1113
|
+
zone.puts("OC\t+5005+01426\tOther/One")
|
1114
|
+
end
|
1115
|
+
|
1116
|
+
data_source = ZoneinfoDataSource.new(dir)
|
1117
|
+
|
1118
|
+
codes = data_source.country_codes
|
1119
|
+
assert_array_same_items(%w(FC OC), codes)
|
1120
|
+
end
|
1121
|
+
end
|
1122
|
+
end
|