dirwatch 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/dirwatch +1 -1
- data/lib/dirwatch/templates/linux/latex.yml +1 -1
- data/lib/dirwatch/templates/mac/latex.yml +1 -1
- data/lib/dirwatch/templates/windows/latex.yml +1 -1
- data/lib/dirwatch/version.rb +1 -1
- metadata +3 -1366
- data/vendor/bundle/ruby/2.3.0/bin/cc-tddium-post-worker +0 -23
- data/vendor/bundle/ruby/2.3.0/bin/codeclimate-test-reporter +0 -23
- data/vendor/bundle/ruby/2.3.0/bin/dirwatch +0 -23
- data/vendor/bundle/ruby/2.3.0/bin/htmldiff +0 -25
- data/vendor/bundle/ruby/2.3.0/bin/ldiff +0 -25
- data/vendor/bundle/ruby/2.3.0/bin/rake +0 -23
- data/vendor/bundle/ruby/2.3.0/bin/rspec +0 -23
- data/vendor/bundle/ruby/2.3.0/bin/rubocop +0 -23
- data/vendor/bundle/ruby/2.3.0/bin/ruby-parse +0 -23
- data/vendor/bundle/ruby/2.3.0/bin/ruby-rewrite +0 -23
- data/vendor/bundle/ruby/2.3.0/cache/ast-2.3.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/codeclimate-test-reporter-1.0.8.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/diff-lcs-1.3.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/docile-1.1.5.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/json-2.1.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/parser-2.4.0.2.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/powerpack-0.1.1.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rainbow-2.2.2.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rake-12.3.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rspec-3.7.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rspec-core-3.7.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rspec-expectations-3.7.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rspec-mocks-3.7.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rspec-support-3.7.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rubocop-0.46.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/ruby-progressbar-1.9.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/simplecov-0.13.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/simplecov-html-0.10.2.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/unicode-display_width-1.3.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/byebug-9.1.0/byebug/byebug.so +0 -0
- data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/byebug-9.1.0/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/byebug-9.1.0/gem_make.out +0 -19
- data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/json-2.1.0/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/json-2.1.0/gem_make.out +0 -13
- data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/json-2.1.0/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/json-2.1.0/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/json-2.1.0/mkmf.log +0 -61
- data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/rainbow-2.2.2/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/rainbow-2.2.2/gem_make.out +0 -5
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/CHANGELOG.md +0 -9
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/Gemfile +0 -4
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/LICENSE.MIT +0 -20
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/README.YARD.md +0 -12
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/README.md +0 -23
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/Rakefile +0 -19
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/ast.gemspec +0 -29
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/lib/ast/node.rb +0 -253
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/lib/ast/processor/mixin.rb +0 -288
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/lib/ast/processor.rb +0 -12
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/lib/ast/sexp.rb +0 -30
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/lib/ast.rb +0 -17
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/test/helper.rb +0 -17
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/test/test_ast.rb +0 -264
- data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/LICENSE.txt +0 -40
- data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/README.md +0 -68
- data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/bin/cc-tddium-post-worker +0 -23
- data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/bin/ci +0 -15
- data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/bin/codeclimate-test-reporter +0 -21
- data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/config/cacert.pem +0 -3895
- data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/calculate_blob.rb +0 -35
- data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/ci.rb +0 -106
- data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/client.rb +0 -103
- data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/configuration.rb +0 -56
- data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/exception_message.rb +0 -72
- data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/formatter.rb +0 -104
- data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/git.rb +0 -85
- data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/payload_validator.rb +0 -59
- data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/post_results.rb +0 -30
- data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/shorten_filename.rb +0 -24
- data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/version.rb +0 -5
- data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter.rb +0 -71
- data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/codeclimate-test-reporter.rb +0 -10
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/Code-of-Conduct.md +0 -74
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/Contributing.md +0 -83
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/History.md +0 -220
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/License.md +0 -39
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/Manifest.txt +0 -37
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/README.rdoc +0 -84
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/Rakefile +0 -57
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/autotest/discover.rb +0 -1
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/bin/htmldiff +0 -32
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/bin/ldiff +0 -6
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/docs/COPYING.txt +0 -339
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/docs/artistic.txt +0 -127
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/array.rb +0 -7
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/block.rb +0 -37
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/callbacks.rb +0 -322
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/change.rb +0 -181
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/htmldiff.rb +0 -149
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/hunk.rb +0 -276
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/internals.rb +0 -307
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/ldiff.rb +0 -167
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/string.rb +0 -5
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs.rb +0 -725
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff-lcs.rb +0 -3
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/change_spec.rb +0 -65
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/diff_spec.rb +0 -47
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/fixtures/ds1.csv +0 -50
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/fixtures/ds2.csv +0 -51
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/hunk_spec.rb +0 -72
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/issues_spec.rb +0 -49
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/lcs_spec.rb +0 -56
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/ldiff_spec.rb +0 -47
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/patch_spec.rb +0 -422
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/sdiff_spec.rb +0 -214
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/spec_helper.rb +0 -321
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/traverse_balanced_spec.rb +0 -310
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/traverse_sequences_spec.rb +0 -139
- data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/Gemfile +0 -4
- data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/HISTORY.md +0 -61
- data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/LICENSE +0 -21
- data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/README.md +0 -241
- data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/Rakefile +0 -28
- data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/docile.gemspec +0 -43
- data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/lib/docile/chaining_fallback_context_proxy.rb +0 -20
- data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/lib/docile/execution.rb +0 -35
- data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/lib/docile/fallback_context_proxy.rb +0 -63
- data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/lib/docile/version.rb +0 -4
- data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/lib/docile.rb +0 -84
- data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/on_what.rb +0 -14
- data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/spec/docile_spec.rb +0 -339
- data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/spec/spec_helper.rb +0 -30
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/CHANGES.md +0 -388
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/Gemfile +0 -16
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/README-json-jruby.md +0 -33
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/README.md +0 -392
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/Rakefile +0 -408
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/VERSION +0 -1
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/data/example.json +0 -1
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/data/index.html +0 -38
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/data/prototype.js +0 -4184
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/Makefile +0 -197
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/fbuffer/fbuffer.h +0 -187
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/generator/Makefile +0 -262
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/generator/depend +0 -1
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/generator/extconf.rb +0 -4
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/generator/generator.c +0 -1443
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/generator/generator.h +0 -171
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/generator/generator.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/generator/generator.so +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/parser/Makefile +0 -262
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/parser/depend +0 -1
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/parser/extconf.rb +0 -6
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/parser/parser.c +0 -2109
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/parser/parser.h +0 -91
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/parser/parser.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/parser/parser.rl +0 -869
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/parser/parser.so +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/extconf.rb +0 -2
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/install.rb +0 -23
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/ByteListTranscoder.java +0 -166
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/Generator.java +0 -443
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/GeneratorMethods.java +0 -231
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/GeneratorService.java +0 -42
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/GeneratorState.java +0 -490
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/OptionsReader.java +0 -113
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/Parser.java +0 -2362
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/Parser.rl +0 -893
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/ParserService.java +0 -34
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/RuntimeInfo.java +0 -116
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/StringDecoder.java +0 -166
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/StringEncoder.java +0 -111
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/Utils.java +0 -88
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/json-java.gemspec +0 -38
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/json.gemspec +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/json_pure.gemspec +0 -38
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/bigdecimal.rb +0 -29
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/complex.rb +0 -29
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/core.rb +0 -12
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/date.rb +0 -34
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/date_time.rb +0 -50
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/exception.rb +0 -31
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/ostruct.rb +0 -31
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/range.rb +0 -29
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/rational.rb +0 -28
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/regexp.rb +0 -30
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/struct.rb +0 -30
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/symbol.rb +0 -25
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/time.rb +0 -38
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/common.rb +0 -456
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/ext.rb +0 -15
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/generic_object.rb +0 -71
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/pure/generator.rb +0 -458
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/pure/parser.rb +0 -311
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/pure.rb +0 -15
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/version.rb +0 -9
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json.rb +0 -63
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/references/rfc7159.txt +0 -899
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail10.json +0 -1
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail11.json +0 -1
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail12.json +0 -1
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail13.json +0 -1
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail14.json +0 -1
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail18.json +0 -1
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail19.json +0 -1
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail2.json +0 -1
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail20.json +0 -1
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail21.json +0 -1
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail22.json +0 -1
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail23.json +0 -1
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail24.json +0 -1
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail25.json +0 -1
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail27.json +0 -2
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail28.json +0 -2
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail3.json +0 -1
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail4.json +0 -1
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail5.json +0 -1
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail6.json +0 -1
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail7.json +0 -1
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail8.json +0 -1
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail9.json +0 -1
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/obsolete_fail1.json +0 -1
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/pass1.json +0 -56
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/pass15.json +0 -1
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/pass16.json +0 -1
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/pass17.json +0 -1
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/pass2.json +0 -1
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/pass26.json +0 -1
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/pass3.json +0 -6
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_addition_test.rb +0 -193
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_common_interface_test.rb +0 -126
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_encoding_test.rb +0 -107
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_ext_parser_test.rb +0 -15
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_fixtures_test.rb +0 -32
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_generator_test.rb +0 -377
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_generic_object_test.rb +0 -82
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_parser_test.rb +0 -471
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_string_matching_test.rb +0 -38
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/test_helper.rb +0 -21
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tools/diff.sh +0 -18
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tools/fuzz.rb +0 -131
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tools/server.rb +0 -62
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/CHANGELOG.md +0 -823
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/CONTRIBUTING.md +0 -17
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/Gemfile +0 -8
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/LICENSE.txt +0 -25
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/README.md +0 -300
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/Rakefile +0 -163
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/bin/ruby-parse +0 -6
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/bin/ruby-rewrite +0 -6
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/doc/AST_FORMAT.md +0 -1678
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/doc/CUSTOMIZATION.md +0 -37
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/doc/INTERNALS.md +0 -21
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/doc/css/common.css +0 -68
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/gauntlet_parser.rb +0 -121
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/all.rb +0 -8
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/ast/node.rb +0 -38
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/ast/processor.rb +0 -234
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/base.rb +0 -268
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/builders/default.rb +0 -1621
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/clobbering_error.rb +0 -11
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/compatibility/ruby1_8.rb +0 -20
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/compatibility/ruby1_9.rb +0 -32
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/current.rb +0 -90
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/diagnostic/engine.rb +0 -103
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/diagnostic.rb +0 -163
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/lexer/dedenter.rb +0 -49
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/lexer/explanation.rb +0 -53
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/lexer/literal.rb +0 -262
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/lexer/stack_state.rb +0 -42
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/lexer.rb +0 -21892
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/lexer.rl +0 -2265
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/macruby.rb +0 -6103
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/macruby.y +0 -2183
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/messages.rb +0 -70
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/meta.rb +0 -27
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/rewriter.rb +0 -119
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/ruby18.rb +0 -5647
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/ruby18.y +0 -1927
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/ruby19.rb +0 -6050
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/ruby19.y +0 -2160
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/ruby20.rb +0 -6487
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/ruby20.y +0 -2338
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/ruby21.rb +0 -6552
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/ruby21.y +0 -2342
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/ruby22.rb +0 -6585
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/ruby22.y +0 -2349
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/ruby23.rb +0 -6595
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/ruby23.y +0 -2355
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/ruby24.rb +0 -6631
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/ruby24.y +0 -2366
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/ruby25.rb +0 -6617
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/ruby25.y +0 -2362
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/rubymotion.rb +0 -6056
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/rubymotion.y +0 -2167
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/runner/ruby_parse.rb +0 -146
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/runner/ruby_rewrite.rb +0 -99
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/runner.rb +0 -246
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/source/buffer.rb +0 -333
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/source/comment/associator.rb +0 -208
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/source/comment.rb +0 -119
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/source/map/collection.rb +0 -16
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/source/map/condition.rb +0 -19
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/source/map/constant.rb +0 -30
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/source/map/definition.rb +0 -21
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/source/map/for.rb +0 -17
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/source/map/heredoc.rb +0 -17
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/source/map/keyword.rb +0 -18
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/source/map/objc_kwarg.rb +0 -17
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/source/map/operator.rb +0 -15
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/source/map/rescue_body.rb +0 -19
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/source/map/send.rb +0 -34
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/source/map/ternary.rb +0 -16
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/source/map/variable.rb +0 -29
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/source/map.rb +0 -184
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/source/range.rb +0 -242
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/source/rewriter/action.rb +0 -42
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/source/rewriter.rb +0 -475
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/static_environment.rb +0 -44
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/syntax_error.rb +0 -19
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/version.rb +0 -3
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser.rb +0 -81
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/parser.gemspec +0 -47
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/test/bug_163/fixtures/input.rb +0 -3
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/test/bug_163/fixtures/output.rb +0 -3
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/test/bug_163/rewriter.rb +0 -18
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/test/bug_163/test_runner_rewrite.rb +0 -35
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/test/helper.rb +0 -41
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/test/parse_helper.rb +0 -264
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/test/racc_coverage_helper.rb +0 -131
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/test/test_base.rb +0 -29
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/test/test_current.rb +0 -27
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/test/test_diagnostic.rb +0 -94
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/test/test_diagnostic_engine.rb +0 -60
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/test/test_encoding.rb +0 -78
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/test/test_lexer.rb +0 -3414
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/test/test_lexer_stack_state.rb +0 -76
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/test/test_parse_helper.rb +0 -80
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/test/test_parser.rb +0 -6024
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/test/test_source_buffer.rb +0 -144
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/test/test_source_comment.rb +0 -34
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/test/test_source_comment_associator.rb +0 -365
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/test/test_source_map.rb +0 -13
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/test/test_source_range.rb +0 -125
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/test/test_source_rewriter.rb +0 -539
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/test/test_source_rewriter_action.rb +0 -44
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/test/test_static_environment.rb +0 -43
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/CHANGELOG.md +0 -39
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/Gemfile +0 -4
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/LICENSE.txt +0 -22
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/README.md +0 -99
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/Rakefile +0 -12
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/array/butfirst.rb +0 -15
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/array/butlast.rb +0 -15
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/array.rb +0 -2
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/average.rb +0 -20
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/drop_last.rb +0 -20
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/drop_last_while.rb +0 -21
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/exactly.rb +0 -43
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/frequencies.rb +0 -17
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/several.rb +0 -37
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/sum.rb +0 -21
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/take_last.rb +0 -20
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/take_last_while.rb +0 -17
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/enumerable.rb +0 -9
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/hash/symbolize_keys.rb +0 -14
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/hash.rb +0 -1
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/numeric/neg.rb +0 -19
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/numeric/pos.rb +0 -19
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/numeric/scale.rb +0 -44
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/numeric.rb +0 -3
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/string/ascii_only.rb +0 -42
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/string/blank.rb +0 -20
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/string/format.rb +0 -20
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/string/remove.rb +0 -17
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/string/remove_prefix.rb +0 -23
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/string/remove_suffix.rb +0 -23
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/string/squish.rb +0 -27
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/string/strip_indent.rb +0 -22
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/string/strip_margin.rb +0 -21
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/string.rb +0 -9
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/version.rb +0 -3
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack.rb +0 -11
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/powerpack.gemspec +0 -24
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/array/butfirst_spec.rb +0 -11
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/array/butlast_spec.rb +0 -11
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/average_spec.rb +0 -19
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/drop_last_spec.rb +0 -15
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/drop_last_while_spec.rb +0 -7
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/exactly_spec.rb +0 -39
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/frequencies_spec.rb +0 -20
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/several_spec.rb +0 -27
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/sum_spec.rb +0 -15
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/take_last_spec.rb +0 -15
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/take_last_while_spec.rb +0 -7
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/hash/symbolize_keys_spec.rb +0 -15
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/numeric/neg_spec.rb +0 -24
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/numeric/pos_spec.rb +0 -24
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/numeric/scale_spec.rb +0 -139
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/string/ascii_only_spec.rb +0 -45
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/string/blank_spec.rb +0 -15
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/string/format_spec.rb +0 -12
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/string/remove_prefix_spec.rb +0 -13
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/string/remove_spec.rb +0 -13
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/string/remove_suffix_spec.rb +0 -13
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/string/squish_spec.rb +0 -21
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/string/strip_indent_spec.rb +0 -13
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/string/strip_margin_spec.rb +0 -26
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/spec_helper.rb +0 -15
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/Changelog.md +0 -87
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/Gemfile +0 -23
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/Guardfile +0 -9
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/LICENSE +0 -20
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/README.markdown +0 -217
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/Rakefile +0 -6
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/ext/Rakefile +0 -1
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/ext/mkrf_conf.rb +0 -22
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/color.rb +0 -144
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/ext/string.rb +0 -56
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/global.rb +0 -21
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/legacy.rb +0 -15
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/null_presenter.rb +0 -41
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/presenter.rb +0 -135
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/string_utils.rb +0 -20
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/version.rb +0 -3
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/wrapper.rb +0 -22
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/x11_color_names.rb +0 -152
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow.rb +0 -24
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/rainbow.gemspec +0 -26
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/spec/integration/instance_spec.rb +0 -35
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/spec/integration/rainbow_spec.rb +0 -160
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/spec/integration/string_spec.rb +0 -84
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/spec/spec_helper.rb +0 -6
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/spec/support/presenter_shared_examples.rb +0 -9
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/spec/unit/color_spec.rb +0 -301
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/spec/unit/namespace_spec.rb +0 -31
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/spec/unit/null_presenter_spec.rb +0 -111
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/spec/unit/presenter_spec.rb +0 -201
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/spec/unit/string_utils_spec.rb +0 -62
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/spec/unit/wrapper_spec.rb +0 -34
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/CONTRIBUTING.rdoc +0 -36
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/Gemfile +0 -3
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/History.rdoc +0 -2299
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/MIT-LICENSE +0 -21
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/README.rdoc +0 -156
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/Rakefile +0 -38
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/bin/console +0 -7
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/bin/setup +0 -6
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/doc/command_line_usage.rdoc +0 -158
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/doc/example/Rakefile1 +0 -38
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/doc/example/Rakefile2 +0 -35
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/doc/example/a.c +0 -6
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/doc/example/b.c +0 -6
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/doc/example/main.c +0 -11
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/doc/glossary.rdoc +0 -42
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/doc/jamis.rb +0 -592
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/doc/proto_rake.rdoc +0 -127
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/doc/rake.1 +0 -156
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/doc/rakefile.rdoc +0 -622
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/doc/rational.rdoc +0 -151
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/exe/rake +0 -27
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/application.rb +0 -824
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/backtrace.rb +0 -24
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/clean.rb +0 -78
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/cloneable.rb +0 -17
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/cpu_counter.rb +0 -107
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/default_loader.rb +0 -15
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/dsl_definition.rb +0 -195
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/early_time.rb +0 -22
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/ext/core.rb +0 -26
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/ext/string.rb +0 -176
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/file_creation_task.rb +0 -25
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/file_list.rb +0 -435
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/file_task.rb +0 -54
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/file_utils.rb +0 -137
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/file_utils_ext.rb +0 -145
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/invocation_chain.rb +0 -57
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/invocation_exception_mixin.rb +0 -17
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/late_time.rb +0 -18
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/linked_list.rb +0 -112
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/loaders/makefile.rb +0 -54
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/multi_task.rb +0 -50
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/name_space.rb +0 -38
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/packagetask.rb +0 -211
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/phony.rb +0 -16
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/private_reader.rb +0 -21
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/promise.rb +0 -100
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/pseudo_status.rb +0 -30
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/rake_module.rb +0 -67
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/rake_test_loader.rb +0 -26
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/rule_recursion_overflow_error.rb +0 -20
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/scope.rb +0 -43
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/task.rb +0 -391
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/task_argument_error.rb +0 -8
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/task_arguments.rb +0 -109
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/task_manager.rb +0 -319
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/tasklib.rb +0 -12
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/testtask.rb +0 -224
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/thread_history_display.rb +0 -49
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/thread_pool.rb +0 -163
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/trace_output.rb +0 -23
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/version.rb +0 -10
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake/win32.rb +0 -51
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/lib/rake.rb +0 -71
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/rake.gemspec +0 -43
- data/vendor/bundle/ruby/2.3.0/gems/rspec-3.7.0/LICENSE.md +0 -27
- data/vendor/bundle/ruby/2.3.0/gems/rspec-3.7.0/README.md +0 -39
- data/vendor/bundle/ruby/2.3.0/gems/rspec-3.7.0/lib/rspec/version.rb +0 -5
- data/vendor/bundle/ruby/2.3.0/gems/rspec-3.7.0/lib/rspec.rb +0 -3
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/Changelog.md +0 -2187
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/LICENSE.md +0 -26
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/README.md +0 -384
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/exe/rspec +0 -4
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/autorun.rb +0 -3
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/backtrace_formatter.rb +0 -65
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/bisect/coordinator.rb +0 -66
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/bisect/example_minimizer.rb +0 -169
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/bisect/runner.rb +0 -169
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/bisect/server.rb +0 -70
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/configuration.rb +0 -2179
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/configuration_options.rb +0 -196
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/drb.rb +0 -113
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/dsl.rb +0 -98
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb +0 -653
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example_group.rb +0 -884
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example_status_persister.rb +0 -235
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/filter_manager.rb +0 -231
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/flat_map.rb +0 -20
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/base_formatter.rb +0 -70
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/base_text_formatter.rb +0 -75
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/bisect_formatter.rb +0 -69
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/bisect_progress_formatter.rb +0 -144
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/console_codes.rb +0 -68
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/deprecation_formatter.rb +0 -221
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/documentation_formatter.rb +0 -70
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/exception_presenter.rb +0 -496
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/fallback_message_formatter.rb +0 -28
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/helpers.rb +0 -110
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/html_formatter.rb +0 -153
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/html_printer.rb +0 -416
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/html_snippet_extractor.rb +0 -120
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/json_formatter.rb +0 -102
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/profile_formatter.rb +0 -68
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/progress_formatter.rb +0 -29
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/protocol.rb +0 -182
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/snippet_extractor.rb +0 -134
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/syntax_highlighter.rb +0 -91
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters.rb +0 -265
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb +0 -626
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/invocations.rb +0 -85
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/memoized_helpers.rb +0 -535
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/metadata.rb +0 -499
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/metadata_filter.rb +0 -255
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/minitest_assertions_adapter.rb +0 -31
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/mocking_adapters/flexmock.rb +0 -31
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/mocking_adapters/mocha.rb +0 -57
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/mocking_adapters/null.rb +0 -14
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/mocking_adapters/rr.rb +0 -31
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/mocking_adapters/rspec.rb +0 -32
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/notifications.rb +0 -521
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/option_parser.rb +0 -309
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/ordering.rb +0 -158
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/output_wrapper.rb +0 -29
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/pending.rb +0 -165
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/profiler.rb +0 -32
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/project_initializer/spec/spec_helper.rb +0 -100
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/project_initializer.rb +0 -48
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/rake_task.rb +0 -168
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/reporter.rb +0 -260
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/ruby_project.rb +0 -53
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb +0 -193
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/sandbox.rb +0 -37
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/set.rb +0 -54
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/shared_context.rb +0 -55
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/shared_example_group.rb +0 -271
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/shell_escape.rb +0 -49
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/test_unit_assertions_adapter.rb +0 -30
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/version.rb +0 -9
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/warnings.rb +0 -40
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/world.rb +0 -264
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core.rb +0 -185
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/Changelog.md +0 -1083
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/LICENSE.md +0 -25
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/README.md +0 -305
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/block_snippet_extractor.rb +0 -253
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/configuration.rb +0 -201
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/expectation_target.rb +0 -127
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/fail_with.rb +0 -39
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/failure_aggregator.rb +0 -194
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/handler.rb +0 -170
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/minitest_integration.rb +0 -58
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/syntax.rb +0 -132
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/version.rb +0 -8
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations.rb +0 -82
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/aliased_matcher.rb +0 -116
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/all.rb +0 -85
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/base_matcher.rb +0 -193
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/be.rb +0 -288
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/be_between.rb +0 -77
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/be_instance_of.rb +0 -22
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/be_kind_of.rb +0 -16
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/be_within.rb +0 -72
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/change.rb +0 -387
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/compound.rb +0 -272
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/contain_exactly.rb +0 -301
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/cover.rb +0 -24
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/eq.rb +0 -40
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/eql.rb +0 -34
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/equal.rb +0 -81
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/exist.rb +0 -90
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/has.rb +0 -103
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/have_attributes.rb +0 -114
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/include.rb +0 -143
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/match.rb +0 -106
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/operators.rb +0 -128
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/output.rb +0 -200
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/raise_error.rb +0 -230
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/respond_to.rb +0 -165
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/satisfy.rb +0 -60
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/start_or_end_with.rb +0 -94
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/throw_symbol.rb +0 -132
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/yield.rb +0 -432
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in.rb +0 -52
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/composable.rb +0 -169
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/dsl.rb +0 -527
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/english_phrasing.rb +0 -58
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +0 -73
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/fail_matchers.rb +0 -42
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/generated_descriptions.rb +0 -42
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/matcher_delegator.rb +0 -35
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/matcher_protocol.rb +0 -99
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers.rb +0 -1031
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/Changelog.md +0 -1089
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/LICENSE.md +0 -25
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/README.md +0 -460
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/chain.rb +0 -110
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/error_generator.rb +0 -31
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -31
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -50
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/message_chains.rb +0 -83
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/proxy.rb +0 -116
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/recorder.rb +0 -289
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/stub_chain.rb +0 -51
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -23
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance.rb +0 -11
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/argument_list_matcher.rb +0 -100
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/argument_matchers.rb +0 -320
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/configuration.rb +0 -212
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/error_generator.rb +0 -369
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/example_methods.rb +0 -434
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/instance_method_stasher.rb +0 -146
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/marshal_extension.rb +0 -41
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/matchers/expectation_customization.rb +0 -20
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/matchers/have_received.rb +0 -130
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/matchers/receive.rb +0 -132
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -82
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/matchers/receive_messages.rb +0 -77
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/message_chain.rb +0 -87
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/message_expectation.rb +0 -740
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/method_double.rb +0 -287
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/method_reference.rb +0 -202
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/minitest_integration.rb +0 -68
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/mutate_const.rb +0 -339
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/object_reference.rb +0 -149
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/order_group.rb +0 -81
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/proxy.rb +0 -484
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/space.rb +0 -238
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/standalone.rb +0 -3
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/syntax.rb +0 -325
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/targets.rb +0 -124
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/test_double.rb +0 -171
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/verifying_double.rb +0 -129
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/verifying_message_expectation.rb +0 -54
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/verifying_proxy.rb +0 -220
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/version.rb +0 -9
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks.rb +0 -130
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/Changelog.md +0 -229
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/LICENSE.md +0 -23
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/README.md +0 -40
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/caller_filter.rb +0 -83
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/comparable_version.rb +0 -46
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/differ.rb +0 -215
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/directory_maker.rb +0 -63
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/encoded_string.rb +0 -165
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/fuzzy_matcher.rb +0 -48
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/hunk_generator.rb +0 -47
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/matcher_definition.rb +0 -42
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/method_signature_verifier.rb +0 -392
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/mutex.rb +0 -73
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/object_formatter.rb +0 -267
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/recursive_const_methods.rb +0 -76
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/reentrant_mutex.rb +0 -53
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/ruby_features.rb +0 -162
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/source/location.rb +0 -21
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/source/node.rb +0 -107
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/source/token.rb +0 -87
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/source.rb +0 -75
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/spec/deprecation_helpers.rb +0 -64
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/spec/formatting_support.rb +0 -9
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/spec/in_sub_process.rb +0 -69
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/spec/library_wide_checks.rb +0 -150
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/spec/shell_out.rb +0 -84
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/spec/stderr_splitter.rb +0 -63
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/spec/string_matcher.rb +0 -46
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/spec/with_isolated_directory.rb +0 -13
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/spec/with_isolated_stderr.rb +0 -13
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/spec.rb +0 -81
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/version.rb +0 -7
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/warnings.rb +0 -39
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support.rb +0 -149
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/LICENSE.txt +0 -20
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/README.md +0 -128
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/assets/logo.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/assets/output.html.erb +0 -261
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/bin/rubocop +0 -17
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/config/default.yml +0 -1338
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/config/disabled.yml +0 -115
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/config/enabled.yml +0 -1588
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/ast_node/builder.rb +0 -30
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/ast_node/sexp.rb +0 -13
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/ast_node/traversal.rb +0 -171
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/ast_node.rb +0 -624
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cached_data.rb +0 -63
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cli.rb +0 -185
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/comment_config.rb +0 -157
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/config.rb +0 -346
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/config_loader.rb +0 -205
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/config_loader_resolver.rb +0 -43
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/config_store.rb +0 -48
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/autocorrect_logic.rb +0 -26
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/bundler/duplicated_gem.rb +0 -69
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/bundler/ordered_gems.rb +0 -54
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/commissioner.rb +0 -103
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/cop.rb +0 -304
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/corrector.rb +0 -135
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/force.rb +0 -41
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/ignored_node.rb +0 -38
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/ambiguous_operator.rb +0 -50
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/ambiguous_regexp_literal.rb +0 -36
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/assignment_in_condition.rb +0 -66
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/block_alignment.rb +0 -198
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/circular_argument_reference.rb +0 -69
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/condition_position.rb +0 -54
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/debugger.rb +0 -52
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/def_end_alignment.rb +0 -57
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/deprecated_class_methods.rb +0 -80
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/duplicate_case_condition.rb +0 -49
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/duplicate_methods.rb +0 -137
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/duplicated_key.rb +0 -30
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/each_with_object_argument.rb +0 -28
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/else_layout.rb +0 -68
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/empty_ensure.rb +0 -18
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/empty_expression.rb +0 -32
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/empty_interpolation.rb +0 -28
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/empty_when.rb +0 -40
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/end_alignment.rb +0 -137
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/end_in_method.rb +0 -17
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/ensure_return.rb +0 -22
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/eval.rb +0 -18
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/float_out_of_range.rb +0 -30
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/format_parameter_mismatch.rb +0 -155
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/handle_exceptions.rb +0 -18
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/implicit_string_concatenation.rb +0 -90
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/ineffective_access_modifier.rb +0 -134
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/inherit_exception.rb +0 -83
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/invalid_character_literal.rb +0 -38
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/literal_in_condition.rb +0 -129
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/literal_in_interpolation.rb +0 -68
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/loop.rb +0 -27
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/nested_method_definition.rb +0 -60
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/next_without_accumulator.rb +0 -45
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/non_local_exit_from_iterator.rb +0 -77
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb +0 -53
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/percent_string_array.rb +0 -70
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/percent_symbol_array.rb +0 -56
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/rand_one.rb +0 -35
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/require_parentheses.rb +0 -66
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/rescue_exception.rb +0 -25
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/shadowed_exception.rb +0 -131
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/shadowing_outer_local_variable.rb +0 -29
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/string_conversion_in_interpolation.rb +0 -51
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/syntax.rb +0 -55
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb +0 -38
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/unified_integer.rb +0 -37
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/unneeded_disable.rb +0 -207
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/unneeded_splat_expansion.rb +0 -136
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/unreachable_code.rb +0 -32
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/unused_block_argument.rb +0 -143
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/unused_method_argument.rb +0 -51
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/useless_access_modifier.rb +0 -202
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/useless_assignment.rb +0 -113
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/useless_comparison.rb +0 -25
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/useless_else_without_rescue.rb +0 -31
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/useless_setter_call.rb +0 -150
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/void.rb +0 -56
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/abc_size.rb +0 -39
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/block_length.rb +0 -26
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/block_nesting.rb +0 -52
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/class_length.rb +0 -24
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/cyclomatic_complexity.rb +0 -31
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/line_length.rb +0 -168
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/method_length.rb +0 -27
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/module_length.rb +0 -24
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/parameter_lists.rb +0 -44
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/perceived_complexity.rb +0 -62
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/access_modifier_node.rb +0 -41
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/annotation_comment.rb +0 -36
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/array_hash_indentation.rb +0 -82
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/array_syntax.rb +0 -24
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/autocorrect_alignment.rb +0 -149
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/check_assignment.rb +0 -40
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/classish_length.rb +0 -36
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/code_length.rb +0 -32
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/configurable_enforced_style.rb +0 -91
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/configurable_max.rb +0 -19
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/configurable_naming.rb +0 -44
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/configurable_numbering.rb +0 -58
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/def_node.rb +0 -27
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/documentation_comment.rb +0 -40
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/empty_lines_around_body.rb +0 -161
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/end_keyword_alignment.rb +0 -85
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/first_element_line_break.rb +0 -41
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/frozen_string_literal.rb +0 -34
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/hash_node.rb +0 -14
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/if_node.rb +0 -42
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/integer_node.rb +0 -12
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/match_range.rb +0 -22
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/method_complexity.rb +0 -30
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/method_preference.rb +0 -28
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/min_body_length.rb +0 -19
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/multiline_expression_indentation.rb +0 -191
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb +0 -152
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/negative_conditional.rb +0 -29
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/on_method_def.rb +0 -30
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/on_normal_if_unless.rb +0 -37
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/parentheses.rb +0 -22
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/parser_diagnostic.rb +0 -34
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/percent_literal.rb +0 -32
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/preceding_following_alignment.rb +0 -89
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/safe_assignment.rb +0 -20
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/safe_mode.rb +0 -22
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/space_after_punctuation.rb +0 -55
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/space_before_punctuation.rb +0 -48
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/space_inside.rb +0 -76
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/statement_modifier.rb +0 -73
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/string_help.rb +0 -33
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/string_literals_help.rb +0 -33
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/surrounding_space.rb +0 -40
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/too_many_lines.rb +0 -39
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/trailing_comma.rb +0 -162
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/unused_argument.rb +0 -42
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/offense.rb +0 -188
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/case_when_splat.rb +0 -179
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/casecmp.rb +0 -107
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/compare_with_block.rb +0 -61
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/count.rb +0 -98
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/detect.rb +0 -106
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/double_start_end_with.rb +0 -68
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/end_with.rb +0 -54
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/fixed_size.rb +0 -56
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/flat_map.rb +0 -73
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/hash_each_methods.rb +0 -84
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/lstrip_rstrip.rb +0 -41
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/range_include.rb +0 -39
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/redundant_block_call.rb +0 -93
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/redundant_match.rb +0 -54
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/redundant_merge.rb +0 -152
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/redundant_sort_by.rb +0 -45
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/reverse_each.rb +0 -39
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/sample.rb +0 -140
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/size.rb +0 -76
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/start_with.rb +0 -57
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/string_replacement.rb +0 -175
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/times_map.rb +0 -61
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/action_filter.rb +0 -96
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/date.rb +0 -130
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/delegate.rb +0 -106
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/delegate_allow_blank.rb +0 -62
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/dynamic_find_by.rb +0 -77
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/enum_uniqueness.rb +0 -71
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/exit.rb +0 -61
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/find_by.rb +0 -53
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/find_each.rb +0 -59
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/has_and_belongs_to_many.rb +0 -17
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/http_positional_arguments.rb +0 -92
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/not_null_column.rb +0 -44
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/output.rb +0 -25
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/output_safety.rb +0 -58
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/pluralization_grammar.rb +0 -105
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/read_write_attribute.rb +0 -74
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/request_referer.rb +0 -38
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/safe_navigation.rb +0 -88
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/save_bang.rb +0 -155
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/scope_args.rb +0 -29
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/time_zone.rb +0 -195
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/uniq_before_pluck.rb +0 -90
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/validation.rb +0 -67
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/security/json_load.rb +0 -44
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/severity.rb +0 -76
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/access_modifier_indentation.rb +0 -80
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/accessor_method_name.rb +0 -45
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/alias.rb +0 -119
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/align_array.rb +0 -20
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/align_hash.rb +0 -266
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/align_parameters.rb +0 -69
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/and_or.rb +0 -140
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/array_join.rb +0 -30
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/ascii_comments.rb +0 -38
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/ascii_identifiers.rb +0 -36
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/attr.rb +0 -44
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/auto_resource_cleanup.rb +0 -45
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/bare_percent_literals.rb +0 -57
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/begin_block.rb +0 -16
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/block_comments.rb +0 -46
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/block_delimiters.rb +0 -230
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/block_end_newline.rb +0 -56
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/braces_around_hash_parameters.rb +0 -113
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/case_equality.rb +0 -18
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/case_indentation.rb +0 -89
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/character_literal.rb +0 -43
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/class_and_module_camel_case.rb +0 -29
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/class_and_module_children.rb +0 -69
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/class_check.rb +0 -42
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/class_methods.rb +0 -67
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/class_vars.rb +0 -23
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/closing_parenthesis_indentation.rb +0 -87
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/collection_methods.rb +0 -51
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/colon_method_call.rb +0 -40
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/command_literal.rb +0 -119
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/comment_annotation.rb +0 -62
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/comment_indentation.rb +0 -71
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/conditional_assignment.rb +0 -681
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/constant_name.rb +0 -29
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/copyright.rb +0 -89
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/def_with_parentheses.rb +0 -31
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/documentation.rb +0 -79
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/documentation_method.rb +0 -79
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/dot_position.rb +0 -88
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/double_negation.rb +0 -34
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/each_for_simple_loop.rb +0 -57
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/each_with_object.rb +0 -88
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/else_alignment.rb +0 -111
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_case_condition.rb +0 -93
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_else.rb +0 -140
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_line_between_defs.rb +0 -73
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_lines.rb +0 -60
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_lines_around_access_modifier.rb +0 -95
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_lines_around_block_body.rb +0 -41
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_lines_around_class_body.rb +0 -39
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_lines_around_method_body.rb +0 -41
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_lines_around_module_body.rb +0 -44
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_literal.rb +0 -100
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_method.rb +0 -96
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/encoding.rb +0 -92
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/end_block.rb +0 -17
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/end_of_line.rb +0 -30
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/even_odd.rb +0 -56
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/extra_spacing.rb +0 -237
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/file_name.rb +0 -163
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/first_array_element_line_break.rb +0 -41
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/first_hash_element_line_break.rb +0 -33
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/first_method_argument_line_break.rb +0 -49
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/first_method_parameter_line_break.rb +0 -42
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/first_parameter_indentation.rb +0 -111
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/flip_flop.rb +0 -20
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/for.rb +0 -52
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/format_string.rb +0 -76
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/frozen_string_literal_comment.rb +0 -67
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/global_vars.rb +0 -70
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/guard_clause.rb +0 -96
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/hash_syntax.rb +0 -232
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/identical_conditional_branches.rb +0 -92
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/if_inside_else.rb +0 -48
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/if_unless_modifier.rb +0 -89
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/if_unless_modifier_of_if_unless.rb +0 -44
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/if_with_semicolon.rb +0 -20
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/implicit_runtime_error.rb +0 -31
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/indent_array.rb +0 -114
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/indent_assignment.rb +0 -42
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/indent_hash.rb +0 -133
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/indentation_consistency.rb +0 -51
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/indentation_width.rb +0 -302
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/infinite_loop.rb +0 -92
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/initial_indentation.rb +0 -42
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/inline_comment.rb +0 -32
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/lambda.rb +0 -209
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/lambda_call.rb +0 -62
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/leading_comment_space.rb +0 -43
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/line_end_concatenation.rb +0 -115
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/method_call_parentheses.rb +0 -78
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/method_called_on_do_end_block.rb +0 -41
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/method_def_parentheses.rb +0 -83
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/method_missing.rb +0 -81
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/method_name.rb +0 -28
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/missing_else.rb +0 -73
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/module_function.rb +0 -64
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_array_brace_layout.rb +0 -81
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_assignment_layout.rb +0 -88
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_block_chain.rb +0 -42
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_block_layout.rb +0 -134
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_hash_brace_layout.rb +0 -81
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_if_modifier.rb +0 -73
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_if_then.rb +0 -41
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_memoization.rb +0 -44
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_method_call_brace_layout.rb +0 -98
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_method_call_indentation.rb +0 -196
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_method_definition_brace_layout.rb +0 -82
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_operation_indentation.rb +0 -88
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_ternary_operator.rb +0 -23
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/mutable_constant.rb +0 -63
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/negated_if.rb +0 -47
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/negated_while.rb +0 -47
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/nested_modifier.rb +0 -114
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/nested_parenthesized_calls.rb +0 -59
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/nested_ternary_operator.rb +0 -23
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/next.rb +0 -223
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/nil_comparison.rb +0 -35
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/non_nil_check.rb +0 -125
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/not.rb +0 -72
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/numeric_literal_prefix.rb +0 -97
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/numeric_literals.rb +0 -79
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/numeric_predicate.rb +0 -140
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/one_line_conditional.rb +0 -85
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/op_method.rb +0 -41
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/option_hash.rb +0 -69
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/optional_arguments.rb +0 -62
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/parallel_assignment.rb +0 -295
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/parentheses_around_condition.rb +0 -60
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/percent_literal_delimiters.rb +0 -85
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/percent_q_literals.rb +0 -49
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/perl_backrefs.rb +0 -31
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/predicate_name.rb +0 -67
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/preferred_hash_methods.rb +0 -78
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/proc.rb +0 -26
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/raise_args.rb +0 -136
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/redundant_begin.rb +0 -47
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/redundant_exception.rb +0 -55
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/redundant_freeze.rb +0 -46
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/redundant_parentheses.rb +0 -177
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/redundant_return.rb +0 -125
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/redundant_self.rb +0 -163
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/regexp_literal.rb +0 -114
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/rescue_ensure_alignment.rb +0 -86
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/rescue_modifier.rb +0 -49
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/safe_navigation.rb +0 -138
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/self_assignment.rb +0 -93
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/semicolon.rb +0 -70
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/send.rb +0 -22
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/signal_exception.rb +0 -109
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/single_line_block_params.rb +0 -68
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/single_line_methods.rb +0 -77
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_after_colon.rb +0 -42
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_after_comma.rb +0 -21
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_after_method_name.rb +0 -37
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_after_not.rb +0 -39
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_after_semicolon.rb +0 -21
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_around_block_parameters.rb +0 -109
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_around_equals_in_parameter_default.rb +0 -68
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_around_keyword.rb +0 -225
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_around_operators.rb +0 -136
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_before_block_braces.rb +0 -54
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_before_comma.rb +0 -16
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_before_comment.rb +0 -27
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_before_first_arg.rb +0 -59
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_before_semicolon.rb +0 -16
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_in_lambda_literal.rb +0 -87
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_array_percent_literal.rb +0 -53
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_block_braces.rb +0 -158
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_brackets.rb +0 -20
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_hash_literal_braces.rb +0 -150
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_parens.rb +0 -16
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_percent_literal_delimiters.rb +0 -64
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_range_literal.rb +0 -63
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_string_interpolation.rb +0 -65
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/special_global_vars.rb +0 -156
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/stabby_lambda_parentheses.rb +0 -112
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/string_literals.rb +0 -102
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/string_literals_in_interpolation.rb +0 -30
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/string_methods.rb +0 -31
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/struct_inheritance.rb +0 -43
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/symbol_array.rb +0 -106
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/symbol_literal.rb +0 -32
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/symbol_proc.rb +0 -143
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/tab.rb +0 -57
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/ternary_parentheses.rb +0 -172
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/trailing_blank_lines.rb +0 -78
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/trailing_comma_in_arguments.rb +0 -70
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/trailing_comma_in_literal.rb +0 -56
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/trailing_underscore_variable.rb +0 -110
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/trailing_whitespace.rb +0 -28
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/trivial_accessors.rb +0 -176
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/unless_else.rb +0 -43
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/unneeded_capital_w.rb +0 -42
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/unneeded_interpolation.rb +0 -98
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/unneeded_percent_q.rb +0 -96
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/variable_interpolation.rb +0 -44
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/variable_name.rb +0 -39
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/variable_number.rb +0 -78
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/when_then.rb +0 -22
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/while_until_do.rb +0 -40
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/while_until_modifier.rb +0 -40
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/word_array.rb +0 -160
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/zero_length_predicate.rb +0 -83
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/team.rb +0 -189
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/util.rb +0 -276
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/variable_force/assignment.rb +0 -97
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/variable_force/locatable.rb +0 -200
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/variable_force/reference.rb +0 -51
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/variable_force/scope.rb +0 -91
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/variable_force/variable.rb +0 -102
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/variable_force/variable_table.rb +0 -128
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/variable_force.rb +0 -458
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/error.rb +0 -11
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/base_formatter.rb +0 -123
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/clang_style_formatter.rb +0 -54
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/colorizable.rb +0 -41
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/disabled_config_formatter.rb +0 -180
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/disabled_lines_formatter.rb +0 -57
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/emacs_style_formatter.rb +0 -24
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/file_list_formatter.rb +0 -19
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/formatter_set.rb +0 -102
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/fuubar_style_formatter.rb +0 -80
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/html_formatter.rb +0 -133
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/json_formatter.rb +0 -74
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/offense_count_formatter.rb +0 -55
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/progress_formatter.rb +0 -63
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/simple_text_formatter.rb +0 -134
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/text_util.rb +0 -20
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/worst_offenders_formatter.rb +0 -60
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/name_similarity.rb +0 -21
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/node_pattern.rb +0 -542
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/options.rb +0 -320
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/path_util.rb +0 -31
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/processed_source.rb +0 -151
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/rake_task.rb +0 -86
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/remote_config.rb +0 -66
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/result_cache.rb +0 -176
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/rspec/cop_helper.rb +0 -87
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/rspec/host_environment_simulation_helper.rb +0 -32
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/rspec/shared_contexts.rb +0 -78
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/rspec/shared_examples.rb +0 -100
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/rspec/support.rb +0 -8
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/runner.rb +0 -323
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/string_interpreter.rb +0 -57
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/string_util.rb +0 -156
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/target_finder.rb +0 -139
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/token.rb +0 -25
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/version.rb +0 -21
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/warning.rb +0 -11
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop.rb +0 -452
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/LICENSE.txt +0 -19
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/README.md +0 -38
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/Rakefile +0 -2
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/base.rb +0 -183
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/calculators/length.rb +0 -99
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/calculators/running_average.rb +0 -9
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/components/bar.rb +0 -96
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/components/percentage.rb +0 -29
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/components/rate.rb +0 -43
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/components/time.rb +0 -107
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/components/title.rb +0 -13
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/components.rb +0 -5
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/errors/invalid_progress_error.rb +0 -4
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/format/formatter.rb +0 -27
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/format/molecule.rb +0 -59
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/format/string.rb +0 -36
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/format.rb +0 -3
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/output.rb +0 -68
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/outputs/non_tty.rb +0 -47
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/outputs/null.rb +0 -33
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/outputs/tty.rb +0 -32
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/progress.rb +0 -118
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/refinements/enumerator.rb +0 -25
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/refinements.rb +0 -1
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/throttle.rb +0 -25
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/time.rb +0 -30
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/timer.rb +0 -72
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/version.rb +0 -3
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar.rb +0 -18
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/CHANGELOG.md +0 -411
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/CONTRIBUTING.md +0 -48
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/Gemfile +0 -38
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/MIT-LICENSE +0 -20
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/README.md +0 -633
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/Rakefile +0 -41
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/cucumber.yml +0 -13
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/doc/alternate-formatters.md +0 -36
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/doc/commercial-services.md +0 -20
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/doc/editor-integration.md +0 -13
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_autoload.feature +0 -46
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_command_name.feature +0 -45
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_coverage_dir.feature +0 -33
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_deactivate_merging.feature +0 -42
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_formatters.feature +0 -77
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_merge_timeout.feature +0 -39
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_nocov_token.feature +0 -79
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_profiles.feature +0 -44
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_project_name.feature +0 -27
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_styles.feature +0 -121
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_tracked_files.feature +0 -29
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/cucumber_basic.feature +0 -29
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/maximum_coverage_drop.feature +0 -36
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/merging_test_unit_and_rspec.feature +0 -44
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/minimum_coverage.feature +0 -59
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/refuse_coverage_drop.feature +0 -35
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/rspec_basic.feature +0 -32
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/rspec_fails_on_initialization.feature +0 -14
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/rspec_groups_and_filters_basic.feature +0 -29
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/rspec_groups_and_filters_complex.feature +0 -37
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/rspec_groups_using_filter_class.feature +0 -41
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/rspec_without_simplecov.feature +0 -20
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/skipping_code_blocks_manually.feature +0 -70
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/step_definitions/html_steps.rb +0 -44
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/step_definitions/simplecov_steps.rb +0 -68
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/step_definitions/transformers.rb +0 -13
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/step_definitions/web_steps.rb +0 -64
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/support/env.rb +0 -50
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/test_unit_basic.feature +0 -34
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/test_unit_groups_and_filters_basic.feature +0 -29
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/test_unit_groups_and_filters_complex.feature +0 -35
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/test_unit_groups_using_filter_class.feature +0 -40
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/test_unit_without_simplecov.feature +0 -20
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/unicode_compatiblity.feature +0 -67
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/command_guesser.rb +0 -59
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/configuration.rb +0 -296
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/defaults.rb +0 -122
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/exit_codes.rb +0 -8
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/file_list.rb +0 -59
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/filter.rb +0 -54
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/formatter/multi_formatter.rb +0 -32
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/formatter/simple_formatter.rb +0 -23
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/formatter.rb +0 -8
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/jruby_fix.rb +0 -42
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/last_run.rb +0 -22
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/merge_helpers.rb +0 -37
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/no_defaults.rb +0 -2
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/profiles.rb +0 -31
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/railtie.rb +0 -7
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/railties/tasks.rake +0 -11
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/result.rb +0 -87
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/result_merger.rb +0 -88
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/source_file.rb +0 -194
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/version.rb +0 -25
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov.rb +0 -184
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/simplecov.gemspec +0 -27
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/1_8_fallbacks_spec.rb +0 -31
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/command_guesser_spec.rb +0 -48
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/deleted_source_spec.rb +0 -12
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/Gemfile +0 -6
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/Rakefile +0 -8
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/cucumber.yml +0 -13
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/features/step_definitions/my_steps.rb +0 -22
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/features/support/env.rb +0 -12
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/features/test_stuff.feature +0 -6
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/lib/faked_project/framework_specific.rb +0 -18
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/lib/faked_project/meta_magic.rb +0 -24
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/lib/faked_project/some_class.rb +0 -28
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/lib/faked_project/untested_class.rb +0 -11
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/lib/faked_project.rb +0 -11
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/spec/faked_spec.rb +0 -11
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/spec/forking_spec.rb +0 -8
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/spec/meta_magic_spec.rb +0 -15
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/spec/some_class_spec.rb +0 -13
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/spec/spec_helper.rb +0 -11
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/test/faked_test.rb +0 -11
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/test/meta_magic_test.rb +0 -13
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/test/some_class_test.rb +0 -15
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/test/test_helper.rb +0 -12
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/file_list_spec.rb +0 -50
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/filters_spec.rb +0 -98
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/fixtures/app/controllers/sample_controller.rb +0 -10
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/fixtures/app/models/user.rb +0 -10
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/fixtures/deleted_source_sample.rb +0 -15
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/fixtures/frameworks/rspec_bad.rb +0 -9
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/fixtures/frameworks/rspec_good.rb +0 -9
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/fixtures/frameworks/testunit_bad.rb +0 -9
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/fixtures/frameworks/testunit_good.rb +0 -9
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/fixtures/iso-8859.rb +0 -3
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/fixtures/resultset1.rb +0 -4
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/fixtures/resultset2.rb +0 -4
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/fixtures/sample.rb +0 -16
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/fixtures/utf-8.rb +0 -3
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/helper.rb +0 -24
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/merge_helpers_spec.rb +0 -126
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/multi_formatter_spec.rb +0 -20
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/result_spec.rb +0 -209
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/return_codes_spec.rb +0 -34
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/source_file_line_spec.rb +0 -155
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/source_file_spec.rb +0 -77
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/CHANGELOG.md +0 -13
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/Gemfile +0 -34
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/Guardfile +0 -12
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/LICENSE +0 -20
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/README.md +0 -30
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/Rakefile +0 -41
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/assets/javascripts/application.js +0 -127
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/assets/javascripts/libraries/jquery-1.6.2.min.js +0 -18
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/assets/javascripts/plugins/highlight.pack.js +0 -1
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/assets/javascripts/plugins/jquery.colorbox.js +0 -1090
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/assets/javascripts/plugins/jquery.dataTables.min.js +0 -152
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/assets/javascripts/plugins/jquery.timeago.js +0 -141
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/assets/javascripts/plugins/jquery.url.js +0 -174
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/assets/stylesheets/application.css +0 -3
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/assets/stylesheets/plugins/highlight.css +0 -129
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/assets/stylesheets/plugins/jquery-ui-1.8.4.custom.css +0 -295
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/assets/stylesheets/plugins/jquery.colorbox.css +0 -52
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/assets/stylesheets/reset.css +0 -103
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/assets/stylesheets/screen.css.sass +0 -220
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/lib/simplecov-html/version.rb +0 -7
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/lib/simplecov-html.rb +0 -110
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/application.css +0 -799
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/application.js +0 -1707
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/colorbox/border.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/colorbox/controls.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/colorbox/loading.gif +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/colorbox/loading_background.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/favicon_green.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/favicon_red.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/favicon_yellow.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/loading.gif +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/magnify.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/simplecov-html.gemspec +0 -22
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/test/helper.rb +0 -4
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/test/test_simple_cov-html.rb +0 -8
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/views/file_list.erb +0 -45
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/views/layout.erb +0 -41
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/views/source_file.erb +0 -23
- data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.3.0/CHANGELOG.md +0 -96
- data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.3.0/MIT-LICENSE.txt +0 -22
- data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.3.0/README.md +0 -120
- data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.3.0/Rakefile +0 -64
- data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.3.0/data/display_width.marshal.gz +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.3.0/lib/unicode/display_width/constants.rb +0 -8
- data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.3.0/lib/unicode/display_width/index.rb +0 -7
- data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.3.0/lib/unicode/display_width/no_string_ext.rb +0 -7
- data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.3.0/lib/unicode/display_width/string_ext.rb +0 -17
- data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.3.0/lib/unicode/display_width.rb +0 -51
- data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.3.0/spec/display_width_spec.rb +0 -156
- data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.3.0/unicode-display_width.gemspec +0 -18
- data/vendor/bundle/ruby/2.3.0/specifications/ast-2.3.0.gemspec +0 -59
- data/vendor/bundle/ruby/2.3.0/specifications/codeclimate-test-reporter-1.0.8.gemspec +0 -50
- data/vendor/bundle/ruby/2.3.0/specifications/diff-lcs-1.3.gemspec +0 -61
- data/vendor/bundle/ruby/2.3.0/specifications/docile-1.1.5.gemspec +0 -48
- data/vendor/bundle/ruby/2.3.0/specifications/json-2.1.0.gemspec +0 -0
- data/vendor/bundle/ruby/2.3.0/specifications/parser-2.4.0.2.gemspec +0 -61
- data/vendor/bundle/ruby/2.3.0/specifications/powerpack-0.1.1.gemspec +0 -41
- data/vendor/bundle/ruby/2.3.0/specifications/rainbow-2.2.2.gemspec +0 -39
- data/vendor/bundle/ruby/2.3.0/specifications/rake-12.3.0.gemspec +0 -49
- data/vendor/bundle/ruby/2.3.0/specifications/rspec-3.7.0.gemspec +0 -42
- data/vendor/bundle/ruby/2.3.0/specifications/rspec-core-3.7.0.gemspec +0 -62
- data/vendor/bundle/ruby/2.3.0/specifications/rspec-expectations-3.7.0.gemspec +0 -50
- data/vendor/bundle/ruby/2.3.0/specifications/rspec-mocks-3.7.0.gemspec +0 -50
- data/vendor/bundle/ruby/2.3.0/specifications/rspec-support-3.7.0.gemspec +0 -41
- data/vendor/bundle/ruby/2.3.0/specifications/rubocop-0.46.0.gemspec +0 -51
- data/vendor/bundle/ruby/2.3.0/specifications/ruby-progressbar-1.9.0.gemspec +0 -46
- data/vendor/bundle/ruby/2.3.0/specifications/simplecov-0.13.0.gemspec +0 -42
- data/vendor/bundle/ruby/2.3.0/specifications/simplecov-html-0.10.2.gemspec +0 -33
- data/vendor/bundle/ruby/2.3.0/specifications/unicode-display_width-1.3.0.gemspec +0 -38
@@ -1,2179 +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
|
-
RSpec::Support.require_rspec_core "output_wrapper"
|
5
|
-
|
6
|
-
module RSpec
|
7
|
-
module Core
|
8
|
-
# rubocop:disable Metrics/ClassLength
|
9
|
-
|
10
|
-
# Stores runtime configuration information.
|
11
|
-
#
|
12
|
-
# Configuration options are loaded from `~/.rspec`, `.rspec`,
|
13
|
-
# `.rspec-local`, command line switches, and the `SPEC_OPTS` environment
|
14
|
-
# variable (listed in lowest to highest precedence; for example, an option
|
15
|
-
# in `~/.rspec` can be overridden by an option in `.rspec-local`).
|
16
|
-
#
|
17
|
-
# @example Standard settings
|
18
|
-
# RSpec.configure do |c|
|
19
|
-
# c.drb = true
|
20
|
-
# c.drb_port = 1234
|
21
|
-
# c.default_path = 'behavior'
|
22
|
-
# end
|
23
|
-
#
|
24
|
-
# @example Hooks
|
25
|
-
# RSpec.configure do |c|
|
26
|
-
# c.before(:suite) { establish_connection }
|
27
|
-
# c.before(:example) { log_in_as :authorized }
|
28
|
-
# c.around(:example) { |ex| Database.transaction(&ex) }
|
29
|
-
# end
|
30
|
-
#
|
31
|
-
# @see RSpec.configure
|
32
|
-
# @see Hooks
|
33
|
-
class Configuration
|
34
|
-
include RSpec::Core::Hooks
|
35
|
-
|
36
|
-
# Module that holds `attr_reader` declarations. It's in a separate
|
37
|
-
# module to allow us to override those methods and use `super`.
|
38
|
-
# @private
|
39
|
-
Readers = Module.new
|
40
|
-
include Readers
|
41
|
-
|
42
|
-
# @private
|
43
|
-
class MustBeConfiguredBeforeExampleGroupsError < StandardError; end
|
44
|
-
|
45
|
-
# @private
|
46
|
-
def self.define_reader(name)
|
47
|
-
Readers.class_eval do
|
48
|
-
remove_method name if method_defined?(name)
|
49
|
-
attr_reader name
|
50
|
-
end
|
51
|
-
|
52
|
-
define_method(name) { value_for(name) { super() } }
|
53
|
-
end
|
54
|
-
|
55
|
-
# @private
|
56
|
-
def self.define_aliases(name, alias_name)
|
57
|
-
alias_method alias_name, name
|
58
|
-
alias_method "#{alias_name}=", "#{name}="
|
59
|
-
define_predicate_for alias_name
|
60
|
-
end
|
61
|
-
|
62
|
-
# @private
|
63
|
-
def self.define_predicate_for(*names)
|
64
|
-
names.each { |name| alias_method "#{name}?", name }
|
65
|
-
end
|
66
|
-
|
67
|
-
# @private
|
68
|
-
#
|
69
|
-
# Invoked by the `add_setting` instance method. Use that method on a
|
70
|
-
# `Configuration` instance rather than this class method.
|
71
|
-
def self.add_setting(name, opts={})
|
72
|
-
raise "Use the instance add_setting method if you want to set a default" if opts.key?(:default)
|
73
|
-
attr_writer name
|
74
|
-
add_read_only_setting name
|
75
|
-
|
76
|
-
Array(opts[:alias_with]).each do |alias_name|
|
77
|
-
define_aliases(name, alias_name)
|
78
|
-
end
|
79
|
-
end
|
80
|
-
|
81
|
-
# @private
|
82
|
-
#
|
83
|
-
# As `add_setting` but only add the reader.
|
84
|
-
def self.add_read_only_setting(name, opts={})
|
85
|
-
raise "Use the instance add_setting method if you want to set a default" if opts.key?(:default)
|
86
|
-
define_reader name
|
87
|
-
define_predicate_for name
|
88
|
-
end
|
89
|
-
|
90
|
-
# @macro [attach] add_setting
|
91
|
-
# @!attribute [rw] $1
|
92
|
-
# @!method $1=(value)
|
93
|
-
#
|
94
|
-
# @macro [attach] define_reader
|
95
|
-
# @!attribute [r] $1
|
96
|
-
|
97
|
-
# @macro add_setting
|
98
|
-
# Path to use if no path is provided to the `rspec` command (default:
|
99
|
-
# `"spec"`). Allows you to just type `rspec` instead of `rspec spec` to
|
100
|
-
# run all the examples in the `spec` directory.
|
101
|
-
#
|
102
|
-
# @note Other scripts invoking `rspec` indirectly will ignore this
|
103
|
-
# setting.
|
104
|
-
add_read_only_setting :default_path
|
105
|
-
def default_path=(path)
|
106
|
-
project_source_dirs << path
|
107
|
-
@default_path = path
|
108
|
-
end
|
109
|
-
|
110
|
-
# @macro add_setting
|
111
|
-
# Run examples over DRb (default: `false`). RSpec doesn't supply the DRb
|
112
|
-
# server, but you can use tools like spork.
|
113
|
-
add_setting :drb
|
114
|
-
|
115
|
-
# @macro add_setting
|
116
|
-
# The drb_port (default: nil).
|
117
|
-
add_setting :drb_port
|
118
|
-
|
119
|
-
# @macro add_setting
|
120
|
-
# Default: `$stderr`.
|
121
|
-
add_setting :error_stream
|
122
|
-
|
123
|
-
# Indicates if the DSL has been exposed off of modules and `main`.
|
124
|
-
# Default: true
|
125
|
-
def expose_dsl_globally?
|
126
|
-
Core::DSL.exposed_globally?
|
127
|
-
end
|
128
|
-
|
129
|
-
# Use this to expose the core RSpec DSL via `Module` and the `main`
|
130
|
-
# object. It will be set automatically but you can override it to
|
131
|
-
# remove the DSL.
|
132
|
-
# Default: true
|
133
|
-
def expose_dsl_globally=(value)
|
134
|
-
if value
|
135
|
-
Core::DSL.expose_globally!
|
136
|
-
Core::SharedExampleGroup::TopLevelDSL.expose_globally!
|
137
|
-
else
|
138
|
-
Core::DSL.remove_globally!
|
139
|
-
Core::SharedExampleGroup::TopLevelDSL.remove_globally!
|
140
|
-
end
|
141
|
-
end
|
142
|
-
|
143
|
-
# Determines where deprecation warnings are printed.
|
144
|
-
# Defaults to `$stderr`.
|
145
|
-
# @return [IO, String] IO or filename to write to
|
146
|
-
define_reader :deprecation_stream
|
147
|
-
|
148
|
-
# Determines where deprecation warnings are printed.
|
149
|
-
# @param value [IO, String] IO to write to or filename to write to
|
150
|
-
def deprecation_stream=(value)
|
151
|
-
if @reporter && !value.equal?(@deprecation_stream)
|
152
|
-
warn "RSpec's reporter has already been initialized with " \
|
153
|
-
"#{deprecation_stream.inspect} as the deprecation stream, so your change to "\
|
154
|
-
"`deprecation_stream` will be ignored. You should configure it earlier for " \
|
155
|
-
"it to take effect, or use the `--deprecation-out` CLI option. " \
|
156
|
-
"(Called from #{CallerFilter.first_non_rspec_line})"
|
157
|
-
else
|
158
|
-
@deprecation_stream = value
|
159
|
-
end
|
160
|
-
end
|
161
|
-
|
162
|
-
# @macro define_reader
|
163
|
-
# The file path to use for persisting example statuses. Necessary for the
|
164
|
-
# `--only-failures` and `--next-failure` CLI options.
|
165
|
-
#
|
166
|
-
# @overload example_status_persistence_file_path
|
167
|
-
# @return [String] the file path
|
168
|
-
# @overload example_status_persistence_file_path=(value)
|
169
|
-
# @param value [String] the file path
|
170
|
-
define_reader :example_status_persistence_file_path
|
171
|
-
|
172
|
-
# Sets the file path to use for persisting example statuses. Necessary for the
|
173
|
-
# `--only-failures` and `--next-failure` CLI options.
|
174
|
-
def example_status_persistence_file_path=(value)
|
175
|
-
@example_status_persistence_file_path = value
|
176
|
-
clear_values_derived_from_example_status_persistence_file_path
|
177
|
-
end
|
178
|
-
|
179
|
-
# @macro define_reader
|
180
|
-
# Indicates if the `--only-failures` (or `--next-failure`) flag is being used.
|
181
|
-
define_reader :only_failures
|
182
|
-
alias_method :only_failures?, :only_failures
|
183
|
-
|
184
|
-
# @private
|
185
|
-
def only_failures_but_not_configured?
|
186
|
-
only_failures? && !example_status_persistence_file_path
|
187
|
-
end
|
188
|
-
|
189
|
-
# @macro add_setting
|
190
|
-
# If specified, indicates the number of failures required before cleaning
|
191
|
-
# up and exit (default: `nil`).
|
192
|
-
add_setting :fail_fast
|
193
|
-
|
194
|
-
# @macro add_setting
|
195
|
-
# Prints the formatter output of your suite without running any
|
196
|
-
# examples or hooks.
|
197
|
-
add_setting :dry_run
|
198
|
-
|
199
|
-
# @macro add_setting
|
200
|
-
# The exit code to return if there are any failures (default: 1).
|
201
|
-
add_setting :failure_exit_code
|
202
|
-
|
203
|
-
# @macro add_setting
|
204
|
-
# Whether or not to fail when there are no RSpec examples (default: false).
|
205
|
-
add_setting :fail_if_no_examples
|
206
|
-
|
207
|
-
# @macro define_reader
|
208
|
-
# Indicates files configured to be required.
|
209
|
-
define_reader :requires
|
210
|
-
|
211
|
-
# @macro define_reader
|
212
|
-
# Returns dirs that have been prepended to the load path by the `-I`
|
213
|
-
# command line option.
|
214
|
-
define_reader :libs
|
215
|
-
|
216
|
-
# @macro add_setting
|
217
|
-
# Determines where RSpec will send its output.
|
218
|
-
# Default: `$stdout`.
|
219
|
-
define_reader :output_stream
|
220
|
-
|
221
|
-
# Set the output stream for reporter.
|
222
|
-
# @attr value [IO, String] IO to write to or filename to write to, defaults to $stdout
|
223
|
-
def output_stream=(value)
|
224
|
-
if @reporter && !value.equal?(@output_stream)
|
225
|
-
warn "RSpec's reporter has already been initialized with " \
|
226
|
-
"#{output_stream.inspect} as the output stream, so your change to "\
|
227
|
-
"`output_stream` will be ignored. You should configure it earlier for " \
|
228
|
-
"it to take effect. (Called from #{CallerFilter.first_non_rspec_line})"
|
229
|
-
else
|
230
|
-
@output_stream = value
|
231
|
-
output_wrapper.output = @output_stream
|
232
|
-
end
|
233
|
-
end
|
234
|
-
|
235
|
-
# @macro define_reader
|
236
|
-
# Load files matching this pattern (default: `'**{,/*/**}/*_spec.rb'`).
|
237
|
-
define_reader :pattern
|
238
|
-
|
239
|
-
# Set pattern to match files to load.
|
240
|
-
# @attr value [String] the filename pattern to filter spec files by
|
241
|
-
def pattern=(value)
|
242
|
-
update_pattern_attr :pattern, value
|
243
|
-
end
|
244
|
-
|
245
|
-
# @macro define_reader
|
246
|
-
# Exclude files matching this pattern.
|
247
|
-
define_reader :exclude_pattern
|
248
|
-
|
249
|
-
# Set pattern to match files to exclude.
|
250
|
-
# @attr value [String] the filename pattern to exclude spec files by
|
251
|
-
def exclude_pattern=(value)
|
252
|
-
update_pattern_attr :exclude_pattern, value
|
253
|
-
end
|
254
|
-
|
255
|
-
# @macro add_setting
|
256
|
-
# Specifies which directories contain the source code for your project.
|
257
|
-
# When a failure occurs, RSpec looks through the backtrace to find a
|
258
|
-
# a line of source to print. It first looks for a line coming from
|
259
|
-
# one of the project source directories so that, for example, it prints
|
260
|
-
# the expectation or assertion call rather than the source code from
|
261
|
-
# the expectation or assertion framework.
|
262
|
-
# @return [Array<String>]
|
263
|
-
add_setting :project_source_dirs
|
264
|
-
|
265
|
-
# @macro add_setting
|
266
|
-
# Report the times for the slowest examples (default: `false`).
|
267
|
-
# Use this to specify the number of examples to include in the profile.
|
268
|
-
add_setting :profile_examples
|
269
|
-
|
270
|
-
# @macro add_setting
|
271
|
-
# Run all examples if none match the configured filters
|
272
|
-
# (default: `false`).
|
273
|
-
# @deprecated Use {#filter_run_when_matching} instead for the specific
|
274
|
-
# filters that you want to be ignored if none match.
|
275
|
-
add_setting :run_all_when_everything_filtered
|
276
|
-
|
277
|
-
# @macro add_setting
|
278
|
-
# Color to use to indicate success.
|
279
|
-
# @param color [Symbol] defaults to `:green` but can be set to one of the
|
280
|
-
# following: `[:black, :white, :red, :green, :yellow, :blue, :magenta,
|
281
|
-
# :cyan]`
|
282
|
-
add_setting :success_color
|
283
|
-
|
284
|
-
# @macro add_setting
|
285
|
-
# Color to use to print pending examples.
|
286
|
-
# @param color [Symbol] defaults to `:yellow` but can be set to one of the
|
287
|
-
# following: `[:black, :white, :red, :green, :yellow, :blue, :magenta,
|
288
|
-
# :cyan]`
|
289
|
-
add_setting :pending_color
|
290
|
-
|
291
|
-
# @macro add_setting
|
292
|
-
# Color to use to indicate failure.
|
293
|
-
# @param color [Symbol] defaults to `:red` but can be set to one of the
|
294
|
-
# following: `[:black, :white, :red, :green, :yellow, :blue, :magenta,
|
295
|
-
# :cyan]`
|
296
|
-
add_setting :failure_color
|
297
|
-
|
298
|
-
# @macro add_setting
|
299
|
-
# The default output color.
|
300
|
-
# @param color [Symbol] defaults to `:white` but can be set to one of the
|
301
|
-
# following: `[:black, :white, :red, :green, :yellow, :blue, :magenta,
|
302
|
-
# :cyan]`
|
303
|
-
add_setting :default_color
|
304
|
-
|
305
|
-
# @macro add_setting
|
306
|
-
# Color used when a pending example is fixed.
|
307
|
-
# @param color [Symbol] defaults to `:blue` but can be set to one of the
|
308
|
-
# following: `[:black, :white, :red, :green, :yellow, :blue, :magenta,
|
309
|
-
# :cyan]`
|
310
|
-
add_setting :fixed_color
|
311
|
-
|
312
|
-
# @macro add_setting
|
313
|
-
# Color used to print details.
|
314
|
-
# @param color [Symbol] defaults to `:cyan` but can be set to one of the
|
315
|
-
# following: `[:black, :white, :red, :green, :yellow, :blue, :magenta,
|
316
|
-
# :cyan]`
|
317
|
-
add_setting :detail_color
|
318
|
-
|
319
|
-
# @macro add_setting
|
320
|
-
# Don't print filter info i.e. "Run options: include {:focus=>true}"
|
321
|
-
# (default `false`).
|
322
|
-
add_setting :silence_filter_announcements
|
323
|
-
|
324
|
-
# Deprecated. This config option was added in RSpec 2 to pave the way
|
325
|
-
# for this being the default behavior in RSpec 3. Now this option is
|
326
|
-
# a no-op.
|
327
|
-
def treat_symbols_as_metadata_keys_with_true_values=(_value)
|
328
|
-
RSpec.deprecate(
|
329
|
-
"RSpec::Core::Configuration#treat_symbols_as_metadata_keys_with_true_values=",
|
330
|
-
:message => "RSpec::Core::Configuration#treat_symbols_as_metadata_keys_with_true_values= " \
|
331
|
-
"is deprecated, it is now set to true as default and " \
|
332
|
-
"setting it to false has no effect."
|
333
|
-
)
|
334
|
-
end
|
335
|
-
|
336
|
-
# @macro define_reader
|
337
|
-
# Configures how RSpec treats metadata passed as part of a shared example
|
338
|
-
# group definition. For example, given this shared example group definition:
|
339
|
-
#
|
340
|
-
# RSpec.shared_context "uses DB", :db => true do
|
341
|
-
# around(:example) do |ex|
|
342
|
-
# MyORM.transaction(:rollback => true, &ex)
|
343
|
-
# end
|
344
|
-
# end
|
345
|
-
#
|
346
|
-
# ...there are two ways RSpec can treat the `:db => true` metadata, each
|
347
|
-
# of which has a corresponding config option:
|
348
|
-
#
|
349
|
-
# 1. `:trigger_inclusion`: this shared context will be implicitly included
|
350
|
-
# in any groups (or examples) that have `:db => true` metadata.
|
351
|
-
# 2. `:apply_to_host_groups`: the metadata will be inherited by the metadata
|
352
|
-
# hash of all host groups and examples.
|
353
|
-
#
|
354
|
-
# `:trigger_inclusion` is the legacy behavior from before RSpec 3.5 but should
|
355
|
-
# be considered deprecated. Instead, you can explicitly include a group with
|
356
|
-
# `include_context`:
|
357
|
-
#
|
358
|
-
# RSpec.describe "My model" do
|
359
|
-
# include_context "uses DB"
|
360
|
-
# end
|
361
|
-
#
|
362
|
-
# ...or you can configure RSpec to include the context based on matching metadata
|
363
|
-
# using an API that mirrors configured module inclusion:
|
364
|
-
#
|
365
|
-
# RSpec.configure do |rspec|
|
366
|
-
# rspec.include_context "uses DB", :db => true
|
367
|
-
# end
|
368
|
-
#
|
369
|
-
# `:apply_to_host_groups` is a new feature of RSpec 3.5 and will be the only
|
370
|
-
# supported behavior in RSpec 4.
|
371
|
-
#
|
372
|
-
# @overload shared_context_metadata_behavior
|
373
|
-
# @return [:trigger_inclusion, :apply_to_host_groups] the configured behavior
|
374
|
-
# @overload shared_context_metadata_behavior=(value)
|
375
|
-
# @param value [:trigger_inclusion, :apply_to_host_groups] sets the configured behavior
|
376
|
-
define_reader :shared_context_metadata_behavior
|
377
|
-
# @see shared_context_metadata_behavior
|
378
|
-
def shared_context_metadata_behavior=(value)
|
379
|
-
case value
|
380
|
-
when :trigger_inclusion, :apply_to_host_groups
|
381
|
-
@shared_context_metadata_behavior = value
|
382
|
-
else
|
383
|
-
raise ArgumentError, "Cannot set `RSpec.configuration." \
|
384
|
-
"shared_context_metadata_behavior` to `#{value.inspect}`. Only " \
|
385
|
-
"`:trigger_inclusion` and `:apply_to_host_groups` are valid values."
|
386
|
-
end
|
387
|
-
end
|
388
|
-
|
389
|
-
# Record the start time of the spec suite to measure load time.
|
390
|
-
add_setting :start_time
|
391
|
-
|
392
|
-
# @macro add_setting
|
393
|
-
# Use threadsafe options where available.
|
394
|
-
# Currently this will place a mutex around memoized values such as let blocks.
|
395
|
-
add_setting :threadsafe
|
396
|
-
|
397
|
-
# @macro add_setting
|
398
|
-
# Maximum count of failed source lines to display in the failure reports.
|
399
|
-
# (default `10`).
|
400
|
-
add_setting :max_displayed_failure_line_count
|
401
|
-
|
402
|
-
# @private
|
403
|
-
# @deprecated Use {#color_mode} = :on, instead of {#color} with {#tty}
|
404
|
-
add_setting :tty
|
405
|
-
# @private
|
406
|
-
attr_writer :files_to_run
|
407
|
-
# @private
|
408
|
-
attr_accessor :filter_manager, :world
|
409
|
-
# @private
|
410
|
-
attr_accessor :static_config_filter_manager
|
411
|
-
# @private
|
412
|
-
attr_reader :backtrace_formatter, :ordering_manager, :loaded_spec_files
|
413
|
-
|
414
|
-
# rubocop:disable Metrics/AbcSize
|
415
|
-
# rubocop:disable Metrics/MethodLength
|
416
|
-
|
417
|
-
# Build an object to store runtime configuration options and set defaults
|
418
|
-
def initialize
|
419
|
-
# rubocop:disable Style/GlobalVars
|
420
|
-
@start_time = $_rspec_core_load_started_at || ::RSpec::Core::Time.now
|
421
|
-
# rubocop:enable Style/GlobalVars
|
422
|
-
@expectation_frameworks = []
|
423
|
-
@include_modules = FilterableItemRepository::QueryOptimized.new(:any?)
|
424
|
-
@extend_modules = FilterableItemRepository::QueryOptimized.new(:any?)
|
425
|
-
@prepend_modules = FilterableItemRepository::QueryOptimized.new(:any?)
|
426
|
-
|
427
|
-
@before_suite_hooks = []
|
428
|
-
@after_suite_hooks = []
|
429
|
-
|
430
|
-
@mock_framework = nil
|
431
|
-
@files_or_directories_to_run = []
|
432
|
-
@loaded_spec_files = Set.new
|
433
|
-
@color = false
|
434
|
-
@color_mode = :automatic
|
435
|
-
@pattern = '**{,/*/**}/*_spec.rb'
|
436
|
-
@exclude_pattern = ''
|
437
|
-
@failure_exit_code = 1
|
438
|
-
@fail_if_no_examples = false
|
439
|
-
@spec_files_loaded = false
|
440
|
-
|
441
|
-
@backtrace_formatter = BacktraceFormatter.new
|
442
|
-
|
443
|
-
@default_path = 'spec'
|
444
|
-
@project_source_dirs = %w[ spec lib app ]
|
445
|
-
@deprecation_stream = $stderr
|
446
|
-
@output_stream = $stdout
|
447
|
-
@reporter = nil
|
448
|
-
@reporter_buffer = nil
|
449
|
-
@filter_manager = FilterManager.new
|
450
|
-
@static_config_filter_manager = FilterManager.new
|
451
|
-
@ordering_manager = Ordering::ConfigurationManager.new
|
452
|
-
@preferred_options = {}
|
453
|
-
@failure_color = :red
|
454
|
-
@success_color = :green
|
455
|
-
@pending_color = :yellow
|
456
|
-
@default_color = :white
|
457
|
-
@fixed_color = :blue
|
458
|
-
@detail_color = :cyan
|
459
|
-
@profile_examples = false
|
460
|
-
@requires = []
|
461
|
-
@libs = []
|
462
|
-
@derived_metadata_blocks = FilterableItemRepository::QueryOptimized.new(:any?)
|
463
|
-
@threadsafe = true
|
464
|
-
@max_displayed_failure_line_count = 10
|
465
|
-
@world = World::Null
|
466
|
-
@shared_context_metadata_behavior = :trigger_inclusion
|
467
|
-
|
468
|
-
define_built_in_hooks
|
469
|
-
end
|
470
|
-
# rubocop:enable Metrics/MethodLength
|
471
|
-
# rubocop:enable Metrics/AbcSize
|
472
|
-
|
473
|
-
# @private
|
474
|
-
#
|
475
|
-
# Used to set higher priority option values from the command line.
|
476
|
-
def force(hash)
|
477
|
-
ordering_manager.force(hash)
|
478
|
-
@preferred_options.merge!(hash)
|
479
|
-
|
480
|
-
return unless hash.key?(:example_status_persistence_file_path)
|
481
|
-
clear_values_derived_from_example_status_persistence_file_path
|
482
|
-
end
|
483
|
-
|
484
|
-
# @private
|
485
|
-
def reset
|
486
|
-
@spec_files_loaded = false
|
487
|
-
reset_reporter
|
488
|
-
end
|
489
|
-
|
490
|
-
# @private
|
491
|
-
def reset_reporter
|
492
|
-
@reporter = nil
|
493
|
-
@formatter_loader = nil
|
494
|
-
@output_wrapper = nil
|
495
|
-
end
|
496
|
-
|
497
|
-
# @private
|
498
|
-
def reset_filters
|
499
|
-
self.filter_manager = FilterManager.new
|
500
|
-
filter_manager.include_only(
|
501
|
-
Metadata.deep_hash_dup(static_config_filter_manager.inclusions.rules)
|
502
|
-
)
|
503
|
-
filter_manager.exclude_only(
|
504
|
-
Metadata.deep_hash_dup(static_config_filter_manager.exclusions.rules)
|
505
|
-
)
|
506
|
-
end
|
507
|
-
|
508
|
-
# @overload add_setting(name)
|
509
|
-
# @overload add_setting(name, opts)
|
510
|
-
# @option opts [Symbol] :default
|
511
|
-
#
|
512
|
-
# Set a default value for the generated getter and predicate methods:
|
513
|
-
#
|
514
|
-
# add_setting(:foo, :default => "default value")
|
515
|
-
#
|
516
|
-
# @option opts [Symbol] :alias_with
|
517
|
-
#
|
518
|
-
# Use `:alias_with` to alias the setter, getter, and predicate to
|
519
|
-
# another name, or names:
|
520
|
-
#
|
521
|
-
# add_setting(:foo, :alias_with => :bar)
|
522
|
-
# add_setting(:foo, :alias_with => [:bar, :baz])
|
523
|
-
#
|
524
|
-
# Adds a custom setting to the RSpec.configuration object.
|
525
|
-
#
|
526
|
-
# RSpec.configuration.add_setting :foo
|
527
|
-
#
|
528
|
-
# Used internally and by extension frameworks like rspec-rails, so they
|
529
|
-
# can add config settings that are domain specific. For example:
|
530
|
-
#
|
531
|
-
# RSpec.configure do |c|
|
532
|
-
# c.add_setting :use_transactional_fixtures,
|
533
|
-
# :default => true,
|
534
|
-
# :alias_with => :use_transactional_examples
|
535
|
-
# end
|
536
|
-
#
|
537
|
-
# `add_setting` creates three methods on the configuration object, a
|
538
|
-
# setter, a getter, and a predicate:
|
539
|
-
#
|
540
|
-
# RSpec.configuration.foo=(value)
|
541
|
-
# RSpec.configuration.foo
|
542
|
-
# RSpec.configuration.foo? # Returns true if foo returns anything but nil or false.
|
543
|
-
def add_setting(name, opts={})
|
544
|
-
default = opts.delete(:default)
|
545
|
-
(class << self; self; end).class_exec do
|
546
|
-
add_setting(name, opts)
|
547
|
-
end
|
548
|
-
__send__("#{name}=", default) if default
|
549
|
-
end
|
550
|
-
|
551
|
-
# Returns the configured mock framework adapter module.
|
552
|
-
def mock_framework
|
553
|
-
if @mock_framework.nil?
|
554
|
-
begin
|
555
|
-
mock_with :rspec
|
556
|
-
rescue LoadError
|
557
|
-
mock_with :nothing
|
558
|
-
end
|
559
|
-
end
|
560
|
-
@mock_framework
|
561
|
-
end
|
562
|
-
|
563
|
-
# Delegates to mock_framework=(framework).
|
564
|
-
def mock_framework=(framework)
|
565
|
-
mock_with framework
|
566
|
-
end
|
567
|
-
|
568
|
-
# Regexps used to exclude lines from backtraces.
|
569
|
-
#
|
570
|
-
# Excludes lines from ruby (and jruby) source, installed gems, anything
|
571
|
-
# in any "bin" directory, and any of the RSpec libs (outside gem
|
572
|
-
# installs) by default.
|
573
|
-
#
|
574
|
-
# You can modify the list via the getter, or replace it with the setter.
|
575
|
-
#
|
576
|
-
# To override this behaviour and display a full backtrace, use
|
577
|
-
# `--backtrace` on the command line, in a `.rspec` file, or in the
|
578
|
-
# `rspec_options` attribute of RSpec's rake task.
|
579
|
-
def backtrace_exclusion_patterns
|
580
|
-
@backtrace_formatter.exclusion_patterns
|
581
|
-
end
|
582
|
-
|
583
|
-
# Set regular expressions used to exclude lines in backtrace.
|
584
|
-
# @param patterns [Regexp] set the backtrace exlusion pattern
|
585
|
-
def backtrace_exclusion_patterns=(patterns)
|
586
|
-
@backtrace_formatter.exclusion_patterns = patterns
|
587
|
-
end
|
588
|
-
|
589
|
-
# Regexps used to include lines in backtraces.
|
590
|
-
#
|
591
|
-
# Defaults to [Regexp.new Dir.getwd].
|
592
|
-
#
|
593
|
-
# Lines that match an exclusion _and_ an inclusion pattern
|
594
|
-
# will be included.
|
595
|
-
#
|
596
|
-
# You can modify the list via the getter, or replace it with the setter.
|
597
|
-
def backtrace_inclusion_patterns
|
598
|
-
@backtrace_formatter.inclusion_patterns
|
599
|
-
end
|
600
|
-
|
601
|
-
# Set regular expressions used to include lines in backtrace.
|
602
|
-
# @attr patterns [Regexp] set backtrace_formatter inclusion_patterns
|
603
|
-
def backtrace_inclusion_patterns=(patterns)
|
604
|
-
@backtrace_formatter.inclusion_patterns = patterns
|
605
|
-
end
|
606
|
-
|
607
|
-
# Adds {#backtrace_exclusion_patterns} that will filter lines from
|
608
|
-
# the named gems from backtraces.
|
609
|
-
#
|
610
|
-
# @param gem_names [Array<String>] Names of the gems to filter
|
611
|
-
#
|
612
|
-
# @example
|
613
|
-
# RSpec.configure do |config|
|
614
|
-
# config.filter_gems_from_backtrace "rack", "rake"
|
615
|
-
# end
|
616
|
-
#
|
617
|
-
# @note The patterns this adds will match the named gems in their common
|
618
|
-
# locations (e.g. system gems, vendored with bundler, installed as a
|
619
|
-
# :git dependency with bundler, etc) but is not guaranteed to work for
|
620
|
-
# all possible gem locations. For example, if you have the gem source
|
621
|
-
# in a directory with a completely unrelated name, and use bundler's
|
622
|
-
# :path option, this will not filter it.
|
623
|
-
def filter_gems_from_backtrace(*gem_names)
|
624
|
-
gem_names.each do |name|
|
625
|
-
@backtrace_formatter.filter_gem(name)
|
626
|
-
end
|
627
|
-
end
|
628
|
-
|
629
|
-
# @private
|
630
|
-
MOCKING_ADAPTERS = {
|
631
|
-
:rspec => :RSpec,
|
632
|
-
:flexmock => :Flexmock,
|
633
|
-
:rr => :RR,
|
634
|
-
:mocha => :Mocha,
|
635
|
-
:nothing => :Null
|
636
|
-
}
|
637
|
-
|
638
|
-
# Sets the mock framework adapter module.
|
639
|
-
#
|
640
|
-
# `framework` can be a Symbol or a Module.
|
641
|
-
#
|
642
|
-
# Given any of `:rspec`, `:mocha`, `:flexmock`, or `:rr`, configures the
|
643
|
-
# named framework.
|
644
|
-
#
|
645
|
-
# Given `:nothing`, configures no framework. Use this if you don't use
|
646
|
-
# any mocking framework to save a little bit of overhead.
|
647
|
-
#
|
648
|
-
# Given a Module, includes that module in every example group. The module
|
649
|
-
# should adhere to RSpec's mock framework adapter API:
|
650
|
-
#
|
651
|
-
# setup_mocks_for_rspec
|
652
|
-
# - called before each example
|
653
|
-
#
|
654
|
-
# verify_mocks_for_rspec
|
655
|
-
# - called after each example if the example hasn't yet failed.
|
656
|
-
# Framework should raise an exception when expectations fail
|
657
|
-
#
|
658
|
-
# teardown_mocks_for_rspec
|
659
|
-
# - called after verify_mocks_for_rspec (even if there are errors)
|
660
|
-
#
|
661
|
-
# If the module responds to `configuration` and `mock_with` receives a
|
662
|
-
# block, it will yield the configuration object to the block e.g.
|
663
|
-
#
|
664
|
-
# config.mock_with OtherMockFrameworkAdapter do |mod_config|
|
665
|
-
# mod_config.custom_setting = true
|
666
|
-
# end
|
667
|
-
def mock_with(framework)
|
668
|
-
framework_module =
|
669
|
-
if framework.is_a?(Module)
|
670
|
-
framework
|
671
|
-
else
|
672
|
-
const_name = MOCKING_ADAPTERS.fetch(framework) do
|
673
|
-
raise ArgumentError,
|
674
|
-
"Unknown mocking framework: #{framework.inspect}. " \
|
675
|
-
"Pass a module or one of #{MOCKING_ADAPTERS.keys.inspect}"
|
676
|
-
end
|
677
|
-
|
678
|
-
RSpec::Support.require_rspec_core "mocking_adapters/#{const_name.to_s.downcase}"
|
679
|
-
RSpec::Core::MockingAdapters.const_get(const_name)
|
680
|
-
end
|
681
|
-
|
682
|
-
new_name, old_name = [framework_module, @mock_framework].map do |mod|
|
683
|
-
mod.respond_to?(:framework_name) ? mod.framework_name : :unnamed
|
684
|
-
end
|
685
|
-
|
686
|
-
unless new_name == old_name
|
687
|
-
assert_no_example_groups_defined(:mock_framework)
|
688
|
-
end
|
689
|
-
|
690
|
-
if block_given?
|
691
|
-
raise "#{framework_module} must respond to `configuration` so that " \
|
692
|
-
"mock_with can yield it." unless framework_module.respond_to?(:configuration)
|
693
|
-
yield framework_module.configuration
|
694
|
-
end
|
695
|
-
|
696
|
-
@mock_framework = framework_module
|
697
|
-
end
|
698
|
-
|
699
|
-
# Returns the configured expectation framework adapter module(s)
|
700
|
-
def expectation_frameworks
|
701
|
-
if @expectation_frameworks.empty?
|
702
|
-
begin
|
703
|
-
expect_with :rspec
|
704
|
-
rescue LoadError
|
705
|
-
expect_with Module.new
|
706
|
-
end
|
707
|
-
end
|
708
|
-
@expectation_frameworks
|
709
|
-
end
|
710
|
-
|
711
|
-
# Delegates to expect_with(framework).
|
712
|
-
def expectation_framework=(framework)
|
713
|
-
expect_with(framework)
|
714
|
-
end
|
715
|
-
|
716
|
-
# Sets the expectation framework module(s) to be included in each example
|
717
|
-
# group.
|
718
|
-
#
|
719
|
-
# `frameworks` can be `:rspec`, `:test_unit`, `:minitest`, a custom
|
720
|
-
# module, or any combination thereof:
|
721
|
-
#
|
722
|
-
# config.expect_with :rspec
|
723
|
-
# config.expect_with :test_unit
|
724
|
-
# config.expect_with :minitest
|
725
|
-
# config.expect_with :rspec, :minitest
|
726
|
-
# config.expect_with OtherExpectationFramework
|
727
|
-
#
|
728
|
-
# RSpec will translate `:rspec`, `:minitest`, and `:test_unit` into the
|
729
|
-
# appropriate modules.
|
730
|
-
#
|
731
|
-
# ## Configuration
|
732
|
-
#
|
733
|
-
# If the module responds to `configuration`, `expect_with` will
|
734
|
-
# yield the `configuration` object if given a block:
|
735
|
-
#
|
736
|
-
# config.expect_with OtherExpectationFramework do |custom_config|
|
737
|
-
# custom_config.custom_setting = true
|
738
|
-
# end
|
739
|
-
def expect_with(*frameworks)
|
740
|
-
modules = frameworks.map do |framework|
|
741
|
-
case framework
|
742
|
-
when Module
|
743
|
-
framework
|
744
|
-
when :rspec
|
745
|
-
require 'rspec/expectations'
|
746
|
-
|
747
|
-
# Tag this exception class so our exception formatting logic knows
|
748
|
-
# that it satisfies the `MultipleExceptionError` interface.
|
749
|
-
::RSpec::Expectations::MultipleExpectationsNotMetError.__send__(
|
750
|
-
:include, MultipleExceptionError::InterfaceTag
|
751
|
-
)
|
752
|
-
|
753
|
-
::RSpec::Matchers
|
754
|
-
when :test_unit
|
755
|
-
require 'rspec/core/test_unit_assertions_adapter'
|
756
|
-
::RSpec::Core::TestUnitAssertionsAdapter
|
757
|
-
when :minitest
|
758
|
-
require 'rspec/core/minitest_assertions_adapter'
|
759
|
-
::RSpec::Core::MinitestAssertionsAdapter
|
760
|
-
else
|
761
|
-
raise ArgumentError, "#{framework.inspect} is not supported"
|
762
|
-
end
|
763
|
-
end
|
764
|
-
|
765
|
-
if (modules - @expectation_frameworks).any?
|
766
|
-
assert_no_example_groups_defined(:expect_with)
|
767
|
-
end
|
768
|
-
|
769
|
-
if block_given?
|
770
|
-
raise "expect_with only accepts a block with a single argument. " \
|
771
|
-
"Call expect_with #{modules.length} times, " \
|
772
|
-
"once with each argument, instead." if modules.length > 1
|
773
|
-
raise "#{modules.first} must respond to `configuration` so that " \
|
774
|
-
"expect_with can yield it." unless modules.first.respond_to?(:configuration)
|
775
|
-
yield modules.first.configuration
|
776
|
-
end
|
777
|
-
|
778
|
-
@expectation_frameworks.push(*modules)
|
779
|
-
end
|
780
|
-
|
781
|
-
# Check if full backtrace is enabled.
|
782
|
-
# @return [Boolean] is full backtrace enabled
|
783
|
-
def full_backtrace?
|
784
|
-
@backtrace_formatter.full_backtrace?
|
785
|
-
end
|
786
|
-
|
787
|
-
# Toggle full backtrace.
|
788
|
-
# @attr true_or_false [Boolean] toggle full backtrace display
|
789
|
-
def full_backtrace=(true_or_false)
|
790
|
-
@backtrace_formatter.full_backtrace = true_or_false
|
791
|
-
end
|
792
|
-
|
793
|
-
# Enables color output if the output is a TTY. As of RSpec 3.6, this is
|
794
|
-
# the default behavior and this option is retained only for backwards
|
795
|
-
# compatibility.
|
796
|
-
#
|
797
|
-
# @deprecated No longer recommended because of complex behavior. Instead,
|
798
|
-
# rely on the fact that TTYs will display color by default, or set
|
799
|
-
# {#color_mode} to :on to display color on a non-TTY output.
|
800
|
-
# @see color_mode
|
801
|
-
# @see color_enabled?
|
802
|
-
# @return [Boolean]
|
803
|
-
def color
|
804
|
-
value_for(:color) { @color }
|
805
|
-
end
|
806
|
-
|
807
|
-
# The mode for determining whether to display output in color. One of:
|
808
|
-
#
|
809
|
-
# - :automatic - the output will be in color if the output is a TTY (the
|
810
|
-
# default)
|
811
|
-
# - :on - the output will be in color, whether or not the output is a TTY
|
812
|
-
# - :off - the output will not be in color
|
813
|
-
#
|
814
|
-
# @see color_enabled?
|
815
|
-
# @return [Boolean]
|
816
|
-
def color_mode
|
817
|
-
value_for(:color_mode) { @color_mode }
|
818
|
-
end
|
819
|
-
|
820
|
-
# Check if color is enabled for a particular output.
|
821
|
-
# @param output [IO] an output stream to use, defaults to the current
|
822
|
-
# `output_stream`
|
823
|
-
# @return [Boolean]
|
824
|
-
def color_enabled?(output=output_stream)
|
825
|
-
case color_mode
|
826
|
-
when :on then true
|
827
|
-
when :off then false
|
828
|
-
else # automatic
|
829
|
-
output_to_tty?(output) || (color && tty?)
|
830
|
-
end
|
831
|
-
end
|
832
|
-
|
833
|
-
# Set the color mode.
|
834
|
-
attr_writer :color_mode
|
835
|
-
|
836
|
-
# Toggle output color.
|
837
|
-
#
|
838
|
-
# @deprecated No longer recommended because of complex behavior. Instead,
|
839
|
-
# rely on the fact that TTYs will display color by default, or set
|
840
|
-
# {:color_mode} to :on to display color on a non-TTY output.
|
841
|
-
attr_writer :color
|
842
|
-
|
843
|
-
# @private
|
844
|
-
def libs=(libs)
|
845
|
-
libs.map do |lib|
|
846
|
-
@libs.unshift lib
|
847
|
-
$LOAD_PATH.unshift lib
|
848
|
-
end
|
849
|
-
end
|
850
|
-
|
851
|
-
# Run examples matching on `description` in all files to run.
|
852
|
-
# @param description [String, Regexp] the pattern to filter on
|
853
|
-
def full_description=(description)
|
854
|
-
filter_run :full_description => Regexp.union(*Array(description).map { |d| Regexp.new(d) })
|
855
|
-
end
|
856
|
-
|
857
|
-
# @return [Array] full description filter
|
858
|
-
def full_description
|
859
|
-
filter.fetch :full_description, nil
|
860
|
-
end
|
861
|
-
|
862
|
-
# @overload add_formatter(formatter)
|
863
|
-
# @overload add_formatter(formatter, output)
|
864
|
-
#
|
865
|
-
# @param formatter [Class, String] formatter to use. Can be any of the
|
866
|
-
# string values supported from the CLI (`p`/`progress`,
|
867
|
-
# `d`/`doc`/`documentation`, `h`/`html`, or `j`/`json`) or any
|
868
|
-
# class that implements the formatter protocol and has registered
|
869
|
-
# itself with RSpec as a formatter.
|
870
|
-
# @param output [String, IO] where the formatter will write its output.
|
871
|
-
# Can be an IO object or a string path to a file. If not provided,
|
872
|
-
# the configured `output_stream` (`$stdout`, by default) will be used.
|
873
|
-
#
|
874
|
-
# Adds a formatter to the set RSpec will use for this run.
|
875
|
-
#
|
876
|
-
# @see RSpec::Core::Formatters::Protocol
|
877
|
-
def add_formatter(formatter, output=output_wrapper)
|
878
|
-
formatter_loader.add(formatter, output)
|
879
|
-
end
|
880
|
-
alias_method :formatter=, :add_formatter
|
881
|
-
|
882
|
-
# The formatter that will be used if no formatter has been set.
|
883
|
-
# Defaults to 'progress'.
|
884
|
-
def default_formatter
|
885
|
-
formatter_loader.default_formatter
|
886
|
-
end
|
887
|
-
|
888
|
-
# Sets a fallback formatter to use if none other has been set.
|
889
|
-
#
|
890
|
-
# @example
|
891
|
-
#
|
892
|
-
# RSpec.configure do |rspec|
|
893
|
-
# rspec.default_formatter = 'doc'
|
894
|
-
# end
|
895
|
-
def default_formatter=(value)
|
896
|
-
formatter_loader.default_formatter = value
|
897
|
-
end
|
898
|
-
|
899
|
-
# Returns a duplicate of the formatters currently loaded in
|
900
|
-
# the `FormatterLoader` for introspection.
|
901
|
-
#
|
902
|
-
# Note as this is a duplicate, any mutations will be disregarded.
|
903
|
-
#
|
904
|
-
# @return [Array] the formatters currently loaded
|
905
|
-
def formatters
|
906
|
-
formatter_loader.formatters.dup
|
907
|
-
end
|
908
|
-
|
909
|
-
# @private
|
910
|
-
def formatter_loader
|
911
|
-
@formatter_loader ||= Formatters::Loader.new(Reporter.new(self))
|
912
|
-
end
|
913
|
-
|
914
|
-
# @private
|
915
|
-
#
|
916
|
-
# This buffer is used to capture all messages sent to the reporter during
|
917
|
-
# reporter initialization. It can then replay those messages after the
|
918
|
-
# formatter is correctly initialized. Otherwise, deprecation warnings
|
919
|
-
# during formatter initialization can cause an infinite loop.
|
920
|
-
class DeprecationReporterBuffer
|
921
|
-
def initialize
|
922
|
-
@calls = []
|
923
|
-
end
|
924
|
-
|
925
|
-
def deprecation(*args)
|
926
|
-
@calls << args
|
927
|
-
end
|
928
|
-
|
929
|
-
def play_onto(reporter)
|
930
|
-
@calls.each do |args|
|
931
|
-
reporter.deprecation(*args)
|
932
|
-
end
|
933
|
-
end
|
934
|
-
end
|
935
|
-
|
936
|
-
# @return [RSpec::Core::Reporter] the currently configured reporter
|
937
|
-
def reporter
|
938
|
-
# @reporter_buffer should only ever be set in this method to cover
|
939
|
-
# initialization of @reporter.
|
940
|
-
@reporter_buffer || @reporter ||=
|
941
|
-
begin
|
942
|
-
@reporter_buffer = DeprecationReporterBuffer.new
|
943
|
-
formatter_loader.prepare_default output_wrapper, deprecation_stream
|
944
|
-
@reporter_buffer.play_onto(formatter_loader.reporter)
|
945
|
-
@reporter_buffer = nil
|
946
|
-
formatter_loader.reporter
|
947
|
-
end
|
948
|
-
end
|
949
|
-
|
950
|
-
# @api private
|
951
|
-
#
|
952
|
-
# Defaults `profile_examples` to 10 examples when `@profile_examples` is
|
953
|
-
# `true`.
|
954
|
-
def profile_examples
|
955
|
-
profile = value_for(:profile_examples) { @profile_examples }
|
956
|
-
if profile && !profile.is_a?(Integer)
|
957
|
-
10
|
958
|
-
else
|
959
|
-
profile
|
960
|
-
end
|
961
|
-
end
|
962
|
-
|
963
|
-
# @private
|
964
|
-
def files_or_directories_to_run=(*files)
|
965
|
-
files = files.flatten
|
966
|
-
|
967
|
-
if (command == 'rspec' || Runner.running_in_drb?) && default_path && files.empty?
|
968
|
-
files << default_path
|
969
|
-
end
|
970
|
-
|
971
|
-
@files_or_directories_to_run = files
|
972
|
-
@files_to_run = nil
|
973
|
-
end
|
974
|
-
|
975
|
-
# The spec files RSpec will run.
|
976
|
-
# @return [Array] specified files about to run
|
977
|
-
def files_to_run
|
978
|
-
@files_to_run ||= get_files_to_run(@files_or_directories_to_run)
|
979
|
-
end
|
980
|
-
|
981
|
-
# @private
|
982
|
-
def last_run_statuses
|
983
|
-
@last_run_statuses ||= Hash.new(UNKNOWN_STATUS).tap do |statuses|
|
984
|
-
if (path = example_status_persistence_file_path)
|
985
|
-
begin
|
986
|
-
ExampleStatusPersister.load_from(path).inject(statuses) do |hash, example|
|
987
|
-
status = example[:status]
|
988
|
-
status = UNKNOWN_STATUS unless VALID_STATUSES.include?(status)
|
989
|
-
hash[example.fetch(:example_id)] = status
|
990
|
-
hash
|
991
|
-
end
|
992
|
-
rescue SystemCallError => e
|
993
|
-
RSpec.warning "Could not read from #{path.inspect} (configured as " \
|
994
|
-
"`config.example_status_persistence_file_path`) due " \
|
995
|
-
"to a system error: #{e.inspect}. Please check that " \
|
996
|
-
"the config option is set to an accessible, valid " \
|
997
|
-
"file path", :call_site => nil
|
998
|
-
end
|
999
|
-
end
|
1000
|
-
end
|
1001
|
-
end
|
1002
|
-
|
1003
|
-
# @private
|
1004
|
-
UNKNOWN_STATUS = "unknown".freeze
|
1005
|
-
|
1006
|
-
# @private
|
1007
|
-
FAILED_STATUS = "failed".freeze
|
1008
|
-
|
1009
|
-
# @private
|
1010
|
-
PASSED_STATUS = "passed".freeze
|
1011
|
-
|
1012
|
-
# @private
|
1013
|
-
PENDING_STATUS = "pending".freeze
|
1014
|
-
|
1015
|
-
# @private
|
1016
|
-
VALID_STATUSES = [UNKNOWN_STATUS, FAILED_STATUS, PASSED_STATUS, PENDING_STATUS]
|
1017
|
-
|
1018
|
-
# @private
|
1019
|
-
def spec_files_with_failures
|
1020
|
-
@spec_files_with_failures ||= last_run_statuses.inject(Set.new) do |files, (id, status)|
|
1021
|
-
files << Example.parse_id(id).first if status == FAILED_STATUS
|
1022
|
-
files
|
1023
|
-
end.to_a
|
1024
|
-
end
|
1025
|
-
|
1026
|
-
# Creates a method that delegates to `example` including the submitted
|
1027
|
-
# `args`. Used internally to add variants of `example` like `pending`:
|
1028
|
-
# @param name [String] example name alias
|
1029
|
-
# @param args [Array<Symbol>, Hash] metadata for the generated example
|
1030
|
-
#
|
1031
|
-
# @note The specific example alias below (`pending`) is already
|
1032
|
-
# defined for you.
|
1033
|
-
# @note Use with caution. This extends the language used in your
|
1034
|
-
# specs, but does not add any additional documentation. We use this
|
1035
|
-
# in RSpec to define methods like `focus` and `xit`, but we also add
|
1036
|
-
# docs for those methods.
|
1037
|
-
#
|
1038
|
-
# @example
|
1039
|
-
# RSpec.configure do |config|
|
1040
|
-
# config.alias_example_to :pending, :pending => true
|
1041
|
-
# end
|
1042
|
-
#
|
1043
|
-
# # This lets you do this:
|
1044
|
-
#
|
1045
|
-
# describe Thing do
|
1046
|
-
# pending "does something" do
|
1047
|
-
# thing = Thing.new
|
1048
|
-
# end
|
1049
|
-
# end
|
1050
|
-
#
|
1051
|
-
# # ... which is the equivalent of
|
1052
|
-
#
|
1053
|
-
# describe Thing do
|
1054
|
-
# it "does something", :pending => true do
|
1055
|
-
# thing = Thing.new
|
1056
|
-
# end
|
1057
|
-
# end
|
1058
|
-
def alias_example_to(name, *args)
|
1059
|
-
extra_options = Metadata.build_hash_from(args)
|
1060
|
-
RSpec::Core::ExampleGroup.define_example_method(name, extra_options)
|
1061
|
-
end
|
1062
|
-
|
1063
|
-
# Creates a method that defines an example group with the provided
|
1064
|
-
# metadata. Can be used to define example group/metadata shortcuts.
|
1065
|
-
#
|
1066
|
-
# @example
|
1067
|
-
# RSpec.configure do |config|
|
1068
|
-
# config.alias_example_group_to :describe_model, :type => :model
|
1069
|
-
# end
|
1070
|
-
#
|
1071
|
-
# shared_context_for "model tests", :type => :model do
|
1072
|
-
# # define common model test helper methods, `let` declarations, etc
|
1073
|
-
# end
|
1074
|
-
#
|
1075
|
-
# # This lets you do this:
|
1076
|
-
#
|
1077
|
-
# RSpec.describe_model User do
|
1078
|
-
# end
|
1079
|
-
#
|
1080
|
-
# # ... which is the equivalent of
|
1081
|
-
#
|
1082
|
-
# RSpec.describe User, :type => :model do
|
1083
|
-
# end
|
1084
|
-
#
|
1085
|
-
# @note The defined aliased will also be added to the top level
|
1086
|
-
# (e.g. `main` and from within modules) if
|
1087
|
-
# `expose_dsl_globally` is set to true.
|
1088
|
-
# @see #alias_example_to
|
1089
|
-
# @see #expose_dsl_globally=
|
1090
|
-
def alias_example_group_to(new_name, *args)
|
1091
|
-
extra_options = Metadata.build_hash_from(args)
|
1092
|
-
RSpec::Core::ExampleGroup.define_example_group_method(new_name, extra_options)
|
1093
|
-
end
|
1094
|
-
|
1095
|
-
# Define an alias for it_should_behave_like that allows different
|
1096
|
-
# language (like "it_has_behavior" or "it_behaves_like") to be
|
1097
|
-
# employed when including shared examples.
|
1098
|
-
#
|
1099
|
-
# @example
|
1100
|
-
# RSpec.configure do |config|
|
1101
|
-
# config.alias_it_behaves_like_to(:it_has_behavior, 'has behavior:')
|
1102
|
-
# end
|
1103
|
-
#
|
1104
|
-
# # allows the user to include a shared example group like:
|
1105
|
-
#
|
1106
|
-
# describe Entity do
|
1107
|
-
# it_has_behavior 'sortability' do
|
1108
|
-
# let(:sortable) { Entity.new }
|
1109
|
-
# end
|
1110
|
-
# end
|
1111
|
-
#
|
1112
|
-
# # which is reported in the output as:
|
1113
|
-
# # Entity
|
1114
|
-
# # has behavior: sortability
|
1115
|
-
# # ...sortability examples here
|
1116
|
-
#
|
1117
|
-
# @note Use with caution. This extends the language used in your
|
1118
|
-
# specs, but does not add any additional documentation. We use this
|
1119
|
-
# in RSpec to define `it_should_behave_like` (for backward
|
1120
|
-
# compatibility), but we also add docs for that method.
|
1121
|
-
def alias_it_behaves_like_to(new_name, report_label='')
|
1122
|
-
RSpec::Core::ExampleGroup.define_nested_shared_group_method(new_name, report_label)
|
1123
|
-
end
|
1124
|
-
alias_method :alias_it_should_behave_like_to, :alias_it_behaves_like_to
|
1125
|
-
|
1126
|
-
# Adds key/value pairs to the `inclusion_filter`. If `args`
|
1127
|
-
# includes any symbols that are not part of the hash, each symbol
|
1128
|
-
# is treated as a key in the hash with the value `true`.
|
1129
|
-
#
|
1130
|
-
# ### Note
|
1131
|
-
#
|
1132
|
-
# Filters set using this method can be overridden from the command line
|
1133
|
-
# or config files (e.g. `.rspec`).
|
1134
|
-
#
|
1135
|
-
# @example
|
1136
|
-
# # Given this declaration.
|
1137
|
-
# describe "something", :foo => 'bar' do
|
1138
|
-
# # ...
|
1139
|
-
# end
|
1140
|
-
#
|
1141
|
-
# # Any of the following will include that group.
|
1142
|
-
# config.filter_run_including :foo => 'bar'
|
1143
|
-
# config.filter_run_including :foo => /^ba/
|
1144
|
-
# config.filter_run_including :foo => lambda {|v| v == 'bar'}
|
1145
|
-
# config.filter_run_including :foo => lambda {|v,m| m[:foo] == 'bar'}
|
1146
|
-
#
|
1147
|
-
# # Given a proc with an arity of 1, the lambda is passed the value
|
1148
|
-
# # related to the key, e.g.
|
1149
|
-
# config.filter_run_including :foo => lambda {|v| v == 'bar'}
|
1150
|
-
#
|
1151
|
-
# # Given a proc with an arity of 2, the lambda is passed the value
|
1152
|
-
# # related to the key, and the metadata itself e.g.
|
1153
|
-
# config.filter_run_including :foo => lambda {|v,m| m[:foo] == 'bar'}
|
1154
|
-
#
|
1155
|
-
# filter_run_including :foo # same as filter_run_including :foo => true
|
1156
|
-
def filter_run_including(*args)
|
1157
|
-
meta = Metadata.build_hash_from(args, :warn_about_example_group_filtering)
|
1158
|
-
filter_manager.include_with_low_priority meta
|
1159
|
-
static_config_filter_manager.include_with_low_priority Metadata.deep_hash_dup(meta)
|
1160
|
-
end
|
1161
|
-
alias_method :filter_run, :filter_run_including
|
1162
|
-
|
1163
|
-
# Applies the provided filter only if any of examples match, in constrast
|
1164
|
-
# to {#filter_run}, which always applies even if no examples match, in
|
1165
|
-
# which case no examples will be run. This allows you to leave configured
|
1166
|
-
# filters in place that are intended only for temporary use. The most common
|
1167
|
-
# example is focus filtering: `config.filter_run_when_matching :focus`.
|
1168
|
-
# With that configured, you can temporarily focus an example or group
|
1169
|
-
# by tagging it with `:focus` metadata, or prefixing it with an `f`
|
1170
|
-
# (as in `fdescribe`, `fcontext` and `fit`) since those are aliases for
|
1171
|
-
# `describe`/`context`/`it` with `:focus` metadata.
|
1172
|
-
def filter_run_when_matching(*args)
|
1173
|
-
when_first_matching_example_defined(*args) do
|
1174
|
-
filter_run(*args)
|
1175
|
-
end
|
1176
|
-
end
|
1177
|
-
|
1178
|
-
# Clears and reassigns the `inclusion_filter`. Set to `nil` if you don't
|
1179
|
-
# want any inclusion filter at all.
|
1180
|
-
#
|
1181
|
-
# ### Warning
|
1182
|
-
#
|
1183
|
-
# This overrides any inclusion filters/tags set on the command line or in
|
1184
|
-
# configuration files.
|
1185
|
-
def inclusion_filter=(filter)
|
1186
|
-
meta = Metadata.build_hash_from([filter], :warn_about_example_group_filtering)
|
1187
|
-
filter_manager.include_only meta
|
1188
|
-
end
|
1189
|
-
|
1190
|
-
alias_method :filter=, :inclusion_filter=
|
1191
|
-
|
1192
|
-
# Returns the `inclusion_filter`. If none has been set, returns an empty
|
1193
|
-
# hash.
|
1194
|
-
def inclusion_filter
|
1195
|
-
filter_manager.inclusions
|
1196
|
-
end
|
1197
|
-
|
1198
|
-
alias_method :filter, :inclusion_filter
|
1199
|
-
|
1200
|
-
# Adds key/value pairs to the `exclusion_filter`. If `args`
|
1201
|
-
# includes any symbols that are not part of the hash, each symbol
|
1202
|
-
# is treated as a key in the hash with the value `true`.
|
1203
|
-
#
|
1204
|
-
# ### Note
|
1205
|
-
#
|
1206
|
-
# Filters set using this method can be overridden from the command line
|
1207
|
-
# or config files (e.g. `.rspec`).
|
1208
|
-
#
|
1209
|
-
# @example
|
1210
|
-
# # Given this declaration.
|
1211
|
-
# describe "something", :foo => 'bar' do
|
1212
|
-
# # ...
|
1213
|
-
# end
|
1214
|
-
#
|
1215
|
-
# # Any of the following will exclude that group.
|
1216
|
-
# config.filter_run_excluding :foo => 'bar'
|
1217
|
-
# config.filter_run_excluding :foo => /^ba/
|
1218
|
-
# config.filter_run_excluding :foo => lambda {|v| v == 'bar'}
|
1219
|
-
# config.filter_run_excluding :foo => lambda {|v,m| m[:foo] == 'bar'}
|
1220
|
-
#
|
1221
|
-
# # Given a proc with an arity of 1, the lambda is passed the value
|
1222
|
-
# # related to the key, e.g.
|
1223
|
-
# config.filter_run_excluding :foo => lambda {|v| v == 'bar'}
|
1224
|
-
#
|
1225
|
-
# # Given a proc with an arity of 2, the lambda is passed the value
|
1226
|
-
# # related to the key, and the metadata itself e.g.
|
1227
|
-
# config.filter_run_excluding :foo => lambda {|v,m| m[:foo] == 'bar'}
|
1228
|
-
#
|
1229
|
-
# filter_run_excluding :foo # same as filter_run_excluding :foo => true
|
1230
|
-
def filter_run_excluding(*args)
|
1231
|
-
meta = Metadata.build_hash_from(args, :warn_about_example_group_filtering)
|
1232
|
-
filter_manager.exclude_with_low_priority meta
|
1233
|
-
static_config_filter_manager.exclude_with_low_priority Metadata.deep_hash_dup(meta)
|
1234
|
-
end
|
1235
|
-
|
1236
|
-
# Clears and reassigns the `exclusion_filter`. Set to `nil` if you don't
|
1237
|
-
# want any exclusion filter at all.
|
1238
|
-
#
|
1239
|
-
# ### Warning
|
1240
|
-
#
|
1241
|
-
# This overrides any exclusion filters/tags set on the command line or in
|
1242
|
-
# configuration files.
|
1243
|
-
def exclusion_filter=(filter)
|
1244
|
-
meta = Metadata.build_hash_from([filter], :warn_about_example_group_filtering)
|
1245
|
-
filter_manager.exclude_only meta
|
1246
|
-
end
|
1247
|
-
|
1248
|
-
# Returns the `exclusion_filter`. If none has been set, returns an empty
|
1249
|
-
# hash.
|
1250
|
-
def exclusion_filter
|
1251
|
-
filter_manager.exclusions
|
1252
|
-
end
|
1253
|
-
|
1254
|
-
# Tells RSpec to include `mod` in example groups. Methods defined in
|
1255
|
-
# `mod` are exposed to examples (not example groups). Use `filters` to
|
1256
|
-
# constrain the groups or examples in which to include the module.
|
1257
|
-
#
|
1258
|
-
# @example
|
1259
|
-
#
|
1260
|
-
# module AuthenticationHelpers
|
1261
|
-
# def login_as(user)
|
1262
|
-
# # ...
|
1263
|
-
# end
|
1264
|
-
# end
|
1265
|
-
#
|
1266
|
-
# module UserHelpers
|
1267
|
-
# def users(username)
|
1268
|
-
# # ...
|
1269
|
-
# end
|
1270
|
-
# end
|
1271
|
-
#
|
1272
|
-
# RSpec.configure do |config|
|
1273
|
-
# config.include(UserHelpers) # included in all groups
|
1274
|
-
# config.include(AuthenticationHelpers, :type => :request)
|
1275
|
-
# end
|
1276
|
-
#
|
1277
|
-
# describe "edit profile", :type => :request do
|
1278
|
-
# it "can be viewed by owning user" do
|
1279
|
-
# login_as users(:jdoe)
|
1280
|
-
# get "/profiles/jdoe"
|
1281
|
-
# assert_select ".username", :text => 'jdoe'
|
1282
|
-
# end
|
1283
|
-
# end
|
1284
|
-
#
|
1285
|
-
# @note Filtered module inclusions can also be applied to
|
1286
|
-
# individual examples that have matching metadata. Just like
|
1287
|
-
# Ruby's object model is that every object has a singleton class
|
1288
|
-
# which has only a single instance, RSpec's model is that every
|
1289
|
-
# example has a singleton example group containing just the one
|
1290
|
-
# example.
|
1291
|
-
#
|
1292
|
-
# @see #include_context
|
1293
|
-
# @see #extend
|
1294
|
-
# @see #prepend
|
1295
|
-
def include(mod, *filters)
|
1296
|
-
define_mixed_in_module(mod, filters, @include_modules, :include) do |group|
|
1297
|
-
safe_include(mod, group)
|
1298
|
-
end
|
1299
|
-
end
|
1300
|
-
|
1301
|
-
# Tells RSpec to include the named shared example group in example groups.
|
1302
|
-
# Use `filters` to constrain the groups or examples in which to include
|
1303
|
-
# the example group.
|
1304
|
-
#
|
1305
|
-
# @example
|
1306
|
-
#
|
1307
|
-
# RSpec.shared_context "example users" do
|
1308
|
-
# let(:admin_user) { create_user(:admin) }
|
1309
|
-
# let(:guest_user) { create_user(:guest) }
|
1310
|
-
# end
|
1311
|
-
#
|
1312
|
-
# RSpec.configure do |config|
|
1313
|
-
# config.include_context "example users", :type => :request
|
1314
|
-
# end
|
1315
|
-
#
|
1316
|
-
# RSpec.describe "The admin page", :type => :request do
|
1317
|
-
# it "can be viewed by admins" do
|
1318
|
-
# login_with admin_user
|
1319
|
-
# get "/admin"
|
1320
|
-
# expect(response).to be_ok
|
1321
|
-
# end
|
1322
|
-
#
|
1323
|
-
# it "cannot be viewed by guests" do
|
1324
|
-
# login_with guest_user
|
1325
|
-
# get "/admin"
|
1326
|
-
# expect(response).to be_forbidden
|
1327
|
-
# end
|
1328
|
-
# end
|
1329
|
-
#
|
1330
|
-
# @note Filtered context inclusions can also be applied to
|
1331
|
-
# individual examples that have matching metadata. Just like
|
1332
|
-
# Ruby's object model is that every object has a singleton class
|
1333
|
-
# which has only a single instance, RSpec's model is that every
|
1334
|
-
# example has a singleton example group containing just the one
|
1335
|
-
# example.
|
1336
|
-
#
|
1337
|
-
# @see #include
|
1338
|
-
def include_context(shared_group_name, *filters)
|
1339
|
-
shared_module = world.shared_example_group_registry.find([:main], shared_group_name)
|
1340
|
-
include shared_module, *filters
|
1341
|
-
end
|
1342
|
-
|
1343
|
-
# Tells RSpec to extend example groups with `mod`. Methods defined in
|
1344
|
-
# `mod` are exposed to example groups (not examples). Use `filters` to
|
1345
|
-
# constrain the groups to extend.
|
1346
|
-
#
|
1347
|
-
# Similar to `include`, but behavior is added to example groups, which
|
1348
|
-
# are classes, rather than the examples, which are instances of those
|
1349
|
-
# classes.
|
1350
|
-
#
|
1351
|
-
# @example
|
1352
|
-
#
|
1353
|
-
# module UiHelpers
|
1354
|
-
# def run_in_browser
|
1355
|
-
# # ...
|
1356
|
-
# end
|
1357
|
-
# end
|
1358
|
-
#
|
1359
|
-
# RSpec.configure do |config|
|
1360
|
-
# config.extend(UiHelpers, :type => :request)
|
1361
|
-
# end
|
1362
|
-
#
|
1363
|
-
# describe "edit profile", :type => :request do
|
1364
|
-
# run_in_browser
|
1365
|
-
#
|
1366
|
-
# it "does stuff in the client" do
|
1367
|
-
# # ...
|
1368
|
-
# end
|
1369
|
-
# end
|
1370
|
-
#
|
1371
|
-
# @see #include
|
1372
|
-
# @see #prepend
|
1373
|
-
def extend(mod, *filters)
|
1374
|
-
define_mixed_in_module(mod, filters, @extend_modules, :extend) do |group|
|
1375
|
-
safe_extend(mod, group)
|
1376
|
-
end
|
1377
|
-
end
|
1378
|
-
|
1379
|
-
if RSpec::Support::RubyFeatures.module_prepends_supported?
|
1380
|
-
# Tells RSpec to prepend example groups with `mod`. Methods defined in
|
1381
|
-
# `mod` are exposed to examples (not example groups). Use `filters` to
|
1382
|
-
# constrain the groups in which to prepend the module.
|
1383
|
-
#
|
1384
|
-
# Similar to `include`, but module is included before the example group's class
|
1385
|
-
# in the ancestor chain.
|
1386
|
-
#
|
1387
|
-
# @example
|
1388
|
-
#
|
1389
|
-
# module OverrideMod
|
1390
|
-
# def override_me
|
1391
|
-
# "overridden"
|
1392
|
-
# end
|
1393
|
-
# end
|
1394
|
-
#
|
1395
|
-
# RSpec.configure do |config|
|
1396
|
-
# config.prepend(OverrideMod, :method => :prepend)
|
1397
|
-
# end
|
1398
|
-
#
|
1399
|
-
# describe "overriding example's class", :method => :prepend do
|
1400
|
-
# it "finds the user" do
|
1401
|
-
# self.class.class_eval do
|
1402
|
-
# def override_me
|
1403
|
-
# end
|
1404
|
-
# end
|
1405
|
-
# override_me # => "overridden"
|
1406
|
-
# # ...
|
1407
|
-
# end
|
1408
|
-
# end
|
1409
|
-
#
|
1410
|
-
# @see #include
|
1411
|
-
# @see #extend
|
1412
|
-
def prepend(mod, *filters)
|
1413
|
-
define_mixed_in_module(mod, filters, @prepend_modules, :prepend) do |group|
|
1414
|
-
safe_prepend(mod, group)
|
1415
|
-
end
|
1416
|
-
end
|
1417
|
-
end
|
1418
|
-
|
1419
|
-
# @private
|
1420
|
-
#
|
1421
|
-
# Used internally to extend a group with modules using `include`, `prepend` and/or
|
1422
|
-
# `extend`.
|
1423
|
-
def configure_group(group)
|
1424
|
-
group.hooks.register_globals(group, hooks)
|
1425
|
-
|
1426
|
-
configure_group_with group, @include_modules, :safe_include
|
1427
|
-
configure_group_with group, @extend_modules, :safe_extend
|
1428
|
-
configure_group_with group, @prepend_modules, :safe_prepend
|
1429
|
-
end
|
1430
|
-
|
1431
|
-
# @private
|
1432
|
-
#
|
1433
|
-
# Used internally to extend the singleton class of a single example's
|
1434
|
-
# example group instance with modules using `include` and/or `extend`.
|
1435
|
-
def configure_example(example, example_hooks)
|
1436
|
-
example_hooks.register_global_singleton_context_hooks(example, hooks)
|
1437
|
-
singleton_group = example.example_group_instance.singleton_class
|
1438
|
-
|
1439
|
-
# We replace the metadata so that SharedExampleGroupModule#included
|
1440
|
-
# has access to the example's metadata[:location].
|
1441
|
-
singleton_group.with_replaced_metadata(example.metadata) do
|
1442
|
-
modules = @include_modules.items_for(example.metadata)
|
1443
|
-
modules.each do |mod|
|
1444
|
-
safe_include(mod, example.example_group_instance.singleton_class)
|
1445
|
-
end
|
1446
|
-
|
1447
|
-
MemoizedHelpers.define_helpers_on(singleton_group) unless modules.empty?
|
1448
|
-
end
|
1449
|
-
end
|
1450
|
-
|
1451
|
-
# @private
|
1452
|
-
def requires=(paths)
|
1453
|
-
directories = ['lib', default_path].select { |p| File.directory? p }
|
1454
|
-
RSpec::Core::RubyProject.add_to_load_path(*directories)
|
1455
|
-
paths.each { |path| require path }
|
1456
|
-
@requires += paths
|
1457
|
-
end
|
1458
|
-
|
1459
|
-
# @private
|
1460
|
-
def in_project_source_dir_regex
|
1461
|
-
regexes = project_source_dirs.map do |dir|
|
1462
|
-
/\A#{Regexp.escape(File.expand_path(dir))}\//
|
1463
|
-
end
|
1464
|
-
|
1465
|
-
Regexp.union(regexes)
|
1466
|
-
end
|
1467
|
-
|
1468
|
-
# @private
|
1469
|
-
def configure_mock_framework
|
1470
|
-
RSpec::Core::ExampleGroup.__send__(:include, mock_framework)
|
1471
|
-
conditionally_disable_mocks_monkey_patching
|
1472
|
-
end
|
1473
|
-
|
1474
|
-
# @private
|
1475
|
-
def configure_expectation_framework
|
1476
|
-
expectation_frameworks.each do |framework|
|
1477
|
-
RSpec::Core::ExampleGroup.__send__(:include, framework)
|
1478
|
-
end
|
1479
|
-
conditionally_disable_expectations_monkey_patching
|
1480
|
-
end
|
1481
|
-
|
1482
|
-
# @private
|
1483
|
-
def load_spec_files
|
1484
|
-
# Note which spec files world is already aware of.
|
1485
|
-
# This is generally only needed for when the user runs
|
1486
|
-
# `ruby path/to/spec.rb` (and loads `rspec/autorun`) --
|
1487
|
-
# in that case, the spec file was loaded by `ruby` and
|
1488
|
-
# isn't loaded by us here so we only know about it because
|
1489
|
-
# of an example group being registered in it.
|
1490
|
-
world.registered_example_group_files.each do |f|
|
1491
|
-
loaded_spec_files << f # the registered files are already expended absolute paths
|
1492
|
-
end
|
1493
|
-
|
1494
|
-
files_to_run.uniq.each do |f|
|
1495
|
-
file = File.expand_path(f)
|
1496
|
-
load_spec_file_handling_errors(file)
|
1497
|
-
loaded_spec_files << file
|
1498
|
-
end
|
1499
|
-
|
1500
|
-
@spec_files_loaded = true
|
1501
|
-
end
|
1502
|
-
|
1503
|
-
# @private
|
1504
|
-
DEFAULT_FORMATTER = lambda { |string| string }
|
1505
|
-
|
1506
|
-
# Formats the docstring output using the block provided.
|
1507
|
-
#
|
1508
|
-
# @example
|
1509
|
-
# # This will strip the descriptions of both examples and example
|
1510
|
-
# # groups.
|
1511
|
-
# RSpec.configure do |config|
|
1512
|
-
# config.format_docstrings { |s| s.strip }
|
1513
|
-
# end
|
1514
|
-
def format_docstrings(&block)
|
1515
|
-
@format_docstrings_block = block_given? ? block : DEFAULT_FORMATTER
|
1516
|
-
end
|
1517
|
-
|
1518
|
-
# @private
|
1519
|
-
def format_docstrings_block
|
1520
|
-
@format_docstrings_block ||= DEFAULT_FORMATTER
|
1521
|
-
end
|
1522
|
-
|
1523
|
-
# @private
|
1524
|
-
# @macro [attach] delegate_to_ordering_manager
|
1525
|
-
# @!method $1
|
1526
|
-
def self.delegate_to_ordering_manager(*methods)
|
1527
|
-
methods.each do |method|
|
1528
|
-
define_method method do |*args, &block|
|
1529
|
-
ordering_manager.__send__(method, *args, &block)
|
1530
|
-
end
|
1531
|
-
end
|
1532
|
-
end
|
1533
|
-
|
1534
|
-
# @macro delegate_to_ordering_manager
|
1535
|
-
#
|
1536
|
-
# Sets the seed value and sets the default global ordering to random.
|
1537
|
-
delegate_to_ordering_manager :seed=
|
1538
|
-
|
1539
|
-
# @macro delegate_to_ordering_manager
|
1540
|
-
# Seed for random ordering (default: generated randomly each run).
|
1541
|
-
#
|
1542
|
-
# When you run specs with `--order random`, RSpec generates a random seed
|
1543
|
-
# for the randomization and prints it to the `output_stream` (assuming
|
1544
|
-
# you're using RSpec's built-in formatters). If you discover an ordering
|
1545
|
-
# dependency (i.e. examples fail intermittently depending on order), set
|
1546
|
-
# this (on Configuration or on the command line with `--seed`) to run
|
1547
|
-
# using the same seed while you debug the issue.
|
1548
|
-
#
|
1549
|
-
# We recommend, actually, that you use the command line approach so you
|
1550
|
-
# don't accidentally leave the seed encoded.
|
1551
|
-
delegate_to_ordering_manager :seed
|
1552
|
-
|
1553
|
-
# @macro delegate_to_ordering_manager
|
1554
|
-
#
|
1555
|
-
# Sets the default global ordering strategy. By default this can be one
|
1556
|
-
# of `:defined`, `:random`, but is customizable through the
|
1557
|
-
# `register_ordering` API. If order is set to `'rand:<seed>'`,
|
1558
|
-
# the seed will also be set.
|
1559
|
-
#
|
1560
|
-
# @see #register_ordering
|
1561
|
-
delegate_to_ordering_manager :order=
|
1562
|
-
|
1563
|
-
# @macro delegate_to_ordering_manager
|
1564
|
-
# Registers a named ordering strategy that can later be
|
1565
|
-
# used to order an example group's subgroups by adding
|
1566
|
-
# `:order => <name>` metadata to the example group.
|
1567
|
-
#
|
1568
|
-
# @param name [Symbol] The name of the ordering.
|
1569
|
-
# @yield Block that will order the given examples or example groups
|
1570
|
-
# @yieldparam list [Array<RSpec::Core::Example>,
|
1571
|
-
# Array<RSpec::Core::ExampleGroup>] The examples or groups to order
|
1572
|
-
# @yieldreturn [Array<RSpec::Core::Example>,
|
1573
|
-
# Array<RSpec::Core::ExampleGroup>] The re-ordered examples or groups
|
1574
|
-
#
|
1575
|
-
# @example
|
1576
|
-
# RSpec.configure do |rspec|
|
1577
|
-
# rspec.register_ordering :reverse do |list|
|
1578
|
-
# list.reverse
|
1579
|
-
# end
|
1580
|
-
# end
|
1581
|
-
#
|
1582
|
-
# RSpec.describe 'MyClass', :order => :reverse do
|
1583
|
-
# # ...
|
1584
|
-
# end
|
1585
|
-
#
|
1586
|
-
# @note Pass the symbol `:global` to set the ordering strategy that
|
1587
|
-
# will be used to order the top-level example groups and any example
|
1588
|
-
# groups that do not have declared `:order` metadata.
|
1589
|
-
#
|
1590
|
-
# @example
|
1591
|
-
# RSpec.configure do |rspec|
|
1592
|
-
# rspec.register_ordering :global do |examples|
|
1593
|
-
# acceptance, other = examples.partition do |example|
|
1594
|
-
# example.metadata[:type] == :acceptance
|
1595
|
-
# end
|
1596
|
-
# other + acceptance
|
1597
|
-
# end
|
1598
|
-
# end
|
1599
|
-
#
|
1600
|
-
# RSpec.describe 'MyClass', :type => :acceptance do
|
1601
|
-
# # will run last
|
1602
|
-
# end
|
1603
|
-
#
|
1604
|
-
# RSpec.describe 'MyClass' do
|
1605
|
-
# # will run first
|
1606
|
-
# end
|
1607
|
-
#
|
1608
|
-
delegate_to_ordering_manager :register_ordering
|
1609
|
-
|
1610
|
-
# @private
|
1611
|
-
delegate_to_ordering_manager :seed_used?, :ordering_registry
|
1612
|
-
|
1613
|
-
# Set Ruby warnings on or off.
|
1614
|
-
def warnings=(value)
|
1615
|
-
$VERBOSE = !!value
|
1616
|
-
end
|
1617
|
-
|
1618
|
-
# @return [Boolean] Whether or not ruby warnings are enabled.
|
1619
|
-
def warnings?
|
1620
|
-
$VERBOSE
|
1621
|
-
end
|
1622
|
-
|
1623
|
-
# @private
|
1624
|
-
RAISE_ERROR_WARNING_NOTIFIER = lambda { |message| raise message }
|
1625
|
-
|
1626
|
-
# Turns warnings into errors. This can be useful when
|
1627
|
-
# you want RSpec to run in a 'strict' no warning situation.
|
1628
|
-
#
|
1629
|
-
# @example
|
1630
|
-
#
|
1631
|
-
# RSpec.configure do |rspec|
|
1632
|
-
# rspec.raise_on_warning = true
|
1633
|
-
# end
|
1634
|
-
def raise_on_warning=(value)
|
1635
|
-
if value
|
1636
|
-
RSpec::Support.warning_notifier = RAISE_ERROR_WARNING_NOTIFIER
|
1637
|
-
else
|
1638
|
-
RSpec::Support.warning_notifier = RSpec::Support::DEFAULT_WARNING_NOTIFIER
|
1639
|
-
end
|
1640
|
-
end
|
1641
|
-
|
1642
|
-
# Exposes the current running example via the named
|
1643
|
-
# helper method. RSpec 2.x exposed this via `example`,
|
1644
|
-
# but in RSpec 3.0, the example is instead exposed via
|
1645
|
-
# an arg yielded to `it`, `before`, `let`, etc. However,
|
1646
|
-
# some extension gems (such as Capybara) depend on the
|
1647
|
-
# RSpec 2.x's `example` method, so this config option
|
1648
|
-
# can be used to maintain compatibility.
|
1649
|
-
#
|
1650
|
-
# @param method_name [Symbol] the name of the helper method
|
1651
|
-
#
|
1652
|
-
# @example
|
1653
|
-
#
|
1654
|
-
# RSpec.configure do |rspec|
|
1655
|
-
# rspec.expose_current_running_example_as :example
|
1656
|
-
# end
|
1657
|
-
#
|
1658
|
-
# describe MyClass do
|
1659
|
-
# before do
|
1660
|
-
# # `example` can be used here because of the above config.
|
1661
|
-
# do_something if example.metadata[:type] == "foo"
|
1662
|
-
# end
|
1663
|
-
# end
|
1664
|
-
def expose_current_running_example_as(method_name)
|
1665
|
-
ExposeCurrentExample.module_exec do
|
1666
|
-
extend RSpec::SharedContext
|
1667
|
-
let(method_name) { |ex| ex }
|
1668
|
-
end
|
1669
|
-
|
1670
|
-
include ExposeCurrentExample
|
1671
|
-
end
|
1672
|
-
|
1673
|
-
# @private
|
1674
|
-
module ExposeCurrentExample; end
|
1675
|
-
|
1676
|
-
# Turns deprecation warnings into errors, in order to surface
|
1677
|
-
# the full backtrace of the call site. This can be useful when
|
1678
|
-
# you need more context to address a deprecation than the
|
1679
|
-
# single-line call site normally provided.
|
1680
|
-
#
|
1681
|
-
# @example
|
1682
|
-
#
|
1683
|
-
# RSpec.configure do |rspec|
|
1684
|
-
# rspec.raise_errors_for_deprecations!
|
1685
|
-
# end
|
1686
|
-
def raise_errors_for_deprecations!
|
1687
|
-
self.deprecation_stream = Formatters::DeprecationFormatter::RaiseErrorStream.new
|
1688
|
-
end
|
1689
|
-
|
1690
|
-
# Enables zero monkey patching mode for RSpec. It removes monkey
|
1691
|
-
# patching of the top-level DSL methods (`describe`,
|
1692
|
-
# `shared_examples_for`, etc) onto `main` and `Module`, instead
|
1693
|
-
# requiring you to prefix these methods with `RSpec.`. It enables
|
1694
|
-
# expect-only syntax for rspec-mocks and rspec-expectations. It
|
1695
|
-
# simply disables monkey patching on whatever pieces of RSpec
|
1696
|
-
# the user is using.
|
1697
|
-
#
|
1698
|
-
# @note It configures rspec-mocks and rspec-expectations only
|
1699
|
-
# if the user is using those (either explicitly or implicitly
|
1700
|
-
# by not setting `mock_with` or `expect_with` to anything else).
|
1701
|
-
#
|
1702
|
-
# @note If the user uses this options with `mock_with :mocha`
|
1703
|
-
# (or similiar) they will still have monkey patching active
|
1704
|
-
# in their test environment from mocha.
|
1705
|
-
#
|
1706
|
-
# @example
|
1707
|
-
#
|
1708
|
-
# # It disables all monkey patching.
|
1709
|
-
# RSpec.configure do |config|
|
1710
|
-
# config.disable_monkey_patching!
|
1711
|
-
# end
|
1712
|
-
#
|
1713
|
-
# # Is an equivalent to
|
1714
|
-
# RSpec.configure do |config|
|
1715
|
-
# config.expose_dsl_globally = false
|
1716
|
-
#
|
1717
|
-
# config.mock_with :rspec do |mocks|
|
1718
|
-
# mocks.syntax = :expect
|
1719
|
-
# mocks.patch_marshal_to_support_partial_doubles = false
|
1720
|
-
# end
|
1721
|
-
#
|
1722
|
-
# config.expect_with :rspec do |expectations|
|
1723
|
-
# expectations.syntax = :expect
|
1724
|
-
# end
|
1725
|
-
# end
|
1726
|
-
def disable_monkey_patching!
|
1727
|
-
self.expose_dsl_globally = false
|
1728
|
-
self.disable_monkey_patching = true
|
1729
|
-
conditionally_disable_mocks_monkey_patching
|
1730
|
-
conditionally_disable_expectations_monkey_patching
|
1731
|
-
end
|
1732
|
-
|
1733
|
-
# @private
|
1734
|
-
attr_accessor :disable_monkey_patching
|
1735
|
-
|
1736
|
-
# Defines a callback that can assign derived metadata values.
|
1737
|
-
#
|
1738
|
-
# @param filters [Array<Symbol>, Hash] metadata filters that determine
|
1739
|
-
# which example or group metadata hashes the callback will be triggered
|
1740
|
-
# for. If none are given, the callback will be run against the metadata
|
1741
|
-
# hashes of all groups and examples.
|
1742
|
-
# @yieldparam metadata [Hash] original metadata hash from an example or
|
1743
|
-
# group. Mutate this in your block as needed.
|
1744
|
-
#
|
1745
|
-
# @example
|
1746
|
-
# RSpec.configure do |config|
|
1747
|
-
# # Tag all groups and examples in the spec/unit directory with
|
1748
|
-
# # :type => :unit
|
1749
|
-
# config.define_derived_metadata(:file_path => %r{/spec/unit/}) do |metadata|
|
1750
|
-
# metadata[:type] = :unit
|
1751
|
-
# end
|
1752
|
-
# end
|
1753
|
-
def define_derived_metadata(*filters, &block)
|
1754
|
-
meta = Metadata.build_hash_from(filters, :warn_about_example_group_filtering)
|
1755
|
-
@derived_metadata_blocks.append(block, meta)
|
1756
|
-
end
|
1757
|
-
|
1758
|
-
# Defines a callback that runs after the first example with matching
|
1759
|
-
# metadata is defined. If no examples are defined with matching metadata,
|
1760
|
-
# it will not get called at all.
|
1761
|
-
#
|
1762
|
-
# This can be used to ensure some setup is performed (such as bootstrapping
|
1763
|
-
# a DB or loading a specific file that adds significantly to the boot time)
|
1764
|
-
# if needed (as indicated by the presence of an example with matching metadata)
|
1765
|
-
# but avoided otherwise.
|
1766
|
-
#
|
1767
|
-
# @example
|
1768
|
-
# RSpec.configure do |config|
|
1769
|
-
# config.when_first_matching_example_defined(:db) do
|
1770
|
-
# # Load a support file that does some heavyweight setup,
|
1771
|
-
# # including bootstrapping the DB, but only if we have loaded
|
1772
|
-
# # any examples tagged with `:db`.
|
1773
|
-
# require 'support/db'
|
1774
|
-
# end
|
1775
|
-
# end
|
1776
|
-
def when_first_matching_example_defined(*filters, &block)
|
1777
|
-
specified_meta = Metadata.build_hash_from(filters, :warn_about_example_group_filtering)
|
1778
|
-
|
1779
|
-
callback = lambda do |example_or_group_meta|
|
1780
|
-
# Example groups do not have `:example_group` metadata
|
1781
|
-
# (instead they have `:parent_example_group` metadata).
|
1782
|
-
return unless example_or_group_meta.key?(:example_group)
|
1783
|
-
|
1784
|
-
# Ensure the callback only fires once.
|
1785
|
-
@derived_metadata_blocks.delete(callback, specified_meta)
|
1786
|
-
|
1787
|
-
block.call
|
1788
|
-
end
|
1789
|
-
|
1790
|
-
@derived_metadata_blocks.append(callback, specified_meta)
|
1791
|
-
end
|
1792
|
-
|
1793
|
-
# @private
|
1794
|
-
def apply_derived_metadata_to(metadata)
|
1795
|
-
@derived_metadata_blocks.items_for(metadata).each do |block|
|
1796
|
-
block.call(metadata)
|
1797
|
-
end
|
1798
|
-
end
|
1799
|
-
|
1800
|
-
# Defines a `before` hook. See {Hooks#before} for full docs.
|
1801
|
-
#
|
1802
|
-
# This method differs from {Hooks#before} in only one way: it supports
|
1803
|
-
# the `:suite` scope. Hooks with the `:suite` scope will be run once before
|
1804
|
-
# the first example of the entire suite is executed.
|
1805
|
-
#
|
1806
|
-
# @see #prepend_before
|
1807
|
-
# @see #after
|
1808
|
-
# @see #append_after
|
1809
|
-
def before(scope=nil, *meta, &block)
|
1810
|
-
handle_suite_hook(scope, meta) do
|
1811
|
-
@before_suite_hooks << Hooks::BeforeHook.new(block, {})
|
1812
|
-
end || begin
|
1813
|
-
add_hook_to_existing_matching_groups(meta, scope) { |g| g.before(scope, *meta, &block) }
|
1814
|
-
super(scope, *meta, &block)
|
1815
|
-
end
|
1816
|
-
end
|
1817
|
-
alias_method :append_before, :before
|
1818
|
-
|
1819
|
-
# Adds `block` to the start of the list of `before` blocks in the same
|
1820
|
-
# scope (`:example`, `:context`, or `:suite`), in contrast to {#before},
|
1821
|
-
# which adds the hook to the end of the list.
|
1822
|
-
#
|
1823
|
-
# See {Hooks#before} for full `before` hook docs.
|
1824
|
-
#
|
1825
|
-
# This method differs from {Hooks#prepend_before} in only one way: it supports
|
1826
|
-
# the `:suite` scope. Hooks with the `:suite` scope will be run once before
|
1827
|
-
# the first example of the entire suite is executed.
|
1828
|
-
#
|
1829
|
-
# @see #before
|
1830
|
-
# @see #after
|
1831
|
-
# @see #append_after
|
1832
|
-
def prepend_before(scope=nil, *meta, &block)
|
1833
|
-
handle_suite_hook(scope, meta) do
|
1834
|
-
@before_suite_hooks.unshift Hooks::BeforeHook.new(block, {})
|
1835
|
-
end || begin
|
1836
|
-
add_hook_to_existing_matching_groups(meta, scope) { |g| g.prepend_before(scope, *meta, &block) }
|
1837
|
-
super(scope, *meta, &block)
|
1838
|
-
end
|
1839
|
-
end
|
1840
|
-
|
1841
|
-
# Defines a `after` hook. See {Hooks#after} for full docs.
|
1842
|
-
#
|
1843
|
-
# This method differs from {Hooks#after} in only one way: it supports
|
1844
|
-
# the `:suite` scope. Hooks with the `:suite` scope will be run once after
|
1845
|
-
# the last example of the entire suite is executed.
|
1846
|
-
#
|
1847
|
-
# @see #append_after
|
1848
|
-
# @see #before
|
1849
|
-
# @see #prepend_before
|
1850
|
-
def after(scope=nil, *meta, &block)
|
1851
|
-
handle_suite_hook(scope, meta) do
|
1852
|
-
@after_suite_hooks.unshift Hooks::AfterHook.new(block, {})
|
1853
|
-
end || begin
|
1854
|
-
add_hook_to_existing_matching_groups(meta, scope) { |g| g.after(scope, *meta, &block) }
|
1855
|
-
super(scope, *meta, &block)
|
1856
|
-
end
|
1857
|
-
end
|
1858
|
-
alias_method :prepend_after, :after
|
1859
|
-
|
1860
|
-
# Adds `block` to the end of the list of `after` blocks in the same
|
1861
|
-
# scope (`:example`, `:context`, or `:suite`), in contrast to {#after},
|
1862
|
-
# which adds the hook to the start of the list.
|
1863
|
-
#
|
1864
|
-
# See {Hooks#after} for full `after` hook docs.
|
1865
|
-
#
|
1866
|
-
# This method differs from {Hooks#append_after} in only one way: it supports
|
1867
|
-
# the `:suite` scope. Hooks with the `:suite` scope will be run once after
|
1868
|
-
# the last example of the entire suite is executed.
|
1869
|
-
#
|
1870
|
-
# @see #append_after
|
1871
|
-
# @see #before
|
1872
|
-
# @see #prepend_before
|
1873
|
-
def append_after(scope=nil, *meta, &block)
|
1874
|
-
handle_suite_hook(scope, meta) do
|
1875
|
-
@after_suite_hooks << Hooks::AfterHook.new(block, {})
|
1876
|
-
end || begin
|
1877
|
-
add_hook_to_existing_matching_groups(meta, scope) { |g| g.append_after(scope, *meta, &block) }
|
1878
|
-
super(scope, *meta, &block)
|
1879
|
-
end
|
1880
|
-
end
|
1881
|
-
|
1882
|
-
# Registers `block` as an `around` hook.
|
1883
|
-
#
|
1884
|
-
# See {Hooks#around} for full `around` hook docs.
|
1885
|
-
def around(scope=nil, *meta, &block)
|
1886
|
-
add_hook_to_existing_matching_groups(meta, scope) { |g| g.around(scope, *meta, &block) }
|
1887
|
-
super(scope, *meta, &block)
|
1888
|
-
end
|
1889
|
-
|
1890
|
-
# @private
|
1891
|
-
def with_suite_hooks
|
1892
|
-
return yield if dry_run?
|
1893
|
-
|
1894
|
-
begin
|
1895
|
-
run_suite_hooks("a `before(:suite)` hook", @before_suite_hooks)
|
1896
|
-
yield
|
1897
|
-
ensure
|
1898
|
-
run_suite_hooks("an `after(:suite)` hook", @after_suite_hooks)
|
1899
|
-
end
|
1900
|
-
end
|
1901
|
-
|
1902
|
-
# @private
|
1903
|
-
# Holds the various registered hooks. Here we use a FilterableItemRepository
|
1904
|
-
# implementation that is specifically optimized for the read/write patterns
|
1905
|
-
# of the config object.
|
1906
|
-
def hooks
|
1907
|
-
@hooks ||= HookCollections.new(self, FilterableItemRepository::QueryOptimized)
|
1908
|
-
end
|
1909
|
-
|
1910
|
-
# Invokes block before defining an example group
|
1911
|
-
def on_example_group_definition(&block)
|
1912
|
-
on_example_group_definition_callbacks << block
|
1913
|
-
end
|
1914
|
-
|
1915
|
-
# @api private
|
1916
|
-
# Returns an array of blocks to call before defining an example group
|
1917
|
-
def on_example_group_definition_callbacks
|
1918
|
-
@on_example_group_definition_callbacks ||= []
|
1919
|
-
end
|
1920
|
-
|
1921
|
-
private
|
1922
|
-
|
1923
|
-
def load_spec_file_handling_errors(file)
|
1924
|
-
load file
|
1925
|
-
rescue Support::AllExceptionsExceptOnesWeMustNotRescue => ex
|
1926
|
-
relative_file = Metadata.relative_path(file)
|
1927
|
-
reporter.notify_non_example_exception(ex, "An error occurred while loading #{relative_file}.")
|
1928
|
-
RSpec.world.wants_to_quit = true
|
1929
|
-
end
|
1930
|
-
|
1931
|
-
def handle_suite_hook(scope, meta)
|
1932
|
-
return nil unless scope == :suite
|
1933
|
-
|
1934
|
-
unless meta.empty?
|
1935
|
-
# TODO: in RSpec 4, consider raising an error here.
|
1936
|
-
# We warn only for backwards compatibility.
|
1937
|
-
RSpec.warn_with "WARNING: `:suite` hooks do not support metadata since " \
|
1938
|
-
"they apply to the suite as a whole rather than " \
|
1939
|
-
"any individual example or example group that has metadata. " \
|
1940
|
-
"The metadata you have provided (#{meta.inspect}) will be ignored."
|
1941
|
-
end
|
1942
|
-
|
1943
|
-
yield
|
1944
|
-
end
|
1945
|
-
|
1946
|
-
def run_suite_hooks(hook_description, hooks)
|
1947
|
-
context = SuiteHookContext.new(hook_description, reporter)
|
1948
|
-
|
1949
|
-
hooks.each do |hook|
|
1950
|
-
begin
|
1951
|
-
hook.run(context)
|
1952
|
-
rescue Support::AllExceptionsExceptOnesWeMustNotRescue => ex
|
1953
|
-
context.set_exception(ex)
|
1954
|
-
|
1955
|
-
# Do not run subsequent `before` hooks if one fails.
|
1956
|
-
# But for `after` hooks, we run them all so that all
|
1957
|
-
# cleanup bits get a chance to complete, minimizing the
|
1958
|
-
# chance that resources get left behind.
|
1959
|
-
break if hooks.equal?(@before_suite_hooks)
|
1960
|
-
end
|
1961
|
-
end
|
1962
|
-
end
|
1963
|
-
|
1964
|
-
def get_files_to_run(paths)
|
1965
|
-
files = FlatMap.flat_map(paths_to_check(paths)) do |path|
|
1966
|
-
path = path.gsub(File::ALT_SEPARATOR, File::SEPARATOR) if File::ALT_SEPARATOR
|
1967
|
-
File.directory?(path) ? gather_directories(path) : extract_location(path)
|
1968
|
-
end.uniq
|
1969
|
-
|
1970
|
-
return files unless only_failures?
|
1971
|
-
relative_files = files.map { |f| Metadata.relative_path(File.expand_path f) }
|
1972
|
-
intersection = (relative_files & spec_files_with_failures.to_a)
|
1973
|
-
intersection.empty? ? files : intersection
|
1974
|
-
end
|
1975
|
-
|
1976
|
-
def paths_to_check(paths)
|
1977
|
-
return paths if pattern_might_load_specs_from_vendored_dirs?
|
1978
|
-
paths + [Dir.getwd]
|
1979
|
-
end
|
1980
|
-
|
1981
|
-
def pattern_might_load_specs_from_vendored_dirs?
|
1982
|
-
pattern.split(File::SEPARATOR).first.include?('**')
|
1983
|
-
end
|
1984
|
-
|
1985
|
-
def gather_directories(path)
|
1986
|
-
include_files = get_matching_files(path, pattern)
|
1987
|
-
exclude_files = get_matching_files(path, exclude_pattern)
|
1988
|
-
(include_files - exclude_files).uniq
|
1989
|
-
end
|
1990
|
-
|
1991
|
-
def get_matching_files(path, pattern)
|
1992
|
-
raw_files = Dir[file_glob_from(path, pattern)]
|
1993
|
-
raw_files.map { |file| File.expand_path(file) }.sort
|
1994
|
-
end
|
1995
|
-
|
1996
|
-
def file_glob_from(path, pattern)
|
1997
|
-
stripped = "{#{pattern.gsub(/\s*,\s*/, ',')}}"
|
1998
|
-
return stripped if pattern =~ /^(\.\/)?#{Regexp.escape path}/ || absolute_pattern?(pattern)
|
1999
|
-
File.join(path, stripped)
|
2000
|
-
end
|
2001
|
-
|
2002
|
-
if RSpec::Support::OS.windows?
|
2003
|
-
# :nocov:
|
2004
|
-
def absolute_pattern?(pattern)
|
2005
|
-
pattern =~ /\A[A-Z]:\\/ || windows_absolute_network_path?(pattern)
|
2006
|
-
end
|
2007
|
-
|
2008
|
-
def windows_absolute_network_path?(pattern)
|
2009
|
-
return false unless ::File::ALT_SEPARATOR
|
2010
|
-
pattern.start_with?(::File::ALT_SEPARATOR + ::File::ALT_SEPARATOR)
|
2011
|
-
end
|
2012
|
-
# :nocov:
|
2013
|
-
else
|
2014
|
-
def absolute_pattern?(pattern)
|
2015
|
-
pattern.start_with?(File::Separator)
|
2016
|
-
end
|
2017
|
-
end
|
2018
|
-
|
2019
|
-
def extract_location(path)
|
2020
|
-
match = /^(.*?)((?:\:\d+)+)$/.match(path)
|
2021
|
-
|
2022
|
-
if match
|
2023
|
-
captures = match.captures
|
2024
|
-
path = captures[0]
|
2025
|
-
lines = captures[1][1..-1].split(":").map(&:to_i)
|
2026
|
-
filter_manager.add_location path, lines
|
2027
|
-
else
|
2028
|
-
path, scoped_ids = Example.parse_id(path)
|
2029
|
-
filter_manager.add_ids(path, scoped_ids.split(/\s*,\s*/)) if scoped_ids
|
2030
|
-
end
|
2031
|
-
|
2032
|
-
return [] if path == default_path
|
2033
|
-
File.expand_path(path)
|
2034
|
-
end
|
2035
|
-
|
2036
|
-
def command
|
2037
|
-
$0.split(File::SEPARATOR).last
|
2038
|
-
end
|
2039
|
-
|
2040
|
-
def value_for(key)
|
2041
|
-
@preferred_options.fetch(key) { yield }
|
2042
|
-
end
|
2043
|
-
|
2044
|
-
def define_built_in_hooks
|
2045
|
-
around(:example, :aggregate_failures => true) do |procsy|
|
2046
|
-
begin
|
2047
|
-
aggregate_failures(nil, :hide_backtrace => true, &procsy)
|
2048
|
-
rescue Support::AllExceptionsExceptOnesWeMustNotRescue => exception
|
2049
|
-
procsy.example.set_aggregate_failures_exception(exception)
|
2050
|
-
end
|
2051
|
-
end
|
2052
|
-
end
|
2053
|
-
|
2054
|
-
def assert_no_example_groups_defined(config_option)
|
2055
|
-
return unless world.example_groups.any?
|
2056
|
-
|
2057
|
-
raise MustBeConfiguredBeforeExampleGroupsError.new(
|
2058
|
-
"RSpec's #{config_option} configuration option must be configured before " \
|
2059
|
-
"any example groups are defined, but you have already defined a group."
|
2060
|
-
)
|
2061
|
-
end
|
2062
|
-
|
2063
|
-
def output_wrapper
|
2064
|
-
@output_wrapper ||= OutputWrapper.new(output_stream)
|
2065
|
-
end
|
2066
|
-
|
2067
|
-
def output_to_tty?(output=output_stream)
|
2068
|
-
output.respond_to?(:tty?) && output.tty?
|
2069
|
-
end
|
2070
|
-
|
2071
|
-
def conditionally_disable_mocks_monkey_patching
|
2072
|
-
return unless disable_monkey_patching && rspec_mocks_loaded?
|
2073
|
-
|
2074
|
-
RSpec::Mocks.configuration.tap do |config|
|
2075
|
-
config.syntax = :expect
|
2076
|
-
config.patch_marshal_to_support_partial_doubles = false
|
2077
|
-
end
|
2078
|
-
end
|
2079
|
-
|
2080
|
-
def conditionally_disable_expectations_monkey_patching
|
2081
|
-
return unless disable_monkey_patching && rspec_expectations_loaded?
|
2082
|
-
|
2083
|
-
RSpec::Expectations.configuration.syntax = :expect
|
2084
|
-
end
|
2085
|
-
|
2086
|
-
def rspec_mocks_loaded?
|
2087
|
-
defined?(RSpec::Mocks.configuration)
|
2088
|
-
end
|
2089
|
-
|
2090
|
-
def rspec_expectations_loaded?
|
2091
|
-
defined?(RSpec::Expectations.configuration)
|
2092
|
-
end
|
2093
|
-
|
2094
|
-
def update_pattern_attr(name, value)
|
2095
|
-
if @spec_files_loaded
|
2096
|
-
RSpec.warning "Configuring `#{name}` to #{value} has no effect since " \
|
2097
|
-
"RSpec has already loaded the spec files."
|
2098
|
-
end
|
2099
|
-
|
2100
|
-
instance_variable_set(:"@#{name}", value)
|
2101
|
-
@files_to_run = nil
|
2102
|
-
end
|
2103
|
-
|
2104
|
-
def clear_values_derived_from_example_status_persistence_file_path
|
2105
|
-
@last_run_statuses = nil
|
2106
|
-
@spec_files_with_failures = nil
|
2107
|
-
end
|
2108
|
-
|
2109
|
-
def configure_group_with(group, module_list, application_method)
|
2110
|
-
module_list.items_for(group.metadata).each do |mod|
|
2111
|
-
__send__(application_method, mod, group)
|
2112
|
-
end
|
2113
|
-
end
|
2114
|
-
|
2115
|
-
def add_hook_to_existing_matching_groups(meta, scope, &block)
|
2116
|
-
# For example hooks, we have to apply it to each of the top level
|
2117
|
-
# groups, even if the groups do not match. When we apply it, we
|
2118
|
-
# apply it with the metadata, so it will only apply to examples
|
2119
|
-
# in the group that match the metadata.
|
2120
|
-
# #2280 for background and discussion.
|
2121
|
-
if scope == :example || scope == :each || scope.nil?
|
2122
|
-
world.example_groups.each(&block)
|
2123
|
-
else
|
2124
|
-
meta = Metadata.build_hash_from(meta.dup)
|
2125
|
-
on_existing_matching_groups(meta, &block)
|
2126
|
-
end
|
2127
|
-
end
|
2128
|
-
|
2129
|
-
def on_existing_matching_groups(meta)
|
2130
|
-
world.traverse_example_group_trees_until do |group|
|
2131
|
-
metadata_applies_to_group?(meta, group).tap do |applies|
|
2132
|
-
yield group if applies
|
2133
|
-
end
|
2134
|
-
end
|
2135
|
-
end
|
2136
|
-
|
2137
|
-
def metadata_applies_to_group?(meta, group)
|
2138
|
-
meta.empty? || MetadataFilter.apply?(:any?, meta, group.metadata)
|
2139
|
-
end
|
2140
|
-
|
2141
|
-
if RSpec::Support::RubyFeatures.module_prepends_supported?
|
2142
|
-
def safe_prepend(mod, host)
|
2143
|
-
host.__send__(:prepend, mod) unless host < mod
|
2144
|
-
end
|
2145
|
-
end
|
2146
|
-
|
2147
|
-
if RUBY_VERSION.to_f >= 1.9
|
2148
|
-
def safe_include(mod, host)
|
2149
|
-
host.__send__(:include, mod) unless host < mod
|
2150
|
-
end
|
2151
|
-
|
2152
|
-
def safe_extend(mod, host)
|
2153
|
-
host.extend(mod) unless host.singleton_class < mod
|
2154
|
-
end
|
2155
|
-
else # for 1.8.7
|
2156
|
-
# :nocov:
|
2157
|
-
def safe_include(mod, host)
|
2158
|
-
host.__send__(:include, mod) unless host.included_modules.include?(mod)
|
2159
|
-
end
|
2160
|
-
|
2161
|
-
def safe_extend(mod, host)
|
2162
|
-
host.extend(mod) unless (class << host; self; end).included_modules.include?(mod)
|
2163
|
-
end
|
2164
|
-
# :nocov:
|
2165
|
-
end
|
2166
|
-
|
2167
|
-
def define_mixed_in_module(mod, filters, mod_list, config_method, &block)
|
2168
|
-
unless Module === mod
|
2169
|
-
raise TypeError, "`RSpec.configuration.#{config_method}` expects a module but got: #{mod.inspect}"
|
2170
|
-
end
|
2171
|
-
|
2172
|
-
meta = Metadata.build_hash_from(filters, :warn_about_example_group_filtering)
|
2173
|
-
mod_list.append(mod, meta)
|
2174
|
-
on_existing_matching_groups(meta, &block)
|
2175
|
-
end
|
2176
|
-
end
|
2177
|
-
# rubocop:enable Metrics/ClassLength
|
2178
|
-
end
|
2179
|
-
end
|