video_chat_get 0.1.9 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (853) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/Gemfile.lock +3 -3
  4. data/lib/video_chat_get/version.rb +1 -1
  5. metadata +1 -849
  6. data/vendor/bundle/ruby/2.5.0/bin/htmldiff +0 -29
  7. data/vendor/bundle/ruby/2.5.0/bin/httpclient +0 -27
  8. data/vendor/bundle/ruby/2.5.0/bin/ldiff +0 -29
  9. data/vendor/bundle/ruby/2.5.0/bin/nokogiri +0 -27
  10. data/vendor/bundle/ruby/2.5.0/bin/rake +0 -27
  11. data/vendor/bundle/ruby/2.5.0/bin/rspec +0 -27
  12. data/vendor/bundle/ruby/2.5.0/bin/videochatget +0 -27
  13. data/vendor/bundle/ruby/2.5.0/cache/diff-lcs-1.3.gem +0 -0
  14. data/vendor/bundle/ruby/2.5.0/cache/httpclient-2.8.3.gem +0 -0
  15. data/vendor/bundle/ruby/2.5.0/cache/json-2.3.0.gem +0 -0
  16. data/vendor/bundle/ruby/2.5.0/cache/mini_portile2-2.4.0.gem +0 -0
  17. data/vendor/bundle/ruby/2.5.0/cache/nokogiri-1.10.9.gem +0 -0
  18. data/vendor/bundle/ruby/2.5.0/cache/rake-10.5.0.gem +0 -0
  19. data/vendor/bundle/ruby/2.5.0/cache/rspec-3.9.0.gem +0 -0
  20. data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.9.2.gem +0 -0
  21. data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.9.2.gem +0 -0
  22. data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.9.1.gem +0 -0
  23. data/vendor/bundle/ruby/2.5.0/cache/rspec-support-3.9.3.gem +0 -0
  24. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-18/2.5.0/json-2.3.0/gem.build_complete +0 -0
  25. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-18/2.5.0/json-2.3.0/gem_make.out +0 -13
  26. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-18/2.5.0/json-2.3.0/json/ext/generator.bundle +0 -0
  27. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-18/2.5.0/json-2.3.0/json/ext/parser.bundle +0 -0
  28. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-18/2.5.0/json-2.3.0/mkmf.log +0 -60
  29. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-18/2.5.0/nokogiri-1.10.9/gem.build_complete +0 -0
  30. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-18/2.5.0/nokogiri-1.10.9/gem_make.out +0 -155
  31. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-18/2.5.0/nokogiri-1.10.9/mkmf.log +0 -542
  32. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-18/2.5.0/nokogiri-1.10.9/nokogiri/nokogiri.bundle +0 -0
  33. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/.rspec +0 -1
  34. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/Code-of-Conduct.md +0 -74
  35. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/Contributing.md +0 -83
  36. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/History.md +0 -220
  37. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/License.md +0 -39
  38. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/Manifest.txt +0 -37
  39. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/README.rdoc +0 -84
  40. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/Rakefile +0 -57
  41. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/autotest/discover.rb +0 -1
  42. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/bin/htmldiff +0 -32
  43. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/bin/ldiff +0 -6
  44. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/docs/COPYING.txt +0 -339
  45. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/docs/artistic.txt +0 -127
  46. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff-lcs.rb +0 -3
  47. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs.rb +0 -725
  48. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/array.rb +0 -7
  49. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/block.rb +0 -37
  50. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/callbacks.rb +0 -322
  51. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/change.rb +0 -181
  52. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/htmldiff.rb +0 -149
  53. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/hunk.rb +0 -276
  54. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/internals.rb +0 -307
  55. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/ldiff.rb +0 -167
  56. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/string.rb +0 -5
  57. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/change_spec.rb +0 -65
  58. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/diff_spec.rb +0 -47
  59. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/fixtures/ds1.csv +0 -50
  60. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/fixtures/ds2.csv +0 -51
  61. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/hunk_spec.rb +0 -72
  62. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/issues_spec.rb +0 -49
  63. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/lcs_spec.rb +0 -56
  64. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/ldiff_spec.rb +0 -47
  65. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/patch_spec.rb +0 -422
  66. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/sdiff_spec.rb +0 -214
  67. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/spec_helper.rb +0 -321
  68. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/traverse_balanced_spec.rb +0 -310
  69. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/traverse_sequences_spec.rb +0 -139
  70. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/README.md +0 -85
  71. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/bin/httpclient +0 -77
  72. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/bin/jsonclient +0 -85
  73. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/hexdump.rb +0 -50
  74. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/http-access2.rb +0 -55
  75. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/http-access2/cookie.rb +0 -1
  76. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/http-access2/http.rb +0 -1
  77. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/httpclient.rb +0 -1327
  78. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/httpclient/auth.rb +0 -924
  79. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/httpclient/cacert.pem +0 -3952
  80. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/httpclient/cacert1024.pem +0 -3866
  81. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/httpclient/connection.rb +0 -88
  82. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/httpclient/cookie.rb +0 -220
  83. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/httpclient/http.rb +0 -1082
  84. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/httpclient/include_client.rb +0 -85
  85. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/httpclient/jruby_ssl_socket.rb +0 -588
  86. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/httpclient/session.rb +0 -960
  87. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/httpclient/ssl_config.rb +0 -424
  88. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/httpclient/ssl_socket.rb +0 -150
  89. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/httpclient/timeout.rb +0 -140
  90. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/httpclient/util.rb +0 -222
  91. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/httpclient/version.rb +0 -3
  92. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/httpclient/webagent-cookie.rb +0 -459
  93. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/jsonclient.rb +0 -63
  94. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/lib/oauthclient.rb +0 -111
  95. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/sample/async.rb +0 -8
  96. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/sample/auth.rb +0 -11
  97. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/sample/cookie.rb +0 -18
  98. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/sample/dav.rb +0 -103
  99. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/sample/howto.rb +0 -49
  100. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/sample/jsonclient.rb +0 -67
  101. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/sample/oauth_buzz.rb +0 -57
  102. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/sample/oauth_friendfeed.rb +0 -59
  103. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/sample/oauth_twitter.rb +0 -61
  104. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/sample/ssl/0cert.pem +0 -22
  105. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/sample/ssl/0key.pem +0 -30
  106. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/sample/ssl/1000cert.pem +0 -19
  107. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/sample/ssl/1000key.pem +0 -18
  108. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/sample/ssl/htdocs/index.html +0 -10
  109. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/sample/ssl/ssl_client.rb +0 -22
  110. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/sample/ssl/webrick_httpsd.rb +0 -29
  111. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/sample/stream.rb +0 -21
  112. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/sample/thread.rb +0 -27
  113. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/sample/wcat.rb +0 -21
  114. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/ca-chain.pem +0 -44
  115. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/ca.cert +0 -23
  116. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/client-pass.key +0 -18
  117. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/client.cert +0 -19
  118. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/client.key +0 -15
  119. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/helper.rb +0 -131
  120. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/htdigest +0 -1
  121. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/htpasswd +0 -2
  122. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/jruby_ssl_socket/test_pemutils.rb +0 -32
  123. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/runner.rb +0 -2
  124. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/server.cert +0 -19
  125. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/server.key +0 -15
  126. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/sslsvr.rb +0 -65
  127. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/subca.cert +0 -21
  128. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/test_auth.rb +0 -492
  129. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/test_cookie.rb +0 -309
  130. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/test_hexdump.rb +0 -14
  131. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/test_http-access2.rb +0 -508
  132. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/test_httpclient.rb +0 -2145
  133. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/test_include_client.rb +0 -52
  134. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/test_jsonclient.rb +0 -80
  135. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/test_ssl.rb +0 -559
  136. data/vendor/bundle/ruby/2.5.0/gems/httpclient-2.8.3/test/test_webagent-cookie.rb +0 -465
  137. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/.gitignore +0 -18
  138. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/.travis.yml +0 -24
  139. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/CHANGES.md +0 -391
  140. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/Gemfile +0 -14
  141. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/LICENSE +0 -56
  142. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/README-json-jruby.md +0 -33
  143. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/README.md +0 -409
  144. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/Rakefile +0 -413
  145. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/VERSION +0 -1
  146. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/diagrams/.keep +0 -0
  147. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/fbuffer/fbuffer.h +0 -187
  148. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/generator/.sitearchdir.-.json.-.ext.time +0 -0
  149. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/generator/depend +0 -1
  150. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/generator/extconf.rb +0 -4
  151. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/generator/generator.c +0 -1499
  152. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/generator/generator.h +0 -171
  153. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/parser/.sitearchdir.-.json.-.ext.time +0 -0
  154. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/parser/depend +0 -1
  155. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/parser/extconf.rb +0 -6
  156. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/parser/parser.c +0 -2136
  157. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/parser/parser.h +0 -91
  158. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/parser/parser.rl +0 -896
  159. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/extconf.rb +0 -2
  160. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/install.rb +0 -23
  161. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/java/src/json/ext/ByteListTranscoder.java +0 -166
  162. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/java/src/json/ext/Generator.java +0 -466
  163. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/java/src/json/ext/GeneratorMethods.java +0 -231
  164. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/java/src/json/ext/GeneratorService.java +0 -42
  165. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/java/src/json/ext/GeneratorState.java +0 -490
  166. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/java/src/json/ext/OptionsReader.java +0 -113
  167. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/java/src/json/ext/Parser.java +0 -2362
  168. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/java/src/json/ext/Parser.rl +0 -893
  169. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/java/src/json/ext/ParserService.java +0 -34
  170. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/java/src/json/ext/RuntimeInfo.java +0 -116
  171. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/java/src/json/ext/StringDecoder.java +0 -166
  172. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/java/src/json/ext/StringEncoder.java +0 -111
  173. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/java/src/json/ext/Utils.java +0 -88
  174. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/json-java.gemspec +0 -37
  175. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/json.gemspec +0 -0
  176. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/json_pure.gemspec +0 -38
  177. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json.rb +0 -63
  178. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/bigdecimal.rb +0 -29
  179. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/complex.rb +0 -29
  180. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/core.rb +0 -12
  181. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/date.rb +0 -34
  182. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/date_time.rb +0 -50
  183. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/exception.rb +0 -31
  184. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/ostruct.rb +0 -31
  185. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/range.rb +0 -29
  186. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/rational.rb +0 -28
  187. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/regexp.rb +0 -30
  188. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/set.rb +0 -29
  189. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/struct.rb +0 -30
  190. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/symbol.rb +0 -25
  191. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/time.rb +0 -38
  192. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/common.rb +0 -456
  193. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/ext.rb +0 -15
  194. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/ext/.keep +0 -0
  195. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/generic_object.rb +0 -71
  196. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/pure.rb +0 -15
  197. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/pure/generator.rb +0 -459
  198. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/pure/parser.rb +0 -319
  199. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/version.rb +0 -9
  200. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/references/rfc7159.txt +0 -899
  201. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail10.json +0 -1
  202. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail11.json +0 -1
  203. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail12.json +0 -1
  204. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail13.json +0 -1
  205. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail14.json +0 -1
  206. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail18.json +0 -1
  207. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail19.json +0 -1
  208. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail2.json +0 -1
  209. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail20.json +0 -1
  210. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail21.json +0 -1
  211. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail22.json +0 -1
  212. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail23.json +0 -1
  213. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail24.json +0 -1
  214. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail25.json +0 -1
  215. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail27.json +0 -2
  216. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail28.json +0 -2
  217. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail3.json +0 -1
  218. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail4.json +0 -1
  219. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail5.json +0 -1
  220. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail6.json +0 -1
  221. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail7.json +0 -1
  222. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail8.json +0 -1
  223. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail9.json +0 -1
  224. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/obsolete_fail1.json +0 -1
  225. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/pass1.json +0 -56
  226. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/pass15.json +0 -1
  227. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/pass16.json +0 -1
  228. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/pass17.json +0 -1
  229. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/pass2.json +0 -1
  230. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/pass26.json +0 -1
  231. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/pass3.json +0 -6
  232. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/json_addition_test.rb +0 -203
  233. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/json_common_interface_test.rb +0 -126
  234. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/json_encoding_test.rb +0 -107
  235. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/json_ext_parser_test.rb +0 -15
  236. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/json_fixtures_test.rb +0 -32
  237. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/json_generator_test.rb +0 -421
  238. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/json_generic_object_test.rb +0 -82
  239. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/json_parser_test.rb +0 -472
  240. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/json_string_matching_test.rb +0 -38
  241. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/test_helper.rb +0 -17
  242. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tools/diff.sh +0 -18
  243. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tools/fuzz.rb +0 -131
  244. data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tools/server.rb +0 -62
  245. data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/.concourse.yml +0 -83
  246. data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/.gitignore +0 -7
  247. data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/.travis.yml +0 -15
  248. data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/CHANGELOG.md +0 -209
  249. data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/Gemfile +0 -4
  250. data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/LICENSE.txt +0 -20
  251. data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/README.md +0 -245
  252. data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/Rakefile +0 -29
  253. data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/appveyor.yml +0 -25
  254. data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/concourse/mini_portile.yml +0 -141
  255. data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/concourse/tasks/rake-test/task.ps1 +0 -11
  256. data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/concourse/tasks/rake-test/task.sh +0 -13
  257. data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/lib/mini_portile2.rb +0 -3
  258. data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/lib/mini_portile2/mini_portile.rb +0 -556
  259. data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/lib/mini_portile2/mini_portile_cmake.rb +0 -40
  260. data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/lib/mini_portile2/version.rb +0 -3
  261. data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/mini_portile2.gemspec +0 -42
  262. data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/test/assets/git/config +0 -4
  263. data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/test/assets/gpg-fixtures/data +0 -1
  264. data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/test/assets/gpg-fixtures/data.asc +0 -9
  265. data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/test/assets/gpg-fixtures/data.invalid.asc +0 -9
  266. data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/test/assets/patch 1.diff +0 -7
  267. data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/test/assets/test mini portile-1.0.0/configure +0 -11
  268. data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/test/assets/test-cmake-1.0/CMakeLists.txt +0 -7
  269. data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/test/assets/test-cmake-1.0/hello.c +0 -4
  270. data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/test/assets/test-download-archive.tar.gz +0 -1
  271. data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/test/helper.rb +0 -60
  272. data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/test/test_cmake.rb +0 -64
  273. data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/test/test_cook.rb +0 -115
  274. data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/test/test_digest.rb +0 -215
  275. data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/test/test_download.rb +0 -71
  276. data/vendor/bundle/ruby/2.5.0/gems/mini_portile2-2.4.0/test/test_proxy.rb +0 -121
  277. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/LICENSE-DEPENDENCIES.md +0 -1614
  278. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/LICENSE.md +0 -9
  279. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/README.md +0 -198
  280. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/bin/nokogiri +0 -118
  281. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/dependencies.yml +0 -74
  282. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/.sitearchdir.-.nokogiri.time +0 -0
  283. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/Makefile +0 -627
  284. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/depend +0 -358
  285. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/extconf.rb +0 -686
  286. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_document.c +0 -170
  287. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_document.h +0 -10
  288. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_document.o +0 -0
  289. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_element_description.c +0 -279
  290. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_element_description.h +0 -10
  291. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_element_description.o +0 -0
  292. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_entity_lookup.c +0 -32
  293. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_entity_lookup.h +0 -8
  294. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_entity_lookup.o +0 -0
  295. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_sax_parser_context.c +0 -116
  296. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_sax_parser_context.h +0 -11
  297. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_sax_parser_context.o +0 -0
  298. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_sax_push_parser.c +0 -87
  299. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_sax_push_parser.h +0 -9
  300. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_sax_push_parser.o +0 -0
  301. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/nokogiri.bundle +0 -0
  302. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/nokogiri.c +0 -141
  303. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/nokogiri.h +0 -121
  304. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/nokogiri.o +0 -0
  305. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_attr.c +0 -103
  306. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_attr.h +0 -9
  307. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_attr.o +0 -0
  308. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_attribute_decl.c +0 -70
  309. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_attribute_decl.h +0 -9
  310. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_attribute_decl.o +0 -0
  311. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_cdata.c +0 -62
  312. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_cdata.h +0 -9
  313. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_cdata.o +0 -0
  314. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_comment.c +0 -69
  315. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_comment.h +0 -9
  316. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_comment.o +0 -0
  317. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_document.c +0 -608
  318. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_document.h +0 -23
  319. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_document.o +0 -0
  320. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_document_fragment.c +0 -48
  321. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_document_fragment.h +0 -10
  322. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_document_fragment.o +0 -0
  323. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_dtd.c +0 -202
  324. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_dtd.h +0 -10
  325. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_dtd.o +0 -0
  326. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_element_content.c +0 -123
  327. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_element_content.h +0 -10
  328. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_element_content.o +0 -0
  329. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_element_decl.c +0 -69
  330. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_element_decl.h +0 -9
  331. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_element_decl.o +0 -0
  332. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_encoding_handler.c +0 -79
  333. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_encoding_handler.h +0 -8
  334. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_encoding_handler.o +0 -0
  335. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_entity_decl.c +0 -110
  336. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_entity_decl.h +0 -10
  337. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_entity_decl.o +0 -0
  338. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_entity_reference.c +0 -52
  339. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_entity_reference.h +0 -9
  340. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_entity_reference.o +0 -0
  341. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_io.c +0 -61
  342. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_io.h +0 -11
  343. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_io.o +0 -0
  344. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_libxml2_hacks.c +0 -112
  345. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_libxml2_hacks.h +0 -12
  346. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_libxml2_hacks.o +0 -0
  347. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_namespace.c +0 -111
  348. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_namespace.h +0 -14
  349. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_namespace.o +0 -0
  350. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_node.c +0 -1753
  351. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_node.h +0 -13
  352. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_node.o +0 -0
  353. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_node_set.c +0 -486
  354. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_node_set.h +0 -12
  355. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_node_set.o +0 -0
  356. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_processing_instruction.c +0 -56
  357. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_processing_instruction.h +0 -9
  358. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_processing_instruction.o +0 -0
  359. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_reader.c +0 -668
  360. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_reader.h +0 -10
  361. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_reader.o +0 -0
  362. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_relax_ng.c +0 -161
  363. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_relax_ng.h +0 -9
  364. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_relax_ng.o +0 -0
  365. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_sax_parser.c +0 -310
  366. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_sax_parser.h +0 -39
  367. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_sax_parser.o +0 -0
  368. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_sax_parser_context.c +0 -262
  369. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_sax_parser_context.h +0 -10
  370. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_sax_parser_context.o +0 -0
  371. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_sax_push_parser.c +0 -159
  372. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_sax_push_parser.h +0 -9
  373. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_sax_push_parser.o +0 -0
  374. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_schema.c +0 -234
  375. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_schema.h +0 -9
  376. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_schema.o +0 -0
  377. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_syntax_error.c +0 -64
  378. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_syntax_error.h +0 -13
  379. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_syntax_error.o +0 -0
  380. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_text.c +0 -52
  381. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_text.h +0 -9
  382. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_text.o +0 -0
  383. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_xpath_context.c +0 -298
  384. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_xpath_context.h +0 -10
  385. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_xpath_context.o +0 -0
  386. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xslt_stylesheet.c +0 -270
  387. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xslt_stylesheet.h +0 -14
  388. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xslt_stylesheet.o +0 -0
  389. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri.rb +0 -144
  390. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/css.rb +0 -27
  391. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/css/node.rb +0 -52
  392. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/css/parser.rb +0 -750
  393. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/css/parser.y +0 -272
  394. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/css/parser_extras.rb +0 -91
  395. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/css/syntax_error.rb +0 -7
  396. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/css/tokenizer.rb +0 -153
  397. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/css/tokenizer.rex +0 -55
  398. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/css/xpath_visitor.rb +0 -230
  399. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/decorators/slop.rb +0 -42
  400. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html.rb +0 -37
  401. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html/builder.rb +0 -35
  402. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html/document.rb +0 -335
  403. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html/document_fragment.rb +0 -49
  404. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html/element_description.rb +0 -23
  405. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html/element_description_defaults.rb +0 -671
  406. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html/entity_lookup.rb +0 -13
  407. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html/sax/parser.rb +0 -62
  408. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html/sax/parser_context.rb +0 -16
  409. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html/sax/push_parser.rb +0 -36
  410. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/nokogiri.bundle +0 -0
  411. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/syntax_error.rb +0 -4
  412. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/version.rb +0 -109
  413. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml.rb +0 -75
  414. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/attr.rb +0 -14
  415. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/attribute_decl.rb +0 -18
  416. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/builder.rb +0 -446
  417. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/cdata.rb +0 -11
  418. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/character_data.rb +0 -7
  419. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/document.rb +0 -285
  420. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/document_fragment.rb +0 -160
  421. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/dtd.rb +0 -32
  422. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/element_content.rb +0 -36
  423. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/element_decl.rb +0 -13
  424. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/entity_decl.rb +0 -19
  425. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/entity_reference.rb +0 -18
  426. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/namespace.rb +0 -13
  427. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/node.rb +0 -902
  428. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/node/save_options.rb +0 -61
  429. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/node_set.rb +0 -371
  430. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/notation.rb +0 -6
  431. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/parse_options.rb +0 -120
  432. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/pp.rb +0 -2
  433. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/pp/character_data.rb +0 -18
  434. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/pp/node.rb +0 -56
  435. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/processing_instruction.rb +0 -8
  436. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/reader.rb +0 -112
  437. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/relax_ng.rb +0 -32
  438. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/sax.rb +0 -4
  439. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/sax/document.rb +0 -171
  440. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/sax/parser.rb +0 -122
  441. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/sax/parser_context.rb +0 -16
  442. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/sax/push_parser.rb +0 -60
  443. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/schema.rb +0 -63
  444. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/searchable.rb +0 -230
  445. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/syntax_error.rb +0 -70
  446. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/text.rb +0 -9
  447. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/xpath.rb +0 -10
  448. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/xpath/syntax_error.rb +0 -11
  449. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/xpath_context.rb +0 -16
  450. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xslt.rb +0 -56
  451. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xslt/stylesheet.rb +0 -25
  452. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/xsd/xmlparser/nokogiri.rb +0 -102
  453. 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
  454. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/patches/libxml2/0002-Remove-script-macro-support.patch +0 -40
  455. 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
  456. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/patches/libxml2/0004-libxml2.la-is-in-top_builddir.patch +0 -25
  457. data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/patches/libxml2/0005-Fix-infinite-loop-in-xmlStringLenDecodeEntities.patch +0 -32
  458. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/.autotest +0 -7
  459. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/.rubocop.yml +0 -27
  460. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/.togglerc +0 -7
  461. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/CONTRIBUTING.rdoc +0 -38
  462. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/History.rdoc +0 -659
  463. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/MIT-LICENSE +0 -21
  464. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/Manifest.txt +0 -166
  465. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/README.rdoc +0 -139
  466. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/Rakefile +0 -81
  467. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/bin/rake +0 -33
  468. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/command_line_usage.rdoc +0 -158
  469. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/example/Rakefile1 +0 -38
  470. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/example/Rakefile2 +0 -35
  471. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/example/a.c +0 -6
  472. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/example/b.c +0 -6
  473. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/example/main.c +0 -11
  474. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/glossary.rdoc +0 -42
  475. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/jamis.rb +0 -591
  476. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/proto_rake.rdoc +0 -127
  477. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/rake.1 +0 -141
  478. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/rakefile.rdoc +0 -624
  479. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/rational.rdoc +0 -151
  480. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.4.14.rdoc +0 -23
  481. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.4.15.rdoc +0 -35
  482. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.5.0.rdoc +0 -53
  483. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.5.3.rdoc +0 -78
  484. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.5.4.rdoc +0 -46
  485. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.6.0.rdoc +0 -141
  486. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.7.0.rdoc +0 -119
  487. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.7.1.rdoc +0 -59
  488. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.7.2.rdoc +0 -121
  489. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.7.3.rdoc +0 -47
  490. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.8.0.rdoc +0 -114
  491. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.8.2.rdoc +0 -165
  492. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.8.3.rdoc +0 -112
  493. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.8.4.rdoc +0 -147
  494. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.8.5.rdoc +0 -53
  495. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.8.6.rdoc +0 -37
  496. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.8.7.rdoc +0 -55
  497. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.9.0.rdoc +0 -112
  498. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.9.1.rdoc +0 -52
  499. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.9.2.2.rdoc +0 -55
  500. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.9.2.rdoc +0 -49
  501. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.9.3.rdoc +0 -102
  502. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.9.4.rdoc +0 -60
  503. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.9.5.rdoc +0 -55
  504. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-0.9.6.rdoc +0 -64
  505. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-10.0.0.rdoc +0 -178
  506. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-10.0.1.rdoc +0 -58
  507. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-10.0.2.rdoc +0 -53
  508. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-10.0.3.rdoc +0 -191
  509. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/doc/release_notes/rake-10.1.0.rdoc +0 -61
  510. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake.rb +0 -79
  511. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/alt_system.rb +0 -110
  512. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/application.rb +0 -790
  513. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/backtrace.rb +0 -23
  514. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/clean.rb +0 -76
  515. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/cloneable.rb +0 -16
  516. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/contrib/.document +0 -1
  517. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb +0 -21
  518. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/contrib/ftptools.rb +0 -137
  519. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/contrib/publisher.rb +0 -81
  520. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/contrib/rubyforgepublisher.rb +0 -18
  521. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/contrib/sshpublisher.rb +0 -61
  522. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/contrib/sys.rb +0 -4
  523. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/cpu_counter.rb +0 -125
  524. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/default_loader.rb +0 -14
  525. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/dsl_definition.rb +0 -201
  526. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/early_time.rb +0 -21
  527. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/ext/core.rb +0 -25
  528. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/ext/module.rb +0 -2
  529. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/ext/pathname.rb +0 -25
  530. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/ext/string.rb +0 -175
  531. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/ext/time.rb +0 -18
  532. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/file_creation_task.rb +0 -24
  533. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/file_list.rb +0 -428
  534. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/file_task.rb +0 -46
  535. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/file_utils.rb +0 -128
  536. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/file_utils_ext.rb +0 -144
  537. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/gempackagetask.rb +0 -4
  538. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/invocation_chain.rb +0 -56
  539. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/invocation_exception_mixin.rb +0 -16
  540. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/late_time.rb +0 -17
  541. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/linked_list.rb +0 -103
  542. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/loaders/makefile.rb +0 -53
  543. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/multi_task.rb +0 -13
  544. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/name_space.rb +0 -38
  545. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/packagetask.rb +0 -199
  546. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/pathmap.rb +0 -3
  547. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/phony.rb +0 -15
  548. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/private_reader.rb +0 -20
  549. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/promise.rb +0 -99
  550. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/pseudo_status.rb +0 -29
  551. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/rake_module.rb +0 -38
  552. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/rake_test_loader.rb +0 -22
  553. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/rdoctask.rb +0 -4
  554. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/ruby182_test_unit_fix.rb +0 -29
  555. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/rule_recursion_overflow_error.rb +0 -20
  556. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/runtest.rb +0 -27
  557. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/scope.rb +0 -42
  558. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/task.rb +0 -383
  559. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/task_argument_error.rb +0 -7
  560. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/task_arguments.rb +0 -98
  561. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/task_manager.rb +0 -307
  562. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/tasklib.rb +0 -24
  563. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/testtask.rb +0 -213
  564. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/thread_history_display.rb +0 -48
  565. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/thread_pool.rb +0 -164
  566. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/trace_output.rb +0 -22
  567. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/version.rb +0 -7
  568. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/win32.rb +0 -56
  569. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/rakelib/publish.rake +0 -20
  570. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/rakelib/test_times.rake +0 -25
  571. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/file_creation.rb +0 -34
  572. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/helper.rb +0 -129
  573. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/support/rakefile_definitions.rb +0 -478
  574. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/support/ruby_runner.rb +0 -34
  575. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_private_reader.rb +0 -42
  576. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake.rb +0 -40
  577. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_application.rb +0 -643
  578. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_application_options.rb +0 -468
  579. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_backtrace.rb +0 -119
  580. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_clean.rb +0 -61
  581. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_cpu_counter.rb +0 -68
  582. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_definitions.rb +0 -84
  583. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_directory_task.rb +0 -76
  584. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_dsl.rb +0 -40
  585. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_early_time.rb +0 -31
  586. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_extension.rb +0 -59
  587. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_file_creation_task.rb +0 -56
  588. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_file_list.rb +0 -670
  589. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_file_list_path_map.rb +0 -8
  590. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_file_task.rb +0 -197
  591. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_file_utils.rb +0 -314
  592. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_ftp_file.rb +0 -74
  593. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_functional.rb +0 -482
  594. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_invocation_chain.rb +0 -64
  595. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_late_time.rb +0 -18
  596. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_linked_list.rb +0 -84
  597. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_makefile_loader.rb +0 -46
  598. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_multi_task.rb +0 -64
  599. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_name_space.rb +0 -57
  600. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_package_task.rb +0 -79
  601. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_path_map.rb +0 -168
  602. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_path_map_explode.rb +0 -34
  603. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_path_map_partial.rb +0 -18
  604. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_pathname_extensions.rb +0 -15
  605. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_pseudo_status.rb +0 -21
  606. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_rake_test_loader.rb +0 -20
  607. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_reduce_compat.rb +0 -26
  608. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_require.rb +0 -40
  609. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_rules.rb +0 -388
  610. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_scope.rb +0 -44
  611. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_task.rb +0 -393
  612. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_task_argument_parsing.rb +0 -119
  613. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_task_arguments.rb +0 -127
  614. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_task_lib.rb +0 -9
  615. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_task_manager.rb +0 -178
  616. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_task_manager_argument_resolution.rb +0 -19
  617. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_task_with_arguments.rb +0 -172
  618. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_test_task.rb +0 -146
  619. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_thread_pool.rb +0 -145
  620. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_top_level_functions.rb +0 -71
  621. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_rake_win32.rb +0 -72
  622. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_thread_history_display.rb +0 -101
  623. data/vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/test/test_trace_output.rb +0 -52
  624. data/vendor/bundle/ruby/2.5.0/gems/rspec-3.9.0/LICENSE.md +0 -27
  625. data/vendor/bundle/ruby/2.5.0/gems/rspec-3.9.0/README.md +0 -43
  626. data/vendor/bundle/ruby/2.5.0/gems/rspec-3.9.0/lib/rspec.rb +0 -3
  627. data/vendor/bundle/ruby/2.5.0/gems/rspec-3.9.0/lib/rspec/version.rb +0 -5
  628. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/.document +0 -5
  629. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/.yardopts +0 -8
  630. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/Changelog.md +0 -2291
  631. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/LICENSE.md +0 -26
  632. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/README.md +0 -384
  633. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/exe/rspec +0 -4
  634. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/autorun.rb +0 -3
  635. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core.rb +0 -186
  636. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/backtrace_formatter.rb +0 -65
  637. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/coordinator.rb +0 -62
  638. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/example_minimizer.rb +0 -173
  639. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/fork_runner.rb +0 -135
  640. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/server.rb +0 -61
  641. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/shell_command.rb +0 -126
  642. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/shell_runner.rb +0 -73
  643. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/utilities.rb +0 -58
  644. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/configuration.rb +0 -2363
  645. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/configuration_options.rb +0 -233
  646. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/did_you_mean.rb +0 -46
  647. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/drb.rb +0 -113
  648. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/dsl.rb +0 -98
  649. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/example.rb +0 -656
  650. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/example_group.rb +0 -900
  651. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/example_status_persister.rb +0 -235
  652. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/filter_manager.rb +0 -231
  653. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/flat_map.rb +0 -20
  654. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters.rb +0 -273
  655. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/base_bisect_formatter.rb +0 -45
  656. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/base_formatter.rb +0 -70
  657. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/base_text_formatter.rb +0 -75
  658. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/bisect_drb_formatter.rb +0 -29
  659. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/bisect_progress_formatter.rb +0 -157
  660. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/console_codes.rb +0 -68
  661. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/deprecation_formatter.rb +0 -223
  662. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/documentation_formatter.rb +0 -102
  663. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/exception_presenter.rb +0 -511
  664. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/failure_list_formatter.rb +0 -23
  665. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/fallback_message_formatter.rb +0 -28
  666. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/helpers.rb +0 -110
  667. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/html_formatter.rb +0 -153
  668. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/html_printer.rb +0 -414
  669. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/html_snippet_extractor.rb +0 -120
  670. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/json_formatter.rb +0 -102
  671. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/profile_formatter.rb +0 -68
  672. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/progress_formatter.rb +0 -29
  673. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/protocol.rb +0 -182
  674. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/snippet_extractor.rb +0 -134
  675. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/syntax_highlighter.rb +0 -91
  676. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/hooks.rb +0 -641
  677. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/invocations.rb +0 -87
  678. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/memoized_helpers.rb +0 -554
  679. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/metadata.rb +0 -498
  680. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/metadata_filter.rb +0 -255
  681. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/minitest_assertions_adapter.rb +0 -31
  682. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/flexmock.rb +0 -31
  683. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/mocha.rb +0 -57
  684. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/null.rb +0 -14
  685. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/rr.rb +0 -31
  686. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/rspec.rb +0 -32
  687. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/notifications.rb +0 -521
  688. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/option_parser.rb +0 -316
  689. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/ordering.rb +0 -158
  690. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/output_wrapper.rb +0 -29
  691. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/pending.rb +0 -165
  692. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/profiler.rb +0 -34
  693. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/project_initializer.rb +0 -48
  694. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/project_initializer/.rspec +0 -1
  695. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/project_initializer/spec/spec_helper.rb +0 -100
  696. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/rake_task.rb +0 -188
  697. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/reporter.rb +0 -265
  698. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/ruby_project.rb +0 -53
  699. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/runner.rb +0 -204
  700. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/sandbox.rb +0 -37
  701. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/set.rb +0 -54
  702. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/shared_context.rb +0 -55
  703. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/shared_example_group.rb +0 -271
  704. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/shell_escape.rb +0 -49
  705. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/test_unit_assertions_adapter.rb +0 -30
  706. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/version.rb +0 -9
  707. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/warnings.rb +0 -40
  708. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/world.rb +0 -276
  709. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/.document +0 -5
  710. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/.yardopts +0 -6
  711. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/Changelog.md +0 -1191
  712. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/LICENSE.md +0 -25
  713. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/README.md +0 -320
  714. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations.rb +0 -82
  715. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/block_snippet_extractor.rb +0 -253
  716. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/configuration.rb +0 -215
  717. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/expectation_target.rb +0 -127
  718. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/fail_with.rb +0 -39
  719. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/failure_aggregator.rb +0 -194
  720. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/handler.rb +0 -170
  721. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/minitest_integration.rb +0 -58
  722. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/syntax.rb +0 -132
  723. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/version.rb +0 -8
  724. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers.rb +0 -1038
  725. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/aliased_matcher.rb +0 -116
  726. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in.rb +0 -52
  727. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/all.rb +0 -86
  728. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/base_matcher.rb +0 -193
  729. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be.rb +0 -288
  730. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be_between.rb +0 -77
  731. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be_instance_of.rb +0 -26
  732. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be_kind_of.rb +0 -20
  733. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be_within.rb +0 -72
  734. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/change.rb +0 -428
  735. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/compound.rb +0 -276
  736. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/contain_exactly.rb +0 -302
  737. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/cover.rb +0 -24
  738. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/eq.rb +0 -40
  739. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/eql.rb +0 -34
  740. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/equal.rb +0 -81
  741. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/exist.rb +0 -90
  742. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/has.rb +0 -103
  743. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/have_attributes.rb +0 -114
  744. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/include.rb +0 -149
  745. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/match.rb +0 -106
  746. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/operators.rb +0 -128
  747. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/output.rb +0 -200
  748. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/raise_error.rb +0 -230
  749. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/respond_to.rb +0 -199
  750. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/satisfy.rb +0 -60
  751. 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
  752. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/throw_symbol.rb +0 -132
  753. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/yield.rb +0 -441
  754. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/composable.rb +0 -171
  755. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/dsl.rb +0 -540
  756. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/english_phrasing.rb +0 -58
  757. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +0 -82
  758. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/fail_matchers.rb +0 -42
  759. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/generated_descriptions.rb +0 -41
  760. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/matcher_delegator.rb +0 -35
  761. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/matcher_protocol.rb +0 -99
  762. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/.document +0 -5
  763. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/.yardopts +0 -6
  764. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/Changelog.md +0 -1133
  765. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/LICENSE.md +0 -25
  766. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/README.md +0 -463
  767. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks.rb +0 -130
  768. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance.rb +0 -11
  769. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/chain.rb +0 -111
  770. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/error_generator.rb +0 -31
  771. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -31
  772. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -50
  773. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/message_chains.rb +0 -83
  774. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/proxy.rb +0 -116
  775. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/recorder.rb +0 -294
  776. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/stub_chain.rb +0 -51
  777. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -23
  778. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/argument_list_matcher.rb +0 -100
  779. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/argument_matchers.rb +0 -322
  780. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/configuration.rb +0 -212
  781. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/error_generator.rb +0 -369
  782. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/example_methods.rb +0 -434
  783. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/instance_method_stasher.rb +0 -146
  784. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/marshal_extension.rb +0 -41
  785. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/expectation_customization.rb +0 -20
  786. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/have_received.rb +0 -134
  787. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/receive.rb +0 -132
  788. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -82
  789. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/receive_messages.rb +0 -77
  790. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/message_chain.rb +0 -87
  791. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/message_expectation.rb +0 -751
  792. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/method_double.rb +0 -287
  793. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/method_reference.rb +0 -202
  794. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/minitest_integration.rb +0 -68
  795. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/mutate_const.rb +0 -339
  796. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/object_reference.rb +0 -149
  797. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/order_group.rb +0 -81
  798. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/proxy.rb +0 -503
  799. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/space.rb +0 -238
  800. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/standalone.rb +0 -3
  801. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/syntax.rb +0 -325
  802. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/targets.rb +0 -124
  803. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/test_double.rb +0 -171
  804. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/verifying_double.rb +0 -129
  805. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/verifying_message_expectation.rb +0 -54
  806. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/verifying_proxy.rb +0 -220
  807. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/version.rb +0 -9
  808. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/Changelog.md +0 -302
  809. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/LICENSE.md +0 -23
  810. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/README.md +0 -40
  811. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support.rb +0 -149
  812. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/caller_filter.rb +0 -83
  813. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/comparable_version.rb +0 -46
  814. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/differ.rb +0 -215
  815. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/directory_maker.rb +0 -63
  816. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/encoded_string.rb +0 -161
  817. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/fuzzy_matcher.rb +0 -48
  818. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/hunk_generator.rb +0 -47
  819. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/matcher_definition.rb +0 -42
  820. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/method_signature_verifier.rb +0 -438
  821. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/mutex.rb +0 -73
  822. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/object_formatter.rb +0 -275
  823. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/recursive_const_methods.rb +0 -76
  824. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/reentrant_mutex.rb +0 -61
  825. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/ruby_features.rb +0 -190
  826. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/source.rb +0 -75
  827. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/source/location.rb +0 -21
  828. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/source/node.rb +0 -110
  829. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/source/token.rb +0 -87
  830. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec.rb +0 -81
  831. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/deprecation_helpers.rb +0 -64
  832. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/formatting_support.rb +0 -9
  833. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/in_sub_process.rb +0 -69
  834. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/library_wide_checks.rb +0 -150
  835. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/shell_out.rb +0 -89
  836. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/stderr_splitter.rb +0 -75
  837. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/string_matcher.rb +0 -46
  838. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/with_isolated_directory.rb +0 -13
  839. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/with_isolated_stderr.rb +0 -13
  840. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/version.rb +0 -7
  841. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/warnings.rb +0 -39
  842. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/with_keywords_when_needed.rb +0 -33
  843. data/vendor/bundle/ruby/2.5.0/specifications/diff-lcs-1.3.gemspec +0 -61
  844. data/vendor/bundle/ruby/2.5.0/specifications/httpclient-2.8.3.gemspec +0 -21
  845. data/vendor/bundle/ruby/2.5.0/specifications/json-2.3.0.gemspec +0 -0
  846. data/vendor/bundle/ruby/2.5.0/specifications/mini_portile2-2.4.0.gemspec +0 -48
  847. data/vendor/bundle/ruby/2.5.0/specifications/nokogiri-1.10.9.gemspec +0 -85
  848. data/vendor/bundle/ruby/2.5.0/specifications/rake-10.5.0.gemspec +0 -43
  849. data/vendor/bundle/ruby/2.5.0/specifications/rspec-3.9.0.gemspec +0 -43
  850. data/vendor/bundle/ruby/2.5.0/specifications/rspec-core-3.9.2.gemspec +0 -63
  851. data/vendor/bundle/ruby/2.5.0/specifications/rspec-expectations-3.9.2.gemspec +0 -51
  852. data/vendor/bundle/ruby/2.5.0/specifications/rspec-mocks-3.9.1.gemspec +0 -51
  853. data/vendor/bundle/ruby/2.5.0/specifications/rspec-support-3.9.3.gemspec +0 -39
@@ -1,88 +0,0 @@
1
- # HTTPClient - HTTP client library.
2
- # Copyright (C) 2000-2015 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
3
- #
4
- # This program is copyrighted free software by NAKAMURA, Hiroshi. You can
5
- # redistribute it and/or modify it under the same terms of Ruby's license;
6
- # either the dual license version in 2003, or any later version.
7
-
8
-
9
- class HTTPClient
10
-
11
-
12
- # Represents a HTTP response to an asynchronous request. Async methods of
13
- # HTTPClient such as get_async, post_async, etc. returns an instance of
14
- # Connection.
15
- #
16
- # == How to use
17
- #
18
- # 1. Invoke HTTP method asynchronously and check if it's been finished
19
- # periodically.
20
- #
21
- # connection = clnt.post_async(url, body)
22
- # print 'posting.'
23
- # while true
24
- # break if connection.finished?
25
- # print '.'
26
- # sleep 1
27
- # end
28
- # puts '.'
29
- # res = connection.pop
30
- # p res.status
31
- #
32
- # 2. Read the response as an IO.
33
- #
34
- # connection = clnt.get_async('http://dev.ctor.org/')
35
- # io = connection.pop.content
36
- # while str = io.read(40)
37
- # p str
38
- # end
39
- class Connection
40
- attr_accessor :async_thread
41
-
42
- def initialize(header_queue = [], body_queue = []) # :nodoc:
43
- @headers = header_queue
44
- @body = body_queue
45
- @async_thread = nil
46
- @queue = Queue.new
47
- end
48
-
49
- # Checks if the asynchronous invocation has been finished or not.
50
- def finished?
51
- if !@async_thread
52
- # Not in async mode.
53
- true
54
- elsif @async_thread.alive?
55
- # Working...
56
- false
57
- else
58
- # Async thread have been finished.
59
- join
60
- true
61
- end
62
- end
63
-
64
- # Retrieves a HTTP::Message instance of HTTP response. Do not invoke this
65
- # method twice for now. The second invocation will be blocked.
66
- def pop
67
- response_or_exception = @queue.pop
68
- if response_or_exception.is_a? Exception
69
- raise response_or_exception
70
- end
71
- response_or_exception
72
- end
73
-
74
- def push(result) # :nodoc:
75
- @queue.push(result)
76
- end
77
-
78
- # Waits the completion of the asynchronous invocation.
79
- def join
80
- if @async_thread
81
- @async_thread.join
82
- end
83
- nil
84
- end
85
- end
86
-
87
-
88
- end
@@ -1,220 +0,0 @@
1
- # do not override if httpclient/webagent-cookie is loaded already
2
- unless defined?(HTTPClient::CookieManager)
3
- begin # for catching LoadError and load webagent-cookie instead
4
-
5
- require 'http-cookie'
6
- require 'httpclient/util'
7
-
8
- class HTTPClient
9
- class CookieManager
10
- include HTTPClient::Util
11
-
12
- attr_reader :format, :jar
13
- attr_accessor :cookies_file
14
-
15
- def initialize(cookies_file = nil, format = WebAgentSaver, jar = HTTP::CookieJar.new)
16
- @cookies_file = cookies_file
17
- @format = format
18
- @jar = jar
19
- load_cookies if @cookies_file
20
- end
21
-
22
- def load_cookies
23
- check_cookies_file
24
- @jar.clear
25
- @jar.load(@cookies_file, :format => @format)
26
- end
27
-
28
- def save_cookies(session = false)
29
- check_cookies_file
30
- @jar.save(@cookies_file, :format => @format, :session => session)
31
- end
32
-
33
- def cookies(uri = nil)
34
- cookies = @jar.cookies(uri)
35
- # TODO: return HTTP::Cookie in the future
36
- cookies.map { |cookie|
37
- WebAgent::Cookie.new(
38
- :name => cookie.name,
39
- :value => cookie.value,
40
- :domain => cookie.domain,
41
- :path => cookie.path,
42
- :origin => cookie.origin,
43
- :for_domain => cookie.for_domain,
44
- :expires => cookie.expires,
45
- :httponly => cookie.httponly,
46
- :secure => cookie.secure
47
- )
48
- }
49
- end
50
-
51
- def cookie_value(uri)
52
- cookies = self.cookies(uri)
53
- unless cookies.empty?
54
- HTTP::Cookie.cookie_value(cookies)
55
- end
56
- end
57
-
58
- def parse(value, uri)
59
- @jar.parse(value, uri)
60
- end
61
-
62
- def cookies=(cookies)
63
- @jar.clear
64
- cookies.each do |cookie|
65
- add(cookie)
66
- end
67
- end
68
-
69
- def add(cookie)
70
- @jar.add(cookie)
71
- end
72
-
73
- def find(uri)
74
- warning('CookieManager#find is deprecated and will be removed in near future. Use HTTP::Cookie.cookie_value(CookieManager#cookies) instead')
75
- if cookie = cookies(uri)
76
- HTTP::Cookie.cookie_value(cookie)
77
- end
78
- end
79
-
80
- private
81
-
82
- def check_cookies_file
83
- unless @cookies_file
84
- raise ArgumentError.new('Cookies file not specified')
85
- end
86
- end
87
- end
88
-
89
- class WebAgentSaver < HTTP::CookieJar::AbstractSaver
90
- # no option
91
- def default_options
92
- {}
93
- end
94
-
95
- # same as HTTP::CookieJar::CookiestxtSaver
96
- def save(io, jar)
97
- jar.each { |cookie|
98
- next if !@session && cookie.session?
99
- io.print cookie_to_record(cookie)
100
- }
101
- end
102
-
103
- # same as HTTP::CookieJar::CookiestxtSaver
104
- def load(io, jar)
105
- io.each_line { |line|
106
- cookie = parse_record(line) and jar.add(cookie)
107
- }
108
- end
109
-
110
- private
111
-
112
- def cookie_to_record(cookie)
113
- [
114
- cookie.origin,
115
- cookie.name,
116
- cookie.value,
117
- cookie.expires.to_i,
118
- cookie.dot_domain,
119
- cookie.path,
120
- self.class.flag(cookie)
121
- ].join("\t") + "\n"
122
- end
123
-
124
- def parse_record(line)
125
- return nil if /\A#/ =~ line
126
- col = line.chomp.split(/\t/)
127
-
128
- origin = col[0]
129
- name = col[1]
130
- value = col[2]
131
- value.chomp!
132
- if col[3].empty? or col[3] == '0'
133
- expires = nil
134
- else
135
- expires = Time.at(col[3].to_i)
136
- return nil if expires < Time.now
137
- end
138
- domain = col[4]
139
- path = col[5]
140
-
141
- cookie = WebAgent::Cookie.new(name, value,
142
- :origin => origin,
143
- :domain => domain,
144
- :path => path,
145
- :expires => expires
146
- )
147
- self.class.set_flag(cookie, col[6].to_i)
148
- cookie
149
- end
150
-
151
- USE = 1
152
- SECURE = 2
153
- DOMAIN = 4
154
- PATH = 8
155
- HTTP_ONLY = 64
156
-
157
- def self.flag(cookie)
158
- flg = 0
159
- flg += USE # not used
160
- flg += SECURE if cookie.secure?
161
- flg += DOMAIN if cookie.for_domain?
162
- flg += HTTP_ONLY if cookie.httponly?
163
- flg += PATH if cookie.path # not used
164
- flg
165
- end
166
-
167
- def self.set_flag(cookie, flag)
168
- cookie.secure = true if flag & SECURE > 0
169
- cookie.for_domain = true if flag & DOMAIN > 0
170
- cookie.httponly = true if flag & HTTP_ONLY > 0
171
- end
172
- end
173
- end
174
-
175
- # for backward compatibility
176
- class WebAgent
177
- CookieManager = ::HTTPClient::CookieManager
178
-
179
- class Cookie < HTTP::Cookie
180
- include HTTPClient::Util
181
-
182
- def url
183
- deprecated('url', 'origin')
184
- self.origin
185
- end
186
-
187
- def url=(url)
188
- deprecated('url=', 'origin=')
189
- self.origin = url
190
- end
191
-
192
- def http_only?
193
- deprecated('http_only?', 'httponly?')
194
- self.httponly?
195
- end
196
-
197
- alias original_domain domain
198
-
199
- def domain
200
- warning('Cookie#domain returns dot-less domain name now. Use Cookie#dot_domain if you need "." at the beginning.')
201
- self.original_domain
202
- end
203
-
204
- def flag
205
- deprecated('flag', 'secure, for_domain, etc.')
206
- HTTPClient::WebAgentSaver.flag(self)
207
- end
208
-
209
- private
210
-
211
- def deprecated(old, new)
212
- warning("WebAgent::Cookie is deprecated and will be replaced with HTTP::Cookie in the near future. Please use Cookie##{new} instead of Cookie##{old} for the replacement.")
213
- end
214
- end
215
- end
216
-
217
- rescue LoadError
218
- require 'httpclient/webagent-cookie'
219
- end
220
- end
@@ -1,1082 +0,0 @@
1
- # -*- encoding: utf-8 -*-
2
-
3
- # HTTPClient - HTTP client library.
4
- # Copyright (C) 2000-2015 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
5
- #
6
- # This program is copyrighted free software by NAKAMURA, Hiroshi. You can
7
- # redistribute it and/or modify it under the same terms of Ruby's license;
8
- # either the dual license version in 2003, or any later version.
9
-
10
-
11
- require 'time'
12
- if defined?(Encoding::ASCII_8BIT)
13
- require 'open-uri' # for encoding
14
- end
15
- require 'httpclient/util'
16
-
17
-
18
- # A namespace module for HTTP Message definitions used by HTTPClient.
19
- module HTTP
20
-
21
-
22
- # Represents HTTP response status code. Defines constants for HTTP response
23
- # and some conditional methods.
24
- module Status
25
- OK = 200
26
- CREATED = 201
27
- ACCEPTED = 202
28
- NON_AUTHORITATIVE_INFORMATION = 203
29
- NO_CONTENT = 204
30
- RESET_CONTENT = 205
31
- PARTIAL_CONTENT = 206
32
- MOVED_PERMANENTLY = 301
33
- FOUND = 302
34
- SEE_OTHER = 303
35
- TEMPORARY_REDIRECT = MOVED_TEMPORARILY = 307
36
- BAD_REQUEST = 400
37
- UNAUTHORIZED = 401
38
- PROXY_AUTHENTICATE_REQUIRED = 407
39
- INTERNAL = 500
40
-
41
- # Status codes for successful HTTP response.
42
- SUCCESSFUL_STATUS = [
43
- OK, CREATED, ACCEPTED,
44
- NON_AUTHORITATIVE_INFORMATION, NO_CONTENT,
45
- RESET_CONTENT, PARTIAL_CONTENT
46
- ]
47
-
48
- # Status codes which is a redirect.
49
- REDIRECT_STATUS = [
50
- MOVED_PERMANENTLY, FOUND, SEE_OTHER,
51
- TEMPORARY_REDIRECT, MOVED_TEMPORARILY
52
- ]
53
-
54
- # Returns true if the given status represents successful HTTP response.
55
- # See also SUCCESSFUL_STATUS.
56
- def self.successful?(status)
57
- SUCCESSFUL_STATUS.include?(status)
58
- end
59
-
60
- # Returns true if the given status is thought to be redirect.
61
- # See also REDIRECT_STATUS.
62
- def self.redirect?(status)
63
- REDIRECT_STATUS.include?(status)
64
- end
65
- end
66
-
67
-
68
- # Represents a HTTP message. A message is for a request or a response.
69
- #
70
- # Request message is generated from given parameters internally so users
71
- # don't need to care about it. Response message is the instance that
72
- # methods of HTTPClient returns so users need to know how to extract
73
- # HTTP response data from Message.
74
- #
75
- # Some attributes are only for a request or a response, not both.
76
- #
77
- # == How to use HTTP response message
78
- #
79
- # 1. Gets response message body.
80
- #
81
- # res = clnt.get(url)
82
- # p res.content #=> String
83
- #
84
- # 2. Gets response status code.
85
- #
86
- # res = clnt.get(url)
87
- # p res.status #=> 200, 501, etc. (Integer)
88
- #
89
- # 3. Gets response header.
90
- #
91
- # res = clnt.get(url)
92
- # res.header['set-cookie'].each do |value|
93
- # p value
94
- # end
95
- # assert_equal(1, res.header['last-modified'].size)
96
- # p res.header['last-modified'].first
97
- #
98
- class Message
99
- include HTTPClient::Util
100
-
101
- CRLF = "\r\n"
102
-
103
- # Represents HTTP message header.
104
- class Headers
105
- # HTTP version in a HTTP header. String.
106
- attr_accessor :http_version
107
- # Size of body. nil when size is unknown (e.g. chunked response).
108
- attr_reader :body_size
109
- # Request/Response is chunked or not.
110
- attr_accessor :chunked
111
-
112
- # Request only. Requested method.
113
- attr_reader :request_method
114
- # Request only. Requested URI.
115
- attr_accessor :request_uri
116
- # Request only. Requested query.
117
- attr_accessor :request_query
118
- # Request only. Requested via proxy or not.
119
- attr_accessor :request_absolute_uri
120
-
121
- # Response only. HTTP status
122
- attr_reader :status_code
123
- # Response only. HTTP status reason phrase.
124
- attr_accessor :reason_phrase
125
-
126
- # Used for dumping response.
127
- attr_accessor :body_type # :nodoc:
128
- # Used for dumping response.
129
- attr_accessor :body_charset # :nodoc:
130
- # Used for dumping response.
131
- attr_accessor :body_date # :nodoc:
132
- # Used for keeping content encoding.
133
- attr_reader :body_encoding # :nodoc:
134
-
135
- # HTTP response status code to reason phrase mapping definition.
136
- STATUS_CODE_MAP = {
137
- Status::OK => 'OK',
138
- Status::CREATED => "Created",
139
- Status::NON_AUTHORITATIVE_INFORMATION => "Non-Authoritative Information",
140
- Status::NO_CONTENT => "No Content",
141
- Status::RESET_CONTENT => "Reset Content",
142
- Status::PARTIAL_CONTENT => "Partial Content",
143
- Status::MOVED_PERMANENTLY => 'Moved Permanently',
144
- Status::FOUND => 'Found',
145
- Status::SEE_OTHER => 'See Other',
146
- Status::TEMPORARY_REDIRECT => 'Temporary Redirect',
147
- Status::MOVED_TEMPORARILY => 'Temporary Redirect',
148
- Status::BAD_REQUEST => 'Bad Request',
149
- Status::INTERNAL => 'Internal Server Error',
150
- }
151
-
152
- # $KCODE to charset mapping definition.
153
- CHARSET_MAP = {
154
- 'NONE' => 'us-ascii',
155
- 'EUC' => 'euc-jp',
156
- 'SJIS' => 'shift_jis',
157
- 'UTF8' => 'utf-8',
158
- }
159
-
160
- # Creates a Message::Headers. Use init_request, init_response, or
161
- # init_connect_request for acutual initialize.
162
- def initialize
163
- @http_version = '1.1'
164
- @body_size = nil
165
- @chunked = false
166
-
167
- @request_method = nil
168
- @request_uri = nil
169
- @request_query = nil
170
- @request_absolute_uri = nil
171
-
172
- @status_code = nil
173
- @reason_phrase = nil
174
-
175
- @body_type = nil
176
- @body_charset = nil
177
- @body_date = nil
178
- @body_encoding = nil
179
-
180
- @is_request = nil
181
- @header_item = []
182
- @dumped = false
183
- end
184
-
185
- # Initialize this instance as a CONNECT request.
186
- def init_connect_request(uri)
187
- @is_request = true
188
- @request_method = 'CONNECT'
189
- @request_uri = uri
190
- @request_query = nil
191
- @http_version = '1.0'
192
- end
193
-
194
- # Placeholder URI object for nil uri.
195
- NIL_URI = HTTPClient::Util.urify('http://nil-uri-given/')
196
- # Initialize this instance as a general request.
197
- def init_request(method, uri, query = nil)
198
- @is_request = true
199
- @request_method = method
200
- @request_uri = uri || NIL_URI
201
- @request_query = query
202
- @request_absolute_uri = false
203
- self
204
- end
205
-
206
- # Initialize this instance as a response.
207
- def init_response(status_code, req = nil)
208
- @is_request = false
209
- self.status_code = status_code
210
- if req
211
- @request_method = req.request_method
212
- @request_uri = req.request_uri
213
- @request_query = req.request_query
214
- end
215
- self
216
- end
217
-
218
- # Sets status code and reason phrase.
219
- def status_code=(status_code)
220
- @status_code = status_code
221
- @reason_phrase = STATUS_CODE_MAP[@status_code]
222
- end
223
-
224
- # Returns 'Content-Type' header value.
225
- def content_type
226
- self['Content-Type'][0]
227
- end
228
-
229
- # Sets 'Content-Type' header value. Overrides if already exists.
230
- def content_type=(content_type)
231
- delete('Content-Type')
232
- self['Content-Type'] = content_type
233
- end
234
-
235
- alias contenttype content_type
236
- alias contenttype= content_type=
237
-
238
- if defined?(Encoding::ASCII_8BIT)
239
- def set_body_encoding
240
- if type = self.content_type
241
- OpenURI::Meta.init(o = '')
242
- o.meta_add_field('content-type', type)
243
- @body_encoding = o.encoding
244
- end
245
- end
246
- else
247
- def set_body_encoding
248
- @body_encoding = nil
249
- end
250
- end
251
-
252
- # Sets byte size of message body.
253
- # body_size == nil means that the body is_a? IO
254
- def body_size=(body_size)
255
- @body_size = body_size
256
- end
257
-
258
- # Dumps message header part and returns a dumped String.
259
- def dump
260
- set_header
261
- str = nil
262
- if @is_request
263
- str = request_line
264
- else
265
- str = response_status_line
266
- end
267
- str + @header_item.collect { |key, value|
268
- "#{ key }: #{ value }#{ CRLF }"
269
- }.join
270
- end
271
-
272
- # Set Date header
273
- def set_date_header
274
- set('Date', Time.now.httpdate)
275
- end
276
-
277
- # Adds a header. Addition order is preserved.
278
- def add(key, value)
279
- if value.is_a?(Array)
280
- value.each do |v|
281
- @header_item.push([key, v])
282
- end
283
- else
284
- @header_item.push([key, value])
285
- end
286
- end
287
-
288
- # Sets a header.
289
- def set(key, value)
290
- delete(key)
291
- add(key, value)
292
- end
293
-
294
- # Returns an Array of headers for the given key. Each element is a pair
295
- # of key and value. It returns an single element Array even if the only
296
- # one header exists. If nil key given, it returns all headers.
297
- def get(key = nil)
298
- if key.nil?
299
- all
300
- else
301
- key = key.upcase
302
- @header_item.find_all { |k, v| k.upcase == key }
303
- end
304
- end
305
-
306
- # Returns an Array of all headers.
307
- def all
308
- @header_item
309
- end
310
-
311
- # Deletes headers of the given key.
312
- def delete(key)
313
- key = key.upcase
314
- @header_item.delete_if { |k, v| k.upcase == key }
315
- end
316
-
317
- # Adds a header. See set.
318
- def []=(key, value)
319
- set(key, value)
320
- end
321
-
322
- # Returns an Array of header values for the given key.
323
- def [](key)
324
- get(key).collect { |item| item[1] }
325
- end
326
-
327
- def set_headers(headers)
328
- headers.each do |key, value|
329
- add(key, value)
330
- end
331
- set_body_encoding
332
- end
333
-
334
- def create_query_uri()
335
- if @request_method == 'CONNECT'
336
- return "#{@request_uri.host}:#{@request_uri.port}"
337
- end
338
- path = @request_uri.path
339
- path = '/' if path.nil? or path.empty?
340
- if query_str = create_query_part()
341
- path += "?#{query_str}"
342
- end
343
- path
344
- end
345
-
346
- def create_query_part()
347
- query_str = nil
348
- if @request_uri.query
349
- query_str = @request_uri.query
350
- end
351
- if @request_query
352
- if query_str
353
- query_str += "&#{Message.create_query_part_str(@request_query)}"
354
- else
355
- query_str = Message.create_query_part_str(@request_query)
356
- end
357
- end
358
- query_str
359
- end
360
-
361
- private
362
-
363
- def request_line
364
- path = create_query_uri()
365
- if @request_absolute_uri
366
- path = "#{ @request_uri.scheme }://#{ @request_uri.host }:#{ @request_uri.port }#{ path }"
367
- end
368
- "#{ @request_method } #{ path } HTTP/#{ @http_version }#{ CRLF }"
369
- end
370
-
371
- def response_status_line
372
- if defined?(Apache)
373
- "HTTP/#{ @http_version } #{ @status_code } #{ @reason_phrase }#{ CRLF }"
374
- else
375
- "Status: #{ @status_code } #{ @reason_phrase }#{ CRLF }"
376
- end
377
- end
378
-
379
- def set_header
380
- if @is_request
381
- set_request_header
382
- else
383
- set_response_header
384
- end
385
- end
386
-
387
- def set_request_header
388
- return if @dumped
389
- @dumped = true
390
- keep_alive = Message.keep_alive_enabled?(@http_version)
391
- if !keep_alive and @request_method != 'CONNECT'
392
- set('Connection', 'close')
393
- end
394
- if @chunked
395
- set('Transfer-Encoding', 'chunked')
396
- elsif @body_size and (keep_alive or @body_size != 0)
397
- set('Content-Length', @body_size.to_s)
398
- end
399
- if @http_version >= '1.1' and get('Host').empty?
400
- if @request_uri.port == @request_uri.default_port
401
- # GFE/1.3 dislikes default port number (returns 404)
402
- set('Host', "#{@request_uri.hostname}")
403
- else
404
- set('Host', "#{@request_uri.hostname}:#{@request_uri.port}")
405
- end
406
- end
407
- end
408
-
409
- def set_response_header
410
- return if @dumped
411
- @dumped = true
412
- if defined?(Apache) && self['Date'].empty?
413
- set_date_header
414
- end
415
- keep_alive = Message.keep_alive_enabled?(@http_version)
416
- if @chunked
417
- set('Transfer-Encoding', 'chunked')
418
- else
419
- if keep_alive or @body_size != 0
420
- set('Content-Length', @body_size.to_s)
421
- end
422
- end
423
- if @body_date
424
- set('Last-Modified', @body_date.httpdate)
425
- end
426
- if self['Content-Type'].empty?
427
- set('Content-Type', "#{ @body_type || 'text/html' }; charset=#{ charset_label }")
428
- end
429
- end
430
-
431
- def charset_label
432
- # TODO: should handle response encoding for 1.9 correctly.
433
- if RUBY_VERSION > "1.9"
434
- CHARSET_MAP[@body_charset] || 'us-ascii'
435
- else
436
- CHARSET_MAP[@body_charset || $KCODE] || 'us-ascii'
437
- end
438
- end
439
- end
440
-
441
-
442
- # Represents HTTP message body.
443
- class Body
444
- # Size of body. nil when size is unknown (e.g. chunked response).
445
- attr_reader :size
446
- # maxbytes of IO#read for streaming request. See DEFAULT_CHUNK_SIZE.
447
- attr_accessor :chunk_size
448
- # Hash that keeps IO positions
449
- attr_accessor :positions
450
-
451
- # Default value for chunk_size
452
- DEFAULT_CHUNK_SIZE = 1024 * 16
453
-
454
- # Creates a Message::Body. Use init_request or init_response
455
- # for acutual initialize.
456
- def initialize
457
- @body = nil
458
- @size = nil
459
- @positions = nil
460
- @chunk_size = nil
461
- end
462
-
463
- # Initialize this instance as a request.
464
- def init_request(body = nil, boundary = nil)
465
- @boundary = boundary
466
- @positions = {}
467
- set_content(body, boundary)
468
- @chunk_size = DEFAULT_CHUNK_SIZE
469
- self
470
- end
471
-
472
- # Initialize this instance as a response.
473
- def init_response(body = nil)
474
- @body = body
475
- if @body.respond_to?(:bytesize)
476
- @size = @body.bytesize
477
- elsif @body.respond_to?(:size)
478
- @size = @body.size
479
- else
480
- @size = nil
481
- end
482
- self
483
- end
484
-
485
- # Dumps message body to given dev.
486
- # dev needs to respond to <<.
487
- #
488
- # Message header must be given as the first argument for performance
489
- # reason. (header is dumped to dev, too)
490
- # If no dev (the second argument) given, this method returns a dumped
491
- # String.
492
- #
493
- # assert: @size is not nil
494
- def dump(header = '', dev = '')
495
- if @body.is_a?(Parts)
496
- dev << header
497
- @body.parts.each do |part|
498
- if Message.file?(part)
499
- reset_pos(part)
500
- dump_file(part, dev, @body.sizes[part])
501
- else
502
- dev << part
503
- end
504
- end
505
- elsif Message.file?(@body)
506
- dev << header
507
- reset_pos(@body)
508
- dump_file(@body, dev, @size)
509
- elsif @body
510
- dev << header + @body
511
- else
512
- dev << header
513
- end
514
- dev
515
- end
516
-
517
- # Dumps message body with chunked encoding to given dev.
518
- # dev needs to respond to <<.
519
- #
520
- # Message header must be given as the first argument for performance
521
- # reason. (header is dumped to dev, too)
522
- # If no dev (the second argument) given, this method returns a dumped
523
- # String.
524
- def dump_chunked(header = '', dev = '')
525
- dev << header
526
- if @body.is_a?(Parts)
527
- @body.parts.each do |part|
528
- if Message.file?(part)
529
- reset_pos(part)
530
- dump_chunks(part, dev)
531
- else
532
- dev << dump_chunk(part)
533
- end
534
- end
535
- dev << (dump_last_chunk + CRLF)
536
- elsif @body
537
- reset_pos(@body)
538
- dump_chunks(@body, dev)
539
- dev << (dump_last_chunk + CRLF)
540
- end
541
- dev
542
- end
543
-
544
- # Returns a message body itself.
545
- def content
546
- @body
547
- end
548
-
549
- private
550
-
551
- def set_content(body, boundary = nil)
552
- if Message.file?(body)
553
- # uses Transfer-Encoding: chunked if body does not respond to :size.
554
- # bear in mind that server may not support it. at least ruby's CGI doesn't.
555
- @body = body
556
- remember_pos(@body)
557
- @size = body.respond_to?(:size) ? body.size - body.pos : nil
558
- elsif boundary and Message.multiparam_query?(body)
559
- @body = build_query_multipart_str(body, boundary)
560
- @size = @body.size
561
- else
562
- @body = Message.create_query_part_str(body)
563
- @size = @body.bytesize
564
- end
565
- end
566
-
567
- def remember_pos(io)
568
- # IO may not support it (ex. IO.pipe)
569
- @positions[io] = io.pos if io.respond_to?(:pos)
570
- end
571
-
572
- def reset_pos(io)
573
- io.pos = @positions[io] if @positions.key?(io)
574
- end
575
-
576
- def dump_file(io, dev, sz)
577
- buf = ''
578
- rest = sz
579
- while rest > 0
580
- n = io.read([rest, @chunk_size].min, buf)
581
- raise ArgumentError.new("Illegal size value: #size returns #{sz} but cannot read") if n.nil?
582
- dev << buf
583
- rest -= n.bytesize
584
- end
585
- end
586
-
587
- def dump_chunks(io, dev)
588
- buf = ''
589
- while !io.read(@chunk_size, buf).nil?
590
- dev << dump_chunk(buf)
591
- end
592
- end
593
-
594
- def dump_chunk(str)
595
- dump_chunk_size(str.bytesize) + (str + CRLF)
596
- end
597
-
598
- def dump_last_chunk
599
- dump_chunk_size(0)
600
- end
601
-
602
- def dump_chunk_size(size)
603
- sprintf("%x", size) + CRLF
604
- end
605
-
606
- class Parts
607
- attr_reader :size
608
- attr_reader :sizes
609
-
610
- def initialize
611
- @body = []
612
- @sizes = {}
613
- @size = 0 # total
614
- @as_stream = false
615
- end
616
-
617
- def add(part)
618
- if Message.file?(part)
619
- @as_stream = true
620
- @body << part
621
- if part.respond_to?(:lstat)
622
- sz = part.lstat.size
623
- add_size(part, sz)
624
- elsif part.respond_to?(:size)
625
- if sz = part.size
626
- add_size(part, sz)
627
- else
628
- @sizes.clear
629
- @size = nil
630
- end
631
- else
632
- # use chunked upload
633
- @sizes.clear
634
- @size = nil
635
- end
636
- elsif @body[-1].is_a?(String)
637
- @body[-1] += part.to_s
638
- @size += part.to_s.bytesize if @size
639
- else
640
- @body << part.to_s
641
- @size += part.to_s.bytesize if @size
642
- end
643
- end
644
-
645
- def parts
646
- if @as_stream
647
- @body
648
- else
649
- [@body.join]
650
- end
651
- end
652
-
653
- private
654
-
655
- def add_size(part, sz)
656
- if @size
657
- @sizes[part] = sz
658
- @size += sz
659
- end
660
- end
661
- end
662
-
663
- def build_query_multipart_str(query, boundary)
664
- parts = Parts.new
665
- query.each do |attr, value|
666
- headers = ["--#{boundary}"]
667
- if Message.file?(value)
668
- remember_pos(value)
669
- param_str = params_from_file(value).collect { |k, v|
670
- "#{k}=\"#{v}\""
671
- }.join("; ")
672
- if value.respond_to?(:mime_type)
673
- content_type = value.mime_type
674
- elsif value.respond_to?(:content_type)
675
- content_type = value.content_type
676
- else
677
- path = value.respond_to?(:path) ? value.path : nil
678
- content_type = Message.mime_type(path)
679
- end
680
- headers << %{Content-Disposition: form-data; name="#{attr}"; #{param_str}}
681
- headers << %{Content-Type: #{content_type}}
682
- elsif attr.is_a?(Hash)
683
- h = attr
684
- value = h[:content]
685
- h.each do |h_key, h_val|
686
- headers << %{#{h_key}: #{h_val}} if h_key != :content
687
- end
688
- remember_pos(value) if Message.file?(value)
689
- else
690
- headers << %{Content-Disposition: form-data; name="#{attr}"}
691
- value = value.to_s
692
- end
693
- parts.add(headers.join(CRLF) + CRLF + CRLF)
694
- parts.add(value)
695
- parts.add(CRLF)
696
- end
697
- parts.add("--#{boundary}--" + CRLF + CRLF) # empty epilogue
698
- parts
699
- end
700
-
701
- def params_from_file(value)
702
- params = {}
703
- original_filename = value.respond_to?(:original_filename) ? value.original_filename : nil
704
- path = value.respond_to?(:path) ? value.path : nil
705
- params['filename'] = original_filename || File.basename(path || '')
706
- # Creation time is not available from File::Stat
707
- if value.respond_to?(:mtime)
708
- params['modification-date'] = value.mtime.rfc822
709
- end
710
- if value.respond_to?(:atime)
711
- params['read-date'] = value.atime.rfc822
712
- end
713
- params
714
- end
715
- end
716
-
717
-
718
- class << self
719
- private :new
720
-
721
- # Creates a Message instance of 'CONNECT' request.
722
- # 'CONNECT' request does not have Body.
723
- # uri:: an URI that need to connect. Only uri.host and uri.port are used.
724
- def new_connect_request(uri)
725
- m = new
726
- m.http_header.init_connect_request(uri)
727
- m.http_header.body_size = nil
728
- m
729
- end
730
-
731
- # Creates a Message instance of general request.
732
- # method:: HTTP method String.
733
- # uri:: an URI object which represents an URL of web resource.
734
- # query:: a Hash or an Array of query part of URL.
735
- # e.g. { "a" => "b" } => 'http://host/part?a=b'
736
- # Give an array to pass multiple value like
737
- # [["a", "b"], ["a", "c"]] => 'http://host/part?a=b&a=c'
738
- # body:: a Hash or an Array of body part.
739
- # e.g. { "a" => "b" } => 'a=b'.
740
- # Give an array to pass multiple value like
741
- # [["a", "b"], ["a", "c"]] => 'a=b&a=c'.
742
- # boundary:: When the boundary given, it is sent as
743
- # a multipart/form-data using this boundary String.
744
- def new_request(method, uri, query = nil, body = nil, boundary = nil)
745
- m = new
746
- m.http_header.init_request(method, uri, query)
747
- m.http_body = Body.new
748
- m.http_body.init_request(body || '', boundary)
749
- if body
750
- m.http_header.body_size = m.http_body.size
751
- m.http_header.chunked = true if m.http_body.size.nil?
752
- else
753
- m.http_header.body_size = nil
754
- end
755
- m
756
- end
757
-
758
- # Creates a Message instance of response.
759
- # body:: a String or an IO of response message body.
760
- def new_response(body, req = nil)
761
- m = new
762
- m.http_header.init_response(Status::OK, req)
763
- m.http_body = Body.new
764
- m.http_body.init_response(body)
765
- m.http_header.body_size = m.http_body.size || 0
766
- m
767
- end
768
-
769
- @@mime_type_handler = nil
770
-
771
- # Sets MIME type handler.
772
- #
773
- # handler must respond to :call with a single argument :path and returns
774
- # a MIME type String e.g. 'text/html'.
775
- # When the handler returns nil or an empty String,
776
- # 'application/octet-stream' is used.
777
- #
778
- # When you set nil to the handler, internal_mime_type is used instead.
779
- # The handler is nil by default.
780
- def mime_type_handler=(handler)
781
- @@mime_type_handler = handler
782
- end
783
-
784
- # Returns MIME type handler.
785
- def mime_type_handler
786
- @@mime_type_handler
787
- end
788
-
789
- # For backward compatibility.
790
- alias set_mime_type_func mime_type_handler=
791
- alias get_mime_type_func mime_type_handler
792
-
793
- def mime_type(path) # :nodoc:
794
- if @@mime_type_handler
795
- res = @@mime_type_handler.call(path)
796
- if !res || res.to_s == ''
797
- return 'application/octet-stream'
798
- else
799
- return res
800
- end
801
- else
802
- internal_mime_type(path)
803
- end
804
- end
805
-
806
- # Default MIME type handler.
807
- # See mime_type_handler=.
808
- def internal_mime_type(path)
809
- case path
810
- when /\.txt$/i
811
- 'text/plain'
812
- when /\.xml$/i
813
- 'text/xml'
814
- when /\.(htm|html)$/i
815
- 'text/html'
816
- when /\.doc$/i
817
- 'application/msword'
818
- when /\.png$/i
819
- 'image/png'
820
- when /\.gif$/i
821
- 'image/gif'
822
- when /\.(jpg|jpeg)$/i
823
- 'image/jpeg'
824
- else
825
- 'application/octet-stream'
826
- end
827
- end
828
-
829
- # Returns true if the given HTTP version allows keep alive connection.
830
- # version:: String
831
- def keep_alive_enabled?(version)
832
- version >= '1.1'
833
- end
834
-
835
- # Returns true if the given query (or body) has a multiple parameter.
836
- def multiparam_query?(query)
837
- query.is_a?(Array) or query.is_a?(Hash)
838
- end
839
-
840
- # Returns true if the given object is a File. In HTTPClient, a file is;
841
- # * must respond to :read for retrieving String chunks.
842
- # * must respond to :pos and :pos= to rewind for reading.
843
- # Rewinding is only needed for following HTTP redirect. Some IO impl
844
- # defines :pos= but raises an Exception for pos= such as StringIO
845
- # but there's no problem as far as using it for non-following methods
846
- # (get/post/etc.)
847
- def file?(obj)
848
- obj.respond_to?(:read) and obj.respond_to?(:pos) and
849
- obj.respond_to?(:pos=)
850
- end
851
-
852
- def create_query_part_str(query) # :nodoc:
853
- if multiparam_query?(query)
854
- escape_query(query)
855
- elsif query.respond_to?(:read)
856
- query = query.read
857
- else
858
- query.to_s
859
- end
860
- end
861
-
862
- def Array.try_convert(value)
863
- return value if value.instance_of?(Array)
864
- return nil if !value.respond_to?(:to_ary)
865
- converted = value.to_ary
866
- return converted if converted.instance_of?(Array)
867
-
868
- cname = value.class.name
869
- raise TypeError, "can't convert %s to %s (%s#%s gives %s)" %
870
- [cname, Array.name, cname, :to_ary, converted.class.name]
871
- end unless Array.respond_to?(:try_convert)
872
-
873
- def escape_query(query) # :nodoc:
874
- pairs = []
875
- query.each { |attr, value|
876
- left = escape(attr.to_s) << '='
877
- if values = Array.try_convert(value)
878
- values.each { |v|
879
- if v.respond_to?(:read)
880
- v = v.read
881
- end
882
- pairs.push(left + escape(v.to_s))
883
- }
884
- else
885
- if value.respond_to?(:read)
886
- value = value.read
887
- end
888
- pairs.push(left << escape(value.to_s))
889
- end
890
- }
891
- pairs.join('&')
892
- end
893
-
894
- # from CGI.escape
895
- if defined?(Encoding::ASCII_8BIT)
896
- def escape(str) # :nodoc:
897
- str.dup.force_encoding(Encoding::ASCII_8BIT).gsub(/([^ a-zA-Z0-9_.-]+)/) {
898
- '%' + $1.unpack('H2' * $1.bytesize).join('%').upcase
899
- }.tr(' ', '+')
900
- end
901
- else
902
- def escape(str) # :nodoc:
903
- str.gsub(/([^ a-zA-Z0-9_.-]+)/n) {
904
- '%' + $1.unpack('H2' * $1.bytesize).join('%').upcase
905
- }.tr(' ', '+')
906
- end
907
- end
908
-
909
- # from CGI.parse
910
- def parse(query)
911
- params = Hash.new([].freeze)
912
- query.split(/[&;]/n).each do |pairs|
913
- key, value = pairs.split('=',2).collect{|v| unescape(v) }
914
- if params.has_key?(key)
915
- params[key].push(value)
916
- else
917
- params[key] = [value]
918
- end
919
- end
920
- params
921
- end
922
-
923
- # from CGI.unescape
924
- def unescape(string)
925
- string.tr('+', ' ').gsub(/((?:%[0-9a-fA-F]{2})+)/n) do
926
- [$1.delete('%')].pack('H*')
927
- end
928
- end
929
- end
930
-
931
-
932
- # HTTP::Message::Headers:: message header.
933
- attr_accessor :http_header
934
-
935
- # HTTP::Message::Body:: message body.
936
- attr_reader :http_body
937
-
938
- # OpenSSL::X509::Certificate:: response only. server certificate which is
939
- # used for retrieving the response.
940
- attr_accessor :peer_cert
941
-
942
- # The other Message object when this Message is generated instead of
943
- # the Message because of redirection, negotiation, or format conversion.
944
- attr_accessor :previous
945
-
946
- # Creates a Message. This method should be used internally.
947
- # Use Message.new_connect_request, Message.new_request or
948
- # Message.new_response instead.
949
- def initialize # :nodoc:
950
- @http_header = Headers.new
951
- @http_body = @peer_cert = nil
952
- @previous = nil
953
- end
954
-
955
- # Dumps message (header and body) to given dev.
956
- # dev needs to respond to <<.
957
- def dump(dev = '')
958
- str = @http_header.dump + CRLF
959
- if @http_header.chunked
960
- dev = @http_body.dump_chunked(str, dev)
961
- elsif @http_body
962
- dev = @http_body.dump(str, dev)
963
- else
964
- dev << str
965
- end
966
- dev
967
- end
968
-
969
- # Sets a new body. header.body_size is updated with new body.size.
970
- def http_body=(body)
971
- @http_body = body
972
- @http_header.body_size = @http_body.size if @http_header
973
- end
974
- alias body= http_body=
975
-
976
- # Returns HTTP version in a HTTP header. String.
977
- def http_version
978
- @http_header.http_version
979
- end
980
-
981
- # Sets HTTP version in a HTTP header. String.
982
- def http_version=(http_version)
983
- @http_header.http_version = http_version
984
- end
985
-
986
- VERSION_WARNING = 'Message#version (Float) is deprecated. Use Message#http_version (String) instead.'
987
- def version
988
- warning(VERSION_WARNING)
989
- @http_header.http_version.to_f
990
- end
991
-
992
- def version=(version)
993
- warning(VERSION_WARNING)
994
- @http_header.http_version = version
995
- end
996
-
997
- # Returns HTTP status code in response. Integer.
998
- def status
999
- @http_header.status_code
1000
- end
1001
-
1002
- alias code status
1003
- alias status_code status
1004
-
1005
- # Sets HTTP status code of response. Integer.
1006
- # Reason phrase is updated, too.
1007
- def status=(status)
1008
- @http_header.status_code = status
1009
- end
1010
-
1011
- # Returns HTTP status reason phrase in response. String.
1012
- def reason
1013
- @http_header.reason_phrase
1014
- end
1015
-
1016
- # Sets HTTP status reason phrase of response. String.
1017
- def reason=(reason)
1018
- @http_header.reason_phrase = reason
1019
- end
1020
-
1021
- # Returns 'Content-Type' header value.
1022
- def content_type
1023
- @http_header.content_type
1024
- end
1025
-
1026
- # Sets 'Content-Type' header value. Overrides if already exists.
1027
- def content_type=(content_type)
1028
- @http_header.content_type = content_type
1029
- end
1030
- alias contenttype content_type
1031
- alias contenttype= content_type=
1032
-
1033
- # Returns content encoding
1034
- def body_encoding
1035
- @http_header.body_encoding
1036
- end
1037
-
1038
- # Returns a content of message body. A String or an IO.
1039
- def content
1040
- @http_body.content
1041
- end
1042
-
1043
- alias header http_header
1044
- alias body content
1045
-
1046
- # Returns Hash of header. key and value are both String. Each key has a
1047
- # single value so you can't extract exact value when a message has multiple
1048
- # headers like 'Set-Cookie'. Use header['Set-Cookie'] for that purpose.
1049
- # (It returns an Array always)
1050
- def headers
1051
- Hash[*http_header.all.flatten]
1052
- end
1053
-
1054
- # Extracts cookies from 'Set-Cookie' header.
1055
- # Supports 'Set-Cookie' in response header only.
1056
- # Do we need 'Cookie' support in request header?
1057
- def cookies
1058
- set_cookies = http_header['set-cookie']
1059
- unless set_cookies.empty?
1060
- uri = http_header.request_uri
1061
- set_cookies.map { |str|
1062
- WebAgent::Cookie.parse(str, uri)
1063
- }.flatten
1064
- end
1065
- end
1066
-
1067
- # Convenience method to return boolean of whether we had a successful request
1068
- def ok?
1069
- HTTP::Status.successful?(status)
1070
- end
1071
-
1072
- def redirect?
1073
- HTTP::Status.redirect?(status)
1074
- end
1075
-
1076
- # SEE_OTHER is a redirect, but it should sent as GET
1077
- def see_other?
1078
- status == HTTP::Status::SEE_OTHER
1079
- end
1080
- end
1081
-
1082
- end