video_chat_get 0.1.3 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +55 -0
- data/.gitignore +1 -0
- data/Gemfile.lock +3 -3
- data/README.md +15 -6
- data/lib/file_operats/file_operat_chatdata.rb +11 -9
- data/lib/requests/request.rb +8 -6
- data/lib/site_list/mildom_analyze.rb +17 -18
- data/lib/site_list/openrec_analyze.rb +20 -18
- data/lib/site_list/twitcasting_analyze.rb +112 -0
- data/lib/site_list/whowatch_analyze.rb +8 -10
- data/lib/site_list/youtubelive_analyze.rb +79 -54
- data/lib/video_chat_get.rb +7 -5
- data/lib/video_chat_get/version.rb +1 -1
- metadata +5 -851
- data/vendor/bundle/ruby/2.5.0/bin/htmldiff +0 -29
- data/vendor/bundle/ruby/2.5.0/bin/httpclient +0 -27
- data/vendor/bundle/ruby/2.5.0/bin/ldiff +0 -29
- data/vendor/bundle/ruby/2.5.0/bin/nokogiri +0 -27
- data/vendor/bundle/ruby/2.5.0/bin/rake +0 -27
- data/vendor/bundle/ruby/2.5.0/bin/rspec +0 -27
- data/vendor/bundle/ruby/2.5.0/bin/videochatget +0 -27
- data/vendor/bundle/ruby/2.5.0/cache/diff-lcs-1.3.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/httpclient-2.8.3.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/json-2.3.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/mini_portile2-2.4.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/nokogiri-1.10.9.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rake-10.5.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-3.9.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.9.2.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.9.2.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.9.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-support-3.9.3.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-16/2.5.0/json-2.3.0/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-16/2.5.0/json-2.3.0/gem_make.out +0 -13
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-16/2.5.0/json-2.3.0/json/ext/generator.bundle +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-16/2.5.0/json-2.3.0/json/ext/parser.bundle +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-16/2.5.0/json-2.3.0/mkmf.log +0 -60
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-16/2.5.0/nokogiri-1.10.9/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-16/2.5.0/nokogiri-1.10.9/gem_make.out +0 -155
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-16/2.5.0/nokogiri-1.10.9/mkmf.log +0 -542
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-16/2.5.0/nokogiri-1.10.9/nokogiri/nokogiri.bundle +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/.rspec +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/Code-of-Conduct.md +0 -74
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/Contributing.md +0 -83
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/History.md +0 -220
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/License.md +0 -39
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/Manifest.txt +0 -37
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/README.rdoc +0 -84
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/Rakefile +0 -57
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/autotest/discover.rb +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/bin/htmldiff +0 -32
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/bin/ldiff +0 -6
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/docs/COPYING.txt +0 -339
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/docs/artistic.txt +0 -127
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff-lcs.rb +0 -3
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs.rb +0 -725
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/array.rb +0 -7
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/block.rb +0 -37
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/callbacks.rb +0 -322
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/change.rb +0 -181
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/htmldiff.rb +0 -149
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/hunk.rb +0 -276
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/internals.rb +0 -307
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/ldiff.rb +0 -167
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/string.rb +0 -5
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/change_spec.rb +0 -65
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/diff_spec.rb +0 -47
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/fixtures/ds1.csv +0 -50
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/fixtures/ds2.csv +0 -51
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/hunk_spec.rb +0 -72
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/issues_spec.rb +0 -49
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/lcs_spec.rb +0 -56
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/ldiff_spec.rb +0 -47
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/patch_spec.rb +0 -422
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/sdiff_spec.rb +0 -214
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/spec_helper.rb +0 -321
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/traverse_balanced_spec.rb +0 -310
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/traverse_sequences_spec.rb +0 -139
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/README.md +0 -85
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/bin/httpclient +0 -77
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/bin/jsonclient +0 -85
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/hexdump.rb +0 -50
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/http-access2.rb +0 -55
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/http-access2/cookie.rb +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/http-access2/http.rb +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/httpclient.rb +0 -1327
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/httpclient/auth.rb +0 -924
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/httpclient/cacert.pem +0 -3952
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/httpclient/cacert1024.pem +0 -3866
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/httpclient/connection.rb +0 -88
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/httpclient/cookie.rb +0 -220
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/httpclient/http.rb +0 -1082
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/httpclient/include_client.rb +0 -85
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/httpclient/jruby_ssl_socket.rb +0 -588
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/httpclient/session.rb +0 -960
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/httpclient/ssl_config.rb +0 -424
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/httpclient/ssl_socket.rb +0 -150
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/httpclient/timeout.rb +0 -140
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/httpclient/util.rb +0 -222
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/httpclient/version.rb +0 -3
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/httpclient/webagent-cookie.rb +0 -459
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/jsonclient.rb +0 -63
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/oauthclient.rb +0 -111
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/sample/async.rb +0 -8
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/sample/auth.rb +0 -11
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/sample/cookie.rb +0 -18
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/sample/dav.rb +0 -103
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/sample/howto.rb +0 -49
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/sample/jsonclient.rb +0 -67
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/sample/oauth_buzz.rb +0 -57
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/sample/oauth_friendfeed.rb +0 -59
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/sample/oauth_twitter.rb +0 -61
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/sample/ssl/0cert.pem +0 -22
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/sample/ssl/0key.pem +0 -30
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/sample/ssl/1000cert.pem +0 -19
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/sample/ssl/1000key.pem +0 -18
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/sample/ssl/htdocs/index.html +0 -10
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/sample/ssl/ssl_client.rb +0 -22
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/sample/ssl/webrick_httpsd.rb +0 -29
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/sample/stream.rb +0 -21
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/sample/thread.rb +0 -27
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/sample/wcat.rb +0 -21
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/ca-chain.pem +0 -44
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/ca.cert +0 -23
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/client-pass.key +0 -18
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/client.cert +0 -19
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/client.key +0 -15
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/helper.rb +0 -131
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/htdigest +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/htpasswd +0 -2
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/jruby_ssl_socket/test_pemutils.rb +0 -32
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/runner.rb +0 -2
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/server.cert +0 -19
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/server.key +0 -15
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/sslsvr.rb +0 -65
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/subca.cert +0 -21
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/test_auth.rb +0 -492
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/test_cookie.rb +0 -309
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/test_hexdump.rb +0 -14
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/test_http-access2.rb +0 -508
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/test_httpclient.rb +0 -2145
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/test_include_client.rb +0 -52
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/test_jsonclient.rb +0 -80
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/test_ssl.rb +0 -559
- data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/test_webagent-cookie.rb +0 -465
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/.gitignore +0 -18
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/.travis.yml +0 -24
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/CHANGES.md +0 -391
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/Gemfile +0 -14
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/LICENSE +0 -56
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/README-json-jruby.md +0 -33
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/README.md +0 -409
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/Rakefile +0 -413
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/VERSION +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/diagrams/.keep +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/fbuffer/fbuffer.h +0 -187
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/generator/.sitearchdir.-.json.-.ext.time +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/generator/depend +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/generator/extconf.rb +0 -4
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/generator/generator.c +0 -1499
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/generator/generator.h +0 -171
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/parser/.sitearchdir.-.json.-.ext.time +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/parser/depend +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/parser/extconf.rb +0 -6
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/parser/parser.c +0 -2136
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/parser/parser.h +0 -91
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/parser/parser.rl +0 -896
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/extconf.rb +0 -2
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/install.rb +0 -23
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/java/src/json/ext/ByteListTranscoder.java +0 -166
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/java/src/json/ext/Generator.java +0 -466
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/java/src/json/ext/GeneratorMethods.java +0 -231
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/java/src/json/ext/GeneratorService.java +0 -42
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/java/src/json/ext/GeneratorState.java +0 -490
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/java/src/json/ext/OptionsReader.java +0 -113
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/java/src/json/ext/Parser.java +0 -2362
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/java/src/json/ext/Parser.rl +0 -893
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/java/src/json/ext/ParserService.java +0 -34
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/java/src/json/ext/RuntimeInfo.java +0 -116
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/java/src/json/ext/StringDecoder.java +0 -166
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/java/src/json/ext/StringEncoder.java +0 -111
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/java/src/json/ext/Utils.java +0 -88
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/json-java.gemspec +0 -37
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/json.gemspec +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/json_pure.gemspec +0 -38
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json.rb +0 -63
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/bigdecimal.rb +0 -29
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/complex.rb +0 -29
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/core.rb +0 -12
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/date.rb +0 -34
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/date_time.rb +0 -50
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/exception.rb +0 -31
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/ostruct.rb +0 -31
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/range.rb +0 -29
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/rational.rb +0 -28
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/regexp.rb +0 -30
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/set.rb +0 -29
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/struct.rb +0 -30
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/symbol.rb +0 -25
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/time.rb +0 -38
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/common.rb +0 -456
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/ext.rb +0 -15
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/ext/.keep +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/generic_object.rb +0 -71
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/pure.rb +0 -15
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/pure/generator.rb +0 -459
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/pure/parser.rb +0 -319
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/version.rb +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/references/rfc7159.txt +0 -899
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail10.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail11.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail12.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail13.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail14.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail18.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail19.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail2.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail20.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail21.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail22.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail23.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail24.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail25.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail27.json +0 -2
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail28.json +0 -2
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail3.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail4.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail5.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail6.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail7.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail8.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail9.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/obsolete_fail1.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/pass1.json +0 -56
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/pass15.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/pass16.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/pass17.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/pass2.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/pass26.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/pass3.json +0 -6
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/json_addition_test.rb +0 -203
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/json_common_interface_test.rb +0 -126
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/json_encoding_test.rb +0 -107
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/json_ext_parser_test.rb +0 -15
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/json_fixtures_test.rb +0 -32
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/json_generator_test.rb +0 -421
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/json_generic_object_test.rb +0 -82
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/json_parser_test.rb +0 -472
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/json_string_matching_test.rb +0 -38
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/test_helper.rb +0 -17
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tools/diff.sh +0 -18
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tools/fuzz.rb +0 -131
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tools/server.rb +0 -62
- data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/.concourse.yml +0 -83
- data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/.gitignore +0 -7
- data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/.travis.yml +0 -15
- data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/CHANGELOG.md +0 -209
- data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/Gemfile +0 -4
- data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/LICENSE.txt +0 -20
- data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/README.md +0 -245
- data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/Rakefile +0 -29
- data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/appveyor.yml +0 -25
- data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/concourse/mini_portile.yml +0 -141
- data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/concourse/tasks/rake-test/task.ps1 +0 -11
- data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/concourse/tasks/rake-test/task.sh +0 -13
- data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/lib/mini_portile2.rb +0 -3
- data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/lib/mini_portile2/mini_portile.rb +0 -556
- data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/lib/mini_portile2/mini_portile_cmake.rb +0 -40
- data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/lib/mini_portile2/version.rb +0 -3
- data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/mini_portile2.gemspec +0 -42
- data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/test/assets/git/config +0 -4
- data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/test/assets/gpg-fixtures/data +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/test/assets/gpg-fixtures/data.asc +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/test/assets/gpg-fixtures/data.invalid.asc +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/test/assets/patch 1.diff +0 -7
- data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/test/assets/test mini portile-1.0.0/configure +0 -11
- data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/test/assets/test-cmake-1.0/CMakeLists.txt +0 -7
- data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/test/assets/test-cmake-1.0/hello.c +0 -4
- data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/test/assets/test-download-archive.tar.gz +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/test/helper.rb +0 -60
- data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/test/test_cmake.rb +0 -64
- data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/test/test_cook.rb +0 -115
- data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/test/test_digest.rb +0 -215
- data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/test/test_download.rb +0 -71
- data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/test/test_proxy.rb +0 -121
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/LICENSE-DEPENDENCIES.md +0 -1614
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/LICENSE.md +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/README.md +0 -198
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/bin/nokogiri +0 -118
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/dependencies.yml +0 -74
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/.sitearchdir.-.nokogiri.time +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/Makefile +0 -626
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/depend +0 -358
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/extconf.rb +0 -686
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_document.c +0 -170
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_document.h +0 -10
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_document.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_element_description.c +0 -279
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_element_description.h +0 -10
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_element_description.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_entity_lookup.c +0 -32
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_entity_lookup.h +0 -8
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_entity_lookup.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_sax_parser_context.c +0 -116
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_sax_parser_context.h +0 -11
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_sax_parser_context.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_sax_push_parser.c +0 -87
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_sax_push_parser.h +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_sax_push_parser.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/nokogiri.bundle +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/nokogiri.c +0 -141
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/nokogiri.h +0 -121
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/nokogiri.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_attr.c +0 -103
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_attr.h +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_attr.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_attribute_decl.c +0 -70
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_attribute_decl.h +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_attribute_decl.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_cdata.c +0 -62
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_cdata.h +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_cdata.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_comment.c +0 -69
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_comment.h +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_comment.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_document.c +0 -608
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_document.h +0 -23
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_document.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_document_fragment.c +0 -48
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_document_fragment.h +0 -10
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_document_fragment.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_dtd.c +0 -202
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_dtd.h +0 -10
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_dtd.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_element_content.c +0 -123
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_element_content.h +0 -10
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_element_content.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_element_decl.c +0 -69
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_element_decl.h +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_element_decl.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_encoding_handler.c +0 -79
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_encoding_handler.h +0 -8
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_encoding_handler.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_entity_decl.c +0 -110
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_entity_decl.h +0 -10
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_entity_decl.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_entity_reference.c +0 -52
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_entity_reference.h +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_entity_reference.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_io.c +0 -61
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_io.h +0 -11
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_io.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_libxml2_hacks.c +0 -112
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_libxml2_hacks.h +0 -12
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_libxml2_hacks.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_namespace.c +0 -111
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_namespace.h +0 -14
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_namespace.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_node.c +0 -1753
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_node.h +0 -13
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_node.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_node_set.c +0 -486
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_node_set.h +0 -12
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_node_set.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_processing_instruction.c +0 -56
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_processing_instruction.h +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_processing_instruction.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_reader.c +0 -668
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_reader.h +0 -10
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_reader.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_relax_ng.c +0 -161
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_relax_ng.h +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_relax_ng.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_sax_parser.c +0 -310
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_sax_parser.h +0 -39
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_sax_parser.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_sax_parser_context.c +0 -262
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_sax_parser_context.h +0 -10
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_sax_parser_context.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_sax_push_parser.c +0 -159
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_sax_push_parser.h +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_sax_push_parser.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_schema.c +0 -234
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_schema.h +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_schema.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_syntax_error.c +0 -64
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_syntax_error.h +0 -13
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_syntax_error.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_text.c +0 -52
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_text.h +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_text.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_xpath_context.c +0 -298
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_xpath_context.h +0 -10
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_xpath_context.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xslt_stylesheet.c +0 -270
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xslt_stylesheet.h +0 -14
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xslt_stylesheet.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri.rb +0 -144
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/css.rb +0 -27
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/css/node.rb +0 -52
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/css/parser.rb +0 -750
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/css/parser.y +0 -272
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/css/parser_extras.rb +0 -91
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/css/syntax_error.rb +0 -7
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/css/tokenizer.rb +0 -153
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/css/tokenizer.rex +0 -55
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/css/xpath_visitor.rb +0 -230
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/decorators/slop.rb +0 -42
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html.rb +0 -37
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html/builder.rb +0 -35
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html/document.rb +0 -335
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html/document_fragment.rb +0 -49
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html/element_description.rb +0 -23
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html/element_description_defaults.rb +0 -671
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html/entity_lookup.rb +0 -13
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html/sax/parser.rb +0 -62
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html/sax/parser_context.rb +0 -16
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html/sax/push_parser.rb +0 -36
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/nokogiri.bundle +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/syntax_error.rb +0 -4
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/version.rb +0 -109
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml.rb +0 -75
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/attr.rb +0 -14
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/attribute_decl.rb +0 -18
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/builder.rb +0 -446
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/cdata.rb +0 -11
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/character_data.rb +0 -7
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/document.rb +0 -285
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/document_fragment.rb +0 -160
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/dtd.rb +0 -32
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/element_content.rb +0 -36
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/element_decl.rb +0 -13
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/entity_decl.rb +0 -19
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/entity_reference.rb +0 -18
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/namespace.rb +0 -13
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/node.rb +0 -902
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/node/save_options.rb +0 -61
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/node_set.rb +0 -371
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/notation.rb +0 -6
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/parse_options.rb +0 -120
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/pp.rb +0 -2
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/pp/character_data.rb +0 -18
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/pp/node.rb +0 -56
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/processing_instruction.rb +0 -8
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/reader.rb +0 -112
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/relax_ng.rb +0 -32
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/sax.rb +0 -4
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/sax/document.rb +0 -171
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/sax/parser.rb +0 -122
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/sax/parser_context.rb +0 -16
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/sax/push_parser.rb +0 -60
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/schema.rb +0 -63
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/searchable.rb +0 -230
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/syntax_error.rb +0 -70
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/text.rb +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/xpath.rb +0 -10
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/xpath/syntax_error.rb +0 -11
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/xpath_context.rb +0 -16
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xslt.rb +0 -56
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xslt/stylesheet.rb +0 -25
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/xsd/xmlparser/nokogiri.rb +0 -102
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/patches/libxml2/0001-Revert-Do-not-URI-escape-in-server-side-includes.patch +0 -78
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/patches/libxml2/0002-Remove-script-macro-support.patch +0 -40
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/patches/libxml2/0003-Update-entities-to-remove-handling-of-ssi.patch +0 -44
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/patches/libxml2/0004-libxml2.la-is-in-top_builddir.patch +0 -25
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/patches/libxml2/0005-Fix-infinite-loop-in-xmlStringLenDecodeEntities.patch +0 -32
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/.autotest +0 -7
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/.rubocop.yml +0 -27
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/.togglerc +0 -7
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/CONTRIBUTING.rdoc +0 -38
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/History.rdoc +0 -659
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/MIT-LICENSE +0 -21
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/Manifest.txt +0 -166
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/README.rdoc +0 -139
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/Rakefile +0 -81
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/bin/rake +0 -33
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/command_line_usage.rdoc +0 -158
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/example/Rakefile1 +0 -38
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/example/Rakefile2 +0 -35
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/example/a.c +0 -6
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/example/b.c +0 -6
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/example/main.c +0 -11
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/glossary.rdoc +0 -42
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/jamis.rb +0 -591
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/proto_rake.rdoc +0 -127
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/rake.1 +0 -141
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/rakefile.rdoc +0 -624
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/rational.rdoc +0 -151
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.4.14.rdoc +0 -23
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.4.15.rdoc +0 -35
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.5.0.rdoc +0 -53
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.5.3.rdoc +0 -78
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.5.4.rdoc +0 -46
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.6.0.rdoc +0 -141
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.7.0.rdoc +0 -119
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.7.1.rdoc +0 -59
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.7.2.rdoc +0 -121
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.7.3.rdoc +0 -47
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.8.0.rdoc +0 -114
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.8.2.rdoc +0 -165
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.8.3.rdoc +0 -112
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.8.4.rdoc +0 -147
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.8.5.rdoc +0 -53
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.8.6.rdoc +0 -37
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.8.7.rdoc +0 -55
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.9.0.rdoc +0 -112
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.9.1.rdoc +0 -52
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.9.2.2.rdoc +0 -55
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.9.2.rdoc +0 -49
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.9.3.rdoc +0 -102
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.9.4.rdoc +0 -60
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.9.5.rdoc +0 -55
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.9.6.rdoc +0 -64
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-10.0.0.rdoc +0 -178
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-10.0.1.rdoc +0 -58
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-10.0.2.rdoc +0 -53
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-10.0.3.rdoc +0 -191
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-10.1.0.rdoc +0 -61
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake.rb +0 -79
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/alt_system.rb +0 -110
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/application.rb +0 -790
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/backtrace.rb +0 -23
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/clean.rb +0 -76
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/cloneable.rb +0 -16
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/contrib/.document +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb +0 -21
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/contrib/ftptools.rb +0 -137
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/contrib/publisher.rb +0 -81
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/contrib/rubyforgepublisher.rb +0 -18
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/contrib/sshpublisher.rb +0 -61
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/contrib/sys.rb +0 -4
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/cpu_counter.rb +0 -125
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/default_loader.rb +0 -14
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/dsl_definition.rb +0 -201
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/early_time.rb +0 -21
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/ext/core.rb +0 -25
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/ext/module.rb +0 -2
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/ext/pathname.rb +0 -25
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/ext/string.rb +0 -175
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/ext/time.rb +0 -18
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/file_creation_task.rb +0 -24
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/file_list.rb +0 -428
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/file_task.rb +0 -46
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/file_utils.rb +0 -128
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/file_utils_ext.rb +0 -144
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/gempackagetask.rb +0 -4
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/invocation_chain.rb +0 -56
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/invocation_exception_mixin.rb +0 -16
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/late_time.rb +0 -17
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/linked_list.rb +0 -103
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/loaders/makefile.rb +0 -53
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/multi_task.rb +0 -13
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/name_space.rb +0 -38
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/packagetask.rb +0 -199
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/pathmap.rb +0 -3
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/phony.rb +0 -15
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/private_reader.rb +0 -20
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/promise.rb +0 -99
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/pseudo_status.rb +0 -29
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/rake_module.rb +0 -38
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/rake_test_loader.rb +0 -22
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/rdoctask.rb +0 -4
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/ruby182_test_unit_fix.rb +0 -29
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/rule_recursion_overflow_error.rb +0 -20
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/runtest.rb +0 -27
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/scope.rb +0 -42
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/task.rb +0 -383
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/task_argument_error.rb +0 -7
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/task_arguments.rb +0 -98
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/task_manager.rb +0 -307
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/tasklib.rb +0 -24
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/testtask.rb +0 -213
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/thread_history_display.rb +0 -48
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/thread_pool.rb +0 -164
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/trace_output.rb +0 -22
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/version.rb +0 -7
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/win32.rb +0 -56
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/rakelib/publish.rake +0 -20
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/rakelib/test_times.rake +0 -25
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/file_creation.rb +0 -34
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/helper.rb +0 -129
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/support/rakefile_definitions.rb +0 -478
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/support/ruby_runner.rb +0 -34
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_private_reader.rb +0 -42
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake.rb +0 -40
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_application.rb +0 -643
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_application_options.rb +0 -468
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_backtrace.rb +0 -119
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_clean.rb +0 -61
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_cpu_counter.rb +0 -68
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_definitions.rb +0 -84
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_directory_task.rb +0 -76
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_dsl.rb +0 -40
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_early_time.rb +0 -31
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_extension.rb +0 -59
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_file_creation_task.rb +0 -56
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_file_list.rb +0 -670
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_file_list_path_map.rb +0 -8
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_file_task.rb +0 -197
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_file_utils.rb +0 -314
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_ftp_file.rb +0 -74
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_functional.rb +0 -482
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_invocation_chain.rb +0 -64
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_late_time.rb +0 -18
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_linked_list.rb +0 -84
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_makefile_loader.rb +0 -46
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_multi_task.rb +0 -64
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_name_space.rb +0 -57
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_package_task.rb +0 -79
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_path_map.rb +0 -168
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_path_map_explode.rb +0 -34
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_path_map_partial.rb +0 -18
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_pathname_extensions.rb +0 -15
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_pseudo_status.rb +0 -21
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_rake_test_loader.rb +0 -20
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_reduce_compat.rb +0 -26
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_require.rb +0 -40
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_rules.rb +0 -388
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_scope.rb +0 -44
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_task.rb +0 -393
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_task_argument_parsing.rb +0 -119
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_task_arguments.rb +0 -127
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_task_lib.rb +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_task_manager.rb +0 -178
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_task_manager_argument_resolution.rb +0 -19
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_task_with_arguments.rb +0 -172
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_test_task.rb +0 -146
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_thread_pool.rb +0 -145
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_top_level_functions.rb +0 -71
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_win32.rb +0 -72
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_thread_history_display.rb +0 -101
- data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_trace_output.rb +0 -52
- data/vendor/bundle/ruby/2.5.0/gems/rspec-3.9.0/LICENSE.md +0 -27
- data/vendor/bundle/ruby/2.5.0/gems/rspec-3.9.0/README.md +0 -43
- data/vendor/bundle/ruby/2.5.0/gems/rspec-3.9.0/lib/rspec.rb +0 -3
- data/vendor/bundle/ruby/2.5.0/gems/rspec-3.9.0/lib/rspec/version.rb +0 -5
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/.document +0 -5
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/.yardopts +0 -8
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/Changelog.md +0 -2291
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/LICENSE.md +0 -26
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/README.md +0 -384
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/exe/rspec +0 -4
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/autorun.rb +0 -3
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core.rb +0 -186
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/backtrace_formatter.rb +0 -65
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/coordinator.rb +0 -62
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/example_minimizer.rb +0 -173
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/fork_runner.rb +0 -135
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/server.rb +0 -61
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/shell_command.rb +0 -126
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/shell_runner.rb +0 -73
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/utilities.rb +0 -58
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/configuration.rb +0 -2363
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/configuration_options.rb +0 -233
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/did_you_mean.rb +0 -46
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/drb.rb +0 -113
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/dsl.rb +0 -98
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/example.rb +0 -656
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/example_group.rb +0 -900
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/example_status_persister.rb +0 -235
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/filter_manager.rb +0 -231
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/flat_map.rb +0 -20
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters.rb +0 -273
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/base_bisect_formatter.rb +0 -45
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/base_formatter.rb +0 -70
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/base_text_formatter.rb +0 -75
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/bisect_drb_formatter.rb +0 -29
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/bisect_progress_formatter.rb +0 -157
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/console_codes.rb +0 -68
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/deprecation_formatter.rb +0 -223
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/documentation_formatter.rb +0 -102
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/exception_presenter.rb +0 -511
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/failure_list_formatter.rb +0 -23
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/fallback_message_formatter.rb +0 -28
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/helpers.rb +0 -110
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/html_formatter.rb +0 -153
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/html_printer.rb +0 -414
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/html_snippet_extractor.rb +0 -120
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/json_formatter.rb +0 -102
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/profile_formatter.rb +0 -68
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/progress_formatter.rb +0 -29
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/protocol.rb +0 -182
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/snippet_extractor.rb +0 -134
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/syntax_highlighter.rb +0 -91
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/hooks.rb +0 -641
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/invocations.rb +0 -87
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/memoized_helpers.rb +0 -554
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/metadata.rb +0 -498
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/metadata_filter.rb +0 -255
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/minitest_assertions_adapter.rb +0 -31
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/flexmock.rb +0 -31
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/mocha.rb +0 -57
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/null.rb +0 -14
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/rr.rb +0 -31
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/rspec.rb +0 -32
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/notifications.rb +0 -521
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/option_parser.rb +0 -316
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/ordering.rb +0 -158
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/output_wrapper.rb +0 -29
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/pending.rb +0 -165
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/profiler.rb +0 -34
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/project_initializer.rb +0 -48
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/project_initializer/.rspec +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/project_initializer/spec/spec_helper.rb +0 -100
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/rake_task.rb +0 -188
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/reporter.rb +0 -265
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/ruby_project.rb +0 -53
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/runner.rb +0 -204
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/sandbox.rb +0 -37
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/set.rb +0 -54
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/shared_context.rb +0 -55
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/shared_example_group.rb +0 -271
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/shell_escape.rb +0 -49
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/test_unit_assertions_adapter.rb +0 -30
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/version.rb +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/warnings.rb +0 -40
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/world.rb +0 -276
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/.document +0 -5
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/.yardopts +0 -6
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/Changelog.md +0 -1191
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/LICENSE.md +0 -25
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/README.md +0 -320
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations.rb +0 -82
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/block_snippet_extractor.rb +0 -253
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/configuration.rb +0 -215
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/expectation_target.rb +0 -127
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/fail_with.rb +0 -39
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/failure_aggregator.rb +0 -194
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/handler.rb +0 -170
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/minitest_integration.rb +0 -58
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/syntax.rb +0 -132
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/version.rb +0 -8
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers.rb +0 -1038
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/aliased_matcher.rb +0 -116
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in.rb +0 -52
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/all.rb +0 -86
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/base_matcher.rb +0 -193
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be.rb +0 -288
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be_between.rb +0 -77
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be_instance_of.rb +0 -26
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be_kind_of.rb +0 -20
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be_within.rb +0 -72
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/change.rb +0 -428
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/compound.rb +0 -276
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/contain_exactly.rb +0 -302
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/cover.rb +0 -24
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/eq.rb +0 -40
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/eql.rb +0 -34
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/equal.rb +0 -81
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/exist.rb +0 -90
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/has.rb +0 -103
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/have_attributes.rb +0 -114
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/include.rb +0 -149
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/match.rb +0 -106
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/operators.rb +0 -128
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/output.rb +0 -200
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/raise_error.rb +0 -230
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/respond_to.rb +0 -199
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/satisfy.rb +0 -60
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/start_or_end_with.rb +0 -94
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/throw_symbol.rb +0 -132
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/yield.rb +0 -441
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/composable.rb +0 -171
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/dsl.rb +0 -540
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/english_phrasing.rb +0 -58
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +0 -82
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/fail_matchers.rb +0 -42
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/generated_descriptions.rb +0 -41
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/matcher_delegator.rb +0 -35
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/matcher_protocol.rb +0 -99
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/.document +0 -5
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/.yardopts +0 -6
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/Changelog.md +0 -1133
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/LICENSE.md +0 -25
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/README.md +0 -463
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks.rb +0 -130
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance.rb +0 -11
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/chain.rb +0 -111
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/error_generator.rb +0 -31
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -31
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -50
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/message_chains.rb +0 -83
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/proxy.rb +0 -116
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/recorder.rb +0 -294
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/stub_chain.rb +0 -51
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -23
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/argument_list_matcher.rb +0 -100
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/argument_matchers.rb +0 -322
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/configuration.rb +0 -212
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/error_generator.rb +0 -369
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/example_methods.rb +0 -434
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/instance_method_stasher.rb +0 -146
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/marshal_extension.rb +0 -41
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/expectation_customization.rb +0 -20
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/have_received.rb +0 -134
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/receive.rb +0 -132
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -82
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/receive_messages.rb +0 -77
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/message_chain.rb +0 -87
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/message_expectation.rb +0 -751
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/method_double.rb +0 -287
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/method_reference.rb +0 -202
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/minitest_integration.rb +0 -68
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/mutate_const.rb +0 -339
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/object_reference.rb +0 -149
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/order_group.rb +0 -81
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/proxy.rb +0 -503
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/space.rb +0 -238
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/standalone.rb +0 -3
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/syntax.rb +0 -325
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/targets.rb +0 -124
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/test_double.rb +0 -171
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/verifying_double.rb +0 -129
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/verifying_message_expectation.rb +0 -54
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/verifying_proxy.rb +0 -220
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/version.rb +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/Changelog.md +0 -302
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/LICENSE.md +0 -23
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/README.md +0 -40
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support.rb +0 -149
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/caller_filter.rb +0 -83
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/comparable_version.rb +0 -46
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/differ.rb +0 -215
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/directory_maker.rb +0 -63
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/encoded_string.rb +0 -161
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/fuzzy_matcher.rb +0 -48
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/hunk_generator.rb +0 -47
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/matcher_definition.rb +0 -42
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/method_signature_verifier.rb +0 -438
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/mutex.rb +0 -73
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/object_formatter.rb +0 -275
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/recursive_const_methods.rb +0 -76
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/reentrant_mutex.rb +0 -61
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/ruby_features.rb +0 -190
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/source.rb +0 -75
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/source/location.rb +0 -21
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/source/node.rb +0 -110
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/source/token.rb +0 -87
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec.rb +0 -81
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/deprecation_helpers.rb +0 -64
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/formatting_support.rb +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/in_sub_process.rb +0 -69
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/library_wide_checks.rb +0 -150
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/shell_out.rb +0 -89
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/stderr_splitter.rb +0 -75
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/string_matcher.rb +0 -46
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/with_isolated_directory.rb +0 -13
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/with_isolated_stderr.rb +0 -13
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/version.rb +0 -7
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/warnings.rb +0 -39
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/with_keywords_when_needed.rb +0 -33
- data/vendor/bundle/ruby/2.5.0/specifications/diff-lcs-1.3.gemspec +0 -61
- data/vendor/bundle/ruby/2.5.0/specifications/httpclient-2.8.3.gemspec +0 -21
- data/vendor/bundle/ruby/2.5.0/specifications/json-2.3.0.gemspec +0 -0
- data/vendor/bundle/ruby/2.5.0/specifications/mini_portile2-2.4.0.gemspec +0 -48
- data/vendor/bundle/ruby/2.5.0/specifications/nokogiri-1.10.9.gemspec +0 -85
- data/vendor/bundle/ruby/2.5.0/specifications/rake-10.5.0.gemspec +0 -43
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-3.9.0.gemspec +0 -43
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-core-3.9.2.gemspec +0 -63
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-expectations-3.9.2.gemspec +0 -51
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-mocks-3.9.1.gemspec +0 -51
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-support-3.9.3.gemspec +0 -39
data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/snippet_extractor.rb
DELETED
@@ -1,134 +0,0 @@
|
|
1
|
-
module RSpec
|
2
|
-
module Core
|
3
|
-
module Formatters
|
4
|
-
# @private
|
5
|
-
class SnippetExtractor
|
6
|
-
NoSuchFileError = Class.new(StandardError)
|
7
|
-
NoSuchLineError = Class.new(StandardError)
|
8
|
-
|
9
|
-
def self.extract_line_at(file_path, line_number)
|
10
|
-
source = source_from_file(file_path)
|
11
|
-
line = source.lines[line_number - 1]
|
12
|
-
raise NoSuchLineError unless line
|
13
|
-
line
|
14
|
-
end
|
15
|
-
|
16
|
-
def self.source_from_file(path)
|
17
|
-
raise NoSuchFileError unless File.exist?(path)
|
18
|
-
RSpec.world.source_from_file(path)
|
19
|
-
end
|
20
|
-
|
21
|
-
if RSpec::Support::RubyFeatures.ripper_supported?
|
22
|
-
NoExpressionAtLineError = Class.new(StandardError)
|
23
|
-
|
24
|
-
attr_reader :source, :beginning_line_number, :max_line_count
|
25
|
-
|
26
|
-
def self.extract_expression_lines_at(file_path, beginning_line_number, max_line_count=nil)
|
27
|
-
if max_line_count == 1
|
28
|
-
[extract_line_at(file_path, beginning_line_number)]
|
29
|
-
else
|
30
|
-
source = source_from_file(file_path)
|
31
|
-
new(source, beginning_line_number, max_line_count).expression_lines
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
def initialize(source, beginning_line_number, max_line_count=nil)
|
36
|
-
@source = source
|
37
|
-
@beginning_line_number = beginning_line_number
|
38
|
-
@max_line_count = max_line_count
|
39
|
-
end
|
40
|
-
|
41
|
-
def expression_lines
|
42
|
-
line_range = line_range_of_expression
|
43
|
-
|
44
|
-
if max_line_count && line_range.count > max_line_count
|
45
|
-
line_range = (line_range.begin)..(line_range.begin + max_line_count - 1)
|
46
|
-
end
|
47
|
-
|
48
|
-
source.lines[(line_range.begin - 1)..(line_range.end - 1)]
|
49
|
-
rescue SyntaxError, NoExpressionAtLineError
|
50
|
-
[self.class.extract_line_at(source.path, beginning_line_number)]
|
51
|
-
end
|
52
|
-
|
53
|
-
private
|
54
|
-
|
55
|
-
def line_range_of_expression
|
56
|
-
@line_range_of_expression ||= begin
|
57
|
-
line_range = line_range_of_location_nodes_in_expression
|
58
|
-
initial_unclosed_tokens = unclosed_tokens_in_line_range(line_range)
|
59
|
-
unclosed_tokens = initial_unclosed_tokens
|
60
|
-
|
61
|
-
until (initial_unclosed_tokens & unclosed_tokens).empty?
|
62
|
-
line_range = (line_range.begin)..(line_range.end + 1)
|
63
|
-
unclosed_tokens = unclosed_tokens_in_line_range(line_range)
|
64
|
-
end
|
65
|
-
|
66
|
-
line_range
|
67
|
-
end
|
68
|
-
end
|
69
|
-
|
70
|
-
def unclosed_tokens_in_line_range(line_range)
|
71
|
-
tokens = FlatMap.flat_map(line_range) do |line_number|
|
72
|
-
source.tokens_by_line_number[line_number]
|
73
|
-
end
|
74
|
-
|
75
|
-
tokens.each_with_object([]) do |token, unclosed_tokens|
|
76
|
-
if token.opening?
|
77
|
-
unclosed_tokens << token
|
78
|
-
else
|
79
|
-
index = unclosed_tokens.rindex do |unclosed_token|
|
80
|
-
unclosed_token.closed_by?(token)
|
81
|
-
end
|
82
|
-
unclosed_tokens.delete_at(index) if index
|
83
|
-
end
|
84
|
-
end
|
85
|
-
end
|
86
|
-
|
87
|
-
def line_range_of_location_nodes_in_expression
|
88
|
-
line_numbers = expression_node.each_with_object(Set.new) do |node, set|
|
89
|
-
set << node.location.line if node.location
|
90
|
-
end
|
91
|
-
|
92
|
-
line_numbers.min..line_numbers.max
|
93
|
-
end
|
94
|
-
|
95
|
-
def expression_node
|
96
|
-
raise NoExpressionAtLineError if location_nodes_at_beginning_line.empty?
|
97
|
-
|
98
|
-
@expression_node ||= begin
|
99
|
-
common_ancestor_nodes = location_nodes_at_beginning_line.map do |node|
|
100
|
-
node.each_ancestor.to_a
|
101
|
-
end.reduce(:&)
|
102
|
-
|
103
|
-
common_ancestor_nodes.find { |node| expression_outmost_node?(node) }
|
104
|
-
end
|
105
|
-
end
|
106
|
-
|
107
|
-
def expression_outmost_node?(node)
|
108
|
-
return true unless node.parent
|
109
|
-
return false if node.type.to_s.start_with?('@')
|
110
|
-
![node, node.parent].all? do |n|
|
111
|
-
# See `Ripper::PARSER_EVENTS` for the complete list of sexp types.
|
112
|
-
type = n.type.to_s
|
113
|
-
type.end_with?('call') || type.start_with?('method_add_')
|
114
|
-
end
|
115
|
-
end
|
116
|
-
|
117
|
-
def location_nodes_at_beginning_line
|
118
|
-
source.nodes_by_line_number[beginning_line_number]
|
119
|
-
end
|
120
|
-
else
|
121
|
-
# :nocov:
|
122
|
-
def self.extract_expression_lines_at(file_path, beginning_line_number, *)
|
123
|
-
[extract_line_at(file_path, beginning_line_number)]
|
124
|
-
end
|
125
|
-
# :nocov:
|
126
|
-
end
|
127
|
-
|
128
|
-
def self.least_indentation_from(lines)
|
129
|
-
lines.map { |line| line[/^[ \t]*/] }.min
|
130
|
-
end
|
131
|
-
end
|
132
|
-
end
|
133
|
-
end
|
134
|
-
end
|
data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/syntax_highlighter.rb
DELETED
@@ -1,91 +0,0 @@
|
|
1
|
-
module RSpec
|
2
|
-
module Core
|
3
|
-
module Formatters
|
4
|
-
# @private
|
5
|
-
# Provides terminal syntax highlighting of code snippets
|
6
|
-
# when coderay is available.
|
7
|
-
class SyntaxHighlighter
|
8
|
-
def initialize(configuration)
|
9
|
-
@configuration = configuration
|
10
|
-
end
|
11
|
-
|
12
|
-
def highlight(lines)
|
13
|
-
implementation.highlight_syntax(lines)
|
14
|
-
end
|
15
|
-
|
16
|
-
# rubocop:disable Lint/RescueException
|
17
|
-
# rubocop:disable Lint/HandleExceptions
|
18
|
-
def self.attempt_to_add_rspec_terms_to_coderay_keywords
|
19
|
-
CodeRay::Scanners::Ruby::Patterns::IDENT_KIND.add(%w[
|
20
|
-
describe context
|
21
|
-
it specify
|
22
|
-
before after around
|
23
|
-
let subject
|
24
|
-
expect allow
|
25
|
-
], :keyword)
|
26
|
-
rescue Exception
|
27
|
-
# Mutating CodeRay's contants like this is not a public API
|
28
|
-
# and might not always work. If we cannot add our keywords
|
29
|
-
# to CodeRay it is not a big deal and not worth raising an
|
30
|
-
# error over, so we ignore it.
|
31
|
-
end
|
32
|
-
# rubocop:enable Lint/HandleExceptions
|
33
|
-
# rubocop:enable Lint/RescueException
|
34
|
-
|
35
|
-
private
|
36
|
-
|
37
|
-
if RSpec::Support::OS.windows?
|
38
|
-
# :nocov:
|
39
|
-
def implementation
|
40
|
-
WindowsImplementation
|
41
|
-
end
|
42
|
-
# :nocov:
|
43
|
-
else
|
44
|
-
def implementation
|
45
|
-
return color_enabled_implementation if @configuration.color_enabled?
|
46
|
-
NoSyntaxHighlightingImplementation
|
47
|
-
end
|
48
|
-
end
|
49
|
-
|
50
|
-
def color_enabled_implementation
|
51
|
-
@color_enabled_implementation ||= begin
|
52
|
-
require 'coderay'
|
53
|
-
self.class.attempt_to_add_rspec_terms_to_coderay_keywords
|
54
|
-
CodeRayImplementation
|
55
|
-
rescue LoadError
|
56
|
-
NoSyntaxHighlightingImplementation
|
57
|
-
end
|
58
|
-
end
|
59
|
-
|
60
|
-
# @private
|
61
|
-
module CodeRayImplementation
|
62
|
-
RESET_CODE = "\e[0m"
|
63
|
-
|
64
|
-
def self.highlight_syntax(lines)
|
65
|
-
highlighted = begin
|
66
|
-
CodeRay.encode(lines.join("\n"), :ruby, :terminal)
|
67
|
-
rescue Support::AllExceptionsExceptOnesWeMustNotRescue
|
68
|
-
return lines
|
69
|
-
end
|
70
|
-
|
71
|
-
highlighted.split("\n").map do |line|
|
72
|
-
line.sub(/\S/) { |char| char.insert(0, RESET_CODE) }
|
73
|
-
end
|
74
|
-
end
|
75
|
-
end
|
76
|
-
|
77
|
-
# @private
|
78
|
-
module NoSyntaxHighlightingImplementation
|
79
|
-
def self.highlight_syntax(lines)
|
80
|
-
lines
|
81
|
-
end
|
82
|
-
end
|
83
|
-
|
84
|
-
# @private
|
85
|
-
# Not sure why, but our code above (and/or coderay itself) does not work
|
86
|
-
# on Windows, so we disable the feature on Windows.
|
87
|
-
WindowsImplementation = NoSyntaxHighlightingImplementation
|
88
|
-
end
|
89
|
-
end
|
90
|
-
end
|
91
|
-
end
|
@@ -1,641 +0,0 @@
|
|
1
|
-
module RSpec
|
2
|
-
module Core
|
3
|
-
# Provides `before`, `after` and `around` hooks as a means of
|
4
|
-
# supporting common setup and teardown. This module is extended
|
5
|
-
# onto {ExampleGroup}, making the methods available from any `describe`
|
6
|
-
# or `context` block and included in {Configuration}, making them
|
7
|
-
# available off of the configuration object to define global setup
|
8
|
-
# or teardown logic.
|
9
|
-
module Hooks
|
10
|
-
# @api public
|
11
|
-
#
|
12
|
-
# @overload before(&block)
|
13
|
-
# @overload before(scope, &block)
|
14
|
-
# @param scope [Symbol] `:example`, `:context`, or `:suite`
|
15
|
-
# (defaults to `:example`)
|
16
|
-
# @overload before(scope, *conditions, &block)
|
17
|
-
# @param scope [Symbol] `:example`, `:context`, or `:suite`
|
18
|
-
# (defaults to `:example`)
|
19
|
-
# @param conditions [Array<Symbol>, Hash] constrains this hook to
|
20
|
-
# examples matching these conditions e.g.
|
21
|
-
# `before(:example, :ui => true) { ... }` will only run with examples
|
22
|
-
# or groups declared with `:ui => true`. Symbols will be transformed
|
23
|
-
# into hash entries with `true` values.
|
24
|
-
# @overload before(conditions, &block)
|
25
|
-
# @param conditions [Hash]
|
26
|
-
# constrains this hook to examples matching these conditions e.g.
|
27
|
-
# `before(:example, :ui => true) { ... }` will only run with examples
|
28
|
-
# or groups declared with `:ui => true`.
|
29
|
-
#
|
30
|
-
# @see #after
|
31
|
-
# @see #around
|
32
|
-
# @see ExampleGroup
|
33
|
-
# @see SharedContext
|
34
|
-
# @see SharedExampleGroup
|
35
|
-
# @see Configuration
|
36
|
-
#
|
37
|
-
# Declare a block of code to be run before each example (using `:example`)
|
38
|
-
# or once before any example (using `:context`). These are usually
|
39
|
-
# declared directly in the {ExampleGroup} to which they apply, but they
|
40
|
-
# can also be shared across multiple groups.
|
41
|
-
#
|
42
|
-
# You can also use `before(:suite)` to run a block of code before any
|
43
|
-
# example groups are run. This should be declared in {RSpec.configure}.
|
44
|
-
#
|
45
|
-
# Instance variables declared in `before(:example)` or `before(:context)`
|
46
|
-
# are accessible within each example.
|
47
|
-
#
|
48
|
-
# ### Order
|
49
|
-
#
|
50
|
-
# `before` hooks are stored in three scopes, which are run in order:
|
51
|
-
# `:suite`, `:context`, and `:example`. They can also be declared in
|
52
|
-
# several different places: `RSpec.configure`, a parent group, the current
|
53
|
-
# group. They are run in the following order:
|
54
|
-
#
|
55
|
-
# before(:suite) # Declared in RSpec.configure.
|
56
|
-
# before(:context) # Declared in RSpec.configure.
|
57
|
-
# before(:context) # Declared in a parent group.
|
58
|
-
# before(:context) # Declared in the current group.
|
59
|
-
# before(:example) # Declared in RSpec.configure.
|
60
|
-
# before(:example) # Declared in a parent group.
|
61
|
-
# before(:example) # Declared in the current group.
|
62
|
-
#
|
63
|
-
# If more than one `before` is declared within any one scope, they are run
|
64
|
-
# in the order in which they are declared. Any `around` hooks will execute
|
65
|
-
# later than any `before` hook regardless of scope.
|
66
|
-
#
|
67
|
-
# ### Conditions
|
68
|
-
#
|
69
|
-
# When you add a conditions hash to `before(:example)` or
|
70
|
-
# `before(:context)`, RSpec will only apply that hook to groups or
|
71
|
-
# examples that match the conditions. e.g.
|
72
|
-
#
|
73
|
-
# RSpec.configure do |config|
|
74
|
-
# config.before(:example, :authorized => true) do
|
75
|
-
# log_in_as :authorized_user
|
76
|
-
# end
|
77
|
-
# end
|
78
|
-
#
|
79
|
-
# RSpec.describe Something, :authorized => true do
|
80
|
-
# # The before hook will run in before each example in this group.
|
81
|
-
# end
|
82
|
-
#
|
83
|
-
# RSpec.describe SomethingElse do
|
84
|
-
# it "does something", :authorized => true do
|
85
|
-
# # The before hook will run before this example.
|
86
|
-
# end
|
87
|
-
#
|
88
|
-
# it "does something else" do
|
89
|
-
# # The hook will not run before this example.
|
90
|
-
# end
|
91
|
-
# end
|
92
|
-
#
|
93
|
-
# Note that filtered config `:context` hooks can still be applied
|
94
|
-
# to individual examples that have matching metadata. Just like
|
95
|
-
# Ruby's object model is that every object has a singleton class
|
96
|
-
# which has only a single instance, RSpec's model is that every
|
97
|
-
# example has a singleton example group containing just the one
|
98
|
-
# example.
|
99
|
-
#
|
100
|
-
# ### Warning: `before(:suite, :with => :conditions)`
|
101
|
-
#
|
102
|
-
# The conditions hash is used to match against specific examples. Since
|
103
|
-
# `before(:suite)` is not run in relation to any specific example or
|
104
|
-
# group, conditions passed along with `:suite` are effectively ignored.
|
105
|
-
#
|
106
|
-
# ### Exceptions
|
107
|
-
#
|
108
|
-
# When an exception is raised in a `before` block, RSpec skips any
|
109
|
-
# subsequent `before` blocks and the example, but runs all of the
|
110
|
-
# `after(:example)` and `after(:context)` hooks.
|
111
|
-
#
|
112
|
-
# ### Warning: implicit before blocks
|
113
|
-
#
|
114
|
-
# `before` hooks can also be declared in shared contexts which get
|
115
|
-
# included implicitly either by you or by extension libraries. Since
|
116
|
-
# RSpec runs these in the order in which they are declared within each
|
117
|
-
# scope, load order matters, and can lead to confusing results when one
|
118
|
-
# before block depends on state that is prepared in another before block
|
119
|
-
# that gets run later.
|
120
|
-
#
|
121
|
-
# ### Warning: `before(:context)`
|
122
|
-
#
|
123
|
-
# It is very tempting to use `before(:context)` to speed things up, but we
|
124
|
-
# recommend that you avoid this as there are a number of gotchas, as well
|
125
|
-
# as things that simply don't work.
|
126
|
-
#
|
127
|
-
# #### Context
|
128
|
-
#
|
129
|
-
# `before(:context)` is run in an example that is generated to provide
|
130
|
-
# group context for the block.
|
131
|
-
#
|
132
|
-
# #### Instance variables
|
133
|
-
#
|
134
|
-
# Instance variables declared in `before(:context)` are shared across all
|
135
|
-
# the examples in the group. This means that each example can change the
|
136
|
-
# state of a shared object, resulting in an ordering dependency that can
|
137
|
-
# make it difficult to reason about failures.
|
138
|
-
#
|
139
|
-
# #### Unsupported RSpec constructs
|
140
|
-
#
|
141
|
-
# RSpec has several constructs that reset state between each example
|
142
|
-
# automatically. These are not intended for use from within
|
143
|
-
# `before(:context)`:
|
144
|
-
#
|
145
|
-
# * `let` declarations
|
146
|
-
# * `subject` declarations
|
147
|
-
# * Any mocking, stubbing or test double declaration
|
148
|
-
#
|
149
|
-
# ### other frameworks
|
150
|
-
#
|
151
|
-
# Mock object frameworks and database transaction managers (like
|
152
|
-
# ActiveRecord) are typically designed around the idea of setting up
|
153
|
-
# before an example, running that one example, and then tearing down. This
|
154
|
-
# means that mocks and stubs can (sometimes) be declared in
|
155
|
-
# `before(:context)`, but get torn down before the first real example is
|
156
|
-
# ever run.
|
157
|
-
#
|
158
|
-
# You _can_ create database-backed model objects in a `before(:context)`
|
159
|
-
# in rspec-rails, but it will not be wrapped in a transaction for you, so
|
160
|
-
# you are on your own to clean up in an `after(:context)` block.
|
161
|
-
#
|
162
|
-
# @example before(:example) declared in an {ExampleGroup}
|
163
|
-
#
|
164
|
-
# RSpec.describe Thing do
|
165
|
-
# before(:example) do
|
166
|
-
# @thing = Thing.new
|
167
|
-
# end
|
168
|
-
#
|
169
|
-
# it "does something" do
|
170
|
-
# # Here you can access @thing.
|
171
|
-
# end
|
172
|
-
# end
|
173
|
-
#
|
174
|
-
# @example before(:context) declared in an {ExampleGroup}
|
175
|
-
#
|
176
|
-
# RSpec.describe Parser do
|
177
|
-
# before(:context) do
|
178
|
-
# File.open(file_to_parse, 'w') do |f|
|
179
|
-
# f.write <<-CONTENT
|
180
|
-
# stuff in the file
|
181
|
-
# CONTENT
|
182
|
-
# end
|
183
|
-
# end
|
184
|
-
#
|
185
|
-
# it "parses the file" do
|
186
|
-
# Parser.parse(file_to_parse)
|
187
|
-
# end
|
188
|
-
#
|
189
|
-
# after(:context) do
|
190
|
-
# File.delete(file_to_parse)
|
191
|
-
# end
|
192
|
-
# end
|
193
|
-
#
|
194
|
-
# @note The `:example` and `:context` scopes are also available as
|
195
|
-
# `:each` and `:all`, respectively. Use whichever you prefer.
|
196
|
-
# @note The `:suite` scope is only supported for hooks registered on
|
197
|
-
# `RSpec.configuration` since they exist independently of any
|
198
|
-
# example or example group.
|
199
|
-
def before(*args, &block)
|
200
|
-
hooks.register :append, :before, *args, &block
|
201
|
-
end
|
202
|
-
|
203
|
-
alias_method :append_before, :before
|
204
|
-
|
205
|
-
# Adds `block` to the front of the list of `before` blocks in the same
|
206
|
-
# scope (`:example`, `:context`, or `:suite`).
|
207
|
-
#
|
208
|
-
# See {#before} for scoping semantics.
|
209
|
-
def prepend_before(*args, &block)
|
210
|
-
hooks.register :prepend, :before, *args, &block
|
211
|
-
end
|
212
|
-
|
213
|
-
# @api public
|
214
|
-
# @overload after(&block)
|
215
|
-
# @overload after(scope, &block)
|
216
|
-
# @param scope [Symbol] `:example`, `:context`, or `:suite` (defaults to
|
217
|
-
# `:example`)
|
218
|
-
# @overload after(scope, *conditions, &block)
|
219
|
-
# @param scope [Symbol] `:example`, `:context`, or `:suite` (defaults to
|
220
|
-
# `:example`)
|
221
|
-
# @param conditions [Array<Symbol>, Hash] constrains this hook to
|
222
|
-
# examples matching these conditions e.g.
|
223
|
-
# `after(:example, :ui => true) { ... }` will only run with examples
|
224
|
-
# or groups declared with `:ui => true`. Symbols will be transformed
|
225
|
-
# into hash entries with `true` values.
|
226
|
-
# @overload after(conditions, &block)
|
227
|
-
# @param conditions [Hash]
|
228
|
-
# constrains this hook to examples matching these conditions e.g.
|
229
|
-
# `after(:example, :ui => true) { ... }` will only run with examples
|
230
|
-
# or groups declared with `:ui => true`.
|
231
|
-
#
|
232
|
-
# @see #before
|
233
|
-
# @see #around
|
234
|
-
# @see ExampleGroup
|
235
|
-
# @see SharedContext
|
236
|
-
# @see SharedExampleGroup
|
237
|
-
# @see Configuration
|
238
|
-
#
|
239
|
-
# Declare a block of code to be run after each example (using `:example`)
|
240
|
-
# or once after all examples n the context (using `:context`). See
|
241
|
-
# {#before} for more information about ordering.
|
242
|
-
#
|
243
|
-
# ### Exceptions
|
244
|
-
#
|
245
|
-
# `after` hooks are guaranteed to run even when there are exceptions in
|
246
|
-
# `before` hooks or examples. When an exception is raised in an after
|
247
|
-
# block, the exception is captured for later reporting, and subsequent
|
248
|
-
# `after` blocks are run.
|
249
|
-
#
|
250
|
-
# ### Order
|
251
|
-
#
|
252
|
-
# `after` hooks are stored in three scopes, which are run in order:
|
253
|
-
# `:example`, `:context`, and `:suite`. They can also be declared in
|
254
|
-
# several different places: `RSpec.configure`, a parent group, the current
|
255
|
-
# group. They are run in the following order:
|
256
|
-
#
|
257
|
-
# after(:example) # Declared in the current group.
|
258
|
-
# after(:example) # Declared in a parent group.
|
259
|
-
# after(:example) # Declared in RSpec.configure.
|
260
|
-
# after(:context) # Declared in the current group.
|
261
|
-
# after(:context) # Declared in a parent group.
|
262
|
-
# after(:context) # Declared in RSpec.configure.
|
263
|
-
# after(:suite) # Declared in RSpec.configure.
|
264
|
-
#
|
265
|
-
# This is the reverse of the order in which `before` hooks are run.
|
266
|
-
# Similarly, if more than one `after` is declared within any one scope,
|
267
|
-
# they are run in reverse order of that in which they are declared. Also
|
268
|
-
# `around` hooks will all have run before any after hooks are invoked.
|
269
|
-
#
|
270
|
-
# @note The `:example` and `:context` scopes are also available as
|
271
|
-
# `:each` and `:all`, respectively. Use whichever you prefer.
|
272
|
-
# @note The `:suite` scope is only supported for hooks registered on
|
273
|
-
# `RSpec.configuration` since they exist independently of any
|
274
|
-
# example or example group.
|
275
|
-
def after(*args, &block)
|
276
|
-
hooks.register :prepend, :after, *args, &block
|
277
|
-
end
|
278
|
-
|
279
|
-
alias_method :prepend_after, :after
|
280
|
-
|
281
|
-
# Adds `block` to the back of the list of `after` blocks in the same
|
282
|
-
# scope (`:example`, `:context`, or `:suite`).
|
283
|
-
#
|
284
|
-
# See {#after} for scoping semantics.
|
285
|
-
def append_after(*args, &block)
|
286
|
-
hooks.register :append, :after, *args, &block
|
287
|
-
end
|
288
|
-
|
289
|
-
# @api public
|
290
|
-
# @overload around(&block)
|
291
|
-
# @overload around(scope, &block)
|
292
|
-
# @param scope [Symbol] `:example` (defaults to `:example`)
|
293
|
-
# present for syntax parity with `before` and `after`, but
|
294
|
-
# `:example`/`:each` is the only supported value.
|
295
|
-
# @overload around(scope, *conditions, &block)
|
296
|
-
# @param scope [Symbol] `:example` (defaults to `:example`)
|
297
|
-
# present for syntax parity with `before` and `after`, but
|
298
|
-
# `:example`/`:each` is the only supported value.
|
299
|
-
# @param conditions [Array<Symbol>, Hash] constrains this hook to
|
300
|
-
# examples matching these conditions e.g.
|
301
|
-
# `around(:example, :ui => true) { ... }` will only run with examples
|
302
|
-
# or groups declared with `:ui => true`. Symbols will be transformed
|
303
|
-
# into hash entries with `true` values.
|
304
|
-
# @overload around(conditions, &block)
|
305
|
-
# @param conditions [Hash] constrains this hook to examples matching
|
306
|
-
# these conditions e.g. `around(:example, :ui => true) { ... }` will
|
307
|
-
# only run with examples or groups declared with `:ui => true`.
|
308
|
-
#
|
309
|
-
# @yield [Example] the example to run
|
310
|
-
#
|
311
|
-
# @note the syntax of `around` is similar to that of `before` and `after`
|
312
|
-
# but the semantics are quite different. `before` and `after` hooks are
|
313
|
-
# run in the context of of the examples with which they are associated,
|
314
|
-
# whereas `around` hooks are actually responsible for running the
|
315
|
-
# examples. Consequently, `around` hooks do not have direct access to
|
316
|
-
# resources that are made available within the examples and their
|
317
|
-
# associated `before` and `after` hooks.
|
318
|
-
#
|
319
|
-
# @note `:example`/`:each` is the only supported scope.
|
320
|
-
#
|
321
|
-
# Declare a block of code, parts of which will be run before and parts
|
322
|
-
# after the example. It is your responsibility to run the example:
|
323
|
-
#
|
324
|
-
# around(:example) do |ex|
|
325
|
-
# # Do some stuff before.
|
326
|
-
# ex.run
|
327
|
-
# # Do some stuff after.
|
328
|
-
# end
|
329
|
-
#
|
330
|
-
# The yielded example aliases `run` with `call`, which lets you treat it
|
331
|
-
# like a `Proc`. This is especially handy when working with libraries
|
332
|
-
# that manage their own setup and teardown using a block or proc syntax,
|
333
|
-
# e.g.
|
334
|
-
#
|
335
|
-
# around(:example) {|ex| Database.transaction(&ex)}
|
336
|
-
# around(:example) {|ex| FakeFS(&ex)}
|
337
|
-
#
|
338
|
-
# ### Order
|
339
|
-
#
|
340
|
-
# All `around` hooks execute immediately surrounding an example, this means
|
341
|
-
# that all `before` hooks will have run and no `after` hooks will have run yet.
|
342
|
-
#
|
343
|
-
# They are not a synonym for `before`/`after`.
|
344
|
-
def around(*args, &block)
|
345
|
-
hooks.register :prepend, :around, *args, &block
|
346
|
-
end
|
347
|
-
|
348
|
-
# @private
|
349
|
-
# Holds the various registered hooks.
|
350
|
-
def hooks
|
351
|
-
@hooks ||= HookCollections.new(self, FilterableItemRepository::UpdateOptimized)
|
352
|
-
end
|
353
|
-
|
354
|
-
# @private
|
355
|
-
Hook = Struct.new(:block, :options)
|
356
|
-
|
357
|
-
# @private
|
358
|
-
class BeforeHook < Hook
|
359
|
-
def run(example)
|
360
|
-
example.instance_exec(example, &block)
|
361
|
-
end
|
362
|
-
end
|
363
|
-
|
364
|
-
# @private
|
365
|
-
class AfterHook < Hook
|
366
|
-
def run(example)
|
367
|
-
example.instance_exec(example, &block)
|
368
|
-
rescue Support::AllExceptionsExceptOnesWeMustNotRescue => ex
|
369
|
-
example.set_exception(ex)
|
370
|
-
end
|
371
|
-
end
|
372
|
-
|
373
|
-
# @private
|
374
|
-
class AfterContextHook < Hook
|
375
|
-
def run(example)
|
376
|
-
example.instance_exec(example, &block)
|
377
|
-
rescue Support::AllExceptionsExceptOnesWeMustNotRescue => e
|
378
|
-
RSpec.configuration.reporter.notify_non_example_exception(e, "An error occurred in an `after(:context)` hook.")
|
379
|
-
end
|
380
|
-
end
|
381
|
-
|
382
|
-
# @private
|
383
|
-
class AroundHook < Hook
|
384
|
-
def execute_with(example, procsy)
|
385
|
-
example.instance_exec(procsy, &block)
|
386
|
-
return if procsy.executed?
|
387
|
-
Pending.mark_skipped!(example,
|
388
|
-
"#{hook_description} did not execute the example")
|
389
|
-
end
|
390
|
-
|
391
|
-
if Proc.method_defined?(:source_location)
|
392
|
-
def hook_description
|
393
|
-
"around hook at #{Metadata.relative_path(block.source_location.join(':'))}"
|
394
|
-
end
|
395
|
-
else # for 1.8.7
|
396
|
-
# :nocov:
|
397
|
-
def hook_description
|
398
|
-
"around hook"
|
399
|
-
end
|
400
|
-
# :nocov:
|
401
|
-
end
|
402
|
-
end
|
403
|
-
|
404
|
-
# @private
|
405
|
-
#
|
406
|
-
# This provides the primary API used by other parts of rspec-core. By hiding all
|
407
|
-
# implementation details behind this facade, it's allowed us to heavily optimize
|
408
|
-
# this, so that, for example, hook collection objects are only instantiated when
|
409
|
-
# a hook is added. This allows us to avoid many object allocations for the common
|
410
|
-
# case of a group having no hooks.
|
411
|
-
#
|
412
|
-
# This is only possible because this interface provides a "tell, don't ask"-style
|
413
|
-
# API, so that callers _tell_ this class what to do with the hooks, rather than
|
414
|
-
# asking this class for a list of hooks, and then doing something with them.
|
415
|
-
class HookCollections
|
416
|
-
def initialize(owner, filterable_item_repo_class)
|
417
|
-
@owner = owner
|
418
|
-
@filterable_item_repo_class = filterable_item_repo_class
|
419
|
-
@before_example_hooks = nil
|
420
|
-
@after_example_hooks = nil
|
421
|
-
@before_context_hooks = nil
|
422
|
-
@after_context_hooks = nil
|
423
|
-
@around_example_hooks = nil
|
424
|
-
end
|
425
|
-
|
426
|
-
def register_globals(host, globals)
|
427
|
-
parent_groups = host.parent_groups
|
428
|
-
|
429
|
-
process(host, parent_groups, globals, :before, :example, &:options)
|
430
|
-
process(host, parent_groups, globals, :after, :example, &:options)
|
431
|
-
process(host, parent_groups, globals, :around, :example, &:options)
|
432
|
-
|
433
|
-
process(host, parent_groups, globals, :before, :context, &:options)
|
434
|
-
process(host, parent_groups, globals, :after, :context, &:options)
|
435
|
-
end
|
436
|
-
|
437
|
-
def register_global_singleton_context_hooks(example, globals)
|
438
|
-
parent_groups = example.example_group.parent_groups
|
439
|
-
|
440
|
-
process(example, parent_groups, globals, :before, :context) { {} }
|
441
|
-
process(example, parent_groups, globals, :after, :context) { {} }
|
442
|
-
end
|
443
|
-
|
444
|
-
def register(prepend_or_append, position, *args, &block)
|
445
|
-
scope, options = scope_and_options_from(*args)
|
446
|
-
|
447
|
-
if scope == :suite
|
448
|
-
# TODO: consider making this an error in RSpec 4. For SemVer reasons,
|
449
|
-
# we are only warning in RSpec 3.
|
450
|
-
RSpec.warn_with "WARNING: `#{position}(:suite)` hooks are only supported on " \
|
451
|
-
"the RSpec configuration object. This " \
|
452
|
-
"`#{position}(:suite)` hook, registered on an example " \
|
453
|
-
"group, will be ignored."
|
454
|
-
return
|
455
|
-
elsif scope == :context && position == :around
|
456
|
-
# TODO: consider making this an error in RSpec 4. For SemVer reasons,
|
457
|
-
# we are only warning in RSpec 3.
|
458
|
-
RSpec.warn_with "WARNING: `around(:context)` hooks are not supported and " \
|
459
|
-
"behave like `around(:example)."
|
460
|
-
end
|
461
|
-
|
462
|
-
hook = HOOK_TYPES[position][scope].new(block, options)
|
463
|
-
ensure_hooks_initialized_for(position, scope).__send__(prepend_or_append, hook, options)
|
464
|
-
end
|
465
|
-
|
466
|
-
# @private
|
467
|
-
#
|
468
|
-
# Runs all of the blocks stored with the hook in the context of the
|
469
|
-
# example. If no example is provided, just calls the hook directly.
|
470
|
-
def run(position, scope, example_or_group)
|
471
|
-
return if RSpec.configuration.dry_run?
|
472
|
-
|
473
|
-
if scope == :context
|
474
|
-
unless example_or_group.class.metadata[:skip]
|
475
|
-
run_owned_hooks_for(position, :context, example_or_group)
|
476
|
-
end
|
477
|
-
else
|
478
|
-
case position
|
479
|
-
when :before then run_example_hooks_for(example_or_group, :before, :reverse_each)
|
480
|
-
when :after then run_example_hooks_for(example_or_group, :after, :each)
|
481
|
-
when :around then run_around_example_hooks_for(example_or_group) { yield }
|
482
|
-
end
|
483
|
-
end
|
484
|
-
end
|
485
|
-
|
486
|
-
SCOPES = [:example, :context]
|
487
|
-
|
488
|
-
SCOPE_ALIASES = { :each => :example, :all => :context }
|
489
|
-
|
490
|
-
HOOK_TYPES = {
|
491
|
-
:before => Hash.new { BeforeHook },
|
492
|
-
:after => Hash.new { AfterHook },
|
493
|
-
:around => Hash.new { AroundHook }
|
494
|
-
}
|
495
|
-
|
496
|
-
HOOK_TYPES[:after][:context] = AfterContextHook
|
497
|
-
|
498
|
-
protected
|
499
|
-
|
500
|
-
EMPTY_HOOK_ARRAY = [].freeze
|
501
|
-
|
502
|
-
def matching_hooks_for(position, scope, example_or_group)
|
503
|
-
repository = hooks_for(position, scope) { return EMPTY_HOOK_ARRAY }
|
504
|
-
|
505
|
-
# It would be nice to not have to switch on type here, but
|
506
|
-
# we don't want to define `ExampleGroup#metadata` because then
|
507
|
-
# `metadata` from within an individual example would return the
|
508
|
-
# group's metadata but the user would probably expect it to be
|
509
|
-
# the example's metadata.
|
510
|
-
metadata = case example_or_group
|
511
|
-
when ExampleGroup then example_or_group.class.metadata
|
512
|
-
else example_or_group.metadata
|
513
|
-
end
|
514
|
-
|
515
|
-
repository.items_for(metadata)
|
516
|
-
end
|
517
|
-
|
518
|
-
def all_hooks_for(position, scope)
|
519
|
-
hooks_for(position, scope) { return EMPTY_HOOK_ARRAY }.items_and_filters.map(&:first)
|
520
|
-
end
|
521
|
-
|
522
|
-
def run_owned_hooks_for(position, scope, example_or_group)
|
523
|
-
matching_hooks_for(position, scope, example_or_group).each do |hook|
|
524
|
-
hook.run(example_or_group)
|
525
|
-
end
|
526
|
-
end
|
527
|
-
|
528
|
-
def processable_hooks_for(position, scope, host)
|
529
|
-
if scope == :example
|
530
|
-
all_hooks_for(position, scope)
|
531
|
-
else
|
532
|
-
matching_hooks_for(position, scope, host)
|
533
|
-
end
|
534
|
-
end
|
535
|
-
|
536
|
-
private
|
537
|
-
|
538
|
-
def hooks_for(position, scope)
|
539
|
-
if position == :before
|
540
|
-
scope == :example ? @before_example_hooks : @before_context_hooks
|
541
|
-
elsif position == :after
|
542
|
-
scope == :example ? @after_example_hooks : @after_context_hooks
|
543
|
-
else # around
|
544
|
-
@around_example_hooks
|
545
|
-
end || yield
|
546
|
-
end
|
547
|
-
|
548
|
-
def ensure_hooks_initialized_for(position, scope)
|
549
|
-
if position == :before
|
550
|
-
if scope == :example
|
551
|
-
@before_example_hooks ||= @filterable_item_repo_class.new(:all?)
|
552
|
-
else
|
553
|
-
@before_context_hooks ||= @filterable_item_repo_class.new(:all?)
|
554
|
-
end
|
555
|
-
elsif position == :after
|
556
|
-
if scope == :example
|
557
|
-
@after_example_hooks ||= @filterable_item_repo_class.new(:all?)
|
558
|
-
else
|
559
|
-
@after_context_hooks ||= @filterable_item_repo_class.new(:all?)
|
560
|
-
end
|
561
|
-
else # around
|
562
|
-
@around_example_hooks ||= @filterable_item_repo_class.new(:all?)
|
563
|
-
end
|
564
|
-
end
|
565
|
-
|
566
|
-
def process(host, parent_groups, globals, position, scope)
|
567
|
-
hooks_to_process = globals.processable_hooks_for(position, scope, host)
|
568
|
-
return if hooks_to_process.empty?
|
569
|
-
|
570
|
-
hooks_to_process -= FlatMap.flat_map(parent_groups) do |group|
|
571
|
-
group.hooks.all_hooks_for(position, scope)
|
572
|
-
end
|
573
|
-
return if hooks_to_process.empty?
|
574
|
-
|
575
|
-
repository = ensure_hooks_initialized_for(position, scope)
|
576
|
-
hooks_to_process.each { |hook| repository.append hook, (yield hook) }
|
577
|
-
end
|
578
|
-
|
579
|
-
def scope_and_options_from(*args)
|
580
|
-
return :suite if args.first == :suite
|
581
|
-
scope = extract_scope_from(args)
|
582
|
-
meta = Metadata.build_hash_from(args, :warn_about_example_group_filtering)
|
583
|
-
return scope, meta
|
584
|
-
end
|
585
|
-
|
586
|
-
def extract_scope_from(args)
|
587
|
-
if known_scope?(args.first)
|
588
|
-
normalized_scope_for(args.shift)
|
589
|
-
elsif args.any? { |a| a.is_a?(Symbol) }
|
590
|
-
error_message = "You must explicitly give a scope " \
|
591
|
-
"(#{SCOPES.join(", ")}) or scope alias " \
|
592
|
-
"(#{SCOPE_ALIASES.keys.join(", ")}) when using symbols as " \
|
593
|
-
"metadata for a hook."
|
594
|
-
raise ArgumentError.new error_message
|
595
|
-
else
|
596
|
-
:example
|
597
|
-
end
|
598
|
-
end
|
599
|
-
|
600
|
-
def known_scope?(scope)
|
601
|
-
SCOPES.include?(scope) || SCOPE_ALIASES.keys.include?(scope)
|
602
|
-
end
|
603
|
-
|
604
|
-
def normalized_scope_for(scope)
|
605
|
-
SCOPE_ALIASES[scope] || scope
|
606
|
-
end
|
607
|
-
|
608
|
-
def run_example_hooks_for(example, position, each_method)
|
609
|
-
owner_parent_groups.__send__(each_method) do |group|
|
610
|
-
group.hooks.run_owned_hooks_for(position, :example, example)
|
611
|
-
end
|
612
|
-
end
|
613
|
-
|
614
|
-
def run_around_example_hooks_for(example)
|
615
|
-
hooks = FlatMap.flat_map(owner_parent_groups) do |group|
|
616
|
-
group.hooks.matching_hooks_for(:around, :example, example)
|
617
|
-
end
|
618
|
-
|
619
|
-
return yield if hooks.empty? # exit early to avoid the extra allocation cost of `Example::Procsy`
|
620
|
-
|
621
|
-
initial_procsy = Example::Procsy.new(example) { yield }
|
622
|
-
hooks.inject(initial_procsy) do |procsy, around_hook|
|
623
|
-
procsy.wrap { around_hook.execute_with(example, procsy) }
|
624
|
-
end.call
|
625
|
-
end
|
626
|
-
|
627
|
-
if respond_to?(:singleton_class) && singleton_class.ancestors.include?(singleton_class)
|
628
|
-
def owner_parent_groups
|
629
|
-
@owner.parent_groups
|
630
|
-
end
|
631
|
-
else # Ruby < 2.1 (see https://bugs.ruby-lang.org/issues/8035)
|
632
|
-
# :nocov:
|
633
|
-
def owner_parent_groups
|
634
|
-
@owner_parent_groups ||= [@owner] + @owner.parent_groups
|
635
|
-
end
|
636
|
-
# :nocov:
|
637
|
-
end
|
638
|
-
end
|
639
|
-
end
|
640
|
-
end
|
641
|
-
end
|