tdiary 5.0.14 → 5.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3660) hide show
  1. checksums.yaml +4 -4
  2. data/ChangeLog +12 -0
  3. data/Gemfile.lock +44 -42
  4. data/lib/aws/pa_api.rb +72 -0
  5. data/lib/aws/sig_v4.rb +45 -0
  6. data/lib/tdiary/comment_manager.rb +1 -1
  7. data/lib/tdiary/tasks/release.rake +2 -2
  8. data/lib/tdiary/version.rb +1 -1
  9. data/misc/paas/heroku/Gemfile.local +1 -1
  10. data/misc/paas/heroku/Gemfile.lock +55 -52
  11. data/misc/plugin/amazon.rb +63 -180
  12. data/misc/plugin/makerss.rb +1 -4
  13. data/public/assets/00default.js +104 -0
  14. data/public/assets/01conf.js +78 -0
  15. data/public/assets/02edit.js +15 -0
  16. data/public/assets/amazon.js +13 -0
  17. data/public/assets/amazon_bitly.js +43 -0
  18. data/public/assets/base.css +284 -0
  19. data/public/assets/calendar3.js +130 -0
  20. data/public/assets/caretposition.js +170 -0
  21. data/public/assets/category.js +29 -0
  22. data/public/assets/category_autocomplete.js +96 -0
  23. data/public/assets/comment_ajax.js +27 -0
  24. data/public/assets/comment_emoji_autocomplete.js +138 -0
  25. data/public/assets/conf.block.png +0 -0
  26. data/public/assets/conf.css +254 -0
  27. data/public/assets/default/README +11 -0
  28. data/public/assets/default/body.png +0 -0
  29. data/public/assets/default/default.css +753 -0
  30. data/public/assets/default/default/README +11 -0
  31. data/public/assets/default/default/body.png +0 -0
  32. data/public/assets/default/default/default.css +753 -0
  33. data/public/assets/draft.js +149 -0
  34. data/public/assets/help.png +0 -0
  35. data/public/assets/highlight.js +36 -0
  36. data/public/assets/image.js +181 -0
  37. data/public/assets/loading.gif +0 -0
  38. data/public/assets/ogimage.png +0 -0
  39. data/public/assets/preview.js +69 -0
  40. data/public/assets/tdiary1/README +7 -0
  41. data/public/assets/tdiary1/tdiary1.css +394 -0
  42. data/public/assets/tdiary1/tdiary1/README +7 -0
  43. data/public/assets/tdiary1/tdiary1/tdiary1.css +394 -0
  44. data/public/assets/tdiary2/README +19 -0
  45. data/public/assets/tdiary2/tdiary2.css +624 -0
  46. data/public/assets/tdiary2/tdiary2/README +19 -0
  47. data/public/assets/tdiary2/tdiary2/tdiary2.css +624 -0
  48. data/public/index.rdf +1 -3
  49. data/vendor/bundle/bin/coveralls +27 -0
  50. data/vendor/bundle/bin/emot +27 -0
  51. data/vendor/bundle/bin/hikidoc +27 -0
  52. data/vendor/bundle/bin/htmldiff +29 -0
  53. data/vendor/bundle/bin/jasmine +27 -0
  54. data/vendor/bundle/bin/launchy +27 -0
  55. data/vendor/bundle/bin/ldiff +29 -0
  56. data/vendor/bundle/bin/nokogiri +27 -0
  57. data/vendor/bundle/bin/pit +27 -0
  58. data/vendor/bundle/bin/racksh +27 -0
  59. data/vendor/bundle/bin/rackup +27 -0
  60. data/vendor/bundle/bin/rake +27 -0
  61. data/vendor/bundle/bin/redcarpet +27 -0
  62. data/vendor/bundle/bin/rspec +27 -0
  63. data/vendor/bundle/bin/sequel +27 -0
  64. data/vendor/bundle/bin/term_cdiff +27 -0
  65. data/vendor/bundle/bin/term_colortab +27 -0
  66. data/vendor/bundle/bin/term_decolor +27 -0
  67. data/vendor/bundle/bin/term_display +27 -0
  68. data/vendor/bundle/bin/term_mandel +27 -0
  69. data/vendor/bundle/bin/term_snow +27 -0
  70. data/vendor/bundle/bin/thor +27 -0
  71. data/vendor/bundle/cache/addressable-2.7.0.gem +0 -0
  72. data/vendor/bundle/cache/capybara-3.29.0.gem +0 -0
  73. data/vendor/bundle/cache/childprocess-3.0.0.gem +0 -0
  74. data/vendor/bundle/cache/coveralls-0.8.23.gem +0 -0
  75. data/vendor/bundle/cache/diff-lcs-1.3.gem +0 -0
  76. data/vendor/bundle/cache/docile-1.3.2.gem +0 -0
  77. data/vendor/bundle/cache/emot-0.0.4.gem +0 -0
  78. data/vendor/bundle/cache/faraday-0.17.1.gem +0 -0
  79. data/vendor/bundle/cache/fastimage-2.1.7.gem +0 -0
  80. data/vendor/bundle/cache/hikidoc-0.1.0.gem +0 -0
  81. data/vendor/bundle/cache/jasmine-2.99.0.gem +0 -0
  82. data/vendor/bundle/cache/jasmine-core-2.99.2.gem +0 -0
  83. data/vendor/bundle/cache/json-2.2.0.gem +0 -0
  84. data/vendor/bundle/cache/launchy-2.4.3.gem +0 -0
  85. data/vendor/bundle/cache/mail-2.7.1.gem +0 -0
  86. data/vendor/bundle/cache/mime-types-3.3.gem +0 -0
  87. data/vendor/bundle/cache/mime-types-data-3.2019.1009.gem +0 -0
  88. data/vendor/bundle/cache/mini_mime-1.0.2.gem +0 -0
  89. data/vendor/bundle/cache/mini_portile2-2.4.0.gem +0 -0
  90. data/vendor/bundle/cache/multipart-post-2.1.1.gem +0 -0
  91. data/vendor/bundle/cache/nokogiri-1.10.5.gem +0 -0
  92. data/vendor/bundle/cache/octokit-4.14.0.gem +0 -0
  93. data/vendor/bundle/cache/phantomjs-2.1.1.0.gem +0 -0
  94. data/vendor/bundle/cache/pit-0.0.7.gem +0 -0
  95. data/vendor/bundle/cache/power_assert-1.1.5.gem +0 -0
  96. data/vendor/bundle/cache/public_suffix-4.0.1.gem +0 -0
  97. data/vendor/bundle/cache/rack-2.0.7.gem +0 -0
  98. data/vendor/bundle/cache/rack-test-1.1.0.gem +0 -0
  99. data/vendor/bundle/cache/racksh-1.0.0.gem +0 -0
  100. data/vendor/bundle/cache/rake-13.0.1.gem +0 -0
  101. data/vendor/bundle/cache/redcarpet-3.5.0.gem +0 -0
  102. data/vendor/bundle/cache/regexp_parser-1.6.0.gem +0 -0
  103. data/vendor/bundle/cache/rspec-3.9.0.gem +0 -0
  104. data/vendor/bundle/cache/rspec-core-3.9.0.gem +0 -0
  105. data/vendor/bundle/cache/rspec-expectations-3.9.0.gem +0 -0
  106. data/vendor/bundle/cache/rspec-mocks-3.9.0.gem +0 -0
  107. data/vendor/bundle/cache/rspec-support-3.9.0.gem +0 -0
  108. data/vendor/bundle/cache/rubyzip-2.0.0.gem +0 -0
  109. data/vendor/bundle/cache/sawyer-0.8.2.gem +0 -0
  110. data/vendor/bundle/cache/selenium-webdriver-3.142.6.gem +0 -0
  111. data/vendor/bundle/cache/sequel-5.26.0.gem +0 -0
  112. data/vendor/bundle/cache/simplecov-0.16.1.gem +0 -0
  113. data/vendor/bundle/cache/simplecov-html-0.10.2.gem +0 -0
  114. data/vendor/bundle/cache/sqlite3-1.4.1.gem +0 -0
  115. data/vendor/bundle/cache/term-ansicolor-1.7.1.gem +0 -0
  116. data/vendor/bundle/cache/test-unit-3.3.4.gem +0 -0
  117. data/vendor/bundle/cache/thor-0.20.3.gem +0 -0
  118. data/vendor/bundle/cache/tins-1.22.2.gem +0 -0
  119. data/vendor/bundle/cache/xpath-3.2.0.gem +0 -0
  120. data/vendor/bundle/extensions/x86_64-linux/2.6.0-static/json-2.2.0/gem.build_complete +0 -0
  121. data/vendor/bundle/extensions/x86_64-linux/2.6.0-static/json-2.2.0/gem_make.out +13 -0
  122. data/vendor/bundle/extensions/x86_64-linux/2.6.0-static/json-2.2.0/json/ext/generator.so +0 -0
  123. data/vendor/bundle/extensions/x86_64-linux/2.6.0-static/json-2.2.0/json/ext/parser.so +0 -0
  124. data/vendor/bundle/extensions/x86_64-linux/2.6.0-static/json-2.2.0/mkmf.log +69 -0
  125. data/vendor/bundle/extensions/x86_64-linux/2.6.0-static/nokogiri-1.10.5/gem.build_complete +0 -0
  126. data/vendor/bundle/extensions/x86_64-linux/2.6.0-static/nokogiri-1.10.5/gem_make.out +449 -0
  127. data/vendor/bundle/extensions/x86_64-linux/2.6.0-static/nokogiri-1.10.5/mkmf.log +566 -0
  128. data/vendor/bundle/extensions/x86_64-linux/2.6.0-static/nokogiri-1.10.5/nokogiri/nokogiri.so +0 -0
  129. data/vendor/bundle/extensions/x86_64-linux/2.6.0-static/redcarpet-3.5.0/gem.build_complete +0 -0
  130. data/vendor/bundle/extensions/x86_64-linux/2.6.0-static/redcarpet-3.5.0/gem_make.out +119 -0
  131. data/vendor/bundle/extensions/x86_64-linux/2.6.0-static/redcarpet-3.5.0/redcarpet.so +0 -0
  132. data/vendor/bundle/extensions/x86_64-linux/2.6.0-static/sqlite3-1.4.1/gem.build_complete +0 -0
  133. data/vendor/bundle/extensions/x86_64-linux/2.6.0-static/sqlite3-1.4.1/gem_make.out +77 -0
  134. data/vendor/bundle/extensions/x86_64-linux/2.6.0-static/sqlite3-1.4.1/mkmf.log +631 -0
  135. data/vendor/bundle/extensions/x86_64-linux/2.6.0-static/sqlite3-1.4.1/sqlite3/sqlite3_native.so +0 -0
  136. data/vendor/bundle/gems/addressable-2.7.0/CHANGELOG.md +235 -0
  137. data/vendor/bundle/gems/addressable-2.7.0/Gemfile +32 -0
  138. data/vendor/bundle/gems/addressable-2.7.0/LICENSE.txt +202 -0
  139. data/vendor/bundle/gems/addressable-2.7.0/README.md +121 -0
  140. data/vendor/bundle/gems/addressable-2.7.0/Rakefile +34 -0
  141. data/vendor/bundle/gems/addressable-2.7.0/data/unicode.data +0 -0
  142. data/vendor/bundle/gems/addressable-2.7.0/lib/addressable.rb +4 -0
  143. data/vendor/bundle/gems/addressable-2.7.0/lib/addressable/idna.rb +27 -0
  144. data/vendor/bundle/gems/addressable-2.7.0/lib/addressable/idna/native.rb +61 -0
  145. data/vendor/bundle/gems/addressable-2.7.0/lib/addressable/idna/pure.rb +676 -0
  146. data/vendor/bundle/gems/addressable-2.7.0/lib/addressable/template.rb +1045 -0
  147. data/vendor/bundle/gems/addressable-2.7.0/lib/addressable/uri.rb +2529 -0
  148. data/vendor/bundle/gems/addressable-2.7.0/lib/addressable/version.rb +32 -0
  149. data/vendor/bundle/gems/addressable-2.7.0/spec/addressable/idna_spec.rb +300 -0
  150. data/vendor/bundle/gems/addressable-2.7.0/spec/addressable/net_http_compat_spec.rb +30 -0
  151. data/vendor/bundle/gems/addressable-2.7.0/spec/addressable/rack_mount_compat_spec.rb +106 -0
  152. data/vendor/bundle/gems/addressable-2.7.0/spec/addressable/security_spec.rb +59 -0
  153. data/vendor/bundle/gems/addressable-2.7.0/spec/addressable/template_spec.rb +1451 -0
  154. data/vendor/bundle/gems/addressable-2.7.0/spec/addressable/uri_spec.rb +6603 -0
  155. data/vendor/bundle/gems/addressable-2.7.0/spec/spec_helper.rb +24 -0
  156. data/vendor/bundle/gems/addressable-2.7.0/tasks/clobber.rake +4 -0
  157. data/vendor/bundle/gems/addressable-2.7.0/tasks/gem.rake +93 -0
  158. data/vendor/bundle/gems/addressable-2.7.0/tasks/git.rake +47 -0
  159. data/vendor/bundle/gems/addressable-2.7.0/tasks/metrics.rake +24 -0
  160. data/vendor/bundle/gems/addressable-2.7.0/tasks/rspec.rake +23 -0
  161. data/vendor/bundle/gems/addressable-2.7.0/tasks/yard.rake +29 -0
  162. data/vendor/bundle/gems/capybara-3.29.0/History.md +1743 -0
  163. data/vendor/bundle/gems/capybara-3.29.0/License.txt +22 -0
  164. data/vendor/bundle/gems/capybara-3.29.0/README.md +1099 -0
  165. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara.rb +511 -0
  166. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/config.rb +90 -0
  167. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/cucumber.rb +27 -0
  168. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/driver/base.rb +170 -0
  169. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/driver/node.rb +139 -0
  170. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/dsl.rb +57 -0
  171. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/helpers.rb +106 -0
  172. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/minitest.rb +297 -0
  173. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/minitest/spec.rb +208 -0
  174. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/node/actions.rb +416 -0
  175. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/node/base.rb +143 -0
  176. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/node/document.rb +48 -0
  177. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/node/document_matchers.rb +67 -0
  178. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/node/element.rb +599 -0
  179. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/node/finders.rb +319 -0
  180. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/node/matchers.rb +868 -0
  181. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/node/simple.rb +206 -0
  182. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/queries/ancestor_query.rb +27 -0
  183. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/queries/base_query.rb +105 -0
  184. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/queries/current_path_query.rb +51 -0
  185. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/queries/match_query.rb +26 -0
  186. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/queries/selector_query.rb +697 -0
  187. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/queries/sibling_query.rb +26 -0
  188. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/queries/style_query.rb +45 -0
  189. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/queries/text_query.rb +110 -0
  190. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/queries/title_query.rb +39 -0
  191. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rack_test/browser.rb +135 -0
  192. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rack_test/css_handlers.rb +13 -0
  193. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rack_test/driver.rb +109 -0
  194. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rack_test/errors.rb +6 -0
  195. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rack_test/form.rb +127 -0
  196. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rack_test/node.rb +300 -0
  197. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rails.rb +16 -0
  198. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/registrations/drivers.rb +36 -0
  199. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/registrations/patches/puma_ssl.rb +27 -0
  200. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/registrations/servers.rb +44 -0
  201. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/result.rb +166 -0
  202. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rspec.rb +29 -0
  203. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rspec/features.rb +23 -0
  204. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rspec/matcher_proxies.rb +82 -0
  205. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rspec/matchers.rb +201 -0
  206. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rspec/matchers/base.rb +105 -0
  207. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rspec/matchers/become_closed.rb +33 -0
  208. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rspec/matchers/compound.rb +88 -0
  209. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rspec/matchers/count_sugar.rb +36 -0
  210. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rspec/matchers/have_ancestor.rb +27 -0
  211. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rspec/matchers/have_current_path.rb +29 -0
  212. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rspec/matchers/have_selector.rb +69 -0
  213. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rspec/matchers/have_sibling.rb +27 -0
  214. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rspec/matchers/have_text.rb +33 -0
  215. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rspec/matchers/have_title.rb +29 -0
  216. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rspec/matchers/match_selector.rb +27 -0
  217. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rspec/matchers/match_style.rb +38 -0
  218. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rspec/matchers/spatial_sugar.rb +38 -0
  219. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector.rb +225 -0
  220. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/builders/css_builder.rb +84 -0
  221. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/builders/xpath_builder.rb +69 -0
  222. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/css.rb +102 -0
  223. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition.rb +276 -0
  224. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/button.rb +46 -0
  225. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/checkbox.rb +26 -0
  226. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/css.rb +8 -0
  227. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/datalist_input.rb +35 -0
  228. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/datalist_option.rb +25 -0
  229. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/element.rb +27 -0
  230. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/field.rb +40 -0
  231. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/fieldset.rb +14 -0
  232. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/file_field.rb +13 -0
  233. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/fillable_field.rb +33 -0
  234. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/frame.rb +17 -0
  235. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/id.rb +6 -0
  236. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/label.rb +60 -0
  237. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/link.rb +46 -0
  238. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/link_or_button.rb +16 -0
  239. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/option.rb +27 -0
  240. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/radio_button.rb +27 -0
  241. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/select.rb +62 -0
  242. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/table.rb +106 -0
  243. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/table_row.rb +21 -0
  244. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/xpath.rb +5 -0
  245. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/filter.rb +5 -0
  246. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/filter_set.rb +122 -0
  247. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/filters/base.rb +72 -0
  248. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/filters/expression_filter.rb +22 -0
  249. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/filters/locator_filter.rb +29 -0
  250. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/filters/node_filter.rb +31 -0
  251. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/regexp_disassembler.rb +214 -0
  252. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/selector.rb +145 -0
  253. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/xpath_extensions.rb +17 -0
  254. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/atoms/getAttribute.min.js +1 -0
  255. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/atoms/isDisplayed.min.js +1 -0
  256. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/atoms/src/getAttribute.js +161 -0
  257. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/atoms/src/isDisplayed.js +454 -0
  258. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/driver.rb +487 -0
  259. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/driver_specializations/chrome_driver.rb +119 -0
  260. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/driver_specializations/edge_driver.rb +126 -0
  261. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/driver_specializations/firefox_driver.rb +89 -0
  262. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/driver_specializations/internet_explorer_driver.rb +26 -0
  263. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/driver_specializations/safari_driver.rb +24 -0
  264. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/extensions/file_input_click_emulation.rb +34 -0
  265. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/extensions/find.rb +110 -0
  266. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/extensions/html5_drag.rb +211 -0
  267. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/extensions/modifier_keys_stack.rb +28 -0
  268. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/extensions/scroll.rb +78 -0
  269. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/logger_suppressor.rb +34 -0
  270. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/node.rb +532 -0
  271. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/nodes/chrome_node.rb +122 -0
  272. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/nodes/edge_node.rb +102 -0
  273. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/nodes/firefox_node.rb +131 -0
  274. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/nodes/ie_node.rb +22 -0
  275. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/nodes/safari_node.rb +118 -0
  276. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/patches/atoms.rb +18 -0
  277. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/patches/is_displayed.rb +16 -0
  278. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/patches/logs.rb +47 -0
  279. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/patches/pause_duration_fix.rb +9 -0
  280. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/patches/persistent_client.rb +20 -0
  281. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/server.rb +114 -0
  282. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/server/animation_disabler.rb +58 -0
  283. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/server/checker.rb +44 -0
  284. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/server/middleware.rb +59 -0
  285. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/session.rb +925 -0
  286. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/session/config.rb +120 -0
  287. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/session/matchers.rb +87 -0
  288. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/fixtures/another_test_file.txt +1 -0
  289. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/fixtures/capybara.jpg +3 -0
  290. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/fixtures/no_extension +1 -0
  291. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/fixtures/test_file.txt +1 -0
  292. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/public/jquery-ui.js +13 -0
  293. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/public/jquery.js +5 -0
  294. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/public/offset.js +6 -0
  295. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/public/test.js +212 -0
  296. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/accept_alert_spec.rb +81 -0
  297. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/accept_confirm_spec.rb +32 -0
  298. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/accept_prompt_spec.rb +78 -0
  299. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/all_spec.rb +223 -0
  300. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/ancestor_spec.rb +83 -0
  301. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/assert_all_of_selectors_spec.rb +140 -0
  302. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/assert_current_path_spec.rb +75 -0
  303. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/assert_selector_spec.rb +143 -0
  304. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/assert_style_spec.rb +26 -0
  305. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/assert_text_spec.rb +254 -0
  306. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/assert_title_spec.rb +93 -0
  307. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/attach_file_spec.rb +216 -0
  308. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/body_spec.rb +23 -0
  309. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/check_spec.rb +235 -0
  310. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/choose_spec.rb +121 -0
  311. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/click_button_spec.rb +501 -0
  312. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/click_link_or_button_spec.rb +129 -0
  313. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/click_link_spec.rb +229 -0
  314. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/current_scope_spec.rb +31 -0
  315. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/current_url_spec.rb +115 -0
  316. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/dismiss_confirm_spec.rb +36 -0
  317. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/dismiss_prompt_spec.rb +21 -0
  318. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/element/assert_match_selector_spec.rb +38 -0
  319. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/element/match_css_spec.rb +31 -0
  320. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/element/match_xpath_spec.rb +25 -0
  321. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/element/matches_selector_spec.rb +120 -0
  322. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/evaluate_async_script_spec.rb +23 -0
  323. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/evaluate_script_spec.rb +49 -0
  324. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/execute_script_spec.rb +28 -0
  325. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/fill_in_spec.rb +257 -0
  326. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/find_button_spec.rb +74 -0
  327. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/find_by_id_spec.rb +33 -0
  328. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/find_field_spec.rb +113 -0
  329. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/find_link_spec.rb +70 -0
  330. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/find_spec.rb +508 -0
  331. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/first_spec.rb +156 -0
  332. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/frame/frame_title_spec.rb +23 -0
  333. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/frame/frame_url_spec.rb +23 -0
  334. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/frame/switch_to_frame_spec.rb +116 -0
  335. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/frame/within_frame_spec.rb +112 -0
  336. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/go_back_spec.rb +12 -0
  337. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/go_forward_spec.rb +14 -0
  338. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/has_all_selectors_spec.rb +69 -0
  339. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/has_ancestor_spec.rb +46 -0
  340. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/has_any_selectors_spec.rb +25 -0
  341. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/has_button_spec.rb +69 -0
  342. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/has_css_spec.rb +371 -0
  343. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/has_current_path_spec.rb +138 -0
  344. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/has_field_spec.rb +349 -0
  345. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/has_link_spec.rb +39 -0
  346. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/has_none_selectors_spec.rb +78 -0
  347. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/has_select_spec.rb +282 -0
  348. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/has_selector_spec.rb +202 -0
  349. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/has_sibling_spec.rb +50 -0
  350. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/has_table_spec.rb +152 -0
  351. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/has_text_spec.rb +359 -0
  352. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/has_title_spec.rb +71 -0
  353. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/has_xpath_spec.rb +149 -0
  354. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/headers_spec.rb +8 -0
  355. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/html_spec.rb +47 -0
  356. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/matches_style_spec.rb +35 -0
  357. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/node_spec.rb +1161 -0
  358. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/node_wrapper_spec.rb +39 -0
  359. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/refresh_spec.rb +33 -0
  360. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/reset_session_spec.rb +148 -0
  361. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/response_code_spec.rb +8 -0
  362. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/save_and_open_page_spec.rb +21 -0
  363. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/save_and_open_screenshot_spec.rb +43 -0
  364. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/save_page_spec.rb +110 -0
  365. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/save_screenshot_spec.rb +55 -0
  366. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/screenshot_spec.rb +18 -0
  367. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/scroll_spec.rb +117 -0
  368. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/select_spec.rb +229 -0
  369. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/selectors_spec.rb +85 -0
  370. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/sibling_spec.rb +52 -0
  371. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/source_spec.rb +0 -0
  372. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/text_spec.rb +74 -0
  373. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/title_spec.rb +29 -0
  374. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/uncheck_spec.rb +100 -0
  375. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/unselect_spec.rb +116 -0
  376. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/visit_spec.rb +204 -0
  377. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/window/become_closed_spec.rb +89 -0
  378. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/window/current_window_spec.rb +28 -0
  379. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/window/open_new_window_spec.rb +31 -0
  380. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/window/switch_to_window_spec.rb +132 -0
  381. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/window/window_opened_by_spec.rb +99 -0
  382. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/window/window_spec.rb +203 -0
  383. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/window/windows_spec.rb +34 -0
  384. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/window/within_window_spec.rb +157 -0
  385. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/within_spec.rb +199 -0
  386. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/spec_helper.rb +135 -0
  387. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/test_app.rb +226 -0
  388. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/animated.erb +49 -0
  389. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/buttons.erb +5 -0
  390. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/fieldsets.erb +30 -0
  391. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/form.erb +670 -0
  392. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/frame_child.erb +18 -0
  393. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/frame_one.erb +10 -0
  394. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/frame_parent.erb +9 -0
  395. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/frame_two.erb +9 -0
  396. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/header_links.erb +8 -0
  397. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/host_links.erb +13 -0
  398. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/initial_alert.erb +10 -0
  399. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/obscured.erb +47 -0
  400. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/offset.erb +32 -0
  401. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/path.erb +13 -0
  402. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/popup_one.erb +9 -0
  403. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/popup_two.erb +9 -0
  404. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/postback.erb +14 -0
  405. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/react.erb +45 -0
  406. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/scroll.erb +20 -0
  407. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/spatial.erb +31 -0
  408. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/tables.erb +130 -0
  409. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_animation.erb +74 -0
  410. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_base_tag.erb +11 -0
  411. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_count.erb +8 -0
  412. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_dragula.erb +22 -0
  413. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_fixed_header_footer.erb +17 -0
  414. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_hover.erb +24 -0
  415. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_hover1.erb +10 -0
  416. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_html.erb +208 -0
  417. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_html5_svg.erb +20 -0
  418. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_html_entities.erb +2 -0
  419. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_js.erb +160 -0
  420. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_jstree.erb +26 -0
  421. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_namespace.erb +20 -0
  422. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_scope.erb +42 -0
  423. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_scope_other.erb +6 -0
  424. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_simple_html.erb +2 -0
  425. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_slow_unload.erb +17 -0
  426. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_sortable_js.erb +21 -0
  427. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_title.erb +5 -0
  428. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_unload_alert.erb +14 -0
  429. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_windows.erb +54 -0
  430. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/within_frames.erb +15 -0
  431. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/version.rb +5 -0
  432. data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/window.rb +146 -0
  433. data/vendor/bundle/gems/capybara-3.29.0/spec/basic_node_spec.rb +154 -0
  434. data/vendor/bundle/gems/capybara-3.29.0/spec/capybara_spec.rb +112 -0
  435. data/vendor/bundle/gems/capybara-3.29.0/spec/css_builder_spec.rb +101 -0
  436. data/vendor/bundle/gems/capybara-3.29.0/spec/css_splitter_spec.rb +38 -0
  437. data/vendor/bundle/gems/capybara-3.29.0/spec/dsl_spec.rb +276 -0
  438. data/vendor/bundle/gems/capybara-3.29.0/spec/filter_set_spec.rb +46 -0
  439. data/vendor/bundle/gems/capybara-3.29.0/spec/fixtures/capybara.csv +1 -0
  440. data/vendor/bundle/gems/capybara-3.29.0/spec/fixtures/certificate.pem +25 -0
  441. data/vendor/bundle/gems/capybara-3.29.0/spec/fixtures/key.pem +27 -0
  442. data/vendor/bundle/gems/capybara-3.29.0/spec/fixtures/selenium_driver_rspec_failure.rb +13 -0
  443. data/vendor/bundle/gems/capybara-3.29.0/spec/fixtures/selenium_driver_rspec_success.rb +13 -0
  444. data/vendor/bundle/gems/capybara-3.29.0/spec/minitest_spec.rb +163 -0
  445. data/vendor/bundle/gems/capybara-3.29.0/spec/minitest_spec_spec.rb +162 -0
  446. data/vendor/bundle/gems/capybara-3.29.0/spec/per_session_config_spec.rb +68 -0
  447. data/vendor/bundle/gems/capybara-3.29.0/spec/rack_test_spec.rb +257 -0
  448. data/vendor/bundle/gems/capybara-3.29.0/spec/regexp_dissassembler_spec.rb +246 -0
  449. data/vendor/bundle/gems/capybara-3.29.0/spec/result_spec.rb +185 -0
  450. data/vendor/bundle/gems/capybara-3.29.0/spec/rspec/features_spec.rb +98 -0
  451. data/vendor/bundle/gems/capybara-3.29.0/spec/rspec/scenarios_spec.rb +19 -0
  452. data/vendor/bundle/gems/capybara-3.29.0/spec/rspec/shared_spec_matchers.rb +947 -0
  453. data/vendor/bundle/gems/capybara-3.29.0/spec/rspec/views_spec.rb +14 -0
  454. data/vendor/bundle/gems/capybara-3.29.0/spec/rspec_matchers_spec.rb +62 -0
  455. data/vendor/bundle/gems/capybara-3.29.0/spec/rspec_spec.rb +145 -0
  456. data/vendor/bundle/gems/capybara-3.29.0/spec/sauce_spec_chrome.rb +43 -0
  457. data/vendor/bundle/gems/capybara-3.29.0/spec/selector_spec.rb +513 -0
  458. data/vendor/bundle/gems/capybara-3.29.0/spec/selenium_spec_chrome.rb +183 -0
  459. data/vendor/bundle/gems/capybara-3.29.0/spec/selenium_spec_chrome_remote.rb +94 -0
  460. data/vendor/bundle/gems/capybara-3.29.0/spec/selenium_spec_edge.rb +47 -0
  461. data/vendor/bundle/gems/capybara-3.29.0/spec/selenium_spec_firefox.rb +203 -0
  462. data/vendor/bundle/gems/capybara-3.29.0/spec/selenium_spec_firefox_remote.rb +80 -0
  463. data/vendor/bundle/gems/capybara-3.29.0/spec/selenium_spec_ie.rb +150 -0
  464. data/vendor/bundle/gems/capybara-3.29.0/spec/selenium_spec_safari.rb +148 -0
  465. data/vendor/bundle/gems/capybara-3.29.0/spec/server_spec.rb +250 -0
  466. data/vendor/bundle/gems/capybara-3.29.0/spec/session_spec.rb +91 -0
  467. data/vendor/bundle/gems/capybara-3.29.0/spec/shared_selenium_node.rb +65 -0
  468. data/vendor/bundle/gems/capybara-3.29.0/spec/shared_selenium_session.rb +466 -0
  469. data/vendor/bundle/gems/capybara-3.29.0/spec/spec_helper.rb +100 -0
  470. data/vendor/bundle/gems/capybara-3.29.0/spec/xpath_builder_spec.rb +93 -0
  471. data/vendor/bundle/gems/childprocess-3.0.0/CHANGELOG.md +73 -0
  472. data/vendor/bundle/gems/childprocess-3.0.0/Gemfile +21 -0
  473. data/vendor/bundle/gems/childprocess-3.0.0/LICENSE +20 -0
  474. data/vendor/bundle/gems/childprocess-3.0.0/README.md +218 -0
  475. data/vendor/bundle/gems/childprocess-3.0.0/Rakefile +61 -0
  476. data/vendor/bundle/gems/childprocess-3.0.0/appveyor.yml +42 -0
  477. data/vendor/bundle/gems/childprocess-3.0.0/childprocess.gemspec +26 -0
  478. data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess.rb +210 -0
  479. data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/abstract_io.rb +36 -0
  480. data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/abstract_process.rb +192 -0
  481. data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/errors.rb +37 -0
  482. data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/jruby.rb +56 -0
  483. data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/jruby/io.rb +16 -0
  484. data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/jruby/process.rb +184 -0
  485. data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/jruby/pump.rb +53 -0
  486. data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/tools/generator.rb +146 -0
  487. data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/unix.rb +9 -0
  488. data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/unix/fork_exec_process.rb +78 -0
  489. data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/unix/io.rb +21 -0
  490. data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/unix/lib.rb +186 -0
  491. data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/unix/platform/i386-linux.rb +12 -0
  492. data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/unix/platform/i386-solaris.rb +11 -0
  493. data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/unix/platform/x86_64-linux.rb +12 -0
  494. data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/unix/platform/x86_64-macosx.rb +11 -0
  495. data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/unix/posix_spawn_process.rb +134 -0
  496. data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/unix/process.rb +90 -0
  497. data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/version.rb +3 -0
  498. data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/windows.rb +38 -0
  499. data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/windows/handle.rb +91 -0
  500. data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/windows/io.rb +25 -0
  501. data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/windows/lib.rb +416 -0
  502. data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/windows/process.rb +130 -0
  503. data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/windows/process_builder.rb +178 -0
  504. data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/windows/structs.rb +149 -0
  505. data/vendor/bundle/gems/childprocess-3.0.0/spec/abstract_io_spec.rb +12 -0
  506. data/vendor/bundle/gems/childprocess-3.0.0/spec/childprocess_spec.rb +447 -0
  507. data/vendor/bundle/gems/childprocess-3.0.0/spec/get_env.ps1 +13 -0
  508. data/vendor/bundle/gems/childprocess-3.0.0/spec/io_spec.rb +228 -0
  509. data/vendor/bundle/gems/childprocess-3.0.0/spec/jruby_spec.rb +24 -0
  510. data/vendor/bundle/gems/childprocess-3.0.0/spec/pid_behavior.rb +12 -0
  511. data/vendor/bundle/gems/childprocess-3.0.0/spec/platform_detection_spec.rb +86 -0
  512. data/vendor/bundle/gems/childprocess-3.0.0/spec/spec_helper.rb +270 -0
  513. data/vendor/bundle/gems/childprocess-3.0.0/spec/unix_spec.rb +57 -0
  514. data/vendor/bundle/gems/childprocess-3.0.0/spec/windows_spec.rb +23 -0
  515. data/vendor/bundle/gems/coveralls-0.8.23/CHANGELOG.md +21 -0
  516. data/vendor/bundle/gems/coveralls-0.8.23/Gemfile +41 -0
  517. data/vendor/bundle/gems/coveralls-0.8.23/LICENSE +22 -0
  518. data/vendor/bundle/gems/coveralls-0.8.23/README.md +3 -0
  519. data/vendor/bundle/gems/coveralls-0.8.23/Rakefile +14 -0
  520. data/vendor/bundle/gems/coveralls-0.8.23/bin/coveralls +9 -0
  521. data/vendor/bundle/gems/coveralls-0.8.23/coveralls-ruby.gemspec +29 -0
  522. data/vendor/bundle/gems/coveralls-0.8.23/lib/coveralls.rb +101 -0
  523. data/vendor/bundle/gems/coveralls-0.8.23/lib/coveralls/api.rb +128 -0
  524. data/vendor/bundle/gems/coveralls-0.8.23/lib/coveralls/command.rb +69 -0
  525. data/vendor/bundle/gems/coveralls-0.8.23/lib/coveralls/configuration.rb +233 -0
  526. data/vendor/bundle/gems/coveralls-0.8.23/lib/coveralls/output.rb +114 -0
  527. data/vendor/bundle/gems/coveralls-0.8.23/lib/coveralls/rake/task.rb +19 -0
  528. data/vendor/bundle/gems/coveralls-0.8.23/lib/coveralls/simplecov.rb +101 -0
  529. data/vendor/bundle/gems/coveralls-0.8.23/lib/coveralls/version.rb +3 -0
  530. data/vendor/bundle/gems/coveralls-0.8.23/spec/coveralls/configuration_spec.rb +368 -0
  531. data/vendor/bundle/gems/coveralls-0.8.23/spec/coveralls/coveralls_spec.rb +106 -0
  532. data/vendor/bundle/gems/coveralls-0.8.23/spec/coveralls/fixtures/app/controllers/sample.rb +12 -0
  533. data/vendor/bundle/gems/coveralls-0.8.23/spec/coveralls/fixtures/app/models/airplane.rb +10 -0
  534. data/vendor/bundle/gems/coveralls-0.8.23/spec/coveralls/fixtures/app/models/dog.rb +10 -0
  535. data/vendor/bundle/gems/coveralls-0.8.23/spec/coveralls/fixtures/app/models/house.rb +10 -0
  536. data/vendor/bundle/gems/coveralls-0.8.23/spec/coveralls/fixtures/app/models/robot.rb +10 -0
  537. data/vendor/bundle/gems/coveralls-0.8.23/spec/coveralls/fixtures/app/models/user.rb +10 -0
  538. data/vendor/bundle/gems/coveralls-0.8.23/spec/coveralls/fixtures/app/vendor/vendored_gem.rb +1 -0
  539. data/vendor/bundle/gems/coveralls-0.8.23/spec/coveralls/fixtures/sample.rb +12 -0
  540. data/vendor/bundle/gems/coveralls-0.8.23/spec/coveralls/output_spec.rb +92 -0
  541. data/vendor/bundle/gems/coveralls-0.8.23/spec/coveralls/simplecov_spec.rb +82 -0
  542. data/vendor/bundle/gems/coveralls-0.8.23/spec/spec_helper.rb +82 -0
  543. data/vendor/bundle/gems/diff-lcs-1.3/Code-of-Conduct.md +74 -0
  544. data/vendor/bundle/gems/diff-lcs-1.3/Contributing.md +83 -0
  545. data/vendor/bundle/gems/diff-lcs-1.3/History.md +220 -0
  546. data/vendor/bundle/gems/diff-lcs-1.3/License.md +39 -0
  547. data/vendor/bundle/gems/diff-lcs-1.3/Manifest.txt +37 -0
  548. data/vendor/bundle/gems/diff-lcs-1.3/README.rdoc +84 -0
  549. data/vendor/bundle/gems/diff-lcs-1.3/Rakefile +57 -0
  550. data/vendor/bundle/gems/diff-lcs-1.3/autotest/discover.rb +1 -0
  551. data/vendor/bundle/gems/diff-lcs-1.3/bin/htmldiff +32 -0
  552. data/vendor/bundle/gems/diff-lcs-1.3/bin/ldiff +6 -0
  553. data/vendor/bundle/gems/diff-lcs-1.3/docs/COPYING.txt +339 -0
  554. data/vendor/bundle/gems/diff-lcs-1.3/docs/artistic.txt +127 -0
  555. data/vendor/bundle/gems/diff-lcs-1.3/lib/diff-lcs.rb +3 -0
  556. data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs.rb +725 -0
  557. data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/array.rb +7 -0
  558. data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/block.rb +37 -0
  559. data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/callbacks.rb +322 -0
  560. data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/change.rb +181 -0
  561. data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/htmldiff.rb +149 -0
  562. data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/hunk.rb +276 -0
  563. data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/internals.rb +307 -0
  564. data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/ldiff.rb +167 -0
  565. data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/string.rb +5 -0
  566. data/vendor/bundle/gems/diff-lcs-1.3/spec/change_spec.rb +65 -0
  567. data/vendor/bundle/gems/diff-lcs-1.3/spec/diff_spec.rb +47 -0
  568. data/vendor/bundle/gems/diff-lcs-1.3/spec/fixtures/ds1.csv +50 -0
  569. data/vendor/bundle/gems/diff-lcs-1.3/spec/fixtures/ds2.csv +51 -0
  570. data/vendor/bundle/gems/diff-lcs-1.3/spec/hunk_spec.rb +72 -0
  571. data/vendor/bundle/gems/diff-lcs-1.3/spec/issues_spec.rb +49 -0
  572. data/vendor/bundle/gems/diff-lcs-1.3/spec/lcs_spec.rb +56 -0
  573. data/vendor/bundle/gems/diff-lcs-1.3/spec/ldiff_spec.rb +47 -0
  574. data/vendor/bundle/gems/diff-lcs-1.3/spec/patch_spec.rb +422 -0
  575. data/vendor/bundle/gems/diff-lcs-1.3/spec/sdiff_spec.rb +214 -0
  576. data/vendor/bundle/gems/diff-lcs-1.3/spec/spec_helper.rb +321 -0
  577. data/vendor/bundle/gems/diff-lcs-1.3/spec/traverse_balanced_spec.rb +310 -0
  578. data/vendor/bundle/gems/diff-lcs-1.3/spec/traverse_sequences_spec.rb +139 -0
  579. data/vendor/bundle/gems/docile-1.3.2/Gemfile +12 -0
  580. data/vendor/bundle/gems/docile-1.3.2/HISTORY.md +89 -0
  581. data/vendor/bundle/gems/docile-1.3.2/LICENSE +21 -0
  582. data/vendor/bundle/gems/docile-1.3.2/README.md +381 -0
  583. data/vendor/bundle/gems/docile-1.3.2/Rakefile +28 -0
  584. data/vendor/bundle/gems/docile-1.3.2/docile.gemspec +55 -0
  585. data/vendor/bundle/gems/docile-1.3.2/lib/docile.rb +123 -0
  586. data/vendor/bundle/gems/docile-1.3.2/lib/docile/chaining_fallback_context_proxy.rb +20 -0
  587. data/vendor/bundle/gems/docile-1.3.2/lib/docile/execution.rb +41 -0
  588. data/vendor/bundle/gems/docile-1.3.2/lib/docile/fallback_context_proxy.rb +93 -0
  589. data/vendor/bundle/gems/docile-1.3.2/lib/docile/version.rb +4 -0
  590. data/vendor/bundle/gems/docile-1.3.2/on_what.rb +26 -0
  591. data/vendor/bundle/gems/emot-0.0.4/Gemfile +4 -0
  592. data/vendor/bundle/gems/emot-0.0.4/LICENSE.txt +22 -0
  593. data/vendor/bundle/gems/emot-0.0.4/README.md +87 -0
  594. data/vendor/bundle/gems/emot-0.0.4/Rakefile +7 -0
  595. data/vendor/bundle/gems/emot-0.0.4/bin/emot +5 -0
  596. data/vendor/bundle/gems/emot-0.0.4/emot.gemspec +26 -0
  597. data/vendor/bundle/gems/emot-0.0.4/lib/emot.rb +34 -0
  598. data/vendor/bundle/gems/emot-0.0.4/lib/emot/cli.rb +62 -0
  599. data/vendor/bundle/gems/emot-0.0.4/lib/emot/map.rb +894 -0
  600. data/vendor/bundle/gems/emot-0.0.4/lib/emot/symbol_ext.rb +11 -0
  601. data/vendor/bundle/gems/emot-0.0.4/lib/emot/version.rb +3 -0
  602. data/vendor/bundle/gems/emot-0.0.4/spec/cli_spec.rb +56 -0
  603. data/vendor/bundle/gems/emot-0.0.4/spec/emot_spec.rb +50 -0
  604. data/vendor/bundle/gems/emot-0.0.4/spec/spec_helper.rb +2 -0
  605. data/vendor/bundle/gems/faraday-0.17.1/CHANGELOG.md +216 -0
  606. data/vendor/bundle/gems/faraday-0.17.1/LICENSE.md +20 -0
  607. data/vendor/bundle/gems/faraday-0.17.1/README.md +384 -0
  608. data/vendor/bundle/gems/faraday-0.17.1/Rakefile +13 -0
  609. data/vendor/bundle/gems/faraday-0.17.1/lib/faraday.rb +248 -0
  610. data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/adapter.rb +55 -0
  611. data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/adapter/em_http.rb +243 -0
  612. data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/adapter/em_http_ssl_patch.rb +56 -0
  613. data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/adapter/em_synchrony.rb +106 -0
  614. data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/adapter/em_synchrony/parallel_manager.rb +66 -0
  615. data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/adapter/excon.rb +82 -0
  616. data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/adapter/httpclient.rb +128 -0
  617. data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/adapter/net_http.rb +152 -0
  618. data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/adapter/net_http_persistent.rb +68 -0
  619. data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/adapter/patron.rb +95 -0
  620. data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/adapter/rack.rb +58 -0
  621. data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/adapter/test.rb +213 -0
  622. data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/adapter/typhoeus.rb +12 -0
  623. data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/autoload.rb +84 -0
  624. data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/connection.rb +484 -0
  625. data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/deprecate.rb +101 -0
  626. data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/error.rb +119 -0
  627. data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/middleware.rb +37 -0
  628. data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/options.rb +373 -0
  629. data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/parameters.rb +198 -0
  630. data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/rack_builder.rb +237 -0
  631. data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/request.rb +114 -0
  632. data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/request/authorization.rb +41 -0
  633. data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/request/basic_authentication.rb +13 -0
  634. data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/request/instrumentation.rb +36 -0
  635. data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/request/multipart.rb +68 -0
  636. data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/request/retry.rb +213 -0
  637. data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/request/token_authentication.rb +15 -0
  638. data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/request/url_encoded.rb +36 -0
  639. data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/response.rb +97 -0
  640. data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/response/logger.rb +80 -0
  641. data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/response/raise_error.rb +25 -0
  642. data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/upload_io.rb +67 -0
  643. data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/utils.rb +326 -0
  644. data/vendor/bundle/gems/faraday-0.17.1/spec/faraday/deprecate_spec.rb +69 -0
  645. data/vendor/bundle/gems/faraday-0.17.1/spec/faraday/error_spec.rb +102 -0
  646. data/vendor/bundle/gems/faraday-0.17.1/spec/faraday/response/raise_error_spec.rb +95 -0
  647. data/vendor/bundle/gems/faraday-0.17.1/spec/spec_helper.rb +104 -0
  648. data/vendor/bundle/gems/faraday-0.17.1/test/adapters/default_test.rb +14 -0
  649. data/vendor/bundle/gems/faraday-0.17.1/test/adapters/em_http_test.rb +30 -0
  650. data/vendor/bundle/gems/faraday-0.17.1/test/adapters/em_synchrony_test.rb +32 -0
  651. data/vendor/bundle/gems/faraday-0.17.1/test/adapters/excon_test.rb +30 -0
  652. data/vendor/bundle/gems/faraday-0.17.1/test/adapters/httpclient_test.rb +34 -0
  653. data/vendor/bundle/gems/faraday-0.17.1/test/adapters/integration.rb +263 -0
  654. data/vendor/bundle/gems/faraday-0.17.1/test/adapters/logger_test.rb +136 -0
  655. data/vendor/bundle/gems/faraday-0.17.1/test/adapters/net_http_persistent_test.rb +114 -0
  656. data/vendor/bundle/gems/faraday-0.17.1/test/adapters/net_http_test.rb +79 -0
  657. data/vendor/bundle/gems/faraday-0.17.1/test/adapters/patron_test.rb +40 -0
  658. data/vendor/bundle/gems/faraday-0.17.1/test/adapters/rack_test.rb +38 -0
  659. data/vendor/bundle/gems/faraday-0.17.1/test/adapters/test_middleware_test.rb +157 -0
  660. data/vendor/bundle/gems/faraday-0.17.1/test/adapters/typhoeus_test.rb +38 -0
  661. data/vendor/bundle/gems/faraday-0.17.1/test/authentication_middleware_test.rb +65 -0
  662. data/vendor/bundle/gems/faraday-0.17.1/test/composite_read_io_test.rb +109 -0
  663. data/vendor/bundle/gems/faraday-0.17.1/test/connection_test.rb +738 -0
  664. data/vendor/bundle/gems/faraday-0.17.1/test/env_test.rb +268 -0
  665. data/vendor/bundle/gems/faraday-0.17.1/test/helper.rb +75 -0
  666. data/vendor/bundle/gems/faraday-0.17.1/test/live_server.rb +67 -0
  667. data/vendor/bundle/gems/faraday-0.17.1/test/middleware/instrumentation_test.rb +88 -0
  668. data/vendor/bundle/gems/faraday-0.17.1/test/middleware/retry_test.rb +282 -0
  669. data/vendor/bundle/gems/faraday-0.17.1/test/middleware_stack_test.rb +260 -0
  670. data/vendor/bundle/gems/faraday-0.17.1/test/multibyte.txt +1 -0
  671. data/vendor/bundle/gems/faraday-0.17.1/test/options_test.rb +333 -0
  672. data/vendor/bundle/gems/faraday-0.17.1/test/parameters_test.rb +157 -0
  673. data/vendor/bundle/gems/faraday-0.17.1/test/request_middleware_test.rb +126 -0
  674. data/vendor/bundle/gems/faraday-0.17.1/test/response_middleware_test.rb +72 -0
  675. data/vendor/bundle/gems/faraday-0.17.1/test/strawberry.rb +2 -0
  676. data/vendor/bundle/gems/faraday-0.17.1/test/utils_test.rb +98 -0
  677. data/vendor/bundle/gems/fastimage-2.1.7/MIT-LICENSE +20 -0
  678. data/vendor/bundle/gems/fastimage-2.1.7/README.textile +162 -0
  679. data/vendor/bundle/gems/fastimage-2.1.7/lib/fastimage.rb +788 -0
  680. data/vendor/bundle/gems/hikidoc-0.1.0/COPYING +28 -0
  681. data/vendor/bundle/gems/hikidoc-0.1.0/Gemfile +4 -0
  682. data/vendor/bundle/gems/hikidoc-0.1.0/NEWS +30 -0
  683. data/vendor/bundle/gems/hikidoc-0.1.0/NEWS.ja +30 -0
  684. data/vendor/bundle/gems/hikidoc-0.1.0/README +87 -0
  685. data/vendor/bundle/gems/hikidoc-0.1.0/README.ja +84 -0
  686. data/vendor/bundle/gems/hikidoc-0.1.0/Rakefile +8 -0
  687. data/vendor/bundle/gems/hikidoc-0.1.0/TextFormattingRules +320 -0
  688. data/vendor/bundle/gems/hikidoc-0.1.0/TextFormattingRules.ja +318 -0
  689. data/vendor/bundle/gems/hikidoc-0.1.0/bin/hikidoc +66 -0
  690. data/vendor/bundle/gems/hikidoc-0.1.0/hikidoc.gemspec +23 -0
  691. data/vendor/bundle/gems/hikidoc-0.1.0/lib/hikidoc.rb +912 -0
  692. data/vendor/bundle/gems/hikidoc-0.1.0/test/hikidoc_test.rb +506 -0
  693. data/vendor/bundle/gems/jasmine-2.99.0/Gemfile +30 -0
  694. data/vendor/bundle/gems/jasmine-2.99.0/HOW_TO_TEST.markdown +10 -0
  695. data/vendor/bundle/gems/jasmine-2.99.0/MIT.LICENSE +20 -0
  696. data/vendor/bundle/gems/jasmine-2.99.0/README.markdown +96 -0
  697. data/vendor/bundle/gems/jasmine-2.99.0/RELEASE.markdown +15 -0
  698. data/vendor/bundle/gems/jasmine-2.99.0/Rakefile +49 -0
  699. data/vendor/bundle/gems/jasmine-2.99.0/bin/jasmine +6 -0
  700. data/vendor/bundle/gems/jasmine-2.99.0/jasmine.gemspec +48 -0
  701. data/vendor/bundle/gems/jasmine-2.99.0/lib/generators/jasmine/examples/USAGE +11 -0
  702. data/vendor/bundle/gems/jasmine-2.99.0/lib/generators/jasmine/examples/examples_generator.rb +19 -0
  703. data/vendor/bundle/gems/jasmine-2.99.0/lib/generators/jasmine/examples/templates/app/assets/javascripts/jasmine_examples/Player.js +22 -0
  704. data/vendor/bundle/gems/jasmine-2.99.0/lib/generators/jasmine/examples/templates/app/assets/javascripts/jasmine_examples/Song.js +7 -0
  705. data/vendor/bundle/gems/jasmine-2.99.0/lib/generators/jasmine/examples/templates/spec/javascripts/helpers/jasmine_examples/SpecHelper.js +15 -0
  706. data/vendor/bundle/gems/jasmine-2.99.0/lib/generators/jasmine/examples/templates/spec/javascripts/jasmine_examples/PlayerSpec.js +58 -0
  707. data/vendor/bundle/gems/jasmine-2.99.0/lib/generators/jasmine/install/USAGE +9 -0
  708. data/vendor/bundle/gems/jasmine-2.99.0/lib/generators/jasmine/install/install_generator.rb +18 -0
  709. data/vendor/bundle/gems/jasmine-2.99.0/lib/generators/jasmine/install/templates/spec/javascripts/support/jasmine.yml +145 -0
  710. data/vendor/bundle/gems/jasmine-2.99.0/lib/generators/jasmine/install/templates/spec/javascripts/support/jasmine_helper.rb +16 -0
  711. data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine.rb +32 -0
  712. data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/application.rb +21 -0
  713. data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/asset_expander.rb +66 -0
  714. data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/asset_pipeline_mapper.rb +17 -0
  715. data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/base.rb +54 -0
  716. data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/ci_runner.rb +50 -0
  717. data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/command_line_install.txt +13 -0
  718. data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/command_line_tool.rb +125 -0
  719. data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/config.rb +135 -0
  720. data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/configuration.rb +114 -0
  721. data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/core_configuration.rb +31 -0
  722. data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/dependencies.rb +28 -0
  723. data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/formatters/console.rb +118 -0
  724. data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/formatters/exit_code.rb +23 -0
  725. data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/formatters/multi.rb +17 -0
  726. data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/page.rb +11 -0
  727. data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/path_expander.rb +22 -0
  728. data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/path_mapper.rb +38 -0
  729. data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/railtie.rb +22 -0
  730. data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/result.rb +58 -0
  731. data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/ruby_versions.rb +11 -0
  732. data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/run.html.erb +20 -0
  733. data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/runners/phantom_boot.js +15 -0
  734. data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/runners/phantom_jasmine_run.js +50 -0
  735. data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/runners/phantom_js.rb +74 -0
  736. data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/server.rb +17 -0
  737. data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/tasks/jasmine.rake +71 -0
  738. data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/tasks/jasmine_rails.rake +1 -0
  739. data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/version.rb +3 -0
  740. data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/yaml_config_parser.rb +95 -0
  741. data/vendor/bundle/gems/jasmine-2.99.0/lib/rack/jasmine/cache_control.rb +20 -0
  742. data/vendor/bundle/gems/jasmine-2.99.0/lib/rack/jasmine/focused_suite.rb +17 -0
  743. data/vendor/bundle/gems/jasmine-2.99.0/lib/rack/jasmine/runner.rb +27 -0
  744. data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v1.2.1.md +6 -0
  745. data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v1.3.2.md +32 -0
  746. data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v2.0.0.md +78 -0
  747. data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v2.0.1.md +31 -0
  748. data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v2.0.2.md +17 -0
  749. data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v2.0.3.md +31 -0
  750. data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v2.1.0.md +11 -0
  751. data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v2.2.0.md +31 -0
  752. data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v2.3.0.md +27 -0
  753. data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v2.3.1.md +14 -0
  754. data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v2.4.0.md +20 -0
  755. data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v2.5.0.md +35 -0
  756. data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v2.5.1.md +12 -0
  757. data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v2.5.2.md +22 -0
  758. data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v2.6.0.md +17 -0
  759. data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v2.6.1.md +11 -0
  760. data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v2.7.0.md +28 -0
  761. data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v2.8.0.md +21 -0
  762. data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v2.9.0.md +22 -0
  763. data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v2.99.md +13 -0
  764. data/vendor/bundle/gems/jasmine-2.99.0/spec/application_integration_spec.rb +15 -0
  765. data/vendor/bundle/gems/jasmine-2.99.0/spec/application_spec.rb +55 -0
  766. data/vendor/bundle/gems/jasmine-2.99.0/spec/base_spec.rb +35 -0
  767. data/vendor/bundle/gems/jasmine-2.99.0/spec/ci_runner_spec.rb +137 -0
  768. data/vendor/bundle/gems/jasmine-2.99.0/spec/configuration_spec.rb +219 -0
  769. data/vendor/bundle/gems/jasmine-2.99.0/spec/fixture/Rakefile +4 -0
  770. data/vendor/bundle/gems/jasmine-2.99.0/spec/fixture/afterall_spec.js +8 -0
  771. data/vendor/bundle/gems/jasmine-2.99.0/spec/fixture/coffee_spec.coffee +3 -0
  772. data/vendor/bundle/gems/jasmine-2.99.0/spec/fixture/console_log_spec.js +5 -0
  773. data/vendor/bundle/gems/jasmine-2.99.0/spec/fixture/exception_test.js +1 -0
  774. data/vendor/bundle/gems/jasmine-2.99.0/spec/fixture/failing_runner.rb +9 -0
  775. data/vendor/bundle/gems/jasmine-2.99.0/spec/fixture/failing_test.js +5 -0
  776. data/vendor/bundle/gems/jasmine-2.99.0/spec/fixture/large_test_suite_spec.js +20 -0
  777. data/vendor/bundle/gems/jasmine-2.99.0/spec/fixture/non_asset_pipeline.js +1 -0
  778. data/vendor/bundle/gems/jasmine-2.99.0/spec/fixture/non_asset_pipeline_test.js +5 -0
  779. data/vendor/bundle/gems/jasmine-2.99.0/spec/fixture/phantomConfig.js +6 -0
  780. data/vendor/bundle/gems/jasmine-2.99.0/spec/fixture/viewport_spec.js +6 -0
  781. data/vendor/bundle/gems/jasmine-2.99.0/spec/jasmine_command_line_tool_spec.rb +142 -0
  782. data/vendor/bundle/gems/jasmine-2.99.0/spec/jasmine_pojs_spec.rb +124 -0
  783. data/vendor/bundle/gems/jasmine-2.99.0/spec/jasmine_rails_spec.rb +217 -0
  784. data/vendor/bundle/gems/jasmine-2.99.0/spec/lib/jasmine/formatters/console_spec.rb +205 -0
  785. data/vendor/bundle/gems/jasmine-2.99.0/spec/lib/jasmine/formatters/exit_code_spec.rb +34 -0
  786. data/vendor/bundle/gems/jasmine-2.99.0/spec/lib/jasmine/formatters/multi_spec.rb +27 -0
  787. data/vendor/bundle/gems/jasmine-2.99.0/spec/page_spec.rb +23 -0
  788. data/vendor/bundle/gems/jasmine-2.99.0/spec/path_expander_spec.rb +138 -0
  789. data/vendor/bundle/gems/jasmine-2.99.0/spec/path_mapper_spec.rb +38 -0
  790. data/vendor/bundle/gems/jasmine-2.99.0/spec/performance/phantom_js_runner_performance_spec.rb +23 -0
  791. data/vendor/bundle/gems/jasmine-2.99.0/spec/phantom_js_spec.rb +14 -0
  792. data/vendor/bundle/gems/jasmine-2.99.0/spec/rack/jasmine/runner_spec.rb +25 -0
  793. data/vendor/bundle/gems/jasmine-2.99.0/spec/result_spec.rb +44 -0
  794. data/vendor/bundle/gems/jasmine-2.99.0/spec/server_spec.rb +22 -0
  795. data/vendor/bundle/gems/jasmine-2.99.0/spec/spec_helper.rb +145 -0
  796. data/vendor/bundle/gems/jasmine-2.99.0/spec/yaml_config_parser_spec.rb +239 -0
  797. data/vendor/bundle/gems/jasmine-core-2.99.2/lib/console/console.js +190 -0
  798. data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core.js +37 -0
  799. data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core.rb +53 -0
  800. data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core/__init__.py +1 -0
  801. data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core/boot.js +155 -0
  802. data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core/boot/boot.js +133 -0
  803. data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core/boot/node_boot.js +19 -0
  804. data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core/core.py +60 -0
  805. data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core/example/node_example/lib/jasmine_examples/Player.js +24 -0
  806. data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core/example/node_example/lib/jasmine_examples/Song.js +9 -0
  807. data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core/example/node_example/spec/helpers/jasmine_examples/SpecHelper.js +15 -0
  808. data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core/example/node_example/spec/jasmine_examples/PlayerSpec.js +60 -0
  809. data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core/example/spec/PlayerSpec.js +58 -0
  810. data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core/example/spec/SpecHelper.js +15 -0
  811. data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core/example/src/Player.js +22 -0
  812. data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core/example/src/Song.js +7 -0
  813. data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core/jasmine-html.js +545 -0
  814. data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core/jasmine.css +59 -0
  815. data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core/jasmine.js +5586 -0
  816. data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core/json2.js +489 -0
  817. data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core/node_boot.js +41 -0
  818. data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core/version.rb +9 -0
  819. data/vendor/bundle/gems/json-2.2.0/CHANGES.md +391 -0
  820. data/vendor/bundle/gems/json-2.2.0/Gemfile +14 -0
  821. data/vendor/bundle/gems/json-2.2.0/README-json-jruby.md +33 -0
  822. data/vendor/bundle/gems/json-2.2.0/README.md +409 -0
  823. data/vendor/bundle/gems/json-2.2.0/Rakefile +408 -0
  824. data/vendor/bundle/gems/json-2.2.0/VERSION +1 -0
  825. data/vendor/bundle/gems/json-2.2.0/ext/json/Makefile +202 -0
  826. data/vendor/bundle/gems/json-2.2.0/ext/json/ext/fbuffer/fbuffer.h +187 -0
  827. data/vendor/bundle/gems/json-2.2.0/ext/json/ext/generator/Makefile +267 -0
  828. data/vendor/bundle/gems/json-2.2.0/ext/json/ext/generator/depend +1 -0
  829. data/vendor/bundle/gems/json-2.2.0/ext/json/ext/generator/extconf.rb +4 -0
  830. data/vendor/bundle/gems/json-2.2.0/ext/json/ext/generator/generator.c +1444 -0
  831. data/vendor/bundle/gems/json-2.2.0/ext/json/ext/generator/generator.h +171 -0
  832. data/vendor/bundle/gems/json-2.2.0/ext/json/ext/generator/generator.o +0 -0
  833. data/vendor/bundle/gems/json-2.2.0/ext/json/ext/generator/generator.so +0 -0
  834. data/vendor/bundle/gems/json-2.2.0/ext/json/ext/parser/Makefile +267 -0
  835. data/vendor/bundle/gems/json-2.2.0/ext/json/ext/parser/depend +1 -0
  836. data/vendor/bundle/gems/json-2.2.0/ext/json/ext/parser/extconf.rb +6 -0
  837. data/vendor/bundle/gems/json-2.2.0/ext/json/ext/parser/parser.c +2131 -0
  838. data/vendor/bundle/gems/json-2.2.0/ext/json/ext/parser/parser.h +91 -0
  839. data/vendor/bundle/gems/json-2.2.0/ext/json/ext/parser/parser.o +0 -0
  840. data/vendor/bundle/gems/json-2.2.0/ext/json/ext/parser/parser.rl +891 -0
  841. data/vendor/bundle/gems/json-2.2.0/ext/json/ext/parser/parser.so +0 -0
  842. data/vendor/bundle/gems/json-2.2.0/ext/json/extconf.rb +2 -0
  843. data/vendor/bundle/gems/json-2.2.0/install.rb +23 -0
  844. data/vendor/bundle/gems/json-2.2.0/java/src/json/ext/ByteListTranscoder.java +166 -0
  845. data/vendor/bundle/gems/json-2.2.0/java/src/json/ext/Generator.java +443 -0
  846. data/vendor/bundle/gems/json-2.2.0/java/src/json/ext/GeneratorMethods.java +231 -0
  847. data/vendor/bundle/gems/json-2.2.0/java/src/json/ext/GeneratorService.java +42 -0
  848. data/vendor/bundle/gems/json-2.2.0/java/src/json/ext/GeneratorState.java +490 -0
  849. data/vendor/bundle/gems/json-2.2.0/java/src/json/ext/OptionsReader.java +113 -0
  850. data/vendor/bundle/gems/json-2.2.0/java/src/json/ext/Parser.java +2362 -0
  851. data/vendor/bundle/gems/json-2.2.0/java/src/json/ext/Parser.rl +893 -0
  852. data/vendor/bundle/gems/json-2.2.0/java/src/json/ext/ParserService.java +34 -0
  853. data/vendor/bundle/gems/json-2.2.0/java/src/json/ext/RuntimeInfo.java +116 -0
  854. data/vendor/bundle/gems/json-2.2.0/java/src/json/ext/StringDecoder.java +166 -0
  855. data/vendor/bundle/gems/json-2.2.0/java/src/json/ext/StringEncoder.java +111 -0
  856. data/vendor/bundle/gems/json-2.2.0/java/src/json/ext/Utils.java +88 -0
  857. data/vendor/bundle/gems/json-2.2.0/json-java.gemspec +38 -0
  858. data/vendor/bundle/gems/json-2.2.0/json.gemspec +0 -0
  859. data/vendor/bundle/gems/json-2.2.0/json_pure.gemspec +38 -0
  860. data/vendor/bundle/gems/json-2.2.0/lib/json.rb +63 -0
  861. data/vendor/bundle/gems/json-2.2.0/lib/json/add/bigdecimal.rb +29 -0
  862. data/vendor/bundle/gems/json-2.2.0/lib/json/add/complex.rb +29 -0
  863. data/vendor/bundle/gems/json-2.2.0/lib/json/add/core.rb +12 -0
  864. data/vendor/bundle/gems/json-2.2.0/lib/json/add/date.rb +34 -0
  865. data/vendor/bundle/gems/json-2.2.0/lib/json/add/date_time.rb +50 -0
  866. data/vendor/bundle/gems/json-2.2.0/lib/json/add/exception.rb +31 -0
  867. data/vendor/bundle/gems/json-2.2.0/lib/json/add/ostruct.rb +31 -0
  868. data/vendor/bundle/gems/json-2.2.0/lib/json/add/range.rb +29 -0
  869. data/vendor/bundle/gems/json-2.2.0/lib/json/add/rational.rb +28 -0
  870. data/vendor/bundle/gems/json-2.2.0/lib/json/add/regexp.rb +30 -0
  871. data/vendor/bundle/gems/json-2.2.0/lib/json/add/set.rb +29 -0
  872. data/vendor/bundle/gems/json-2.2.0/lib/json/add/struct.rb +30 -0
  873. data/vendor/bundle/gems/json-2.2.0/lib/json/add/symbol.rb +25 -0
  874. data/vendor/bundle/gems/json-2.2.0/lib/json/add/time.rb +38 -0
  875. data/vendor/bundle/gems/json-2.2.0/lib/json/common.rb +456 -0
  876. data/vendor/bundle/gems/json-2.2.0/lib/json/ext.rb +15 -0
  877. data/vendor/bundle/gems/json-2.2.0/lib/json/ext/generator.so +0 -0
  878. data/vendor/bundle/gems/json-2.2.0/lib/json/ext/parser.so +0 -0
  879. data/vendor/bundle/gems/json-2.2.0/lib/json/generic_object.rb +71 -0
  880. data/vendor/bundle/gems/json-2.2.0/lib/json/pure.rb +15 -0
  881. data/vendor/bundle/gems/json-2.2.0/lib/json/pure/generator.rb +458 -0
  882. data/vendor/bundle/gems/json-2.2.0/lib/json/pure/parser.rb +311 -0
  883. data/vendor/bundle/gems/json-2.2.0/lib/json/version.rb +9 -0
  884. data/vendor/bundle/gems/json-2.2.0/references/rfc7159.txt +899 -0
  885. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail10.json +1 -0
  886. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail11.json +1 -0
  887. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail12.json +1 -0
  888. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail13.json +1 -0
  889. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail14.json +1 -0
  890. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail18.json +1 -0
  891. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail19.json +1 -0
  892. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail2.json +1 -0
  893. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail20.json +1 -0
  894. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail21.json +1 -0
  895. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail22.json +1 -0
  896. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail23.json +1 -0
  897. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail24.json +1 -0
  898. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail25.json +1 -0
  899. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail27.json +2 -0
  900. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail28.json +2 -0
  901. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail3.json +1 -0
  902. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail4.json +1 -0
  903. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail5.json +1 -0
  904. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail6.json +1 -0
  905. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail7.json +1 -0
  906. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail8.json +1 -0
  907. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail9.json +1 -0
  908. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/obsolete_fail1.json +1 -0
  909. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/pass1.json +56 -0
  910. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/pass15.json +1 -0
  911. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/pass16.json +1 -0
  912. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/pass17.json +1 -0
  913. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/pass2.json +1 -0
  914. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/pass26.json +1 -0
  915. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/pass3.json +6 -0
  916. data/vendor/bundle/gems/json-2.2.0/tests/json_addition_test.rb +203 -0
  917. data/vendor/bundle/gems/json-2.2.0/tests/json_common_interface_test.rb +126 -0
  918. data/vendor/bundle/gems/json-2.2.0/tests/json_encoding_test.rb +107 -0
  919. data/vendor/bundle/gems/json-2.2.0/tests/json_ext_parser_test.rb +15 -0
  920. data/vendor/bundle/gems/json-2.2.0/tests/json_fixtures_test.rb +32 -0
  921. data/vendor/bundle/gems/json-2.2.0/tests/json_generator_test.rb +377 -0
  922. data/vendor/bundle/gems/json-2.2.0/tests/json_generic_object_test.rb +82 -0
  923. data/vendor/bundle/gems/json-2.2.0/tests/json_parser_test.rb +472 -0
  924. data/vendor/bundle/gems/json-2.2.0/tests/json_string_matching_test.rb +38 -0
  925. data/vendor/bundle/gems/json-2.2.0/tests/test_helper.rb +17 -0
  926. data/vendor/bundle/gems/json-2.2.0/tools/diff.sh +18 -0
  927. data/vendor/bundle/gems/json-2.2.0/tools/fuzz.rb +131 -0
  928. data/vendor/bundle/gems/json-2.2.0/tools/server.rb +62 -0
  929. data/vendor/bundle/gems/launchy-2.4.3/CONTRIBUTING.md +59 -0
  930. data/vendor/bundle/gems/launchy-2.4.3/HISTORY.md +160 -0
  931. data/vendor/bundle/gems/launchy-2.4.3/LICENSE +16 -0
  932. data/vendor/bundle/gems/launchy-2.4.3/Manifest.txt +38 -0
  933. data/vendor/bundle/gems/launchy-2.4.3/README.md +136 -0
  934. data/vendor/bundle/gems/launchy-2.4.3/Rakefile +25 -0
  935. data/vendor/bundle/gems/launchy-2.4.3/bin/launchy +4 -0
  936. data/vendor/bundle/gems/launchy-2.4.3/lib/launchy.rb +152 -0
  937. data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/application.rb +62 -0
  938. data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/applications/browser.rb +82 -0
  939. data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/argv.rb +36 -0
  940. data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/cli.rb +89 -0
  941. data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/deprecated.rb +52 -0
  942. data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/descendant_tracker.rb +49 -0
  943. data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/detect.rb +10 -0
  944. data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/detect/host_os.rb +32 -0
  945. data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/detect/host_os_family.rb +71 -0
  946. data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/detect/nix_desktop_environment.rb +92 -0
  947. data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/detect/ruby_engine.rb +78 -0
  948. data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/detect/runner.rb +152 -0
  949. data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/error.rb +6 -0
  950. data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/os_family.rb +8 -0
  951. data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/version.rb +18 -0
  952. data/vendor/bundle/gems/launchy-2.4.3/spec/application_spec.rb +43 -0
  953. data/vendor/bundle/gems/launchy-2.4.3/spec/applications/browser_spec.rb +68 -0
  954. data/vendor/bundle/gems/launchy-2.4.3/spec/cli_spec.rb +75 -0
  955. data/vendor/bundle/gems/launchy-2.4.3/spec/detect/host_os_family_spec.rb +40 -0
  956. data/vendor/bundle/gems/launchy-2.4.3/spec/detect/host_os_spec.rb +19 -0
  957. data/vendor/bundle/gems/launchy-2.4.3/spec/detect/nix_desktop_environment_spec.rb +36 -0
  958. data/vendor/bundle/gems/launchy-2.4.3/spec/detect/ruby_engine_spec.rb +37 -0
  959. data/vendor/bundle/gems/launchy-2.4.3/spec/detect/runner_spec.rb +103 -0
  960. data/vendor/bundle/gems/launchy-2.4.3/spec/launchy_spec.rb +110 -0
  961. data/vendor/bundle/gems/launchy-2.4.3/spec/mock_application.rb +9 -0
  962. data/vendor/bundle/gems/launchy-2.4.3/spec/spec_helper.rb +11 -0
  963. data/vendor/bundle/gems/launchy-2.4.3/spec/tattle-host-os.yaml +427 -0
  964. data/vendor/bundle/gems/launchy-2.4.3/spec/version_spec.rb +11 -0
  965. data/vendor/bundle/gems/launchy-2.4.3/tasks/default.rake +272 -0
  966. data/vendor/bundle/gems/launchy-2.4.3/tasks/this.rb +209 -0
  967. data/vendor/bundle/gems/mail-2.7.1/MIT-LICENSE +20 -0
  968. data/vendor/bundle/gems/mail-2.7.1/README.md +695 -0
  969. data/vendor/bundle/gems/mail-2.7.1/lib/mail.rb +85 -0
  970. data/vendor/bundle/gems/mail-2.7.1/lib/mail/attachments_list.rb +110 -0
  971. data/vendor/bundle/gems/mail-2.7.1/lib/mail/body.rb +328 -0
  972. data/vendor/bundle/gems/mail-2.7.1/lib/mail/check_delivery_params.rb +60 -0
  973. data/vendor/bundle/gems/mail-2.7.1/lib/mail/configuration.rb +78 -0
  974. data/vendor/bundle/gems/mail-2.7.1/lib/mail/constants.rb +57 -0
  975. data/vendor/bundle/gems/mail-2.7.1/lib/mail/core_extensions/smtp.rb +28 -0
  976. data/vendor/bundle/gems/mail-2.7.1/lib/mail/core_extensions/string.rb +17 -0
  977. data/vendor/bundle/gems/mail-2.7.1/lib/mail/elements.rb +15 -0
  978. data/vendor/bundle/gems/mail-2.7.1/lib/mail/elements/address.rb +258 -0
  979. data/vendor/bundle/gems/mail-2.7.1/lib/mail/elements/address_list.rb +34 -0
  980. data/vendor/bundle/gems/mail-2.7.1/lib/mail/elements/content_disposition_element.rb +20 -0
  981. data/vendor/bundle/gems/mail-2.7.1/lib/mail/elements/content_location_element.rb +17 -0
  982. data/vendor/bundle/gems/mail-2.7.1/lib/mail/elements/content_transfer_encoding_element.rb +13 -0
  983. data/vendor/bundle/gems/mail-2.7.1/lib/mail/elements/content_type_element.rb +21 -0
  984. data/vendor/bundle/gems/mail-2.7.1/lib/mail/elements/date_time_element.rb +15 -0
  985. data/vendor/bundle/gems/mail-2.7.1/lib/mail/elements/envelope_from_element.rb +33 -0
  986. data/vendor/bundle/gems/mail-2.7.1/lib/mail/elements/message_ids_element.rb +22 -0
  987. data/vendor/bundle/gems/mail-2.7.1/lib/mail/elements/mime_version_element.rb +15 -0
  988. data/vendor/bundle/gems/mail-2.7.1/lib/mail/elements/phrase_list.rb +14 -0
  989. data/vendor/bundle/gems/mail-2.7.1/lib/mail/elements/received_element.rb +21 -0
  990. data/vendor/bundle/gems/mail-2.7.1/lib/mail/encodings.rb +343 -0
  991. data/vendor/bundle/gems/mail-2.7.1/lib/mail/encodings/7bit.rb +22 -0
  992. data/vendor/bundle/gems/mail-2.7.1/lib/mail/encodings/8bit.rb +18 -0
  993. data/vendor/bundle/gems/mail-2.7.1/lib/mail/encodings/base64.rb +38 -0
  994. data/vendor/bundle/gems/mail-2.7.1/lib/mail/encodings/binary.rb +13 -0
  995. data/vendor/bundle/gems/mail-2.7.1/lib/mail/encodings/identity.rb +24 -0
  996. data/vendor/bundle/gems/mail-2.7.1/lib/mail/encodings/quoted_printable.rb +45 -0
  997. data/vendor/bundle/gems/mail-2.7.1/lib/mail/encodings/transfer_encoding.rb +77 -0
  998. data/vendor/bundle/gems/mail-2.7.1/lib/mail/encodings/unix_to_unix.rb +20 -0
  999. data/vendor/bundle/gems/mail-2.7.1/lib/mail/envelope.rb +31 -0
  1000. data/vendor/bundle/gems/mail-2.7.1/lib/mail/field.rb +299 -0
  1001. data/vendor/bundle/gems/mail-2.7.1/lib/mail/field_list.rb +34 -0
  1002. data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields.rb +36 -0
  1003. data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/bcc_field.rb +68 -0
  1004. data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/cc_field.rb +55 -0
  1005. data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/comments_field.rb +42 -0
  1006. data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/common/address_container.rb +17 -0
  1007. data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/common/common_address.rb +161 -0
  1008. data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/common/common_date.rb +36 -0
  1009. data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/common/common_field.rb +52 -0
  1010. data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/common/common_message_id.rb +49 -0
  1011. data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/common/parameter_hash.rb +59 -0
  1012. data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/content_description_field.rb +20 -0
  1013. data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/content_disposition_field.rb +71 -0
  1014. data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/content_id_field.rb +63 -0
  1015. data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/content_location_field.rb +43 -0
  1016. data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/content_transfer_encoding_field.rb +45 -0
  1017. data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/content_type_field.rb +197 -0
  1018. data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/date_field.rb +57 -0
  1019. data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/from_field.rb +55 -0
  1020. data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/in_reply_to_field.rb +57 -0
  1021. data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/keywords_field.rb +44 -0
  1022. data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/message_id_field.rb +83 -0
  1023. data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/mime_version_field.rb +54 -0
  1024. data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/optional_field.rb +17 -0
  1025. data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/received_field.rb +76 -0
  1026. data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/references_field.rb +57 -0
  1027. data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/reply_to_field.rb +55 -0
  1028. data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/resent_bcc_field.rb +55 -0
  1029. data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/resent_cc_field.rb +55 -0
  1030. data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/resent_date_field.rb +35 -0
  1031. data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/resent_from_field.rb +55 -0
  1032. data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/resent_message_id_field.rb +35 -0
  1033. data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/resent_sender_field.rb +62 -0
  1034. data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/resent_to_field.rb +55 -0
  1035. data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/return_path_field.rb +65 -0
  1036. data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/sender_field.rb +67 -0
  1037. data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/structured_field.rb +52 -0
  1038. data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/subject_field.rb +17 -0
  1039. data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/to_field.rb +55 -0
  1040. data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/unstructured_field.rb +222 -0
  1041. data/vendor/bundle/gems/mail-2.7.1/lib/mail/header.rb +278 -0
  1042. data/vendor/bundle/gems/mail-2.7.1/lib/mail/indifferent_hash.rb +147 -0
  1043. data/vendor/bundle/gems/mail-2.7.1/lib/mail/mail.rb +262 -0
  1044. data/vendor/bundle/gems/mail-2.7.1/lib/mail/matchers/attachment_matchers.rb +29 -0
  1045. data/vendor/bundle/gems/mail-2.7.1/lib/mail/matchers/has_sent_mail.rb +201 -0
  1046. data/vendor/bundle/gems/mail-2.7.1/lib/mail/message.rb +2170 -0
  1047. data/vendor/bundle/gems/mail-2.7.1/lib/mail/multibyte.rb +92 -0
  1048. data/vendor/bundle/gems/mail-2.7.1/lib/mail/multibyte/chars.rb +476 -0
  1049. data/vendor/bundle/gems/mail-2.7.1/lib/mail/multibyte/unicode.rb +405 -0
  1050. data/vendor/bundle/gems/mail-2.7.1/lib/mail/multibyte/utils.rb +61 -0
  1051. data/vendor/bundle/gems/mail-2.7.1/lib/mail/network.rb +16 -0
  1052. data/vendor/bundle/gems/mail-2.7.1/lib/mail/network/delivery_methods/exim.rb +49 -0
  1053. data/vendor/bundle/gems/mail-2.7.1/lib/mail/network/delivery_methods/file_delivery.rb +42 -0
  1054. data/vendor/bundle/gems/mail-2.7.1/lib/mail/network/delivery_methods/logger_delivery.rb +37 -0
  1055. data/vendor/bundle/gems/mail-2.7.1/lib/mail/network/delivery_methods/sendmail.rb +95 -0
  1056. data/vendor/bundle/gems/mail-2.7.1/lib/mail/network/delivery_methods/smtp.rb +149 -0
  1057. data/vendor/bundle/gems/mail-2.7.1/lib/mail/network/delivery_methods/smtp_connection.rb +66 -0
  1058. data/vendor/bundle/gems/mail-2.7.1/lib/mail/network/delivery_methods/test_mailer.rb +42 -0
  1059. data/vendor/bundle/gems/mail-2.7.1/lib/mail/network/retriever_methods/base.rb +64 -0
  1060. data/vendor/bundle/gems/mail-2.7.1/lib/mail/network/retriever_methods/imap.rb +187 -0
  1061. data/vendor/bundle/gems/mail-2.7.1/lib/mail/network/retriever_methods/pop3.rb +143 -0
  1062. data/vendor/bundle/gems/mail-2.7.1/lib/mail/network/retriever_methods/test_retriever.rb +44 -0
  1063. data/vendor/bundle/gems/mail-2.7.1/lib/mail/parser_tools.rb +15 -0
  1064. data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers.rb +19 -0
  1065. data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/address_lists_parser.rb +33236 -0
  1066. data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/address_lists_parser.rl +172 -0
  1067. data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/content_disposition_parser.rb +895 -0
  1068. data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/content_disposition_parser.rl +82 -0
  1069. data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/content_location_parser.rb +816 -0
  1070. data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/content_location_parser.rl +71 -0
  1071. data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/content_transfer_encoding_parser.rb +516 -0
  1072. data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/content_transfer_encoding_parser.rl +64 -0
  1073. data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/content_type_parser.rb +1042 -0
  1074. data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/content_type_parser.rl +83 -0
  1075. data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/date_time_parser.rb +885 -0
  1076. data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/date_time_parser.rl +62 -0
  1077. data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/envelope_from_parser.rb +3581 -0
  1078. data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/envelope_from_parser.rl +82 -0
  1079. data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/message_ids_parser.rb +2854 -0
  1080. data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/message_ids_parser.rl +82 -0
  1081. data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/mime_version_parser.rb +507 -0
  1082. data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/mime_version_parser.rl +61 -0
  1083. data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/phrase_lists_parser.rb +878 -0
  1084. data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/phrase_lists_parser.rl +83 -0
  1085. data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/received_parser.rb +8776 -0
  1086. data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/received_parser.rl +84 -0
  1087. data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/rfc2045_content_transfer_encoding.rl +13 -0
  1088. data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/rfc2045_content_type.rl +25 -0
  1089. data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/rfc2045_mime.rl +16 -0
  1090. data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/rfc2183_content_disposition.rl +15 -0
  1091. data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/rfc3629_utf8.rl +19 -0
  1092. data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/rfc5234_abnf_core_rules.rl +22 -0
  1093. data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/rfc5322.rl +59 -0
  1094. data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/rfc5322_address.rl +72 -0
  1095. data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/rfc5322_date_time.rl +37 -0
  1096. data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/rfc5322_lexical_tokens.rl +60 -0
  1097. data/vendor/bundle/gems/mail-2.7.1/lib/mail/part.rb +123 -0
  1098. data/vendor/bundle/gems/mail-2.7.1/lib/mail/parts_list.rb +74 -0
  1099. data/vendor/bundle/gems/mail-2.7.1/lib/mail/utilities.rb +324 -0
  1100. data/vendor/bundle/gems/mail-2.7.1/lib/mail/values/unicode_tables.dat +0 -0
  1101. data/vendor/bundle/gems/mail-2.7.1/lib/mail/version.rb +17 -0
  1102. data/vendor/bundle/gems/mail-2.7.1/lib/mail/version_specific/ruby_1_8.rb +163 -0
  1103. data/vendor/bundle/gems/mail-2.7.1/lib/mail/version_specific/ruby_1_9.rb +278 -0
  1104. data/vendor/bundle/gems/mime-types-3.3/Code-of-Conduct.md +73 -0
  1105. data/vendor/bundle/gems/mime-types-3.3/Contributing.md +141 -0
  1106. data/vendor/bundle/gems/mime-types-3.3/History.md +223 -0
  1107. data/vendor/bundle/gems/mime-types-3.3/Licence.md +25 -0
  1108. data/vendor/bundle/gems/mime-types-3.3/Manifest.txt +31 -0
  1109. data/vendor/bundle/gems/mime-types-3.3/README.rdoc +200 -0
  1110. data/vendor/bundle/gems/mime-types-3.3/Rakefile +284 -0
  1111. data/vendor/bundle/gems/mime-types-3.3/lib/mime-types.rb +3 -0
  1112. data/vendor/bundle/gems/mime-types-3.3/lib/mime/type.rb +587 -0
  1113. data/vendor/bundle/gems/mime-types-3.3/lib/mime/type/columnar.rb +57 -0
  1114. data/vendor/bundle/gems/mime-types-3.3/lib/mime/types.rb +231 -0
  1115. data/vendor/bundle/gems/mime-types-3.3/lib/mime/types/_columnar.rb +136 -0
  1116. data/vendor/bundle/gems/mime-types-3.3/lib/mime/types/cache.rb +58 -0
  1117. data/vendor/bundle/gems/mime-types-3.3/lib/mime/types/columnar.rb +3 -0
  1118. data/vendor/bundle/gems/mime-types-3.3/lib/mime/types/container.rb +96 -0
  1119. data/vendor/bundle/gems/mime-types-3.3/lib/mime/types/deprecations.rb +32 -0
  1120. data/vendor/bundle/gems/mime-types-3.3/lib/mime/types/full.rb +19 -0
  1121. data/vendor/bundle/gems/mime-types-3.3/lib/mime/types/loader.rb +146 -0
  1122. data/vendor/bundle/gems/mime-types-3.3/lib/mime/types/logger.rb +39 -0
  1123. data/vendor/bundle/gems/mime-types-3.3/lib/mime/types/registry.rb +90 -0
  1124. data/vendor/bundle/gems/mime-types-3.3/test/bad-fixtures/malformed +9 -0
  1125. data/vendor/bundle/gems/mime-types-3.3/test/fixture/json.json +1 -0
  1126. data/vendor/bundle/gems/mime-types-3.3/test/fixture/old-data +9 -0
  1127. data/vendor/bundle/gems/mime-types-3.3/test/fixture/yaml.yaml +55 -0
  1128. data/vendor/bundle/gems/mime-types-3.3/test/minitest_helper.rb +13 -0
  1129. data/vendor/bundle/gems/mime-types-3.3/test/test_mime_type.rb +610 -0
  1130. data/vendor/bundle/gems/mime-types-3.3/test/test_mime_types.rb +169 -0
  1131. data/vendor/bundle/gems/mime-types-3.3/test/test_mime_types_cache.rb +118 -0
  1132. data/vendor/bundle/gems/mime-types-3.3/test/test_mime_types_class.rb +159 -0
  1133. data/vendor/bundle/gems/mime-types-3.3/test/test_mime_types_lazy.rb +49 -0
  1134. data/vendor/bundle/gems/mime-types-3.3/test/test_mime_types_loader.rb +32 -0
  1135. data/vendor/bundle/gems/mime-types-data-3.2019.1009/Code-of-Conduct.md +75 -0
  1136. data/vendor/bundle/gems/mime-types-data-3.2019.1009/Contributing.md +162 -0
  1137. data/vendor/bundle/gems/mime-types-data-3.2019.1009/History.md +406 -0
  1138. data/vendor/bundle/gems/mime-types-data-3.2019.1009/Licence.md +25 -0
  1139. data/vendor/bundle/gems/mime-types-data-3.2019.1009/Manifest.txt +31 -0
  1140. data/vendor/bundle/gems/mime-types-data-3.2019.1009/README.md +63 -0
  1141. data/vendor/bundle/gems/mime-types-data-3.2019.1009/Rakefile +94 -0
  1142. data/vendor/bundle/gems/mime-types-data-3.2019.1009/data/mime-types.json +1 -0
  1143. data/vendor/bundle/gems/mime-types-data-3.2019.1009/data/mime.content_type.column +2215 -0
  1144. data/vendor/bundle/gems/mime-types-data-3.2019.1009/data/mime.docs.column +2215 -0
  1145. data/vendor/bundle/gems/mime-types-data-3.2019.1009/data/mime.encoding.column +2215 -0
  1146. data/vendor/bundle/gems/mime-types-data-3.2019.1009/data/mime.flags.column +2215 -0
  1147. data/vendor/bundle/gems/mime-types-data-3.2019.1009/data/mime.friendly.column +2215 -0
  1148. data/vendor/bundle/gems/mime-types-data-3.2019.1009/data/mime.pext.column +2215 -0
  1149. data/vendor/bundle/gems/mime-types-data-3.2019.1009/data/mime.use_instead.column +2215 -0
  1150. data/vendor/bundle/gems/mime-types-data-3.2019.1009/data/mime.xrefs.column +2215 -0
  1151. data/vendor/bundle/gems/mime-types-data-3.2019.1009/lib/mime-types-data.rb +3 -0
  1152. data/vendor/bundle/gems/mime-types-data-3.2019.1009/lib/mime/types/data.rb +21 -0
  1153. data/vendor/bundle/gems/mime-types-data-3.2019.1009/types/application.yaml +16361 -0
  1154. data/vendor/bundle/gems/mime-types-data-3.2019.1009/types/audio.yaml +1644 -0
  1155. data/vendor/bundle/gems/mime-types-data-3.2019.1009/types/chemical.yaml +71 -0
  1156. data/vendor/bundle/gems/mime-types-data-3.2019.1009/types/conference.yaml +9 -0
  1157. data/vendor/bundle/gems/mime-types-data-3.2019.1009/types/drawing.yaml +15 -0
  1158. data/vendor/bundle/gems/mime-types-data-3.2019.1009/types/font.yaml +65 -0
  1159. data/vendor/bundle/gems/mime-types-data-3.2019.1009/types/image.yaml +1069 -0
  1160. data/vendor/bundle/gems/mime-types-data-3.2019.1009/types/message.yaml +200 -0
  1161. data/vendor/bundle/gems/mime-types-data-3.2019.1009/types/model.yaml +302 -0
  1162. data/vendor/bundle/gems/mime-types-data-3.2019.1009/types/multipart.yaml +179 -0
  1163. data/vendor/bundle/gems/mime-types-data-3.2019.1009/types/text.yaml +1055 -0
  1164. data/vendor/bundle/gems/mime-types-data-3.2019.1009/types/video.yaml +1070 -0
  1165. data/vendor/bundle/gems/mime-types-data-3.2019.1009/types/world.yaml +8 -0
  1166. data/vendor/bundle/gems/mini_mime-1.0.2/CHANGELOG +37 -0
  1167. data/vendor/bundle/gems/mini_mime-1.0.2/CODE_OF_CONDUCT.md +74 -0
  1168. data/vendor/bundle/gems/mini_mime-1.0.2/Gemfile +8 -0
  1169. data/vendor/bundle/gems/mini_mime-1.0.2/LICENSE.txt +21 -0
  1170. data/vendor/bundle/gems/mini_mime-1.0.2/README.md +111 -0
  1171. data/vendor/bundle/gems/mini_mime-1.0.2/Rakefile +96 -0
  1172. data/vendor/bundle/gems/mini_mime-1.0.2/bench/bench.rb +52 -0
  1173. data/vendor/bundle/gems/mini_mime-1.0.2/bin/console +14 -0
  1174. data/vendor/bundle/gems/mini_mime-1.0.2/bin/setup +8 -0
  1175. data/vendor/bundle/gems/mini_mime-1.0.2/lib/db/content_type_mime.db +853 -0
  1176. data/vendor/bundle/gems/mini_mime-1.0.2/lib/db/ext_mime.db +1172 -0
  1177. data/vendor/bundle/gems/mini_mime-1.0.2/lib/mini_mime.rb +166 -0
  1178. data/vendor/bundle/gems/mini_mime-1.0.2/lib/mini_mime/version.rb +3 -0
  1179. data/vendor/bundle/gems/mini_mime-1.0.2/mini_mime.gemspec +28 -0
  1180. data/vendor/bundle/gems/mini_portile2-2.4.0/CHANGELOG.md +209 -0
  1181. data/vendor/bundle/gems/mini_portile2-2.4.0/Gemfile +4 -0
  1182. data/vendor/bundle/gems/mini_portile2-2.4.0/LICENSE.txt +20 -0
  1183. data/vendor/bundle/gems/mini_portile2-2.4.0/README.md +245 -0
  1184. data/vendor/bundle/gems/mini_portile2-2.4.0/Rakefile +29 -0
  1185. data/vendor/bundle/gems/mini_portile2-2.4.0/appveyor.yml +25 -0
  1186. data/vendor/bundle/gems/mini_portile2-2.4.0/concourse/mini_portile.yml +141 -0
  1187. data/vendor/bundle/gems/mini_portile2-2.4.0/concourse/tasks/rake-test/task.ps1 +11 -0
  1188. data/vendor/bundle/gems/mini_portile2-2.4.0/concourse/tasks/rake-test/task.sh +13 -0
  1189. data/vendor/bundle/gems/mini_portile2-2.4.0/lib/mini_portile2.rb +3 -0
  1190. data/vendor/bundle/gems/mini_portile2-2.4.0/lib/mini_portile2/mini_portile.rb +556 -0
  1191. data/vendor/bundle/gems/mini_portile2-2.4.0/lib/mini_portile2/mini_portile_cmake.rb +40 -0
  1192. data/vendor/bundle/gems/mini_portile2-2.4.0/lib/mini_portile2/version.rb +3 -0
  1193. data/vendor/bundle/gems/mini_portile2-2.4.0/mini_portile2.gemspec +42 -0
  1194. data/vendor/bundle/gems/mini_portile2-2.4.0/test/assets/git/config +4 -0
  1195. data/vendor/bundle/gems/mini_portile2-2.4.0/test/assets/gpg-fixtures/data +1 -0
  1196. data/vendor/bundle/gems/mini_portile2-2.4.0/test/assets/gpg-fixtures/data.asc +9 -0
  1197. data/vendor/bundle/gems/mini_portile2-2.4.0/test/assets/gpg-fixtures/data.invalid.asc +9 -0
  1198. data/vendor/bundle/gems/mini_portile2-2.4.0/test/assets/patch 1.diff +7 -0
  1199. data/vendor/bundle/gems/mini_portile2-2.4.0/test/assets/test mini portile-1.0.0/configure +11 -0
  1200. data/vendor/bundle/gems/mini_portile2-2.4.0/test/assets/test-cmake-1.0/CMakeLists.txt +7 -0
  1201. data/vendor/bundle/gems/mini_portile2-2.4.0/test/assets/test-cmake-1.0/hello.c +4 -0
  1202. data/vendor/bundle/gems/mini_portile2-2.4.0/test/assets/test-download-archive.tar.gz +1 -0
  1203. data/vendor/bundle/gems/mini_portile2-2.4.0/test/helper.rb +60 -0
  1204. data/vendor/bundle/gems/mini_portile2-2.4.0/test/test_cmake.rb +64 -0
  1205. data/vendor/bundle/gems/mini_portile2-2.4.0/test/test_cook.rb +115 -0
  1206. data/vendor/bundle/gems/mini_portile2-2.4.0/test/test_digest.rb +215 -0
  1207. data/vendor/bundle/gems/mini_portile2-2.4.0/test/test_download.rb +71 -0
  1208. data/vendor/bundle/gems/mini_portile2-2.4.0/test/test_proxy.rb +121 -0
  1209. data/vendor/bundle/gems/multipart-post-2.1.1/Gemfile +6 -0
  1210. data/vendor/bundle/gems/multipart-post-2.1.1/History.txt +64 -0
  1211. data/vendor/bundle/gems/multipart-post-2.1.1/LICENSE +21 -0
  1212. data/vendor/bundle/gems/multipart-post-2.1.1/Manifest.txt +9 -0
  1213. data/vendor/bundle/gems/multipart-post-2.1.1/README.md +127 -0
  1214. data/vendor/bundle/gems/multipart-post-2.1.1/Rakefile +6 -0
  1215. data/vendor/bundle/gems/multipart-post-2.1.1/lib/composite_io.rb +108 -0
  1216. data/vendor/bundle/gems/multipart-post-2.1.1/lib/multipart_post.rb +9 -0
  1217. data/vendor/bundle/gems/multipart-post-2.1.1/lib/multipartable.rb +48 -0
  1218. data/vendor/bundle/gems/multipart-post-2.1.1/lib/net/http/post/multipart.rb +28 -0
  1219. data/vendor/bundle/gems/multipart-post-2.1.1/lib/parts.rb +126 -0
  1220. data/vendor/bundle/gems/multipart-post-2.1.1/multipart-post.gemspec +23 -0
  1221. data/vendor/bundle/gems/multipart-post-2.1.1/spec/composite_io_spec.rb +138 -0
  1222. data/vendor/bundle/gems/multipart-post-2.1.1/spec/multibyte.txt +1 -0
  1223. data/vendor/bundle/gems/multipart-post-2.1.1/spec/net/http/post/multipart_spec.rb +123 -0
  1224. data/vendor/bundle/gems/multipart-post-2.1.1/spec/parts_spec.rb +102 -0
  1225. data/vendor/bundle/gems/multipart-post-2.1.1/spec/spec_helper.rb +29 -0
  1226. data/vendor/bundle/gems/nokogiri-1.10.5/LICENSE-DEPENDENCIES.md +1614 -0
  1227. data/vendor/bundle/gems/nokogiri-1.10.5/LICENSE.md +9 -0
  1228. data/vendor/bundle/gems/nokogiri-1.10.5/README.md +198 -0
  1229. data/vendor/bundle/gems/nokogiri-1.10.5/bin/nokogiri +118 -0
  1230. data/vendor/bundle/gems/nokogiri-1.10.5/dependencies.yml +74 -0
  1231. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/Makefile +628 -0
  1232. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/depend +358 -0
  1233. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/extconf.rb +686 -0
  1234. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/html_document.c +170 -0
  1235. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/html_document.h +10 -0
  1236. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/html_document.o +0 -0
  1237. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/html_element_description.c +279 -0
  1238. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/html_element_description.h +10 -0
  1239. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/html_element_description.o +0 -0
  1240. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/html_entity_lookup.c +32 -0
  1241. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/html_entity_lookup.h +8 -0
  1242. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/html_entity_lookup.o +0 -0
  1243. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/html_sax_parser_context.c +116 -0
  1244. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/html_sax_parser_context.h +11 -0
  1245. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/html_sax_parser_context.o +0 -0
  1246. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/html_sax_push_parser.c +87 -0
  1247. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/html_sax_push_parser.h +9 -0
  1248. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/html_sax_push_parser.o +0 -0
  1249. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/nokogiri.c +141 -0
  1250. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/nokogiri.h +121 -0
  1251. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/nokogiri.o +0 -0
  1252. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/nokogiri.so +0 -0
  1253. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_attr.c +103 -0
  1254. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_attr.h +9 -0
  1255. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_attr.o +0 -0
  1256. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_attribute_decl.c +70 -0
  1257. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_attribute_decl.h +9 -0
  1258. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_attribute_decl.o +0 -0
  1259. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_cdata.c +62 -0
  1260. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_cdata.h +9 -0
  1261. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_cdata.o +0 -0
  1262. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_comment.c +69 -0
  1263. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_comment.h +9 -0
  1264. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_comment.o +0 -0
  1265. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_document.c +608 -0
  1266. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_document.h +23 -0
  1267. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_document.o +0 -0
  1268. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_document_fragment.c +48 -0
  1269. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_document_fragment.h +10 -0
  1270. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_document_fragment.o +0 -0
  1271. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_dtd.c +202 -0
  1272. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_dtd.h +10 -0
  1273. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_dtd.o +0 -0
  1274. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_element_content.c +123 -0
  1275. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_element_content.h +10 -0
  1276. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_element_content.o +0 -0
  1277. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_element_decl.c +69 -0
  1278. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_element_decl.h +9 -0
  1279. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_element_decl.o +0 -0
  1280. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_encoding_handler.c +79 -0
  1281. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_encoding_handler.h +8 -0
  1282. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_encoding_handler.o +0 -0
  1283. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_entity_decl.c +110 -0
  1284. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_entity_decl.h +10 -0
  1285. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_entity_decl.o +0 -0
  1286. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_entity_reference.c +52 -0
  1287. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_entity_reference.h +9 -0
  1288. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_entity_reference.o +0 -0
  1289. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_io.c +61 -0
  1290. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_io.h +11 -0
  1291. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_io.o +0 -0
  1292. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_libxml2_hacks.c +112 -0
  1293. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_libxml2_hacks.h +12 -0
  1294. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_libxml2_hacks.o +0 -0
  1295. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_namespace.c +111 -0
  1296. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_namespace.h +14 -0
  1297. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_namespace.o +0 -0
  1298. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_node.c +1753 -0
  1299. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_node.h +13 -0
  1300. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_node.o +0 -0
  1301. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_node_set.c +486 -0
  1302. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_node_set.h +12 -0
  1303. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_node_set.o +0 -0
  1304. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_processing_instruction.c +56 -0
  1305. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_processing_instruction.h +9 -0
  1306. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_processing_instruction.o +0 -0
  1307. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_reader.c +668 -0
  1308. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_reader.h +10 -0
  1309. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_reader.o +0 -0
  1310. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_relax_ng.c +161 -0
  1311. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_relax_ng.h +9 -0
  1312. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_relax_ng.o +0 -0
  1313. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_sax_parser.c +310 -0
  1314. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_sax_parser.h +39 -0
  1315. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_sax_parser.o +0 -0
  1316. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_sax_parser_context.c +262 -0
  1317. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_sax_parser_context.h +10 -0
  1318. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_sax_parser_context.o +0 -0
  1319. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_sax_push_parser.c +159 -0
  1320. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_sax_push_parser.h +9 -0
  1321. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_sax_push_parser.o +0 -0
  1322. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_schema.c +205 -0
  1323. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_schema.h +9 -0
  1324. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_schema.o +0 -0
  1325. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_syntax_error.c +64 -0
  1326. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_syntax_error.h +13 -0
  1327. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_syntax_error.o +0 -0
  1328. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_text.c +52 -0
  1329. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_text.h +9 -0
  1330. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_text.o +0 -0
  1331. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_xpath_context.c +298 -0
  1332. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_xpath_context.h +10 -0
  1333. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_xpath_context.o +0 -0
  1334. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xslt_stylesheet.c +270 -0
  1335. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xslt_stylesheet.h +14 -0
  1336. data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xslt_stylesheet.o +0 -0
  1337. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri.rb +144 -0
  1338. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/css.rb +27 -0
  1339. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/css/node.rb +52 -0
  1340. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/css/parser.rb +750 -0
  1341. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/css/parser.y +272 -0
  1342. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/css/parser_extras.rb +91 -0
  1343. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/css/syntax_error.rb +7 -0
  1344. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/css/tokenizer.rb +153 -0
  1345. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/css/tokenizer.rex +55 -0
  1346. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/css/xpath_visitor.rb +230 -0
  1347. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/decorators/slop.rb +42 -0
  1348. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/html.rb +37 -0
  1349. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/html/builder.rb +35 -0
  1350. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/html/document.rb +335 -0
  1351. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/html/document_fragment.rb +49 -0
  1352. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/html/element_description.rb +23 -0
  1353. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/html/element_description_defaults.rb +671 -0
  1354. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/html/entity_lookup.rb +13 -0
  1355. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/html/sax/parser.rb +62 -0
  1356. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/html/sax/parser_context.rb +16 -0
  1357. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/html/sax/push_parser.rb +36 -0
  1358. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/nokogiri.so +0 -0
  1359. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/syntax_error.rb +4 -0
  1360. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/version.rb +109 -0
  1361. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml.rb +75 -0
  1362. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/attr.rb +14 -0
  1363. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/attribute_decl.rb +18 -0
  1364. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/builder.rb +446 -0
  1365. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/cdata.rb +11 -0
  1366. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/character_data.rb +7 -0
  1367. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/document.rb +285 -0
  1368. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/document_fragment.rb +160 -0
  1369. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/dtd.rb +32 -0
  1370. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/element_content.rb +36 -0
  1371. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/element_decl.rb +13 -0
  1372. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/entity_decl.rb +19 -0
  1373. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/entity_reference.rb +18 -0
  1374. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/namespace.rb +13 -0
  1375. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/node.rb +902 -0
  1376. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/node/save_options.rb +61 -0
  1377. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/node_set.rb +371 -0
  1378. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/notation.rb +6 -0
  1379. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/parse_options.rb +120 -0
  1380. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/pp.rb +2 -0
  1381. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/pp/character_data.rb +18 -0
  1382. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/pp/node.rb +56 -0
  1383. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/processing_instruction.rb +8 -0
  1384. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/reader.rb +112 -0
  1385. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/relax_ng.rb +32 -0
  1386. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/sax.rb +4 -0
  1387. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/sax/document.rb +171 -0
  1388. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/sax/parser.rb +122 -0
  1389. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/sax/parser_context.rb +16 -0
  1390. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/sax/push_parser.rb +60 -0
  1391. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/schema.rb +63 -0
  1392. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/searchable.rb +230 -0
  1393. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/syntax_error.rb +70 -0
  1394. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/text.rb +9 -0
  1395. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/xpath.rb +10 -0
  1396. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/xpath/syntax_error.rb +11 -0
  1397. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/xpath_context.rb +16 -0
  1398. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xslt.rb +56 -0
  1399. data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xslt/stylesheet.rb +25 -0
  1400. data/vendor/bundle/gems/nokogiri-1.10.5/lib/xsd/xmlparser/nokogiri.rb +102 -0
  1401. data/vendor/bundle/gems/nokogiri-1.10.5/patches/libxml2/0001-Revert-Do-not-URI-escape-in-server-side-includes.patch +78 -0
  1402. data/vendor/bundle/gems/nokogiri-1.10.5/patches/libxml2/0002-Remove-script-macro-support.patch +40 -0
  1403. data/vendor/bundle/gems/nokogiri-1.10.5/patches/libxml2/0003-Update-entities-to-remove-handling-of-ssi.patch +44 -0
  1404. data/vendor/bundle/gems/octokit-4.14.0/CONTRIBUTING.md +22 -0
  1405. data/vendor/bundle/gems/octokit-4.14.0/LICENSE.md +20 -0
  1406. data/vendor/bundle/gems/octokit-4.14.0/README.md +790 -0
  1407. data/vendor/bundle/gems/octokit-4.14.0/Rakefile +22 -0
  1408. data/vendor/bundle/gems/octokit-4.14.0/lib/ext/sawyer/relation.rb +10 -0
  1409. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit.rb +59 -0
  1410. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/arguments.rb +14 -0
  1411. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/authentication.rb +82 -0
  1412. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client.rb +242 -0
  1413. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/apps.rb +209 -0
  1414. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/authorizations.rb +250 -0
  1415. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/checks.rb +211 -0
  1416. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/commit_comments.rb +95 -0
  1417. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/commits.rb +239 -0
  1418. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/community_profile.rb +22 -0
  1419. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/contents.rb +164 -0
  1420. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/deployments.rb +72 -0
  1421. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/downloads.rb +50 -0
  1422. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/emojis.rb +18 -0
  1423. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/events.rb +151 -0
  1424. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/feeds.rb +33 -0
  1425. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/gists.rb +234 -0
  1426. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/gitignore.rb +43 -0
  1427. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/hooks.rb +297 -0
  1428. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/issues.rb +363 -0
  1429. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/labels.rb +156 -0
  1430. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/legacy_search.rb +42 -0
  1431. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/licenses.rb +45 -0
  1432. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/markdown.rb +27 -0
  1433. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/marketplace.rb +56 -0
  1434. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/meta.rb +21 -0
  1435. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/milestones.rb +87 -0
  1436. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/notifications.rb +167 -0
  1437. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/objects.rb +141 -0
  1438. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/organizations.rb +792 -0
  1439. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/pages.rb +63 -0
  1440. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/projects.rb +314 -0
  1441. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/pub_sub_hubbub.rb +111 -0
  1442. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/pull_requests.rb +303 -0
  1443. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/rate_limit.rb +54 -0
  1444. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/reactions.rb +158 -0
  1445. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/refs.rb +118 -0
  1446. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/releases.rb +164 -0
  1447. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/repositories.rb +701 -0
  1448. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/repository_invitations.rb +96 -0
  1449. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/reviews.rb +209 -0
  1450. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/say.rb +19 -0
  1451. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/search.rb +91 -0
  1452. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/service_status.rb +38 -0
  1453. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/source_import.rb +161 -0
  1454. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/stats.rb +107 -0
  1455. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/statuses.rb +47 -0
  1456. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/traffic.rb +69 -0
  1457. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/users.rb +355 -0
  1458. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/configurable.rb +151 -0
  1459. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/connection.rb +208 -0
  1460. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/default.rb +176 -0
  1461. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/enterprise_admin_client.rb +40 -0
  1462. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/enterprise_admin_client/admin_stats.rb +120 -0
  1463. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/enterprise_admin_client/license.rb +18 -0
  1464. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/enterprise_admin_client/orgs.rb +27 -0
  1465. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/enterprise_admin_client/search_indexing.rb +83 -0
  1466. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/enterprise_admin_client/users.rb +128 -0
  1467. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/enterprise_management_console_client.rb +50 -0
  1468. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/enterprise_management_console_client/management_console.rb +176 -0
  1469. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/error.rb +300 -0
  1470. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/gist.rb +36 -0
  1471. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/middleware/follow_redirects.rb +131 -0
  1472. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/organization.rb +17 -0
  1473. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/preview.rb +42 -0
  1474. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/rate_limit.rb +33 -0
  1475. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/repo_arguments.rb +19 -0
  1476. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/repository.rb +95 -0
  1477. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/response/feed_parser.rb +21 -0
  1478. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/response/raise_error.rb +21 -0
  1479. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/user.rb +19 -0
  1480. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/version.rb +17 -0
  1481. data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/warnable.rb +17 -0
  1482. data/vendor/bundle/gems/octokit-4.14.0/octokit.gemspec +22 -0
  1483. data/vendor/bundle/gems/phantomjs-2.1.1.0/Gemfile +4 -0
  1484. data/vendor/bundle/gems/phantomjs-2.1.1.0/LICENSE +27 -0
  1485. data/vendor/bundle/gems/phantomjs-2.1.1.0/README.md +78 -0
  1486. data/vendor/bundle/gems/phantomjs-2.1.1.0/Rakefile +2 -0
  1487. data/vendor/bundle/gems/phantomjs-2.1.1.0/lib/phantomjs.rb +61 -0
  1488. data/vendor/bundle/gems/phantomjs-2.1.1.0/lib/phantomjs/platform.rb +162 -0
  1489. data/vendor/bundle/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb +13 -0
  1490. data/vendor/bundle/gems/phantomjs-2.1.1.0/lib/phantomjs/version.rb +3 -0
  1491. data/vendor/bundle/gems/phantomjs-2.1.1.0/phantomjs.gemspec +27 -0
  1492. data/vendor/bundle/gems/phantomjs-2.1.1.0/spec/phantomjs_spec.rb +50 -0
  1493. data/vendor/bundle/gems/phantomjs-2.1.1.0/spec/platform_spec.rb +203 -0
  1494. data/vendor/bundle/gems/phantomjs-2.1.1.0/spec/runner.js +5 -0
  1495. data/vendor/bundle/gems/phantomjs-2.1.1.0/spec/spec_helper.rb +11 -0
  1496. data/vendor/bundle/gems/pit-0.0.7/ChangeLog +87 -0
  1497. data/vendor/bundle/gems/pit-0.0.7/Gemfile +6 -0
  1498. data/vendor/bundle/gems/pit-0.0.7/README +59 -0
  1499. data/vendor/bundle/gems/pit-0.0.7/Rakefile +9 -0
  1500. data/vendor/bundle/gems/pit-0.0.7/bin/pit +137 -0
  1501. data/vendor/bundle/gems/pit-0.0.7/lib/pit.rb +97 -0
  1502. data/vendor/bundle/gems/pit-0.0.7/lib/pit/version.rb +4 -0
  1503. data/vendor/bundle/gems/pit-0.0.7/pit.gemspec +19 -0
  1504. data/vendor/bundle/gems/pit-0.0.7/test/pit_test.rb +112 -0
  1505. data/vendor/bundle/gems/pit-0.0.7/test/test_helper.rb +3 -0
  1506. data/vendor/bundle/gems/power_assert-1.1.5/BSDL +22 -0
  1507. data/vendor/bundle/gems/power_assert-1.1.5/COPYING +57 -0
  1508. data/vendor/bundle/gems/power_assert-1.1.5/Gemfile +9 -0
  1509. data/vendor/bundle/gems/power_assert-1.1.5/LEGAL +4 -0
  1510. data/vendor/bundle/gems/power_assert-1.1.5/README.rdoc +81 -0
  1511. data/vendor/bundle/gems/power_assert-1.1.5/Rakefile +59 -0
  1512. data/vendor/bundle/gems/power_assert-1.1.5/bin/console +12 -0
  1513. data/vendor/bundle/gems/power_assert-1.1.5/bin/setup +6 -0
  1514. data/vendor/bundle/gems/power_assert-1.1.5/lib/power_assert.rb +98 -0
  1515. data/vendor/bundle/gems/power_assert-1.1.5/lib/power_assert/colorize.rb +9 -0
  1516. data/vendor/bundle/gems/power_assert-1.1.5/lib/power_assert/configuration.rb +46 -0
  1517. data/vendor/bundle/gems/power_assert-1.1.5/lib/power_assert/context.rb +235 -0
  1518. data/vendor/bundle/gems/power_assert-1.1.5/lib/power_assert/enable_tracepoint_events.rb +91 -0
  1519. data/vendor/bundle/gems/power_assert-1.1.5/lib/power_assert/inspector.rb +61 -0
  1520. data/vendor/bundle/gems/power_assert-1.1.5/lib/power_assert/parser.rb +251 -0
  1521. data/vendor/bundle/gems/power_assert-1.1.5/lib/power_assert/version.rb +3 -0
  1522. data/vendor/bundle/gems/power_assert-1.1.5/power_assert.gemspec +31 -0
  1523. data/vendor/bundle/gems/public_suffix-4.0.1/2.0-Upgrade.md +52 -0
  1524. data/vendor/bundle/gems/public_suffix-4.0.1/CHANGELOG.md +365 -0
  1525. data/vendor/bundle/gems/public_suffix-4.0.1/Gemfile +12 -0
  1526. data/vendor/bundle/gems/public_suffix-4.0.1/LICENSE.txt +22 -0
  1527. data/vendor/bundle/gems/public_suffix-4.0.1/README.md +202 -0
  1528. data/vendor/bundle/gems/public_suffix-4.0.1/Rakefile +51 -0
  1529. data/vendor/bundle/gems/public_suffix-4.0.1/bin/console +15 -0
  1530. data/vendor/bundle/gems/public_suffix-4.0.1/data/list.txt +13001 -0
  1531. data/vendor/bundle/gems/public_suffix-4.0.1/lib/public_suffix.rb +179 -0
  1532. data/vendor/bundle/gems/public_suffix-4.0.1/lib/public_suffix/domain.rb +235 -0
  1533. data/vendor/bundle/gems/public_suffix-4.0.1/lib/public_suffix/errors.rb +41 -0
  1534. data/vendor/bundle/gems/public_suffix-4.0.1/lib/public_suffix/list.rb +247 -0
  1535. data/vendor/bundle/gems/public_suffix-4.0.1/lib/public_suffix/rule.rb +350 -0
  1536. data/vendor/bundle/gems/public_suffix-4.0.1/lib/public_suffix/version.rb +13 -0
  1537. data/vendor/bundle/gems/public_suffix-4.0.1/public_suffix.gemspec +25 -0
  1538. data/vendor/bundle/gems/public_suffix-4.0.1/test/acceptance_test.rb +129 -0
  1539. data/vendor/bundle/gems/public_suffix-4.0.1/test/benchmarks/bm_find.rb +66 -0
  1540. data/vendor/bundle/gems/public_suffix-4.0.1/test/benchmarks/bm_find_all.rb +102 -0
  1541. data/vendor/bundle/gems/public_suffix-4.0.1/test/benchmarks/bm_names.rb +91 -0
  1542. data/vendor/bundle/gems/public_suffix-4.0.1/test/benchmarks/bm_select.rb +26 -0
  1543. data/vendor/bundle/gems/public_suffix-4.0.1/test/benchmarks/bm_select_incremental.rb +25 -0
  1544. data/vendor/bundle/gems/public_suffix-4.0.1/test/benchmarks/bm_valid.rb +101 -0
  1545. data/vendor/bundle/gems/public_suffix-4.0.1/test/profilers/domain_profiler.rb +12 -0
  1546. data/vendor/bundle/gems/public_suffix-4.0.1/test/profilers/find_profiler.rb +12 -0
  1547. data/vendor/bundle/gems/public_suffix-4.0.1/test/profilers/find_profiler_jp.rb +12 -0
  1548. data/vendor/bundle/gems/public_suffix-4.0.1/test/profilers/initialization_profiler.rb +11 -0
  1549. data/vendor/bundle/gems/public_suffix-4.0.1/test/profilers/list_profsize.rb +11 -0
  1550. data/vendor/bundle/gems/public_suffix-4.0.1/test/profilers/object_binsize.rb +57 -0
  1551. data/vendor/bundle/gems/public_suffix-4.0.1/test/psl_test.rb +52 -0
  1552. data/vendor/bundle/gems/public_suffix-4.0.1/test/test_helper.rb +18 -0
  1553. data/vendor/bundle/gems/public_suffix-4.0.1/test/tests.txt +98 -0
  1554. data/vendor/bundle/gems/public_suffix-4.0.1/test/unit/domain_test.rb +106 -0
  1555. data/vendor/bundle/gems/public_suffix-4.0.1/test/unit/errors_test.rb +25 -0
  1556. data/vendor/bundle/gems/public_suffix-4.0.1/test/unit/list_test.rb +241 -0
  1557. data/vendor/bundle/gems/public_suffix-4.0.1/test/unit/public_suffix_test.rb +188 -0
  1558. data/vendor/bundle/gems/public_suffix-4.0.1/test/unit/rule_test.rb +222 -0
  1559. data/vendor/bundle/gems/rack-2.0.7/COPYING +18 -0
  1560. data/vendor/bundle/gems/rack-2.0.7/HISTORY.md +505 -0
  1561. data/vendor/bundle/gems/rack-2.0.7/README.rdoc +302 -0
  1562. data/vendor/bundle/gems/rack-2.0.7/Rakefile +116 -0
  1563. data/vendor/bundle/gems/rack-2.0.7/SPEC +263 -0
  1564. data/vendor/bundle/gems/rack-2.0.7/bin/rackup +4 -0
  1565. data/vendor/bundle/gems/rack-2.0.7/contrib/rack.png +0 -0
  1566. data/vendor/bundle/gems/rack-2.0.7/contrib/rack.svg +150 -0
  1567. data/vendor/bundle/gems/rack-2.0.7/contrib/rack_logo.svg +164 -0
  1568. data/vendor/bundle/gems/rack-2.0.7/contrib/rdoc.css +412 -0
  1569. data/vendor/bundle/gems/rack-2.0.7/example/lobster.ru +4 -0
  1570. data/vendor/bundle/gems/rack-2.0.7/example/protectedlobster.rb +14 -0
  1571. data/vendor/bundle/gems/rack-2.0.7/example/protectedlobster.ru +8 -0
  1572. data/vendor/bundle/gems/rack-2.0.7/lib/rack.rb +147 -0
  1573. data/vendor/bundle/gems/rack-2.0.7/lib/rack/auth/abstract/handler.rb +37 -0
  1574. data/vendor/bundle/gems/rack-2.0.7/lib/rack/auth/abstract/request.rb +47 -0
  1575. data/vendor/bundle/gems/rack-2.0.7/lib/rack/auth/basic.rb +58 -0
  1576. data/vendor/bundle/gems/rack-2.0.7/lib/rack/auth/digest/md5.rb +129 -0
  1577. data/vendor/bundle/gems/rack-2.0.7/lib/rack/auth/digest/nonce.rb +51 -0
  1578. data/vendor/bundle/gems/rack-2.0.7/lib/rack/auth/digest/params.rb +52 -0
  1579. data/vendor/bundle/gems/rack-2.0.7/lib/rack/auth/digest/request.rb +41 -0
  1580. data/vendor/bundle/gems/rack-2.0.7/lib/rack/body_proxy.rb +44 -0
  1581. data/vendor/bundle/gems/rack-2.0.7/lib/rack/builder.rb +164 -0
  1582. data/vendor/bundle/gems/rack-2.0.7/lib/rack/cascade.rb +52 -0
  1583. data/vendor/bundle/gems/rack-2.0.7/lib/rack/chunked.rb +69 -0
  1584. data/vendor/bundle/gems/rack-2.0.7/lib/rack/common_logger.rb +72 -0
  1585. data/vendor/bundle/gems/rack-2.0.7/lib/rack/conditional_get.rb +79 -0
  1586. data/vendor/bundle/gems/rack-2.0.7/lib/rack/config.rb +20 -0
  1587. data/vendor/bundle/gems/rack-2.0.7/lib/rack/content_length.rb +37 -0
  1588. data/vendor/bundle/gems/rack-2.0.7/lib/rack/content_type.rb +29 -0
  1589. data/vendor/bundle/gems/rack-2.0.7/lib/rack/deflater.rb +119 -0
  1590. data/vendor/bundle/gems/rack-2.0.7/lib/rack/directory.rb +179 -0
  1591. data/vendor/bundle/gems/rack-2.0.7/lib/rack/etag.rb +74 -0
  1592. data/vendor/bundle/gems/rack-2.0.7/lib/rack/events.rb +154 -0
  1593. data/vendor/bundle/gems/rack-2.0.7/lib/rack/file.rb +176 -0
  1594. data/vendor/bundle/gems/rack-2.0.7/lib/rack/handler.rb +99 -0
  1595. data/vendor/bundle/gems/rack-2.0.7/lib/rack/handler/cgi.rb +60 -0
  1596. data/vendor/bundle/gems/rack-2.0.7/lib/rack/handler/fastcgi.rb +100 -0
  1597. data/vendor/bundle/gems/rack-2.0.7/lib/rack/handler/lsws.rb +61 -0
  1598. data/vendor/bundle/gems/rack-2.0.7/lib/rack/handler/scgi.rb +70 -0
  1599. data/vendor/bundle/gems/rack-2.0.7/lib/rack/handler/thin.rb +36 -0
  1600. data/vendor/bundle/gems/rack-2.0.7/lib/rack/handler/webrick.rb +120 -0
  1601. data/vendor/bundle/gems/rack-2.0.7/lib/rack/head.rb +25 -0
  1602. data/vendor/bundle/gems/rack-2.0.7/lib/rack/lint.rb +760 -0
  1603. data/vendor/bundle/gems/rack-2.0.7/lib/rack/lobster.rb +70 -0
  1604. data/vendor/bundle/gems/rack-2.0.7/lib/rack/lock.rb +31 -0
  1605. data/vendor/bundle/gems/rack-2.0.7/lib/rack/logger.rb +18 -0
  1606. data/vendor/bundle/gems/rack-2.0.7/lib/rack/media_type.rb +38 -0
  1607. data/vendor/bundle/gems/rack-2.0.7/lib/rack/method_override.rb +50 -0
  1608. data/vendor/bundle/gems/rack-2.0.7/lib/rack/mime.rb +677 -0
  1609. data/vendor/bundle/gems/rack-2.0.7/lib/rack/mock.rb +196 -0
  1610. data/vendor/bundle/gems/rack-2.0.7/lib/rack/multipart.rb +63 -0
  1611. data/vendor/bundle/gems/rack-2.0.7/lib/rack/multipart/generator.rb +93 -0
  1612. data/vendor/bundle/gems/rack-2.0.7/lib/rack/multipart/parser.rb +366 -0
  1613. data/vendor/bundle/gems/rack-2.0.7/lib/rack/multipart/uploaded_file.rb +33 -0
  1614. data/vendor/bundle/gems/rack-2.0.7/lib/rack/null_logger.rb +37 -0
  1615. data/vendor/bundle/gems/rack-2.0.7/lib/rack/query_parser.rb +192 -0
  1616. data/vendor/bundle/gems/rack-2.0.7/lib/rack/recursive.rb +62 -0
  1617. data/vendor/bundle/gems/rack-2.0.7/lib/rack/reloader.rb +110 -0
  1618. data/vendor/bundle/gems/rack-2.0.7/lib/rack/request.rb +500 -0
  1619. data/vendor/bundle/gems/rack-2.0.7/lib/rack/response.rb +235 -0
  1620. data/vendor/bundle/gems/rack-2.0.7/lib/rack/rewindable_input.rb +93 -0
  1621. data/vendor/bundle/gems/rack-2.0.7/lib/rack/runtime.rb +32 -0
  1622. data/vendor/bundle/gems/rack-2.0.7/lib/rack/sendfile.rb +158 -0
  1623. data/vendor/bundle/gems/rack-2.0.7/lib/rack/server.rb +395 -0
  1624. data/vendor/bundle/gems/rack-2.0.7/lib/rack/session/abstract/id.rb +445 -0
  1625. data/vendor/bundle/gems/rack-2.0.7/lib/rack/session/cookie.rb +195 -0
  1626. data/vendor/bundle/gems/rack-2.0.7/lib/rack/session/memcache.rb +93 -0
  1627. data/vendor/bundle/gems/rack-2.0.7/lib/rack/session/pool.rb +76 -0
  1628. data/vendor/bundle/gems/rack-2.0.7/lib/rack/show_exceptions.rb +386 -0
  1629. data/vendor/bundle/gems/rack-2.0.7/lib/rack/show_status.rb +113 -0
  1630. data/vendor/bundle/gems/rack-2.0.7/lib/rack/static.rb +175 -0
  1631. data/vendor/bundle/gems/rack-2.0.7/lib/rack/tempfile_reaper.rb +22 -0
  1632. data/vendor/bundle/gems/rack-2.0.7/lib/rack/urlmap.rb +91 -0
  1633. data/vendor/bundle/gems/rack-2.0.7/lib/rack/utils.rb +620 -0
  1634. data/vendor/bundle/gems/rack-2.0.7/rack.gemspec +34 -0
  1635. data/vendor/bundle/gems/rack-2.0.7/test/builder/an_underscore_app.rb +5 -0
  1636. data/vendor/bundle/gems/rack-2.0.7/test/builder/anything.rb +5 -0
  1637. data/vendor/bundle/gems/rack-2.0.7/test/builder/comment.ru +4 -0
  1638. data/vendor/bundle/gems/rack-2.0.7/test/builder/end.ru +5 -0
  1639. data/vendor/bundle/gems/rack-2.0.7/test/builder/line.ru +1 -0
  1640. data/vendor/bundle/gems/rack-2.0.7/test/builder/options.ru +2 -0
  1641. data/vendor/bundle/gems/rack-2.0.7/test/cgi/assets/folder/test.js +1 -0
  1642. data/vendor/bundle/gems/rack-2.0.7/test/cgi/assets/fonts/font.eot +1 -0
  1643. data/vendor/bundle/gems/rack-2.0.7/test/cgi/assets/images/image.png +1 -0
  1644. data/vendor/bundle/gems/rack-2.0.7/test/cgi/assets/index.html +1 -0
  1645. data/vendor/bundle/gems/rack-2.0.7/test/cgi/assets/javascripts/app.js +1 -0
  1646. data/vendor/bundle/gems/rack-2.0.7/test/cgi/assets/stylesheets/app.css +1 -0
  1647. data/vendor/bundle/gems/rack-2.0.7/test/cgi/lighttpd.conf +26 -0
  1648. data/vendor/bundle/gems/rack-2.0.7/test/cgi/rackup_stub.rb +6 -0
  1649. data/vendor/bundle/gems/rack-2.0.7/test/cgi/sample_rackup.ru +5 -0
  1650. data/vendor/bundle/gems/rack-2.0.7/test/cgi/test +9 -0
  1651. data/vendor/bundle/gems/rack-2.0.7/test/cgi/test+directory/test+file +1 -0
  1652. data/vendor/bundle/gems/rack-2.0.7/test/cgi/test.fcgi +9 -0
  1653. data/vendor/bundle/gems/rack-2.0.7/test/cgi/test.gz +0 -0
  1654. data/vendor/bundle/gems/rack-2.0.7/test/cgi/test.ru +5 -0
  1655. data/vendor/bundle/gems/rack-2.0.7/test/gemloader.rb +10 -0
  1656. data/vendor/bundle/gems/rack-2.0.7/test/helper.rb +34 -0
  1657. data/vendor/bundle/gems/rack-2.0.7/test/multipart/bad_robots +259 -0
  1658. data/vendor/bundle/gems/rack-2.0.7/test/multipart/binary +0 -0
  1659. data/vendor/bundle/gems/rack-2.0.7/test/multipart/content_type_and_no_filename +6 -0
  1660. data/vendor/bundle/gems/rack-2.0.7/test/multipart/empty +10 -0
  1661. data/vendor/bundle/gems/rack-2.0.7/test/multipart/fail_16384_nofile +814 -0
  1662. data/vendor/bundle/gems/rack-2.0.7/test/multipart/file1.txt +1 -0
  1663. data/vendor/bundle/gems/rack-2.0.7/test/multipart/filename_and_modification_param +7 -0
  1664. data/vendor/bundle/gems/rack-2.0.7/test/multipart/filename_and_no_name +6 -0
  1665. data/vendor/bundle/gems/rack-2.0.7/test/multipart/filename_with_encoded_words +7 -0
  1666. data/vendor/bundle/gems/rack-2.0.7/test/multipart/filename_with_escaped_quotes +6 -0
  1667. data/vendor/bundle/gems/rack-2.0.7/test/multipart/filename_with_escaped_quotes_and_modification_param +7 -0
  1668. data/vendor/bundle/gems/rack-2.0.7/test/multipart/filename_with_null_byte +7 -0
  1669. data/vendor/bundle/gems/rack-2.0.7/test/multipart/filename_with_percent_escaped_quotes +6 -0
  1670. data/vendor/bundle/gems/rack-2.0.7/test/multipart/filename_with_single_quote +7 -0
  1671. data/vendor/bundle/gems/rack-2.0.7/test/multipart/filename_with_unescaped_percentages +6 -0
  1672. data/vendor/bundle/gems/rack-2.0.7/test/multipart/filename_with_unescaped_percentages2 +6 -0
  1673. data/vendor/bundle/gems/rack-2.0.7/test/multipart/filename_with_unescaped_percentages3 +6 -0
  1674. data/vendor/bundle/gems/rack-2.0.7/test/multipart/filename_with_unescaped_quotes +6 -0
  1675. data/vendor/bundle/gems/rack-2.0.7/test/multipart/ie +6 -0
  1676. data/vendor/bundle/gems/rack-2.0.7/test/multipart/invalid_character +6 -0
  1677. data/vendor/bundle/gems/rack-2.0.7/test/multipart/mixed_files +21 -0
  1678. data/vendor/bundle/gems/rack-2.0.7/test/multipart/nested +10 -0
  1679. data/vendor/bundle/gems/rack-2.0.7/test/multipart/none +9 -0
  1680. data/vendor/bundle/gems/rack-2.0.7/test/multipart/quoted +15 -0
  1681. data/vendor/bundle/gems/rack-2.0.7/test/multipart/rack-logo.png +0 -0
  1682. data/vendor/bundle/gems/rack-2.0.7/test/multipart/semicolon +6 -0
  1683. data/vendor/bundle/gems/rack-2.0.7/test/multipart/text +15 -0
  1684. data/vendor/bundle/gems/rack-2.0.7/test/multipart/three_files_three_fields +31 -0
  1685. data/vendor/bundle/gems/rack-2.0.7/test/multipart/unity3d_wwwform +11 -0
  1686. data/vendor/bundle/gems/rack-2.0.7/test/multipart/webkit +32 -0
  1687. data/vendor/bundle/gems/rack-2.0.7/test/rackup/config.ru +31 -0
  1688. data/vendor/bundle/gems/rack-2.0.7/test/registering_handler/rack/handler/registering_myself.rb +8 -0
  1689. data/vendor/bundle/gems/rack-2.0.7/test/spec_auth_basic.rb +89 -0
  1690. data/vendor/bundle/gems/rack-2.0.7/test/spec_auth_digest.rb +260 -0
  1691. data/vendor/bundle/gems/rack-2.0.7/test/spec_body_proxy.rb +85 -0
  1692. data/vendor/bundle/gems/rack-2.0.7/test/spec_builder.rb +233 -0
  1693. data/vendor/bundle/gems/rack-2.0.7/test/spec_cascade.rb +63 -0
  1694. data/vendor/bundle/gems/rack-2.0.7/test/spec_cgi.rb +84 -0
  1695. data/vendor/bundle/gems/rack-2.0.7/test/spec_chunked.rb +103 -0
  1696. data/vendor/bundle/gems/rack-2.0.7/test/spec_common_logger.rb +95 -0
  1697. data/vendor/bundle/gems/rack-2.0.7/test/spec_conditional_get.rb +103 -0
  1698. data/vendor/bundle/gems/rack-2.0.7/test/spec_config.rb +23 -0
  1699. data/vendor/bundle/gems/rack-2.0.7/test/spec_content_length.rb +86 -0
  1700. data/vendor/bundle/gems/rack-2.0.7/test/spec_content_type.rb +46 -0
  1701. data/vendor/bundle/gems/rack-2.0.7/test/spec_deflater.rb +375 -0
  1702. data/vendor/bundle/gems/rack-2.0.7/test/spec_directory.rb +148 -0
  1703. data/vendor/bundle/gems/rack-2.0.7/test/spec_etag.rb +108 -0
  1704. data/vendor/bundle/gems/rack-2.0.7/test/spec_events.rb +133 -0
  1705. data/vendor/bundle/gems/rack-2.0.7/test/spec_fastcgi.rb +85 -0
  1706. data/vendor/bundle/gems/rack-2.0.7/test/spec_file.rb +264 -0
  1707. data/vendor/bundle/gems/rack-2.0.7/test/spec_handler.rb +57 -0
  1708. data/vendor/bundle/gems/rack-2.0.7/test/spec_head.rb +46 -0
  1709. data/vendor/bundle/gems/rack-2.0.7/test/spec_lint.rb +515 -0
  1710. data/vendor/bundle/gems/rack-2.0.7/test/spec_lobster.rb +59 -0
  1711. data/vendor/bundle/gems/rack-2.0.7/test/spec_lock.rb +204 -0
  1712. data/vendor/bundle/gems/rack-2.0.7/test/spec_logger.rb +24 -0
  1713. data/vendor/bundle/gems/rack-2.0.7/test/spec_media_type.rb +42 -0
  1714. data/vendor/bundle/gems/rack-2.0.7/test/spec_method_override.rb +110 -0
  1715. data/vendor/bundle/gems/rack-2.0.7/test/spec_mime.rb +51 -0
  1716. data/vendor/bundle/gems/rack-2.0.7/test/spec_mock.rb +359 -0
  1717. data/vendor/bundle/gems/rack-2.0.7/test/spec_multipart.rb +722 -0
  1718. data/vendor/bundle/gems/rack-2.0.7/test/spec_null_logger.rb +21 -0
  1719. data/vendor/bundle/gems/rack-2.0.7/test/spec_recursive.rb +75 -0
  1720. data/vendor/bundle/gems/rack-2.0.7/test/spec_request.rb +1407 -0
  1721. data/vendor/bundle/gems/rack-2.0.7/test/spec_response.rb +510 -0
  1722. data/vendor/bundle/gems/rack-2.0.7/test/spec_rewindable_input.rb +128 -0
  1723. data/vendor/bundle/gems/rack-2.0.7/test/spec_runtime.rb +50 -0
  1724. data/vendor/bundle/gems/rack-2.0.7/test/spec_sendfile.rb +125 -0
  1725. data/vendor/bundle/gems/rack-2.0.7/test/spec_server.rb +193 -0
  1726. data/vendor/bundle/gems/rack-2.0.7/test/spec_session_abstract_id.rb +31 -0
  1727. data/vendor/bundle/gems/rack-2.0.7/test/spec_session_abstract_session_hash.rb +45 -0
  1728. data/vendor/bundle/gems/rack-2.0.7/test/spec_session_cookie.rb +442 -0
  1729. data/vendor/bundle/gems/rack-2.0.7/test/spec_session_memcache.rb +320 -0
  1730. data/vendor/bundle/gems/rack-2.0.7/test/spec_session_pool.rb +210 -0
  1731. data/vendor/bundle/gems/rack-2.0.7/test/spec_show_exceptions.rb +93 -0
  1732. data/vendor/bundle/gems/rack-2.0.7/test/spec_show_status.rb +104 -0
  1733. data/vendor/bundle/gems/rack-2.0.7/test/spec_static.rb +184 -0
  1734. data/vendor/bundle/gems/rack-2.0.7/test/spec_tempfile_reaper.rb +64 -0
  1735. data/vendor/bundle/gems/rack-2.0.7/test/spec_thin.rb +96 -0
  1736. data/vendor/bundle/gems/rack-2.0.7/test/spec_urlmap.rb +237 -0
  1737. data/vendor/bundle/gems/rack-2.0.7/test/spec_utils.rb +742 -0
  1738. data/vendor/bundle/gems/rack-2.0.7/test/spec_version.rb +11 -0
  1739. data/vendor/bundle/gems/rack-2.0.7/test/spec_webrick.rb +206 -0
  1740. data/vendor/bundle/gems/rack-2.0.7/test/static/another/index.html +1 -0
  1741. data/vendor/bundle/gems/rack-2.0.7/test/static/foo.html +1 -0
  1742. data/vendor/bundle/gems/rack-2.0.7/test/static/index.html +1 -0
  1743. data/vendor/bundle/gems/rack-2.0.7/test/testrequest.rb +78 -0
  1744. data/vendor/bundle/gems/rack-2.0.7/test/unregistered_handler/rack/handler/unregistered.rb +7 -0
  1745. data/vendor/bundle/gems/rack-2.0.7/test/unregistered_handler/rack/handler/unregistered_long_one.rb +7 -0
  1746. data/vendor/bundle/gems/rack-test-1.1.0/History.md +256 -0
  1747. data/vendor/bundle/gems/rack-test-1.1.0/MIT-LICENSE.txt +19 -0
  1748. data/vendor/bundle/gems/rack-test-1.1.0/README.md +150 -0
  1749. data/vendor/bundle/gems/rack-test-1.1.0/lib/rack/mock_session.rb +63 -0
  1750. data/vendor/bundle/gems/rack-test-1.1.0/lib/rack/test.rb +334 -0
  1751. data/vendor/bundle/gems/rack-test-1.1.0/lib/rack/test/cookie_jar.rb +194 -0
  1752. data/vendor/bundle/gems/rack-test-1.1.0/lib/rack/test/methods.rb +83 -0
  1753. data/vendor/bundle/gems/rack-test-1.1.0/lib/rack/test/mock_digest_request.rb +25 -0
  1754. data/vendor/bundle/gems/rack-test-1.1.0/lib/rack/test/uploaded_file.rb +85 -0
  1755. data/vendor/bundle/gems/rack-test-1.1.0/lib/rack/test/utils.rb +144 -0
  1756. data/vendor/bundle/gems/rack-test-1.1.0/lib/rack/test/version.rb +5 -0
  1757. data/vendor/bundle/gems/racksh-1.0.0/CHANGELOG.txt +34 -0
  1758. data/vendor/bundle/gems/racksh-1.0.0/README.markdown +150 -0
  1759. data/vendor/bundle/gems/racksh-1.0.0/bin/racksh +25 -0
  1760. data/vendor/bundle/gems/racksh-1.0.0/lib/racksh/init.rb +53 -0
  1761. data/vendor/bundle/gems/racksh-1.0.0/lib/racksh/irb.rb +2 -0
  1762. data/vendor/bundle/gems/racksh-1.0.0/lib/racksh/session.rb +18 -0
  1763. data/vendor/bundle/gems/racksh-1.0.0/lib/racksh/version.rb +5 -0
  1764. data/vendor/bundle/gems/rake-13.0.1/CONTRIBUTING.rdoc +43 -0
  1765. data/vendor/bundle/gems/rake-13.0.1/Gemfile +10 -0
  1766. data/vendor/bundle/gems/rake-13.0.1/History.rdoc +2368 -0
  1767. data/vendor/bundle/gems/rake-13.0.1/MIT-LICENSE +21 -0
  1768. data/vendor/bundle/gems/rake-13.0.1/README.rdoc +155 -0
  1769. data/vendor/bundle/gems/rake-13.0.1/Rakefile +41 -0
  1770. data/vendor/bundle/gems/rake-13.0.1/bin/bundle +105 -0
  1771. data/vendor/bundle/gems/rake-13.0.1/bin/console +7 -0
  1772. data/vendor/bundle/gems/rake-13.0.1/bin/rake +29 -0
  1773. data/vendor/bundle/gems/rake-13.0.1/bin/rdoc +29 -0
  1774. data/vendor/bundle/gems/rake-13.0.1/bin/rubocop +29 -0
  1775. data/vendor/bundle/gems/rake-13.0.1/bin/setup +6 -0
  1776. data/vendor/bundle/gems/rake-13.0.1/doc/command_line_usage.rdoc +158 -0
  1777. data/vendor/bundle/gems/rake-13.0.1/doc/example/Rakefile1 +38 -0
  1778. data/vendor/bundle/gems/rake-13.0.1/doc/example/Rakefile2 +35 -0
  1779. data/vendor/bundle/gems/rake-13.0.1/doc/example/a.c +6 -0
  1780. data/vendor/bundle/gems/rake-13.0.1/doc/example/b.c +6 -0
  1781. data/vendor/bundle/gems/rake-13.0.1/doc/example/main.c +11 -0
  1782. data/vendor/bundle/gems/rake-13.0.1/doc/glossary.rdoc +42 -0
  1783. data/vendor/bundle/gems/rake-13.0.1/doc/jamis.rb +592 -0
  1784. data/vendor/bundle/gems/rake-13.0.1/doc/proto_rake.rdoc +127 -0
  1785. data/vendor/bundle/gems/rake-13.0.1/doc/rake.1 +156 -0
  1786. data/vendor/bundle/gems/rake-13.0.1/doc/rakefile.rdoc +622 -0
  1787. data/vendor/bundle/gems/rake-13.0.1/doc/rational.rdoc +151 -0
  1788. data/vendor/bundle/gems/rake-13.0.1/exe/rake +27 -0
  1789. data/vendor/bundle/gems/rake-13.0.1/lib/rake.rb +71 -0
  1790. data/vendor/bundle/gems/rake-13.0.1/lib/rake/application.rb +824 -0
  1791. data/vendor/bundle/gems/rake-13.0.1/lib/rake/backtrace.rb +24 -0
  1792. data/vendor/bundle/gems/rake-13.0.1/lib/rake/clean.rb +78 -0
  1793. data/vendor/bundle/gems/rake-13.0.1/lib/rake/cloneable.rb +17 -0
  1794. data/vendor/bundle/gems/rake-13.0.1/lib/rake/cpu_counter.rb +107 -0
  1795. data/vendor/bundle/gems/rake-13.0.1/lib/rake/default_loader.rb +15 -0
  1796. data/vendor/bundle/gems/rake-13.0.1/lib/rake/dsl_definition.rb +195 -0
  1797. data/vendor/bundle/gems/rake-13.0.1/lib/rake/early_time.rb +22 -0
  1798. data/vendor/bundle/gems/rake-13.0.1/lib/rake/ext/core.rb +26 -0
  1799. data/vendor/bundle/gems/rake-13.0.1/lib/rake/ext/string.rb +176 -0
  1800. data/vendor/bundle/gems/rake-13.0.1/lib/rake/file_creation_task.rb +25 -0
  1801. data/vendor/bundle/gems/rake-13.0.1/lib/rake/file_list.rb +435 -0
  1802. data/vendor/bundle/gems/rake-13.0.1/lib/rake/file_task.rb +54 -0
  1803. data/vendor/bundle/gems/rake-13.0.1/lib/rake/file_utils.rb +134 -0
  1804. data/vendor/bundle/gems/rake-13.0.1/lib/rake/file_utils_ext.rb +134 -0
  1805. data/vendor/bundle/gems/rake-13.0.1/lib/rake/invocation_chain.rb +57 -0
  1806. data/vendor/bundle/gems/rake-13.0.1/lib/rake/invocation_exception_mixin.rb +17 -0
  1807. data/vendor/bundle/gems/rake-13.0.1/lib/rake/late_time.rb +18 -0
  1808. data/vendor/bundle/gems/rake-13.0.1/lib/rake/linked_list.rb +112 -0
  1809. data/vendor/bundle/gems/rake-13.0.1/lib/rake/loaders/makefile.rb +54 -0
  1810. data/vendor/bundle/gems/rake-13.0.1/lib/rake/multi_task.rb +14 -0
  1811. data/vendor/bundle/gems/rake-13.0.1/lib/rake/name_space.rb +38 -0
  1812. data/vendor/bundle/gems/rake-13.0.1/lib/rake/packagetask.rb +222 -0
  1813. data/vendor/bundle/gems/rake-13.0.1/lib/rake/phony.rb +16 -0
  1814. data/vendor/bundle/gems/rake-13.0.1/lib/rake/private_reader.rb +21 -0
  1815. data/vendor/bundle/gems/rake-13.0.1/lib/rake/promise.rb +100 -0
  1816. data/vendor/bundle/gems/rake-13.0.1/lib/rake/pseudo_status.rb +30 -0
  1817. data/vendor/bundle/gems/rake-13.0.1/lib/rake/rake_module.rb +67 -0
  1818. data/vendor/bundle/gems/rake-13.0.1/lib/rake/rake_test_loader.rb +27 -0
  1819. data/vendor/bundle/gems/rake-13.0.1/lib/rake/rule_recursion_overflow_error.rb +20 -0
  1820. data/vendor/bundle/gems/rake-13.0.1/lib/rake/scope.rb +43 -0
  1821. data/vendor/bundle/gems/rake-13.0.1/lib/rake/task.rb +434 -0
  1822. data/vendor/bundle/gems/rake-13.0.1/lib/rake/task_argument_error.rb +8 -0
  1823. data/vendor/bundle/gems/rake-13.0.1/lib/rake/task_arguments.rb +109 -0
  1824. data/vendor/bundle/gems/rake-13.0.1/lib/rake/task_manager.rb +331 -0
  1825. data/vendor/bundle/gems/rake-13.0.1/lib/rake/tasklib.rb +12 -0
  1826. data/vendor/bundle/gems/rake-13.0.1/lib/rake/testtask.rb +224 -0
  1827. data/vendor/bundle/gems/rake-13.0.1/lib/rake/thread_history_display.rb +49 -0
  1828. data/vendor/bundle/gems/rake-13.0.1/lib/rake/thread_pool.rb +163 -0
  1829. data/vendor/bundle/gems/rake-13.0.1/lib/rake/trace_output.rb +23 -0
  1830. data/vendor/bundle/gems/rake-13.0.1/lib/rake/version.rb +10 -0
  1831. data/vendor/bundle/gems/rake-13.0.1/lib/rake/win32.rb +51 -0
  1832. data/vendor/bundle/gems/rake-13.0.1/rake.gemspec +43 -0
  1833. data/vendor/bundle/gems/redcarpet-3.5.0/COPYING +20 -0
  1834. data/vendor/bundle/gems/redcarpet-3.5.0/Gemfile +9 -0
  1835. data/vendor/bundle/gems/redcarpet-3.5.0/README.markdown +405 -0
  1836. data/vendor/bundle/gems/redcarpet-3.5.0/Rakefile +60 -0
  1837. data/vendor/bundle/gems/redcarpet-3.5.0/bin/redcarpet +7 -0
  1838. data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/Makefile +266 -0
  1839. data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/autolink.c +308 -0
  1840. data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/autolink.h +55 -0
  1841. data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/autolink.o +0 -0
  1842. data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/buffer.c +203 -0
  1843. data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/buffer.h +88 -0
  1844. data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/buffer.o +0 -0
  1845. data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/extconf.rb +6 -0
  1846. data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/houdini.h +51 -0
  1847. data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/houdini_href_e.c +124 -0
  1848. data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/houdini_href_e.o +0 -0
  1849. data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/houdini_html_e.c +104 -0
  1850. data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/houdini_html_e.o +0 -0
  1851. data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/html.c +845 -0
  1852. data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/html.h +83 -0
  1853. data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/html.o +0 -0
  1854. data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/html_blocks.h +227 -0
  1855. data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/html_smartypants.c +472 -0
  1856. data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/html_smartypants.o +0 -0
  1857. data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/markdown.c +2915 -0
  1858. data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/markdown.h +143 -0
  1859. data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/markdown.o +0 -0
  1860. data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/rc_markdown.c +183 -0
  1861. data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/rc_markdown.o +0 -0
  1862. data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/rc_render.c +568 -0
  1863. data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/rc_render.o +0 -0
  1864. data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/redcarpet.h +52 -0
  1865. data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/redcarpet.so +0 -0
  1866. data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/stack.c +84 -0
  1867. data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/stack.h +48 -0
  1868. data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/stack.o +0 -0
  1869. data/vendor/bundle/gems/redcarpet-3.5.0/lib/redcarpet.rb +92 -0
  1870. data/vendor/bundle/gems/redcarpet-3.5.0/lib/redcarpet.so +0 -0
  1871. data/vendor/bundle/gems/redcarpet-3.5.0/lib/redcarpet/cli.rb +86 -0
  1872. data/vendor/bundle/gems/redcarpet-3.5.0/lib/redcarpet/compat.rb +71 -0
  1873. data/vendor/bundle/gems/redcarpet-3.5.0/lib/redcarpet/render_man.rb +65 -0
  1874. data/vendor/bundle/gems/redcarpet-3.5.0/lib/redcarpet/render_strip.rb +60 -0
  1875. data/vendor/bundle/gems/redcarpet-3.5.0/redcarpet.gemspec +71 -0
  1876. data/vendor/bundle/gems/redcarpet-3.5.0/test/benchmark.rb +24 -0
  1877. data/vendor/bundle/gems/redcarpet-3.5.0/test/custom_render_test.rb +67 -0
  1878. data/vendor/bundle/gems/redcarpet-3.5.0/test/fixtures/benchmark.md +232 -0
  1879. data/vendor/bundle/gems/redcarpet-3.5.0/test/html5_test.rb +82 -0
  1880. data/vendor/bundle/gems/redcarpet-3.5.0/test/html_render_test.rb +274 -0
  1881. data/vendor/bundle/gems/redcarpet-3.5.0/test/html_toc_render_test.rb +112 -0
  1882. data/vendor/bundle/gems/redcarpet-3.5.0/test/markdown_test.rb +406 -0
  1883. data/vendor/bundle/gems/redcarpet-3.5.0/test/pathological_inputs_test.rb +34 -0
  1884. data/vendor/bundle/gems/redcarpet-3.5.0/test/redcarpet_bin_test.rb +80 -0
  1885. data/vendor/bundle/gems/redcarpet-3.5.0/test/redcarpet_compat_test.rb +38 -0
  1886. data/vendor/bundle/gems/redcarpet-3.5.0/test/safe_render_test.rb +35 -0
  1887. data/vendor/bundle/gems/redcarpet-3.5.0/test/smarty_html_test.rb +51 -0
  1888. data/vendor/bundle/gems/redcarpet-3.5.0/test/smarty_pants_test.rb +58 -0
  1889. data/vendor/bundle/gems/redcarpet-3.5.0/test/stripdown_render_test.rb +69 -0
  1890. data/vendor/bundle/gems/redcarpet-3.5.0/test/test_helper.rb +47 -0
  1891. data/vendor/bundle/gems/regexp_parser-1.6.0/CHANGELOG.md +337 -0
  1892. data/vendor/bundle/gems/regexp_parser-1.6.0/Gemfile +9 -0
  1893. data/vendor/bundle/gems/regexp_parser-1.6.0/LICENSE +22 -0
  1894. data/vendor/bundle/gems/regexp_parser-1.6.0/README.md +470 -0
  1895. data/vendor/bundle/gems/regexp_parser-1.6.0/Rakefile +87 -0
  1896. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser.rb +8 -0
  1897. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression.rb +163 -0
  1898. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/classes/alternation.rb +10 -0
  1899. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/classes/anchor.rb +26 -0
  1900. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/classes/backref.rb +55 -0
  1901. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/classes/conditional.rb +58 -0
  1902. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/classes/escape.rb +94 -0
  1903. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/classes/free_space.rb +17 -0
  1904. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/classes/group.rb +60 -0
  1905. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/classes/keep.rb +5 -0
  1906. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/classes/literal.rb +7 -0
  1907. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/classes/posix_class.rb +11 -0
  1908. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/classes/property.rb +120 -0
  1909. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/classes/root.rb +24 -0
  1910. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/classes/set.rb +27 -0
  1911. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/classes/set/intersection.rb +9 -0
  1912. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/classes/set/range.rb +23 -0
  1913. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/classes/type.rb +19 -0
  1914. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/methods/match.rb +13 -0
  1915. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/methods/match_length.rb +172 -0
  1916. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/methods/options.rb +35 -0
  1917. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/methods/strfregexp.rb +114 -0
  1918. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/methods/tests.rb +97 -0
  1919. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/methods/traverse.rb +62 -0
  1920. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/quantifier.rb +44 -0
  1921. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/sequence.rb +67 -0
  1922. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/sequence_operation.rb +25 -0
  1923. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/subexpression.rb +59 -0
  1924. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/lexer.rb +127 -0
  1925. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/parser.rb +653 -0
  1926. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/scanner.rb +2765 -0
  1927. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/scanner/char_type.rl +28 -0
  1928. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/scanner/properties/long.yml +594 -0
  1929. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/scanner/properties/short.yml +237 -0
  1930. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/scanner/property.rl +30 -0
  1931. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/scanner/scanner.rl +893 -0
  1932. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax.rb +9 -0
  1933. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/any.rb +15 -0
  1934. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/base.rb +95 -0
  1935. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/tokens.rb +45 -0
  1936. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/tokens/anchor.rb +15 -0
  1937. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/tokens/assertion.rb +13 -0
  1938. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/tokens/backref.rb +24 -0
  1939. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/tokens/character_set.rb +13 -0
  1940. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/tokens/character_type.rb +16 -0
  1941. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/tokens/conditional.rb +16 -0
  1942. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/tokens/escape.rb +30 -0
  1943. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/tokens/group.rb +23 -0
  1944. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/tokens/keep.rb +12 -0
  1945. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/tokens/meta.rb +13 -0
  1946. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/tokens/posix_class.rb +17 -0
  1947. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/tokens/quantifier.rb +35 -0
  1948. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/tokens/unicode_property.rb +675 -0
  1949. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/version_lookup.rb +82 -0
  1950. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/versions.rb +6 -0
  1951. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/versions/1.8.6.rb +21 -0
  1952. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/versions/1.9.1.rb +18 -0
  1953. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/versions/1.9.3.rb +11 -0
  1954. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/versions/2.0.0.rb +17 -0
  1955. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/versions/2.2.0.rb +10 -0
  1956. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/versions/2.3.0.rb +10 -0
  1957. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/versions/2.4.0.rb +10 -0
  1958. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/versions/2.4.1.rb +9 -0
  1959. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/versions/2.5.0.rb +10 -0
  1960. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/versions/2.6.0.rb +10 -0
  1961. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/versions/2.6.2.rb +10 -0
  1962. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/versions/2.6.3.rb +10 -0
  1963. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/token.rb +35 -0
  1964. data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/version.rb +5 -0
  1965. data/vendor/bundle/gems/regexp_parser-1.6.0/regexp_parser.gemspec +36 -0
  1966. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/expression/base_spec.rb +94 -0
  1967. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/expression/clone_spec.rb +120 -0
  1968. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/expression/conditional_spec.rb +89 -0
  1969. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/expression/free_space_spec.rb +27 -0
  1970. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/expression/methods/match_length_spec.rb +154 -0
  1971. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/expression/methods/match_spec.rb +25 -0
  1972. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/expression/methods/strfregexp_spec.rb +224 -0
  1973. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/expression/methods/tests_spec.rb +99 -0
  1974. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/expression/methods/traverse_spec.rb +140 -0
  1975. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/expression/options_spec.rb +128 -0
  1976. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/expression/root_spec.rb +9 -0
  1977. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/expression/sequence_spec.rb +9 -0
  1978. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/expression/subexpression_spec.rb +50 -0
  1979. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/expression/to_h_spec.rb +26 -0
  1980. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/expression/to_s_spec.rb +100 -0
  1981. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/lexer/all_spec.rb +22 -0
  1982. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/lexer/conditionals_spec.rb +53 -0
  1983. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/lexer/escapes_spec.rb +14 -0
  1984. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/lexer/keep_spec.rb +10 -0
  1985. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/lexer/literals_spec.rb +89 -0
  1986. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/lexer/nesting_spec.rb +99 -0
  1987. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/lexer/refcalls_spec.rb +55 -0
  1988. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/parser/all_spec.rb +43 -0
  1989. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/parser/alternation_spec.rb +88 -0
  1990. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/parser/anchors_spec.rb +17 -0
  1991. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/parser/conditionals_spec.rb +179 -0
  1992. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/parser/errors_spec.rb +30 -0
  1993. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/parser/escapes_spec.rb +121 -0
  1994. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/parser/free_space_spec.rb +130 -0
  1995. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/parser/groups_spec.rb +108 -0
  1996. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/parser/keep_spec.rb +6 -0
  1997. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/parser/posix_classes_spec.rb +8 -0
  1998. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/parser/properties_spec.rb +115 -0
  1999. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/parser/quantifiers_spec.rb +51 -0
  2000. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/parser/refcalls_spec.rb +112 -0
  2001. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/parser/set/intersections_spec.rb +127 -0
  2002. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/parser/set/ranges_spec.rb +111 -0
  2003. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/parser/sets_spec.rb +178 -0
  2004. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/parser/types_spec.rb +18 -0
  2005. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/scanner/all_spec.rb +18 -0
  2006. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/scanner/anchors_spec.rb +21 -0
  2007. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/scanner/conditionals_spec.rb +128 -0
  2008. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/scanner/errors_spec.rb +68 -0
  2009. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/scanner/escapes_spec.rb +53 -0
  2010. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/scanner/free_space_spec.rb +133 -0
  2011. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/scanner/groups_spec.rb +52 -0
  2012. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/scanner/keep_spec.rb +10 -0
  2013. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/scanner/literals_spec.rb +49 -0
  2014. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/scanner/meta_spec.rb +18 -0
  2015. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/scanner/properties_spec.rb +64 -0
  2016. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/scanner/quantifiers_spec.rb +20 -0
  2017. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/scanner/refcalls_spec.rb +36 -0
  2018. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/scanner/sets_spec.rb +102 -0
  2019. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/scanner/types_spec.rb +14 -0
  2020. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/spec_helper.rb +15 -0
  2021. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/support/runner.rb +42 -0
  2022. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/support/shared_examples.rb +77 -0
  2023. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/support/warning_extractor.rb +60 -0
  2024. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/syntax/syntax_spec.rb +48 -0
  2025. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/syntax/syntax_token_map_spec.rb +23 -0
  2026. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/syntax/versions/1.8.6_spec.rb +17 -0
  2027. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/syntax/versions/1.9.1_spec.rb +10 -0
  2028. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/syntax/versions/1.9.3_spec.rb +9 -0
  2029. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/syntax/versions/2.0.0_spec.rb +13 -0
  2030. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/syntax/versions/2.2.0_spec.rb +9 -0
  2031. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/syntax/versions/aliases_spec.rb +37 -0
  2032. data/vendor/bundle/gems/regexp_parser-1.6.0/spec/token/token_spec.rb +85 -0
  2033. data/vendor/bundle/gems/rspec-3.9.0/LICENSE.md +27 -0
  2034. data/vendor/bundle/gems/rspec-3.9.0/README.md +43 -0
  2035. data/vendor/bundle/gems/rspec-3.9.0/lib/rspec.rb +3 -0
  2036. data/vendor/bundle/gems/rspec-3.9.0/lib/rspec/version.rb +5 -0
  2037. data/vendor/bundle/gems/rspec-core-3.9.0/Changelog.md +2265 -0
  2038. data/vendor/bundle/gems/rspec-core-3.9.0/LICENSE.md +26 -0
  2039. data/vendor/bundle/gems/rspec-core-3.9.0/README.md +384 -0
  2040. data/vendor/bundle/gems/rspec-core-3.9.0/exe/rspec +4 -0
  2041. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/autorun.rb +3 -0
  2042. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core.rb +186 -0
  2043. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/backtrace_formatter.rb +65 -0
  2044. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/bisect/coordinator.rb +62 -0
  2045. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/bisect/example_minimizer.rb +173 -0
  2046. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/bisect/fork_runner.rb +134 -0
  2047. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/bisect/server.rb +61 -0
  2048. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/bisect/shell_command.rb +126 -0
  2049. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/bisect/shell_runner.rb +73 -0
  2050. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/bisect/utilities.rb +58 -0
  2051. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/configuration.rb +2336 -0
  2052. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/configuration_options.rb +233 -0
  2053. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/did_you_mean.rb +46 -0
  2054. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/drb.rb +113 -0
  2055. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/dsl.rb +98 -0
  2056. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/example.rb +656 -0
  2057. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/example_group.rb +889 -0
  2058. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/example_status_persister.rb +235 -0
  2059. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/filter_manager.rb +231 -0
  2060. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/flat_map.rb +20 -0
  2061. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters.rb +272 -0
  2062. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/base_bisect_formatter.rb +45 -0
  2063. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/base_formatter.rb +70 -0
  2064. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/base_text_formatter.rb +75 -0
  2065. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/bisect_drb_formatter.rb +29 -0
  2066. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/bisect_progress_formatter.rb +157 -0
  2067. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/console_codes.rb +68 -0
  2068. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/deprecation_formatter.rb +223 -0
  2069. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/documentation_formatter.rb +102 -0
  2070. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/exception_presenter.rb +508 -0
  2071. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/failure_list_formatter.rb +23 -0
  2072. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
  2073. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/helpers.rb +110 -0
  2074. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/html_formatter.rb +153 -0
  2075. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/html_printer.rb +414 -0
  2076. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/html_snippet_extractor.rb +120 -0
  2077. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/json_formatter.rb +102 -0
  2078. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/profile_formatter.rb +68 -0
  2079. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/progress_formatter.rb +29 -0
  2080. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/protocol.rb +182 -0
  2081. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/snippet_extractor.rb +134 -0
  2082. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/syntax_highlighter.rb +91 -0
  2083. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/hooks.rb +632 -0
  2084. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/invocations.rb +87 -0
  2085. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/memoized_helpers.rb +554 -0
  2086. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/metadata.rb +498 -0
  2087. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/metadata_filter.rb +255 -0
  2088. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
  2089. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
  2090. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
  2091. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/mocking_adapters/null.rb +14 -0
  2092. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/mocking_adapters/rr.rb +31 -0
  2093. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
  2094. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/notifications.rb +521 -0
  2095. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/option_parser.rb +317 -0
  2096. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/ordering.rb +158 -0
  2097. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/output_wrapper.rb +29 -0
  2098. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/pending.rb +165 -0
  2099. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/profiler.rb +34 -0
  2100. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/project_initializer.rb +48 -0
  2101. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/project_initializer/spec/spec_helper.rb +100 -0
  2102. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/rake_task.rb +188 -0
  2103. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/reporter.rb +265 -0
  2104. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/ruby_project.rb +53 -0
  2105. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/runner.rb +204 -0
  2106. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/sandbox.rb +37 -0
  2107. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/set.rb +54 -0
  2108. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/shared_context.rb +55 -0
  2109. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/shared_example_group.rb +269 -0
  2110. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/shell_escape.rb +49 -0
  2111. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
  2112. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/version.rb +9 -0
  2113. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/warnings.rb +40 -0
  2114. data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/world.rb +275 -0
  2115. data/vendor/bundle/gems/rspec-expectations-3.9.0/Changelog.md +1170 -0
  2116. data/vendor/bundle/gems/rspec-expectations-3.9.0/LICENSE.md +25 -0
  2117. data/vendor/bundle/gems/rspec-expectations-3.9.0/README.md +320 -0
  2118. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/expectations.rb +82 -0
  2119. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/expectations/block_snippet_extractor.rb +253 -0
  2120. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/expectations/configuration.rb +215 -0
  2121. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/expectations/expectation_target.rb +127 -0
  2122. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/expectations/fail_with.rb +39 -0
  2123. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/expectations/failure_aggregator.rb +194 -0
  2124. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/expectations/handler.rb +170 -0
  2125. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/expectations/minitest_integration.rb +58 -0
  2126. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/expectations/syntax.rb +132 -0
  2127. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/expectations/version.rb +8 -0
  2128. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers.rb +1038 -0
  2129. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/aliased_matcher.rb +116 -0
  2130. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in.rb +52 -0
  2131. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/all.rb +86 -0
  2132. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/base_matcher.rb +193 -0
  2133. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/be.rb +288 -0
  2134. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/be_between.rb +77 -0
  2135. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/be_instance_of.rb +26 -0
  2136. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/be_kind_of.rb +20 -0
  2137. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/be_within.rb +72 -0
  2138. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/change.rb +428 -0
  2139. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/compound.rb +276 -0
  2140. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/contain_exactly.rb +302 -0
  2141. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/cover.rb +24 -0
  2142. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/eq.rb +40 -0
  2143. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/eql.rb +34 -0
  2144. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/equal.rb +81 -0
  2145. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/exist.rb +90 -0
  2146. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/has.rb +103 -0
  2147. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/have_attributes.rb +114 -0
  2148. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/include.rb +149 -0
  2149. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/match.rb +106 -0
  2150. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/operators.rb +128 -0
  2151. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/output.rb +200 -0
  2152. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/raise_error.rb +230 -0
  2153. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/respond_to.rb +174 -0
  2154. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/satisfy.rb +60 -0
  2155. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/start_or_end_with.rb +94 -0
  2156. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/throw_symbol.rb +132 -0
  2157. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/yield.rb +432 -0
  2158. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/composable.rb +171 -0
  2159. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/dsl.rb +534 -0
  2160. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/english_phrasing.rb +58 -0
  2161. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +82 -0
  2162. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/fail_matchers.rb +42 -0
  2163. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/generated_descriptions.rb +41 -0
  2164. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/matcher_delegator.rb +35 -0
  2165. data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/matcher_protocol.rb +99 -0
  2166. data/vendor/bundle/gems/rspec-mocks-3.9.0/Changelog.md +1125 -0
  2167. data/vendor/bundle/gems/rspec-mocks-3.9.0/LICENSE.md +25 -0
  2168. data/vendor/bundle/gems/rspec-mocks-3.9.0/README.md +463 -0
  2169. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks.rb +130 -0
  2170. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/any_instance.rb +11 -0
  2171. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/any_instance/chain.rb +111 -0
  2172. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
  2173. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/any_instance/expect_chain_chain.rb +31 -0
  2174. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/any_instance/expectation_chain.rb +50 -0
  2175. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
  2176. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/any_instance/proxy.rb +116 -0
  2177. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/any_instance/recorder.rb +289 -0
  2178. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/any_instance/stub_chain.rb +51 -0
  2179. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/any_instance/stub_chain_chain.rb +23 -0
  2180. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/argument_list_matcher.rb +100 -0
  2181. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/argument_matchers.rb +322 -0
  2182. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/configuration.rb +212 -0
  2183. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/error_generator.rb +369 -0
  2184. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/example_methods.rb +434 -0
  2185. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/instance_method_stasher.rb +146 -0
  2186. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/marshal_extension.rb +41 -0
  2187. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
  2188. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/matchers/have_received.rb +134 -0
  2189. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/matchers/receive.rb +132 -0
  2190. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/matchers/receive_message_chain.rb +82 -0
  2191. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/matchers/receive_messages.rb +77 -0
  2192. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/message_chain.rb +87 -0
  2193. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/message_expectation.rb +751 -0
  2194. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/method_double.rb +287 -0
  2195. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/method_reference.rb +202 -0
  2196. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/minitest_integration.rb +68 -0
  2197. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/mutate_const.rb +339 -0
  2198. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/object_reference.rb +149 -0
  2199. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/order_group.rb +81 -0
  2200. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/proxy.rb +503 -0
  2201. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/space.rb +238 -0
  2202. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/standalone.rb +3 -0
  2203. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/syntax.rb +325 -0
  2204. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/targets.rb +124 -0
  2205. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/test_double.rb +171 -0
  2206. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/verifying_double.rb +129 -0
  2207. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/verifying_message_expectation.rb +54 -0
  2208. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/verifying_proxy.rb +220 -0
  2209. data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/version.rb +9 -0
  2210. data/vendor/bundle/gems/rspec-support-3.9.0/Changelog.md +275 -0
  2211. data/vendor/bundle/gems/rspec-support-3.9.0/LICENSE.md +23 -0
  2212. data/vendor/bundle/gems/rspec-support-3.9.0/README.md +40 -0
  2213. data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support.rb +149 -0
  2214. data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/caller_filter.rb +83 -0
  2215. data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/comparable_version.rb +46 -0
  2216. data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/differ.rb +215 -0
  2217. data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/directory_maker.rb +63 -0
  2218. data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/encoded_string.rb +165 -0
  2219. data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/fuzzy_matcher.rb +48 -0
  2220. data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/hunk_generator.rb +47 -0
  2221. data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/matcher_definition.rb +42 -0
  2222. data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/method_signature_verifier.rb +438 -0
  2223. data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/mutex.rb +73 -0
  2224. data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/object_formatter.rb +275 -0
  2225. data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/recursive_const_methods.rb +76 -0
  2226. data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/reentrant_mutex.rb +53 -0
  2227. data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/ruby_features.rb +176 -0
  2228. data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/source.rb +75 -0
  2229. data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/source/location.rb +21 -0
  2230. data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/source/node.rb +110 -0
  2231. data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/source/token.rb +87 -0
  2232. data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/spec.rb +81 -0
  2233. data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/spec/deprecation_helpers.rb +64 -0
  2234. data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/spec/formatting_support.rb +9 -0
  2235. data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/spec/in_sub_process.rb +69 -0
  2236. data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/spec/library_wide_checks.rb +150 -0
  2237. data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/spec/shell_out.rb +89 -0
  2238. data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/spec/stderr_splitter.rb +63 -0
  2239. data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/spec/string_matcher.rb +46 -0
  2240. data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/spec/with_isolated_directory.rb +13 -0
  2241. data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/spec/with_isolated_stderr.rb +13 -0
  2242. data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/version.rb +7 -0
  2243. data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/warnings.rb +39 -0
  2244. data/vendor/bundle/gems/rubyzip-2.0.0/README.md +354 -0
  2245. data/vendor/bundle/gems/rubyzip-2.0.0/Rakefile +18 -0
  2246. data/vendor/bundle/gems/rubyzip-2.0.0/TODO +15 -0
  2247. data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip.rb +71 -0
  2248. data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/central_directory.rb +208 -0
  2249. data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/compressor.rb +9 -0
  2250. data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/constants.rb +63 -0
  2251. data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/crypto/encryption.rb +11 -0
  2252. data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/crypto/null_encryption.rb +43 -0
  2253. data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/crypto/traditional_encryption.rb +99 -0
  2254. data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/decompressor.rb +13 -0
  2255. data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/deflater.rb +34 -0
  2256. data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/dos_time.rb +48 -0
  2257. data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/entry.rb +700 -0
  2258. data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/entry_set.rb +86 -0
  2259. data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/errors.rb +18 -0
  2260. data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/extra_field.rb +101 -0
  2261. data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/extra_field/generic.rb +43 -0
  2262. data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/extra_field/ntfs.rb +90 -0
  2263. data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/extra_field/old_unix.rb +44 -0
  2264. data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/extra_field/universal_time.rb +47 -0
  2265. data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/extra_field/unix.rb +37 -0
  2266. data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/extra_field/zip64.rb +68 -0
  2267. data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/extra_field/zip64_placeholder.rb +15 -0
  2268. data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/file.rb +443 -0
  2269. data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/filesystem.rb +627 -0
  2270. data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/inflater.rb +66 -0
  2271. data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/input_stream.rb +173 -0
  2272. data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/ioextras.rb +36 -0
  2273. data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/ioextras/abstract_input_stream.rb +111 -0
  2274. data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/ioextras/abstract_output_stream.rb +43 -0
  2275. data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/null_compressor.rb +15 -0
  2276. data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/null_decompressor.rb +27 -0
  2277. data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/null_input_stream.rb +10 -0
  2278. data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/output_stream.rb +189 -0
  2279. data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/pass_thru_compressor.rb +23 -0
  2280. data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/pass_thru_decompressor.rb +40 -0
  2281. data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/streamable_directory.rb +15 -0
  2282. data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/streamable_stream.rb +56 -0
  2283. data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/version.rb +3 -0
  2284. data/vendor/bundle/gems/rubyzip-2.0.0/samples/example.rb +81 -0
  2285. data/vendor/bundle/gems/rubyzip-2.0.0/samples/example_filesystem.rb +31 -0
  2286. data/vendor/bundle/gems/rubyzip-2.0.0/samples/example_recursive.rb +54 -0
  2287. data/vendor/bundle/gems/rubyzip-2.0.0/samples/gtk_ruby_zip.rb +84 -0
  2288. data/vendor/bundle/gems/rubyzip-2.0.0/samples/qtzip.rb +92 -0
  2289. data/vendor/bundle/gems/rubyzip-2.0.0/samples/write_simple.rb +12 -0
  2290. data/vendor/bundle/gems/rubyzip-2.0.0/samples/zipfind.rb +66 -0
  2291. data/vendor/bundle/gems/sawyer-0.8.2/Gemfile +8 -0
  2292. data/vendor/bundle/gems/sawyer-0.8.2/LICENSE.md +20 -0
  2293. data/vendor/bundle/gems/sawyer-0.8.2/README.md +62 -0
  2294. data/vendor/bundle/gems/sawyer-0.8.2/Rakefile +12 -0
  2295. data/vendor/bundle/gems/sawyer-0.8.2/lib/sawyer.rb +17 -0
  2296. data/vendor/bundle/gems/sawyer-0.8.2/lib/sawyer/agent.rb +158 -0
  2297. data/vendor/bundle/gems/sawyer-0.8.2/lib/sawyer/link_parsers/hal.rb +15 -0
  2298. data/vendor/bundle/gems/sawyer-0.8.2/lib/sawyer/link_parsers/simple.rb +29 -0
  2299. data/vendor/bundle/gems/sawyer-0.8.2/lib/sawyer/relation.rb +272 -0
  2300. data/vendor/bundle/gems/sawyer-0.8.2/lib/sawyer/resource.rb +155 -0
  2301. data/vendor/bundle/gems/sawyer-0.8.2/lib/sawyer/response.rb +72 -0
  2302. data/vendor/bundle/gems/sawyer-0.8.2/lib/sawyer/serializer.rb +129 -0
  2303. data/vendor/bundle/gems/sawyer-0.8.2/sawyer.gemspec +31 -0
  2304. data/vendor/bundle/gems/sawyer-0.8.2/script/bootstrap +5 -0
  2305. data/vendor/bundle/gems/sawyer-0.8.2/script/console +8 -0
  2306. data/vendor/bundle/gems/sawyer-0.8.2/script/package +8 -0
  2307. data/vendor/bundle/gems/sawyer-0.8.2/script/release +16 -0
  2308. data/vendor/bundle/gems/sawyer-0.8.2/script/test +6 -0
  2309. data/vendor/bundle/gems/selenium-webdriver-3.142.6/CHANGES +1641 -0
  2310. data/vendor/bundle/gems/selenium-webdriver-3.142.6/Gemfile +4 -0
  2311. data/vendor/bundle/gems/selenium-webdriver-3.142.6/LICENSE +202 -0
  2312. data/vendor/bundle/gems/selenium-webdriver-3.142.6/README.md +35 -0
  2313. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium-webdriver.rb +20 -0
  2314. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/server.rb +272 -0
  2315. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver.rb +101 -0
  2316. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/atoms.rb +37 -0
  2317. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/atoms/getAttribute.js +7 -0
  2318. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/atoms/isDisplayed.js +102 -0
  2319. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/chrome.rb +54 -0
  2320. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/chrome/bridge.rb +68 -0
  2321. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/chrome/driver.rb +114 -0
  2322. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/chrome/options.rb +186 -0
  2323. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/chrome/profile.rb +110 -0
  2324. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/chrome/service.rb +59 -0
  2325. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common.rb +76 -0
  2326. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/action_builder.rb +365 -0
  2327. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/alert.rb +47 -0
  2328. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/bridge_helper.rb +82 -0
  2329. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/driver.rb +308 -0
  2330. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/driver_extensions/downloads_files.rb +45 -0
  2331. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/driver_extensions/has_addons.rb +50 -0
  2332. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/driver_extensions/has_debugger.rb +42 -0
  2333. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/driver_extensions/has_location.rb +40 -0
  2334. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/driver_extensions/has_network_conditions.rb +51 -0
  2335. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/driver_extensions/has_network_connection.rb +58 -0
  2336. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/driver_extensions/has_permissions.rb +51 -0
  2337. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/driver_extensions/has_remote_status.rb +30 -0
  2338. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/driver_extensions/has_session_id.rb +39 -0
  2339. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/driver_extensions/has_touch_screen.rb +36 -0
  2340. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/driver_extensions/has_web_storage.rb +38 -0
  2341. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/driver_extensions/rotatable.rb +61 -0
  2342. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/driver_extensions/takes_screenshot.rb +64 -0
  2343. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/driver_extensions/uploads_files.rb +60 -0
  2344. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/element.rb +335 -0
  2345. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/error.rb +383 -0
  2346. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/file_reaper.rb +65 -0
  2347. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/html5/local_storage.rb +59 -0
  2348. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/html5/session_storage.rb +61 -0
  2349. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/html5/shared_web_storage.rb +53 -0
  2350. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/interactions/input_device.rb +54 -0
  2351. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/interactions/interaction.rb +53 -0
  2352. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/interactions/interactions.rb +43 -0
  2353. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/interactions/key_actions.rb +145 -0
  2354. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/interactions/key_input.rb +66 -0
  2355. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/interactions/none_input.rb +36 -0
  2356. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/interactions/pointer_actions.rb +363 -0
  2357. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/interactions/pointer_input.rb +139 -0
  2358. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/keyboard.rb +70 -0
  2359. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/keys.rb +146 -0
  2360. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/log_entry.rb +48 -0
  2361. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/logger.rb +115 -0
  2362. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/logs.rb +40 -0
  2363. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/manager.rb +177 -0
  2364. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/mouse.rb +89 -0
  2365. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/navigation.rb +60 -0
  2366. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/platform.rb +222 -0
  2367. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/port_prober.rb +49 -0
  2368. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/profile_helper.rb +83 -0
  2369. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/proxy.rb +162 -0
  2370. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/search_context.rb +108 -0
  2371. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/service.rb +219 -0
  2372. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/socket_lock.rb +82 -0
  2373. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/socket_poller.rb +126 -0
  2374. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/target_locator.rb +111 -0
  2375. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/timeouts.rb +55 -0
  2376. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/touch_action_builder.rb +78 -0
  2377. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/touch_screen.rb +123 -0
  2378. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/w3c_action_builder.rb +212 -0
  2379. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/w3c_manager.rb +45 -0
  2380. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/wait.rb +83 -0
  2381. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/window.rb +163 -0
  2382. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/zipper.rb +97 -0
  2383. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/edge.rb +44 -0
  2384. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/edge/bridge.rb +76 -0
  2385. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/edge/driver.rb +66 -0
  2386. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/edge/options.rb +80 -0
  2387. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/edge/service.rb +52 -0
  2388. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/firefox.rb +66 -0
  2389. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/firefox/binary.rb +187 -0
  2390. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/firefox/driver.rb +50 -0
  2391. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/firefox/extension.rb +95 -0
  2392. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/firefox/extension/prefs.json +69 -0
  2393. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/firefox/extension/webdriver.xpi +0 -0
  2394. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/firefox/launcher.rb +111 -0
  2395. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/firefox/legacy/driver.rb +83 -0
  2396. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/firefox/marionette/bridge.rb +49 -0
  2397. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/firefox/marionette/driver.rb +90 -0
  2398. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/firefox/native/linux/amd64/x_ignore_nofocus.so +0 -0
  2399. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/firefox/native/linux/x86/x_ignore_nofocus.so +0 -0
  2400. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/firefox/options.rb +162 -0
  2401. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/firefox/profile.rb +281 -0
  2402. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/firefox/profiles_ini.rb +74 -0
  2403. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/firefox/service.rb +52 -0
  2404. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/firefox/util.rb +46 -0
  2405. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/ie.rb +41 -0
  2406. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/ie/driver.rb +85 -0
  2407. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/ie/options.rb +138 -0
  2408. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/ie/service.rb +54 -0
  2409. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote.rb +35 -0
  2410. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/bridge.rb +195 -0
  2411. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/capabilities.rb +285 -0
  2412. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/driver.rb +51 -0
  2413. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/http/common.rb +105 -0
  2414. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/http/curb.rb +97 -0
  2415. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/http/default.rb +182 -0
  2416. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/http/persistent.rb +60 -0
  2417. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/oss/bridge.rb +594 -0
  2418. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/oss/commands.rb +223 -0
  2419. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/response.rb +136 -0
  2420. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/server_error.rb +34 -0
  2421. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/w3c/bridge.rb +605 -0
  2422. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/w3c/capabilities.rb +310 -0
  2423. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/w3c/commands.rb +157 -0
  2424. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/safari.rb +65 -0
  2425. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/safari/bridge.rb +51 -0
  2426. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/safari/driver.rb +68 -0
  2427. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/safari/options.rb +60 -0
  2428. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/safari/service.rb +38 -0
  2429. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/support.rb +25 -0
  2430. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/support/abstract_event_listener.rb +87 -0
  2431. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/support/block_event_listener.rb +34 -0
  2432. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/support/color.rb +146 -0
  2433. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/support/escaper.rb +43 -0
  2434. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/support/event_firing_bridge.rb +129 -0
  2435. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/support/select.rb +270 -0
  2436. data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/version.rb +24 -0
  2437. data/vendor/bundle/gems/selenium-webdriver-3.142.6/selenium-webdriver.gemspec +47 -0
  2438. data/vendor/bundle/gems/sequel-5.26.0/CHANGELOG +2571 -0
  2439. data/vendor/bundle/gems/sequel-5.26.0/MIT-LICENSE +19 -0
  2440. data/vendor/bundle/gems/sequel-5.26.0/README.rdoc +902 -0
  2441. data/vendor/bundle/gems/sequel-5.26.0/Rakefile +151 -0
  2442. data/vendor/bundle/gems/sequel-5.26.0/bin/sequel +267 -0
  2443. data/vendor/bundle/gems/sequel-5.26.0/doc/advanced_associations.rdoc +882 -0
  2444. data/vendor/bundle/gems/sequel-5.26.0/doc/association_basics.rdoc +1759 -0
  2445. data/vendor/bundle/gems/sequel-5.26.0/doc/bin_sequel.rdoc +146 -0
  2446. data/vendor/bundle/gems/sequel-5.26.0/doc/cheat_sheet.rdoc +246 -0
  2447. data/vendor/bundle/gems/sequel-5.26.0/doc/code_order.rdoc +104 -0
  2448. data/vendor/bundle/gems/sequel-5.26.0/doc/core_extensions.rdoc +405 -0
  2449. data/vendor/bundle/gems/sequel-5.26.0/doc/dataset_basics.rdoc +96 -0
  2450. data/vendor/bundle/gems/sequel-5.26.0/doc/dataset_filtering.rdoc +222 -0
  2451. data/vendor/bundle/gems/sequel-5.26.0/doc/extensions.rdoc +77 -0
  2452. data/vendor/bundle/gems/sequel-5.26.0/doc/mass_assignment.rdoc +98 -0
  2453. data/vendor/bundle/gems/sequel-5.26.0/doc/migration.rdoc +639 -0
  2454. data/vendor/bundle/gems/sequel-5.26.0/doc/model_dataset_method_design.rdoc +129 -0
  2455. data/vendor/bundle/gems/sequel-5.26.0/doc/model_hooks.rdoc +254 -0
  2456. data/vendor/bundle/gems/sequel-5.26.0/doc/model_plugins.rdoc +270 -0
  2457. data/vendor/bundle/gems/sequel-5.26.0/doc/mssql_stored_procedures.rdoc +43 -0
  2458. data/vendor/bundle/gems/sequel-5.26.0/doc/object_model.rdoc +563 -0
  2459. data/vendor/bundle/gems/sequel-5.26.0/doc/opening_databases.rdoc +414 -0
  2460. data/vendor/bundle/gems/sequel-5.26.0/doc/postgresql.rdoc +532 -0
  2461. data/vendor/bundle/gems/sequel-5.26.0/doc/prepared_statements.rdoc +144 -0
  2462. data/vendor/bundle/gems/sequel-5.26.0/doc/querying.rdoc +1063 -0
  2463. data/vendor/bundle/gems/sequel-5.26.0/doc/reflection.rdoc +120 -0
  2464. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.0.0.txt +262 -0
  2465. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.1.0.txt +85 -0
  2466. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.10.0.txt +226 -0
  2467. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.11.0.txt +147 -0
  2468. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.12.0.txt +105 -0
  2469. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.13.0.txt +169 -0
  2470. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.14.0.txt +68 -0
  2471. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.15.0.txt +56 -0
  2472. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.16.0.txt +36 -0
  2473. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.17.0.txt +38 -0
  2474. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.18.0.txt +36 -0
  2475. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.19.0.txt +45 -0
  2476. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.2.0.txt +129 -0
  2477. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.20.0.txt +79 -0
  2478. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.21.0.txt +94 -0
  2479. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.22.0.txt +72 -0
  2480. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.23.0.txt +65 -0
  2481. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.24.0.txt +99 -0
  2482. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.25.0.txt +181 -0
  2483. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.26.0.txt +44 -0
  2484. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.27.0.txt +78 -0
  2485. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.28.0.txt +57 -0
  2486. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.29.0.txt +41 -0
  2487. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.3.0.txt +40 -0
  2488. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.30.0.txt +37 -0
  2489. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.31.0.txt +57 -0
  2490. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.32.0.txt +132 -0
  2491. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.33.0.txt +88 -0
  2492. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.34.0.txt +86 -0
  2493. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.35.0.txt +130 -0
  2494. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.36.0.txt +116 -0
  2495. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.37.0.txt +50 -0
  2496. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.38.0.txt +67 -0
  2497. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.39.0.txt +127 -0
  2498. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.4.0.txt +92 -0
  2499. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.40.0.txt +179 -0
  2500. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.41.0.txt +77 -0
  2501. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.42.0.txt +221 -0
  2502. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.43.0.txt +87 -0
  2503. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.44.0.txt +125 -0
  2504. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.45.0.txt +370 -0
  2505. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.46.0.txt +404 -0
  2506. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.47.0.txt +56 -0
  2507. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.48.0.txt +293 -0
  2508. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.49.0.txt +222 -0
  2509. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.5.0.txt +34 -0
  2510. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.6.0.txt +30 -0
  2511. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.7.0.txt +103 -0
  2512. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.8.0.txt +175 -0
  2513. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.9.0.txt +190 -0
  2514. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.0.0.txt +159 -0
  2515. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.1.0.txt +31 -0
  2516. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.10.0.txt +84 -0
  2517. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.11.0.txt +83 -0
  2518. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.12.0.txt +141 -0
  2519. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.13.0.txt +27 -0
  2520. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.14.0.txt +63 -0
  2521. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.15.0.txt +39 -0
  2522. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.16.0.txt +110 -0
  2523. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.17.0.txt +31 -0
  2524. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.18.0.txt +69 -0
  2525. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.19.0.txt +28 -0
  2526. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.2.0.txt +33 -0
  2527. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.20.0.txt +89 -0
  2528. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.21.0.txt +87 -0
  2529. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.22.0.txt +48 -0
  2530. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.23.0.txt +56 -0
  2531. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.24.0.txt +56 -0
  2532. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.25.0.txt +32 -0
  2533. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.26.0.txt +35 -0
  2534. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.3.0.txt +121 -0
  2535. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.4.0.txt +80 -0
  2536. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.5.0.txt +61 -0
  2537. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.6.0.txt +31 -0
  2538. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.7.0.txt +108 -0
  2539. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.8.0.txt +170 -0
  2540. data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.9.0.txt +99 -0
  2541. data/vendor/bundle/gems/sequel-5.26.0/doc/schema_modification.rdoc +679 -0
  2542. data/vendor/bundle/gems/sequel-5.26.0/doc/security.rdoc +443 -0
  2543. data/vendor/bundle/gems/sequel-5.26.0/doc/sharding.rdoc +284 -0
  2544. data/vendor/bundle/gems/sequel-5.26.0/doc/sql.rdoc +636 -0
  2545. data/vendor/bundle/gems/sequel-5.26.0/doc/testing.rdoc +172 -0
  2546. data/vendor/bundle/gems/sequel-5.26.0/doc/thread_safety.rdoc +15 -0
  2547. data/vendor/bundle/gems/sequel-5.26.0/doc/transactions.rdoc +258 -0
  2548. data/vendor/bundle/gems/sequel-5.26.0/doc/validations.rdoc +558 -0
  2549. data/vendor/bundle/gems/sequel-5.26.0/doc/virtual_rows.rdoc +265 -0
  2550. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel.rb +3 -0
  2551. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/ado.rb +283 -0
  2552. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/ado/access.rb +335 -0
  2553. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/ado/mssql.rb +62 -0
  2554. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/amalgalite.rb +171 -0
  2555. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/ibmdb.rb +422 -0
  2556. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/jdbc.rb +822 -0
  2557. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/jdbc/db2.rb +83 -0
  2558. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/jdbc/derby.rb +310 -0
  2559. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/jdbc/h2.rb +237 -0
  2560. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/jdbc/hsqldb.rb +220 -0
  2561. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/jdbc/jtds.rb +39 -0
  2562. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/jdbc/mssql.rb +30 -0
  2563. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/jdbc/mysql.rb +89 -0
  2564. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/jdbc/oracle.rb +146 -0
  2565. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/jdbc/postgresql.rb +230 -0
  2566. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/jdbc/sqlanywhere.rb +72 -0
  2567. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/jdbc/sqlite.rb +133 -0
  2568. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/jdbc/sqlserver.rb +88 -0
  2569. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/jdbc/transactions.rb +95 -0
  2570. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/mock.rb +381 -0
  2571. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/mysql.rb +355 -0
  2572. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/mysql2.rb +295 -0
  2573. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/odbc.rb +148 -0
  2574. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/odbc/db2.rb +11 -0
  2575. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/odbc/mssql.rb +57 -0
  2576. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/odbc/oracle.rb +11 -0
  2577. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/oracle.rb +409 -0
  2578. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/postgres.rb +814 -0
  2579. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/postgresql.rb +3 -0
  2580. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/shared/access.rb +290 -0
  2581. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/shared/db2.rb +462 -0
  2582. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/shared/mssql.rb +1086 -0
  2583. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/shared/mysql.rb +1061 -0
  2584. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/shared/oracle.rb +646 -0
  2585. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/shared/postgres.rb +1991 -0
  2586. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/shared/sqlanywhere.rb +454 -0
  2587. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/shared/sqlite.rb +911 -0
  2588. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/sqlanywhere.rb +192 -0
  2589. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/sqlite.rb +376 -0
  2590. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/tinytds.rb +258 -0
  2591. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/utils/emulate_offset_with_reverse_and_count.rb +74 -0
  2592. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/utils/emulate_offset_with_row_number.rb +93 -0
  2593. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/utils/mysql_mysql2.rb +86 -0
  2594. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/utils/mysql_prepared_statements.rb +56 -0
  2595. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/utils/replace.rb +35 -0
  2596. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/utils/split_alter_table.rb +46 -0
  2597. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/utils/stored_procedures.rb +61 -0
  2598. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/utils/unmodified_identifiers.rb +28 -0
  2599. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/ast_transformer.rb +124 -0
  2600. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/connection_pool.rb +143 -0
  2601. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/connection_pool/sharded_single.rb +112 -0
  2602. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/connection_pool/sharded_threaded.rb +371 -0
  2603. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/connection_pool/single.rb +59 -0
  2604. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/connection_pool/threaded.rb +285 -0
  2605. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/core.rb +434 -0
  2606. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/database.rb +37 -0
  2607. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/database/connecting.rb +332 -0
  2608. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/database/dataset.rb +79 -0
  2609. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/database/dataset_defaults.rb +93 -0
  2610. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/database/features.rb +150 -0
  2611. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/database/logging.rb +91 -0
  2612. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/database/misc.rb +551 -0
  2613. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/database/query.rb +363 -0
  2614. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/database/schema_generator.rb +652 -0
  2615. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/database/schema_methods.rb +1056 -0
  2616. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/database/transactions.rb +547 -0
  2617. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/dataset.rb +56 -0
  2618. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/dataset/actions.rb +1240 -0
  2619. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/dataset/dataset_module.rb +46 -0
  2620. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/dataset/features.rb +249 -0
  2621. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/dataset/graph.rb +296 -0
  2622. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/dataset/misc.rb +371 -0
  2623. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/dataset/placeholder_literalizer.rb +223 -0
  2624. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/dataset/prepared_statements.rb +427 -0
  2625. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/dataset/query.rb +1369 -0
  2626. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/dataset/sql.rb +1672 -0
  2627. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/deprecated.rb +68 -0
  2628. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/exceptions.rb +123 -0
  2629. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/_model_constraint_validations.rb +16 -0
  2630. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/_model_pg_row.rb +43 -0
  2631. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/_pretty_table.rb +86 -0
  2632. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/arbitrary_servers.rb +114 -0
  2633. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/auto_literal_strings.rb +74 -0
  2634. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/blank.rb +49 -0
  2635. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/caller_logging.rb +79 -0
  2636. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/columns_introspection.rb +89 -0
  2637. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/connection_expiration.rb +99 -0
  2638. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/connection_validator.rb +123 -0
  2639. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/constant_sql_override.rb +65 -0
  2640. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/constraint_validations.rb +510 -0
  2641. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/core_extensions.rb +222 -0
  2642. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/core_refinements.rb +217 -0
  2643. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/current_datetime_timestamp.rb +59 -0
  2644. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/dataset_source_alias.rb +95 -0
  2645. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/date_arithmetic.rb +214 -0
  2646. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/datetime_parse_to_time.rb +37 -0
  2647. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/duplicate_columns_handler.rb +92 -0
  2648. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/empty_array_consider_nulls.rb +39 -0
  2649. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/error_sql.rb +76 -0
  2650. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/escaped_like.rb +100 -0
  2651. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/eval_inspect.rb +181 -0
  2652. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/freeze_datasets.rb +3 -0
  2653. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/from_block.rb +3 -0
  2654. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/graph_each.rb +88 -0
  2655. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/identifier_mangling.rb +180 -0
  2656. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/implicit_subquery.rb +48 -0
  2657. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/index_caching.rb +107 -0
  2658. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/inflector.rb +250 -0
  2659. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/integer64.rb +30 -0
  2660. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/looser_typecasting.rb +54 -0
  2661. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/migration.rb +786 -0
  2662. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/mssql_emulate_lateral_with_apply.rb +84 -0
  2663. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/named_timezones.rb +164 -0
  2664. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/no_auto_literal_strings.rb +4 -0
  2665. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/null_dataset.rb +109 -0
  2666. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pagination.rb +140 -0
  2667. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pg_array.rb +526 -0
  2668. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pg_array_ops.rb +328 -0
  2669. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pg_enum.rb +192 -0
  2670. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pg_extended_date_support.rb +250 -0
  2671. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pg_hstore.rb +342 -0
  2672. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pg_hstore_ops.rb +361 -0
  2673. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pg_inet.rb +127 -0
  2674. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pg_inet_ops.rb +204 -0
  2675. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pg_interval.rb +196 -0
  2676. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pg_json.rb +646 -0
  2677. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pg_json_ops.rb +637 -0
  2678. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pg_loose_count.rb +37 -0
  2679. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pg_range.rb +575 -0
  2680. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pg_range_ops.rb +165 -0
  2681. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pg_row.rb +582 -0
  2682. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pg_row_ops.rb +193 -0
  2683. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pg_static_cache_updater.rb +144 -0
  2684. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pg_timestamptz.rb +26 -0
  2685. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pretty_table.rb +40 -0
  2686. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/query.rb +82 -0
  2687. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/round_timestamps.rb +49 -0
  2688. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/s.rb +57 -0
  2689. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/schema_caching.rb +88 -0
  2690. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/schema_dumper.rb +498 -0
  2691. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/select_remove.rb +52 -0
  2692. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/sequel_4_dataset_methods.rb +85 -0
  2693. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/server_block.rb +182 -0
  2694. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/server_logging.rb +61 -0
  2695. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/split_array_nil.rb +70 -0
  2696. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/sql_comments.rb +96 -0
  2697. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/sql_expr.rb +23 -0
  2698. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/string_agg.rb +181 -0
  2699. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/string_date_time.rb +52 -0
  2700. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/symbol_aref.rb +53 -0
  2701. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/symbol_aref_refinement.rb +41 -0
  2702. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/symbol_as.rb +23 -0
  2703. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/symbol_as_refinement.rb +35 -0
  2704. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/synchronize_sql.rb +45 -0
  2705. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/thread_local_timezones.rb +59 -0
  2706. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/to_dot.rb +158 -0
  2707. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/virtual_row_method_block.rb +44 -0
  2708. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/model.rb +83 -0
  2709. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/model/associations.rb +3761 -0
  2710. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/model/base.rb +2232 -0
  2711. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/model/dataset_module.rb +33 -0
  2712. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/model/default_inflections.rb +47 -0
  2713. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/model/errors.rb +58 -0
  2714. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/model/exceptions.rb +55 -0
  2715. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/model/inflections.rb +151 -0
  2716. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/model/plugins.rb +159 -0
  2717. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/accessed_columns.rb +63 -0
  2718. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/active_model.rb +124 -0
  2719. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/after_initialize.rb +39 -0
  2720. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/association_dependencies.rb +106 -0
  2721. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/association_multi_add_remove.rb +83 -0
  2722. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/association_pks.rb +274 -0
  2723. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/association_proxies.rb +126 -0
  2724. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/auto_validations.rb +230 -0
  2725. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/before_after_save.rb +8 -0
  2726. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/blacklist_security.rb +105 -0
  2727. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/boolean_readers.rb +59 -0
  2728. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/boolean_subsets.rb +61 -0
  2729. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/caching.rb +164 -0
  2730. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/class_table_inheritance.rb +444 -0
  2731. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/column_conflicts.rb +108 -0
  2732. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/column_select.rb +61 -0
  2733. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/columns_updated.rb +42 -0
  2734. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/composition.rb +199 -0
  2735. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/constraint_validations.rb +250 -0
  2736. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/csv_serializer.rb +194 -0
  2737. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/dataset_associations.rb +149 -0
  2738. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/def_dataset_method.rb +90 -0
  2739. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/defaults_setter.rb +130 -0
  2740. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/delay_add_association.rb +53 -0
  2741. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/dirty.rb +232 -0
  2742. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/eager_each.rb +88 -0
  2743. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/eager_graph_eager.rb +139 -0
  2744. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/error_splitter.rb +61 -0
  2745. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/finder.rb +246 -0
  2746. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/force_encoding.rb +78 -0
  2747. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/hook_class_methods.rb +110 -0
  2748. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/input_transformer.rb +89 -0
  2749. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/insert_conflict.rb +72 -0
  2750. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/insert_returning_select.rb +72 -0
  2751. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/instance_filters.rb +135 -0
  2752. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/instance_hooks.rb +115 -0
  2753. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/inverted_subsets.rb +59 -0
  2754. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/json_serializer.rb +429 -0
  2755. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/lazy_attributes.rb +123 -0
  2756. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/list.rb +203 -0
  2757. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/many_through_many.rb +338 -0
  2758. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/modification_detection.rb +102 -0
  2759. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/mssql_optimistic_locking.rb +95 -0
  2760. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/nested_attributes.rb +330 -0
  2761. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/optimistic_locking.rb +85 -0
  2762. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/pg_array_associations.rb +563 -0
  2763. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/pg_auto_constraint_validations.rb +348 -0
  2764. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/pg_row.rb +79 -0
  2765. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/prepared_statements.rb +192 -0
  2766. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/prepared_statements_safe.rb +83 -0
  2767. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/rcte_tree.rb +338 -0
  2768. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/serialization.rb +230 -0
  2769. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/serialization_modification_detection.rb +86 -0
  2770. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/sharding.rb +126 -0
  2771. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/single_table_inheritance.rb +256 -0
  2772. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/singular_table_names.rb +33 -0
  2773. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/skip_create_refresh.rb +37 -0
  2774. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/split_values.rb +71 -0
  2775. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/static_cache.rb +264 -0
  2776. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/static_cache_cache.rb +53 -0
  2777. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/string_stripper.rb +59 -0
  2778. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/subclasses.rb +77 -0
  2779. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/subset_conditions.rb +48 -0
  2780. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/table_select.rb +43 -0
  2781. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/tactical_eager_loading.rb +199 -0
  2782. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/throw_failures.rb +110 -0
  2783. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/timestamps.rb +109 -0
  2784. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/touch.rb +153 -0
  2785. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/tree.rb +183 -0
  2786. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/typecast_on_load.rb +90 -0
  2787. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/unlimited_update.rb +27 -0
  2788. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/update_or_create.rb +64 -0
  2789. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/update_primary_key.rb +72 -0
  2790. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/update_refresh.rb +88 -0
  2791. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/uuid.rb +70 -0
  2792. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/validate_associated.rb +75 -0
  2793. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/validation_class_methods.rb +456 -0
  2794. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/validation_contexts.rb +49 -0
  2795. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/validation_helpers.rb +317 -0
  2796. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/whitelist_security.rb +122 -0
  2797. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/xml_serializer.rb +411 -0
  2798. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/sql.rb +2048 -0
  2799. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/timezones.rb +249 -0
  2800. data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/version.rb +25 -0
  2801. data/vendor/bundle/gems/sequel-5.26.0/spec/adapter_spec.rb +4 -0
  2802. data/vendor/bundle/gems/sequel-5.26.0/spec/adapters/db2_spec.rb +170 -0
  2803. data/vendor/bundle/gems/sequel-5.26.0/spec/adapters/mssql_spec.rb +828 -0
  2804. data/vendor/bundle/gems/sequel-5.26.0/spec/adapters/mysql_spec.rb +1060 -0
  2805. data/vendor/bundle/gems/sequel-5.26.0/spec/adapters/oracle_spec.rb +371 -0
  2806. data/vendor/bundle/gems/sequel-5.26.0/spec/adapters/postgres_spec.rb +4478 -0
  2807. data/vendor/bundle/gems/sequel-5.26.0/spec/adapters/spec_helper.rb +44 -0
  2808. data/vendor/bundle/gems/sequel-5.26.0/spec/adapters/sqlanywhere_spec.rb +97 -0
  2809. data/vendor/bundle/gems/sequel-5.26.0/spec/adapters/sqlite_spec.rb +652 -0
  2810. data/vendor/bundle/gems/sequel-5.26.0/spec/bin_spec.rb +278 -0
  2811. data/vendor/bundle/gems/sequel-5.26.0/spec/core/connection_pool_spec.rb +1250 -0
  2812. data/vendor/bundle/gems/sequel-5.26.0/spec/core/database_spec.rb +2915 -0
  2813. data/vendor/bundle/gems/sequel-5.26.0/spec/core/dataset_spec.rb +5547 -0
  2814. data/vendor/bundle/gems/sequel-5.26.0/spec/core/deprecated_spec.rb +70 -0
  2815. data/vendor/bundle/gems/sequel-5.26.0/spec/core/expression_filters_spec.rb +1484 -0
  2816. data/vendor/bundle/gems/sequel-5.26.0/spec/core/mock_adapter_spec.rb +722 -0
  2817. data/vendor/bundle/gems/sequel-5.26.0/spec/core/object_graph_spec.rb +336 -0
  2818. data/vendor/bundle/gems/sequel-5.26.0/spec/core/placeholder_literalizer_spec.rb +166 -0
  2819. data/vendor/bundle/gems/sequel-5.26.0/spec/core/schema_generator_spec.rb +214 -0
  2820. data/vendor/bundle/gems/sequel-5.26.0/spec/core/schema_spec.rb +1844 -0
  2821. data/vendor/bundle/gems/sequel-5.26.0/spec/core/spec_helper.rb +24 -0
  2822. data/vendor/bundle/gems/sequel-5.26.0/spec/core/version_spec.rb +14 -0
  2823. data/vendor/bundle/gems/sequel-5.26.0/spec/core_extensions_spec.rb +763 -0
  2824. data/vendor/bundle/gems/sequel-5.26.0/spec/core_model_spec.rb +2 -0
  2825. data/vendor/bundle/gems/sequel-5.26.0/spec/core_spec.rb +1 -0
  2826. data/vendor/bundle/gems/sequel-5.26.0/spec/deprecation_helper.rb +30 -0
  2827. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/accessed_columns_spec.rb +51 -0
  2828. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/active_model_spec.rb +99 -0
  2829. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/after_initialize_spec.rb +28 -0
  2830. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/arbitrary_servers_spec.rb +109 -0
  2831. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/association_dependencies_spec.rb +125 -0
  2832. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/association_multi_add_remove_spec.rb +1041 -0
  2833. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/association_pks_spec.rb +423 -0
  2834. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/association_proxies_spec.rb +100 -0
  2835. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/auto_literal_strings_spec.rb +205 -0
  2836. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/auto_validations_spec.rb +229 -0
  2837. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/blacklist_security_spec.rb +95 -0
  2838. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/blank_spec.rb +69 -0
  2839. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/boolean_readers_spec.rb +93 -0
  2840. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/boolean_subsets_spec.rb +47 -0
  2841. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/caching_spec.rb +273 -0
  2842. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/caller_logging_spec.rb +52 -0
  2843. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/class_table_inheritance_spec.rb +750 -0
  2844. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/column_conflicts_spec.rb +75 -0
  2845. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/column_select_spec.rb +129 -0
  2846. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/columns_introspection_spec.rb +90 -0
  2847. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/columns_updated_spec.rb +35 -0
  2848. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/composition_spec.rb +248 -0
  2849. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/connection_expiration_spec.rb +151 -0
  2850. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/connection_validator_spec.rb +144 -0
  2851. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/constant_sql_override_spec.rb +24 -0
  2852. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/constraint_validations_plugin_spec.rb +300 -0
  2853. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/constraint_validations_spec.rb +439 -0
  2854. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/core_refinements_spec.rb +528 -0
  2855. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/csv_serializer_spec.rb +183 -0
  2856. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/current_datetime_timestamp_spec.rb +27 -0
  2857. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/dataset_associations_spec.rb +365 -0
  2858. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/dataset_source_alias_spec.rb +51 -0
  2859. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/date_arithmetic_spec.rb +181 -0
  2860. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/datetime_parse_to_time_spec.rb +169 -0
  2861. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/def_dataset_method_spec.rb +100 -0
  2862. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/defaults_setter_spec.rb +150 -0
  2863. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/delay_add_association_spec.rb +73 -0
  2864. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/dirty_spec.rb +222 -0
  2865. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/duplicate_columns_handler_spec.rb +104 -0
  2866. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/eager_each_spec.rb +62 -0
  2867. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/eager_graph_eager_spec.rb +100 -0
  2868. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/empty_array_consider_nulls_spec.rb +24 -0
  2869. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/error_splitter_spec.rb +18 -0
  2870. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/error_sql_spec.rb +20 -0
  2871. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/escaped_like_spec.rb +40 -0
  2872. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/eval_inspect_spec.rb +81 -0
  2873. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/finder_spec.rb +260 -0
  2874. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/force_encoding_spec.rb +126 -0
  2875. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/freeze_datasets_spec.rb +31 -0
  2876. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/graph_each_spec.rb +113 -0
  2877. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/hook_class_methods_spec.rb +402 -0
  2878. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/identifier_mangling_spec.rb +201 -0
  2879. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/implicit_subquery_spec.rb +58 -0
  2880. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/index_caching_spec.rb +66 -0
  2881. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/inflector_spec.rb +183 -0
  2882. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/input_transformer_spec.rb +69 -0
  2883. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/insert_conflict_spec.rb +103 -0
  2884. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/insert_returning_select_spec.rb +72 -0
  2885. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/instance_filters_spec.rb +79 -0
  2886. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/instance_hooks_spec.rb +246 -0
  2887. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/integer64_spec.rb +22 -0
  2888. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/inverted_subsets_spec.rb +33 -0
  2889. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/json_serializer_spec.rb +336 -0
  2890. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/lazy_attributes_spec.rb +183 -0
  2891. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/list_spec.rb +291 -0
  2892. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/looser_typecasting_spec.rb +43 -0
  2893. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/many_through_many_spec.rb +2177 -0
  2894. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/migration_spec.rb +864 -0
  2895. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/modification_detection_spec.rb +93 -0
  2896. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/mssql_optimistic_locking_spec.rb +92 -0
  2897. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/named_timezones_spec.rb +218 -0
  2898. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/nested_attributes_spec.rb +815 -0
  2899. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/null_dataset_spec.rb +85 -0
  2900. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/optimistic_locking_spec.rb +127 -0
  2901. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pagination_spec.rb +116 -0
  2902. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_array_associations_spec.rb +802 -0
  2903. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_array_ops_spec.rb +144 -0
  2904. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_array_spec.rb +398 -0
  2905. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_auto_constraint_validations_spec.rb +209 -0
  2906. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_enum_spec.rb +118 -0
  2907. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_extended_date_support_spec.rb +126 -0
  2908. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_hstore_ops_spec.rb +238 -0
  2909. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_hstore_spec.rb +219 -0
  2910. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_inet_ops_spec.rb +102 -0
  2911. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_inet_spec.rb +72 -0
  2912. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_interval_spec.rb +103 -0
  2913. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_json_ops_spec.rb +356 -0
  2914. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_json_spec.rb +451 -0
  2915. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_loose_count_spec.rb +23 -0
  2916. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_range_ops_spec.rb +60 -0
  2917. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_range_spec.rb +600 -0
  2918. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_row_ops_spec.rb +61 -0
  2919. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_row_plugin_spec.rb +60 -0
  2920. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_row_spec.rb +363 -0
  2921. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_static_cache_updater_spec.rb +93 -0
  2922. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_timestamptz_spec.rb +17 -0
  2923. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/prepared_statements_safe_spec.rb +66 -0
  2924. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/prepared_statements_spec.rb +177 -0
  2925. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pretty_table_spec.rb +123 -0
  2926. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/query_spec.rb +94 -0
  2927. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/rcte_tree_spec.rb +387 -0
  2928. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/round_timestamps_spec.rb +39 -0
  2929. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/s_spec.rb +60 -0
  2930. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/schema_caching_spec.rb +64 -0
  2931. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/schema_dumper_spec.rb +870 -0
  2932. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/select_remove_spec.rb +38 -0
  2933. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/sequel_4_dataset_methods_spec.rb +121 -0
  2934. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/serialization_modification_detection_spec.rb +98 -0
  2935. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/serialization_spec.rb +365 -0
  2936. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/server_block_spec.rb +135 -0
  2937. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/server_logging_spec.rb +45 -0
  2938. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/sharding_spec.rb +197 -0
  2939. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/shared_caching_spec.rb +151 -0
  2940. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/single_table_inheritance_spec.rb +347 -0
  2941. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/singular_table_names_spec.rb +22 -0
  2942. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/skip_create_refresh_spec.rb +18 -0
  2943. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/spec_helper.rb +70 -0
  2944. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/split_array_nil_spec.rb +24 -0
  2945. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/split_values_spec.rb +57 -0
  2946. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/sql_comments_spec.rb +33 -0
  2947. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/sql_expr_spec.rb +59 -0
  2948. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/static_cache_cache_spec.rb +35 -0
  2949. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/static_cache_spec.rb +471 -0
  2950. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/string_agg_spec.rb +90 -0
  2951. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/string_date_time_spec.rb +95 -0
  2952. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/string_stripper_spec.rb +68 -0
  2953. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/subclasses_spec.rb +79 -0
  2954. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/subset_conditions_spec.rb +38 -0
  2955. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/symbol_aref_refinement_spec.rb +28 -0
  2956. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/symbol_as_refinement_spec.rb +21 -0
  2957. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/synchronize_sql_spec.rb +124 -0
  2958. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/table_select_spec.rb +83 -0
  2959. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/tactical_eager_loading_spec.rb +402 -0
  2960. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/thread_local_timezones_spec.rb +67 -0
  2961. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/throw_failures_spec.rb +74 -0
  2962. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/timestamps_spec.rb +209 -0
  2963. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/to_dot_spec.rb +153 -0
  2964. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/touch_spec.rb +226 -0
  2965. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/tree_spec.rb +334 -0
  2966. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/typecast_on_load_spec.rb +86 -0
  2967. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/unlimited_update_spec.rb +21 -0
  2968. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/update_or_create_spec.rb +83 -0
  2969. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/update_primary_key_spec.rb +105 -0
  2970. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/update_refresh_spec.rb +59 -0
  2971. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/uuid_spec.rb +101 -0
  2972. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/validate_associated_spec.rb +52 -0
  2973. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/validation_class_methods_spec.rb +1040 -0
  2974. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/validation_contexts_spec.rb +31 -0
  2975. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/validation_helpers_spec.rb +525 -0
  2976. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/whitelist_security_spec.rb +157 -0
  2977. data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/xml_serializer_spec.rb +213 -0
  2978. data/vendor/bundle/gems/sequel-5.26.0/spec/files/bad_down_migration/001_create_alt_basic.rb +4 -0
  2979. data/vendor/bundle/gems/sequel-5.26.0/spec/files/bad_down_migration/002_create_alt_advanced.rb +4 -0
  2980. data/vendor/bundle/gems/sequel-5.26.0/spec/files/bad_timestamped_migrations/1273253849_create_sessions.rb +9 -0
  2981. data/vendor/bundle/gems/sequel-5.26.0/spec/files/bad_timestamped_migrations/1273253851_create_nodes.rb +9 -0
  2982. data/vendor/bundle/gems/sequel-5.26.0/spec/files/bad_timestamped_migrations/1273253853_3_create_users.rb +3 -0
  2983. data/vendor/bundle/gems/sequel-5.26.0/spec/files/bad_up_migration/001_create_alt_basic.rb +4 -0
  2984. data/vendor/bundle/gems/sequel-5.26.0/spec/files/bad_up_migration/002_create_alt_advanced.rb +3 -0
  2985. data/vendor/bundle/gems/sequel-5.26.0/spec/files/convert_to_timestamp_migrations/001_create_sessions.rb +9 -0
  2986. data/vendor/bundle/gems/sequel-5.26.0/spec/files/convert_to_timestamp_migrations/002_create_nodes.rb +9 -0
  2987. data/vendor/bundle/gems/sequel-5.26.0/spec/files/convert_to_timestamp_migrations/003_3_create_users.rb +4 -0
  2988. data/vendor/bundle/gems/sequel-5.26.0/spec/files/convert_to_timestamp_migrations/1273253850_create_artists.rb +9 -0
  2989. data/vendor/bundle/gems/sequel-5.26.0/spec/files/convert_to_timestamp_migrations/1273253852_create_albums.rb +9 -0
  2990. data/vendor/bundle/gems/sequel-5.26.0/spec/files/double_migration/001_create_sessions.rb +9 -0
  2991. data/vendor/bundle/gems/sequel-5.26.0/spec/files/double_migration/002_create_nodes.rb +19 -0
  2992. data/vendor/bundle/gems/sequel-5.26.0/spec/files/double_migration/003_3_create_users.rb +4 -0
  2993. data/vendor/bundle/gems/sequel-5.26.0/spec/files/duplicate_integer_migrations/001_create_alt_advanced.rb +4 -0
  2994. data/vendor/bundle/gems/sequel-5.26.0/spec/files/duplicate_integer_migrations/001_create_alt_basic.rb +4 -0
  2995. data/vendor/bundle/gems/sequel-5.26.0/spec/files/duplicate_timestamped_migrations/1273253849_create_sessions.rb +9 -0
  2996. data/vendor/bundle/gems/sequel-5.26.0/spec/files/duplicate_timestamped_migrations/1273253853_create_nodes.rb +9 -0
  2997. data/vendor/bundle/gems/sequel-5.26.0/spec/files/duplicate_timestamped_migrations/1273253853_create_users.rb +4 -0
  2998. data/vendor/bundle/gems/sequel-5.26.0/spec/files/empty_migration/001_create_sessions.rb +9 -0
  2999. data/vendor/bundle/gems/sequel-5.26.0/spec/files/empty_migration/002_create_nodes.rb +0 -0
  3000. data/vendor/bundle/gems/sequel-5.26.0/spec/files/empty_migration/003_3_create_users.rb +4 -0
  3001. data/vendor/bundle/gems/sequel-5.26.0/spec/files/integer_migrations/001_create_sessions.rb +9 -0
  3002. data/vendor/bundle/gems/sequel-5.26.0/spec/files/integer_migrations/002_create_nodes.rb +9 -0
  3003. data/vendor/bundle/gems/sequel-5.26.0/spec/files/integer_migrations/003_3_create_users.rb +4 -0
  3004. data/vendor/bundle/gems/sequel-5.26.0/spec/files/interleaved_timestamped_migrations/1273253849_create_sessions.rb +9 -0
  3005. data/vendor/bundle/gems/sequel-5.26.0/spec/files/interleaved_timestamped_migrations/1273253850_create_artists.rb +9 -0
  3006. data/vendor/bundle/gems/sequel-5.26.0/spec/files/interleaved_timestamped_migrations/1273253851_create_nodes.rb +9 -0
  3007. data/vendor/bundle/gems/sequel-5.26.0/spec/files/interleaved_timestamped_migrations/1273253852_create_albums.rb +9 -0
  3008. data/vendor/bundle/gems/sequel-5.26.0/spec/files/interleaved_timestamped_migrations/1273253853_3_create_users.rb +4 -0
  3009. data/vendor/bundle/gems/sequel-5.26.0/spec/files/missing_integer_migrations/001_create_alt_basic.rb +4 -0
  3010. data/vendor/bundle/gems/sequel-5.26.0/spec/files/missing_integer_migrations/003_create_alt_advanced.rb +4 -0
  3011. data/vendor/bundle/gems/sequel-5.26.0/spec/files/missing_timestamped_migrations/1273253849_create_sessions.rb +9 -0
  3012. data/vendor/bundle/gems/sequel-5.26.0/spec/files/missing_timestamped_migrations/1273253853_3_create_users.rb +4 -0
  3013. data/vendor/bundle/gems/sequel-5.26.0/spec/files/reversible_migrations/001_reversible.rb +5 -0
  3014. data/vendor/bundle/gems/sequel-5.26.0/spec/files/reversible_migrations/002_reversible.rb +5 -0
  3015. data/vendor/bundle/gems/sequel-5.26.0/spec/files/reversible_migrations/003_reversible.rb +5 -0
  3016. data/vendor/bundle/gems/sequel-5.26.0/spec/files/reversible_migrations/004_reversible.rb +5 -0
  3017. data/vendor/bundle/gems/sequel-5.26.0/spec/files/reversible_migrations/005_reversible.rb +10 -0
  3018. data/vendor/bundle/gems/sequel-5.26.0/spec/files/reversible_migrations/006_reversible.rb +10 -0
  3019. data/vendor/bundle/gems/sequel-5.26.0/spec/files/reversible_migrations/007_reversible.rb +10 -0
  3020. data/vendor/bundle/gems/sequel-5.26.0/spec/files/timestamped_migrations/1273253849_create_sessions.rb +9 -0
  3021. data/vendor/bundle/gems/sequel-5.26.0/spec/files/timestamped_migrations/1273253851_create_nodes.rb +9 -0
  3022. data/vendor/bundle/gems/sequel-5.26.0/spec/files/timestamped_migrations/1273253853_3_create_users.rb +4 -0
  3023. data/vendor/bundle/gems/sequel-5.26.0/spec/files/transaction_specified_migrations/001_create_alt_basic.rb +4 -0
  3024. data/vendor/bundle/gems/sequel-5.26.0/spec/files/transaction_specified_migrations/002_create_basic.rb +4 -0
  3025. data/vendor/bundle/gems/sequel-5.26.0/spec/files/transaction_unspecified_migrations/001_create_alt_basic.rb +3 -0
  3026. data/vendor/bundle/gems/sequel-5.26.0/spec/files/transaction_unspecified_migrations/002_create_basic.rb +3 -0
  3027. data/vendor/bundle/gems/sequel-5.26.0/spec/files/uppercase_timestamped_migrations/1273253849_CREATE_SESSIONS.RB +9 -0
  3028. data/vendor/bundle/gems/sequel-5.26.0/spec/files/uppercase_timestamped_migrations/1273253851_CREATE_NODES.RB +9 -0
  3029. data/vendor/bundle/gems/sequel-5.26.0/spec/files/uppercase_timestamped_migrations/1273253853_3_CREATE_USERS.RB +4 -0
  3030. data/vendor/bundle/gems/sequel-5.26.0/spec/guards_helper.rb +59 -0
  3031. data/vendor/bundle/gems/sequel-5.26.0/spec/integration/associations_test.rb +2597 -0
  3032. data/vendor/bundle/gems/sequel-5.26.0/spec/integration/database_test.rb +113 -0
  3033. data/vendor/bundle/gems/sequel-5.26.0/spec/integration/dataset_test.rb +1997 -0
  3034. data/vendor/bundle/gems/sequel-5.26.0/spec/integration/eager_loader_test.rb +687 -0
  3035. data/vendor/bundle/gems/sequel-5.26.0/spec/integration/migrator_test.rb +262 -0
  3036. data/vendor/bundle/gems/sequel-5.26.0/spec/integration/model_test.rb +203 -0
  3037. data/vendor/bundle/gems/sequel-5.26.0/spec/integration/plugin_test.rb +2423 -0
  3038. data/vendor/bundle/gems/sequel-5.26.0/spec/integration/prepared_statement_test.rb +405 -0
  3039. data/vendor/bundle/gems/sequel-5.26.0/spec/integration/schema_test.rb +903 -0
  3040. data/vendor/bundle/gems/sequel-5.26.0/spec/integration/spec_helper.rb +65 -0
  3041. data/vendor/bundle/gems/sequel-5.26.0/spec/integration/timezone_test.rb +86 -0
  3042. data/vendor/bundle/gems/sequel-5.26.0/spec/integration/transaction_test.rb +603 -0
  3043. data/vendor/bundle/gems/sequel-5.26.0/spec/integration/type_test.rb +127 -0
  3044. data/vendor/bundle/gems/sequel-5.26.0/spec/model/association_reflection_spec.rb +803 -0
  3045. data/vendor/bundle/gems/sequel-5.26.0/spec/model/associations_spec.rb +4738 -0
  3046. data/vendor/bundle/gems/sequel-5.26.0/spec/model/base_spec.rb +875 -0
  3047. data/vendor/bundle/gems/sequel-5.26.0/spec/model/class_dataset_methods_spec.rb +146 -0
  3048. data/vendor/bundle/gems/sequel-5.26.0/spec/model/dataset_methods_spec.rb +198 -0
  3049. data/vendor/bundle/gems/sequel-5.26.0/spec/model/eager_loading_spec.rb +2377 -0
  3050. data/vendor/bundle/gems/sequel-5.26.0/spec/model/hooks_spec.rb +370 -0
  3051. data/vendor/bundle/gems/sequel-5.26.0/spec/model/inflector_spec.rb +26 -0
  3052. data/vendor/bundle/gems/sequel-5.26.0/spec/model/model_spec.rb +956 -0
  3053. data/vendor/bundle/gems/sequel-5.26.0/spec/model/plugins_spec.rb +429 -0
  3054. data/vendor/bundle/gems/sequel-5.26.0/spec/model/record_spec.rb +2118 -0
  3055. data/vendor/bundle/gems/sequel-5.26.0/spec/model/spec_helper.rb +46 -0
  3056. data/vendor/bundle/gems/sequel-5.26.0/spec/model/validations_spec.rb +220 -0
  3057. data/vendor/bundle/gems/sequel-5.26.0/spec/model_no_assoc_spec.rb +1 -0
  3058. data/vendor/bundle/gems/sequel-5.26.0/spec/model_spec.rb +1 -0
  3059. data/vendor/bundle/gems/sequel-5.26.0/spec/plugin_spec.rb +1 -0
  3060. data/vendor/bundle/gems/sequel-5.26.0/spec/sequel_coverage.rb +15 -0
  3061. data/vendor/bundle/gems/sequel-5.26.0/spec/sequel_warning.rb +4 -0
  3062. data/vendor/bundle/gems/sequel-5.26.0/spec/spec_config.rb +12 -0
  3063. data/vendor/bundle/gems/simplecov-0.16.1/CHANGELOG.md +481 -0
  3064. data/vendor/bundle/gems/simplecov-0.16.1/CONTRIBUTING.md +51 -0
  3065. data/vendor/bundle/gems/simplecov-0.16.1/ISSUE_TEMPLATE.md +23 -0
  3066. data/vendor/bundle/gems/simplecov-0.16.1/LICENSE +20 -0
  3067. data/vendor/bundle/gems/simplecov-0.16.1/README.md +710 -0
  3068. data/vendor/bundle/gems/simplecov-0.16.1/doc/alternate-formatters.md +51 -0
  3069. data/vendor/bundle/gems/simplecov-0.16.1/doc/commercial-services.md +20 -0
  3070. data/vendor/bundle/gems/simplecov-0.16.1/doc/editor-integration.md +18 -0
  3071. data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov.rb +281 -0
  3072. data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/command_guesser.rb +61 -0
  3073. data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/configuration.rb +305 -0
  3074. data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/defaults.rb +50 -0
  3075. data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/exit_codes.rb +10 -0
  3076. data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/file_list.rb +61 -0
  3077. data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/filter.rb +91 -0
  3078. data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/formatter.rb +10 -0
  3079. data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/formatter/multi_formatter.rb +34 -0
  3080. data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/formatter/simple_formatter.rb +25 -0
  3081. data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/jruby_fix.rb +44 -0
  3082. data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/last_run.rb +26 -0
  3083. data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/lines_classifier.rb +48 -0
  3084. data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/load_global_config.rb +8 -0
  3085. data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/no_defaults.rb +4 -0
  3086. data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/profiles.rb +33 -0
  3087. data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/profiles/bundler_filter.rb +5 -0
  3088. data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/profiles/rails.rb +18 -0
  3089. data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/profiles/root_filter.rb +10 -0
  3090. data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/profiles/test_frameworks.rb +8 -0
  3091. data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/railtie.rb +9 -0
  3092. data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/railties/tasks.rake +13 -0
  3093. data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/raw_coverage.rb +41 -0
  3094. data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/result.rb +88 -0
  3095. data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/result_merger.rb +123 -0
  3096. data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/source_file.rb +203 -0
  3097. data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/version.rb +5 -0
  3098. data/vendor/bundle/gems/simplecov-html-0.10.2/CHANGELOG.md +13 -0
  3099. data/vendor/bundle/gems/simplecov-html-0.10.2/Gemfile +34 -0
  3100. data/vendor/bundle/gems/simplecov-html-0.10.2/Guardfile +12 -0
  3101. data/vendor/bundle/gems/simplecov-html-0.10.2/LICENSE +20 -0
  3102. data/vendor/bundle/gems/simplecov-html-0.10.2/README.md +30 -0
  3103. data/vendor/bundle/gems/simplecov-html-0.10.2/Rakefile +41 -0
  3104. data/vendor/bundle/gems/simplecov-html-0.10.2/assets/javascripts/application.js +127 -0
  3105. data/vendor/bundle/gems/simplecov-html-0.10.2/assets/javascripts/libraries/jquery-1.6.2.min.js +18 -0
  3106. data/vendor/bundle/gems/simplecov-html-0.10.2/assets/javascripts/plugins/highlight.pack.js +1 -0
  3107. data/vendor/bundle/gems/simplecov-html-0.10.2/assets/javascripts/plugins/jquery.colorbox.js +1090 -0
  3108. data/vendor/bundle/gems/simplecov-html-0.10.2/assets/javascripts/plugins/jquery.dataTables.min.js +152 -0
  3109. data/vendor/bundle/gems/simplecov-html-0.10.2/assets/javascripts/plugins/jquery.timeago.js +141 -0
  3110. data/vendor/bundle/gems/simplecov-html-0.10.2/assets/javascripts/plugins/jquery.url.js +174 -0
  3111. data/vendor/bundle/gems/simplecov-html-0.10.2/assets/stylesheets/application.css +3 -0
  3112. data/vendor/bundle/gems/simplecov-html-0.10.2/assets/stylesheets/plugins/highlight.css +129 -0
  3113. data/vendor/bundle/gems/simplecov-html-0.10.2/assets/stylesheets/plugins/jquery-ui-1.8.4.custom.css +295 -0
  3114. data/vendor/bundle/gems/simplecov-html-0.10.2/assets/stylesheets/plugins/jquery.colorbox.css +52 -0
  3115. data/vendor/bundle/gems/simplecov-html-0.10.2/assets/stylesheets/reset.css +103 -0
  3116. data/vendor/bundle/gems/simplecov-html-0.10.2/assets/stylesheets/screen.css.sass +220 -0
  3117. data/vendor/bundle/gems/simplecov-html-0.10.2/lib/simplecov-html.rb +110 -0
  3118. data/vendor/bundle/gems/simplecov-html-0.10.2/lib/simplecov-html/version.rb +7 -0
  3119. data/vendor/bundle/gems/simplecov-html-0.10.2/public/application.css +799 -0
  3120. data/vendor/bundle/gems/simplecov-html-0.10.2/public/application.js +1707 -0
  3121. data/vendor/bundle/gems/simplecov-html-0.10.2/public/colorbox/border.png +0 -0
  3122. data/vendor/bundle/gems/simplecov-html-0.10.2/public/colorbox/controls.png +0 -0
  3123. data/vendor/bundle/gems/simplecov-html-0.10.2/public/colorbox/loading.gif +0 -0
  3124. data/vendor/bundle/gems/simplecov-html-0.10.2/public/colorbox/loading_background.png +0 -0
  3125. data/vendor/bundle/gems/simplecov-html-0.10.2/public/favicon_green.png +0 -0
  3126. data/vendor/bundle/gems/simplecov-html-0.10.2/public/favicon_red.png +0 -0
  3127. data/vendor/bundle/gems/simplecov-html-0.10.2/public/favicon_yellow.png +0 -0
  3128. data/vendor/bundle/gems/simplecov-html-0.10.2/public/loading.gif +0 -0
  3129. data/vendor/bundle/gems/simplecov-html-0.10.2/public/magnify.png +0 -0
  3130. data/vendor/bundle/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  3131. data/vendor/bundle/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  3132. data/vendor/bundle/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  3133. data/vendor/bundle/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  3134. data/vendor/bundle/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  3135. data/vendor/bundle/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  3136. data/vendor/bundle/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  3137. data/vendor/bundle/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  3138. data/vendor/bundle/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_222222_256x240.png +0 -0
  3139. data/vendor/bundle/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  3140. data/vendor/bundle/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_454545_256x240.png +0 -0
  3141. data/vendor/bundle/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_888888_256x240.png +0 -0
  3142. data/vendor/bundle/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  3143. data/vendor/bundle/gems/simplecov-html-0.10.2/simplecov-html.gemspec +22 -0
  3144. data/vendor/bundle/gems/simplecov-html-0.10.2/test/helper.rb +4 -0
  3145. data/vendor/bundle/gems/simplecov-html-0.10.2/test/test_simple_cov-html.rb +8 -0
  3146. data/vendor/bundle/gems/simplecov-html-0.10.2/views/file_list.erb +45 -0
  3147. data/vendor/bundle/gems/simplecov-html-0.10.2/views/layout.erb +41 -0
  3148. data/vendor/bundle/gems/simplecov-html-0.10.2/views/source_file.erb +23 -0
  3149. data/vendor/bundle/gems/sqlite3-1.4.1/API_CHANGES.rdoc +50 -0
  3150. data/vendor/bundle/gems/sqlite3-1.4.1/CHANGELOG.rdoc +306 -0
  3151. data/vendor/bundle/gems/sqlite3-1.4.1/ChangeLog.cvs +88 -0
  3152. data/vendor/bundle/gems/sqlite3-1.4.1/Gemfile +17 -0
  3153. data/vendor/bundle/gems/sqlite3-1.4.1/LICENSE +27 -0
  3154. data/vendor/bundle/gems/sqlite3-1.4.1/Manifest.txt +60 -0
  3155. data/vendor/bundle/gems/sqlite3-1.4.1/README.rdoc +118 -0
  3156. data/vendor/bundle/gems/sqlite3-1.4.1/Rakefile +8 -0
  3157. data/vendor/bundle/gems/sqlite3-1.4.1/appveyor.yml +36 -0
  3158. data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/Makefile +266 -0
  3159. data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/aggregator.c +273 -0
  3160. data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/aggregator.h +12 -0
  3161. data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/aggregator.o +0 -0
  3162. data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/backup.c +168 -0
  3163. data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/backup.h +15 -0
  3164. data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/backup.o +0 -0
  3165. data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/database.c +823 -0
  3166. data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/database.h +17 -0
  3167. data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/database.o +0 -0
  3168. data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/exception.c +98 -0
  3169. data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/exception.h +8 -0
  3170. data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/exception.o +0 -0
  3171. data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/extconf.rb +96 -0
  3172. data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/sqlite3.c +161 -0
  3173. data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/sqlite3.o +0 -0
  3174. data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/sqlite3_native.so +0 -0
  3175. data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/sqlite3_ruby.h +45 -0
  3176. data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/statement.c +442 -0
  3177. data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/statement.h +16 -0
  3178. data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/statement.o +0 -0
  3179. data/vendor/bundle/gems/sqlite3-1.4.1/faq/faq.rb +145 -0
  3180. data/vendor/bundle/gems/sqlite3-1.4.1/faq/faq.yml +426 -0
  3181. data/vendor/bundle/gems/sqlite3-1.4.1/lib/sqlite3.rb +15 -0
  3182. data/vendor/bundle/gems/sqlite3-1.4.1/lib/sqlite3/constants.rb +50 -0
  3183. data/vendor/bundle/gems/sqlite3-1.4.1/lib/sqlite3/database.rb +736 -0
  3184. data/vendor/bundle/gems/sqlite3-1.4.1/lib/sqlite3/errors.rb +35 -0
  3185. data/vendor/bundle/gems/sqlite3-1.4.1/lib/sqlite3/pragmas.rb +588 -0
  3186. data/vendor/bundle/gems/sqlite3-1.4.1/lib/sqlite3/resultset.rb +187 -0
  3187. data/vendor/bundle/gems/sqlite3-1.4.1/lib/sqlite3/sqlite3_native.so +0 -0
  3188. data/vendor/bundle/gems/sqlite3-1.4.1/lib/sqlite3/statement.rb +144 -0
  3189. data/vendor/bundle/gems/sqlite3-1.4.1/lib/sqlite3/translator.rb +118 -0
  3190. data/vendor/bundle/gems/sqlite3-1.4.1/lib/sqlite3/value.rb +57 -0
  3191. data/vendor/bundle/gems/sqlite3-1.4.1/lib/sqlite3/version.rb +25 -0
  3192. data/vendor/bundle/gems/sqlite3-1.4.1/rakelib/faq.rake +9 -0
  3193. data/vendor/bundle/gems/sqlite3-1.4.1/rakelib/gem.rake +40 -0
  3194. data/vendor/bundle/gems/sqlite3-1.4.1/rakelib/native.rake +56 -0
  3195. data/vendor/bundle/gems/sqlite3-1.4.1/rakelib/vendor_sqlite3.rake +97 -0
  3196. data/vendor/bundle/gems/sqlite3-1.4.1/setup.rb +1333 -0
  3197. data/vendor/bundle/gems/sqlite3-1.4.1/test/helper.rb +18 -0
  3198. data/vendor/bundle/gems/sqlite3-1.4.1/test/test_backup.rb +33 -0
  3199. data/vendor/bundle/gems/sqlite3-1.4.1/test/test_collation.rb +82 -0
  3200. data/vendor/bundle/gems/sqlite3-1.4.1/test/test_database.rb +503 -0
  3201. data/vendor/bundle/gems/sqlite3-1.4.1/test/test_database_flags.rb +95 -0
  3202. data/vendor/bundle/gems/sqlite3-1.4.1/test/test_database_readonly.rb +36 -0
  3203. data/vendor/bundle/gems/sqlite3-1.4.1/test/test_database_readwrite.rb +41 -0
  3204. data/vendor/bundle/gems/sqlite3-1.4.1/test/test_deprecated.rb +44 -0
  3205. data/vendor/bundle/gems/sqlite3-1.4.1/test/test_encoding.rb +155 -0
  3206. data/vendor/bundle/gems/sqlite3-1.4.1/test/test_integration.rb +507 -0
  3207. data/vendor/bundle/gems/sqlite3-1.4.1/test/test_integration_aggregate.rb +336 -0
  3208. data/vendor/bundle/gems/sqlite3-1.4.1/test/test_integration_open_close.rb +30 -0
  3209. data/vendor/bundle/gems/sqlite3-1.4.1/test/test_integration_pending.rb +115 -0
  3210. data/vendor/bundle/gems/sqlite3-1.4.1/test/test_integration_resultset.rb +159 -0
  3211. data/vendor/bundle/gems/sqlite3-1.4.1/test/test_integration_statement.rb +194 -0
  3212. data/vendor/bundle/gems/sqlite3-1.4.1/test/test_result_set.rb +37 -0
  3213. data/vendor/bundle/gems/sqlite3-1.4.1/test/test_sqlite3.rb +21 -0
  3214. data/vendor/bundle/gems/sqlite3-1.4.1/test/test_statement.rb +268 -0
  3215. data/vendor/bundle/gems/sqlite3-1.4.1/test/test_statement_execute.rb +35 -0
  3216. data/vendor/bundle/gems/term-ansicolor-1.7.1/CHANGES +69 -0
  3217. data/vendor/bundle/gems/term-ansicolor-1.7.1/COPYING +202 -0
  3218. data/vendor/bundle/gems/term-ansicolor-1.7.1/Gemfile +5 -0
  3219. data/vendor/bundle/gems/term-ansicolor-1.7.1/README.md +42 -0
  3220. data/vendor/bundle/gems/term-ansicolor-1.7.1/Rakefile +28 -0
  3221. data/vendor/bundle/gems/term-ansicolor-1.7.1/VERSION +1 -0
  3222. data/vendor/bundle/gems/term-ansicolor-1.7.1/bin/term_cdiff +19 -0
  3223. data/vendor/bundle/gems/term-ansicolor-1.7.1/bin/term_colortab +49 -0
  3224. data/vendor/bundle/gems/term-ansicolor-1.7.1/bin/term_decolor +12 -0
  3225. data/vendor/bundle/gems/term-ansicolor-1.7.1/bin/term_display +91 -0
  3226. data/vendor/bundle/gems/term-ansicolor-1.7.1/bin/term_mandel +52 -0
  3227. data/vendor/bundle/gems/term-ansicolor-1.7.1/bin/term_snow +72 -0
  3228. data/vendor/bundle/gems/term-ansicolor-1.7.1/examples/example.rb +90 -0
  3229. data/vendor/bundle/gems/term-ansicolor-1.7.1/examples/lambda-red-plain.ppm +135 -0
  3230. data/vendor/bundle/gems/term-ansicolor-1.7.1/examples/lambda-red.png +0 -0
  3231. data/vendor/bundle/gems/term-ansicolor-1.7.1/examples/lambda-red.ppm +4 -0
  3232. data/vendor/bundle/gems/term-ansicolor-1.7.1/lib/term/ansicolor.rb +127 -0
  3233. data/vendor/bundle/gems/term-ansicolor-1.7.1/lib/term/ansicolor/attribute.rb +142 -0
  3234. data/vendor/bundle/gems/term-ansicolor-1.7.1/lib/term/ansicolor/attribute/color256.rb +69 -0
  3235. data/vendor/bundle/gems/term-ansicolor-1.7.1/lib/term/ansicolor/attribute/color8.rb +25 -0
  3236. data/vendor/bundle/gems/term-ansicolor-1.7.1/lib/term/ansicolor/attribute/intense_color8.rb +43 -0
  3237. data/vendor/bundle/gems/term-ansicolor-1.7.1/lib/term/ansicolor/attribute/text.rb +23 -0
  3238. data/vendor/bundle/gems/term-ansicolor-1.7.1/lib/term/ansicolor/hsl_triple.rb +169 -0
  3239. data/vendor/bundle/gems/term-ansicolor-1.7.1/lib/term/ansicolor/movement.rb +108 -0
  3240. data/vendor/bundle/gems/term-ansicolor-1.7.1/lib/term/ansicolor/ppm_reader.rb +96 -0
  3241. data/vendor/bundle/gems/term-ansicolor-1.7.1/lib/term/ansicolor/rgb_color_metrics.rb +161 -0
  3242. data/vendor/bundle/gems/term-ansicolor-1.7.1/lib/term/ansicolor/rgb_triple.rb +179 -0
  3243. data/vendor/bundle/gems/term-ansicolor-1.7.1/lib/term/ansicolor/version.rb +8 -0
  3244. data/vendor/bundle/gems/term-ansicolor-1.7.1/term-ansicolor.gemspec +45 -0
  3245. data/vendor/bundle/gems/term-ansicolor-1.7.1/tests/ansicolor_test.rb +160 -0
  3246. data/vendor/bundle/gems/term-ansicolor-1.7.1/tests/attribute_test.rb +73 -0
  3247. data/vendor/bundle/gems/term-ansicolor-1.7.1/tests/hsl_triple_test.rb +85 -0
  3248. data/vendor/bundle/gems/term-ansicolor-1.7.1/tests/ppm_reader_test.rb +46 -0
  3249. data/vendor/bundle/gems/term-ansicolor-1.7.1/tests/rgb_color_metrics_test.rb +100 -0
  3250. data/vendor/bundle/gems/term-ansicolor-1.7.1/tests/rgb_triple_test.rb +101 -0
  3251. data/vendor/bundle/gems/term-ansicolor-1.7.1/tests/test_helper.rb +8 -0
  3252. data/vendor/bundle/gems/test-unit-3.3.4/COPYING +67 -0
  3253. data/vendor/bundle/gems/test-unit-3.3.4/GPL +339 -0
  3254. data/vendor/bundle/gems/test-unit-3.3.4/LGPL +502 -0
  3255. data/vendor/bundle/gems/test-unit-3.3.4/PSFL +271 -0
  3256. data/vendor/bundle/gems/test-unit-3.3.4/README.md +101 -0
  3257. data/vendor/bundle/gems/test-unit-3.3.4/Rakefile +80 -0
  3258. data/vendor/bundle/gems/test-unit-3.3.4/doc/text/getting-started.md +246 -0
  3259. data/vendor/bundle/gems/test-unit-3.3.4/doc/text/how-to.md +90 -0
  3260. data/vendor/bundle/gems/test-unit-3.3.4/doc/text/news.md +1453 -0
  3261. data/vendor/bundle/gems/test-unit-3.3.4/lib/test-unit.rb +34 -0
  3262. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit.rb +514 -0
  3263. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/assertion-failed-error.rb +25 -0
  3264. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/assertions.rb +2256 -0
  3265. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/attribute-matcher.rb +26 -0
  3266. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/attribute.rb +227 -0
  3267. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/auto-runner-loader.rb +17 -0
  3268. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/autorunner.rb +537 -0
  3269. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/code-snippet-fetcher.rb +56 -0
  3270. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/collector.rb +73 -0
  3271. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/collector/descendant.rb +19 -0
  3272. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/collector/dir.rb +108 -0
  3273. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/collector/load.rb +197 -0
  3274. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/collector/objectspace.rb +34 -0
  3275. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/collector/xml.rb +249 -0
  3276. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/color-scheme.rb +198 -0
  3277. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/color.rb +134 -0
  3278. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/data-sets.rb +116 -0
  3279. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/data.rb +371 -0
  3280. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/diff.rb +746 -0
  3281. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/error.rb +158 -0
  3282. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/exception-handler.rb +82 -0
  3283. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/failure.rb +169 -0
  3284. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/fault-location-detector.rb +100 -0
  3285. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/fixture.rb +298 -0
  3286. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/notification.rb +138 -0
  3287. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/omission.rb +198 -0
  3288. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/pending.rb +155 -0
  3289. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/priority.rb +196 -0
  3290. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/runner/console.rb +84 -0
  3291. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/runner/emacs.rb +8 -0
  3292. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/runner/xml.rb +15 -0
  3293. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/test-suite-creator.rb +103 -0
  3294. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/testcase.rb +899 -0
  3295. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/testresult.rb +132 -0
  3296. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/testsuite.rb +175 -0
  3297. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/ui/console/outputlevel.rb +15 -0
  3298. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/ui/console/testrunner.rb +750 -0
  3299. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/ui/emacs/testrunner.rb +49 -0
  3300. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/ui/testrunner.rb +53 -0
  3301. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/ui/testrunnermediator.rb +114 -0
  3302. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/ui/testrunnerutilities.rb +41 -0
  3303. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/ui/xml/testrunner.rb +224 -0
  3304. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/util/backtracefilter.rb +59 -0
  3305. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/util/method-owner-finder.rb +28 -0
  3306. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/util/observable.rb +90 -0
  3307. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/util/output.rb +32 -0
  3308. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/util/procwrapper.rb +48 -0
  3309. data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/version.rb +5 -0
  3310. data/vendor/bundle/gems/test-unit-3.3.4/sample/adder.rb +13 -0
  3311. data/vendor/bundle/gems/test-unit-3.3.4/sample/subtracter.rb +12 -0
  3312. data/vendor/bundle/gems/test-unit-3.3.4/sample/test_adder.rb +20 -0
  3313. data/vendor/bundle/gems/test-unit-3.3.4/sample/test_subtracter.rb +20 -0
  3314. data/vendor/bundle/gems/test-unit-3.3.4/sample/test_user.rb +23 -0
  3315. data/vendor/bundle/gems/test-unit-3.3.4/test/collector/test-descendant.rb +182 -0
  3316. data/vendor/bundle/gems/test-unit-3.3.4/test/collector/test-load.rb +475 -0
  3317. data/vendor/bundle/gems/test-unit-3.3.4/test/collector/test_dir.rb +407 -0
  3318. data/vendor/bundle/gems/test-unit-3.3.4/test/collector/test_objectspace.rb +102 -0
  3319. data/vendor/bundle/gems/test-unit-3.3.4/test/fixtures/header-label.csv +3 -0
  3320. data/vendor/bundle/gems/test-unit-3.3.4/test/fixtures/header-label.tsv +3 -0
  3321. data/vendor/bundle/gems/test-unit-3.3.4/test/fixtures/header.csv +3 -0
  3322. data/vendor/bundle/gems/test-unit-3.3.4/test/fixtures/header.tsv +3 -0
  3323. data/vendor/bundle/gems/test-unit-3.3.4/test/fixtures/no-header.csv +2 -0
  3324. data/vendor/bundle/gems/test-unit-3.3.4/test/fixtures/no-header.tsv +2 -0
  3325. data/vendor/bundle/gems/test-unit-3.3.4/test/fixtures/plus.csv +3 -0
  3326. data/vendor/bundle/gems/test-unit-3.3.4/test/run-test.rb +22 -0
  3327. data/vendor/bundle/gems/test-unit-3.3.4/test/test-assertions.rb +2187 -0
  3328. data/vendor/bundle/gems/test-unit-3.3.4/test/test-attribute-matcher.rb +38 -0
  3329. data/vendor/bundle/gems/test-unit-3.3.4/test/test-attribute.rb +123 -0
  3330. data/vendor/bundle/gems/test-unit-3.3.4/test/test-code-snippet.rb +79 -0
  3331. data/vendor/bundle/gems/test-unit-3.3.4/test/test-color-scheme.rb +82 -0
  3332. data/vendor/bundle/gems/test-unit-3.3.4/test/test-color.rb +47 -0
  3333. data/vendor/bundle/gems/test-unit-3.3.4/test/test-data.rb +419 -0
  3334. data/vendor/bundle/gems/test-unit-3.3.4/test/test-diff.rb +518 -0
  3335. data/vendor/bundle/gems/test-unit-3.3.4/test/test-emacs-runner.rb +60 -0
  3336. data/vendor/bundle/gems/test-unit-3.3.4/test/test-error.rb +26 -0
  3337. data/vendor/bundle/gems/test-unit-3.3.4/test/test-failure.rb +33 -0
  3338. data/vendor/bundle/gems/test-unit-3.3.4/test/test-fault-location-detector.rb +163 -0
  3339. data/vendor/bundle/gems/test-unit-3.3.4/test/test-fixture.rb +713 -0
  3340. data/vendor/bundle/gems/test-unit-3.3.4/test/test-notification.rb +33 -0
  3341. data/vendor/bundle/gems/test-unit-3.3.4/test/test-omission.rb +81 -0
  3342. data/vendor/bundle/gems/test-unit-3.3.4/test/test-pending.rb +70 -0
  3343. data/vendor/bundle/gems/test-unit-3.3.4/test/test-priority.rb +184 -0
  3344. data/vendor/bundle/gems/test-unit-3.3.4/test/test-test-case.rb +1279 -0
  3345. data/vendor/bundle/gems/test-unit-3.3.4/test/test-test-result.rb +113 -0
  3346. data/vendor/bundle/gems/test-unit-3.3.4/test/test-test-suite-creator.rb +97 -0
  3347. data/vendor/bundle/gems/test-unit-3.3.4/test/test-test-suite.rb +151 -0
  3348. data/vendor/bundle/gems/test-unit-3.3.4/test/testunit-test-util.rb +33 -0
  3349. data/vendor/bundle/gems/test-unit-3.3.4/test/ui/test_testrunmediator.rb +20 -0
  3350. data/vendor/bundle/gems/test-unit-3.3.4/test/util/test-method-owner-finder.rb +38 -0
  3351. data/vendor/bundle/gems/test-unit-3.3.4/test/util/test-output.rb +11 -0
  3352. data/vendor/bundle/gems/test-unit-3.3.4/test/util/test_backtracefilter.rb +52 -0
  3353. data/vendor/bundle/gems/test-unit-3.3.4/test/util/test_observable.rb +102 -0
  3354. data/vendor/bundle/gems/test-unit-3.3.4/test/util/test_procwrapper.rb +36 -0
  3355. data/vendor/bundle/gems/thor-0.20.3/CHANGELOG.md +204 -0
  3356. data/vendor/bundle/gems/thor-0.20.3/CONTRIBUTING.md +15 -0
  3357. data/vendor/bundle/gems/thor-0.20.3/LICENSE.md +20 -0
  3358. data/vendor/bundle/gems/thor-0.20.3/README.md +51 -0
  3359. data/vendor/bundle/gems/thor-0.20.3/bin/thor +6 -0
  3360. data/vendor/bundle/gems/thor-0.20.3/lib/thor.rb +509 -0
  3361. data/vendor/bundle/gems/thor-0.20.3/lib/thor/actions.rb +331 -0
  3362. data/vendor/bundle/gems/thor-0.20.3/lib/thor/actions/create_file.rb +104 -0
  3363. data/vendor/bundle/gems/thor-0.20.3/lib/thor/actions/create_link.rb +60 -0
  3364. data/vendor/bundle/gems/thor-0.20.3/lib/thor/actions/directory.rb +118 -0
  3365. data/vendor/bundle/gems/thor-0.20.3/lib/thor/actions/empty_directory.rb +143 -0
  3366. data/vendor/bundle/gems/thor-0.20.3/lib/thor/actions/file_manipulation.rb +373 -0
  3367. data/vendor/bundle/gems/thor-0.20.3/lib/thor/actions/inject_into_file.rb +109 -0
  3368. data/vendor/bundle/gems/thor-0.20.3/lib/thor/base.rb +678 -0
  3369. data/vendor/bundle/gems/thor-0.20.3/lib/thor/command.rb +135 -0
  3370. data/vendor/bundle/gems/thor-0.20.3/lib/thor/core_ext/hash_with_indifferent_access.rb +97 -0
  3371. data/vendor/bundle/gems/thor-0.20.3/lib/thor/core_ext/io_binary_read.rb +12 -0
  3372. data/vendor/bundle/gems/thor-0.20.3/lib/thor/core_ext/ordered_hash.rb +129 -0
  3373. data/vendor/bundle/gems/thor-0.20.3/lib/thor/error.rb +114 -0
  3374. data/vendor/bundle/gems/thor-0.20.3/lib/thor/group.rb +281 -0
  3375. data/vendor/bundle/gems/thor-0.20.3/lib/thor/invocation.rb +177 -0
  3376. data/vendor/bundle/gems/thor-0.20.3/lib/thor/line_editor.rb +17 -0
  3377. data/vendor/bundle/gems/thor-0.20.3/lib/thor/line_editor/basic.rb +37 -0
  3378. data/vendor/bundle/gems/thor-0.20.3/lib/thor/line_editor/readline.rb +88 -0
  3379. data/vendor/bundle/gems/thor-0.20.3/lib/thor/parser.rb +4 -0
  3380. data/vendor/bundle/gems/thor-0.20.3/lib/thor/parser/argument.rb +70 -0
  3381. data/vendor/bundle/gems/thor-0.20.3/lib/thor/parser/arguments.rb +175 -0
  3382. data/vendor/bundle/gems/thor-0.20.3/lib/thor/parser/option.rb +146 -0
  3383. data/vendor/bundle/gems/thor-0.20.3/lib/thor/parser/options.rb +226 -0
  3384. data/vendor/bundle/gems/thor-0.20.3/lib/thor/rake_compat.rb +71 -0
  3385. data/vendor/bundle/gems/thor-0.20.3/lib/thor/runner.rb +324 -0
  3386. data/vendor/bundle/gems/thor-0.20.3/lib/thor/shell.rb +81 -0
  3387. data/vendor/bundle/gems/thor-0.20.3/lib/thor/shell/basic.rb +482 -0
  3388. data/vendor/bundle/gems/thor-0.20.3/lib/thor/shell/color.rb +149 -0
  3389. data/vendor/bundle/gems/thor-0.20.3/lib/thor/shell/html.rb +126 -0
  3390. data/vendor/bundle/gems/thor-0.20.3/lib/thor/util.rb +268 -0
  3391. data/vendor/bundle/gems/thor-0.20.3/lib/thor/version.rb +3 -0
  3392. data/vendor/bundle/gems/thor-0.20.3/thor.gemspec +21 -0
  3393. data/vendor/bundle/gems/tins-1.22.2/COPYING +18 -0
  3394. data/vendor/bundle/gems/tins-1.22.2/Gemfile +10 -0
  3395. data/vendor/bundle/gems/tins-1.22.2/README.md +107 -0
  3396. data/vendor/bundle/gems/tins-1.22.2/Rakefile +23 -0
  3397. data/vendor/bundle/gems/tins-1.22.2/TODO +3 -0
  3398. data/vendor/bundle/gems/tins-1.22.2/VERSION +1 -0
  3399. data/vendor/bundle/gems/tins-1.22.2/examples/add_one.png +0 -0
  3400. data/vendor/bundle/gems/tins-1.22.2/examples/add_one.stm +13 -0
  3401. data/vendor/bundle/gems/tins-1.22.2/examples/bb3.png +0 -0
  3402. data/vendor/bundle/gems/tins-1.22.2/examples/bb3.stm +26 -0
  3403. data/vendor/bundle/gems/tins-1.22.2/examples/concatenate_compare.mtm +31 -0
  3404. data/vendor/bundle/gems/tins-1.22.2/examples/concatenate_compare.png +0 -0
  3405. data/vendor/bundle/gems/tins-1.22.2/examples/length_difference.mtm +17 -0
  3406. data/vendor/bundle/gems/tins-1.22.2/examples/length_difference.png +0 -0
  3407. data/vendor/bundle/gems/tins-1.22.2/examples/let.rb +62 -0
  3408. data/vendor/bundle/gems/tins-1.22.2/examples/mail.rb +73 -0
  3409. data/vendor/bundle/gems/tins-1.22.2/examples/minsky.rb +145 -0
  3410. data/vendor/bundle/gems/tins-1.22.2/examples/multiply.reg +42 -0
  3411. data/vendor/bundle/gems/tins-1.22.2/examples/null_pattern.rb +52 -0
  3412. data/vendor/bundle/gems/tins-1.22.2/examples/ones_difference-mtm.png +0 -0
  3413. data/vendor/bundle/gems/tins-1.22.2/examples/ones_difference-stm.png +0 -0
  3414. data/vendor/bundle/gems/tins-1.22.2/examples/ones_difference.mtm +12 -0
  3415. data/vendor/bundle/gems/tins-1.22.2/examples/ones_difference.stm +25 -0
  3416. data/vendor/bundle/gems/tins-1.22.2/examples/prefix-equals-suffix-reversed-with-infix.png +0 -0
  3417. data/vendor/bundle/gems/tins-1.22.2/examples/prefix-equals-suffix-reversed-with-infix.stm +38 -0
  3418. data/vendor/bundle/gems/tins-1.22.2/examples/recipe.rb +81 -0
  3419. data/vendor/bundle/gems/tins-1.22.2/examples/recipe2.rb +82 -0
  3420. data/vendor/bundle/gems/tins-1.22.2/examples/recipe_common.rb +65 -0
  3421. data/vendor/bundle/gems/tins-1.22.2/examples/subtract.reg +9 -0
  3422. data/vendor/bundle/gems/tins-1.22.2/examples/turing-graph.rb +17 -0
  3423. data/vendor/bundle/gems/tins-1.22.2/examples/turing.rb +310 -0
  3424. data/vendor/bundle/gems/tins-1.22.2/lib/dslkit.rb +2 -0
  3425. data/vendor/bundle/gems/tins-1.22.2/lib/dslkit/polite.rb +1 -0
  3426. data/vendor/bundle/gems/tins-1.22.2/lib/dslkit/rude.rb +1 -0
  3427. data/vendor/bundle/gems/tins-1.22.2/lib/spruz.rb +2 -0
  3428. data/vendor/bundle/gems/tins-1.22.2/lib/tins.rb +61 -0
  3429. data/vendor/bundle/gems/tins-1.22.2/lib/tins/alias.rb +1 -0
  3430. data/vendor/bundle/gems/tins-1.22.2/lib/tins/annotate.rb +38 -0
  3431. data/vendor/bundle/gems/tins-1.22.2/lib/tins/ask_and_send.rb +31 -0
  3432. data/vendor/bundle/gems/tins-1.22.2/lib/tins/attempt.rb +99 -0
  3433. data/vendor/bundle/gems/tins-1.22.2/lib/tins/bijection.rb +46 -0
  3434. data/vendor/bundle/gems/tins-1.22.2/lib/tins/case_predicate.rb +7 -0
  3435. data/vendor/bundle/gems/tins-1.22.2/lib/tins/complete.rb +18 -0
  3436. data/vendor/bundle/gems/tins-1.22.2/lib/tins/concern.rb +30 -0
  3437. data/vendor/bundle/gems/tins-1.22.2/lib/tins/count_by.rb +8 -0
  3438. data/vendor/bundle/gems/tins-1.22.2/lib/tins/date_dummy.rb +53 -0
  3439. data/vendor/bundle/gems/tins-1.22.2/lib/tins/date_time_dummy.rb +51 -0
  3440. data/vendor/bundle/gems/tins-1.22.2/lib/tins/deep_const_get.rb +42 -0
  3441. data/vendor/bundle/gems/tins-1.22.2/lib/tins/deep_dup.rb +11 -0
  3442. data/vendor/bundle/gems/tins-1.22.2/lib/tins/dslkit.rb +636 -0
  3443. data/vendor/bundle/gems/tins-1.22.2/lib/tins/duration.rb +95 -0
  3444. data/vendor/bundle/gems/tins-1.22.2/lib/tins/expose.rb +27 -0
  3445. data/vendor/bundle/gems/tins-1.22.2/lib/tins/extract_last_argument_options.rb +14 -0
  3446. data/vendor/bundle/gems/tins-1.22.2/lib/tins/file_binary.rb +83 -0
  3447. data/vendor/bundle/gems/tins-1.22.2/lib/tins/find.rb +149 -0
  3448. data/vendor/bundle/gems/tins-1.22.2/lib/tins/generator.rb +68 -0
  3449. data/vendor/bundle/gems/tins-1.22.2/lib/tins/go.rb +96 -0
  3450. data/vendor/bundle/gems/tins-1.22.2/lib/tins/hash_symbolize_keys_recursive.rb +48 -0
  3451. data/vendor/bundle/gems/tins-1.22.2/lib/tins/hash_union.rb +15 -0
  3452. data/vendor/bundle/gems/tins-1.22.2/lib/tins/if_predicate.rb +7 -0
  3453. data/vendor/bundle/gems/tins-1.22.2/lib/tins/implement.rb +40 -0
  3454. data/vendor/bundle/gems/tins-1.22.2/lib/tins/limited.rb +38 -0
  3455. data/vendor/bundle/gems/tins-1.22.2/lib/tins/lines_file.rb +123 -0
  3456. data/vendor/bundle/gems/tins-1.22.2/lib/tins/memoize.rb +91 -0
  3457. data/vendor/bundle/gems/tins-1.22.2/lib/tins/method_description.rb +143 -0
  3458. data/vendor/bundle/gems/tins-1.22.2/lib/tins/minimize.rb +55 -0
  3459. data/vendor/bundle/gems/tins-1.22.2/lib/tins/module_group.rb +13 -0
  3460. data/vendor/bundle/gems/tins-1.22.2/lib/tins/named_set.rb +12 -0
  3461. data/vendor/bundle/gems/tins-1.22.2/lib/tins/null.rb +101 -0
  3462. data/vendor/bundle/gems/tins-1.22.2/lib/tins/once.rb +25 -0
  3463. data/vendor/bundle/gems/tins-1.22.2/lib/tins/p.rb +23 -0
  3464. data/vendor/bundle/gems/tins-1.22.2/lib/tins/partial_application.rb +31 -0
  3465. data/vendor/bundle/gems/tins-1.22.2/lib/tins/proc_compose.rb +15 -0
  3466. data/vendor/bundle/gems/tins-1.22.2/lib/tins/proc_prelude.rb +73 -0
  3467. data/vendor/bundle/gems/tins-1.22.2/lib/tins/range_plus.rb +9 -0
  3468. data/vendor/bundle/gems/tins-1.22.2/lib/tins/require_maybe.rb +9 -0
  3469. data/vendor/bundle/gems/tins-1.22.2/lib/tins/responding.rb +19 -0
  3470. data/vendor/bundle/gems/tins-1.22.2/lib/tins/secure_write.rb +27 -0
  3471. data/vendor/bundle/gems/tins-1.22.2/lib/tins/sexy_singleton.rb +39 -0
  3472. data/vendor/bundle/gems/tins-1.22.2/lib/tins/string_byte_order_mark.rb +20 -0
  3473. data/vendor/bundle/gems/tins-1.22.2/lib/tins/string_camelize.rb +16 -0
  3474. data/vendor/bundle/gems/tins-1.22.2/lib/tins/string_underscore.rb +15 -0
  3475. data/vendor/bundle/gems/tins-1.22.2/lib/tins/string_version.rb +104 -0
  3476. data/vendor/bundle/gems/tins-1.22.2/lib/tins/subhash.rb +42 -0
  3477. data/vendor/bundle/gems/tins-1.22.2/lib/tins/temp_io.rb +26 -0
  3478. data/vendor/bundle/gems/tins-1.22.2/lib/tins/temp_io_enum.rb +26 -0
  3479. data/vendor/bundle/gems/tins-1.22.2/lib/tins/terminal.rb +42 -0
  3480. data/vendor/bundle/gems/tins-1.22.2/lib/tins/thread_local.rb +57 -0
  3481. data/vendor/bundle/gems/tins-1.22.2/lib/tins/time_dummy.rb +57 -0
  3482. data/vendor/bundle/gems/tins-1.22.2/lib/tins/to.rb +8 -0
  3483. data/vendor/bundle/gems/tins-1.22.2/lib/tins/to_proc.rb +12 -0
  3484. data/vendor/bundle/gems/tins-1.22.2/lib/tins/token.rb +36 -0
  3485. data/vendor/bundle/gems/tins-1.22.2/lib/tins/uniq_by.rb +10 -0
  3486. data/vendor/bundle/gems/tins-1.22.2/lib/tins/unit.rb +179 -0
  3487. data/vendor/bundle/gems/tins-1.22.2/lib/tins/version.rb +8 -0
  3488. data/vendor/bundle/gems/tins-1.22.2/lib/tins/write.rb +19 -0
  3489. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt.rb +45 -0
  3490. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/annotate.rb +5 -0
  3491. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/ask_and_send.rb +7 -0
  3492. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/attempt.rb +7 -0
  3493. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/blank.rb +67 -0
  3494. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/case_predicate.rb +8 -0
  3495. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/complete.rb +7 -0
  3496. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/concern.rb +20 -0
  3497. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/count_by.rb +11 -0
  3498. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/date_dummy.rb +7 -0
  3499. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/date_time_dummy.rb +7 -0
  3500. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/deep_const_get.rb +7 -0
  3501. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/deep_dup.rb +7 -0
  3502. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/dslkit.rb +22 -0
  3503. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/expose.rb +5 -0
  3504. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/extract_last_argument_options.rb +7 -0
  3505. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/file_binary.rb +7 -0
  3506. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/full.rb +39 -0
  3507. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/hash_symbolize_keys_recursive.rb +7 -0
  3508. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/hash_union.rb +11 -0
  3509. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/if_predicate.rb +7 -0
  3510. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/implement.rb +5 -0
  3511. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/irb.rb +23 -0
  3512. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/method_description.rb +23 -0
  3513. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/named.rb +23 -0
  3514. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/null.rb +9 -0
  3515. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/p.rb +7 -0
  3516. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/partial_application.rb +11 -0
  3517. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/proc_compose.rb +7 -0
  3518. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/proc_prelude.rb +7 -0
  3519. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/range_plus.rb +12 -0
  3520. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/require_maybe.rb +7 -0
  3521. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/responding.rb +7 -0
  3522. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/secure_write.rb +11 -0
  3523. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/sexy_singleton.rb +3 -0
  3524. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/string.rb +6 -0
  3525. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/string_byte_order_mark.rb +7 -0
  3526. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/string_camelize.rb +6 -0
  3527. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/string_underscore.rb +6 -0
  3528. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/string_version.rb +7 -0
  3529. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/subhash.rb +11 -0
  3530. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/temp_io.rb +5 -0
  3531. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/time_dummy.rb +7 -0
  3532. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/time_freezer.rb +15 -0
  3533. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/to.rb +5 -0
  3534. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/uniq_by.rb +15 -0
  3535. data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/write.rb +11 -0
  3536. data/vendor/bundle/gems/tins-1.22.2/tests/annotate_test.rb +68 -0
  3537. data/vendor/bundle/gems/tins-1.22.2/tests/ask_and_send_test.rb +46 -0
  3538. data/vendor/bundle/gems/tins-1.22.2/tests/attempt_test.rb +109 -0
  3539. data/vendor/bundle/gems/tins-1.22.2/tests/bijection_test.rb +19 -0
  3540. data/vendor/bundle/gems/tins-1.22.2/tests/blank_full_test.rb +77 -0
  3541. data/vendor/bundle/gems/tins-1.22.2/tests/case_predicate_test.rb +29 -0
  3542. data/vendor/bundle/gems/tins-1.22.2/tests/concern_test.rb +35 -0
  3543. data/vendor/bundle/gems/tins-1.22.2/tests/count_by_test.rb +17 -0
  3544. data/vendor/bundle/gems/tins-1.22.2/tests/date_dummy_test.rb +31 -0
  3545. data/vendor/bundle/gems/tins-1.22.2/tests/date_time_dummy_test.rb +31 -0
  3546. data/vendor/bundle/gems/tins-1.22.2/tests/deep_const_get_test.rb +37 -0
  3547. data/vendor/bundle/gems/tins-1.22.2/tests/deep_dup_test.rb +20 -0
  3548. data/vendor/bundle/gems/tins-1.22.2/tests/delegate_test.rb +49 -0
  3549. data/vendor/bundle/gems/tins-1.22.2/tests/dslkit_test.rb +314 -0
  3550. data/vendor/bundle/gems/tins-1.22.2/tests/duration_test.rb +81 -0
  3551. data/vendor/bundle/gems/tins-1.22.2/tests/dynamic_scope_test.rb +31 -0
  3552. data/vendor/bundle/gems/tins-1.22.2/tests/expose_test.rb +43 -0
  3553. data/vendor/bundle/gems/tins-1.22.2/tests/extract_last_argument_options_test.rb +30 -0
  3554. data/vendor/bundle/gems/tins-1.22.2/tests/file_binary_test.rb +65 -0
  3555. data/vendor/bundle/gems/tins-1.22.2/tests/find_test.rb +135 -0
  3556. data/vendor/bundle/gems/tins-1.22.2/tests/from_module_test.rb +61 -0
  3557. data/vendor/bundle/gems/tins-1.22.2/tests/generator_test.rb +47 -0
  3558. data/vendor/bundle/gems/tins-1.22.2/tests/go_test.rb +80 -0
  3559. data/vendor/bundle/gems/tins-1.22.2/tests/hash_symbolize_keys_recursive_test.rb +64 -0
  3560. data/vendor/bundle/gems/tins-1.22.2/tests/hash_union_test.rb +42 -0
  3561. data/vendor/bundle/gems/tins-1.22.2/tests/if_predicate_test.rb +12 -0
  3562. data/vendor/bundle/gems/tins-1.22.2/tests/implement_test.rb +75 -0
  3563. data/vendor/bundle/gems/tins-1.22.2/tests/limited_test.rb +21 -0
  3564. data/vendor/bundle/gems/tins-1.22.2/tests/lines_file_test.rb +82 -0
  3565. data/vendor/bundle/gems/tins-1.22.2/tests/memoize_test.rb +115 -0
  3566. data/vendor/bundle/gems/tins-1.22.2/tests/method_description_test.rb +104 -0
  3567. data/vendor/bundle/gems/tins-1.22.2/tests/minimize_test.rb +54 -0
  3568. data/vendor/bundle/gems/tins-1.22.2/tests/module_group_test.rb +29 -0
  3569. data/vendor/bundle/gems/tins-1.22.2/tests/named_set_test.rb +18 -0
  3570. data/vendor/bundle/gems/tins-1.22.2/tests/named_test.rb +30 -0
  3571. data/vendor/bundle/gems/tins-1.22.2/tests/null_test.rb +64 -0
  3572. data/vendor/bundle/gems/tins-1.22.2/tests/p_test.rb +14 -0
  3573. data/vendor/bundle/gems/tins-1.22.2/tests/partial_application_test.rb +30 -0
  3574. data/vendor/bundle/gems/tins-1.22.2/tests/proc_compose_test.rb +21 -0
  3575. data/vendor/bundle/gems/tins-1.22.2/tests/proc_prelude_test.rb +81 -0
  3576. data/vendor/bundle/gems/tins-1.22.2/tests/range_plus_test.rb +14 -0
  3577. data/vendor/bundle/gems/tins-1.22.2/tests/require_maybe_test.rb +24 -0
  3578. data/vendor/bundle/gems/tins-1.22.2/tests/responding_test.rb +24 -0
  3579. data/vendor/bundle/gems/tins-1.22.2/tests/rotate_test.rb +65 -0
  3580. data/vendor/bundle/gems/tins-1.22.2/tests/scope_test.rb +31 -0
  3581. data/vendor/bundle/gems/tins-1.22.2/tests/secure_write_test.rb +42 -0
  3582. data/vendor/bundle/gems/tins-1.22.2/tests/sexy_singleton_test.rb +16 -0
  3583. data/vendor/bundle/gems/tins-1.22.2/tests/string_byte_order_mark_test.rb +40 -0
  3584. data/vendor/bundle/gems/tins-1.22.2/tests/string_camelize_test.rb +21 -0
  3585. data/vendor/bundle/gems/tins-1.22.2/tests/string_underscore_test.rb +11 -0
  3586. data/vendor/bundle/gems/tins-1.22.2/tests/string_version_test.rb +60 -0
  3587. data/vendor/bundle/gems/tins-1.22.2/tests/subhash_test.rb +37 -0
  3588. data/vendor/bundle/gems/tins-1.22.2/tests/temp_io_test.rb +51 -0
  3589. data/vendor/bundle/gems/tins-1.22.2/tests/test_helper.rb +11 -0
  3590. data/vendor/bundle/gems/tins-1.22.2/tests/time_dummy_test.rb +31 -0
  3591. data/vendor/bundle/gems/tins-1.22.2/tests/time_freezer_test.rb +45 -0
  3592. data/vendor/bundle/gems/tins-1.22.2/tests/to_test.rb +32 -0
  3593. data/vendor/bundle/gems/tins-1.22.2/tests/token_test.rb +38 -0
  3594. data/vendor/bundle/gems/tins-1.22.2/tests/uniq_by_test.rb +31 -0
  3595. data/vendor/bundle/gems/tins-1.22.2/tests/unit_test.rb +63 -0
  3596. data/vendor/bundle/gems/tins-1.22.2/tins.gemspec +41 -0
  3597. data/vendor/bundle/gems/xpath-3.2.0/README.md +78 -0
  3598. data/vendor/bundle/gems/xpath-3.2.0/lib/xpath.rb +18 -0
  3599. data/vendor/bundle/gems/xpath-3.2.0/lib/xpath/dsl.rb +174 -0
  3600. data/vendor/bundle/gems/xpath-3.2.0/lib/xpath/expression.rb +22 -0
  3601. data/vendor/bundle/gems/xpath-3.2.0/lib/xpath/literal.rb +10 -0
  3602. data/vendor/bundle/gems/xpath-3.2.0/lib/xpath/renderer.rb +126 -0
  3603. data/vendor/bundle/gems/xpath-3.2.0/lib/xpath/union.rb +31 -0
  3604. data/vendor/bundle/gems/xpath-3.2.0/lib/xpath/version.rb +5 -0
  3605. data/vendor/bundle/gems/xpath-3.2.0/spec/fixtures/form.html +201 -0
  3606. data/vendor/bundle/gems/xpath-3.2.0/spec/fixtures/simple.html +53 -0
  3607. data/vendor/bundle/gems/xpath-3.2.0/spec/fixtures/stuff.html +54 -0
  3608. data/vendor/bundle/gems/xpath-3.2.0/spec/spec_helper.rb +8 -0
  3609. data/vendor/bundle/gems/xpath-3.2.0/spec/union_spec.rb +63 -0
  3610. data/vendor/bundle/gems/xpath-3.2.0/spec/xpath_spec.rb +562 -0
  3611. data/vendor/bundle/specifications/addressable-2.7.0.gemspec +39 -0
  3612. data/vendor/bundle/specifications/capybara-3.29.0.gemspec +116 -0
  3613. data/vendor/bundle/specifications/childprocess-3.0.0.gemspec +39 -0
  3614. data/vendor/bundle/specifications/coveralls-0.8.23.gemspec +50 -0
  3615. data/vendor/bundle/specifications/diff-lcs-1.3.gemspec +61 -0
  3616. data/vendor/bundle/specifications/docile-1.3.2.gemspec +48 -0
  3617. data/vendor/bundle/specifications/emot-0.0.4.gemspec +44 -0
  3618. data/vendor/bundle/specifications/faraday-0.17.1.gemspec +33 -0
  3619. data/vendor/bundle/specifications/fastimage-2.1.7.gemspec +45 -0
  3620. data/vendor/bundle/specifications/hikidoc-0.1.0.gemspec +37 -0
  3621. data/vendor/bundle/specifications/jasmine-2.99.0.gemspec +59 -0
  3622. data/vendor/bundle/specifications/jasmine-core-2.99.2.gemspec +41 -0
  3623. data/vendor/bundle/specifications/json-2.2.0.gemspec +0 -0
  3624. data/vendor/bundle/specifications/launchy-2.4.3.gemspec +45 -0
  3625. data/vendor/bundle/specifications/mail-2.7.1.gemspec +50 -0
  3626. data/vendor/bundle/specifications/mime-types-3.3.gemspec +84 -0
  3627. data/vendor/bundle/specifications/mime-types-data-3.2019.1009.gemspec +60 -0
  3628. data/vendor/bundle/specifications/mini_mime-1.0.2.gemspec +39 -0
  3629. data/vendor/bundle/specifications/mini_portile2-2.4.0.gemspec +48 -0
  3630. data/vendor/bundle/specifications/multipart-post-2.1.1.gemspec +38 -0
  3631. data/vendor/bundle/specifications/nokogiri-1.10.5.gemspec +83 -0
  3632. data/vendor/bundle/specifications/octokit-4.14.0.gemspec +36 -0
  3633. data/vendor/bundle/specifications/phantomjs-2.1.1.0.gemspec +44 -0
  3634. data/vendor/bundle/specifications/pit-0.0.7.gemspec +21 -0
  3635. data/vendor/bundle/specifications/power_assert-1.1.5.gemspec +54 -0
  3636. data/vendor/bundle/specifications/public_suffix-4.0.1.gemspec +41 -0
  3637. data/vendor/bundle/specifications/rack-2.0.7.gemspec +42 -0
  3638. data/vendor/bundle/specifications/rack-test-1.1.0.gemspec +54 -0
  3639. data/vendor/bundle/specifications/racksh-1.0.0.gemspec +35 -0
  3640. data/vendor/bundle/specifications/rake-13.0.1.gemspec +26 -0
  3641. data/vendor/bundle/specifications/redcarpet-3.5.0.gemspec +44 -0
  3642. data/vendor/bundle/specifications/regexp_parser-1.6.0.gemspec +23 -0
  3643. data/vendor/bundle/specifications/rspec-3.9.0.gemspec +43 -0
  3644. data/vendor/bundle/specifications/rspec-core-3.9.0.gemspec +63 -0
  3645. data/vendor/bundle/specifications/rspec-expectations-3.9.0.gemspec +51 -0
  3646. data/vendor/bundle/specifications/rspec-mocks-3.9.0.gemspec +51 -0
  3647. data/vendor/bundle/specifications/rspec-support-3.9.0.gemspec +39 -0
  3648. data/vendor/bundle/specifications/rubyzip-2.0.0.gemspec +45 -0
  3649. data/vendor/bundle/specifications/sawyer-0.8.2.gemspec +34 -0
  3650. data/vendor/bundle/specifications/selenium-webdriver-3.142.6.gemspec +64 -0
  3651. data/vendor/bundle/specifications/sequel-5.26.0.gemspec +56 -0
  3652. data/vendor/bundle/specifications/simplecov-0.16.1.gemspec +42 -0
  3653. data/vendor/bundle/specifications/simplecov-html-0.10.2.gemspec +33 -0
  3654. data/vendor/bundle/specifications/sqlite3-1.4.1.gemspec +60 -0
  3655. data/vendor/bundle/specifications/term-ansicolor-1.7.1.gemspec +46 -0
  3656. data/vendor/bundle/specifications/test-unit-3.3.4.gemspec +48 -0
  3657. data/vendor/bundle/specifications/thor-0.20.3.gemspec +35 -0
  3658. data/vendor/bundle/specifications/tins-1.22.2.gemspec +42 -0
  3659. data/vendor/bundle/specifications/xpath-3.2.0.gemspec +46 -0
  3660. metadata +3650 -2
@@ -0,0 +1,113 @@
1
+ require_relative "spec_helper"
2
+
3
+ describe Sequel::Database do
4
+ before do
5
+ @db = DB
6
+ end
7
+
8
+ it "should provide disconnect functionality" do
9
+ @db.disconnect
10
+ @db.pool.size.must_equal 0
11
+ @db.test_connection
12
+ @db.pool.size.must_equal 1
13
+ end
14
+
15
+ it "should provide disconnect functionality after preparing a statement" do
16
+ @db.create_table!(:items){Integer :i}
17
+ @db[:items].prepare(:first, :a).call
18
+ @db.disconnect
19
+ @db.pool.size.must_equal 0
20
+ @db.drop_table?(:items)
21
+ end
22
+
23
+ it "should raise Sequel::DatabaseError on invalid SQL" do
24
+ proc{@db << "S"}.must_raise(Sequel::DatabaseError)
25
+ end
26
+
27
+ it "should have Sequel::DatabaseError#sql give the SQL causing the error" do
28
+ (@db << "SELECT") rescue (e = $!)
29
+ e.sql.must_equal "SELECT"
30
+ end if ENV['SEQUEL_ERROR_SQL']
31
+
32
+ describe "constraint violations" do
33
+ before do
34
+ @db.drop_table?(:test2, :test)
35
+ end
36
+ after do
37
+ @db.drop_table?(:test2, :test)
38
+ end
39
+
40
+ cspecify "should raise Sequel::UniqueConstraintViolation when a unique constraint is violated", [:jdbc, :sqlite] do
41
+ @db.create_table!(:test){String :a, :unique=>true, :null=>false}
42
+ @db[:test].insert('1')
43
+ proc{@db[:test].insert('1')}.must_raise(Sequel::UniqueConstraintViolation)
44
+ @db[:test].insert('2')
45
+ proc{@db[:test].update(:a=>'1')}.must_raise(Sequel::UniqueConstraintViolation)
46
+ end
47
+
48
+ cspecify "should raise Sequel::UniqueConstraintViolation when a unique constraint is violated for composite primary keys", [:jdbc, :sqlite] do
49
+ @db.create_table!(:test){String :a; String :b; primary_key [:a, :b]}
50
+ @db[:test].insert(:a=>'1', :b=>'2')
51
+ proc{@db[:test].insert(:a=>'1', :b=>'2')}.must_raise(Sequel::UniqueConstraintViolation)
52
+ @db[:test].insert(:a=>'3', :b=>'4')
53
+ proc{@db[:test].update(:a=>'1', :b=>'2')}.must_raise(Sequel::UniqueConstraintViolation)
54
+ end
55
+
56
+ cspecify "should raise Sequel::CheckConstraintViolation when a check constraint is violated", [proc{|db| !db.mariadb? || db.server_version <= 100200}, :mysql], [proc{|db| db.sqlite_version < 30802}, :sqlite] do
57
+ @db.create_table!(:test){String :a; check Sequel.~(:a=>'1')}
58
+ proc{@db[:test].insert('1')}.must_raise(Sequel::CheckConstraintViolation)
59
+ @db[:test].insert('2')
60
+ proc{@db[:test].insert('1')}.must_raise(Sequel::CheckConstraintViolation)
61
+ end
62
+
63
+ cspecify "should raise Sequel::ForeignKeyConstraintViolation when a foreign key constraint is violated", [:jdbc, :sqlite] do
64
+ @db.create_table!(:test, :engine=>:InnoDB){primary_key :id}
65
+ @db.create_table!(:test2, :engine=>:InnoDB){foreign_key :tid, :test}
66
+ proc{@db[:test2].insert(:tid=>1)}.must_raise(Sequel::ForeignKeyConstraintViolation)
67
+ @db[:test].insert
68
+ @db[:test2].insert(:tid=>1)
69
+ proc{@db[:test2].where(:tid=>1).update(:tid=>3)}.must_raise(Sequel::ForeignKeyConstraintViolation)
70
+ proc{@db[:test].where(:id=>1).delete}.must_raise(Sequel::ForeignKeyConstraintViolation)
71
+ end
72
+
73
+ cspecify "should raise Sequel::NotNullConstraintViolation when a not null constraint is violated", [:jdbc, :sqlite] do
74
+ @db.create_table!(:test){Integer :a, :null=>false}
75
+ proc{@db[:test].insert(:a=>nil)}.must_raise(Sequel::NotNullConstraintViolation)
76
+ unless @db.database_type == :mysql
77
+ # Broken mysql silently changes NULL here to 0, and doesn't raise an exception.
78
+ @db[:test].insert(2)
79
+ proc{@db[:test].update(:a=>nil)}.must_raise(Sequel::NotNullConstraintViolation)
80
+ end
81
+ end
82
+ end
83
+
84
+ it "should store underlying wrapped exception in Sequel::DatabaseError" do
85
+ begin
86
+ @db << "SELECT"
87
+ rescue Sequel::DatabaseError=>e
88
+ if defined?(Java::JavaLang::Exception)
89
+ (e.wrapped_exception.is_a?(Exception) || e.wrapped_exception.is_a?(Java::JavaLang::Exception)).must_equal true
90
+ else
91
+ e.wrapped_exception.must_be_kind_of(Exception)
92
+ end
93
+ end
94
+ end
95
+
96
+ it "should not have the connection pool swallow non-StandardError based exceptions" do
97
+ proc{@db.pool.hold{raise Interrupt, "test"}}.must_raise(Interrupt)
98
+ end
99
+
100
+ it "should be able to disconnect connections more than once without exceptions" do
101
+ conn = @db.synchronize{|c| c}
102
+ @db.disconnect
103
+ @db.disconnect_connection(conn)
104
+ @db.disconnect_connection(conn)
105
+ end
106
+
107
+ it "should provide ability to check connections for validity" do
108
+ conn = @db.synchronize{|c| c}
109
+ @db.valid_connection?(conn).must_equal true
110
+ @db.disconnect
111
+ @db.valid_connection?(conn).must_equal false
112
+ end
113
+ end
@@ -0,0 +1,1997 @@
1
+ require_relative "spec_helper"
2
+
3
+ describe "Simple Dataset operations" do
4
+ before do
5
+ @db = DB
6
+ @db.create_table!(:items) do
7
+ primary_key :id
8
+ Integer :number
9
+ end
10
+ @ds = @db[:items]
11
+ @ds.insert(:number=>10)
12
+ end
13
+ after do
14
+ @db.drop_table?(:items)
15
+ end
16
+
17
+ it "should support sequential primary keys" do
18
+ @ds.insert(:number=>20)
19
+ @ds.insert(:number=>30)
20
+ @ds.order(:number).all.must_equal [
21
+ {:id => 1, :number=>10},
22
+ {:id => 2, :number=>20},
23
+ {:id => 3, :number=>30} ]
24
+ end
25
+
26
+ it "should support sequential primary keys with a Bignum" do
27
+ @db.create_table!(:items) do
28
+ primary_key :id, :type=>:Bignum
29
+ Integer :number
30
+ end
31
+ @ds.insert(:number=>20)
32
+ @ds.insert(:number=>30)
33
+ @ds.order(:number).all.must_equal [{:id => 1, :number=>20}, {:id => 2, :number=>30}]
34
+ end
35
+
36
+ cspecify "should insert with a primary key specified", :db2, :mssql do
37
+ @ds.insert(:id=>100, :number=>20)
38
+ @ds.count.must_equal 2
39
+ @ds.order(:id).all.must_equal [{:id=>1, :number=>10}, {:id=>100, :number=>20}]
40
+ end
41
+
42
+ it "should support ordering considering NULLS" do
43
+ @ds.insert(:number=>20)
44
+ @ds.insert(:number=>nil)
45
+ @ds.order(Sequel[:number].asc(:nulls=>:first)).select_map(:number).must_equal [nil, 10, 20]
46
+ @ds.order(Sequel[:number].asc(:nulls=>:last)).select_map(:number).must_equal [10, 20, nil]
47
+ @ds.order(Sequel[:number].desc(:nulls=>:first)).select_map(:number).must_equal [nil, 20, 10]
48
+ @ds.order(Sequel[:number].desc(:nulls=>:last)).select_map(:number).must_equal [20, 10, nil]
49
+ end
50
+
51
+ it "should have insert return primary key value" do
52
+ @ds.insert(:number=>20).must_equal 2
53
+ @ds.filter(:id=>2).first[:number].must_equal 20
54
+ end
55
+
56
+ it "should have insert work correctly with static SQL" do
57
+ @db["INSERT INTO #{@ds.literal(:items)} (#{@ds.literal(:number)}) VALUES (20)"].insert
58
+ @ds.filter(:id=>2).first[:number].must_equal 20
59
+ end
60
+
61
+ it "should join correctly" do
62
+ @ds.join(Sequel[:items].as(:b), :id=>:id).select_all(:items).all.must_equal [{:id=>1, :number=>10}]
63
+ end
64
+
65
+ it "should handle LATERAL subqueries correctly" do
66
+ @ds.insert(:number=>20)
67
+ @ds.from(Sequel[:items].as(:i), @ds.where(Sequel[:items][:number]=>Sequel[:i][:number]).lateral).select_order_map([Sequel[:i][:number].as(:n), Sequel[:t1][:number]]).must_equal [[10, 10], [20, 20]]
68
+ @ds.from(Sequel[:items].as(:i)).cross_join(@ds.where(Sequel[:items][:number]=>Sequel[:i][:number]).lateral).select_order_map([Sequel[:i][:number].as(:n), Sequel[:t1][:number]]).must_equal [[10, 10], [20, 20]]
69
+ @ds.from(Sequel[:items].as(:i)).join(@ds.where(Sequel[:items][:number]=>Sequel[:i][:number]).lateral, 1=>1).select_order_map([Sequel[:i][:number].as(:n), Sequel[:t1][:number]]).must_equal [[10, 10], [20, 20]]
70
+ @ds.from(Sequel[:items].as(:i)).join(@ds.where(Sequel[:items][:number]=>Sequel[:i][:number]).lateral, 1=>0).select_order_map([Sequel[:i][:number].as(:n), Sequel[:t1][:number]]).must_equal []
71
+ @ds.from(Sequel[:items].as(:i)).left_join(@ds.from(Sequel[:items].as(:i2)).where(Sequel[:i2][:number]=>Sequel[:i][:number]).lateral, 1=>1).select_order_map([Sequel[:i][:number].as(:n), Sequel[:t1][:number]]).must_equal [[10, 10], [20, 20]]
72
+ @ds.from(Sequel[:items].as(:i)).left_join(@ds.from(Sequel[:items].as(:i2)).where(Sequel[:i2][:number]=>Sequel[:i][:number]).lateral, 1=>0).select_order_map([Sequel[:i][:number].as(:n), Sequel[:t1][:number]]).must_equal [[10, nil], [20, nil]]
73
+ end if DB.dataset.supports_lateral_subqueries?
74
+
75
+ it "should correctly deal with qualified columns and subselects" do
76
+ @ds.from_self(:alias=>:a).select(Sequel[:a][:id], Sequel.qualify(:a, :number)).all.must_equal [{:id=>1, :number=>10}]
77
+ @ds.join(@ds.as(:a), :id=>:id).select(Sequel[:a][:id], Sequel.qualify(:a, :number)).all.must_equal [{:id=>1, :number=>10}]
78
+ end
79
+
80
+ it "should graph correctly" do
81
+ a = [{:items=>{:id=>1, :number=>10}, :b=>{:id=>1, :number=>10}}]
82
+ pr = proc{|t| @ds.graph(t, {:id=>:id}, :table_alias=>:b).extension(:graph_each).all.must_equal a}
83
+ pr[:items]
84
+ pr[Sequel[:items].as(:foo)]
85
+ pr[Sequel.identifier(:items)]
86
+ pr[Sequel.identifier('items')]
87
+ pr[Sequel.as(:items, :foo)]
88
+ pr[Sequel.as(Sequel.identifier('items'), 'foo')]
89
+ end
90
+
91
+ it "should graph correctly with a subselect" do
92
+ @ds.from_self(:alias=>:items).graph(@ds.from_self, {:id=>:id}, :table_alias=>:b).extension(:graph_each).all.must_equal [{:items=>{:id=>1, :number=>10}, :b=>{:id=>1, :number=>10}}]
93
+ end
94
+
95
+ cspecify "should have insert work correctly when inserting a row with all NULL values", :hsqldb do
96
+ @db.create_table!(:items) do
97
+ String :name
98
+ Integer :number
99
+ end
100
+ @ds.insert
101
+ @ds.all.must_equal [{:name=>nil, :number=>nil}]
102
+ end
103
+
104
+ it "should delete correctly" do
105
+ @ds.filter(1=>1).delete.must_equal 1
106
+ @ds.count.must_equal 0
107
+ end
108
+
109
+ it "should update correctly" do
110
+ @ds.update(:number=>Sequel.expr(:number)+1).must_equal 1
111
+ @ds.all.must_equal [{:id=>1, :number=>11}]
112
+ end
113
+
114
+ it "should have update return the number of matched rows" do
115
+ @ds.update(:number=>:number).must_equal 1
116
+ @ds.filter(:id=>1).update(:number=>:number).must_equal 1
117
+ @ds.filter(:id=>2).update(:number=>:number).must_equal 0
118
+ @ds.all.must_equal [{:id=>1, :number=>10}]
119
+ end
120
+
121
+ it "should iterate over records as they come in" do
122
+ called = false
123
+ @ds.each{|row| called = true; row.must_equal(:id=>1, :number=>10)}
124
+ called.must_equal true
125
+ end
126
+
127
+ it "should support iterating over large numbers of records with paged_each" do
128
+ (2..100).each{|i| @ds.insert(:number=>i*10)}
129
+
130
+ [:offset, :filter].each do |strategy|
131
+ rows = []
132
+ @ds.order(:number).paged_each(:rows_per_fetch=>5, :strategy=>strategy){|row| rows << row}
133
+ rows.must_equal((1..100).map{|i| {:id=>i, :number=>i*10}})
134
+
135
+ rows = []
136
+ @ds.order(:number).paged_each(:rows_per_fetch=>3, :strategy=>strategy){|row| rows << row}
137
+ rows.must_equal((1..100).map{|i| {:id=>i, :number=>i*10}})
138
+
139
+ rows = []
140
+ @ds.order(:number, :id).paged_each(:rows_per_fetch=>5, :strategy=>strategy){|row| rows << row}
141
+ rows.must_equal((1..100).map{|i| {:id=>i, :number=>i*10}})
142
+
143
+ rows = []
144
+ @ds.reverse_order(:number).paged_each(:rows_per_fetch=>5, :strategy=>strategy){|row| rows << row}
145
+ rows.must_equal((1..100).map{|i| {:id=>i, :number=>i*10}}.reverse)
146
+
147
+ rows = []
148
+ @ds.order(Sequel.desc(:number), :id).paged_each(:rows_per_fetch=>5, :strategy=>strategy){|row| rows << row}
149
+ rows.must_equal((1..100).map{|i| {:id=>i, :number=>i*10}}.reverse)
150
+ end
151
+
152
+ rows = []
153
+ @ds.order(:number).limit(50, 25).paged_each(:rows_per_fetch=>3).each{|row| rows << row}
154
+ rows.must_equal((26..75).map{|i| {:id=>i, :number=>i*10}})
155
+
156
+ rows = []
157
+ @ds.order(:number).limit(50, 25).paged_each(:rows_per_fetch=>3){|row| rows << row}
158
+ rows.must_equal((26..75).map{|i| {:id=>i, :number=>i*10}})
159
+
160
+ rows = []
161
+ @ds.order(Sequel.*(:number, 2)).paged_each(:rows_per_fetch=>5){|row| rows << row}
162
+ rows.must_equal((1..100).map{|i| {:id=>i, :number=>i*10}})
163
+
164
+ rows = []
165
+ @ds.order(Sequel.*(:number, 2)).paged_each(:rows_per_fetch=>5, :strategy=>:filter, :filter_values=>proc{|row, _| [row[:number] * 2]}){|row| rows << row}
166
+ rows.must_equal((1..100).map{|i| {:id=>i, :number=>i*10}})
167
+
168
+ if DB.adapter_scheme == :jdbc
169
+ # check retrival with varying fetch sizes
170
+ array = (1..100).to_a
171
+ [1, 2, 5, 10, 33, 50, 100, 1000].each do |i|
172
+ @ds.with_fetch_size(i).select_order_map(:id).must_equal array
173
+ end
174
+ end
175
+ end
176
+
177
+ it "should fetch all results correctly" do
178
+ @ds.all.must_equal [{:id=>1, :number=>10}]
179
+ end
180
+
181
+ it "should skip locked rows correctly" do
182
+ @ds.insert(:number=>10)
183
+ q1 = Queue.new
184
+ q2 = Queue.new
185
+ ds = @ds.order(:id).for_update.skip_locked
186
+ begin
187
+ t = Thread.new{@db.transaction(:isolation=>:committed){q2.push(ds.get(:id)); q1.pop}}
188
+ q2.pop.must_equal 1
189
+ # Some databases do row level locking, others do page level locking
190
+ [2, nil].must_include @db.transaction(:isolation=>:committed){ds.get(:id)}
191
+ ensure
192
+ q1.push(nil)
193
+ t.join
194
+ # Keep only one active connection, as some other specs expect that
195
+ @db.disconnect
196
+ end
197
+ end if DB.dataset.supports_skip_locked?
198
+
199
+ it "should raise error instead of waiting for rows correctly" do
200
+ @ds.insert(:number=>10)
201
+ q1 = Queue.new
202
+ q2 = Queue.new
203
+ ds = @ds.order(:id).for_update.nowait
204
+ begin
205
+ t = Thread.new{@db.transaction(:isolation=>:committed){q2.push(ds.get(:id)); q1.pop}}
206
+ q2.pop.must_equal 1
207
+ # Some databases do row level locking, others do page level locking
208
+ proc{@db.transaction(:isolation=>:committed){ds.get(:id)}}.must_raise Sequel::DatabaseLockTimeout
209
+ ensure
210
+ q1.push(nil)
211
+ t.join
212
+ # Keep only one active connection, as some other specs expect that
213
+ @db.disconnect
214
+ end
215
+ end if DB.dataset.supports_nowait?
216
+
217
+ it "should raise exception if raising on duplication columns" do
218
+ proc{@ds.select_map([:id, :id])}.must_raise Sequel::DuplicateColumnError
219
+ end if DB.opts[:on_duplicate_columns] == :raise
220
+
221
+ it "should fetch a single row correctly" do
222
+ @ds.first.must_equal(:id=>1, :number=>10)
223
+ @ds.single_record.must_equal(:id=>1, :number=>10)
224
+ @ds.single_record!.must_equal(:id=>1, :number=>10)
225
+ end
226
+
227
+ it "should work correctly when returning from each without iterating over the whole result set" do
228
+ @ds.insert(:number=>20)
229
+ @ds.order(:id).each{|v| break v}.must_equal(:id=>1, :number=>10)
230
+ @ds.reverse(:id).each{|v| break v}.must_equal(:id=>2, :number=>20)
231
+ end
232
+
233
+ it "should fetch a single value correctly" do
234
+ @ds.get(:id).must_equal 1
235
+ @ds.select(:id).single_value.must_equal 1
236
+ @ds.select(:id).single_value!.must_equal 1
237
+ end
238
+
239
+ it "should have distinct work with limit" do
240
+ @ds.limit(1).distinct.all.must_equal [{:id=>1, :number=>10}]
241
+ end
242
+
243
+ it "should fetch correctly with a limit" do
244
+ @ds.order(:id).limit(2).all.must_equal [{:id=>1, :number=>10}]
245
+ @ds.insert(:number=>20)
246
+ @ds.order(:id).limit(1).all.must_equal [{:id=>1, :number=>10}]
247
+ @ds.order(:id).limit(2).all.must_equal [{:id=>1, :number=>10}, {:id=>2, :number=>20}]
248
+ end
249
+
250
+ it "should fetch correctly with a limit and offset" do
251
+ @ds.order(:id).limit(2, 0).all.must_equal [{:id=>1, :number=>10}]
252
+ @ds.order(:id).limit(2, 1).all.must_equal []
253
+ @ds.insert(:number=>20)
254
+ @ds.order(:id).limit(1, 1).all.must_equal [{:id=>2, :number=>20}]
255
+ @ds.order(:id).limit(2, 0).all.must_equal [{:id=>1, :number=>10}, {:id=>2, :number=>20}]
256
+ @ds.order(:id).limit(2, 1).all.must_equal [{:id=>2, :number=>20}]
257
+ end
258
+
259
+ it "should fetch correctly with just offset" do
260
+ @ds.order(:id).offset(0).all.must_equal [{:id=>1, :number=>10}]
261
+ @ds.order(:id).offset(1).all.must_equal []
262
+ @ds.insert(:number=>20)
263
+ @ds.order(:id).offset(0).all.must_equal [{:id=>1, :number=>10}, {:id=>2, :number=>20}]
264
+ @ds.order(:id).offset(1).all.must_equal [{:id=>2, :number=>20}]
265
+ @ds.order(:id).offset(2).all.must_equal []
266
+ end
267
+
268
+ it "should fetch correctly with a limit and offset using seperate methods" do
269
+ @ds.order(:id).limit(2).offset(0).all.must_equal [{:id=>1, :number=>10}]
270
+ @ds.order(:id).limit(2).offset(1).all.must_equal []
271
+ @ds.insert(:number=>20)
272
+ @ds.order(:id).limit(1).offset(1).all.must_equal [{:id=>2, :number=>20}]
273
+ @ds.order(:id).limit(2).offset(0).all.must_equal [{:id=>1, :number=>10}, {:id=>2, :number=>20}]
274
+ @ds.order(:id).limit(2).offset(1).all.must_equal [{:id=>2, :number=>20}]
275
+ end
276
+
277
+ it "should provide correct columns when using a limit and offset" do
278
+ ds = @ds.order(:id).limit(1, 1)
279
+ ds.all
280
+ ds.columns.must_equal [:id, :number]
281
+ @ds.order(:id).limit(1, 1).columns.must_equal [:id, :number]
282
+ end
283
+
284
+ it "should fetch correctly with a limit and offset for different combinations of from and join tables" do
285
+ @db.create_table!(:items2){primary_key :id2; Integer :number2}
286
+ @db[:items2].insert(:number2=>10)
287
+ @ds.from(:items, :items2).order(:id).limit(2, 0).all.must_equal [{:id=>1, :number=>10, :id2=>1, :number2=>10}]
288
+ @ds.from(Sequel[:items].as(:i), Sequel[:items2].as(:i2)).order(:id).limit(2, 0).all.must_equal [{:id=>1, :number=>10, :id2=>1, :number2=>10}]
289
+ @ds.cross_join(:items2).order(:id).limit(2, 0).all.must_equal [{:id=>1, :number=>10, :id2=>1, :number2=>10}]
290
+ @ds.from(Sequel[:items].as(:i)).cross_join(Sequel[:items2].as(:i2)).order(:id).limit(2, 0).all.must_equal [{:id=>1, :number=>10, :id2=>1, :number2=>10}]
291
+ @ds.cross_join(Sequel[:items2].as(:i)).cross_join(@db[:items2].select(Sequel[:id2].as(:id3), Sequel[:number2].as(:number3))).order(:id).limit(2, 0).all.must_equal [{:id=>1, :number=>10, :id2=>1, :number2=>10, :id3=>1, :number3=>10}]
292
+
293
+ @ds.from(:items, :items2).order(:id).limit(2, 1).all.must_equal []
294
+ @ds.from(Sequel[:items].as(:i), Sequel[:items2].as(:i2)).order(:id).limit(2, 1).all.must_equal []
295
+ @ds.cross_join(:items2).order(:id).limit(2, 1).all.must_equal []
296
+ @ds.from(Sequel[:items].as(:i)).cross_join(Sequel[:items2].as(:i2)).order(:id).limit(2, 1).all.must_equal []
297
+ @ds.cross_join(Sequel[:items2].as(:i)).cross_join(@db[:items2].select(Sequel[:id2].as(:id3), Sequel[:number2].as(:number3))).order(:id).limit(2, 1).all.must_equal []
298
+ @db.drop_table(:items2)
299
+ end
300
+
301
+ it "should fetch correctly with a limit and offset without an order" do
302
+ @ds.limit(2, 1).all.must_equal []
303
+ @ds.join(Sequel[:items].as(:i), :id=>:id).select(Sequel[:items][:id].as(:s), Sequel[:i][:id].as(:id2)).limit(2, 1).all.must_equal []
304
+ @ds.join(Sequel[:items].as(:i), :id=>:id).select(Sequel[:items][:id]).limit(2, 1).all.must_equal []
305
+ @ds.join(Sequel[:items].as(:i), :id=>:id).select(Sequel.qualify(:items, :id)).limit(2, 1).all.must_equal []
306
+ @ds.join(Sequel[:items].as(:i), :id=>:id).select(Sequel.qualify(:items, :id).as(:s)).limit(2, 1).all.must_equal []
307
+ end
308
+
309
+ it "should be orderable by column number" do
310
+ @ds.insert(:number=>20)
311
+ @ds.insert(:number=>10)
312
+ @ds.order(2, 1).select_map([:id, :number]).must_equal [[1, 10], [3, 10], [2, 20]]
313
+ end
314
+
315
+ it "should fetch correctly with a limit in an IN subselect" do
316
+ @ds.where(:id=>@ds.select(:id).order(:id).limit(2)).all.must_equal [{:id=>1, :number=>10}]
317
+ @ds.insert(:number=>20)
318
+ @ds.where(:id=>@ds.select(:id).order(:id).limit(1)).all.must_equal [{:id=>1, :number=>10}]
319
+ @ds.where(:id=>@ds.select(:id).order(:id).limit(2)).order(:id).all.must_equal [{:id=>1, :number=>10}, {:id=>2, :number=>20}]
320
+ end
321
+
322
+ it "should fetch correctly with a limit and offset in an IN subselect" do
323
+ @ds.where(:id=>@ds.select(:id).order(:id).limit(2, 0)).all.must_equal [{:id=>1, :number=>10}]
324
+ @ds.where(:id=>@ds.select(:id).order(:id).limit(2, 1)).all.must_equal []
325
+ @ds.insert(:number=>20)
326
+ @ds.where(:id=>@ds.select(:id).order(:id).limit(1, 1)).all.must_equal [{:id=>2, :number=>20}]
327
+ @ds.where(:id=>@ds.select(:id).order(:id).limit(2, 0)).order(:id).all.must_equal [{:id=>1, :number=>10}, {:id=>2, :number=>20}]
328
+ @ds.where(:id=>@ds.select(:id).order(:id).limit(2, 1)).all.must_equal [{:id=>2, :number=>20}]
329
+ end
330
+
331
+ it "should fetch correctly when using limit and offset in a from_self" do
332
+ @ds.insert(:number=>20)
333
+ ds = @ds.order(:id).limit(1, 1).from_self
334
+ ds.all.must_equal [{:number=>20, :id=>2}]
335
+ ds.columns.must_equal [:id, :number]
336
+ @ds.order(:id).limit(1, 1).columns.must_equal [:id, :number]
337
+ end
338
+
339
+ it "should fetch correctly when using nested limit and offset in a from_self" do
340
+ @ds.insert(:number=>20)
341
+ @ds.insert(:number=>30)
342
+ ds = @ds.order(:id).limit(2, 1).from_self.reverse_order(:number).limit(1, 1)
343
+ ds.all.must_equal [{:number=>20, :id=>2}]
344
+ ds.columns.must_equal [:id, :number]
345
+ @ds.order(:id).limit(2, 1).from_self.reverse_order(:number).limit(1, 1).columns.must_equal [:id, :number]
346
+
347
+ ds = @ds.order(:id).limit(3, 1).from_self.limit(2, 1).from_self.limit(1, 1)
348
+ ds.all.must_equal []
349
+ ds.columns.must_equal [:id, :number]
350
+
351
+ @ds.insert(:number=>40)
352
+ ds = @ds.order(:id).limit(3, 1).from_self.reverse_order(:number).limit(2, 1).from_self.reverse_order(:id).limit(1, 1)
353
+ ds.all.must_equal [{:number=>20, :id=>2}]
354
+ ds.columns.must_equal [:id, :number]
355
+ end
356
+
357
+ it "should alias columns correctly" do
358
+ @ds.select(Sequel[:id].as(:x), Sequel[:number].as(:n)).first.must_equal(:x=>1, :n=>10)
359
+ end
360
+
361
+ it "should support table aliases with column aliases" do
362
+ DB.from(@ds.as(:i, [:x, :n])).first.must_equal(:x=>1, :n=>10)
363
+ end if DB.dataset.supports_derived_column_lists?
364
+
365
+ it "should handle true/false properly" do
366
+ @ds.filter(Sequel::TRUE).select_map(:number).must_equal [10]
367
+ @ds.filter(Sequel::FALSE).select_map(:number).must_equal []
368
+ @ds.filter(true).select_map(:number).must_equal [10]
369
+ @ds.filter(false).select_map(:number).must_equal []
370
+ end
371
+
372
+ it "should support the sql_comments extension" do
373
+ ds = @ds.extension(:sql_comments).comment("Some\rComment\r\nHere")
374
+ ds.all.must_equal [{:id=>1, :number=>10}]
375
+ ds.insert(:number=>20).must_equal 2
376
+ ds.update(:number=>30).must_equal 2
377
+ ds.delete.must_equal 2
378
+ end
379
+ end
380
+
381
+ describe "Simple dataset operations with nasty table names" do
382
+ before do
383
+ @db = DB
384
+ @table = :"i`t' [e]\"m\\s"
385
+ end
386
+
387
+ cspecify "should work correctly", :oracle, :sqlanywhere, [:jdbc, :mssql] do
388
+ @db.create_table!(@table) do
389
+ primary_key :id
390
+ Integer :number
391
+ end
392
+ @ds = @db[@table]
393
+ @ds.insert(:number=>10).must_equal 1
394
+ @ds.all.must_equal [{:id=>1, :number=>10}]
395
+ @ds.update(:number=>20).must_equal 1
396
+ @ds.all.must_equal [{:id=>1, :number=>20}]
397
+ @ds.delete.must_equal 1
398
+ @ds.count.must_equal 0
399
+ @db.drop_table?(@table)
400
+ end
401
+ end if DB.dataset.quote_identifiers?
402
+
403
+ describe Sequel::Dataset do
404
+ before do
405
+ DB.create_table!(:test) do
406
+ String :name
407
+ Integer :value
408
+ end
409
+ @d = DB[:test]
410
+ end
411
+ after do
412
+ DB.drop_table?(:test)
413
+ end
414
+
415
+ it "should return the correct record count" do
416
+ @d.count.must_equal 0
417
+ @d.insert(:name => 'abc', :value => 123)
418
+ @d.insert(:name => 'abc', :value => 456)
419
+ @d.insert(:name => 'def', :value => nil)
420
+ 5.times do
421
+ @d.count.must_equal 3
422
+ @d.count(:name).must_equal 3
423
+ @d.count(:value).must_equal 2
424
+ end
425
+ end
426
+
427
+ it "should handle functions with identifier names correctly" do
428
+ @d.insert(:name => 'abc', :value => 6)
429
+ @d.get{sum.function(:value)}.must_equal 6
430
+ end
431
+
432
+ it "should handle aggregate methods on limited datasets correctly" do
433
+ @d.insert(:name => 'abc', :value => 6)
434
+ @d.insert(:name => 'bcd', :value => 12)
435
+ @d.insert(:name => 'def', :value => 18)
436
+ @d = @d.order(:name).limit(2)
437
+ @d.count.must_equal 2
438
+ @d.avg(:value).to_i.must_equal 9
439
+ @d.min(:value).to_i.must_equal 6
440
+ @d.reverse.min(:value).to_i.must_equal 12
441
+ @d.max(:value).to_i.must_equal 12
442
+ @d.sum(:value).to_i.must_equal 18
443
+ @d.extension(:sequel_4_dataset_methods).interval(:value).to_i.must_equal 6
444
+ end
445
+
446
+ it "should return the correct records" do
447
+ @d.to_a.must_equal []
448
+ @d.insert(:name => 'abc', :value => 123)
449
+ @d.insert(:name => 'abc', :value => 456)
450
+ @d.insert(:name => 'def', :value => 789)
451
+
452
+ @d.order(:value).to_a.must_equal [
453
+ {:name => 'abc', :value => 123},
454
+ {:name => 'abc', :value => 456},
455
+ {:name => 'def', :value => 789}
456
+ ]
457
+ end
458
+
459
+ it "should update records correctly" do
460
+ @d.insert(:name => 'abc', :value => 123)
461
+ @d.insert(:name => 'abc', :value => 456)
462
+ @d.insert(:name => 'def', :value => 789)
463
+ @d.filter(:name => 'abc').update(:value => 530)
464
+ @d[:name => 'def'][:value].must_equal 789
465
+ @d.filter(:value => 530).count.must_equal 2
466
+ end
467
+
468
+ it "should delete records correctly" do
469
+ @d.insert(:name => 'abc', :value => 123)
470
+ @d.insert(:name => 'abc', :value => 456)
471
+ @d.insert(:name => 'def', :value => 789)
472
+ @d.filter(:name => 'abc').delete
473
+ @d.count.must_equal 1
474
+ @d.first[:name].must_equal 'def'
475
+ end
476
+
477
+ it "should be able to truncate the table" do
478
+ @d.insert(:name => 'abc', :value => 123)
479
+ @d.insert(:name => 'abc', :value => 456)
480
+ @d.insert(:name => 'def', :value => 789)
481
+ @d.count.must_equal 3
482
+ @d.truncate.must_be_nil
483
+ @d.count.must_equal 0
484
+ end
485
+
486
+ it "should be able to literalize booleans" do
487
+ @d.literal(true)
488
+ @d.literal(false)
489
+ end
490
+ end
491
+
492
+ describe Sequel::Database do
493
+ it "should correctly escape strings" do
494
+ ["\\\n",
495
+ "\\\\\n",
496
+ "\\\r\n",
497
+ "\\\\\r\n",
498
+ "\\\\\n\n",
499
+ "\\\\\r\n\r\n",
500
+ "\\dingo",
501
+ "\\'dingo",
502
+ "\\\\''dingo",
503
+ ].each do |str|
504
+ DB.get(Sequel.cast(str, String)).must_equal str
505
+ str = "1#{str}1"
506
+ DB.get(Sequel.cast(str, String)).must_equal str
507
+ str = "#{str}#{str}"
508
+ DB.get(Sequel.cast(str, String)).must_equal str
509
+ end
510
+ end
511
+
512
+ cspecify "should properly escape binary data", [:odbc], [:jdbc, :hsqldb], :oracle do
513
+ DB.get(Sequel.cast(Sequel.blob("\1\2\3"), File).as(:a)).must_equal "\1\2\3"
514
+ end
515
+
516
+ cspecify "should properly handle empty blobs", [:jdbc, :hsqldb], :oracle do
517
+ DB.get(Sequel.cast(Sequel.blob(""), File).as(:a)).must_equal ""
518
+ end
519
+
520
+ cspecify "should properly escape identifiers", :db2, :oracle, :sqlanywhere do
521
+ DB.create_table!(:"\\'\"[]"){Integer :id}
522
+ DB.drop_table(:"\\'\"[]")
523
+ end
524
+
525
+ it "should have a working table_exists?" do
526
+ t = :basdfdsafsaddsaf
527
+ DB.drop_table?(t)
528
+ DB.table_exists?(t).must_equal false
529
+ DB.create_table(t){Integer :a}
530
+ begin
531
+ DB.table_exists?(t).must_equal true
532
+ ensure
533
+ DB.drop_table(t)
534
+ end
535
+ end
536
+ end
537
+
538
+ describe Sequel::Dataset do
539
+ before do
540
+ DB.create_table! :items do
541
+ primary_key :id
542
+ Integer :value
543
+ end
544
+ @d = DB[:items]
545
+ @d.insert(:value => 123)
546
+ @d.insert(:value => 456)
547
+ @d.insert(:value => 789)
548
+ end
549
+ after do
550
+ DB.drop_table?(:items)
551
+ end
552
+
553
+ it "should correctly return avg" do
554
+ @d.avg(:value).to_i.must_equal 456
555
+ end
556
+
557
+ it "should correctly return sum" do
558
+ @d.sum(:value).to_i.must_equal 1368
559
+ end
560
+
561
+ it "should correctly return max" do
562
+ @d.max(:value).to_i.must_equal 789
563
+ end
564
+
565
+ it "should correctly return min" do
566
+ @d.min(:value).to_i.must_equal 123
567
+ end
568
+ end
569
+
570
+ describe "Simple Dataset operations" do
571
+ before do
572
+ DB.create_table!(:items) do
573
+ Integer :number
574
+ TrueClass :flag
575
+ end
576
+ @ds = DB[:items]
577
+ end
578
+ after do
579
+ DB.drop_table?(:items)
580
+ end
581
+
582
+ it "should deal with boolean conditions correctly" do
583
+ @ds.insert(:number=>1, :flag=>true)
584
+ @ds.insert(:number=>2, :flag=>false)
585
+ @ds.insert(:number=>3, :flag=>nil)
586
+ @ds = @ds.order(:number)
587
+ @ds.filter(:flag=>true).map(:number).must_equal [1]
588
+ @ds.filter(:flag=>false).map(:number).must_equal [2]
589
+ @ds.filter(:flag=>nil).map(:number).must_equal [3]
590
+ @ds.exclude(:flag=>true).map(:number).must_equal [2, 3]
591
+ @ds.exclude(:flag=>false).map(:number).must_equal [1, 3]
592
+ @ds.exclude(:flag=>nil).map(:number).must_equal [1, 2]
593
+ end
594
+ end
595
+
596
+ describe "Simple Dataset operations in transactions" do
597
+ before do
598
+ DB.create_table!(:items) do
599
+ primary_key :id
600
+ integer :number
601
+ end
602
+ @ds = DB[:items]
603
+ end
604
+ after do
605
+ DB.drop_table?(:items)
606
+ end
607
+
608
+ cspecify "should insert correctly with a primary key specified inside a transaction", :db2, :mssql do
609
+ DB.transaction do
610
+ @ds.insert(:id=>100, :number=>20)
611
+ @ds.count.must_equal 1
612
+ @ds.order(:id).all.must_equal [{:id=>100, :number=>20}]
613
+ end
614
+ end
615
+
616
+ it "should have insert return primary key value inside a transaction" do
617
+ DB.transaction do
618
+ @ds.insert(:number=>20).must_equal 1
619
+ @ds.count.must_equal 1
620
+ @ds.order(:id).all.must_equal [{:id=>1, :number=>20}]
621
+ end
622
+ end
623
+
624
+ it "should support for_update" do
625
+ DB.transaction{@ds.for_update.all.must_equal []}
626
+ end
627
+ end
628
+
629
+ describe "Dataset UNION, EXCEPT, and INTERSECT" do
630
+ before do
631
+ DB.create_table!(:i1){integer :number}
632
+ DB.create_table!(:i2){integer :number}
633
+ @ds1 = DB[:i1]
634
+ @ds1.insert(:number=>10)
635
+ @ds1.insert(:number=>20)
636
+ @ds2 = DB[:i2]
637
+ @ds2.insert(:number=>10)
638
+ @ds2.insert(:number=>30)
639
+ end
640
+ after do
641
+ DB.drop_table?(:i1, :i2, :i3)
642
+ end
643
+
644
+ it "should give the correct results for UNION with an existing order" do
645
+ @ds1.order(:number).union(@ds2).order(:number).map{|x| x[:number].to_s}.must_equal %w'10 20 30'
646
+ end
647
+
648
+ it "should give the correct results for simple UNION, EXCEPT, and INTERSECT" do
649
+ @ds1.union(@ds2).order(:number).map{|x| x[:number].to_s}.must_equal %w'10 20 30'
650
+ if @ds1.supports_intersect_except?
651
+ @ds1.except(@ds2).order(:number).map{|x| x[:number].to_s}.must_equal %w'20'
652
+ @ds1.intersect(@ds2).order(:number).map{|x| x[:number].to_s}.must_equal %w'10'
653
+ end
654
+ end
655
+
656
+ it "should give the correct results for UNION, EXCEPT, and INTERSECT when used with ordering and limits and offsets" do
657
+ [%w'10 30', %w'10 20 30'].must_include @ds1.limit(1).union(@ds2).order(:number).map{|x| x[:number].to_s}
658
+ [%w'10 30', %w'10 20 30'].must_include @ds1.offset(1).union(@ds2).order(:number).map{|x| x[:number].to_s}
659
+
660
+ @ds1.insert(:number=>8)
661
+ @ds2.insert(:number=>9)
662
+ @ds1.insert(:number=>38)
663
+ @ds2.insert(:number=>39)
664
+
665
+ @ds1.reverse_order(:number).union(@ds2).order(:number).map{|x| x[:number].to_s}.must_equal %w'8 9 10 20 30 38 39'
666
+ @ds1.union(@ds2.reverse_order(:number)).order(:number).map{|x| x[:number].to_s}.must_equal %w'8 9 10 20 30 38 39'
667
+
668
+ @ds1.reverse_order(:number).limit(1).union(@ds2).order(:number).map{|x| x[:number].to_s}.must_equal %w'9 10 30 38 39'
669
+ @ds2.reverse_order(:number).limit(1).union(@ds1).order(:number).map{|x| x[:number].to_s}.must_equal %w'8 10 20 38 39'
670
+ @ds1.reverse_order(:number).limit(1, 1).union(@ds2).order(:number).map{|x| x[:number].to_s}.must_equal %w'9 10 20 30 39'
671
+ @ds2.reverse_order(:number).limit(1, 1).union(@ds1).order(:number).map{|x| x[:number].to_s}.must_equal %w'8 10 20 30 38'
672
+ @ds1.reverse_order(:number).offset(1).union(@ds2).order(:number).map{|x| x[:number].to_s}.must_equal %w'8 9 10 20 30 39'
673
+ @ds2.reverse_order(:number).offset(1).union(@ds1).order(:number).map{|x| x[:number].to_s}.must_equal %w'8 9 10 20 30 38'
674
+
675
+ @ds1.union(@ds2.order(:number).limit(1)).order(:number).map{|x| x[:number].to_s}.must_equal %w'8 9 10 20 38'
676
+ @ds2.union(@ds1.order(:number).limit(1)).order(:number).map{|x| x[:number].to_s}.must_equal %w'8 9 10 30 39'
677
+ @ds1.union(@ds2.order(:number).limit(1, 1)).order(:number).map{|x| x[:number].to_s}.must_equal %w'8 10 20 38'
678
+ @ds2.union(@ds1.order(:number).limit(1, 1)).order(:number).map{|x| x[:number].to_s}.must_equal %w'9 10 30 39'
679
+ @ds1.union(@ds2.order(:number).offset(1)).order(:number).map{|x| x[:number].to_s}.must_equal %w'8 10 20 30 38 39'
680
+ @ds2.union(@ds1.order(:number).offset(1)).order(:number).map{|x| x[:number].to_s}.must_equal %w'9 10 20 30 38 39'
681
+
682
+ @ds1.union(@ds2).limit(2).order(:number).map{|x| x[:number].to_s}.must_equal %w'8 9'
683
+ @ds2.union(@ds1).reverse_order(:number).limit(2).map{|x| x[:number].to_s}.must_equal %w'39 38'
684
+ @ds1.union(@ds2).limit(2, 1).order(:number).map{|x| x[:number].to_s}.must_equal %w'9 10'
685
+ @ds2.union(@ds1).reverse_order(:number).limit(2, 1).map{|x| x[:number].to_s}.must_equal %w'38 30'
686
+ @ds1.union(@ds2).offset(1).order(:number).map{|x| x[:number].to_s}.must_equal %w'9 10 20 30 38 39'
687
+ @ds2.union(@ds1).reverse_order(:number).offset(1).map{|x| x[:number].to_s}.must_equal %w'38 30 20 10 9 8'
688
+
689
+ @ds1.reverse_order(:number).limit(2).union(@ds2.reverse_order(:number).limit(2)).order(:number).limit(3).map{|x| x[:number].to_s}.must_equal %w'20 30 38'
690
+ @ds2.order(:number).limit(2).union(@ds1.order(:number).limit(2)).reverse_order(:number).limit(3).map{|x| x[:number].to_s}.must_equal %w'10 9 8'
691
+ @ds1.reverse_order(:number).limit(2, 1).union(@ds2.reverse_order(:number).limit(2, 1)).order(:number).limit(3, 1).map{|x| x[:number].to_s}.must_equal %w'20 30'
692
+ @ds2.order(:number).limit(2, 1).union(@ds1.order(:number).limit(2, 1)).reverse_order(:number).limit(3, 1).map{|x| x[:number].to_s}.must_equal %w'20 10'
693
+ @ds1.reverse_order(:number).offset(1).union(@ds2.reverse_order(:number).offset(1)).order(:number).offset(1).map{|x| x[:number].to_s}.must_equal %w'9 10 20 30'
694
+ @ds2.order(:number).offset(1).union(@ds1.order(:number).offset(1)).reverse_order(:number).offset(1).map{|x| x[:number].to_s}.must_equal %w'38 30 20 10'
695
+ end
696
+
697
+ it "should give the correct results for compound UNION, EXCEPT, and INTERSECT" do
698
+ DB.create_table!(:i3){integer :number}
699
+ @ds3 = DB[:i3]
700
+ @ds3.insert(:number=>10)
701
+ @ds3.insert(:number=>40)
702
+
703
+ @ds1.union(@ds2).union(@ds3).order(:number).map{|x| x[:number].to_s}.must_equal %w'10 20 30 40'
704
+ @ds1.union(@ds2.union(@ds3)).order(:number).map{|x| x[:number].to_s}.must_equal %w'10 20 30 40'
705
+ if @ds1.supports_intersect_except?
706
+ @ds1.union(@ds2).except(@ds3).order(:number).map{|x| x[:number].to_s}.must_equal %w'20 30'
707
+ @ds1.union(@ds2.except(@ds3)).order(:number).map{|x| x[:number].to_s}.must_equal %w'10 20 30'
708
+ @ds1.union(@ds2).intersect(@ds3).order(:number).map{|x| x[:number].to_s}.must_equal %w'10 '
709
+ @ds1.union(@ds2.intersect(@ds3)).order(:number).map{|x| x[:number].to_s}.must_equal %w'10 20'
710
+
711
+ @ds1.except(@ds2).union(@ds3).order(:number).map{|x| x[:number].to_s}.must_equal %w'10 20 40'
712
+ @ds1.except(@ds2.union(@ds3)).order(:number).map{|x| x[:number].to_s}.must_equal %w'20'
713
+ @ds1.except(@ds2).except(@ds3).order(:number).map{|x| x[:number].to_s}.must_equal %w'20'
714
+ @ds1.except(@ds2.except(@ds3)).order(:number).map{|x| x[:number].to_s}.must_equal %w'10 20'
715
+ @ds1.except(@ds2).intersect(@ds3).order(:number).map{|x| x[:number].to_s}.must_equal %w''
716
+ @ds1.except(@ds2.intersect(@ds3)).order(:number).map{|x| x[:number].to_s}.must_equal %w'20'
717
+
718
+ @ds1.intersect(@ds2).union(@ds3).order(:number).map{|x| x[:number].to_s}.must_equal %w'10 40'
719
+ @ds1.intersect(@ds2.union(@ds3)).order(:number).map{|x| x[:number].to_s}.must_equal %w'10'
720
+ @ds1.intersect(@ds2).except(@ds3).order(:number).map{|x| x[:number].to_s}.must_equal %w''
721
+ @ds1.intersect(@ds2.except(@ds3)).order(:number).map{|x| x[:number].to_s}.must_equal %w''
722
+ @ds1.intersect(@ds2).intersect(@ds3).order(:number).map{|x| x[:number].to_s}.must_equal %w'10'
723
+ @ds1.intersect(@ds2.intersect(@ds3)).order(:number).map{|x| x[:number].to_s}.must_equal %w'10'
724
+ end
725
+ end
726
+ end
727
+
728
+ if DB.dataset.supports_cte?
729
+ describe "Common Table Expressions" do
730
+ before(:all) do
731
+ @db = DB
732
+ @db.create_table!(:i1){Integer :id; Integer :parent_id}
733
+ @ds = @db[:i1]
734
+ @ds.insert(:id=>1)
735
+ @ds.insert(:id=>2)
736
+ @ds.insert(:id=>3, :parent_id=>1)
737
+ @ds.insert(:id=>4, :parent_id=>1)
738
+ @ds.insert(:id=>5, :parent_id=>3)
739
+ @ds.insert(:id=>6, :parent_id=>5)
740
+ end
741
+ after(:all) do
742
+ @db.drop_table?(:i1)
743
+ end
744
+
745
+ it "should give correct results for WITH" do
746
+ @db[:t].with(:t, @ds.filter(:parent_id=>nil).select(:id)).order(:id).map(:id).must_equal [1, 2]
747
+ end
748
+
749
+ cspecify "should give correct results for recursive WITH", :db2 do
750
+ ds = @db[:t].select(Sequel[:i].as(:id), Sequel[:pi].as(:parent_id)).with_recursive(:t, @ds.filter(:parent_id=>nil), @ds.join(:t, :i=>:parent_id).select(Sequel[:i1][:id], Sequel[:i1][:parent_id]), :args=>[:i, :pi]).order(:id)
751
+ ds.all.must_equal [{:parent_id=>nil, :id=>1}, {:parent_id=>nil, :id=>2}, {:parent_id=>1, :id=>3}, {:parent_id=>1, :id=>4}, {:parent_id=>3, :id=>5}, {:parent_id=>5, :id=>6}]
752
+ ps = @db[:t].select(Sequel[:i].as(:id), Sequel[:pi].as(:parent_id)).with_recursive(:t, @ds.filter(:parent_id=>:$n), @ds.join(:t, :i=>:parent_id).filter(Sequel[:t][:i]=>:parent_id).select(Sequel[:i1][:id], Sequel[:i1][:parent_id]), :args=>[:i, :pi]).order(:id).prepare(:select, :cte_sel)
753
+ ps.call(:n=>1).must_equal [{:id=>3, :parent_id=>1}, {:id=>4, :parent_id=>1}, {:id=>5, :parent_id=>3}, {:id=>6, :parent_id=>5}]
754
+ ps.call(:n=>3).must_equal [{:id=>5, :parent_id=>3}, {:id=>6, :parent_id=>5}]
755
+ ps.call(:n=>5).must_equal [{:id=>6, :parent_id=>5}]
756
+ end
757
+
758
+ it "should support joining a dataset with a CTE" do
759
+ @ds.inner_join(@db[:t].with(:t, @ds.filter(:parent_id=>nil)), :id => :id).select(Sequel[:i1][:id]).order(Sequel[:i1][:id]).map(:id).must_equal [1,2]
760
+ @db[:t].with(:t, @ds).inner_join(@db[:s].with(:s, @ds.filter(:parent_id=>nil)), :id => :id).select(Sequel[:t][:id]).order(Sequel[:t][:id]).map(:id).must_equal [1,2]
761
+ end
762
+
763
+ it "should support a subselect in the FROM clause with a CTE" do
764
+ @ds.from(@db[:t].with(:t, @ds)).select_order_map(:id).must_equal [1,2,3,4,5,6]
765
+ @db[:t].with(:t, @ds).from_self.select_order_map(:id).must_equal [1,2,3,4,5,6]
766
+ end
767
+
768
+ it "should support using a CTE inside a CTE" do
769
+ @db[:s].with(:s, @db[:t].with(:t, @ds)).select_order_map(:id).must_equal [1,2,3,4,5,6]
770
+ @db[:s].with_recursive(:s, @db[:t].with(:t, @ds), @db[:t2].with(:t2, @ds)).select_order_map(:id).must_equal [1,1,2,2,3,3,4,4,5,5,6,6]
771
+ end
772
+
773
+ it "should support using a CTE inside UNION/EXCEPT/INTERSECT" do
774
+ @ds.union(@db[:t].with(:t, @ds)).select_order_map(:id).must_equal [1,2,3,4,5,6]
775
+ if @ds.supports_intersect_except?
776
+ @ds.intersect(@db[:t].with(:t, @ds)).select_order_map(:id).must_equal [1,2,3,4,5,6]
777
+ @ds.except(@db[:t].with(:t, @ds)).select_order_map(:id).must_equal []
778
+ end
779
+ end
780
+ end
781
+ end
782
+
783
+ if DB.dataset.supports_cte?(:insert) || DB.dataset.supports_cte?(:update) || DB.dataset.supports_cte?(:delete)
784
+ describe "Common Table Expressions" do
785
+ before do
786
+ @db = DB
787
+ @db.create_table!(:i1){Integer :id}
788
+ @ds = @db[:i1]
789
+ @ds2 = @ds.with(:t, @ds)
790
+ @ds.insert(:id=>1)
791
+ @ds.insert(:id=>2)
792
+ end
793
+ after do
794
+ @db.drop_table?(:i1)
795
+ end
796
+
797
+ it "should give correct results for WITH in insert" do
798
+ @ds2.insert(@db[:t])
799
+ @ds.select_order_map(:id).must_equal [1, 1, 2, 2]
800
+ end if DB.dataset.supports_cte?(:insert)
801
+
802
+ it "should give correct results for WITH in update" do
803
+ @ds2.filter(:id=>@db[:t].select{max(id)}).update(:id=>Sequel.+(:id, 1))
804
+ @ds.select_order_map(:id).must_equal [1, 3]
805
+ end if DB.dataset.supports_cte?(:update)
806
+
807
+ it "should give correct results for WITH in delete" do
808
+ @ds2.filter(:id=>@db[:t].select{max(id)}).delete
809
+ @ds.select_order_map(:id).must_equal [1]
810
+ end if DB.dataset.supports_cte?(:delete)
811
+
812
+ it "should support a subselect in an subquery used for INSERT" do
813
+ @db.transaction(:rollback=>:always) do
814
+ @ds.insert([:id], @db[:foo].with(:foo, @ds.select{(id + 10).as(:id)}))
815
+ @ds.select_order_map(:id).must_equal [1,2,11,12]
816
+ end
817
+ end
818
+ end
819
+ end
820
+
821
+ if DB.dataset.supports_returning?(:insert)
822
+ describe "RETURNING clauses in INSERT" do
823
+ before do
824
+ @db = DB
825
+ @db.create_table!(:i1){Integer :id; Integer :foo}
826
+ @ds = @db[:i1]
827
+ end
828
+ after do
829
+ @db.drop_table?(:i1)
830
+ end
831
+
832
+ it "should give correct results" do
833
+ h = {}
834
+ @ds.returning(:foo).insert(1, 2){|r| h = r}
835
+ h.must_equal(:foo=>2)
836
+ @ds.returning(:id).insert(3, 4){|r| h = r}
837
+ h.must_equal(:id=>3)
838
+ @ds.returning.insert(5, 6){|r| h = r}
839
+ h.must_equal(:id=>5, :foo=>6)
840
+ @ds.returning(Sequel[:id].as(:foo), Sequel[:foo].as(:id)).insert(7, 8){|r| h = r}
841
+ h.must_equal(:id=>8, :foo=>7)
842
+ end
843
+ end
844
+ end
845
+
846
+ if DB.dataset.supports_returning?(:update) # Assume DELETE support as well
847
+ describe "RETURNING clauses in UPDATE/DELETE" do
848
+ before do
849
+ @db = DB
850
+ @db.create_table!(:i1){Integer :id; Integer :foo}
851
+ @ds = @db[:i1]
852
+ @ds.insert(1, 2)
853
+ end
854
+ after do
855
+ @db.drop_table?(:i1)
856
+ end
857
+
858
+ it "should give correct results" do
859
+ h = []
860
+ @ds.returning(:foo).update(:id=>Sequel.+(:id, 1), :foo=>Sequel.*(:foo, 2)){|r| h << r}
861
+ h.must_equal [{:foo=>4}]
862
+ h.clear
863
+ @ds.returning(:id).update(:id=>Sequel.+(:id, 1), :foo=>Sequel.*(:foo, 2)){|r| h << r}
864
+ h.must_equal [{:id=>3}]
865
+ h.clear
866
+ @ds.returning.update(:id=>Sequel.+(:id, 1), :foo=>Sequel.*(:foo, 2)){|r| h << r}
867
+ h.must_equal [{:id=>4, :foo=>16}]
868
+ h.clear
869
+ @ds.returning(Sequel[:id].as(:foo), Sequel[:foo].as(:id)).update(:id=>Sequel.+(:id, 1), :foo=>Sequel.*(:foo, 2)){|r| h << r}
870
+ h.must_equal [{:id=>32, :foo=>5}]
871
+ h.clear
872
+
873
+ @ds.returning.delete{|r| h << r}
874
+ h.must_equal [{:id=>5, :foo=>32}]
875
+ h.clear
876
+ @ds.returning.delete{|r| h << r}
877
+ h.must_equal []
878
+ end
879
+ end
880
+ end
881
+
882
+ if DB.dataset.supports_window_functions?
883
+ describe "Window Functions" do
884
+ before(:all) do
885
+ @db = DB
886
+ @db.create_table!(:i1){Integer :id; Integer :group_id; Integer :amount}
887
+ @ds = @db[:i1].order(:id)
888
+ @ds.insert(:id=>1, :group_id=>1, :amount=>1)
889
+ @ds.insert(:id=>2, :group_id=>1, :amount=>10)
890
+ @ds.insert(:id=>3, :group_id=>1, :amount=>100)
891
+ @ds.insert(:id=>4, :group_id=>2, :amount=>1000)
892
+ @ds.insert(:id=>5, :group_id=>2, :amount=>10000)
893
+ @ds.insert(:id=>6, :group_id=>2, :amount=>100000)
894
+ end
895
+ after(:all) do
896
+ @db.drop_table?(:i1)
897
+ end
898
+
899
+ it "should give correct results for aggregate window functions" do
900
+ @ds.select(:id){sum(:amount).over(:partition=>:group_id).as(:sum)}.all.
901
+ must_equal [{:sum=>111, :id=>1}, {:sum=>111, :id=>2}, {:sum=>111, :id=>3}, {:sum=>111000, :id=>4}, {:sum=>111000, :id=>5}, {:sum=>111000, :id=>6}]
902
+ @ds.select(:id){sum(:amount).over.as(:sum)}.all.
903
+ must_equal [{:sum=>111111, :id=>1}, {:sum=>111111, :id=>2}, {:sum=>111111, :id=>3}, {:sum=>111111, :id=>4}, {:sum=>111111, :id=>5}, {:sum=>111111, :id=>6}]
904
+ end
905
+
906
+ it "should give correct results for ranking window functions with orders" do
907
+ @ds.select(:id){rank.function.over(:partition=>:group_id, :order=>:id).as(:rank)}.all.
908
+ must_equal [{:rank=>1, :id=>1}, {:rank=>2, :id=>2}, {:rank=>3, :id=>3}, {:rank=>1, :id=>4}, {:rank=>2, :id=>5}, {:rank=>3, :id=>6}]
909
+ @ds.select(:id){rank.function.over(:order=>id).as(:rank)}.all.
910
+ must_equal [{:rank=>1, :id=>1}, {:rank=>2, :id=>2}, {:rank=>3, :id=>3}, {:rank=>4, :id=>4}, {:rank=>5, :id=>5}, {:rank=>6, :id=>6}]
911
+ end
912
+
913
+ it "should give correct results for aggregate window functions with orders" do
914
+ @ds.select(:id){sum(:amount).over(:partition=>:group_id, :order=>:id).as(:sum)}.all.
915
+ must_equal [{:sum=>1, :id=>1}, {:sum=>11, :id=>2}, {:sum=>111, :id=>3}, {:sum=>1000, :id=>4}, {:sum=>11000, :id=>5}, {:sum=>111000, :id=>6}]
916
+ @ds.select(:id){sum(:amount).over(:order=>:id).as(:sum)}.all.
917
+ must_equal [{:sum=>1, :id=>1}, {:sum=>11, :id=>2}, {:sum=>111, :id=>3}, {:sum=>1111, :id=>4}, {:sum=>11111, :id=>5}, {:sum=>111111, :id=>6}]
918
+ @ds.select(:id){sum(:amount).over(:partition=>:group_id, :order=>id.desc, :frame=>:rows).as(:sum)}.all.
919
+ must_equal [{:sum=>111, :id=>1}, {:sum=>110, :id=>2}, {:sum=>100, :id=>3}, {:sum=>111000, :id=>4}, {:sum=>110000, :id=>5}, {:sum=>100000, :id=>6}]
920
+ end
921
+
922
+ it "should give correct results for aggregate window functions with frames" do
923
+ @ds.select(:id){sum(:amount).over(:partition=>:group_id, :order=>:id, :frame=>:all).as(:sum)}.all.
924
+ must_equal [{:sum=>111, :id=>1}, {:sum=>111, :id=>2}, {:sum=>111, :id=>3}, {:sum=>111000, :id=>4}, {:sum=>111000, :id=>5}, {:sum=>111000, :id=>6}]
925
+ @ds.select(:id){sum(:amount).over(:order=>:id, :frame=>:all).as(:sum)}.all.
926
+ must_equal [{:sum=>111111, :id=>1}, {:sum=>111111, :id=>2}, {:sum=>111111, :id=>3}, {:sum=>111111, :id=>4}, {:sum=>111111, :id=>5}, {:sum=>111111, :id=>6}]
927
+
928
+ @ds.select(:id){sum(:amount).over(:partition=>:group_id, :order=>:id, :frame=>:rows).as(:sum)}.all.
929
+ must_equal [{:sum=>1, :id=>1}, {:sum=>11, :id=>2}, {:sum=>111, :id=>3}, {:sum=>1000, :id=>4}, {:sum=>11000, :id=>5}, {:sum=>111000, :id=>6}]
930
+ @ds.select(:id){sum(:amount).over(:order=>:id, :frame=>:rows).as(:sum)}.all.
931
+ must_equal [{:sum=>1, :id=>1}, {:sum=>11, :id=>2}, {:sum=>111, :id=>3}, {:sum=>1111, :id=>4}, {:sum=>11111, :id=>5}, {:sum=>111111, :id=>6}]
932
+ end
933
+
934
+ it "should give correct results for aggregate window functions with ranges" do
935
+ @ds.select(:id){sum(:amount).over(:partition=>:group_id, :order=>:id, :frame=>:range).as(:sum)}.all.
936
+ must_equal [{:sum=>1, :id=>1}, {:sum=>11, :id=>2}, {:sum=>111, :id=>3}, {:sum=>1000, :id=>4}, {:sum=>11000, :id=>5}, {:sum=>111000, :id=>6}]
937
+ @ds.select(:id){sum(:amount).over(:partition=>:group_id, :order=>:group_id, :frame=>:range).as(:sum)}.all.
938
+ must_equal [{:sum=>111, :id=>1}, {:sum=>111, :id=>2}, {:sum=>111, :id=>3}, {:sum=>111000, :id=>4}, {:sum=>111000, :id=>5}, {:sum=>111000, :id=>6}]
939
+ end if DB.dataset.supports_window_function_frame_option?(:range)
940
+
941
+ it "should give correct results for aggregate window functions with groups" do
942
+ @ds.select(:id){sum(:amount).over(:partition=>:group_id, :order=>:id, :frame=>:groups).as(:sum)}.all.
943
+ must_equal [{:sum=>1, :id=>1}, {:sum=>11, :id=>2}, {:sum=>111, :id=>3}, {:sum=>1000, :id=>4}, {:sum=>11000, :id=>5}, {:sum=>111000, :id=>6}]
944
+ @ds.select(:id){sum(:amount).over(:order=>:group_id, :frame=>:groups).as(:sum)}.all.
945
+ must_equal [{:sum=>111, :id=>1}, {:sum=>111, :id=>2}, {:sum=>111, :id=>3}, {:sum=>111111, :id=>4}, {:sum=>111111, :id=>5}, {:sum=>111111, :id=>6}]
946
+ end if DB.dataset.supports_window_function_frame_option?(:groups)
947
+
948
+ if DB.dataset.supports_window_function_frame_option?(:offset)
949
+ it "should give correct results for aggregate window functions with offsets for ROWS" do
950
+ @ds.select(:id){sum(:amount).over(:order=>:id, :frame=>{:type=>:rows, :start=>1}).as(:sum)}.all.
951
+ must_equal [{:sum=>1, :id=>1}, {:sum=>11, :id=>2}, {:sum=>110, :id=>3}, {:sum=>1100, :id=>4}, {:sum=>11000, :id=>5}, {:sum=>110000, :id=>6}]
952
+ @ds.select(:id){sum(:amount).over(:order=>:id, :frame=>{:type=>:rows, :start=>1, :end=>1}).as(:sum)}.all.
953
+ must_equal [{:sum=>11, :id=>1}, {:sum=>111, :id=>2}, {:sum=>1110, :id=>3}, {:sum=>11100, :id=>4}, {:sum=>111000, :id=>5}, {:sum=>110000, :id=>6}]
954
+ @ds.select(:id){sum(:amount).over(:order=>:id, :frame=>{:type=>:rows, :start=>2, :end=>[1, :preceding]}).as(:sum)}.all.
955
+ must_equal [{:sum=>nil, :id=>1}, {:sum=>1, :id=>2}, {:sum=>11, :id=>3}, {:sum=>110, :id=>4}, {:sum=>1100, :id=>5}, {:sum=>11000, :id=>6}]
956
+ @ds.select(:id){sum(:amount).over(:order=>:id, :frame=>{:type=>:rows, :start=>[1, :following], :end=>2}).as(:sum)}.order(:id).all.
957
+ must_equal [{:sum=>110, :id=>1}, {:sum=>1100, :id=>2}, {:sum=>11000, :id=>3}, {:sum=>110000, :id=>4}, {:sum=>100000, :id=>5}, {:sum=>nil, :id=>6}]
958
+ end
959
+
960
+ cspecify "should give correct results for aggregate window functions with offsets for RANGES", :mssql, [proc{DB.sqlite_version < 32800}, :sqlite], [proc{DB.server_version < 110000}, :postgres] do
961
+ @ds.select(:id){sum(:amount).over(:order=>:group_id, :frame=>{:type=>:range, :start=>1}).as(:sum)}.all.
962
+ must_equal [{:sum=>111, :id=>1}, {:sum=>111, :id=>2}, {:sum=>111, :id=>3}, {:sum=>111111, :id=>4}, {:sum=>111111, :id=>5}, {:sum=>111111, :id=>6}]
963
+ @ds.select(:id){sum(:amount).over(:order=>:group_id, :frame=>{:type=>:range, :start=>0, :end=>1}).as(:sum)}.all.
964
+ must_equal [{:sum=>111111, :id=>1}, {:sum=>111111, :id=>2}, {:sum=>111111, :id=>3}, {:sum=>111000, :id=>4}, {:sum=>111000, :id=>5}, {:sum=>111000, :id=>6}]
965
+ @ds.select(:id){sum(:amount).over(:order=>:amount, :frame=>{:type=>:range, :start=>100, :end=>1000}).as(:sum)}.all.
966
+ must_equal [{:sum=>1111, :id=>1}, {:sum=>1111, :id=>2}, {:sum=>1111, :id=>3}, {:sum=>1000, :id=>4}, {:sum=>10000, :id=>5}, {:sum=>100000, :id=>6}]
967
+ end if DB.dataset.supports_window_function_frame_option?(:range)
968
+
969
+ it "should give correct results for aggregate window functions with offsets for GROUPS" do
970
+ @ds.select(:id){sum(:amount).over(:order=>:group_id, :frame=>{:type=>:groups, :start=>1}).as(:sum)}.all.
971
+ must_equal [{:sum=>111, :id=>1}, {:sum=>111, :id=>2}, {:sum=>111, :id=>3}, {:sum=>111111, :id=>4}, {:sum=>111111, :id=>5}, {:sum=>111111, :id=>6}]
972
+ @ds.select(:id){sum(:amount).over(:order=>:group_id, :frame=>{:type=>:groups, :start=>0, :end=>1}).as(:sum)}.all.
973
+ must_equal [{:sum=>111111, :id=>1}, {:sum=>111111, :id=>2}, {:sum=>111111, :id=>3}, {:sum=>111000, :id=>4}, {:sum=>111000, :id=>5}, {:sum=>111000, :id=>6}]
974
+ end if DB.dataset.supports_window_function_frame_option?(:groups)
975
+ end
976
+
977
+ it "should give correct results for aggregate window functions with exclusions" do
978
+ @ds.select(:id){sum(:amount).over(:order=>:id, :frame=>{:type=>:rows, :start=>:preceding, :exclude=>:current}).as(:sum)}.all.
979
+ must_equal [{:sum=>nil, :id=>1}, {:sum=>1, :id=>2}, {:sum=>11, :id=>3}, {:sum=>111, :id=>4}, {:sum=>1111, :id=>5}, {:sum=>11111, :id=>6}]
980
+ @ds.select(:id){sum(:amount).over(:order=>:group_id, :frame=>{:type=>:rows, :start=>:preceding, :exclude=>:group}).as(:sum)}.all.
981
+ must_equal [{:sum=>nil, :id=>1}, {:sum=>nil, :id=>2}, {:sum=>nil, :id=>3}, {:sum=>111, :id=>4}, {:sum=>111, :id=>5}, {:sum=>111, :id=>6}]
982
+ @ds.select(:id){sum(:amount).over(:order=>:group_id, :frame=>{:type=>:rows, :start=>:preceding, :exclude=>:ties}).as(:sum)}.all.
983
+ must_equal [{:sum=>1, :id=>1}, {:sum=>10, :id=>2}, {:sum=>100, :id=>3}, {:sum=>1111, :id=>4}, {:sum=>10111, :id=>5}, {:sum=>100111, :id=>6}]
984
+ @ds.select(:id){sum(:amount).over(:order=>:id, :frame=>{:type=>:rows, :start=>:preceding, :exclude=>:no_others}).as(:sum)}.all.
985
+ must_equal [{:sum=>1, :id=>1}, {:sum=>11, :id=>2}, {:sum=>111, :id=>3}, {:sum=>1111, :id=>4}, {:sum=>11111, :id=>5}, {:sum=>111111, :id=>6}]
986
+ end if DB.dataset.supports_window_function_frame_option?(:exclude)
987
+
988
+ it "should give correct results for window functions" do
989
+ @ds.window(:win, :partition=>:group_id, :order=>:id).select(:id){sum(:amount).over(:window=>win, :frame=>:rows).as(:sum)}.all.
990
+ must_equal [{:sum=>1, :id=>1}, {:sum=>11, :id=>2}, {:sum=>111, :id=>3}, {:sum=>1000, :id=>4}, {:sum=>11000, :id=>5}, {:sum=>111000, :id=>6}]
991
+ @ds.window(:win, :partition=>:group_id).select(:id){sum(:amount).over(:window=>win, :order=>id, :frame=>:rows).as(:sum)}.all.
992
+ must_equal [{:sum=>1, :id=>1}, {:sum=>11, :id=>2}, {:sum=>111, :id=>3}, {:sum=>1000, :id=>4}, {:sum=>11000, :id=>5}, {:sum=>111000, :id=>6}]
993
+ @ds.window(:win, {}).select(:id){sum(:amount).over(:window=>:win, :order=>id, :frame=>:rows).as(:sum)}.all.
994
+ must_equal [{:sum=>1, :id=>1}, {:sum=>11, :id=>2}, {:sum=>111, :id=>3}, {:sum=>1111, :id=>4}, {:sum=>11111, :id=>5}, {:sum=>111111, :id=>6}]
995
+ @ds.window(:win, :partition=>:group_id).select(:id){sum(:amount).over(:window=>:win, :order=>id, :frame=>:all).as(:sum)}.all.
996
+ must_equal [{:sum=>111, :id=>1}, {:sum=>111, :id=>2}, {:sum=>111, :id=>3}, {:sum=>111000, :id=>4}, {:sum=>111000, :id=>5}, {:sum=>111000, :id=>6}]
997
+ end if DB.dataset.supports_window_clause?
998
+ end
999
+ end
1000
+
1001
+ describe Sequel::SQL::Constants do
1002
+ before do
1003
+ @db = DB
1004
+ @ds = @db[:constants]
1005
+ @c = proc do |v|
1006
+ case v
1007
+ when Time
1008
+ v
1009
+ when DateTime, String
1010
+ Time.parse(v.to_s)
1011
+ else
1012
+ v
1013
+ end
1014
+ end
1015
+ @c2 = proc{|v| v.is_a?(Date) ? v : Date.parse(v) }
1016
+ end
1017
+ after do
1018
+ @db.drop_table?(:constants)
1019
+ end
1020
+
1021
+ cspecify "should have working CURRENT_DATE", [:jdbc, :sqlite], :oracle do
1022
+ @db.create_table!(:constants){Date :d}
1023
+ @ds.insert(:d=>Sequel::CURRENT_DATE)
1024
+ d = @c2[@ds.get(:d)]
1025
+ d.must_be_kind_of(Date)
1026
+ d.to_s.must_equal Date.today.to_s
1027
+ end
1028
+
1029
+ cspecify "should have working CURRENT_TIME", [:jdbc, :sqlite], [:mysql2], [:tinytds], [:ado] do
1030
+ @db.create_table!(:constants){Time :t, :only_time=>true}
1031
+ @ds.insert(:t=>Sequel::CURRENT_TIME)
1032
+ (Time.now - @c[@ds.get(:t)]).must_be_close_to 0, 60
1033
+ end
1034
+
1035
+ cspecify "should have working CURRENT_TIMESTAMP", [:jdbc, :sqlite] do
1036
+ @db.create_table!(:constants){DateTime :ts}
1037
+ @ds.insert(:ts=>Sequel::CURRENT_TIMESTAMP)
1038
+ (Time.now - @c[@ds.get(:ts)]).must_be_close_to 0, 60
1039
+ end
1040
+
1041
+ cspecify "should have working CURRENT_TIMESTAMP when used as a column default", [:jdbc, :sqlite] do
1042
+ @db.create_table!(:constants){DateTime :ts, :default=>Sequel::CURRENT_TIMESTAMP}
1043
+ @ds.insert
1044
+ (Time.now - @c[@ds.get(:ts)]).must_be_close_to 0, 60
1045
+ end
1046
+ end
1047
+
1048
+ describe "Sequel::Dataset#import and #multi_insert" do
1049
+ before(:all) do
1050
+ @db = DB
1051
+ @db.create_table!(:imp){Integer :i}
1052
+ @ids = @db[:imp].order(:i)
1053
+ end
1054
+ before do
1055
+ @ids.delete
1056
+ end
1057
+ after(:all) do
1058
+ @db.drop_table?(:imp)
1059
+ end
1060
+
1061
+ it "should import with multi_insert and an array of hashes" do
1062
+ @ids.multi_insert([{:i=>10}, {:i=>20}])
1063
+ @ids.all.must_equal [{:i=>10}, {:i=>20}]
1064
+ end
1065
+
1066
+ it "should import with an array of arrays of values" do
1067
+ @ids.import([:i], [[10], [20]])
1068
+ @ids.all.must_equal [{:i=>10}, {:i=>20}]
1069
+ end
1070
+
1071
+ it "should import with a dataset" do
1072
+ @db.create_table!(:exp2){Integer :i}
1073
+ @db[:exp2].import([:i], [[10], [20]])
1074
+ @ids.import([:i], @db[:exp2])
1075
+ @ids.all.must_equal [{:i=>10}, {:i=>20}]
1076
+ @db.drop_table(:exp2)
1077
+ end
1078
+
1079
+ it "should have import work with the :slice_size option" do
1080
+ @ids.import([:i], [[10], [20], [30]], :slice_size=>1)
1081
+ @ids.all.must_equal [{:i=>10}, {:i=>20}, {:i=>30}]
1082
+ @ids.delete
1083
+ @ids.import([:i], [[10], [20], [30]], :slice_size=>2)
1084
+ @ids.all.must_equal [{:i=>10}, {:i=>20}, {:i=>30}]
1085
+ @ids.delete
1086
+ @ids.import([:i], [[10], [20], [30]], :slice_size=>3)
1087
+ @ids.all.must_equal [{:i=>10}, {:i=>20}, {:i=>30}]
1088
+ end
1089
+
1090
+ it "should import many rows at once" do
1091
+ @ids.import([:i], (1..1000).to_a.map{|x| [x]})
1092
+ @ids.select_order_map(:i).must_equal((1..1000).to_a)
1093
+ end
1094
+ end
1095
+
1096
+ describe "Sequel::Dataset#import and #multi_insert :return=>:primary_key " do
1097
+ before do
1098
+ @db = DB
1099
+ @db.create_table!(:imp){primary_key :id; Integer :i}
1100
+ @ds = @db[:imp]
1101
+ end
1102
+ after do
1103
+ @db.drop_table?(:imp)
1104
+ end
1105
+
1106
+ it "should return primary key values" do
1107
+ @ds.multi_insert([{:i=>10}, {:i=>20}, {:i=>30}], :return=>:primary_key).must_equal [1, 2, 3]
1108
+ @ds.import([:i], [[40], [50], [60]], :return=>:primary_key).must_equal [4, 5, 6]
1109
+ @ds.order(:id).map([:id, :i]).must_equal [[1, 10], [2, 20], [3, 30], [4, 40], [5, 50], [6, 60]]
1110
+ end
1111
+
1112
+ it "should handle dataset with row_proc" do
1113
+ ds = @ds.with_row_proc(lambda{|h| Object.new})
1114
+ ds.multi_insert([{:i=>10}, {:i=>20}, {:i=>30}], :return=>:primary_key).must_equal [1, 2, 3]
1115
+ ds.import([:i], [[40], [50], [60]], :return=>:primary_key).must_equal [4, 5, 6]
1116
+ end
1117
+
1118
+ it "should return primary key values when :slice is used" do
1119
+ @ds.multi_insert([{:i=>10}, {:i=>20}, {:i=>30}], :return=>:primary_key, :slice=>2).must_equal [1, 2, 3]
1120
+ @ds.import([:i], [[40], [50], [60]], :return=>:primary_key, :slice=>2).must_equal [4, 5, 6]
1121
+ @ds.order(:id).map([:id, :i]).must_equal [[1, 10], [2, 20], [3, 30], [4, 40], [5, 50], [6, 60]]
1122
+ end
1123
+ end
1124
+
1125
+ describe "Sequel::Dataset convenience methods" do
1126
+ before(:all) do
1127
+ @db = DB
1128
+ @db.create_table!(:a){Integer :a; Integer :b; Integer :c}
1129
+ @ds = @db[:a]
1130
+ @ds.insert(1, 3, 5)
1131
+ @ds.insert(1, 3, 6)
1132
+ @ds.insert(1, 4, 5)
1133
+ @ds.insert(2, 3, 5)
1134
+ @ds.insert(2, 4, 6)
1135
+ end
1136
+ after(:all) do
1137
+ @db.drop_table?(:a)
1138
+ end
1139
+
1140
+ it "#group_rollup should include hierarchy of groupings" do
1141
+ @ds.group_by(:a).group_rollup.select_map([:a, Sequel.function(:sum, :b).cast(Integer).as(:b), Sequel.function(:sum, :c).cast(Integer).as(:c)]).sort_by{|x| x.map(&:to_i)}.must_equal [[nil, 17, 27], [1, 10, 16], [2, 7, 11]]
1142
+ @ds.group_by(:a, :b).group_rollup.select_map([:a, :b, Sequel.function(:sum, :c).cast(Integer).as(:c)]).sort_by{|x| x.map(&:to_i)}.must_equal [[nil, nil, 27], [1, nil, 16], [1, 3, 11], [1, 4, 5], [2, nil, 11], [2, 3, 5], [2, 4, 6]]
1143
+ end if DB.dataset.supports_group_rollup?
1144
+
1145
+ it "#group_cube should include all combinations of groupings" do
1146
+ @ds.group_by(:a).group_cube.select_map([:a, Sequel.function(:sum, :b).cast(Integer).as(:b), Sequel.function(:sum, :c).cast(Integer).as(:c)]).sort_by{|x| x.map(&:to_i)}.must_equal [[nil, 17, 27], [1, 10, 16], [2, 7, 11]]
1147
+ @ds.group_by(:a, :b).group_cube.select_map([:a, :b, Sequel.function(:sum, :c).cast(Integer).as(:c)]).sort_by{|x| x.map(&:to_i)}.must_equal [[nil, nil, 27], [nil, 3, 16], [nil, 4, 11], [1, nil, 16], [1, 3, 11], [1, 4, 5], [2, nil, 11], [2, 3, 5], [2, 4, 6]]
1148
+ end if DB.dataset.supports_group_cube?
1149
+
1150
+ it "#grouping_sets should include sets specified in group" do
1151
+ @ds.group_by(:a, []).grouping_sets.select_map([:a, Sequel.function(:sum, :b).cast(Integer).as(:b), Sequel.function(:sum, :c).cast(Integer).as(:c)]).sort_by{|x| x.map(&:to_i)}.must_equal [[nil, 17, 27], [1, 10, 16], [2, 7, 11]]
1152
+ @ds.group_by([:a, :b], :a, :b, []).grouping_sets.select_map([:a, :b, Sequel.function(:sum, :c).cast(Integer).as(:c)]).sort_by{|x| x.map(&:to_i)}.must_equal [[nil, nil, 27], [nil, 3, 16], [nil, 4, 11], [1, nil, 16], [1, 3, 11], [1, 4, 5], [2, nil, 11], [2, 3, 5], [2, 4, 6]]
1153
+ end if DB.dataset.supports_grouping_sets?
1154
+ end
1155
+
1156
+ describe "Sequel::Dataset convenience methods" do
1157
+ before(:all) do
1158
+ @db = DB
1159
+ @db.create_table!(:a){Integer :a; Integer :b}
1160
+ @ds = @db[:a].order(:a)
1161
+ end
1162
+ before do
1163
+ @ds.delete
1164
+ end
1165
+ after(:all) do
1166
+ @db.drop_table?(:a)
1167
+ end
1168
+
1169
+ it "#empty? should return whether the dataset returns no rows" do
1170
+ @ds.empty?.must_equal true
1171
+ @ds.insert(20, 10)
1172
+ @ds.empty?.must_equal false
1173
+ end
1174
+
1175
+ it "#empty? should work correctly for datasets with limits" do
1176
+ ds = @ds.limit(1)
1177
+ ds.empty?.must_equal true
1178
+ ds.insert(20, 10)
1179
+ ds.empty?.must_equal false
1180
+ end
1181
+
1182
+ it "#empty? should work correctly for datasets with limits and offsets" do
1183
+ ds = @ds.limit(1, 1)
1184
+ ds.empty?.must_equal true
1185
+ ds.insert(20, 10)
1186
+ ds.empty?.must_equal true
1187
+ ds.insert(20, 10)
1188
+ ds.empty?.must_equal false
1189
+ end
1190
+
1191
+ it "#group_and_count should return a grouping by count" do
1192
+ @ds.group_and_count(:a).order{count(:a)}.all.must_equal []
1193
+ @ds.insert(20, 10)
1194
+ @ds.group_and_count(:a).order{count(:a)}.all.each{|h| h[:count] = h[:count].to_i}.must_equal [{:a=>20, :count=>1}]
1195
+ @ds.insert(20, 30)
1196
+ @ds.group_and_count(:a).order{count(:a)}.all.each{|h| h[:count] = h[:count].to_i}.must_equal [{:a=>20, :count=>2}]
1197
+ @ds.insert(30, 30)
1198
+ @ds.group_and_count(:a).order{count(:a)}.all.each{|h| h[:count] = h[:count].to_i}.must_equal [{:a=>30, :count=>1}, {:a=>20, :count=>2}]
1199
+ end
1200
+
1201
+ it "#group_and_count should support column aliases" do
1202
+ @ds.group_and_count(Sequel[:a].as(:c)).order{count(:a)}.all.must_equal []
1203
+ @ds.insert(20, 10)
1204
+ @ds.group_and_count(Sequel[:a].as(:c)).order{count(:a)}.all.each{|h| h[:count] = h[:count].to_i}.must_equal [{:c=>20, :count=>1}]
1205
+ @ds.insert(20, 30)
1206
+ @ds.group_and_count(Sequel[:a].as(:c)).order{count(:a)}.all.each{|h| h[:count] = h[:count].to_i}.must_equal [{:c=>20, :count=>2}]
1207
+ @ds.insert(30, 30)
1208
+ @ds.group_and_count(Sequel[:a].as(:c)).order{count(:a)}.all.each{|h| h[:count] = h[:count].to_i}.must_equal [{:c=>30, :count=>1}, {:c=>20, :count=>2}]
1209
+ end
1210
+
1211
+ it "#range should return the range between the maximum and minimum values" do
1212
+ @ds = @ds.unordered.extension(:sequel_4_dataset_methods)
1213
+ @ds.insert(20, 10)
1214
+ @ds.insert(30, 10)
1215
+ @ds.range(:a).must_equal(20..30)
1216
+ @ds.range(:b).must_equal(10..10)
1217
+ end
1218
+
1219
+ it "#interval should return the different between the maximum and minimum values" do
1220
+ @ds = @ds.unordered.extension(:sequel_4_dataset_methods)
1221
+ @ds.insert(20, 10)
1222
+ @ds.insert(30, 10)
1223
+ @ds.interval(:a).to_i.must_equal 10
1224
+ @ds.interval(:b).to_i.must_equal 0
1225
+ end
1226
+ end
1227
+
1228
+ describe "Sequel::Dataset main SQL methods" do
1229
+ before(:all) do
1230
+ @db = DB
1231
+ @db.create_table!(:d){Integer :a; Integer :b}
1232
+ @ds = @db[:d].order(:a)
1233
+ end
1234
+ before do
1235
+ @ds.delete
1236
+ end
1237
+ after(:all) do
1238
+ @db.drop_table?(:d)
1239
+ end
1240
+
1241
+ it "#exists should return a usable exists clause" do
1242
+ @ds.filter(@db[Sequel[:d].as(:c)].filter(Sequel[:c][:a]=>Sequel[:d][:b]).exists).all.must_equal []
1243
+ @ds.insert(20, 30)
1244
+ @ds.insert(10, 20)
1245
+ @ds.filter(@db[Sequel[:d].as(:c)].filter(Sequel[:c][:a]=>Sequel[:d][:b]).exists).all.must_equal [{:a=>10, :b=>20}]
1246
+ end
1247
+
1248
+ it "#filter and #exclude should work with placeholder strings" do
1249
+ @ds.insert(20, 30)
1250
+ @ds.filter(Sequel.lit("a > ?", 15)).all.must_equal [{:a=>20, :b=>30}]
1251
+ @ds.exclude(Sequel.lit("b < ?", 15)).all.must_equal [{:a=>20, :b=>30}]
1252
+ @ds.filter(Sequel.lit("b < ?", 15)).invert.all.must_equal [{:a=>20, :b=>30}]
1253
+ end
1254
+
1255
+ it "#where and #or should work correctly" do
1256
+ @ds.insert(20, 30)
1257
+ @ds.filter(:a=>20).where(:b=>30).all.must_equal [{:a=>20, :b=>30}]
1258
+ @ds.filter(:a=>20).where(:b=>15).all.must_equal []
1259
+ @ds.filter(:a=>20).or(:b=>15).all.must_equal [{:a=>20, :b=>30}]
1260
+ @ds.filter(:a=>10).or(:b=>15).all.must_equal []
1261
+ end
1262
+
1263
+ it "#select_group should work correctly" do
1264
+ @ds = @ds.unordered
1265
+ @ds.select_group(:a).all.must_equal []
1266
+ @ds.insert(20, 30)
1267
+ @ds.select_group(:a).all.must_equal [{:a=>20}]
1268
+ @ds.select_group(:b).all.must_equal [{:b=>30}]
1269
+ @ds.insert(20, 40)
1270
+ @ds.select_group(:a).all.must_equal [{:a=>20}]
1271
+ @ds.order(:b).select_group(:b).all.must_equal [{:b=>30}, {:b=>40}]
1272
+ end
1273
+
1274
+ it "#select_group should work correctly when aliasing" do
1275
+ @ds = @ds.unordered
1276
+ @ds.insert(20, 30)
1277
+ @ds.select_group(Sequel[:b].as(:c)).all.must_equal [{:c=>30}]
1278
+ end
1279
+
1280
+ it "#having should work correctly" do
1281
+ @ds = @ds.unordered
1282
+ @ds.select{[b, max(a).as(c)]}.group(:b).having{max(a) > 30}.all.must_equal []
1283
+ @ds.insert(20, 30)
1284
+ @ds.select{[b, max(a).as(c)]}.group(:b).having{max(a) > 30}.all.must_equal []
1285
+ @ds.insert(40, 20)
1286
+ @ds.select{[b, max(a).as(c)]}.group(:b).having{max(a) > 30}.all.each{|h| h[:c] = h[:c].to_i}.must_equal [{:b=>20, :c=>40}]
1287
+ end
1288
+
1289
+ cspecify "#having should work without a previous group", :sqlite do
1290
+ @ds = @ds.unordered
1291
+ @ds.select{max(a).as(c)}.having{max(a) > 30}.all.must_equal []
1292
+ @ds.insert(20, 30)
1293
+ @ds.select{max(a).as(c)}.having{max(a) > 30}.all.must_equal []
1294
+ @ds.insert(40, 20)
1295
+ @ds.select{max(a).as(c)}.having{max(a) > 30}.all.each{|h| h[:c] = h[:c].to_i}.must_equal [{:c=>40}]
1296
+ end
1297
+ end
1298
+
1299
+ describe "Sequel::Dataset convenience methods" do
1300
+ before(:all) do
1301
+ @db = DB
1302
+ @db.create_table!(:a){Integer :a; Integer :b; Integer :c; Integer :d}
1303
+ @ds = @db[:a].order(:a)
1304
+ end
1305
+ before do
1306
+ @ds.delete
1307
+ @ds.insert(1, 2, 3, 4)
1308
+ @ds.insert(5, 6, 7, 8)
1309
+ end
1310
+ after(:all) do
1311
+ @db.drop_table?(:a)
1312
+ end
1313
+
1314
+ it "should have working #map" do
1315
+ @ds.map(:a).must_equal [1, 5]
1316
+ @ds.map(:b).must_equal [2, 6]
1317
+ @ds.map([:a, :b]).must_equal [[1, 2], [5, 6]]
1318
+ end
1319
+
1320
+ it "should have working #as_hash" do
1321
+ @ds.to_hash(:a).must_equal(1=>{:a=>1, :b=>2, :c=>3, :d=>4}, 5=>{:a=>5, :b=>6, :c=>7, :d=>8})
1322
+ @ds.as_hash(:a).must_equal(1=>{:a=>1, :b=>2, :c=>3, :d=>4}, 5=>{:a=>5, :b=>6, :c=>7, :d=>8})
1323
+ @ds.as_hash(:b).must_equal(2=>{:a=>1, :b=>2, :c=>3, :d=>4}, 6=>{:a=>5, :b=>6, :c=>7, :d=>8})
1324
+ @ds.as_hash([:a, :b]).must_equal([1, 2]=>{:a=>1, :b=>2, :c=>3, :d=>4}, [5, 6]=>{:a=>5, :b=>6, :c=>7, :d=>8})
1325
+
1326
+ @ds.as_hash(:a, :b).must_equal(1=>2, 5=>6)
1327
+ @ds.as_hash([:a, :c], :b).must_equal([1, 3]=>2, [5, 7]=>6)
1328
+ @ds.as_hash(:a, [:b, :c]).must_equal(1=>[2, 3], 5=>[6, 7])
1329
+ @ds.as_hash([:a, :c], [:b, :d]).must_equal([1, 3]=>[2, 4], [5, 7]=>[6, 8])
1330
+ @ds.extension(:null_dataset).nullify.as_hash([:a, :c], [:b, :d]).must_equal({})
1331
+
1332
+ @ds.as_hash(:a, :b, :hash => (tmp = {})).must_be_same_as(tmp)
1333
+ end
1334
+
1335
+ it "should have working #to_hash_groups" do
1336
+ ds = @ds.order(*@ds.columns)
1337
+ ds.insert(1, 2, 3, 9)
1338
+ ds.to_hash_groups(:a).must_equal(1=>[{:a=>1, :b=>2, :c=>3, :d=>4}, {:a=>1, :b=>2, :c=>3, :d=>9}], 5=>[{:a=>5, :b=>6, :c=>7, :d=>8}])
1339
+ ds.to_hash_groups(:b).must_equal(2=>[{:a=>1, :b=>2, :c=>3, :d=>4}, {:a=>1, :b=>2, :c=>3, :d=>9}], 6=>[{:a=>5, :b=>6, :c=>7, :d=>8}])
1340
+ ds.to_hash_groups([:a, :b]).must_equal([1, 2]=>[{:a=>1, :b=>2, :c=>3, :d=>4}, {:a=>1, :b=>2, :c=>3, :d=>9}], [5, 6]=>[{:a=>5, :b=>6, :c=>7, :d=>8}])
1341
+
1342
+ ds.to_hash_groups(:a, :d).must_equal(1=>[4, 9], 5=>[8])
1343
+ ds.to_hash_groups([:a, :c], :d).must_equal([1, 3]=>[4, 9], [5, 7]=>[8])
1344
+ ds.to_hash_groups(:a, [:b, :d]).must_equal(1=>[[2, 4], [2, 9]], 5=>[[6, 8]])
1345
+ ds.to_hash_groups([:a, :c], [:b, :d]).must_equal([1, 3]=>[[2, 4], [2, 9]], [5, 7]=>[[6, 8]])
1346
+ @ds.extension(:null_dataset).nullify.to_hash_groups([:a, :c], [:b, :d]).must_equal({})
1347
+
1348
+ ds.to_hash_groups(:a, :d, :hash => (tmp = {})).must_be_same_as(tmp)
1349
+ end
1350
+
1351
+ it "should have working #select_map" do
1352
+ @ds.select_map(:a).must_equal [1, 5]
1353
+ @ds.select_map(:b).must_equal [2, 6]
1354
+ @ds.select_map([:a]).must_equal [[1], [5]]
1355
+ @ds.select_map([:a, :b]).must_equal [[1, 2], [5, 6]]
1356
+ @ds.extension(:null_dataset).nullify.select_map([:a, :b]).must_equal []
1357
+
1358
+ @ds.select_map(Sequel[:a].as(:e)).must_equal [1, 5]
1359
+ @ds.select_map(Sequel[:b].as(:e)).must_equal [2, 6]
1360
+ @ds.select_map([Sequel[:a].as(:e), Sequel[:b].as(:f)]).must_equal [[1, 2], [5, 6]]
1361
+ @ds.select_map([Sequel[:a][:a].as(:e), Sequel[:a][:b].as(:f)]).must_equal [[1, 2], [5, 6]]
1362
+ @ds.select_map([Sequel.expr(Sequel[:a][:a]).as(:e), Sequel.expr(Sequel[:a][:b]).as(:f)]).must_equal [[1, 2], [5, 6]]
1363
+ @ds.select_map([Sequel.qualify(:a, :a).as(:e), Sequel.qualify(:a, :b).as(:f)]).must_equal [[1, 2], [5, 6]]
1364
+ @ds.select_map([Sequel.identifier(:a).qualify(:a).as(:e), Sequel.qualify(:a, :b).as(:f)]).must_equal [[1, 2], [5, 6]]
1365
+ end
1366
+
1367
+ it "should have working #select_order_map" do
1368
+ @ds.select_order_map(:a).must_equal [1, 5]
1369
+ @ds.select_order_map(Sequel.desc(Sequel[:a][:b])).must_equal [6, 2]
1370
+ @ds.select_order_map(Sequel.desc(Sequel[:a][:b].as(:e))).must_equal [6, 2]
1371
+ @ds.select_order_map(Sequel.qualify(:a, :b).as(:e)).must_equal [2, 6]
1372
+ @ds.select_order_map([:a]).must_equal [[1], [5]]
1373
+ @ds.select_order_map([Sequel.desc(:a), :b]).must_equal [[5, 6], [1, 2]]
1374
+ @ds.extension(:null_dataset).nullify.select_order_map(:a).must_equal []
1375
+
1376
+ @ds.select_order_map(Sequel[:a].as(:e)).must_equal [1, 5]
1377
+ @ds.select_order_map(Sequel[:b].as(:e)).must_equal [2, 6]
1378
+ @ds.select_order_map([Sequel.desc(Sequel[:a].as(:e)), Sequel[:b].as(:f)]).must_equal [[5, 6], [1, 2]]
1379
+ @ds.select_order_map([Sequel.desc(Sequel[:a][:a].as(:e)), Sequel[:a][:b].as(:f)]).must_equal [[5, 6], [1, 2]]
1380
+ @ds.select_order_map([Sequel.desc(Sequel[:a][:a]), Sequel.expr(Sequel[:a][:b]).as(:f)]).must_equal [[5, 6], [1, 2]]
1381
+ @ds.select_order_map([Sequel.qualify(:a, :a).desc, Sequel.qualify(:a, :b).as(:f)]).must_equal [[5, 6], [1, 2]]
1382
+ @ds.select_order_map([Sequel.identifier(:a).qualify(:a).desc, Sequel.qualify(:a, :b).as(:f)]).must_equal [[5, 6], [1, 2]]
1383
+ end
1384
+
1385
+ it "should have working #select_hash" do
1386
+ @ds.select_hash(:a, :b).must_equal(1=>2, 5=>6)
1387
+ @ds.select_hash(Sequel[:a][:a].as(:e), :b).must_equal(1=>2, 5=>6)
1388
+ @ds.select_hash(Sequel.expr(Sequel[:a][:a]).as(:e), :b).must_equal(1=>2, 5=>6)
1389
+ @ds.select_hash(Sequel.qualify(:a, :a).as(:e), :b).must_equal(1=>2, 5=>6)
1390
+ @ds.select_hash(Sequel.identifier(:a).qualify(:a).as(:e), :b).must_equal(1=>2, 5=>6)
1391
+ @ds.select_hash([:a, :c], :b).must_equal([1, 3]=>2, [5, 7]=>6)
1392
+ @ds.select_hash(:a, [:b, :c]).must_equal(1=>[2, 3], 5=>[6, 7])
1393
+ @ds.select_hash([:a, :c], [:b, :d]).must_equal([1, 3]=>[2, 4], [5, 7]=>[6, 8])
1394
+ @ds.select_hash(:a, :b, :hash => (tmp = {})).must_be_same_as(tmp)
1395
+ @ds.extension(:null_dataset).nullify.select_hash(:a, :b).must_equal({})
1396
+ end
1397
+
1398
+ it "should have working #select_hash_groups" do
1399
+ ds = @ds.order(*@ds.columns)
1400
+ ds.insert(1, 2, 3, 9)
1401
+ ds.select_hash_groups(:a, :d).must_equal(1=>[4, 9], 5=>[8])
1402
+ ds.select_hash_groups(Sequel[:a][:a].as(:e), :d).must_equal(1=>[4, 9], 5=>[8])
1403
+ ds.select_hash_groups(Sequel.expr(Sequel[:a][:a]).as(:e), :d).must_equal(1=>[4, 9], 5=>[8])
1404
+ ds.select_hash_groups(Sequel.qualify(:a, :a).as(:e), :d).must_equal(1=>[4, 9], 5=>[8])
1405
+ ds.select_hash_groups(Sequel.identifier(:a).qualify(:a).as(:e), :d).must_equal(1=>[4, 9], 5=>[8])
1406
+ ds.select_hash_groups([:a, :c], :d).must_equal([1, 3]=>[4, 9], [5, 7]=>[8])
1407
+ ds.select_hash_groups(:a, [:b, :d]).must_equal(1=>[[2, 4], [2, 9]], 5=>[[6, 8]])
1408
+ ds.select_hash_groups([:a, :c], [:b, :d]).must_equal([1, 3]=>[[2, 4], [2, 9]], [5, 7]=>[[6, 8]])
1409
+ ds.select_hash_groups(:a, :d, :hash => (tmp = {})).must_be_same_as(tmp)
1410
+ @ds.extension(:null_dataset).nullify.select_hash_groups(:a, :d).must_equal({})
1411
+ end
1412
+ end
1413
+
1414
+ describe "Sequel::Dataset DSL support" do
1415
+ before(:all) do
1416
+ @db = DB
1417
+ @db.create_table!(:a){Integer :a; Integer :b}
1418
+ @ds = @db[:a].order(:a)
1419
+ end
1420
+ before do
1421
+ @ds.delete
1422
+ end
1423
+ after(:all) do
1424
+ @db.drop_table?(:a)
1425
+ end
1426
+
1427
+ it "should work with standard mathematical operators" do
1428
+ @ds.insert(20, 10)
1429
+ @ds.get{a + b}.to_i.must_equal 30
1430
+ @ds.get{a - b}.to_i.must_equal 10
1431
+ @ds.get{a * b}.to_i.must_equal 200
1432
+ @ds.get{a / b}.to_i.must_equal 2
1433
+ end
1434
+
1435
+ it "should work with exponentiation operator" do
1436
+ @ds.insert(:a=>2)
1437
+ (-4..4).each do |i|
1438
+ # Allow minor differences due to emulation issues on some adapters
1439
+ @ds.get{(a / 1.0) ** i}.to_f.must_be_close_to((2**i).to_f)
1440
+ end
1441
+ end
1442
+
1443
+ cspecify "should work with bitwise shift operators", :derby do
1444
+ @ds.insert(3, 2)
1445
+ b = Sequel[:b]
1446
+ b = b.cast(:integer) if @db.database_type == :postgres
1447
+ @ds.get{a.sql_number << b}.to_i.must_equal 12
1448
+ @ds.get{a.sql_number >> b}.to_i.must_equal 0
1449
+ @ds.get{a.sql_number << b << 1}.to_i.must_equal 24
1450
+ @ds.delete
1451
+ @ds.insert(3, 1)
1452
+ @ds.get{a.sql_number << b}.to_i.must_equal 6
1453
+ @ds.get{a.sql_number >> b}.to_i.must_equal 1
1454
+ @ds.get{a.sql_number >> b >> 1}.to_i.must_equal 0
1455
+ end
1456
+
1457
+ cspecify "should work with bitwise AND and OR operators", :derby do
1458
+ @ds.insert(3, 5)
1459
+ @ds.get{a.sql_number | b}.to_i.must_equal 7
1460
+ @ds.get{a.sql_number & b}.to_i.must_equal 1
1461
+ @ds.get{a.sql_number | b | 8}.to_i.must_equal 15
1462
+ @ds.get{a.sql_number & b & 8}.to_i.must_equal 0
1463
+ end
1464
+
1465
+ it "should work with the bitwise compliment operator" do
1466
+ @ds.insert(-3, 3)
1467
+ @ds.get{~a.sql_number}.to_i.must_equal 2
1468
+ @ds.get{~b.sql_number}.to_i.must_equal(-4)
1469
+ end
1470
+
1471
+ cspecify "should work with the bitwise xor operator", :derby do
1472
+ @ds.insert(3, 5)
1473
+ @ds.get{a.sql_number ^ b}.to_i.must_equal 6
1474
+ @ds.get{a.sql_number ^ b ^ 1}.to_i.must_equal 7
1475
+ end
1476
+
1477
+ it "should work with the modulus operator" do
1478
+ @ds.insert(3, 5)
1479
+ @ds.get{a.sql_number % 4}.to_i.must_equal 3
1480
+ @ds.get{b.sql_number % 4}.to_i.must_equal 1
1481
+ @ds.get{a.sql_number % 4 % 2}.to_i.must_equal 1
1482
+ end
1483
+
1484
+ it "should work with inequality operators" do
1485
+ @ds.insert(10, 11)
1486
+ @ds.insert(11, 11)
1487
+ @ds.insert(20, 19)
1488
+ @ds.insert(20, 20)
1489
+ @ds.filter{a > b}.select_order_map(:a).must_equal [20]
1490
+ @ds.filter{a >= b}.select_order_map(:a).must_equal [11, 20, 20]
1491
+ @ds.filter{a < b}.select_order_map(:a).must_equal [10]
1492
+ @ds.filter{a <= b}.select_order_map(:a).must_equal [10, 11, 20]
1493
+ end
1494
+
1495
+ it "should work with casting and string concatentation" do
1496
+ @ds.insert(20, 20)
1497
+ @ds.get{Sequel.cast(a, String).sql_string + Sequel.cast(b, String)}.must_equal '2020'
1498
+ end
1499
+
1500
+ it "should work with ordering" do
1501
+ @ds.insert(10, 20)
1502
+ @ds.insert(20, 10)
1503
+ @ds.order(:a, :b).all.must_equal [{:a=>10, :b=>20}, {:a=>20, :b=>10}]
1504
+ @ds.order(Sequel.asc(:a), Sequel.asc(:b)).all.must_equal [{:a=>10, :b=>20}, {:a=>20, :b=>10}]
1505
+ @ds.order(Sequel.desc(:a), Sequel.desc(:b)).all.must_equal [{:a=>20, :b=>10}, {:a=>10, :b=>20}]
1506
+ end
1507
+
1508
+ it "should work with qualifying" do
1509
+ @ds.insert(10, 20)
1510
+ @ds.get(Sequel[:a][:b]).must_equal 20
1511
+ @ds.get{a[:b]}.must_equal 20
1512
+ @ds.get(Sequel.qualify(:a, :b)).must_equal 20
1513
+ end
1514
+
1515
+ it "should work with aliasing" do
1516
+ @ds.insert(10, 20)
1517
+ @ds.get(Sequel[:a][:b].as(:c)).must_equal 20
1518
+ @ds.get{a[:b].as(c)}.must_equal 20
1519
+ @ds.get(Sequel.qualify(:a, :b).as(:c)).must_equal 20
1520
+ @ds.get(Sequel.as(:b, :c)).must_equal 20
1521
+ end
1522
+
1523
+ it "should work with selecting all columns of a table" do
1524
+ @ds.insert(20, 10)
1525
+ @ds.select_all(:a).all.must_equal [{:a=>20, :b=>10}]
1526
+ end
1527
+
1528
+ it "should work with ranges as hash values" do
1529
+ @ds.insert(20, 10)
1530
+ @ds.filter(:a=>(10..30)).all.must_equal [{:a=>20, :b=>10}]
1531
+ @ds.filter(:a=>(25..30)).all.must_equal []
1532
+ @ds.filter(:a=>(10..15)).all.must_equal []
1533
+ @ds.exclude(:a=>(10..30)).all.must_equal []
1534
+ @ds.exclude(:a=>(25..30)).all.must_equal [{:a=>20, :b=>10}]
1535
+ @ds.exclude(:a=>(10..15)).all.must_equal [{:a=>20, :b=>10}]
1536
+ end
1537
+
1538
+ it "should work with nil as hash value" do
1539
+ @ds.insert(20, nil)
1540
+ @ds.filter(:a=>nil).all.must_equal []
1541
+ @ds.filter(:b=>nil).all.must_equal [{:a=>20, :b=>nil}]
1542
+ @ds.exclude(:b=>nil).all.must_equal []
1543
+ @ds.exclude(:a=>nil).all.must_equal [{:a=>20, :b=>nil}]
1544
+ end
1545
+
1546
+ it "should work with arrays as hash values" do
1547
+ @ds.insert(20, 10)
1548
+ @ds.filter(:a=>[10]).all.must_equal []
1549
+ @ds.filter(:a=>[20, 10]).all.must_equal [{:a=>20, :b=>10}]
1550
+ @ds.exclude(:a=>[10]).all.must_equal [{:a=>20, :b=>10}]
1551
+ @ds.exclude(:a=>[20, 10]).all.must_equal []
1552
+ end
1553
+
1554
+ it "should work with endless ranges as hash values" do
1555
+ @ds.insert(20, 10)
1556
+ @ds.filter(:a=>eval('30..')).all.must_equal []
1557
+ @ds.filter(:a=>eval('20...')).all.must_equal [{:a=>20, :b=>10}]
1558
+ @ds.filter(:a=>eval('20..')).all.must_equal [{:a=>20, :b=>10}]
1559
+ @ds.filter(:a=>eval('10..')).all.must_equal [{:a=>20, :b=>10}]
1560
+ end if RUBY_VERSION >= '2.6'
1561
+
1562
+ it "should work with startless ranges as hash values" do
1563
+ @ds.insert(20, 10)
1564
+ @ds.filter(:a=>eval('..30')).all.must_equal [{:a=>20, :b=>10}]
1565
+ @ds.filter(:a=>eval('...30')).all.must_equal [{:a=>20, :b=>10}]
1566
+ @ds.filter(:a=>eval('..20')).all.must_equal [{:a=>20, :b=>10}]
1567
+ @ds.filter(:a=>eval('...20')).all.must_equal []
1568
+ @ds.filter(:a=>eval('..10')).all.must_equal []
1569
+ @ds.filter(:a=>eval('...10')).all.must_equal []
1570
+
1571
+ @ds.filter(:a=>eval('nil..nil')).all.must_equal [{:a=>20, :b=>10}]
1572
+ end if RUBY_VERSION >= '2.7'
1573
+
1574
+ it "should work with CASE statements" do
1575
+ @ds.insert(20, 10)
1576
+ @ds.filter(Sequel.case({{:a=>20}=>20}, 0) > 0).all.must_equal [{:a=>20, :b=>10}]
1577
+ @ds.filter(Sequel.case({{:a=>15}=>20}, 0) > 0).all.must_equal []
1578
+ @ds.filter(Sequel.case({20=>20}, 0, :a) > 0).all.must_equal [{:a=>20, :b=>10}]
1579
+ @ds.filter(Sequel.case({15=>20}, 0, :a) > 0).all.must_equal []
1580
+ end
1581
+
1582
+ it "should work with multiple value arrays" do
1583
+ @ds.insert(20, 10)
1584
+ @ds.filter([:a, :b]=>[[20, 10]]).all.must_equal [{:a=>20, :b=>10}]
1585
+ @ds.filter([:a, :b]=>[[10, 20]]).all.must_equal []
1586
+ @ds.filter([:a, :b]=>[[20, 10], [1, 2]]).all.must_equal [{:a=>20, :b=>10}]
1587
+ @ds.filter([:a, :b]=>[[10, 10], [20, 20]]).all.must_equal []
1588
+
1589
+ @ds.exclude([:a, :b]=>[[20, 10]]).all.must_equal []
1590
+ @ds.exclude([:a, :b]=>[[10, 20]]).all.must_equal [{:a=>20, :b=>10}]
1591
+ @ds.exclude([:a, :b]=>[[20, 10], [1, 2]]).all.must_equal []
1592
+ @ds.exclude([:a, :b]=>[[10, 10], [20, 20]]).all.must_equal [{:a=>20, :b=>10}]
1593
+ end
1594
+
1595
+ it "should work with IN/NOT in with datasets" do
1596
+ @ds.insert(20, 10)
1597
+ ds = @ds.unordered
1598
+
1599
+ @ds.filter(:a=>ds.select(:a)).all.must_equal [{:a=>20, :b=>10}]
1600
+ @ds.filter(:a=>ds.select(:a).where(:a=>15)).all.must_equal []
1601
+ @ds.exclude(:a=>ds.select(:a)).all.must_equal []
1602
+ @ds.exclude(:a=>ds.select(:a).where(:a=>15)).all.must_equal [{:a=>20, :b=>10}]
1603
+
1604
+ @ds.filter([:a, :b]=>ds.select(:a, :b)).all.must_equal [{:a=>20, :b=>10}]
1605
+ @ds.filter([:a, :b]=>ds.select(:b, :a)).all.must_equal []
1606
+ @ds.exclude([:a, :b]=>ds.select(:a, :b)).all.must_equal []
1607
+ @ds.exclude([:a, :b]=>ds.select(:b, :a)).all.must_equal [{:a=>20, :b=>10}]
1608
+
1609
+ @ds.filter([:a, :b]=>ds.select(:a, :b).where(:a=>15)).all.must_equal []
1610
+ @ds.exclude([:a, :b]=>ds.select(:a, :b).where(:a=>15)).all.must_equal [{:a=>20, :b=>10}]
1611
+ end
1612
+
1613
+ it "should work empty arrays" do
1614
+ @ds.insert(20, 10)
1615
+ @ds.filter(:a=>[]).all.must_equal []
1616
+ @ds.exclude(:a=>[]).all.must_equal [{:a=>20, :b=>10}]
1617
+ @ds.filter([:a, :b]=>[]).all.must_equal []
1618
+ @ds.exclude([:a, :b]=>[]).all.must_equal [{:a=>20, :b=>10}]
1619
+ end
1620
+
1621
+ it "should work empty arrays with nulls when using empty_array_consider_nulls extension" do
1622
+ @ds = @ds.extension(:empty_array_consider_nulls)
1623
+ @ds.insert(nil, nil)
1624
+ @ds.filter(:a=>[]).all.must_equal []
1625
+ @ds.exclude(:a=>[]).all.must_equal []
1626
+ @ds.filter([:a, :b]=>[]).all.must_equal []
1627
+ @ds.exclude([:a, :b]=>[]).all.must_equal []
1628
+
1629
+ unless Sequel.guarded?(:mssql, :oracle, :db2, :sqlanywhere)
1630
+ # Some databases don't like boolean results in the select list
1631
+ pr = proc{|r| r.is_a?(Integer) ? (r != 0) : r}
1632
+ pr[@ds.get(Sequel.expr(:a=>[]))].must_be_nil
1633
+ pr[@ds.get(~Sequel.expr(:a=>[]))].must_be_nil
1634
+ pr[@ds.get(Sequel.expr([:a, :b]=>[]))].must_be_nil
1635
+ pr[@ds.get(~Sequel.expr([:a, :b]=>[]))].must_be_nil
1636
+ end
1637
+ end
1638
+
1639
+ it "should work empty arrays with nulls" do
1640
+ ds = @ds
1641
+ ds.insert(nil, nil)
1642
+ ds.filter(:a=>[]).all.must_equal []
1643
+ ds.exclude(:a=>[]).all.must_equal [{:a=>nil, :b=>nil}]
1644
+ ds.filter([:a, :b]=>[]).all.must_equal []
1645
+ ds.exclude([:a, :b]=>[]).all.must_equal [{:a=>nil, :b=>nil}]
1646
+
1647
+ unless Sequel.guarded?(:mssql, :oracle, :db2, :sqlanywhere)
1648
+ # Some databases don't like boolean results in the select list
1649
+ pr = proc{|r| r.is_a?(Integer) ? (r != 0) : r}
1650
+ pr[ds.get(Sequel.expr(:a=>[]))].must_equal false
1651
+ pr[ds.get(~Sequel.expr(:a=>[]))].must_equal true
1652
+ pr[ds.get(Sequel.expr([:a, :b]=>[]))].must_equal false
1653
+ pr[ds.get(~Sequel.expr([:a, :b]=>[]))].must_equal true
1654
+ end
1655
+ end
1656
+
1657
+ it "should work multiple conditions" do
1658
+ @ds.insert(20, 10)
1659
+ @ds.filter(:a=>20, :b=>10).all.must_equal [{:a=>20, :b=>10}]
1660
+ @ds.filter([[:a, 20], [:b, 10]]).all.must_equal [{:a=>20, :b=>10}]
1661
+ @ds.filter(Sequel.&({:a=>20}, {:b=>10})).all.must_equal [{:a=>20, :b=>10}]
1662
+ @ds.filter(Sequel.|({:a=>20}, {:b=>5})).all.must_equal [{:a=>20, :b=>10}]
1663
+ @ds.filter(Sequel.~(:a=>10)).all.must_equal [{:a=>20, :b=>10}]
1664
+ end
1665
+ end
1666
+
1667
+ describe "SQL Extract Function" do
1668
+ before do
1669
+ @db = DB
1670
+ @db.create_table!(:a){DateTime :a}
1671
+ @ds = @db[:a].order(:a)
1672
+ end
1673
+ after do
1674
+ @db.drop_table?(:a)
1675
+ end
1676
+
1677
+ it "should return the part of the datetime asked for" do
1678
+ t = Time.now
1679
+ @ds = @ds.with_extend{def supports_timestamp_timezones?() false end}
1680
+ @ds.insert(t)
1681
+ @ds.get{a.extract(:year)}.must_equal t.year
1682
+ @ds.get{a.extract(:month)}.must_equal t.month
1683
+ @ds.get{a.extract(:day)}.must_equal t.day
1684
+ @ds.get{a.extract(:hour)}.must_equal t.hour
1685
+ @ds.get{a.extract(:minute)}.must_equal t.min
1686
+ @ds.get{a.extract(:second)}.to_i.must_equal t.sec
1687
+ end
1688
+ end
1689
+
1690
+ describe "Dataset string methods" do
1691
+ before(:all) do
1692
+ @db = DB
1693
+ csc = {}
1694
+ cic = {}
1695
+ if @db.database_type == :mssql
1696
+ csc[:collate] = 'Latin1_General_CS_AS'
1697
+ cic[:collate] = 'Latin1_General_CI_AS'
1698
+ end
1699
+ @db.create_table!(:a) do
1700
+ String :a, csc
1701
+ String :b, cic
1702
+ end
1703
+ @ds = @db[:a].order(:a)
1704
+ end
1705
+ before do
1706
+ @ds.delete
1707
+ end
1708
+ after(:all) do
1709
+ @db.drop_table?(:a)
1710
+ end
1711
+
1712
+ it "#grep should return matching rows" do
1713
+ @ds.insert('foo', 'bar')
1714
+ @ds.grep(:a, 'foo').all.must_equal [{:a=>'foo', :b=>'bar'}]
1715
+ @ds.grep(:b, 'foo').all.must_equal []
1716
+ @ds.grep(:b, 'bar').all.must_equal [{:a=>'foo', :b=>'bar'}]
1717
+ @ds.grep(:a, 'bar').all.must_equal []
1718
+ @ds.grep([:a, :b], %w'foo bar').all.must_equal [{:a=>'foo', :b=>'bar'}]
1719
+ @ds.grep([:a, :b], %w'boo far').all.must_equal []
1720
+ end
1721
+
1722
+ it "#grep should work with :all_patterns and :all_columns options" do
1723
+ @ds.insert('foo bar', ' ')
1724
+ @ds.insert('foo d', 'bar')
1725
+ @ds.insert('foo e', ' ')
1726
+ @ds.insert(' ', 'bar')
1727
+ @ds.insert('foo f', 'baz')
1728
+ @ds.insert('foo baz', 'bar baz')
1729
+ @ds.insert('foo boo', 'boo foo')
1730
+
1731
+ @ds.grep([:a, :b], %w'%foo% %bar%', :all_patterns=>true).all.must_equal [{:a=>'foo bar', :b=>' '}, {:a=>'foo baz', :b=>'bar baz'}, {:a=>'foo d', :b=>'bar'}]
1732
+ @ds.grep([:a, :b], %w'%foo% %bar% %blob%', :all_patterns=>true).all.must_equal []
1733
+
1734
+ @ds.grep([:a, :b], %w'%bar% %foo%', :all_columns=>true).all.must_equal [{:a=>"foo baz", :b=>"bar baz"}, {:a=>"foo boo", :b=>"boo foo"}, {:a=>"foo d", :b=>"bar"}]
1735
+ @ds.grep([:a, :b], %w'%baz%', :all_columns=>true).all.must_equal [{:a=>'foo baz', :b=>'bar baz'}]
1736
+
1737
+ @ds.grep([:a, :b], %w'%baz% %foo%', :all_columns=>true, :all_patterns=>true).all.must_equal []
1738
+ @ds.grep([:a, :b], %w'%boo% %foo%', :all_columns=>true, :all_patterns=>true).all.must_equal [{:a=>'foo boo', :b=>'boo foo'}]
1739
+ end
1740
+
1741
+ it "#like should return matching rows" do
1742
+ @ds.insert('foo', 'bar')
1743
+ @ds.filter(Sequel.expr(:a).like('foo')).all.must_equal [{:a=>'foo', :b=>'bar'}]
1744
+ @ds.filter(Sequel.expr(:a).like('bar')).all.must_equal []
1745
+ @ds.filter(Sequel.expr(:a).like('foo', 'bar')).all.must_equal [{:a=>'foo', :b=>'bar'}]
1746
+ @ds.exclude(Sequel.expr(:a).like('foo')).all.must_equal []
1747
+ @ds.exclude(Sequel.expr(:a).like('bar')).all.must_equal [{:a=>'foo', :b=>'bar'}]
1748
+ @ds.exclude(Sequel.expr(:a).like('foo', 'bar')).all.must_equal []
1749
+ end
1750
+
1751
+ it "#like should be case sensitive" do
1752
+ @ds.insert('foo', 'bar')
1753
+ @ds.filter(Sequel.expr(:a).like('Foo')).all.must_equal []
1754
+ @ds.filter(Sequel.expr(:b).like('baR')).all.must_equal []
1755
+ @ds.filter(Sequel.expr(:a).like('FOO', 'BAR')).all.must_equal []
1756
+ @ds.exclude(Sequel.expr(:a).like('Foo')).all.must_equal [{:a=>'foo', :b=>'bar'}]
1757
+ @ds.exclude(Sequel.expr(:b).like('baR')).all.must_equal [{:a=>'foo', :b=>'bar'}]
1758
+ @ds.exclude(Sequel.expr(:a).like('FOO', 'BAR')).all.must_equal [{:a=>'foo', :b=>'bar'}]
1759
+ end
1760
+
1761
+ it "#ilike should return matching rows, in a case insensitive manner" do
1762
+ @ds.insert('foo', 'bar')
1763
+ @ds.filter(Sequel.expr(:a).ilike('Foo')).all.must_equal [{:a=>'foo', :b=>'bar'}]
1764
+ @ds.filter(Sequel.expr(:a).ilike('baR')).all.must_equal []
1765
+ @ds.filter(Sequel.expr(:a).ilike('FOO', 'BAR')).all.must_equal [{:a=>'foo', :b=>'bar'}]
1766
+ @ds.exclude(Sequel.expr(:a).ilike('Foo')).all.must_equal []
1767
+ @ds.exclude(Sequel.expr(:a).ilike('baR')).all.must_equal [{:a=>'foo', :b=>'bar'}]
1768
+ @ds.exclude(Sequel.expr(:a).ilike('FOO', 'BAR')).all.must_equal []
1769
+ end
1770
+
1771
+ it "#escape_like should escape any metacharacters" do
1772
+ @ds.insert('foo', 'bar')
1773
+ @ds.insert('foo.', 'bar..')
1774
+ @ds.insert('foo\\..', 'bar\\..')
1775
+ @ds.insert('foo\\_', 'bar\\%')
1776
+ @ds.insert('foo_', 'bar%')
1777
+ @ds.insert('foo_.', 'bar%.')
1778
+ @ds.insert('foo_..', 'bar%..')
1779
+ @ds.insert('[f#*?oo_]', '[bar%]')
1780
+ @ds.filter(Sequel.expr(:a).like(@ds.escape_like('foo_'))).select_order_map(:a).must_equal ['foo_']
1781
+ @ds.filter(Sequel.expr(:b).like(@ds.escape_like('bar%'))).select_order_map(:b).must_equal ['bar%']
1782
+ @ds.filter(Sequel.expr(:a).like(@ds.escape_like('foo\\_'))).select_order_map(:a).must_equal ['foo\\_']
1783
+ @ds.filter(Sequel.expr(:b).like(@ds.escape_like('bar\\%'))).select_order_map(:b).must_equal ['bar\\%']
1784
+ @ds.filter(Sequel.expr(:a).like(@ds.escape_like('[f#*?oo_]'))).select_order_map(:a).must_equal ['[f#*?oo_]']
1785
+ @ds.filter(Sequel.expr(:b).like(@ds.escape_like('[bar%]'))).select_order_map(:b).must_equal ['[bar%]']
1786
+ @ds.filter(Sequel.expr(:b).like("#{@ds.escape_like('bar%')}_")).select_order_map(:b).must_equal ['bar%.']
1787
+ @ds.filter(Sequel.expr(:b).like("#{@ds.escape_like('bar%')}%")).select_order_map(:b).must_equal ['bar%', 'bar%.', 'bar%..']
1788
+
1789
+ @ds.filter(Sequel.expr(:a).ilike(@ds.escape_like('Foo_'))).select_order_map(:a).must_equal ['foo_']
1790
+ @ds.filter(Sequel.expr(:b).ilike(@ds.escape_like('Bar%'))).select_order_map(:b).must_equal ['bar%']
1791
+ @ds.filter(Sequel.expr(:a).ilike(@ds.escape_like('Foo\\_'))).select_order_map(:a).must_equal ['foo\\_']
1792
+ @ds.filter(Sequel.expr(:b).ilike(@ds.escape_like('Bar\\%'))).select_order_map(:b).must_equal ['bar\\%']
1793
+ @ds.filter(Sequel.expr(:a).ilike(@ds.escape_like('[F#*?oo_]'))).select_order_map(:a).must_equal ['[f#*?oo_]']
1794
+ @ds.filter(Sequel.expr(:b).ilike(@ds.escape_like('[Bar%]'))).select_order_map(:b).must_equal ['[bar%]']
1795
+ @ds.filter(Sequel.expr(:b).ilike("#{@ds.escape_like('Bar%')}_")).select_order_map(:b).must_equal ['bar%.']
1796
+ @ds.filter(Sequel.expr(:b).ilike("#{@ds.escape_like('Bar%')}%")).select_order_map(:b).must_equal ['bar%', 'bar%.', 'bar%..']
1797
+
1798
+ Sequel.extension(:escaped_like)
1799
+ @ds.filter(Sequel.expr(:a).escaped_like('?', 'Foo_')).select_order_map(:a).must_equal []
1800
+ @ds.filter(Sequel.expr(:a).escaped_like('?', 'foo_')).select_order_map(:a).must_equal ['foo_']
1801
+ @ds.filter(Sequel.expr(:b).escaped_like('?', ['bar%'])).select_order_map(:b).must_equal ['bar%']
1802
+ @ds.filter(Sequel.expr(:a).escaped_like('??', ['fo', 'o\\_'])).select_order_map(:a).must_equal ['foo\\_']
1803
+ @ds.filter(Sequel.expr(:b).escaped_like('?', 'bar\\%')).select_order_map(:b).must_equal ['bar\\%']
1804
+ @ds.filter(Sequel.expr(:a).escaped_like('?', '[f#*?oo_]')).select_order_map(:a).must_equal ['[f#*?oo_]']
1805
+ @ds.filter(Sequel.expr(:b).escaped_like('?', '[bar%]')).select_order_map(:b).must_equal ['[bar%]']
1806
+ @ds.filter(Sequel.expr(:b).escaped_like('?_', 'bar%')).select_order_map(:b).must_equal ['bar%.']
1807
+ @ds.filter(Sequel.expr(:b).escaped_like('?%', 'bar%')).select_order_map(:b).must_equal ['bar%', 'bar%.', 'bar%..']
1808
+
1809
+ @ds.filter(Sequel.expr(:a).escaped_ilike('?', 'Foo_')).select_order_map(:a).must_equal ['foo_']
1810
+ @ds.filter(Sequel.expr(:a).escaped_ilike('?', 'Foo_')).select_order_map(:a).must_equal ['foo_']
1811
+ @ds.filter(Sequel.expr(:b).escaped_ilike('?', ['Bar%'])).select_order_map(:b).must_equal ['bar%']
1812
+ @ds.filter(Sequel.expr(:a).escaped_ilike('??', ['Fo', 'o\\_'])).select_order_map(:a).must_equal ['foo\\_']
1813
+ @ds.filter(Sequel.expr(:b).escaped_ilike('?', 'Bar\\%')).select_order_map(:b).must_equal ['bar\\%']
1814
+ @ds.filter(Sequel.expr(:a).escaped_ilike('?', '[F#*?oo_]')).select_order_map(:a).must_equal ['[f#*?oo_]']
1815
+ @ds.filter(Sequel.expr(:b).escaped_ilike('?', '[Bar%]')).select_order_map(:b).must_equal ['[bar%]']
1816
+ @ds.filter(Sequel.expr(:b).escaped_ilike('?_', 'Bar%')).select_order_map(:b).must_equal ['bar%.']
1817
+ @ds.filter(Sequel.expr(:b).escaped_ilike('?%', 'Bar%')).select_order_map(:b).must_equal ['bar%', 'bar%.', 'bar%..']
1818
+ end
1819
+
1820
+ if DB.dataset.supports_regexp?
1821
+ it "#like with regexp return matching rows" do
1822
+ @ds.insert('foo', 'bar')
1823
+ @ds.filter(Sequel.expr(:a).like(/fo/)).all.must_equal [{:a=>'foo', :b=>'bar'}]
1824
+ @ds.filter(Sequel.expr(:a).like(/fo$/)).all.must_equal []
1825
+ @ds.filter(Sequel.expr(:a).like(/fo/, /ar/)).all.must_equal [{:a=>'foo', :b=>'bar'}]
1826
+ @ds.exclude(Sequel.expr(:a).like(/fo/)).all.must_equal []
1827
+ @ds.exclude(Sequel.expr(:a).like(/fo$/)).all.must_equal [{:a=>'foo', :b=>'bar'}]
1828
+ @ds.exclude(Sequel.expr(:a).like(/fo/, /ar/)).all.must_equal []
1829
+ end
1830
+
1831
+ it "#like with regexp should be case sensitive if regexp is case sensitive" do
1832
+ @ds.insert('foo', 'bar')
1833
+ @ds.filter(Sequel.expr(:a).like(/Fo/)).all.must_equal []
1834
+ @ds.filter(Sequel.expr(:b).like(/baR/)).all.must_equal []
1835
+ @ds.filter(Sequel.expr(:a).like(/FOO/, /BAR/)).all.must_equal []
1836
+ @ds.exclude(Sequel.expr(:a).like(/Fo/)).all.must_equal [{:a=>'foo', :b=>'bar'}]
1837
+ @ds.exclude(Sequel.expr(:b).like(/baR/)).all.must_equal [{:a=>'foo', :b=>'bar'}]
1838
+ @ds.exclude(Sequel.expr(:a).like(/FOO/, /BAR/)).all.must_equal [{:a=>'foo', :b=>'bar'}]
1839
+
1840
+ @ds.filter(Sequel.expr(:a).like(/Fo/i)).all.must_equal [{:a=>'foo', :b=>'bar'}]
1841
+ @ds.filter(Sequel.expr(:b).like(/baR/i)).all.must_equal [{:a=>'foo', :b=>'bar'}]
1842
+ @ds.filter(Sequel.expr(:a).like(/FOO/i, /BAR/i)).all.must_equal [{:a=>'foo', :b=>'bar'}]
1843
+ @ds.exclude(Sequel.expr(:a).like(/Fo/i)).all.must_equal []
1844
+ @ds.exclude(Sequel.expr(:b).like(/baR/i)).all.must_equal []
1845
+ @ds.exclude(Sequel.expr(:a).like(/FOO/i, /BAR/i)).all.must_equal []
1846
+ end
1847
+
1848
+ it "#ilike with regexp should return matching rows, in a case insensitive manner" do
1849
+ @ds.insert('foo', 'bar')
1850
+ @ds.filter(Sequel.expr(:a).ilike(/Fo/)).all.must_equal [{:a=>'foo', :b=>'bar'}]
1851
+ @ds.filter(Sequel.expr(:b).ilike(/baR/)).all.must_equal [{:a=>'foo', :b=>'bar'}]
1852
+ @ds.filter(Sequel.expr(:a).ilike(/FOO/, /BAR/)).all.must_equal [{:a=>'foo', :b=>'bar'}]
1853
+ @ds.exclude(Sequel.expr(:a).ilike(/Fo/)).all.must_equal []
1854
+ @ds.exclude(Sequel.expr(:b).ilike(/baR/)).all.must_equal []
1855
+ @ds.exclude(Sequel.expr(:a).ilike(/FOO/, /BAR/)).all.must_equal []
1856
+ end
1857
+ end
1858
+
1859
+ it "should work with strings created with Sequel.join" do
1860
+ @ds.insert('foo', 'bar')
1861
+ @ds.get(Sequel.join([:a, "bar"])).must_equal 'foobar'
1862
+ @ds.get(Sequel.join(["foo", :b], ' ')).must_equal 'foo bar'
1863
+ end
1864
+ end
1865
+
1866
+ describe "Dataset identifier methods" do
1867
+ before(:all) do
1868
+ class ::String
1869
+ def uprev
1870
+ upcase.reverse
1871
+ end
1872
+ end
1873
+ @db = DB
1874
+ @db.create_table!(:a){Integer :ab}
1875
+ @db[:a].insert(1)
1876
+ end
1877
+ before do
1878
+ @ds = @db[:a].order(:ab)
1879
+ end
1880
+ after(:all) do
1881
+ @db.drop_table?(:a)
1882
+ end
1883
+
1884
+ it "#identifier_output_method should change how identifiers are output" do
1885
+ @ds.with_identifier_output_method(:upcase).first.must_equal(:AB=>1)
1886
+ @ds.with_identifier_output_method(:uprev).first.must_equal(:BA=>1)
1887
+ end
1888
+
1889
+ it "should work with a nil identifier_output_method" do
1890
+ [{:ab=>1}, {:AB=>1}].must_include(@ds.with_identifier_output_method(nil).first)
1891
+ end
1892
+
1893
+ it "should work when not quoting identifiers" do
1894
+ @ds.with_quote_identifiers(false).first.must_equal(:ab=>1)
1895
+ end
1896
+ end if IDENTIFIER_MANGLING
1897
+
1898
+ if DB.dataset.supports_modifying_joins?
1899
+ describe "Modifying joined datasets" do
1900
+ before do
1901
+ @db = DB
1902
+ @db.create_table!(:a){Integer :a; Integer :d}
1903
+ @db.create_table!(:b){Integer :b; Integer :e}
1904
+ @db.create_table!(:c){Integer :c; Integer :f}
1905
+ @ds = @db.from(:a, :b).join(:c, {:c=>Sequel.identifier(:e)}, :qualify=>:symbol).where(:d=>:b, :f=>6)
1906
+ @db[:a].insert(1, 2)
1907
+ @db[:a].insert(3, 4)
1908
+ @db[:b].insert(2, 5)
1909
+ @db[:c].insert(5, 6)
1910
+ @db[:b].insert(4, 7)
1911
+ @db[:c].insert(7, 8)
1912
+ end
1913
+ after do
1914
+ @db.drop_table?(:a, :b, :c)
1915
+ end
1916
+
1917
+ it "#update should allow updating joined datasets" do
1918
+ @ds.update(:a=>10)
1919
+ @ds.all.must_equal [{:c=>5, :b=>2, :a=>10, :d=>2, :e=>5, :f=>6}]
1920
+ @db[:a].order(:a).all.must_equal [{:a=>3, :d=>4}, {:a=>10, :d=>2}]
1921
+ @db[:b].order(:b).all.must_equal [{:b=>2, :e=>5}, {:b=>4, :e=>7}]
1922
+ @db[:c].order(:c).all.must_equal [{:c=>5, :f=>6}, {:c=>7, :f=>8}]
1923
+ end
1924
+
1925
+ it "#delete should allow deleting from joined datasets" do
1926
+ @ds.delete
1927
+ @ds.all.must_equal []
1928
+ @db[:a].order(:a).all.must_equal [{:a=>3, :d=>4}]
1929
+ @db[:b].order(:b).all.must_equal [{:b=>2, :e=>5}, {:b=>4, :e=>7}]
1930
+ @db[:c].order(:c).all.must_equal [{:c=>5, :f=>6}, {:c=>7, :f=>8}]
1931
+ end
1932
+ end
1933
+ end
1934
+
1935
+ describe "Emulated functions" do
1936
+ before(:all) do
1937
+ @db = DB
1938
+ @db.create_table!(:a){String :a}
1939
+ @ds = @db[:a]
1940
+ end
1941
+ after(:all) do
1942
+ @db.drop_table?(:a)
1943
+ end
1944
+ after do
1945
+ @ds.delete
1946
+ end
1947
+
1948
+ it "Sequel.char_length should return the length of characters in the string" do
1949
+ @ds.get(Sequel.char_length(:a)).must_be_nil
1950
+ @ds.insert(:a=>'foo')
1951
+ @ds.get(Sequel.char_length(:a)).must_equal 3
1952
+ # Check behavior with leading/trailing blanks
1953
+ @ds.update(:a=>' foo22 ')
1954
+ @ds.get(Sequel.char_length(:a)).must_equal 7
1955
+ end
1956
+
1957
+ it "Sequel.trim should return the string with spaces trimmed from both sides" do
1958
+ @ds.get(Sequel.trim(:a)).must_be_nil
1959
+ @ds.insert(:a=>'foo')
1960
+ @ds.get(Sequel.trim(:a)).must_equal 'foo'
1961
+ # Check behavior with leading/trailing blanks
1962
+ @ds.update(:a=>' foo22 ')
1963
+ @ds.get(Sequel.trim(:a)).must_equal 'foo22'
1964
+ end
1965
+ end
1966
+
1967
+ describe "Dataset replace" do
1968
+ before do
1969
+ DB.create_table!(:items){Integer :id, :unique=>true; Integer :value}
1970
+ @d = DB[:items]
1971
+ end
1972
+
1973
+ after do
1974
+ DB.drop_table?(:items)
1975
+ end
1976
+
1977
+ it "should use support arrays, datasets, and multiple values" do
1978
+ @d.replace([1, 2])
1979
+ @d.all.must_equal [{:id=>1, :value=>2}]
1980
+ @d.replace(1, 2)
1981
+ @d.all.must_equal [{:id=>1, :value=>2}]
1982
+ @d.replace(@d)
1983
+ @d.all.must_equal [{:id=>1, :value=>2}]
1984
+ end
1985
+
1986
+ it "should create a record if the condition is not met" do
1987
+ @d.replace(:id => 111, :value => 333)
1988
+ @d.all.must_equal [{:id => 111, :value => 333}]
1989
+ end
1990
+
1991
+ it "should update a record if the condition is met" do
1992
+ @d.insert(:id => 111)
1993
+ @d.all.must_equal [{:id => 111, :value => nil}]
1994
+ @d.replace(:id => 111, :value => 333)
1995
+ @d.all.must_equal [{:id => 111, :value => 333}]
1996
+ end
1997
+ end if DB.dataset.supports_replace?