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,65 +0,0 @@
|
|
1
|
-
require 'drb/drb'
|
2
|
-
require 'drb/acl'
|
3
|
-
|
4
|
-
module RSpec
|
5
|
-
module Core
|
6
|
-
# @private
|
7
|
-
module Bisect
|
8
|
-
# @private
|
9
|
-
BisectFailedError = Class.new(StandardError)
|
10
|
-
|
11
|
-
# @private
|
12
|
-
# A DRb server that receives run results from a separate RSpec process
|
13
|
-
# started by the bisect process.
|
14
|
-
class Server
|
15
|
-
def self.run
|
16
|
-
server = new
|
17
|
-
server.start
|
18
|
-
yield server
|
19
|
-
ensure
|
20
|
-
server.stop
|
21
|
-
end
|
22
|
-
|
23
|
-
def capture_run_results(files_or_directories_to_run=[], expected_failures=[])
|
24
|
-
self.expected_failures = expected_failures
|
25
|
-
self.files_or_directories_to_run = files_or_directories_to_run
|
26
|
-
self.latest_run_results = nil
|
27
|
-
run_output = yield
|
28
|
-
latest_run_results || raise_bisect_failed(run_output)
|
29
|
-
end
|
30
|
-
|
31
|
-
def start
|
32
|
-
# Only allow remote DRb requests from this machine.
|
33
|
-
DRb.install_acl ACL.new(%w[ deny all allow localhost allow 127.0.0.1 ])
|
34
|
-
|
35
|
-
# We pass `nil` as the first arg to allow it to pick a DRb port.
|
36
|
-
@drb = DRb.start_service(nil, self)
|
37
|
-
end
|
38
|
-
|
39
|
-
def stop
|
40
|
-
@drb.stop_service
|
41
|
-
end
|
42
|
-
|
43
|
-
def drb_port
|
44
|
-
@drb_port ||= Integer(@drb.uri[/\d+$/])
|
45
|
-
end
|
46
|
-
|
47
|
-
# Fetched via DRb by the BisectFormatter to determine when to abort.
|
48
|
-
attr_accessor :expected_failures
|
49
|
-
|
50
|
-
# Set via DRb by the BisectFormatter with the results of the run.
|
51
|
-
attr_accessor :latest_run_results
|
52
|
-
|
53
|
-
# Fetched via DRb to tell clients which files to run
|
54
|
-
attr_accessor :files_or_directories_to_run
|
55
|
-
|
56
|
-
private
|
57
|
-
|
58
|
-
def raise_bisect_failed(run_output)
|
59
|
-
raise BisectFailedError, "Failed to get results from the spec " \
|
60
|
-
"run. Spec run output:\n\n#{run_output}"
|
61
|
-
end
|
62
|
-
end
|
63
|
-
end
|
64
|
-
end
|
65
|
-
end
|
@@ -1,2100 +0,0 @@
|
|
1
|
-
RSpec::Support.require_rspec_core "backtrace_formatter"
|
2
|
-
RSpec::Support.require_rspec_core "ruby_project"
|
3
|
-
RSpec::Support.require_rspec_core "formatters/deprecation_formatter"
|
4
|
-
|
5
|
-
module RSpec
|
6
|
-
module Core
|
7
|
-
# rubocop:disable Metrics/ClassLength
|
8
|
-
|
9
|
-
# Stores runtime configuration information.
|
10
|
-
#
|
11
|
-
# Configuration options are loaded from `~/.rspec`, `.rspec`,
|
12
|
-
# `.rspec-local`, command line switches, and the `SPEC_OPTS` environment
|
13
|
-
# variable (listed in lowest to highest precedence; for example, an option
|
14
|
-
# in `~/.rspec` can be overridden by an option in `.rspec-local`).
|
15
|
-
#
|
16
|
-
# @example Standard settings
|
17
|
-
# RSpec.configure do |c|
|
18
|
-
# c.drb = true
|
19
|
-
# c.drb_port = 1234
|
20
|
-
# c.default_path = 'behavior'
|
21
|
-
# end
|
22
|
-
#
|
23
|
-
# @example Hooks
|
24
|
-
# RSpec.configure do |c|
|
25
|
-
# c.before(:suite) { establish_connection }
|
26
|
-
# c.before(:example) { log_in_as :authorized }
|
27
|
-
# c.around(:example) { |ex| Database.transaction(&ex) }
|
28
|
-
# end
|
29
|
-
#
|
30
|
-
# @see RSpec.configure
|
31
|
-
# @see Hooks
|
32
|
-
class Configuration
|
33
|
-
include RSpec::Core::Hooks
|
34
|
-
|
35
|
-
# Module that holds `attr_reader` declarations. It's in a separate
|
36
|
-
# module to allow us to override those methods and use `super`.
|
37
|
-
# @private
|
38
|
-
Readers = Module.new
|
39
|
-
include Readers
|
40
|
-
|
41
|
-
# @private
|
42
|
-
class MustBeConfiguredBeforeExampleGroupsError < StandardError; end
|
43
|
-
|
44
|
-
# @private
|
45
|
-
def self.define_reader(name)
|
46
|
-
Readers.class_eval do
|
47
|
-
remove_method name if method_defined?(name)
|
48
|
-
attr_reader name
|
49
|
-
end
|
50
|
-
|
51
|
-
define_method(name) { value_for(name) { super() } }
|
52
|
-
end
|
53
|
-
|
54
|
-
# @private
|
55
|
-
def self.define_aliases(name, alias_name)
|
56
|
-
alias_method alias_name, name
|
57
|
-
alias_method "#{alias_name}=", "#{name}="
|
58
|
-
define_predicate_for alias_name
|
59
|
-
end
|
60
|
-
|
61
|
-
# @private
|
62
|
-
def self.define_predicate_for(*names)
|
63
|
-
names.each { |name| alias_method "#{name}?", name }
|
64
|
-
end
|
65
|
-
|
66
|
-
# @private
|
67
|
-
#
|
68
|
-
# Invoked by the `add_setting` instance method. Use that method on a
|
69
|
-
# `Configuration` instance rather than this class method.
|
70
|
-
def self.add_setting(name, opts={})
|
71
|
-
raise "Use the instance add_setting method if you want to set a default" if opts.key?(:default)
|
72
|
-
attr_writer name
|
73
|
-
add_read_only_setting name
|
74
|
-
|
75
|
-
Array(opts[:alias_with]).each do |alias_name|
|
76
|
-
define_aliases(name, alias_name)
|
77
|
-
end
|
78
|
-
end
|
79
|
-
|
80
|
-
# @private
|
81
|
-
#
|
82
|
-
# As `add_setting` but only add the reader.
|
83
|
-
def self.add_read_only_setting(name, opts={})
|
84
|
-
raise "Use the instance add_setting method if you want to set a default" if opts.key?(:default)
|
85
|
-
define_reader name
|
86
|
-
define_predicate_for name
|
87
|
-
end
|
88
|
-
|
89
|
-
# @macro [attach] add_setting
|
90
|
-
# @!attribute [rw] $1
|
91
|
-
# @!method $1=(value)
|
92
|
-
#
|
93
|
-
# @macro [attach] define_reader
|
94
|
-
# @!attribute [r] $1
|
95
|
-
|
96
|
-
# @macro add_setting
|
97
|
-
# Path to use if no path is provided to the `rspec` command (default:
|
98
|
-
# `"spec"`). Allows you to just type `rspec` instead of `rspec spec` to
|
99
|
-
# run all the examples in the `spec` directory.
|
100
|
-
#
|
101
|
-
# @note Other scripts invoking `rspec` indirectly will ignore this
|
102
|
-
# setting.
|
103
|
-
add_read_only_setting :default_path
|
104
|
-
def default_path=(path)
|
105
|
-
project_source_dirs << path
|
106
|
-
@default_path = path
|
107
|
-
end
|
108
|
-
|
109
|
-
# @macro add_setting
|
110
|
-
# Run examples over DRb (default: `false`). RSpec doesn't supply the DRb
|
111
|
-
# server, but you can use tools like spork.
|
112
|
-
add_setting :drb
|
113
|
-
|
114
|
-
# @macro add_setting
|
115
|
-
# The drb_port (default: nil).
|
116
|
-
add_setting :drb_port
|
117
|
-
|
118
|
-
# @macro add_setting
|
119
|
-
# Default: `$stderr`.
|
120
|
-
add_setting :error_stream
|
121
|
-
|
122
|
-
# Indicates if the DSL has been exposed off of modules and `main`.
|
123
|
-
# Default: true
|
124
|
-
def expose_dsl_globally?
|
125
|
-
Core::DSL.exposed_globally?
|
126
|
-
end
|
127
|
-
|
128
|
-
# Use this to expose the core RSpec DSL via `Module` and the `main`
|
129
|
-
# object. It will be set automatically but you can override it to
|
130
|
-
# remove the DSL.
|
131
|
-
# Default: true
|
132
|
-
def expose_dsl_globally=(value)
|
133
|
-
if value
|
134
|
-
Core::DSL.expose_globally!
|
135
|
-
Core::SharedExampleGroup::TopLevelDSL.expose_globally!
|
136
|
-
else
|
137
|
-
Core::DSL.remove_globally!
|
138
|
-
Core::SharedExampleGroup::TopLevelDSL.remove_globally!
|
139
|
-
end
|
140
|
-
end
|
141
|
-
|
142
|
-
# Determines where deprecation warnings are printed.
|
143
|
-
# Defaults to `$stderr`.
|
144
|
-
# @return [IO, String] IO to write to or filename to write to
|
145
|
-
define_reader :deprecation_stream
|
146
|
-
|
147
|
-
# Determines where deprecation warnings are printed.
|
148
|
-
# @param value [IO, String] IO to write to or filename to write to
|
149
|
-
def deprecation_stream=(value)
|
150
|
-
if @reporter && !value.equal?(@deprecation_stream)
|
151
|
-
warn "RSpec's reporter has already been initialized with " \
|
152
|
-
"#{deprecation_stream.inspect} as the deprecation stream, so your change to "\
|
153
|
-
"`deprecation_stream` will be ignored. You should configure it earlier for " \
|
154
|
-
"it to take effect, or use the `--deprecation-out` CLI option. " \
|
155
|
-
"(Called from #{CallerFilter.first_non_rspec_line})"
|
156
|
-
else
|
157
|
-
@deprecation_stream = value
|
158
|
-
end
|
159
|
-
end
|
160
|
-
|
161
|
-
# @macro define_reader
|
162
|
-
# The file path to use for persisting example statuses. Necessary for the
|
163
|
-
# `--only-failures` and `--next-failures` CLI options.
|
164
|
-
#
|
165
|
-
# @overload example_status_persistence_file_path
|
166
|
-
# @return [String] the file path
|
167
|
-
# @overload example_status_persistence_file_path=(value)
|
168
|
-
# @param value [String] the file path
|
169
|
-
define_reader :example_status_persistence_file_path
|
170
|
-
|
171
|
-
# Sets the file path to use for persisting example statuses. Necessary for the
|
172
|
-
# `--only-failures` and `--next-failures` CLI options.
|
173
|
-
def example_status_persistence_file_path=(value)
|
174
|
-
@example_status_persistence_file_path = value
|
175
|
-
clear_values_derived_from_example_status_persistence_file_path
|
176
|
-
end
|
177
|
-
|
178
|
-
# @macro define_reader
|
179
|
-
# Indicates if the `--only-failures` (or `--next-failure`) flag is being used.
|
180
|
-
define_reader :only_failures
|
181
|
-
alias_method :only_failures?, :only_failures
|
182
|
-
|
183
|
-
# @private
|
184
|
-
def only_failures_but_not_configured?
|
185
|
-
only_failures? && !example_status_persistence_file_path
|
186
|
-
end
|
187
|
-
|
188
|
-
# @macro add_setting
|
189
|
-
# If specified, indicates the number of failures required before cleaning
|
190
|
-
# up and exit (default: `nil`).
|
191
|
-
add_setting :fail_fast
|
192
|
-
|
193
|
-
# @macro add_setting
|
194
|
-
# Prints the formatter output of your suite without running any
|
195
|
-
# examples or hooks.
|
196
|
-
add_setting :dry_run
|
197
|
-
|
198
|
-
# @macro add_setting
|
199
|
-
# The exit code to return if there are any failures (default: 1).
|
200
|
-
add_setting :failure_exit_code
|
201
|
-
|
202
|
-
# @macro define_reader
|
203
|
-
# Indicates files configured to be required.
|
204
|
-
define_reader :requires
|
205
|
-
|
206
|
-
# @macro define_reader
|
207
|
-
# Returns dirs that have been prepended to the load path by the `-I`
|
208
|
-
# command line option.
|
209
|
-
define_reader :libs
|
210
|
-
|
211
|
-
# @macro add_setting
|
212
|
-
# Determines where RSpec will send its output.
|
213
|
-
# Default: `$stdout`.
|
214
|
-
define_reader :output_stream
|
215
|
-
|
216
|
-
# Set the output stream for reporter.
|
217
|
-
# @attr value [IO] value for output, defaults to $stdout
|
218
|
-
def output_stream=(value)
|
219
|
-
if @reporter && !value.equal?(@output_stream)
|
220
|
-
warn "RSpec's reporter has already been initialized with " \
|
221
|
-
"#{output_stream.inspect} as the output stream, so your change to "\
|
222
|
-
"`output_stream` will be ignored. You should configure it earlier for " \
|
223
|
-
"it to take effect. (Called from #{CallerFilter.first_non_rspec_line})"
|
224
|
-
else
|
225
|
-
@output_stream = value
|
226
|
-
end
|
227
|
-
end
|
228
|
-
|
229
|
-
# @macro define_reader
|
230
|
-
# Load files matching this pattern (default: `'**{,/*/**}/*_spec.rb'`).
|
231
|
-
define_reader :pattern
|
232
|
-
|
233
|
-
# Set pattern to match files to load.
|
234
|
-
# @attr value [String] the filename pattern to filter spec files by
|
235
|
-
def pattern=(value)
|
236
|
-
update_pattern_attr :pattern, value
|
237
|
-
end
|
238
|
-
|
239
|
-
# @macro define_reader
|
240
|
-
# Exclude files matching this pattern.
|
241
|
-
define_reader :exclude_pattern
|
242
|
-
|
243
|
-
# Set pattern to match files to exclude.
|
244
|
-
# @attr value [String] the filename pattern to exclude spec files by
|
245
|
-
def exclude_pattern=(value)
|
246
|
-
update_pattern_attr :exclude_pattern, value
|
247
|
-
end
|
248
|
-
|
249
|
-
# @macro add_setting
|
250
|
-
# Specifies which directories contain the source code for your project.
|
251
|
-
# When a failure occurs, RSpec looks through the backtrace to find a
|
252
|
-
# a line of source to print. It first looks for a line coming from
|
253
|
-
# one of the project source directories so that, for example, it prints
|
254
|
-
# the expectation or assertion call rather than the source code from
|
255
|
-
# the expectation or assertion framework.
|
256
|
-
# @return [Array<String>]
|
257
|
-
add_setting :project_source_dirs
|
258
|
-
|
259
|
-
# @macro add_setting
|
260
|
-
# Report the times for the slowest examples (default: `false`).
|
261
|
-
# Use this to specify the number of examples to include in the profile.
|
262
|
-
add_setting :profile_examples
|
263
|
-
|
264
|
-
# @macro add_setting
|
265
|
-
# Run all examples if none match the configured filters
|
266
|
-
# (default: `false`).
|
267
|
-
# @deprecated Use {#filter_run_when_matching} instead for the specific
|
268
|
-
# filters that you want to be ignored if none match.
|
269
|
-
add_setting :run_all_when_everything_filtered
|
270
|
-
|
271
|
-
# @macro add_setting
|
272
|
-
# Color to use to indicate success.
|
273
|
-
# @param color [Symbol] defaults to `:green` but can be set to one of the
|
274
|
-
# following: `[:black, :white, :red, :green, :yellow, :blue, :magenta,
|
275
|
-
# :cyan]`
|
276
|
-
add_setting :success_color
|
277
|
-
|
278
|
-
# @macro add_setting
|
279
|
-
# Color to use to print pending examples.
|
280
|
-
# @param color [Symbol] defaults to `:yellow` but can be set to one of the
|
281
|
-
# following: `[:black, :white, :red, :green, :yellow, :blue, :magenta,
|
282
|
-
# :cyan]`
|
283
|
-
add_setting :pending_color
|
284
|
-
|
285
|
-
# @macro add_setting
|
286
|
-
# Color to use to indicate failure.
|
287
|
-
# @param color [Symbol] defaults to `:red` but can be set to one of the
|
288
|
-
# following: `[:black, :white, :red, :green, :yellow, :blue, :magenta,
|
289
|
-
# :cyan]`
|
290
|
-
add_setting :failure_color
|
291
|
-
|
292
|
-
# @macro add_setting
|
293
|
-
# The default output color.
|
294
|
-
# @param color [Symbol] defaults to `:white` but can be set to one of the
|
295
|
-
# following: `[:black, :white, :red, :green, :yellow, :blue, :magenta,
|
296
|
-
# :cyan]`
|
297
|
-
add_setting :default_color
|
298
|
-
|
299
|
-
# @macro add_setting
|
300
|
-
# Color used when a pending example is fixed.
|
301
|
-
# @param color [Symbol] defaults to `:blue` but can be set to one of the
|
302
|
-
# following: `[:black, :white, :red, :green, :yellow, :blue, :magenta,
|
303
|
-
# :cyan]`
|
304
|
-
add_setting :fixed_color
|
305
|
-
|
306
|
-
# @macro add_setting
|
307
|
-
# Color used to print details.
|
308
|
-
# @param color [Symbol] defaults to `:cyan` but can be set to one of the
|
309
|
-
# following: `[:black, :white, :red, :green, :yellow, :blue, :magenta,
|
310
|
-
# :cyan]`
|
311
|
-
add_setting :detail_color
|
312
|
-
|
313
|
-
# @macro add_setting
|
314
|
-
# Don't print filter info i.e. "Run options: include {:focus=>true}"
|
315
|
-
# (default `false`).
|
316
|
-
add_setting :silence_filter_announcements
|
317
|
-
|
318
|
-
# Deprecated. This config option was added in RSpec 2 to pave the way
|
319
|
-
# for this being the default behavior in RSpec 3. Now this option is
|
320
|
-
# a no-op.
|
321
|
-
def treat_symbols_as_metadata_keys_with_true_values=(_value)
|
322
|
-
RSpec.deprecate(
|
323
|
-
"RSpec::Core::Configuration#treat_symbols_as_metadata_keys_with_true_values=",
|
324
|
-
:message => "RSpec::Core::Configuration#treat_symbols_as_metadata_keys_with_true_values= " \
|
325
|
-
"is deprecated, it is now set to true as default and " \
|
326
|
-
"setting it to false has no effect."
|
327
|
-
)
|
328
|
-
end
|
329
|
-
|
330
|
-
# @macro define_reader
|
331
|
-
# Configures how RSpec treats metadata passed as part of a shared example
|
332
|
-
# group definition. For example, given this shared example group definition:
|
333
|
-
#
|
334
|
-
# RSpec.shared_context "uses DB", :db => true do
|
335
|
-
# around(:example) do |ex|
|
336
|
-
# MyORM.transaction(:rollback => true, &ex)
|
337
|
-
# end
|
338
|
-
# end
|
339
|
-
#
|
340
|
-
# ...there are two ways RSpec can treat the `:db => true` metadata, each
|
341
|
-
# of which has a corresponding config option:
|
342
|
-
#
|
343
|
-
# 1. `:trigger_inclusion`: this shared context will be implicitly included
|
344
|
-
# in any groups (or examples) that have `:db => true` metadata.
|
345
|
-
# 2. `:apply_to_host_groups`: the metadata will be inherited by the metadata
|
346
|
-
# hash of all host groups and examples.
|
347
|
-
#
|
348
|
-
# `:trigger_inclusion` is the legacy behavior from before RSpec 3.5 but should
|
349
|
-
# be considered deprecated. Instead, you can explicitly include a group with
|
350
|
-
# `include_context`:
|
351
|
-
#
|
352
|
-
# RSpec.describe "My model" do
|
353
|
-
# include_context "uses DB"
|
354
|
-
# end
|
355
|
-
#
|
356
|
-
# ...or you can configure RSpec to include the context based on matching metadata
|
357
|
-
# using an API that mirrors configured module inclusion:
|
358
|
-
#
|
359
|
-
# RSpec.configure do |rspec|
|
360
|
-
# rspec.include_context "uses DB", :db => true
|
361
|
-
# end
|
362
|
-
#
|
363
|
-
# `:apply_to_host_groups` is a new feature of RSpec 3.5 and will be the only
|
364
|
-
# supported behavior in RSpec 4.
|
365
|
-
#
|
366
|
-
# @overload shared_context_metadata_behavior
|
367
|
-
# @return [:trigger_inclusion, :apply_to_host_groups] the configured behavior
|
368
|
-
# @overload shared_context_metadata_behavior=(value)
|
369
|
-
# @param value [:trigger_inclusion, :apply_to_host_groups] sets the configured behavior
|
370
|
-
define_reader :shared_context_metadata_behavior
|
371
|
-
# @see shared_context_metadata_behavior
|
372
|
-
def shared_context_metadata_behavior=(value)
|
373
|
-
case value
|
374
|
-
when :trigger_inclusion, :apply_to_host_groups
|
375
|
-
@shared_context_metadata_behavior = value
|
376
|
-
else
|
377
|
-
raise ArgumentError, "Cannot set `RSpec.configuration." \
|
378
|
-
"shared_context_metadata_behavior` to `#{value.inspect}`. Only " \
|
379
|
-
"`:trigger_inclusion` and `:apply_to_host_groups` are valid values."
|
380
|
-
end
|
381
|
-
end
|
382
|
-
|
383
|
-
# Record the start time of the spec suite to measure load time.
|
384
|
-
add_setting :start_time
|
385
|
-
|
386
|
-
# @macro add_setting
|
387
|
-
# Use threadsafe options where available.
|
388
|
-
# Currently this will place a mutex around memoized values such as let blocks.
|
389
|
-
add_setting :threadsafe
|
390
|
-
|
391
|
-
# @macro add_setting
|
392
|
-
# Maximum count of failed source lines to display in the failure reports.
|
393
|
-
# (default `10`).
|
394
|
-
add_setting :max_displayed_failure_line_count
|
395
|
-
|
396
|
-
# @private
|
397
|
-
add_setting :tty
|
398
|
-
# @private
|
399
|
-
attr_writer :files_to_run
|
400
|
-
# @private
|
401
|
-
attr_accessor :filter_manager, :world
|
402
|
-
# @private
|
403
|
-
attr_accessor :static_config_filter_manager
|
404
|
-
# @private
|
405
|
-
attr_reader :backtrace_formatter, :ordering_manager, :loaded_spec_files
|
406
|
-
|
407
|
-
# rubocop:disable Metrics/AbcSize
|
408
|
-
# rubocop:disable Metrics/MethodLength
|
409
|
-
def initialize
|
410
|
-
# rubocop:disable Style/GlobalVars
|
411
|
-
@start_time = $_rspec_core_load_started_at || ::RSpec::Core::Time.now
|
412
|
-
# rubocop:enable Style/GlobalVars
|
413
|
-
@expectation_frameworks = []
|
414
|
-
@include_modules = FilterableItemRepository::QueryOptimized.new(:any?)
|
415
|
-
@extend_modules = FilterableItemRepository::QueryOptimized.new(:any?)
|
416
|
-
@prepend_modules = FilterableItemRepository::QueryOptimized.new(:any?)
|
417
|
-
|
418
|
-
@before_suite_hooks = []
|
419
|
-
@after_suite_hooks = []
|
420
|
-
|
421
|
-
@mock_framework = nil
|
422
|
-
@files_or_directories_to_run = []
|
423
|
-
@loaded_spec_files = Set.new
|
424
|
-
@color = false
|
425
|
-
@pattern = '**{,/*/**}/*_spec.rb'
|
426
|
-
@exclude_pattern = ''
|
427
|
-
@failure_exit_code = 1
|
428
|
-
@spec_files_loaded = false
|
429
|
-
|
430
|
-
@backtrace_formatter = BacktraceFormatter.new
|
431
|
-
|
432
|
-
@default_path = 'spec'
|
433
|
-
@project_source_dirs = %w[ spec lib app ]
|
434
|
-
@deprecation_stream = $stderr
|
435
|
-
@output_stream = $stdout
|
436
|
-
@reporter = nil
|
437
|
-
@reporter_buffer = nil
|
438
|
-
@filter_manager = FilterManager.new
|
439
|
-
@static_config_filter_manager = FilterManager.new
|
440
|
-
@ordering_manager = Ordering::ConfigurationManager.new
|
441
|
-
@preferred_options = {}
|
442
|
-
@failure_color = :red
|
443
|
-
@success_color = :green
|
444
|
-
@pending_color = :yellow
|
445
|
-
@default_color = :white
|
446
|
-
@fixed_color = :blue
|
447
|
-
@detail_color = :cyan
|
448
|
-
@profile_examples = false
|
449
|
-
@requires = []
|
450
|
-
@libs = []
|
451
|
-
@derived_metadata_blocks = FilterableItemRepository::QueryOptimized.new(:any?)
|
452
|
-
@threadsafe = true
|
453
|
-
@max_displayed_failure_line_count = 10
|
454
|
-
@world = World::Null
|
455
|
-
@shared_context_metadata_behavior = :trigger_inclusion
|
456
|
-
|
457
|
-
define_built_in_hooks
|
458
|
-
end
|
459
|
-
# rubocop:enable Metrics/MethodLength
|
460
|
-
# rubocop:enable Metrics/AbcSize
|
461
|
-
|
462
|
-
# @private
|
463
|
-
#
|
464
|
-
# Used to set higher priority option values from the command line.
|
465
|
-
def force(hash)
|
466
|
-
ordering_manager.force(hash)
|
467
|
-
@preferred_options.merge!(hash)
|
468
|
-
|
469
|
-
return unless hash.key?(:example_status_persistence_file_path)
|
470
|
-
clear_values_derived_from_example_status_persistence_file_path
|
471
|
-
end
|
472
|
-
|
473
|
-
# @private
|
474
|
-
def reset
|
475
|
-
@spec_files_loaded = false
|
476
|
-
@reporter = nil
|
477
|
-
@formatter_loader = nil
|
478
|
-
end
|
479
|
-
|
480
|
-
# @private
|
481
|
-
def reset_filters
|
482
|
-
self.filter_manager = FilterManager.new
|
483
|
-
filter_manager.include_only(
|
484
|
-
Metadata.deep_hash_dup(static_config_filter_manager.inclusions.rules)
|
485
|
-
)
|
486
|
-
filter_manager.exclude_only(
|
487
|
-
Metadata.deep_hash_dup(static_config_filter_manager.exclusions.rules)
|
488
|
-
)
|
489
|
-
end
|
490
|
-
|
491
|
-
# @overload add_setting(name)
|
492
|
-
# @overload add_setting(name, opts)
|
493
|
-
# @option opts [Symbol] :default
|
494
|
-
#
|
495
|
-
# Set a default value for the generated getter and predicate methods:
|
496
|
-
#
|
497
|
-
# add_setting(:foo, :default => "default value")
|
498
|
-
#
|
499
|
-
# @option opts [Symbol] :alias_with
|
500
|
-
#
|
501
|
-
# Use `:alias_with` to alias the setter, getter, and predicate to
|
502
|
-
# another name, or names:
|
503
|
-
#
|
504
|
-
# add_setting(:foo, :alias_with => :bar)
|
505
|
-
# add_setting(:foo, :alias_with => [:bar, :baz])
|
506
|
-
#
|
507
|
-
# Adds a custom setting to the RSpec.configuration object.
|
508
|
-
#
|
509
|
-
# RSpec.configuration.add_setting :foo
|
510
|
-
#
|
511
|
-
# Used internally and by extension frameworks like rspec-rails, so they
|
512
|
-
# can add config settings that are domain specific. For example:
|
513
|
-
#
|
514
|
-
# RSpec.configure do |c|
|
515
|
-
# c.add_setting :use_transactional_fixtures,
|
516
|
-
# :default => true,
|
517
|
-
# :alias_with => :use_transactional_examples
|
518
|
-
# end
|
519
|
-
#
|
520
|
-
# `add_setting` creates three methods on the configuration object, a
|
521
|
-
# setter, a getter, and a predicate:
|
522
|
-
#
|
523
|
-
# RSpec.configuration.foo=(value)
|
524
|
-
# RSpec.configuration.foo
|
525
|
-
# RSpec.configuration.foo? # Returns true if foo returns anything but nil or false.
|
526
|
-
def add_setting(name, opts={})
|
527
|
-
default = opts.delete(:default)
|
528
|
-
(class << self; self; end).class_exec do
|
529
|
-
add_setting(name, opts)
|
530
|
-
end
|
531
|
-
__send__("#{name}=", default) if default
|
532
|
-
end
|
533
|
-
|
534
|
-
# Returns the configured mock framework adapter module.
|
535
|
-
def mock_framework
|
536
|
-
if @mock_framework.nil?
|
537
|
-
begin
|
538
|
-
mock_with :rspec
|
539
|
-
rescue LoadError
|
540
|
-
mock_with :nothing
|
541
|
-
end
|
542
|
-
end
|
543
|
-
@mock_framework
|
544
|
-
end
|
545
|
-
|
546
|
-
# Delegates to mock_framework=(framework).
|
547
|
-
def mock_framework=(framework)
|
548
|
-
mock_with framework
|
549
|
-
end
|
550
|
-
|
551
|
-
# Regexps used to exclude lines from backtraces.
|
552
|
-
#
|
553
|
-
# Excludes lines from ruby (and jruby) source, installed gems, anything
|
554
|
-
# in any "bin" directory, and any of the RSpec libs (outside gem
|
555
|
-
# installs) by default.
|
556
|
-
#
|
557
|
-
# You can modify the list via the getter, or replace it with the setter.
|
558
|
-
#
|
559
|
-
# To override this behaviour and display a full backtrace, use
|
560
|
-
# `--backtrace` on the command line, in a `.rspec` file, or in the
|
561
|
-
# `rspec_options` attribute of RSpec's rake task.
|
562
|
-
def backtrace_exclusion_patterns
|
563
|
-
@backtrace_formatter.exclusion_patterns
|
564
|
-
end
|
565
|
-
|
566
|
-
# Set regular expressions used to exclude lines in backtrace.
|
567
|
-
# @param patterns [Regexp] set the backtrace exlusion pattern
|
568
|
-
def backtrace_exclusion_patterns=(patterns)
|
569
|
-
@backtrace_formatter.exclusion_patterns = patterns
|
570
|
-
end
|
571
|
-
|
572
|
-
# Regexps used to include lines in backtraces.
|
573
|
-
#
|
574
|
-
# Defaults to [Regexp.new Dir.getwd].
|
575
|
-
#
|
576
|
-
# Lines that match an exclusion _and_ an inclusion pattern
|
577
|
-
# will be included.
|
578
|
-
#
|
579
|
-
# You can modify the list via the getter, or replace it with the setter.
|
580
|
-
def backtrace_inclusion_patterns
|
581
|
-
@backtrace_formatter.inclusion_patterns
|
582
|
-
end
|
583
|
-
|
584
|
-
# Set regular expressions used to include lines in backtrace.
|
585
|
-
# @attr patterns [Regexp] set backtrace_formatter inclusion_patterns
|
586
|
-
def backtrace_inclusion_patterns=(patterns)
|
587
|
-
@backtrace_formatter.inclusion_patterns = patterns
|
588
|
-
end
|
589
|
-
|
590
|
-
# Adds {#backtrace_exclusion_patterns} that will filter lines from
|
591
|
-
# the named gems from backtraces.
|
592
|
-
#
|
593
|
-
# @param gem_names [Array<String>] Names of the gems to filter
|
594
|
-
#
|
595
|
-
# @example
|
596
|
-
# RSpec.configure do |config|
|
597
|
-
# config.filter_gems_from_backtrace "rack", "rake"
|
598
|
-
# end
|
599
|
-
#
|
600
|
-
# @note The patterns this adds will match the named gems in their common
|
601
|
-
# locations (e.g. system gems, vendored with bundler, installed as a
|
602
|
-
# :git dependency with bundler, etc) but is not guaranteed to work for
|
603
|
-
# all possible gem locations. For example, if you have the gem source
|
604
|
-
# in a directory with a completely unrelated name, and use bundler's
|
605
|
-
# :path option, this will not filter it.
|
606
|
-
def filter_gems_from_backtrace(*gem_names)
|
607
|
-
gem_names.each do |name|
|
608
|
-
@backtrace_formatter.filter_gem(name)
|
609
|
-
end
|
610
|
-
end
|
611
|
-
|
612
|
-
# @private
|
613
|
-
MOCKING_ADAPTERS = {
|
614
|
-
:rspec => :RSpec,
|
615
|
-
:flexmock => :Flexmock,
|
616
|
-
:rr => :RR,
|
617
|
-
:mocha => :Mocha,
|
618
|
-
:nothing => :Null
|
619
|
-
}
|
620
|
-
|
621
|
-
# Sets the mock framework adapter module.
|
622
|
-
#
|
623
|
-
# `framework` can be a Symbol or a Module.
|
624
|
-
#
|
625
|
-
# Given any of `:rspec`, `:mocha`, `:flexmock`, or `:rr`, configures the
|
626
|
-
# named framework.
|
627
|
-
#
|
628
|
-
# Given `:nothing`, configures no framework. Use this if you don't use
|
629
|
-
# any mocking framework to save a little bit of overhead.
|
630
|
-
#
|
631
|
-
# Given a Module, includes that module in every example group. The module
|
632
|
-
# should adhere to RSpec's mock framework adapter API:
|
633
|
-
#
|
634
|
-
# setup_mocks_for_rspec
|
635
|
-
# - called before each example
|
636
|
-
#
|
637
|
-
# verify_mocks_for_rspec
|
638
|
-
# - called after each example if the example hasn't yet failed.
|
639
|
-
# Framework should raise an exception when expectations fail
|
640
|
-
#
|
641
|
-
# teardown_mocks_for_rspec
|
642
|
-
# - called after verify_mocks_for_rspec (even if there are errors)
|
643
|
-
#
|
644
|
-
# If the module responds to `configuration` and `mock_with` receives a
|
645
|
-
# block, it will yield the configuration object to the block e.g.
|
646
|
-
#
|
647
|
-
# config.mock_with OtherMockFrameworkAdapter do |mod_config|
|
648
|
-
# mod_config.custom_setting = true
|
649
|
-
# end
|
650
|
-
def mock_with(framework)
|
651
|
-
framework_module =
|
652
|
-
if framework.is_a?(Module)
|
653
|
-
framework
|
654
|
-
else
|
655
|
-
const_name = MOCKING_ADAPTERS.fetch(framework) do
|
656
|
-
raise ArgumentError,
|
657
|
-
"Unknown mocking framework: #{framework.inspect}. " \
|
658
|
-
"Pass a module or one of #{MOCKING_ADAPTERS.keys.inspect}"
|
659
|
-
end
|
660
|
-
|
661
|
-
RSpec::Support.require_rspec_core "mocking_adapters/#{const_name.to_s.downcase}"
|
662
|
-
RSpec::Core::MockingAdapters.const_get(const_name)
|
663
|
-
end
|
664
|
-
|
665
|
-
new_name, old_name = [framework_module, @mock_framework].map do |mod|
|
666
|
-
mod.respond_to?(:framework_name) ? mod.framework_name : :unnamed
|
667
|
-
end
|
668
|
-
|
669
|
-
unless new_name == old_name
|
670
|
-
assert_no_example_groups_defined(:mock_framework)
|
671
|
-
end
|
672
|
-
|
673
|
-
if block_given?
|
674
|
-
raise "#{framework_module} must respond to `configuration` so that " \
|
675
|
-
"mock_with can yield it." unless framework_module.respond_to?(:configuration)
|
676
|
-
yield framework_module.configuration
|
677
|
-
end
|
678
|
-
|
679
|
-
@mock_framework = framework_module
|
680
|
-
end
|
681
|
-
|
682
|
-
# Returns the configured expectation framework adapter module(s)
|
683
|
-
def expectation_frameworks
|
684
|
-
if @expectation_frameworks.empty?
|
685
|
-
begin
|
686
|
-
expect_with :rspec
|
687
|
-
rescue LoadError
|
688
|
-
expect_with Module.new
|
689
|
-
end
|
690
|
-
end
|
691
|
-
@expectation_frameworks
|
692
|
-
end
|
693
|
-
|
694
|
-
# Delegates to expect_with(framework).
|
695
|
-
def expectation_framework=(framework)
|
696
|
-
expect_with(framework)
|
697
|
-
end
|
698
|
-
|
699
|
-
# Sets the expectation framework module(s) to be included in each example
|
700
|
-
# group.
|
701
|
-
#
|
702
|
-
# `frameworks` can be `:rspec`, `:test_unit`, `:minitest`, a custom
|
703
|
-
# module, or any combination thereof:
|
704
|
-
#
|
705
|
-
# config.expect_with :rspec
|
706
|
-
# config.expect_with :test_unit
|
707
|
-
# config.expect_with :minitest
|
708
|
-
# config.expect_with :rspec, :minitest
|
709
|
-
# config.expect_with OtherExpectationFramework
|
710
|
-
#
|
711
|
-
# RSpec will translate `:rspec`, `:minitest`, and `:test_unit` into the
|
712
|
-
# appropriate modules.
|
713
|
-
#
|
714
|
-
# ## Configuration
|
715
|
-
#
|
716
|
-
# If the module responds to `configuration`, `expect_with` will
|
717
|
-
# yield the `configuration` object if given a block:
|
718
|
-
#
|
719
|
-
# config.expect_with OtherExpectationFramework do |custom_config|
|
720
|
-
# custom_config.custom_setting = true
|
721
|
-
# end
|
722
|
-
def expect_with(*frameworks)
|
723
|
-
modules = frameworks.map do |framework|
|
724
|
-
case framework
|
725
|
-
when Module
|
726
|
-
framework
|
727
|
-
when :rspec
|
728
|
-
require 'rspec/expectations'
|
729
|
-
|
730
|
-
# Tag this exception class so our exception formatting logic knows
|
731
|
-
# that it satisfies the `MultipleExceptionError` interface.
|
732
|
-
::RSpec::Expectations::MultipleExpectationsNotMetError.__send__(
|
733
|
-
:include, MultipleExceptionError::InterfaceTag
|
734
|
-
)
|
735
|
-
|
736
|
-
::RSpec::Matchers
|
737
|
-
when :test_unit
|
738
|
-
require 'rspec/core/test_unit_assertions_adapter'
|
739
|
-
::RSpec::Core::TestUnitAssertionsAdapter
|
740
|
-
when :minitest
|
741
|
-
require 'rspec/core/minitest_assertions_adapter'
|
742
|
-
::RSpec::Core::MinitestAssertionsAdapter
|
743
|
-
else
|
744
|
-
raise ArgumentError, "#{framework.inspect} is not supported"
|
745
|
-
end
|
746
|
-
end
|
747
|
-
|
748
|
-
if (modules - @expectation_frameworks).any?
|
749
|
-
assert_no_example_groups_defined(:expect_with)
|
750
|
-
end
|
751
|
-
|
752
|
-
if block_given?
|
753
|
-
raise "expect_with only accepts a block with a single argument. " \
|
754
|
-
"Call expect_with #{modules.length} times, " \
|
755
|
-
"once with each argument, instead." if modules.length > 1
|
756
|
-
raise "#{modules.first} must respond to `configuration` so that " \
|
757
|
-
"expect_with can yield it." unless modules.first.respond_to?(:configuration)
|
758
|
-
yield modules.first.configuration
|
759
|
-
end
|
760
|
-
|
761
|
-
@expectation_frameworks.push(*modules)
|
762
|
-
end
|
763
|
-
|
764
|
-
# Check if full backtrace is enabled.
|
765
|
-
# @return [Boolean] is full backtrace enabled
|
766
|
-
def full_backtrace?
|
767
|
-
@backtrace_formatter.full_backtrace?
|
768
|
-
end
|
769
|
-
|
770
|
-
# Toggle full backtrace.
|
771
|
-
# @attr true_or_false [Boolean] toggle full backtrace display
|
772
|
-
def full_backtrace=(true_or_false)
|
773
|
-
@backtrace_formatter.full_backtrace = true_or_false
|
774
|
-
end
|
775
|
-
|
776
|
-
# Returns the configuration option for color, but should not
|
777
|
-
# be used to check if color is supported.
|
778
|
-
#
|
779
|
-
# @see color_enabled?
|
780
|
-
# @return [Boolean]
|
781
|
-
def color
|
782
|
-
value_for(:color) { @color }
|
783
|
-
end
|
784
|
-
|
785
|
-
# Check if color is enabled for a particular output.
|
786
|
-
# @param output [IO] an output stream to use, defaults to the current
|
787
|
-
# `output_stream`
|
788
|
-
# @return [Boolean]
|
789
|
-
def color_enabled?(output=output_stream)
|
790
|
-
output_to_tty?(output) && color
|
791
|
-
end
|
792
|
-
|
793
|
-
# Toggle output color.
|
794
|
-
attr_writer :color
|
795
|
-
|
796
|
-
# @private
|
797
|
-
def libs=(libs)
|
798
|
-
libs.map do |lib|
|
799
|
-
@libs.unshift lib
|
800
|
-
$LOAD_PATH.unshift lib
|
801
|
-
end
|
802
|
-
end
|
803
|
-
|
804
|
-
# Run examples matching on `description` in all files to run.
|
805
|
-
# @param description [String, Regexp] the pattern to filter on
|
806
|
-
def full_description=(description)
|
807
|
-
filter_run :full_description => Regexp.union(*Array(description).map { |d| Regexp.new(d) })
|
808
|
-
end
|
809
|
-
|
810
|
-
# @return [Array] full description filter
|
811
|
-
def full_description
|
812
|
-
filter.fetch :full_description, nil
|
813
|
-
end
|
814
|
-
|
815
|
-
# @overload add_formatter(formatter)
|
816
|
-
#
|
817
|
-
# Adds a formatter to the formatters collection. `formatter` can be a
|
818
|
-
# string representing any of the built-in formatters (see
|
819
|
-
# `built_in_formatter`), or a custom formatter class.
|
820
|
-
#
|
821
|
-
# ### Note
|
822
|
-
#
|
823
|
-
# For internal purposes, `add_formatter` also accepts the name of a class
|
824
|
-
# and paths to use for output streams, but you should consider that a
|
825
|
-
# private api that may change at any time without notice.
|
826
|
-
def add_formatter(formatter_to_use, *paths)
|
827
|
-
paths << output_stream if paths.empty?
|
828
|
-
formatter_loader.add formatter_to_use, *paths
|
829
|
-
end
|
830
|
-
alias_method :formatter=, :add_formatter
|
831
|
-
|
832
|
-
# The formatter that will be used if no formatter has been set.
|
833
|
-
# Defaults to 'progress'.
|
834
|
-
def default_formatter
|
835
|
-
formatter_loader.default_formatter
|
836
|
-
end
|
837
|
-
|
838
|
-
# Sets a fallback formatter to use if none other has been set.
|
839
|
-
#
|
840
|
-
# @example
|
841
|
-
#
|
842
|
-
# RSpec.configure do |rspec|
|
843
|
-
# rspec.default_formatter = 'doc'
|
844
|
-
# end
|
845
|
-
def default_formatter=(value)
|
846
|
-
formatter_loader.default_formatter = value
|
847
|
-
end
|
848
|
-
|
849
|
-
# Returns a duplicate of the formatters currently loaded in
|
850
|
-
# the `FormatterLoader` for introspection.
|
851
|
-
#
|
852
|
-
# Note as this is a duplicate, any mutations will be disregarded.
|
853
|
-
#
|
854
|
-
# @return [Array] the formatters currently loaded
|
855
|
-
def formatters
|
856
|
-
formatter_loader.formatters.dup
|
857
|
-
end
|
858
|
-
|
859
|
-
# @private
|
860
|
-
def formatter_loader
|
861
|
-
@formatter_loader ||= Formatters::Loader.new(Reporter.new(self))
|
862
|
-
end
|
863
|
-
|
864
|
-
# @private
|
865
|
-
#
|
866
|
-
# This buffer is used to capture all messages sent to the reporter during
|
867
|
-
# reporter initialization. It can then replay those messages after the
|
868
|
-
# formatter is correctly initialized. Otherwise, deprecation warnings
|
869
|
-
# during formatter initialization can cause an infinite loop.
|
870
|
-
class DeprecationReporterBuffer
|
871
|
-
def initialize
|
872
|
-
@calls = []
|
873
|
-
end
|
874
|
-
|
875
|
-
def deprecation(*args)
|
876
|
-
@calls << args
|
877
|
-
end
|
878
|
-
|
879
|
-
def play_onto(reporter)
|
880
|
-
@calls.each do |args|
|
881
|
-
reporter.deprecation(*args)
|
882
|
-
end
|
883
|
-
end
|
884
|
-
end
|
885
|
-
|
886
|
-
# @return [RSpec::Core::Reporter] the currently configured reporter
|
887
|
-
def reporter
|
888
|
-
# @reporter_buffer should only ever be set in this method to cover
|
889
|
-
# initialization of @reporter.
|
890
|
-
@reporter_buffer || @reporter ||=
|
891
|
-
begin
|
892
|
-
@reporter_buffer = DeprecationReporterBuffer.new
|
893
|
-
formatter_loader.setup_default output_stream, deprecation_stream
|
894
|
-
@reporter_buffer.play_onto(formatter_loader.reporter)
|
895
|
-
@reporter_buffer = nil
|
896
|
-
formatter_loader.reporter
|
897
|
-
end
|
898
|
-
end
|
899
|
-
|
900
|
-
# @api private
|
901
|
-
#
|
902
|
-
# Defaults `profile_examples` to 10 examples when `@profile_examples` is
|
903
|
-
# `true`.
|
904
|
-
def profile_examples
|
905
|
-
profile = value_for(:profile_examples) { @profile_examples }
|
906
|
-
if profile && !profile.is_a?(Integer)
|
907
|
-
10
|
908
|
-
else
|
909
|
-
profile
|
910
|
-
end
|
911
|
-
end
|
912
|
-
|
913
|
-
# @private
|
914
|
-
def files_or_directories_to_run=(*files)
|
915
|
-
files = files.flatten
|
916
|
-
|
917
|
-
if (command == 'rspec' || Runner.running_in_drb?) && default_path && files.empty?
|
918
|
-
files << default_path
|
919
|
-
end
|
920
|
-
|
921
|
-
@files_or_directories_to_run = files
|
922
|
-
@files_to_run = nil
|
923
|
-
end
|
924
|
-
|
925
|
-
# The spec files RSpec will run.
|
926
|
-
# @return [Array] specified files about to run
|
927
|
-
def files_to_run
|
928
|
-
@files_to_run ||= get_files_to_run(@files_or_directories_to_run)
|
929
|
-
end
|
930
|
-
|
931
|
-
# @private
|
932
|
-
def last_run_statuses
|
933
|
-
@last_run_statuses ||= Hash.new(UNKNOWN_STATUS).tap do |statuses|
|
934
|
-
if (path = example_status_persistence_file_path)
|
935
|
-
begin
|
936
|
-
ExampleStatusPersister.load_from(path).inject(statuses) do |hash, example|
|
937
|
-
hash[example.fetch(:example_id)] = example.fetch(:status)
|
938
|
-
hash
|
939
|
-
end
|
940
|
-
rescue SystemCallError => e
|
941
|
-
RSpec.warning "Could not read from #{path.inspect} (configured as " \
|
942
|
-
"`config.example_status_persistence_file_path`) due " \
|
943
|
-
"to a system error: #{e.inspect}. Please check that " \
|
944
|
-
"the config option is set to an accessible, valid " \
|
945
|
-
"file path", :call_site => nil
|
946
|
-
end
|
947
|
-
end
|
948
|
-
end
|
949
|
-
end
|
950
|
-
|
951
|
-
# @private
|
952
|
-
UNKNOWN_STATUS = "unknown".freeze
|
953
|
-
|
954
|
-
# @private
|
955
|
-
FAILED_STATUS = "failed".freeze
|
956
|
-
|
957
|
-
# @private
|
958
|
-
def spec_files_with_failures
|
959
|
-
@spec_files_with_failures ||= last_run_statuses.inject(Set.new) do |files, (id, status)|
|
960
|
-
files << Example.parse_id(id).first if status == FAILED_STATUS
|
961
|
-
files
|
962
|
-
end.to_a
|
963
|
-
end
|
964
|
-
|
965
|
-
# Creates a method that delegates to `example` including the submitted
|
966
|
-
# `args`. Used internally to add variants of `example` like `pending`:
|
967
|
-
# @param name [String] example name alias
|
968
|
-
# @param args [Array<Symbol>, Hash] metadata for the generated example
|
969
|
-
#
|
970
|
-
# @note The specific example alias below (`pending`) is already
|
971
|
-
# defined for you.
|
972
|
-
# @note Use with caution. This extends the language used in your
|
973
|
-
# specs, but does not add any additional documentation. We use this
|
974
|
-
# in RSpec to define methods like `focus` and `xit`, but we also add
|
975
|
-
# docs for those methods.
|
976
|
-
#
|
977
|
-
# @example
|
978
|
-
# RSpec.configure do |config|
|
979
|
-
# config.alias_example_to :pending, :pending => true
|
980
|
-
# end
|
981
|
-
#
|
982
|
-
# # This lets you do this:
|
983
|
-
#
|
984
|
-
# describe Thing do
|
985
|
-
# pending "does something" do
|
986
|
-
# thing = Thing.new
|
987
|
-
# end
|
988
|
-
# end
|
989
|
-
#
|
990
|
-
# # ... which is the equivalent of
|
991
|
-
#
|
992
|
-
# describe Thing do
|
993
|
-
# it "does something", :pending => true do
|
994
|
-
# thing = Thing.new
|
995
|
-
# end
|
996
|
-
# end
|
997
|
-
def alias_example_to(name, *args)
|
998
|
-
extra_options = Metadata.build_hash_from(args)
|
999
|
-
RSpec::Core::ExampleGroup.define_example_method(name, extra_options)
|
1000
|
-
end
|
1001
|
-
|
1002
|
-
# Creates a method that defines an example group with the provided
|
1003
|
-
# metadata. Can be used to define example group/metadata shortcuts.
|
1004
|
-
#
|
1005
|
-
# @example
|
1006
|
-
# RSpec.configure do |config|
|
1007
|
-
# config.alias_example_group_to :describe_model, :type => :model
|
1008
|
-
# end
|
1009
|
-
#
|
1010
|
-
# shared_context_for "model tests", :type => :model do
|
1011
|
-
# # define common model test helper methods, `let` declarations, etc
|
1012
|
-
# end
|
1013
|
-
#
|
1014
|
-
# # This lets you do this:
|
1015
|
-
#
|
1016
|
-
# RSpec.describe_model User do
|
1017
|
-
# end
|
1018
|
-
#
|
1019
|
-
# # ... which is the equivalent of
|
1020
|
-
#
|
1021
|
-
# RSpec.describe User, :type => :model do
|
1022
|
-
# end
|
1023
|
-
#
|
1024
|
-
# @note The defined aliased will also be added to the top level
|
1025
|
-
# (e.g. `main` and from within modules) if
|
1026
|
-
# `expose_dsl_globally` is set to true.
|
1027
|
-
# @see #alias_example_to
|
1028
|
-
# @see #expose_dsl_globally=
|
1029
|
-
def alias_example_group_to(new_name, *args)
|
1030
|
-
extra_options = Metadata.build_hash_from(args)
|
1031
|
-
RSpec::Core::ExampleGroup.define_example_group_method(new_name, extra_options)
|
1032
|
-
end
|
1033
|
-
|
1034
|
-
# Define an alias for it_should_behave_like that allows different
|
1035
|
-
# language (like "it_has_behavior" or "it_behaves_like") to be
|
1036
|
-
# employed when including shared examples.
|
1037
|
-
#
|
1038
|
-
# @example
|
1039
|
-
# RSpec.configure do |config|
|
1040
|
-
# config.alias_it_behaves_like_to(:it_has_behavior, 'has behavior:')
|
1041
|
-
# end
|
1042
|
-
#
|
1043
|
-
# # allows the user to include a shared example group like:
|
1044
|
-
#
|
1045
|
-
# describe Entity do
|
1046
|
-
# it_has_behavior 'sortability' do
|
1047
|
-
# let(:sortable) { Entity.new }
|
1048
|
-
# end
|
1049
|
-
# end
|
1050
|
-
#
|
1051
|
-
# # which is reported in the output as:
|
1052
|
-
# # Entity
|
1053
|
-
# # has behavior: sortability
|
1054
|
-
# # ...sortability examples here
|
1055
|
-
#
|
1056
|
-
# @note Use with caution. This extends the language used in your
|
1057
|
-
# specs, but does not add any additional documentation. We use this
|
1058
|
-
# in RSpec to define `it_should_behave_like` (for backward
|
1059
|
-
# compatibility), but we also add docs for that method.
|
1060
|
-
def alias_it_behaves_like_to(new_name, report_label='')
|
1061
|
-
RSpec::Core::ExampleGroup.define_nested_shared_group_method(new_name, report_label)
|
1062
|
-
end
|
1063
|
-
alias_method :alias_it_should_behave_like_to, :alias_it_behaves_like_to
|
1064
|
-
|
1065
|
-
# Adds key/value pairs to the `inclusion_filter`. If `args`
|
1066
|
-
# includes any symbols that are not part of the hash, each symbol
|
1067
|
-
# is treated as a key in the hash with the value `true`.
|
1068
|
-
#
|
1069
|
-
# ### Note
|
1070
|
-
#
|
1071
|
-
# Filters set using this method can be overridden from the command line
|
1072
|
-
# or config files (e.g. `.rspec`).
|
1073
|
-
#
|
1074
|
-
# @example
|
1075
|
-
# # Given this declaration.
|
1076
|
-
# describe "something", :foo => 'bar' do
|
1077
|
-
# # ...
|
1078
|
-
# end
|
1079
|
-
#
|
1080
|
-
# # Any of the following will include that group.
|
1081
|
-
# config.filter_run_including :foo => 'bar'
|
1082
|
-
# config.filter_run_including :foo => /^ba/
|
1083
|
-
# config.filter_run_including :foo => lambda {|v| v == 'bar'}
|
1084
|
-
# config.filter_run_including :foo => lambda {|v,m| m[:foo] == 'bar'}
|
1085
|
-
#
|
1086
|
-
# # Given a proc with an arity of 1, the lambda is passed the value
|
1087
|
-
# # related to the key, e.g.
|
1088
|
-
# config.filter_run_including :foo => lambda {|v| v == 'bar'}
|
1089
|
-
#
|
1090
|
-
# # Given a proc with an arity of 2, the lambda is passed the value
|
1091
|
-
# # related to the key, and the metadata itself e.g.
|
1092
|
-
# config.filter_run_including :foo => lambda {|v,m| m[:foo] == 'bar'}
|
1093
|
-
#
|
1094
|
-
# filter_run_including :foo # same as filter_run_including :foo => true
|
1095
|
-
def filter_run_including(*args)
|
1096
|
-
meta = Metadata.build_hash_from(args, :warn_about_example_group_filtering)
|
1097
|
-
filter_manager.include_with_low_priority meta
|
1098
|
-
static_config_filter_manager.include_with_low_priority Metadata.deep_hash_dup(meta)
|
1099
|
-
end
|
1100
|
-
alias_method :filter_run, :filter_run_including
|
1101
|
-
|
1102
|
-
# Applies the provided filter only if any of examples match, in constrast
|
1103
|
-
# to {#filter_run}, which always applies even if no examples match, in
|
1104
|
-
# which case no examples will be run. This allows you to leave configured
|
1105
|
-
# filters in place that are intended only for temporary use. The most common
|
1106
|
-
# example is focus filtering: `config.filter_run_when_matching :focus`.
|
1107
|
-
# With that configured, you can temporarily focus an example or group
|
1108
|
-
# by tagging it with `:focus` metadata, or prefixing it with an `f`
|
1109
|
-
# (as in `fdescribe`, `fcontext` and `fit`) since those are aliases for
|
1110
|
-
# `describe`/`context`/`it` with `:focus` metadata.
|
1111
|
-
def filter_run_when_matching(*args)
|
1112
|
-
when_first_matching_example_defined(*args) do
|
1113
|
-
filter_run(*args)
|
1114
|
-
end
|
1115
|
-
end
|
1116
|
-
|
1117
|
-
# Clears and reassigns the `inclusion_filter`. Set to `nil` if you don't
|
1118
|
-
# want any inclusion filter at all.
|
1119
|
-
#
|
1120
|
-
# ### Warning
|
1121
|
-
#
|
1122
|
-
# This overrides any inclusion filters/tags set on the command line or in
|
1123
|
-
# configuration files.
|
1124
|
-
def inclusion_filter=(filter)
|
1125
|
-
meta = Metadata.build_hash_from([filter], :warn_about_example_group_filtering)
|
1126
|
-
filter_manager.include_only meta
|
1127
|
-
end
|
1128
|
-
|
1129
|
-
alias_method :filter=, :inclusion_filter=
|
1130
|
-
|
1131
|
-
# Returns the `inclusion_filter`. If none has been set, returns an empty
|
1132
|
-
# hash.
|
1133
|
-
def inclusion_filter
|
1134
|
-
filter_manager.inclusions
|
1135
|
-
end
|
1136
|
-
|
1137
|
-
alias_method :filter, :inclusion_filter
|
1138
|
-
|
1139
|
-
# Adds key/value pairs to the `exclusion_filter`. If `args`
|
1140
|
-
# includes any symbols that are not part of the hash, each symbol
|
1141
|
-
# is treated as a key in the hash with the value `true`.
|
1142
|
-
#
|
1143
|
-
# ### Note
|
1144
|
-
#
|
1145
|
-
# Filters set using this method can be overridden from the command line
|
1146
|
-
# or config files (e.g. `.rspec`).
|
1147
|
-
#
|
1148
|
-
# @example
|
1149
|
-
# # Given this declaration.
|
1150
|
-
# describe "something", :foo => 'bar' do
|
1151
|
-
# # ...
|
1152
|
-
# end
|
1153
|
-
#
|
1154
|
-
# # Any of the following will exclude that group.
|
1155
|
-
# config.filter_run_excluding :foo => 'bar'
|
1156
|
-
# config.filter_run_excluding :foo => /^ba/
|
1157
|
-
# config.filter_run_excluding :foo => lambda {|v| v == 'bar'}
|
1158
|
-
# config.filter_run_excluding :foo => lambda {|v,m| m[:foo] == 'bar'}
|
1159
|
-
#
|
1160
|
-
# # Given a proc with an arity of 1, the lambda is passed the value
|
1161
|
-
# # related to the key, e.g.
|
1162
|
-
# config.filter_run_excluding :foo => lambda {|v| v == 'bar'}
|
1163
|
-
#
|
1164
|
-
# # Given a proc with an arity of 2, the lambda is passed the value
|
1165
|
-
# # related to the key, and the metadata itself e.g.
|
1166
|
-
# config.filter_run_excluding :foo => lambda {|v,m| m[:foo] == 'bar'}
|
1167
|
-
#
|
1168
|
-
# filter_run_excluding :foo # same as filter_run_excluding :foo => true
|
1169
|
-
def filter_run_excluding(*args)
|
1170
|
-
meta = Metadata.build_hash_from(args, :warn_about_example_group_filtering)
|
1171
|
-
filter_manager.exclude_with_low_priority meta
|
1172
|
-
static_config_filter_manager.exclude_with_low_priority Metadata.deep_hash_dup(meta)
|
1173
|
-
end
|
1174
|
-
|
1175
|
-
# Clears and reassigns the `exclusion_filter`. Set to `nil` if you don't
|
1176
|
-
# want any exclusion filter at all.
|
1177
|
-
#
|
1178
|
-
# ### Warning
|
1179
|
-
#
|
1180
|
-
# This overrides any exclusion filters/tags set on the command line or in
|
1181
|
-
# configuration files.
|
1182
|
-
def exclusion_filter=(filter)
|
1183
|
-
meta = Metadata.build_hash_from([filter], :warn_about_example_group_filtering)
|
1184
|
-
filter_manager.exclude_only meta
|
1185
|
-
end
|
1186
|
-
|
1187
|
-
# Returns the `exclusion_filter`. If none has been set, returns an empty
|
1188
|
-
# hash.
|
1189
|
-
def exclusion_filter
|
1190
|
-
filter_manager.exclusions
|
1191
|
-
end
|
1192
|
-
|
1193
|
-
# Tells RSpec to include `mod` in example groups. Methods defined in
|
1194
|
-
# `mod` are exposed to examples (not example groups). Use `filters` to
|
1195
|
-
# constrain the groups or examples in which to include the module.
|
1196
|
-
#
|
1197
|
-
# @example
|
1198
|
-
#
|
1199
|
-
# module AuthenticationHelpers
|
1200
|
-
# def login_as(user)
|
1201
|
-
# # ...
|
1202
|
-
# end
|
1203
|
-
# end
|
1204
|
-
#
|
1205
|
-
# module UserHelpers
|
1206
|
-
# def users(username)
|
1207
|
-
# # ...
|
1208
|
-
# end
|
1209
|
-
# end
|
1210
|
-
#
|
1211
|
-
# RSpec.configure do |config|
|
1212
|
-
# config.include(UserHelpers) # included in all groups
|
1213
|
-
# config.include(AuthenticationHelpers, :type => :request)
|
1214
|
-
# end
|
1215
|
-
#
|
1216
|
-
# describe "edit profile", :type => :request do
|
1217
|
-
# it "can be viewed by owning user" do
|
1218
|
-
# login_as users(:jdoe)
|
1219
|
-
# get "/profiles/jdoe"
|
1220
|
-
# assert_select ".username", :text => 'jdoe'
|
1221
|
-
# end
|
1222
|
-
# end
|
1223
|
-
#
|
1224
|
-
# @note Filtered module inclusions can also be applied to
|
1225
|
-
# individual examples that have matching metadata. Just like
|
1226
|
-
# Ruby's object model is that every object has a singleton class
|
1227
|
-
# which has only a single instance, RSpec's model is that every
|
1228
|
-
# example has a singleton example group containing just the one
|
1229
|
-
# example.
|
1230
|
-
#
|
1231
|
-
# @see #include_context
|
1232
|
-
# @see #extend
|
1233
|
-
# @see #prepend
|
1234
|
-
def include(mod, *filters)
|
1235
|
-
define_mixed_in_module(mod, filters, @include_modules, :include) do |group|
|
1236
|
-
safe_include(mod, group)
|
1237
|
-
end
|
1238
|
-
end
|
1239
|
-
|
1240
|
-
# Tells RSpec to include the named shared example group in example groups.
|
1241
|
-
# Use `filters` to constrain the groups or examples in which to include
|
1242
|
-
# the example group.
|
1243
|
-
#
|
1244
|
-
# @example
|
1245
|
-
#
|
1246
|
-
# RSpec.shared_context "example users" do
|
1247
|
-
# let(:admin_user) { create_user(:admin) }
|
1248
|
-
# let(:guest_user) { create_user(:guest) }
|
1249
|
-
# end
|
1250
|
-
#
|
1251
|
-
# RSpec.configure do |config|
|
1252
|
-
# config.include_context "example users", :type => :request
|
1253
|
-
# end
|
1254
|
-
#
|
1255
|
-
# RSpec.describe "The admin page", :type => :request do
|
1256
|
-
# it "can be viewed by admins" do
|
1257
|
-
# login_with admin_user
|
1258
|
-
# get "/admin"
|
1259
|
-
# expect(response).to be_ok
|
1260
|
-
# end
|
1261
|
-
#
|
1262
|
-
# it "cannot be viewed by guests" do
|
1263
|
-
# login_with guest_user
|
1264
|
-
# get "/admin"
|
1265
|
-
# expect(response).to be_forbidden
|
1266
|
-
# end
|
1267
|
-
# end
|
1268
|
-
#
|
1269
|
-
# @note Filtered context inclusions can also be applied to
|
1270
|
-
# individual examples that have matching metadata. Just like
|
1271
|
-
# Ruby's object model is that every object has a singleton class
|
1272
|
-
# which has only a single instance, RSpec's model is that every
|
1273
|
-
# example has a singleton example group containing just the one
|
1274
|
-
# example.
|
1275
|
-
#
|
1276
|
-
# @see #include
|
1277
|
-
def include_context(shared_group_name, *filters)
|
1278
|
-
shared_module = world.shared_example_group_registry.find([:main], shared_group_name)
|
1279
|
-
include shared_module, *filters
|
1280
|
-
end
|
1281
|
-
|
1282
|
-
# Tells RSpec to extend example groups with `mod`. Methods defined in
|
1283
|
-
# `mod` are exposed to example groups (not examples). Use `filters` to
|
1284
|
-
# constrain the groups to extend.
|
1285
|
-
#
|
1286
|
-
# Similar to `include`, but behavior is added to example groups, which
|
1287
|
-
# are classes, rather than the examples, which are instances of those
|
1288
|
-
# classes.
|
1289
|
-
#
|
1290
|
-
# @example
|
1291
|
-
#
|
1292
|
-
# module UiHelpers
|
1293
|
-
# def run_in_browser
|
1294
|
-
# # ...
|
1295
|
-
# end
|
1296
|
-
# end
|
1297
|
-
#
|
1298
|
-
# RSpec.configure do |config|
|
1299
|
-
# config.extend(UiHelpers, :type => :request)
|
1300
|
-
# end
|
1301
|
-
#
|
1302
|
-
# describe "edit profile", :type => :request do
|
1303
|
-
# run_in_browser
|
1304
|
-
#
|
1305
|
-
# it "does stuff in the client" do
|
1306
|
-
# # ...
|
1307
|
-
# end
|
1308
|
-
# end
|
1309
|
-
#
|
1310
|
-
# @see #include
|
1311
|
-
# @see #prepend
|
1312
|
-
def extend(mod, *filters)
|
1313
|
-
define_mixed_in_module(mod, filters, @extend_modules, :extend) do |group|
|
1314
|
-
safe_extend(mod, group)
|
1315
|
-
end
|
1316
|
-
end
|
1317
|
-
|
1318
|
-
if RSpec::Support::RubyFeatures.module_prepends_supported?
|
1319
|
-
# Tells RSpec to prepend example groups with `mod`. Methods defined in
|
1320
|
-
# `mod` are exposed to examples (not example groups). Use `filters` to
|
1321
|
-
# constrain the groups in which to prepend the module.
|
1322
|
-
#
|
1323
|
-
# Similar to `include`, but module is included before the example group's class
|
1324
|
-
# in the ancestor chain.
|
1325
|
-
#
|
1326
|
-
# @example
|
1327
|
-
#
|
1328
|
-
# module OverrideMod
|
1329
|
-
# def override_me
|
1330
|
-
# "overridden"
|
1331
|
-
# end
|
1332
|
-
# end
|
1333
|
-
#
|
1334
|
-
# RSpec.configure do |config|
|
1335
|
-
# config.prepend(OverrideMod, :method => :prepend)
|
1336
|
-
# end
|
1337
|
-
#
|
1338
|
-
# describe "overriding example's class", :method => :prepend do
|
1339
|
-
# it "finds the user" do
|
1340
|
-
# self.class.class_eval do
|
1341
|
-
# def override_me
|
1342
|
-
# end
|
1343
|
-
# end
|
1344
|
-
# override_me # => "overridden"
|
1345
|
-
# # ...
|
1346
|
-
# end
|
1347
|
-
# end
|
1348
|
-
#
|
1349
|
-
# @see #include
|
1350
|
-
# @see #extend
|
1351
|
-
def prepend(mod, *filters)
|
1352
|
-
define_mixed_in_module(mod, filters, @prepend_modules, :prepend) do |group|
|
1353
|
-
safe_prepend(mod, group)
|
1354
|
-
end
|
1355
|
-
end
|
1356
|
-
end
|
1357
|
-
|
1358
|
-
# @private
|
1359
|
-
#
|
1360
|
-
# Used internally to extend a group with modules using `include`, `prepend` and/or
|
1361
|
-
# `extend`.
|
1362
|
-
def configure_group(group)
|
1363
|
-
group.hooks.register_globals(group, hooks)
|
1364
|
-
|
1365
|
-
configure_group_with group, @include_modules, :safe_include
|
1366
|
-
configure_group_with group, @extend_modules, :safe_extend
|
1367
|
-
configure_group_with group, @prepend_modules, :safe_prepend
|
1368
|
-
end
|
1369
|
-
|
1370
|
-
# @private
|
1371
|
-
#
|
1372
|
-
# Used internally to extend the singleton class of a single example's
|
1373
|
-
# example group instance with modules using `include` and/or `extend`.
|
1374
|
-
def configure_example(example, example_hooks)
|
1375
|
-
example_hooks.register_global_singleton_context_hooks(example, hooks)
|
1376
|
-
singleton_group = example.example_group_instance.singleton_class
|
1377
|
-
|
1378
|
-
# We replace the metadata so that SharedExampleGroupModule#included
|
1379
|
-
# has access to the example's metadata[:location].
|
1380
|
-
singleton_group.with_replaced_metadata(example.metadata) do
|
1381
|
-
modules = @include_modules.items_for(example.metadata)
|
1382
|
-
modules.each do |mod|
|
1383
|
-
safe_include(mod, example.example_group_instance.singleton_class)
|
1384
|
-
end
|
1385
|
-
|
1386
|
-
MemoizedHelpers.define_helpers_on(singleton_group) unless modules.empty?
|
1387
|
-
end
|
1388
|
-
end
|
1389
|
-
|
1390
|
-
# @private
|
1391
|
-
def requires=(paths)
|
1392
|
-
directories = ['lib', default_path].select { |p| File.directory? p }
|
1393
|
-
RSpec::Core::RubyProject.add_to_load_path(*directories)
|
1394
|
-
paths.each { |path| require path }
|
1395
|
-
@requires += paths
|
1396
|
-
end
|
1397
|
-
|
1398
|
-
# @private
|
1399
|
-
def in_project_source_dir_regex
|
1400
|
-
regexes = project_source_dirs.map do |dir|
|
1401
|
-
/\A#{Regexp.escape(File.expand_path(dir))}\//
|
1402
|
-
end
|
1403
|
-
|
1404
|
-
Regexp.union(regexes)
|
1405
|
-
end
|
1406
|
-
|
1407
|
-
# @private
|
1408
|
-
def configure_mock_framework
|
1409
|
-
RSpec::Core::ExampleGroup.__send__(:include, mock_framework)
|
1410
|
-
conditionally_disable_mocks_monkey_patching
|
1411
|
-
end
|
1412
|
-
|
1413
|
-
# @private
|
1414
|
-
def configure_expectation_framework
|
1415
|
-
expectation_frameworks.each do |framework|
|
1416
|
-
RSpec::Core::ExampleGroup.__send__(:include, framework)
|
1417
|
-
end
|
1418
|
-
conditionally_disable_expectations_monkey_patching
|
1419
|
-
end
|
1420
|
-
|
1421
|
-
# @private
|
1422
|
-
def load_spec_files
|
1423
|
-
# Note which spec files world is already aware of.
|
1424
|
-
# This is generally only needed for when the user runs
|
1425
|
-
# `ruby path/to/spec.rb` (and loads `rspec/autorun`) --
|
1426
|
-
# in that case, the spec file was loaded by `ruby` and
|
1427
|
-
# isn't loaded by us here so we only know about it because
|
1428
|
-
# of an example group being registered in it.
|
1429
|
-
world.registered_example_group_files.each do |f|
|
1430
|
-
loaded_spec_files << f # the registered files are already expended absolute paths
|
1431
|
-
end
|
1432
|
-
|
1433
|
-
files_to_run.uniq.each do |f|
|
1434
|
-
file = File.expand_path(f)
|
1435
|
-
load file
|
1436
|
-
loaded_spec_files << file
|
1437
|
-
end
|
1438
|
-
|
1439
|
-
@spec_files_loaded = true
|
1440
|
-
end
|
1441
|
-
|
1442
|
-
# @private
|
1443
|
-
DEFAULT_FORMATTER = lambda { |string| string }
|
1444
|
-
|
1445
|
-
# Formats the docstring output using the block provided.
|
1446
|
-
#
|
1447
|
-
# @example
|
1448
|
-
# # This will strip the descriptions of both examples and example
|
1449
|
-
# # groups.
|
1450
|
-
# RSpec.configure do |config|
|
1451
|
-
# config.format_docstrings { |s| s.strip }
|
1452
|
-
# end
|
1453
|
-
def format_docstrings(&block)
|
1454
|
-
@format_docstrings_block = block_given? ? block : DEFAULT_FORMATTER
|
1455
|
-
end
|
1456
|
-
|
1457
|
-
# @private
|
1458
|
-
def format_docstrings_block
|
1459
|
-
@format_docstrings_block ||= DEFAULT_FORMATTER
|
1460
|
-
end
|
1461
|
-
|
1462
|
-
# @private
|
1463
|
-
# @macro [attach] delegate_to_ordering_manager
|
1464
|
-
# @!method $1
|
1465
|
-
def self.delegate_to_ordering_manager(*methods)
|
1466
|
-
methods.each do |method|
|
1467
|
-
define_method method do |*args, &block|
|
1468
|
-
ordering_manager.__send__(method, *args, &block)
|
1469
|
-
end
|
1470
|
-
end
|
1471
|
-
end
|
1472
|
-
|
1473
|
-
# @macro delegate_to_ordering_manager
|
1474
|
-
#
|
1475
|
-
# Sets the seed value and sets the default global ordering to random.
|
1476
|
-
delegate_to_ordering_manager :seed=
|
1477
|
-
|
1478
|
-
# @macro delegate_to_ordering_manager
|
1479
|
-
# Seed for random ordering (default: generated randomly each run).
|
1480
|
-
#
|
1481
|
-
# When you run specs with `--order random`, RSpec generates a random seed
|
1482
|
-
# for the randomization and prints it to the `output_stream` (assuming
|
1483
|
-
# you're using RSpec's built-in formatters). If you discover an ordering
|
1484
|
-
# dependency (i.e. examples fail intermittently depending on order), set
|
1485
|
-
# this (on Configuration or on the command line with `--seed`) to run
|
1486
|
-
# using the same seed while you debug the issue.
|
1487
|
-
#
|
1488
|
-
# We recommend, actually, that you use the command line approach so you
|
1489
|
-
# don't accidentally leave the seed encoded.
|
1490
|
-
delegate_to_ordering_manager :seed
|
1491
|
-
|
1492
|
-
# @macro delegate_to_ordering_manager
|
1493
|
-
#
|
1494
|
-
# Sets the default global ordering strategy. By default this can be one
|
1495
|
-
# of `:defined`, `:random`, but is customizable through the
|
1496
|
-
# `register_ordering` API. If order is set to `'rand:<seed>'`,
|
1497
|
-
# the seed will also be set.
|
1498
|
-
#
|
1499
|
-
# @see #register_ordering
|
1500
|
-
delegate_to_ordering_manager :order=
|
1501
|
-
|
1502
|
-
# @macro delegate_to_ordering_manager
|
1503
|
-
# Registers a named ordering strategy that can later be
|
1504
|
-
# used to order an example group's subgroups by adding
|
1505
|
-
# `:order => <name>` metadata to the example group.
|
1506
|
-
#
|
1507
|
-
# @param name [Symbol] The name of the ordering.
|
1508
|
-
# @yield Block that will order the given examples or example groups
|
1509
|
-
# @yieldparam list [Array<RSpec::Core::Example>,
|
1510
|
-
# Array<RSpec::Core::ExampleGroup>] The examples or groups to order
|
1511
|
-
# @yieldreturn [Array<RSpec::Core::Example>,
|
1512
|
-
# Array<RSpec::Core::ExampleGroup>] The re-ordered examples or groups
|
1513
|
-
#
|
1514
|
-
# @example
|
1515
|
-
# RSpec.configure do |rspec|
|
1516
|
-
# rspec.register_ordering :reverse do |list|
|
1517
|
-
# list.reverse
|
1518
|
-
# end
|
1519
|
-
# end
|
1520
|
-
#
|
1521
|
-
# RSpec.describe 'MyClass', :order => :reverse do
|
1522
|
-
# # ...
|
1523
|
-
# end
|
1524
|
-
#
|
1525
|
-
# @note Pass the symbol `:global` to set the ordering strategy that
|
1526
|
-
# will be used to order the top-level example groups and any example
|
1527
|
-
# groups that do not have declared `:order` metadata.
|
1528
|
-
#
|
1529
|
-
# @example
|
1530
|
-
# RSpec.configure do |rspec|
|
1531
|
-
# rspec.register_ordering :global do |examples|
|
1532
|
-
# acceptance, other = examples.partition do |example|
|
1533
|
-
# example.metadata[:type] == :acceptance
|
1534
|
-
# end
|
1535
|
-
# other + acceptance
|
1536
|
-
# end
|
1537
|
-
# end
|
1538
|
-
#
|
1539
|
-
# RSpec.describe 'MyClass', :type => :acceptance do
|
1540
|
-
# # will run last
|
1541
|
-
# end
|
1542
|
-
#
|
1543
|
-
# RSpec.describe 'MyClass' do
|
1544
|
-
# # will run first
|
1545
|
-
# end
|
1546
|
-
#
|
1547
|
-
delegate_to_ordering_manager :register_ordering
|
1548
|
-
|
1549
|
-
# @private
|
1550
|
-
delegate_to_ordering_manager :seed_used?, :ordering_registry
|
1551
|
-
|
1552
|
-
# Set Ruby warnings on or off.
|
1553
|
-
def warnings=(value)
|
1554
|
-
$VERBOSE = !!value
|
1555
|
-
end
|
1556
|
-
|
1557
|
-
# @return [Boolean] Whether or not ruby warnings are enabled.
|
1558
|
-
def warnings?
|
1559
|
-
$VERBOSE
|
1560
|
-
end
|
1561
|
-
|
1562
|
-
# @private
|
1563
|
-
RAISE_ERROR_WARNING_NOTIFIER = lambda { |message| raise message }
|
1564
|
-
|
1565
|
-
# Turns warnings into errors. This can be useful when
|
1566
|
-
# you want RSpec to run in a 'strict' no warning situation.
|
1567
|
-
#
|
1568
|
-
# @example
|
1569
|
-
#
|
1570
|
-
# RSpec.configure do |rspec|
|
1571
|
-
# rspec.raise_on_warning = true
|
1572
|
-
# end
|
1573
|
-
def raise_on_warning=(value)
|
1574
|
-
if value
|
1575
|
-
RSpec::Support.warning_notifier = RAISE_ERROR_WARNING_NOTIFIER
|
1576
|
-
else
|
1577
|
-
RSpec::Support.warning_notifier = RSpec::Support::DEFAULT_WARNING_NOTIFIER
|
1578
|
-
end
|
1579
|
-
end
|
1580
|
-
|
1581
|
-
# Exposes the current running example via the named
|
1582
|
-
# helper method. RSpec 2.x exposed this via `example`,
|
1583
|
-
# but in RSpec 3.0, the example is instead exposed via
|
1584
|
-
# an arg yielded to `it`, `before`, `let`, etc. However,
|
1585
|
-
# some extension gems (such as Capybara) depend on the
|
1586
|
-
# RSpec 2.x's `example` method, so this config option
|
1587
|
-
# can be used to maintain compatibility.
|
1588
|
-
#
|
1589
|
-
# @param method_name [Symbol] the name of the helper method
|
1590
|
-
#
|
1591
|
-
# @example
|
1592
|
-
#
|
1593
|
-
# RSpec.configure do |rspec|
|
1594
|
-
# rspec.expose_current_running_example_as :example
|
1595
|
-
# end
|
1596
|
-
#
|
1597
|
-
# describe MyClass do
|
1598
|
-
# before do
|
1599
|
-
# # `example` can be used here because of the above config.
|
1600
|
-
# do_something if example.metadata[:type] == "foo"
|
1601
|
-
# end
|
1602
|
-
# end
|
1603
|
-
def expose_current_running_example_as(method_name)
|
1604
|
-
ExposeCurrentExample.module_exec do
|
1605
|
-
extend RSpec::SharedContext
|
1606
|
-
let(method_name) { |ex| ex }
|
1607
|
-
end
|
1608
|
-
|
1609
|
-
include ExposeCurrentExample
|
1610
|
-
end
|
1611
|
-
|
1612
|
-
# @private
|
1613
|
-
module ExposeCurrentExample; end
|
1614
|
-
|
1615
|
-
# Turns deprecation warnings into errors, in order to surface
|
1616
|
-
# the full backtrace of the call site. This can be useful when
|
1617
|
-
# you need more context to address a deprecation than the
|
1618
|
-
# single-line call site normally provided.
|
1619
|
-
#
|
1620
|
-
# @example
|
1621
|
-
#
|
1622
|
-
# RSpec.configure do |rspec|
|
1623
|
-
# rspec.raise_errors_for_deprecations!
|
1624
|
-
# end
|
1625
|
-
def raise_errors_for_deprecations!
|
1626
|
-
self.deprecation_stream = Formatters::DeprecationFormatter::RaiseErrorStream.new
|
1627
|
-
end
|
1628
|
-
|
1629
|
-
# Enables zero monkey patching mode for RSpec. It removes monkey
|
1630
|
-
# patching of the top-level DSL methods (`describe`,
|
1631
|
-
# `shared_examples_for`, etc) onto `main` and `Module`, instead
|
1632
|
-
# requiring you to prefix these methods with `RSpec.`. It enables
|
1633
|
-
# expect-only syntax for rspec-mocks and rspec-expectations. It
|
1634
|
-
# simply disables monkey patching on whatever pieces of RSpec
|
1635
|
-
# the user is using.
|
1636
|
-
#
|
1637
|
-
# @note It configures rspec-mocks and rspec-expectations only
|
1638
|
-
# if the user is using those (either explicitly or implicitly
|
1639
|
-
# by not setting `mock_with` or `expect_with` to anything else).
|
1640
|
-
#
|
1641
|
-
# @note If the user uses this options with `mock_with :mocha`
|
1642
|
-
# (or similiar) they will still have monkey patching active
|
1643
|
-
# in their test environment from mocha.
|
1644
|
-
#
|
1645
|
-
# @example
|
1646
|
-
#
|
1647
|
-
# # It disables all monkey patching.
|
1648
|
-
# RSpec.configure do |config|
|
1649
|
-
# config.disable_monkey_patching!
|
1650
|
-
# end
|
1651
|
-
#
|
1652
|
-
# # Is an equivalent to
|
1653
|
-
# RSpec.configure do |config|
|
1654
|
-
# config.expose_dsl_globally = false
|
1655
|
-
#
|
1656
|
-
# config.mock_with :rspec do |mocks|
|
1657
|
-
# mocks.syntax = :expect
|
1658
|
-
# mocks.patch_marshal_to_support_partial_doubles = false
|
1659
|
-
# end
|
1660
|
-
#
|
1661
|
-
# config.mock_with :rspec do |expectations|
|
1662
|
-
# expectations.syntax = :expect
|
1663
|
-
# end
|
1664
|
-
# end
|
1665
|
-
def disable_monkey_patching!
|
1666
|
-
self.expose_dsl_globally = false
|
1667
|
-
self.disable_monkey_patching = true
|
1668
|
-
conditionally_disable_mocks_monkey_patching
|
1669
|
-
conditionally_disable_expectations_monkey_patching
|
1670
|
-
end
|
1671
|
-
|
1672
|
-
# @private
|
1673
|
-
attr_accessor :disable_monkey_patching
|
1674
|
-
|
1675
|
-
# Defines a callback that can assign derived metadata values.
|
1676
|
-
#
|
1677
|
-
# @param filters [Array<Symbol>, Hash] metadata filters that determine
|
1678
|
-
# which example or group metadata hashes the callback will be triggered
|
1679
|
-
# for. If none are given, the callback will be run against the metadata
|
1680
|
-
# hashes of all groups and examples.
|
1681
|
-
# @yieldparam metadata [Hash] original metadata hash from an example or
|
1682
|
-
# group. Mutate this in your block as needed.
|
1683
|
-
#
|
1684
|
-
# @example
|
1685
|
-
# RSpec.configure do |config|
|
1686
|
-
# # Tag all groups and examples in the spec/unit directory with
|
1687
|
-
# # :type => :unit
|
1688
|
-
# config.define_derived_metadata(:file_path => %r{/spec/unit/}) do |metadata|
|
1689
|
-
# metadata[:type] = :unit
|
1690
|
-
# end
|
1691
|
-
# end
|
1692
|
-
def define_derived_metadata(*filters, &block)
|
1693
|
-
meta = Metadata.build_hash_from(filters, :warn_about_example_group_filtering)
|
1694
|
-
@derived_metadata_blocks.append(block, meta)
|
1695
|
-
end
|
1696
|
-
|
1697
|
-
# Defines a callback that runs after the first example with matching
|
1698
|
-
# metadata is defined. If no examples are defined with matching metadata,
|
1699
|
-
# it will not get called at all.
|
1700
|
-
#
|
1701
|
-
# This can be used to ensure some setup is performed (such as bootstrapping
|
1702
|
-
# a DB or loading a specific file that adds significantly to the boot time)
|
1703
|
-
# if needed (as indicated by the presence of an example with matching metadata)
|
1704
|
-
# but avoided otherwise.
|
1705
|
-
#
|
1706
|
-
# @example
|
1707
|
-
# RSpec.configure do |config|
|
1708
|
-
# config.when_first_matching_example_defined(:db) do
|
1709
|
-
# # Load a support file that does some heavyweight setup,
|
1710
|
-
# # including bootstrapping the DB, but only if we have loaded
|
1711
|
-
# # any examples tagged with `:db`.
|
1712
|
-
# require 'support/db'
|
1713
|
-
# end
|
1714
|
-
# end
|
1715
|
-
def when_first_matching_example_defined(*filters, &block)
|
1716
|
-
specified_meta = Metadata.build_hash_from(filters, :warn_about_example_group_filtering)
|
1717
|
-
|
1718
|
-
callback = lambda do |example_or_group_meta|
|
1719
|
-
# Example groups do not have `:example_group` metadata
|
1720
|
-
# (instead they have `:parent_example_group` metadata).
|
1721
|
-
return unless example_or_group_meta.key?(:example_group)
|
1722
|
-
|
1723
|
-
# Ensure the callback only fires once.
|
1724
|
-
@derived_metadata_blocks.items_for(specified_meta).delete(callback)
|
1725
|
-
|
1726
|
-
block.call
|
1727
|
-
end
|
1728
|
-
|
1729
|
-
@derived_metadata_blocks.append(callback, specified_meta)
|
1730
|
-
end
|
1731
|
-
|
1732
|
-
# @private
|
1733
|
-
def apply_derived_metadata_to(metadata)
|
1734
|
-
@derived_metadata_blocks.items_for(metadata).each do |block|
|
1735
|
-
block.call(metadata)
|
1736
|
-
end
|
1737
|
-
end
|
1738
|
-
|
1739
|
-
# Defines a `before` hook. See {Hooks#before} for full docs.
|
1740
|
-
#
|
1741
|
-
# This method differs from {Hooks#before} in only one way: it supports
|
1742
|
-
# the `:suite` scope. Hooks with the `:suite` scope will be run once before
|
1743
|
-
# the first example of the entire suite is executed.
|
1744
|
-
#
|
1745
|
-
# @see #prepend_before
|
1746
|
-
# @see #after
|
1747
|
-
# @see #append_after
|
1748
|
-
def before(scope=nil, *meta, &block)
|
1749
|
-
handle_suite_hook(scope, meta) do
|
1750
|
-
@before_suite_hooks << Hooks::BeforeHook.new(block, {})
|
1751
|
-
end || begin
|
1752
|
-
add_hook_to_existing_matching_groups(meta, scope) { |g| g.before(scope, *meta, &block) }
|
1753
|
-
super(scope, *meta, &block)
|
1754
|
-
end
|
1755
|
-
end
|
1756
|
-
alias_method :append_before, :before
|
1757
|
-
|
1758
|
-
# Adds `block` to the start of the list of `before` blocks in the same
|
1759
|
-
# scope (`:example`, `:context`, or `:suite`), in contrast to {#before},
|
1760
|
-
# which adds the hook to the end of the list.
|
1761
|
-
#
|
1762
|
-
# See {Hooks#before} for full `before` hook docs.
|
1763
|
-
#
|
1764
|
-
# This method differs from {Hooks#prepend_before} in only one way: it supports
|
1765
|
-
# the `:suite` scope. Hooks with the `:suite` scope will be run once before
|
1766
|
-
# the first example of the entire suite is executed.
|
1767
|
-
#
|
1768
|
-
# @see #before
|
1769
|
-
# @see #after
|
1770
|
-
# @see #append_after
|
1771
|
-
def prepend_before(scope=nil, *meta, &block)
|
1772
|
-
handle_suite_hook(scope, meta) do
|
1773
|
-
@before_suite_hooks.unshift Hooks::BeforeHook.new(block, {})
|
1774
|
-
end || begin
|
1775
|
-
add_hook_to_existing_matching_groups(meta, scope) { |g| g.prepend_before(scope, *meta, &block) }
|
1776
|
-
super(scope, *meta, &block)
|
1777
|
-
end
|
1778
|
-
end
|
1779
|
-
|
1780
|
-
# Defines a `after` hook. See {Hooks#after} for full docs.
|
1781
|
-
#
|
1782
|
-
# This method differs from {Hooks#after} in only one way: it supports
|
1783
|
-
# the `:suite` scope. Hooks with the `:suite` scope will be run once after
|
1784
|
-
# the last example of the entire suite is executed.
|
1785
|
-
#
|
1786
|
-
# @see #append_after
|
1787
|
-
# @see #before
|
1788
|
-
# @see #prepend_before
|
1789
|
-
def after(scope=nil, *meta, &block)
|
1790
|
-
handle_suite_hook(scope, meta) do
|
1791
|
-
@after_suite_hooks.unshift Hooks::AfterHook.new(block, {})
|
1792
|
-
end || begin
|
1793
|
-
add_hook_to_existing_matching_groups(meta, scope) { |g| g.after(scope, *meta, &block) }
|
1794
|
-
super(scope, *meta, &block)
|
1795
|
-
end
|
1796
|
-
end
|
1797
|
-
alias_method :prepend_after, :after
|
1798
|
-
|
1799
|
-
# Adds `block` to the end of the list of `after` blocks in the same
|
1800
|
-
# scope (`:example`, `:context`, or `:suite`), in contrast to {#after},
|
1801
|
-
# which adds the hook to the start of the list.
|
1802
|
-
#
|
1803
|
-
# See {Hooks#after} for full `after` hook docs.
|
1804
|
-
#
|
1805
|
-
# This method differs from {Hooks#append_after} in only one way: it supports
|
1806
|
-
# the `:suite` scope. Hooks with the `:suite` scope will be run once after
|
1807
|
-
# the last example of the entire suite is executed.
|
1808
|
-
#
|
1809
|
-
# @see #append_after
|
1810
|
-
# @see #before
|
1811
|
-
# @see #prepend_before
|
1812
|
-
def append_after(scope=nil, *meta, &block)
|
1813
|
-
handle_suite_hook(scope, meta) do
|
1814
|
-
@after_suite_hooks << Hooks::AfterHook.new(block, {})
|
1815
|
-
end || begin
|
1816
|
-
add_hook_to_existing_matching_groups(meta, scope) { |g| g.append_after(scope, *meta, &block) }
|
1817
|
-
super(scope, *meta, &block)
|
1818
|
-
end
|
1819
|
-
end
|
1820
|
-
|
1821
|
-
# Registers `block` as an `around` hook.
|
1822
|
-
#
|
1823
|
-
# See {Hooks#around} for full `around` hook docs.
|
1824
|
-
def around(scope=nil, *meta, &block)
|
1825
|
-
add_hook_to_existing_matching_groups(meta, scope) { |g| g.around(scope, *meta, &block) }
|
1826
|
-
super(scope, *meta, &block)
|
1827
|
-
end
|
1828
|
-
|
1829
|
-
# @private
|
1830
|
-
def with_suite_hooks
|
1831
|
-
return yield if dry_run?
|
1832
|
-
|
1833
|
-
begin
|
1834
|
-
run_suite_hooks("a `before(:suite)` hook", @before_suite_hooks)
|
1835
|
-
yield
|
1836
|
-
ensure
|
1837
|
-
run_suite_hooks("an `after(:suite)` hook", @after_suite_hooks)
|
1838
|
-
end
|
1839
|
-
end
|
1840
|
-
|
1841
|
-
# @private
|
1842
|
-
# Holds the various registered hooks. Here we use a FilterableItemRepository
|
1843
|
-
# implementation that is specifically optimized for the read/write patterns
|
1844
|
-
# of the config object.
|
1845
|
-
def hooks
|
1846
|
-
@hooks ||= HookCollections.new(self, FilterableItemRepository::QueryOptimized)
|
1847
|
-
end
|
1848
|
-
|
1849
|
-
# Invokes block before defining an example group
|
1850
|
-
def on_example_group_definition(&block)
|
1851
|
-
on_example_group_definition_callbacks << block
|
1852
|
-
end
|
1853
|
-
|
1854
|
-
# @api private
|
1855
|
-
# Returns an array of blocks to call before defining an example group
|
1856
|
-
def on_example_group_definition_callbacks
|
1857
|
-
@on_example_group_definition_callbacks ||= []
|
1858
|
-
end
|
1859
|
-
|
1860
|
-
private
|
1861
|
-
|
1862
|
-
def handle_suite_hook(scope, meta)
|
1863
|
-
return nil unless scope == :suite
|
1864
|
-
|
1865
|
-
unless meta.empty?
|
1866
|
-
# TODO: in RSpec 4, consider raising an error here.
|
1867
|
-
# We warn only for backwards compatibility.
|
1868
|
-
RSpec.warn_with "WARNING: `:suite` hooks do not support metadata since " \
|
1869
|
-
"they apply to the suite as a whole rather than " \
|
1870
|
-
"any individual example or example group that has metadata. " \
|
1871
|
-
"The metadata you have provided (#{meta.inspect}) will be ignored."
|
1872
|
-
end
|
1873
|
-
|
1874
|
-
yield
|
1875
|
-
end
|
1876
|
-
|
1877
|
-
def run_suite_hooks(hook_description, hooks)
|
1878
|
-
context = SuiteHookContext.new(hook_description, reporter)
|
1879
|
-
|
1880
|
-
hooks.each do |hook|
|
1881
|
-
begin
|
1882
|
-
hook.run(context)
|
1883
|
-
rescue Support::AllExceptionsExceptOnesWeMustNotRescue => ex
|
1884
|
-
context.set_exception(ex)
|
1885
|
-
end
|
1886
|
-
end
|
1887
|
-
end
|
1888
|
-
|
1889
|
-
def get_files_to_run(paths)
|
1890
|
-
files = FlatMap.flat_map(paths_to_check(paths)) do |path|
|
1891
|
-
path = path.gsub(File::ALT_SEPARATOR, File::SEPARATOR) if File::ALT_SEPARATOR
|
1892
|
-
File.directory?(path) ? gather_directories(path) : extract_location(path)
|
1893
|
-
end.uniq
|
1894
|
-
|
1895
|
-
return files unless only_failures?
|
1896
|
-
relative_files = files.map { |f| Metadata.relative_path(File.expand_path f) }
|
1897
|
-
intersection = (relative_files & spec_files_with_failures.to_a)
|
1898
|
-
intersection.empty? ? files : intersection
|
1899
|
-
end
|
1900
|
-
|
1901
|
-
def paths_to_check(paths)
|
1902
|
-
return paths if pattern_might_load_specs_from_vendored_dirs?
|
1903
|
-
paths + [Dir.getwd]
|
1904
|
-
end
|
1905
|
-
|
1906
|
-
def pattern_might_load_specs_from_vendored_dirs?
|
1907
|
-
pattern.split(File::SEPARATOR).first.include?('**')
|
1908
|
-
end
|
1909
|
-
|
1910
|
-
def gather_directories(path)
|
1911
|
-
include_files = get_matching_files(path, pattern)
|
1912
|
-
exclude_files = get_matching_files(path, exclude_pattern)
|
1913
|
-
(include_files - exclude_files).uniq
|
1914
|
-
end
|
1915
|
-
|
1916
|
-
def get_matching_files(path, pattern)
|
1917
|
-
raw_files = Dir[file_glob_from(path, pattern)]
|
1918
|
-
raw_files.map { |file| File.expand_path(file) }.sort
|
1919
|
-
end
|
1920
|
-
|
1921
|
-
def file_glob_from(path, pattern)
|
1922
|
-
stripped = "{#{pattern.gsub(/\s*,\s*/, ',')}}"
|
1923
|
-
return stripped if pattern =~ /^(\.\/)?#{Regexp.escape path}/ || absolute_pattern?(pattern)
|
1924
|
-
File.join(path, stripped)
|
1925
|
-
end
|
1926
|
-
|
1927
|
-
if RSpec::Support::OS.windows?
|
1928
|
-
# :nocov:
|
1929
|
-
def absolute_pattern?(pattern)
|
1930
|
-
pattern =~ /\A[A-Z]:\\/ || windows_absolute_network_path?(pattern)
|
1931
|
-
end
|
1932
|
-
|
1933
|
-
def windows_absolute_network_path?(pattern)
|
1934
|
-
return false unless ::File::ALT_SEPARATOR
|
1935
|
-
pattern.start_with?(::File::ALT_SEPARATOR + ::File::ALT_SEPARATOR)
|
1936
|
-
end
|
1937
|
-
# :nocov:
|
1938
|
-
else
|
1939
|
-
def absolute_pattern?(pattern)
|
1940
|
-
pattern.start_with?(File::Separator)
|
1941
|
-
end
|
1942
|
-
end
|
1943
|
-
|
1944
|
-
def extract_location(path)
|
1945
|
-
match = /^(.*?)((?:\:\d+)+)$/.match(path)
|
1946
|
-
|
1947
|
-
if match
|
1948
|
-
captures = match.captures
|
1949
|
-
path = captures[0]
|
1950
|
-
lines = captures[1][1..-1].split(":").map(&:to_i)
|
1951
|
-
filter_manager.add_location path, lines
|
1952
|
-
else
|
1953
|
-
path, scoped_ids = Example.parse_id(path)
|
1954
|
-
filter_manager.add_ids(path, scoped_ids.split(/\s*,\s*/)) if scoped_ids
|
1955
|
-
end
|
1956
|
-
|
1957
|
-
return [] if path == default_path
|
1958
|
-
File.expand_path(path)
|
1959
|
-
end
|
1960
|
-
|
1961
|
-
def command
|
1962
|
-
$0.split(File::SEPARATOR).last
|
1963
|
-
end
|
1964
|
-
|
1965
|
-
def value_for(key)
|
1966
|
-
@preferred_options.fetch(key) { yield }
|
1967
|
-
end
|
1968
|
-
|
1969
|
-
def define_built_in_hooks
|
1970
|
-
around(:example, :aggregate_failures => true) do |procsy|
|
1971
|
-
begin
|
1972
|
-
aggregate_failures(nil, :hide_backtrace => true, &procsy)
|
1973
|
-
rescue Support::AllExceptionsExceptOnesWeMustNotRescue => exception
|
1974
|
-
procsy.example.set_aggregate_failures_exception(exception)
|
1975
|
-
end
|
1976
|
-
end
|
1977
|
-
end
|
1978
|
-
|
1979
|
-
def assert_no_example_groups_defined(config_option)
|
1980
|
-
return unless world.example_groups.any?
|
1981
|
-
|
1982
|
-
raise MustBeConfiguredBeforeExampleGroupsError.new(
|
1983
|
-
"RSpec's #{config_option} configuration option must be configured before " \
|
1984
|
-
"any example groups are defined, but you have already defined a group."
|
1985
|
-
)
|
1986
|
-
end
|
1987
|
-
|
1988
|
-
def output_to_tty?(output=output_stream)
|
1989
|
-
tty? || (output.respond_to?(:tty?) && output.tty?)
|
1990
|
-
end
|
1991
|
-
|
1992
|
-
def conditionally_disable_mocks_monkey_patching
|
1993
|
-
return unless disable_monkey_patching && rspec_mocks_loaded?
|
1994
|
-
|
1995
|
-
RSpec::Mocks.configuration.tap do |config|
|
1996
|
-
config.syntax = :expect
|
1997
|
-
config.patch_marshal_to_support_partial_doubles = false
|
1998
|
-
end
|
1999
|
-
end
|
2000
|
-
|
2001
|
-
def conditionally_disable_expectations_monkey_patching
|
2002
|
-
return unless disable_monkey_patching && rspec_expectations_loaded?
|
2003
|
-
|
2004
|
-
RSpec::Expectations.configuration.syntax = :expect
|
2005
|
-
end
|
2006
|
-
|
2007
|
-
def rspec_mocks_loaded?
|
2008
|
-
defined?(RSpec::Mocks.configuration)
|
2009
|
-
end
|
2010
|
-
|
2011
|
-
def rspec_expectations_loaded?
|
2012
|
-
defined?(RSpec::Expectations.configuration)
|
2013
|
-
end
|
2014
|
-
|
2015
|
-
def update_pattern_attr(name, value)
|
2016
|
-
if @spec_files_loaded
|
2017
|
-
RSpec.warning "Configuring `#{name}` to #{value} has no effect since " \
|
2018
|
-
"RSpec has already loaded the spec files."
|
2019
|
-
end
|
2020
|
-
|
2021
|
-
instance_variable_set(:"@#{name}", value)
|
2022
|
-
@files_to_run = nil
|
2023
|
-
end
|
2024
|
-
|
2025
|
-
def clear_values_derived_from_example_status_persistence_file_path
|
2026
|
-
@last_run_statuses = nil
|
2027
|
-
@spec_files_with_failures = nil
|
2028
|
-
end
|
2029
|
-
|
2030
|
-
def configure_group_with(group, module_list, application_method)
|
2031
|
-
module_list.items_for(group.metadata).each do |mod|
|
2032
|
-
__send__(application_method, mod, group)
|
2033
|
-
end
|
2034
|
-
end
|
2035
|
-
|
2036
|
-
def add_hook_to_existing_matching_groups(meta, scope, &block)
|
2037
|
-
# For example hooks, we have to apply it to each of the top level
|
2038
|
-
# groups, even if the groups do not match. When we apply it, we
|
2039
|
-
# apply it with the metadata, so it will only apply to examples
|
2040
|
-
# in the group that match the metadata.
|
2041
|
-
# #2280 for background and discussion.
|
2042
|
-
if scope == :example || scope == :each || scope.nil?
|
2043
|
-
world.example_groups.each(&block)
|
2044
|
-
else
|
2045
|
-
meta = Metadata.build_hash_from(meta.dup)
|
2046
|
-
on_existing_matching_groups(meta, &block)
|
2047
|
-
end
|
2048
|
-
end
|
2049
|
-
|
2050
|
-
def on_existing_matching_groups(meta)
|
2051
|
-
world.traverse_example_group_trees_until do |group|
|
2052
|
-
metadata_applies_to_group?(meta, group).tap do |applies|
|
2053
|
-
yield group if applies
|
2054
|
-
end
|
2055
|
-
end
|
2056
|
-
end
|
2057
|
-
|
2058
|
-
def metadata_applies_to_group?(meta, group)
|
2059
|
-
meta.empty? || MetadataFilter.apply?(:any?, meta, group.metadata)
|
2060
|
-
end
|
2061
|
-
|
2062
|
-
if RSpec::Support::RubyFeatures.module_prepends_supported?
|
2063
|
-
def safe_prepend(mod, host)
|
2064
|
-
host.__send__(:prepend, mod) unless host < mod
|
2065
|
-
end
|
2066
|
-
end
|
2067
|
-
|
2068
|
-
if RUBY_VERSION.to_f >= 1.9
|
2069
|
-
def safe_include(mod, host)
|
2070
|
-
host.__send__(:include, mod) unless host < mod
|
2071
|
-
end
|
2072
|
-
|
2073
|
-
def safe_extend(mod, host)
|
2074
|
-
host.extend(mod) unless host.singleton_class < mod
|
2075
|
-
end
|
2076
|
-
else # for 1.8.7
|
2077
|
-
# :nocov:
|
2078
|
-
def safe_include(mod, host)
|
2079
|
-
host.__send__(:include, mod) unless host.included_modules.include?(mod)
|
2080
|
-
end
|
2081
|
-
|
2082
|
-
def safe_extend(mod, host)
|
2083
|
-
host.extend(mod) unless (class << host; self; end).included_modules.include?(mod)
|
2084
|
-
end
|
2085
|
-
# :nocov:
|
2086
|
-
end
|
2087
|
-
|
2088
|
-
def define_mixed_in_module(mod, filters, mod_list, config_method, &block)
|
2089
|
-
unless Module === mod
|
2090
|
-
raise TypeError, "`RSpec.configuration.#{config_method}` expects a module but got: #{mod.inspect}"
|
2091
|
-
end
|
2092
|
-
|
2093
|
-
meta = Metadata.build_hash_from(filters, :warn_about_example_group_filtering)
|
2094
|
-
mod_list.append(mod, meta)
|
2095
|
-
on_existing_matching_groups(meta, &block)
|
2096
|
-
end
|
2097
|
-
end
|
2098
|
-
# rubocop:enable Metrics/ClassLength
|
2099
|
-
end
|
2100
|
-
end
|