monero_wallet_gen 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 +1 -0
- data/.travis.yml +4 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +14 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/monero_wallet_gen.rb +133 -0
- data/lib/monero_wallet_gen/base58.rb +86 -0
- data/lib/monero_wallet_gen/ed25519.rb +177 -0
- data/lib/monero_wallet_gen/version.rb +3 -0
- data/lib/monero_wallet_gen/words.rb +206 -0
- data/monero_wallet_gen.gemspec +30 -0
- data/vendor/bundle/ruby/2.3.0/bin/coderay +23 -0
- data/vendor/bundle/ruby/2.3.0/bin/htmldiff +25 -0
- data/vendor/bundle/ruby/2.3.0/bin/ldiff +25 -0
- data/vendor/bundle/ruby/2.3.0/bin/pry +23 -0
- data/vendor/bundle/ruby/2.3.0/bin/rake +23 -0
- data/vendor/bundle/ruby/2.3.0/bin/rspec +23 -0
- data/vendor/bundle/ruby/2.3.0/cache/activesupport-5.2.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/coderay-1.1.2.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/concurrent-ruby-1.0.5.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/diff-lcs-1.3.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/digest-sha3-1.1.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/i18n-1.0.1.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/method_source-0.9.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/minitest-5.11.3.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/pry-0.11.3.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rake-10.5.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rspec-3.7.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rspec-core-3.7.1.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rspec-expectations-3.7.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rspec-mocks-3.7.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rspec-support-3.7.1.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/thread_safe-0.3.6.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/tzinfo-1.2.5.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/digest-sha3-1.1.0/gem_make.out +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/CHANGELOG.md +522 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/README.rdoc +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support.rb +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/all.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/array_inquirer.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/backtrace_cleaner.rb +105 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/benchmarkable.rb +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/builder.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/cache.rb +811 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/cache/file_store.rb +196 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/cache/mem_cache_store.rb +207 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/cache/memory_store.rb +169 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/cache/null_store.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/cache/redis_cache_store.rb +454 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/cache/strategy/local_cache.rb +194 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/cache/strategy/local_cache_middleware.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb +845 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/concern.rb +144 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/concurrency/load_interlock_aware_monitor.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/concurrency/share_lock.rb +227 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/configurable.rb +150 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/array.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/array/access.rb +92 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/array/conversions.rb +213 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/array/extract_options.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/array/grouping.rb +109 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/array/inquiry.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/array/prepend_and_append.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/array/wrap.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/benchmark.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/big_decimal.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/big_decimal/conversions.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/class.rb +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/class/attribute.rb +146 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/class/attribute_accessors.rb +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/class/subclasses.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/date.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/date/acts_like.rb +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/date/blank.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/date/calculations.rb +145 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/date/conversions.rb +96 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/date/zones.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/date_and_time/calculations.rb +374 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/date_and_time/compatibility.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/date_and_time/zones.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/date_time.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/date_time/acts_like.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/date_time/blank.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/date_time/calculations.rb +211 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/date_time/compatibility.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/date_time/conversions.rb +107 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/digest/uuid.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/enumerable.rb +159 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/file.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/file/atomic.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/hash.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/hash/compact.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/hash/conversions.rb +263 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/hash/deep_merge.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/hash/except.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/hash/indifferent_access.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/hash/keys.rb +172 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/hash/reverse_merge.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/hash/slice.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/hash/transform_values.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/integer.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/integer/inflections.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/integer/multiple.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/integer/time.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/kernel.rb +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/kernel/agnostics.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/kernel/concern.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/kernel/reporting.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/kernel/singleton_class.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/load_error.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/marshal.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/module.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/module/aliasing.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/module/anonymous.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/module/attr_internal.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/module/attribute_accessors.rb +215 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb +150 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/module/concerning.rb +134 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/module/delegation.rb +287 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/module/deprecation.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/module/introspection.rb +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/module/reachable.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/module/redefine_method.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/module/remove_method.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/name_error.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/numeric.rb +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/numeric/bytes.rb +66 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/numeric/conversions.rb +140 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/numeric/inquiry.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/numeric/time.rb +66 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/object.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/object/acts_like.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/object/blank.rb +156 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/object/conversions.rb +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/object/deep_dup.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/object/duplicable.rb +156 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/object/inclusion.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/object/instance_variables.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/object/json.rb +227 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/object/to_param.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/object/to_query.rb +86 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/object/try.rb +148 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/object/with_options.rb +82 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/range.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/range/conversions.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/range/each.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/range/include_range.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/range/include_time_with_zone.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/range/overlaps.rb +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/regexp.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/securerandom.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/string.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/string/access.rb +106 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/string/behavior.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/string/conversions.rb +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/string/exclude.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/string/filters.rb +104 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/string/indent.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/string/inflections.rb +254 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/string/inquiry.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/string/multibyte.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/string/output_safety.rb +258 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/string/starts_ends_with.rb +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/string/strip.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/string/zones.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/time.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/time/acts_like.rb +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/time/calculations.rb +315 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/time/compatibility.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/time/conversions.rb +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/time/zones.rb +113 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/uri.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/current_attributes.rb +195 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/dependencies.rb +745 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/dependencies/autoload.rb +79 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/dependencies/interlock.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/deprecation.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/deprecation/behaviors.rb +105 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/deprecation/constant_accessor.rb +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/deprecation/instance_delegator.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/deprecation/method_wrappers.rb +77 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/deprecation/proxy_wrappers.rb +154 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/deprecation/reporting.rb +114 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/descendants_tracker.rb +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/digest.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/duration.rb +432 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/duration/iso8601_parser.rb +125 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/duration/iso8601_serializer.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/encrypted_configuration.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/encrypted_file.rb +99 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/evented_file_update_checker.rb +205 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/execution_wrapper.rb +128 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/executor.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/file_update_checker.rb +163 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/gem_version.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/gzip.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/hash_with_indifferent_access.rb +381 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/i18n.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/i18n_railtie.rb +114 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/inflections.rb +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/inflector.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/inflector/inflections.rb +260 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/inflector/methods.rb +408 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/inflector/transliterate.rb +118 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/json.rb +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/json/decoding.rb +76 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/json/encoding.rb +130 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/key_generator.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/lazy_load_hooks.rb +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/locale/en.yml +135 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/log_subscriber.rb +112 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/log_subscriber/test_helper.rb +106 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/logger.rb +108 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/logger_silence.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/logger_thread_safe_level.rb +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/message_encryptor.rb +229 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/message_verifier.rb +205 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/messages/metadata.rb +71 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/messages/rotation_configuration.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/messages/rotator.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/multibyte.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/multibyte/chars.rb +235 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/multibyte/unicode.rb +394 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/notifications.rb +216 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/notifications/fanout.rb +159 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/notifications/instrumenter.rb +93 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/number_helper.rb +371 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/number_helper/number_converter.rb +184 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/number_helper/number_to_currency_converter.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/number_helper/number_to_delimited_converter.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/number_helper/number_to_human_converter.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/number_helper/number_to_human_size_converter.rb +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/number_helper/number_to_percentage_converter.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/number_helper/number_to_phone_converter.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/number_helper/number_to_rounded_converter.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/number_helper/rounding_helper.rb +66 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/option_merger.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/ordered_hash.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/ordered_options.rb +85 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/per_thread_registry.rb +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/proxy_object.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/rails.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/railtie.rb +80 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/reloader.rb +131 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/rescuable.rb +174 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/security_utils.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/string_inquirer.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/subscriber.rb +126 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/tagged_logging.rb +79 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/test_case.rb +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/testing/assertions.rb +214 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/testing/autorun.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/testing/constant_lookup.rb +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/testing/declarative.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/testing/deprecation.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/testing/file_fixtures.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/testing/isolation.rb +110 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/testing/method_call_assertions.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/testing/setup_and_teardown.rb +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/testing/stream.rb +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/testing/tagged_logging.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/testing/time_helpers.rb +200 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/time.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/time_with_zone.rb +551 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/values/time_zone.rb +564 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/values/unicode_tables.dat +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/version.rb +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/xml_mini.rb +209 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/xml_mini/jdom.rb +183 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/xml_mini/libxml.rb +80 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/xml_mini/libxmlsax.rb +83 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/xml_mini/nokogiri.rb +83 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/xml_mini/nokogirisax.rb +86 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/xml_mini/rexml.rb +130 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/MIT-LICENSE +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/README_INDEX.rdoc +123 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/bin/coderay +215 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay.rb +284 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/duo.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/_map.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/comment_filter.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/count.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/debug.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/debug_lint.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/div.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/encoder.rb +190 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/filter.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/html.rb +333 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/html/css.rb +65 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/html/numbering.rb +108 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/html/output.rb +166 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/json.rb +83 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/lines_of_code.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/lint.rb +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/null.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/page.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/span.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/statistic.rb +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/terminal.rb +195 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/text.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/token_kind_filter.rb +111 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/xml.rb +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/yaml.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/for_redcloth.rb +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/helpers/file_type.rb +151 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/helpers/plugin.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/helpers/plugin_host.rb +221 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/helpers/word_list.rb +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/_map.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/c.rb +189 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/clojure.rb +217 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/cpp.rb +217 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/css.rb +196 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/debug.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/delphi.rb +144 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/diff.rb +221 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/erb.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/go.rb +208 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/groovy.rb +268 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/haml.rb +168 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/html.rb +275 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/java.rb +174 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/java/builtin_types.rb +421 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/java_script.rb +237 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/json.rb +98 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/lua.rb +280 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/php.rb +527 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/python.rb +287 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/raydebug.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/ruby.rb +477 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/ruby/patterns.rb +178 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/ruby/string_state.rb +79 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/sass.rb +232 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/scanner.rb +337 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/sql.rb +169 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/taskpaper.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/text.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/xml.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/yaml.rb +140 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/styles.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/styles/_map.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/styles/alpha.rb +153 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/styles/style.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/token_kinds.rb +85 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/tokens.rb +161 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/tokens_proxy.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/version.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/CHANGELOG.md +387 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/LICENSE.txt +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/README.md +247 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent.rb +130 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/agent.rb +587 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/array.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/async.rb +445 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atom.rb +222 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/abstract_thread_local_var.rb +66 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/atomic_boolean.rb +122 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/atomic_fixnum.rb +139 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/atomic_reference.rb +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/count_down_latch.rb +100 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/cyclic_barrier.rb +128 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/event.rb +109 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/java_count_down_latch.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/java_thread_local_var.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/mutex_atomic_boolean.rb +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/mutex_atomic_fixnum.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/mutex_count_down_latch.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/mutex_semaphore.rb +115 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/read_write_lock.rb +253 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/reentrant_read_write_lock.rb +377 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/ruby_thread_local_var.rb +161 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/semaphore.rb +145 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/thread_local_var.rb +104 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/concurrent_update_error.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/direct_update.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/jruby+truffle.rb +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/jruby.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/mutex_atomic.rb +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/numeric_cas_wrapper.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/rbx.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/ruby.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomics.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/copy_on_notify_observer_set.rb +107 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/copy_on_write_observer_set.rb +111 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/java_non_concurrent_priority_queue.rb +84 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/map/atomic_reference_map_backend.rb +927 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/map/mri_map_backend.rb +66 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/map/non_concurrent_map_backend.rb +141 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/map/synchronized_map_backend.rb +82 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/non_concurrent_priority_queue.rb +143 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/ruby_non_concurrent_priority_queue.rb +150 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/concern/deprecation.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/concern/dereferenceable.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/concern/logging.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/concern/obligation.rb +220 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/concern/observable.rb +110 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/configuration.rb +188 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/constants.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/dataflow.rb +80 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/delay.rb +197 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/edge.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/errors.rb +69 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/exchanger.rb +356 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/abstract_executor_service.rb +134 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/cached_thread_pool.rb +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/executor_service.rb +185 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/fixed_thread_pool.rb +206 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/immediate_executor.rb +66 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/indirect_immediate_executor.rb +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/java_executor_service.rb +100 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/java_single_thread_executor.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/java_thread_pool_executor.rb +120 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_executor_service.rb +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_single_thread_executor.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb +362 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/safe_task_executor.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/serial_executor_service.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/serialized_execution.rb +107 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/serialized_execution_delegator.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/simple_executor_service.rb +100 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/single_thread_executor.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/thread_pool_executor.rb +87 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/timer_set.rb +175 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executors.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/future.rb +138 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/hash.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/immutable_struct.rb +93 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/ivar.rb +208 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/lazy_register.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/map.rb +240 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/maybe.rb +229 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/mutable_struct.rb +228 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/mvar.rb +242 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/options.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/promise.rb +547 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/scheduled_task.rb +318 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/settable_struct.rb +128 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/abstract_lockable_object.rb +98 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/abstract_object.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/abstract_struct.rb +157 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/condition.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/jruby_lockable_object.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/jruby_object.rb +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/lock.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/lockable_object.rb +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/mri_lockable_object.rb +71 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/mri_object.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/object.rb +153 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/rbx_lockable_object.rb +65 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/rbx_object.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/truffle_lockable_object.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/truffle_object.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/volatile.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/synchronized_delegator.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/adder.rb +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/array_hash_rbx.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/cheap_lockable.rb +118 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/power_of_two_tuple.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/striped64.rb +241 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/volatile.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/xor_shift_random.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/timer_task.rb +331 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/tuple.rb +86 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/tvar.rb +258 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/at_exit.rb +97 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/engine.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/monotonic_time.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/native_extension_loader.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/native_integer.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/processor_counter.rb +160 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/version.rb +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/.rspec +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/Code-of-Conduct.md +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/Contributing.md +83 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/History.md +220 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/License.md +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/Manifest.txt +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/README.rdoc +84 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/Rakefile +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/autotest/discover.rb +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/bin/htmldiff +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/bin/ldiff +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/docs/COPYING.txt +339 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/docs/artistic.txt +127 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff-lcs.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs.rb +725 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/array.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/block.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/callbacks.rb +322 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/change.rb +181 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/htmldiff.rb +149 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/hunk.rb +276 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/internals.rb +307 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/ldiff.rb +167 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/string.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/change_spec.rb +65 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/diff_spec.rb +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/fixtures/ds1.csv +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/fixtures/ds2.csv +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/hunk_spec.rb +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/issues_spec.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/lcs_spec.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/ldiff_spec.rb +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/patch_spec.rb +422 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/sdiff_spec.rb +214 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/spec_helper.rb +321 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/traverse_balanced_spec.rb +310 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/traverse_sequences_spec.rb +139 -0
- data/vendor/bundle/ruby/2.3.0/gems/digest-sha3-1.1.0/LICENSE +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/digest-sha3-1.1.0/Makefile +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/digest-sha3-1.1.0/README.md +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/digest-sha3-1.1.0/digest-sha3.gemspec +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/digest-sha3-1.1.0/ext/digest/KeccakF-1600-int-set.h +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/digest-sha3-1.1.0/ext/digest/KeccakF-1600-interface.h +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/digest-sha3-1.1.0/ext/digest/KeccakF-1600-reference.c +300 -0
- data/vendor/bundle/ruby/2.3.0/gems/digest-sha3-1.1.0/ext/digest/KeccakNISTInterface.c +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/digest-sha3-1.1.0/ext/digest/KeccakNISTInterface.h +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/digest-sha3-1.1.0/ext/digest/KeccakSponge.c +266 -0
- data/vendor/bundle/ruby/2.3.0/gems/digest-sha3-1.1.0/ext/digest/KeccakSponge.h +76 -0
- data/vendor/bundle/ruby/2.3.0/gems/digest-sha3-1.1.0/ext/digest/brg_endian.h +142 -0
- data/vendor/bundle/ruby/2.3.0/gems/digest-sha3-1.1.0/ext/digest/displayIntermediateValues.c +117 -0
- data/vendor/bundle/ruby/2.3.0/gems/digest-sha3-1.1.0/ext/digest/displayIntermediateValues.h +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/digest-sha3-1.1.0/ext/digest/extconf.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/digest-sha3-1.1.0/ext/digest/sha3.c +153 -0
- data/vendor/bundle/ruby/2.3.0/gems/digest-sha3-1.1.0/lib/digest/sha3/version.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/README.md +84 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/gemfiles/Gemfile.rails-3.2.x +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/gemfiles/Gemfile.rails-4.0.x +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/gemfiles/Gemfile.rails-4.1.x +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/gemfiles/Gemfile.rails-4.2.x +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/gemfiles/Gemfile.rails-5.0.x +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/gemfiles/Gemfile.rails-5.1.x +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/gemfiles/Gemfile.rails-master +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n.rb +372 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/backend.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/backend/base.rb +257 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/backend/cache.rb +116 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/backend/cascade.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/backend/chain.rb +99 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/backend/fallbacks.rb +84 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/backend/flatten.rb +115 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/backend/gettext.rb +83 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/backend/interpolation_compiler.rb +123 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/backend/key_value.rb +179 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/backend/memoize.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/backend/metadata.rb +71 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/backend/pluralization.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/backend/simple.rb +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/backend/transliterator.rb +108 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/config.rb +149 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/core_ext/hash.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/core_ext/kernel/suppress_warnings.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/core_ext/string/interpolate.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/exceptions.rb +106 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/gettext.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/gettext/helpers.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/gettext/po_parser.rb +329 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/interpolate/ruby.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/locale.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/locale/fallbacks.rb +96 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/locale/tag.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/locale/tag/parents.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/locale/tag/rfc4646.rb +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/locale/tag/simple.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/middleware.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/tests.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/tests/basics.rb +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/tests/defaults.rb +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/tests/interpolation.rb +159 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/tests/link.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/tests/localization.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/tests/localization/date.rb +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/tests/localization/date_time.rb +82 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/tests/localization/procs.rb +116 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/tests/localization/time.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/tests/lookup.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/tests/pluralization.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/tests/procs.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/version.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/api/all_features_test.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/api/cascade_test.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/api/chain_test.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/api/fallbacks_test.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/api/key_value_test.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/api/memoize_test.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/api/override_test.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/api/pluralization_test.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/api/simple_test.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/backend/cache_test.rb +109 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/backend/cascade_test.rb +86 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/backend/chain_test.rb +122 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/backend/exceptions_test.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/backend/fallbacks_test.rb +219 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/backend/interpolation_compiler_test.rb +118 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/backend/key_value_test.rb +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/backend/memoize_test.rb +79 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/backend/metadata_test.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/backend/pluralization_test.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/backend/simple_test.rb +103 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/backend/transliterator_test.rb +84 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/core_ext/hash_test.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/gettext/api_test.rb +214 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/gettext/backend_test.rb +92 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/i18n/exceptions_test.rb +117 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/i18n/gettext_plural_keys_test.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/i18n/interpolate_test.rb +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/i18n/load_path_test.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/i18n/middleware_test.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/i18n_test.rb +462 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/locale/fallbacks_test.rb +133 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/locale/tag/rfc4646_test.rb +143 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/locale/tag/simple_test.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/run_all.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/test_data/locales/de.po +82 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/test_data/locales/en.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/test_data/locales/en.yml +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/test_data/locales/invalid/empty.yml +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/test_data/locales/invalid/syntax.yml +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/test_data/locales/plurals.rb +113 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/test_helper.rb +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/.gemtest +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/.travis.yml +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/.yardopts +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/Gemfile +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/LICENSE +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/README.markdown +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/Rakefile +80 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/lib/method_source.rb +141 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/lib/method_source/code_helpers.rb +154 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/lib/method_source/source_location.rb +138 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/lib/method_source/version.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/method_source.gemspec +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/spec/method_source/code_helpers_spec.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/spec/method_source_spec.rb +143 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/spec/spec_helper.rb +101 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/.autotest +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/History.rdoc +1310 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/Manifest.txt +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/README.rdoc +746 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/Rakefile +86 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/design_rationale.rb +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/lib/hoe/minitest.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/lib/minitest.rb +987 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/lib/minitest/assertions.rb +693 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/lib/minitest/autorun.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/lib/minitest/benchmark.rb +455 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/lib/minitest/expectations.rb +284 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/lib/minitest/hell.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/lib/minitest/mock.rb +240 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/lib/minitest/parallel.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/lib/minitest/pride.rb +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/lib/minitest/pride_plugin.rb +142 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/lib/minitest/spec.rb +331 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/lib/minitest/test.rb +220 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/lib/minitest/unit.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/test/minitest/metametameta.rb +102 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/test/minitest/test_minitest_benchmark.rb +137 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/test/minitest/test_minitest_mock.rb +874 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/test/minitest/test_minitest_reporter.rb +299 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/test/minitest/test_minitest_spec.rb +987 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/test/minitest/test_minitest_test.rb +2142 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/CHANGELOG.md +797 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/LICENSE +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/README.md +407 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/bin/pry +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry.rb +162 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/basic_object.rb +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/cli.rb +225 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/code.rb +353 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/code/code_file.rb +109 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/code/code_range.rb +71 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/code/loc.rb +92 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/code_object.rb +195 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/color_printer.rb +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/command.rb +716 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/command_set.rb +450 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands.rb +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/amend_line.rb +99 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/bang.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/bang_pry.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/cat.rb +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/cat/abstract_formatter.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/cat/exception_formatter.rb +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/cat/file_formatter.rb +71 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/cat/input_expression_formatter.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/cd.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/change_inspector.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/change_prompt.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/code_collector.rb +167 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/disable_pry.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/disabled_commands.rb +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/easter_eggs.rb +112 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/edit.rb +199 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/edit/exception_patcher.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/edit/file_and_line_locator.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/exit.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/exit_all.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/exit_program.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/find_method.rb +193 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/fix_indent.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/gem_cd.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/gem_install.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/gem_list.rb +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/gem_open.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/gem_readme.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/gem_search.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/gist.rb +101 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/help.rb +164 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/hist.rb +180 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/import_set.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/install_command.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/jump_to.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/list_inspectors.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/list_prompts.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls.rb +116 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls/constants.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls/formatter.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls/globals.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls/grep.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls/instance_vars.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls/interrogatable.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls/jruby_hacks.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls/local_names.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls/local_vars.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls/ls_entity.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls/methods.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls/methods_helper.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls/self_methods.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/nesting.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/play.rb +103 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/pry_backtrace.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/pry_version.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/raise_up.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/reload_code.rb +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/reset.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ri.rb +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/save_file.rb +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/shell_command.rb +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/shell_mode.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/show_doc.rb +83 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/show_info.rb +209 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/show_input.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/show_source.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/simple_prompt.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/stat.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/switch_to.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/toggle_color.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/watch_expression.rb +105 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/watch_expression/expression.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/whereami.rb +197 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/wtf.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/config.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/config/behavior.rb +231 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/config/convenience.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/config/default.rb +149 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/config/memoization.rb +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/core_extensions.rb +141 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/editor.rb +135 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/exceptions.rb +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/forwardable.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/helpers.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/helpers/base_helpers.rb +71 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/helpers/command_helpers.rb +156 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/helpers/documentation_helpers.rb +76 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/helpers/options_helpers.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/helpers/table.rb +109 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/helpers/text.rb +116 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/history.rb +148 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/history_array.rb +121 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/hooks.rb +171 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/indent.rb +410 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/input_completer.rb +260 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/input_lock.rb +132 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/inspector.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/last_exception.rb +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/method.rb +546 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/method/disowned.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/method/patcher.rb +122 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/method/weird_method_locator.rb +199 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/object_path.rb +82 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/output.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/pager.rb +242 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/platform.rb +93 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/plugins.rb +118 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/prompt.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/pry_class.rb +401 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/pry_instance.rb +666 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/rbx_path.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/repl.rb +232 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/repl_file_loader.rb +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/rubygem.rb +84 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/slop.rb +661 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/slop/LICENSE +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/slop/commands.rb +196 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/slop/option.rb +208 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/terminal.rb +90 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/testable.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/testable/evalable.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/testable/mockable.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/testable/pry_tester.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/testable/utility.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/testable/variables.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/version.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/wrapped_module.rb +378 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/wrapped_module/candidate.rb +131 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/.autotest +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/.rubocop.yml +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/.togglerc +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/CONTRIBUTING.rdoc +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/History.rdoc +659 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/Manifest.txt +166 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/README.rdoc +139 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/Rakefile +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/bin/rake +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/command_line_usage.rdoc +158 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/example/a.c +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/example/b.c +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/example/main.c +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/glossary.rdoc +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/jamis.rb +591 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/rake.1 +141 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/rakefile.rdoc +624 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/rational.rdoc +151 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.4.14.rdoc +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.4.15.rdoc +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.5.0.rdoc +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.5.3.rdoc +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.5.4.rdoc +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.6.0.rdoc +141 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.7.0.rdoc +119 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.7.1.rdoc +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.7.2.rdoc +121 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.7.3.rdoc +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.8.0.rdoc +114 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.8.2.rdoc +165 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.8.3.rdoc +112 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.8.4.rdoc +147 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.8.5.rdoc +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.8.6.rdoc +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.8.7.rdoc +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.9.0.rdoc +112 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.9.1.rdoc +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.9.2.2.rdoc +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.9.2.rdoc +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.9.3.rdoc +102 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.9.4.rdoc +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.9.5.rdoc +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.9.6.rdoc +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-10.0.0.rdoc +178 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-10.0.1.rdoc +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-10.0.2.rdoc +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-10.0.3.rdoc +191 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-10.1.0.rdoc +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake.rb +79 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/alt_system.rb +110 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/application.rb +790 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/backtrace.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/clean.rb +76 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/cloneable.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/contrib/.document +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/contrib/ftptools.rb +137 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/contrib/publisher.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/contrib/rubyforgepublisher.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/contrib/sshpublisher.rb +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/contrib/sys.rb +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/cpu_counter.rb +125 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/default_loader.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/dsl_definition.rb +201 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/early_time.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/ext/core.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/ext/module.rb +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/ext/pathname.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/ext/string.rb +175 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/ext/time.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/file_creation_task.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/file_list.rb +428 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/file_task.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/file_utils.rb +128 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/file_utils_ext.rb +144 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/gempackagetask.rb +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/invocation_chain.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/invocation_exception_mixin.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/late_time.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/linked_list.rb +103 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/loaders/makefile.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/multi_task.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/name_space.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/packagetask.rb +199 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/pathmap.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/phony.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/private_reader.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/promise.rb +99 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/pseudo_status.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/rake_module.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/rake_test_loader.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/rdoctask.rb +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/ruby182_test_unit_fix.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/runtest.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/scope.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/task.rb +383 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/task_argument_error.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/task_arguments.rb +98 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/task_manager.rb +307 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/tasklib.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/testtask.rb +213 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/thread_history_display.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/thread_pool.rb +164 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/trace_output.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/version.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/win32.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/rakelib/publish.rake +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/rakelib/test_times.rake +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/file_creation.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/helper.rb +129 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/support/rakefile_definitions.rb +478 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/support/ruby_runner.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_private_reader.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_application.rb +643 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_application_options.rb +468 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_backtrace.rb +119 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_clean.rb +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_cpu_counter.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_definitions.rb +84 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_directory_task.rb +76 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_dsl.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_early_time.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_extension.rb +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_file_creation_task.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_file_list.rb +670 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_file_list_path_map.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_file_task.rb +197 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_file_utils.rb +314 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_ftp_file.rb +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_functional.rb +482 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_invocation_chain.rb +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_late_time.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_linked_list.rb +84 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_makefile_loader.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_multi_task.rb +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_name_space.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_package_task.rb +79 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_path_map.rb +168 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_path_map_explode.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_path_map_partial.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_pathname_extensions.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_pseudo_status.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_rake_test_loader.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_reduce_compat.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_require.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_rules.rb +388 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_scope.rb +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_task.rb +393 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_task_argument_parsing.rb +119 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_task_arguments.rb +127 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_task_lib.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_task_manager.rb +178 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_task_manager_argument_resolution.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_task_with_arguments.rb +172 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_test_task.rb +146 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_thread_pool.rb +145 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_top_level_functions.rb +71 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_win32.rb +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_thread_history_display.rb +101 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_trace_output.rb +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-3.7.0/LICENSE.md +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-3.7.0/README.md +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-3.7.0/lib/rspec.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-3.7.0/lib/rspec/version.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/.document +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/.yardopts +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/Changelog.md +2192 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/LICENSE.md +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/README.md +384 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/exe/rspec +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/autorun.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core.rb +185 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/backtrace_formatter.rb +65 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/bisect/coordinator.rb +66 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/bisect/example_minimizer.rb +169 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/bisect/runner.rb +169 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/bisect/server.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/configuration.rb +2209 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb +196 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/drb.rb +113 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/dsl.rb +98 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/example.rb +653 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/example_group.rb +884 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/example_status_persister.rb +235 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/filter_manager.rb +231 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/flat_map.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters.rb +265 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters/base_formatter.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters/base_text_formatter.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters/bisect_formatter.rb +69 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters/bisect_progress_formatter.rb +144 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters/console_codes.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters/deprecation_formatter.rb +221 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters/documentation_formatter.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters/exception_presenter.rb +496 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters/helpers.rb +110 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters/html_formatter.rb +153 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters/html_printer.rb +416 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters/html_snippet_extractor.rb +120 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters/json_formatter.rb +102 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters/profile_formatter.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters/progress_formatter.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters/protocol.rb +182 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters/snippet_extractor.rb +134 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters/syntax_highlighter.rb +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/hooks.rb +626 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/invocations.rb +85 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/memoized_helpers.rb +535 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/metadata.rb +499 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/metadata_filter.rb +255 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/mocking_adapters/null.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/mocking_adapters/rr.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/notifications.rb +521 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/option_parser.rb +309 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/ordering.rb +158 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/output_wrapper.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/pending.rb +165 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/profiler.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/project_initializer.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/project_initializer/.rspec +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/project_initializer/spec/spec_helper.rb +100 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/rake_task.rb +168 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/reporter.rb +260 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/ruby_project.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/runner.rb +193 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/sandbox.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/set.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/shared_context.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/shared_example_group.rb +271 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/shell_escape.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/version.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/warnings.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/world.rb +264 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/.document +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/.yardopts +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/Changelog.md +1083 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/LICENSE.md +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/README.md +305 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations.rb +82 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/block_snippet_extractor.rb +253 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/configuration.rb +201 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/expectation_target.rb +127 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/fail_with.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/failure_aggregator.rb +194 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/handler.rb +170 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/minitest_integration.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/syntax.rb +132 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/version.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers.rb +1031 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/aliased_matcher.rb +116 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in.rb +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/all.rb +85 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/base_matcher.rb +193 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/be.rb +288 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/be_between.rb +77 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/be_instance_of.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/be_kind_of.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/be_within.rb +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/change.rb +387 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/compound.rb +272 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/contain_exactly.rb +301 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/cover.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/eq.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/eql.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/equal.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/exist.rb +90 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/has.rb +103 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/have_attributes.rb +114 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/include.rb +143 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/match.rb +106 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/operators.rb +128 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/output.rb +200 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/raise_error.rb +230 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/respond_to.rb +165 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/satisfy.rb +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/start_or_end_with.rb +94 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/throw_symbol.rb +132 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/yield.rb +432 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/composable.rb +169 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/dsl.rb +527 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/english_phrasing.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/fail_matchers.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/generated_descriptions.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/matcher_delegator.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/matcher_protocol.rb +99 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/.document +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/.yardopts +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/Changelog.md +1089 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/LICENSE.md +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/README.md +460 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks.rb +130 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/chain.rb +110 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/expect_chain_chain.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/expectation_chain.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/proxy.rb +116 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/recorder.rb +289 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/stub_chain.rb +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/stub_chain_chain.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/argument_list_matcher.rb +100 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/argument_matchers.rb +320 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/configuration.rb +212 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/error_generator.rb +369 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/example_methods.rb +434 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/instance_method_stasher.rb +146 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/marshal_extension.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/matchers/have_received.rb +130 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/matchers/receive.rb +132 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/matchers/receive_message_chain.rb +82 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/matchers/receive_messages.rb +77 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/message_chain.rb +87 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/message_expectation.rb +740 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/method_double.rb +287 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/method_reference.rb +202 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/minitest_integration.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/mutate_const.rb +339 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/object_reference.rb +149 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/order_group.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/proxy.rb +484 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/space.rb +238 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/standalone.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/syntax.rb +325 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/targets.rb +124 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/test_double.rb +171 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/verifying_double.rb +129 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/verifying_message_expectation.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/verifying_proxy.rb +220 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/version.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/Changelog.md +234 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/LICENSE.md +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/README.md +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support.rb +149 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/caller_filter.rb +83 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/comparable_version.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/differ.rb +215 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/directory_maker.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/encoded_string.rb +165 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/fuzzy_matcher.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/hunk_generator.rb +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/matcher_definition.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/method_signature_verifier.rb +392 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/mutex.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/object_formatter.rb +267 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/recursive_const_methods.rb +76 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/reentrant_mutex.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/ruby_features.rb +162 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/source.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/source/location.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/source/node.rb +110 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/source/token.rb +87 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/spec.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/spec/deprecation_helpers.rb +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/spec/formatting_support.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/spec/in_sub_process.rb +69 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/spec/library_wide_checks.rb +150 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/spec/shell_out.rb +84 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/spec/stderr_splitter.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/spec/string_matcher.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/spec/with_isolated_directory.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/spec/with_isolated_stderr.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/version.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/warnings.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/.rspec +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/.travis.yml +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/.yardopts +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/Gemfile +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/LICENSE +144 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/README.md +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/Rakefile +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/examples/bench_cache.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/JRubyCacheBackendLibrary.java +245 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMap.java +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMapV8.java +3863 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/LongAdder.java +203 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/Striped64.java +342 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/ConcurrentHashMapV8.java +3800 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/LongAdder.java +204 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/Striped64.java +291 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166y/ThreadLocalRandom.java +199 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/ext/thread_safe/JrubyCacheBackendService.java +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe.rb +65 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/atomic_reference_cache_backend.rb +908 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/cache.rb +161 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/mri_cache_backend.rb +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/non_concurrent_cache_backend.rb +135 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/synchronized_cache_backend.rb +77 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/synchronized_delegator.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/util.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/util/adder.rb +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/util/atomic_reference.rb +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/util/cheap_lockable.rb +106 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/util/power_of_two_tuple.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/util/striped64.rb +222 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/util/volatile.rb +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/util/volatile_tuple.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/util/xor_shift_random.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/version.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/spec/.gitignore +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/spec/spec_helper.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/spec/src/thread_safe/SecurityManager.java +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/spec/support/.gitignore +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/spec/support/threads.rb +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/spec/support/threadsafe_test.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/spec/thread_safe/.gitignore +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/spec/thread_safe/array_spec.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/spec/thread_safe/cache_loops_spec.rb +507 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/spec/thread_safe/cache_spec.rb +943 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/spec/thread_safe/hash_spec.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/spec/thread_safe/no_unsafe_spec.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/spec/thread_safe/synchronized_delegator_spec.rb +85 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/tasks/update_doc.rake +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/thread_safe.gemspec +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/yard-template/default/fulldoc/html/css/common.css +125 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/yard-template/default/layout/html/footer.erb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/.yardopts +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/CHANGES.md +786 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/LICENSE +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/README.md +151 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/Rakefile +107 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/country.rb +196 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/country_index_definition.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/country_info.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/country_timezone.rb +135 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/data_source.rb +190 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/data_timezone.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/data_timezone_info.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/info_timezone.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/linked_timezone.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/linked_timezone_info.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/offset_rationals.rb +77 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/ruby_core_support.rb +146 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/ruby_country_info.rb +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/ruby_data_source.rb +136 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/time_or_datetime.rb +340 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone.rb +669 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_definition.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_index_definition.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_info.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_offset.rb +101 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_period.rb +245 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_proxy.rb +105 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_transition.rb +130 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_transition_definition.rb +104 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/transition_data_timezone_info.rb +274 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/zoneinfo_country_info.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/zoneinfo_data_source.rb +488 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/zoneinfo_timezone_info.rb +296 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_country.rb +234 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_country_index_definition.rb +69 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_country_info.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_country_timezone.rb +173 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_data_source.rb +218 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_data_timezone.rb +99 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_data_timezone_info.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_info_timezone.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_linked_timezone.rb +155 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_linked_timezone_info.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_offset_rationals.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_ruby_core_support.rb +168 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_ruby_country_info.rb +110 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_ruby_data_source.rb +143 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_time_or_datetime.rb +654 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_timezone.rb +1350 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_timezone_definition.rb +113 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_timezone_index_definition.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_timezone_info.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_timezone_london.rb +143 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_timezone_melbourne.rb +142 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_timezone_new_york.rb +142 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_timezone_offset.rb +126 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_timezone_period.rb +555 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_timezone_proxy.rb +136 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_timezone_transition.rb +366 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_timezone_transition_definition.rb +295 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_timezone_utc.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_transition_data_timezone_info.rb +423 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_zoneinfo_country_info.rb +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_zoneinfo_data_source.rb +1195 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_zoneinfo_timezone_info.rb +1232 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/test_utils.rb +163 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/ts_all.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/ts_all_ruby.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/ts_all_zoneinfo.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/America/Argentina/Buenos_Aires.rb +89 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/America/New_York.rb +315 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Australia/Melbourne.rb +218 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/EST.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__m__1.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__p__1.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Etc/UTC.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Europe/Amsterdam.rb +261 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Europe/Andorra.rb +186 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Europe/London.rb +321 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Europe/Paris.rb +265 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Europe/Prague.rb +220 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/UTC.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/indexes/countries.rb +927 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/indexes/timezones.rb +596 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/version.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/zoneinfo/America/Argentina/Buenos_Aires +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/zoneinfo/America/New_York +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/zoneinfo/Australia/Melbourne +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/zoneinfo/EST +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/zoneinfo/Etc/UTC +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/zoneinfo/Europe/Amsterdam +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/zoneinfo/Europe/Andorra +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/zoneinfo/Europe/London +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/zoneinfo/Europe/Paris +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/zoneinfo/Europe/Prague +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/zoneinfo/Factory +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/zoneinfo/iso3166.tab +275 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/zoneinfo/leapseconds +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/zoneinfo/posix/Europe/London +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/zoneinfo/posixrules +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/zoneinfo/right/Europe/London +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/zoneinfo/zone.tab +439 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/zoneinfo/zone1970.tab +369 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/tzinfo.gemspec +21 -0
- data/vendor/bundle/ruby/2.3.0/specifications/activesupport-5.2.0.gemspec +44 -0
- data/vendor/bundle/ruby/2.3.0/specifications/coderay-1.1.2.gemspec +26 -0
- data/vendor/bundle/ruby/2.3.0/specifications/concurrent-ruby-1.0.5.gemspec +23 -0
- data/vendor/bundle/ruby/2.3.0/specifications/diff-lcs-1.3.gemspec +61 -0
- data/vendor/bundle/ruby/2.3.0/specifications/i18n-1.0.1.gemspec +34 -0
- data/vendor/bundle/ruby/2.3.0/specifications/method_source-0.9.0.gemspec +34 -0
- data/vendor/bundle/ruby/2.3.0/specifications/minitest-5.11.3.gemspec +39 -0
- data/vendor/bundle/ruby/2.3.0/specifications/pry-0.11.3.gemspec +41 -0
- data/vendor/bundle/ruby/2.3.0/specifications/rake-10.5.0.gemspec +43 -0
- data/vendor/bundle/ruby/2.3.0/specifications/rspec-3.7.0.gemspec +42 -0
- data/vendor/bundle/ruby/2.3.0/specifications/rspec-core-3.7.1.gemspec +62 -0
- data/vendor/bundle/ruby/2.3.0/specifications/rspec-expectations-3.7.0.gemspec +50 -0
- data/vendor/bundle/ruby/2.3.0/specifications/rspec-mocks-3.7.0.gemspec +50 -0
- data/vendor/bundle/ruby/2.3.0/specifications/rspec-support-3.7.1.gemspec +41 -0
- data/vendor/bundle/ruby/2.3.0/specifications/thread_safe-0.3.6.gemspec +38 -0
- data/vendor/bundle/ruby/2.3.0/specifications/tzinfo-1.2.5.gemspec +37 -0
- metadata +1498 -0
@@ -0,0 +1,78 @@
|
|
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_zone_identifiers_after_freeze
|
40
|
+
zones = [
|
41
|
+
CountryTimezone.new('ZZ/TimezoneB', Rational(1, 2), Rational(1, 2), 'Timezone B'),
|
42
|
+
CountryTimezone.new('ZZ/TimezoneA', Rational(1, 4), Rational(1, 4), 'Timezone A'),
|
43
|
+
CountryTimezone.new('ZZ/TimezoneC', Rational(-10, 3), Rational(-20, 7), 'C'),
|
44
|
+
CountryTimezone.new('ZZ/TimezoneD', Rational(-10, 3), Rational(-20, 7))
|
45
|
+
]
|
46
|
+
|
47
|
+
ci = ZoneinfoCountryInfo.new('ZZ', 'Zzz', zones)
|
48
|
+
ci.freeze
|
49
|
+
|
50
|
+
assert_equal(['ZZ/TimezoneB', 'ZZ/TimezoneA', 'ZZ/TimezoneC', 'ZZ/TimezoneD'], ci.zone_identifiers)
|
51
|
+
end
|
52
|
+
|
53
|
+
def test_zones_empty
|
54
|
+
ci = ZoneinfoCountryInfo.new('ZZ', 'Zzz', [])
|
55
|
+
assert(ci.zones.empty?)
|
56
|
+
assert(ci.zones.frozen?)
|
57
|
+
end
|
58
|
+
|
59
|
+
def test_zones
|
60
|
+
zones = [
|
61
|
+
CountryTimezone.new('ZZ/TimezoneB', Rational(1, 2), Rational(1, 2), 'Timezone B'),
|
62
|
+
CountryTimezone.new('ZZ/TimezoneA', Rational(1, 4), Rational(1, 4), 'Timezone A'),
|
63
|
+
CountryTimezone.new('ZZ/TimezoneC', Rational(-10, 3), Rational(-20, 7), 'C'),
|
64
|
+
CountryTimezone.new('ZZ/TimezoneD', Rational(-10, 3), Rational(-20, 7))
|
65
|
+
]
|
66
|
+
|
67
|
+
ci = ZoneinfoCountryInfo.new('ZZ', 'Zzz', zones)
|
68
|
+
|
69
|
+
assert_equal([CountryTimezone.new('ZZ/TimezoneB', Rational(1, 2), Rational(1, 2), 'Timezone B'),
|
70
|
+
CountryTimezone.new('ZZ/TimezoneA', Rational(1, 4), Rational(1, 4), 'Timezone A'),
|
71
|
+
CountryTimezone.new('ZZ/TimezoneC', Rational(-10, 3), Rational(-20, 7), 'C'),
|
72
|
+
CountryTimezone.new('ZZ/TimezoneD', Rational(-10, 3), Rational(-20, 7))],
|
73
|
+
ci.zones)
|
74
|
+
assert(ci.zones.frozen?)
|
75
|
+
assert(!ci.zones.equal?(zones))
|
76
|
+
assert(!zones.frozen?)
|
77
|
+
end
|
78
|
+
end
|
@@ -0,0 +1,1195 @@
|
|
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
|
+
%w(leapseconds localtime).each do |file_name|
|
373
|
+
define_method("test_load_timezone_info_ignored_#{file_name}_file") do
|
374
|
+
assert_raises(InvalidTimezoneIdentifier) do
|
375
|
+
@data_source.load_timezone_info(file_name)
|
376
|
+
end
|
377
|
+
end
|
378
|
+
end
|
379
|
+
|
380
|
+
def test_load_timezone_info_ignored_plus_version_file
|
381
|
+
# Mac OS X includes a file named +VERSION containing the tzdata version.
|
382
|
+
|
383
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
384
|
+
FileUtils.touch(File.join(dir, 'zone.tab'))
|
385
|
+
FileUtils.touch(File.join(dir, 'iso3166.tab'))
|
386
|
+
|
387
|
+
File.open(File.join(dir, '+VERSION'), 'w') do |f|
|
388
|
+
f.binmode
|
389
|
+
f.write("2013a\n")
|
390
|
+
end
|
391
|
+
|
392
|
+
data_source = ZoneinfoDataSource.new(dir)
|
393
|
+
|
394
|
+
assert_raises(InvalidTimezoneIdentifier) do
|
395
|
+
data_source.load_timezone_info('+VERSION')
|
396
|
+
end
|
397
|
+
end
|
398
|
+
end
|
399
|
+
|
400
|
+
def test_load_timezone_info_ignored_timeconfig_symlink
|
401
|
+
# Slackware includes a symlink named timeconfig that points at /usr/sbin/timeconfig.
|
402
|
+
|
403
|
+
Dir.mktmpdir('tzinfo_test_target') do |target_dir|
|
404
|
+
target_path = File.join(target_dir, 'timeconfig')
|
405
|
+
|
406
|
+
File.open(target_path, 'w') do |f|
|
407
|
+
f.write("#!/bin/sh\n")
|
408
|
+
f.write("#\n")
|
409
|
+
f.write('# timeconfig Slackware Linux timezone configuration utility.\n')
|
410
|
+
end
|
411
|
+
|
412
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
413
|
+
FileUtils.touch(File.join(dir, 'zone.tab'))
|
414
|
+
FileUtils.touch(File.join(dir, 'iso3166.tab'))
|
415
|
+
FileUtils.cp(File.join(@data_source.zoneinfo_dir, 'EST'), File.join(dir, 'EST'))
|
416
|
+
|
417
|
+
symlink_path = File.join(dir, 'timeconfig')
|
418
|
+
begin
|
419
|
+
FileUtils.ln_s(target_path, symlink_path)
|
420
|
+
rescue NotImplementedError, Errno::EACCES
|
421
|
+
# Symlinks not supported on this platform, or permission denied
|
422
|
+
# (administrative rights are required on Windows). Copy instead.
|
423
|
+
FileUtils.cp(target_path, symlink_path)
|
424
|
+
end
|
425
|
+
|
426
|
+
data_source = ZoneinfoDataSource.new(dir)
|
427
|
+
|
428
|
+
assert_raises(InvalidTimezoneIdentifier) do
|
429
|
+
data_source.load_timezone_info('timeconfig')
|
430
|
+
end
|
431
|
+
end
|
432
|
+
end
|
433
|
+
end
|
434
|
+
|
435
|
+
def test_load_timezone_info_nil
|
436
|
+
assert_raises(InvalidTimezoneIdentifier) do
|
437
|
+
@data_source.load_timezone_info(nil)
|
438
|
+
end
|
439
|
+
end
|
440
|
+
|
441
|
+
def test_load_timezone_info_case
|
442
|
+
assert_raises(InvalidTimezoneIdentifier) do
|
443
|
+
@data_source.load_timezone_info('europe/london')
|
444
|
+
end
|
445
|
+
end
|
446
|
+
|
447
|
+
def test_load_timezone_info_permission_denied
|
448
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
449
|
+
FileUtils.touch(File.join(dir, 'zone.tab'))
|
450
|
+
FileUtils.touch(File.join(dir, 'iso3166.tab'))
|
451
|
+
|
452
|
+
file = File.join(dir, 'UTC')
|
453
|
+
FileUtils.touch(file)
|
454
|
+
FileUtils.chmod(0200, file)
|
455
|
+
|
456
|
+
data_source = ZoneinfoDataSource.new(dir)
|
457
|
+
|
458
|
+
assert_raises(InvalidTimezoneIdentifier) do
|
459
|
+
data_source.load_timezone_info('UTC')
|
460
|
+
end
|
461
|
+
end
|
462
|
+
end
|
463
|
+
|
464
|
+
def test_load_timezone_info_directory
|
465
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
466
|
+
FileUtils.touch(File.join(dir, 'zone.tab'))
|
467
|
+
FileUtils.touch(File.join(dir, 'iso3166.tab'))
|
468
|
+
|
469
|
+
subdir = File.join(dir, 'Subdir')
|
470
|
+
FileUtils.mkdir(subdir)
|
471
|
+
|
472
|
+
data_source = ZoneinfoDataSource.new(dir)
|
473
|
+
|
474
|
+
assert_raises(InvalidTimezoneIdentifier) do
|
475
|
+
data_source.load_timezone_info('Subdir')
|
476
|
+
end
|
477
|
+
end
|
478
|
+
end
|
479
|
+
|
480
|
+
def test_load_timezone_info_linked_absolute_outside
|
481
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
482
|
+
Dir.mktmpdir('tzinfo_test') do |outside|
|
483
|
+
outside_file = File.join(outside, 'EST')
|
484
|
+
FileUtils.cp(File.join(@data_source.zoneinfo_dir, 'EST'), outside_file)
|
485
|
+
|
486
|
+
FileUtils.touch(File.join(dir, 'zone.tab'))
|
487
|
+
FileUtils.touch(File.join(dir, 'iso3166.tab'))
|
488
|
+
|
489
|
+
file = File.join(dir, 'EST')
|
490
|
+
|
491
|
+
begin
|
492
|
+
FileUtils.ln_s(outside_file, file)
|
493
|
+
rescue NotImplementedError, Errno::EACCES
|
494
|
+
# Symlinks not supported on this platform, or permission denied
|
495
|
+
# (administrative rights are required on Windows). Skip test.
|
496
|
+
return
|
497
|
+
end
|
498
|
+
|
499
|
+
data_source = ZoneinfoDataSource.new(dir)
|
500
|
+
|
501
|
+
info = data_source.load_timezone_info('EST')
|
502
|
+
assert_kind_of(ZoneinfoTimezoneInfo, info)
|
503
|
+
assert_equal('EST', info.identifier)
|
504
|
+
end
|
505
|
+
end
|
506
|
+
end
|
507
|
+
|
508
|
+
def test_load_timezone_info_linked_absolute_inside
|
509
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
510
|
+
FileUtils.touch(File.join(dir, 'zone.tab'))
|
511
|
+
FileUtils.touch(File.join(dir, 'iso3166.tab'))
|
512
|
+
|
513
|
+
FileUtils.cp(File.join(@data_source.zoneinfo_dir, 'EST'), File.join(dir, 'EST'))
|
514
|
+
|
515
|
+
link = File.join(dir, 'Link')
|
516
|
+
|
517
|
+
begin
|
518
|
+
FileUtils.ln_s(File.join(File.expand_path(dir), 'EST'), link)
|
519
|
+
rescue NotImplementedError, Errno::EACCES
|
520
|
+
# Symlinks not supported on this platform, or permission denied
|
521
|
+
# (administrative rights are required on Windows). Skip test.
|
522
|
+
return
|
523
|
+
end
|
524
|
+
|
525
|
+
data_source = ZoneinfoDataSource.new(dir)
|
526
|
+
|
527
|
+
info = data_source.load_timezone_info('Link')
|
528
|
+
assert_kind_of(ZoneinfoTimezoneInfo, info)
|
529
|
+
assert_equal('Link', info.identifier)
|
530
|
+
end
|
531
|
+
end
|
532
|
+
|
533
|
+
def test_load_timezone_info_linked_relative_outside
|
534
|
+
Dir.mktmpdir('tzinfo_test') do |root|
|
535
|
+
FileUtils.cp(File.join(@data_source.zoneinfo_dir, 'EST'), File.join(root, 'outside'))
|
536
|
+
|
537
|
+
dir = File.join(root, 'zoneinfo')
|
538
|
+
FileUtils.mkdir(dir)
|
539
|
+
|
540
|
+
FileUtils.touch(File.join(dir, 'zone.tab'))
|
541
|
+
FileUtils.touch(File.join(dir, 'iso3166.tab'))
|
542
|
+
|
543
|
+
link = File.join(dir, 'Link')
|
544
|
+
|
545
|
+
begin
|
546
|
+
FileUtils.ln_s('../outside', link)
|
547
|
+
rescue NotImplementedError, Errno::EACCES
|
548
|
+
# Symlinks not supported on this platform, or permission denied
|
549
|
+
# (administrative rights are required on Windows). Skip test.
|
550
|
+
return
|
551
|
+
end
|
552
|
+
|
553
|
+
subdir = File.join(dir, 'Subdir')
|
554
|
+
subdir_link = File.join(subdir, 'Link')
|
555
|
+
FileUtils.mkdir(subdir)
|
556
|
+
FileUtils.ln_s('../../outside', subdir_link)
|
557
|
+
|
558
|
+
data_source = ZoneinfoDataSource.new(dir)
|
559
|
+
|
560
|
+
info = data_source.load_timezone_info('Link')
|
561
|
+
assert_kind_of(ZoneinfoTimezoneInfo, info)
|
562
|
+
assert_equal('Link', info.identifier)
|
563
|
+
|
564
|
+
info = data_source.load_timezone_info('Subdir/Link')
|
565
|
+
assert_kind_of(ZoneinfoTimezoneInfo, info)
|
566
|
+
assert_equal('Subdir/Link', info.identifier)
|
567
|
+
end
|
568
|
+
end
|
569
|
+
|
570
|
+
def test_load_timezone_info_linked_relative_parent_inside
|
571
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
572
|
+
FileUtils.touch(File.join(dir, 'zone.tab'))
|
573
|
+
FileUtils.touch(File.join(dir, 'iso3166.tab'))
|
574
|
+
|
575
|
+
FileUtils.cp(File.join(@data_source.zoneinfo_dir, 'EST'), File.join(dir, 'EST'))
|
576
|
+
|
577
|
+
subdir = File.join(dir, 'Subdir')
|
578
|
+
FileUtils.mkdir(subdir)
|
579
|
+
FileUtils.cp(File.join(@data_source.zoneinfo_dir, 'EST'), File.join(subdir, 'EST'))
|
580
|
+
|
581
|
+
subdir_link = File.join(subdir, 'Link')
|
582
|
+
begin
|
583
|
+
FileUtils.ln_s('../Subdir/EST', subdir_link)
|
584
|
+
rescue NotImplementedError, Errno::EACCES
|
585
|
+
# Symlinks not supported on this platform, or permission denied
|
586
|
+
# (administrative rights are required on Windows). Skip test.
|
587
|
+
return
|
588
|
+
end
|
589
|
+
|
590
|
+
subdir_link2 = File.join(subdir, 'Link2')
|
591
|
+
FileUtils.ln_s('../EST', subdir_link2)
|
592
|
+
|
593
|
+
subdir2 = File.join(dir, 'Subdir2')
|
594
|
+
FileUtils.mkdir(subdir2)
|
595
|
+
subdir2_link = File.join(subdir2, 'Link')
|
596
|
+
FileUtils.ln_s('../Subdir/EST', subdir2_link)
|
597
|
+
|
598
|
+
data_source = ZoneinfoDataSource.new(dir)
|
599
|
+
|
600
|
+
info = data_source.load_timezone_info('Subdir/Link')
|
601
|
+
assert_kind_of(ZoneinfoTimezoneInfo, info)
|
602
|
+
assert_equal('Subdir/Link', info.identifier)
|
603
|
+
|
604
|
+
info = data_source.load_timezone_info('Subdir/Link2')
|
605
|
+
assert_kind_of(ZoneinfoTimezoneInfo, info)
|
606
|
+
assert_equal('Subdir/Link2', info.identifier)
|
607
|
+
|
608
|
+
info = data_source.load_timezone_info('Subdir2/Link')
|
609
|
+
assert_kind_of(ZoneinfoTimezoneInfo, info)
|
610
|
+
assert_equal('Subdir2/Link', info.identifier)
|
611
|
+
end
|
612
|
+
end
|
613
|
+
|
614
|
+
def test_load_timezone_info_invalid_file
|
615
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
616
|
+
FileUtils.touch(File.join(dir, 'zone.tab'))
|
617
|
+
FileUtils.touch(File.join(dir, 'iso3166.tab'))
|
618
|
+
|
619
|
+
File.open(File.join(dir, 'Zone'), 'wb') do |file|
|
620
|
+
file.write('NotAValidTZifFile')
|
621
|
+
end
|
622
|
+
|
623
|
+
data_source = ZoneinfoDataSource.new(dir)
|
624
|
+
|
625
|
+
assert_raises(InvalidTimezoneIdentifier) do
|
626
|
+
data_source.load_timezone_info('Zone')
|
627
|
+
end
|
628
|
+
end
|
629
|
+
end
|
630
|
+
|
631
|
+
def test_load_timezone_info_invalid_file_2
|
632
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
633
|
+
FileUtils.touch(File.join(dir, 'zone.tab'))
|
634
|
+
FileUtils.touch(File.join(dir, 'iso3166.tab'))
|
635
|
+
|
636
|
+
zone = File.join(dir, 'Zone')
|
637
|
+
|
638
|
+
File.open(File.join(@data_source.zoneinfo_dir, 'EST')) do |src|
|
639
|
+
# Change header to TZif1 (which is not a valid header).
|
640
|
+
File.open(zone, 'wb') do |dest|
|
641
|
+
dest.write('TZif1')
|
642
|
+
src.pos = 5
|
643
|
+
FileUtils.copy_stream(src, dest)
|
644
|
+
end
|
645
|
+
end
|
646
|
+
|
647
|
+
data_source = ZoneinfoDataSource.new(dir)
|
648
|
+
|
649
|
+
assert_raises(InvalidTimezoneIdentifier) do
|
650
|
+
data_source.load_timezone_info('Zone')
|
651
|
+
end
|
652
|
+
end
|
653
|
+
end
|
654
|
+
|
655
|
+
def test_load_timezone_info_tainted
|
656
|
+
safe_test do
|
657
|
+
identifier = 'Europe/Amsterdam'.dup.taint
|
658
|
+
assert(identifier.tainted?)
|
659
|
+
info = @data_source.load_timezone_info(identifier)
|
660
|
+
assert_equal('Europe/Amsterdam', info.identifier)
|
661
|
+
assert(identifier.tainted?)
|
662
|
+
end
|
663
|
+
end
|
664
|
+
|
665
|
+
def test_load_timezone_info_tainted_and_frozen
|
666
|
+
safe_test do
|
667
|
+
info = @data_source.load_timezone_info('Europe/Amsterdam'.dup.taint.freeze)
|
668
|
+
assert_equal('Europe/Amsterdam', info.identifier)
|
669
|
+
end
|
670
|
+
end
|
671
|
+
|
672
|
+
def test_load_timezone_info_tainted_zoneinfo_dir_safe_mode
|
673
|
+
safe_test(:unavailable => :skip) do
|
674
|
+
assert_raises(SecurityError) do
|
675
|
+
ZoneinfoDataSource.new(@data_source.zoneinfo_dir.dup.taint)
|
676
|
+
end
|
677
|
+
end
|
678
|
+
end
|
679
|
+
|
680
|
+
def test_load_timezone_info_tainted_zoneinfo_dir
|
681
|
+
data_source = ZoneinfoDataSource.new(@data_source.zoneinfo_dir.dup.taint)
|
682
|
+
info = data_source.load_timezone_info('Europe/London')
|
683
|
+
assert_kind_of(ZoneinfoTimezoneInfo, info)
|
684
|
+
assert_equal('Europe/London', info.identifier)
|
685
|
+
end
|
686
|
+
|
687
|
+
def get_timezone_filenames(directory)
|
688
|
+
entries = Dir.glob(File.join(directory, '**', '*'))
|
689
|
+
|
690
|
+
entries = entries.select do |file|
|
691
|
+
file.untaint
|
692
|
+
File.file?(file)
|
693
|
+
end
|
694
|
+
|
695
|
+
entries = entries.collect {|file| file[directory.length + File::SEPARATOR.length, file.length - directory.length - File::SEPARATOR.length]}
|
696
|
+
|
697
|
+
# Exclude right (with leapseconds) and posix (copy) directories; .tab files; leapseconds, localtime and posixrules files.
|
698
|
+
entries = entries.select do |file|
|
699
|
+
file !~ /\A(posix|right)\// &&
|
700
|
+
file !~ /\.tab\z/ &&
|
701
|
+
!%w(leapseconds localtime posixrules).include?(file)
|
702
|
+
end
|
703
|
+
|
704
|
+
entries.sort
|
705
|
+
end
|
706
|
+
|
707
|
+
def test_timezone_identifiers
|
708
|
+
expected = get_timezone_filenames(@data_source.zoneinfo_dir)
|
709
|
+
all = @data_source.timezone_identifiers
|
710
|
+
assert_kind_of(Array, all)
|
711
|
+
assert_array_same_items(expected, all)
|
712
|
+
assert_equal(true, all.frozen?)
|
713
|
+
end
|
714
|
+
|
715
|
+
def test_data_timezone_identifiers
|
716
|
+
expected = get_timezone_filenames(@data_source.zoneinfo_dir)
|
717
|
+
all_data = @data_source.data_timezone_identifiers
|
718
|
+
assert_kind_of(Array, all_data)
|
719
|
+
assert_array_same_items(expected, all_data)
|
720
|
+
assert_equal(true, all_data.frozen?)
|
721
|
+
end
|
722
|
+
|
723
|
+
def test_linked_timezone_identifiers
|
724
|
+
all_linked = @data_source.linked_timezone_identifiers
|
725
|
+
assert_kind_of(Array, all_linked)
|
726
|
+
assert_equal(true, all_linked.empty?)
|
727
|
+
assert_equal(true, all_linked.frozen?)
|
728
|
+
end
|
729
|
+
|
730
|
+
def test_timezone_identifiers_safe_mode
|
731
|
+
safe_test do
|
732
|
+
expected = get_timezone_filenames(@data_source.zoneinfo_dir)
|
733
|
+
all = @data_source.timezone_identifiers
|
734
|
+
assert_kind_of(Array, all)
|
735
|
+
assert_array_same_items(expected, all)
|
736
|
+
assert_equal(true, all.frozen?)
|
737
|
+
end
|
738
|
+
end
|
739
|
+
|
740
|
+
def test_timezone_identifiers_ignored_plus_version_file
|
741
|
+
# Mac OS X includes a file named +VERSION containing the tzdata version.
|
742
|
+
|
743
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
744
|
+
FileUtils.touch(File.join(dir, 'zone.tab'))
|
745
|
+
FileUtils.touch(File.join(dir, 'iso3166.tab'))
|
746
|
+
FileUtils.cp(File.join(@data_source.zoneinfo_dir, 'EST'), File.join(dir, 'EST'))
|
747
|
+
|
748
|
+
File.open(File.join(dir, '+VERSION'), 'w') do |f|
|
749
|
+
f.binmode
|
750
|
+
f.write("2013a\n")
|
751
|
+
end
|
752
|
+
|
753
|
+
data_source = ZoneinfoDataSource.new(dir)
|
754
|
+
assert_array_same_items(['EST'], data_source.timezone_identifiers)
|
755
|
+
end
|
756
|
+
end
|
757
|
+
|
758
|
+
def test_timezone_identifiers_ignored_timeconfig_symlink
|
759
|
+
# Slackware includes a symlink named timeconfig that points at /usr/sbin/timeconfig.
|
760
|
+
|
761
|
+
Dir.mktmpdir('tzinfo_test_target') do |target_dir|
|
762
|
+
target_path = File.join(target_dir, 'timeconfig')
|
763
|
+
|
764
|
+
File.open(target_path, 'w') do |f|
|
765
|
+
f.write("#!/bin/sh\n")
|
766
|
+
f.write("#\n")
|
767
|
+
f.write('# timeconfig Slackware Linux timezone configuration utility.\n')
|
768
|
+
end
|
769
|
+
|
770
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
771
|
+
FileUtils.touch(File.join(dir, 'zone.tab'))
|
772
|
+
FileUtils.touch(File.join(dir, 'iso3166.tab'))
|
773
|
+
FileUtils.cp(File.join(@data_source.zoneinfo_dir, 'EST'), File.join(dir, 'EST'))
|
774
|
+
|
775
|
+
symlink_path = File.join(dir, 'timeconfig')
|
776
|
+
begin
|
777
|
+
FileUtils.ln_s(target_path, symlink_path)
|
778
|
+
rescue NotImplementedError, Errno::EACCES
|
779
|
+
# Symlinks not supported on this platform, or permission denied
|
780
|
+
# (administrative rights are required on Windows). Copy instead.
|
781
|
+
FileUtils.cp(target_path, symlink_path)
|
782
|
+
end
|
783
|
+
|
784
|
+
data_source = ZoneinfoDataSource.new(dir)
|
785
|
+
assert_array_same_items(['EST'], data_source.timezone_identifiers)
|
786
|
+
end
|
787
|
+
end
|
788
|
+
end
|
789
|
+
|
790
|
+
def test_timezone_identifiers_ignored_src_directory
|
791
|
+
# Solaris includes a src directory containing the source timezone data files
|
792
|
+
# from the tzdata distribution. These should be ignored.
|
793
|
+
|
794
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
795
|
+
FileUtils.touch(File.join(dir, 'zone.tab'))
|
796
|
+
FileUtils.touch(File.join(dir, 'iso3166.tab'))
|
797
|
+
FileUtils.cp(File.join(@data_source.zoneinfo_dir, 'EST'), File.join(dir, 'EST'))
|
798
|
+
|
799
|
+
src_dir = File.join(dir, 'src')
|
800
|
+
FileUtils.mkdir(src_dir)
|
801
|
+
|
802
|
+
File.open(File.join(src_dir, 'europe'), 'w') do |f|
|
803
|
+
f.binmode
|
804
|
+
f.write("Zone\tEurope/London\t0:00\tEU\tGMT/BST\n")
|
805
|
+
end
|
806
|
+
|
807
|
+
data_source = ZoneinfoDataSource.new(dir)
|
808
|
+
assert_array_same_items(['EST'], data_source.timezone_identifiers)
|
809
|
+
end
|
810
|
+
end
|
811
|
+
|
812
|
+
def test_load_country_info
|
813
|
+
info = @data_source.load_country_info('GB')
|
814
|
+
assert_equal('GB', info.code)
|
815
|
+
assert_equal('Britain (UK)', info.name)
|
816
|
+
end
|
817
|
+
|
818
|
+
def test_load_country_info_not_exist
|
819
|
+
assert_raises(InvalidCountryCode) do
|
820
|
+
@data_source.load_country_info('ZZ')
|
821
|
+
end
|
822
|
+
end
|
823
|
+
|
824
|
+
def test_load_country_info_invalid
|
825
|
+
assert_raises(InvalidCountryCode) do
|
826
|
+
@data_source.load_country_info('../Countries/GB')
|
827
|
+
end
|
828
|
+
end
|
829
|
+
|
830
|
+
def test_load_country_info_nil
|
831
|
+
assert_raises(InvalidCountryCode) do
|
832
|
+
@data_source.load_country_info(nil)
|
833
|
+
end
|
834
|
+
end
|
835
|
+
|
836
|
+
def test_load_country_info_case
|
837
|
+
assert_raises(InvalidCountryCode) do
|
838
|
+
@data_source.load_country_info('gb')
|
839
|
+
end
|
840
|
+
end
|
841
|
+
|
842
|
+
def test_load_country_info_tainted
|
843
|
+
safe_test do
|
844
|
+
code = 'NL'.dup.taint
|
845
|
+
assert(code.tainted?)
|
846
|
+
info = @data_source.load_country_info(code)
|
847
|
+
assert_equal('NL', info.code)
|
848
|
+
assert(code.tainted?)
|
849
|
+
end
|
850
|
+
end
|
851
|
+
|
852
|
+
def test_load_country_info_tainted_and_frozen
|
853
|
+
safe_test do
|
854
|
+
info = @data_source.load_country_info('NL'.dup.taint.freeze)
|
855
|
+
assert_equal('NL', info.code)
|
856
|
+
end
|
857
|
+
end
|
858
|
+
|
859
|
+
def test_load_country_info_check_zones
|
860
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
861
|
+
RubyCoreSupport.open_file(File.join(dir, 'iso3166.tab'), 'w', :external_encoding => 'UTF-8') do |iso3166|
|
862
|
+
iso3166.puts('# iso3166.tab')
|
863
|
+
iso3166.puts('')
|
864
|
+
iso3166.puts("FC\tFake Country")
|
865
|
+
iso3166.puts("OC\tOther Country")
|
866
|
+
end
|
867
|
+
|
868
|
+
RubyCoreSupport.open_file(File.join(dir, 'zone.tab'), 'w', :external_encoding => 'UTF-8') do |zone|
|
869
|
+
zone.puts('# zone.tab')
|
870
|
+
zone.puts('')
|
871
|
+
zone.puts("FC\t+513030-0000731\tFake/One\tDescription of one")
|
872
|
+
zone.puts("FC\t+353916+1394441\tFake/Two\tAnother description")
|
873
|
+
zone.puts("FC\t-2332-04637\tFake/Three\tThis is Three")
|
874
|
+
zone.puts("OC\t+5005+01426\tOther/One")
|
875
|
+
end
|
876
|
+
|
877
|
+
data_source = ZoneinfoDataSource.new(dir)
|
878
|
+
|
879
|
+
info = data_source.load_country_info('FC')
|
880
|
+
assert_equal('FC', info.code)
|
881
|
+
assert_equal('Fake Country', info.name)
|
882
|
+
assert_equal(['Fake/One', 'Fake/Two', 'Fake/Three'], info.zone_identifiers)
|
883
|
+
assert_equal(true, info.zone_identifiers.frozen?)
|
884
|
+
assert_equal([
|
885
|
+
CountryTimezone.new('Fake/One', Rational(6181, 120), Rational(-451, 3600), 'Description of one'),
|
886
|
+
CountryTimezone.new('Fake/Two', Rational(32089, 900), Rational(503081, 3600), 'Another description'),
|
887
|
+
CountryTimezone.new('Fake/Three', Rational(-353, 15), Rational(-2797, 60), 'This is Three')], info.zones)
|
888
|
+
assert_equal(true, info.zones.frozen?)
|
889
|
+
|
890
|
+
info = data_source.load_country_info('OC')
|
891
|
+
assert_equal('OC', info.code)
|
892
|
+
assert_equal('Other Country', info.name)
|
893
|
+
assert_equal(['Other/One'], info.zone_identifiers)
|
894
|
+
assert_equal(true, info.zone_identifiers.frozen?)
|
895
|
+
assert_equal([CountryTimezone.new('Other/One', Rational(601, 12), Rational(433, 30))], info.zones)
|
896
|
+
assert_equal(true, info.zones.frozen?)
|
897
|
+
end
|
898
|
+
end
|
899
|
+
|
900
|
+
def test_load_country_info_check_zones_zone1970
|
901
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
902
|
+
RubyCoreSupport.open_file(File.join(dir, 'iso3166.tab'), 'w', :external_encoding => 'UTF-8') do |iso3166|
|
903
|
+
iso3166.puts('# iso3166.tab')
|
904
|
+
iso3166.puts('')
|
905
|
+
iso3166.puts("AC\tAnother Country")
|
906
|
+
iso3166.puts("FC\tFake Country")
|
907
|
+
iso3166.puts("OC\tOther Country")
|
908
|
+
end
|
909
|
+
|
910
|
+
# zone.tab will be ignored.
|
911
|
+
RubyCoreSupport.open_file(File.join(dir, 'zone.tab'), 'w', :external_encoding => 'UTF-8') do |zone|
|
912
|
+
zone.puts('# zone.tab')
|
913
|
+
zone.puts('')
|
914
|
+
zone.puts("FC\t+513030-0000731\tFake/One\tDescription of one")
|
915
|
+
zone.puts("FC\t+353916+1394441\tFake/Two\tAnother description")
|
916
|
+
zone.puts("FC\t-2332-04637\tFake/Three\tThis is Three")
|
917
|
+
zone.puts("OC\t+5005+01426\tOther/One")
|
918
|
+
end
|
919
|
+
|
920
|
+
# zone1970.tab will be used.
|
921
|
+
RubyCoreSupport.open_file(File.join(dir, 'zone1970.tab'), 'w', :external_encoding => 'UTF-8') do |zone|
|
922
|
+
zone.puts('# zone1970.tab')
|
923
|
+
zone.puts('')
|
924
|
+
zone.puts("AC,OC\t+0000+00000\tMiddle/Another/One\tAnother's One")
|
925
|
+
zone.puts("FC\t+513030-0000731\tFake/One\tDescription of one")
|
926
|
+
zone.puts("FC,OC\t+353916+1394441\tFake/Two\tAnother description")
|
927
|
+
zone.puts("FC,OC\t-2332-04637\tFake/Three\tThis is Three")
|
928
|
+
zone.puts("OC\t+5005+01426\tOther/One")
|
929
|
+
zone.puts("OC\t+5015+11426\tOther/Two")
|
930
|
+
end
|
931
|
+
|
932
|
+
data_source = ZoneinfoDataSource.new(dir)
|
933
|
+
|
934
|
+
info = data_source.load_country_info('AC')
|
935
|
+
assert_equal('AC', info.code)
|
936
|
+
assert_equal('Another Country', info.name)
|
937
|
+
assert_equal(['Middle/Another/One'], info.zone_identifiers)
|
938
|
+
assert_equal(true, info.zone_identifiers.frozen?)
|
939
|
+
assert_equal([CountryTimezone.new('Middle/Another/One', Rational(0, 1), Rational(0, 1), "Another's One")], info.zones)
|
940
|
+
assert_equal(true, info.zones.frozen?)
|
941
|
+
|
942
|
+
info = data_source.load_country_info('FC')
|
943
|
+
assert_equal('FC', info.code)
|
944
|
+
assert_equal('Fake Country', info.name)
|
945
|
+
assert_equal(['Fake/One', 'Fake/Two', 'Fake/Three'], info.zone_identifiers)
|
946
|
+
assert_equal(true, info.zone_identifiers.frozen?)
|
947
|
+
assert_equal([
|
948
|
+
CountryTimezone.new('Fake/One', Rational(6181, 120), Rational(-451, 3600), 'Description of one'),
|
949
|
+
CountryTimezone.new('Fake/Two', Rational(32089, 900), Rational(503081, 3600), 'Another description'),
|
950
|
+
CountryTimezone.new('Fake/Three', Rational(-353, 15), Rational(-2797, 60), 'This is Three')], info.zones)
|
951
|
+
assert_equal(true, info.zones.frozen?)
|
952
|
+
|
953
|
+
# Testing the ordering of zones. A zone can either be primary (country
|
954
|
+
# code is the first in the first column), or secondary (country code is
|
955
|
+
# not the first). Should return all the primaries first in the order they
|
956
|
+
# appeared in the file, followed by all the secondaries in the order they
|
957
|
+
# appeared in file.
|
958
|
+
|
959
|
+
info = data_source.load_country_info('OC')
|
960
|
+
assert_equal('OC', info.code)
|
961
|
+
assert_equal('Other Country', info.name)
|
962
|
+
assert_equal(['Other/One', 'Other/Two', 'Middle/Another/One', 'Fake/Two', 'Fake/Three'], info.zone_identifiers)
|
963
|
+
assert_equal(true, info.zone_identifiers.frozen?)
|
964
|
+
assert_equal([
|
965
|
+
CountryTimezone.new('Other/One', Rational(601, 12), Rational( 433, 30)),
|
966
|
+
CountryTimezone.new('Other/Two', Rational(201, 4), Rational(3433, 30)),
|
967
|
+
CountryTimezone.new('Middle/Another/One', Rational(0, 1), Rational(0, 1), "Another's One"),
|
968
|
+
CountryTimezone.new('Fake/Two', Rational(32089, 900), Rational(503081, 3600), 'Another description'),
|
969
|
+
CountryTimezone.new('Fake/Three', Rational(-353, 15), Rational(-2797, 60), 'This is Three')], info.zones)
|
970
|
+
assert_equal(true, info.zones.frozen?)
|
971
|
+
end
|
972
|
+
end
|
973
|
+
|
974
|
+
def test_load_country_info_check_zones_solaris_tab_files
|
975
|
+
# Solaris uses 5 columns instead of the usual 4 in zone_sun.tab.
|
976
|
+
# An extra column before the comment gives an optional linked/alternate
|
977
|
+
# timezone identifier (or '-' if not set).
|
978
|
+
#
|
979
|
+
# Additionally, there is a section at the end of the file for timezones
|
980
|
+
# covering regions. These are given lower-case "country" codes. The timezone
|
981
|
+
# identifier column refers to a continent instead of an identifier. These
|
982
|
+
# lines will be ignored by TZInfo.
|
983
|
+
|
984
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
985
|
+
tab_dir = File.join(dir, 'tab')
|
986
|
+
FileUtils.mkdir(tab_dir)
|
987
|
+
|
988
|
+
RubyCoreSupport.open_file(File.join(tab_dir, 'country.tab'), 'w', :external_encoding => 'UTF-8') do |country|
|
989
|
+
country.puts('# country.tab')
|
990
|
+
country.puts('# Solaris')
|
991
|
+
country.puts("FC\tFake Country")
|
992
|
+
country.puts("OC\tOther Country")
|
993
|
+
end
|
994
|
+
|
995
|
+
RubyCoreSupport.open_file(File.join(tab_dir, 'zone_sun.tab'), 'w', :external_encoding => 'UTF-8') do |zone_sun|
|
996
|
+
zone_sun.puts('# zone_sun.tab')
|
997
|
+
zone_sun.puts('# Solaris')
|
998
|
+
zone_sun.puts('# Countries')
|
999
|
+
zone_sun.puts("FC\t+513030-0000731\tFake/One\t-\tDescription of one")
|
1000
|
+
zone_sun.puts("FC\t+353916+1394441\tFake/Two\tFake/Alias/Two\tAnother description")
|
1001
|
+
zone_sun.puts("FC\t-2332-04637\tFake/Three\tFake/Alias/Three\tThis is Three")
|
1002
|
+
zone_sun.puts("OC\t+5005+01426\tOther/One\tOther/Linked/One")
|
1003
|
+
zone_sun.puts("OC\t+5015+01436\tOther/Two\t-")
|
1004
|
+
zone_sun.puts('# Regions')
|
1005
|
+
zone_sun.puts("ee\t+0000+00000\tEurope/\tEET")
|
1006
|
+
zone_sun.puts("me\t+0000+00000\tEurope/\tMET")
|
1007
|
+
zone_sun.puts("we\t+0000+00000\tEurope/\tWET")
|
1008
|
+
end
|
1009
|
+
|
1010
|
+
data_source = ZoneinfoDataSource.new(dir)
|
1011
|
+
|
1012
|
+
info = data_source.load_country_info('FC')
|
1013
|
+
assert_equal('FC', info.code)
|
1014
|
+
assert_equal('Fake Country', info.name)
|
1015
|
+
assert_equal(['Fake/One', 'Fake/Two', 'Fake/Three'], info.zone_identifiers)
|
1016
|
+
assert_equal(true, info.zone_identifiers.frozen?)
|
1017
|
+
assert_equal([
|
1018
|
+
CountryTimezone.new('Fake/One', Rational(6181, 120), Rational(-451, 3600), 'Description of one'),
|
1019
|
+
CountryTimezone.new('Fake/Two', Rational(32089, 900), Rational(503081, 3600), 'Another description'),
|
1020
|
+
CountryTimezone.new('Fake/Three', Rational(-353, 15), Rational(-2797, 60), 'This is Three')], info.zones)
|
1021
|
+
assert_equal(true, info.zones.frozen?)
|
1022
|
+
|
1023
|
+
info = data_source.load_country_info('OC')
|
1024
|
+
assert_equal('OC', info.code)
|
1025
|
+
assert_equal('Other Country', info.name)
|
1026
|
+
assert_equal(['Other/One', 'Other/Two'], info.zone_identifiers)
|
1027
|
+
assert_equal(true, info.zone_identifiers.frozen?)
|
1028
|
+
assert_equal([
|
1029
|
+
CountryTimezone.new('Other/One', Rational(601, 12), Rational(433, 30)),
|
1030
|
+
CountryTimezone.new('Other/Two', Rational(201, 4), Rational(73, 5))], info.zones)
|
1031
|
+
assert_equal(true, info.zones.frozen?)
|
1032
|
+
end
|
1033
|
+
end
|
1034
|
+
|
1035
|
+
def test_load_country_info_check_zones_alternate_iso3166_file
|
1036
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
1037
|
+
zoneinfo_dir = File.join(dir, 'zoneinfo')
|
1038
|
+
tab_dir = File.join(dir, 'tab')
|
1039
|
+
FileUtils.mkdir(zoneinfo_dir)
|
1040
|
+
FileUtils.mkdir(tab_dir)
|
1041
|
+
|
1042
|
+
tab_file = File.join(tab_dir, 'iso3166')
|
1043
|
+
RubyCoreSupport.open_file(tab_file, 'w', :external_encoding => 'UTF-8') do |iso3166|
|
1044
|
+
# Use the BSD 4 column format (alternate iso3166 is used on BSD).
|
1045
|
+
iso3166.puts("FC\tFCC\t001\tFake Country")
|
1046
|
+
iso3166.puts("OC\tOCC\t002\tOther Country")
|
1047
|
+
end
|
1048
|
+
|
1049
|
+
RubyCoreSupport.open_file(File.join(zoneinfo_dir, 'zone.tab'), 'w', :external_encoding => 'UTF-8') do |zone|
|
1050
|
+
zone.puts("FC\t+513030-0000731\tFake/One\tDescription of one")
|
1051
|
+
zone.puts("FC\t+353916+1394441\tFake/Two\tAnother description")
|
1052
|
+
zone.puts("FC\t-2332-04637\tFake/Three\tThis is Three")
|
1053
|
+
zone.puts("OC\t+5005+01426\tOther/One")
|
1054
|
+
end
|
1055
|
+
|
1056
|
+
data_source = ZoneinfoDataSource.new(zoneinfo_dir, tab_file)
|
1057
|
+
|
1058
|
+
info = data_source.load_country_info('FC')
|
1059
|
+
assert_equal('FC', info.code)
|
1060
|
+
assert_equal('Fake Country', info.name)
|
1061
|
+
assert_equal(['Fake/One', 'Fake/Two', 'Fake/Three'], info.zone_identifiers)
|
1062
|
+
assert_equal(true, info.zone_identifiers.frozen?)
|
1063
|
+
assert_equal([
|
1064
|
+
CountryTimezone.new('Fake/One', Rational(6181, 120), Rational(-451, 3600), 'Description of one'),
|
1065
|
+
CountryTimezone.new('Fake/Two', Rational(32089, 900), Rational(503081, 3600), 'Another description'),
|
1066
|
+
CountryTimezone.new('Fake/Three', Rational(-353, 15), Rational(-2797, 60), 'This is Three')], info.zones)
|
1067
|
+
assert_equal(true, info.zones.frozen?)
|
1068
|
+
|
1069
|
+
info = data_source.load_country_info('OC')
|
1070
|
+
assert_equal('OC', info.code)
|
1071
|
+
assert_equal('Other Country', info.name)
|
1072
|
+
assert_equal(['Other/One'], info.zone_identifiers)
|
1073
|
+
assert_equal(true, info.zone_identifiers.frozen?)
|
1074
|
+
assert_equal([CountryTimezone.new('Other/One', Rational(601, 12), Rational(433, 30))], info.zones)
|
1075
|
+
assert_equal(true, info.zones.frozen?)
|
1076
|
+
end
|
1077
|
+
end
|
1078
|
+
|
1079
|
+
def test_load_country_info_four_column_iso31611
|
1080
|
+
# OpenBSD and FreeBSD use a 4 column iso3166.tab file that includes
|
1081
|
+
# alpha-3 and numeric-3 codes in addition to the alpha-2 and name in the
|
1082
|
+
# tz database version.
|
1083
|
+
|
1084
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
1085
|
+
RubyCoreSupport.open_file(File.join(dir, 'iso3166.tab'), 'w', :external_encoding => 'UTF-8') do |iso3166|
|
1086
|
+
iso3166.puts("FC\tFCC\t001\tFake Country")
|
1087
|
+
iso3166.puts("OC\tOCC\t002\tOther Country")
|
1088
|
+
end
|
1089
|
+
|
1090
|
+
RubyCoreSupport.open_file(File.join(dir, 'zone.tab'), 'w', :external_encoding => 'UTF-8') do |zone|
|
1091
|
+
zone.puts("FC\t+513030-0000731\tFake/One\tDescription of one")
|
1092
|
+
zone.puts("OC\t+5005+01426\tOther/One")
|
1093
|
+
end
|
1094
|
+
|
1095
|
+
data_source = ZoneinfoDataSource.new(dir)
|
1096
|
+
|
1097
|
+
info = data_source.load_country_info('FC')
|
1098
|
+
assert_equal('FC', info.code)
|
1099
|
+
assert_equal('Fake Country', info.name)
|
1100
|
+
|
1101
|
+
info = data_source.load_country_info('OC')
|
1102
|
+
assert_equal('OC', info.code)
|
1103
|
+
assert_equal('Other Country', info.name)
|
1104
|
+
end
|
1105
|
+
end
|
1106
|
+
|
1107
|
+
def test_load_country_info_utf8
|
1108
|
+
# iso3166.tab is currently in ASCII (as of tzdata 2014f), but will be
|
1109
|
+
# changed to UTF-8 in the future.
|
1110
|
+
|
1111
|
+
# zone.tab is in ASCII, with no plans to change. Since ASCII is a subset of
|
1112
|
+
# UTF-8, test that this is loaded in UTF-8 anyway.
|
1113
|
+
|
1114
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
1115
|
+
RubyCoreSupport.open_file(File.join(dir, 'iso3166.tab'), 'w', :external_encoding => 'UTF-8') do |iso3166|
|
1116
|
+
iso3166.puts("UT\tUnicode Test ✓")
|
1117
|
+
end
|
1118
|
+
|
1119
|
+
RubyCoreSupport.open_file(File.join(dir, 'zone.tab'), 'w', :external_encoding => 'UTF-8') do |zone|
|
1120
|
+
zone.puts("UT\t+513030-0000731\tUnicode✓/One\tUnicode Description ✓")
|
1121
|
+
end
|
1122
|
+
|
1123
|
+
data_source = ZoneinfoDataSource.new(dir)
|
1124
|
+
|
1125
|
+
info = data_source.load_country_info('UT')
|
1126
|
+
assert_equal('UT', info.code)
|
1127
|
+
assert_equal('Unicode Test ✓', info.name)
|
1128
|
+
assert_equal(['Unicode✓/One'], info.zone_identifiers)
|
1129
|
+
assert_equal([CountryTimezone.new('Unicode✓/One', Rational(6181, 120), Rational(-451, 3600), 'Unicode Description ✓')], info.zones)
|
1130
|
+
end
|
1131
|
+
end
|
1132
|
+
|
1133
|
+
def test_load_country_info_utf8_zone1970
|
1134
|
+
# iso3166.tab is currently in ASCII (as of tzdata 2014f), but will be
|
1135
|
+
# changed to UTF-8 in the future.
|
1136
|
+
|
1137
|
+
# zone1970.tab is in UTF-8.
|
1138
|
+
|
1139
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
1140
|
+
RubyCoreSupport.open_file(File.join(dir, 'iso3166.tab'), 'w', :external_encoding => 'UTF-8') do |iso3166|
|
1141
|
+
iso3166.puts("UT\tUnicode Test ✓")
|
1142
|
+
end
|
1143
|
+
|
1144
|
+
RubyCoreSupport.open_file(File.join(dir, 'zone1970.tab'), 'w', :external_encoding => 'UTF-8') do |zone|
|
1145
|
+
zone.puts("UT\t+513030-0000731\tUnicode✓/One\tUnicode Description ✓")
|
1146
|
+
end
|
1147
|
+
|
1148
|
+
data_source = ZoneinfoDataSource.new(dir)
|
1149
|
+
|
1150
|
+
info = data_source.load_country_info('UT')
|
1151
|
+
assert_equal('UT', info.code)
|
1152
|
+
assert_equal('Unicode Test ✓', info.name)
|
1153
|
+
assert_equal(['Unicode✓/One'], info.zone_identifiers)
|
1154
|
+
assert_equal([CountryTimezone.new('Unicode✓/One', Rational(6181, 120), Rational(-451, 3600), 'Unicode Description ✓')], info.zones)
|
1155
|
+
end
|
1156
|
+
end
|
1157
|
+
|
1158
|
+
def test_country_codes
|
1159
|
+
file_codes = []
|
1160
|
+
|
1161
|
+
RubyCoreSupport.open_file(File.join(@data_source.zoneinfo_dir, 'iso3166.tab'), 'r', :external_encoding => 'UTF-8', :internal_encoding => 'UTF-8') do |file|
|
1162
|
+
file.each_line do |line|
|
1163
|
+
line.chomp!
|
1164
|
+
file_codes << $1 if line =~ /\A([A-Z]{2})\t/
|
1165
|
+
end
|
1166
|
+
end
|
1167
|
+
|
1168
|
+
codes = @data_source.country_codes
|
1169
|
+
assert_array_same_items(file_codes, codes)
|
1170
|
+
assert_equal(true, codes.frozen?)
|
1171
|
+
end
|
1172
|
+
|
1173
|
+
def test_country_codes_four_column_iso3166
|
1174
|
+
# OpenBSD and FreeBSD use a 4 column iso3166.tab file that includes
|
1175
|
+
# alpha-3 and numeric-3 codes in addition to the alpha-2 and name in the
|
1176
|
+
# tz database version.
|
1177
|
+
|
1178
|
+
Dir.mktmpdir('tzinfo_test') do |dir|
|
1179
|
+
RubyCoreSupport.open_file(File.join(dir, 'iso3166.tab'), 'w', :external_encoding => 'UTF-8') do |iso3166|
|
1180
|
+
iso3166.puts("FC\tFCC\t001\tFake Country")
|
1181
|
+
iso3166.puts("OC\tOCC\t002\tOther Country")
|
1182
|
+
end
|
1183
|
+
|
1184
|
+
RubyCoreSupport.open_file(File.join(dir, 'zone.tab'), 'w', :external_encoding => 'UTF-8') do |zone|
|
1185
|
+
zone.puts("FC\t+513030-0000731\tFake/One\tDescription of one")
|
1186
|
+
zone.puts("OC\t+5005+01426\tOther/One")
|
1187
|
+
end
|
1188
|
+
|
1189
|
+
data_source = ZoneinfoDataSource.new(dir)
|
1190
|
+
|
1191
|
+
codes = data_source.country_codes
|
1192
|
+
assert_array_same_items(%w(FC OC), codes)
|
1193
|
+
end
|
1194
|
+
end
|
1195
|
+
end
|