lazy_record 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -1
- data/lazy_record.gemspec +6 -5
- data/lib/lazy_record/associations.rb +19 -15
- data/lib/lazy_record/base_module.rb +8 -10
- data/lib/lazy_record/relation.rb +15 -8
- data/lib/lazy_record/version.rb +1 -1
- metadata +2 -1332
- data/example/cat.rb +0 -5
- data/example/dog.rb +0 -12
- data/example/friend.rb +0 -5
- data/example/person.rb +0 -84
- data/vendor/bundle/bin/coderay +0 -22
- data/vendor/bundle/bin/htmldiff +0 -24
- data/vendor/bundle/bin/ldiff +0 -24
- data/vendor/bundle/bin/pry +0 -22
- data/vendor/bundle/bin/rake +0 -22
- data/vendor/bundle/bin/rspec +0 -22
- data/vendor/bundle/cache/activesupport-5.0.2.gem +0 -0
- data/vendor/bundle/cache/coderay-1.1.1.gem +0 -0
- data/vendor/bundle/cache/concurrent-ruby-1.0.5.gem +0 -0
- data/vendor/bundle/cache/diff-lcs-1.3.gem +0 -0
- data/vendor/bundle/cache/i18n-0.8.1.gem +0 -0
- data/vendor/bundle/cache/method_source-0.8.2.gem +0 -0
- data/vendor/bundle/cache/minitest-5.10.1.gem +0 -0
- data/vendor/bundle/cache/pry-0.10.4.gem +0 -0
- data/vendor/bundle/cache/rake-10.5.0.gem +0 -0
- data/vendor/bundle/cache/rspec-3.5.0.gem +0 -0
- data/vendor/bundle/cache/rspec-core-3.5.4.gem +0 -0
- data/vendor/bundle/cache/rspec-expectations-3.5.0.gem +0 -0
- data/vendor/bundle/cache/rspec-mocks-3.5.0.gem +0 -0
- data/vendor/bundle/cache/rspec-support-3.5.0.gem +0 -0
- data/vendor/bundle/cache/slop-3.6.0.gem +0 -0
- data/vendor/bundle/cache/thread_safe-0.3.6.gem +0 -0
- data/vendor/bundle/cache/tzinfo-1.2.2.gem +0 -0
- data/vendor/bundle/gems/activesupport-5.0.2/CHANGELOG.md +0 -922
- data/vendor/bundle/gems/activesupport-5.0.2/MIT-LICENSE +0 -20
- data/vendor/bundle/gems/activesupport-5.0.2/README.rdoc +0 -39
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support.rb +0 -99
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/all.rb +0 -3
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/array_inquirer.rb +0 -44
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/backtrace_cleaner.rb +0 -103
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/benchmarkable.rb +0 -49
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/builder.rb +0 -6
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/cache.rb +0 -701
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/cache/file_store.rb +0 -204
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/cache/mem_cache_store.rb +0 -207
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/cache/memory_store.rb +0 -167
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/cache/null_store.rb +0 -41
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/cache/strategy/local_cache.rb +0 -172
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/cache/strategy/local_cache_middleware.rb +0 -44
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/callbacks.rb +0 -791
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/concern.rb +0 -142
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/concurrency/latch.rb +0 -26
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/concurrency/share_lock.rb +0 -226
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/configurable.rb +0 -148
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext.rb +0 -4
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/array.rb +0 -7
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/array/access.rb +0 -90
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/array/conversions.rb +0 -211
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/array/extract_options.rb +0 -29
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/array/grouping.rb +0 -107
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/array/inquiry.rb +0 -17
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/array/prepend_and_append.rb +0 -7
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/array/wrap.rb +0 -46
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/benchmark.rb +0 -14
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/big_decimal.rb +0 -1
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/big_decimal/conversions.rb +0 -14
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/class.rb +0 -2
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/class/attribute.rb +0 -128
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/class/attribute_accessors.rb +0 -4
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/class/subclasses.rb +0 -41
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date.rb +0 -5
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date/acts_like.rb +0 -8
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date/blank.rb +0 -12
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date/calculations.rb +0 -143
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date/conversions.rb +0 -95
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date/zones.rb +0 -6
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date_and_time/calculations.rb +0 -335
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date_and_time/compatibility.rb +0 -22
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date_and_time/zones.rb +0 -40
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date_time.rb +0 -5
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date_time/acts_like.rb +0 -14
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date_time/blank.rb +0 -12
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date_time/calculations.rb +0 -199
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date_time/compatibility.rb +0 -5
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date_time/conversions.rb +0 -105
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/digest/uuid.rb +0 -51
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/enumerable.rb +0 -124
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/file.rb +0 -1
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/file/atomic.rb +0 -68
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/hash.rb +0 -9
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/hash/compact.rb +0 -24
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/hash/conversions.rb +0 -262
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/hash/deep_merge.rb +0 -38
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/hash/except.rb +0 -22
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/hash/indifferent_access.rb +0 -23
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/hash/keys.rb +0 -170
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/hash/reverse_merge.rb +0 -22
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/hash/slice.rb +0 -48
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/hash/transform_values.rb +0 -29
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/integer.rb +0 -3
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/integer/inflections.rb +0 -29
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/integer/multiple.rb +0 -10
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/integer/time.rb +0 -29
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/kernel.rb +0 -4
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/kernel/agnostics.rb +0 -11
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/kernel/concern.rb +0 -12
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/kernel/debugger.rb +0 -3
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/kernel/reporting.rb +0 -43
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/kernel/singleton_class.rb +0 -6
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/load_error.rb +0 -31
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/marshal.rb +0 -22
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module.rb +0 -12
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module/aliasing.rb +0 -74
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module/anonymous.rb +0 -28
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module/attr_internal.rb +0 -36
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module/attribute_accessors.rb +0 -212
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb +0 -141
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module/concerning.rb +0 -135
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module/delegation.rb +0 -216
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module/deprecation.rb +0 -23
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module/introspection.rb +0 -68
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module/method_transplanting.rb +0 -3
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module/qualified_const.rb +0 -70
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module/reachable.rb +0 -8
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module/remove_method.rb +0 -35
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/name_error.rb +0 -31
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/numeric.rb +0 -4
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/numeric/bytes.rb +0 -64
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/numeric/conversions.rb +0 -144
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/numeric/inquiry.rb +0 -26
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/numeric/time.rb +0 -74
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/object.rb +0 -14
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/object/acts_like.rb +0 -10
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/object/blank.rb +0 -143
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/object/conversions.rb +0 -4
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/object/deep_dup.rb +0 -53
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/object/duplicable.rb +0 -124
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/object/inclusion.rb +0 -27
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/object/instance_variables.rb +0 -28
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/object/json.rb +0 -205
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/object/to_param.rb +0 -1
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/object/to_query.rb +0 -84
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/object/try.rb +0 -146
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/object/with_options.rb +0 -69
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/range.rb +0 -4
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/range/conversions.rb +0 -31
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/range/each.rb +0 -21
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/range/include_range.rb +0 -23
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/range/overlaps.rb +0 -8
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/regexp.rb +0 -5
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/securerandom.rb +0 -23
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string.rb +0 -13
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string/access.rb +0 -104
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string/behavior.rb +0 -6
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string/conversions.rb +0 -57
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string/exclude.rb +0 -11
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string/filters.rb +0 -102
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string/indent.rb +0 -43
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string/inflections.rb +0 -244
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string/inquiry.rb +0 -13
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string/multibyte.rb +0 -53
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string/output_safety.rb +0 -260
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string/starts_ends_with.rb +0 -4
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string/strip.rb +0 -23
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string/zones.rb +0 -14
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/struct.rb +0 -3
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/time.rb +0 -5
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/time/acts_like.rb +0 -8
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/time/calculations.rb +0 -290
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/time/compatibility.rb +0 -5
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/time/conversions.rb +0 -67
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/time/marshal.rb +0 -3
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/time/zones.rb +0 -111
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/uri.rb +0 -24
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/dependencies.rb +0 -754
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/dependencies/autoload.rb +0 -77
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/dependencies/interlock.rb +0 -55
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/deprecation.rb +0 -43
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/deprecation/behaviors.rb +0 -90
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/deprecation/instance_delegator.rb +0 -37
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/deprecation/method_wrappers.rb +0 -70
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/deprecation/proxy_wrappers.rb +0 -149
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/deprecation/reporting.rb +0 -112
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/descendants_tracker.rb +0 -60
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/duration.rb +0 -182
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/duration/iso8601_parser.rb +0 -122
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/duration/iso8601_serializer.rb +0 -51
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/evented_file_update_checker.rb +0 -194
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/execution_wrapper.rb +0 -126
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/executor.rb +0 -6
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/file_update_checker.rb +0 -157
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/gem_version.rb +0 -15
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/gzip.rb +0 -36
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/hash_with_indifferent_access.rb +0 -329
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/i18n.rb +0 -13
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/i18n_railtie.rb +0 -115
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/inflections.rb +0 -70
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/inflector.rb +0 -7
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/inflector/inflections.rb +0 -242
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/inflector/methods.rb +0 -390
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/inflector/transliterate.rb +0 -112
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/json.rb +0 -2
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/json/decoding.rb +0 -74
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/json/encoding.rb +0 -127
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/key_generator.rb +0 -71
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/lazy_load_hooks.rb +0 -56
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/locale/en.yml +0 -135
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/log_subscriber.rb +0 -109
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/log_subscriber/test_helper.rb +0 -104
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/logger.rb +0 -106
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/logger_silence.rb +0 -28
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/logger_thread_safe_level.rb +0 -31
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/message_encryptor.rb +0 -114
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/message_verifier.rb +0 -134
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/multibyte.rb +0 -21
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/multibyte/chars.rb +0 -231
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/multibyte/unicode.rb +0 -413
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/notifications.rb +0 -212
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/notifications/fanout.rb +0 -157
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/notifications/instrumenter.rb +0 -91
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/number_helper.rb +0 -368
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/number_helper/number_converter.rb +0 -182
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/number_helper/number_to_currency_converter.rb +0 -44
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/number_helper/number_to_delimited_converter.rb +0 -28
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/number_helper/number_to_human_converter.rb +0 -68
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/number_helper/number_to_human_size_converter.rb +0 -62
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/number_helper/number_to_percentage_converter.rb +0 -12
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/number_helper/number_to_phone_converter.rb +0 -58
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/number_helper/number_to_rounded_converter.rb +0 -92
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/option_merger.rb +0 -25
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/ordered_hash.rb +0 -48
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/ordered_options.rb +0 -81
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/per_thread_registry.rb +0 -58
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/proxy_object.rb +0 -13
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/rails.rb +0 -27
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/railtie.rb +0 -51
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/reloader.rb +0 -129
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/rescuable.rb +0 -167
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/security_utils.rb +0 -27
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/string_inquirer.rb +0 -26
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/subscriber.rb +0 -120
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/tagged_logging.rb +0 -77
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/test_case.rb +0 -88
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/testing/assertions.rb +0 -99
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/testing/autorun.rb +0 -9
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/testing/constant_lookup.rb +0 -50
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/testing/declarative.rb +0 -26
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/testing/deprecation.rb +0 -36
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/testing/file_fixtures.rb +0 -34
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/testing/isolation.rb +0 -115
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/testing/method_call_assertions.rb +0 -41
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/testing/setup_and_teardown.rb +0 -50
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/testing/stream.rb +0 -42
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/testing/tagged_logging.rb +0 -25
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/testing/time_helpers.rb +0 -134
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/time.rb +0 -18
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/time_with_zone.rb +0 -500
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/values/time_zone.rb +0 -474
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/values/unicode_tables.dat +0 -0
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/version.rb +0 -8
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/xml_mini.rb +0 -209
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/xml_mini/jdom.rb +0 -181
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/xml_mini/libxml.rb +0 -79
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/xml_mini/libxmlsax.rb +0 -85
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/xml_mini/nokogiri.rb +0 -83
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/xml_mini/nokogirisax.rb +0 -87
- data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/xml_mini/rexml.rb +0 -128
- data/vendor/bundle/gems/coderay-1.1.1/README_INDEX.rdoc +0 -123
- data/vendor/bundle/gems/coderay-1.1.1/Rakefile +0 -37
- data/vendor/bundle/gems/coderay-1.1.1/bin/coderay +0 -215
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay.rb +0 -284
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/duo.rb +0 -81
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders.rb +0 -18
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/_map.rb +0 -17
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/comment_filter.rb +0 -25
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/count.rb +0 -39
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/debug.rb +0 -49
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/debug_lint.rb +0 -63
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/div.rb +0 -23
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/encoder.rb +0 -190
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/filter.rb +0 -58
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/html.rb +0 -333
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/html/css.rb +0 -65
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/html/numbering.rb +0 -108
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/html/output.rb +0 -166
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/json.rb +0 -83
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/lines_of_code.rb +0 -45
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/lint.rb +0 -59
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/null.rb +0 -18
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/page.rb +0 -24
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/span.rb +0 -23
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/statistic.rb +0 -95
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/terminal.rb +0 -195
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/text.rb +0 -46
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/token_kind_filter.rb +0 -111
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/xml.rb +0 -72
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/yaml.rb +0 -50
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/for_redcloth.rb +0 -95
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/helpers/file_type.rb +0 -151
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/helpers/plugin.rb +0 -55
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/helpers/plugin_host.rb +0 -221
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/helpers/word_list.rb +0 -72
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners.rb +0 -27
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/_map.rb +0 -24
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/c.rb +0 -189
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/clojure.rb +0 -217
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/cpp.rb +0 -215
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/css.rb +0 -196
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/debug.rb +0 -75
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/delphi.rb +0 -144
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/diff.rb +0 -221
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/erb.rb +0 -81
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/go.rb +0 -208
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/groovy.rb +0 -268
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/haml.rb +0 -168
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/html.rb +0 -275
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/java.rb +0 -174
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/java/builtin_types.rb +0 -421
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/java_script.rb +0 -237
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/json.rb +0 -98
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/lua.rb +0 -280
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/php.rb +0 -527
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/python.rb +0 -287
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/raydebug.rb +0 -75
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/ruby.rb +0 -477
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/ruby/patterns.rb +0 -178
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/ruby/string_state.rb +0 -79
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/sass.rb +0 -232
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/scanner.rb +0 -337
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/sql.rb +0 -169
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/taskpaper.rb +0 -36
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/text.rb +0 -26
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/xml.rb +0 -17
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/yaml.rb +0 -140
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/styles.rb +0 -15
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/styles/_map.rb +0 -7
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/styles/alpha.rb +0 -153
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/styles/style.rb +0 -18
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/token_kinds.rb +0 -85
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/tokens.rb +0 -161
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/tokens_proxy.rb +0 -55
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/version.rb +0 -3
- data/vendor/bundle/gems/coderay-1.1.1/test/functional/basic.rb +0 -318
- data/vendor/bundle/gems/coderay-1.1.1/test/functional/examples.rb +0 -129
- data/vendor/bundle/gems/coderay-1.1.1/test/functional/for_redcloth.rb +0 -78
- data/vendor/bundle/gems/coderay-1.1.1/test/functional/suite.rb +0 -15
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/CHANGELOG.md +0 -387
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/LICENSE.txt +0 -21
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/README.md +0 -247
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent.rb +0 -130
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/agent.rb +0 -587
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/array.rb +0 -39
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/async.rb +0 -445
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atom.rb +0 -222
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/abstract_thread_local_var.rb +0 -66
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/atomic_boolean.rb +0 -122
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/atomic_fixnum.rb +0 -139
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/atomic_reference.rb +0 -51
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/count_down_latch.rb +0 -100
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/cyclic_barrier.rb +0 -128
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/event.rb +0 -109
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/java_count_down_latch.rb +0 -39
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/java_thread_local_var.rb +0 -37
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/mutex_atomic_boolean.rb +0 -60
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/mutex_atomic_fixnum.rb +0 -75
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/mutex_count_down_latch.rb +0 -43
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/mutex_semaphore.rb +0 -115
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/read_write_lock.rb +0 -253
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/reentrant_read_write_lock.rb +0 -377
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/ruby_thread_local_var.rb +0 -161
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/semaphore.rb +0 -145
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/thread_local_var.rb +0 -104
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/concurrent_update_error.rb +0 -8
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/direct_update.rb +0 -81
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/jruby+truffle.rb +0 -2
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/jruby.rb +0 -16
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/mutex_atomic.rb +0 -61
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/numeric_cas_wrapper.rb +0 -28
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/rbx.rb +0 -22
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/ruby.rb +0 -32
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomics.rb +0 -53
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/copy_on_notify_observer_set.rb +0 -107
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/copy_on_write_observer_set.rb +0 -111
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/java_non_concurrent_priority_queue.rb +0 -84
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/map/atomic_reference_map_backend.rb +0 -927
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/map/mri_map_backend.rb +0 -66
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/map/non_concurrent_map_backend.rb +0 -141
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/map/synchronized_map_backend.rb +0 -82
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/non_concurrent_priority_queue.rb +0 -143
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/ruby_non_concurrent_priority_queue.rb +0 -150
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/concern/deprecation.rb +0 -34
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/concern/dereferenceable.rb +0 -73
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/concern/logging.rb +0 -27
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/concern/obligation.rb +0 -220
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/concern/observable.rb +0 -110
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/configuration.rb +0 -188
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/constants.rb +0 -8
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/dataflow.rb +0 -80
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/delay.rb +0 -197
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/edge.rb +0 -26
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/errors.rb +0 -69
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/exchanger.rb +0 -356
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/abstract_executor_service.rb +0 -134
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/cached_thread_pool.rb +0 -62
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/executor_service.rb +0 -185
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/fixed_thread_pool.rb +0 -206
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/immediate_executor.rb +0 -66
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/indirect_immediate_executor.rb +0 -44
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/java_executor_service.rb +0 -100
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/java_single_thread_executor.rb +0 -29
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/java_thread_pool_executor.rb +0 -120
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_executor_service.rb +0 -78
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_single_thread_executor.rb +0 -22
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb +0 -362
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/safe_task_executor.rb +0 -35
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/serial_executor_service.rb +0 -34
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/serialized_execution.rb +0 -107
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/serialized_execution_delegator.rb +0 -28
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/simple_executor_service.rb +0 -100
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/single_thread_executor.rb +0 -56
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/thread_pool_executor.rb +0 -87
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/timer_set.rb +0 -175
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executors.rb +0 -20
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/future.rb +0 -138
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/hash.rb +0 -36
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/immutable_struct.rb +0 -93
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/ivar.rb +0 -208
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/lazy_register.rb +0 -81
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/map.rb +0 -240
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/maybe.rb +0 -229
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/mutable_struct.rb +0 -228
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/mvar.rb +0 -242
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/options.rb +0 -42
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/promise.rb +0 -547
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/scheduled_task.rb +0 -318
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/settable_struct.rb +0 -128
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization.rb +0 -31
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/abstract_lockable_object.rb +0 -98
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/abstract_object.rb +0 -24
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/abstract_struct.rb +0 -157
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/condition.rb +0 -58
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/jruby_lockable_object.rb +0 -13
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/jruby_object.rb +0 -44
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/lock.rb +0 -34
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/lockable_object.rb +0 -74
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/mri_lockable_object.rb +0 -71
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/mri_object.rb +0 -43
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/object.rb +0 -153
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/rbx_lockable_object.rb +0 -65
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/rbx_object.rb +0 -48
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/truffle_lockable_object.rb +0 -9
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/truffle_object.rb +0 -31
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/volatile.rb +0 -34
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/synchronized_delegator.rb +0 -50
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util.rb +0 -16
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/adder.rb +0 -74
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/array_hash_rbx.rb +0 -30
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/cheap_lockable.rb +0 -118
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/power_of_two_tuple.rb +0 -38
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/striped64.rb +0 -241
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/volatile.rb +0 -75
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/xor_shift_random.rb +0 -50
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/timer_task.rb +0 -331
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/tuple.rb +0 -86
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/tvar.rb +0 -258
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/at_exit.rb +0 -97
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/engine.rb +0 -56
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/monotonic_time.rb +0 -58
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/native_extension_loader.rb +0 -73
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/native_integer.rb +0 -53
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/processor_counter.rb +0 -160
- data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/version.rb +0 -4
- data/vendor/bundle/gems/diff-lcs-1.3/.rspec +0 -1
- data/vendor/bundle/gems/diff-lcs-1.3/Code-of-Conduct.md +0 -74
- data/vendor/bundle/gems/diff-lcs-1.3/Contributing.md +0 -83
- data/vendor/bundle/gems/diff-lcs-1.3/History.md +0 -220
- data/vendor/bundle/gems/diff-lcs-1.3/License.md +0 -39
- data/vendor/bundle/gems/diff-lcs-1.3/Manifest.txt +0 -37
- data/vendor/bundle/gems/diff-lcs-1.3/README.rdoc +0 -84
- data/vendor/bundle/gems/diff-lcs-1.3/Rakefile +0 -57
- data/vendor/bundle/gems/diff-lcs-1.3/autotest/discover.rb +0 -1
- data/vendor/bundle/gems/diff-lcs-1.3/bin/htmldiff +0 -32
- data/vendor/bundle/gems/diff-lcs-1.3/bin/ldiff +0 -6
- data/vendor/bundle/gems/diff-lcs-1.3/docs/COPYING.txt +0 -339
- data/vendor/bundle/gems/diff-lcs-1.3/docs/artistic.txt +0 -127
- data/vendor/bundle/gems/diff-lcs-1.3/lib/diff-lcs.rb +0 -3
- data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs.rb +0 -725
- data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/array.rb +0 -7
- data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/block.rb +0 -37
- data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/callbacks.rb +0 -322
- data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/change.rb +0 -181
- data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/htmldiff.rb +0 -149
- data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/hunk.rb +0 -276
- data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/internals.rb +0 -307
- data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/ldiff.rb +0 -167
- data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/string.rb +0 -5
- data/vendor/bundle/gems/diff-lcs-1.3/spec/change_spec.rb +0 -65
- data/vendor/bundle/gems/diff-lcs-1.3/spec/diff_spec.rb +0 -47
- data/vendor/bundle/gems/diff-lcs-1.3/spec/fixtures/ds1.csv +0 -50
- data/vendor/bundle/gems/diff-lcs-1.3/spec/fixtures/ds2.csv +0 -51
- data/vendor/bundle/gems/diff-lcs-1.3/spec/hunk_spec.rb +0 -72
- data/vendor/bundle/gems/diff-lcs-1.3/spec/issues_spec.rb +0 -49
- data/vendor/bundle/gems/diff-lcs-1.3/spec/lcs_spec.rb +0 -56
- data/vendor/bundle/gems/diff-lcs-1.3/spec/ldiff_spec.rb +0 -47
- data/vendor/bundle/gems/diff-lcs-1.3/spec/patch_spec.rb +0 -422
- data/vendor/bundle/gems/diff-lcs-1.3/spec/sdiff_spec.rb +0 -214
- data/vendor/bundle/gems/diff-lcs-1.3/spec/spec_helper.rb +0 -321
- data/vendor/bundle/gems/diff-lcs-1.3/spec/traverse_balanced_spec.rb +0 -310
- data/vendor/bundle/gems/diff-lcs-1.3/spec/traverse_sequences_spec.rb +0 -139
- data/vendor/bundle/gems/i18n-0.8.1/MIT-LICENSE +0 -20
- data/vendor/bundle/gems/i18n-0.8.1/README.md +0 -84
- data/vendor/bundle/gems/i18n-0.8.1/gemfiles/Gemfile.rails-3.2.x +0 -9
- data/vendor/bundle/gems/i18n-0.8.1/gemfiles/Gemfile.rails-4.0.x +0 -9
- data/vendor/bundle/gems/i18n-0.8.1/gemfiles/Gemfile.rails-4.1.x +0 -9
- data/vendor/bundle/gems/i18n-0.8.1/gemfiles/Gemfile.rails-4.2.x +0 -9
- data/vendor/bundle/gems/i18n-0.8.1/gemfiles/Gemfile.rails-5.0.x +0 -9
- data/vendor/bundle/gems/i18n-0.8.1/gemfiles/Gemfile.rails-master +0 -9
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n.rb +0 -343
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend.rb +0 -18
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/base.rb +0 -230
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/cache.rb +0 -114
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/cascade.rb +0 -54
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/chain.rb +0 -97
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/fallbacks.rb +0 -84
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/flatten.rb +0 -113
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/gettext.rb +0 -81
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/interpolation_compiler.rb +0 -121
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/key_value.rb +0 -100
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/memoize.rb +0 -46
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/metadata.rb +0 -69
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/pluralization.rb +0 -53
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/simple.rb +0 -87
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/transliterator.rb +0 -106
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/config.rb +0 -142
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/core_ext/hash.rb +0 -29
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/core_ext/kernel/suppress_warnings.rb +0 -8
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/core_ext/string/interpolate.rb +0 -9
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/exceptions.rb +0 -104
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/gettext.rb +0 -25
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/gettext/helpers.rb +0 -73
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/gettext/po_parser.rb +0 -329
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/interpolate/ruby.rb +0 -37
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/locale.rb +0 -6
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/locale/fallbacks.rb +0 -96
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/locale/tag.rb +0 -28
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/locale/tag/parents.rb +0 -22
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/locale/tag/rfc4646.rb +0 -74
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/locale/tag/simple.rb +0 -39
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/tests.rb +0 -12
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/tests/basics.rb +0 -60
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/tests/defaults.rb +0 -48
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/tests/interpolation.rb +0 -153
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/tests/link.rb +0 -56
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/tests/localization.rb +0 -19
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/tests/localization/date.rb +0 -95
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/tests/localization/date_time.rb +0 -82
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/tests/localization/procs.rb +0 -116
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/tests/localization/time.rb +0 -81
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/tests/lookup.rb +0 -81
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/tests/pluralization.rb +0 -35
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/tests/procs.rb +0 -55
- data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/version.rb +0 -3
- data/vendor/bundle/gems/i18n-0.8.1/test/api/all_features_test.rb +0 -58
- data/vendor/bundle/gems/i18n-0.8.1/test/api/cascade_test.rb +0 -28
- data/vendor/bundle/gems/i18n-0.8.1/test/api/chain_test.rb +0 -24
- data/vendor/bundle/gems/i18n-0.8.1/test/api/fallbacks_test.rb +0 -30
- data/vendor/bundle/gems/i18n-0.8.1/test/api/key_value_test.rb +0 -24
- data/vendor/bundle/gems/i18n-0.8.1/test/api/memoize_test.rb +0 -56
- data/vendor/bundle/gems/i18n-0.8.1/test/api/override_test.rb +0 -42
- data/vendor/bundle/gems/i18n-0.8.1/test/api/pluralization_test.rb +0 -30
- data/vendor/bundle/gems/i18n-0.8.1/test/api/simple_test.rb +0 -28
- data/vendor/bundle/gems/i18n-0.8.1/test/backend/cache_test.rb +0 -108
- data/vendor/bundle/gems/i18n-0.8.1/test/backend/cascade_test.rb +0 -86
- data/vendor/bundle/gems/i18n-0.8.1/test/backend/chain_test.rb +0 -91
- data/vendor/bundle/gems/i18n-0.8.1/test/backend/exceptions_test.rb +0 -36
- data/vendor/bundle/gems/i18n-0.8.1/test/backend/fallbacks_test.rb +0 -206
- data/vendor/bundle/gems/i18n-0.8.1/test/backend/interpolation_compiler_test.rb +0 -118
- data/vendor/bundle/gems/i18n-0.8.1/test/backend/key_value_test.rb +0 -43
- data/vendor/bundle/gems/i18n-0.8.1/test/backend/memoize_test.rb +0 -47
- data/vendor/bundle/gems/i18n-0.8.1/test/backend/metadata_test.rb +0 -48
- data/vendor/bundle/gems/i18n-0.8.1/test/backend/pluralization_test.rb +0 -45
- data/vendor/bundle/gems/i18n-0.8.1/test/backend/simple_test.rb +0 -84
- data/vendor/bundle/gems/i18n-0.8.1/test/backend/transliterator_test.rb +0 -84
- data/vendor/bundle/gems/i18n-0.8.1/test/core_ext/hash_test.rb +0 -42
- data/vendor/bundle/gems/i18n-0.8.1/test/gettext/api_test.rb +0 -214
- data/vendor/bundle/gems/i18n-0.8.1/test/gettext/backend_test.rb +0 -92
- data/vendor/bundle/gems/i18n-0.8.1/test/i18n/exceptions_test.rb +0 -114
- data/vendor/bundle/gems/i18n-0.8.1/test/i18n/interpolate_test.rb +0 -91
- data/vendor/bundle/gems/i18n-0.8.1/test/i18n/load_path_test.rb +0 -34
- data/vendor/bundle/gems/i18n-0.8.1/test/i18n_test.rb +0 -437
- data/vendor/bundle/gems/i18n-0.8.1/test/locale/fallbacks_test.rb +0 -133
- data/vendor/bundle/gems/i18n-0.8.1/test/locale/tag/rfc4646_test.rb +0 -143
- data/vendor/bundle/gems/i18n-0.8.1/test/locale/tag/simple_test.rb +0 -32
- data/vendor/bundle/gems/i18n-0.8.1/test/run_all.rb +0 -20
- data/vendor/bundle/gems/i18n-0.8.1/test/test_data/locales/de.po +0 -82
- data/vendor/bundle/gems/i18n-0.8.1/test/test_data/locales/en.rb +0 -3
- data/vendor/bundle/gems/i18n-0.8.1/test/test_data/locales/en.yml +0 -3
- data/vendor/bundle/gems/i18n-0.8.1/test/test_data/locales/invalid/empty.yml +0 -0
- data/vendor/bundle/gems/i18n-0.8.1/test/test_data/locales/invalid/syntax.yml +0 -4
- data/vendor/bundle/gems/i18n-0.8.1/test/test_data/locales/plurals.rb +0 -113
- data/vendor/bundle/gems/i18n-0.8.1/test/test_helper.rb +0 -55
- data/vendor/bundle/gems/method_source-0.8.2/.gemtest +0 -0
- data/vendor/bundle/gems/method_source-0.8.2/.travis.yml +0 -13
- data/vendor/bundle/gems/method_source-0.8.2/.yardopts +0 -1
- data/vendor/bundle/gems/method_source-0.8.2/Gemfile +0 -2
- data/vendor/bundle/gems/method_source-0.8.2/LICENSE +0 -25
- data/vendor/bundle/gems/method_source-0.8.2/README.markdown +0 -91
- data/vendor/bundle/gems/method_source-0.8.2/Rakefile +0 -79
- data/vendor/bundle/gems/method_source-0.8.2/lib/method_source.rb +0 -141
- data/vendor/bundle/gems/method_source-0.8.2/lib/method_source/code_helpers.rb +0 -154
- data/vendor/bundle/gems/method_source-0.8.2/lib/method_source/source_location.rb +0 -138
- data/vendor/bundle/gems/method_source-0.8.2/lib/method_source/version.rb +0 -3
- data/vendor/bundle/gems/method_source-0.8.2/method_source.gemspec +0 -33
- data/vendor/bundle/gems/method_source-0.8.2/test/test.rb +0 -138
- data/vendor/bundle/gems/method_source-0.8.2/test/test_code_helpers.rb +0 -41
- data/vendor/bundle/gems/method_source-0.8.2/test/test_helper.rb +0 -98
- data/vendor/bundle/gems/minitest-5.10.1/.autotest +0 -34
- data/vendor/bundle/gems/minitest-5.10.1/History.rdoc +0 -1207
- data/vendor/bundle/gems/minitest-5.10.1/Manifest.txt +0 -26
- data/vendor/bundle/gems/minitest-5.10.1/README.rdoc +0 -660
- data/vendor/bundle/gems/minitest-5.10.1/Rakefile +0 -86
- data/vendor/bundle/gems/minitest-5.10.1/design_rationale.rb +0 -52
- data/vendor/bundle/gems/minitest-5.10.1/lib/hoe/minitest.rb +0 -32
- data/vendor/bundle/gems/minitest-5.10.1/lib/minitest.rb +0 -842
- data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/assertions.rb +0 -688
- data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/autorun.rb +0 -13
- data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/benchmark.rb +0 -424
- data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/expectations.rb +0 -284
- data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/hell.rb +0 -17
- data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/mock.rb +0 -232
- data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/parallel.rb +0 -69
- data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/pride.rb +0 -4
- data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/pride_plugin.rb +0 -142
- data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/spec.rb +0 -331
- data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/test.rb +0 -282
- data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/unit.rb +0 -45
- data/vendor/bundle/gems/minitest-5.10.1/test/minitest/metametameta.rb +0 -101
- data/vendor/bundle/gems/minitest-5.10.1/test/minitest/test_minitest_benchmark.rb +0 -137
- data/vendor/bundle/gems/minitest-5.10.1/test/minitest/test_minitest_mock.rb +0 -512
- data/vendor/bundle/gems/minitest-5.10.1/test/minitest/test_minitest_reporter.rb +0 -281
- data/vendor/bundle/gems/minitest-5.10.1/test/minitest/test_minitest_spec.rb +0 -970
- data/vendor/bundle/gems/minitest-5.10.1/test/minitest/test_minitest_test.rb +0 -2058
- data/vendor/bundle/gems/pry-0.10.4/CHANGELOG.md +0 -718
- data/vendor/bundle/gems/pry-0.10.4/LICENSE +0 -25
- data/vendor/bundle/gems/pry-0.10.4/README.md +0 -406
- data/vendor/bundle/gems/pry-0.10.4/bin/pry +0 -16
- data/vendor/bundle/gems/pry-0.10.4/lib/pry.rb +0 -161
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/cli.rb +0 -220
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/code.rb +0 -348
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/code/code_file.rb +0 -103
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/code/code_range.rb +0 -71
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/code/loc.rb +0 -92
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/code_object.rb +0 -172
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/color_printer.rb +0 -55
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/command.rb +0 -692
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/command_set.rb +0 -443
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands.rb +0 -6
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/amend_line.rb +0 -99
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/bang.rb +0 -20
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/bang_pry.rb +0 -17
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/cat.rb +0 -62
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/cat/abstract_formatter.rb +0 -27
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/cat/exception_formatter.rb +0 -77
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/cat/file_formatter.rb +0 -67
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/cat/input_expression_formatter.rb +0 -43
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/cd.rb +0 -41
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/change_inspector.rb +0 -27
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/change_prompt.rb +0 -26
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/code_collector.rb +0 -165
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/disable_pry.rb +0 -27
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/disabled_commands.rb +0 -2
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/easter_eggs.rb +0 -112
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/edit.rb +0 -195
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/edit/exception_patcher.rb +0 -25
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/edit/file_and_line_locator.rb +0 -36
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/exit.rb +0 -42
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/exit_all.rb +0 -29
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/exit_program.rb +0 -23
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/find_method.rb +0 -193
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/fix_indent.rb +0 -19
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/gem_cd.rb +0 -26
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/gem_install.rb +0 -32
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/gem_list.rb +0 -33
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/gem_open.rb +0 -29
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/gist.rb +0 -101
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/help.rb +0 -164
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/hist.rb +0 -180
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/import_set.rb +0 -22
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/install_command.rb +0 -53
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/jump_to.rb +0 -29
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/list_inspectors.rb +0 -35
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/list_prompts.rb +0 -35
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls.rb +0 -114
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/constants.rb +0 -47
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/formatter.rb +0 -49
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/globals.rb +0 -48
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/grep.rb +0 -21
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/instance_vars.rb +0 -39
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/interrogatable.rb +0 -18
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/jruby_hacks.rb +0 -49
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/local_names.rb +0 -35
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/local_vars.rb +0 -39
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/ls_entity.rb +0 -70
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/methods.rb +0 -57
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/methods_helper.rb +0 -46
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/self_methods.rb +0 -32
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/nesting.rb +0 -25
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/play.rb +0 -103
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/pry_backtrace.rb +0 -25
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/pry_version.rb +0 -17
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/raise_up.rb +0 -32
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/reload_code.rb +0 -62
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/reset.rb +0 -18
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ri.rb +0 -60
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/save_file.rb +0 -61
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/shell_command.rb +0 -48
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/shell_mode.rb +0 -25
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/show_doc.rb +0 -83
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/show_info.rb +0 -201
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/show_input.rb +0 -17
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/show_source.rb +0 -50
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/simple_prompt.rb +0 -22
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/stat.rb +0 -40
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/switch_to.rb +0 -23
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/toggle_color.rb +0 -24
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/watch_expression.rb +0 -105
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/watch_expression/expression.rb +0 -38
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/whereami.rb +0 -196
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/wtf.rb +0 -57
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/config.rb +0 -24
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/config/behavior.rb +0 -139
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/config/convenience.rb +0 -25
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/config/default.rb +0 -161
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/core_extensions.rb +0 -131
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/editor.rb +0 -135
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/exceptions.rb +0 -78
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/helpers.rb +0 -5
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/helpers/base_helpers.rb +0 -113
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/helpers/command_helpers.rb +0 -156
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/helpers/documentation_helpers.rb +0 -75
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/helpers/options_helpers.rb +0 -27
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/helpers/table.rb +0 -109
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/helpers/text.rb +0 -107
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/history.rb +0 -127
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/history_array.rb +0 -121
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/hooks.rb +0 -230
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/indent.rb +0 -406
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/input_completer.rb +0 -242
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/input_lock.rb +0 -132
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/inspector.rb +0 -27
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/last_exception.rb +0 -61
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/method.rb +0 -546
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/method/disowned.rb +0 -53
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/method/patcher.rb +0 -125
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/method/weird_method_locator.rb +0 -188
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/module_candidate.rb +0 -137
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/object_path.rb +0 -82
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/output.rb +0 -50
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/pager.rb +0 -239
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/plugins.rb +0 -103
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/prompt.rb +0 -26
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/pry_class.rb +0 -375
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/pry_instance.rb +0 -664
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/rbx_path.rb +0 -22
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/repl.rb +0 -202
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/repl_file_loader.rb +0 -74
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/rubygem.rb +0 -82
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/terminal.rb +0 -79
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/test/helper.rb +0 -170
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/version.rb +0 -3
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/wrapped_module.rb +0 -378
- data/vendor/bundle/gems/rake-10.5.0/.autotest +0 -7
- data/vendor/bundle/gems/rake-10.5.0/.rubocop.yml +0 -27
- data/vendor/bundle/gems/rake-10.5.0/.togglerc +0 -7
- data/vendor/bundle/gems/rake-10.5.0/CONTRIBUTING.rdoc +0 -38
- data/vendor/bundle/gems/rake-10.5.0/History.rdoc +0 -659
- data/vendor/bundle/gems/rake-10.5.0/MIT-LICENSE +0 -21
- data/vendor/bundle/gems/rake-10.5.0/Manifest.txt +0 -166
- data/vendor/bundle/gems/rake-10.5.0/README.rdoc +0 -139
- data/vendor/bundle/gems/rake-10.5.0/Rakefile +0 -81
- data/vendor/bundle/gems/rake-10.5.0/bin/rake +0 -33
- data/vendor/bundle/gems/rake-10.5.0/doc/command_line_usage.rdoc +0 -158
- data/vendor/bundle/gems/rake-10.5.0/doc/example/Rakefile1 +0 -38
- data/vendor/bundle/gems/rake-10.5.0/doc/example/Rakefile2 +0 -35
- data/vendor/bundle/gems/rake-10.5.0/doc/example/a.c +0 -6
- data/vendor/bundle/gems/rake-10.5.0/doc/example/b.c +0 -6
- data/vendor/bundle/gems/rake-10.5.0/doc/example/main.c +0 -11
- data/vendor/bundle/gems/rake-10.5.0/doc/glossary.rdoc +0 -42
- data/vendor/bundle/gems/rake-10.5.0/doc/jamis.rb +0 -591
- data/vendor/bundle/gems/rake-10.5.0/doc/proto_rake.rdoc +0 -127
- data/vendor/bundle/gems/rake-10.5.0/doc/rake.1 +0 -141
- data/vendor/bundle/gems/rake-10.5.0/doc/rakefile.rdoc +0 -624
- data/vendor/bundle/gems/rake-10.5.0/doc/rational.rdoc +0 -151
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.4.14.rdoc +0 -23
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.4.15.rdoc +0 -35
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.5.0.rdoc +0 -53
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.5.3.rdoc +0 -78
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.5.4.rdoc +0 -46
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.6.0.rdoc +0 -141
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.7.0.rdoc +0 -119
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.7.1.rdoc +0 -59
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.7.2.rdoc +0 -121
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.7.3.rdoc +0 -47
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.8.0.rdoc +0 -114
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.8.2.rdoc +0 -165
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.8.3.rdoc +0 -112
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.8.4.rdoc +0 -147
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.8.5.rdoc +0 -53
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.8.6.rdoc +0 -37
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.8.7.rdoc +0 -55
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.0.rdoc +0 -112
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.1.rdoc +0 -52
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.2.2.rdoc +0 -55
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.2.rdoc +0 -49
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.3.rdoc +0 -102
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.4.rdoc +0 -60
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.5.rdoc +0 -55
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.6.rdoc +0 -64
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-10.0.0.rdoc +0 -178
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-10.0.1.rdoc +0 -58
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-10.0.2.rdoc +0 -53
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-10.0.3.rdoc +0 -191
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-10.1.0.rdoc +0 -61
- data/vendor/bundle/gems/rake-10.5.0/lib/rake.rb +0 -79
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/alt_system.rb +0 -110
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/application.rb +0 -790
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/backtrace.rb +0 -23
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/clean.rb +0 -76
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/cloneable.rb +0 -16
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/contrib/.document +0 -1
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb +0 -21
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/contrib/ftptools.rb +0 -137
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/contrib/publisher.rb +0 -81
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/contrib/rubyforgepublisher.rb +0 -18
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/contrib/sshpublisher.rb +0 -61
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/contrib/sys.rb +0 -4
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/cpu_counter.rb +0 -125
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/default_loader.rb +0 -14
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/dsl_definition.rb +0 -201
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/early_time.rb +0 -21
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/ext/core.rb +0 -25
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/ext/module.rb +0 -2
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/ext/pathname.rb +0 -25
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/ext/string.rb +0 -175
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/ext/time.rb +0 -18
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/file_creation_task.rb +0 -24
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/file_list.rb +0 -428
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/file_task.rb +0 -46
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/file_utils.rb +0 -128
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/file_utils_ext.rb +0 -144
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/gempackagetask.rb +0 -4
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/invocation_chain.rb +0 -56
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/invocation_exception_mixin.rb +0 -16
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/late_time.rb +0 -17
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/linked_list.rb +0 -103
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/loaders/makefile.rb +0 -53
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/multi_task.rb +0 -13
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/name_space.rb +0 -38
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/packagetask.rb +0 -199
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/pathmap.rb +0 -3
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/phony.rb +0 -15
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/private_reader.rb +0 -20
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/promise.rb +0 -99
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/pseudo_status.rb +0 -29
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/rake_module.rb +0 -38
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/rake_test_loader.rb +0 -22
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/rdoctask.rb +0 -4
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/ruby182_test_unit_fix.rb +0 -29
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/rule_recursion_overflow_error.rb +0 -20
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/runtest.rb +0 -27
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/scope.rb +0 -42
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/task.rb +0 -383
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/task_argument_error.rb +0 -7
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/task_arguments.rb +0 -98
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/task_manager.rb +0 -307
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/tasklib.rb +0 -24
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/testtask.rb +0 -213
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/thread_history_display.rb +0 -48
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/thread_pool.rb +0 -164
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/trace_output.rb +0 -22
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/version.rb +0 -7
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/win32.rb +0 -56
- data/vendor/bundle/gems/rake-10.5.0/rakelib/publish.rake +0 -20
- data/vendor/bundle/gems/rake-10.5.0/rakelib/test_times.rake +0 -25
- data/vendor/bundle/gems/rake-10.5.0/test/file_creation.rb +0 -34
- data/vendor/bundle/gems/rake-10.5.0/test/helper.rb +0 -129
- data/vendor/bundle/gems/rake-10.5.0/test/support/rakefile_definitions.rb +0 -478
- data/vendor/bundle/gems/rake-10.5.0/test/support/ruby_runner.rb +0 -34
- data/vendor/bundle/gems/rake-10.5.0/test/test_private_reader.rb +0 -42
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake.rb +0 -40
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_application.rb +0 -643
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_application_options.rb +0 -468
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_backtrace.rb +0 -119
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_clean.rb +0 -61
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_cpu_counter.rb +0 -68
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_definitions.rb +0 -84
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_directory_task.rb +0 -76
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_dsl.rb +0 -40
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_early_time.rb +0 -31
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_extension.rb +0 -59
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_file_creation_task.rb +0 -56
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_file_list.rb +0 -670
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_file_list_path_map.rb +0 -8
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_file_task.rb +0 -197
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_file_utils.rb +0 -314
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_ftp_file.rb +0 -74
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_functional.rb +0 -482
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_invocation_chain.rb +0 -64
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_late_time.rb +0 -18
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_linked_list.rb +0 -84
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_makefile_loader.rb +0 -46
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_multi_task.rb +0 -64
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_name_space.rb +0 -57
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_package_task.rb +0 -79
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_path_map.rb +0 -168
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_path_map_explode.rb +0 -34
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_path_map_partial.rb +0 -18
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_pathname_extensions.rb +0 -15
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_pseudo_status.rb +0 -21
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_rake_test_loader.rb +0 -20
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_reduce_compat.rb +0 -26
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_require.rb +0 -40
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_rules.rb +0 -388
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_scope.rb +0 -44
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_task.rb +0 -393
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_task_argument_parsing.rb +0 -119
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_task_arguments.rb +0 -127
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_task_lib.rb +0 -9
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_task_manager.rb +0 -178
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_task_manager_argument_resolution.rb +0 -19
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_task_with_arguments.rb +0 -172
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_test_task.rb +0 -146
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_thread_pool.rb +0 -145
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_top_level_functions.rb +0 -71
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_win32.rb +0 -72
- data/vendor/bundle/gems/rake-10.5.0/test/test_thread_history_display.rb +0 -101
- data/vendor/bundle/gems/rake-10.5.0/test/test_trace_output.rb +0 -52
- data/vendor/bundle/gems/rspec-3.5.0/LICENSE.md +0 -27
- data/vendor/bundle/gems/rspec-3.5.0/README.md +0 -39
- data/vendor/bundle/gems/rspec-3.5.0/lib/rspec.rb +0 -3
- data/vendor/bundle/gems/rspec-3.5.0/lib/rspec/version.rb +0 -5
- data/vendor/bundle/gems/rspec-core-3.5.4/.document +0 -5
- data/vendor/bundle/gems/rspec-core-3.5.4/.yardopts +0 -8
- data/vendor/bundle/gems/rspec-core-3.5.4/Changelog.md +0 -2102
- data/vendor/bundle/gems/rspec-core-3.5.4/LICENSE.md +0 -26
- data/vendor/bundle/gems/rspec-core-3.5.4/README.md +0 -384
- data/vendor/bundle/gems/rspec-core-3.5.4/exe/rspec +0 -4
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/autorun.rb +0 -3
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core.rb +0 -185
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/backtrace_formatter.rb +0 -65
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/bisect/coordinator.rb +0 -66
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/bisect/example_minimizer.rb +0 -169
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/bisect/runner.rb +0 -169
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/bisect/server.rb +0 -65
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb +0 -2100
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/configuration_options.rb +0 -194
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/drb.rb +0 -111
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/dsl.rb +0 -98
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/example.rb +0 -649
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb +0 -879
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/example_status_persister.rb +0 -235
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/filter_manager.rb +0 -231
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/flat_map.rb +0 -20
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters.rb +0 -255
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/base_formatter.rb +0 -70
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/base_text_formatter.rb +0 -77
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/bisect_formatter.rb +0 -69
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/bisect_progress_formatter.rb +0 -144
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/console_codes.rb +0 -65
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/deprecation_formatter.rb +0 -223
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/documentation_formatter.rb +0 -69
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/exception_presenter.rb +0 -491
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/fallback_message_formatter.rb +0 -28
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/helpers.rb +0 -110
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/html_formatter.rb +0 -151
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/html_printer.rb +0 -414
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/html_snippet_extractor.rb +0 -116
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/json_formatter.rb +0 -96
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/profile_formatter.rb +0 -68
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/progress_formatter.rb +0 -28
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/protocol.rb +0 -181
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/snippet_extractor.rb +0 -136
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/hooks.rb +0 -624
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/invocations.rb +0 -67
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/memoized_helpers.rb +0 -532
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/metadata.rb +0 -499
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/metadata_filter.rb +0 -243
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/minitest_assertions_adapter.rb +0 -31
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/mocking_adapters/flexmock.rb +0 -31
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/mocking_adapters/mocha.rb +0 -57
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/mocking_adapters/null.rb +0 -14
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/mocking_adapters/rr.rb +0 -31
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/mocking_adapters/rspec.rb +0 -32
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/notifications.rb +0 -498
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/option_parser.rb +0 -289
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/ordering.rb +0 -158
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/pending.rb +0 -165
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/profiler.rb +0 -32
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/project_initializer.rb +0 -48
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/project_initializer/.rspec +0 -2
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/project_initializer/spec/spec_helper.rb +0 -103
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/rake_task.rb +0 -168
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/reporter.rb +0 -248
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/ruby_project.rb +0 -53
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb +0 -188
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/sandbox.rb +0 -37
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/set.rb +0 -49
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/shared_context.rb +0 -55
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/shared_example_group.rb +0 -247
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/shell_escape.rb +0 -49
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/source.rb +0 -86
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/source/location.rb +0 -13
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/source/node.rb +0 -93
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/source/syntax_highlighter.rb +0 -71
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/source/token.rb +0 -87
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/test_unit_assertions_adapter.rb +0 -30
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/version.rb +0 -9
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/warnings.rb +0 -40
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/world.rb +0 -256
- data/vendor/bundle/gems/rspec-expectations-3.5.0/.document +0 -5
- data/vendor/bundle/gems/rspec-expectations-3.5.0/.yardopts +0 -6
- data/vendor/bundle/gems/rspec-expectations-3.5.0/Changelog.md +0 -1034
- data/vendor/bundle/gems/rspec-expectations-3.5.0/LICENSE.md +0 -25
- data/vendor/bundle/gems/rspec-expectations-3.5.0/README.md +0 -303
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/expectations.rb +0 -81
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/expectations/configuration.rb +0 -201
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/expectations/expectation_target.rb +0 -127
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/expectations/fail_with.rb +0 -31
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/expectations/failure_aggregator.rb +0 -194
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/expectations/handler.rb +0 -170
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/expectations/minitest_integration.rb +0 -58
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/expectations/syntax.rb +0 -132
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/expectations/version.rb +0 -8
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers.rb +0 -1038
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/aliased_matcher.rb +0 -116
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in.rb +0 -52
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/all.rb +0 -85
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/base_matcher.rb +0 -181
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/be.rb +0 -288
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/be_between.rb +0 -77
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/be_instance_of.rb +0 -22
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/be_kind_of.rb +0 -16
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/be_within.rb +0 -72
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/change.rb +0 -354
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/compound.rb +0 -272
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/contain_exactly.rb +0 -286
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/cover.rb +0 -24
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/eq.rb +0 -40
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/eql.rb +0 -34
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/equal.rb +0 -81
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/exist.rb +0 -86
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/has.rb +0 -103
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/have_attributes.rb +0 -114
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/include.rb +0 -143
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/match.rb +0 -106
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/operators.rb +0 -128
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/output.rb +0 -200
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/raise_error.rb +0 -230
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/respond_to.rb +0 -165
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/satisfy.rb +0 -37
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/start_or_end_with.rb +0 -94
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/throw_symbol.rb +0 -132
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/yield.rb +0 -419
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/composable.rb +0 -185
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/dsl.rb +0 -466
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/english_phrasing.rb +0 -58
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +0 -73
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/fail_matchers.rb +0 -42
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/generated_descriptions.rb +0 -42
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/matcher_delegator.rb +0 -35
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/matcher_protocol.rb +0 -99
- data/vendor/bundle/gems/rspec-mocks-3.5.0/.document +0 -5
- data/vendor/bundle/gems/rspec-mocks-3.5.0/.yardopts +0 -6
- data/vendor/bundle/gems/rspec-mocks-3.5.0/Changelog.md +0 -1043
- data/vendor/bundle/gems/rspec-mocks-3.5.0/LICENSE.md +0 -25
- data/vendor/bundle/gems/rspec-mocks-3.5.0/README.md +0 -445
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks.rb +0 -130
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance.rb +0 -11
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/chain.rb +0 -110
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/error_generator.rb +0 -31
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -35
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -48
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/message_chains.rb +0 -83
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/proxy.rb +0 -116
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/recorder.rb +0 -289
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/stub_chain.rb +0 -47
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -28
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/argument_list_matcher.rb +0 -100
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/argument_matchers.rb +0 -320
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/configuration.rb +0 -205
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/error_generator.rb +0 -369
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/example_methods.rb +0 -422
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/instance_method_stasher.rb +0 -135
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/marshal_extension.rb +0 -41
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/matchers/expectation_customization.rb +0 -20
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/matchers/have_received.rb +0 -130
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/matchers/receive.rb +0 -132
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -82
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/matchers/receive_messages.rb +0 -77
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/message_chain.rb +0 -87
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/message_expectation.rb +0 -740
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/method_double.rb +0 -287
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/method_reference.rb +0 -202
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/minitest_integration.rb +0 -68
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/mutate_const.rb +0 -335
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/object_reference.rb +0 -149
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/order_group.rb +0 -81
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/proxy.rb +0 -489
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/space.rb +0 -238
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/standalone.rb +0 -3
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/syntax.rb +0 -325
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/targets.rb +0 -124
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/test_double.rb +0 -170
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/verifying_double.rb +0 -129
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/verifying_message_expectation.rb +0 -54
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/verifying_proxy.rb +0 -213
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/version.rb +0 -9
- data/vendor/bundle/gems/rspec-support-3.5.0/Changelog.md +0 -192
- data/vendor/bundle/gems/rspec-support-3.5.0/LICENSE.md +0 -23
- data/vendor/bundle/gems/rspec-support-3.5.0/README.md +0 -40
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support.rb +0 -139
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/caller_filter.rb +0 -83
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/comparable_version.rb +0 -46
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/differ.rb +0 -215
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/directory_maker.rb +0 -63
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/encoded_string.rb +0 -165
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/fuzzy_matcher.rb +0 -48
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/hunk_generator.rb +0 -47
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/matcher_definition.rb +0 -42
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/method_signature_verifier.rb +0 -392
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/mutex.rb +0 -73
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/object_formatter.rb +0 -249
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/recursive_const_methods.rb +0 -76
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/reentrant_mutex.rb +0 -53
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/ruby_features.rb +0 -149
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec.rb +0 -81
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec/deprecation_helpers.rb +0 -64
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec/formatting_support.rb +0 -9
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec/in_sub_process.rb +0 -52
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec/library_wide_checks.rb +0 -150
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec/shell_out.rb +0 -82
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec/stderr_splitter.rb +0 -63
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec/string_matcher.rb +0 -46
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec/with_isolated_directory.rb +0 -13
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec/with_isolated_stderr.rb +0 -13
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/version.rb +0 -7
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/warnings.rb +0 -39
- data/vendor/bundle/gems/slop-3.6.0/.gitignore +0 -7
- data/vendor/bundle/gems/slop-3.6.0/.travis.yml +0 -9
- data/vendor/bundle/gems/slop-3.6.0/CHANGES.md +0 -309
- data/vendor/bundle/gems/slop-3.6.0/Gemfile +0 -3
- data/vendor/bundle/gems/slop-3.6.0/LICENSE +0 -20
- data/vendor/bundle/gems/slop-3.6.0/README.md +0 -202
- data/vendor/bundle/gems/slop-3.6.0/Rakefile +0 -29
- data/vendor/bundle/gems/slop-3.6.0/lib/slop.rb +0 -687
- data/vendor/bundle/gems/slop-3.6.0/lib/slop/commands.rb +0 -196
- data/vendor/bundle/gems/slop-3.6.0/lib/slop/option.rb +0 -214
- data/vendor/bundle/gems/slop-3.6.0/slop.gemspec +0 -17
- data/vendor/bundle/gems/slop-3.6.0/test/commands_test.rb +0 -26
- data/vendor/bundle/gems/slop-3.6.0/test/helper.rb +0 -12
- data/vendor/bundle/gems/slop-3.6.0/test/option_test.rb +0 -145
- data/vendor/bundle/gems/slop-3.6.0/test/slop_test.rb +0 -518
- data/vendor/bundle/gems/thread_safe-0.3.6/.rspec +0 -2
- data/vendor/bundle/gems/thread_safe-0.3.6/.travis.yml +0 -46
- data/vendor/bundle/gems/thread_safe-0.3.6/.yardopts +0 -13
- data/vendor/bundle/gems/thread_safe-0.3.6/Gemfile +0 -20
- data/vendor/bundle/gems/thread_safe-0.3.6/LICENSE +0 -144
- data/vendor/bundle/gems/thread_safe-0.3.6/README.md +0 -60
- data/vendor/bundle/gems/thread_safe-0.3.6/Rakefile +0 -62
- data/vendor/bundle/gems/thread_safe-0.3.6/examples/bench_cache.rb +0 -35
- data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/JRubyCacheBackendLibrary.java +0 -245
- data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMap.java +0 -31
- data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMapV8.java +0 -3863
- data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/LongAdder.java +0 -203
- data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/Striped64.java +0 -342
- data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/ConcurrentHashMapV8.java +0 -3800
- data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/LongAdder.java +0 -204
- data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/Striped64.java +0 -291
- data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166y/ThreadLocalRandom.java +0 -199
- data/vendor/bundle/gems/thread_safe-0.3.6/ext/thread_safe/JrubyCacheBackendService.java +0 -15
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe.rb +0 -65
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/atomic_reference_cache_backend.rb +0 -908
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/cache.rb +0 -161
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/mri_cache_backend.rb +0 -60
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/non_concurrent_cache_backend.rb +0 -135
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/synchronized_cache_backend.rb +0 -77
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/synchronized_delegator.rb +0 -43
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util.rb +0 -16
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/adder.rb +0 -62
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/atomic_reference.rb +0 -44
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/cheap_lockable.rb +0 -106
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/power_of_two_tuple.rb +0 -26
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/striped64.rb +0 -222
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/volatile.rb +0 -64
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/volatile_tuple.rb +0 -46
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/xor_shift_random.rb +0 -41
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/version.rb +0 -21
- data/vendor/bundle/gems/thread_safe-0.3.6/spec/.gitignore +0 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/spec/spec_helper.rb +0 -31
- data/vendor/bundle/gems/thread_safe-0.3.6/spec/src/thread_safe/SecurityManager.java +0 -21
- data/vendor/bundle/gems/thread_safe-0.3.6/spec/support/.gitignore +0 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/spec/support/threads.rb +0 -1
- data/vendor/bundle/gems/thread_safe-0.3.6/spec/support/threadsafe_test.rb +0 -75
- data/vendor/bundle/gems/thread_safe-0.3.6/spec/thread_safe/.gitignore +0 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/spec/thread_safe/array_spec.rb +0 -18
- data/vendor/bundle/gems/thread_safe-0.3.6/spec/thread_safe/cache_loops_spec.rb +0 -507
- data/vendor/bundle/gems/thread_safe-0.3.6/spec/thread_safe/cache_spec.rb +0 -943
- data/vendor/bundle/gems/thread_safe-0.3.6/spec/thread_safe/hash_spec.rb +0 -17
- data/vendor/bundle/gems/thread_safe-0.3.6/spec/thread_safe/no_unsafe_spec.rb +0 -27
- data/vendor/bundle/gems/thread_safe-0.3.6/spec/thread_safe/synchronized_delegator_spec.rb +0 -85
- data/vendor/bundle/gems/thread_safe-0.3.6/tasks/update_doc.rake +0 -45
- data/vendor/bundle/gems/thread_safe-0.3.6/thread_safe.gemspec +0 -26
- data/vendor/bundle/gems/thread_safe-0.3.6/yard-template/default/fulldoc/html/css/common.css +0 -125
- data/vendor/bundle/gems/thread_safe-0.3.6/yard-template/default/layout/html/footer.erb +0 -16
- data/vendor/bundle/gems/tzinfo-1.2.2/.yardopts +0 -6
- data/vendor/bundle/gems/tzinfo-1.2.2/CHANGES.md +0 -649
- data/vendor/bundle/gems/tzinfo-1.2.2/LICENSE +0 -19
- data/vendor/bundle/gems/tzinfo-1.2.2/README.md +0 -151
- data/vendor/bundle/gems/tzinfo-1.2.2/Rakefile +0 -104
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo.rb +0 -40
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/country.rb +0 -196
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/country_index_definition.rb +0 -31
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/country_info.rb +0 -42
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/country_timezone.rb +0 -123
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/data_source.rb +0 -190
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/data_timezone.rb +0 -58
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/data_timezone_info.rb +0 -55
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/info_timezone.rb +0 -30
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/linked_timezone.rb +0 -63
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/linked_timezone_info.rb +0 -26
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/offset_rationals.rb +0 -77
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/ruby_core_support.rb +0 -146
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/ruby_country_info.rb +0 -70
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/ruby_data_source.rb +0 -136
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/time_or_datetime.rb +0 -333
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/timezone.rb +0 -637
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/timezone_definition.rb +0 -36
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/timezone_index_definition.rb +0 -54
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/timezone_info.rb +0 -30
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/timezone_offset.rb +0 -74
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/timezone_period.rb +0 -204
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/timezone_proxy.rb +0 -70
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/timezone_transition.rb +0 -120
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/timezone_transition_definition.rb +0 -101
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/transition_data_timezone_info.rb +0 -274
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/zoneinfo_country_info.rb +0 -35
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/zoneinfo_data_source.rb +0 -487
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/zoneinfo_timezone_info.rb +0 -245
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_country.rb +0 -236
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_country_index_definition.rb +0 -69
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_country_info.rb +0 -16
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_country_timezone.rb +0 -161
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_data_source.rb +0 -218
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_data_timezone.rb +0 -99
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_data_timezone_info.rb +0 -18
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_info_timezone.rb +0 -34
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_linked_timezone.rb +0 -155
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_linked_timezone_info.rb +0 -23
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_offset_rationals.rb +0 -23
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_ruby_core_support.rb +0 -168
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_ruby_country_info.rb +0 -80
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_ruby_data_source.rb +0 -143
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_time_or_datetime.rb +0 -639
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone.rb +0 -1334
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_definition.rb +0 -113
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_index_definition.rb +0 -73
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_info.rb +0 -11
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_london.rb +0 -143
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_melbourne.rb +0 -142
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_new_york.rb +0 -142
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_offset.rb +0 -126
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_period.rb +0 -548
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_proxy.rb +0 -113
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_transition.rb +0 -352
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_transition_definition.rb +0 -284
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_utc.rb +0 -27
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_transition_data_timezone_info.rb +0 -423
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_zoneinfo_country_info.rb +0 -64
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_zoneinfo_data_source.rb +0 -1122
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_zoneinfo_timezone_info.rb +0 -814
- data/vendor/bundle/gems/tzinfo-1.2.2/test/test_utils.rb +0 -132
- data/vendor/bundle/gems/tzinfo-1.2.2/test/ts_all.rb +0 -7
- data/vendor/bundle/gems/tzinfo-1.2.2/test/ts_all_ruby.rb +0 -5
- data/vendor/bundle/gems/tzinfo-1.2.2/test/ts_all_zoneinfo.rb +0 -7
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data.rb +0 -8
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/America/Argentina/Buenos_Aires.rb +0 -89
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/America/New_York.rb +0 -315
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Australia/Melbourne.rb +0 -218
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/EST.rb +0 -19
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__m__1.rb +0 -21
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__p__1.rb +0 -21
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Etc/UTC.rb +0 -21
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Europe/Amsterdam.rb +0 -261
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Europe/Andorra.rb +0 -186
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Europe/London.rb +0 -321
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Europe/Paris.rb +0 -265
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Europe/Prague.rb +0 -220
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/UTC.rb +0 -16
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/indexes/countries.rb +0 -927
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/indexes/timezones.rb +0 -596
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/version.rb +0 -14
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/America/Argentina/Buenos_Aires +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/America/New_York +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/Australia/Melbourne +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/EST +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/Etc/UTC +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/Europe/Amsterdam +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/Europe/Andorra +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/Europe/London +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/Europe/Paris +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/Europe/Prague +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/Factory +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/iso3166.tab +0 -275
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/posix/Europe/London +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/posixrules +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/right/Europe/London +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/zone.tab +0 -439
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/zone1970.tab +0 -369
- data/vendor/bundle/gems/tzinfo-1.2.2/tzinfo.gemspec +0 -21
- data/vendor/bundle/specifications/activesupport-5.0.2.gemspec +0 -43
- data/vendor/bundle/specifications/coderay-1.1.1.gemspec +0 -26
- data/vendor/bundle/specifications/concurrent-ruby-1.0.5.gemspec +0 -23
- data/vendor/bundle/specifications/diff-lcs-1.3.gemspec +0 -61
- data/vendor/bundle/specifications/i18n-0.8.1.gemspec +0 -22
- data/vendor/bundle/specifications/method_source-0.8.2.gemspec +0 -34
- data/vendor/bundle/specifications/minitest-5.10.1.gemspec +0 -39
- data/vendor/bundle/specifications/pry-0.10.4.gemspec +0 -43
- data/vendor/bundle/specifications/rake-10.5.0.gemspec +0 -43
- data/vendor/bundle/specifications/rspec-3.5.0.gemspec +0 -42
- data/vendor/bundle/specifications/rspec-core-3.5.4.gemspec +0 -62
- data/vendor/bundle/specifications/rspec-expectations-3.5.0.gemspec +0 -50
- data/vendor/bundle/specifications/rspec-mocks-3.5.0.gemspec +0 -50
- data/vendor/bundle/specifications/rspec-support-3.5.0.gemspec +0 -41
- data/vendor/bundle/specifications/slop-3.6.0.gemspec +0 -36
- data/vendor/bundle/specifications/thread_safe-0.3.6.gemspec +0 -38
- data/vendor/bundle/specifications/tzinfo-1.2.2.gemspec +0 -37
@@ -1,1334 +0,0 @@
|
|
1
|
-
require File.join(File.expand_path(File.dirname(__FILE__)), 'test_utils')
|
2
|
-
|
3
|
-
include TZInfo
|
4
|
-
|
5
|
-
class TCTimezone < Minitest::Test
|
6
|
-
|
7
|
-
class BlockCalled < StandardError
|
8
|
-
end
|
9
|
-
|
10
|
-
class TestTimezone < Timezone
|
11
|
-
def self.new(identifier, period_for_utc = nil, periods_for_local = nil, expected = nil)
|
12
|
-
t = super()
|
13
|
-
t.send(:setup, identifier, period_for_utc, periods_for_local, expected)
|
14
|
-
t
|
15
|
-
end
|
16
|
-
|
17
|
-
def identifier
|
18
|
-
@identifier
|
19
|
-
end
|
20
|
-
|
21
|
-
def period_for_utc(utc)
|
22
|
-
utc = TimeOrDateTime.wrap(utc)
|
23
|
-
raise "Unexpected utc #{utc} in period_for_utc" unless @expected.eql?(utc)
|
24
|
-
@period_for_utc
|
25
|
-
end
|
26
|
-
|
27
|
-
def periods_for_local(local)
|
28
|
-
local = TimeOrDateTime.wrap(local)
|
29
|
-
raise "Unexpected local #{local} in periods_for_local" unless @expected.eql?(local)
|
30
|
-
@periods_for_local.clone
|
31
|
-
end
|
32
|
-
|
33
|
-
def transitions_up_to(utc_to, utc_from = nil)
|
34
|
-
raise 'transitions_up_to called'
|
35
|
-
end
|
36
|
-
|
37
|
-
private
|
38
|
-
def setup(identifier, period_for_utc, periods_for_local, expected)
|
39
|
-
@identifier = identifier
|
40
|
-
@period_for_utc = period_for_utc
|
41
|
-
@periods_for_local = periods_for_local || []
|
42
|
-
@expected = TimeOrDateTime.wrap(expected)
|
43
|
-
end
|
44
|
-
end
|
45
|
-
|
46
|
-
class OffsetsUpToTestTimezone < Timezone
|
47
|
-
def self.new(identifier, expected_utc_to, expected_utc_from, transitions_up_to)
|
48
|
-
t = super()
|
49
|
-
t.send(:setup, identifier, expected_utc_to, expected_utc_from, transitions_up_to)
|
50
|
-
t
|
51
|
-
end
|
52
|
-
|
53
|
-
def identifier
|
54
|
-
@identifier
|
55
|
-
end
|
56
|
-
|
57
|
-
def period_for_utc(utc)
|
58
|
-
raise 'period_for_utc called'
|
59
|
-
end
|
60
|
-
|
61
|
-
def periods_for_local(local)
|
62
|
-
raise 'periods_for_local called'
|
63
|
-
end
|
64
|
-
|
65
|
-
def transitions_up_to(utc_to, utc_from = nil)
|
66
|
-
utc_to = TimeOrDateTime.wrap(utc_to)
|
67
|
-
raise "Unexpected utc_to #{utc_to || 'nil'} in transitions_up_to" unless @expected_utc_to.eql?(utc_to)
|
68
|
-
|
69
|
-
utc_from = utc_from ? TimeOrDateTime.wrap(utc_from) : nil
|
70
|
-
raise "Unexpected utc_from #{utc_from || 'nil'} in transitions_up_to" unless @expected_utc_from.eql?(utc_from)
|
71
|
-
|
72
|
-
if utc_from && utc_to <= utc_from
|
73
|
-
raise ArgumentError, 'utc_to must be greater than utc_from'
|
74
|
-
end
|
75
|
-
|
76
|
-
@transitions_up_to
|
77
|
-
end
|
78
|
-
|
79
|
-
private
|
80
|
-
|
81
|
-
def setup(identifier, expected_utc_to, expected_utc_from, transitions_up_to)
|
82
|
-
@identifier = identifier
|
83
|
-
@expected_utc_to = TimeOrDateTime.wrap(expected_utc_to)
|
84
|
-
@expected_utc_from = expected_utc_from ? TimeOrDateTime.wrap(expected_utc_from) : nil
|
85
|
-
@transitions_up_to = transitions_up_to
|
86
|
-
end
|
87
|
-
end
|
88
|
-
|
89
|
-
class OffsetsUpToNoTransitionsTestTimezone < Timezone
|
90
|
-
def self.new(identifier, expected_utc_to, expected_utc_from, period_for_utc)
|
91
|
-
t = super()
|
92
|
-
t.send(:setup, identifier, expected_utc_to, expected_utc_from, period_for_utc)
|
93
|
-
t
|
94
|
-
end
|
95
|
-
|
96
|
-
def identifier
|
97
|
-
@identifier
|
98
|
-
end
|
99
|
-
|
100
|
-
def period_for_utc(utc)
|
101
|
-
utc = TimeOrDateTime.wrap(utc)
|
102
|
-
|
103
|
-
raise "Unexpected utc #{utc} in period_for_utc (should be utc_from)" if @expected_utc_from && !@expected_utc_from.eql?(utc)
|
104
|
-
raise "Unexpected utc #{utc} in period_for_utc (should be < utc_to)" if !@expected_utc_from && @expected_utc_to <= utc
|
105
|
-
|
106
|
-
@period_for_utc
|
107
|
-
end
|
108
|
-
|
109
|
-
def periods_for_local(local)
|
110
|
-
raise 'periods_for_local called'
|
111
|
-
end
|
112
|
-
|
113
|
-
def transitions_up_to(utc_to, utc_from = nil)
|
114
|
-
utc_to = TimeOrDateTime.wrap(utc_to)
|
115
|
-
raise "Unexpected utc_to #{utc_to || 'nil'} in transitions_up_to" unless @expected_utc_to.eql?(utc_to)
|
116
|
-
|
117
|
-
utc_from = utc_from ? TimeOrDateTime.wrap(utc_from) : nil
|
118
|
-
raise "Unexpected utc_from #{utc_from || 'nil'} in transitions_up_to" unless @expected_utc_from.eql?(utc_from)
|
119
|
-
|
120
|
-
if utc_from && utc_to <= utc_from
|
121
|
-
raise ArgumentError, 'utc_to must be greater than utc_from'
|
122
|
-
end
|
123
|
-
|
124
|
-
[]
|
125
|
-
end
|
126
|
-
|
127
|
-
private
|
128
|
-
|
129
|
-
def setup(identifier, expected_utc_to, expected_utc_from, period_for_utc)
|
130
|
-
@identifier = identifier
|
131
|
-
@expected_utc_to = TimeOrDateTime.wrap(expected_utc_to)
|
132
|
-
@expected_utc_from = expected_utc_from ? TimeOrDateTime.wrap(expected_utc_from) : nil
|
133
|
-
@period_for_utc = period_for_utc
|
134
|
-
end
|
135
|
-
end
|
136
|
-
|
137
|
-
class TestTimezoneTransition < TimezoneTransition
|
138
|
-
def initialize(offset, previous_offset, at)
|
139
|
-
super(offset, previous_offset)
|
140
|
-
@at = TimeOrDateTime.wrap(at)
|
141
|
-
end
|
142
|
-
|
143
|
-
def at
|
144
|
-
@at
|
145
|
-
end
|
146
|
-
end
|
147
|
-
|
148
|
-
def setup
|
149
|
-
@orig_default_dst = Timezone.default_dst
|
150
|
-
@orig_data_source = DataSource.get
|
151
|
-
Timezone.send :init_loaded_zones
|
152
|
-
end
|
153
|
-
|
154
|
-
def teardown
|
155
|
-
Timezone.default_dst = @orig_default_dst
|
156
|
-
DataSource.set(@orig_data_source)
|
157
|
-
end
|
158
|
-
|
159
|
-
def test_default_dst_initial_value
|
160
|
-
assert_nil(Timezone.default_dst)
|
161
|
-
end
|
162
|
-
|
163
|
-
def test_set_default_dst
|
164
|
-
Timezone.default_dst = true
|
165
|
-
assert_equal(true, Timezone.default_dst)
|
166
|
-
Timezone.default_dst = false
|
167
|
-
assert_equal(false, Timezone.default_dst)
|
168
|
-
Timezone.default_dst = nil
|
169
|
-
assert_nil(Timezone.default_dst)
|
170
|
-
Timezone.default_dst = 0
|
171
|
-
assert_equal(true, Timezone.default_dst)
|
172
|
-
end
|
173
|
-
|
174
|
-
def test_get_valid_1
|
175
|
-
tz = Timezone.get('Europe/London')
|
176
|
-
|
177
|
-
assert_kind_of(DataTimezone, tz)
|
178
|
-
assert_equal('Europe/London', tz.identifier)
|
179
|
-
end
|
180
|
-
|
181
|
-
def test_get_valid_2
|
182
|
-
tz = Timezone.get('UTC')
|
183
|
-
|
184
|
-
# ZoneinfoDataSource doesn't return LinkedTimezoneInfo for any timezone.
|
185
|
-
if DataSource.get.load_timezone_info('UTC').kind_of?(LinkedTimezoneInfo)
|
186
|
-
assert_kind_of(LinkedTimezone, tz)
|
187
|
-
else
|
188
|
-
assert_kind_of(DataTimezone, tz)
|
189
|
-
end
|
190
|
-
|
191
|
-
assert_equal('UTC', tz.identifier)
|
192
|
-
end
|
193
|
-
|
194
|
-
def test_get_valid_3
|
195
|
-
tz = Timezone.get('America/Argentina/Buenos_Aires')
|
196
|
-
|
197
|
-
assert_kind_of(DataTimezone, tz)
|
198
|
-
assert_equal('America/Argentina/Buenos_Aires', tz.identifier)
|
199
|
-
end
|
200
|
-
|
201
|
-
def test_get_same_instance
|
202
|
-
tz1 = Timezone.get('Europe/London')
|
203
|
-
tz2 = Timezone.get('Europe/London')
|
204
|
-
assert_same(tz1, tz2)
|
205
|
-
end
|
206
|
-
|
207
|
-
def test_get_not_exist
|
208
|
-
assert_raises(InvalidTimezoneIdentifier) { Timezone.get('Nowhere/Special') }
|
209
|
-
end
|
210
|
-
|
211
|
-
def test_get_invalid
|
212
|
-
assert_raises(InvalidTimezoneIdentifier) { Timezone.get('../Definitions/UTC') }
|
213
|
-
end
|
214
|
-
|
215
|
-
def test_get_nil
|
216
|
-
assert_raises(InvalidTimezoneIdentifier) { Timezone.get(nil) }
|
217
|
-
end
|
218
|
-
|
219
|
-
def test_get_case
|
220
|
-
Timezone.get('Europe/Prague')
|
221
|
-
assert_raises(InvalidTimezoneIdentifier) { Timezone.get('Europe/prague') }
|
222
|
-
end
|
223
|
-
|
224
|
-
def test_get_proxy_valid
|
225
|
-
proxy = Timezone.get_proxy('Europe/London')
|
226
|
-
assert_kind_of(TimezoneProxy, proxy)
|
227
|
-
assert_equal('Europe/London', proxy.identifier)
|
228
|
-
end
|
229
|
-
|
230
|
-
def test_get_proxy_not_exist
|
231
|
-
proxy = Timezone.get_proxy('Not/There')
|
232
|
-
assert_kind_of(TimezoneProxy, proxy)
|
233
|
-
assert_equal('Not/There', proxy.identifier)
|
234
|
-
end
|
235
|
-
|
236
|
-
def test_get_proxy_invalid
|
237
|
-
proxy = Timezone.get_proxy('../Invalid/Identifier')
|
238
|
-
assert_kind_of(TimezoneProxy, proxy)
|
239
|
-
assert_equal('../Invalid/Identifier', proxy.identifier)
|
240
|
-
end
|
241
|
-
|
242
|
-
def test_get_tainted_loaded
|
243
|
-
Timezone.get('Europe/Andorra')
|
244
|
-
|
245
|
-
safe_test do
|
246
|
-
identifier = 'Europe/Andorra'.taint
|
247
|
-
assert(identifier.tainted?)
|
248
|
-
tz = Timezone.get(identifier)
|
249
|
-
assert_equal('Europe/Andorra', tz.identifier)
|
250
|
-
assert(identifier.tainted?)
|
251
|
-
end
|
252
|
-
end
|
253
|
-
|
254
|
-
def test_get_tainted_and_frozen_loaded
|
255
|
-
Timezone.get('Europe/Andorra')
|
256
|
-
|
257
|
-
safe_test do
|
258
|
-
tz = Timezone.get('Europe/Andorra'.taint.freeze)
|
259
|
-
assert_equal('Europe/Andorra', tz.identifier)
|
260
|
-
end
|
261
|
-
end
|
262
|
-
|
263
|
-
def test_get_tainted_not_previously_loaded
|
264
|
-
safe_test do
|
265
|
-
identifier = 'Europe/Andorra'.taint
|
266
|
-
assert(identifier.tainted?)
|
267
|
-
tz = Timezone.get(identifier)
|
268
|
-
assert_equal('Europe/Andorra', tz.identifier)
|
269
|
-
assert(identifier.tainted?)
|
270
|
-
end
|
271
|
-
end
|
272
|
-
|
273
|
-
def test_get_tainted_and_frozen_not_previously_loaded
|
274
|
-
safe_test do
|
275
|
-
tz = Timezone.get('Europe/Amsterdam'.taint.freeze)
|
276
|
-
assert_equal('Europe/Amsterdam', tz.identifier)
|
277
|
-
end
|
278
|
-
end
|
279
|
-
|
280
|
-
def test_new_no_args
|
281
|
-
tz = Timezone.new
|
282
|
-
|
283
|
-
assert_raises(UnknownTimezone) { tz.identifier }
|
284
|
-
assert_raises(UnknownTimezone) { tz.friendly_identifier }
|
285
|
-
assert_raises(UnknownTimezone) { tz.utc_to_local(DateTime.new(2006,1,1,1,0,0)) }
|
286
|
-
assert_raises(UnknownTimezone) { tz.local_to_utc(DateTime.new(2006,1,1,1,0,0)) }
|
287
|
-
assert_raises(UnknownTimezone) { tz.period_for_utc(DateTime.new(2006,1,1,1,0,0)) }
|
288
|
-
assert_raises(UnknownTimezone) { tz.periods_for_local(DateTime.new(2006,1,1,1,0,0)) }
|
289
|
-
assert_raises(UnknownTimezone) { tz.period_for_local(DateTime.new(2006,1,1,1,0,0)) }
|
290
|
-
assert_raises(UnknownTimezone) { tz.now }
|
291
|
-
assert_raises(UnknownTimezone) { tz.current_period_and_time }
|
292
|
-
assert_raises(UnknownTimezone) { tz.transitions_up_to(DateTime.new(2006,1,1,1,0,0)) }
|
293
|
-
assert_raises(UnknownTimezone) { tz.canonical_identifier }
|
294
|
-
assert_raises(UnknownTimezone) { tz.canonical_zone }
|
295
|
-
end
|
296
|
-
|
297
|
-
def test_new_nil
|
298
|
-
tz = Timezone.new(nil)
|
299
|
-
|
300
|
-
assert_raises(UnknownTimezone) { tz.identifier }
|
301
|
-
assert_raises(UnknownTimezone) { tz.friendly_identifier }
|
302
|
-
assert_raises(UnknownTimezone) { tz.utc_to_local(DateTime.new(2006,1,1,1,0,0)) }
|
303
|
-
assert_raises(UnknownTimezone) { tz.local_to_utc(DateTime.new(2006,1,1,1,0,0)) }
|
304
|
-
assert_raises(UnknownTimezone) { tz.period_for_utc(DateTime.new(2006,1,1,1,0,0)) }
|
305
|
-
assert_raises(UnknownTimezone) { tz.periods_for_local(DateTime.new(2006,1,1,1,0,0)) }
|
306
|
-
assert_raises(UnknownTimezone) { tz.period_for_local(DateTime.new(2006,1,1,1,0,0)) }
|
307
|
-
assert_raises(UnknownTimezone) { tz.now }
|
308
|
-
assert_raises(UnknownTimezone) { tz.current_period_and_time }
|
309
|
-
assert_raises(UnknownTimezone) { tz.transitions_up_to(DateTime.new(2006,1,1,1,0,0)) }
|
310
|
-
assert_raises(UnknownTimezone) { tz.canonical_identifier }
|
311
|
-
assert_raises(UnknownTimezone) { tz.canonical_zone }
|
312
|
-
end
|
313
|
-
|
314
|
-
def test_new_arg
|
315
|
-
tz = Timezone.new('Europe/London')
|
316
|
-
assert_same(Timezone.get('Europe/London'), tz)
|
317
|
-
end
|
318
|
-
|
319
|
-
def test_new_arg_not_exist
|
320
|
-
assert_raises(InvalidTimezoneIdentifier) { Timezone.new('Nowhere/Special') }
|
321
|
-
end
|
322
|
-
|
323
|
-
def test_all
|
324
|
-
all = Timezone.all
|
325
|
-
expected = DataSource.get.timezone_identifiers.collect {|identifier| Timezone.get_proxy(identifier)}
|
326
|
-
assert_equal(expected, all)
|
327
|
-
end
|
328
|
-
|
329
|
-
def test_all_identifiers
|
330
|
-
all = Timezone.all_identifiers
|
331
|
-
assert_equal(DataSource.get.timezone_identifiers, all)
|
332
|
-
end
|
333
|
-
|
334
|
-
def test_all_data_zones
|
335
|
-
all_data = Timezone.all_data_zones
|
336
|
-
expected = DataSource.get.data_timezone_identifiers.collect {|identifier| Timezone.get_proxy(identifier)}
|
337
|
-
assert_equal(expected, all_data)
|
338
|
-
end
|
339
|
-
|
340
|
-
def test_all_data_zone_identifiers
|
341
|
-
all_data = Timezone.all_data_zone_identifiers
|
342
|
-
assert_equal(DataSource.get.data_timezone_identifiers, all_data)
|
343
|
-
end
|
344
|
-
|
345
|
-
def test_all_linked_zones
|
346
|
-
all_linked = Timezone.all_linked_zones
|
347
|
-
expected = DataSource.get.linked_timezone_identifiers.collect {|identifier| Timezone.get_proxy(identifier)}
|
348
|
-
assert_equal(expected, all_linked)
|
349
|
-
end
|
350
|
-
|
351
|
-
def test_all_linked_zone_identifiers
|
352
|
-
all_linked = Timezone.all_linked_zone_identifiers
|
353
|
-
assert_equal(DataSource.get.linked_timezone_identifiers, all_linked)
|
354
|
-
end
|
355
|
-
|
356
|
-
def test_all_country_zones
|
357
|
-
# Probably should relax this test - just need all the zones, don't care
|
358
|
-
# about order.
|
359
|
-
expected = Country.all.inject([]) {|result,country|
|
360
|
-
result += country.zones
|
361
|
-
}
|
362
|
-
expected.uniq!
|
363
|
-
|
364
|
-
all_country_zones = Timezone.all_country_zones
|
365
|
-
assert_equal(expected, all_country_zones)
|
366
|
-
|
367
|
-
all_country_zone_identifiers = Timezone.all_country_zone_identifiers
|
368
|
-
assert_equal(all_country_zone_identifiers.length, all_country_zones.length)
|
369
|
-
|
370
|
-
all_country_zones.each {|zone|
|
371
|
-
assert_kind_of(TimezoneProxy, zone)
|
372
|
-
assert(all_country_zone_identifiers.include?(zone.identifier))
|
373
|
-
}
|
374
|
-
end
|
375
|
-
|
376
|
-
def test_all_country_zone_identifiers
|
377
|
-
# Probably should relax this test - just need all the zones, don't care
|
378
|
-
# about order.
|
379
|
-
expected = Country.all.inject([]) {|result,country|
|
380
|
-
result += country.zone_identifiers
|
381
|
-
}
|
382
|
-
expected.uniq!
|
383
|
-
|
384
|
-
assert_equal(expected, Timezone.all_country_zone_identifiers)
|
385
|
-
end
|
386
|
-
|
387
|
-
def test_us_zones
|
388
|
-
# Probably should relax this test - just need all the zones, don't care
|
389
|
-
# about order.
|
390
|
-
us_zones = Timezone.us_zones
|
391
|
-
assert_equal(Country.get('US').zones.uniq, us_zones)
|
392
|
-
|
393
|
-
us_zone_identifiers = Timezone.us_zone_identifiers
|
394
|
-
assert_equal(us_zone_identifiers.length, us_zones.length)
|
395
|
-
|
396
|
-
us_zones.each {|zone|
|
397
|
-
assert_kind_of(TimezoneProxy, zone)
|
398
|
-
assert(us_zone_identifiers.include?(zone.identifier))
|
399
|
-
}
|
400
|
-
end
|
401
|
-
|
402
|
-
def test_us_zone_identifiers
|
403
|
-
# Probably should relax this test - just need all the zones, don't care
|
404
|
-
# about order.
|
405
|
-
assert_equal(Country.get('US').zone_identifiers.uniq, Timezone.us_zone_identifiers)
|
406
|
-
end
|
407
|
-
|
408
|
-
def test_identifier
|
409
|
-
assert_raises(UnknownTimezone) { Timezone.new.identifier }
|
410
|
-
assert_equal('Europe/Paris', TestTimezone.new('Europe/Paris').identifier)
|
411
|
-
end
|
412
|
-
|
413
|
-
def test_name
|
414
|
-
assert_raises(UnknownTimezone) { Timezone.new.name }
|
415
|
-
assert_equal('Europe/Paris', TestTimezone.new('Europe/Paris').name)
|
416
|
-
end
|
417
|
-
|
418
|
-
def test_friendly_identifier
|
419
|
-
assert_equal('Paris', TestTimezone.new('Europe/Paris').friendly_identifier(true))
|
420
|
-
assert_equal('Europe - Paris', TestTimezone.new('Europe/Paris').friendly_identifier(false))
|
421
|
-
assert_equal('Europe - Paris', TestTimezone.new('Europe/Paris').friendly_identifier)
|
422
|
-
assert_equal('Knox, Indiana', TestTimezone.new('America/Indiana/Knox').friendly_identifier(true))
|
423
|
-
assert_equal('America - Knox, Indiana', TestTimezone.new('America/Indiana/Knox').friendly_identifier(false))
|
424
|
-
assert_equal('America - Knox, Indiana', TestTimezone.new('America/Indiana/Knox').friendly_identifier)
|
425
|
-
assert_equal('Dumont D\'Urville', TestTimezone.new('Antarctica/DumontDUrville').friendly_identifier(true))
|
426
|
-
assert_equal('Antarctica - Dumont D\'Urville', TestTimezone.new('Antarctica/DumontDUrville').friendly_identifier(false))
|
427
|
-
assert_equal('Antarctica - Dumont D\'Urville', TestTimezone.new('Antarctica/DumontDUrville').friendly_identifier)
|
428
|
-
assert_equal('McMurdo', TestTimezone.new('Antarctica/McMurdo').friendly_identifier(true))
|
429
|
-
assert_equal('Antarctica - McMurdo', TestTimezone.new('Antarctica/McMurdo').friendly_identifier(false))
|
430
|
-
assert_equal('Antarctica - McMurdo', TestTimezone.new('Antarctica/McMurdo').friendly_identifier)
|
431
|
-
assert_equal('GMT+1', TestTimezone.new('Etc/GMT+1').friendly_identifier(true))
|
432
|
-
assert_equal('Etc - GMT+1', TestTimezone.new('Etc/GMT+1').friendly_identifier(false))
|
433
|
-
assert_equal('Etc - GMT+1', TestTimezone.new('Etc/GMT+1').friendly_identifier)
|
434
|
-
assert_equal('UTC', TestTimezone.new('UTC').friendly_identifier(true))
|
435
|
-
assert_equal('UTC', TestTimezone.new('UTC').friendly_identifier(false))
|
436
|
-
assert_equal('UTC', TestTimezone.new('UTC').friendly_identifier)
|
437
|
-
end
|
438
|
-
|
439
|
-
def test_to_s
|
440
|
-
assert_equal('Europe - Paris', TestTimezone.new('Europe/Paris').to_s)
|
441
|
-
assert_equal('America - Knox, Indiana', TestTimezone.new('America/Indiana/Knox').to_s)
|
442
|
-
assert_equal('Antarctica - Dumont D\'Urville', TestTimezone.new('Antarctica/DumontDUrville').to_s)
|
443
|
-
assert_equal('Antarctica - McMurdo', TestTimezone.new('Antarctica/McMurdo').to_s)
|
444
|
-
assert_equal('Etc - GMT+1', TestTimezone.new('Etc/GMT+1').to_s)
|
445
|
-
assert_equal('UTC', TestTimezone.new('UTC').to_s)
|
446
|
-
end
|
447
|
-
|
448
|
-
def test_period_for_local
|
449
|
-
dt = DateTime.new(2005,2,18,16,24,23)
|
450
|
-
dt2 = DateTime.new(2005,2,18,16,24,23).new_offset(Rational(5,24))
|
451
|
-
dt3 = DateTime.new(2005,2,18,16,24,23 + Rational(789, 1000))
|
452
|
-
t = Time.utc(2005,2,18,16,24,23)
|
453
|
-
t2 = Time.local(2005,2,18,16,24,23)
|
454
|
-
t3 = Time.utc(2005,2,18,16,24,23,789000)
|
455
|
-
ts = t.to_i
|
456
|
-
|
457
|
-
o1 = TimezoneOffset.new(0, 0, :GMT)
|
458
|
-
o2 = TimezoneOffset.new(0, 3600, :BST)
|
459
|
-
|
460
|
-
period = TimezonePeriod.new(
|
461
|
-
TestTimezoneTransition.new(o1, o2, 1099184400),
|
462
|
-
TestTimezoneTransition.new(o2, o1, 1111885200))
|
463
|
-
|
464
|
-
dt_period = TestTimezone.new('Europe/London', nil, [period], dt).period_for_local(dt)
|
465
|
-
dt2_period = TestTimezone.new('Europe/London', nil, [period], dt2).period_for_local(dt2)
|
466
|
-
dt3_period = TestTimezone.new('Europe/London', nil, [period], dt3).period_for_local(dt3)
|
467
|
-
t_period = TestTimezone.new('Europe/London', nil, [period], t).period_for_local(t)
|
468
|
-
t2_period = TestTimezone.new('Europe/London', nil, [period], t2).period_for_local(t2)
|
469
|
-
t3_period = TestTimezone.new('Europe/London', nil, [period], t3).period_for_local(t3)
|
470
|
-
ts_period = TestTimezone.new('Europe/London', nil, [period], ts).period_for_local(ts)
|
471
|
-
|
472
|
-
assert_equal(period, dt_period)
|
473
|
-
assert_equal(period, dt2_period)
|
474
|
-
assert_equal(period, dt3_period)
|
475
|
-
assert_equal(period, t_period)
|
476
|
-
assert_equal(period, t2_period)
|
477
|
-
assert_equal(period, t3_period)
|
478
|
-
assert_equal(period, ts_period)
|
479
|
-
end
|
480
|
-
|
481
|
-
def test_period_for_local_invalid
|
482
|
-
dt = DateTime.new(2004,4,4,2,30,0)
|
483
|
-
tz = TestTimezone.new('America/New_York', nil, [], dt)
|
484
|
-
|
485
|
-
assert_raises(PeriodNotFound) do
|
486
|
-
tz.period_for_local(dt)
|
487
|
-
end
|
488
|
-
end
|
489
|
-
|
490
|
-
def test_period_for_local_ambiguous
|
491
|
-
o1 = TimezoneOffset.new(-18000, 0, :EST)
|
492
|
-
o2 = TimezoneOffset.new(-18000, 3600, :EDT)
|
493
|
-
|
494
|
-
t1 = TestTimezoneTransition.new(o2, o1, 1081062000)
|
495
|
-
t2 = TestTimezoneTransition.new(o1, o2, 1099202400)
|
496
|
-
t3 = TestTimezoneTransition.new(o2, o1, 1112511600)
|
497
|
-
|
498
|
-
p1 = TimezonePeriod.new(t1, t2)
|
499
|
-
p2 = TimezonePeriod.new(t2, t3)
|
500
|
-
|
501
|
-
dt = DateTime.new(2004,10,31,1,0,0)
|
502
|
-
dt2 = DateTime.new(2004,10,31,1,0,Rational(555,1000))
|
503
|
-
t = Time.utc(2004,10,31,1,30,0)
|
504
|
-
t2 = Time.utc(2004,10,31,1,30,0,555000)
|
505
|
-
i = Time.utc(2004,10,31,1,59,59).to_i
|
506
|
-
|
507
|
-
dt_tz = TestTimezone.new('America/New_York', nil, [p1, p2], dt)
|
508
|
-
dt2_tz = TestTimezone.new('America/New_York', nil, [p1, p2], dt2)
|
509
|
-
t_tz = TestTimezone.new('America/New_York', nil, [p1, p2], t)
|
510
|
-
t2_tz = TestTimezone.new('America/New_York', nil, [p1, p2], t2)
|
511
|
-
i_tz = TestTimezone.new('America/New_York', nil, [p1, p2], i)
|
512
|
-
|
513
|
-
assert_raises(AmbiguousTime) { dt_tz.period_for_local(dt) }
|
514
|
-
assert_raises(AmbiguousTime) { dt2_tz.period_for_local(dt2) }
|
515
|
-
assert_raises(AmbiguousTime) { t_tz.period_for_local(t) }
|
516
|
-
assert_raises(AmbiguousTime) { t2_tz.period_for_local(t2) }
|
517
|
-
assert_raises(AmbiguousTime) { i_tz.period_for_local(i) }
|
518
|
-
end
|
519
|
-
|
520
|
-
def test_period_for_local_not_found
|
521
|
-
dt = DateTime.new(2004,4,4,2,0,0)
|
522
|
-
dt2 = DateTime.new(2004,4,4,2,0,Rational(987,1000))
|
523
|
-
t = Time.utc(2004,4,4,2,30,0)
|
524
|
-
t2 = Time.utc(2004,4,4,2,30,0,987000)
|
525
|
-
i = Time.utc(2004,4,4,2,59,59).to_i
|
526
|
-
|
527
|
-
dt_tz = TestTimezone.new('America/New_York', nil, [], dt)
|
528
|
-
dt2_tz = TestTimezone.new('America/New_York', nil, [], dt2)
|
529
|
-
t_tz = TestTimezone.new('America/New_York', nil, [], t)
|
530
|
-
t2_tz = TestTimezone.new('America/New_York', nil, [], t2)
|
531
|
-
i_tz = TestTimezone.new('America/New_York', nil, [], i)
|
532
|
-
|
533
|
-
assert_raises(PeriodNotFound) { dt_tz.period_for_local(dt) }
|
534
|
-
assert_raises(PeriodNotFound) { dt2_tz.period_for_local(dt2) }
|
535
|
-
assert_raises(PeriodNotFound) { t_tz.period_for_local(t) }
|
536
|
-
assert_raises(PeriodNotFound) { t2_tz.period_for_local(t2) }
|
537
|
-
assert_raises(PeriodNotFound) { i_tz.period_for_local(i) }
|
538
|
-
end
|
539
|
-
|
540
|
-
def test_period_for_local_default_dst_set_true
|
541
|
-
Timezone.default_dst = true
|
542
|
-
|
543
|
-
o1 = TimezoneOffset.new(-18000, 0, :EST)
|
544
|
-
o2 = TimezoneOffset.new(-18000, 3600, :EDT)
|
545
|
-
|
546
|
-
t1 = TestTimezoneTransition.new(o2, o1, 1081062000)
|
547
|
-
t2 = TestTimezoneTransition.new(o1, o2, 1099202400)
|
548
|
-
t3 = TestTimezoneTransition.new(o2, o1, 1112511600)
|
549
|
-
|
550
|
-
p1 = TimezonePeriod.new(t1, t2)
|
551
|
-
p2 = TimezonePeriod.new(t2, t3)
|
552
|
-
|
553
|
-
dt = DateTime.new(2004,10,31,1,30,0)
|
554
|
-
|
555
|
-
tz = TestTimezone.new('America/New_York', nil, [p1, p2], dt)
|
556
|
-
|
557
|
-
assert_equal(p1, tz.period_for_local(dt))
|
558
|
-
assert_equal(p1, tz.period_for_local(dt, true))
|
559
|
-
assert_equal(p2, tz.period_for_local(dt, false))
|
560
|
-
assert_raises(AmbiguousTime) { tz.period_for_local(dt, nil) }
|
561
|
-
end
|
562
|
-
|
563
|
-
def test_period_for_local_default_dst_set_false
|
564
|
-
Timezone.default_dst = false
|
565
|
-
|
566
|
-
o1 = TimezoneOffset.new(-18000, 0, :EST)
|
567
|
-
o2 = TimezoneOffset.new(-18000, 3600, :EDT)
|
568
|
-
|
569
|
-
t1 = TestTimezoneTransition.new(o2, o1, 1081062000)
|
570
|
-
t2 = TestTimezoneTransition.new(o1, o2, 1099202400)
|
571
|
-
t3 = TestTimezoneTransition.new(o2, o1, 1112511600)
|
572
|
-
|
573
|
-
p1 = TimezonePeriod.new(t1, t2)
|
574
|
-
p2 = TimezonePeriod.new(t2, t3)
|
575
|
-
|
576
|
-
dt = DateTime.new(2004,10,31,1,30,0)
|
577
|
-
|
578
|
-
tz = TestTimezone.new('America/New_York', nil, [p1, p2], dt)
|
579
|
-
|
580
|
-
assert_equal(p2, tz.period_for_local(dt))
|
581
|
-
assert_equal(p1, tz.period_for_local(dt, true))
|
582
|
-
assert_equal(p2, tz.period_for_local(dt, false))
|
583
|
-
assert_raises(AmbiguousTime) { tz.period_for_local(dt, nil) }
|
584
|
-
end
|
585
|
-
|
586
|
-
def test_period_for_local_dst_flag_resolved
|
587
|
-
o1 = TimezoneOffset.new(-18000, 0, :EST)
|
588
|
-
o2 = TimezoneOffset.new(-18000, 3600, :EDT)
|
589
|
-
|
590
|
-
t1 = TestTimezoneTransition.new(o2, o1, 1081062000)
|
591
|
-
t2 = TestTimezoneTransition.new(o1, o2, 1099202400)
|
592
|
-
t3 = TestTimezoneTransition.new(o2, o1, 1112511600)
|
593
|
-
|
594
|
-
p1 = TimezonePeriod.new(t1, t2)
|
595
|
-
p2 = TimezonePeriod.new(t2, t3)
|
596
|
-
|
597
|
-
dt = DateTime.new(2004,10,31,1,30,0)
|
598
|
-
|
599
|
-
tz = TestTimezone.new('America/New_York', nil, [p1, p2], dt)
|
600
|
-
|
601
|
-
assert_equal(p1, tz.period_for_local(dt, true))
|
602
|
-
assert_equal(p2, tz.period_for_local(dt, false))
|
603
|
-
assert_equal(p1, tz.period_for_local(dt, true) {|periods| raise BlockCalled, 'should not be called' })
|
604
|
-
assert_equal(p2, tz.period_for_local(dt, false) {|periods| raise BlockCalled, 'should not be called' })
|
605
|
-
end
|
606
|
-
|
607
|
-
def test_period_for_local_dst_block_called
|
608
|
-
o1 = TimezoneOffset.new(-18000, 0, :EST)
|
609
|
-
o2 = TimezoneOffset.new(-18000, 3600, :EDT)
|
610
|
-
|
611
|
-
t1 = TestTimezoneTransition.new(o2, o1, 1081062000)
|
612
|
-
t2 = TestTimezoneTransition.new(o1, o2, 1099202400)
|
613
|
-
t3 = TestTimezoneTransition.new(o2, o1, 1112511600)
|
614
|
-
|
615
|
-
p1 = TimezonePeriod.new(t1, t2)
|
616
|
-
p2 = TimezonePeriod.new(t2, t3)
|
617
|
-
|
618
|
-
dt = DateTime.new(2004,10,31,1,30,0)
|
619
|
-
|
620
|
-
tz = TestTimezone.new('America/New_York', nil, [p1, p2], dt)
|
621
|
-
|
622
|
-
assert_raises(BlockCalled) {
|
623
|
-
tz.period_for_local(dt) {|periods|
|
624
|
-
assert_equal([p1, p2], periods)
|
625
|
-
|
626
|
-
# raise exception to test that the block was called
|
627
|
-
raise BlockCalled, 'should be raised'
|
628
|
-
}
|
629
|
-
}
|
630
|
-
|
631
|
-
assert_equal(p1, tz.period_for_local(dt) {|periods| periods.first})
|
632
|
-
assert_equal(p2, tz.period_for_local(dt) {|periods| periods.last})
|
633
|
-
assert_equal(p1, tz.period_for_local(dt) {|periods| [periods.first]})
|
634
|
-
assert_equal(p2, tz.period_for_local(dt) {|periods| [periods.last]})
|
635
|
-
end
|
636
|
-
|
637
|
-
def test_period_for_local_dst_cannot_resolve
|
638
|
-
# At midnight local time on Aug 5 1915 in Warsaw, the clocks were put back
|
639
|
-
# 24 minutes and both periods were non-DST. Hence the block should be
|
640
|
-
# called regardless of the value of the Boolean dst parameter.
|
641
|
-
|
642
|
-
o0 = TimezoneOffset.new(5040, 0, :LMT)
|
643
|
-
o1 = TimezoneOffset.new(5040, 0, :WMT)
|
644
|
-
o2 = TimezoneOffset.new(3600, 0, :CET)
|
645
|
-
o3 = TimezoneOffset.new(3600, 3600, :CEST)
|
646
|
-
|
647
|
-
t1 = TestTimezoneTransition.new(o1, o0, DateTime.new(1879, 12, 31, 22, 36, 0))
|
648
|
-
t2 = TestTimezoneTransition.new(o2, o1, DateTime.new(1915, 8, 4, 22, 36, 0))
|
649
|
-
t3 = TestTimezoneTransition.new(o3, o2, DateTime.new(1916, 4, 30, 22, 0, 0))
|
650
|
-
|
651
|
-
p1 = TimezonePeriod.new(t1, t2)
|
652
|
-
p2 = TimezonePeriod.new(t2, t3)
|
653
|
-
|
654
|
-
dt = DateTime.new(1915,8,4,23,40,0)
|
655
|
-
|
656
|
-
tz = TestTimezone.new('Europe/Warsaw', nil, [p1, p2], dt)
|
657
|
-
|
658
|
-
assert_raises(BlockCalled) {
|
659
|
-
tz.period_for_local(dt, true) {|periods|
|
660
|
-
assert_equal([p1, p2], periods)
|
661
|
-
raise BlockCalled, 'should be raised'
|
662
|
-
}
|
663
|
-
}
|
664
|
-
|
665
|
-
assert_raises(BlockCalled) {
|
666
|
-
tz.period_for_local(dt, false) {|periods|
|
667
|
-
assert_equal([p1, p2], periods)
|
668
|
-
raise BlockCalled, 'should be raised'
|
669
|
-
}
|
670
|
-
}
|
671
|
-
end
|
672
|
-
|
673
|
-
def test_period_for_local_block_ambiguous
|
674
|
-
o1 = TimezoneOffset.new(-18000, 0, :EST)
|
675
|
-
o2 = TimezoneOffset.new(-18000, 3600, :EDT)
|
676
|
-
|
677
|
-
t1 = TestTimezoneTransition.new(o2, o1, 1081062000)
|
678
|
-
t2 = TestTimezoneTransition.new(o1, o2, 1099202400)
|
679
|
-
t3 = TestTimezoneTransition.new(o2, o1, 1112511600)
|
680
|
-
|
681
|
-
p1 = TimezonePeriod.new(t1, t2)
|
682
|
-
p2 = TimezonePeriod.new(t2, t3)
|
683
|
-
|
684
|
-
dt = DateTime.new(2004,10,31,1,30,0)
|
685
|
-
|
686
|
-
tz = TestTimezone.new('America/New_York', nil, [p1, p2], dt)
|
687
|
-
|
688
|
-
assert_raises(AmbiguousTime) do
|
689
|
-
tz.period_for_local(dt) {|periods| nil}
|
690
|
-
end
|
691
|
-
|
692
|
-
assert_raises(AmbiguousTime) do
|
693
|
-
tz.period_for_local(dt) {|periods| periods}
|
694
|
-
end
|
695
|
-
|
696
|
-
assert_raises(AmbiguousTime) do
|
697
|
-
tz.period_for_local(dt) {|periods| []}
|
698
|
-
end
|
699
|
-
|
700
|
-
assert_raises(AmbiguousTime) do
|
701
|
-
tz.period_for_local(dt) {|periods| raise AmbiguousTime, 'Ambiguous time'}
|
702
|
-
end
|
703
|
-
end
|
704
|
-
|
705
|
-
def test_utc_to_local
|
706
|
-
dt = DateTime.new(2005,6,18,16,24,23)
|
707
|
-
dt2 = DateTime.new(2005,6,18,16,24,23).new_offset(Rational(5,24))
|
708
|
-
dtu = DateTime.new(2005,6,18,16,24,23 + Rational(567,1000))
|
709
|
-
dtu2 = DateTime.new(2005,6,18,16,24,23 + Rational(567,1000)).new_offset(Rational(5,24))
|
710
|
-
t = Time.utc(2005,6,18,16,24,23)
|
711
|
-
t2 = Time.local(2005,6,18,16,24,23)
|
712
|
-
tu = Time.utc(2005,6,18,16,24,23,567000)
|
713
|
-
tu2 = Time.local(2005,6,18,16,24,23,567000)
|
714
|
-
ts = t.to_i
|
715
|
-
|
716
|
-
o1 = TimezoneOffset.new(0, 0, :GMT)
|
717
|
-
o2 = TimezoneOffset.new(0, 3600, :BST)
|
718
|
-
|
719
|
-
period = TimezonePeriod.new(
|
720
|
-
TestTimezoneTransition.new(o2, o1, 1111885200),
|
721
|
-
TestTimezoneTransition.new(o1, o2, 1130634000))
|
722
|
-
|
723
|
-
assert_equal(DateTime.new(2005,6,18,17,24,23), TestTimezone.new('Europe/London', period, [], dt).utc_to_local(dt))
|
724
|
-
assert_equal(DateTime.new(2005,6,18,17,24,23), TestTimezone.new('Europe/London', period, [], dt2).utc_to_local(dt2))
|
725
|
-
assert_equal(DateTime.new(2005,6,18,17,24,23 + Rational(567,1000)), TestTimezone.new('Europe/London', period, [], dtu).utc_to_local(dtu))
|
726
|
-
assert_equal(DateTime.new(2005,6,18,17,24,23 + Rational(567,1000)), TestTimezone.new('Europe/London', period, [], dtu2).utc_to_local(dtu2))
|
727
|
-
assert_equal(Time.utc(2005,6,18,17,24,23), TestTimezone.new('Europe/London', period, [], t).utc_to_local(t))
|
728
|
-
assert_equal(Time.utc(2005,6,18,17,24,23), TestTimezone.new('Europe/London', period, [], t2).utc_to_local(t2))
|
729
|
-
assert_equal(Time.utc(2005,6,18,17,24,23,567000), TestTimezone.new('Europe/London', period, [], tu).utc_to_local(tu))
|
730
|
-
assert_equal(Time.utc(2005,6,18,17,24,23,567000), TestTimezone.new('Europe/London', period, [], tu2).utc_to_local(tu2))
|
731
|
-
assert_equal(Time.utc(2005,6,18,17,24,23).to_i, TestTimezone.new('Europe/London', period, [], ts).utc_to_local(ts))
|
732
|
-
end
|
733
|
-
|
734
|
-
def test_utc_to_local_offset
|
735
|
-
dt = DateTime.new(2005,6,18,16,24,23)
|
736
|
-
dt2 = DateTime.new(2005,6,18,16,24,23).new_offset(Rational(5,24))
|
737
|
-
dtu = DateTime.new(2005,6,18,16,24,23 + Rational(567,1000))
|
738
|
-
dtu2 = DateTime.new(2005,6,18,16,24,23 + Rational(567,1000)).new_offset(Rational(5,24))
|
739
|
-
t = Time.utc(2005,6,18,16,24,23)
|
740
|
-
t2 = Time.local(2005,6,18,16,24,23)
|
741
|
-
tu = Time.utc(2005,6,18,16,24,23,567000)
|
742
|
-
tu2 = Time.local(2005,6,18,16,24,23,567000)
|
743
|
-
|
744
|
-
o1 = TimezoneOffset.new(0, 0, :GMT)
|
745
|
-
o2 = TimezoneOffset.new(0, 3600, :BST)
|
746
|
-
|
747
|
-
period = TimezonePeriod.new(
|
748
|
-
TestTimezoneTransition.new(o2, o1, 1111885200),
|
749
|
-
TestTimezoneTransition.new(o1, o2, 1130634000))
|
750
|
-
|
751
|
-
assert_equal(0, TestTimezone.new('Europe/London', period, [], dt).utc_to_local(dt).offset)
|
752
|
-
assert_equal(0, TestTimezone.new('Europe/London', period, [], dt2).utc_to_local(dt2).offset)
|
753
|
-
assert_equal(0, TestTimezone.new('Europe/London', period, [], dtu).utc_to_local(dtu).offset)
|
754
|
-
assert_equal(0, TestTimezone.new('Europe/London', period, [], dtu2).utc_to_local(dtu2).offset)
|
755
|
-
assert_equal(0, TestTimezone.new('Europe/London', period, [], t).utc_to_local(t).utc_offset)
|
756
|
-
assert(TestTimezone.new('Europe/London', period, [], t).utc_to_local(t).utc?)
|
757
|
-
assert_equal(0, TestTimezone.new('Europe/London', period, [], t2).utc_to_local(t2).utc_offset)
|
758
|
-
assert(TestTimezone.new('Europe/London', period, [], t2).utc_to_local(t2).utc?)
|
759
|
-
assert_equal(0, TestTimezone.new('Europe/London', period, [], tu).utc_to_local(tu).utc_offset)
|
760
|
-
assert(TestTimezone.new('Europe/London', period, [], tu).utc_to_local(tu).utc?)
|
761
|
-
assert_equal(0, TestTimezone.new('Europe/London', period, [], tu2).utc_to_local(tu2).utc_offset)
|
762
|
-
assert(TestTimezone.new('Europe/London', period, [], tu2).utc_to_local(tu2).utc?)
|
763
|
-
end
|
764
|
-
|
765
|
-
def test_local_to_utc
|
766
|
-
dt = DateTime.new(2005,6,18,16,24,23)
|
767
|
-
dt2 = DateTime.new(2005,6,18,16,24,23).new_offset(Rational(5, 24))
|
768
|
-
dtu = DateTime.new(2005,6,18,16,24,23 + Rational(567,1000))
|
769
|
-
dtu2 = DateTime.new(2005,6,18,16,24,23 + Rational(567,1000)).new_offset(Rational(5, 24))
|
770
|
-
t = Time.utc(2005,6,18,16,24,23)
|
771
|
-
t2 = Time.local(2005,6,18,16,24,23)
|
772
|
-
tu = Time.utc(2005,6,18,16,24,23,567000)
|
773
|
-
tu2 = Time.local(2005,6,18,16,24,23,567000)
|
774
|
-
ts = t.to_i
|
775
|
-
|
776
|
-
o1 = TimezoneOffset.new(0, 0, :GMT)
|
777
|
-
o2 = TimezoneOffset.new(0, 3600, :BST)
|
778
|
-
|
779
|
-
period = TimezonePeriod.new(
|
780
|
-
TestTimezoneTransition.new(o2, o1, 1111885200),
|
781
|
-
TestTimezoneTransition.new(o1, o2, 1130634000))
|
782
|
-
|
783
|
-
assert_equal(DateTime.new(2005,6,18,15,24,23), TestTimezone.new('Europe/London', nil, [period], dt).local_to_utc(dt))
|
784
|
-
assert_equal(DateTime.new(2005,6,18,15,24,23), TestTimezone.new('Europe/London', nil, [period], dt2).local_to_utc(dt2))
|
785
|
-
assert_equal(DateTime.new(2005,6,18,15,24,23 + Rational(567,1000)), TestTimezone.new('Europe/London', nil, [period], dtu).local_to_utc(dtu))
|
786
|
-
assert_equal(DateTime.new(2005,6,18,15,24,23 + Rational(567,1000)), TestTimezone.new('Europe/London', nil, [period], dtu2).local_to_utc(dtu2))
|
787
|
-
assert_equal(Time.utc(2005,6,18,15,24,23), TestTimezone.new('Europe/London', nil, [period], t).local_to_utc(t))
|
788
|
-
assert_equal(Time.utc(2005,6,18,15,24,23), TestTimezone.new('Europe/London', nil, [period], t2).local_to_utc(t2))
|
789
|
-
assert_equal(Time.utc(2005,6,18,15,24,23,567000), TestTimezone.new('Europe/London', nil, [period], tu).local_to_utc(tu))
|
790
|
-
assert_equal(Time.utc(2005,6,18,15,24,23,567000), TestTimezone.new('Europe/London', nil, [period], tu2).local_to_utc(tu2))
|
791
|
-
assert_equal(Time.utc(2005,6,18,15,24,23).to_i, TestTimezone.new('Europe/London', nil, [period], ts).local_to_utc(ts))
|
792
|
-
end
|
793
|
-
|
794
|
-
def test_local_to_utc_offset
|
795
|
-
dt = DateTime.new(2005,6,18,16,24,23)
|
796
|
-
dt2 = DateTime.new(2005,6,18,16,24,23).new_offset(Rational(5, 24))
|
797
|
-
dtu = DateTime.new(2005,6,18,16,24,23 + Rational(567,1000))
|
798
|
-
dtu2 = DateTime.new(2005,6,18,16,24,23 + Rational(567,1000)).new_offset(Rational(5, 24))
|
799
|
-
t = Time.utc(2005,6,18,16,24,23)
|
800
|
-
t2 = Time.local(2005,6,18,16,24,23)
|
801
|
-
tu = Time.utc(2005,6,18,16,24,23,567000)
|
802
|
-
tu2 = Time.local(2005,6,18,16,24,23,567000)
|
803
|
-
|
804
|
-
o1 = TimezoneOffset.new(0, 0, :GMT)
|
805
|
-
o2 = TimezoneOffset.new(0, 3600, :BST)
|
806
|
-
|
807
|
-
period = TimezonePeriod.new(
|
808
|
-
TestTimezoneTransition.new(o2, o1, 1111885200),
|
809
|
-
TestTimezoneTransition.new(o1, o2, 1130634000))
|
810
|
-
|
811
|
-
assert_equal(0, TestTimezone.new('Europe/London', nil, [period], dt).local_to_utc(dt).offset)
|
812
|
-
assert_equal(0, TestTimezone.new('Europe/London', nil, [period], dt2).local_to_utc(dt2).offset)
|
813
|
-
assert_equal(0, TestTimezone.new('Europe/London', nil, [period], dtu).local_to_utc(dtu).offset)
|
814
|
-
assert_equal(0, TestTimezone.new('Europe/London', nil, [period], dtu2).local_to_utc(dtu2).offset)
|
815
|
-
assert_equal(0, TestTimezone.new('Europe/London', nil, [period], t).local_to_utc(t).utc_offset)
|
816
|
-
assert(TestTimezone.new('Europe/London', nil, [period], t).local_to_utc(t).utc?)
|
817
|
-
assert_equal(0, TestTimezone.new('Europe/London', nil, [period], t2).local_to_utc(t2).utc_offset)
|
818
|
-
assert(TestTimezone.new('Europe/London', nil, [period], t2).local_to_utc(t2).utc?)
|
819
|
-
assert_equal(0, TestTimezone.new('Europe/London', nil, [period], tu).local_to_utc(tu).utc_offset)
|
820
|
-
assert(TestTimezone.new('Europe/London', nil, [period], tu).local_to_utc(tu).utc?)
|
821
|
-
assert_equal(0, TestTimezone.new('Europe/London', nil, [period], tu2).local_to_utc(tu2).utc_offset)
|
822
|
-
assert(TestTimezone.new('Europe/London', nil, [period], tu2).local_to_utc(tu2).utc?)
|
823
|
-
end
|
824
|
-
|
825
|
-
def test_local_to_utc_utc_local_returns_utc
|
826
|
-
# Check that UTC time instances are always returned even if the system
|
827
|
-
# is using UTC as the time zone.
|
828
|
-
|
829
|
-
# Note that this will only test will only work correctly on platforms where
|
830
|
-
# setting the TZ environment variable has an effect. If setting TZ has no
|
831
|
-
# effect, then this test will still pass.
|
832
|
-
|
833
|
-
old_tz = ENV['TZ']
|
834
|
-
begin
|
835
|
-
ENV['TZ'] = 'UTC'
|
836
|
-
|
837
|
-
tz = Timezone.get('America/New_York')
|
838
|
-
|
839
|
-
t = tz.local_to_utc(Time.local(2014, 1, 11, 17, 18, 41))
|
840
|
-
assert_equal(Time.utc(2014, 1, 11, 22, 18, 41), t)
|
841
|
-
assert(t.utc?)
|
842
|
-
ensure
|
843
|
-
ENV['TZ'] = old_tz
|
844
|
-
end
|
845
|
-
end
|
846
|
-
|
847
|
-
def test_local_to_utc_invalid
|
848
|
-
dt = DateTime.new(2004,4,4,2,30,0)
|
849
|
-
tz = TestTimezone.new('America/New_York', nil, [], dt)
|
850
|
-
assert_raises(PeriodNotFound) { tz.local_to_utc(dt) }
|
851
|
-
|
852
|
-
t = Time.utc(2004,4,4,2,30,0)
|
853
|
-
tz = TestTimezone.new('America/New_York', nil, [], t)
|
854
|
-
assert_raises(PeriodNotFound) { tz.local_to_utc(t) }
|
855
|
-
|
856
|
-
i = Time.utc(2004,4,4,2,30,0).to_i
|
857
|
-
tz = TestTimezone.new('America/New_York', nil, [], i)
|
858
|
-
assert_raises(PeriodNotFound) { tz.local_to_utc(i) }
|
859
|
-
end
|
860
|
-
|
861
|
-
def test_local_to_utc_ambiguous
|
862
|
-
o1 = TimezoneOffset.new(-18000, 0, :EST)
|
863
|
-
o2 = TimezoneOffset.new(-18000, 3600, :EDT)
|
864
|
-
|
865
|
-
t1 = TestTimezoneTransition.new(o2, o1, 1081062000)
|
866
|
-
t2 = TestTimezoneTransition.new(o1, o2, 1099202400)
|
867
|
-
t3 = TestTimezoneTransition.new(o2, o1, 1112511600)
|
868
|
-
|
869
|
-
p1 = TimezonePeriod.new(t1, t2)
|
870
|
-
p2 = TimezonePeriod.new(t2, t3)
|
871
|
-
|
872
|
-
dt = DateTime.new(2004,10,31,1,30,0)
|
873
|
-
tz = TestTimezone.new('America/New_York', nil, [p1, p2], dt)
|
874
|
-
assert_raises(AmbiguousTime) { tz.local_to_utc(dt) }
|
875
|
-
|
876
|
-
t = Time.utc(2004,10,31,1,30,0)
|
877
|
-
tz = TestTimezone.new('America/New_York', nil, [p1, p2], t)
|
878
|
-
assert_raises(AmbiguousTime) { tz.local_to_utc(t) }
|
879
|
-
|
880
|
-
i = Time.utc(2004,10,31,1,30,0).to_i
|
881
|
-
tz = TestTimezone.new('America/New_York', nil, [p1, p2], i)
|
882
|
-
assert_raises(AmbiguousTime) { tz.local_to_utc(i) }
|
883
|
-
|
884
|
-
f = Time.utc(2004,10,31,1,30,0,501).to_i
|
885
|
-
tz = TestTimezone.new('America/New_York', nil, [p1, p2], f)
|
886
|
-
assert_raises(AmbiguousTime) { tz.local_to_utc(f) }
|
887
|
-
end
|
888
|
-
|
889
|
-
def test_local_to_utc_not_found
|
890
|
-
dt = DateTime.new(2004,4,4,2,0,0)
|
891
|
-
t = Time.utc(2004,4,4,2,30,0)
|
892
|
-
i = Time.utc(2004,4,4,2,59,59).to_i
|
893
|
-
|
894
|
-
dt_tz = TestTimezone.new('America/New_York', nil, [], dt)
|
895
|
-
t_tz = TestTimezone.new('America/New_York', nil, [], t)
|
896
|
-
i_tz = TestTimezone.new('America/New_York', nil, [], i)
|
897
|
-
|
898
|
-
assert_raises(PeriodNotFound) { dt_tz.local_to_utc(dt) }
|
899
|
-
assert_raises(PeriodNotFound) { t_tz.local_to_utc(t) }
|
900
|
-
assert_raises(PeriodNotFound) { i_tz.local_to_utc(i) }
|
901
|
-
end
|
902
|
-
|
903
|
-
def test_local_to_utc_default_dst_set_true
|
904
|
-
Timezone.default_dst = true
|
905
|
-
|
906
|
-
o1 = TimezoneOffset.new(-18000, 0, :EST)
|
907
|
-
o2 = TimezoneOffset.new(-18000, 3600, :EDT)
|
908
|
-
|
909
|
-
t1 = TestTimezoneTransition.new(o2, o1, 1081062000)
|
910
|
-
t2 = TestTimezoneTransition.new(o1, o2, 1099202400)
|
911
|
-
t3 = TestTimezoneTransition.new(o2, o1, 1112511600)
|
912
|
-
|
913
|
-
p1 = TimezonePeriod.new(t1, t2)
|
914
|
-
p2 = TimezonePeriod.new(t2, t3)
|
915
|
-
|
916
|
-
dt = DateTime.new(2004,10,31,1,30,0)
|
917
|
-
tz = TestTimezone.new('America/New_York', nil, [p1, p2], dt)
|
918
|
-
|
919
|
-
assert_equal(DateTime.new(2004,10,31,5,30,0), tz.local_to_utc(dt))
|
920
|
-
assert_equal(DateTime.new(2004,10,31,5,30,0), tz.local_to_utc(dt, true))
|
921
|
-
assert_equal(DateTime.new(2004,10,31,6,30,0), tz.local_to_utc(dt, false))
|
922
|
-
assert_raises(AmbiguousTime) { tz.local_to_utc(dt, nil) }
|
923
|
-
assert_equal(DateTime.new(2004,10,31,5,30,0), tz.local_to_utc(dt) {|periods| raise BlockCalled, 'should not be called' })
|
924
|
-
end
|
925
|
-
|
926
|
-
def test_local_to_utc_default_dst_set_false
|
927
|
-
Timezone.default_dst = false
|
928
|
-
|
929
|
-
o1 = TimezoneOffset.new(-18000, 0, :EST)
|
930
|
-
o2 = TimezoneOffset.new(-18000, 3600, :EDT)
|
931
|
-
|
932
|
-
t1 = TestTimezoneTransition.new(o2, o1, 1081062000)
|
933
|
-
t2 = TestTimezoneTransition.new(o1, o2, 1099202400)
|
934
|
-
t3 = TestTimezoneTransition.new(o2, o1, 1112511600)
|
935
|
-
|
936
|
-
p1 = TimezonePeriod.new(t1, t2)
|
937
|
-
p2 = TimezonePeriod.new(t2, t3)
|
938
|
-
|
939
|
-
dt = DateTime.new(2004,10,31,1,30,0)
|
940
|
-
tz = TestTimezone.new('America/New_York', nil, [p1, p2], dt)
|
941
|
-
|
942
|
-
assert_equal(DateTime.new(2004,10,31,6,30,0), tz.local_to_utc(dt))
|
943
|
-
assert_equal(DateTime.new(2004,10,31,6,30,0), tz.local_to_utc(dt, false))
|
944
|
-
assert_equal(DateTime.new(2004,10,31,5,30,0), tz.local_to_utc(dt, true))
|
945
|
-
assert_raises(AmbiguousTime) { tz.local_to_utc(dt, nil) }
|
946
|
-
assert_equal(DateTime.new(2004,10,31,6,30,0), tz.local_to_utc(dt) {|periods| raise BlockCalled, 'should not be called' })
|
947
|
-
end
|
948
|
-
|
949
|
-
def test_local_to_utc_dst_flag_resolved
|
950
|
-
o1 = TimezoneOffset.new(-18000, 0, :EST)
|
951
|
-
o2 = TimezoneOffset.new(-18000, 3600, :EDT)
|
952
|
-
|
953
|
-
t1 = TestTimezoneTransition.new(o2, o1, 1081062000)
|
954
|
-
t2 = TestTimezoneTransition.new(o1, o2, 1099202400)
|
955
|
-
t3 = TestTimezoneTransition.new(o2, o1, 1112511600)
|
956
|
-
|
957
|
-
p1 = TimezonePeriod.new(t1, t2)
|
958
|
-
p2 = TimezonePeriod.new(t2, t3)
|
959
|
-
|
960
|
-
dt = DateTime.new(2004,10,31,1,30,0)
|
961
|
-
tz = TestTimezone.new('America/New_York', nil, [p1, p2], dt)
|
962
|
-
|
963
|
-
assert_equal(DateTime.new(2004,10,31,5,30,0), tz.local_to_utc(dt, true))
|
964
|
-
assert_equal(DateTime.new(2004,10,31,6,30,0), tz.local_to_utc(dt, false))
|
965
|
-
assert_equal(DateTime.new(2004,10,31,5,30,0), tz.local_to_utc(dt, true) {|periods| raise BlockCalled, 'should not be called' })
|
966
|
-
assert_equal(DateTime.new(2004,10,31,6,30,0), tz.local_to_utc(dt, false) {|periods| raise BlockCalled, 'should not be called' })
|
967
|
-
end
|
968
|
-
|
969
|
-
def test_local_to_utc_dst_block_called
|
970
|
-
o1 = TimezoneOffset.new(-18000, 0, :EST)
|
971
|
-
o2 = TimezoneOffset.new(-18000, 3600, :EDT)
|
972
|
-
|
973
|
-
t1 = TestTimezoneTransition.new(o2, o1, 1081062000)
|
974
|
-
t2 = TestTimezoneTransition.new(o1, o2, 1099202400)
|
975
|
-
t3 = TestTimezoneTransition.new(o2, o1, 1112511600)
|
976
|
-
|
977
|
-
p1 = TimezonePeriod.new(t1, t2)
|
978
|
-
p2 = TimezonePeriod.new(t2, t3)
|
979
|
-
|
980
|
-
dt = DateTime.new(2004,10,31,1,30,0)
|
981
|
-
tz = TestTimezone.new('America/New_York', nil, [p1, p2], dt)
|
982
|
-
|
983
|
-
assert_raises(BlockCalled) {
|
984
|
-
tz.local_to_utc(dt) {|periods|
|
985
|
-
assert_equal([p1, p2], periods)
|
986
|
-
|
987
|
-
# raise exception to test that the block was called
|
988
|
-
raise BlockCalled, 'should be raised'
|
989
|
-
}
|
990
|
-
}
|
991
|
-
|
992
|
-
assert_equal(DateTime.new(2004,10,31,5,30,0), tz.local_to_utc(dt) {|periods| periods.first})
|
993
|
-
assert_equal(DateTime.new(2004,10,31,6,30,0), tz.local_to_utc(dt) {|periods| periods.last})
|
994
|
-
assert_equal(DateTime.new(2004,10,31,5,30,0), tz.local_to_utc(dt) {|periods| [periods.first]})
|
995
|
-
assert_equal(DateTime.new(2004,10,31,6,30,0), tz.local_to_utc(dt) {|periods| [periods.last]})
|
996
|
-
end
|
997
|
-
|
998
|
-
def test_local_to_utc_dst_cannot_resolve
|
999
|
-
# At midnight local time on Aug 5 1915 in Warsaw, the clocks were put back
|
1000
|
-
# 24 minutes and both periods were non-DST. Hence the block should be
|
1001
|
-
# called regardless of the value of the Boolean dst parameter.
|
1002
|
-
|
1003
|
-
o0 = TimezoneOffset.new(5040, 0, :LMT)
|
1004
|
-
o1 = TimezoneOffset.new(5040, 0, :WMT)
|
1005
|
-
o2 = TimezoneOffset.new(3600, 0, :CET)
|
1006
|
-
o3 = TimezoneOffset.new(3600, 3600, :CEST)
|
1007
|
-
|
1008
|
-
t1 = TestTimezoneTransition.new(o1, o0, DateTime.new(1879, 12, 31, 22, 36, 0))
|
1009
|
-
t2 = TestTimezoneTransition.new(o2, o1, DateTime.new(1915, 8, 4, 22, 36, 0))
|
1010
|
-
t3 = TestTimezoneTransition.new(o3, o2, DateTime.new(1916, 4, 30, 22, 0, 0))
|
1011
|
-
|
1012
|
-
p1 = TimezonePeriod.new(t1, t2)
|
1013
|
-
p2 = TimezonePeriod.new(t2, t3)
|
1014
|
-
|
1015
|
-
dt = DateTime.new(1915,8,4,23,40,0)
|
1016
|
-
|
1017
|
-
tz = TestTimezone.new('Europe/Warsaw', nil, [p1, p2], dt)
|
1018
|
-
|
1019
|
-
assert_raises(BlockCalled) do
|
1020
|
-
tz.local_to_utc(dt, true) do |periods|
|
1021
|
-
assert_equal([p1, p2], periods)
|
1022
|
-
raise BlockCalled, 'should be raised'
|
1023
|
-
end
|
1024
|
-
end
|
1025
|
-
|
1026
|
-
assert_raises(BlockCalled) do
|
1027
|
-
tz.local_to_utc(dt, false) do |periods|
|
1028
|
-
assert_equal([p1, p2], periods)
|
1029
|
-
raise BlockCalled, 'should be raised'
|
1030
|
-
end
|
1031
|
-
end
|
1032
|
-
|
1033
|
-
assert_equal(DateTime.new(1915,8,4,22,16,0), tz.local_to_utc(dt) {|periods| periods.first})
|
1034
|
-
assert_equal(DateTime.new(1915,8,4,22,40,0), tz.local_to_utc(dt) {|periods| periods.last})
|
1035
|
-
assert_equal(DateTime.new(1915,8,4,22,16,0), tz.local_to_utc(dt) {|periods| [periods.first]})
|
1036
|
-
assert_equal(DateTime.new(1915,8,4,22,40,0), tz.local_to_utc(dt) {|periods| [periods.last]})
|
1037
|
-
end
|
1038
|
-
|
1039
|
-
def test_local_to_utc_block_ambiguous
|
1040
|
-
o1 = TimezoneOffset.new(-18000, 0, :EST)
|
1041
|
-
o2 = TimezoneOffset.new(-18000, 3600, :EDT)
|
1042
|
-
|
1043
|
-
t1 = TestTimezoneTransition.new(o2, o1, 1081062000)
|
1044
|
-
t2 = TestTimezoneTransition.new(o1, o2, 1099202400)
|
1045
|
-
t3 = TestTimezoneTransition.new(o2, o1, 1112511600)
|
1046
|
-
|
1047
|
-
p1 = TimezonePeriod.new(t1, t2)
|
1048
|
-
p2 = TimezonePeriod.new(t2, t3)
|
1049
|
-
|
1050
|
-
dt = DateTime.new(2004,10,31,1,30,0)
|
1051
|
-
tz = TestTimezone.new('America/New_York', nil, [p1, p2], dt)
|
1052
|
-
|
1053
|
-
assert_raises(AmbiguousTime) { tz.local_to_utc(dt) {|periods| nil} }
|
1054
|
-
assert_raises(AmbiguousTime) { tz.local_to_utc(dt) {|periods| periods} }
|
1055
|
-
assert_raises(AmbiguousTime) { tz.local_to_utc(dt) {|periods| []} }
|
1056
|
-
assert_raises(AmbiguousTime) { tz.local_to_utc(dt) {|periods| raise AmbiguousTime, 'Ambiguous time'} }
|
1057
|
-
end
|
1058
|
-
|
1059
|
-
def test_offsets_up_to
|
1060
|
-
o1 = TimezoneOffset.new(-17900, 0, :TESTLMT)
|
1061
|
-
o2 = TimezoneOffset.new(-18000, 3600, :TESTD)
|
1062
|
-
o3 = TimezoneOffset.new(-18000, 0, :TESTS)
|
1063
|
-
o4 = TimezoneOffset.new(-21600, 3600, :TESTD)
|
1064
|
-
o5 = TimezoneOffset.new(-21600, 0, :TESTS)
|
1065
|
-
|
1066
|
-
t1 = TestTimezoneTransition.new(o2, o1, Time.utc(2010, 4,1,1,0,0).to_i)
|
1067
|
-
t2 = TestTimezoneTransition.new(o3, o2, Time.utc(2010,10,1,1,0,0).to_i)
|
1068
|
-
t3 = TestTimezoneTransition.new(o2, o3, Time.utc(2011, 3,1,1,0,0).to_i)
|
1069
|
-
t4 = TestTimezoneTransition.new(o4, o2, Time.utc(2011, 4,1,1,0,0).to_i)
|
1070
|
-
t5 = TestTimezoneTransition.new(o3, o4, Time.utc(2011,10,1,1,0,0).to_i)
|
1071
|
-
t6 = TestTimezoneTransition.new(o5, o3, Time.utc(2012, 3,1,1,0,0).to_i)
|
1072
|
-
|
1073
|
-
assert_array_same_items([o1, o2, o3, o4, o5],
|
1074
|
-
OffsetsUpToTestTimezone.new('Test/Zone', Time.utc(2012,3,1,1,0,1), nil, [t1, t2, t3, t4, t5, t6]).
|
1075
|
-
offsets_up_to(Time.utc(2012,3,1,1,0,1)))
|
1076
|
-
assert_array_same_items([o2, o3, o4, o5],
|
1077
|
-
OffsetsUpToTestTimezone.new('Test/Zone', Time.utc(2012,3,1,1,0,1), Time.utc(2010,4,1,1,0,0), [t1, t2, t3, t4, t5, t6]).
|
1078
|
-
offsets_up_to(Time.utc(2012,3,1,1,0,1), Time.utc(2010,4,1,1,0,0)))
|
1079
|
-
assert_array_same_items([o1, o2, o3, o4],
|
1080
|
-
OffsetsUpToTestTimezone.new('Test/Zone', Time.utc(2012,3,1,1,0,0), nil, [t1, t2, t3, t4, t5]).
|
1081
|
-
offsets_up_to(Time.utc(2012,3,1,1,0,0)))
|
1082
|
-
assert_array_same_items([o2, o3, o4, o5],
|
1083
|
-
OffsetsUpToTestTimezone.new('Test/Zone', Time.utc(2012,3,1,1,0,1), Time.utc(2010,4,1,1,0,1), [t2, t3, t4, t5, t6]).
|
1084
|
-
offsets_up_to(Time.utc(2012,3,1,1,0,1), Time.utc(2010,4,1,1,0,1)))
|
1085
|
-
assert_array_same_items([o2, o3],
|
1086
|
-
OffsetsUpToTestTimezone.new('Test/Zone', Time.utc(2011,3,1,2,0,0), Time.utc(2011,3,1,0,0,0), [t3]).
|
1087
|
-
offsets_up_to(Time.utc(2011,3,1,2,0,0), Time.utc(2011,3,1,0,0,0)))
|
1088
|
-
assert_array_same_items([o3, o4],
|
1089
|
-
OffsetsUpToTestTimezone.new('Test/Zone', Time.utc(2012,3,1,1,0,0), Time.utc(2011,4,1,1,0,0), [t4, t5]).
|
1090
|
-
offsets_up_to(Time.utc(2012,3,1,1,0,0), Time.utc(2011,4,1,1,0,0)))
|
1091
|
-
|
1092
|
-
assert_array_same_items([o1, o2, o3, o4, o5],
|
1093
|
-
OffsetsUpToTestTimezone.new('Test/Zone', Time.utc(2012,3,1,1,0,1).to_i, nil, [t1, t2, t3, t4, t5, t6]).
|
1094
|
-
offsets_up_to(Time.utc(2012,3,1,1,0,1).to_i))
|
1095
|
-
assert_array_same_items([o2, o3, o4, o5],
|
1096
|
-
OffsetsUpToTestTimezone.new('Test/Zone', Time.utc(2012,3,1,1,0,1).to_i, Time.utc(2010,4,1,1,0,0).to_i, [t1, t2, t3, t4, t5, t6]).
|
1097
|
-
offsets_up_to(Time.utc(2012,3,1,1,0,1).to_i, Time.utc(2010,4,1,1,0,0).to_i))
|
1098
|
-
assert_array_same_items([o1, o2, o3, o4],
|
1099
|
-
OffsetsUpToTestTimezone.new('Test/Zone', Time.utc(2012,3,1,1,0,0).to_i, nil, [t1, t2, t3, t4, t5]).
|
1100
|
-
offsets_up_to(Time.utc(2012,3,1,1,0,0).to_i))
|
1101
|
-
assert_array_same_items([o2, o3, o4, o5],
|
1102
|
-
OffsetsUpToTestTimezone.new('Test/Zone', Time.utc(2012,3,1,1,0,1).to_i, Time.utc(2010,4,1,1,0,1).to_i, [t2, t3, t4, t5, t6]).
|
1103
|
-
offsets_up_to(Time.utc(2012,3,1,1,0,1).to_i, Time.utc(2010,4,1,1,0,1).to_i))
|
1104
|
-
assert_array_same_items([o2, o3],
|
1105
|
-
OffsetsUpToTestTimezone.new('Test/Zone', Time.utc(2011,3,1,2,0,0).to_i, Time.utc(2011,3,1,0,0,0).to_i, [t3]).
|
1106
|
-
offsets_up_to(Time.utc(2011,3,1,2,0,0).to_i, Time.utc(2011,3,1,0,0,0).to_i))
|
1107
|
-
assert_array_same_items([o3, o4],
|
1108
|
-
OffsetsUpToTestTimezone.new('Test/Zone', Time.utc(2012,3,1,1,0,0).to_i, Time.utc(2011,4,1,1,0,0).to_i, [t4, t5]).
|
1109
|
-
offsets_up_to(Time.utc(2012,3,1,1,0,0).to_i, Time.utc(2011,4,1,1,0,0).to_i))
|
1110
|
-
|
1111
|
-
assert_array_same_items([o1, o2, o3, o4, o5],
|
1112
|
-
OffsetsUpToTestTimezone.new('Test/Zone', DateTime.new(2012,3,1,1,0,1), nil, [t1, t2, t3, t4, t5, t6]).
|
1113
|
-
offsets_up_to(DateTime.new(2012,3,1,1,0,1)))
|
1114
|
-
assert_array_same_items([o2, o3, o4, o5],
|
1115
|
-
OffsetsUpToTestTimezone.new('Test/Zone', DateTime.new(2012,3,1,1,0,1), DateTime.new(2010,4,1,1,0,0), [t1, t2, t3, t4, t5, t6]).
|
1116
|
-
offsets_up_to(DateTime.new(2012,3,1,1,0,1), DateTime.new(2010,4,1,1,0,0)))
|
1117
|
-
assert_array_same_items([o1, o2, o3, o4],
|
1118
|
-
OffsetsUpToTestTimezone.new('Test/Zone', DateTime.new(2012,3,1,1,0,0), nil, [t1, t2, t3, t4, t5]).
|
1119
|
-
offsets_up_to(DateTime.new(2012,3,1,1,0,0)))
|
1120
|
-
assert_array_same_items([o2, o3, o4, o5],
|
1121
|
-
OffsetsUpToTestTimezone.new('Test/Zone', DateTime.new(2012,3,1,1,0,1), DateTime.new(2010,4,1,1,0,1), [t2, t3, t4, t5, t6]).
|
1122
|
-
offsets_up_to(DateTime.new(2012,3,1,1,0,1), DateTime.new(2010,4,1,1,0,1)))
|
1123
|
-
assert_array_same_items([o2, o3],
|
1124
|
-
OffsetsUpToTestTimezone.new('Test/Zone', DateTime.new(2011,3,1,2,0,0), DateTime.new(2011,3,1,0,0,0), [t3]).
|
1125
|
-
offsets_up_to(DateTime.new(2011,3,1,2,0,0), DateTime.new(2011,3,1,0,0,0)))
|
1126
|
-
assert_array_same_items([o3, o4],
|
1127
|
-
OffsetsUpToTestTimezone.new('Test/Zone', DateTime.new(2012,3,1,1,0,0), DateTime.new(2011,4,1,1,0,0), [t4, t5]).
|
1128
|
-
offsets_up_to(DateTime.new(2012,3,1,1,0,0), DateTime.new(2011,4,1,1,0,0)))
|
1129
|
-
end
|
1130
|
-
|
1131
|
-
def test_offsets_up_to_no_transitions
|
1132
|
-
o = TimezoneOffset.new(600, 0, :LMT)
|
1133
|
-
p = TimezonePeriod.new(nil, nil, o)
|
1134
|
-
|
1135
|
-
assert_array_same_items([o],
|
1136
|
-
OffsetsUpToNoTransitionsTestTimezone.new('Test/Zone', Time.utc(2000,1,1,1,0,0), nil, p).
|
1137
|
-
offsets_up_to(Time.utc(2000,1,1,1,0,0)))
|
1138
|
-
assert_array_same_items([o],
|
1139
|
-
OffsetsUpToNoTransitionsTestTimezone.new('Test/Zone', Time.utc(2000,1,1,1,0,0), Time.utc(1990,1,1,1,0,0), p).
|
1140
|
-
offsets_up_to(Time.utc(2000,1,1,1,0,0), Time.utc(1990,1,1,1,0,0)))
|
1141
|
-
|
1142
|
-
assert_array_same_items([o],
|
1143
|
-
OffsetsUpToNoTransitionsTestTimezone.new('Test/Zone', Time.utc(2000,1,1,1,0,0).to_i, nil, p).
|
1144
|
-
offsets_up_to(Time.utc(2000,1,1,1,0,0).to_i))
|
1145
|
-
assert_array_same_items([o],
|
1146
|
-
OffsetsUpToNoTransitionsTestTimezone.new('Test/Zone', Time.utc(2000,1,1,1,0,0).to_i, Time.utc(1990,1,1,1,0,0).to_i, p).
|
1147
|
-
offsets_up_to(Time.utc(2000,1,1,1,0,0).to_i, Time.utc(1990,1,1,1,0,0).to_i))
|
1148
|
-
|
1149
|
-
assert_array_same_items([o],
|
1150
|
-
OffsetsUpToNoTransitionsTestTimezone.new('Test/Zone', DateTime.new(2000,1,1,1,0,0), nil, p).
|
1151
|
-
offsets_up_to(DateTime.new(2000,1,1,1,0,0)))
|
1152
|
-
assert_array_same_items([o],
|
1153
|
-
OffsetsUpToNoTransitionsTestTimezone.new('Test/Zone', DateTime.new(2000,1,1,1,0,0), DateTime.new(1990,1,1,1,0,0), p).
|
1154
|
-
offsets_up_to(DateTime.new(2000,1,1,1,0,0), DateTime.new(1990,1,1,1,0,0)))
|
1155
|
-
end
|
1156
|
-
|
1157
|
-
def test_offsets_up_to_utc_to_not_greater_than_utc_from
|
1158
|
-
assert_raises(ArgumentError) do
|
1159
|
-
OffsetsUpToTestTimezone.new('Test/Zone', Time.utc(2012,8,1,0,0,0), Time.utc(2012,8,1,0,0,0), []).
|
1160
|
-
offsets_up_to(Time.utc(2012,8,1,0,0,0), Time.utc(2012,8,1,0,0,0))
|
1161
|
-
end
|
1162
|
-
|
1163
|
-
assert_raises(ArgumentError) do
|
1164
|
-
OffsetsUpToTestTimezone.new('Test/Zone', Time.utc(2012,8,1,0,0,0).to_i, Time.utc(2012,8,1,0,0,0).to_i, []).
|
1165
|
-
offsets_up_to(Time.utc(2012,8,1,0,0,0).to_i, Time.utc(2012,8,1,0,0,0).to_i)
|
1166
|
-
end
|
1167
|
-
|
1168
|
-
assert_raises(ArgumentError) do
|
1169
|
-
OffsetsUpToTestTimezone.new('Test/Zone', DateTime.new(2012,8,1,0,0,0), DateTime.new(2012,8,1,0,0,0), []).
|
1170
|
-
offsets_up_to(DateTime.new(2012,8,1,0,0,0), DateTime.new(2012,8,1,0,0,0))
|
1171
|
-
end
|
1172
|
-
end
|
1173
|
-
|
1174
|
-
def test_now
|
1175
|
-
assert_kind_of(Time, Timezone.get('Europe/London').now)
|
1176
|
-
end
|
1177
|
-
|
1178
|
-
def test_current_period
|
1179
|
-
assert_kind_of(TimezonePeriod, Timezone.get('Europe/London').current_period)
|
1180
|
-
end
|
1181
|
-
|
1182
|
-
def test_current_period_and_time
|
1183
|
-
current = Timezone.get('Europe/London').current_period_and_time
|
1184
|
-
assert_equal(2, current.length)
|
1185
|
-
assert_kind_of(Time, current[0])
|
1186
|
-
assert_kind_of(TimezonePeriod, current[1])
|
1187
|
-
end
|
1188
|
-
|
1189
|
-
def test_current_time_and_period
|
1190
|
-
current = Timezone.get('Europe/London').current_time_and_period
|
1191
|
-
assert_equal(2, current.length)
|
1192
|
-
assert_kind_of(Time, current[0])
|
1193
|
-
assert_kind_of(TimezonePeriod, current[1])
|
1194
|
-
end
|
1195
|
-
|
1196
|
-
def test_compare
|
1197
|
-
assert_equal(0, TestTimezone.new('Europe/London') <=> TestTimezone.new('Europe/London'))
|
1198
|
-
assert_equal(-1, TestTimezone.new('Europe/London') <=> TestTimezone.new('Europe/london'))
|
1199
|
-
assert_equal(-1, TestTimezone.new('Europe/London') <=> TestTimezone.new('Europe/Paris'))
|
1200
|
-
assert_equal(1, TestTimezone.new('Europe/Paris') <=> TestTimezone.new('Europe/London'))
|
1201
|
-
assert_equal(-1, TestTimezone.new('America/New_York') <=> TestTimezone.new('Europe/Paris'))
|
1202
|
-
assert_equal(1, TestTimezone.new('Europe/Paris') <=> TestTimezone.new('America/New_York'))
|
1203
|
-
end
|
1204
|
-
|
1205
|
-
def test_compare_non_comparable
|
1206
|
-
assert_nil(TestTimezone.new('Europe/London') <=> Object.new)
|
1207
|
-
end
|
1208
|
-
|
1209
|
-
def test_equality
|
1210
|
-
assert_equal(true, TestTimezone.new('Europe/London') == TestTimezone.new('Europe/London'))
|
1211
|
-
assert_equal(false, TestTimezone.new('Europe/London') == TestTimezone.new('Europe/london'))
|
1212
|
-
assert_equal(false, TestTimezone.new('Europe/London') == TestTimezone.new('Europe/Paris'))
|
1213
|
-
assert(!(TestTimezone.new('Europe/London') == Object.new))
|
1214
|
-
end
|
1215
|
-
|
1216
|
-
def test_eql
|
1217
|
-
assert_equal(true, TestTimezone.new('Europe/London').eql?(TestTimezone.new('Europe/London')))
|
1218
|
-
assert_equal(false, TestTimezone.new('Europe/London').eql?(TestTimezone.new('Europe/london')))
|
1219
|
-
assert_equal(false, TestTimezone.new('Europe/London').eql?(TestTimezone.new('Europe/Paris')))
|
1220
|
-
assert(!TestTimezone.new('Europe/London').eql?(Object.new))
|
1221
|
-
end
|
1222
|
-
|
1223
|
-
def test_hash
|
1224
|
-
assert_equal('Europe/London'.hash, TestTimezone.new('Europe/London').hash)
|
1225
|
-
assert_equal('America/New_York'.hash, TestTimezone.new('America/New_York').hash)
|
1226
|
-
end
|
1227
|
-
|
1228
|
-
def test_marshal_data
|
1229
|
-
tz = Timezone.get('Europe/London')
|
1230
|
-
assert_kind_of(DataTimezone, tz)
|
1231
|
-
assert_same(tz, Marshal.load(Marshal.dump(tz)))
|
1232
|
-
end
|
1233
|
-
|
1234
|
-
def test_marshal_linked
|
1235
|
-
tz = Timezone.get('UTC')
|
1236
|
-
|
1237
|
-
# ZoneinfoDataSource doesn't return LinkedTimezoneInfo for any timezone.
|
1238
|
-
if DataSource.get.load_timezone_info('UTC').kind_of?(LinkedTimezoneInfo)
|
1239
|
-
assert_kind_of(LinkedTimezone, tz)
|
1240
|
-
else
|
1241
|
-
assert_kind_of(DataTimezone, tz)
|
1242
|
-
end
|
1243
|
-
|
1244
|
-
assert_same(tz, Marshal.load(Marshal.dump(tz)))
|
1245
|
-
end
|
1246
|
-
|
1247
|
-
def test_strftime_datetime
|
1248
|
-
tz = Timezone.get('Europe/London')
|
1249
|
-
assert_equal('23:12:02 BST', tz.strftime('%H:%M:%S %Z', DateTime.new(2006, 7, 15, 22, 12, 2)))
|
1250
|
-
assert_equal('BST', tz.strftime('%Z', DateTime.new(2006, 7, 15, 22, 12, 2)))
|
1251
|
-
assert_equal('%ZBST', tz.strftime('%%Z%Z', DateTime.new(2006, 7, 15, 22, 12, 2)))
|
1252
|
-
assert_equal('BST BST', tz.strftime('%Z %Z', DateTime.new(2006, 7, 15, 22, 12, 2)))
|
1253
|
-
end
|
1254
|
-
|
1255
|
-
def test_strftime_time
|
1256
|
-
tz = Timezone.get('Europe/London')
|
1257
|
-
assert_equal('23:12:02 BST', tz.strftime('%H:%M:%S %Z', Time.utc(2006, 7, 15, 22, 12, 2)))
|
1258
|
-
assert_equal('BST', tz.strftime('%Z', Time.utc(2006, 7, 15, 22, 12, 2)))
|
1259
|
-
assert_equal('%ZBST', tz.strftime('%%Z%Z', Time.utc(2006, 7, 15, 22, 12, 2)))
|
1260
|
-
assert_equal('BST BST', tz.strftime('%Z %Z', Time.utc(2006, 7, 15, 22, 12, 2)))
|
1261
|
-
end
|
1262
|
-
|
1263
|
-
def test_strftime_int
|
1264
|
-
tz = Timezone.get('Europe/London')
|
1265
|
-
assert_equal('23:12:02 BST', tz.strftime('%H:%M:%S %Z', Time.utc(2006, 7, 15, 22, 12, 2).to_i))
|
1266
|
-
assert_equal('BST', tz.strftime('%Z', Time.utc(2006, 7, 15, 22, 12, 2).to_i))
|
1267
|
-
assert_equal('%ZBST', tz.strftime('%%Z%Z', Time.utc(2006, 7, 15, 22, 12, 2).to_i))
|
1268
|
-
assert_equal('BST BST', tz.strftime('%Z %Z', Time.utc(2006, 7, 15, 22, 12, 2).to_i))
|
1269
|
-
end
|
1270
|
-
|
1271
|
-
def test_get_missing_data_source
|
1272
|
-
DataSource.set(DataSource.new)
|
1273
|
-
|
1274
|
-
assert_raises(InvalidDataSource) do
|
1275
|
-
Timezone.get('Europe/London')
|
1276
|
-
end
|
1277
|
-
end
|
1278
|
-
|
1279
|
-
def test_new_missing_data_source
|
1280
|
-
DataSource.set(DataSource.new)
|
1281
|
-
|
1282
|
-
assert_raises(InvalidDataSource) do
|
1283
|
-
Timezone.new('Europe/London')
|
1284
|
-
end
|
1285
|
-
end
|
1286
|
-
|
1287
|
-
def test_all_missing_data_source
|
1288
|
-
DataSource.set(DataSource.new)
|
1289
|
-
|
1290
|
-
assert_raises(InvalidDataSource) do
|
1291
|
-
Timezone.all
|
1292
|
-
end
|
1293
|
-
end
|
1294
|
-
|
1295
|
-
def test_all_identifiers_missing_data_source
|
1296
|
-
DataSource.set(DataSource.new)
|
1297
|
-
|
1298
|
-
assert_raises(InvalidDataSource) do
|
1299
|
-
Timezone.all_identifiers
|
1300
|
-
end
|
1301
|
-
end
|
1302
|
-
|
1303
|
-
def test_all_data_zones_missing_data_source
|
1304
|
-
DataSource.set(DataSource.new)
|
1305
|
-
|
1306
|
-
assert_raises(InvalidDataSource) do
|
1307
|
-
Timezone.all_data_zones
|
1308
|
-
end
|
1309
|
-
end
|
1310
|
-
|
1311
|
-
def test_all_data_zone_identifiers_missing_data_source
|
1312
|
-
DataSource.set(DataSource.new)
|
1313
|
-
|
1314
|
-
assert_raises(InvalidDataSource) do
|
1315
|
-
Timezone.all_data_zone_identifiers
|
1316
|
-
end
|
1317
|
-
end
|
1318
|
-
|
1319
|
-
def test_all_linked_zones_missing_data_source
|
1320
|
-
DataSource.set(DataSource.new)
|
1321
|
-
|
1322
|
-
assert_raises(InvalidDataSource) do
|
1323
|
-
Timezone.all_linked_zones
|
1324
|
-
end
|
1325
|
-
end
|
1326
|
-
|
1327
|
-
def test_all_linked_zone_identifiers_missing_data_source
|
1328
|
-
DataSource.set(DataSource.new)
|
1329
|
-
|
1330
|
-
assert_raises(InvalidDataSource) do
|
1331
|
-
Timezone.all_linked_zone_identifiers
|
1332
|
-
end
|
1333
|
-
end
|
1334
|
-
end
|