tdiary 5.0.14 → 5.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +12 -0
- data/Gemfile.lock +44 -42
- data/lib/aws/pa_api.rb +72 -0
- data/lib/aws/sig_v4.rb +45 -0
- data/lib/tdiary/comment_manager.rb +1 -1
- data/lib/tdiary/tasks/release.rake +2 -2
- data/lib/tdiary/version.rb +1 -1
- data/misc/paas/heroku/Gemfile.local +1 -1
- data/misc/paas/heroku/Gemfile.lock +55 -52
- data/misc/plugin/amazon.rb +63 -180
- data/misc/plugin/makerss.rb +1 -4
- data/public/assets/00default.js +104 -0
- data/public/assets/01conf.js +78 -0
- data/public/assets/02edit.js +15 -0
- data/public/assets/amazon.js +13 -0
- data/public/assets/amazon_bitly.js +43 -0
- data/public/assets/base.css +284 -0
- data/public/assets/calendar3.js +130 -0
- data/public/assets/caretposition.js +170 -0
- data/public/assets/category.js +29 -0
- data/public/assets/category_autocomplete.js +96 -0
- data/public/assets/comment_ajax.js +27 -0
- data/public/assets/comment_emoji_autocomplete.js +138 -0
- data/public/assets/conf.block.png +0 -0
- data/public/assets/conf.css +254 -0
- data/public/assets/default/README +11 -0
- data/public/assets/default/body.png +0 -0
- data/public/assets/default/default.css +753 -0
- data/public/assets/default/default/README +11 -0
- data/public/assets/default/default/body.png +0 -0
- data/public/assets/default/default/default.css +753 -0
- data/public/assets/draft.js +149 -0
- data/public/assets/help.png +0 -0
- data/public/assets/highlight.js +36 -0
- data/public/assets/image.js +181 -0
- data/public/assets/loading.gif +0 -0
- data/public/assets/ogimage.png +0 -0
- data/public/assets/preview.js +69 -0
- data/public/assets/tdiary1/README +7 -0
- data/public/assets/tdiary1/tdiary1.css +394 -0
- data/public/assets/tdiary1/tdiary1/README +7 -0
- data/public/assets/tdiary1/tdiary1/tdiary1.css +394 -0
- data/public/assets/tdiary2/README +19 -0
- data/public/assets/tdiary2/tdiary2.css +624 -0
- data/public/assets/tdiary2/tdiary2/README +19 -0
- data/public/assets/tdiary2/tdiary2/tdiary2.css +624 -0
- data/public/index.rdf +1 -3
- data/vendor/bundle/bin/coveralls +27 -0
- data/vendor/bundle/bin/emot +27 -0
- data/vendor/bundle/bin/hikidoc +27 -0
- data/vendor/bundle/bin/htmldiff +29 -0
- data/vendor/bundle/bin/jasmine +27 -0
- data/vendor/bundle/bin/launchy +27 -0
- data/vendor/bundle/bin/ldiff +29 -0
- data/vendor/bundle/bin/nokogiri +27 -0
- data/vendor/bundle/bin/pit +27 -0
- data/vendor/bundle/bin/racksh +27 -0
- data/vendor/bundle/bin/rackup +27 -0
- data/vendor/bundle/bin/rake +27 -0
- data/vendor/bundle/bin/redcarpet +27 -0
- data/vendor/bundle/bin/rspec +27 -0
- data/vendor/bundle/bin/sequel +27 -0
- data/vendor/bundle/bin/term_cdiff +27 -0
- data/vendor/bundle/bin/term_colortab +27 -0
- data/vendor/bundle/bin/term_decolor +27 -0
- data/vendor/bundle/bin/term_display +27 -0
- data/vendor/bundle/bin/term_mandel +27 -0
- data/vendor/bundle/bin/term_snow +27 -0
- data/vendor/bundle/bin/thor +27 -0
- data/vendor/bundle/cache/addressable-2.7.0.gem +0 -0
- data/vendor/bundle/cache/capybara-3.29.0.gem +0 -0
- data/vendor/bundle/cache/childprocess-3.0.0.gem +0 -0
- data/vendor/bundle/cache/coveralls-0.8.23.gem +0 -0
- data/vendor/bundle/cache/diff-lcs-1.3.gem +0 -0
- data/vendor/bundle/cache/docile-1.3.2.gem +0 -0
- data/vendor/bundle/cache/emot-0.0.4.gem +0 -0
- data/vendor/bundle/cache/faraday-0.17.1.gem +0 -0
- data/vendor/bundle/cache/fastimage-2.1.7.gem +0 -0
- data/vendor/bundle/cache/hikidoc-0.1.0.gem +0 -0
- data/vendor/bundle/cache/jasmine-2.99.0.gem +0 -0
- data/vendor/bundle/cache/jasmine-core-2.99.2.gem +0 -0
- data/vendor/bundle/cache/json-2.2.0.gem +0 -0
- data/vendor/bundle/cache/launchy-2.4.3.gem +0 -0
- data/vendor/bundle/cache/mail-2.7.1.gem +0 -0
- data/vendor/bundle/cache/mime-types-3.3.gem +0 -0
- data/vendor/bundle/cache/mime-types-data-3.2019.1009.gem +0 -0
- data/vendor/bundle/cache/mini_mime-1.0.2.gem +0 -0
- data/vendor/bundle/cache/mini_portile2-2.4.0.gem +0 -0
- data/vendor/bundle/cache/multipart-post-2.1.1.gem +0 -0
- data/vendor/bundle/cache/nokogiri-1.10.5.gem +0 -0
- data/vendor/bundle/cache/octokit-4.14.0.gem +0 -0
- data/vendor/bundle/cache/phantomjs-2.1.1.0.gem +0 -0
- data/vendor/bundle/cache/pit-0.0.7.gem +0 -0
- data/vendor/bundle/cache/power_assert-1.1.5.gem +0 -0
- data/vendor/bundle/cache/public_suffix-4.0.1.gem +0 -0
- data/vendor/bundle/cache/rack-2.0.7.gem +0 -0
- data/vendor/bundle/cache/rack-test-1.1.0.gem +0 -0
- data/vendor/bundle/cache/racksh-1.0.0.gem +0 -0
- data/vendor/bundle/cache/rake-13.0.1.gem +0 -0
- data/vendor/bundle/cache/redcarpet-3.5.0.gem +0 -0
- data/vendor/bundle/cache/regexp_parser-1.6.0.gem +0 -0
- data/vendor/bundle/cache/rspec-3.9.0.gem +0 -0
- data/vendor/bundle/cache/rspec-core-3.9.0.gem +0 -0
- data/vendor/bundle/cache/rspec-expectations-3.9.0.gem +0 -0
- data/vendor/bundle/cache/rspec-mocks-3.9.0.gem +0 -0
- data/vendor/bundle/cache/rspec-support-3.9.0.gem +0 -0
- data/vendor/bundle/cache/rubyzip-2.0.0.gem +0 -0
- data/vendor/bundle/cache/sawyer-0.8.2.gem +0 -0
- data/vendor/bundle/cache/selenium-webdriver-3.142.6.gem +0 -0
- data/vendor/bundle/cache/sequel-5.26.0.gem +0 -0
- data/vendor/bundle/cache/simplecov-0.16.1.gem +0 -0
- data/vendor/bundle/cache/simplecov-html-0.10.2.gem +0 -0
- data/vendor/bundle/cache/sqlite3-1.4.1.gem +0 -0
- data/vendor/bundle/cache/term-ansicolor-1.7.1.gem +0 -0
- data/vendor/bundle/cache/test-unit-3.3.4.gem +0 -0
- data/vendor/bundle/cache/thor-0.20.3.gem +0 -0
- data/vendor/bundle/cache/tins-1.22.2.gem +0 -0
- data/vendor/bundle/cache/xpath-3.2.0.gem +0 -0
- data/vendor/bundle/extensions/x86_64-linux/2.6.0-static/json-2.2.0/gem.build_complete +0 -0
- data/vendor/bundle/extensions/x86_64-linux/2.6.0-static/json-2.2.0/gem_make.out +13 -0
- data/vendor/bundle/extensions/x86_64-linux/2.6.0-static/json-2.2.0/json/ext/generator.so +0 -0
- data/vendor/bundle/extensions/x86_64-linux/2.6.0-static/json-2.2.0/json/ext/parser.so +0 -0
- data/vendor/bundle/extensions/x86_64-linux/2.6.0-static/json-2.2.0/mkmf.log +69 -0
- data/vendor/bundle/extensions/x86_64-linux/2.6.0-static/nokogiri-1.10.5/gem.build_complete +0 -0
- data/vendor/bundle/extensions/x86_64-linux/2.6.0-static/nokogiri-1.10.5/gem_make.out +449 -0
- data/vendor/bundle/extensions/x86_64-linux/2.6.0-static/nokogiri-1.10.5/mkmf.log +566 -0
- data/vendor/bundle/extensions/x86_64-linux/2.6.0-static/nokogiri-1.10.5/nokogiri/nokogiri.so +0 -0
- data/vendor/bundle/extensions/x86_64-linux/2.6.0-static/redcarpet-3.5.0/gem.build_complete +0 -0
- data/vendor/bundle/extensions/x86_64-linux/2.6.0-static/redcarpet-3.5.0/gem_make.out +119 -0
- data/vendor/bundle/extensions/x86_64-linux/2.6.0-static/redcarpet-3.5.0/redcarpet.so +0 -0
- data/vendor/bundle/extensions/x86_64-linux/2.6.0-static/sqlite3-1.4.1/gem.build_complete +0 -0
- data/vendor/bundle/extensions/x86_64-linux/2.6.0-static/sqlite3-1.4.1/gem_make.out +77 -0
- data/vendor/bundle/extensions/x86_64-linux/2.6.0-static/sqlite3-1.4.1/mkmf.log +631 -0
- data/vendor/bundle/extensions/x86_64-linux/2.6.0-static/sqlite3-1.4.1/sqlite3/sqlite3_native.so +0 -0
- data/vendor/bundle/gems/addressable-2.7.0/CHANGELOG.md +235 -0
- data/vendor/bundle/gems/addressable-2.7.0/Gemfile +32 -0
- data/vendor/bundle/gems/addressable-2.7.0/LICENSE.txt +202 -0
- data/vendor/bundle/gems/addressable-2.7.0/README.md +121 -0
- data/vendor/bundle/gems/addressable-2.7.0/Rakefile +34 -0
- data/vendor/bundle/gems/addressable-2.7.0/data/unicode.data +0 -0
- data/vendor/bundle/gems/addressable-2.7.0/lib/addressable.rb +4 -0
- data/vendor/bundle/gems/addressable-2.7.0/lib/addressable/idna.rb +27 -0
- data/vendor/bundle/gems/addressable-2.7.0/lib/addressable/idna/native.rb +61 -0
- data/vendor/bundle/gems/addressable-2.7.0/lib/addressable/idna/pure.rb +676 -0
- data/vendor/bundle/gems/addressable-2.7.0/lib/addressable/template.rb +1045 -0
- data/vendor/bundle/gems/addressable-2.7.0/lib/addressable/uri.rb +2529 -0
- data/vendor/bundle/gems/addressable-2.7.0/lib/addressable/version.rb +32 -0
- data/vendor/bundle/gems/addressable-2.7.0/spec/addressable/idna_spec.rb +300 -0
- data/vendor/bundle/gems/addressable-2.7.0/spec/addressable/net_http_compat_spec.rb +30 -0
- data/vendor/bundle/gems/addressable-2.7.0/spec/addressable/rack_mount_compat_spec.rb +106 -0
- data/vendor/bundle/gems/addressable-2.7.0/spec/addressable/security_spec.rb +59 -0
- data/vendor/bundle/gems/addressable-2.7.0/spec/addressable/template_spec.rb +1451 -0
- data/vendor/bundle/gems/addressable-2.7.0/spec/addressable/uri_spec.rb +6603 -0
- data/vendor/bundle/gems/addressable-2.7.0/spec/spec_helper.rb +24 -0
- data/vendor/bundle/gems/addressable-2.7.0/tasks/clobber.rake +4 -0
- data/vendor/bundle/gems/addressable-2.7.0/tasks/gem.rake +93 -0
- data/vendor/bundle/gems/addressable-2.7.0/tasks/git.rake +47 -0
- data/vendor/bundle/gems/addressable-2.7.0/tasks/metrics.rake +24 -0
- data/vendor/bundle/gems/addressable-2.7.0/tasks/rspec.rake +23 -0
- data/vendor/bundle/gems/addressable-2.7.0/tasks/yard.rake +29 -0
- data/vendor/bundle/gems/capybara-3.29.0/History.md +1743 -0
- data/vendor/bundle/gems/capybara-3.29.0/License.txt +22 -0
- data/vendor/bundle/gems/capybara-3.29.0/README.md +1099 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara.rb +511 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/config.rb +90 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/cucumber.rb +27 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/driver/base.rb +170 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/driver/node.rb +139 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/dsl.rb +57 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/helpers.rb +106 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/minitest.rb +297 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/minitest/spec.rb +208 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/node/actions.rb +416 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/node/base.rb +143 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/node/document.rb +48 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/node/document_matchers.rb +67 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/node/element.rb +599 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/node/finders.rb +319 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/node/matchers.rb +868 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/node/simple.rb +206 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/queries/ancestor_query.rb +27 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/queries/base_query.rb +105 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/queries/current_path_query.rb +51 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/queries/match_query.rb +26 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/queries/selector_query.rb +697 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/queries/sibling_query.rb +26 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/queries/style_query.rb +45 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/queries/text_query.rb +110 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/queries/title_query.rb +39 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rack_test/browser.rb +135 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rack_test/css_handlers.rb +13 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rack_test/driver.rb +109 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rack_test/errors.rb +6 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rack_test/form.rb +127 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rack_test/node.rb +300 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rails.rb +16 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/registrations/drivers.rb +36 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/registrations/patches/puma_ssl.rb +27 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/registrations/servers.rb +44 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/result.rb +166 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rspec.rb +29 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rspec/features.rb +23 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rspec/matcher_proxies.rb +82 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rspec/matchers.rb +201 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rspec/matchers/base.rb +105 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rspec/matchers/become_closed.rb +33 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rspec/matchers/compound.rb +88 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rspec/matchers/count_sugar.rb +36 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rspec/matchers/have_ancestor.rb +27 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rspec/matchers/have_current_path.rb +29 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rspec/matchers/have_selector.rb +69 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rspec/matchers/have_sibling.rb +27 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rspec/matchers/have_text.rb +33 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rspec/matchers/have_title.rb +29 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rspec/matchers/match_selector.rb +27 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rspec/matchers/match_style.rb +38 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/rspec/matchers/spatial_sugar.rb +38 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector.rb +225 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/builders/css_builder.rb +84 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/builders/xpath_builder.rb +69 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/css.rb +102 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition.rb +276 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/button.rb +46 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/checkbox.rb +26 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/css.rb +8 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/datalist_input.rb +35 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/datalist_option.rb +25 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/element.rb +27 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/field.rb +40 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/fieldset.rb +14 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/file_field.rb +13 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/fillable_field.rb +33 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/frame.rb +17 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/id.rb +6 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/label.rb +60 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/link.rb +46 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/link_or_button.rb +16 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/option.rb +27 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/radio_button.rb +27 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/select.rb +62 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/table.rb +106 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/table_row.rb +21 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/xpath.rb +5 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/filter.rb +5 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/filter_set.rb +122 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/filters/base.rb +72 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/filters/expression_filter.rb +22 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/filters/locator_filter.rb +29 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/filters/node_filter.rb +31 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/regexp_disassembler.rb +214 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/selector.rb +145 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/xpath_extensions.rb +17 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/atoms/getAttribute.min.js +1 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/atoms/isDisplayed.min.js +1 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/atoms/src/getAttribute.js +161 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/atoms/src/isDisplayed.js +454 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/driver.rb +487 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/driver_specializations/chrome_driver.rb +119 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/driver_specializations/edge_driver.rb +126 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/driver_specializations/firefox_driver.rb +89 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/driver_specializations/internet_explorer_driver.rb +26 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/driver_specializations/safari_driver.rb +24 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/extensions/file_input_click_emulation.rb +34 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/extensions/find.rb +110 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/extensions/html5_drag.rb +211 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/extensions/modifier_keys_stack.rb +28 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/extensions/scroll.rb +78 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/logger_suppressor.rb +34 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/node.rb +532 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/nodes/chrome_node.rb +122 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/nodes/edge_node.rb +102 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/nodes/firefox_node.rb +131 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/nodes/ie_node.rb +22 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/nodes/safari_node.rb +118 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/patches/atoms.rb +18 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/patches/is_displayed.rb +16 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/patches/logs.rb +47 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/patches/pause_duration_fix.rb +9 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/patches/persistent_client.rb +20 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/server.rb +114 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/server/animation_disabler.rb +58 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/server/checker.rb +44 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/server/middleware.rb +59 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/session.rb +925 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/session/config.rb +120 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/session/matchers.rb +87 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/fixtures/another_test_file.txt +1 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/fixtures/capybara.jpg +3 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/fixtures/no_extension +1 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/fixtures/test_file.txt +1 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/public/jquery-ui.js +13 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/public/jquery.js +5 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/public/offset.js +6 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/public/test.js +212 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/accept_alert_spec.rb +81 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/accept_confirm_spec.rb +32 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/accept_prompt_spec.rb +78 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/all_spec.rb +223 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/ancestor_spec.rb +83 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/assert_all_of_selectors_spec.rb +140 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/assert_current_path_spec.rb +75 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/assert_selector_spec.rb +143 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/assert_style_spec.rb +26 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/assert_text_spec.rb +254 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/assert_title_spec.rb +93 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/attach_file_spec.rb +216 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/body_spec.rb +23 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/check_spec.rb +235 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/choose_spec.rb +121 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/click_button_spec.rb +501 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/click_link_or_button_spec.rb +129 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/click_link_spec.rb +229 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/current_scope_spec.rb +31 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/current_url_spec.rb +115 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/dismiss_confirm_spec.rb +36 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/dismiss_prompt_spec.rb +21 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/element/assert_match_selector_spec.rb +38 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/element/match_css_spec.rb +31 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/element/match_xpath_spec.rb +25 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/element/matches_selector_spec.rb +120 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/evaluate_async_script_spec.rb +23 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/evaluate_script_spec.rb +49 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/execute_script_spec.rb +28 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/fill_in_spec.rb +257 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/find_button_spec.rb +74 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/find_by_id_spec.rb +33 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/find_field_spec.rb +113 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/find_link_spec.rb +70 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/find_spec.rb +508 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/first_spec.rb +156 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/frame/frame_title_spec.rb +23 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/frame/frame_url_spec.rb +23 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/frame/switch_to_frame_spec.rb +116 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/frame/within_frame_spec.rb +112 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/go_back_spec.rb +12 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/go_forward_spec.rb +14 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/has_all_selectors_spec.rb +69 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/has_ancestor_spec.rb +46 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/has_any_selectors_spec.rb +25 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/has_button_spec.rb +69 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/has_css_spec.rb +371 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/has_current_path_spec.rb +138 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/has_field_spec.rb +349 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/has_link_spec.rb +39 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/has_none_selectors_spec.rb +78 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/has_select_spec.rb +282 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/has_selector_spec.rb +202 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/has_sibling_spec.rb +50 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/has_table_spec.rb +152 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/has_text_spec.rb +359 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/has_title_spec.rb +71 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/has_xpath_spec.rb +149 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/headers_spec.rb +8 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/html_spec.rb +47 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/matches_style_spec.rb +35 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/node_spec.rb +1161 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/node_wrapper_spec.rb +39 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/refresh_spec.rb +33 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/reset_session_spec.rb +148 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/response_code_spec.rb +8 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/save_and_open_page_spec.rb +21 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/save_and_open_screenshot_spec.rb +43 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/save_page_spec.rb +110 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/save_screenshot_spec.rb +55 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/screenshot_spec.rb +18 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/scroll_spec.rb +117 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/select_spec.rb +229 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/selectors_spec.rb +85 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/sibling_spec.rb +52 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/source_spec.rb +0 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/text_spec.rb +74 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/title_spec.rb +29 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/uncheck_spec.rb +100 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/unselect_spec.rb +116 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/visit_spec.rb +204 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/window/become_closed_spec.rb +89 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/window/current_window_spec.rb +28 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/window/open_new_window_spec.rb +31 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/window/switch_to_window_spec.rb +132 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/window/window_opened_by_spec.rb +99 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/window/window_spec.rb +203 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/window/windows_spec.rb +34 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/window/within_window_spec.rb +157 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/within_spec.rb +199 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/spec_helper.rb +135 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/test_app.rb +226 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/animated.erb +49 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/buttons.erb +5 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/fieldsets.erb +30 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/form.erb +670 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/frame_child.erb +18 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/frame_one.erb +10 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/frame_parent.erb +9 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/frame_two.erb +9 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/header_links.erb +8 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/host_links.erb +13 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/initial_alert.erb +10 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/obscured.erb +47 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/offset.erb +32 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/path.erb +13 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/popup_one.erb +9 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/popup_two.erb +9 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/postback.erb +14 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/react.erb +45 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/scroll.erb +20 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/spatial.erb +31 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/tables.erb +130 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_animation.erb +74 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_base_tag.erb +11 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_count.erb +8 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_dragula.erb +22 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_fixed_header_footer.erb +17 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_hover.erb +24 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_hover1.erb +10 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_html.erb +208 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_html5_svg.erb +20 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_html_entities.erb +2 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_js.erb +160 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_jstree.erb +26 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_namespace.erb +20 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_scope.erb +42 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_scope_other.erb +6 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_simple_html.erb +2 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_slow_unload.erb +17 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_sortable_js.erb +21 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_title.erb +5 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_unload_alert.erb +14 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/with_windows.erb +54 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/views/within_frames.erb +15 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/version.rb +5 -0
- data/vendor/bundle/gems/capybara-3.29.0/lib/capybara/window.rb +146 -0
- data/vendor/bundle/gems/capybara-3.29.0/spec/basic_node_spec.rb +154 -0
- data/vendor/bundle/gems/capybara-3.29.0/spec/capybara_spec.rb +112 -0
- data/vendor/bundle/gems/capybara-3.29.0/spec/css_builder_spec.rb +101 -0
- data/vendor/bundle/gems/capybara-3.29.0/spec/css_splitter_spec.rb +38 -0
- data/vendor/bundle/gems/capybara-3.29.0/spec/dsl_spec.rb +276 -0
- data/vendor/bundle/gems/capybara-3.29.0/spec/filter_set_spec.rb +46 -0
- data/vendor/bundle/gems/capybara-3.29.0/spec/fixtures/capybara.csv +1 -0
- data/vendor/bundle/gems/capybara-3.29.0/spec/fixtures/certificate.pem +25 -0
- data/vendor/bundle/gems/capybara-3.29.0/spec/fixtures/key.pem +27 -0
- data/vendor/bundle/gems/capybara-3.29.0/spec/fixtures/selenium_driver_rspec_failure.rb +13 -0
- data/vendor/bundle/gems/capybara-3.29.0/spec/fixtures/selenium_driver_rspec_success.rb +13 -0
- data/vendor/bundle/gems/capybara-3.29.0/spec/minitest_spec.rb +163 -0
- data/vendor/bundle/gems/capybara-3.29.0/spec/minitest_spec_spec.rb +162 -0
- data/vendor/bundle/gems/capybara-3.29.0/spec/per_session_config_spec.rb +68 -0
- data/vendor/bundle/gems/capybara-3.29.0/spec/rack_test_spec.rb +257 -0
- data/vendor/bundle/gems/capybara-3.29.0/spec/regexp_dissassembler_spec.rb +246 -0
- data/vendor/bundle/gems/capybara-3.29.0/spec/result_spec.rb +185 -0
- data/vendor/bundle/gems/capybara-3.29.0/spec/rspec/features_spec.rb +98 -0
- data/vendor/bundle/gems/capybara-3.29.0/spec/rspec/scenarios_spec.rb +19 -0
- data/vendor/bundle/gems/capybara-3.29.0/spec/rspec/shared_spec_matchers.rb +947 -0
- data/vendor/bundle/gems/capybara-3.29.0/spec/rspec/views_spec.rb +14 -0
- data/vendor/bundle/gems/capybara-3.29.0/spec/rspec_matchers_spec.rb +62 -0
- data/vendor/bundle/gems/capybara-3.29.0/spec/rspec_spec.rb +145 -0
- data/vendor/bundle/gems/capybara-3.29.0/spec/sauce_spec_chrome.rb +43 -0
- data/vendor/bundle/gems/capybara-3.29.0/spec/selector_spec.rb +513 -0
- data/vendor/bundle/gems/capybara-3.29.0/spec/selenium_spec_chrome.rb +183 -0
- data/vendor/bundle/gems/capybara-3.29.0/spec/selenium_spec_chrome_remote.rb +94 -0
- data/vendor/bundle/gems/capybara-3.29.0/spec/selenium_spec_edge.rb +47 -0
- data/vendor/bundle/gems/capybara-3.29.0/spec/selenium_spec_firefox.rb +203 -0
- data/vendor/bundle/gems/capybara-3.29.0/spec/selenium_spec_firefox_remote.rb +80 -0
- data/vendor/bundle/gems/capybara-3.29.0/spec/selenium_spec_ie.rb +150 -0
- data/vendor/bundle/gems/capybara-3.29.0/spec/selenium_spec_safari.rb +148 -0
- data/vendor/bundle/gems/capybara-3.29.0/spec/server_spec.rb +250 -0
- data/vendor/bundle/gems/capybara-3.29.0/spec/session_spec.rb +91 -0
- data/vendor/bundle/gems/capybara-3.29.0/spec/shared_selenium_node.rb +65 -0
- data/vendor/bundle/gems/capybara-3.29.0/spec/shared_selenium_session.rb +466 -0
- data/vendor/bundle/gems/capybara-3.29.0/spec/spec_helper.rb +100 -0
- data/vendor/bundle/gems/capybara-3.29.0/spec/xpath_builder_spec.rb +93 -0
- data/vendor/bundle/gems/childprocess-3.0.0/CHANGELOG.md +73 -0
- data/vendor/bundle/gems/childprocess-3.0.0/Gemfile +21 -0
- data/vendor/bundle/gems/childprocess-3.0.0/LICENSE +20 -0
- data/vendor/bundle/gems/childprocess-3.0.0/README.md +218 -0
- data/vendor/bundle/gems/childprocess-3.0.0/Rakefile +61 -0
- data/vendor/bundle/gems/childprocess-3.0.0/appveyor.yml +42 -0
- data/vendor/bundle/gems/childprocess-3.0.0/childprocess.gemspec +26 -0
- data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess.rb +210 -0
- data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/abstract_io.rb +36 -0
- data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/abstract_process.rb +192 -0
- data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/errors.rb +37 -0
- data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/jruby.rb +56 -0
- data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/jruby/io.rb +16 -0
- data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/jruby/process.rb +184 -0
- data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/jruby/pump.rb +53 -0
- data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/tools/generator.rb +146 -0
- data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/unix.rb +9 -0
- data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/unix/fork_exec_process.rb +78 -0
- data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/unix/io.rb +21 -0
- data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/unix/lib.rb +186 -0
- data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/unix/platform/i386-linux.rb +12 -0
- data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/unix/platform/i386-solaris.rb +11 -0
- data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/unix/platform/x86_64-linux.rb +12 -0
- data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/unix/platform/x86_64-macosx.rb +11 -0
- data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/unix/posix_spawn_process.rb +134 -0
- data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/unix/process.rb +90 -0
- data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/version.rb +3 -0
- data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/windows.rb +38 -0
- data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/windows/handle.rb +91 -0
- data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/windows/io.rb +25 -0
- data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/windows/lib.rb +416 -0
- data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/windows/process.rb +130 -0
- data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/windows/process_builder.rb +178 -0
- data/vendor/bundle/gems/childprocess-3.0.0/lib/childprocess/windows/structs.rb +149 -0
- data/vendor/bundle/gems/childprocess-3.0.0/spec/abstract_io_spec.rb +12 -0
- data/vendor/bundle/gems/childprocess-3.0.0/spec/childprocess_spec.rb +447 -0
- data/vendor/bundle/gems/childprocess-3.0.0/spec/get_env.ps1 +13 -0
- data/vendor/bundle/gems/childprocess-3.0.0/spec/io_spec.rb +228 -0
- data/vendor/bundle/gems/childprocess-3.0.0/spec/jruby_spec.rb +24 -0
- data/vendor/bundle/gems/childprocess-3.0.0/spec/pid_behavior.rb +12 -0
- data/vendor/bundle/gems/childprocess-3.0.0/spec/platform_detection_spec.rb +86 -0
- data/vendor/bundle/gems/childprocess-3.0.0/spec/spec_helper.rb +270 -0
- data/vendor/bundle/gems/childprocess-3.0.0/spec/unix_spec.rb +57 -0
- data/vendor/bundle/gems/childprocess-3.0.0/spec/windows_spec.rb +23 -0
- data/vendor/bundle/gems/coveralls-0.8.23/CHANGELOG.md +21 -0
- data/vendor/bundle/gems/coveralls-0.8.23/Gemfile +41 -0
- data/vendor/bundle/gems/coveralls-0.8.23/LICENSE +22 -0
- data/vendor/bundle/gems/coveralls-0.8.23/README.md +3 -0
- data/vendor/bundle/gems/coveralls-0.8.23/Rakefile +14 -0
- data/vendor/bundle/gems/coveralls-0.8.23/bin/coveralls +9 -0
- data/vendor/bundle/gems/coveralls-0.8.23/coveralls-ruby.gemspec +29 -0
- data/vendor/bundle/gems/coveralls-0.8.23/lib/coveralls.rb +101 -0
- data/vendor/bundle/gems/coveralls-0.8.23/lib/coveralls/api.rb +128 -0
- data/vendor/bundle/gems/coveralls-0.8.23/lib/coveralls/command.rb +69 -0
- data/vendor/bundle/gems/coveralls-0.8.23/lib/coveralls/configuration.rb +233 -0
- data/vendor/bundle/gems/coveralls-0.8.23/lib/coveralls/output.rb +114 -0
- data/vendor/bundle/gems/coveralls-0.8.23/lib/coveralls/rake/task.rb +19 -0
- data/vendor/bundle/gems/coveralls-0.8.23/lib/coveralls/simplecov.rb +101 -0
- data/vendor/bundle/gems/coveralls-0.8.23/lib/coveralls/version.rb +3 -0
- data/vendor/bundle/gems/coveralls-0.8.23/spec/coveralls/configuration_spec.rb +368 -0
- data/vendor/bundle/gems/coveralls-0.8.23/spec/coveralls/coveralls_spec.rb +106 -0
- data/vendor/bundle/gems/coveralls-0.8.23/spec/coveralls/fixtures/app/controllers/sample.rb +12 -0
- data/vendor/bundle/gems/coveralls-0.8.23/spec/coveralls/fixtures/app/models/airplane.rb +10 -0
- data/vendor/bundle/gems/coveralls-0.8.23/spec/coveralls/fixtures/app/models/dog.rb +10 -0
- data/vendor/bundle/gems/coveralls-0.8.23/spec/coveralls/fixtures/app/models/house.rb +10 -0
- data/vendor/bundle/gems/coveralls-0.8.23/spec/coveralls/fixtures/app/models/robot.rb +10 -0
- data/vendor/bundle/gems/coveralls-0.8.23/spec/coveralls/fixtures/app/models/user.rb +10 -0
- data/vendor/bundle/gems/coveralls-0.8.23/spec/coveralls/fixtures/app/vendor/vendored_gem.rb +1 -0
- data/vendor/bundle/gems/coveralls-0.8.23/spec/coveralls/fixtures/sample.rb +12 -0
- data/vendor/bundle/gems/coveralls-0.8.23/spec/coveralls/output_spec.rb +92 -0
- data/vendor/bundle/gems/coveralls-0.8.23/spec/coveralls/simplecov_spec.rb +82 -0
- data/vendor/bundle/gems/coveralls-0.8.23/spec/spec_helper.rb +82 -0
- data/vendor/bundle/gems/diff-lcs-1.3/Code-of-Conduct.md +74 -0
- data/vendor/bundle/gems/diff-lcs-1.3/Contributing.md +83 -0
- data/vendor/bundle/gems/diff-lcs-1.3/History.md +220 -0
- data/vendor/bundle/gems/diff-lcs-1.3/License.md +39 -0
- data/vendor/bundle/gems/diff-lcs-1.3/Manifest.txt +37 -0
- data/vendor/bundle/gems/diff-lcs-1.3/README.rdoc +84 -0
- data/vendor/bundle/gems/diff-lcs-1.3/Rakefile +57 -0
- data/vendor/bundle/gems/diff-lcs-1.3/autotest/discover.rb +1 -0
- data/vendor/bundle/gems/diff-lcs-1.3/bin/htmldiff +32 -0
- data/vendor/bundle/gems/diff-lcs-1.3/bin/ldiff +6 -0
- data/vendor/bundle/gems/diff-lcs-1.3/docs/COPYING.txt +339 -0
- data/vendor/bundle/gems/diff-lcs-1.3/docs/artistic.txt +127 -0
- data/vendor/bundle/gems/diff-lcs-1.3/lib/diff-lcs.rb +3 -0
- data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs.rb +725 -0
- data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/array.rb +7 -0
- data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/block.rb +37 -0
- data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/callbacks.rb +322 -0
- data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/change.rb +181 -0
- data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/htmldiff.rb +149 -0
- data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/hunk.rb +276 -0
- data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/internals.rb +307 -0
- data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/ldiff.rb +167 -0
- data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/string.rb +5 -0
- data/vendor/bundle/gems/diff-lcs-1.3/spec/change_spec.rb +65 -0
- data/vendor/bundle/gems/diff-lcs-1.3/spec/diff_spec.rb +47 -0
- data/vendor/bundle/gems/diff-lcs-1.3/spec/fixtures/ds1.csv +50 -0
- data/vendor/bundle/gems/diff-lcs-1.3/spec/fixtures/ds2.csv +51 -0
- data/vendor/bundle/gems/diff-lcs-1.3/spec/hunk_spec.rb +72 -0
- data/vendor/bundle/gems/diff-lcs-1.3/spec/issues_spec.rb +49 -0
- data/vendor/bundle/gems/diff-lcs-1.3/spec/lcs_spec.rb +56 -0
- data/vendor/bundle/gems/diff-lcs-1.3/spec/ldiff_spec.rb +47 -0
- data/vendor/bundle/gems/diff-lcs-1.3/spec/patch_spec.rb +422 -0
- data/vendor/bundle/gems/diff-lcs-1.3/spec/sdiff_spec.rb +214 -0
- data/vendor/bundle/gems/diff-lcs-1.3/spec/spec_helper.rb +321 -0
- data/vendor/bundle/gems/diff-lcs-1.3/spec/traverse_balanced_spec.rb +310 -0
- data/vendor/bundle/gems/diff-lcs-1.3/spec/traverse_sequences_spec.rb +139 -0
- data/vendor/bundle/gems/docile-1.3.2/Gemfile +12 -0
- data/vendor/bundle/gems/docile-1.3.2/HISTORY.md +89 -0
- data/vendor/bundle/gems/docile-1.3.2/LICENSE +21 -0
- data/vendor/bundle/gems/docile-1.3.2/README.md +381 -0
- data/vendor/bundle/gems/docile-1.3.2/Rakefile +28 -0
- data/vendor/bundle/gems/docile-1.3.2/docile.gemspec +55 -0
- data/vendor/bundle/gems/docile-1.3.2/lib/docile.rb +123 -0
- data/vendor/bundle/gems/docile-1.3.2/lib/docile/chaining_fallback_context_proxy.rb +20 -0
- data/vendor/bundle/gems/docile-1.3.2/lib/docile/execution.rb +41 -0
- data/vendor/bundle/gems/docile-1.3.2/lib/docile/fallback_context_proxy.rb +93 -0
- data/vendor/bundle/gems/docile-1.3.2/lib/docile/version.rb +4 -0
- data/vendor/bundle/gems/docile-1.3.2/on_what.rb +26 -0
- data/vendor/bundle/gems/emot-0.0.4/Gemfile +4 -0
- data/vendor/bundle/gems/emot-0.0.4/LICENSE.txt +22 -0
- data/vendor/bundle/gems/emot-0.0.4/README.md +87 -0
- data/vendor/bundle/gems/emot-0.0.4/Rakefile +7 -0
- data/vendor/bundle/gems/emot-0.0.4/bin/emot +5 -0
- data/vendor/bundle/gems/emot-0.0.4/emot.gemspec +26 -0
- data/vendor/bundle/gems/emot-0.0.4/lib/emot.rb +34 -0
- data/vendor/bundle/gems/emot-0.0.4/lib/emot/cli.rb +62 -0
- data/vendor/bundle/gems/emot-0.0.4/lib/emot/map.rb +894 -0
- data/vendor/bundle/gems/emot-0.0.4/lib/emot/symbol_ext.rb +11 -0
- data/vendor/bundle/gems/emot-0.0.4/lib/emot/version.rb +3 -0
- data/vendor/bundle/gems/emot-0.0.4/spec/cli_spec.rb +56 -0
- data/vendor/bundle/gems/emot-0.0.4/spec/emot_spec.rb +50 -0
- data/vendor/bundle/gems/emot-0.0.4/spec/spec_helper.rb +2 -0
- data/vendor/bundle/gems/faraday-0.17.1/CHANGELOG.md +216 -0
- data/vendor/bundle/gems/faraday-0.17.1/LICENSE.md +20 -0
- data/vendor/bundle/gems/faraday-0.17.1/README.md +384 -0
- data/vendor/bundle/gems/faraday-0.17.1/Rakefile +13 -0
- data/vendor/bundle/gems/faraday-0.17.1/lib/faraday.rb +248 -0
- data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/adapter.rb +55 -0
- data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/adapter/em_http.rb +243 -0
- data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/adapter/em_http_ssl_patch.rb +56 -0
- data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/adapter/em_synchrony.rb +106 -0
- data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/adapter/em_synchrony/parallel_manager.rb +66 -0
- data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/adapter/excon.rb +82 -0
- data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/adapter/httpclient.rb +128 -0
- data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/adapter/net_http.rb +152 -0
- data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/adapter/net_http_persistent.rb +68 -0
- data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/adapter/patron.rb +95 -0
- data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/adapter/rack.rb +58 -0
- data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/adapter/test.rb +213 -0
- data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/adapter/typhoeus.rb +12 -0
- data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/autoload.rb +84 -0
- data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/connection.rb +484 -0
- data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/deprecate.rb +101 -0
- data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/error.rb +119 -0
- data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/middleware.rb +37 -0
- data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/options.rb +373 -0
- data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/parameters.rb +198 -0
- data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/rack_builder.rb +237 -0
- data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/request.rb +114 -0
- data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/request/authorization.rb +41 -0
- data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/request/basic_authentication.rb +13 -0
- data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/request/instrumentation.rb +36 -0
- data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/request/multipart.rb +68 -0
- data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/request/retry.rb +213 -0
- data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/request/token_authentication.rb +15 -0
- data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/request/url_encoded.rb +36 -0
- data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/response.rb +97 -0
- data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/response/logger.rb +80 -0
- data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/response/raise_error.rb +25 -0
- data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/upload_io.rb +67 -0
- data/vendor/bundle/gems/faraday-0.17.1/lib/faraday/utils.rb +326 -0
- data/vendor/bundle/gems/faraday-0.17.1/spec/faraday/deprecate_spec.rb +69 -0
- data/vendor/bundle/gems/faraday-0.17.1/spec/faraday/error_spec.rb +102 -0
- data/vendor/bundle/gems/faraday-0.17.1/spec/faraday/response/raise_error_spec.rb +95 -0
- data/vendor/bundle/gems/faraday-0.17.1/spec/spec_helper.rb +104 -0
- data/vendor/bundle/gems/faraday-0.17.1/test/adapters/default_test.rb +14 -0
- data/vendor/bundle/gems/faraday-0.17.1/test/adapters/em_http_test.rb +30 -0
- data/vendor/bundle/gems/faraday-0.17.1/test/adapters/em_synchrony_test.rb +32 -0
- data/vendor/bundle/gems/faraday-0.17.1/test/adapters/excon_test.rb +30 -0
- data/vendor/bundle/gems/faraday-0.17.1/test/adapters/httpclient_test.rb +34 -0
- data/vendor/bundle/gems/faraday-0.17.1/test/adapters/integration.rb +263 -0
- data/vendor/bundle/gems/faraday-0.17.1/test/adapters/logger_test.rb +136 -0
- data/vendor/bundle/gems/faraday-0.17.1/test/adapters/net_http_persistent_test.rb +114 -0
- data/vendor/bundle/gems/faraday-0.17.1/test/adapters/net_http_test.rb +79 -0
- data/vendor/bundle/gems/faraday-0.17.1/test/adapters/patron_test.rb +40 -0
- data/vendor/bundle/gems/faraday-0.17.1/test/adapters/rack_test.rb +38 -0
- data/vendor/bundle/gems/faraday-0.17.1/test/adapters/test_middleware_test.rb +157 -0
- data/vendor/bundle/gems/faraday-0.17.1/test/adapters/typhoeus_test.rb +38 -0
- data/vendor/bundle/gems/faraday-0.17.1/test/authentication_middleware_test.rb +65 -0
- data/vendor/bundle/gems/faraday-0.17.1/test/composite_read_io_test.rb +109 -0
- data/vendor/bundle/gems/faraday-0.17.1/test/connection_test.rb +738 -0
- data/vendor/bundle/gems/faraday-0.17.1/test/env_test.rb +268 -0
- data/vendor/bundle/gems/faraday-0.17.1/test/helper.rb +75 -0
- data/vendor/bundle/gems/faraday-0.17.1/test/live_server.rb +67 -0
- data/vendor/bundle/gems/faraday-0.17.1/test/middleware/instrumentation_test.rb +88 -0
- data/vendor/bundle/gems/faraday-0.17.1/test/middleware/retry_test.rb +282 -0
- data/vendor/bundle/gems/faraday-0.17.1/test/middleware_stack_test.rb +260 -0
- data/vendor/bundle/gems/faraday-0.17.1/test/multibyte.txt +1 -0
- data/vendor/bundle/gems/faraday-0.17.1/test/options_test.rb +333 -0
- data/vendor/bundle/gems/faraday-0.17.1/test/parameters_test.rb +157 -0
- data/vendor/bundle/gems/faraday-0.17.1/test/request_middleware_test.rb +126 -0
- data/vendor/bundle/gems/faraday-0.17.1/test/response_middleware_test.rb +72 -0
- data/vendor/bundle/gems/faraday-0.17.1/test/strawberry.rb +2 -0
- data/vendor/bundle/gems/faraday-0.17.1/test/utils_test.rb +98 -0
- data/vendor/bundle/gems/fastimage-2.1.7/MIT-LICENSE +20 -0
- data/vendor/bundle/gems/fastimage-2.1.7/README.textile +162 -0
- data/vendor/bundle/gems/fastimage-2.1.7/lib/fastimage.rb +788 -0
- data/vendor/bundle/gems/hikidoc-0.1.0/COPYING +28 -0
- data/vendor/bundle/gems/hikidoc-0.1.0/Gemfile +4 -0
- data/vendor/bundle/gems/hikidoc-0.1.0/NEWS +30 -0
- data/vendor/bundle/gems/hikidoc-0.1.0/NEWS.ja +30 -0
- data/vendor/bundle/gems/hikidoc-0.1.0/README +87 -0
- data/vendor/bundle/gems/hikidoc-0.1.0/README.ja +84 -0
- data/vendor/bundle/gems/hikidoc-0.1.0/Rakefile +8 -0
- data/vendor/bundle/gems/hikidoc-0.1.0/TextFormattingRules +320 -0
- data/vendor/bundle/gems/hikidoc-0.1.0/TextFormattingRules.ja +318 -0
- data/vendor/bundle/gems/hikidoc-0.1.0/bin/hikidoc +66 -0
- data/vendor/bundle/gems/hikidoc-0.1.0/hikidoc.gemspec +23 -0
- data/vendor/bundle/gems/hikidoc-0.1.0/lib/hikidoc.rb +912 -0
- data/vendor/bundle/gems/hikidoc-0.1.0/test/hikidoc_test.rb +506 -0
- data/vendor/bundle/gems/jasmine-2.99.0/Gemfile +30 -0
- data/vendor/bundle/gems/jasmine-2.99.0/HOW_TO_TEST.markdown +10 -0
- data/vendor/bundle/gems/jasmine-2.99.0/MIT.LICENSE +20 -0
- data/vendor/bundle/gems/jasmine-2.99.0/README.markdown +96 -0
- data/vendor/bundle/gems/jasmine-2.99.0/RELEASE.markdown +15 -0
- data/vendor/bundle/gems/jasmine-2.99.0/Rakefile +49 -0
- data/vendor/bundle/gems/jasmine-2.99.0/bin/jasmine +6 -0
- data/vendor/bundle/gems/jasmine-2.99.0/jasmine.gemspec +48 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/generators/jasmine/examples/USAGE +11 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/generators/jasmine/examples/examples_generator.rb +19 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/generators/jasmine/examples/templates/app/assets/javascripts/jasmine_examples/Player.js +22 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/generators/jasmine/examples/templates/app/assets/javascripts/jasmine_examples/Song.js +7 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/generators/jasmine/examples/templates/spec/javascripts/helpers/jasmine_examples/SpecHelper.js +15 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/generators/jasmine/examples/templates/spec/javascripts/jasmine_examples/PlayerSpec.js +58 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/generators/jasmine/install/USAGE +9 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/generators/jasmine/install/install_generator.rb +18 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/generators/jasmine/install/templates/spec/javascripts/support/jasmine.yml +145 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/generators/jasmine/install/templates/spec/javascripts/support/jasmine_helper.rb +16 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine.rb +32 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/application.rb +21 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/asset_expander.rb +66 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/asset_pipeline_mapper.rb +17 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/base.rb +54 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/ci_runner.rb +50 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/command_line_install.txt +13 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/command_line_tool.rb +125 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/config.rb +135 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/configuration.rb +114 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/core_configuration.rb +31 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/dependencies.rb +28 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/formatters/console.rb +118 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/formatters/exit_code.rb +23 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/formatters/multi.rb +17 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/page.rb +11 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/path_expander.rb +22 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/path_mapper.rb +38 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/railtie.rb +22 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/result.rb +58 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/ruby_versions.rb +11 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/run.html.erb +20 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/runners/phantom_boot.js +15 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/runners/phantom_jasmine_run.js +50 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/runners/phantom_js.rb +74 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/server.rb +17 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/tasks/jasmine.rake +71 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/tasks/jasmine_rails.rake +1 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/version.rb +3 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/jasmine/yaml_config_parser.rb +95 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/rack/jasmine/cache_control.rb +20 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/rack/jasmine/focused_suite.rb +17 -0
- data/vendor/bundle/gems/jasmine-2.99.0/lib/rack/jasmine/runner.rb +27 -0
- data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v1.2.1.md +6 -0
- data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v1.3.2.md +32 -0
- data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v2.0.0.md +78 -0
- data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v2.0.1.md +31 -0
- data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v2.0.2.md +17 -0
- data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v2.0.3.md +31 -0
- data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v2.1.0.md +11 -0
- data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v2.2.0.md +31 -0
- data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v2.3.0.md +27 -0
- data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v2.3.1.md +14 -0
- data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v2.4.0.md +20 -0
- data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v2.5.0.md +35 -0
- data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v2.5.1.md +12 -0
- data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v2.5.2.md +22 -0
- data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v2.6.0.md +17 -0
- data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v2.6.1.md +11 -0
- data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v2.7.0.md +28 -0
- data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v2.8.0.md +21 -0
- data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v2.9.0.md +22 -0
- data/vendor/bundle/gems/jasmine-2.99.0/release_notes/v2.99.md +13 -0
- data/vendor/bundle/gems/jasmine-2.99.0/spec/application_integration_spec.rb +15 -0
- data/vendor/bundle/gems/jasmine-2.99.0/spec/application_spec.rb +55 -0
- data/vendor/bundle/gems/jasmine-2.99.0/spec/base_spec.rb +35 -0
- data/vendor/bundle/gems/jasmine-2.99.0/spec/ci_runner_spec.rb +137 -0
- data/vendor/bundle/gems/jasmine-2.99.0/spec/configuration_spec.rb +219 -0
- data/vendor/bundle/gems/jasmine-2.99.0/spec/fixture/Rakefile +4 -0
- data/vendor/bundle/gems/jasmine-2.99.0/spec/fixture/afterall_spec.js +8 -0
- data/vendor/bundle/gems/jasmine-2.99.0/spec/fixture/coffee_spec.coffee +3 -0
- data/vendor/bundle/gems/jasmine-2.99.0/spec/fixture/console_log_spec.js +5 -0
- data/vendor/bundle/gems/jasmine-2.99.0/spec/fixture/exception_test.js +1 -0
- data/vendor/bundle/gems/jasmine-2.99.0/spec/fixture/failing_runner.rb +9 -0
- data/vendor/bundle/gems/jasmine-2.99.0/spec/fixture/failing_test.js +5 -0
- data/vendor/bundle/gems/jasmine-2.99.0/spec/fixture/large_test_suite_spec.js +20 -0
- data/vendor/bundle/gems/jasmine-2.99.0/spec/fixture/non_asset_pipeline.js +1 -0
- data/vendor/bundle/gems/jasmine-2.99.0/spec/fixture/non_asset_pipeline_test.js +5 -0
- data/vendor/bundle/gems/jasmine-2.99.0/spec/fixture/phantomConfig.js +6 -0
- data/vendor/bundle/gems/jasmine-2.99.0/spec/fixture/viewport_spec.js +6 -0
- data/vendor/bundle/gems/jasmine-2.99.0/spec/jasmine_command_line_tool_spec.rb +142 -0
- data/vendor/bundle/gems/jasmine-2.99.0/spec/jasmine_pojs_spec.rb +124 -0
- data/vendor/bundle/gems/jasmine-2.99.0/spec/jasmine_rails_spec.rb +217 -0
- data/vendor/bundle/gems/jasmine-2.99.0/spec/lib/jasmine/formatters/console_spec.rb +205 -0
- data/vendor/bundle/gems/jasmine-2.99.0/spec/lib/jasmine/formatters/exit_code_spec.rb +34 -0
- data/vendor/bundle/gems/jasmine-2.99.0/spec/lib/jasmine/formatters/multi_spec.rb +27 -0
- data/vendor/bundle/gems/jasmine-2.99.0/spec/page_spec.rb +23 -0
- data/vendor/bundle/gems/jasmine-2.99.0/spec/path_expander_spec.rb +138 -0
- data/vendor/bundle/gems/jasmine-2.99.0/spec/path_mapper_spec.rb +38 -0
- data/vendor/bundle/gems/jasmine-2.99.0/spec/performance/phantom_js_runner_performance_spec.rb +23 -0
- data/vendor/bundle/gems/jasmine-2.99.0/spec/phantom_js_spec.rb +14 -0
- data/vendor/bundle/gems/jasmine-2.99.0/spec/rack/jasmine/runner_spec.rb +25 -0
- data/vendor/bundle/gems/jasmine-2.99.0/spec/result_spec.rb +44 -0
- data/vendor/bundle/gems/jasmine-2.99.0/spec/server_spec.rb +22 -0
- data/vendor/bundle/gems/jasmine-2.99.0/spec/spec_helper.rb +145 -0
- data/vendor/bundle/gems/jasmine-2.99.0/spec/yaml_config_parser_spec.rb +239 -0
- data/vendor/bundle/gems/jasmine-core-2.99.2/lib/console/console.js +190 -0
- data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core.js +37 -0
- data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core.rb +53 -0
- data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core/__init__.py +1 -0
- data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core/boot.js +155 -0
- data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core/boot/boot.js +133 -0
- data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core/boot/node_boot.js +19 -0
- data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core/core.py +60 -0
- data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core/example/node_example/lib/jasmine_examples/Player.js +24 -0
- data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core/example/node_example/lib/jasmine_examples/Song.js +9 -0
- data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core/example/node_example/spec/helpers/jasmine_examples/SpecHelper.js +15 -0
- data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core/example/node_example/spec/jasmine_examples/PlayerSpec.js +60 -0
- data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core/example/spec/PlayerSpec.js +58 -0
- data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core/example/spec/SpecHelper.js +15 -0
- data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core/example/src/Player.js +22 -0
- data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core/example/src/Song.js +7 -0
- data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core/jasmine-html.js +545 -0
- data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core/jasmine.css +59 -0
- data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core/jasmine.js +5586 -0
- data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core/json2.js +489 -0
- data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core/node_boot.js +41 -0
- data/vendor/bundle/gems/jasmine-core-2.99.2/lib/jasmine-core/version.rb +9 -0
- data/vendor/bundle/gems/json-2.2.0/CHANGES.md +391 -0
- data/vendor/bundle/gems/json-2.2.0/Gemfile +14 -0
- data/vendor/bundle/gems/json-2.2.0/README-json-jruby.md +33 -0
- data/vendor/bundle/gems/json-2.2.0/README.md +409 -0
- data/vendor/bundle/gems/json-2.2.0/Rakefile +408 -0
- data/vendor/bundle/gems/json-2.2.0/VERSION +1 -0
- data/vendor/bundle/gems/json-2.2.0/ext/json/Makefile +202 -0
- data/vendor/bundle/gems/json-2.2.0/ext/json/ext/fbuffer/fbuffer.h +187 -0
- data/vendor/bundle/gems/json-2.2.0/ext/json/ext/generator/Makefile +267 -0
- data/vendor/bundle/gems/json-2.2.0/ext/json/ext/generator/depend +1 -0
- data/vendor/bundle/gems/json-2.2.0/ext/json/ext/generator/extconf.rb +4 -0
- data/vendor/bundle/gems/json-2.2.0/ext/json/ext/generator/generator.c +1444 -0
- data/vendor/bundle/gems/json-2.2.0/ext/json/ext/generator/generator.h +171 -0
- data/vendor/bundle/gems/json-2.2.0/ext/json/ext/generator/generator.o +0 -0
- data/vendor/bundle/gems/json-2.2.0/ext/json/ext/generator/generator.so +0 -0
- data/vendor/bundle/gems/json-2.2.0/ext/json/ext/parser/Makefile +267 -0
- data/vendor/bundle/gems/json-2.2.0/ext/json/ext/parser/depend +1 -0
- data/vendor/bundle/gems/json-2.2.0/ext/json/ext/parser/extconf.rb +6 -0
- data/vendor/bundle/gems/json-2.2.0/ext/json/ext/parser/parser.c +2131 -0
- data/vendor/bundle/gems/json-2.2.0/ext/json/ext/parser/parser.h +91 -0
- data/vendor/bundle/gems/json-2.2.0/ext/json/ext/parser/parser.o +0 -0
- data/vendor/bundle/gems/json-2.2.0/ext/json/ext/parser/parser.rl +891 -0
- data/vendor/bundle/gems/json-2.2.0/ext/json/ext/parser/parser.so +0 -0
- data/vendor/bundle/gems/json-2.2.0/ext/json/extconf.rb +2 -0
- data/vendor/bundle/gems/json-2.2.0/install.rb +23 -0
- data/vendor/bundle/gems/json-2.2.0/java/src/json/ext/ByteListTranscoder.java +166 -0
- data/vendor/bundle/gems/json-2.2.0/java/src/json/ext/Generator.java +443 -0
- data/vendor/bundle/gems/json-2.2.0/java/src/json/ext/GeneratorMethods.java +231 -0
- data/vendor/bundle/gems/json-2.2.0/java/src/json/ext/GeneratorService.java +42 -0
- data/vendor/bundle/gems/json-2.2.0/java/src/json/ext/GeneratorState.java +490 -0
- data/vendor/bundle/gems/json-2.2.0/java/src/json/ext/OptionsReader.java +113 -0
- data/vendor/bundle/gems/json-2.2.0/java/src/json/ext/Parser.java +2362 -0
- data/vendor/bundle/gems/json-2.2.0/java/src/json/ext/Parser.rl +893 -0
- data/vendor/bundle/gems/json-2.2.0/java/src/json/ext/ParserService.java +34 -0
- data/vendor/bundle/gems/json-2.2.0/java/src/json/ext/RuntimeInfo.java +116 -0
- data/vendor/bundle/gems/json-2.2.0/java/src/json/ext/StringDecoder.java +166 -0
- data/vendor/bundle/gems/json-2.2.0/java/src/json/ext/StringEncoder.java +111 -0
- data/vendor/bundle/gems/json-2.2.0/java/src/json/ext/Utils.java +88 -0
- data/vendor/bundle/gems/json-2.2.0/json-java.gemspec +38 -0
- data/vendor/bundle/gems/json-2.2.0/json.gemspec +0 -0
- data/vendor/bundle/gems/json-2.2.0/json_pure.gemspec +38 -0
- data/vendor/bundle/gems/json-2.2.0/lib/json.rb +63 -0
- data/vendor/bundle/gems/json-2.2.0/lib/json/add/bigdecimal.rb +29 -0
- data/vendor/bundle/gems/json-2.2.0/lib/json/add/complex.rb +29 -0
- data/vendor/bundle/gems/json-2.2.0/lib/json/add/core.rb +12 -0
- data/vendor/bundle/gems/json-2.2.0/lib/json/add/date.rb +34 -0
- data/vendor/bundle/gems/json-2.2.0/lib/json/add/date_time.rb +50 -0
- data/vendor/bundle/gems/json-2.2.0/lib/json/add/exception.rb +31 -0
- data/vendor/bundle/gems/json-2.2.0/lib/json/add/ostruct.rb +31 -0
- data/vendor/bundle/gems/json-2.2.0/lib/json/add/range.rb +29 -0
- data/vendor/bundle/gems/json-2.2.0/lib/json/add/rational.rb +28 -0
- data/vendor/bundle/gems/json-2.2.0/lib/json/add/regexp.rb +30 -0
- data/vendor/bundle/gems/json-2.2.0/lib/json/add/set.rb +29 -0
- data/vendor/bundle/gems/json-2.2.0/lib/json/add/struct.rb +30 -0
- data/vendor/bundle/gems/json-2.2.0/lib/json/add/symbol.rb +25 -0
- data/vendor/bundle/gems/json-2.2.0/lib/json/add/time.rb +38 -0
- data/vendor/bundle/gems/json-2.2.0/lib/json/common.rb +456 -0
- data/vendor/bundle/gems/json-2.2.0/lib/json/ext.rb +15 -0
- data/vendor/bundle/gems/json-2.2.0/lib/json/ext/generator.so +0 -0
- data/vendor/bundle/gems/json-2.2.0/lib/json/ext/parser.so +0 -0
- data/vendor/bundle/gems/json-2.2.0/lib/json/generic_object.rb +71 -0
- data/vendor/bundle/gems/json-2.2.0/lib/json/pure.rb +15 -0
- data/vendor/bundle/gems/json-2.2.0/lib/json/pure/generator.rb +458 -0
- data/vendor/bundle/gems/json-2.2.0/lib/json/pure/parser.rb +311 -0
- data/vendor/bundle/gems/json-2.2.0/lib/json/version.rb +9 -0
- data/vendor/bundle/gems/json-2.2.0/references/rfc7159.txt +899 -0
- data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail10.json +1 -0
- data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail11.json +1 -0
- data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail12.json +1 -0
- data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail13.json +1 -0
- data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail14.json +1 -0
- data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail18.json +1 -0
- data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail19.json +1 -0
- data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail2.json +1 -0
- data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail20.json +1 -0
- data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail21.json +1 -0
- data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail22.json +1 -0
- data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail23.json +1 -0
- data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail24.json +1 -0
- data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail25.json +1 -0
- data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail27.json +2 -0
- data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail28.json +2 -0
- data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail3.json +1 -0
- data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail4.json +1 -0
- data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail5.json +1 -0
- data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail6.json +1 -0
- data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail7.json +1 -0
- data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail8.json +1 -0
- data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail9.json +1 -0
- data/vendor/bundle/gems/json-2.2.0/tests/fixtures/obsolete_fail1.json +1 -0
- data/vendor/bundle/gems/json-2.2.0/tests/fixtures/pass1.json +56 -0
- data/vendor/bundle/gems/json-2.2.0/tests/fixtures/pass15.json +1 -0
- data/vendor/bundle/gems/json-2.2.0/tests/fixtures/pass16.json +1 -0
- data/vendor/bundle/gems/json-2.2.0/tests/fixtures/pass17.json +1 -0
- data/vendor/bundle/gems/json-2.2.0/tests/fixtures/pass2.json +1 -0
- data/vendor/bundle/gems/json-2.2.0/tests/fixtures/pass26.json +1 -0
- data/vendor/bundle/gems/json-2.2.0/tests/fixtures/pass3.json +6 -0
- data/vendor/bundle/gems/json-2.2.0/tests/json_addition_test.rb +203 -0
- data/vendor/bundle/gems/json-2.2.0/tests/json_common_interface_test.rb +126 -0
- data/vendor/bundle/gems/json-2.2.0/tests/json_encoding_test.rb +107 -0
- data/vendor/bundle/gems/json-2.2.0/tests/json_ext_parser_test.rb +15 -0
- data/vendor/bundle/gems/json-2.2.0/tests/json_fixtures_test.rb +32 -0
- data/vendor/bundle/gems/json-2.2.0/tests/json_generator_test.rb +377 -0
- data/vendor/bundle/gems/json-2.2.0/tests/json_generic_object_test.rb +82 -0
- data/vendor/bundle/gems/json-2.2.0/tests/json_parser_test.rb +472 -0
- data/vendor/bundle/gems/json-2.2.0/tests/json_string_matching_test.rb +38 -0
- data/vendor/bundle/gems/json-2.2.0/tests/test_helper.rb +17 -0
- data/vendor/bundle/gems/json-2.2.0/tools/diff.sh +18 -0
- data/vendor/bundle/gems/json-2.2.0/tools/fuzz.rb +131 -0
- data/vendor/bundle/gems/json-2.2.0/tools/server.rb +62 -0
- data/vendor/bundle/gems/launchy-2.4.3/CONTRIBUTING.md +59 -0
- data/vendor/bundle/gems/launchy-2.4.3/HISTORY.md +160 -0
- data/vendor/bundle/gems/launchy-2.4.3/LICENSE +16 -0
- data/vendor/bundle/gems/launchy-2.4.3/Manifest.txt +38 -0
- data/vendor/bundle/gems/launchy-2.4.3/README.md +136 -0
- data/vendor/bundle/gems/launchy-2.4.3/Rakefile +25 -0
- data/vendor/bundle/gems/launchy-2.4.3/bin/launchy +4 -0
- data/vendor/bundle/gems/launchy-2.4.3/lib/launchy.rb +152 -0
- data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/application.rb +62 -0
- data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/applications/browser.rb +82 -0
- data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/argv.rb +36 -0
- data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/cli.rb +89 -0
- data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/deprecated.rb +52 -0
- data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/descendant_tracker.rb +49 -0
- data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/detect.rb +10 -0
- data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/detect/host_os.rb +32 -0
- data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/detect/host_os_family.rb +71 -0
- data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/detect/nix_desktop_environment.rb +92 -0
- data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/detect/ruby_engine.rb +78 -0
- data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/detect/runner.rb +152 -0
- data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/error.rb +6 -0
- data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/os_family.rb +8 -0
- data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/version.rb +18 -0
- data/vendor/bundle/gems/launchy-2.4.3/spec/application_spec.rb +43 -0
- data/vendor/bundle/gems/launchy-2.4.3/spec/applications/browser_spec.rb +68 -0
- data/vendor/bundle/gems/launchy-2.4.3/spec/cli_spec.rb +75 -0
- data/vendor/bundle/gems/launchy-2.4.3/spec/detect/host_os_family_spec.rb +40 -0
- data/vendor/bundle/gems/launchy-2.4.3/spec/detect/host_os_spec.rb +19 -0
- data/vendor/bundle/gems/launchy-2.4.3/spec/detect/nix_desktop_environment_spec.rb +36 -0
- data/vendor/bundle/gems/launchy-2.4.3/spec/detect/ruby_engine_spec.rb +37 -0
- data/vendor/bundle/gems/launchy-2.4.3/spec/detect/runner_spec.rb +103 -0
- data/vendor/bundle/gems/launchy-2.4.3/spec/launchy_spec.rb +110 -0
- data/vendor/bundle/gems/launchy-2.4.3/spec/mock_application.rb +9 -0
- data/vendor/bundle/gems/launchy-2.4.3/spec/spec_helper.rb +11 -0
- data/vendor/bundle/gems/launchy-2.4.3/spec/tattle-host-os.yaml +427 -0
- data/vendor/bundle/gems/launchy-2.4.3/spec/version_spec.rb +11 -0
- data/vendor/bundle/gems/launchy-2.4.3/tasks/default.rake +272 -0
- data/vendor/bundle/gems/launchy-2.4.3/tasks/this.rb +209 -0
- data/vendor/bundle/gems/mail-2.7.1/MIT-LICENSE +20 -0
- data/vendor/bundle/gems/mail-2.7.1/README.md +695 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail.rb +85 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/attachments_list.rb +110 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/body.rb +328 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/check_delivery_params.rb +60 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/configuration.rb +78 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/constants.rb +57 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/core_extensions/smtp.rb +28 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/core_extensions/string.rb +17 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/elements.rb +15 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/elements/address.rb +258 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/elements/address_list.rb +34 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/elements/content_disposition_element.rb +20 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/elements/content_location_element.rb +17 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/elements/content_transfer_encoding_element.rb +13 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/elements/content_type_element.rb +21 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/elements/date_time_element.rb +15 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/elements/envelope_from_element.rb +33 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/elements/message_ids_element.rb +22 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/elements/mime_version_element.rb +15 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/elements/phrase_list.rb +14 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/elements/received_element.rb +21 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/encodings.rb +343 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/encodings/7bit.rb +22 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/encodings/8bit.rb +18 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/encodings/base64.rb +38 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/encodings/binary.rb +13 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/encodings/identity.rb +24 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/encodings/quoted_printable.rb +45 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/encodings/transfer_encoding.rb +77 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/encodings/unix_to_unix.rb +20 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/envelope.rb +31 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/field.rb +299 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/field_list.rb +34 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields.rb +36 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/bcc_field.rb +68 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/cc_field.rb +55 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/comments_field.rb +42 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/common/address_container.rb +17 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/common/common_address.rb +161 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/common/common_date.rb +36 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/common/common_field.rb +52 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/common/common_message_id.rb +49 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/common/parameter_hash.rb +59 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/content_description_field.rb +20 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/content_disposition_field.rb +71 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/content_id_field.rb +63 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/content_location_field.rb +43 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/content_transfer_encoding_field.rb +45 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/content_type_field.rb +197 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/date_field.rb +57 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/from_field.rb +55 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/in_reply_to_field.rb +57 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/keywords_field.rb +44 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/message_id_field.rb +83 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/mime_version_field.rb +54 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/optional_field.rb +17 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/received_field.rb +76 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/references_field.rb +57 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/reply_to_field.rb +55 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/resent_bcc_field.rb +55 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/resent_cc_field.rb +55 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/resent_date_field.rb +35 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/resent_from_field.rb +55 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/resent_message_id_field.rb +35 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/resent_sender_field.rb +62 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/resent_to_field.rb +55 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/return_path_field.rb +65 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/sender_field.rb +67 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/structured_field.rb +52 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/subject_field.rb +17 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/to_field.rb +55 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/fields/unstructured_field.rb +222 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/header.rb +278 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/indifferent_hash.rb +147 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/mail.rb +262 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/matchers/attachment_matchers.rb +29 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/matchers/has_sent_mail.rb +201 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/message.rb +2170 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/multibyte.rb +92 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/multibyte/chars.rb +476 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/multibyte/unicode.rb +405 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/multibyte/utils.rb +61 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/network.rb +16 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/network/delivery_methods/exim.rb +49 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/network/delivery_methods/file_delivery.rb +42 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/network/delivery_methods/logger_delivery.rb +37 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/network/delivery_methods/sendmail.rb +95 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/network/delivery_methods/smtp.rb +149 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/network/delivery_methods/smtp_connection.rb +66 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/network/delivery_methods/test_mailer.rb +42 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/network/retriever_methods/base.rb +64 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/network/retriever_methods/imap.rb +187 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/network/retriever_methods/pop3.rb +143 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/network/retriever_methods/test_retriever.rb +44 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/parser_tools.rb +15 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers.rb +19 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/address_lists_parser.rb +33236 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/address_lists_parser.rl +172 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/content_disposition_parser.rb +895 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/content_disposition_parser.rl +82 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/content_location_parser.rb +816 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/content_location_parser.rl +71 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/content_transfer_encoding_parser.rb +516 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/content_transfer_encoding_parser.rl +64 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/content_type_parser.rb +1042 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/content_type_parser.rl +83 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/date_time_parser.rb +885 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/date_time_parser.rl +62 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/envelope_from_parser.rb +3581 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/envelope_from_parser.rl +82 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/message_ids_parser.rb +2854 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/message_ids_parser.rl +82 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/mime_version_parser.rb +507 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/mime_version_parser.rl +61 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/phrase_lists_parser.rb +878 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/phrase_lists_parser.rl +83 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/received_parser.rb +8776 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/received_parser.rl +84 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/rfc2045_content_transfer_encoding.rl +13 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/rfc2045_content_type.rl +25 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/rfc2045_mime.rl +16 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/rfc2183_content_disposition.rl +15 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/rfc3629_utf8.rl +19 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/rfc5234_abnf_core_rules.rl +22 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/rfc5322.rl +59 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/rfc5322_address.rl +72 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/rfc5322_date_time.rl +37 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/parsers/rfc5322_lexical_tokens.rl +60 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/part.rb +123 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/parts_list.rb +74 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/utilities.rb +324 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/values/unicode_tables.dat +0 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/version.rb +17 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/version_specific/ruby_1_8.rb +163 -0
- data/vendor/bundle/gems/mail-2.7.1/lib/mail/version_specific/ruby_1_9.rb +278 -0
- data/vendor/bundle/gems/mime-types-3.3/Code-of-Conduct.md +73 -0
- data/vendor/bundle/gems/mime-types-3.3/Contributing.md +141 -0
- data/vendor/bundle/gems/mime-types-3.3/History.md +223 -0
- data/vendor/bundle/gems/mime-types-3.3/Licence.md +25 -0
- data/vendor/bundle/gems/mime-types-3.3/Manifest.txt +31 -0
- data/vendor/bundle/gems/mime-types-3.3/README.rdoc +200 -0
- data/vendor/bundle/gems/mime-types-3.3/Rakefile +284 -0
- data/vendor/bundle/gems/mime-types-3.3/lib/mime-types.rb +3 -0
- data/vendor/bundle/gems/mime-types-3.3/lib/mime/type.rb +587 -0
- data/vendor/bundle/gems/mime-types-3.3/lib/mime/type/columnar.rb +57 -0
- data/vendor/bundle/gems/mime-types-3.3/lib/mime/types.rb +231 -0
- data/vendor/bundle/gems/mime-types-3.3/lib/mime/types/_columnar.rb +136 -0
- data/vendor/bundle/gems/mime-types-3.3/lib/mime/types/cache.rb +58 -0
- data/vendor/bundle/gems/mime-types-3.3/lib/mime/types/columnar.rb +3 -0
- data/vendor/bundle/gems/mime-types-3.3/lib/mime/types/container.rb +96 -0
- data/vendor/bundle/gems/mime-types-3.3/lib/mime/types/deprecations.rb +32 -0
- data/vendor/bundle/gems/mime-types-3.3/lib/mime/types/full.rb +19 -0
- data/vendor/bundle/gems/mime-types-3.3/lib/mime/types/loader.rb +146 -0
- data/vendor/bundle/gems/mime-types-3.3/lib/mime/types/logger.rb +39 -0
- data/vendor/bundle/gems/mime-types-3.3/lib/mime/types/registry.rb +90 -0
- data/vendor/bundle/gems/mime-types-3.3/test/bad-fixtures/malformed +9 -0
- data/vendor/bundle/gems/mime-types-3.3/test/fixture/json.json +1 -0
- data/vendor/bundle/gems/mime-types-3.3/test/fixture/old-data +9 -0
- data/vendor/bundle/gems/mime-types-3.3/test/fixture/yaml.yaml +55 -0
- data/vendor/bundle/gems/mime-types-3.3/test/minitest_helper.rb +13 -0
- data/vendor/bundle/gems/mime-types-3.3/test/test_mime_type.rb +610 -0
- data/vendor/bundle/gems/mime-types-3.3/test/test_mime_types.rb +169 -0
- data/vendor/bundle/gems/mime-types-3.3/test/test_mime_types_cache.rb +118 -0
- data/vendor/bundle/gems/mime-types-3.3/test/test_mime_types_class.rb +159 -0
- data/vendor/bundle/gems/mime-types-3.3/test/test_mime_types_lazy.rb +49 -0
- data/vendor/bundle/gems/mime-types-3.3/test/test_mime_types_loader.rb +32 -0
- data/vendor/bundle/gems/mime-types-data-3.2019.1009/Code-of-Conduct.md +75 -0
- data/vendor/bundle/gems/mime-types-data-3.2019.1009/Contributing.md +162 -0
- data/vendor/bundle/gems/mime-types-data-3.2019.1009/History.md +406 -0
- data/vendor/bundle/gems/mime-types-data-3.2019.1009/Licence.md +25 -0
- data/vendor/bundle/gems/mime-types-data-3.2019.1009/Manifest.txt +31 -0
- data/vendor/bundle/gems/mime-types-data-3.2019.1009/README.md +63 -0
- data/vendor/bundle/gems/mime-types-data-3.2019.1009/Rakefile +94 -0
- data/vendor/bundle/gems/mime-types-data-3.2019.1009/data/mime-types.json +1 -0
- data/vendor/bundle/gems/mime-types-data-3.2019.1009/data/mime.content_type.column +2215 -0
- data/vendor/bundle/gems/mime-types-data-3.2019.1009/data/mime.docs.column +2215 -0
- data/vendor/bundle/gems/mime-types-data-3.2019.1009/data/mime.encoding.column +2215 -0
- data/vendor/bundle/gems/mime-types-data-3.2019.1009/data/mime.flags.column +2215 -0
- data/vendor/bundle/gems/mime-types-data-3.2019.1009/data/mime.friendly.column +2215 -0
- data/vendor/bundle/gems/mime-types-data-3.2019.1009/data/mime.pext.column +2215 -0
- data/vendor/bundle/gems/mime-types-data-3.2019.1009/data/mime.use_instead.column +2215 -0
- data/vendor/bundle/gems/mime-types-data-3.2019.1009/data/mime.xrefs.column +2215 -0
- data/vendor/bundle/gems/mime-types-data-3.2019.1009/lib/mime-types-data.rb +3 -0
- data/vendor/bundle/gems/mime-types-data-3.2019.1009/lib/mime/types/data.rb +21 -0
- data/vendor/bundle/gems/mime-types-data-3.2019.1009/types/application.yaml +16361 -0
- data/vendor/bundle/gems/mime-types-data-3.2019.1009/types/audio.yaml +1644 -0
- data/vendor/bundle/gems/mime-types-data-3.2019.1009/types/chemical.yaml +71 -0
- data/vendor/bundle/gems/mime-types-data-3.2019.1009/types/conference.yaml +9 -0
- data/vendor/bundle/gems/mime-types-data-3.2019.1009/types/drawing.yaml +15 -0
- data/vendor/bundle/gems/mime-types-data-3.2019.1009/types/font.yaml +65 -0
- data/vendor/bundle/gems/mime-types-data-3.2019.1009/types/image.yaml +1069 -0
- data/vendor/bundle/gems/mime-types-data-3.2019.1009/types/message.yaml +200 -0
- data/vendor/bundle/gems/mime-types-data-3.2019.1009/types/model.yaml +302 -0
- data/vendor/bundle/gems/mime-types-data-3.2019.1009/types/multipart.yaml +179 -0
- data/vendor/bundle/gems/mime-types-data-3.2019.1009/types/text.yaml +1055 -0
- data/vendor/bundle/gems/mime-types-data-3.2019.1009/types/video.yaml +1070 -0
- data/vendor/bundle/gems/mime-types-data-3.2019.1009/types/world.yaml +8 -0
- data/vendor/bundle/gems/mini_mime-1.0.2/CHANGELOG +37 -0
- data/vendor/bundle/gems/mini_mime-1.0.2/CODE_OF_CONDUCT.md +74 -0
- data/vendor/bundle/gems/mini_mime-1.0.2/Gemfile +8 -0
- data/vendor/bundle/gems/mini_mime-1.0.2/LICENSE.txt +21 -0
- data/vendor/bundle/gems/mini_mime-1.0.2/README.md +111 -0
- data/vendor/bundle/gems/mini_mime-1.0.2/Rakefile +96 -0
- data/vendor/bundle/gems/mini_mime-1.0.2/bench/bench.rb +52 -0
- data/vendor/bundle/gems/mini_mime-1.0.2/bin/console +14 -0
- data/vendor/bundle/gems/mini_mime-1.0.2/bin/setup +8 -0
- data/vendor/bundle/gems/mini_mime-1.0.2/lib/db/content_type_mime.db +853 -0
- data/vendor/bundle/gems/mini_mime-1.0.2/lib/db/ext_mime.db +1172 -0
- data/vendor/bundle/gems/mini_mime-1.0.2/lib/mini_mime.rb +166 -0
- data/vendor/bundle/gems/mini_mime-1.0.2/lib/mini_mime/version.rb +3 -0
- data/vendor/bundle/gems/mini_mime-1.0.2/mini_mime.gemspec +28 -0
- data/vendor/bundle/gems/mini_portile2-2.4.0/CHANGELOG.md +209 -0
- data/vendor/bundle/gems/mini_portile2-2.4.0/Gemfile +4 -0
- data/vendor/bundle/gems/mini_portile2-2.4.0/LICENSE.txt +20 -0
- data/vendor/bundle/gems/mini_portile2-2.4.0/README.md +245 -0
- data/vendor/bundle/gems/mini_portile2-2.4.0/Rakefile +29 -0
- data/vendor/bundle/gems/mini_portile2-2.4.0/appveyor.yml +25 -0
- data/vendor/bundle/gems/mini_portile2-2.4.0/concourse/mini_portile.yml +141 -0
- data/vendor/bundle/gems/mini_portile2-2.4.0/concourse/tasks/rake-test/task.ps1 +11 -0
- data/vendor/bundle/gems/mini_portile2-2.4.0/concourse/tasks/rake-test/task.sh +13 -0
- data/vendor/bundle/gems/mini_portile2-2.4.0/lib/mini_portile2.rb +3 -0
- data/vendor/bundle/gems/mini_portile2-2.4.0/lib/mini_portile2/mini_portile.rb +556 -0
- data/vendor/bundle/gems/mini_portile2-2.4.0/lib/mini_portile2/mini_portile_cmake.rb +40 -0
- data/vendor/bundle/gems/mini_portile2-2.4.0/lib/mini_portile2/version.rb +3 -0
- data/vendor/bundle/gems/mini_portile2-2.4.0/mini_portile2.gemspec +42 -0
- data/vendor/bundle/gems/mini_portile2-2.4.0/test/assets/git/config +4 -0
- data/vendor/bundle/gems/mini_portile2-2.4.0/test/assets/gpg-fixtures/data +1 -0
- data/vendor/bundle/gems/mini_portile2-2.4.0/test/assets/gpg-fixtures/data.asc +9 -0
- data/vendor/bundle/gems/mini_portile2-2.4.0/test/assets/gpg-fixtures/data.invalid.asc +9 -0
- data/vendor/bundle/gems/mini_portile2-2.4.0/test/assets/patch 1.diff +7 -0
- data/vendor/bundle/gems/mini_portile2-2.4.0/test/assets/test mini portile-1.0.0/configure +11 -0
- data/vendor/bundle/gems/mini_portile2-2.4.0/test/assets/test-cmake-1.0/CMakeLists.txt +7 -0
- data/vendor/bundle/gems/mini_portile2-2.4.0/test/assets/test-cmake-1.0/hello.c +4 -0
- data/vendor/bundle/gems/mini_portile2-2.4.0/test/assets/test-download-archive.tar.gz +1 -0
- data/vendor/bundle/gems/mini_portile2-2.4.0/test/helper.rb +60 -0
- data/vendor/bundle/gems/mini_portile2-2.4.0/test/test_cmake.rb +64 -0
- data/vendor/bundle/gems/mini_portile2-2.4.0/test/test_cook.rb +115 -0
- data/vendor/bundle/gems/mini_portile2-2.4.0/test/test_digest.rb +215 -0
- data/vendor/bundle/gems/mini_portile2-2.4.0/test/test_download.rb +71 -0
- data/vendor/bundle/gems/mini_portile2-2.4.0/test/test_proxy.rb +121 -0
- data/vendor/bundle/gems/multipart-post-2.1.1/Gemfile +6 -0
- data/vendor/bundle/gems/multipart-post-2.1.1/History.txt +64 -0
- data/vendor/bundle/gems/multipart-post-2.1.1/LICENSE +21 -0
- data/vendor/bundle/gems/multipart-post-2.1.1/Manifest.txt +9 -0
- data/vendor/bundle/gems/multipart-post-2.1.1/README.md +127 -0
- data/vendor/bundle/gems/multipart-post-2.1.1/Rakefile +6 -0
- data/vendor/bundle/gems/multipart-post-2.1.1/lib/composite_io.rb +108 -0
- data/vendor/bundle/gems/multipart-post-2.1.1/lib/multipart_post.rb +9 -0
- data/vendor/bundle/gems/multipart-post-2.1.1/lib/multipartable.rb +48 -0
- data/vendor/bundle/gems/multipart-post-2.1.1/lib/net/http/post/multipart.rb +28 -0
- data/vendor/bundle/gems/multipart-post-2.1.1/lib/parts.rb +126 -0
- data/vendor/bundle/gems/multipart-post-2.1.1/multipart-post.gemspec +23 -0
- data/vendor/bundle/gems/multipart-post-2.1.1/spec/composite_io_spec.rb +138 -0
- data/vendor/bundle/gems/multipart-post-2.1.1/spec/multibyte.txt +1 -0
- data/vendor/bundle/gems/multipart-post-2.1.1/spec/net/http/post/multipart_spec.rb +123 -0
- data/vendor/bundle/gems/multipart-post-2.1.1/spec/parts_spec.rb +102 -0
- data/vendor/bundle/gems/multipart-post-2.1.1/spec/spec_helper.rb +29 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/LICENSE-DEPENDENCIES.md +1614 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/LICENSE.md +9 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/README.md +198 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/bin/nokogiri +118 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/dependencies.yml +74 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/Makefile +628 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/depend +358 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/extconf.rb +686 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/html_document.c +170 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/html_document.h +10 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/html_document.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/html_element_description.c +279 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/html_element_description.h +10 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/html_element_description.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/html_entity_lookup.c +32 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/html_entity_lookup.h +8 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/html_entity_lookup.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/html_sax_parser_context.c +116 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/html_sax_parser_context.h +11 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/html_sax_parser_context.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/html_sax_push_parser.c +87 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/html_sax_push_parser.h +9 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/html_sax_push_parser.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/nokogiri.c +141 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/nokogiri.h +121 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/nokogiri.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/nokogiri.so +0 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_attr.c +103 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_attr.h +9 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_attr.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_attribute_decl.c +70 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_attribute_decl.h +9 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_attribute_decl.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_cdata.c +62 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_cdata.h +9 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_cdata.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_comment.c +69 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_comment.h +9 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_comment.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_document.c +608 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_document.h +23 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_document.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_document_fragment.c +48 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_document_fragment.h +10 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_document_fragment.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_dtd.c +202 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_dtd.h +10 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_dtd.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_element_content.c +123 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_element_content.h +10 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_element_content.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_element_decl.c +69 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_element_decl.h +9 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_element_decl.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_encoding_handler.c +79 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_encoding_handler.h +8 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_encoding_handler.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_entity_decl.c +110 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_entity_decl.h +10 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_entity_decl.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_entity_reference.c +52 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_entity_reference.h +9 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_entity_reference.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_io.c +61 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_io.h +11 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_io.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_libxml2_hacks.c +112 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_libxml2_hacks.h +12 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_libxml2_hacks.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_namespace.c +111 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_namespace.h +14 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_namespace.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_node.c +1753 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_node.h +13 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_node.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_node_set.c +486 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_node_set.h +12 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_node_set.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_processing_instruction.c +56 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_processing_instruction.h +9 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_processing_instruction.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_reader.c +668 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_reader.h +10 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_reader.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_relax_ng.c +161 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_relax_ng.h +9 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_relax_ng.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_sax_parser.c +310 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_sax_parser.h +39 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_sax_parser.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_sax_parser_context.c +262 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_sax_parser_context.h +10 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_sax_parser_context.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_sax_push_parser.c +159 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_sax_push_parser.h +9 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_sax_push_parser.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_schema.c +205 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_schema.h +9 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_schema.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_syntax_error.c +64 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_syntax_error.h +13 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_syntax_error.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_text.c +52 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_text.h +9 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_text.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_xpath_context.c +298 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_xpath_context.h +10 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xml_xpath_context.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xslt_stylesheet.c +270 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xslt_stylesheet.h +14 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/ext/nokogiri/xslt_stylesheet.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri.rb +144 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/css.rb +27 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/css/node.rb +52 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/css/parser.rb +750 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/css/parser.y +272 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/css/parser_extras.rb +91 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/css/syntax_error.rb +7 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/css/tokenizer.rb +153 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/css/tokenizer.rex +55 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/css/xpath_visitor.rb +230 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/decorators/slop.rb +42 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/html.rb +37 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/html/builder.rb +35 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/html/document.rb +335 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/html/document_fragment.rb +49 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/html/element_description.rb +23 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/html/element_description_defaults.rb +671 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/html/entity_lookup.rb +13 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/html/sax/parser.rb +62 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/html/sax/parser_context.rb +16 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/html/sax/push_parser.rb +36 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/nokogiri.so +0 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/syntax_error.rb +4 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/version.rb +109 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml.rb +75 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/attr.rb +14 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/attribute_decl.rb +18 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/builder.rb +446 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/cdata.rb +11 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/character_data.rb +7 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/document.rb +285 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/document_fragment.rb +160 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/dtd.rb +32 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/element_content.rb +36 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/element_decl.rb +13 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/entity_decl.rb +19 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/entity_reference.rb +18 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/namespace.rb +13 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/node.rb +902 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/node/save_options.rb +61 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/node_set.rb +371 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/notation.rb +6 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/parse_options.rb +120 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/pp.rb +2 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/pp/character_data.rb +18 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/pp/node.rb +56 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/processing_instruction.rb +8 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/reader.rb +112 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/relax_ng.rb +32 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/sax.rb +4 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/sax/document.rb +171 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/sax/parser.rb +122 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/sax/parser_context.rb +16 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/sax/push_parser.rb +60 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/schema.rb +63 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/searchable.rb +230 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/syntax_error.rb +70 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/text.rb +9 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/xpath.rb +10 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/xpath/syntax_error.rb +11 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/xpath_context.rb +16 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xslt.rb +56 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xslt/stylesheet.rb +25 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/lib/xsd/xmlparser/nokogiri.rb +102 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/patches/libxml2/0001-Revert-Do-not-URI-escape-in-server-side-includes.patch +78 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/patches/libxml2/0002-Remove-script-macro-support.patch +40 -0
- data/vendor/bundle/gems/nokogiri-1.10.5/patches/libxml2/0003-Update-entities-to-remove-handling-of-ssi.patch +44 -0
- data/vendor/bundle/gems/octokit-4.14.0/CONTRIBUTING.md +22 -0
- data/vendor/bundle/gems/octokit-4.14.0/LICENSE.md +20 -0
- data/vendor/bundle/gems/octokit-4.14.0/README.md +790 -0
- data/vendor/bundle/gems/octokit-4.14.0/Rakefile +22 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/ext/sawyer/relation.rb +10 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit.rb +59 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/arguments.rb +14 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/authentication.rb +82 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client.rb +242 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/apps.rb +209 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/authorizations.rb +250 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/checks.rb +211 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/commit_comments.rb +95 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/commits.rb +239 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/community_profile.rb +22 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/contents.rb +164 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/deployments.rb +72 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/downloads.rb +50 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/emojis.rb +18 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/events.rb +151 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/feeds.rb +33 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/gists.rb +234 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/gitignore.rb +43 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/hooks.rb +297 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/issues.rb +363 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/labels.rb +156 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/legacy_search.rb +42 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/licenses.rb +45 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/markdown.rb +27 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/marketplace.rb +56 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/meta.rb +21 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/milestones.rb +87 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/notifications.rb +167 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/objects.rb +141 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/organizations.rb +792 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/pages.rb +63 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/projects.rb +314 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/pub_sub_hubbub.rb +111 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/pull_requests.rb +303 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/rate_limit.rb +54 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/reactions.rb +158 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/refs.rb +118 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/releases.rb +164 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/repositories.rb +701 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/repository_invitations.rb +96 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/reviews.rb +209 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/say.rb +19 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/search.rb +91 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/service_status.rb +38 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/source_import.rb +161 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/stats.rb +107 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/statuses.rb +47 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/traffic.rb +69 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/client/users.rb +355 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/configurable.rb +151 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/connection.rb +208 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/default.rb +176 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/enterprise_admin_client.rb +40 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/enterprise_admin_client/admin_stats.rb +120 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/enterprise_admin_client/license.rb +18 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/enterprise_admin_client/orgs.rb +27 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/enterprise_admin_client/search_indexing.rb +83 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/enterprise_admin_client/users.rb +128 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/enterprise_management_console_client.rb +50 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/enterprise_management_console_client/management_console.rb +176 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/error.rb +300 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/gist.rb +36 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/middleware/follow_redirects.rb +131 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/organization.rb +17 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/preview.rb +42 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/rate_limit.rb +33 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/repo_arguments.rb +19 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/repository.rb +95 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/response/feed_parser.rb +21 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/response/raise_error.rb +21 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/user.rb +19 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/version.rb +17 -0
- data/vendor/bundle/gems/octokit-4.14.0/lib/octokit/warnable.rb +17 -0
- data/vendor/bundle/gems/octokit-4.14.0/octokit.gemspec +22 -0
- data/vendor/bundle/gems/phantomjs-2.1.1.0/Gemfile +4 -0
- data/vendor/bundle/gems/phantomjs-2.1.1.0/LICENSE +27 -0
- data/vendor/bundle/gems/phantomjs-2.1.1.0/README.md +78 -0
- data/vendor/bundle/gems/phantomjs-2.1.1.0/Rakefile +2 -0
- data/vendor/bundle/gems/phantomjs-2.1.1.0/lib/phantomjs.rb +61 -0
- data/vendor/bundle/gems/phantomjs-2.1.1.0/lib/phantomjs/platform.rb +162 -0
- data/vendor/bundle/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb +13 -0
- data/vendor/bundle/gems/phantomjs-2.1.1.0/lib/phantomjs/version.rb +3 -0
- data/vendor/bundle/gems/phantomjs-2.1.1.0/phantomjs.gemspec +27 -0
- data/vendor/bundle/gems/phantomjs-2.1.1.0/spec/phantomjs_spec.rb +50 -0
- data/vendor/bundle/gems/phantomjs-2.1.1.0/spec/platform_spec.rb +203 -0
- data/vendor/bundle/gems/phantomjs-2.1.1.0/spec/runner.js +5 -0
- data/vendor/bundle/gems/phantomjs-2.1.1.0/spec/spec_helper.rb +11 -0
- data/vendor/bundle/gems/pit-0.0.7/ChangeLog +87 -0
- data/vendor/bundle/gems/pit-0.0.7/Gemfile +6 -0
- data/vendor/bundle/gems/pit-0.0.7/README +59 -0
- data/vendor/bundle/gems/pit-0.0.7/Rakefile +9 -0
- data/vendor/bundle/gems/pit-0.0.7/bin/pit +137 -0
- data/vendor/bundle/gems/pit-0.0.7/lib/pit.rb +97 -0
- data/vendor/bundle/gems/pit-0.0.7/lib/pit/version.rb +4 -0
- data/vendor/bundle/gems/pit-0.0.7/pit.gemspec +19 -0
- data/vendor/bundle/gems/pit-0.0.7/test/pit_test.rb +112 -0
- data/vendor/bundle/gems/pit-0.0.7/test/test_helper.rb +3 -0
- data/vendor/bundle/gems/power_assert-1.1.5/BSDL +22 -0
- data/vendor/bundle/gems/power_assert-1.1.5/COPYING +57 -0
- data/vendor/bundle/gems/power_assert-1.1.5/Gemfile +9 -0
- data/vendor/bundle/gems/power_assert-1.1.5/LEGAL +4 -0
- data/vendor/bundle/gems/power_assert-1.1.5/README.rdoc +81 -0
- data/vendor/bundle/gems/power_assert-1.1.5/Rakefile +59 -0
- data/vendor/bundle/gems/power_assert-1.1.5/bin/console +12 -0
- data/vendor/bundle/gems/power_assert-1.1.5/bin/setup +6 -0
- data/vendor/bundle/gems/power_assert-1.1.5/lib/power_assert.rb +98 -0
- data/vendor/bundle/gems/power_assert-1.1.5/lib/power_assert/colorize.rb +9 -0
- data/vendor/bundle/gems/power_assert-1.1.5/lib/power_assert/configuration.rb +46 -0
- data/vendor/bundle/gems/power_assert-1.1.5/lib/power_assert/context.rb +235 -0
- data/vendor/bundle/gems/power_assert-1.1.5/lib/power_assert/enable_tracepoint_events.rb +91 -0
- data/vendor/bundle/gems/power_assert-1.1.5/lib/power_assert/inspector.rb +61 -0
- data/vendor/bundle/gems/power_assert-1.1.5/lib/power_assert/parser.rb +251 -0
- data/vendor/bundle/gems/power_assert-1.1.5/lib/power_assert/version.rb +3 -0
- data/vendor/bundle/gems/power_assert-1.1.5/power_assert.gemspec +31 -0
- data/vendor/bundle/gems/public_suffix-4.0.1/2.0-Upgrade.md +52 -0
- data/vendor/bundle/gems/public_suffix-4.0.1/CHANGELOG.md +365 -0
- data/vendor/bundle/gems/public_suffix-4.0.1/Gemfile +12 -0
- data/vendor/bundle/gems/public_suffix-4.0.1/LICENSE.txt +22 -0
- data/vendor/bundle/gems/public_suffix-4.0.1/README.md +202 -0
- data/vendor/bundle/gems/public_suffix-4.0.1/Rakefile +51 -0
- data/vendor/bundle/gems/public_suffix-4.0.1/bin/console +15 -0
- data/vendor/bundle/gems/public_suffix-4.0.1/data/list.txt +13001 -0
- data/vendor/bundle/gems/public_suffix-4.0.1/lib/public_suffix.rb +179 -0
- data/vendor/bundle/gems/public_suffix-4.0.1/lib/public_suffix/domain.rb +235 -0
- data/vendor/bundle/gems/public_suffix-4.0.1/lib/public_suffix/errors.rb +41 -0
- data/vendor/bundle/gems/public_suffix-4.0.1/lib/public_suffix/list.rb +247 -0
- data/vendor/bundle/gems/public_suffix-4.0.1/lib/public_suffix/rule.rb +350 -0
- data/vendor/bundle/gems/public_suffix-4.0.1/lib/public_suffix/version.rb +13 -0
- data/vendor/bundle/gems/public_suffix-4.0.1/public_suffix.gemspec +25 -0
- data/vendor/bundle/gems/public_suffix-4.0.1/test/acceptance_test.rb +129 -0
- data/vendor/bundle/gems/public_suffix-4.0.1/test/benchmarks/bm_find.rb +66 -0
- data/vendor/bundle/gems/public_suffix-4.0.1/test/benchmarks/bm_find_all.rb +102 -0
- data/vendor/bundle/gems/public_suffix-4.0.1/test/benchmarks/bm_names.rb +91 -0
- data/vendor/bundle/gems/public_suffix-4.0.1/test/benchmarks/bm_select.rb +26 -0
- data/vendor/bundle/gems/public_suffix-4.0.1/test/benchmarks/bm_select_incremental.rb +25 -0
- data/vendor/bundle/gems/public_suffix-4.0.1/test/benchmarks/bm_valid.rb +101 -0
- data/vendor/bundle/gems/public_suffix-4.0.1/test/profilers/domain_profiler.rb +12 -0
- data/vendor/bundle/gems/public_suffix-4.0.1/test/profilers/find_profiler.rb +12 -0
- data/vendor/bundle/gems/public_suffix-4.0.1/test/profilers/find_profiler_jp.rb +12 -0
- data/vendor/bundle/gems/public_suffix-4.0.1/test/profilers/initialization_profiler.rb +11 -0
- data/vendor/bundle/gems/public_suffix-4.0.1/test/profilers/list_profsize.rb +11 -0
- data/vendor/bundle/gems/public_suffix-4.0.1/test/profilers/object_binsize.rb +57 -0
- data/vendor/bundle/gems/public_suffix-4.0.1/test/psl_test.rb +52 -0
- data/vendor/bundle/gems/public_suffix-4.0.1/test/test_helper.rb +18 -0
- data/vendor/bundle/gems/public_suffix-4.0.1/test/tests.txt +98 -0
- data/vendor/bundle/gems/public_suffix-4.0.1/test/unit/domain_test.rb +106 -0
- data/vendor/bundle/gems/public_suffix-4.0.1/test/unit/errors_test.rb +25 -0
- data/vendor/bundle/gems/public_suffix-4.0.1/test/unit/list_test.rb +241 -0
- data/vendor/bundle/gems/public_suffix-4.0.1/test/unit/public_suffix_test.rb +188 -0
- data/vendor/bundle/gems/public_suffix-4.0.1/test/unit/rule_test.rb +222 -0
- data/vendor/bundle/gems/rack-2.0.7/COPYING +18 -0
- data/vendor/bundle/gems/rack-2.0.7/HISTORY.md +505 -0
- data/vendor/bundle/gems/rack-2.0.7/README.rdoc +302 -0
- data/vendor/bundle/gems/rack-2.0.7/Rakefile +116 -0
- data/vendor/bundle/gems/rack-2.0.7/SPEC +263 -0
- data/vendor/bundle/gems/rack-2.0.7/bin/rackup +4 -0
- data/vendor/bundle/gems/rack-2.0.7/contrib/rack.png +0 -0
- data/vendor/bundle/gems/rack-2.0.7/contrib/rack.svg +150 -0
- data/vendor/bundle/gems/rack-2.0.7/contrib/rack_logo.svg +164 -0
- data/vendor/bundle/gems/rack-2.0.7/contrib/rdoc.css +412 -0
- data/vendor/bundle/gems/rack-2.0.7/example/lobster.ru +4 -0
- data/vendor/bundle/gems/rack-2.0.7/example/protectedlobster.rb +14 -0
- data/vendor/bundle/gems/rack-2.0.7/example/protectedlobster.ru +8 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack.rb +147 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/auth/abstract/handler.rb +37 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/auth/abstract/request.rb +47 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/auth/basic.rb +58 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/auth/digest/md5.rb +129 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/auth/digest/nonce.rb +51 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/auth/digest/params.rb +52 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/auth/digest/request.rb +41 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/body_proxy.rb +44 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/builder.rb +164 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/cascade.rb +52 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/chunked.rb +69 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/common_logger.rb +72 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/conditional_get.rb +79 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/config.rb +20 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/content_length.rb +37 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/content_type.rb +29 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/deflater.rb +119 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/directory.rb +179 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/etag.rb +74 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/events.rb +154 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/file.rb +176 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/handler.rb +99 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/handler/cgi.rb +60 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/handler/fastcgi.rb +100 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/handler/lsws.rb +61 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/handler/scgi.rb +70 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/handler/thin.rb +36 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/handler/webrick.rb +120 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/head.rb +25 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/lint.rb +760 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/lobster.rb +70 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/lock.rb +31 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/logger.rb +18 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/media_type.rb +38 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/method_override.rb +50 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/mime.rb +677 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/mock.rb +196 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/multipart.rb +63 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/multipart/generator.rb +93 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/multipart/parser.rb +366 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/multipart/uploaded_file.rb +33 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/null_logger.rb +37 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/query_parser.rb +192 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/recursive.rb +62 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/reloader.rb +110 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/request.rb +500 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/response.rb +235 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/rewindable_input.rb +93 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/runtime.rb +32 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/sendfile.rb +158 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/server.rb +395 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/session/abstract/id.rb +445 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/session/cookie.rb +195 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/session/memcache.rb +93 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/session/pool.rb +76 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/show_exceptions.rb +386 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/show_status.rb +113 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/static.rb +175 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/tempfile_reaper.rb +22 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/urlmap.rb +91 -0
- data/vendor/bundle/gems/rack-2.0.7/lib/rack/utils.rb +620 -0
- data/vendor/bundle/gems/rack-2.0.7/rack.gemspec +34 -0
- data/vendor/bundle/gems/rack-2.0.7/test/builder/an_underscore_app.rb +5 -0
- data/vendor/bundle/gems/rack-2.0.7/test/builder/anything.rb +5 -0
- data/vendor/bundle/gems/rack-2.0.7/test/builder/comment.ru +4 -0
- data/vendor/bundle/gems/rack-2.0.7/test/builder/end.ru +5 -0
- data/vendor/bundle/gems/rack-2.0.7/test/builder/line.ru +1 -0
- data/vendor/bundle/gems/rack-2.0.7/test/builder/options.ru +2 -0
- data/vendor/bundle/gems/rack-2.0.7/test/cgi/assets/folder/test.js +1 -0
- data/vendor/bundle/gems/rack-2.0.7/test/cgi/assets/fonts/font.eot +1 -0
- data/vendor/bundle/gems/rack-2.0.7/test/cgi/assets/images/image.png +1 -0
- data/vendor/bundle/gems/rack-2.0.7/test/cgi/assets/index.html +1 -0
- data/vendor/bundle/gems/rack-2.0.7/test/cgi/assets/javascripts/app.js +1 -0
- data/vendor/bundle/gems/rack-2.0.7/test/cgi/assets/stylesheets/app.css +1 -0
- data/vendor/bundle/gems/rack-2.0.7/test/cgi/lighttpd.conf +26 -0
- data/vendor/bundle/gems/rack-2.0.7/test/cgi/rackup_stub.rb +6 -0
- data/vendor/bundle/gems/rack-2.0.7/test/cgi/sample_rackup.ru +5 -0
- data/vendor/bundle/gems/rack-2.0.7/test/cgi/test +9 -0
- data/vendor/bundle/gems/rack-2.0.7/test/cgi/test+directory/test+file +1 -0
- data/vendor/bundle/gems/rack-2.0.7/test/cgi/test.fcgi +9 -0
- data/vendor/bundle/gems/rack-2.0.7/test/cgi/test.gz +0 -0
- data/vendor/bundle/gems/rack-2.0.7/test/cgi/test.ru +5 -0
- data/vendor/bundle/gems/rack-2.0.7/test/gemloader.rb +10 -0
- data/vendor/bundle/gems/rack-2.0.7/test/helper.rb +34 -0
- data/vendor/bundle/gems/rack-2.0.7/test/multipart/bad_robots +259 -0
- data/vendor/bundle/gems/rack-2.0.7/test/multipart/binary +0 -0
- data/vendor/bundle/gems/rack-2.0.7/test/multipart/content_type_and_no_filename +6 -0
- data/vendor/bundle/gems/rack-2.0.7/test/multipart/empty +10 -0
- data/vendor/bundle/gems/rack-2.0.7/test/multipart/fail_16384_nofile +814 -0
- data/vendor/bundle/gems/rack-2.0.7/test/multipart/file1.txt +1 -0
- data/vendor/bundle/gems/rack-2.0.7/test/multipart/filename_and_modification_param +7 -0
- data/vendor/bundle/gems/rack-2.0.7/test/multipart/filename_and_no_name +6 -0
- data/vendor/bundle/gems/rack-2.0.7/test/multipart/filename_with_encoded_words +7 -0
- data/vendor/bundle/gems/rack-2.0.7/test/multipart/filename_with_escaped_quotes +6 -0
- data/vendor/bundle/gems/rack-2.0.7/test/multipart/filename_with_escaped_quotes_and_modification_param +7 -0
- data/vendor/bundle/gems/rack-2.0.7/test/multipart/filename_with_null_byte +7 -0
- data/vendor/bundle/gems/rack-2.0.7/test/multipart/filename_with_percent_escaped_quotes +6 -0
- data/vendor/bundle/gems/rack-2.0.7/test/multipart/filename_with_single_quote +7 -0
- data/vendor/bundle/gems/rack-2.0.7/test/multipart/filename_with_unescaped_percentages +6 -0
- data/vendor/bundle/gems/rack-2.0.7/test/multipart/filename_with_unescaped_percentages2 +6 -0
- data/vendor/bundle/gems/rack-2.0.7/test/multipart/filename_with_unescaped_percentages3 +6 -0
- data/vendor/bundle/gems/rack-2.0.7/test/multipart/filename_with_unescaped_quotes +6 -0
- data/vendor/bundle/gems/rack-2.0.7/test/multipart/ie +6 -0
- data/vendor/bundle/gems/rack-2.0.7/test/multipart/invalid_character +6 -0
- data/vendor/bundle/gems/rack-2.0.7/test/multipart/mixed_files +21 -0
- data/vendor/bundle/gems/rack-2.0.7/test/multipart/nested +10 -0
- data/vendor/bundle/gems/rack-2.0.7/test/multipart/none +9 -0
- data/vendor/bundle/gems/rack-2.0.7/test/multipart/quoted +15 -0
- data/vendor/bundle/gems/rack-2.0.7/test/multipart/rack-logo.png +0 -0
- data/vendor/bundle/gems/rack-2.0.7/test/multipart/semicolon +6 -0
- data/vendor/bundle/gems/rack-2.0.7/test/multipart/text +15 -0
- data/vendor/bundle/gems/rack-2.0.7/test/multipart/three_files_three_fields +31 -0
- data/vendor/bundle/gems/rack-2.0.7/test/multipart/unity3d_wwwform +11 -0
- data/vendor/bundle/gems/rack-2.0.7/test/multipart/webkit +32 -0
- data/vendor/bundle/gems/rack-2.0.7/test/rackup/config.ru +31 -0
- data/vendor/bundle/gems/rack-2.0.7/test/registering_handler/rack/handler/registering_myself.rb +8 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_auth_basic.rb +89 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_auth_digest.rb +260 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_body_proxy.rb +85 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_builder.rb +233 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_cascade.rb +63 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_cgi.rb +84 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_chunked.rb +103 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_common_logger.rb +95 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_conditional_get.rb +103 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_config.rb +23 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_content_length.rb +86 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_content_type.rb +46 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_deflater.rb +375 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_directory.rb +148 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_etag.rb +108 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_events.rb +133 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_fastcgi.rb +85 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_file.rb +264 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_handler.rb +57 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_head.rb +46 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_lint.rb +515 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_lobster.rb +59 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_lock.rb +204 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_logger.rb +24 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_media_type.rb +42 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_method_override.rb +110 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_mime.rb +51 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_mock.rb +359 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_multipart.rb +722 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_null_logger.rb +21 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_recursive.rb +75 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_request.rb +1407 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_response.rb +510 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_rewindable_input.rb +128 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_runtime.rb +50 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_sendfile.rb +125 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_server.rb +193 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_session_abstract_id.rb +31 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_session_abstract_session_hash.rb +45 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_session_cookie.rb +442 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_session_memcache.rb +320 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_session_pool.rb +210 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_show_exceptions.rb +93 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_show_status.rb +104 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_static.rb +184 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_tempfile_reaper.rb +64 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_thin.rb +96 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_urlmap.rb +237 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_utils.rb +742 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_version.rb +11 -0
- data/vendor/bundle/gems/rack-2.0.7/test/spec_webrick.rb +206 -0
- data/vendor/bundle/gems/rack-2.0.7/test/static/another/index.html +1 -0
- data/vendor/bundle/gems/rack-2.0.7/test/static/foo.html +1 -0
- data/vendor/bundle/gems/rack-2.0.7/test/static/index.html +1 -0
- data/vendor/bundle/gems/rack-2.0.7/test/testrequest.rb +78 -0
- data/vendor/bundle/gems/rack-2.0.7/test/unregistered_handler/rack/handler/unregistered.rb +7 -0
- data/vendor/bundle/gems/rack-2.0.7/test/unregistered_handler/rack/handler/unregistered_long_one.rb +7 -0
- data/vendor/bundle/gems/rack-test-1.1.0/History.md +256 -0
- data/vendor/bundle/gems/rack-test-1.1.0/MIT-LICENSE.txt +19 -0
- data/vendor/bundle/gems/rack-test-1.1.0/README.md +150 -0
- data/vendor/bundle/gems/rack-test-1.1.0/lib/rack/mock_session.rb +63 -0
- data/vendor/bundle/gems/rack-test-1.1.0/lib/rack/test.rb +334 -0
- data/vendor/bundle/gems/rack-test-1.1.0/lib/rack/test/cookie_jar.rb +194 -0
- data/vendor/bundle/gems/rack-test-1.1.0/lib/rack/test/methods.rb +83 -0
- data/vendor/bundle/gems/rack-test-1.1.0/lib/rack/test/mock_digest_request.rb +25 -0
- data/vendor/bundle/gems/rack-test-1.1.0/lib/rack/test/uploaded_file.rb +85 -0
- data/vendor/bundle/gems/rack-test-1.1.0/lib/rack/test/utils.rb +144 -0
- data/vendor/bundle/gems/rack-test-1.1.0/lib/rack/test/version.rb +5 -0
- data/vendor/bundle/gems/racksh-1.0.0/CHANGELOG.txt +34 -0
- data/vendor/bundle/gems/racksh-1.0.0/README.markdown +150 -0
- data/vendor/bundle/gems/racksh-1.0.0/bin/racksh +25 -0
- data/vendor/bundle/gems/racksh-1.0.0/lib/racksh/init.rb +53 -0
- data/vendor/bundle/gems/racksh-1.0.0/lib/racksh/irb.rb +2 -0
- data/vendor/bundle/gems/racksh-1.0.0/lib/racksh/session.rb +18 -0
- data/vendor/bundle/gems/racksh-1.0.0/lib/racksh/version.rb +5 -0
- data/vendor/bundle/gems/rake-13.0.1/CONTRIBUTING.rdoc +43 -0
- data/vendor/bundle/gems/rake-13.0.1/Gemfile +10 -0
- data/vendor/bundle/gems/rake-13.0.1/History.rdoc +2368 -0
- data/vendor/bundle/gems/rake-13.0.1/MIT-LICENSE +21 -0
- data/vendor/bundle/gems/rake-13.0.1/README.rdoc +155 -0
- data/vendor/bundle/gems/rake-13.0.1/Rakefile +41 -0
- data/vendor/bundle/gems/rake-13.0.1/bin/bundle +105 -0
- data/vendor/bundle/gems/rake-13.0.1/bin/console +7 -0
- data/vendor/bundle/gems/rake-13.0.1/bin/rake +29 -0
- data/vendor/bundle/gems/rake-13.0.1/bin/rdoc +29 -0
- data/vendor/bundle/gems/rake-13.0.1/bin/rubocop +29 -0
- data/vendor/bundle/gems/rake-13.0.1/bin/setup +6 -0
- data/vendor/bundle/gems/rake-13.0.1/doc/command_line_usage.rdoc +158 -0
- data/vendor/bundle/gems/rake-13.0.1/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/gems/rake-13.0.1/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/gems/rake-13.0.1/doc/example/a.c +6 -0
- data/vendor/bundle/gems/rake-13.0.1/doc/example/b.c +6 -0
- data/vendor/bundle/gems/rake-13.0.1/doc/example/main.c +11 -0
- data/vendor/bundle/gems/rake-13.0.1/doc/glossary.rdoc +42 -0
- data/vendor/bundle/gems/rake-13.0.1/doc/jamis.rb +592 -0
- data/vendor/bundle/gems/rake-13.0.1/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/gems/rake-13.0.1/doc/rake.1 +156 -0
- data/vendor/bundle/gems/rake-13.0.1/doc/rakefile.rdoc +622 -0
- data/vendor/bundle/gems/rake-13.0.1/doc/rational.rdoc +151 -0
- data/vendor/bundle/gems/rake-13.0.1/exe/rake +27 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake.rb +71 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/application.rb +824 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/backtrace.rb +24 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/clean.rb +78 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/cloneable.rb +17 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/cpu_counter.rb +107 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/default_loader.rb +15 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/dsl_definition.rb +195 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/early_time.rb +22 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/ext/core.rb +26 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/ext/string.rb +176 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/file_creation_task.rb +25 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/file_list.rb +435 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/file_task.rb +54 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/file_utils.rb +134 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/file_utils_ext.rb +134 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/invocation_chain.rb +57 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/invocation_exception_mixin.rb +17 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/late_time.rb +18 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/linked_list.rb +112 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/loaders/makefile.rb +54 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/multi_task.rb +14 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/name_space.rb +38 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/packagetask.rb +222 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/phony.rb +16 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/private_reader.rb +21 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/promise.rb +100 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/pseudo_status.rb +30 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/rake_module.rb +67 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/rake_test_loader.rb +27 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/scope.rb +43 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/task.rb +434 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/task_argument_error.rb +8 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/task_arguments.rb +109 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/task_manager.rb +331 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/tasklib.rb +12 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/testtask.rb +224 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/thread_history_display.rb +49 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/thread_pool.rb +163 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/trace_output.rb +23 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/version.rb +10 -0
- data/vendor/bundle/gems/rake-13.0.1/lib/rake/win32.rb +51 -0
- data/vendor/bundle/gems/rake-13.0.1/rake.gemspec +43 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/COPYING +20 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/Gemfile +9 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/README.markdown +405 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/Rakefile +60 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/bin/redcarpet +7 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/Makefile +266 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/autolink.c +308 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/autolink.h +55 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/autolink.o +0 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/buffer.c +203 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/buffer.h +88 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/buffer.o +0 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/extconf.rb +6 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/houdini.h +51 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/houdini_href_e.c +124 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/houdini_href_e.o +0 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/houdini_html_e.c +104 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/houdini_html_e.o +0 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/html.c +845 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/html.h +83 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/html.o +0 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/html_blocks.h +227 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/html_smartypants.c +472 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/html_smartypants.o +0 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/markdown.c +2915 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/markdown.h +143 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/markdown.o +0 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/rc_markdown.c +183 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/rc_markdown.o +0 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/rc_render.c +568 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/rc_render.o +0 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/redcarpet.h +52 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/redcarpet.so +0 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/stack.c +84 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/stack.h +48 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/ext/redcarpet/stack.o +0 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/lib/redcarpet.rb +92 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/lib/redcarpet.so +0 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/lib/redcarpet/cli.rb +86 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/lib/redcarpet/compat.rb +71 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/lib/redcarpet/render_man.rb +65 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/lib/redcarpet/render_strip.rb +60 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/redcarpet.gemspec +71 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/test/benchmark.rb +24 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/test/custom_render_test.rb +67 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/test/fixtures/benchmark.md +232 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/test/html5_test.rb +82 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/test/html_render_test.rb +274 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/test/html_toc_render_test.rb +112 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/test/markdown_test.rb +406 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/test/pathological_inputs_test.rb +34 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/test/redcarpet_bin_test.rb +80 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/test/redcarpet_compat_test.rb +38 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/test/safe_render_test.rb +35 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/test/smarty_html_test.rb +51 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/test/smarty_pants_test.rb +58 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/test/stripdown_render_test.rb +69 -0
- data/vendor/bundle/gems/redcarpet-3.5.0/test/test_helper.rb +47 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/CHANGELOG.md +337 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/Gemfile +9 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/LICENSE +22 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/README.md +470 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/Rakefile +87 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser.rb +8 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression.rb +163 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/classes/alternation.rb +10 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/classes/anchor.rb +26 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/classes/backref.rb +55 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/classes/conditional.rb +58 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/classes/escape.rb +94 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/classes/free_space.rb +17 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/classes/group.rb +60 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/classes/keep.rb +5 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/classes/literal.rb +7 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/classes/posix_class.rb +11 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/classes/property.rb +120 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/classes/root.rb +24 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/classes/set.rb +27 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/classes/set/intersection.rb +9 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/classes/set/range.rb +23 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/classes/type.rb +19 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/methods/match.rb +13 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/methods/match_length.rb +172 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/methods/options.rb +35 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/methods/strfregexp.rb +114 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/methods/tests.rb +97 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/methods/traverse.rb +62 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/quantifier.rb +44 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/sequence.rb +67 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/sequence_operation.rb +25 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/expression/subexpression.rb +59 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/lexer.rb +127 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/parser.rb +653 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/scanner.rb +2765 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/scanner/char_type.rl +28 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/scanner/properties/long.yml +594 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/scanner/properties/short.yml +237 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/scanner/property.rl +30 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/scanner/scanner.rl +893 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax.rb +9 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/any.rb +15 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/base.rb +95 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/tokens.rb +45 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/tokens/anchor.rb +15 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/tokens/assertion.rb +13 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/tokens/backref.rb +24 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/tokens/character_set.rb +13 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/tokens/character_type.rb +16 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/tokens/conditional.rb +16 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/tokens/escape.rb +30 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/tokens/group.rb +23 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/tokens/keep.rb +12 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/tokens/meta.rb +13 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/tokens/posix_class.rb +17 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/tokens/quantifier.rb +35 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/tokens/unicode_property.rb +675 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/version_lookup.rb +82 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/versions.rb +6 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/versions/1.8.6.rb +21 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/versions/1.9.1.rb +18 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/versions/1.9.3.rb +11 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/versions/2.0.0.rb +17 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/versions/2.2.0.rb +10 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/versions/2.3.0.rb +10 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/versions/2.4.0.rb +10 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/versions/2.4.1.rb +9 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/versions/2.5.0.rb +10 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/versions/2.6.0.rb +10 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/versions/2.6.2.rb +10 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/syntax/versions/2.6.3.rb +10 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/token.rb +35 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/lib/regexp_parser/version.rb +5 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/regexp_parser.gemspec +36 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/expression/base_spec.rb +94 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/expression/clone_spec.rb +120 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/expression/conditional_spec.rb +89 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/expression/free_space_spec.rb +27 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/expression/methods/match_length_spec.rb +154 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/expression/methods/match_spec.rb +25 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/expression/methods/strfregexp_spec.rb +224 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/expression/methods/tests_spec.rb +99 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/expression/methods/traverse_spec.rb +140 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/expression/options_spec.rb +128 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/expression/root_spec.rb +9 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/expression/sequence_spec.rb +9 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/expression/subexpression_spec.rb +50 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/expression/to_h_spec.rb +26 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/expression/to_s_spec.rb +100 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/lexer/all_spec.rb +22 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/lexer/conditionals_spec.rb +53 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/lexer/escapes_spec.rb +14 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/lexer/keep_spec.rb +10 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/lexer/literals_spec.rb +89 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/lexer/nesting_spec.rb +99 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/lexer/refcalls_spec.rb +55 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/parser/all_spec.rb +43 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/parser/alternation_spec.rb +88 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/parser/anchors_spec.rb +17 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/parser/conditionals_spec.rb +179 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/parser/errors_spec.rb +30 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/parser/escapes_spec.rb +121 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/parser/free_space_spec.rb +130 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/parser/groups_spec.rb +108 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/parser/keep_spec.rb +6 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/parser/posix_classes_spec.rb +8 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/parser/properties_spec.rb +115 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/parser/quantifiers_spec.rb +51 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/parser/refcalls_spec.rb +112 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/parser/set/intersections_spec.rb +127 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/parser/set/ranges_spec.rb +111 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/parser/sets_spec.rb +178 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/parser/types_spec.rb +18 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/scanner/all_spec.rb +18 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/scanner/anchors_spec.rb +21 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/scanner/conditionals_spec.rb +128 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/scanner/errors_spec.rb +68 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/scanner/escapes_spec.rb +53 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/scanner/free_space_spec.rb +133 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/scanner/groups_spec.rb +52 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/scanner/keep_spec.rb +10 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/scanner/literals_spec.rb +49 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/scanner/meta_spec.rb +18 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/scanner/properties_spec.rb +64 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/scanner/quantifiers_spec.rb +20 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/scanner/refcalls_spec.rb +36 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/scanner/sets_spec.rb +102 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/scanner/types_spec.rb +14 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/spec_helper.rb +15 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/support/runner.rb +42 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/support/shared_examples.rb +77 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/support/warning_extractor.rb +60 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/syntax/syntax_spec.rb +48 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/syntax/syntax_token_map_spec.rb +23 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/syntax/versions/1.8.6_spec.rb +17 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/syntax/versions/1.9.1_spec.rb +10 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/syntax/versions/1.9.3_spec.rb +9 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/syntax/versions/2.0.0_spec.rb +13 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/syntax/versions/2.2.0_spec.rb +9 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/syntax/versions/aliases_spec.rb +37 -0
- data/vendor/bundle/gems/regexp_parser-1.6.0/spec/token/token_spec.rb +85 -0
- data/vendor/bundle/gems/rspec-3.9.0/LICENSE.md +27 -0
- data/vendor/bundle/gems/rspec-3.9.0/README.md +43 -0
- data/vendor/bundle/gems/rspec-3.9.0/lib/rspec.rb +3 -0
- data/vendor/bundle/gems/rspec-3.9.0/lib/rspec/version.rb +5 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/Changelog.md +2265 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/LICENSE.md +26 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/README.md +384 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/exe/rspec +4 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/autorun.rb +3 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core.rb +186 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/backtrace_formatter.rb +65 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/bisect/coordinator.rb +62 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/bisect/example_minimizer.rb +173 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/bisect/fork_runner.rb +134 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/bisect/server.rb +61 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/bisect/shell_command.rb +126 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/bisect/shell_runner.rb +73 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/bisect/utilities.rb +58 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/configuration.rb +2336 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/configuration_options.rb +233 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/did_you_mean.rb +46 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/drb.rb +113 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/dsl.rb +98 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/example.rb +656 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/example_group.rb +889 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/example_status_persister.rb +235 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/filter_manager.rb +231 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/flat_map.rb +20 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters.rb +272 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/base_bisect_formatter.rb +45 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/base_formatter.rb +70 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/base_text_formatter.rb +75 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/bisect_drb_formatter.rb +29 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/bisect_progress_formatter.rb +157 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/console_codes.rb +68 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/deprecation_formatter.rb +223 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/documentation_formatter.rb +102 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/exception_presenter.rb +508 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/failure_list_formatter.rb +23 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/helpers.rb +110 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/html_formatter.rb +153 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/html_printer.rb +414 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/html_snippet_extractor.rb +120 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/json_formatter.rb +102 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/profile_formatter.rb +68 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/progress_formatter.rb +29 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/protocol.rb +182 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/snippet_extractor.rb +134 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/formatters/syntax_highlighter.rb +91 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/hooks.rb +632 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/invocations.rb +87 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/memoized_helpers.rb +554 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/metadata.rb +498 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/metadata_filter.rb +255 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/mocking_adapters/null.rb +14 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/mocking_adapters/rr.rb +31 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/notifications.rb +521 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/option_parser.rb +317 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/ordering.rb +158 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/output_wrapper.rb +29 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/pending.rb +165 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/profiler.rb +34 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/project_initializer.rb +48 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/project_initializer/spec/spec_helper.rb +100 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/rake_task.rb +188 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/reporter.rb +265 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/ruby_project.rb +53 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/runner.rb +204 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/sandbox.rb +37 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/set.rb +54 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/shared_context.rb +55 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/shared_example_group.rb +269 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/shell_escape.rb +49 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/version.rb +9 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/warnings.rb +40 -0
- data/vendor/bundle/gems/rspec-core-3.9.0/lib/rspec/core/world.rb +275 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/Changelog.md +1170 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/LICENSE.md +25 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/README.md +320 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/expectations.rb +82 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/expectations/block_snippet_extractor.rb +253 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/expectations/configuration.rb +215 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/expectations/expectation_target.rb +127 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/expectations/fail_with.rb +39 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/expectations/failure_aggregator.rb +194 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/expectations/handler.rb +170 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/expectations/minitest_integration.rb +58 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/expectations/syntax.rb +132 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/expectations/version.rb +8 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers.rb +1038 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/aliased_matcher.rb +116 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in.rb +52 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/all.rb +86 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/base_matcher.rb +193 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/be.rb +288 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/be_between.rb +77 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/be_instance_of.rb +26 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/be_kind_of.rb +20 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/be_within.rb +72 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/change.rb +428 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/compound.rb +276 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/contain_exactly.rb +302 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/cover.rb +24 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/eq.rb +40 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/eql.rb +34 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/equal.rb +81 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/exist.rb +90 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/has.rb +103 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/have_attributes.rb +114 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/include.rb +149 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/match.rb +106 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/operators.rb +128 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/output.rb +200 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/raise_error.rb +230 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/respond_to.rb +174 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/satisfy.rb +60 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/start_or_end_with.rb +94 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/throw_symbol.rb +132 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/yield.rb +432 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/composable.rb +171 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/dsl.rb +534 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/english_phrasing.rb +58 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +82 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/fail_matchers.rb +42 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/generated_descriptions.rb +41 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/matcher_delegator.rb +35 -0
- data/vendor/bundle/gems/rspec-expectations-3.9.0/lib/rspec/matchers/matcher_protocol.rb +99 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/Changelog.md +1125 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/LICENSE.md +25 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/README.md +463 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks.rb +130 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/any_instance.rb +11 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/any_instance/chain.rb +111 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/any_instance/expect_chain_chain.rb +31 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/any_instance/expectation_chain.rb +50 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/any_instance/proxy.rb +116 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/any_instance/recorder.rb +289 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/any_instance/stub_chain.rb +51 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/any_instance/stub_chain_chain.rb +23 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/argument_list_matcher.rb +100 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/argument_matchers.rb +322 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/configuration.rb +212 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/error_generator.rb +369 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/example_methods.rb +434 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/instance_method_stasher.rb +146 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/marshal_extension.rb +41 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/matchers/have_received.rb +134 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/matchers/receive.rb +132 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/matchers/receive_message_chain.rb +82 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/matchers/receive_messages.rb +77 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/message_chain.rb +87 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/message_expectation.rb +751 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/method_double.rb +287 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/method_reference.rb +202 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/minitest_integration.rb +68 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/mutate_const.rb +339 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/object_reference.rb +149 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/order_group.rb +81 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/proxy.rb +503 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/space.rb +238 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/standalone.rb +3 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/syntax.rb +325 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/targets.rb +124 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/test_double.rb +171 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/verifying_double.rb +129 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/verifying_message_expectation.rb +54 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/verifying_proxy.rb +220 -0
- data/vendor/bundle/gems/rspec-mocks-3.9.0/lib/rspec/mocks/version.rb +9 -0
- data/vendor/bundle/gems/rspec-support-3.9.0/Changelog.md +275 -0
- data/vendor/bundle/gems/rspec-support-3.9.0/LICENSE.md +23 -0
- data/vendor/bundle/gems/rspec-support-3.9.0/README.md +40 -0
- data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support.rb +149 -0
- data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/caller_filter.rb +83 -0
- data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/comparable_version.rb +46 -0
- data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/differ.rb +215 -0
- data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/directory_maker.rb +63 -0
- data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/encoded_string.rb +165 -0
- data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/fuzzy_matcher.rb +48 -0
- data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/hunk_generator.rb +47 -0
- data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/matcher_definition.rb +42 -0
- data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/method_signature_verifier.rb +438 -0
- data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/mutex.rb +73 -0
- data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/object_formatter.rb +275 -0
- data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/recursive_const_methods.rb +76 -0
- data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/reentrant_mutex.rb +53 -0
- data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/ruby_features.rb +176 -0
- data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/source.rb +75 -0
- data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/source/location.rb +21 -0
- data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/source/node.rb +110 -0
- data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/source/token.rb +87 -0
- data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/spec.rb +81 -0
- data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/spec/deprecation_helpers.rb +64 -0
- data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/spec/formatting_support.rb +9 -0
- data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/spec/in_sub_process.rb +69 -0
- data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/spec/library_wide_checks.rb +150 -0
- data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/spec/shell_out.rb +89 -0
- data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/spec/stderr_splitter.rb +63 -0
- data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/spec/string_matcher.rb +46 -0
- data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/spec/with_isolated_directory.rb +13 -0
- data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/spec/with_isolated_stderr.rb +13 -0
- data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/version.rb +7 -0
- data/vendor/bundle/gems/rspec-support-3.9.0/lib/rspec/support/warnings.rb +39 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/README.md +354 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/Rakefile +18 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/TODO +15 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip.rb +71 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/central_directory.rb +208 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/compressor.rb +9 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/constants.rb +63 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/crypto/encryption.rb +11 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/crypto/null_encryption.rb +43 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/crypto/traditional_encryption.rb +99 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/decompressor.rb +13 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/deflater.rb +34 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/dos_time.rb +48 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/entry.rb +700 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/entry_set.rb +86 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/errors.rb +18 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/extra_field.rb +101 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/extra_field/generic.rb +43 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/extra_field/ntfs.rb +90 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/extra_field/old_unix.rb +44 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/extra_field/universal_time.rb +47 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/extra_field/unix.rb +37 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/extra_field/zip64.rb +68 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/extra_field/zip64_placeholder.rb +15 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/file.rb +443 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/filesystem.rb +627 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/inflater.rb +66 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/input_stream.rb +173 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/ioextras.rb +36 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/ioextras/abstract_input_stream.rb +111 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/ioextras/abstract_output_stream.rb +43 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/null_compressor.rb +15 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/null_decompressor.rb +27 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/null_input_stream.rb +10 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/output_stream.rb +189 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/pass_thru_compressor.rb +23 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/pass_thru_decompressor.rb +40 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/streamable_directory.rb +15 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/streamable_stream.rb +56 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/lib/zip/version.rb +3 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/samples/example.rb +81 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/samples/example_filesystem.rb +31 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/samples/example_recursive.rb +54 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/samples/gtk_ruby_zip.rb +84 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/samples/qtzip.rb +92 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/samples/write_simple.rb +12 -0
- data/vendor/bundle/gems/rubyzip-2.0.0/samples/zipfind.rb +66 -0
- data/vendor/bundle/gems/sawyer-0.8.2/Gemfile +8 -0
- data/vendor/bundle/gems/sawyer-0.8.2/LICENSE.md +20 -0
- data/vendor/bundle/gems/sawyer-0.8.2/README.md +62 -0
- data/vendor/bundle/gems/sawyer-0.8.2/Rakefile +12 -0
- data/vendor/bundle/gems/sawyer-0.8.2/lib/sawyer.rb +17 -0
- data/vendor/bundle/gems/sawyer-0.8.2/lib/sawyer/agent.rb +158 -0
- data/vendor/bundle/gems/sawyer-0.8.2/lib/sawyer/link_parsers/hal.rb +15 -0
- data/vendor/bundle/gems/sawyer-0.8.2/lib/sawyer/link_parsers/simple.rb +29 -0
- data/vendor/bundle/gems/sawyer-0.8.2/lib/sawyer/relation.rb +272 -0
- data/vendor/bundle/gems/sawyer-0.8.2/lib/sawyer/resource.rb +155 -0
- data/vendor/bundle/gems/sawyer-0.8.2/lib/sawyer/response.rb +72 -0
- data/vendor/bundle/gems/sawyer-0.8.2/lib/sawyer/serializer.rb +129 -0
- data/vendor/bundle/gems/sawyer-0.8.2/sawyer.gemspec +31 -0
- data/vendor/bundle/gems/sawyer-0.8.2/script/bootstrap +5 -0
- data/vendor/bundle/gems/sawyer-0.8.2/script/console +8 -0
- data/vendor/bundle/gems/sawyer-0.8.2/script/package +8 -0
- data/vendor/bundle/gems/sawyer-0.8.2/script/release +16 -0
- data/vendor/bundle/gems/sawyer-0.8.2/script/test +6 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/CHANGES +1641 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/Gemfile +4 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/LICENSE +202 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/README.md +35 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium-webdriver.rb +20 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/server.rb +272 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver.rb +101 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/atoms.rb +37 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/atoms/getAttribute.js +7 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/atoms/isDisplayed.js +102 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/chrome.rb +54 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/chrome/bridge.rb +68 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/chrome/driver.rb +114 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/chrome/options.rb +186 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/chrome/profile.rb +110 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/chrome/service.rb +59 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common.rb +76 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/action_builder.rb +365 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/alert.rb +47 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/bridge_helper.rb +82 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/driver.rb +308 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/driver_extensions/downloads_files.rb +45 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/driver_extensions/has_addons.rb +50 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/driver_extensions/has_debugger.rb +42 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/driver_extensions/has_location.rb +40 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/driver_extensions/has_network_conditions.rb +51 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/driver_extensions/has_network_connection.rb +58 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/driver_extensions/has_permissions.rb +51 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/driver_extensions/has_remote_status.rb +30 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/driver_extensions/has_session_id.rb +39 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/driver_extensions/has_touch_screen.rb +36 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/driver_extensions/has_web_storage.rb +38 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/driver_extensions/rotatable.rb +61 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/driver_extensions/takes_screenshot.rb +64 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/driver_extensions/uploads_files.rb +60 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/element.rb +335 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/error.rb +383 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/file_reaper.rb +65 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/html5/local_storage.rb +59 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/html5/session_storage.rb +61 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/html5/shared_web_storage.rb +53 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/interactions/input_device.rb +54 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/interactions/interaction.rb +53 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/interactions/interactions.rb +43 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/interactions/key_actions.rb +145 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/interactions/key_input.rb +66 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/interactions/none_input.rb +36 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/interactions/pointer_actions.rb +363 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/interactions/pointer_input.rb +139 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/keyboard.rb +70 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/keys.rb +146 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/log_entry.rb +48 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/logger.rb +115 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/logs.rb +40 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/manager.rb +177 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/mouse.rb +89 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/navigation.rb +60 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/platform.rb +222 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/port_prober.rb +49 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/profile_helper.rb +83 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/proxy.rb +162 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/search_context.rb +108 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/service.rb +219 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/socket_lock.rb +82 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/socket_poller.rb +126 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/target_locator.rb +111 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/timeouts.rb +55 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/touch_action_builder.rb +78 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/touch_screen.rb +123 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/w3c_action_builder.rb +212 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/w3c_manager.rb +45 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/wait.rb +83 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/window.rb +163 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/zipper.rb +97 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/edge.rb +44 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/edge/bridge.rb +76 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/edge/driver.rb +66 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/edge/options.rb +80 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/edge/service.rb +52 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/firefox.rb +66 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/firefox/binary.rb +187 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/firefox/driver.rb +50 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/firefox/extension.rb +95 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/firefox/extension/prefs.json +69 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/firefox/extension/webdriver.xpi +0 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/firefox/launcher.rb +111 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/firefox/legacy/driver.rb +83 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/firefox/marionette/bridge.rb +49 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/firefox/marionette/driver.rb +90 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/firefox/native/linux/amd64/x_ignore_nofocus.so +0 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/firefox/native/linux/x86/x_ignore_nofocus.so +0 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/firefox/options.rb +162 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/firefox/profile.rb +281 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/firefox/profiles_ini.rb +74 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/firefox/service.rb +52 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/firefox/util.rb +46 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/ie.rb +41 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/ie/driver.rb +85 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/ie/options.rb +138 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/ie/service.rb +54 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote.rb +35 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/bridge.rb +195 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/capabilities.rb +285 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/driver.rb +51 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/http/common.rb +105 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/http/curb.rb +97 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/http/default.rb +182 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/http/persistent.rb +60 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/oss/bridge.rb +594 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/oss/commands.rb +223 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/response.rb +136 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/server_error.rb +34 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/w3c/bridge.rb +605 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/w3c/capabilities.rb +310 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/w3c/commands.rb +157 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/safari.rb +65 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/safari/bridge.rb +51 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/safari/driver.rb +68 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/safari/options.rb +60 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/safari/service.rb +38 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/support.rb +25 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/support/abstract_event_listener.rb +87 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/support/block_event_listener.rb +34 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/support/color.rb +146 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/support/escaper.rb +43 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/support/event_firing_bridge.rb +129 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/support/select.rb +270 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/version.rb +24 -0
- data/vendor/bundle/gems/selenium-webdriver-3.142.6/selenium-webdriver.gemspec +47 -0
- data/vendor/bundle/gems/sequel-5.26.0/CHANGELOG +2571 -0
- data/vendor/bundle/gems/sequel-5.26.0/MIT-LICENSE +19 -0
- data/vendor/bundle/gems/sequel-5.26.0/README.rdoc +902 -0
- data/vendor/bundle/gems/sequel-5.26.0/Rakefile +151 -0
- data/vendor/bundle/gems/sequel-5.26.0/bin/sequel +267 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/advanced_associations.rdoc +882 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/association_basics.rdoc +1759 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/bin_sequel.rdoc +146 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/cheat_sheet.rdoc +246 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/code_order.rdoc +104 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/core_extensions.rdoc +405 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/dataset_basics.rdoc +96 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/dataset_filtering.rdoc +222 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/extensions.rdoc +77 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/mass_assignment.rdoc +98 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/migration.rdoc +639 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/model_dataset_method_design.rdoc +129 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/model_hooks.rdoc +254 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/model_plugins.rdoc +270 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/mssql_stored_procedures.rdoc +43 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/object_model.rdoc +563 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/opening_databases.rdoc +414 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/postgresql.rdoc +532 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/prepared_statements.rdoc +144 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/querying.rdoc +1063 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/reflection.rdoc +120 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.0.0.txt +262 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.1.0.txt +85 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.10.0.txt +226 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.11.0.txt +147 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.12.0.txt +105 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.13.0.txt +169 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.14.0.txt +68 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.15.0.txt +56 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.16.0.txt +36 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.17.0.txt +38 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.18.0.txt +36 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.19.0.txt +45 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.2.0.txt +129 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.20.0.txt +79 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.21.0.txt +94 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.22.0.txt +72 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.23.0.txt +65 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.24.0.txt +99 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.25.0.txt +181 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.26.0.txt +44 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.27.0.txt +78 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.28.0.txt +57 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.29.0.txt +41 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.3.0.txt +40 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.30.0.txt +37 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.31.0.txt +57 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.32.0.txt +132 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.33.0.txt +88 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.34.0.txt +86 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.35.0.txt +130 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.36.0.txt +116 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.37.0.txt +50 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.38.0.txt +67 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.39.0.txt +127 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.4.0.txt +92 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.40.0.txt +179 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.41.0.txt +77 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.42.0.txt +221 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.43.0.txt +87 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.44.0.txt +125 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.45.0.txt +370 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.46.0.txt +404 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.47.0.txt +56 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.48.0.txt +293 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.49.0.txt +222 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.5.0.txt +34 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.6.0.txt +30 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.7.0.txt +103 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.8.0.txt +175 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.9.0.txt +190 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.0.0.txt +159 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.1.0.txt +31 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.10.0.txt +84 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.11.0.txt +83 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.12.0.txt +141 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.13.0.txt +27 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.14.0.txt +63 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.15.0.txt +39 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.16.0.txt +110 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.17.0.txt +31 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.18.0.txt +69 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.19.0.txt +28 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.2.0.txt +33 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.20.0.txt +89 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.21.0.txt +87 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.22.0.txt +48 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.23.0.txt +56 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.24.0.txt +56 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.25.0.txt +32 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.26.0.txt +35 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.3.0.txt +121 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.4.0.txt +80 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.5.0.txt +61 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.6.0.txt +31 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.7.0.txt +108 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.8.0.txt +170 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/release_notes/5.9.0.txt +99 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/schema_modification.rdoc +679 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/security.rdoc +443 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/sharding.rdoc +284 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/sql.rdoc +636 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/testing.rdoc +172 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/thread_safety.rdoc +15 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/transactions.rdoc +258 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/validations.rdoc +558 -0
- data/vendor/bundle/gems/sequel-5.26.0/doc/virtual_rows.rdoc +265 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel.rb +3 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/ado.rb +283 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/ado/access.rb +335 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/ado/mssql.rb +62 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/amalgalite.rb +171 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/ibmdb.rb +422 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/jdbc.rb +822 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/jdbc/db2.rb +83 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/jdbc/derby.rb +310 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/jdbc/h2.rb +237 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/jdbc/hsqldb.rb +220 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/jdbc/jtds.rb +39 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/jdbc/mssql.rb +30 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/jdbc/mysql.rb +89 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/jdbc/oracle.rb +146 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/jdbc/postgresql.rb +230 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/jdbc/sqlanywhere.rb +72 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/jdbc/sqlite.rb +133 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/jdbc/sqlserver.rb +88 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/jdbc/transactions.rb +95 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/mock.rb +381 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/mysql.rb +355 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/mysql2.rb +295 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/odbc.rb +148 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/odbc/db2.rb +11 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/odbc/mssql.rb +57 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/odbc/oracle.rb +11 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/oracle.rb +409 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/postgres.rb +814 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/postgresql.rb +3 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/shared/access.rb +290 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/shared/db2.rb +462 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/shared/mssql.rb +1086 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/shared/mysql.rb +1061 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/shared/oracle.rb +646 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/shared/postgres.rb +1991 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/shared/sqlanywhere.rb +454 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/shared/sqlite.rb +911 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/sqlanywhere.rb +192 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/sqlite.rb +376 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/tinytds.rb +258 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/utils/emulate_offset_with_reverse_and_count.rb +74 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/utils/emulate_offset_with_row_number.rb +93 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/utils/mysql_mysql2.rb +86 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/utils/mysql_prepared_statements.rb +56 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/utils/replace.rb +35 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/utils/split_alter_table.rb +46 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/utils/stored_procedures.rb +61 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/adapters/utils/unmodified_identifiers.rb +28 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/ast_transformer.rb +124 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/connection_pool.rb +143 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/connection_pool/sharded_single.rb +112 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/connection_pool/sharded_threaded.rb +371 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/connection_pool/single.rb +59 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/connection_pool/threaded.rb +285 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/core.rb +434 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/database.rb +37 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/database/connecting.rb +332 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/database/dataset.rb +79 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/database/dataset_defaults.rb +93 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/database/features.rb +150 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/database/logging.rb +91 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/database/misc.rb +551 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/database/query.rb +363 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/database/schema_generator.rb +652 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/database/schema_methods.rb +1056 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/database/transactions.rb +547 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/dataset.rb +56 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/dataset/actions.rb +1240 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/dataset/dataset_module.rb +46 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/dataset/features.rb +249 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/dataset/graph.rb +296 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/dataset/misc.rb +371 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/dataset/placeholder_literalizer.rb +223 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/dataset/prepared_statements.rb +427 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/dataset/query.rb +1369 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/dataset/sql.rb +1672 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/deprecated.rb +68 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/exceptions.rb +123 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/_model_constraint_validations.rb +16 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/_model_pg_row.rb +43 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/_pretty_table.rb +86 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/arbitrary_servers.rb +114 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/auto_literal_strings.rb +74 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/blank.rb +49 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/caller_logging.rb +79 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/columns_introspection.rb +89 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/connection_expiration.rb +99 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/connection_validator.rb +123 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/constant_sql_override.rb +65 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/constraint_validations.rb +510 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/core_extensions.rb +222 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/core_refinements.rb +217 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/current_datetime_timestamp.rb +59 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/dataset_source_alias.rb +95 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/date_arithmetic.rb +214 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/datetime_parse_to_time.rb +37 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/duplicate_columns_handler.rb +92 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/empty_array_consider_nulls.rb +39 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/error_sql.rb +76 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/escaped_like.rb +100 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/eval_inspect.rb +181 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/freeze_datasets.rb +3 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/from_block.rb +3 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/graph_each.rb +88 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/identifier_mangling.rb +180 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/implicit_subquery.rb +48 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/index_caching.rb +107 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/inflector.rb +250 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/integer64.rb +30 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/looser_typecasting.rb +54 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/migration.rb +786 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/mssql_emulate_lateral_with_apply.rb +84 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/named_timezones.rb +164 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/no_auto_literal_strings.rb +4 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/null_dataset.rb +109 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pagination.rb +140 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pg_array.rb +526 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pg_array_ops.rb +328 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pg_enum.rb +192 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pg_extended_date_support.rb +250 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pg_hstore.rb +342 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pg_hstore_ops.rb +361 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pg_inet.rb +127 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pg_inet_ops.rb +204 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pg_interval.rb +196 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pg_json.rb +646 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pg_json_ops.rb +637 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pg_loose_count.rb +37 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pg_range.rb +575 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pg_range_ops.rb +165 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pg_row.rb +582 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pg_row_ops.rb +193 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pg_static_cache_updater.rb +144 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pg_timestamptz.rb +26 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/pretty_table.rb +40 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/query.rb +82 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/round_timestamps.rb +49 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/s.rb +57 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/schema_caching.rb +88 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/schema_dumper.rb +498 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/select_remove.rb +52 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/sequel_4_dataset_methods.rb +85 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/server_block.rb +182 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/server_logging.rb +61 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/split_array_nil.rb +70 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/sql_comments.rb +96 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/sql_expr.rb +23 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/string_agg.rb +181 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/string_date_time.rb +52 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/symbol_aref.rb +53 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/symbol_aref_refinement.rb +41 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/symbol_as.rb +23 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/symbol_as_refinement.rb +35 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/synchronize_sql.rb +45 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/thread_local_timezones.rb +59 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/to_dot.rb +158 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/extensions/virtual_row_method_block.rb +44 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/model.rb +83 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/model/associations.rb +3761 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/model/base.rb +2232 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/model/dataset_module.rb +33 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/model/default_inflections.rb +47 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/model/errors.rb +58 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/model/exceptions.rb +55 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/model/inflections.rb +151 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/model/plugins.rb +159 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/accessed_columns.rb +63 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/active_model.rb +124 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/after_initialize.rb +39 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/association_dependencies.rb +106 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/association_multi_add_remove.rb +83 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/association_pks.rb +274 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/association_proxies.rb +126 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/auto_validations.rb +230 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/before_after_save.rb +8 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/blacklist_security.rb +105 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/boolean_readers.rb +59 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/boolean_subsets.rb +61 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/caching.rb +164 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/class_table_inheritance.rb +444 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/column_conflicts.rb +108 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/column_select.rb +61 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/columns_updated.rb +42 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/composition.rb +199 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/constraint_validations.rb +250 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/csv_serializer.rb +194 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/dataset_associations.rb +149 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/def_dataset_method.rb +90 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/defaults_setter.rb +130 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/delay_add_association.rb +53 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/dirty.rb +232 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/eager_each.rb +88 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/eager_graph_eager.rb +139 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/error_splitter.rb +61 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/finder.rb +246 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/force_encoding.rb +78 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/hook_class_methods.rb +110 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/input_transformer.rb +89 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/insert_conflict.rb +72 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/insert_returning_select.rb +72 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/instance_filters.rb +135 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/instance_hooks.rb +115 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/inverted_subsets.rb +59 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/json_serializer.rb +429 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/lazy_attributes.rb +123 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/list.rb +203 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/many_through_many.rb +338 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/modification_detection.rb +102 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/mssql_optimistic_locking.rb +95 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/nested_attributes.rb +330 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/optimistic_locking.rb +85 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/pg_array_associations.rb +563 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/pg_auto_constraint_validations.rb +348 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/pg_row.rb +79 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/prepared_statements.rb +192 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/prepared_statements_safe.rb +83 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/rcte_tree.rb +338 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/serialization.rb +230 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/serialization_modification_detection.rb +86 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/sharding.rb +126 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/single_table_inheritance.rb +256 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/singular_table_names.rb +33 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/skip_create_refresh.rb +37 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/split_values.rb +71 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/static_cache.rb +264 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/static_cache_cache.rb +53 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/string_stripper.rb +59 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/subclasses.rb +77 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/subset_conditions.rb +48 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/table_select.rb +43 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/tactical_eager_loading.rb +199 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/throw_failures.rb +110 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/timestamps.rb +109 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/touch.rb +153 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/tree.rb +183 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/typecast_on_load.rb +90 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/unlimited_update.rb +27 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/update_or_create.rb +64 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/update_primary_key.rb +72 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/update_refresh.rb +88 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/uuid.rb +70 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/validate_associated.rb +75 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/validation_class_methods.rb +456 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/validation_contexts.rb +49 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/validation_helpers.rb +317 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/whitelist_security.rb +122 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/plugins/xml_serializer.rb +411 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/sql.rb +2048 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/timezones.rb +249 -0
- data/vendor/bundle/gems/sequel-5.26.0/lib/sequel/version.rb +25 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/adapter_spec.rb +4 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/adapters/db2_spec.rb +170 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/adapters/mssql_spec.rb +828 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/adapters/mysql_spec.rb +1060 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/adapters/oracle_spec.rb +371 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/adapters/postgres_spec.rb +4478 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/adapters/spec_helper.rb +44 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/adapters/sqlanywhere_spec.rb +97 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/adapters/sqlite_spec.rb +652 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/bin_spec.rb +278 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/core/connection_pool_spec.rb +1250 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/core/database_spec.rb +2915 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/core/dataset_spec.rb +5547 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/core/deprecated_spec.rb +70 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/core/expression_filters_spec.rb +1484 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/core/mock_adapter_spec.rb +722 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/core/object_graph_spec.rb +336 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/core/placeholder_literalizer_spec.rb +166 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/core/schema_generator_spec.rb +214 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/core/schema_spec.rb +1844 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/core/spec_helper.rb +24 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/core/version_spec.rb +14 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/core_extensions_spec.rb +763 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/core_model_spec.rb +2 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/core_spec.rb +1 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/deprecation_helper.rb +30 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/accessed_columns_spec.rb +51 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/active_model_spec.rb +99 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/after_initialize_spec.rb +28 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/arbitrary_servers_spec.rb +109 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/association_dependencies_spec.rb +125 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/association_multi_add_remove_spec.rb +1041 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/association_pks_spec.rb +423 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/association_proxies_spec.rb +100 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/auto_literal_strings_spec.rb +205 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/auto_validations_spec.rb +229 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/blacklist_security_spec.rb +95 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/blank_spec.rb +69 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/boolean_readers_spec.rb +93 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/boolean_subsets_spec.rb +47 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/caching_spec.rb +273 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/caller_logging_spec.rb +52 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/class_table_inheritance_spec.rb +750 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/column_conflicts_spec.rb +75 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/column_select_spec.rb +129 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/columns_introspection_spec.rb +90 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/columns_updated_spec.rb +35 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/composition_spec.rb +248 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/connection_expiration_spec.rb +151 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/connection_validator_spec.rb +144 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/constant_sql_override_spec.rb +24 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/constraint_validations_plugin_spec.rb +300 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/constraint_validations_spec.rb +439 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/core_refinements_spec.rb +528 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/csv_serializer_spec.rb +183 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/current_datetime_timestamp_spec.rb +27 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/dataset_associations_spec.rb +365 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/dataset_source_alias_spec.rb +51 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/date_arithmetic_spec.rb +181 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/datetime_parse_to_time_spec.rb +169 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/def_dataset_method_spec.rb +100 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/defaults_setter_spec.rb +150 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/delay_add_association_spec.rb +73 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/dirty_spec.rb +222 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/duplicate_columns_handler_spec.rb +104 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/eager_each_spec.rb +62 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/eager_graph_eager_spec.rb +100 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/empty_array_consider_nulls_spec.rb +24 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/error_splitter_spec.rb +18 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/error_sql_spec.rb +20 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/escaped_like_spec.rb +40 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/eval_inspect_spec.rb +81 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/finder_spec.rb +260 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/force_encoding_spec.rb +126 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/freeze_datasets_spec.rb +31 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/graph_each_spec.rb +113 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/hook_class_methods_spec.rb +402 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/identifier_mangling_spec.rb +201 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/implicit_subquery_spec.rb +58 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/index_caching_spec.rb +66 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/inflector_spec.rb +183 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/input_transformer_spec.rb +69 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/insert_conflict_spec.rb +103 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/insert_returning_select_spec.rb +72 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/instance_filters_spec.rb +79 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/instance_hooks_spec.rb +246 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/integer64_spec.rb +22 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/inverted_subsets_spec.rb +33 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/json_serializer_spec.rb +336 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/lazy_attributes_spec.rb +183 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/list_spec.rb +291 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/looser_typecasting_spec.rb +43 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/many_through_many_spec.rb +2177 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/migration_spec.rb +864 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/modification_detection_spec.rb +93 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/mssql_optimistic_locking_spec.rb +92 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/named_timezones_spec.rb +218 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/nested_attributes_spec.rb +815 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/null_dataset_spec.rb +85 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/optimistic_locking_spec.rb +127 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pagination_spec.rb +116 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_array_associations_spec.rb +802 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_array_ops_spec.rb +144 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_array_spec.rb +398 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_auto_constraint_validations_spec.rb +209 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_enum_spec.rb +118 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_extended_date_support_spec.rb +126 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_hstore_ops_spec.rb +238 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_hstore_spec.rb +219 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_inet_ops_spec.rb +102 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_inet_spec.rb +72 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_interval_spec.rb +103 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_json_ops_spec.rb +356 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_json_spec.rb +451 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_loose_count_spec.rb +23 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_range_ops_spec.rb +60 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_range_spec.rb +600 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_row_ops_spec.rb +61 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_row_plugin_spec.rb +60 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_row_spec.rb +363 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_static_cache_updater_spec.rb +93 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pg_timestamptz_spec.rb +17 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/prepared_statements_safe_spec.rb +66 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/prepared_statements_spec.rb +177 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/pretty_table_spec.rb +123 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/query_spec.rb +94 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/rcte_tree_spec.rb +387 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/round_timestamps_spec.rb +39 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/s_spec.rb +60 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/schema_caching_spec.rb +64 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/schema_dumper_spec.rb +870 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/select_remove_spec.rb +38 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/sequel_4_dataset_methods_spec.rb +121 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/serialization_modification_detection_spec.rb +98 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/serialization_spec.rb +365 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/server_block_spec.rb +135 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/server_logging_spec.rb +45 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/sharding_spec.rb +197 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/shared_caching_spec.rb +151 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/single_table_inheritance_spec.rb +347 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/singular_table_names_spec.rb +22 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/skip_create_refresh_spec.rb +18 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/spec_helper.rb +70 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/split_array_nil_spec.rb +24 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/split_values_spec.rb +57 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/sql_comments_spec.rb +33 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/sql_expr_spec.rb +59 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/static_cache_cache_spec.rb +35 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/static_cache_spec.rb +471 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/string_agg_spec.rb +90 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/string_date_time_spec.rb +95 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/string_stripper_spec.rb +68 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/subclasses_spec.rb +79 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/subset_conditions_spec.rb +38 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/symbol_aref_refinement_spec.rb +28 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/symbol_as_refinement_spec.rb +21 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/synchronize_sql_spec.rb +124 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/table_select_spec.rb +83 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/tactical_eager_loading_spec.rb +402 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/thread_local_timezones_spec.rb +67 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/throw_failures_spec.rb +74 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/timestamps_spec.rb +209 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/to_dot_spec.rb +153 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/touch_spec.rb +226 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/tree_spec.rb +334 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/typecast_on_load_spec.rb +86 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/unlimited_update_spec.rb +21 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/update_or_create_spec.rb +83 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/update_primary_key_spec.rb +105 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/update_refresh_spec.rb +59 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/uuid_spec.rb +101 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/validate_associated_spec.rb +52 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/validation_class_methods_spec.rb +1040 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/validation_contexts_spec.rb +31 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/validation_helpers_spec.rb +525 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/whitelist_security_spec.rb +157 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/extensions/xml_serializer_spec.rb +213 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/bad_down_migration/001_create_alt_basic.rb +4 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/bad_down_migration/002_create_alt_advanced.rb +4 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/bad_timestamped_migrations/1273253849_create_sessions.rb +9 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/bad_timestamped_migrations/1273253851_create_nodes.rb +9 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/bad_timestamped_migrations/1273253853_3_create_users.rb +3 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/bad_up_migration/001_create_alt_basic.rb +4 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/bad_up_migration/002_create_alt_advanced.rb +3 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/convert_to_timestamp_migrations/001_create_sessions.rb +9 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/convert_to_timestamp_migrations/002_create_nodes.rb +9 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/convert_to_timestamp_migrations/003_3_create_users.rb +4 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/convert_to_timestamp_migrations/1273253850_create_artists.rb +9 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/convert_to_timestamp_migrations/1273253852_create_albums.rb +9 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/double_migration/001_create_sessions.rb +9 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/double_migration/002_create_nodes.rb +19 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/double_migration/003_3_create_users.rb +4 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/duplicate_integer_migrations/001_create_alt_advanced.rb +4 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/duplicate_integer_migrations/001_create_alt_basic.rb +4 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/duplicate_timestamped_migrations/1273253849_create_sessions.rb +9 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/duplicate_timestamped_migrations/1273253853_create_nodes.rb +9 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/duplicate_timestamped_migrations/1273253853_create_users.rb +4 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/empty_migration/001_create_sessions.rb +9 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/empty_migration/002_create_nodes.rb +0 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/empty_migration/003_3_create_users.rb +4 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/integer_migrations/001_create_sessions.rb +9 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/integer_migrations/002_create_nodes.rb +9 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/integer_migrations/003_3_create_users.rb +4 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/interleaved_timestamped_migrations/1273253849_create_sessions.rb +9 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/interleaved_timestamped_migrations/1273253850_create_artists.rb +9 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/interleaved_timestamped_migrations/1273253851_create_nodes.rb +9 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/interleaved_timestamped_migrations/1273253852_create_albums.rb +9 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/interleaved_timestamped_migrations/1273253853_3_create_users.rb +4 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/missing_integer_migrations/001_create_alt_basic.rb +4 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/missing_integer_migrations/003_create_alt_advanced.rb +4 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/missing_timestamped_migrations/1273253849_create_sessions.rb +9 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/missing_timestamped_migrations/1273253853_3_create_users.rb +4 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/reversible_migrations/001_reversible.rb +5 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/reversible_migrations/002_reversible.rb +5 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/reversible_migrations/003_reversible.rb +5 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/reversible_migrations/004_reversible.rb +5 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/reversible_migrations/005_reversible.rb +10 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/reversible_migrations/006_reversible.rb +10 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/reversible_migrations/007_reversible.rb +10 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/timestamped_migrations/1273253849_create_sessions.rb +9 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/timestamped_migrations/1273253851_create_nodes.rb +9 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/timestamped_migrations/1273253853_3_create_users.rb +4 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/transaction_specified_migrations/001_create_alt_basic.rb +4 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/transaction_specified_migrations/002_create_basic.rb +4 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/transaction_unspecified_migrations/001_create_alt_basic.rb +3 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/transaction_unspecified_migrations/002_create_basic.rb +3 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/uppercase_timestamped_migrations/1273253849_CREATE_SESSIONS.RB +9 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/uppercase_timestamped_migrations/1273253851_CREATE_NODES.RB +9 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/files/uppercase_timestamped_migrations/1273253853_3_CREATE_USERS.RB +4 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/guards_helper.rb +59 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/integration/associations_test.rb +2597 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/integration/database_test.rb +113 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/integration/dataset_test.rb +1997 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/integration/eager_loader_test.rb +687 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/integration/migrator_test.rb +262 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/integration/model_test.rb +203 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/integration/plugin_test.rb +2423 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/integration/prepared_statement_test.rb +405 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/integration/schema_test.rb +903 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/integration/spec_helper.rb +65 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/integration/timezone_test.rb +86 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/integration/transaction_test.rb +603 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/integration/type_test.rb +127 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/model/association_reflection_spec.rb +803 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/model/associations_spec.rb +4738 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/model/base_spec.rb +875 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/model/class_dataset_methods_spec.rb +146 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/model/dataset_methods_spec.rb +198 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/model/eager_loading_spec.rb +2377 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/model/hooks_spec.rb +370 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/model/inflector_spec.rb +26 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/model/model_spec.rb +956 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/model/plugins_spec.rb +429 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/model/record_spec.rb +2118 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/model/spec_helper.rb +46 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/model/validations_spec.rb +220 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/model_no_assoc_spec.rb +1 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/model_spec.rb +1 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/plugin_spec.rb +1 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/sequel_coverage.rb +15 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/sequel_warning.rb +4 -0
- data/vendor/bundle/gems/sequel-5.26.0/spec/spec_config.rb +12 -0
- data/vendor/bundle/gems/simplecov-0.16.1/CHANGELOG.md +481 -0
- data/vendor/bundle/gems/simplecov-0.16.1/CONTRIBUTING.md +51 -0
- data/vendor/bundle/gems/simplecov-0.16.1/ISSUE_TEMPLATE.md +23 -0
- data/vendor/bundle/gems/simplecov-0.16.1/LICENSE +20 -0
- data/vendor/bundle/gems/simplecov-0.16.1/README.md +710 -0
- data/vendor/bundle/gems/simplecov-0.16.1/doc/alternate-formatters.md +51 -0
- data/vendor/bundle/gems/simplecov-0.16.1/doc/commercial-services.md +20 -0
- data/vendor/bundle/gems/simplecov-0.16.1/doc/editor-integration.md +18 -0
- data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov.rb +281 -0
- data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/command_guesser.rb +61 -0
- data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/configuration.rb +305 -0
- data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/defaults.rb +50 -0
- data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/exit_codes.rb +10 -0
- data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/file_list.rb +61 -0
- data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/filter.rb +91 -0
- data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/formatter.rb +10 -0
- data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/formatter/multi_formatter.rb +34 -0
- data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/formatter/simple_formatter.rb +25 -0
- data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/jruby_fix.rb +44 -0
- data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/last_run.rb +26 -0
- data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/lines_classifier.rb +48 -0
- data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/load_global_config.rb +8 -0
- data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/no_defaults.rb +4 -0
- data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/profiles.rb +33 -0
- data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/profiles/bundler_filter.rb +5 -0
- data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/profiles/rails.rb +18 -0
- data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/profiles/root_filter.rb +10 -0
- data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/profiles/test_frameworks.rb +8 -0
- data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/railtie.rb +9 -0
- data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/railties/tasks.rake +13 -0
- data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/raw_coverage.rb +41 -0
- data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/result.rb +88 -0
- data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/result_merger.rb +123 -0
- data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/source_file.rb +203 -0
- data/vendor/bundle/gems/simplecov-0.16.1/lib/simplecov/version.rb +5 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/CHANGELOG.md +13 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/Gemfile +34 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/Guardfile +12 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/LICENSE +20 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/README.md +30 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/Rakefile +41 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/assets/javascripts/application.js +127 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/assets/javascripts/libraries/jquery-1.6.2.min.js +18 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/assets/javascripts/plugins/highlight.pack.js +1 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/assets/javascripts/plugins/jquery.colorbox.js +1090 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/assets/javascripts/plugins/jquery.dataTables.min.js +152 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/assets/javascripts/plugins/jquery.timeago.js +141 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/assets/javascripts/plugins/jquery.url.js +174 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/assets/stylesheets/application.css +3 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/assets/stylesheets/plugins/highlight.css +129 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/assets/stylesheets/plugins/jquery-ui-1.8.4.custom.css +295 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/assets/stylesheets/plugins/jquery.colorbox.css +52 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/assets/stylesheets/reset.css +103 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/assets/stylesheets/screen.css.sass +220 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/lib/simplecov-html.rb +110 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/lib/simplecov-html/version.rb +7 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/public/application.css +799 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/public/application.js +1707 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/public/colorbox/border.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/public/colorbox/controls.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/public/colorbox/loading.gif +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/public/colorbox/loading_background.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/public/favicon_green.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/public/favicon_red.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/public/favicon_yellow.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/public/loading.gif +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/public/magnify.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/simplecov-html.gemspec +22 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/test/helper.rb +4 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/test/test_simple_cov-html.rb +8 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/views/file_list.erb +45 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/views/layout.erb +41 -0
- data/vendor/bundle/gems/simplecov-html-0.10.2/views/source_file.erb +23 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/API_CHANGES.rdoc +50 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/CHANGELOG.rdoc +306 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/ChangeLog.cvs +88 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/Gemfile +17 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/LICENSE +27 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/Manifest.txt +60 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/README.rdoc +118 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/Rakefile +8 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/appveyor.yml +36 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/Makefile +266 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/aggregator.c +273 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/aggregator.h +12 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/aggregator.o +0 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/backup.c +168 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/backup.h +15 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/backup.o +0 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/database.c +823 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/database.h +17 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/database.o +0 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/exception.c +98 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/exception.h +8 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/exception.o +0 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/extconf.rb +96 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/sqlite3.c +161 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/sqlite3.o +0 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/sqlite3_native.so +0 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/sqlite3_ruby.h +45 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/statement.c +442 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/statement.h +16 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/ext/sqlite3/statement.o +0 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/faq/faq.rb +145 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/faq/faq.yml +426 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/lib/sqlite3.rb +15 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/lib/sqlite3/constants.rb +50 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/lib/sqlite3/database.rb +736 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/lib/sqlite3/errors.rb +35 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/lib/sqlite3/pragmas.rb +588 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/lib/sqlite3/resultset.rb +187 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/lib/sqlite3/sqlite3_native.so +0 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/lib/sqlite3/statement.rb +144 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/lib/sqlite3/translator.rb +118 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/lib/sqlite3/value.rb +57 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/lib/sqlite3/version.rb +25 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/rakelib/faq.rake +9 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/rakelib/gem.rake +40 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/rakelib/native.rake +56 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/rakelib/vendor_sqlite3.rake +97 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/setup.rb +1333 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/test/helper.rb +18 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/test/test_backup.rb +33 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/test/test_collation.rb +82 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/test/test_database.rb +503 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/test/test_database_flags.rb +95 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/test/test_database_readonly.rb +36 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/test/test_database_readwrite.rb +41 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/test/test_deprecated.rb +44 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/test/test_encoding.rb +155 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/test/test_integration.rb +507 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/test/test_integration_aggregate.rb +336 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/test/test_integration_open_close.rb +30 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/test/test_integration_pending.rb +115 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/test/test_integration_resultset.rb +159 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/test/test_integration_statement.rb +194 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/test/test_result_set.rb +37 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/test/test_sqlite3.rb +21 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/test/test_statement.rb +268 -0
- data/vendor/bundle/gems/sqlite3-1.4.1/test/test_statement_execute.rb +35 -0
- data/vendor/bundle/gems/term-ansicolor-1.7.1/CHANGES +69 -0
- data/vendor/bundle/gems/term-ansicolor-1.7.1/COPYING +202 -0
- data/vendor/bundle/gems/term-ansicolor-1.7.1/Gemfile +5 -0
- data/vendor/bundle/gems/term-ansicolor-1.7.1/README.md +42 -0
- data/vendor/bundle/gems/term-ansicolor-1.7.1/Rakefile +28 -0
- data/vendor/bundle/gems/term-ansicolor-1.7.1/VERSION +1 -0
- data/vendor/bundle/gems/term-ansicolor-1.7.1/bin/term_cdiff +19 -0
- data/vendor/bundle/gems/term-ansicolor-1.7.1/bin/term_colortab +49 -0
- data/vendor/bundle/gems/term-ansicolor-1.7.1/bin/term_decolor +12 -0
- data/vendor/bundle/gems/term-ansicolor-1.7.1/bin/term_display +91 -0
- data/vendor/bundle/gems/term-ansicolor-1.7.1/bin/term_mandel +52 -0
- data/vendor/bundle/gems/term-ansicolor-1.7.1/bin/term_snow +72 -0
- data/vendor/bundle/gems/term-ansicolor-1.7.1/examples/example.rb +90 -0
- data/vendor/bundle/gems/term-ansicolor-1.7.1/examples/lambda-red-plain.ppm +135 -0
- data/vendor/bundle/gems/term-ansicolor-1.7.1/examples/lambda-red.png +0 -0
- data/vendor/bundle/gems/term-ansicolor-1.7.1/examples/lambda-red.ppm +4 -0
- data/vendor/bundle/gems/term-ansicolor-1.7.1/lib/term/ansicolor.rb +127 -0
- data/vendor/bundle/gems/term-ansicolor-1.7.1/lib/term/ansicolor/attribute.rb +142 -0
- data/vendor/bundle/gems/term-ansicolor-1.7.1/lib/term/ansicolor/attribute/color256.rb +69 -0
- data/vendor/bundle/gems/term-ansicolor-1.7.1/lib/term/ansicolor/attribute/color8.rb +25 -0
- data/vendor/bundle/gems/term-ansicolor-1.7.1/lib/term/ansicolor/attribute/intense_color8.rb +43 -0
- data/vendor/bundle/gems/term-ansicolor-1.7.1/lib/term/ansicolor/attribute/text.rb +23 -0
- data/vendor/bundle/gems/term-ansicolor-1.7.1/lib/term/ansicolor/hsl_triple.rb +169 -0
- data/vendor/bundle/gems/term-ansicolor-1.7.1/lib/term/ansicolor/movement.rb +108 -0
- data/vendor/bundle/gems/term-ansicolor-1.7.1/lib/term/ansicolor/ppm_reader.rb +96 -0
- data/vendor/bundle/gems/term-ansicolor-1.7.1/lib/term/ansicolor/rgb_color_metrics.rb +161 -0
- data/vendor/bundle/gems/term-ansicolor-1.7.1/lib/term/ansicolor/rgb_triple.rb +179 -0
- data/vendor/bundle/gems/term-ansicolor-1.7.1/lib/term/ansicolor/version.rb +8 -0
- data/vendor/bundle/gems/term-ansicolor-1.7.1/term-ansicolor.gemspec +45 -0
- data/vendor/bundle/gems/term-ansicolor-1.7.1/tests/ansicolor_test.rb +160 -0
- data/vendor/bundle/gems/term-ansicolor-1.7.1/tests/attribute_test.rb +73 -0
- data/vendor/bundle/gems/term-ansicolor-1.7.1/tests/hsl_triple_test.rb +85 -0
- data/vendor/bundle/gems/term-ansicolor-1.7.1/tests/ppm_reader_test.rb +46 -0
- data/vendor/bundle/gems/term-ansicolor-1.7.1/tests/rgb_color_metrics_test.rb +100 -0
- data/vendor/bundle/gems/term-ansicolor-1.7.1/tests/rgb_triple_test.rb +101 -0
- data/vendor/bundle/gems/term-ansicolor-1.7.1/tests/test_helper.rb +8 -0
- data/vendor/bundle/gems/test-unit-3.3.4/COPYING +67 -0
- data/vendor/bundle/gems/test-unit-3.3.4/GPL +339 -0
- data/vendor/bundle/gems/test-unit-3.3.4/LGPL +502 -0
- data/vendor/bundle/gems/test-unit-3.3.4/PSFL +271 -0
- data/vendor/bundle/gems/test-unit-3.3.4/README.md +101 -0
- data/vendor/bundle/gems/test-unit-3.3.4/Rakefile +80 -0
- data/vendor/bundle/gems/test-unit-3.3.4/doc/text/getting-started.md +246 -0
- data/vendor/bundle/gems/test-unit-3.3.4/doc/text/how-to.md +90 -0
- data/vendor/bundle/gems/test-unit-3.3.4/doc/text/news.md +1453 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test-unit.rb +34 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit.rb +514 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/assertion-failed-error.rb +25 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/assertions.rb +2256 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/attribute-matcher.rb +26 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/attribute.rb +227 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/auto-runner-loader.rb +17 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/autorunner.rb +537 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/code-snippet-fetcher.rb +56 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/collector.rb +73 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/collector/descendant.rb +19 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/collector/dir.rb +108 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/collector/load.rb +197 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/collector/objectspace.rb +34 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/collector/xml.rb +249 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/color-scheme.rb +198 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/color.rb +134 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/data-sets.rb +116 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/data.rb +371 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/diff.rb +746 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/error.rb +158 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/exception-handler.rb +82 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/failure.rb +169 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/fault-location-detector.rb +100 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/fixture.rb +298 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/notification.rb +138 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/omission.rb +198 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/pending.rb +155 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/priority.rb +196 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/runner/console.rb +84 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/runner/emacs.rb +8 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/runner/xml.rb +15 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/test-suite-creator.rb +103 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/testcase.rb +899 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/testresult.rb +132 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/testsuite.rb +175 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/ui/console/outputlevel.rb +15 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/ui/console/testrunner.rb +750 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/ui/emacs/testrunner.rb +49 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/ui/testrunner.rb +53 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/ui/testrunnermediator.rb +114 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/ui/testrunnerutilities.rb +41 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/ui/xml/testrunner.rb +224 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/util/backtracefilter.rb +59 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/util/method-owner-finder.rb +28 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/util/observable.rb +90 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/util/output.rb +32 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/util/procwrapper.rb +48 -0
- data/vendor/bundle/gems/test-unit-3.3.4/lib/test/unit/version.rb +5 -0
- data/vendor/bundle/gems/test-unit-3.3.4/sample/adder.rb +13 -0
- data/vendor/bundle/gems/test-unit-3.3.4/sample/subtracter.rb +12 -0
- data/vendor/bundle/gems/test-unit-3.3.4/sample/test_adder.rb +20 -0
- data/vendor/bundle/gems/test-unit-3.3.4/sample/test_subtracter.rb +20 -0
- data/vendor/bundle/gems/test-unit-3.3.4/sample/test_user.rb +23 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/collector/test-descendant.rb +182 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/collector/test-load.rb +475 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/collector/test_dir.rb +407 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/collector/test_objectspace.rb +102 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/fixtures/header-label.csv +3 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/fixtures/header-label.tsv +3 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/fixtures/header.csv +3 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/fixtures/header.tsv +3 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/fixtures/no-header.csv +2 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/fixtures/no-header.tsv +2 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/fixtures/plus.csv +3 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/run-test.rb +22 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/test-assertions.rb +2187 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/test-attribute-matcher.rb +38 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/test-attribute.rb +123 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/test-code-snippet.rb +79 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/test-color-scheme.rb +82 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/test-color.rb +47 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/test-data.rb +419 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/test-diff.rb +518 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/test-emacs-runner.rb +60 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/test-error.rb +26 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/test-failure.rb +33 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/test-fault-location-detector.rb +163 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/test-fixture.rb +713 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/test-notification.rb +33 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/test-omission.rb +81 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/test-pending.rb +70 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/test-priority.rb +184 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/test-test-case.rb +1279 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/test-test-result.rb +113 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/test-test-suite-creator.rb +97 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/test-test-suite.rb +151 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/testunit-test-util.rb +33 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/ui/test_testrunmediator.rb +20 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/util/test-method-owner-finder.rb +38 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/util/test-output.rb +11 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/util/test_backtracefilter.rb +52 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/util/test_observable.rb +102 -0
- data/vendor/bundle/gems/test-unit-3.3.4/test/util/test_procwrapper.rb +36 -0
- data/vendor/bundle/gems/thor-0.20.3/CHANGELOG.md +204 -0
- data/vendor/bundle/gems/thor-0.20.3/CONTRIBUTING.md +15 -0
- data/vendor/bundle/gems/thor-0.20.3/LICENSE.md +20 -0
- data/vendor/bundle/gems/thor-0.20.3/README.md +51 -0
- data/vendor/bundle/gems/thor-0.20.3/bin/thor +6 -0
- data/vendor/bundle/gems/thor-0.20.3/lib/thor.rb +509 -0
- data/vendor/bundle/gems/thor-0.20.3/lib/thor/actions.rb +331 -0
- data/vendor/bundle/gems/thor-0.20.3/lib/thor/actions/create_file.rb +104 -0
- data/vendor/bundle/gems/thor-0.20.3/lib/thor/actions/create_link.rb +60 -0
- data/vendor/bundle/gems/thor-0.20.3/lib/thor/actions/directory.rb +118 -0
- data/vendor/bundle/gems/thor-0.20.3/lib/thor/actions/empty_directory.rb +143 -0
- data/vendor/bundle/gems/thor-0.20.3/lib/thor/actions/file_manipulation.rb +373 -0
- data/vendor/bundle/gems/thor-0.20.3/lib/thor/actions/inject_into_file.rb +109 -0
- data/vendor/bundle/gems/thor-0.20.3/lib/thor/base.rb +678 -0
- data/vendor/bundle/gems/thor-0.20.3/lib/thor/command.rb +135 -0
- data/vendor/bundle/gems/thor-0.20.3/lib/thor/core_ext/hash_with_indifferent_access.rb +97 -0
- data/vendor/bundle/gems/thor-0.20.3/lib/thor/core_ext/io_binary_read.rb +12 -0
- data/vendor/bundle/gems/thor-0.20.3/lib/thor/core_ext/ordered_hash.rb +129 -0
- data/vendor/bundle/gems/thor-0.20.3/lib/thor/error.rb +114 -0
- data/vendor/bundle/gems/thor-0.20.3/lib/thor/group.rb +281 -0
- data/vendor/bundle/gems/thor-0.20.3/lib/thor/invocation.rb +177 -0
- data/vendor/bundle/gems/thor-0.20.3/lib/thor/line_editor.rb +17 -0
- data/vendor/bundle/gems/thor-0.20.3/lib/thor/line_editor/basic.rb +37 -0
- data/vendor/bundle/gems/thor-0.20.3/lib/thor/line_editor/readline.rb +88 -0
- data/vendor/bundle/gems/thor-0.20.3/lib/thor/parser.rb +4 -0
- data/vendor/bundle/gems/thor-0.20.3/lib/thor/parser/argument.rb +70 -0
- data/vendor/bundle/gems/thor-0.20.3/lib/thor/parser/arguments.rb +175 -0
- data/vendor/bundle/gems/thor-0.20.3/lib/thor/parser/option.rb +146 -0
- data/vendor/bundle/gems/thor-0.20.3/lib/thor/parser/options.rb +226 -0
- data/vendor/bundle/gems/thor-0.20.3/lib/thor/rake_compat.rb +71 -0
- data/vendor/bundle/gems/thor-0.20.3/lib/thor/runner.rb +324 -0
- data/vendor/bundle/gems/thor-0.20.3/lib/thor/shell.rb +81 -0
- data/vendor/bundle/gems/thor-0.20.3/lib/thor/shell/basic.rb +482 -0
- data/vendor/bundle/gems/thor-0.20.3/lib/thor/shell/color.rb +149 -0
- data/vendor/bundle/gems/thor-0.20.3/lib/thor/shell/html.rb +126 -0
- data/vendor/bundle/gems/thor-0.20.3/lib/thor/util.rb +268 -0
- data/vendor/bundle/gems/thor-0.20.3/lib/thor/version.rb +3 -0
- data/vendor/bundle/gems/thor-0.20.3/thor.gemspec +21 -0
- data/vendor/bundle/gems/tins-1.22.2/COPYING +18 -0
- data/vendor/bundle/gems/tins-1.22.2/Gemfile +10 -0
- data/vendor/bundle/gems/tins-1.22.2/README.md +107 -0
- data/vendor/bundle/gems/tins-1.22.2/Rakefile +23 -0
- data/vendor/bundle/gems/tins-1.22.2/TODO +3 -0
- data/vendor/bundle/gems/tins-1.22.2/VERSION +1 -0
- data/vendor/bundle/gems/tins-1.22.2/examples/add_one.png +0 -0
- data/vendor/bundle/gems/tins-1.22.2/examples/add_one.stm +13 -0
- data/vendor/bundle/gems/tins-1.22.2/examples/bb3.png +0 -0
- data/vendor/bundle/gems/tins-1.22.2/examples/bb3.stm +26 -0
- data/vendor/bundle/gems/tins-1.22.2/examples/concatenate_compare.mtm +31 -0
- data/vendor/bundle/gems/tins-1.22.2/examples/concatenate_compare.png +0 -0
- data/vendor/bundle/gems/tins-1.22.2/examples/length_difference.mtm +17 -0
- data/vendor/bundle/gems/tins-1.22.2/examples/length_difference.png +0 -0
- data/vendor/bundle/gems/tins-1.22.2/examples/let.rb +62 -0
- data/vendor/bundle/gems/tins-1.22.2/examples/mail.rb +73 -0
- data/vendor/bundle/gems/tins-1.22.2/examples/minsky.rb +145 -0
- data/vendor/bundle/gems/tins-1.22.2/examples/multiply.reg +42 -0
- data/vendor/bundle/gems/tins-1.22.2/examples/null_pattern.rb +52 -0
- data/vendor/bundle/gems/tins-1.22.2/examples/ones_difference-mtm.png +0 -0
- data/vendor/bundle/gems/tins-1.22.2/examples/ones_difference-stm.png +0 -0
- data/vendor/bundle/gems/tins-1.22.2/examples/ones_difference.mtm +12 -0
- data/vendor/bundle/gems/tins-1.22.2/examples/ones_difference.stm +25 -0
- data/vendor/bundle/gems/tins-1.22.2/examples/prefix-equals-suffix-reversed-with-infix.png +0 -0
- data/vendor/bundle/gems/tins-1.22.2/examples/prefix-equals-suffix-reversed-with-infix.stm +38 -0
- data/vendor/bundle/gems/tins-1.22.2/examples/recipe.rb +81 -0
- data/vendor/bundle/gems/tins-1.22.2/examples/recipe2.rb +82 -0
- data/vendor/bundle/gems/tins-1.22.2/examples/recipe_common.rb +65 -0
- data/vendor/bundle/gems/tins-1.22.2/examples/subtract.reg +9 -0
- data/vendor/bundle/gems/tins-1.22.2/examples/turing-graph.rb +17 -0
- data/vendor/bundle/gems/tins-1.22.2/examples/turing.rb +310 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/dslkit.rb +2 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/dslkit/polite.rb +1 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/dslkit/rude.rb +1 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/spruz.rb +2 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins.rb +61 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/alias.rb +1 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/annotate.rb +38 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/ask_and_send.rb +31 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/attempt.rb +99 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/bijection.rb +46 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/case_predicate.rb +7 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/complete.rb +18 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/concern.rb +30 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/count_by.rb +8 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/date_dummy.rb +53 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/date_time_dummy.rb +51 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/deep_const_get.rb +42 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/deep_dup.rb +11 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/dslkit.rb +636 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/duration.rb +95 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/expose.rb +27 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/extract_last_argument_options.rb +14 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/file_binary.rb +83 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/find.rb +149 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/generator.rb +68 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/go.rb +96 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/hash_symbolize_keys_recursive.rb +48 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/hash_union.rb +15 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/if_predicate.rb +7 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/implement.rb +40 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/limited.rb +38 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/lines_file.rb +123 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/memoize.rb +91 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/method_description.rb +143 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/minimize.rb +55 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/module_group.rb +13 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/named_set.rb +12 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/null.rb +101 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/once.rb +25 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/p.rb +23 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/partial_application.rb +31 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/proc_compose.rb +15 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/proc_prelude.rb +73 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/range_plus.rb +9 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/require_maybe.rb +9 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/responding.rb +19 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/secure_write.rb +27 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/sexy_singleton.rb +39 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/string_byte_order_mark.rb +20 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/string_camelize.rb +16 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/string_underscore.rb +15 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/string_version.rb +104 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/subhash.rb +42 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/temp_io.rb +26 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/temp_io_enum.rb +26 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/terminal.rb +42 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/thread_local.rb +57 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/time_dummy.rb +57 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/to.rb +8 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/to_proc.rb +12 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/token.rb +36 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/uniq_by.rb +10 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/unit.rb +179 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/version.rb +8 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/write.rb +19 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt.rb +45 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/annotate.rb +5 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/ask_and_send.rb +7 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/attempt.rb +7 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/blank.rb +67 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/case_predicate.rb +8 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/complete.rb +7 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/concern.rb +20 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/count_by.rb +11 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/date_dummy.rb +7 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/date_time_dummy.rb +7 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/deep_const_get.rb +7 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/deep_dup.rb +7 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/dslkit.rb +22 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/expose.rb +5 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/extract_last_argument_options.rb +7 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/file_binary.rb +7 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/full.rb +39 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/hash_symbolize_keys_recursive.rb +7 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/hash_union.rb +11 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/if_predicate.rb +7 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/implement.rb +5 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/irb.rb +23 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/method_description.rb +23 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/named.rb +23 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/null.rb +9 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/p.rb +7 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/partial_application.rb +11 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/proc_compose.rb +7 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/proc_prelude.rb +7 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/range_plus.rb +12 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/require_maybe.rb +7 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/responding.rb +7 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/secure_write.rb +11 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/sexy_singleton.rb +3 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/string.rb +6 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/string_byte_order_mark.rb +7 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/string_camelize.rb +6 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/string_underscore.rb +6 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/string_version.rb +7 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/subhash.rb +11 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/temp_io.rb +5 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/time_dummy.rb +7 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/time_freezer.rb +15 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/to.rb +5 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/uniq_by.rb +15 -0
- data/vendor/bundle/gems/tins-1.22.2/lib/tins/xt/write.rb +11 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/annotate_test.rb +68 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/ask_and_send_test.rb +46 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/attempt_test.rb +109 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/bijection_test.rb +19 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/blank_full_test.rb +77 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/case_predicate_test.rb +29 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/concern_test.rb +35 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/count_by_test.rb +17 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/date_dummy_test.rb +31 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/date_time_dummy_test.rb +31 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/deep_const_get_test.rb +37 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/deep_dup_test.rb +20 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/delegate_test.rb +49 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/dslkit_test.rb +314 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/duration_test.rb +81 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/dynamic_scope_test.rb +31 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/expose_test.rb +43 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/extract_last_argument_options_test.rb +30 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/file_binary_test.rb +65 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/find_test.rb +135 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/from_module_test.rb +61 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/generator_test.rb +47 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/go_test.rb +80 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/hash_symbolize_keys_recursive_test.rb +64 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/hash_union_test.rb +42 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/if_predicate_test.rb +12 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/implement_test.rb +75 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/limited_test.rb +21 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/lines_file_test.rb +82 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/memoize_test.rb +115 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/method_description_test.rb +104 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/minimize_test.rb +54 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/module_group_test.rb +29 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/named_set_test.rb +18 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/named_test.rb +30 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/null_test.rb +64 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/p_test.rb +14 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/partial_application_test.rb +30 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/proc_compose_test.rb +21 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/proc_prelude_test.rb +81 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/range_plus_test.rb +14 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/require_maybe_test.rb +24 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/responding_test.rb +24 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/rotate_test.rb +65 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/scope_test.rb +31 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/secure_write_test.rb +42 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/sexy_singleton_test.rb +16 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/string_byte_order_mark_test.rb +40 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/string_camelize_test.rb +21 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/string_underscore_test.rb +11 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/string_version_test.rb +60 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/subhash_test.rb +37 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/temp_io_test.rb +51 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/test_helper.rb +11 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/time_dummy_test.rb +31 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/time_freezer_test.rb +45 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/to_test.rb +32 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/token_test.rb +38 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/uniq_by_test.rb +31 -0
- data/vendor/bundle/gems/tins-1.22.2/tests/unit_test.rb +63 -0
- data/vendor/bundle/gems/tins-1.22.2/tins.gemspec +41 -0
- data/vendor/bundle/gems/xpath-3.2.0/README.md +78 -0
- data/vendor/bundle/gems/xpath-3.2.0/lib/xpath.rb +18 -0
- data/vendor/bundle/gems/xpath-3.2.0/lib/xpath/dsl.rb +174 -0
- data/vendor/bundle/gems/xpath-3.2.0/lib/xpath/expression.rb +22 -0
- data/vendor/bundle/gems/xpath-3.2.0/lib/xpath/literal.rb +10 -0
- data/vendor/bundle/gems/xpath-3.2.0/lib/xpath/renderer.rb +126 -0
- data/vendor/bundle/gems/xpath-3.2.0/lib/xpath/union.rb +31 -0
- data/vendor/bundle/gems/xpath-3.2.0/lib/xpath/version.rb +5 -0
- data/vendor/bundle/gems/xpath-3.2.0/spec/fixtures/form.html +201 -0
- data/vendor/bundle/gems/xpath-3.2.0/spec/fixtures/simple.html +53 -0
- data/vendor/bundle/gems/xpath-3.2.0/spec/fixtures/stuff.html +54 -0
- data/vendor/bundle/gems/xpath-3.2.0/spec/spec_helper.rb +8 -0
- data/vendor/bundle/gems/xpath-3.2.0/spec/union_spec.rb +63 -0
- data/vendor/bundle/gems/xpath-3.2.0/spec/xpath_spec.rb +562 -0
- data/vendor/bundle/specifications/addressable-2.7.0.gemspec +39 -0
- data/vendor/bundle/specifications/capybara-3.29.0.gemspec +116 -0
- data/vendor/bundle/specifications/childprocess-3.0.0.gemspec +39 -0
- data/vendor/bundle/specifications/coveralls-0.8.23.gemspec +50 -0
- data/vendor/bundle/specifications/diff-lcs-1.3.gemspec +61 -0
- data/vendor/bundle/specifications/docile-1.3.2.gemspec +48 -0
- data/vendor/bundle/specifications/emot-0.0.4.gemspec +44 -0
- data/vendor/bundle/specifications/faraday-0.17.1.gemspec +33 -0
- data/vendor/bundle/specifications/fastimage-2.1.7.gemspec +45 -0
- data/vendor/bundle/specifications/hikidoc-0.1.0.gemspec +37 -0
- data/vendor/bundle/specifications/jasmine-2.99.0.gemspec +59 -0
- data/vendor/bundle/specifications/jasmine-core-2.99.2.gemspec +41 -0
- data/vendor/bundle/specifications/json-2.2.0.gemspec +0 -0
- data/vendor/bundle/specifications/launchy-2.4.3.gemspec +45 -0
- data/vendor/bundle/specifications/mail-2.7.1.gemspec +50 -0
- data/vendor/bundle/specifications/mime-types-3.3.gemspec +84 -0
- data/vendor/bundle/specifications/mime-types-data-3.2019.1009.gemspec +60 -0
- data/vendor/bundle/specifications/mini_mime-1.0.2.gemspec +39 -0
- data/vendor/bundle/specifications/mini_portile2-2.4.0.gemspec +48 -0
- data/vendor/bundle/specifications/multipart-post-2.1.1.gemspec +38 -0
- data/vendor/bundle/specifications/nokogiri-1.10.5.gemspec +83 -0
- data/vendor/bundle/specifications/octokit-4.14.0.gemspec +36 -0
- data/vendor/bundle/specifications/phantomjs-2.1.1.0.gemspec +44 -0
- data/vendor/bundle/specifications/pit-0.0.7.gemspec +21 -0
- data/vendor/bundle/specifications/power_assert-1.1.5.gemspec +54 -0
- data/vendor/bundle/specifications/public_suffix-4.0.1.gemspec +41 -0
- data/vendor/bundle/specifications/rack-2.0.7.gemspec +42 -0
- data/vendor/bundle/specifications/rack-test-1.1.0.gemspec +54 -0
- data/vendor/bundle/specifications/racksh-1.0.0.gemspec +35 -0
- data/vendor/bundle/specifications/rake-13.0.1.gemspec +26 -0
- data/vendor/bundle/specifications/redcarpet-3.5.0.gemspec +44 -0
- data/vendor/bundle/specifications/regexp_parser-1.6.0.gemspec +23 -0
- data/vendor/bundle/specifications/rspec-3.9.0.gemspec +43 -0
- data/vendor/bundle/specifications/rspec-core-3.9.0.gemspec +63 -0
- data/vendor/bundle/specifications/rspec-expectations-3.9.0.gemspec +51 -0
- data/vendor/bundle/specifications/rspec-mocks-3.9.0.gemspec +51 -0
- data/vendor/bundle/specifications/rspec-support-3.9.0.gemspec +39 -0
- data/vendor/bundle/specifications/rubyzip-2.0.0.gemspec +45 -0
- data/vendor/bundle/specifications/sawyer-0.8.2.gemspec +34 -0
- data/vendor/bundle/specifications/selenium-webdriver-3.142.6.gemspec +64 -0
- data/vendor/bundle/specifications/sequel-5.26.0.gemspec +56 -0
- data/vendor/bundle/specifications/simplecov-0.16.1.gemspec +42 -0
- data/vendor/bundle/specifications/simplecov-html-0.10.2.gemspec +33 -0
- data/vendor/bundle/specifications/sqlite3-1.4.1.gemspec +60 -0
- data/vendor/bundle/specifications/term-ansicolor-1.7.1.gemspec +46 -0
- data/vendor/bundle/specifications/test-unit-3.3.4.gemspec +48 -0
- data/vendor/bundle/specifications/thor-0.20.3.gemspec +35 -0
- data/vendor/bundle/specifications/tins-1.22.2.gemspec +42 -0
- data/vendor/bundle/specifications/xpath-3.2.0.gemspec +46 -0
- metadata +3650 -2
@@ -0,0 +1,2915 @@
|
|
1
|
+
require_relative "spec_helper"
|
2
|
+
|
3
|
+
describe "A new Database" do
|
4
|
+
before do
|
5
|
+
@db = Sequel::Database.new(1 => 2, :logger => 3)
|
6
|
+
end
|
7
|
+
|
8
|
+
it "should not allow dup/clone" do
|
9
|
+
proc{@db.dup}.must_raise NoMethodError
|
10
|
+
proc{@db.clone}.must_raise NoMethodError
|
11
|
+
end
|
12
|
+
|
13
|
+
it "should receive options" do
|
14
|
+
@db.opts[1].must_equal 2
|
15
|
+
@db.opts[:logger].must_equal 3
|
16
|
+
end
|
17
|
+
|
18
|
+
it "should set the logger from opts[:logger] and opts[:loggers]" do
|
19
|
+
@db.loggers.must_equal [3]
|
20
|
+
Sequel::Database.new(1 => 2, :loggers => 3).loggers.must_equal [3]
|
21
|
+
Sequel::Database.new(1 => 2, :loggers => [3]).loggers.must_equal [3]
|
22
|
+
Sequel::Database.new(1 => 2, :logger => 4, :loggers => 3).loggers.must_equal [4,3]
|
23
|
+
Sequel::Database.new(1 => 2, :logger => [4], :loggers => [3]).loggers.must_equal [4,3]
|
24
|
+
end
|
25
|
+
|
26
|
+
it "should support :preconnect option to preconnect to database" do
|
27
|
+
@db.pool.size.must_equal 0
|
28
|
+
c = Class.new(Sequel::Database) do
|
29
|
+
def dataset_class_default; Sequel::Dataset end
|
30
|
+
def connect(_)
|
31
|
+
:connect
|
32
|
+
end
|
33
|
+
end
|
34
|
+
db = c.new(1 => 2, :logger => 3, :preconnect=>true)
|
35
|
+
db.pool.size.must_equal db.pool.max_size
|
36
|
+
db = c.new(1 => 2, :logger => 3, :preconnect=>:concurrently)
|
37
|
+
db.pool.size.must_equal db.pool.max_size
|
38
|
+
end
|
39
|
+
|
40
|
+
it "should handle the default string column size" do
|
41
|
+
@db.default_string_column_size.must_equal 255
|
42
|
+
db = Sequel::Database.new(:default_string_column_size=>50)
|
43
|
+
db.default_string_column_size.must_equal 50
|
44
|
+
db.default_string_column_size = 2
|
45
|
+
db.default_string_column_size.must_equal 2
|
46
|
+
end
|
47
|
+
|
48
|
+
it "should set the sql_log_level from opts[:sql_log_level]" do
|
49
|
+
Sequel::Database.new(1 => 2, :sql_log_level=>:debug).sql_log_level.must_equal :debug
|
50
|
+
Sequel::Database.new(1 => 2, :sql_log_level=>'debug').sql_log_level.must_equal :debug
|
51
|
+
end
|
52
|
+
|
53
|
+
it "should create a connection pool" do
|
54
|
+
@db.pool.must_be_kind_of(Sequel::ConnectionPool)
|
55
|
+
@db.pool.max_size.must_equal 4
|
56
|
+
|
57
|
+
Sequel::Database.new(:max_connections => 10).pool.max_size.must_equal 10
|
58
|
+
end
|
59
|
+
|
60
|
+
it "should have the connection pool use the connect method to get connections" do
|
61
|
+
cc = nil
|
62
|
+
d = Sequel::Database.new
|
63
|
+
d.define_singleton_method(:connect){|c| 1234}
|
64
|
+
d.synchronize {|c| cc = c}
|
65
|
+
cc.must_equal 1234
|
66
|
+
end
|
67
|
+
|
68
|
+
it "should respect the :single_threaded option" do
|
69
|
+
db = Sequel::Database.new(:single_threaded=>true){123}
|
70
|
+
db.pool.must_be_kind_of(Sequel::SingleConnectionPool)
|
71
|
+
db = Sequel::Database.new(:single_threaded=>'t'){123}
|
72
|
+
db.pool.must_be_kind_of(Sequel::SingleConnectionPool)
|
73
|
+
db = Sequel::Database.new(:single_threaded=>'1'){123}
|
74
|
+
db.pool.must_be_kind_of(Sequel::SingleConnectionPool)
|
75
|
+
db = Sequel::Database.new(:single_threaded=>false){123}
|
76
|
+
db.pool.must_be_kind_of(Sequel::ConnectionPool)
|
77
|
+
db = Sequel::Database.new(:single_threaded=>'f'){123}
|
78
|
+
db.pool.must_be_kind_of(Sequel::ConnectionPool)
|
79
|
+
db = Sequel::Database.new(:single_threaded=>'0'){123}
|
80
|
+
db.pool.must_be_kind_of(Sequel::ConnectionPool)
|
81
|
+
end
|
82
|
+
|
83
|
+
it "should just use a :uri option for jdbc with the full connection string" do
|
84
|
+
db = Sequel::Database.stub(:adapter_class, Class.new(Sequel::Database){def connect(*); Object.new end}) do
|
85
|
+
Sequel.connect('jdbc:test://host/db_name')
|
86
|
+
end
|
87
|
+
db.must_be_kind_of(Sequel::Database)
|
88
|
+
db.opts[:uri].must_equal 'jdbc:test://host/db_name'
|
89
|
+
end
|
90
|
+
|
91
|
+
it "should populate :adapter option when using connection string" do
|
92
|
+
Sequel.connect('mock:/').opts[:adapter].must_equal "mock"
|
93
|
+
end
|
94
|
+
|
95
|
+
it "should respect the :keep_reference option for not keeping a reference in Sequel::DATABASES" do
|
96
|
+
db = Sequel.connect('mock:///?keep_reference=f')
|
97
|
+
Sequel::DATABASES.wont_include(db)
|
98
|
+
end
|
99
|
+
|
100
|
+
it 'should strip square brackets for ipv6 hosts' do
|
101
|
+
Sequel.connect('mock://[::1]').opts[:host].must_equal "::1"
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
105
|
+
describe "Database :connect_sqls option" do
|
106
|
+
it "should issue the each sql query for each new connection" do
|
107
|
+
db = Sequel.mock(:connect_sqls=>['SELECT 1', 'SELECT 2'])
|
108
|
+
db.sqls.must_equal ['SELECT 1', 'SELECT 2']
|
109
|
+
db['SELECT 3'].get
|
110
|
+
db.sqls.must_equal ['SELECT 3']
|
111
|
+
db.disconnect
|
112
|
+
db['SELECT 3'].get
|
113
|
+
db.sqls.must_equal ['SELECT 1', 'SELECT 2', 'SELECT 3']
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
117
|
+
describe "Database#freeze" do
|
118
|
+
before do
|
119
|
+
@db = Sequel.mock.freeze
|
120
|
+
end
|
121
|
+
|
122
|
+
it "should freeze internal structures" do
|
123
|
+
@db.instance_exec do
|
124
|
+
frozen?.must_equal true
|
125
|
+
opts.frozen?.must_equal true
|
126
|
+
pool.frozen?.must_equal true
|
127
|
+
loggers.frozen?.must_equal true
|
128
|
+
@dataset_class.frozen?.must_equal true
|
129
|
+
@dataset_modules.frozen?.must_equal true
|
130
|
+
@schema_type_classes.frozen?.must_equal true
|
131
|
+
from(:a).frozen?.must_equal true
|
132
|
+
metadata_dataset.frozen?.must_equal true
|
133
|
+
end
|
134
|
+
|
135
|
+
proc{@db.extend_datasets{}}.must_raise RuntimeError, TypeError
|
136
|
+
end
|
137
|
+
end
|
138
|
+
|
139
|
+
describe "Database#disconnect" do
|
140
|
+
it "should call pool.disconnect" do
|
141
|
+
d = Sequel::Database.new
|
142
|
+
p = d.pool
|
143
|
+
def p.disconnect(h)
|
144
|
+
raise unless h == {}
|
145
|
+
2
|
146
|
+
end
|
147
|
+
d.disconnect.must_equal 2
|
148
|
+
end
|
149
|
+
end
|
150
|
+
|
151
|
+
describe "Sequel.extension" do
|
152
|
+
it "should attempt to load the given extension" do
|
153
|
+
proc{Sequel.extension :blah}.must_raise(LoadError)
|
154
|
+
end
|
155
|
+
end
|
156
|
+
|
157
|
+
describe "Database#log_info" do
|
158
|
+
before do
|
159
|
+
@o = Object.new
|
160
|
+
def @o.logs; @logs || []; end
|
161
|
+
def @o.to_ary; [self]; end
|
162
|
+
def @o.method_missing(*args); (@logs ||= []) << args; end
|
163
|
+
@db = Sequel::Database.new(:logger=>@o)
|
164
|
+
end
|
165
|
+
|
166
|
+
it "should log message at info level to all loggers" do
|
167
|
+
@db.log_info('blah')
|
168
|
+
@o.logs.must_equal [[:info, 'blah']]
|
169
|
+
end
|
170
|
+
|
171
|
+
it "should log message with args at info level to all loggers" do
|
172
|
+
@db.log_info('blah', [1, 2])
|
173
|
+
@o.logs.must_equal [[:info, 'blah; [1, 2]']]
|
174
|
+
end
|
175
|
+
end
|
176
|
+
|
177
|
+
describe "Database#log_connection_yield" do
|
178
|
+
before do
|
179
|
+
@o = Object.new
|
180
|
+
def @o.logs; @logs || []; end
|
181
|
+
def @o.to_ary; [self]; end
|
182
|
+
def @o.warn(*args); (@logs ||= []) << [:warn] + args; end
|
183
|
+
def @o.method_missing(*args); (@logs ||= []) << args; end
|
184
|
+
@conn = Object.new
|
185
|
+
@db = Sequel::Database.new(:logger=>@o)
|
186
|
+
end
|
187
|
+
|
188
|
+
it "should log SQL to the loggers" do
|
189
|
+
@db.log_connection_yield("some SQL", @conn){}
|
190
|
+
@o.logs.length.must_equal 1
|
191
|
+
@o.logs.first.length.must_equal 2
|
192
|
+
@o.logs.first.first.must_equal :info
|
193
|
+
@o.logs.first.last.must_match(/some SQL\z/)
|
194
|
+
@o.logs.first.last.wont_match(/\(conn: -?\d+\) some SQL\z/)
|
195
|
+
end
|
196
|
+
|
197
|
+
it "should include connection information when logging" do
|
198
|
+
@db.log_connection_info = true
|
199
|
+
@db.log_connection_yield("some SQL", @conn){}
|
200
|
+
@o.logs.length.must_equal 1
|
201
|
+
@o.logs.first.length.must_equal 2
|
202
|
+
@o.logs.first.first.must_equal :info
|
203
|
+
@o.logs.first.last.must_match(/\(conn: -?\d+\) some SQL\z/)
|
204
|
+
end
|
205
|
+
|
206
|
+
it "should yield to the passed block" do
|
207
|
+
a = nil
|
208
|
+
@db.log_connection_yield('blah', @conn){a = 1}
|
209
|
+
a.must_equal 1
|
210
|
+
end
|
211
|
+
|
212
|
+
it "should raise an exception if a block is not passed" do
|
213
|
+
proc{@db.log_connection_yield('blah', @conn)}.must_raise LocalJumpError
|
214
|
+
end
|
215
|
+
|
216
|
+
it "should log message with duration at info level to all loggers" do
|
217
|
+
@db.log_connection_yield('blah', @conn){}
|
218
|
+
@o.logs.length.must_equal 1
|
219
|
+
@o.logs.first.length.must_equal 2
|
220
|
+
@o.logs.first.first.must_equal :info
|
221
|
+
@o.logs.first.last.must_match(/\A\(\d\.\d{6}s\) blah\z/)
|
222
|
+
end
|
223
|
+
|
224
|
+
it "should respect sql_log_level setting" do
|
225
|
+
@db.sql_log_level = :debug
|
226
|
+
@db.log_connection_yield('blah', @conn){}
|
227
|
+
@o.logs.length.must_equal 1
|
228
|
+
@o.logs.first.length.must_equal 2
|
229
|
+
@o.logs.first.first.must_equal :debug
|
230
|
+
@o.logs.first.last.must_match(/\A\(\d\.\d{6}s\) blah\z/)
|
231
|
+
end
|
232
|
+
|
233
|
+
it "should log message with duration at warn level if duration greater than log_warn_duration" do
|
234
|
+
@db.log_warn_duration = 0
|
235
|
+
@db.log_connection_yield('blah', @conn){}
|
236
|
+
@o.logs.length.must_equal 1
|
237
|
+
@o.logs.first.length.must_equal 2
|
238
|
+
@o.logs.first.first.must_equal :warn
|
239
|
+
@o.logs.first.last.must_match(/\A\(\d\.\d{6}s\) blah\z/)
|
240
|
+
end
|
241
|
+
|
242
|
+
it "should log message with duration at info level if duration less than log_warn_duration" do
|
243
|
+
@db.log_warn_duration = 1000
|
244
|
+
@db.log_connection_yield('blah', @conn){}
|
245
|
+
@o.logs.length.must_equal 1
|
246
|
+
@o.logs.first.length.must_equal 2
|
247
|
+
@o.logs.first.first.must_equal :info
|
248
|
+
@o.logs.first.last.must_match(/\A\(\d\.\d{6}s\) blah\z/)
|
249
|
+
end
|
250
|
+
|
251
|
+
it "should log message at error level if block raises an error" do
|
252
|
+
@db.log_warn_duration = 0
|
253
|
+
proc{@db.log_connection_yield('blah', @conn){raise Sequel::Error, 'adsf'}}.must_raise Sequel::Error
|
254
|
+
@o.logs.length.must_equal 1
|
255
|
+
@o.logs.first.length.must_equal 2
|
256
|
+
@o.logs.first.first.must_equal :error
|
257
|
+
@o.logs.first.last.must_match(/\ASequel::Error: adsf: blah\z/)
|
258
|
+
end
|
259
|
+
|
260
|
+
it "should include args with message if args passed" do
|
261
|
+
@db.log_connection_yield('blah', @conn, [1, 2]){}
|
262
|
+
@o.logs.length.must_equal 1
|
263
|
+
@o.logs.first.length.must_equal 2
|
264
|
+
@o.logs.first.first.must_equal :info
|
265
|
+
@o.logs.first.last.must_match(/\A\(\d\.\d{6}s\) blah; \[1, 2\]\z/)
|
266
|
+
end
|
267
|
+
|
268
|
+
it "should log without a logger defined by forcing skip_logging? to return false" do
|
269
|
+
@db.logger = nil
|
270
|
+
@db.extend(Module.new do
|
271
|
+
def skip_logging?
|
272
|
+
false
|
273
|
+
end
|
274
|
+
|
275
|
+
def log_duration(*)
|
276
|
+
self.did_log = true
|
277
|
+
end
|
278
|
+
|
279
|
+
attr_accessor :did_log
|
280
|
+
end)
|
281
|
+
|
282
|
+
@db.log_connection_yield('some sql', @conn) {}
|
283
|
+
|
284
|
+
@db.did_log.must_equal true
|
285
|
+
end
|
286
|
+
end
|
287
|
+
|
288
|
+
describe "Database#uri" do
|
289
|
+
before do
|
290
|
+
@c = Class.new(Sequel::Database) do
|
291
|
+
def dataset_class_default; Sequel::Dataset end
|
292
|
+
def connect(*); Object.new end
|
293
|
+
set_adapter_scheme :mau
|
294
|
+
end
|
295
|
+
|
296
|
+
@db = Sequel.connect('mau://user:pass@localhost:9876/maumau')
|
297
|
+
end
|
298
|
+
|
299
|
+
it "should return the connection URI for the database" do
|
300
|
+
@db.uri.must_equal 'mau://user:pass@localhost:9876/maumau'
|
301
|
+
end
|
302
|
+
|
303
|
+
it "should return nil if a connection uri was not used" do
|
304
|
+
Sequel.mock.uri.must_be_nil
|
305
|
+
end
|
306
|
+
|
307
|
+
it "should be aliased as #url" do
|
308
|
+
@db.url.must_equal 'mau://user:pass@localhost:9876/maumau'
|
309
|
+
end
|
310
|
+
end
|
311
|
+
|
312
|
+
describe "Database.adapter_scheme and #adapter_scheme" do
|
313
|
+
it "should return the database scheme" do
|
314
|
+
Sequel::Database.adapter_scheme.must_be_nil
|
315
|
+
|
316
|
+
@c = Class.new(Sequel::Database) do
|
317
|
+
def dataset_class_default; Sequel::Dataset end
|
318
|
+
set_adapter_scheme :mau
|
319
|
+
end
|
320
|
+
|
321
|
+
@c.adapter_scheme.must_equal :mau
|
322
|
+
@c.new({}).adapter_scheme.must_equal :mau
|
323
|
+
end
|
324
|
+
end
|
325
|
+
|
326
|
+
describe "Database#dataset" do
|
327
|
+
before do
|
328
|
+
@db = Sequel.mock
|
329
|
+
@ds = @db.dataset
|
330
|
+
end
|
331
|
+
|
332
|
+
it "should provide a blank dataset through #dataset" do
|
333
|
+
@ds.must_be_kind_of(Sequel::Dataset)
|
334
|
+
@ds.opts.must_equal({})
|
335
|
+
@ds.db.must_be_same_as(@db)
|
336
|
+
end
|
337
|
+
|
338
|
+
it "should provide a #from dataset" do
|
339
|
+
d = @db.from(:mau)
|
340
|
+
d.must_be_kind_of(Sequel::Dataset)
|
341
|
+
d.sql.must_equal 'SELECT * FROM mau'
|
342
|
+
|
343
|
+
e = @db[:miu]
|
344
|
+
e.must_be_kind_of(Sequel::Dataset)
|
345
|
+
e.sql.must_equal 'SELECT * FROM miu'
|
346
|
+
end
|
347
|
+
|
348
|
+
it "should provide a #from dataset that supports virtual row blocks" do
|
349
|
+
@db.from{a(b)}.sql.must_equal 'SELECT * FROM a(b)'
|
350
|
+
end
|
351
|
+
|
352
|
+
it "should provide a #select dataset" do
|
353
|
+
d = @db.select(:a, :b, :c).from(:mau)
|
354
|
+
d.must_be_kind_of(Sequel::Dataset)
|
355
|
+
d.sql.must_equal 'SELECT a, b, c FROM mau'
|
356
|
+
end
|
357
|
+
|
358
|
+
it "should allow #select to take a block" do
|
359
|
+
d = @db.select(:a, :b){c}.from(:mau)
|
360
|
+
d.must_be_kind_of(Sequel::Dataset)
|
361
|
+
d.sql.must_equal 'SELECT a, b, c FROM mau'
|
362
|
+
end
|
363
|
+
end
|
364
|
+
|
365
|
+
describe "Database#dataset_class" do
|
366
|
+
before do
|
367
|
+
@db = Sequel::Database.new
|
368
|
+
@dsc = Class.new(Sequel::Dataset)
|
369
|
+
end
|
370
|
+
|
371
|
+
it "should have setter set the class to use to create datasets" do
|
372
|
+
@db.dataset_class = @dsc
|
373
|
+
ds = @db.dataset
|
374
|
+
ds.must_be_kind_of(@dsc)
|
375
|
+
ds.opts.must_equal({})
|
376
|
+
ds.db.must_be_same_as(@db)
|
377
|
+
end
|
378
|
+
|
379
|
+
it "should have getter return the class to use to create datasets" do
|
380
|
+
[@db.dataset_class, @db.dataset_class.superclass].must_include(Sequel::Dataset)
|
381
|
+
@db.dataset_class = @dsc
|
382
|
+
[@db.dataset_class, @db.dataset_class.superclass].must_include(@dsc)
|
383
|
+
end
|
384
|
+
end
|
385
|
+
|
386
|
+
describe "Database#extend_datasets" do
|
387
|
+
before do
|
388
|
+
@db = Sequel::Database.new
|
389
|
+
@m = Module.new{def foo() [3] end}
|
390
|
+
@m2 = Module.new{def foo() [4] + super end}
|
391
|
+
@db.extend_datasets(@m)
|
392
|
+
end
|
393
|
+
|
394
|
+
it "should clear a cached dataset" do
|
395
|
+
@db = Sequel::Database.new
|
396
|
+
@db.literal(1).must_equal '1'
|
397
|
+
@db.extend_datasets{def literal(v) '2' end}
|
398
|
+
@db.literal(1).must_equal '2'
|
399
|
+
end
|
400
|
+
|
401
|
+
it "should change the dataset class to a subclass the first time it is called" do
|
402
|
+
@db.dataset_class.superclass.must_equal Sequel::Dataset
|
403
|
+
end
|
404
|
+
|
405
|
+
it "should not create a subclass of the dataset class if called more than once" do
|
406
|
+
@db.extend_datasets(@m2)
|
407
|
+
@db.dataset_class.superclass.must_equal Sequel::Dataset
|
408
|
+
end
|
409
|
+
|
410
|
+
it "should make the dataset class include the module" do
|
411
|
+
@db.dataset_class.ancestors.must_include(@m)
|
412
|
+
@db.dataset_class.ancestors.wont_include(@m2)
|
413
|
+
@db.extend_datasets(@m2)
|
414
|
+
@db.dataset_class.ancestors.must_include(@m)
|
415
|
+
@db.dataset_class.ancestors.must_include(@m2)
|
416
|
+
end
|
417
|
+
|
418
|
+
it "should have datasets respond to the module's methods" do
|
419
|
+
@db.dataset.foo.must_equal [3]
|
420
|
+
@db.extend_datasets(@m2)
|
421
|
+
@db.dataset.foo.must_equal [4, 3]
|
422
|
+
end
|
423
|
+
|
424
|
+
it "should take a block and create a module from it to use" do
|
425
|
+
@db.dataset.foo.must_equal [3]
|
426
|
+
@db.extend_datasets{def foo() [5] + super end}
|
427
|
+
@db.dataset.foo.must_equal [5, 3]
|
428
|
+
end
|
429
|
+
|
430
|
+
it "should raise an error if both a module and a block are provided" do
|
431
|
+
proc{@db.extend_datasets(@m2){def foo() [5] + super end}}.must_raise(Sequel::Error)
|
432
|
+
end
|
433
|
+
|
434
|
+
it "should be able to override methods defined in the original Dataset class" do
|
435
|
+
@db.extend_datasets do
|
436
|
+
def select(*a, &block) super.order(*a, &block) end
|
437
|
+
def input_identifier(v) v.to_s end
|
438
|
+
end
|
439
|
+
@db[:t].with_quote_identifiers(false).select(:a, :b).sql.must_equal 'SELECT a, b FROM t ORDER BY a, b'
|
440
|
+
end
|
441
|
+
|
442
|
+
it "should reapply settings if dataset_class is changed" do
|
443
|
+
c = Class.new(Sequel::Dataset)
|
444
|
+
@db.dataset_class = c
|
445
|
+
@db.dataset_class.superclass.must_equal c
|
446
|
+
@db.dataset_class.ancestors.must_include(@m)
|
447
|
+
@db.dataset.foo.must_equal [3]
|
448
|
+
end
|
449
|
+
end
|
450
|
+
|
451
|
+
describe "Database#extend_datasets custom methods" do
|
452
|
+
before do
|
453
|
+
@db = Sequel.mock
|
454
|
+
end
|
455
|
+
|
456
|
+
def ds
|
457
|
+
@db[:items]
|
458
|
+
end
|
459
|
+
|
460
|
+
it "should have dataset_module support a where method" do
|
461
|
+
@db.extend_datasets{where :released, :released}
|
462
|
+
ds.released.sql.must_equal 'SELECT * FROM items WHERE released'
|
463
|
+
ds.where(:foo).released.sql.must_equal 'SELECT * FROM items WHERE (foo AND released)'
|
464
|
+
end
|
465
|
+
|
466
|
+
it "should have dataset_module support a having method" do
|
467
|
+
@db.extend_datasets{having(:released){released}}
|
468
|
+
ds.released.sql.must_equal 'SELECT * FROM items HAVING released'
|
469
|
+
ds.where(:foo).released.sql.must_equal 'SELECT * FROM items WHERE foo HAVING released'
|
470
|
+
end
|
471
|
+
|
472
|
+
it "should have dataset_module support an exclude method" do
|
473
|
+
@db.extend_datasets{exclude :released, :released}
|
474
|
+
ds.released.sql.must_equal 'SELECT * FROM items WHERE NOT released'
|
475
|
+
ds.where(:foo).released.sql.must_equal 'SELECT * FROM items WHERE (foo AND NOT released)'
|
476
|
+
end
|
477
|
+
|
478
|
+
it "should have dataset_module support an exclude_having method" do
|
479
|
+
@db.extend_datasets{exclude_having :released, :released}
|
480
|
+
ds.released.sql.must_equal 'SELECT * FROM items HAVING NOT released'
|
481
|
+
ds.where(:foo).released.sql.must_equal 'SELECT * FROM items WHERE foo HAVING NOT released'
|
482
|
+
end
|
483
|
+
|
484
|
+
it "should have dataset_module support a distinct method" do
|
485
|
+
@db.extend_datasets{def supports_distinct_on?; true end; distinct :foo, :baz}
|
486
|
+
ds.foo.sql.must_equal 'SELECT DISTINCT ON (baz) * FROM items'
|
487
|
+
ds.where(:bar).foo.sql.must_equal 'SELECT DISTINCT ON (baz) * FROM items WHERE bar'
|
488
|
+
end
|
489
|
+
|
490
|
+
it "should have dataset_module support a grep method" do
|
491
|
+
@db.extend_datasets{grep :foo, :baz, 'quux%'}
|
492
|
+
ds.foo.sql.must_equal 'SELECT * FROM items WHERE ((baz LIKE \'quux%\' ESCAPE \'\\\'))'
|
493
|
+
ds.where(:bar).foo.sql.must_equal 'SELECT * FROM items WHERE (bar AND ((baz LIKE \'quux%\' ESCAPE \'\\\')))'
|
494
|
+
end
|
495
|
+
|
496
|
+
it "should have dataset_module support a group method" do
|
497
|
+
@db.extend_datasets{group :foo, :baz}
|
498
|
+
ds.foo.sql.must_equal 'SELECT * FROM items GROUP BY baz'
|
499
|
+
ds.where(:bar).foo.sql.must_equal 'SELECT * FROM items WHERE bar GROUP BY baz'
|
500
|
+
end
|
501
|
+
|
502
|
+
it "should have dataset_module support a group_and_count method" do
|
503
|
+
@db.extend_datasets{group_and_count :foo, :baz}
|
504
|
+
ds.foo.sql.must_equal 'SELECT baz, count(*) AS count FROM items GROUP BY baz'
|
505
|
+
ds.where(:bar).foo.sql.must_equal 'SELECT baz, count(*) AS count FROM items WHERE bar GROUP BY baz'
|
506
|
+
end
|
507
|
+
|
508
|
+
it "should have dataset_module support a group_append method" do
|
509
|
+
@db.extend_datasets{group_append :foo, :baz}
|
510
|
+
ds.foo.sql.must_equal 'SELECT * FROM items GROUP BY baz'
|
511
|
+
ds.group(:bar).foo.sql.must_equal 'SELECT * FROM items GROUP BY bar, baz'
|
512
|
+
end
|
513
|
+
|
514
|
+
it "should have dataset_module support a limit method" do
|
515
|
+
@db.extend_datasets{limit :foo, 1}
|
516
|
+
ds.foo.sql.must_equal 'SELECT * FROM items LIMIT 1'
|
517
|
+
ds.where(:bar).foo.sql.must_equal 'SELECT * FROM items WHERE bar LIMIT 1'
|
518
|
+
end
|
519
|
+
|
520
|
+
it "should have dataset_module support a offset method" do
|
521
|
+
@db.extend_datasets{offset :foo, 1}
|
522
|
+
ds.foo.sql.must_equal 'SELECT * FROM items OFFSET 1'
|
523
|
+
ds.where(:bar).foo.sql.must_equal 'SELECT * FROM items WHERE bar OFFSET 1'
|
524
|
+
end
|
525
|
+
|
526
|
+
it "should have dataset_module support a order method" do
|
527
|
+
@db.extend_datasets{order(:foo){:baz}}
|
528
|
+
ds.foo.sql.must_equal 'SELECT * FROM items ORDER BY baz'
|
529
|
+
ds.where(:bar).foo.sql.must_equal 'SELECT * FROM items WHERE bar ORDER BY baz'
|
530
|
+
end
|
531
|
+
|
532
|
+
it "should have dataset_module support a order_append method" do
|
533
|
+
@db.extend_datasets{order_append :foo, :baz}
|
534
|
+
ds.foo.sql.must_equal 'SELECT * FROM items ORDER BY baz'
|
535
|
+
ds.order(:bar).foo.sql.must_equal 'SELECT * FROM items ORDER BY bar, baz'
|
536
|
+
end
|
537
|
+
|
538
|
+
it "should have dataset_module support a order_prepend method" do
|
539
|
+
@db.extend_datasets{order_prepend :foo, :baz}
|
540
|
+
ds.foo.sql.must_equal 'SELECT * FROM items ORDER BY baz'
|
541
|
+
ds.order(:bar).foo.sql.must_equal 'SELECT * FROM items ORDER BY baz, bar'
|
542
|
+
end
|
543
|
+
|
544
|
+
it "should have dataset_module support a reverse method" do
|
545
|
+
@db.extend_datasets{reverse(:foo){:baz}}
|
546
|
+
ds.foo.sql.must_equal 'SELECT * FROM items ORDER BY baz DESC'
|
547
|
+
ds.where(:bar).foo.sql.must_equal 'SELECT * FROM items WHERE bar ORDER BY baz DESC'
|
548
|
+
end
|
549
|
+
|
550
|
+
it "should have dataset_module support a select method" do
|
551
|
+
@db.extend_datasets{select :foo, :baz}
|
552
|
+
ds.foo.sql.must_equal 'SELECT baz FROM items'
|
553
|
+
ds.where(:bar).foo.sql.must_equal 'SELECT baz FROM items WHERE bar'
|
554
|
+
end
|
555
|
+
|
556
|
+
it "should have dataset_module support a select_all method" do
|
557
|
+
@db.extend_datasets{select_all :foo, :baz}
|
558
|
+
ds.foo.sql.must_equal 'SELECT baz.* FROM items'
|
559
|
+
ds.where(:bar).foo.sql.must_equal 'SELECT baz.* FROM items WHERE bar'
|
560
|
+
end
|
561
|
+
|
562
|
+
it "should have dataset_module support a select_append method" do
|
563
|
+
@db.extend_datasets{select_append :foo, :baz}
|
564
|
+
ds.foo.sql.must_equal 'SELECT *, baz FROM items'
|
565
|
+
ds.where(:bar).foo.sql.must_equal 'SELECT *, baz FROM items WHERE bar'
|
566
|
+
end
|
567
|
+
|
568
|
+
it "should have dataset_module support a select_group method" do
|
569
|
+
@db.extend_datasets{select_group :foo, :baz}
|
570
|
+
ds.foo.sql.must_equal 'SELECT baz FROM items GROUP BY baz'
|
571
|
+
ds.where(:bar).foo.sql.must_equal 'SELECT baz FROM items WHERE bar GROUP BY baz'
|
572
|
+
end
|
573
|
+
|
574
|
+
it "should have dataset_module support a server method" do
|
575
|
+
@db.extend_datasets{server :foo, :baz}
|
576
|
+
ds.foo.opts[:server].must_equal :baz
|
577
|
+
ds.where(:bar).foo.opts[:server].must_equal :baz
|
578
|
+
end
|
579
|
+
end
|
580
|
+
|
581
|
+
describe "Database#disconnect_connection" do
|
582
|
+
it "should call close on the connection" do
|
583
|
+
o = Object.new
|
584
|
+
def o.close() @closed=true end
|
585
|
+
Sequel::Database.new.disconnect_connection(o)
|
586
|
+
o.instance_variable_get(:@closed).must_equal true
|
587
|
+
end
|
588
|
+
end
|
589
|
+
|
590
|
+
describe "Database#valid_connection?" do
|
591
|
+
it "should issue a query to validate the connection" do
|
592
|
+
db = Sequel.mock
|
593
|
+
db.synchronize{|c| db.valid_connection?(c)}.must_equal true
|
594
|
+
db.synchronize do |c|
|
595
|
+
def c.execute(*) raise Sequel::DatabaseError, "error" end
|
596
|
+
db.valid_connection?(c)
|
597
|
+
end.must_equal false
|
598
|
+
end
|
599
|
+
end
|
600
|
+
|
601
|
+
describe "Database#run" do
|
602
|
+
before do
|
603
|
+
@db = Sequel.mock(:servers=>{:s1=>{}})
|
604
|
+
end
|
605
|
+
|
606
|
+
it "should execute the code on the database" do
|
607
|
+
@db.run("DELETE FROM items")
|
608
|
+
@db.sqls.must_equal ["DELETE FROM items"]
|
609
|
+
end
|
610
|
+
|
611
|
+
it "should handle placeholder literal strings" do
|
612
|
+
@db.run(Sequel.lit("DELETE FROM ?", :items))
|
613
|
+
@db.sqls.must_equal ["DELETE FROM items"]
|
614
|
+
end
|
615
|
+
|
616
|
+
it "should return nil" do
|
617
|
+
@db.run("DELETE FROM items").must_be_nil
|
618
|
+
end
|
619
|
+
|
620
|
+
it "should accept options passed to execute_ddl" do
|
621
|
+
@db.run("DELETE FROM items", :server=>:s1)
|
622
|
+
@db.sqls.must_equal ["DELETE FROM items -- s1"]
|
623
|
+
end
|
624
|
+
end
|
625
|
+
|
626
|
+
describe "Database#<<" do
|
627
|
+
before do
|
628
|
+
@db = Sequel.mock
|
629
|
+
end
|
630
|
+
|
631
|
+
it "should execute the code on the database" do
|
632
|
+
@db << "DELETE FROM items"
|
633
|
+
@db.sqls.must_equal ["DELETE FROM items"]
|
634
|
+
end
|
635
|
+
|
636
|
+
it "should handle placeholder literal strings" do
|
637
|
+
@db << Sequel.lit("DELETE FROM ?", :items)
|
638
|
+
@db.sqls.must_equal ["DELETE FROM items"]
|
639
|
+
end
|
640
|
+
|
641
|
+
it "should be chainable" do
|
642
|
+
@db << "DELETE FROM items" << "DELETE FROM items2"
|
643
|
+
@db.sqls.must_equal ["DELETE FROM items", "DELETE FROM items2"]
|
644
|
+
end
|
645
|
+
end
|
646
|
+
|
647
|
+
describe "Database#synchronize" do
|
648
|
+
before do
|
649
|
+
@db = Sequel::Database.new(:max_connections => 1)
|
650
|
+
@db.define_singleton_method(:connect){|c| 12345}
|
651
|
+
end
|
652
|
+
|
653
|
+
it "should wrap the supplied block in pool.hold" do
|
654
|
+
q, q1, q2 = Queue.new, Queue.new, Queue.new
|
655
|
+
c1, c2 = nil
|
656
|
+
t1 = Thread.new{@db.synchronize{|c| c1 = c; q.push nil; q1.pop}; q.push nil}
|
657
|
+
q.pop
|
658
|
+
c1.must_equal 12345
|
659
|
+
t2 = Thread.new{@db.synchronize{|c| c2 = c; q2.push nil}}
|
660
|
+
@db.pool.available_connections.must_be :empty?
|
661
|
+
c2.must_be_nil
|
662
|
+
q1.push nil
|
663
|
+
q.pop
|
664
|
+
q2.pop
|
665
|
+
c2.must_equal 12345
|
666
|
+
t1.join
|
667
|
+
t2.join
|
668
|
+
end
|
669
|
+
end
|
670
|
+
|
671
|
+
describe "Database#test_connection" do
|
672
|
+
before do
|
673
|
+
@db = Sequel::Database.new
|
674
|
+
pr = proc{@test = rand(100)}
|
675
|
+
@db.define_singleton_method(:connect){|c| pr.call}
|
676
|
+
end
|
677
|
+
|
678
|
+
it "should attempt to get a connection" do
|
679
|
+
@db.test_connection
|
680
|
+
@test.wont_equal nil
|
681
|
+
end
|
682
|
+
|
683
|
+
it "should return true if successful" do
|
684
|
+
@db.test_connection.must_equal true
|
685
|
+
end
|
686
|
+
|
687
|
+
it "should raise an error if the attempting to connect raises an error" do
|
688
|
+
def @db.connect(*) raise Sequel::Error end
|
689
|
+
proc{@db.test_connection}.must_raise(Sequel::DatabaseConnectionError)
|
690
|
+
end
|
691
|
+
end
|
692
|
+
|
693
|
+
describe "Database#table_exists?" do
|
694
|
+
it "should test existence by selecting a row from the table's dataset" do
|
695
|
+
db = Sequel.mock(:fetch=>[Sequel::Error, [], [{:a=>1}]])
|
696
|
+
db.table_exists?(:a).must_equal false
|
697
|
+
db.sqls.must_equal ["SELECT NULL AS nil FROM a LIMIT 1"]
|
698
|
+
db.table_exists?(:b).must_equal true
|
699
|
+
db.table_exists?(:c).must_equal true
|
700
|
+
end
|
701
|
+
|
702
|
+
it "should use a savepoint if inside a transaction" do
|
703
|
+
db = Sequel.mock(:fetch=>[Sequel::Error, [], [{:a=>1}]])
|
704
|
+
def db.supports_savepoints?; true end
|
705
|
+
db.transaction do
|
706
|
+
db.table_exists?(:a).must_equal false
|
707
|
+
end
|
708
|
+
db.sqls.must_equal ["BEGIN", "SAVEPOINT autopoint_1", "SELECT NULL AS nil FROM a LIMIT 1", "ROLLBACK TO SAVEPOINT autopoint_1", "COMMIT"]
|
709
|
+
db.table_exists?(:b).must_equal true
|
710
|
+
db.table_exists?(:c).must_equal true
|
711
|
+
end
|
712
|
+
end
|
713
|
+
|
714
|
+
DatabaseTransactionSpecs = shared_description do
|
715
|
+
it "should wrap the supplied block with BEGIN + COMMIT statements" do
|
716
|
+
@db.transaction{@db.execute 'DROP TABLE test;'}
|
717
|
+
@db.sqls.must_equal ['BEGIN', 'DROP TABLE test;', 'COMMIT']
|
718
|
+
end
|
719
|
+
|
720
|
+
it "should support transaction isolation levels" do
|
721
|
+
@db.define_singleton_method(:supports_transaction_isolation_levels?){true}
|
722
|
+
[:uncommitted, :committed, :repeatable, :serializable].each do |l|
|
723
|
+
@db.transaction(:isolation=>l){@db.run "DROP TABLE #{l}"}
|
724
|
+
end
|
725
|
+
@db.sqls.must_equal ['BEGIN', 'SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED', 'DROP TABLE uncommitted', 'COMMIT',
|
726
|
+
'BEGIN', 'SET TRANSACTION ISOLATION LEVEL READ COMMITTED', 'DROP TABLE committed', 'COMMIT',
|
727
|
+
'BEGIN', 'SET TRANSACTION ISOLATION LEVEL REPEATABLE READ', 'DROP TABLE repeatable', 'COMMIT',
|
728
|
+
'BEGIN', 'SET TRANSACTION ISOLATION LEVEL SERIALIZABLE', 'DROP TABLE serializable', 'COMMIT']
|
729
|
+
end
|
730
|
+
|
731
|
+
it "should allow specifying a default transaction isolation level" do
|
732
|
+
@db.define_singleton_method(:supports_transaction_isolation_levels?){true}
|
733
|
+
[:uncommitted, :committed, :repeatable, :serializable].each do |l|
|
734
|
+
@db.transaction_isolation_level = l
|
735
|
+
@db.transaction{@db.run "DROP TABLE #{l}"}
|
736
|
+
end
|
737
|
+
@db.sqls.must_equal ['BEGIN', 'SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED', 'DROP TABLE uncommitted', 'COMMIT',
|
738
|
+
'BEGIN', 'SET TRANSACTION ISOLATION LEVEL READ COMMITTED', 'DROP TABLE committed', 'COMMIT',
|
739
|
+
'BEGIN', 'SET TRANSACTION ISOLATION LEVEL REPEATABLE READ', 'DROP TABLE repeatable', 'COMMIT',
|
740
|
+
'BEGIN', 'SET TRANSACTION ISOLATION LEVEL SERIALIZABLE', 'DROP TABLE serializable', 'COMMIT']
|
741
|
+
end
|
742
|
+
|
743
|
+
it "should support :retry_on option for automatically retrying transactions" do
|
744
|
+
a = []
|
745
|
+
@db.transaction(:retry_on=>Sequel::DatabaseDisconnectError){a << 1; raise Sequel::DatabaseDisconnectError if a.length < 2}
|
746
|
+
@db.sqls.must_equal ['BEGIN', 'ROLLBACK', 'BEGIN', 'COMMIT']
|
747
|
+
a.must_equal [1, 1]
|
748
|
+
|
749
|
+
a = []
|
750
|
+
@db.transaction(:retry_on=>[Sequel::ConstraintViolation, Sequel::SerializationFailure]) do
|
751
|
+
a << 1
|
752
|
+
raise Sequel::SerializationFailure if a.length == 1
|
753
|
+
raise Sequel::ConstraintViolation if a.length == 2
|
754
|
+
end
|
755
|
+
@db.sqls.must_equal ['BEGIN', 'ROLLBACK', 'BEGIN', 'ROLLBACK', 'BEGIN', 'COMMIT']
|
756
|
+
a.must_equal [1, 1, 1]
|
757
|
+
end
|
758
|
+
|
759
|
+
it "should support :num_retries option for limiting the number of retry times" do
|
760
|
+
a = []
|
761
|
+
lambda do
|
762
|
+
@db.transaction(:num_retries=>1, :retry_on=>[Sequel::ConstraintViolation, Sequel::SerializationFailure]) do
|
763
|
+
a << 1
|
764
|
+
raise Sequel::SerializationFailure if a.length == 1
|
765
|
+
raise Sequel::ConstraintViolation if a.length == 2
|
766
|
+
end
|
767
|
+
end.must_raise(Sequel::ConstraintViolation)
|
768
|
+
@db.sqls.must_equal ['BEGIN', 'ROLLBACK', 'BEGIN', 'ROLLBACK']
|
769
|
+
a.must_equal [1, 1]
|
770
|
+
end
|
771
|
+
|
772
|
+
it "should support :num_retries=>nil option to retry indefinitely" do
|
773
|
+
a = []
|
774
|
+
lambda do
|
775
|
+
@db.transaction(:num_retries=>nil, :retry_on=>[Sequel::ConstraintViolation]) do
|
776
|
+
a << 1
|
777
|
+
raise Sequel::SerializationFailure if a.length >= 100
|
778
|
+
raise Sequel::ConstraintViolation
|
779
|
+
end
|
780
|
+
end.must_raise(Sequel::SerializationFailure)
|
781
|
+
@db.sqls.must_equal ['BEGIN', 'ROLLBACK'] * 100
|
782
|
+
a.must_equal [1] * 100
|
783
|
+
end
|
784
|
+
|
785
|
+
it "should support :before_retry option for invoking callback before retrying" do
|
786
|
+
a, errs, calls = [], [], []
|
787
|
+
retryer = proc{|n, err| calls << n; errs << err }
|
788
|
+
@db.transaction(:retry_on=>Sequel::DatabaseDisconnectError, :before_retry => retryer) do
|
789
|
+
a << 1; raise Sequel::DatabaseDisconnectError if a.length < 3
|
790
|
+
end
|
791
|
+
@db.sqls.must_equal ['BEGIN', 'ROLLBACK', 'BEGIN', 'ROLLBACK', 'BEGIN', 'COMMIT']
|
792
|
+
a.must_equal [1, 1, 1]
|
793
|
+
errs.count.must_equal 2
|
794
|
+
errs.each { |e| e.class.must_equal Sequel::DatabaseDisconnectError }
|
795
|
+
calls.must_equal [1, 2]
|
796
|
+
end
|
797
|
+
|
798
|
+
it "should raise an error if attempting to use :retry_on inside another transaction" do
|
799
|
+
proc{@db.transaction{@db.transaction(:retry_on=>Sequel::ConstraintViolation){}}}.must_raise(Sequel::Error)
|
800
|
+
@db.sqls.must_equal ['BEGIN', 'ROLLBACK']
|
801
|
+
end
|
802
|
+
|
803
|
+
it "should handle returning inside of the block by committing" do
|
804
|
+
def @db.ret_commit
|
805
|
+
transaction do
|
806
|
+
execute 'DROP TABLE test;'
|
807
|
+
return
|
808
|
+
end
|
809
|
+
end
|
810
|
+
@db.ret_commit
|
811
|
+
@db.sqls.must_equal ['BEGIN', 'DROP TABLE test;', 'COMMIT']
|
812
|
+
end
|
813
|
+
|
814
|
+
it "should issue ROLLBACK if an exception is raised, and re-raise" do
|
815
|
+
@db.transaction {@db.execute 'DROP TABLE test'; raise RuntimeError} rescue nil
|
816
|
+
@db.sqls.must_equal ['BEGIN', 'DROP TABLE test', 'ROLLBACK']
|
817
|
+
|
818
|
+
proc {@db.transaction {raise RuntimeError}}.must_raise(RuntimeError)
|
819
|
+
end
|
820
|
+
|
821
|
+
it "should handle errors when sending BEGIN" do
|
822
|
+
ec = Class.new(StandardError)
|
823
|
+
@db.define_singleton_method(:database_error_classes){[ec]}
|
824
|
+
@db.define_singleton_method(:log_connection_execute){|c, sql| sql =~ /BEGIN/ ? raise(ec, 'bad') : super(c, sql)}
|
825
|
+
begin
|
826
|
+
@db.transaction{@db.execute 'DROP TABLE test;'}
|
827
|
+
rescue Sequel::DatabaseError => e
|
828
|
+
end
|
829
|
+
e.wont_equal nil
|
830
|
+
e.wrapped_exception.must_be_kind_of(ec)
|
831
|
+
@db.sqls.must_equal ['ROLLBACK']
|
832
|
+
end
|
833
|
+
|
834
|
+
it "should handle errors when sending COMMIT" do
|
835
|
+
ec = Class.new(StandardError)
|
836
|
+
@db.define_singleton_method(:database_error_classes){[ec]}
|
837
|
+
@db.define_singleton_method(:log_connection_execute){|c, sql| sql =~ /COMMIT/ ? raise(ec, 'bad') : super(c, sql)}
|
838
|
+
begin
|
839
|
+
@db.transaction{@db.execute 'DROP TABLE test;'}
|
840
|
+
rescue Sequel::DatabaseError => e
|
841
|
+
end
|
842
|
+
e.wont_equal nil
|
843
|
+
e.wrapped_exception.must_be_kind_of(ec)
|
844
|
+
@db.sqls.must_equal ['BEGIN', 'DROP TABLE test;', 'ROLLBACK']
|
845
|
+
end
|
846
|
+
|
847
|
+
it "should raise original exception if there is an exception raised when rolling back" do
|
848
|
+
ec = Class.new(StandardError)
|
849
|
+
@db.define_singleton_method(:database_error_classes){[ec]}
|
850
|
+
@db.define_singleton_method(:log_connection_execute){|c, sql| sql =~ /ROLLBACK/ ? raise(ec, 'bad') : super(c, sql)}
|
851
|
+
begin
|
852
|
+
@db.transaction{raise ArgumentError, 'asdf'}
|
853
|
+
rescue => e
|
854
|
+
end
|
855
|
+
e.must_be_kind_of(ArgumentError)
|
856
|
+
@db.sqls.must_equal ['BEGIN']
|
857
|
+
end
|
858
|
+
|
859
|
+
it "should raise original exception if there is an exception raised when rolling back when using :rollback=>:always" do
|
860
|
+
ec = Class.new(StandardError)
|
861
|
+
@db.define_singleton_method(:database_error_classes){[ec]}
|
862
|
+
@db.define_singleton_method(:log_connection_execute){|c, sql| sql =~ /ROLLBACK/ ? raise(ec, 'bad') : super(c, sql)}
|
863
|
+
begin
|
864
|
+
@db.transaction(:rollback=>:always){}
|
865
|
+
rescue => e
|
866
|
+
end
|
867
|
+
e.must_be_kind_of(ec)
|
868
|
+
@db.sqls.must_equal ['BEGIN']
|
869
|
+
end
|
870
|
+
|
871
|
+
it "should issue ROLLBACK if Sequel::Rollback is called in the transaction" do
|
872
|
+
@db.transaction do
|
873
|
+
@db.drop_table(:a)
|
874
|
+
raise Sequel::Rollback
|
875
|
+
@db.drop_table(:b)
|
876
|
+
end
|
877
|
+
|
878
|
+
@db.sqls.must_equal ['BEGIN', 'DROP TABLE a', 'ROLLBACK']
|
879
|
+
end
|
880
|
+
|
881
|
+
it "should have in_transaction? return true if inside a transaction" do
|
882
|
+
c = nil
|
883
|
+
@db.transaction{c = @db.in_transaction?}
|
884
|
+
c.must_equal true
|
885
|
+
end
|
886
|
+
|
887
|
+
it "should have in_transaction? handle sharding correctly" do
|
888
|
+
c = []
|
889
|
+
@db.transaction(:server=>:test){c << @db.in_transaction?}
|
890
|
+
@db.transaction(:server=>:test){c << @db.in_transaction?(:server=>:test)}
|
891
|
+
c.must_equal [false, true]
|
892
|
+
end
|
893
|
+
|
894
|
+
it "should have in_transaction? return false if not in a transaction" do
|
895
|
+
@db.in_transaction?.must_equal false
|
896
|
+
end
|
897
|
+
|
898
|
+
it "should have rollback_checker return a proc which returns whether the transaction was rolled back" do
|
899
|
+
proc{@db.rollback_checker}.must_raise Sequel::Error
|
900
|
+
proc{@db.transaction(:server=>:test){@db.rollback_checker}}.must_raise Sequel::Error
|
901
|
+
|
902
|
+
rbc = nil
|
903
|
+
@db.transaction do
|
904
|
+
rbc = @db.rollback_checker
|
905
|
+
rbc.call.must_be_nil
|
906
|
+
end
|
907
|
+
rbc.call.must_equal false
|
908
|
+
|
909
|
+
@db.transaction(:rollback=>:always) do
|
910
|
+
rbc = @db.rollback_checker
|
911
|
+
rbc.call.must_be_nil
|
912
|
+
end
|
913
|
+
rbc.call.must_equal true
|
914
|
+
|
915
|
+
proc do
|
916
|
+
@db.transaction do
|
917
|
+
rbc = @db.rollback_checker
|
918
|
+
raise
|
919
|
+
end
|
920
|
+
end.must_raise RuntimeError
|
921
|
+
rbc.call.must_equal true
|
922
|
+
|
923
|
+
@db.transaction(:server=>:test){rbc = @db.rollback_checker(:server=>:test)}
|
924
|
+
rbc.call.must_equal false
|
925
|
+
end
|
926
|
+
|
927
|
+
it "should return nil if Sequel::Rollback is called in the transaction" do
|
928
|
+
@db.transaction{raise Sequel::Rollback}.must_be_nil
|
929
|
+
end
|
930
|
+
|
931
|
+
it "should reraise Sequel::Rollback errors when using :rollback=>:reraise option is given" do
|
932
|
+
proc {@db.transaction(:rollback=>:reraise){raise Sequel::Rollback}}.must_raise(Sequel::Rollback)
|
933
|
+
@db.sqls.must_equal ['BEGIN', 'ROLLBACK']
|
934
|
+
proc {@db.transaction(:rollback=>:reraise){raise ArgumentError}}.must_raise(ArgumentError)
|
935
|
+
@db.sqls.must_equal ['BEGIN', 'ROLLBACK']
|
936
|
+
@db.transaction(:rollback=>:reraise){1}.must_equal 1
|
937
|
+
@db.sqls.must_equal ['BEGIN', 'COMMIT']
|
938
|
+
end
|
939
|
+
|
940
|
+
it "should always rollback if :rollback=>:always option is given" do
|
941
|
+
proc {@db.transaction(:rollback=>:always){raise ArgumentError}}.must_raise(ArgumentError)
|
942
|
+
@db.sqls.must_equal ['BEGIN', 'ROLLBACK']
|
943
|
+
@db.transaction(:rollback=>:always){raise Sequel::Rollback}.must_be_nil
|
944
|
+
@db.sqls.must_equal ['BEGIN', 'ROLLBACK']
|
945
|
+
@db.transaction(:rollback=>:always){1}.must_equal 1
|
946
|
+
@db.sqls.must_equal ['BEGIN', 'ROLLBACK']
|
947
|
+
catch(:foo) do
|
948
|
+
@db.transaction(:rollback=>:always){throw :foo}
|
949
|
+
end
|
950
|
+
@db.sqls.must_equal ['BEGIN', 'ROLLBACK']
|
951
|
+
end
|
952
|
+
|
953
|
+
it "should raise database errors when commiting a transaction as Sequel::DatabaseError" do
|
954
|
+
@db.define_singleton_method(:commit_transaction){raise ArgumentError}
|
955
|
+
lambda{@db.transaction{}}.must_raise(ArgumentError)
|
956
|
+
|
957
|
+
@db.define_singleton_method(:database_error_classes){[ArgumentError]}
|
958
|
+
lambda{@db.transaction{}}.must_raise(Sequel::DatabaseError)
|
959
|
+
end
|
960
|
+
|
961
|
+
it "should be re-entrant" do
|
962
|
+
q, q1 = Queue.new, Queue.new
|
963
|
+
cc = nil
|
964
|
+
t = Thread.new do
|
965
|
+
@db.transaction {@db.transaction {@db.transaction {|c|
|
966
|
+
cc = c
|
967
|
+
q.pop
|
968
|
+
q1.push nil
|
969
|
+
q.pop
|
970
|
+
}}}
|
971
|
+
end
|
972
|
+
q.push nil
|
973
|
+
q1.pop
|
974
|
+
cc.must_be_kind_of(Sequel::Mock::Connection)
|
975
|
+
tr = @db.instance_variable_get(:@transactions)
|
976
|
+
tr.keys.must_equal [cc]
|
977
|
+
q.push nil
|
978
|
+
t.join
|
979
|
+
tr.must_be :empty?
|
980
|
+
end
|
981
|
+
|
982
|
+
it "should correctly handle nested transaction use with separate shards" do
|
983
|
+
@db.transaction do |c1|
|
984
|
+
@db.transaction(:server=>:test) do |c2|
|
985
|
+
c1.wont_equal c2
|
986
|
+
@db.execute 'DROP TABLE test;'
|
987
|
+
end
|
988
|
+
end
|
989
|
+
@db.sqls.must_equal ['BEGIN', 'BEGIN -- test', 'DROP TABLE test;', 'COMMIT -- test', 'COMMIT']
|
990
|
+
end
|
991
|
+
|
992
|
+
if (!defined?(RUBY_ENGINE) or RUBY_ENGINE == 'ruby') and !RUBY_VERSION.start_with?('1.9')
|
993
|
+
it "should handle Thread#kill for transactions inside threads" do
|
994
|
+
q = Queue.new
|
995
|
+
q1 = Queue.new
|
996
|
+
t = Thread.new do
|
997
|
+
@db.transaction do
|
998
|
+
@db.execute 'DROP TABLE test'
|
999
|
+
q1.push nil
|
1000
|
+
q.pop
|
1001
|
+
@db.execute 'DROP TABLE test2'
|
1002
|
+
end
|
1003
|
+
end
|
1004
|
+
q1.pop
|
1005
|
+
t.kill
|
1006
|
+
t.join
|
1007
|
+
@db.sqls.must_equal ['BEGIN', 'DROP TABLE test', 'ROLLBACK']
|
1008
|
+
end
|
1009
|
+
end
|
1010
|
+
|
1011
|
+
it "should raise an Error if after_commit or after_rollback is called without a block" do
|
1012
|
+
proc{@db.after_commit}.must_raise(Sequel::Error)
|
1013
|
+
proc{@db.after_rollback}.must_raise(Sequel::Error)
|
1014
|
+
end
|
1015
|
+
|
1016
|
+
it "should have after_commit and after_rollback respect :server option" do
|
1017
|
+
@db.transaction(:server=>:test){@db.after_commit(:server=>:test){@db.execute('foo', :server=>:test)}}
|
1018
|
+
@db.sqls.must_equal ['BEGIN -- test', 'COMMIT -- test', 'foo -- test']
|
1019
|
+
@db.transaction(:server=>:test){@db.after_rollback(:server=>:test){@db.execute('foo', :server=>:test)}; raise Sequel::Rollback}
|
1020
|
+
@db.sqls.must_equal ['BEGIN -- test', 'ROLLBACK -- test', 'foo -- test']
|
1021
|
+
end
|
1022
|
+
|
1023
|
+
it "should execute after_commit outside transactions" do
|
1024
|
+
@db.after_commit{@db.execute('foo')}
|
1025
|
+
@db.sqls.must_equal ['foo']
|
1026
|
+
end
|
1027
|
+
|
1028
|
+
it "should ignore after_rollback outside transactions" do
|
1029
|
+
@db.after_rollback{@db.execute('foo')}
|
1030
|
+
@db.sqls.must_equal []
|
1031
|
+
end
|
1032
|
+
|
1033
|
+
it "should support after_commit inside transactions" do
|
1034
|
+
@db.transaction{@db.after_commit{@db.execute('foo')}}
|
1035
|
+
@db.sqls.must_equal ['BEGIN', 'COMMIT', 'foo']
|
1036
|
+
end
|
1037
|
+
|
1038
|
+
it "should support after_rollback inside transactions" do
|
1039
|
+
@db.transaction{@db.after_rollback{@db.execute('foo')}}
|
1040
|
+
@db.sqls.must_equal ['BEGIN', 'COMMIT']
|
1041
|
+
end
|
1042
|
+
|
1043
|
+
it "should have transaction inside after_commit work correctly" do
|
1044
|
+
@db.transaction{@db.after_commit{@db.transaction{@db.execute('foo')}}}
|
1045
|
+
@db.sqls.must_equal ['BEGIN', 'COMMIT', 'BEGIN', 'foo', 'COMMIT']
|
1046
|
+
end
|
1047
|
+
|
1048
|
+
it "should have transaction inside after_rollback work correctly" do
|
1049
|
+
@db.transaction(:rollback=>:always){@db.after_rollback{@db.transaction{@db.execute('foo')}}}
|
1050
|
+
@db.sqls.must_equal ['BEGIN', 'ROLLBACK', 'BEGIN', 'foo', 'COMMIT']
|
1051
|
+
end
|
1052
|
+
|
1053
|
+
it "should not call after_commit if the transaction rolls back" do
|
1054
|
+
@db.transaction{@db.after_commit{@db.execute('foo')}; raise Sequel::Rollback}
|
1055
|
+
@db.sqls.must_equal ['BEGIN', 'ROLLBACK']
|
1056
|
+
end
|
1057
|
+
|
1058
|
+
it "should call after_rollback if the transaction rolls back" do
|
1059
|
+
@db.transaction{@db.after_rollback{@db.execute('foo')}; raise Sequel::Rollback}
|
1060
|
+
@db.sqls.must_equal ['BEGIN', 'ROLLBACK', 'foo']
|
1061
|
+
end
|
1062
|
+
|
1063
|
+
it "should call multiple after_commit blocks in order if called inside transactions" do
|
1064
|
+
@db.transaction{@db.after_commit{@db.execute('foo')}; @db.after_commit{@db.execute('bar')}}
|
1065
|
+
@db.sqls.must_equal ['BEGIN', 'COMMIT', 'foo', 'bar']
|
1066
|
+
end
|
1067
|
+
|
1068
|
+
it "should call multiple after_rollback blocks in order if called inside transactions" do
|
1069
|
+
@db.transaction{@db.after_rollback{@db.execute('foo')}; @db.after_rollback{@db.execute('bar')}; raise Sequel::Rollback}
|
1070
|
+
@db.sqls.must_equal ['BEGIN', 'ROLLBACK', 'foo', 'bar']
|
1071
|
+
end
|
1072
|
+
|
1073
|
+
it "should support after_commit inside nested transactions" do
|
1074
|
+
@db.transaction{@db.transaction{@db.after_commit{@db.execute('foo')}}}
|
1075
|
+
@db.sqls.must_equal ['BEGIN', 'COMMIT', 'foo']
|
1076
|
+
end
|
1077
|
+
|
1078
|
+
it "should support after_rollback inside nested transactions" do
|
1079
|
+
@db.transaction{@db.transaction{@db.after_rollback{@db.execute('foo')}}; raise Sequel::Rollback}
|
1080
|
+
@db.sqls.must_equal ['BEGIN', 'ROLLBACK', 'foo']
|
1081
|
+
end
|
1082
|
+
|
1083
|
+
it "should raise an error if you attempt to use after_commit inside a prepared transaction" do
|
1084
|
+
@db.define_singleton_method(:supports_prepared_transactions?){true}
|
1085
|
+
proc{@db.transaction(:prepare=>'XYZ'){@db.after_commit{@db.execute('foo')}}}.must_raise(Sequel::Error)
|
1086
|
+
@db.sqls.must_equal ['BEGIN', 'ROLLBACK']
|
1087
|
+
end
|
1088
|
+
|
1089
|
+
it "should raise an error if you attempt to use after_rollback inside a prepared transaction" do
|
1090
|
+
@db.define_singleton_method(:supports_prepared_transactions?){true}
|
1091
|
+
proc{@db.transaction(:prepare=>'XYZ'){@db.after_rollback{@db.execute('foo')}}}.must_raise(Sequel::Error)
|
1092
|
+
@db.sqls.must_equal ['BEGIN', 'ROLLBACK']
|
1093
|
+
end
|
1094
|
+
|
1095
|
+
it "should have rollback_on_exit cause the transaction to rollback on exit" do
|
1096
|
+
@db.transaction{@db.rollback_on_exit}.must_be_nil
|
1097
|
+
@db.sqls.must_equal ['BEGIN', 'ROLLBACK']
|
1098
|
+
catch(:foo){@db.transaction{@db.rollback_on_exit; throw :foo}}
|
1099
|
+
@db.sqls.must_equal ['BEGIN', 'ROLLBACK']
|
1100
|
+
lambda{@db.transaction{@db.rollback_on_exit; return true}}.call
|
1101
|
+
@db.sqls.must_equal ['BEGIN', 'ROLLBACK']
|
1102
|
+
end
|
1103
|
+
|
1104
|
+
it "should have rollback_on_exit with :cancel option will cause the transaction to commit on exit" do
|
1105
|
+
@db.transaction{@db.rollback_on_exit(:cancel=>true)}.must_be_nil
|
1106
|
+
@db.sqls.must_equal ['BEGIN', 'COMMIT']
|
1107
|
+
@db.transaction{@db.rollback_on_exit; @db.rollback_on_exit(:cancel=>true)}.must_be_nil
|
1108
|
+
@db.sqls.must_equal ['BEGIN', 'COMMIT']
|
1109
|
+
end
|
1110
|
+
end
|
1111
|
+
|
1112
|
+
describe "Database#transaction with savepoint support" do
|
1113
|
+
before do
|
1114
|
+
@db = Sequel.mock(:servers=>{:test=>{}})
|
1115
|
+
end
|
1116
|
+
|
1117
|
+
include DatabaseTransactionSpecs
|
1118
|
+
|
1119
|
+
it "should support :retry_on option for automatically retrying transactions when using :savepoint option" do
|
1120
|
+
a = []
|
1121
|
+
@db.transaction do
|
1122
|
+
@db.transaction(:retry_on=>Sequel::SerializationFailure, :savepoint=>true) do
|
1123
|
+
a << 1
|
1124
|
+
raise Sequel::SerializationFailure if a.length == 1
|
1125
|
+
end
|
1126
|
+
end
|
1127
|
+
@db.sqls.must_equal ["BEGIN", "SAVEPOINT autopoint_1", "ROLLBACK TO SAVEPOINT autopoint_1", "SAVEPOINT autopoint_1", "RELEASE SAVEPOINT autopoint_1", "COMMIT"]
|
1128
|
+
a.must_equal [1, 1]
|
1129
|
+
end
|
1130
|
+
|
1131
|
+
it "should automatically use a savepoint if :rollback=>:always given inside a transaction" do
|
1132
|
+
@db.transaction do
|
1133
|
+
@db.transaction(:rollback=>:always) do
|
1134
|
+
@db.get(1)
|
1135
|
+
end
|
1136
|
+
end
|
1137
|
+
@db.sqls.must_equal ["BEGIN", "SAVEPOINT autopoint_1", "SELECT 1 AS v LIMIT 1", "ROLLBACK TO SAVEPOINT autopoint_1", "COMMIT"]
|
1138
|
+
end
|
1139
|
+
|
1140
|
+
it "should support :retry_on option for automatically retrying transactions inside an :auto_savepoint transaction" do
|
1141
|
+
a = []
|
1142
|
+
@db.transaction(:auto_savepoint=>true) do
|
1143
|
+
@db.transaction(:retry_on=>Sequel::SerializationFailure) do
|
1144
|
+
a << 1
|
1145
|
+
raise Sequel::SerializationFailure if a.length == 1
|
1146
|
+
end
|
1147
|
+
end
|
1148
|
+
@db.sqls.must_equal ["BEGIN", "SAVEPOINT autopoint_1", "ROLLBACK TO SAVEPOINT autopoint_1", "SAVEPOINT autopoint_1", "RELEASE SAVEPOINT autopoint_1", "COMMIT"]
|
1149
|
+
a.must_equal [1, 1]
|
1150
|
+
end
|
1151
|
+
|
1152
|
+
it "should support after_commit inside savepoints" do
|
1153
|
+
@db.transaction do
|
1154
|
+
@db.after_commit{@db.execute('foo')}
|
1155
|
+
@db.transaction(:savepoint=>true){@db.after_commit{@db.execute('bar')}}
|
1156
|
+
@db.after_commit{@db.execute('baz')}
|
1157
|
+
end
|
1158
|
+
@db.sqls.must_equal ['BEGIN', 'SAVEPOINT autopoint_1', 'RELEASE SAVEPOINT autopoint_1', 'COMMIT', 'foo', 'bar', 'baz']
|
1159
|
+
end
|
1160
|
+
|
1161
|
+
it "should support after_rollback inside savepoints" do
|
1162
|
+
@db.transaction(:rollback=>:always) do
|
1163
|
+
@db.after_rollback{@db.execute('foo')}
|
1164
|
+
@db.transaction(:savepoint=>true){@db.after_rollback{@db.execute('bar')}}
|
1165
|
+
@db.after_rollback{@db.execute('baz')}
|
1166
|
+
end
|
1167
|
+
@db.sqls.must_equal ['BEGIN', 'SAVEPOINT autopoint_1', 'RELEASE SAVEPOINT autopoint_1', 'ROLLBACK', 'foo', 'bar', 'baz']
|
1168
|
+
end
|
1169
|
+
|
1170
|
+
it "should run after_commit if savepoint rolled back" do
|
1171
|
+
@db.transaction do
|
1172
|
+
@db.after_commit{@db.execute('foo')}
|
1173
|
+
@db.transaction(:savepoint=>true, :rollback=>:always){@db.after_commit{@db.execute('bar')}}
|
1174
|
+
end
|
1175
|
+
@db.sqls.must_equal ['BEGIN', 'SAVEPOINT autopoint_1', 'ROLLBACK TO SAVEPOINT autopoint_1', 'COMMIT', 'foo', 'bar']
|
1176
|
+
end
|
1177
|
+
|
1178
|
+
it "should not run after_commit if savepoint rolled back and :savepoint option used" do
|
1179
|
+
@db.transaction do
|
1180
|
+
@db.after_commit{@db.execute('foo')}
|
1181
|
+
@db.transaction(:savepoint=>true, :rollback=>:always){@db.after_commit(:savepoint=>true){@db.execute('bar')}}
|
1182
|
+
end
|
1183
|
+
@db.sqls.must_equal ['BEGIN', 'SAVEPOINT autopoint_1', 'ROLLBACK TO SAVEPOINT autopoint_1', 'COMMIT', 'foo']
|
1184
|
+
end
|
1185
|
+
|
1186
|
+
it "should not run after_commit if higher-level savepoint rolled back and :savepoint option used" do
|
1187
|
+
@db.transaction do
|
1188
|
+
@db.after_commit{@db.execute('foo')}
|
1189
|
+
@db.transaction(:savepoint=>true, :rollback=>:always){@db.transaction(:savepoint=>true){@db.after_commit(:savepoint=>true){@db.execute('bar')}}}
|
1190
|
+
end
|
1191
|
+
@db.sqls.must_equal ["BEGIN", "SAVEPOINT autopoint_1", "SAVEPOINT autopoint_2", "RELEASE SAVEPOINT autopoint_2", "ROLLBACK TO SAVEPOINT autopoint_1", "COMMIT", "foo"]
|
1192
|
+
end
|
1193
|
+
|
1194
|
+
it "should not run after_commit if transaction rolled back and :savepoint option used" do
|
1195
|
+
@db.transaction(:rollback=>:always) do
|
1196
|
+
@db.after_commit{@db.execute('foo')}
|
1197
|
+
@db.transaction(:savepoint=>true){@db.transaction(:savepoint=>true){@db.after_commit(:savepoint=>true){@db.execute('bar')}}}
|
1198
|
+
end
|
1199
|
+
@db.sqls.must_equal ["BEGIN", "SAVEPOINT autopoint_1", "SAVEPOINT autopoint_2", "RELEASE SAVEPOINT autopoint_2", "RELEASE SAVEPOINT autopoint_1", "ROLLBACK"]
|
1200
|
+
end
|
1201
|
+
|
1202
|
+
it "should run after_rollback if savepoint rolls back" do
|
1203
|
+
@db.transaction(:rollback=>:always) do
|
1204
|
+
@db.after_rollback{@db.execute('foo')}
|
1205
|
+
@db.transaction(:savepoint=>true, :rollback=>:always){@db.after_rollback{@db.execute('bar')}}
|
1206
|
+
@db.after_rollback{@db.execute('baz')}
|
1207
|
+
end
|
1208
|
+
@db.sqls.must_equal ['BEGIN', 'SAVEPOINT autopoint_1', 'ROLLBACK TO SAVEPOINT autopoint_1', 'ROLLBACK', 'foo', 'bar', 'baz']
|
1209
|
+
end
|
1210
|
+
|
1211
|
+
it "should run after_rollback when savepoint rolls back if :savepoint option used" do
|
1212
|
+
@db.transaction(:rollback=>:always) do
|
1213
|
+
@db.after_rollback{@db.execute('foo')}
|
1214
|
+
@db.transaction(:savepoint=>true, :rollback=>:always){@db.after_rollback(:savepoint=>true){@db.execute('bar')}}
|
1215
|
+
@db.after_rollback{@db.execute('baz')}
|
1216
|
+
end
|
1217
|
+
@db.sqls.must_equal ['BEGIN', 'SAVEPOINT autopoint_1', 'ROLLBACK TO SAVEPOINT autopoint_1', 'bar', 'ROLLBACK', 'foo', 'baz']
|
1218
|
+
end
|
1219
|
+
|
1220
|
+
it "should run after_rollback if savepoint rolled back and :savepoint option used, even if transaction commits" do
|
1221
|
+
@db.transaction do
|
1222
|
+
@db.after_commit{@db.execute('foo')}
|
1223
|
+
@db.transaction(:savepoint=>true, :rollback=>:always){@db.after_rollback(:savepoint=>true){@db.execute('bar')}}
|
1224
|
+
end
|
1225
|
+
@db.sqls.must_equal ['BEGIN', 'SAVEPOINT autopoint_1', 'ROLLBACK TO SAVEPOINT autopoint_1', 'bar', 'COMMIT', 'foo']
|
1226
|
+
end
|
1227
|
+
|
1228
|
+
it "should run after_rollback if higher-level savepoint rolled back and :savepoint option used" do
|
1229
|
+
@db.transaction do
|
1230
|
+
@db.transaction(:savepoint=>true, :rollback=>:always){@db.transaction(:savepoint=>true){@db.after_rollback(:savepoint=>true){@db.execute('bar')}}}
|
1231
|
+
end
|
1232
|
+
@db.sqls.must_equal ["BEGIN", "SAVEPOINT autopoint_1", "SAVEPOINT autopoint_2", "RELEASE SAVEPOINT autopoint_2", "ROLLBACK TO SAVEPOINT autopoint_1", "bar", "COMMIT"]
|
1233
|
+
end
|
1234
|
+
|
1235
|
+
it "should run after_rollback if transaction rolled back and :savepoint option used" do
|
1236
|
+
@db.transaction(:rollback=>:always) do
|
1237
|
+
@db.transaction(:savepoint=>true){@db.transaction(:savepoint=>true){@db.after_rollback(:savepoint=>true){@db.execute('bar')}}}
|
1238
|
+
end
|
1239
|
+
@db.sqls.must_equal ["BEGIN", "SAVEPOINT autopoint_1", "SAVEPOINT autopoint_2", "RELEASE SAVEPOINT autopoint_2", "RELEASE SAVEPOINT autopoint_1", "ROLLBACK", "bar"]
|
1240
|
+
end
|
1241
|
+
|
1242
|
+
it "should raise an error if you attempt to use after_commit inside a savepoint in a prepared transaction" do
|
1243
|
+
@db.define_singleton_method(:supports_prepared_transactions?){true}
|
1244
|
+
proc{@db.transaction(:prepare=>'XYZ'){@db.transaction(:savepoint=>true){@db.after_commit{@db.execute('foo')}}}}.must_raise(Sequel::Error)
|
1245
|
+
@db.sqls.must_equal ['BEGIN', 'SAVEPOINT autopoint_1','ROLLBACK TO SAVEPOINT autopoint_1', 'ROLLBACK']
|
1246
|
+
end
|
1247
|
+
|
1248
|
+
it "should raise an error if you attempt to use after_rollback inside a savepoint in a prepared transaction" do
|
1249
|
+
@db.define_singleton_method(:supports_prepared_transactions?){true}
|
1250
|
+
proc{@db.transaction(:prepare=>'XYZ'){@db.transaction(:savepoint=>true){@db.after_rollback{@db.execute('foo')}}}}.must_raise(Sequel::Error)
|
1251
|
+
@db.sqls.must_equal ['BEGIN', 'SAVEPOINT autopoint_1','ROLLBACK TO SAVEPOINT autopoint_1', 'ROLLBACK']
|
1252
|
+
end
|
1253
|
+
|
1254
|
+
it "should create savepoint if inside a transaction when :savepoint=>:only is used" do
|
1255
|
+
@db.transaction{@db.transaction(:savepoint=>:only){}}
|
1256
|
+
@db.sqls.must_equal ['BEGIN', 'SAVEPOINT autopoint_1','RELEASE SAVEPOINT autopoint_1', 'COMMIT']
|
1257
|
+
end
|
1258
|
+
|
1259
|
+
it "should not create transaction if not inside a transaction when :savepoint=>:only is used" do
|
1260
|
+
@db.transaction(:savepoint=>:only){}
|
1261
|
+
@db.sqls.must_equal []
|
1262
|
+
end
|
1263
|
+
|
1264
|
+
it "should have rollback_on_exit with :savepoint option inside transaction cause the transaction to rollback on exit" do
|
1265
|
+
@db.transaction{@db.rollback_on_exit(:savepoint=>true)}.must_be_nil
|
1266
|
+
@db.sqls.must_equal ['BEGIN', 'ROLLBACK']
|
1267
|
+
catch(:foo){@db.transaction{@db.rollback_on_exit(:savepoint=>true); throw :foo}}
|
1268
|
+
@db.sqls.must_equal ['BEGIN', 'ROLLBACK']
|
1269
|
+
lambda{@db.transaction{@db.rollback_on_exit(:savepoint=>true); return true}}.call
|
1270
|
+
@db.sqls.must_equal ['BEGIN', 'ROLLBACK']
|
1271
|
+
end
|
1272
|
+
|
1273
|
+
it "should have rollback_on_exit with :savepoint option inside savepoint cause the savepoint to rollback on exit" do
|
1274
|
+
@db.transaction{@db.transaction(:savepoint=>true){@db.rollback_on_exit(:savepoint=>true)}}.must_be_nil
|
1275
|
+
@db.sqls.must_equal ['BEGIN', 'SAVEPOINT autopoint_1','ROLLBACK TO SAVEPOINT autopoint_1', 'COMMIT']
|
1276
|
+
catch(:foo){@db.transaction{@db.transaction(:savepoint=>true){@db.rollback_on_exit(:savepoint=>true); throw :foo}}}
|
1277
|
+
@db.sqls.must_equal ['BEGIN', 'SAVEPOINT autopoint_1','ROLLBACK TO SAVEPOINT autopoint_1', 'COMMIT']
|
1278
|
+
lambda{@db.transaction{@db.transaction(:savepoint=>true){@db.rollback_on_exit(:savepoint=>true); return true}}}.call
|
1279
|
+
@db.sqls.must_equal ['BEGIN', 'SAVEPOINT autopoint_1','ROLLBACK TO SAVEPOINT autopoint_1', 'COMMIT']
|
1280
|
+
end
|
1281
|
+
|
1282
|
+
it "should have rollback_on_exit with :savepoint option inside nested savepoint cause the current savepoint to rollback on exit" do
|
1283
|
+
@db.transaction{@db.transaction(:savepoint=>true){@db.transaction(:savepoint=>true){@db.rollback_on_exit(:savepoint=>true)}}}.must_be_nil
|
1284
|
+
@db.sqls.must_equal ['BEGIN', 'SAVEPOINT autopoint_1','SAVEPOINT autopoint_2','ROLLBACK TO SAVEPOINT autopoint_2', 'RELEASE SAVEPOINT autopoint_1', 'COMMIT']
|
1285
|
+
catch(:foo){@db.transaction{@db.transaction(:savepoint=>true){@db.transaction(:savepoint=>true){@db.rollback_on_exit(:savepoint=>true); throw :foo}}}}
|
1286
|
+
@db.sqls.must_equal ['BEGIN', 'SAVEPOINT autopoint_1','SAVEPOINT autopoint_2','ROLLBACK TO SAVEPOINT autopoint_2', 'RELEASE SAVEPOINT autopoint_1', 'COMMIT']
|
1287
|
+
lambda{@db.transaction{@db.transaction(:savepoint=>true){@db.transaction(:savepoint=>true){@db.rollback_on_exit(:savepoint=>true); return true}}}}.call
|
1288
|
+
@db.sqls.must_equal ['BEGIN', 'SAVEPOINT autopoint_1','SAVEPOINT autopoint_2','ROLLBACK TO SAVEPOINT autopoint_2', 'RELEASE SAVEPOINT autopoint_1', 'COMMIT']
|
1289
|
+
end
|
1290
|
+
|
1291
|
+
it "should have rollback_on_exit with :savepoint=>1 option inside nested savepoint cause the current savepoint to rollback on exit" do
|
1292
|
+
@db.transaction{@db.transaction(:savepoint=>true){@db.transaction(:savepoint=>true){@db.rollback_on_exit(:savepoint=>1)}}}.must_be_nil
|
1293
|
+
@db.sqls.must_equal ['BEGIN', 'SAVEPOINT autopoint_1','SAVEPOINT autopoint_2','ROLLBACK TO SAVEPOINT autopoint_2', 'RELEASE SAVEPOINT autopoint_1', 'COMMIT']
|
1294
|
+
catch(:foo){@db.transaction{@db.transaction(:savepoint=>true){@db.transaction(:savepoint=>true){@db.rollback_on_exit(:savepoint=>1); throw :foo}}}}
|
1295
|
+
@db.sqls.must_equal ['BEGIN', 'SAVEPOINT autopoint_1','SAVEPOINT autopoint_2','ROLLBACK TO SAVEPOINT autopoint_2', 'RELEASE SAVEPOINT autopoint_1', 'COMMIT']
|
1296
|
+
lambda{@db.transaction{@db.transaction(:savepoint=>true){@db.transaction(:savepoint=>true){@db.rollback_on_exit(:savepoint=>1); return true}}}}.call
|
1297
|
+
@db.sqls.must_equal ['BEGIN', 'SAVEPOINT autopoint_1','SAVEPOINT autopoint_2','ROLLBACK TO SAVEPOINT autopoint_2', 'RELEASE SAVEPOINT autopoint_1', 'COMMIT']
|
1298
|
+
end
|
1299
|
+
|
1300
|
+
it "should have rollback_on_exit with :savepoint=>2 option inside nested savepoint cause the current and next savepoint to rollback on exit" do
|
1301
|
+
@db.transaction{@db.transaction(:savepoint=>true){@db.transaction(:savepoint=>true){@db.rollback_on_exit(:savepoint=>2)}}}.must_be_nil
|
1302
|
+
@db.sqls.must_equal ['BEGIN', 'SAVEPOINT autopoint_1','SAVEPOINT autopoint_2','ROLLBACK TO SAVEPOINT autopoint_2', 'ROLLBACK TO SAVEPOINT autopoint_1', 'COMMIT']
|
1303
|
+
catch(:foo){@db.transaction{@db.transaction(:savepoint=>true){@db.transaction(:savepoint=>true){@db.rollback_on_exit(:savepoint=>2); throw :foo}}}}
|
1304
|
+
@db.sqls.must_equal ['BEGIN', 'SAVEPOINT autopoint_1','SAVEPOINT autopoint_2','ROLLBACK TO SAVEPOINT autopoint_2', 'ROLLBACK TO SAVEPOINT autopoint_1', 'COMMIT']
|
1305
|
+
lambda{@db.transaction{@db.transaction(:savepoint=>true){@db.transaction(:savepoint=>true){@db.rollback_on_exit(:savepoint=>2); return true}}}}.call
|
1306
|
+
@db.sqls.must_equal ['BEGIN', 'SAVEPOINT autopoint_1','SAVEPOINT autopoint_2','ROLLBACK TO SAVEPOINT autopoint_2', 'ROLLBACK TO SAVEPOINT autopoint_1', 'COMMIT']
|
1307
|
+
end
|
1308
|
+
|
1309
|
+
it "should have rollback_on_exit with :savepoint=>3 option inside nested savepoint cause the three enclosing savepoints/transaction to rollback on exit" do
|
1310
|
+
@db.transaction{@db.transaction(:savepoint=>true){@db.transaction(:savepoint=>true){@db.rollback_on_exit(:savepoint=>3)}}}.must_be_nil
|
1311
|
+
@db.sqls.must_equal ['BEGIN', 'SAVEPOINT autopoint_1','SAVEPOINT autopoint_2','ROLLBACK TO SAVEPOINT autopoint_2', 'ROLLBACK TO SAVEPOINT autopoint_1', 'ROLLBACK']
|
1312
|
+
catch(:foo){@db.transaction{@db.transaction(:savepoint=>true){@db.transaction(:savepoint=>true){@db.rollback_on_exit(:savepoint=>3); throw :foo}}}}
|
1313
|
+
@db.sqls.must_equal ['BEGIN', 'SAVEPOINT autopoint_1','SAVEPOINT autopoint_2','ROLLBACK TO SAVEPOINT autopoint_2', 'ROLLBACK TO SAVEPOINT autopoint_1', 'ROLLBACK']
|
1314
|
+
lambda{@db.transaction{@db.transaction(:savepoint=>true){@db.transaction(:savepoint=>true){@db.rollback_on_exit(:savepoint=>3); return true}}}}.call
|
1315
|
+
@db.sqls.must_equal ['BEGIN', 'SAVEPOINT autopoint_1','SAVEPOINT autopoint_2','ROLLBACK TO SAVEPOINT autopoint_2', 'ROLLBACK TO SAVEPOINT autopoint_1', 'ROLLBACK']
|
1316
|
+
end
|
1317
|
+
|
1318
|
+
it "should have rollback_on_exit with :savepoint and :cancel option will cause the transaction to commit on exit" do
|
1319
|
+
@db.transaction{@db.rollback_on_exit(:savepoint=>true, :cancel=>true)}.must_be_nil
|
1320
|
+
@db.sqls.must_equal ['BEGIN', 'COMMIT']
|
1321
|
+
@db.transaction{@db.rollback_on_exit(:savepoint=>true); @db.rollback_on_exit(:savepoint=>true, :cancel=>true)}.must_be_nil
|
1322
|
+
@db.sqls.must_equal ['BEGIN', 'COMMIT']
|
1323
|
+
end
|
1324
|
+
|
1325
|
+
it "should have rollback_on_exit with :savepoint option called at different levels work correctly" do
|
1326
|
+
@db.transaction{@db.rollback_on_exit(:savepoint=>true); @db.transaction(:savepoint=>true){@db.rollback_on_exit(:savepoint=>true)}}.must_be_nil
|
1327
|
+
@db.sqls.must_equal ['BEGIN', 'SAVEPOINT autopoint_1','ROLLBACK TO SAVEPOINT autopoint_1', 'ROLLBACK']
|
1328
|
+
|
1329
|
+
@db.transaction{@db.transaction(:savepoint=>true){@db.rollback_on_exit(:savepoint=>true); @db.transaction(:savepoint=>true){@db.rollback_on_exit(:savepoint=>true)}}}.must_be_nil
|
1330
|
+
@db.sqls.must_equal ['BEGIN', 'SAVEPOINT autopoint_1', 'SAVEPOINT autopoint_2','ROLLBACK TO SAVEPOINT autopoint_2', 'ROLLBACK TO SAVEPOINT autopoint_1', 'COMMIT']
|
1331
|
+
|
1332
|
+
@db.transaction{@db.transaction(:savepoint=>true){@db.rollback_on_exit(:savepoint=>true); @db.transaction(:savepoint=>true){@db.rollback_on_exit(:savepoint=>true, :cancel=>true)}}}.must_be_nil
|
1333
|
+
@db.sqls.must_equal ['BEGIN', 'SAVEPOINT autopoint_1', 'SAVEPOINT autopoint_2','RELEASE SAVEPOINT autopoint_2', 'ROLLBACK TO SAVEPOINT autopoint_1', 'COMMIT']
|
1334
|
+
|
1335
|
+
@db.transaction{@db.transaction(:savepoint=>true){@db.rollback_on_exit(:savepoint=>true); @db.transaction(:savepoint=>true){@db.rollback_on_exit(:savepoint=>2, :cancel=>true)}}}.must_be_nil
|
1336
|
+
@db.sqls.must_equal ['BEGIN', 'SAVEPOINT autopoint_1', 'SAVEPOINT autopoint_2','RELEASE SAVEPOINT autopoint_2', 'RELEASE SAVEPOINT autopoint_1', 'COMMIT']
|
1337
|
+
|
1338
|
+
@db.transaction{@db.transaction(:savepoint=>true){@db.rollback_on_exit(:savepoint=>true); @db.transaction(:savepoint=>true){@db.rollback_on_exit(:savepoint=>3, :cancel=>true)}}}.must_be_nil
|
1339
|
+
@db.sqls.must_equal ['BEGIN', 'SAVEPOINT autopoint_1', 'SAVEPOINT autopoint_2','RELEASE SAVEPOINT autopoint_2', 'RELEASE SAVEPOINT autopoint_1', 'COMMIT']
|
1340
|
+
|
1341
|
+
@db.transaction{@db.transaction(:savepoint=>true){@db.rollback_on_exit(:savepoint=>true); @db.transaction(:savepoint=>true){@db.rollback_on_exit(:savepoint=>4, :cancel=>true)}}}.must_be_nil
|
1342
|
+
@db.sqls.must_equal ['BEGIN', 'SAVEPOINT autopoint_1', 'SAVEPOINT autopoint_2','RELEASE SAVEPOINT autopoint_2', 'RELEASE SAVEPOINT autopoint_1', 'COMMIT']
|
1343
|
+
end
|
1344
|
+
end
|
1345
|
+
|
1346
|
+
describe "Database#transaction without savepoint support" do
|
1347
|
+
before do
|
1348
|
+
@db = Sequel.mock(:servers=>{:test=>{}})
|
1349
|
+
@db.define_singleton_method(:supports_savepoints?){false}
|
1350
|
+
end
|
1351
|
+
|
1352
|
+
it "should not create savepoint if inside a transaction when :savepoint=>:only is used" do
|
1353
|
+
@db.transaction{@db.transaction(:savepoint=>:only){}}
|
1354
|
+
@db.sqls.must_equal ['BEGIN', 'COMMIT']
|
1355
|
+
end
|
1356
|
+
|
1357
|
+
it "should not automatically use a savepoint if :rollback=>:always given inside a transaction" do
|
1358
|
+
proc do
|
1359
|
+
@db.transaction do
|
1360
|
+
@db.transaction(:rollback=>:always) do
|
1361
|
+
@db.get(1)
|
1362
|
+
end
|
1363
|
+
end
|
1364
|
+
end.must_raise Sequel::Error
|
1365
|
+
@db.sqls.must_equal ["BEGIN", "ROLLBACK"]
|
1366
|
+
end
|
1367
|
+
|
1368
|
+
include DatabaseTransactionSpecs
|
1369
|
+
end
|
1370
|
+
|
1371
|
+
describe "Sequel.transaction" do
|
1372
|
+
before do
|
1373
|
+
@sqls = []
|
1374
|
+
@db1 = Sequel.mock(:append=>'1', :sqls=>@sqls)
|
1375
|
+
@db2 = Sequel.mock(:append=>'2', :sqls=>@sqls)
|
1376
|
+
@db3 = Sequel.mock(:append=>'3', :sqls=>@sqls)
|
1377
|
+
end
|
1378
|
+
|
1379
|
+
it "should run the block inside transacitons on all three databases" do
|
1380
|
+
Sequel.transaction([@db1, @db2, @db3]){1}.must_equal 1
|
1381
|
+
@sqls.must_equal ['BEGIN -- 1', 'BEGIN -- 2', 'BEGIN -- 3', 'COMMIT -- 3', 'COMMIT -- 2', 'COMMIT -- 1']
|
1382
|
+
end
|
1383
|
+
|
1384
|
+
it "should pass options to all the blocks" do
|
1385
|
+
Sequel.transaction([@db1, @db2, @db3], :rollback=>:always){1}.must_equal 1
|
1386
|
+
@sqls.must_equal ['BEGIN -- 1', 'BEGIN -- 2', 'BEGIN -- 3', 'ROLLBACK -- 3', 'ROLLBACK -- 2', 'ROLLBACK -- 1']
|
1387
|
+
end
|
1388
|
+
|
1389
|
+
it "should handle Sequel::Rollback exceptions raised by the block to rollback on all databases" do
|
1390
|
+
Sequel.transaction([@db1, @db2, @db3]){raise Sequel::Rollback}.must_be_nil
|
1391
|
+
@sqls.must_equal ['BEGIN -- 1', 'BEGIN -- 2', 'BEGIN -- 3', 'ROLLBACK -- 3', 'ROLLBACK -- 2', 'ROLLBACK -- 1']
|
1392
|
+
end
|
1393
|
+
|
1394
|
+
it "should handle nested transactions" do
|
1395
|
+
Sequel.transaction([@db1, @db2, @db3]){Sequel.transaction([@db1, @db2, @db3]){1}}.must_equal 1
|
1396
|
+
@sqls.must_equal ['BEGIN -- 1', 'BEGIN -- 2', 'BEGIN -- 3', 'COMMIT -- 3', 'COMMIT -- 2', 'COMMIT -- 1']
|
1397
|
+
end
|
1398
|
+
|
1399
|
+
it "should handle savepoints" do
|
1400
|
+
Sequel.transaction([@db1, @db2, @db3]){Sequel.transaction([@db1, @db2, @db3], :savepoint=>true){1}}.must_equal 1
|
1401
|
+
@sqls.must_equal ['BEGIN -- 1', 'BEGIN -- 2', 'BEGIN -- 3',
|
1402
|
+
'SAVEPOINT autopoint_1 -- 1', 'SAVEPOINT autopoint_1 -- 2', 'SAVEPOINT autopoint_1 -- 3',
|
1403
|
+
'RELEASE SAVEPOINT autopoint_1 -- 3', 'RELEASE SAVEPOINT autopoint_1 -- 2', 'RELEASE SAVEPOINT autopoint_1 -- 1',
|
1404
|
+
'COMMIT -- 3', 'COMMIT -- 2', 'COMMIT -- 1']
|
1405
|
+
end
|
1406
|
+
end
|
1407
|
+
|
1408
|
+
describe "Database#transaction with savepoints" do
|
1409
|
+
before do
|
1410
|
+
@db = Sequel.mock
|
1411
|
+
end
|
1412
|
+
|
1413
|
+
it "should wrap the supplied block with BEGIN + COMMIT statements" do
|
1414
|
+
@db.transaction {@db.execute 'DROP TABLE test;'}
|
1415
|
+
@db.sqls.must_equal ['BEGIN', 'DROP TABLE test;', 'COMMIT']
|
1416
|
+
end
|
1417
|
+
|
1418
|
+
it "should use savepoints if given the :savepoint option" do
|
1419
|
+
@db.transaction{@db.transaction(:savepoint=>true){@db.execute 'DROP TABLE test;'}}
|
1420
|
+
@db.sqls.must_equal ['BEGIN', 'SAVEPOINT autopoint_1', 'DROP TABLE test;', 'RELEASE SAVEPOINT autopoint_1', 'COMMIT']
|
1421
|
+
end
|
1422
|
+
|
1423
|
+
it "should use savepoints if surrounding transaction uses :auto_savepoint option" do
|
1424
|
+
@db.transaction(:auto_savepoint=>true){@db.transaction{@db.execute 'DROP TABLE test;'}}
|
1425
|
+
@db.sqls.must_equal ['BEGIN', 'SAVEPOINT autopoint_1', 'DROP TABLE test;', 'RELEASE SAVEPOINT autopoint_1', 'COMMIT']
|
1426
|
+
|
1427
|
+
@db.transaction(:auto_savepoint=>true){@db.transaction{@db.transaction{@db.execute 'DROP TABLE test;'}}}
|
1428
|
+
@db.sqls.must_equal ['BEGIN', 'SAVEPOINT autopoint_1', 'DROP TABLE test;', 'RELEASE SAVEPOINT autopoint_1', 'COMMIT']
|
1429
|
+
|
1430
|
+
@db.transaction(:auto_savepoint=>true){@db.transaction(:auto_savepoint=>true){@db.transaction{@db.execute 'DROP TABLE test;'}}}
|
1431
|
+
@db.sqls.must_equal ['BEGIN', 'SAVEPOINT autopoint_1', 'SAVEPOINT autopoint_2', 'DROP TABLE test;', 'RELEASE SAVEPOINT autopoint_2', 'RELEASE SAVEPOINT autopoint_1', 'COMMIT']
|
1432
|
+
|
1433
|
+
@db.transaction{@db.transaction(:auto_savepoint=>true, :savepoint=>true){@db.transaction{@db.execute 'DROP TABLE test;'}}}
|
1434
|
+
@db.sqls.must_equal ['BEGIN', 'SAVEPOINT autopoint_1', 'SAVEPOINT autopoint_2', 'DROP TABLE test;', 'RELEASE SAVEPOINT autopoint_2', 'RELEASE SAVEPOINT autopoint_1', 'COMMIT']
|
1435
|
+
end
|
1436
|
+
|
1437
|
+
it "should not use savepoints if surrounding transaction uses :auto_savepoint and current transaction uses :savepoint=>false option" do
|
1438
|
+
@db.transaction(:auto_savepoint=>true){@db.transaction(:savepoint=>false){@db.execute 'DROP TABLE test;'}}
|
1439
|
+
@db.sqls.must_equal ['BEGIN', 'DROP TABLE test;', 'COMMIT']
|
1440
|
+
end
|
1441
|
+
|
1442
|
+
it "should not use a savepoint if no transaction is in progress" do
|
1443
|
+
@db.transaction(:savepoint=>true){@db.execute 'DROP TABLE test;'}
|
1444
|
+
@db.sqls.must_equal ['BEGIN', 'DROP TABLE test;', 'COMMIT']
|
1445
|
+
end
|
1446
|
+
|
1447
|
+
it "should reuse the current transaction if no :savepoint option is given" do
|
1448
|
+
@db.transaction{@db.transaction{@db.execute 'DROP TABLE test;'}}
|
1449
|
+
@db.sqls.must_equal ['BEGIN', 'DROP TABLE test;', 'COMMIT']
|
1450
|
+
end
|
1451
|
+
|
1452
|
+
it "should handle returning inside of the block by committing" do
|
1453
|
+
def @db.ret_commit
|
1454
|
+
transaction do
|
1455
|
+
execute 'DROP TABLE test;'
|
1456
|
+
return
|
1457
|
+
end
|
1458
|
+
end
|
1459
|
+
@db.ret_commit
|
1460
|
+
@db.sqls.must_equal ['BEGIN', 'DROP TABLE test;', 'COMMIT']
|
1461
|
+
end
|
1462
|
+
|
1463
|
+
it "should handle returning inside of a savepoint by committing" do
|
1464
|
+
def @db.ret_commit
|
1465
|
+
transaction do
|
1466
|
+
transaction(:savepoint=>true) do
|
1467
|
+
execute 'DROP TABLE test;'
|
1468
|
+
return
|
1469
|
+
end
|
1470
|
+
end
|
1471
|
+
end
|
1472
|
+
@db.ret_commit
|
1473
|
+
@db.sqls.must_equal ['BEGIN', 'SAVEPOINT autopoint_1', 'DROP TABLE test;', 'RELEASE SAVEPOINT autopoint_1', 'COMMIT']
|
1474
|
+
end
|
1475
|
+
|
1476
|
+
it "should issue ROLLBACK if an exception is raised, and re-raise" do
|
1477
|
+
@db.transaction {@db.execute 'DROP TABLE test'; raise RuntimeError} rescue nil
|
1478
|
+
@db.sqls.must_equal ['BEGIN', 'DROP TABLE test', 'ROLLBACK']
|
1479
|
+
|
1480
|
+
proc {@db.transaction {raise RuntimeError}}.must_raise(RuntimeError)
|
1481
|
+
end
|
1482
|
+
|
1483
|
+
it "should issue ROLLBACK SAVEPOINT if an exception is raised inside a savepoint, and re-raise" do
|
1484
|
+
@db.transaction{@db.transaction(:savepoint=>true){@db.execute 'DROP TABLE test'; raise RuntimeError}} rescue nil
|
1485
|
+
@db.sqls.must_equal ['BEGIN', 'SAVEPOINT autopoint_1', 'DROP TABLE test', 'ROLLBACK TO SAVEPOINT autopoint_1', 'ROLLBACK']
|
1486
|
+
|
1487
|
+
proc {@db.transaction {raise RuntimeError}}.must_raise(RuntimeError)
|
1488
|
+
end
|
1489
|
+
|
1490
|
+
it "should issue ROLLBACK if Sequel::Rollback is raised in the transaction" do
|
1491
|
+
@db.transaction do
|
1492
|
+
@db.drop_table(:a)
|
1493
|
+
raise Sequel::Rollback
|
1494
|
+
@db.drop_table(:b)
|
1495
|
+
end
|
1496
|
+
|
1497
|
+
@db.sqls.must_equal ['BEGIN', 'DROP TABLE a', 'ROLLBACK']
|
1498
|
+
end
|
1499
|
+
|
1500
|
+
it "should issue ROLLBACK SAVEPOINT if Sequel::Rollback is raised in a savepoint" do
|
1501
|
+
@db.transaction do
|
1502
|
+
@db.transaction(:savepoint=>true) do
|
1503
|
+
@db.drop_table(:a)
|
1504
|
+
raise Sequel::Rollback
|
1505
|
+
end
|
1506
|
+
@db.drop_table(:b)
|
1507
|
+
end
|
1508
|
+
|
1509
|
+
@db.sqls.must_equal ['BEGIN', 'SAVEPOINT autopoint_1', 'DROP TABLE a', 'ROLLBACK TO SAVEPOINT autopoint_1', 'DROP TABLE b', 'COMMIT']
|
1510
|
+
end
|
1511
|
+
|
1512
|
+
it "should raise database errors when commiting a transaction as Sequel::DatabaseError" do
|
1513
|
+
@db.define_singleton_method(:commit_transaction){raise ArgumentError}
|
1514
|
+
lambda{@db.transaction{}}.must_raise(ArgumentError)
|
1515
|
+
lambda{@db.transaction{@db.transaction(:savepoint=>true){}}}.must_raise(ArgumentError)
|
1516
|
+
|
1517
|
+
@db.define_singleton_method(:database_error_classes){[ArgumentError]}
|
1518
|
+
lambda{@db.transaction{}}.must_raise(Sequel::DatabaseError)
|
1519
|
+
lambda{@db.transaction{@db.transaction(:savepoint=>true){}}}.must_raise(Sequel::DatabaseError)
|
1520
|
+
end
|
1521
|
+
end
|
1522
|
+
|
1523
|
+
describe "A Database adapter with a scheme" do
|
1524
|
+
before do
|
1525
|
+
require_relative '../../lib/sequel/adapters/mock'
|
1526
|
+
@ccc = Class.new(Sequel::Mock::Database)
|
1527
|
+
@ccc.send(:set_adapter_scheme, :ccc)
|
1528
|
+
end
|
1529
|
+
|
1530
|
+
it "should be registered in the ADAPTER_MAP" do
|
1531
|
+
Sequel::ADAPTER_MAP[:ccc].must_equal @ccc
|
1532
|
+
end
|
1533
|
+
|
1534
|
+
it "should give the database_type as the adapter scheme by default" do
|
1535
|
+
@ccc.new.database_type.must_equal :ccc
|
1536
|
+
end
|
1537
|
+
|
1538
|
+
it "should be instantiated when its scheme is specified" do
|
1539
|
+
c = Sequel::Database.connect('ccc://localhost/db')
|
1540
|
+
c.must_be_kind_of(@ccc)
|
1541
|
+
c.opts[:host].must_equal 'localhost'
|
1542
|
+
c.opts[:database].must_equal 'db'
|
1543
|
+
end
|
1544
|
+
|
1545
|
+
it "should be accessible through Sequel.connect" do
|
1546
|
+
c = Sequel.connect 'ccc://localhost/db'
|
1547
|
+
c.must_be_kind_of(@ccc)
|
1548
|
+
c.opts[:host].must_equal 'localhost'
|
1549
|
+
c.opts[:database].must_equal 'db'
|
1550
|
+
end
|
1551
|
+
|
1552
|
+
it "should be accessible through Sequel.connect via a block" do
|
1553
|
+
x = nil
|
1554
|
+
y = nil
|
1555
|
+
z = nil
|
1556
|
+
returnValue = 'anything'
|
1557
|
+
|
1558
|
+
p = proc do |c|
|
1559
|
+
c.must_be_kind_of(@ccc)
|
1560
|
+
c.opts[:host].must_equal 'localhost'
|
1561
|
+
c.opts[:database].must_equal 'db'
|
1562
|
+
z = y
|
1563
|
+
y = x
|
1564
|
+
x = c
|
1565
|
+
returnValue
|
1566
|
+
end
|
1567
|
+
|
1568
|
+
@ccc.class_eval do
|
1569
|
+
self::DISCONNECTS = []
|
1570
|
+
def disconnect
|
1571
|
+
self.class::DISCONNECTS << self
|
1572
|
+
end
|
1573
|
+
end
|
1574
|
+
Sequel::Database.connect('ccc://localhost/db', &p).must_equal returnValue
|
1575
|
+
@ccc::DISCONNECTS.must_equal [x]
|
1576
|
+
|
1577
|
+
Sequel.connect('ccc://localhost/db', &p).must_equal returnValue
|
1578
|
+
@ccc::DISCONNECTS.must_equal [y, x]
|
1579
|
+
|
1580
|
+
Sequel.send(:def_adapter_method, :ccc)
|
1581
|
+
Sequel.ccc('db', :host=>'localhost', &p).must_equal returnValue
|
1582
|
+
@ccc::DISCONNECTS.must_equal [z, y, x]
|
1583
|
+
Sequel.singleton_class.send(:remove_method, :ccc)
|
1584
|
+
end
|
1585
|
+
|
1586
|
+
it "should be accessible through Sequel.<adapter>" do
|
1587
|
+
Sequel.send(:def_adapter_method, :ccc)
|
1588
|
+
|
1589
|
+
# invalid parameters
|
1590
|
+
proc {Sequel.ccc('abc', 'def')}.must_raise(Sequel::Error)
|
1591
|
+
proc {Sequel.ccc(1)}.must_raise(Sequel::Error)
|
1592
|
+
|
1593
|
+
c = Sequel.ccc('mydb')
|
1594
|
+
c.must_be_kind_of(@ccc)
|
1595
|
+
c.opts.values_at(:adapter, :database, :adapter_class).must_equal [:ccc, 'mydb', @ccc]
|
1596
|
+
|
1597
|
+
c = Sequel.ccc('mydb', :host => 'localhost')
|
1598
|
+
c.must_be_kind_of(@ccc)
|
1599
|
+
c.opts.values_at(:adapter, :database, :host, :adapter_class).must_equal [:ccc, 'mydb', 'localhost', @ccc]
|
1600
|
+
|
1601
|
+
c = Sequel.ccc
|
1602
|
+
c.must_be_kind_of(@ccc)
|
1603
|
+
c.opts.values_at(:adapter, :adapter_class).must_equal [:ccc, @ccc]
|
1604
|
+
|
1605
|
+
c = Sequel.ccc(:database => 'mydb', :host => 'localhost')
|
1606
|
+
c.must_be_kind_of(@ccc)
|
1607
|
+
c.opts.values_at(:adapter, :database, :host, :adapter_class).must_equal [:ccc, 'mydb', 'localhost', @ccc]
|
1608
|
+
Sequel.singleton_class.send(:remove_method, :ccc)
|
1609
|
+
end
|
1610
|
+
|
1611
|
+
it "should be accessible through Sequel.connect with options" do
|
1612
|
+
c = Sequel.connect(:adapter => :ccc, :database => 'mydb')
|
1613
|
+
c.must_be_kind_of(@ccc)
|
1614
|
+
c.opts[:adapter].must_equal :ccc
|
1615
|
+
end
|
1616
|
+
|
1617
|
+
it "should be accessible through Sequel.connect with URL parameters" do
|
1618
|
+
c = Sequel.connect 'ccc:///db?host=/tmp&user=test'
|
1619
|
+
c.must_be_kind_of(@ccc)
|
1620
|
+
c.opts[:host].must_equal '/tmp'
|
1621
|
+
c.opts[:database].must_equal 'db'
|
1622
|
+
c.opts[:user].must_equal 'test'
|
1623
|
+
end
|
1624
|
+
|
1625
|
+
it "should have URL parameters take precedence over fixed URL parts" do
|
1626
|
+
c = Sequel.connect 'ccc://localhost/db?host=a&database=b'
|
1627
|
+
c.must_be_kind_of(@ccc)
|
1628
|
+
c.opts[:host].must_equal 'a'
|
1629
|
+
c.opts[:database].must_equal 'b'
|
1630
|
+
end
|
1631
|
+
|
1632
|
+
it "should have hash options take predence over URL parameters or parts" do
|
1633
|
+
c = Sequel.connect 'ccc://localhost/db?host=/tmp', :host=>'a', :database=>'b', :user=>'c'
|
1634
|
+
c.must_be_kind_of(@ccc)
|
1635
|
+
c.opts[:host].must_equal 'a'
|
1636
|
+
c.opts[:database].must_equal 'b'
|
1637
|
+
c.opts[:user].must_equal 'c'
|
1638
|
+
end
|
1639
|
+
|
1640
|
+
it "should unescape values of URL parameters and parts" do
|
1641
|
+
c = Sequel.connect 'ccc:///d%5bb%5d?host=domain%5cinstance'
|
1642
|
+
c.must_be_kind_of(@ccc)
|
1643
|
+
c.opts[:database].must_equal 'd[b]'
|
1644
|
+
c.opts[:host].must_equal 'domain\\instance'
|
1645
|
+
end
|
1646
|
+
|
1647
|
+
it "should test the connection if test parameter is truthy" do
|
1648
|
+
@ccc.send(:define_method, :connect){}
|
1649
|
+
proc{Sequel.connect 'ccc:///d%5bb%5d?test=t'}.must_raise(Sequel::DatabaseConnectionError)
|
1650
|
+
proc{Sequel.connect 'ccc:///d%5bb%5d?test=1'}.must_raise(Sequel::DatabaseConnectionError)
|
1651
|
+
proc{Sequel.connect 'ccc:///d%5bb%5d', :test=>true}.must_raise(Sequel::DatabaseConnectionError)
|
1652
|
+
proc{Sequel.connect 'ccc:///d%5bb%5d', :test=>'t'}.must_raise(Sequel::DatabaseConnectionError)
|
1653
|
+
end
|
1654
|
+
|
1655
|
+
it "should not test the connection if test parameter is not truthy" do
|
1656
|
+
Sequel.connect 'ccc:///d%5bb%5d?test=f'
|
1657
|
+
Sequel.connect 'ccc:///d%5bb%5d?test=0'
|
1658
|
+
Sequel.connect 'ccc:///d%5bb%5d', :test=>false
|
1659
|
+
Sequel.connect 'ccc:///d%5bb%5d', :test=>'f'
|
1660
|
+
end
|
1661
|
+
end
|
1662
|
+
|
1663
|
+
describe "Sequel::Database.connect" do
|
1664
|
+
it "should raise an Error if not given a String or Hash" do
|
1665
|
+
proc{Sequel::Database.connect(nil)}.must_raise(Sequel::Error)
|
1666
|
+
proc{Sequel::Database.connect(Object.new)}.must_raise(Sequel::Error)
|
1667
|
+
end
|
1668
|
+
end
|
1669
|
+
|
1670
|
+
describe "An unknown database scheme" do
|
1671
|
+
it "should raise an error in Sequel::Database.connect" do
|
1672
|
+
proc {Sequel::Database.connect('ddd://localhost/db')}.must_raise(Sequel::AdapterNotFound)
|
1673
|
+
end
|
1674
|
+
|
1675
|
+
it "should raise an error in Sequel.connect" do
|
1676
|
+
proc {Sequel.connect('ddd://localhost/db')}.must_raise(Sequel::AdapterNotFound)
|
1677
|
+
end
|
1678
|
+
end
|
1679
|
+
|
1680
|
+
describe "A broken adapter (lib is there but the class is not)" do
|
1681
|
+
before do
|
1682
|
+
@fn = File.join(File.dirname(__FILE__), '../../lib/sequel/adapters/blah.rb')
|
1683
|
+
File.open(@fn,'a'){}
|
1684
|
+
end
|
1685
|
+
|
1686
|
+
after do
|
1687
|
+
File.delete(@fn)
|
1688
|
+
end
|
1689
|
+
|
1690
|
+
it "should raise an error" do
|
1691
|
+
proc {Sequel.connect('blah://blow')}.must_raise(Sequel::AdapterNotFound)
|
1692
|
+
end
|
1693
|
+
end
|
1694
|
+
|
1695
|
+
describe "Sequel::Database.load_adapter" do
|
1696
|
+
it "should not raise an error if subadapter does not exist" do
|
1697
|
+
Sequel::Database.load_adapter(:foo, :subdir=>'bar').must_be_nil
|
1698
|
+
end
|
1699
|
+
end
|
1700
|
+
|
1701
|
+
describe "A single threaded database" do
|
1702
|
+
after do
|
1703
|
+
Sequel.single_threaded = false
|
1704
|
+
end
|
1705
|
+
|
1706
|
+
it "should use a SingleConnectionPool instead of a ConnectionPool" do
|
1707
|
+
db = Sequel::Database.new(:single_threaded => true){123}
|
1708
|
+
db.pool.must_be_kind_of(Sequel::SingleConnectionPool)
|
1709
|
+
end
|
1710
|
+
|
1711
|
+
it "should be constructable using :single_threaded => true option" do
|
1712
|
+
db = Sequel::Database.new(:single_threaded => true){123}
|
1713
|
+
db.pool.must_be_kind_of(Sequel::SingleConnectionPool)
|
1714
|
+
end
|
1715
|
+
|
1716
|
+
it "should be constructable using Sequel.single_threaded = true" do
|
1717
|
+
Sequel.single_threaded = true
|
1718
|
+
Sequel.single_threaded.must_equal true
|
1719
|
+
db = Sequel::Database.new{123}
|
1720
|
+
db.pool.must_be_kind_of(Sequel::SingleConnectionPool)
|
1721
|
+
end
|
1722
|
+
end
|
1723
|
+
|
1724
|
+
describe "A single threaded database" do
|
1725
|
+
before do
|
1726
|
+
conn = 1234567
|
1727
|
+
@db = Sequel::Database.new(:single_threaded => true)
|
1728
|
+
@db.define_singleton_method(:connect) do |c|
|
1729
|
+
conn += 1
|
1730
|
+
end
|
1731
|
+
end
|
1732
|
+
|
1733
|
+
it "should invoke connection_proc only once" do
|
1734
|
+
@db.pool.hold {|c| c.must_equal 1234568}
|
1735
|
+
@db.pool.hold {|c| c.must_equal 1234568}
|
1736
|
+
end
|
1737
|
+
|
1738
|
+
it "should disconnect correctly" do
|
1739
|
+
def @db.disconnect_connection(c); @dc = c end
|
1740
|
+
def @db.dc; @dc end
|
1741
|
+
x = nil
|
1742
|
+
@db.pool.hold{|c| x = c}
|
1743
|
+
@db.pool.hold{|c| c.must_equal x}
|
1744
|
+
@db.disconnect
|
1745
|
+
@db.dc.must_equal x
|
1746
|
+
end
|
1747
|
+
|
1748
|
+
it "should convert an Exception on connection into a DatabaseConnectionError" do
|
1749
|
+
db = Class.new(Sequel::Database){def connect(*) raise Exception end}.new(:single_threaded => true, :servers=>{}, :test=>false)
|
1750
|
+
proc {db.pool.hold {|c|}}.must_raise(Sequel::DatabaseConnectionError)
|
1751
|
+
end
|
1752
|
+
|
1753
|
+
it "should raise a DatabaseConnectionError if the connection proc returns nil" do
|
1754
|
+
db = Class.new(Sequel::Database){def connect(*) end}.new(:single_threaded => true, :servers=>{}, :test=>false)
|
1755
|
+
proc {db.pool.hold {|c|}}.must_raise(Sequel::DatabaseConnectionError)
|
1756
|
+
end
|
1757
|
+
end
|
1758
|
+
|
1759
|
+
describe "A database" do
|
1760
|
+
after do
|
1761
|
+
Sequel.single_threaded = false
|
1762
|
+
end
|
1763
|
+
|
1764
|
+
it "should have single_threaded? respond to true if in single threaded mode" do
|
1765
|
+
db = Sequel::Database.new(:single_threaded => true){1234}
|
1766
|
+
db.must_be :single_threaded?
|
1767
|
+
|
1768
|
+
db = Sequel::Database.new(:max_options => 1)
|
1769
|
+
db.wont_be :single_threaded?
|
1770
|
+
|
1771
|
+
db = Sequel::Database.new
|
1772
|
+
db.wont_be :single_threaded?
|
1773
|
+
|
1774
|
+
Sequel.single_threaded = true
|
1775
|
+
|
1776
|
+
db = Sequel::Database.new{123}
|
1777
|
+
db.must_be :single_threaded?
|
1778
|
+
|
1779
|
+
db = Sequel::Database.new(:max_options => 4){123}
|
1780
|
+
db.must_be :single_threaded?
|
1781
|
+
end
|
1782
|
+
|
1783
|
+
it "should be able to set loggers via the logger= and loggers= methods" do
|
1784
|
+
db = Sequel::Database.new
|
1785
|
+
s = "I'm a logger"
|
1786
|
+
db.logger = s
|
1787
|
+
db.loggers.must_equal [s]
|
1788
|
+
db.logger = nil
|
1789
|
+
db.loggers.must_equal []
|
1790
|
+
|
1791
|
+
db.loggers = [s]
|
1792
|
+
db.loggers.must_equal [s]
|
1793
|
+
db.loggers = []
|
1794
|
+
db.loggers.must_equal []
|
1795
|
+
|
1796
|
+
t = "I'm also a logger"
|
1797
|
+
db.loggers = [s, t]
|
1798
|
+
db.loggers.must_equal [s,t]
|
1799
|
+
end
|
1800
|
+
end
|
1801
|
+
|
1802
|
+
describe "Database#fetch" do
|
1803
|
+
before do
|
1804
|
+
@db = Sequel.mock(:fetch=>proc{|sql| {:sql => sql}})
|
1805
|
+
end
|
1806
|
+
|
1807
|
+
it "should create a dataset and invoke its fetch_rows method with the given sql" do
|
1808
|
+
sql = nil
|
1809
|
+
@db.fetch('select * from xyz') {|r| sql = r[:sql]}
|
1810
|
+
sql.must_equal 'select * from xyz'
|
1811
|
+
end
|
1812
|
+
|
1813
|
+
it "should format the given sql with any additional arguments" do
|
1814
|
+
sql = nil
|
1815
|
+
@db.fetch('select * from xyz where x = ? and y = ?', 15, 'abc') {|r| sql = r[:sql]}
|
1816
|
+
sql.must_equal "select * from xyz where x = 15 and y = 'abc'"
|
1817
|
+
|
1818
|
+
@db.fetch('select name from table where name = ? or id in ?', 'aman', [3,4,7]) {|r| sql = r[:sql]}
|
1819
|
+
sql.must_equal "select name from table where name = 'aman' or id in (3, 4, 7)"
|
1820
|
+
end
|
1821
|
+
|
1822
|
+
it "should format the given sql with named arguments" do
|
1823
|
+
sql = nil
|
1824
|
+
@db.fetch('select * from xyz where x = :x and y = :y', :x=>15, :y=>'abc') {|r| sql = r[:sql]}
|
1825
|
+
sql.must_equal "select * from xyz where x = 15 and y = 'abc'"
|
1826
|
+
end
|
1827
|
+
|
1828
|
+
it "should return the dataset if no block is given" do
|
1829
|
+
@db.fetch('select * from xyz').must_be_kind_of(Sequel::Dataset)
|
1830
|
+
|
1831
|
+
@db.fetch('select a from b').map {|r| r[:sql]}.must_equal ['select a from b']
|
1832
|
+
|
1833
|
+
@db.fetch('select c from d').inject([]) {|m, r| m << r; m}.must_equal \
|
1834
|
+
[{:sql => 'select c from d'}]
|
1835
|
+
end
|
1836
|
+
|
1837
|
+
it "should return a dataset that always uses the given sql for SELECTs" do
|
1838
|
+
ds = @db.fetch('select * from xyz')
|
1839
|
+
ds.select_sql.must_equal 'select * from xyz'
|
1840
|
+
ds.sql.must_equal 'select * from xyz'
|
1841
|
+
|
1842
|
+
ds = ds.where{price.sql_number < 100}
|
1843
|
+
ds.select_sql.must_equal 'select * from xyz'
|
1844
|
+
ds.sql.must_equal 'select * from xyz'
|
1845
|
+
end
|
1846
|
+
end
|
1847
|
+
|
1848
|
+
|
1849
|
+
describe "Database#[]" do
|
1850
|
+
before do
|
1851
|
+
@db = Sequel.mock
|
1852
|
+
end
|
1853
|
+
|
1854
|
+
it "should return a dataset when symbols are given" do
|
1855
|
+
ds = @db[:items]
|
1856
|
+
ds.must_be_kind_of(Sequel::Dataset)
|
1857
|
+
ds.opts[:from].must_equal [:items]
|
1858
|
+
end
|
1859
|
+
|
1860
|
+
it "should return a dataset when a string is given" do
|
1861
|
+
@db.fetch = proc{|sql| {:sql=>sql}}
|
1862
|
+
sql = nil
|
1863
|
+
@db['select * from xyz where x = ? and y = ?', 15, 'abc'].each {|r| sql = r[:sql]}
|
1864
|
+
sql.must_equal "select * from xyz where x = 15 and y = 'abc'"
|
1865
|
+
end
|
1866
|
+
end
|
1867
|
+
|
1868
|
+
describe "Database#inspect" do
|
1869
|
+
it "should include the class name and the connection url" do
|
1870
|
+
Sequel.connect('mock://foo/bar').inspect.must_equal '#<Sequel::Mock::Database: "mock://foo/bar">'
|
1871
|
+
end
|
1872
|
+
|
1873
|
+
it "should include the class name and the connection options if an options hash was given" do
|
1874
|
+
Sequel.connect(:adapter=>:mock).inspect.must_equal '#<Sequel::Mock::Database: {:adapter=>:mock}>'
|
1875
|
+
end
|
1876
|
+
|
1877
|
+
it "should include the class name, uri, and connection options if uri and options hash was given" do
|
1878
|
+
Sequel.connect('mock://foo', :database=>'bar').inspect.must_equal '#<Sequel::Mock::Database: "mock://foo" {:database=>"bar"}>'
|
1879
|
+
end
|
1880
|
+
end
|
1881
|
+
|
1882
|
+
describe "Database#get" do
|
1883
|
+
before do
|
1884
|
+
@db = Sequel.mock(:fetch=>{:a=>1})
|
1885
|
+
end
|
1886
|
+
|
1887
|
+
it "should use Dataset#get to get a single value" do
|
1888
|
+
@db.get(:a).must_equal 1
|
1889
|
+
@db.sqls.must_equal ['SELECT a LIMIT 1']
|
1890
|
+
|
1891
|
+
@db.get(Sequel.function(:version).as(:version))
|
1892
|
+
@db.sqls.must_equal ['SELECT version() AS version LIMIT 1']
|
1893
|
+
end
|
1894
|
+
|
1895
|
+
it "should accept a block" do
|
1896
|
+
@db.get{a}
|
1897
|
+
@db.sqls.must_equal ['SELECT a LIMIT 1']
|
1898
|
+
|
1899
|
+
@db.get{version(a).as(version)}
|
1900
|
+
@db.sqls.must_equal ['SELECT version(a) AS version LIMIT 1']
|
1901
|
+
end
|
1902
|
+
|
1903
|
+
it "should work when an alias cannot be determined" do
|
1904
|
+
@db.get(1).must_equal 1
|
1905
|
+
@db.sqls.must_equal ['SELECT 1 AS v LIMIT 1']
|
1906
|
+
end
|
1907
|
+
end
|
1908
|
+
|
1909
|
+
describe "Database#call" do
|
1910
|
+
it "should call the prepared statement with the given name" do
|
1911
|
+
db = Sequel.mock(:fetch=>{:id => 1, :x => 1})
|
1912
|
+
db[:items].prepare(:select, :select_all)
|
1913
|
+
db.call(:select_all).must_equal [{:id => 1, :x => 1}]
|
1914
|
+
db[:items].filter(:n=>:$n).prepare(:select, :select_n)
|
1915
|
+
db.call(:select_n, :n=>1).must_equal [{:id => 1, :x => 1}]
|
1916
|
+
db.sqls.must_equal ['SELECT * FROM items', 'SELECT * FROM items WHERE (n = 1)']
|
1917
|
+
end
|
1918
|
+
end
|
1919
|
+
|
1920
|
+
describe "Database#server_opts" do
|
1921
|
+
it "should return the general opts if no :servers option is used" do
|
1922
|
+
opts = {:host=>1, :database=>2}
|
1923
|
+
Sequel::Database.new(opts).send(:server_opts, :server1)[:host].must_equal 1
|
1924
|
+
end
|
1925
|
+
|
1926
|
+
it "should return the general opts if entry for the server is present in the :servers option" do
|
1927
|
+
opts = {:host=>1, :database=>2, :servers=>{}}
|
1928
|
+
Sequel::Database.new(opts).send(:server_opts, :server1)[:host].must_equal 1
|
1929
|
+
end
|
1930
|
+
|
1931
|
+
it "should return the general opts merged with the specific opts if given as a hash" do
|
1932
|
+
opts = {:host=>1, :database=>2, :servers=>{:server1=>{:host=>3}}}
|
1933
|
+
Sequel::Database.new(opts).send(:server_opts, :server1)[:host].must_equal 3
|
1934
|
+
end
|
1935
|
+
|
1936
|
+
it "should return the sgeneral opts merged with the specific opts if given as a proc" do
|
1937
|
+
opts = {:host=>1, :database=>2, :servers=>{:server1=>proc{|db| {:host=>4}}}}
|
1938
|
+
Sequel::Database.new(opts).send(:server_opts, :server1)[:host].must_equal 4
|
1939
|
+
end
|
1940
|
+
|
1941
|
+
it "should raise an error if the specific opts is not a proc or hash" do
|
1942
|
+
opts = {:host=>1, :database=>2, :servers=>{:server1=>2}}
|
1943
|
+
proc{Sequel::Database.new(opts).send(:server_opts, :server1)}.must_raise(Sequel::Error)
|
1944
|
+
end
|
1945
|
+
|
1946
|
+
it "should return the general opts merged with given opts if given opts is a Hash" do
|
1947
|
+
opts = {:host=>1, :database=>2}
|
1948
|
+
Sequel::Database.new(opts).send(:server_opts, :host=>2)[:host].must_equal 2
|
1949
|
+
end
|
1950
|
+
end
|
1951
|
+
|
1952
|
+
describe "Database#add_servers" do
|
1953
|
+
before do
|
1954
|
+
@db = Sequel.mock(:host=>1, :database=>2, :servers=>{:server1=>{:host=>3}})
|
1955
|
+
end
|
1956
|
+
|
1957
|
+
it "should add new servers to the connection pool" do
|
1958
|
+
@db.synchronize{|c| c.opts[:host].must_equal 1}
|
1959
|
+
@db.synchronize(:server1){|c| c.opts[:host].must_equal 3}
|
1960
|
+
@db.synchronize(:server2){|c| c.opts[:host].must_equal 1}
|
1961
|
+
|
1962
|
+
@db.add_servers(:server2=>{:host=>6})
|
1963
|
+
@db.synchronize{|c| c.opts[:host].must_equal 1}
|
1964
|
+
@db.synchronize(:server1){|c| c.opts[:host].must_equal 3}
|
1965
|
+
@db.synchronize(:server2){|c| c.opts[:host].must_equal 6}
|
1966
|
+
|
1967
|
+
@db.disconnect
|
1968
|
+
@db.synchronize{|c| c.opts[:host].must_equal 1}
|
1969
|
+
@db.synchronize(:server1){|c| c.opts[:host].must_equal 3}
|
1970
|
+
@db.synchronize(:server2){|c| c.opts[:host].must_equal 6}
|
1971
|
+
end
|
1972
|
+
|
1973
|
+
it "should replace options for future connections to existing servers" do
|
1974
|
+
@db.synchronize{|c| c.opts[:host].must_equal 1}
|
1975
|
+
@db.synchronize(:server1){|c| c.opts[:host].must_equal 3}
|
1976
|
+
@db.synchronize(:server2){|c| c.opts[:host].must_equal 1}
|
1977
|
+
|
1978
|
+
@db.add_servers(:default=>proc{{:host=>4}}, :server1=>{:host=>8})
|
1979
|
+
@db.synchronize{|c| c.opts[:host].must_equal 1}
|
1980
|
+
@db.synchronize(:server1){|c| c.opts[:host].must_equal 3}
|
1981
|
+
@db.synchronize(:server2){|c| c.opts[:host].must_equal 1}
|
1982
|
+
|
1983
|
+
@db.disconnect
|
1984
|
+
@db.synchronize{|c| c.opts[:host].must_equal 4}
|
1985
|
+
@db.synchronize(:server1){|c| c.opts[:host].must_equal 8}
|
1986
|
+
@db.synchronize(:server2){|c| c.opts[:host].must_equal 4}
|
1987
|
+
end
|
1988
|
+
|
1989
|
+
it "should raise error for unsharded pool" do
|
1990
|
+
proc{Sequel.mock.add_servers(:server1=>{})}.must_raise Sequel::Error
|
1991
|
+
end
|
1992
|
+
end
|
1993
|
+
|
1994
|
+
describe "Database#remove_servers" do
|
1995
|
+
before do
|
1996
|
+
@db = Sequel.mock(:host=>1, :database=>2, :servers=>{:server1=>{:host=>3}, :server2=>{:host=>4}})
|
1997
|
+
end
|
1998
|
+
|
1999
|
+
it "should remove servers from the connection pool" do
|
2000
|
+
@db.synchronize{|c| c.opts[:host].must_equal 1}
|
2001
|
+
@db.synchronize(:server1){|c| c.opts[:host].must_equal 3}
|
2002
|
+
@db.synchronize(:server2){|c| c.opts[:host].must_equal 4}
|
2003
|
+
|
2004
|
+
@db.remove_servers(:server1, :server2)
|
2005
|
+
@db.synchronize{|c| c.opts[:host].must_equal 1}
|
2006
|
+
@db.synchronize(:server1){|c| c.opts[:host].must_equal 1}
|
2007
|
+
@db.synchronize(:server2){|c| c.opts[:host].must_equal 1}
|
2008
|
+
end
|
2009
|
+
|
2010
|
+
it "should accept arrays of symbols" do
|
2011
|
+
@db.remove_servers([:server1, :server2])
|
2012
|
+
@db.synchronize{|c| c.opts[:host].must_equal 1}
|
2013
|
+
@db.synchronize(:server1){|c| c.opts[:host].must_equal 1}
|
2014
|
+
@db.synchronize(:server2){|c| c.opts[:host].must_equal 1}
|
2015
|
+
end
|
2016
|
+
|
2017
|
+
it "should allow removal while connections are still open" do
|
2018
|
+
@db.synchronize do |c1|
|
2019
|
+
c1.opts[:host].must_equal 1
|
2020
|
+
@db.synchronize(:server1) do |c2|
|
2021
|
+
c2.opts[:host].must_equal 3
|
2022
|
+
@db.synchronize(:server2) do |c3|
|
2023
|
+
c3.opts[:host].must_equal 4
|
2024
|
+
@db.remove_servers(:server1, :server2)
|
2025
|
+
@db.synchronize(:server1) do |c4|
|
2026
|
+
c4.wont_equal c2
|
2027
|
+
c4.must_equal c1
|
2028
|
+
c4.opts[:host].must_equal 1
|
2029
|
+
@db.synchronize(:server2) do |c5|
|
2030
|
+
c5.wont_equal c3
|
2031
|
+
c5.must_equal c1
|
2032
|
+
c5.opts[:host].must_equal 1
|
2033
|
+
end
|
2034
|
+
end
|
2035
|
+
c3.opts[:host].must_equal 4
|
2036
|
+
end
|
2037
|
+
c2.opts[:host].must_equal 3
|
2038
|
+
end
|
2039
|
+
c1.opts[:host].must_equal 1
|
2040
|
+
end
|
2041
|
+
end
|
2042
|
+
|
2043
|
+
it "should raise error for unsharded pool" do
|
2044
|
+
proc{Sequel.mock.remove_servers(:server1)}.must_raise Sequel::Error
|
2045
|
+
end
|
2046
|
+
end
|
2047
|
+
|
2048
|
+
describe "Database#raise_error" do
|
2049
|
+
before do
|
2050
|
+
@db = Sequel.mock
|
2051
|
+
end
|
2052
|
+
|
2053
|
+
it "should reraise if the exception class is not in opts[:classes]" do
|
2054
|
+
e = Class.new(StandardError)
|
2055
|
+
proc{@db.send(:raise_error, e.new(''), :classes=>[])}.must_raise(e)
|
2056
|
+
end
|
2057
|
+
|
2058
|
+
it "should convert the exception to a DatabaseError if the exception class is in opts[:classes]" do
|
2059
|
+
proc{@db.send(:raise_error, Interrupt.new(''), :classes=>[Interrupt])}.must_raise(Sequel::DatabaseError)
|
2060
|
+
end
|
2061
|
+
|
2062
|
+
it "should convert the exception to a DatabaseError if opts[:classes] if not present" do
|
2063
|
+
proc{@db.send(:raise_error, Interrupt.new(''))}.must_raise(Sequel::DatabaseError)
|
2064
|
+
end
|
2065
|
+
|
2066
|
+
it "should convert the exception to a DatabaseDisconnectError if opts[:disconnect] is true" do
|
2067
|
+
proc{@db.send(:raise_error, Interrupt.new(''), :disconnect=>true)}.must_raise(Sequel::DatabaseDisconnectError)
|
2068
|
+
end
|
2069
|
+
|
2070
|
+
it "should convert the exception to an appropriate error if exception message matches regexp" do
|
2071
|
+
def @db.database_error_regexps
|
2072
|
+
{/foo/ => Sequel::DatabaseDisconnectError, /bar/ => Sequel::ConstraintViolation}
|
2073
|
+
end
|
2074
|
+
e = Class.new(StandardError)
|
2075
|
+
proc{@db.send(:raise_error, e.new('foo'))}.must_raise(Sequel::DatabaseDisconnectError)
|
2076
|
+
proc{@db.send(:raise_error, e.new('bar'))}.must_raise(Sequel::ConstraintViolation)
|
2077
|
+
end
|
2078
|
+
end
|
2079
|
+
|
2080
|
+
describe "Database#typecast_value" do
|
2081
|
+
before do
|
2082
|
+
@db = Sequel::Database.new
|
2083
|
+
end
|
2084
|
+
|
2085
|
+
it "should raise an InvalidValue when given an invalid value" do
|
2086
|
+
proc{@db.typecast_value(:integer, "13a")}.must_raise(Sequel::InvalidValue)
|
2087
|
+
proc{@db.typecast_value(:float, "4.e2")}.must_raise(Sequel::InvalidValue)
|
2088
|
+
proc{@db.typecast_value(:decimal, :invalid_value)}.must_raise(Sequel::InvalidValue)
|
2089
|
+
proc{@db.typecast_value(:date, Object.new)}.must_raise(Sequel::InvalidValue)
|
2090
|
+
proc{@db.typecast_value(:date, 'a')}.must_raise(Sequel::InvalidValue)
|
2091
|
+
proc{@db.typecast_value(:time, Date.new)}.must_raise(Sequel::InvalidValue)
|
2092
|
+
proc{@db.typecast_value(:datetime, 4)}.must_raise(Sequel::InvalidValue)
|
2093
|
+
end
|
2094
|
+
|
2095
|
+
it "should raise an InvalidValue when given an invalid timezone value" do
|
2096
|
+
begin
|
2097
|
+
Sequel.default_timezone = :blah
|
2098
|
+
proc{@db.typecast_value(:datetime, [2019, 2, 3, 4, 5, 6])}.must_raise(Sequel::InvalidValue)
|
2099
|
+
Sequel.datetime_class = DateTime
|
2100
|
+
proc{@db.typecast_value(:datetime, [2019, 2, 3, 4, 5, 6])}.must_raise(Sequel::InvalidValue)
|
2101
|
+
ensure
|
2102
|
+
Sequel.default_timezone = nil
|
2103
|
+
Sequel.datetime_class = Time
|
2104
|
+
end
|
2105
|
+
end
|
2106
|
+
|
2107
|
+
it "should handle integers with leading 0 as base 10" do
|
2108
|
+
@db.typecast_value(:integer, "013").must_equal 13
|
2109
|
+
@db.typecast_value(:integer, "08").must_equal 8
|
2110
|
+
@db.typecast_value(:integer, "000013").must_equal 13
|
2111
|
+
@db.typecast_value(:integer, "000008").must_equal 8
|
2112
|
+
end
|
2113
|
+
|
2114
|
+
it "should handle integers with leading 0x as base 16" do
|
2115
|
+
@db.typecast_value(:integer, "0x013").must_equal 19
|
2116
|
+
@db.typecast_value(:integer, "0x80").must_equal 128
|
2117
|
+
end
|
2118
|
+
|
2119
|
+
it "should typecast blobs as as Sequel::SQL::Blob" do
|
2120
|
+
v = @db.typecast_value(:blob, "0x013")
|
2121
|
+
v.must_be_kind_of(Sequel::SQL::Blob)
|
2122
|
+
v.must_equal Sequel::SQL::Blob.new("0x013")
|
2123
|
+
@db.typecast_value(:blob, v).object_id.must_equal v.object_id
|
2124
|
+
end
|
2125
|
+
|
2126
|
+
it "should typecast boolean values to true, false, or nil" do
|
2127
|
+
@db.typecast_value(:boolean, false).must_equal false
|
2128
|
+
@db.typecast_value(:boolean, 0).must_equal false
|
2129
|
+
@db.typecast_value(:boolean, "0").must_equal false
|
2130
|
+
@db.typecast_value(:boolean, 'f').must_equal false
|
2131
|
+
@db.typecast_value(:boolean, 'false').must_equal false
|
2132
|
+
@db.typecast_value(:boolean, true).must_equal true
|
2133
|
+
@db.typecast_value(:boolean, 1).must_equal true
|
2134
|
+
@db.typecast_value(:boolean, '1').must_equal true
|
2135
|
+
@db.typecast_value(:boolean, 't').must_equal true
|
2136
|
+
@db.typecast_value(:boolean, 'true').must_equal true
|
2137
|
+
@db.typecast_value(:boolean, '').must_be_nil
|
2138
|
+
end
|
2139
|
+
|
2140
|
+
it "should typecast date values to Date" do
|
2141
|
+
@db.typecast_value(:date, Date.today).must_equal Date.today
|
2142
|
+
@db.typecast_value(:date, DateTime.now).must_equal Date.today
|
2143
|
+
@db.typecast_value(:date, Time.now).must_equal Date.today
|
2144
|
+
@db.typecast_value(:date, Date.today.to_s).must_equal Date.today
|
2145
|
+
@db.typecast_value(:date, :year=>Date.today.year, :month=>Date.today.month, :day=>Date.today.day).must_equal Date.today
|
2146
|
+
end
|
2147
|
+
|
2148
|
+
it "should have Sequel.application_to_database_timestamp convert to Sequel.database_timezone" do
|
2149
|
+
begin
|
2150
|
+
t = Time.utc(2011, 1, 2, 3, 4, 5) # UTC Time
|
2151
|
+
t2 = Time.mktime(2011, 1, 2, 3, 4, 5) # Local Time
|
2152
|
+
t3 = Time.utc(2011, 1, 2, 3, 4, 5) - (t - t2) # Local Time in UTC Time
|
2153
|
+
t4 = Time.mktime(2011, 1, 2, 3, 4, 5) + (t - t2) # UTC Time in Local Time
|
2154
|
+
Sequel.application_timezone = :utc
|
2155
|
+
Sequel.database_timezone = :local
|
2156
|
+
Sequel.application_to_database_timestamp(t).must_equal t4
|
2157
|
+
Sequel.application_timezone = :local
|
2158
|
+
Sequel.database_timezone = :utc
|
2159
|
+
Sequel.application_to_database_timestamp(t2).must_equal t3
|
2160
|
+
ensure
|
2161
|
+
Sequel.default_timezone = nil
|
2162
|
+
end
|
2163
|
+
end
|
2164
|
+
|
2165
|
+
it "should have Database#to_application_timestamp convert values using the database's timezone" do
|
2166
|
+
begin
|
2167
|
+
t = Time.utc(2011, 1, 2, 3, 4, 5) # UTC Time
|
2168
|
+
t2 = Time.mktime(2011, 1, 2, 3, 4, 5) # Local Time
|
2169
|
+
t3 = Time.utc(2011, 1, 2, 3, 4, 5) - (t - t2) # Local Time in UTC Time
|
2170
|
+
t4 = Time.mktime(2011, 1, 2, 3, 4, 5) + (t - t2) # UTC Time in Local Time
|
2171
|
+
Sequel.default_timezone = :utc
|
2172
|
+
@db.to_application_timestamp('2011-01-02 03:04:05').must_equal t
|
2173
|
+
Sequel.database_timezone = :local
|
2174
|
+
@db.to_application_timestamp('2011-01-02 03:04:05').must_equal t3
|
2175
|
+
Sequel.default_timezone = :local
|
2176
|
+
@db.to_application_timestamp('2011-01-02 03:04:05').must_equal t2
|
2177
|
+
Sequel.database_timezone = :utc
|
2178
|
+
@db.to_application_timestamp('2011-01-02 03:04:05').must_equal t4
|
2179
|
+
|
2180
|
+
Sequel.default_timezone = :utc
|
2181
|
+
@db.timezone = :local
|
2182
|
+
@db.to_application_timestamp('2011-01-02 03:04:05').must_equal t3
|
2183
|
+
Sequel.default_timezone = :local
|
2184
|
+
@db.timezone = :utc
|
2185
|
+
@db.to_application_timestamp('2011-01-02 03:04:05').must_equal t4
|
2186
|
+
ensure
|
2187
|
+
Sequel.default_timezone = nil
|
2188
|
+
end
|
2189
|
+
end
|
2190
|
+
|
2191
|
+
it "should typecast datetime values to Sequel.datetime_class with correct timezone handling" do
|
2192
|
+
t = Time.utc(2011, 1, 2, 3, 4, 5, 500000) # UTC Time
|
2193
|
+
t2 = Time.mktime(2011, 1, 2, 3, 4, 5, 500000) # Local Time
|
2194
|
+
t3 = Time.utc(2011, 1, 2, 3, 4, 5, 500000) - (t - t2) # Local Time in UTC Time
|
2195
|
+
t4 = Time.mktime(2011, 1, 2, 3, 4, 5, 500000) + (t - t2) # UTC Time in Local Time
|
2196
|
+
secs = Rational(11, 2)
|
2197
|
+
r1 = Rational(t2.utc_offset, 86400)
|
2198
|
+
r2 = Rational((t - t2).to_i, 86400)
|
2199
|
+
dt = DateTime.civil(2011, 1, 2, 3, 4, secs)
|
2200
|
+
dt2 = DateTime.civil(2011, 1, 2, 3, 4, secs, r1)
|
2201
|
+
dt3 = DateTime.civil(2011, 1, 2, 3, 4, secs) - r2
|
2202
|
+
dt4 = DateTime.civil(2011, 1, 2, 3, 4, secs, r1) + r2
|
2203
|
+
|
2204
|
+
t.must_equal t4
|
2205
|
+
t2.must_equal t3
|
2206
|
+
dt.must_equal dt4
|
2207
|
+
dt2.must_equal dt3
|
2208
|
+
|
2209
|
+
check = proc do |i, o|
|
2210
|
+
v = @db.typecast_value(:datetime, i)
|
2211
|
+
v.must_equal o
|
2212
|
+
if o.is_a?(Time)
|
2213
|
+
v.utc_offset.must_equal o.utc_offset
|
2214
|
+
else
|
2215
|
+
v.offset.must_equal o.offset
|
2216
|
+
end
|
2217
|
+
end
|
2218
|
+
@db.extend_datasets(Module.new{def supports_timestamp_timezones?; true; end})
|
2219
|
+
begin
|
2220
|
+
@db.typecast_value(:datetime, dt).must_equal t
|
2221
|
+
@db.typecast_value(:datetime, dt2).must_equal t2
|
2222
|
+
@db.typecast_value(:datetime, t).must_equal t
|
2223
|
+
@db.typecast_value(:datetime, t2).must_equal t2
|
2224
|
+
@db.typecast_value(:datetime, @db.literal(dt)[1...-1]).must_equal t
|
2225
|
+
@db.typecast_value(:datetime, dt.strftime('%F %T.%N')).must_equal t2
|
2226
|
+
@db.typecast_value(:datetime, Date.civil(2011, 1, 2)).must_equal Time.mktime(2011, 1, 2, 0, 0, 0)
|
2227
|
+
@db.typecast_value(:datetime, :year=>dt.year, :month=>dt.month, :day=>dt.day, :hour=>dt.hour, :minute=>dt.min, :second=>dt.sec, :nanos=>500000000).must_equal t2
|
2228
|
+
|
2229
|
+
Sequel.datetime_class = DateTime
|
2230
|
+
@db.typecast_value(:datetime, dt).must_equal dt
|
2231
|
+
@db.typecast_value(:datetime, dt2).must_equal dt2
|
2232
|
+
@db.typecast_value(:datetime, t).must_equal dt
|
2233
|
+
@db.typecast_value(:datetime, t2).must_equal dt2
|
2234
|
+
@db.typecast_value(:datetime, @db.literal(dt)[1...-1]).must_equal dt
|
2235
|
+
@db.typecast_value(:datetime, dt.strftime('%F %T.%N')).must_equal dt
|
2236
|
+
@db.typecast_value(:datetime, Date.civil(2011, 1, 2)).must_equal DateTime.civil(2011, 1, 2, 0, 0, 0)
|
2237
|
+
@db.typecast_value(:datetime, :year=>dt.year, :month=>dt.month, :day=>dt.day, :hour=>dt.hour, :minute=>dt.min, :second=>dt.sec, :nanos=>500000000).must_equal dt
|
2238
|
+
|
2239
|
+
Sequel.application_timezone = :utc
|
2240
|
+
Sequel.typecast_timezone = :local
|
2241
|
+
Sequel.datetime_class = Time
|
2242
|
+
check[dt, t]
|
2243
|
+
check[dt2, t3]
|
2244
|
+
check[t, t]
|
2245
|
+
check[t2, t3]
|
2246
|
+
check[@db.literal(dt)[1...-1], t]
|
2247
|
+
check[dt.strftime('%F %T.%N'), t3]
|
2248
|
+
check[Date.civil(2011, 1, 2), Time.utc(2011, 1, 2, 0, 0, 0)]
|
2249
|
+
check[{:year=>dt.year, :month=>dt.month, :day=>dt.day, :hour=>dt.hour, :minute=>dt.min, :second=>dt.sec, :nanos=>500000000}, t3]
|
2250
|
+
|
2251
|
+
Sequel.datetime_class = DateTime
|
2252
|
+
check[dt, dt]
|
2253
|
+
check[dt2, dt3]
|
2254
|
+
check[t, dt]
|
2255
|
+
check[t2, dt3]
|
2256
|
+
check[@db.literal(dt)[1...-1], dt]
|
2257
|
+
check[dt.strftime('%F %T.%N'), dt3]
|
2258
|
+
check[Date.civil(2011, 1, 2), DateTime.civil(2011, 1, 2, 0, 0, 0)]
|
2259
|
+
check[{:year=>dt.year, :month=>dt.month, :day=>dt.day, :hour=>dt.hour, :minute=>dt.min, :second=>dt.sec, :nanos=>500000000}, dt3]
|
2260
|
+
|
2261
|
+
Sequel.typecast_timezone = :utc
|
2262
|
+
Sequel.datetime_class = Time
|
2263
|
+
check[dt, t]
|
2264
|
+
check[dt2, t3]
|
2265
|
+
check[t, t]
|
2266
|
+
check[t2, t3]
|
2267
|
+
check[@db.literal(dt)[1...-1], t]
|
2268
|
+
check[dt.strftime('%F %T.%N'), t]
|
2269
|
+
check[Date.civil(2011, 1, 2), Time.utc(2011, 1, 2, 0, 0, 0)]
|
2270
|
+
check[{:year=>dt.year, :month=>dt.month, :day=>dt.day, :hour=>dt.hour, :minute=>dt.min, :second=>dt.sec, :nanos=>500000000}, t]
|
2271
|
+
|
2272
|
+
Sequel.datetime_class = DateTime
|
2273
|
+
check[dt, dt]
|
2274
|
+
check[dt2, dt3]
|
2275
|
+
check[t, dt]
|
2276
|
+
check[t2, dt3]
|
2277
|
+
check[@db.literal(dt)[1...-1], dt]
|
2278
|
+
check[dt.strftime('%F %T.%N'), dt]
|
2279
|
+
check[Date.civil(2011, 1, 2), DateTime.civil(2011, 1, 2, 0, 0, 0)]
|
2280
|
+
check[{:year=>dt.year, :month=>dt.month, :day=>dt.day, :hour=>dt.hour, :minute=>dt.min, :second=>dt.sec, :nanos=>500000000}, dt]
|
2281
|
+
|
2282
|
+
Sequel.application_timezone = :local
|
2283
|
+
Sequel.datetime_class = Time
|
2284
|
+
check[dt, t4]
|
2285
|
+
check[dt2, t2]
|
2286
|
+
check[t, t4]
|
2287
|
+
check[t2, t2]
|
2288
|
+
check[@db.literal(dt)[1...-1], t4]
|
2289
|
+
check[dt.strftime('%F %T.%N'), t4]
|
2290
|
+
check[Date.civil(2011, 1, 2), Time.local(2011, 1, 2, 0, 0, 0)]
|
2291
|
+
check[{:year=>dt.year, :month=>dt.month, :day=>dt.day, :hour=>dt.hour, :minute=>dt.min, :second=>dt.sec, :nanos=>500000000}, t4]
|
2292
|
+
|
2293
|
+
Sequel.datetime_class = DateTime
|
2294
|
+
check[dt, dt4]
|
2295
|
+
check[dt2, dt2]
|
2296
|
+
check[t, dt4]
|
2297
|
+
check[t2, dt2]
|
2298
|
+
check[@db.literal(dt)[1...-1], dt4]
|
2299
|
+
check[dt.strftime('%F %T.%N'), dt4]
|
2300
|
+
check[Date.civil(2011, 1, 2), DateTime.civil(2011, 1, 2, 0, 0, 0, r1)]
|
2301
|
+
check[{:year=>dt.year, :month=>dt.month, :day=>dt.day, :hour=>dt.hour, :minute=>dt.min, :second=>dt.sec, :nanos=>500000000}, dt4]
|
2302
|
+
|
2303
|
+
Sequel.typecast_timezone = :local
|
2304
|
+
Sequel.datetime_class = Time
|
2305
|
+
check[dt, t4]
|
2306
|
+
check[dt2, t2]
|
2307
|
+
check[t, t4]
|
2308
|
+
check[t2, t2]
|
2309
|
+
check[@db.literal(dt)[1...-1], t4]
|
2310
|
+
check[dt.strftime('%F %T.%N'), t2]
|
2311
|
+
check[Date.civil(2011, 1, 2), Time.local(2011, 1, 2, 0, 0, 0)]
|
2312
|
+
check[{:year=>dt.year, :month=>dt.month, :day=>dt.day, :hour=>dt.hour, :minute=>dt.min, :second=>dt.sec, :nanos=>500000000}, t2]
|
2313
|
+
|
2314
|
+
Sequel.datetime_class = DateTime
|
2315
|
+
check[dt, dt4]
|
2316
|
+
check[dt2, dt2]
|
2317
|
+
check[t, dt4]
|
2318
|
+
check[t2, dt2]
|
2319
|
+
check[@db.literal(dt)[1...-1], dt4]
|
2320
|
+
check[dt.strftime('%F %T.%N'), dt2]
|
2321
|
+
check[Date.civil(2011, 1, 2), DateTime.civil(2011, 1, 2, 0, 0, 0, r1)]
|
2322
|
+
check[{:year=>dt.year, :month=>dt.month, :day=>dt.day, :hour=>dt.hour, :minute=>dt.min, :second=>dt.sec, :nanos=>500000000}, dt2]
|
2323
|
+
|
2324
|
+
ensure
|
2325
|
+
Sequel.default_timezone = nil
|
2326
|
+
Sequel.datetime_class = Time
|
2327
|
+
end
|
2328
|
+
end
|
2329
|
+
|
2330
|
+
it "should handle arrays when typecasting timestamps" do
|
2331
|
+
begin
|
2332
|
+
@db.typecast_value(:datetime, [2011, 10, 11, 12, 13, 14]).must_equal Time.local(2011, 10, 11, 12, 13, 14)
|
2333
|
+
@db.typecast_value(:datetime, [2011, 10, 11, 12, 13, 14, 500000000]).must_equal Time.local(2011, 10, 11, 12, 13, 14, 500000)
|
2334
|
+
|
2335
|
+
Sequel.datetime_class = DateTime
|
2336
|
+
@db.typecast_value(:datetime, [2011, 10, 11, 12, 13, 14]).must_equal DateTime.civil(2011, 10, 11, 12, 13, 14)
|
2337
|
+
@db.typecast_value(:datetime, [2011, 10, 11, 12, 13, 14, 500000000]).must_equal DateTime.civil(2011, 10, 11, 12, 13, Rational(29, 2))
|
2338
|
+
@db.typecast_value(:datetime, [2011, 10, 11, 12, 13, 14, 500000000, Rational(1, 2)]).must_equal DateTime.civil(2011, 10, 11, 12, 13, Rational(29, 2), Rational(1, 2))
|
2339
|
+
ensure
|
2340
|
+
Sequel.datetime_class = Time
|
2341
|
+
end
|
2342
|
+
end
|
2343
|
+
|
2344
|
+
it "should handle hashes when typecasting timestamps" do
|
2345
|
+
begin
|
2346
|
+
@db.typecast_value(:datetime, :year=>2011, :month=>10, :day=>11, :hour=>12, :minute=>13, :second=>14).must_equal Time.local(2011, 10, 11, 12, 13, 14)
|
2347
|
+
@db.typecast_value(:datetime, :year=>2011, :month=>10, :day=>11, :hour=>12, :minute=>13, :second=>14, :nanos=>500000000).must_equal Time.local(2011, 10, 11, 12, 13, 14, 500000)
|
2348
|
+
@db.typecast_value(:datetime, 'year'=>2011, 'month'=>10, 'day'=>11, 'hour'=>12, 'minute'=>13, 'second'=>14).must_equal Time.local(2011, 10, 11, 12, 13, 14)
|
2349
|
+
@db.typecast_value(:datetime, 'year'=>2011, 'month'=>10, 'day'=>11, 'hour'=>12, 'minute'=>13, 'second'=>14, 'nanos'=>500000000).must_equal Time.local(2011, 10, 11, 12, 13, 14, 500000)
|
2350
|
+
|
2351
|
+
@db.typecast_value(:datetime, :year=>2011, :month=>10, :day=>11, :hour=>12, :minute=>13, :second=>14, :offset=>Rational(1, 2)).must_equal Time.new(2011, 10, 11, 12, 13, 14, 43200)
|
2352
|
+
@db.typecast_value(:datetime, :year=>2011, :month=>10, :day=>11, :hour=>12, :minute=>13, :second=>14, :nanos=>500000000, :offset=>Rational(1, 2)).must_equal Time.new(2011, 10, 11, 12, 13, 14.5, 43200)
|
2353
|
+
@db.typecast_value(:datetime, 'year'=>2011, 'month'=>10, 'day'=>11, 'hour'=>12, 'minute'=>13, 'second'=>14, 'offset'=>Rational(1, 2)).must_equal Time.new(2011, 10, 11, 12, 13, 14, 43200)
|
2354
|
+
@db.typecast_value(:datetime, 'year'=>2011, 'month'=>10, 'day'=>11, 'hour'=>12, 'minute'=>13, 'second'=>14, 'nanos'=>500000000, 'offset'=>Rational(1, 2)).must_equal Time.new(2011, 10, 11, 12, 13, 14.5, 43200)
|
2355
|
+
|
2356
|
+
Sequel.default_timezone = :utc
|
2357
|
+
@db.typecast_value(:datetime, :year=>2011, :month=>10, :day=>11, :hour=>12, :minute=>13, :second=>14).must_equal Time.utc(2011, 10, 11, 12, 13, 14)
|
2358
|
+
@db.typecast_value(:datetime, :year=>2011, :month=>10, :day=>11, :hour=>12, :minute=>13, :second=>14, :nanos=>500000000).must_equal Time.utc(2011, 10, 11, 12, 13, 14, 500000)
|
2359
|
+
@db.typecast_value(:datetime, 'year'=>2011, 'month'=>10, 'day'=>11, 'hour'=>12, 'minute'=>13, 'second'=>14).must_equal Time.utc(2011, 10, 11, 12, 13, 14)
|
2360
|
+
@db.typecast_value(:datetime, 'year'=>2011, 'month'=>10, 'day'=>11, 'hour'=>12, 'minute'=>13, 'second'=>14, 'nanos'=>500000000).must_equal Time.utc(2011, 10, 11, 12, 13, 14, 500000)
|
2361
|
+
|
2362
|
+
Sequel.datetime_class = DateTime
|
2363
|
+
@db.typecast_value(:datetime, :year=>2011, :month=>10, :day=>11, :hour=>12, :minute=>13, :second=>14).must_equal DateTime.civil(2011, 10, 11, 12, 13, 14)
|
2364
|
+
@db.typecast_value(:datetime, :year=>2011, :month=>10, :day=>11, :hour=>12, :minute=>13, :second=>14, :nanos=>500000000).must_equal DateTime.civil(2011, 10, 11, 12, 13, Rational(29, 2))
|
2365
|
+
@db.typecast_value(:datetime, 'year'=>2011, 'month'=>10, 'day'=>11, 'hour'=>12, 'minute'=>13, 'second'=>14).must_equal DateTime.civil(2011, 10, 11, 12, 13, 14)
|
2366
|
+
@db.typecast_value(:datetime, 'year'=>2011, 'month'=>10, 'day'=>11, 'hour'=>12, 'minute'=>13, 'second'=>14, 'nanos'=>500000000).must_equal DateTime.civil(2011, 10, 11, 12, 13, Rational(29, 2))
|
2367
|
+
@db.typecast_value(:datetime, :year=>2011, :month=>10, :day=>11, :hour=>12, :minute=>13, :second=>14, :offset=>Rational(1, 2)).must_equal DateTime.civil(2011, 10, 11, 12, 13, 14, Rational(1, 2))
|
2368
|
+
@db.typecast_value(:datetime, :year=>2011, :month=>10, :day=>11, :hour=>12, :minute=>13, :second=>14, :nanos=>500000000, :offset=>Rational(1, 2)).must_equal DateTime.civil(2011, 10, 11, 12, 13, Rational(29, 2), Rational(1, 2))
|
2369
|
+
@db.typecast_value(:datetime, 'year'=>2011, 'month'=>10, 'day'=>11, 'hour'=>12, 'minute'=>13, 'second'=>14, 'offset'=>Rational(1, 2)).must_equal DateTime.civil(2011, 10, 11, 12, 13, 14, Rational(1, 2))
|
2370
|
+
@db.typecast_value(:datetime, 'year'=>2011, 'month'=>10, 'day'=>11, 'hour'=>12, 'minute'=>13, 'second'=>14, 'nanos'=>500000000, 'offset'=>Rational(1, 2)).must_equal DateTime.civil(2011, 10, 11, 12, 13, Rational(29, 2), Rational(1, 2))
|
2371
|
+
|
2372
|
+
Sequel.default_timezone = :local
|
2373
|
+
offset = Rational(Time.local(2011, 10, 11, 12, 13, 14).utc_offset, 86400)
|
2374
|
+
@db.typecast_value(:datetime, :year=>2011, :month=>10, :day=>11, :hour=>12, :minute=>13, :second=>14).must_equal DateTime.civil(2011, 10, 11, 12, 13, 14, offset)
|
2375
|
+
@db.typecast_value(:datetime, :year=>2011, :month=>10, :day=>11, :hour=>12, :minute=>13, :second=>14, :nanos=>500000000).must_equal DateTime.civil(2011, 10, 11, 12, 13, Rational(29, 2), offset)
|
2376
|
+
@db.typecast_value(:datetime, 'year'=>2011, 'month'=>10, 'day'=>11, 'hour'=>12, 'minute'=>13, 'second'=>14).must_equal DateTime.civil(2011, 10, 11, 12, 13, 14, offset)
|
2377
|
+
@db.typecast_value(:datetime, 'year'=>2011, 'month'=>10, 'day'=>11, 'hour'=>12, 'minute'=>13, 'second'=>14, 'nanos'=>500000000).must_equal DateTime.civil(2011, 10, 11, 12, 13, Rational(29, 2), offset)
|
2378
|
+
ensure
|
2379
|
+
Sequel.datetime_class = Time
|
2380
|
+
Sequel.default_timezone = nil
|
2381
|
+
end
|
2382
|
+
end
|
2383
|
+
|
2384
|
+
it "should typecast decimal values to BigDecimal" do
|
2385
|
+
[1.0, 1, '1.0', BigDecimal('1.0')].each do |i|
|
2386
|
+
v = @db.typecast_value(:decimal, i)
|
2387
|
+
v.must_be_kind_of(BigDecimal)
|
2388
|
+
v.must_equal BigDecimal('1.0')
|
2389
|
+
end
|
2390
|
+
end
|
2391
|
+
|
2392
|
+
it "should typecast float values to Float" do
|
2393
|
+
[1.0, 1, '1.0', BigDecimal('1.0')].each do |i|
|
2394
|
+
v = @db.typecast_value(:float, i)
|
2395
|
+
v.must_be_kind_of(Float)
|
2396
|
+
v.must_equal 1.0
|
2397
|
+
end
|
2398
|
+
end
|
2399
|
+
|
2400
|
+
it "should typecast string values to String" do
|
2401
|
+
[1.0, '1.0', Sequel.blob('1.0')].each do |i|
|
2402
|
+
v = @db.typecast_value(:string, i)
|
2403
|
+
v.must_be_instance_of(String)
|
2404
|
+
v.must_equal "1.0"
|
2405
|
+
end
|
2406
|
+
end
|
2407
|
+
|
2408
|
+
it "should raise errors when typecasting hash and array values to String" do
|
2409
|
+
[[], {}].each do |i|
|
2410
|
+
proc{@db.typecast_value(:string, i)}.must_raise(Sequel::InvalidValue)
|
2411
|
+
end
|
2412
|
+
end
|
2413
|
+
|
2414
|
+
it "should typecast time values to SQLTime" do
|
2415
|
+
t = Time.now
|
2416
|
+
st = Sequel::SQLTime.local(t.year, t.month, t.day, 1, 2, 3)
|
2417
|
+
[st, Time.utc(t.year, t.month, t.day, 1, 2, 3), Time.local(t.year, t.month, t.day, 1, 2, 3), '01:02:03', {:hour=>1, :minute=>2, :second=>3}].each do |i|
|
2418
|
+
v = @db.typecast_value(:time, i)
|
2419
|
+
v.must_be_instance_of(Sequel::SQLTime)
|
2420
|
+
v.must_equal st
|
2421
|
+
end
|
2422
|
+
end
|
2423
|
+
|
2424
|
+
it "should correctly handle time value conversion to SQLTime with fractional seconds" do
|
2425
|
+
t = Time.now
|
2426
|
+
st = Sequel::SQLTime.local(t.year, t.month, t.day, 1, 2, 3, 500000)
|
2427
|
+
t = Time.local(t.year, t.month, t.day, 1, 2, 3, 500000)
|
2428
|
+
@db.typecast_value(:time, t).must_equal st
|
2429
|
+
end
|
2430
|
+
|
2431
|
+
it "should have an underlying exception class available at wrapped_exception" do
|
2432
|
+
begin
|
2433
|
+
@db.typecast_value(:date, 'a')
|
2434
|
+
true.must_equal false
|
2435
|
+
rescue Sequel::InvalidValue => e
|
2436
|
+
e.wrapped_exception.must_be_kind_of(ArgumentError)
|
2437
|
+
end
|
2438
|
+
end
|
2439
|
+
|
2440
|
+
it "should have an underlying exception class available at cause" do
|
2441
|
+
begin
|
2442
|
+
@db.typecast_value(:date, 'a')
|
2443
|
+
true.must_equal false
|
2444
|
+
rescue Sequel::InvalidValue => e
|
2445
|
+
e.cause.must_be_kind_of(ArgumentError)
|
2446
|
+
end
|
2447
|
+
end if RUBY_VERSION >= '2.1'
|
2448
|
+
|
2449
|
+
it "should have an underlying exception class available at cause when using nested exceptions" do
|
2450
|
+
begin
|
2451
|
+
begin
|
2452
|
+
raise ArgumentError
|
2453
|
+
rescue => e1
|
2454
|
+
begin
|
2455
|
+
raise RuntimeError
|
2456
|
+
rescue
|
2457
|
+
@db.send(:raise_error, e1)
|
2458
|
+
end
|
2459
|
+
end
|
2460
|
+
rescue Sequel::DatabaseError => e
|
2461
|
+
e.cause.must_be_kind_of(ArgumentError)
|
2462
|
+
end
|
2463
|
+
end if RUBY_VERSION >= '2.1'
|
2464
|
+
|
2465
|
+
it "should include underlying exception class in #inspect" do
|
2466
|
+
begin
|
2467
|
+
@db.typecast_value(:date, 'a')
|
2468
|
+
true.must_equal false
|
2469
|
+
rescue Sequel::InvalidValue => e
|
2470
|
+
e.inspect.must_equal '#<Sequel::InvalidValue: ArgumentError: invalid date>'
|
2471
|
+
end
|
2472
|
+
end
|
2473
|
+
end
|
2474
|
+
|
2475
|
+
describe "Database#blank_object?" do
|
2476
|
+
it "should return whether the object is considered blank" do
|
2477
|
+
db = Sequel::Database.new
|
2478
|
+
c = lambda{|meth, value| Class.new{define_method(meth){value}}.new}
|
2479
|
+
|
2480
|
+
db.send(:blank_object?, "").must_equal true
|
2481
|
+
db.send(:blank_object?, " ").must_equal true
|
2482
|
+
db.send(:blank_object?, nil).must_equal true
|
2483
|
+
db.send(:blank_object?, false).must_equal true
|
2484
|
+
db.send(:blank_object?, []).must_equal true
|
2485
|
+
db.send(:blank_object?, {}).must_equal true
|
2486
|
+
db.send(:blank_object?, c[:empty?, true]).must_equal true
|
2487
|
+
db.send(:blank_object?, c[:blank?, true]).must_equal true
|
2488
|
+
|
2489
|
+
db.send(:blank_object?, " a ").must_equal false
|
2490
|
+
db.send(:blank_object?, 1).must_equal false
|
2491
|
+
db.send(:blank_object?, 1.0).must_equal false
|
2492
|
+
db.send(:blank_object?, true).must_equal false
|
2493
|
+
db.send(:blank_object?, [1]).must_equal false
|
2494
|
+
db.send(:blank_object?, {1.0=>2.0}).must_equal false
|
2495
|
+
db.send(:blank_object?, c[:empty?, false]).must_equal false
|
2496
|
+
db.send(:blank_object?, c[:blank?, false]).must_equal false
|
2497
|
+
end
|
2498
|
+
end
|
2499
|
+
|
2500
|
+
describe "Database#schema_autoincrementing_primary_key?" do
|
2501
|
+
it "should indicate whether the parsed schema row indicates a primary key" do
|
2502
|
+
m = Sequel::Database.new.method(:schema_autoincrementing_primary_key?)
|
2503
|
+
m.call(:primary_key=>true, :auto_increment=>true).must_equal true
|
2504
|
+
m.call(:primary_key=>true, :auto_increment=>false).must_equal false
|
2505
|
+
m.call(:primary_key=>false).must_equal false
|
2506
|
+
end
|
2507
|
+
end
|
2508
|
+
|
2509
|
+
describe "Database#supports_schema_parsing?" do
|
2510
|
+
it "should be false by default" do
|
2511
|
+
Sequel::Database.new.supports_schema_parsing?.must_equal false
|
2512
|
+
end
|
2513
|
+
|
2514
|
+
it "should be true if the database implements schema_parse_table" do
|
2515
|
+
db = Sequel::Database.new
|
2516
|
+
def db.schema_parse_table(*) end
|
2517
|
+
db.supports_schema_parsing?.must_equal true
|
2518
|
+
end
|
2519
|
+
end
|
2520
|
+
|
2521
|
+
describe "Database#supports_foreign_key_parsing?" do
|
2522
|
+
it "should be false by default" do
|
2523
|
+
Sequel::Database.new.supports_foreign_key_parsing?.must_equal false
|
2524
|
+
end
|
2525
|
+
|
2526
|
+
it "should be true if the database implements foreign_key_list" do
|
2527
|
+
db = Sequel::Database.new
|
2528
|
+
def db.foreign_key_list(*) end
|
2529
|
+
db.supports_foreign_key_parsing?.must_equal true
|
2530
|
+
end
|
2531
|
+
end
|
2532
|
+
|
2533
|
+
describe "Database#supports_index_parsing?" do
|
2534
|
+
it "should be false by default" do
|
2535
|
+
Sequel::Database.new.supports_index_parsing?.must_equal false
|
2536
|
+
end
|
2537
|
+
|
2538
|
+
it "should be true if the database implements indexes" do
|
2539
|
+
db = Sequel::Database.new
|
2540
|
+
def db.indexes(*) end
|
2541
|
+
db.supports_index_parsing?.must_equal true
|
2542
|
+
end
|
2543
|
+
end
|
2544
|
+
|
2545
|
+
describe "Database#supports_table_listing?" do
|
2546
|
+
it "should be false by default" do
|
2547
|
+
Sequel::Database.new.supports_table_listing?.must_equal false
|
2548
|
+
end
|
2549
|
+
|
2550
|
+
it "should be true if the database implements tables" do
|
2551
|
+
db = Sequel::Database.new
|
2552
|
+
def db.tables(*) end
|
2553
|
+
db.supports_table_listing?.must_equal true
|
2554
|
+
end
|
2555
|
+
end
|
2556
|
+
|
2557
|
+
describe "Database#supports_view_listing?" do
|
2558
|
+
it "should be false by default" do
|
2559
|
+
Sequel::Database.new.supports_view_listing?.must_equal false
|
2560
|
+
end
|
2561
|
+
|
2562
|
+
it "should be true if the database implements views" do
|
2563
|
+
db = Sequel::Database.new
|
2564
|
+
def db.views(*) end
|
2565
|
+
db.supports_view_listing?.must_equal true
|
2566
|
+
end
|
2567
|
+
end
|
2568
|
+
|
2569
|
+
describe "Database#supports_deferrable_constraints?" do
|
2570
|
+
it "should be false by default" do
|
2571
|
+
Sequel::Database.new.supports_deferrable_constraints?.must_equal false
|
2572
|
+
end
|
2573
|
+
end
|
2574
|
+
|
2575
|
+
describe "Database#supports_deferrable_foreign_key_constraints?" do
|
2576
|
+
it "should be false by default" do
|
2577
|
+
Sequel::Database.new.supports_deferrable_foreign_key_constraints?.must_equal false
|
2578
|
+
end
|
2579
|
+
end
|
2580
|
+
|
2581
|
+
describe "Database#supports_transactional_ddl?" do
|
2582
|
+
it "should be false by default" do
|
2583
|
+
Sequel::Database.new.supports_transactional_ddl?.must_equal false
|
2584
|
+
end
|
2585
|
+
end
|
2586
|
+
|
2587
|
+
describe "Database#global_index_namespace?" do
|
2588
|
+
it "should be true by default" do
|
2589
|
+
Sequel::Database.new.global_index_namespace?.must_equal true
|
2590
|
+
end
|
2591
|
+
end
|
2592
|
+
|
2593
|
+
describe "Database#supports_savepoints?" do
|
2594
|
+
it "should be false by default" do
|
2595
|
+
Sequel::Database.new.supports_savepoints?.must_equal false
|
2596
|
+
end
|
2597
|
+
end
|
2598
|
+
|
2599
|
+
describe "Database#supports_views_with_check_option?" do
|
2600
|
+
it "should be false by default" do
|
2601
|
+
Sequel::Database.new.supports_views_with_check_option?.must_equal false
|
2602
|
+
end
|
2603
|
+
end
|
2604
|
+
|
2605
|
+
describe "Database#supports_views_with_local_check_option?" do
|
2606
|
+
it "should be false by default" do
|
2607
|
+
Sequel::Database.new.supports_views_with_local_check_option?.must_equal false
|
2608
|
+
end
|
2609
|
+
end
|
2610
|
+
|
2611
|
+
describe "Database#supports_savepoints_in_prepared_transactions?" do
|
2612
|
+
it "should be false by default" do
|
2613
|
+
Sequel::Database.new.supports_savepoints_in_prepared_transactions?.must_equal false
|
2614
|
+
end
|
2615
|
+
|
2616
|
+
it "should be true if both savepoints and prepared transactions are supported" do
|
2617
|
+
db = Sequel::Database.new
|
2618
|
+
db.define_singleton_method(:supports_savepoints?){true}
|
2619
|
+
db.define_singleton_method(:supports_prepared_transactions?){true}
|
2620
|
+
db.supports_savepoints_in_prepared_transactions?.must_equal true
|
2621
|
+
end
|
2622
|
+
end
|
2623
|
+
|
2624
|
+
describe "Database#supports_prepared_transactions?" do
|
2625
|
+
it "should be false by default" do
|
2626
|
+
Sequel::Database.new.supports_prepared_transactions?.must_equal false
|
2627
|
+
end
|
2628
|
+
end
|
2629
|
+
|
2630
|
+
describe "Database#supports_transaction_isolation_levels?" do
|
2631
|
+
it "should be false by default" do
|
2632
|
+
Sequel::Database.new.supports_transaction_isolation_levels?.must_equal false
|
2633
|
+
end
|
2634
|
+
end
|
2635
|
+
|
2636
|
+
describe "Database#column_schema_to_ruby_default" do
|
2637
|
+
it "should handle converting many default formats" do
|
2638
|
+
db = Sequel::Database.new
|
2639
|
+
p = lambda{|d,t| db.send(:column_schema_to_ruby_default, d, t)}
|
2640
|
+
p[nil, :integer].must_be_nil
|
2641
|
+
p[1, :integer].must_equal 1
|
2642
|
+
p['1', :integer].must_equal 1
|
2643
|
+
p['-1', :integer].must_equal(-1)
|
2644
|
+
p[1.0, :float].must_equal 1.0
|
2645
|
+
p['1.0', :float].must_equal 1.0
|
2646
|
+
p['-1.0', :float].must_equal(-1.0)
|
2647
|
+
p['1.0', :decimal].must_equal BigDecimal('1.0')
|
2648
|
+
p['-1.0', :decimal].must_equal BigDecimal('-1.0')
|
2649
|
+
p[true, :boolean].must_equal true
|
2650
|
+
p[false, :boolean].must_equal false
|
2651
|
+
p['1', :boolean].must_equal true
|
2652
|
+
p['0', :boolean].must_equal false
|
2653
|
+
p['true', :boolean].must_equal true
|
2654
|
+
p['false', :boolean].must_equal false
|
2655
|
+
p["'t'", :boolean].must_equal true
|
2656
|
+
p["'f'", :boolean].must_equal false
|
2657
|
+
p["'a'", :string].must_equal 'a'
|
2658
|
+
p["'a'", :blob].must_equal Sequel.blob('a')
|
2659
|
+
p["'a'", :blob].must_be_kind_of(Sequel::SQL::Blob)
|
2660
|
+
p["''", :string].must_equal ''
|
2661
|
+
p["'\\a''b'", :string].must_equal "\\a'b"
|
2662
|
+
p["'NULL'", :string].must_equal "NULL"
|
2663
|
+
p[Date.today, :date].must_equal Date.today
|
2664
|
+
p["'2009-10-29'", :date].must_equal Date.new(2009,10,29)
|
2665
|
+
p["CURRENT_TIMESTAMP", :date].must_equal Sequel::CURRENT_DATE
|
2666
|
+
p["CURRENT_DATE", :date].must_equal Sequel::CURRENT_DATE
|
2667
|
+
p["now()", :date].must_equal Sequel::CURRENT_DATE
|
2668
|
+
p["getdate()", :date].must_equal Sequel::CURRENT_DATE
|
2669
|
+
p["CURRENT_TIMESTAMP", :datetime].must_equal Sequel::CURRENT_TIMESTAMP
|
2670
|
+
p["CURRENT_DATE", :datetime].must_equal Sequel::CURRENT_TIMESTAMP
|
2671
|
+
p["now()", :datetime].must_equal Sequel::CURRENT_TIMESTAMP
|
2672
|
+
p["getdate()", :datetime].must_equal Sequel::CURRENT_TIMESTAMP
|
2673
|
+
p["'2009-10-29T10:20:30-07:00'", :datetime].must_equal DateTime.parse('2009-10-29T10:20:30-07:00')
|
2674
|
+
p["'2009-10-29 10:20:30'", :datetime].must_equal DateTime.parse('2009-10-29 10:20:30')
|
2675
|
+
p["'10:20:30'", :time].must_equal Time.parse('10:20:30')
|
2676
|
+
p["NaN", :float].must_be_nil
|
2677
|
+
|
2678
|
+
db = Sequel.mock(:host=>'postgres')
|
2679
|
+
p["''::text", :string].must_equal ""
|
2680
|
+
p["'\\a''b'::character varying", :string].must_equal "\\a'b"
|
2681
|
+
p["'a'::bpchar", :string].must_equal "a"
|
2682
|
+
p["(-1)", :integer].must_equal(-1)
|
2683
|
+
p["(-1.0)", :float].must_equal(-1.0)
|
2684
|
+
p['(-1.0)', :decimal].must_equal BigDecimal('-1.0')
|
2685
|
+
p["'a'::bytea", :blob].must_equal Sequel.blob('a')
|
2686
|
+
p["'a'::bytea", :blob].must_be_kind_of(Sequel::SQL::Blob)
|
2687
|
+
p["'2009-10-29'::date", :date].must_equal Date.new(2009,10,29)
|
2688
|
+
p["'2009-10-29 10:20:30.241343'::timestamp without time zone", :datetime].must_equal DateTime.parse('2009-10-29 10:20:30.241343')
|
2689
|
+
p["'10:20:30'::time without time zone", :time].must_equal Time.parse('10:20:30')
|
2690
|
+
|
2691
|
+
db = Sequel.mock(:host=>'mysql')
|
2692
|
+
p["\\a'b", :string].must_equal "\\a'b"
|
2693
|
+
p["a", :string].must_equal "a"
|
2694
|
+
p["NULL", :string].must_equal "NULL"
|
2695
|
+
p["-1", :float].must_equal(-1.0)
|
2696
|
+
p['-1', :decimal].must_equal BigDecimal('-1.0')
|
2697
|
+
p["2009-10-29", :date].must_equal Date.new(2009,10,29)
|
2698
|
+
p["2009-10-29 10:20:30", :datetime].must_equal DateTime.parse('2009-10-29 10:20:30')
|
2699
|
+
p["10:20:30", :time].must_equal Time.parse('10:20:30')
|
2700
|
+
p["a", :enum].must_equal "a"
|
2701
|
+
p["a,b", :set].must_equal "a,b"
|
2702
|
+
|
2703
|
+
db = Sequel.mock(:host=>'mssql')
|
2704
|
+
p["(N'a')", :string].must_equal "a"
|
2705
|
+
p["((-12))", :integer].must_equal(-12)
|
2706
|
+
p["((12.1))", :float].must_equal 12.1
|
2707
|
+
p["((-12.1))", :decimal].must_equal BigDecimal('-12.1')
|
2708
|
+
end
|
2709
|
+
end
|
2710
|
+
|
2711
|
+
describe "Database extensions" do
|
2712
|
+
before(:all) do
|
2713
|
+
class << Sequel
|
2714
|
+
alias _extension extension
|
2715
|
+
remove_method :extension
|
2716
|
+
def extension(*)
|
2717
|
+
end
|
2718
|
+
end
|
2719
|
+
end
|
2720
|
+
after(:all) do
|
2721
|
+
class << Sequel
|
2722
|
+
remove_method :extension
|
2723
|
+
alias extension _extension
|
2724
|
+
remove_method :_extension
|
2725
|
+
end
|
2726
|
+
end
|
2727
|
+
before do
|
2728
|
+
@db = Sequel.mock
|
2729
|
+
end
|
2730
|
+
after do
|
2731
|
+
Sequel::Database.instance_variable_set(:@initialize_hook, proc{|db| })
|
2732
|
+
end
|
2733
|
+
|
2734
|
+
it "should be able to register an extension with a module have Database#extension extend the module" do
|
2735
|
+
Sequel::Database.register_extension(:foo, Module.new{def a; 1; end})
|
2736
|
+
@db.extension(:foo).a.must_equal 1
|
2737
|
+
end
|
2738
|
+
|
2739
|
+
it "should not call the block multiple times if extension loaded more than once" do
|
2740
|
+
@db.opts[:foo] = []
|
2741
|
+
Sequel::Database.register_extension(:foo){|db| db.opts[:foo] << 1}
|
2742
|
+
@db.extension(:foo).opts[:foo].must_equal [1]
|
2743
|
+
@db.extension(:foo).opts[:foo].must_equal [1]
|
2744
|
+
end
|
2745
|
+
|
2746
|
+
it "should be able to register an extension with a block and have Database#extension call the block" do
|
2747
|
+
Sequel::Database.register_extension(:foo){|db| db.opts[:foo] = 1}
|
2748
|
+
@db.extension(:foo).opts[:foo].must_equal 1
|
2749
|
+
end
|
2750
|
+
|
2751
|
+
it "should be able to register an extension with a callable and Database#extension call the callable" do
|
2752
|
+
Sequel::Database.register_extension(:foo, proc{|db| db.opts[:foo] = 1})
|
2753
|
+
@db.extension(:foo).opts[:foo].must_equal 1
|
2754
|
+
end
|
2755
|
+
|
2756
|
+
it "should be able to load multiple extensions in the same call" do
|
2757
|
+
a = []
|
2758
|
+
Sequel::Database.register_extension(:foo, proc{|db| a << db.opts[:foo] = 1})
|
2759
|
+
Sequel::Database.register_extension(:bar, proc{|db| a << db.opts[:bar] = 2})
|
2760
|
+
@db.extension(:foo, :bar).opts.values_at(:foo, :bar).must_equal [1, 2]
|
2761
|
+
a.must_equal [1, 2]
|
2762
|
+
end
|
2763
|
+
|
2764
|
+
it "should return the receiver" do
|
2765
|
+
Sequel::Database.register_extension(:foo, Module.new{def a; 1; end})
|
2766
|
+
@db.extension(:foo).must_be_same_as(@db)
|
2767
|
+
end
|
2768
|
+
|
2769
|
+
it "should raise an Error if registering with both a module and a block" do
|
2770
|
+
proc{Sequel::Database.register_extension(:foo, Module.new){}}.must_raise(Sequel::Error)
|
2771
|
+
end
|
2772
|
+
|
2773
|
+
it "should raise an Error if attempting to load an incompatible extension" do
|
2774
|
+
proc{@db.extension(:foo2)}.must_raise(Sequel::Error)
|
2775
|
+
end
|
2776
|
+
|
2777
|
+
it "should be able to load an extension into all future Databases with Database.extension" do
|
2778
|
+
Sequel::Database.register_extension(:foo, Module.new{def a; 1; end})
|
2779
|
+
Sequel::Database.register_extension(:bar, Module.new{def b; 2; end})
|
2780
|
+
Sequel::Database.extension(:foo, :bar)
|
2781
|
+
@db.wont_respond_to(:a)
|
2782
|
+
@db.wont_respond_to(:b)
|
2783
|
+
Sequel.mock.a.must_equal 1
|
2784
|
+
Sequel.mock.b.must_equal 2
|
2785
|
+
end
|
2786
|
+
|
2787
|
+
it "should be loadable via the :extensions Database option" do
|
2788
|
+
Sequel::Database.register_extension(:a, Module.new{def a; 1; end})
|
2789
|
+
Sequel::Database.register_extension(:b, Module.new{def b; 2; end})
|
2790
|
+
Sequel.mock(:extensions=>:a).a.must_equal 1
|
2791
|
+
db = Sequel.mock(:extensions=>'a,b')
|
2792
|
+
db.a.must_equal 1
|
2793
|
+
db.b.must_equal 2
|
2794
|
+
db = Sequel.mock(:extensions=>[:a, :b])
|
2795
|
+
db.a.must_equal 1
|
2796
|
+
db.b.must_equal 2
|
2797
|
+
proc{Sequel.mock(:extensions=>nil).a}.must_raise NoMethodError
|
2798
|
+
proc{Sequel.mock(:extensions=>Object.new)}.must_raise Sequel::Error
|
2799
|
+
end
|
2800
|
+
|
2801
|
+
it "should support :preconnect_extensions Database option to load extensions before :preconnect" do
|
2802
|
+
x = []
|
2803
|
+
Sequel::Database.register_extension(:a, Module.new{define_singleton_method(:extended){|_| x << :a}})
|
2804
|
+
Sequel::Database.register_extension(:b, Module.new{define_singleton_method(:extended){|_| x << :b}})
|
2805
|
+
m = Mutex.new
|
2806
|
+
c = Class.new(Sequel::Database) do
|
2807
|
+
def dataset_class_default; Sequel::Dataset end
|
2808
|
+
define_method(:connect) do |_|
|
2809
|
+
m.synchronize{x << :c}
|
2810
|
+
:connect
|
2811
|
+
end
|
2812
|
+
end
|
2813
|
+
|
2814
|
+
db = c.new(:max_connections=>2, :preconnect=>true, :preconnect_extensions=>:a, :extensions=>:b)
|
2815
|
+
db.pool.size.must_equal db.pool.max_size
|
2816
|
+
x.must_equal [:a, :c, :c, :b]
|
2817
|
+
|
2818
|
+
x.clear
|
2819
|
+
db = c.new(:max_connections=>3, :preconnect=>:concurrently, :preconnect_extensions=>:b, :extensions=>:a)
|
2820
|
+
x.must_equal [:b, :c, :c, :c, :a]
|
2821
|
+
db.pool.size.must_equal db.pool.max_size
|
2822
|
+
end
|
2823
|
+
|
2824
|
+
end
|
2825
|
+
|
2826
|
+
describe "Database specific exception classes" do
|
2827
|
+
before do
|
2828
|
+
@db = Sequel.mock
|
2829
|
+
class << @db
|
2830
|
+
attr_accessor :sql_state
|
2831
|
+
|
2832
|
+
def database_exception_sqlstate(exception, opts={})
|
2833
|
+
@sql_state
|
2834
|
+
end
|
2835
|
+
end
|
2836
|
+
end
|
2837
|
+
|
2838
|
+
it "should use appropriate exception classes for given SQL states" do
|
2839
|
+
@db.fetch = ArgumentError
|
2840
|
+
@db.sql_state = '23502'
|
2841
|
+
proc{@db.get(:a)}.must_raise(Sequel::NotNullConstraintViolation)
|
2842
|
+
@db.sql_state = '23503'
|
2843
|
+
proc{@db.get(:a)}.must_raise(Sequel::ForeignKeyConstraintViolation)
|
2844
|
+
@db.sql_state = '23505'
|
2845
|
+
proc{@db.get(:a)}.must_raise(Sequel::UniqueConstraintViolation)
|
2846
|
+
@db.sql_state = '23513'
|
2847
|
+
proc{@db.get(:a)}.must_raise(Sequel::CheckConstraintViolation)
|
2848
|
+
@db.sql_state = '40001'
|
2849
|
+
proc{@db.get(:a)}.must_raise(Sequel::SerializationFailure)
|
2850
|
+
end
|
2851
|
+
end
|
2852
|
+
|
2853
|
+
describe "Database.after_initialize" do
|
2854
|
+
after do
|
2855
|
+
Sequel::Database.instance_variable_set(:@initialize_hook, proc{|db| })
|
2856
|
+
end
|
2857
|
+
|
2858
|
+
it "should allow a block to be run after each new instance is created" do
|
2859
|
+
Sequel::Database.after_initialize{|db| db.sql_log_level = :debug }
|
2860
|
+
db = Sequel.mock
|
2861
|
+
db.sql_log_level.must_equal :debug
|
2862
|
+
end
|
2863
|
+
|
2864
|
+
it "should allow multiple hooks to be registered" do
|
2865
|
+
Sequel::Database.after_initialize{|db| db.sql_log_level = :debug }
|
2866
|
+
Sequel::Database.after_initialize{|db| db.loggers << 11 }
|
2867
|
+
|
2868
|
+
db = Sequel.mock
|
2869
|
+
|
2870
|
+
db.sql_log_level.must_equal :debug
|
2871
|
+
db.loggers.must_include(11)
|
2872
|
+
end
|
2873
|
+
|
2874
|
+
it "should raise an error if registration is called without a block" do
|
2875
|
+
proc {
|
2876
|
+
Sequel::Database.after_initialize
|
2877
|
+
}.must_raise(Sequel::Error, /must provide block/i)
|
2878
|
+
end
|
2879
|
+
end
|
2880
|
+
|
2881
|
+
describe "Database#schema_type_class" do
|
2882
|
+
it "should return the class or array of classes for the given type symbol" do
|
2883
|
+
db = Sequel.mock
|
2884
|
+
{:string=>String, :integer=>Integer, :date=>Date, :datetime=>[Time, DateTime],
|
2885
|
+
:time=>Sequel::SQLTime, :boolean=>[TrueClass, FalseClass], :float=>Float, :decimal=>BigDecimal,
|
2886
|
+
:blob=>Sequel::SQL::Blob}.each do |sym, klass|
|
2887
|
+
db.schema_type_class(sym).must_equal klass
|
2888
|
+
end
|
2889
|
+
end
|
2890
|
+
end
|
2891
|
+
|
2892
|
+
describe "Database#execute_{dui,ddl,insert}" do
|
2893
|
+
before do
|
2894
|
+
@db = Sequel::Database.new
|
2895
|
+
def @db.execute(sql, opts={})
|
2896
|
+
(@sqls ||= []) << sql
|
2897
|
+
end
|
2898
|
+
def @db.sqls
|
2899
|
+
@sqls
|
2900
|
+
end
|
2901
|
+
end
|
2902
|
+
|
2903
|
+
it "should execute the SQL" do
|
2904
|
+
@db.execute_dui "DELETE FROM table"
|
2905
|
+
@db.execute_ddl "SET foo"
|
2906
|
+
@db.execute_insert "INSERT INTO table DEFAULT VALUES"
|
2907
|
+
@db.sqls.must_equal ["DELETE FROM table", "SET foo", "INSERT INTO table DEFAULT VALUES"]
|
2908
|
+
end
|
2909
|
+
end
|
2910
|
+
|
2911
|
+
describe "Dataset identifier folding" do
|
2912
|
+
it "should fold to uppercase by default, as per SQL" do
|
2913
|
+
Sequel::Database.new.send(:folds_unquoted_identifiers_to_uppercase?).must_equal true
|
2914
|
+
end
|
2915
|
+
end
|