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,113 @@
|
|
1
|
+
require_relative "spec_helper"
|
2
|
+
|
3
|
+
describe Sequel::Database do
|
4
|
+
before do
|
5
|
+
@db = DB
|
6
|
+
end
|
7
|
+
|
8
|
+
it "should provide disconnect functionality" do
|
9
|
+
@db.disconnect
|
10
|
+
@db.pool.size.must_equal 0
|
11
|
+
@db.test_connection
|
12
|
+
@db.pool.size.must_equal 1
|
13
|
+
end
|
14
|
+
|
15
|
+
it "should provide disconnect functionality after preparing a statement" do
|
16
|
+
@db.create_table!(:items){Integer :i}
|
17
|
+
@db[:items].prepare(:first, :a).call
|
18
|
+
@db.disconnect
|
19
|
+
@db.pool.size.must_equal 0
|
20
|
+
@db.drop_table?(:items)
|
21
|
+
end
|
22
|
+
|
23
|
+
it "should raise Sequel::DatabaseError on invalid SQL" do
|
24
|
+
proc{@db << "S"}.must_raise(Sequel::DatabaseError)
|
25
|
+
end
|
26
|
+
|
27
|
+
it "should have Sequel::DatabaseError#sql give the SQL causing the error" do
|
28
|
+
(@db << "SELECT") rescue (e = $!)
|
29
|
+
e.sql.must_equal "SELECT"
|
30
|
+
end if ENV['SEQUEL_ERROR_SQL']
|
31
|
+
|
32
|
+
describe "constraint violations" do
|
33
|
+
before do
|
34
|
+
@db.drop_table?(:test2, :test)
|
35
|
+
end
|
36
|
+
after do
|
37
|
+
@db.drop_table?(:test2, :test)
|
38
|
+
end
|
39
|
+
|
40
|
+
cspecify "should raise Sequel::UniqueConstraintViolation when a unique constraint is violated", [:jdbc, :sqlite] do
|
41
|
+
@db.create_table!(:test){String :a, :unique=>true, :null=>false}
|
42
|
+
@db[:test].insert('1')
|
43
|
+
proc{@db[:test].insert('1')}.must_raise(Sequel::UniqueConstraintViolation)
|
44
|
+
@db[:test].insert('2')
|
45
|
+
proc{@db[:test].update(:a=>'1')}.must_raise(Sequel::UniqueConstraintViolation)
|
46
|
+
end
|
47
|
+
|
48
|
+
cspecify "should raise Sequel::UniqueConstraintViolation when a unique constraint is violated for composite primary keys", [:jdbc, :sqlite] do
|
49
|
+
@db.create_table!(:test){String :a; String :b; primary_key [:a, :b]}
|
50
|
+
@db[:test].insert(:a=>'1', :b=>'2')
|
51
|
+
proc{@db[:test].insert(:a=>'1', :b=>'2')}.must_raise(Sequel::UniqueConstraintViolation)
|
52
|
+
@db[:test].insert(:a=>'3', :b=>'4')
|
53
|
+
proc{@db[:test].update(:a=>'1', :b=>'2')}.must_raise(Sequel::UniqueConstraintViolation)
|
54
|
+
end
|
55
|
+
|
56
|
+
cspecify "should raise Sequel::CheckConstraintViolation when a check constraint is violated", [proc{|db| !db.mariadb? || db.server_version <= 100200}, :mysql], [proc{|db| db.sqlite_version < 30802}, :sqlite] do
|
57
|
+
@db.create_table!(:test){String :a; check Sequel.~(:a=>'1')}
|
58
|
+
proc{@db[:test].insert('1')}.must_raise(Sequel::CheckConstraintViolation)
|
59
|
+
@db[:test].insert('2')
|
60
|
+
proc{@db[:test].insert('1')}.must_raise(Sequel::CheckConstraintViolation)
|
61
|
+
end
|
62
|
+
|
63
|
+
cspecify "should raise Sequel::ForeignKeyConstraintViolation when a foreign key constraint is violated", [:jdbc, :sqlite] do
|
64
|
+
@db.create_table!(:test, :engine=>:InnoDB){primary_key :id}
|
65
|
+
@db.create_table!(:test2, :engine=>:InnoDB){foreign_key :tid, :test}
|
66
|
+
proc{@db[:test2].insert(:tid=>1)}.must_raise(Sequel::ForeignKeyConstraintViolation)
|
67
|
+
@db[:test].insert
|
68
|
+
@db[:test2].insert(:tid=>1)
|
69
|
+
proc{@db[:test2].where(:tid=>1).update(:tid=>3)}.must_raise(Sequel::ForeignKeyConstraintViolation)
|
70
|
+
proc{@db[:test].where(:id=>1).delete}.must_raise(Sequel::ForeignKeyConstraintViolation)
|
71
|
+
end
|
72
|
+
|
73
|
+
cspecify "should raise Sequel::NotNullConstraintViolation when a not null constraint is violated", [:jdbc, :sqlite] do
|
74
|
+
@db.create_table!(:test){Integer :a, :null=>false}
|
75
|
+
proc{@db[:test].insert(:a=>nil)}.must_raise(Sequel::NotNullConstraintViolation)
|
76
|
+
unless @db.database_type == :mysql
|
77
|
+
# Broken mysql silently changes NULL here to 0, and doesn't raise an exception.
|
78
|
+
@db[:test].insert(2)
|
79
|
+
proc{@db[:test].update(:a=>nil)}.must_raise(Sequel::NotNullConstraintViolation)
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
it "should store underlying wrapped exception in Sequel::DatabaseError" do
|
85
|
+
begin
|
86
|
+
@db << "SELECT"
|
87
|
+
rescue Sequel::DatabaseError=>e
|
88
|
+
if defined?(Java::JavaLang::Exception)
|
89
|
+
(e.wrapped_exception.is_a?(Exception) || e.wrapped_exception.is_a?(Java::JavaLang::Exception)).must_equal true
|
90
|
+
else
|
91
|
+
e.wrapped_exception.must_be_kind_of(Exception)
|
92
|
+
end
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
it "should not have the connection pool swallow non-StandardError based exceptions" do
|
97
|
+
proc{@db.pool.hold{raise Interrupt, "test"}}.must_raise(Interrupt)
|
98
|
+
end
|
99
|
+
|
100
|
+
it "should be able to disconnect connections more than once without exceptions" do
|
101
|
+
conn = @db.synchronize{|c| c}
|
102
|
+
@db.disconnect
|
103
|
+
@db.disconnect_connection(conn)
|
104
|
+
@db.disconnect_connection(conn)
|
105
|
+
end
|
106
|
+
|
107
|
+
it "should provide ability to check connections for validity" do
|
108
|
+
conn = @db.synchronize{|c| c}
|
109
|
+
@db.valid_connection?(conn).must_equal true
|
110
|
+
@db.disconnect
|
111
|
+
@db.valid_connection?(conn).must_equal false
|
112
|
+
end
|
113
|
+
end
|
@@ -0,0 +1,1997 @@
|
|
1
|
+
require_relative "spec_helper"
|
2
|
+
|
3
|
+
describe "Simple Dataset operations" do
|
4
|
+
before do
|
5
|
+
@db = DB
|
6
|
+
@db.create_table!(:items) do
|
7
|
+
primary_key :id
|
8
|
+
Integer :number
|
9
|
+
end
|
10
|
+
@ds = @db[:items]
|
11
|
+
@ds.insert(:number=>10)
|
12
|
+
end
|
13
|
+
after do
|
14
|
+
@db.drop_table?(:items)
|
15
|
+
end
|
16
|
+
|
17
|
+
it "should support sequential primary keys" do
|
18
|
+
@ds.insert(:number=>20)
|
19
|
+
@ds.insert(:number=>30)
|
20
|
+
@ds.order(:number).all.must_equal [
|
21
|
+
{:id => 1, :number=>10},
|
22
|
+
{:id => 2, :number=>20},
|
23
|
+
{:id => 3, :number=>30} ]
|
24
|
+
end
|
25
|
+
|
26
|
+
it "should support sequential primary keys with a Bignum" do
|
27
|
+
@db.create_table!(:items) do
|
28
|
+
primary_key :id, :type=>:Bignum
|
29
|
+
Integer :number
|
30
|
+
end
|
31
|
+
@ds.insert(:number=>20)
|
32
|
+
@ds.insert(:number=>30)
|
33
|
+
@ds.order(:number).all.must_equal [{:id => 1, :number=>20}, {:id => 2, :number=>30}]
|
34
|
+
end
|
35
|
+
|
36
|
+
cspecify "should insert with a primary key specified", :db2, :mssql do
|
37
|
+
@ds.insert(:id=>100, :number=>20)
|
38
|
+
@ds.count.must_equal 2
|
39
|
+
@ds.order(:id).all.must_equal [{:id=>1, :number=>10}, {:id=>100, :number=>20}]
|
40
|
+
end
|
41
|
+
|
42
|
+
it "should support ordering considering NULLS" do
|
43
|
+
@ds.insert(:number=>20)
|
44
|
+
@ds.insert(:number=>nil)
|
45
|
+
@ds.order(Sequel[:number].asc(:nulls=>:first)).select_map(:number).must_equal [nil, 10, 20]
|
46
|
+
@ds.order(Sequel[:number].asc(:nulls=>:last)).select_map(:number).must_equal [10, 20, nil]
|
47
|
+
@ds.order(Sequel[:number].desc(:nulls=>:first)).select_map(:number).must_equal [nil, 20, 10]
|
48
|
+
@ds.order(Sequel[:number].desc(:nulls=>:last)).select_map(:number).must_equal [20, 10, nil]
|
49
|
+
end
|
50
|
+
|
51
|
+
it "should have insert return primary key value" do
|
52
|
+
@ds.insert(:number=>20).must_equal 2
|
53
|
+
@ds.filter(:id=>2).first[:number].must_equal 20
|
54
|
+
end
|
55
|
+
|
56
|
+
it "should have insert work correctly with static SQL" do
|
57
|
+
@db["INSERT INTO #{@ds.literal(:items)} (#{@ds.literal(:number)}) VALUES (20)"].insert
|
58
|
+
@ds.filter(:id=>2).first[:number].must_equal 20
|
59
|
+
end
|
60
|
+
|
61
|
+
it "should join correctly" do
|
62
|
+
@ds.join(Sequel[:items].as(:b), :id=>:id).select_all(:items).all.must_equal [{:id=>1, :number=>10}]
|
63
|
+
end
|
64
|
+
|
65
|
+
it "should handle LATERAL subqueries correctly" do
|
66
|
+
@ds.insert(:number=>20)
|
67
|
+
@ds.from(Sequel[:items].as(:i), @ds.where(Sequel[:items][:number]=>Sequel[:i][:number]).lateral).select_order_map([Sequel[:i][:number].as(:n), Sequel[:t1][:number]]).must_equal [[10, 10], [20, 20]]
|
68
|
+
@ds.from(Sequel[:items].as(:i)).cross_join(@ds.where(Sequel[:items][:number]=>Sequel[:i][:number]).lateral).select_order_map([Sequel[:i][:number].as(:n), Sequel[:t1][:number]]).must_equal [[10, 10], [20, 20]]
|
69
|
+
@ds.from(Sequel[:items].as(:i)).join(@ds.where(Sequel[:items][:number]=>Sequel[:i][:number]).lateral, 1=>1).select_order_map([Sequel[:i][:number].as(:n), Sequel[:t1][:number]]).must_equal [[10, 10], [20, 20]]
|
70
|
+
@ds.from(Sequel[:items].as(:i)).join(@ds.where(Sequel[:items][:number]=>Sequel[:i][:number]).lateral, 1=>0).select_order_map([Sequel[:i][:number].as(:n), Sequel[:t1][:number]]).must_equal []
|
71
|
+
@ds.from(Sequel[:items].as(:i)).left_join(@ds.from(Sequel[:items].as(:i2)).where(Sequel[:i2][:number]=>Sequel[:i][:number]).lateral, 1=>1).select_order_map([Sequel[:i][:number].as(:n), Sequel[:t1][:number]]).must_equal [[10, 10], [20, 20]]
|
72
|
+
@ds.from(Sequel[:items].as(:i)).left_join(@ds.from(Sequel[:items].as(:i2)).where(Sequel[:i2][:number]=>Sequel[:i][:number]).lateral, 1=>0).select_order_map([Sequel[:i][:number].as(:n), Sequel[:t1][:number]]).must_equal [[10, nil], [20, nil]]
|
73
|
+
end if DB.dataset.supports_lateral_subqueries?
|
74
|
+
|
75
|
+
it "should correctly deal with qualified columns and subselects" do
|
76
|
+
@ds.from_self(:alias=>:a).select(Sequel[:a][:id], Sequel.qualify(:a, :number)).all.must_equal [{:id=>1, :number=>10}]
|
77
|
+
@ds.join(@ds.as(:a), :id=>:id).select(Sequel[:a][:id], Sequel.qualify(:a, :number)).all.must_equal [{:id=>1, :number=>10}]
|
78
|
+
end
|
79
|
+
|
80
|
+
it "should graph correctly" do
|
81
|
+
a = [{:items=>{:id=>1, :number=>10}, :b=>{:id=>1, :number=>10}}]
|
82
|
+
pr = proc{|t| @ds.graph(t, {:id=>:id}, :table_alias=>:b).extension(:graph_each).all.must_equal a}
|
83
|
+
pr[:items]
|
84
|
+
pr[Sequel[:items].as(:foo)]
|
85
|
+
pr[Sequel.identifier(:items)]
|
86
|
+
pr[Sequel.identifier('items')]
|
87
|
+
pr[Sequel.as(:items, :foo)]
|
88
|
+
pr[Sequel.as(Sequel.identifier('items'), 'foo')]
|
89
|
+
end
|
90
|
+
|
91
|
+
it "should graph correctly with a subselect" do
|
92
|
+
@ds.from_self(:alias=>:items).graph(@ds.from_self, {:id=>:id}, :table_alias=>:b).extension(:graph_each).all.must_equal [{:items=>{:id=>1, :number=>10}, :b=>{:id=>1, :number=>10}}]
|
93
|
+
end
|
94
|
+
|
95
|
+
cspecify "should have insert work correctly when inserting a row with all NULL values", :hsqldb do
|
96
|
+
@db.create_table!(:items) do
|
97
|
+
String :name
|
98
|
+
Integer :number
|
99
|
+
end
|
100
|
+
@ds.insert
|
101
|
+
@ds.all.must_equal [{:name=>nil, :number=>nil}]
|
102
|
+
end
|
103
|
+
|
104
|
+
it "should delete correctly" do
|
105
|
+
@ds.filter(1=>1).delete.must_equal 1
|
106
|
+
@ds.count.must_equal 0
|
107
|
+
end
|
108
|
+
|
109
|
+
it "should update correctly" do
|
110
|
+
@ds.update(:number=>Sequel.expr(:number)+1).must_equal 1
|
111
|
+
@ds.all.must_equal [{:id=>1, :number=>11}]
|
112
|
+
end
|
113
|
+
|
114
|
+
it "should have update return the number of matched rows" do
|
115
|
+
@ds.update(:number=>:number).must_equal 1
|
116
|
+
@ds.filter(:id=>1).update(:number=>:number).must_equal 1
|
117
|
+
@ds.filter(:id=>2).update(:number=>:number).must_equal 0
|
118
|
+
@ds.all.must_equal [{:id=>1, :number=>10}]
|
119
|
+
end
|
120
|
+
|
121
|
+
it "should iterate over records as they come in" do
|
122
|
+
called = false
|
123
|
+
@ds.each{|row| called = true; row.must_equal(:id=>1, :number=>10)}
|
124
|
+
called.must_equal true
|
125
|
+
end
|
126
|
+
|
127
|
+
it "should support iterating over large numbers of records with paged_each" do
|
128
|
+
(2..100).each{|i| @ds.insert(:number=>i*10)}
|
129
|
+
|
130
|
+
[:offset, :filter].each do |strategy|
|
131
|
+
rows = []
|
132
|
+
@ds.order(:number).paged_each(:rows_per_fetch=>5, :strategy=>strategy){|row| rows << row}
|
133
|
+
rows.must_equal((1..100).map{|i| {:id=>i, :number=>i*10}})
|
134
|
+
|
135
|
+
rows = []
|
136
|
+
@ds.order(:number).paged_each(:rows_per_fetch=>3, :strategy=>strategy){|row| rows << row}
|
137
|
+
rows.must_equal((1..100).map{|i| {:id=>i, :number=>i*10}})
|
138
|
+
|
139
|
+
rows = []
|
140
|
+
@ds.order(:number, :id).paged_each(:rows_per_fetch=>5, :strategy=>strategy){|row| rows << row}
|
141
|
+
rows.must_equal((1..100).map{|i| {:id=>i, :number=>i*10}})
|
142
|
+
|
143
|
+
rows = []
|
144
|
+
@ds.reverse_order(:number).paged_each(:rows_per_fetch=>5, :strategy=>strategy){|row| rows << row}
|
145
|
+
rows.must_equal((1..100).map{|i| {:id=>i, :number=>i*10}}.reverse)
|
146
|
+
|
147
|
+
rows = []
|
148
|
+
@ds.order(Sequel.desc(:number), :id).paged_each(:rows_per_fetch=>5, :strategy=>strategy){|row| rows << row}
|
149
|
+
rows.must_equal((1..100).map{|i| {:id=>i, :number=>i*10}}.reverse)
|
150
|
+
end
|
151
|
+
|
152
|
+
rows = []
|
153
|
+
@ds.order(:number).limit(50, 25).paged_each(:rows_per_fetch=>3).each{|row| rows << row}
|
154
|
+
rows.must_equal((26..75).map{|i| {:id=>i, :number=>i*10}})
|
155
|
+
|
156
|
+
rows = []
|
157
|
+
@ds.order(:number).limit(50, 25).paged_each(:rows_per_fetch=>3){|row| rows << row}
|
158
|
+
rows.must_equal((26..75).map{|i| {:id=>i, :number=>i*10}})
|
159
|
+
|
160
|
+
rows = []
|
161
|
+
@ds.order(Sequel.*(:number, 2)).paged_each(:rows_per_fetch=>5){|row| rows << row}
|
162
|
+
rows.must_equal((1..100).map{|i| {:id=>i, :number=>i*10}})
|
163
|
+
|
164
|
+
rows = []
|
165
|
+
@ds.order(Sequel.*(:number, 2)).paged_each(:rows_per_fetch=>5, :strategy=>:filter, :filter_values=>proc{|row, _| [row[:number] * 2]}){|row| rows << row}
|
166
|
+
rows.must_equal((1..100).map{|i| {:id=>i, :number=>i*10}})
|
167
|
+
|
168
|
+
if DB.adapter_scheme == :jdbc
|
169
|
+
# check retrival with varying fetch sizes
|
170
|
+
array = (1..100).to_a
|
171
|
+
[1, 2, 5, 10, 33, 50, 100, 1000].each do |i|
|
172
|
+
@ds.with_fetch_size(i).select_order_map(:id).must_equal array
|
173
|
+
end
|
174
|
+
end
|
175
|
+
end
|
176
|
+
|
177
|
+
it "should fetch all results correctly" do
|
178
|
+
@ds.all.must_equal [{:id=>1, :number=>10}]
|
179
|
+
end
|
180
|
+
|
181
|
+
it "should skip locked rows correctly" do
|
182
|
+
@ds.insert(:number=>10)
|
183
|
+
q1 = Queue.new
|
184
|
+
q2 = Queue.new
|
185
|
+
ds = @ds.order(:id).for_update.skip_locked
|
186
|
+
begin
|
187
|
+
t = Thread.new{@db.transaction(:isolation=>:committed){q2.push(ds.get(:id)); q1.pop}}
|
188
|
+
q2.pop.must_equal 1
|
189
|
+
# Some databases do row level locking, others do page level locking
|
190
|
+
[2, nil].must_include @db.transaction(:isolation=>:committed){ds.get(:id)}
|
191
|
+
ensure
|
192
|
+
q1.push(nil)
|
193
|
+
t.join
|
194
|
+
# Keep only one active connection, as some other specs expect that
|
195
|
+
@db.disconnect
|
196
|
+
end
|
197
|
+
end if DB.dataset.supports_skip_locked?
|
198
|
+
|
199
|
+
it "should raise error instead of waiting for rows correctly" do
|
200
|
+
@ds.insert(:number=>10)
|
201
|
+
q1 = Queue.new
|
202
|
+
q2 = Queue.new
|
203
|
+
ds = @ds.order(:id).for_update.nowait
|
204
|
+
begin
|
205
|
+
t = Thread.new{@db.transaction(:isolation=>:committed){q2.push(ds.get(:id)); q1.pop}}
|
206
|
+
q2.pop.must_equal 1
|
207
|
+
# Some databases do row level locking, others do page level locking
|
208
|
+
proc{@db.transaction(:isolation=>:committed){ds.get(:id)}}.must_raise Sequel::DatabaseLockTimeout
|
209
|
+
ensure
|
210
|
+
q1.push(nil)
|
211
|
+
t.join
|
212
|
+
# Keep only one active connection, as some other specs expect that
|
213
|
+
@db.disconnect
|
214
|
+
end
|
215
|
+
end if DB.dataset.supports_nowait?
|
216
|
+
|
217
|
+
it "should raise exception if raising on duplication columns" do
|
218
|
+
proc{@ds.select_map([:id, :id])}.must_raise Sequel::DuplicateColumnError
|
219
|
+
end if DB.opts[:on_duplicate_columns] == :raise
|
220
|
+
|
221
|
+
it "should fetch a single row correctly" do
|
222
|
+
@ds.first.must_equal(:id=>1, :number=>10)
|
223
|
+
@ds.single_record.must_equal(:id=>1, :number=>10)
|
224
|
+
@ds.single_record!.must_equal(:id=>1, :number=>10)
|
225
|
+
end
|
226
|
+
|
227
|
+
it "should work correctly when returning from each without iterating over the whole result set" do
|
228
|
+
@ds.insert(:number=>20)
|
229
|
+
@ds.order(:id).each{|v| break v}.must_equal(:id=>1, :number=>10)
|
230
|
+
@ds.reverse(:id).each{|v| break v}.must_equal(:id=>2, :number=>20)
|
231
|
+
end
|
232
|
+
|
233
|
+
it "should fetch a single value correctly" do
|
234
|
+
@ds.get(:id).must_equal 1
|
235
|
+
@ds.select(:id).single_value.must_equal 1
|
236
|
+
@ds.select(:id).single_value!.must_equal 1
|
237
|
+
end
|
238
|
+
|
239
|
+
it "should have distinct work with limit" do
|
240
|
+
@ds.limit(1).distinct.all.must_equal [{:id=>1, :number=>10}]
|
241
|
+
end
|
242
|
+
|
243
|
+
it "should fetch correctly with a limit" do
|
244
|
+
@ds.order(:id).limit(2).all.must_equal [{:id=>1, :number=>10}]
|
245
|
+
@ds.insert(:number=>20)
|
246
|
+
@ds.order(:id).limit(1).all.must_equal [{:id=>1, :number=>10}]
|
247
|
+
@ds.order(:id).limit(2).all.must_equal [{:id=>1, :number=>10}, {:id=>2, :number=>20}]
|
248
|
+
end
|
249
|
+
|
250
|
+
it "should fetch correctly with a limit and offset" do
|
251
|
+
@ds.order(:id).limit(2, 0).all.must_equal [{:id=>1, :number=>10}]
|
252
|
+
@ds.order(:id).limit(2, 1).all.must_equal []
|
253
|
+
@ds.insert(:number=>20)
|
254
|
+
@ds.order(:id).limit(1, 1).all.must_equal [{:id=>2, :number=>20}]
|
255
|
+
@ds.order(:id).limit(2, 0).all.must_equal [{:id=>1, :number=>10}, {:id=>2, :number=>20}]
|
256
|
+
@ds.order(:id).limit(2, 1).all.must_equal [{:id=>2, :number=>20}]
|
257
|
+
end
|
258
|
+
|
259
|
+
it "should fetch correctly with just offset" do
|
260
|
+
@ds.order(:id).offset(0).all.must_equal [{:id=>1, :number=>10}]
|
261
|
+
@ds.order(:id).offset(1).all.must_equal []
|
262
|
+
@ds.insert(:number=>20)
|
263
|
+
@ds.order(:id).offset(0).all.must_equal [{:id=>1, :number=>10}, {:id=>2, :number=>20}]
|
264
|
+
@ds.order(:id).offset(1).all.must_equal [{:id=>2, :number=>20}]
|
265
|
+
@ds.order(:id).offset(2).all.must_equal []
|
266
|
+
end
|
267
|
+
|
268
|
+
it "should fetch correctly with a limit and offset using seperate methods" do
|
269
|
+
@ds.order(:id).limit(2).offset(0).all.must_equal [{:id=>1, :number=>10}]
|
270
|
+
@ds.order(:id).limit(2).offset(1).all.must_equal []
|
271
|
+
@ds.insert(:number=>20)
|
272
|
+
@ds.order(:id).limit(1).offset(1).all.must_equal [{:id=>2, :number=>20}]
|
273
|
+
@ds.order(:id).limit(2).offset(0).all.must_equal [{:id=>1, :number=>10}, {:id=>2, :number=>20}]
|
274
|
+
@ds.order(:id).limit(2).offset(1).all.must_equal [{:id=>2, :number=>20}]
|
275
|
+
end
|
276
|
+
|
277
|
+
it "should provide correct columns when using a limit and offset" do
|
278
|
+
ds = @ds.order(:id).limit(1, 1)
|
279
|
+
ds.all
|
280
|
+
ds.columns.must_equal [:id, :number]
|
281
|
+
@ds.order(:id).limit(1, 1).columns.must_equal [:id, :number]
|
282
|
+
end
|
283
|
+
|
284
|
+
it "should fetch correctly with a limit and offset for different combinations of from and join tables" do
|
285
|
+
@db.create_table!(:items2){primary_key :id2; Integer :number2}
|
286
|
+
@db[:items2].insert(:number2=>10)
|
287
|
+
@ds.from(:items, :items2).order(:id).limit(2, 0).all.must_equal [{:id=>1, :number=>10, :id2=>1, :number2=>10}]
|
288
|
+
@ds.from(Sequel[:items].as(:i), Sequel[:items2].as(:i2)).order(:id).limit(2, 0).all.must_equal [{:id=>1, :number=>10, :id2=>1, :number2=>10}]
|
289
|
+
@ds.cross_join(:items2).order(:id).limit(2, 0).all.must_equal [{:id=>1, :number=>10, :id2=>1, :number2=>10}]
|
290
|
+
@ds.from(Sequel[:items].as(:i)).cross_join(Sequel[:items2].as(:i2)).order(:id).limit(2, 0).all.must_equal [{:id=>1, :number=>10, :id2=>1, :number2=>10}]
|
291
|
+
@ds.cross_join(Sequel[:items2].as(:i)).cross_join(@db[:items2].select(Sequel[:id2].as(:id3), Sequel[:number2].as(:number3))).order(:id).limit(2, 0).all.must_equal [{:id=>1, :number=>10, :id2=>1, :number2=>10, :id3=>1, :number3=>10}]
|
292
|
+
|
293
|
+
@ds.from(:items, :items2).order(:id).limit(2, 1).all.must_equal []
|
294
|
+
@ds.from(Sequel[:items].as(:i), Sequel[:items2].as(:i2)).order(:id).limit(2, 1).all.must_equal []
|
295
|
+
@ds.cross_join(:items2).order(:id).limit(2, 1).all.must_equal []
|
296
|
+
@ds.from(Sequel[:items].as(:i)).cross_join(Sequel[:items2].as(:i2)).order(:id).limit(2, 1).all.must_equal []
|
297
|
+
@ds.cross_join(Sequel[:items2].as(:i)).cross_join(@db[:items2].select(Sequel[:id2].as(:id3), Sequel[:number2].as(:number3))).order(:id).limit(2, 1).all.must_equal []
|
298
|
+
@db.drop_table(:items2)
|
299
|
+
end
|
300
|
+
|
301
|
+
it "should fetch correctly with a limit and offset without an order" do
|
302
|
+
@ds.limit(2, 1).all.must_equal []
|
303
|
+
@ds.join(Sequel[:items].as(:i), :id=>:id).select(Sequel[:items][:id].as(:s), Sequel[:i][:id].as(:id2)).limit(2, 1).all.must_equal []
|
304
|
+
@ds.join(Sequel[:items].as(:i), :id=>:id).select(Sequel[:items][:id]).limit(2, 1).all.must_equal []
|
305
|
+
@ds.join(Sequel[:items].as(:i), :id=>:id).select(Sequel.qualify(:items, :id)).limit(2, 1).all.must_equal []
|
306
|
+
@ds.join(Sequel[:items].as(:i), :id=>:id).select(Sequel.qualify(:items, :id).as(:s)).limit(2, 1).all.must_equal []
|
307
|
+
end
|
308
|
+
|
309
|
+
it "should be orderable by column number" do
|
310
|
+
@ds.insert(:number=>20)
|
311
|
+
@ds.insert(:number=>10)
|
312
|
+
@ds.order(2, 1).select_map([:id, :number]).must_equal [[1, 10], [3, 10], [2, 20]]
|
313
|
+
end
|
314
|
+
|
315
|
+
it "should fetch correctly with a limit in an IN subselect" do
|
316
|
+
@ds.where(:id=>@ds.select(:id).order(:id).limit(2)).all.must_equal [{:id=>1, :number=>10}]
|
317
|
+
@ds.insert(:number=>20)
|
318
|
+
@ds.where(:id=>@ds.select(:id).order(:id).limit(1)).all.must_equal [{:id=>1, :number=>10}]
|
319
|
+
@ds.where(:id=>@ds.select(:id).order(:id).limit(2)).order(:id).all.must_equal [{:id=>1, :number=>10}, {:id=>2, :number=>20}]
|
320
|
+
end
|
321
|
+
|
322
|
+
it "should fetch correctly with a limit and offset in an IN subselect" do
|
323
|
+
@ds.where(:id=>@ds.select(:id).order(:id).limit(2, 0)).all.must_equal [{:id=>1, :number=>10}]
|
324
|
+
@ds.where(:id=>@ds.select(:id).order(:id).limit(2, 1)).all.must_equal []
|
325
|
+
@ds.insert(:number=>20)
|
326
|
+
@ds.where(:id=>@ds.select(:id).order(:id).limit(1, 1)).all.must_equal [{:id=>2, :number=>20}]
|
327
|
+
@ds.where(:id=>@ds.select(:id).order(:id).limit(2, 0)).order(:id).all.must_equal [{:id=>1, :number=>10}, {:id=>2, :number=>20}]
|
328
|
+
@ds.where(:id=>@ds.select(:id).order(:id).limit(2, 1)).all.must_equal [{:id=>2, :number=>20}]
|
329
|
+
end
|
330
|
+
|
331
|
+
it "should fetch correctly when using limit and offset in a from_self" do
|
332
|
+
@ds.insert(:number=>20)
|
333
|
+
ds = @ds.order(:id).limit(1, 1).from_self
|
334
|
+
ds.all.must_equal [{:number=>20, :id=>2}]
|
335
|
+
ds.columns.must_equal [:id, :number]
|
336
|
+
@ds.order(:id).limit(1, 1).columns.must_equal [:id, :number]
|
337
|
+
end
|
338
|
+
|
339
|
+
it "should fetch correctly when using nested limit and offset in a from_self" do
|
340
|
+
@ds.insert(:number=>20)
|
341
|
+
@ds.insert(:number=>30)
|
342
|
+
ds = @ds.order(:id).limit(2, 1).from_self.reverse_order(:number).limit(1, 1)
|
343
|
+
ds.all.must_equal [{:number=>20, :id=>2}]
|
344
|
+
ds.columns.must_equal [:id, :number]
|
345
|
+
@ds.order(:id).limit(2, 1).from_self.reverse_order(:number).limit(1, 1).columns.must_equal [:id, :number]
|
346
|
+
|
347
|
+
ds = @ds.order(:id).limit(3, 1).from_self.limit(2, 1).from_self.limit(1, 1)
|
348
|
+
ds.all.must_equal []
|
349
|
+
ds.columns.must_equal [:id, :number]
|
350
|
+
|
351
|
+
@ds.insert(:number=>40)
|
352
|
+
ds = @ds.order(:id).limit(3, 1).from_self.reverse_order(:number).limit(2, 1).from_self.reverse_order(:id).limit(1, 1)
|
353
|
+
ds.all.must_equal [{:number=>20, :id=>2}]
|
354
|
+
ds.columns.must_equal [:id, :number]
|
355
|
+
end
|
356
|
+
|
357
|
+
it "should alias columns correctly" do
|
358
|
+
@ds.select(Sequel[:id].as(:x), Sequel[:number].as(:n)).first.must_equal(:x=>1, :n=>10)
|
359
|
+
end
|
360
|
+
|
361
|
+
it "should support table aliases with column aliases" do
|
362
|
+
DB.from(@ds.as(:i, [:x, :n])).first.must_equal(:x=>1, :n=>10)
|
363
|
+
end if DB.dataset.supports_derived_column_lists?
|
364
|
+
|
365
|
+
it "should handle true/false properly" do
|
366
|
+
@ds.filter(Sequel::TRUE).select_map(:number).must_equal [10]
|
367
|
+
@ds.filter(Sequel::FALSE).select_map(:number).must_equal []
|
368
|
+
@ds.filter(true).select_map(:number).must_equal [10]
|
369
|
+
@ds.filter(false).select_map(:number).must_equal []
|
370
|
+
end
|
371
|
+
|
372
|
+
it "should support the sql_comments extension" do
|
373
|
+
ds = @ds.extension(:sql_comments).comment("Some\rComment\r\nHere")
|
374
|
+
ds.all.must_equal [{:id=>1, :number=>10}]
|
375
|
+
ds.insert(:number=>20).must_equal 2
|
376
|
+
ds.update(:number=>30).must_equal 2
|
377
|
+
ds.delete.must_equal 2
|
378
|
+
end
|
379
|
+
end
|
380
|
+
|
381
|
+
describe "Simple dataset operations with nasty table names" do
|
382
|
+
before do
|
383
|
+
@db = DB
|
384
|
+
@table = :"i`t' [e]\"m\\s"
|
385
|
+
end
|
386
|
+
|
387
|
+
cspecify "should work correctly", :oracle, :sqlanywhere, [:jdbc, :mssql] do
|
388
|
+
@db.create_table!(@table) do
|
389
|
+
primary_key :id
|
390
|
+
Integer :number
|
391
|
+
end
|
392
|
+
@ds = @db[@table]
|
393
|
+
@ds.insert(:number=>10).must_equal 1
|
394
|
+
@ds.all.must_equal [{:id=>1, :number=>10}]
|
395
|
+
@ds.update(:number=>20).must_equal 1
|
396
|
+
@ds.all.must_equal [{:id=>1, :number=>20}]
|
397
|
+
@ds.delete.must_equal 1
|
398
|
+
@ds.count.must_equal 0
|
399
|
+
@db.drop_table?(@table)
|
400
|
+
end
|
401
|
+
end if DB.dataset.quote_identifiers?
|
402
|
+
|
403
|
+
describe Sequel::Dataset do
|
404
|
+
before do
|
405
|
+
DB.create_table!(:test) do
|
406
|
+
String :name
|
407
|
+
Integer :value
|
408
|
+
end
|
409
|
+
@d = DB[:test]
|
410
|
+
end
|
411
|
+
after do
|
412
|
+
DB.drop_table?(:test)
|
413
|
+
end
|
414
|
+
|
415
|
+
it "should return the correct record count" do
|
416
|
+
@d.count.must_equal 0
|
417
|
+
@d.insert(:name => 'abc', :value => 123)
|
418
|
+
@d.insert(:name => 'abc', :value => 456)
|
419
|
+
@d.insert(:name => 'def', :value => nil)
|
420
|
+
5.times do
|
421
|
+
@d.count.must_equal 3
|
422
|
+
@d.count(:name).must_equal 3
|
423
|
+
@d.count(:value).must_equal 2
|
424
|
+
end
|
425
|
+
end
|
426
|
+
|
427
|
+
it "should handle functions with identifier names correctly" do
|
428
|
+
@d.insert(:name => 'abc', :value => 6)
|
429
|
+
@d.get{sum.function(:value)}.must_equal 6
|
430
|
+
end
|
431
|
+
|
432
|
+
it "should handle aggregate methods on limited datasets correctly" do
|
433
|
+
@d.insert(:name => 'abc', :value => 6)
|
434
|
+
@d.insert(:name => 'bcd', :value => 12)
|
435
|
+
@d.insert(:name => 'def', :value => 18)
|
436
|
+
@d = @d.order(:name).limit(2)
|
437
|
+
@d.count.must_equal 2
|
438
|
+
@d.avg(:value).to_i.must_equal 9
|
439
|
+
@d.min(:value).to_i.must_equal 6
|
440
|
+
@d.reverse.min(:value).to_i.must_equal 12
|
441
|
+
@d.max(:value).to_i.must_equal 12
|
442
|
+
@d.sum(:value).to_i.must_equal 18
|
443
|
+
@d.extension(:sequel_4_dataset_methods).interval(:value).to_i.must_equal 6
|
444
|
+
end
|
445
|
+
|
446
|
+
it "should return the correct records" do
|
447
|
+
@d.to_a.must_equal []
|
448
|
+
@d.insert(:name => 'abc', :value => 123)
|
449
|
+
@d.insert(:name => 'abc', :value => 456)
|
450
|
+
@d.insert(:name => 'def', :value => 789)
|
451
|
+
|
452
|
+
@d.order(:value).to_a.must_equal [
|
453
|
+
{:name => 'abc', :value => 123},
|
454
|
+
{:name => 'abc', :value => 456},
|
455
|
+
{:name => 'def', :value => 789}
|
456
|
+
]
|
457
|
+
end
|
458
|
+
|
459
|
+
it "should update records correctly" do
|
460
|
+
@d.insert(:name => 'abc', :value => 123)
|
461
|
+
@d.insert(:name => 'abc', :value => 456)
|
462
|
+
@d.insert(:name => 'def', :value => 789)
|
463
|
+
@d.filter(:name => 'abc').update(:value => 530)
|
464
|
+
@d[:name => 'def'][:value].must_equal 789
|
465
|
+
@d.filter(:value => 530).count.must_equal 2
|
466
|
+
end
|
467
|
+
|
468
|
+
it "should delete records correctly" do
|
469
|
+
@d.insert(:name => 'abc', :value => 123)
|
470
|
+
@d.insert(:name => 'abc', :value => 456)
|
471
|
+
@d.insert(:name => 'def', :value => 789)
|
472
|
+
@d.filter(:name => 'abc').delete
|
473
|
+
@d.count.must_equal 1
|
474
|
+
@d.first[:name].must_equal 'def'
|
475
|
+
end
|
476
|
+
|
477
|
+
it "should be able to truncate the table" do
|
478
|
+
@d.insert(:name => 'abc', :value => 123)
|
479
|
+
@d.insert(:name => 'abc', :value => 456)
|
480
|
+
@d.insert(:name => 'def', :value => 789)
|
481
|
+
@d.count.must_equal 3
|
482
|
+
@d.truncate.must_be_nil
|
483
|
+
@d.count.must_equal 0
|
484
|
+
end
|
485
|
+
|
486
|
+
it "should be able to literalize booleans" do
|
487
|
+
@d.literal(true)
|
488
|
+
@d.literal(false)
|
489
|
+
end
|
490
|
+
end
|
491
|
+
|
492
|
+
describe Sequel::Database do
|
493
|
+
it "should correctly escape strings" do
|
494
|
+
["\\\n",
|
495
|
+
"\\\\\n",
|
496
|
+
"\\\r\n",
|
497
|
+
"\\\\\r\n",
|
498
|
+
"\\\\\n\n",
|
499
|
+
"\\\\\r\n\r\n",
|
500
|
+
"\\dingo",
|
501
|
+
"\\'dingo",
|
502
|
+
"\\\\''dingo",
|
503
|
+
].each do |str|
|
504
|
+
DB.get(Sequel.cast(str, String)).must_equal str
|
505
|
+
str = "1#{str}1"
|
506
|
+
DB.get(Sequel.cast(str, String)).must_equal str
|
507
|
+
str = "#{str}#{str}"
|
508
|
+
DB.get(Sequel.cast(str, String)).must_equal str
|
509
|
+
end
|
510
|
+
end
|
511
|
+
|
512
|
+
cspecify "should properly escape binary data", [:odbc], [:jdbc, :hsqldb], :oracle do
|
513
|
+
DB.get(Sequel.cast(Sequel.blob("\1\2\3"), File).as(:a)).must_equal "\1\2\3"
|
514
|
+
end
|
515
|
+
|
516
|
+
cspecify "should properly handle empty blobs", [:jdbc, :hsqldb], :oracle do
|
517
|
+
DB.get(Sequel.cast(Sequel.blob(""), File).as(:a)).must_equal ""
|
518
|
+
end
|
519
|
+
|
520
|
+
cspecify "should properly escape identifiers", :db2, :oracle, :sqlanywhere do
|
521
|
+
DB.create_table!(:"\\'\"[]"){Integer :id}
|
522
|
+
DB.drop_table(:"\\'\"[]")
|
523
|
+
end
|
524
|
+
|
525
|
+
it "should have a working table_exists?" do
|
526
|
+
t = :basdfdsafsaddsaf
|
527
|
+
DB.drop_table?(t)
|
528
|
+
DB.table_exists?(t).must_equal false
|
529
|
+
DB.create_table(t){Integer :a}
|
530
|
+
begin
|
531
|
+
DB.table_exists?(t).must_equal true
|
532
|
+
ensure
|
533
|
+
DB.drop_table(t)
|
534
|
+
end
|
535
|
+
end
|
536
|
+
end
|
537
|
+
|
538
|
+
describe Sequel::Dataset do
|
539
|
+
before do
|
540
|
+
DB.create_table! :items do
|
541
|
+
primary_key :id
|
542
|
+
Integer :value
|
543
|
+
end
|
544
|
+
@d = DB[:items]
|
545
|
+
@d.insert(:value => 123)
|
546
|
+
@d.insert(:value => 456)
|
547
|
+
@d.insert(:value => 789)
|
548
|
+
end
|
549
|
+
after do
|
550
|
+
DB.drop_table?(:items)
|
551
|
+
end
|
552
|
+
|
553
|
+
it "should correctly return avg" do
|
554
|
+
@d.avg(:value).to_i.must_equal 456
|
555
|
+
end
|
556
|
+
|
557
|
+
it "should correctly return sum" do
|
558
|
+
@d.sum(:value).to_i.must_equal 1368
|
559
|
+
end
|
560
|
+
|
561
|
+
it "should correctly return max" do
|
562
|
+
@d.max(:value).to_i.must_equal 789
|
563
|
+
end
|
564
|
+
|
565
|
+
it "should correctly return min" do
|
566
|
+
@d.min(:value).to_i.must_equal 123
|
567
|
+
end
|
568
|
+
end
|
569
|
+
|
570
|
+
describe "Simple Dataset operations" do
|
571
|
+
before do
|
572
|
+
DB.create_table!(:items) do
|
573
|
+
Integer :number
|
574
|
+
TrueClass :flag
|
575
|
+
end
|
576
|
+
@ds = DB[:items]
|
577
|
+
end
|
578
|
+
after do
|
579
|
+
DB.drop_table?(:items)
|
580
|
+
end
|
581
|
+
|
582
|
+
it "should deal with boolean conditions correctly" do
|
583
|
+
@ds.insert(:number=>1, :flag=>true)
|
584
|
+
@ds.insert(:number=>2, :flag=>false)
|
585
|
+
@ds.insert(:number=>3, :flag=>nil)
|
586
|
+
@ds = @ds.order(:number)
|
587
|
+
@ds.filter(:flag=>true).map(:number).must_equal [1]
|
588
|
+
@ds.filter(:flag=>false).map(:number).must_equal [2]
|
589
|
+
@ds.filter(:flag=>nil).map(:number).must_equal [3]
|
590
|
+
@ds.exclude(:flag=>true).map(:number).must_equal [2, 3]
|
591
|
+
@ds.exclude(:flag=>false).map(:number).must_equal [1, 3]
|
592
|
+
@ds.exclude(:flag=>nil).map(:number).must_equal [1, 2]
|
593
|
+
end
|
594
|
+
end
|
595
|
+
|
596
|
+
describe "Simple Dataset operations in transactions" do
|
597
|
+
before do
|
598
|
+
DB.create_table!(:items) do
|
599
|
+
primary_key :id
|
600
|
+
integer :number
|
601
|
+
end
|
602
|
+
@ds = DB[:items]
|
603
|
+
end
|
604
|
+
after do
|
605
|
+
DB.drop_table?(:items)
|
606
|
+
end
|
607
|
+
|
608
|
+
cspecify "should insert correctly with a primary key specified inside a transaction", :db2, :mssql do
|
609
|
+
DB.transaction do
|
610
|
+
@ds.insert(:id=>100, :number=>20)
|
611
|
+
@ds.count.must_equal 1
|
612
|
+
@ds.order(:id).all.must_equal [{:id=>100, :number=>20}]
|
613
|
+
end
|
614
|
+
end
|
615
|
+
|
616
|
+
it "should have insert return primary key value inside a transaction" do
|
617
|
+
DB.transaction do
|
618
|
+
@ds.insert(:number=>20).must_equal 1
|
619
|
+
@ds.count.must_equal 1
|
620
|
+
@ds.order(:id).all.must_equal [{:id=>1, :number=>20}]
|
621
|
+
end
|
622
|
+
end
|
623
|
+
|
624
|
+
it "should support for_update" do
|
625
|
+
DB.transaction{@ds.for_update.all.must_equal []}
|
626
|
+
end
|
627
|
+
end
|
628
|
+
|
629
|
+
describe "Dataset UNION, EXCEPT, and INTERSECT" do
|
630
|
+
before do
|
631
|
+
DB.create_table!(:i1){integer :number}
|
632
|
+
DB.create_table!(:i2){integer :number}
|
633
|
+
@ds1 = DB[:i1]
|
634
|
+
@ds1.insert(:number=>10)
|
635
|
+
@ds1.insert(:number=>20)
|
636
|
+
@ds2 = DB[:i2]
|
637
|
+
@ds2.insert(:number=>10)
|
638
|
+
@ds2.insert(:number=>30)
|
639
|
+
end
|
640
|
+
after do
|
641
|
+
DB.drop_table?(:i1, :i2, :i3)
|
642
|
+
end
|
643
|
+
|
644
|
+
it "should give the correct results for UNION with an existing order" do
|
645
|
+
@ds1.order(:number).union(@ds2).order(:number).map{|x| x[:number].to_s}.must_equal %w'10 20 30'
|
646
|
+
end
|
647
|
+
|
648
|
+
it "should give the correct results for simple UNION, EXCEPT, and INTERSECT" do
|
649
|
+
@ds1.union(@ds2).order(:number).map{|x| x[:number].to_s}.must_equal %w'10 20 30'
|
650
|
+
if @ds1.supports_intersect_except?
|
651
|
+
@ds1.except(@ds2).order(:number).map{|x| x[:number].to_s}.must_equal %w'20'
|
652
|
+
@ds1.intersect(@ds2).order(:number).map{|x| x[:number].to_s}.must_equal %w'10'
|
653
|
+
end
|
654
|
+
end
|
655
|
+
|
656
|
+
it "should give the correct results for UNION, EXCEPT, and INTERSECT when used with ordering and limits and offsets" do
|
657
|
+
[%w'10 30', %w'10 20 30'].must_include @ds1.limit(1).union(@ds2).order(:number).map{|x| x[:number].to_s}
|
658
|
+
[%w'10 30', %w'10 20 30'].must_include @ds1.offset(1).union(@ds2).order(:number).map{|x| x[:number].to_s}
|
659
|
+
|
660
|
+
@ds1.insert(:number=>8)
|
661
|
+
@ds2.insert(:number=>9)
|
662
|
+
@ds1.insert(:number=>38)
|
663
|
+
@ds2.insert(:number=>39)
|
664
|
+
|
665
|
+
@ds1.reverse_order(:number).union(@ds2).order(:number).map{|x| x[:number].to_s}.must_equal %w'8 9 10 20 30 38 39'
|
666
|
+
@ds1.union(@ds2.reverse_order(:number)).order(:number).map{|x| x[:number].to_s}.must_equal %w'8 9 10 20 30 38 39'
|
667
|
+
|
668
|
+
@ds1.reverse_order(:number).limit(1).union(@ds2).order(:number).map{|x| x[:number].to_s}.must_equal %w'9 10 30 38 39'
|
669
|
+
@ds2.reverse_order(:number).limit(1).union(@ds1).order(:number).map{|x| x[:number].to_s}.must_equal %w'8 10 20 38 39'
|
670
|
+
@ds1.reverse_order(:number).limit(1, 1).union(@ds2).order(:number).map{|x| x[:number].to_s}.must_equal %w'9 10 20 30 39'
|
671
|
+
@ds2.reverse_order(:number).limit(1, 1).union(@ds1).order(:number).map{|x| x[:number].to_s}.must_equal %w'8 10 20 30 38'
|
672
|
+
@ds1.reverse_order(:number).offset(1).union(@ds2).order(:number).map{|x| x[:number].to_s}.must_equal %w'8 9 10 20 30 39'
|
673
|
+
@ds2.reverse_order(:number).offset(1).union(@ds1).order(:number).map{|x| x[:number].to_s}.must_equal %w'8 9 10 20 30 38'
|
674
|
+
|
675
|
+
@ds1.union(@ds2.order(:number).limit(1)).order(:number).map{|x| x[:number].to_s}.must_equal %w'8 9 10 20 38'
|
676
|
+
@ds2.union(@ds1.order(:number).limit(1)).order(:number).map{|x| x[:number].to_s}.must_equal %w'8 9 10 30 39'
|
677
|
+
@ds1.union(@ds2.order(:number).limit(1, 1)).order(:number).map{|x| x[:number].to_s}.must_equal %w'8 10 20 38'
|
678
|
+
@ds2.union(@ds1.order(:number).limit(1, 1)).order(:number).map{|x| x[:number].to_s}.must_equal %w'9 10 30 39'
|
679
|
+
@ds1.union(@ds2.order(:number).offset(1)).order(:number).map{|x| x[:number].to_s}.must_equal %w'8 10 20 30 38 39'
|
680
|
+
@ds2.union(@ds1.order(:number).offset(1)).order(:number).map{|x| x[:number].to_s}.must_equal %w'9 10 20 30 38 39'
|
681
|
+
|
682
|
+
@ds1.union(@ds2).limit(2).order(:number).map{|x| x[:number].to_s}.must_equal %w'8 9'
|
683
|
+
@ds2.union(@ds1).reverse_order(:number).limit(2).map{|x| x[:number].to_s}.must_equal %w'39 38'
|
684
|
+
@ds1.union(@ds2).limit(2, 1).order(:number).map{|x| x[:number].to_s}.must_equal %w'9 10'
|
685
|
+
@ds2.union(@ds1).reverse_order(:number).limit(2, 1).map{|x| x[:number].to_s}.must_equal %w'38 30'
|
686
|
+
@ds1.union(@ds2).offset(1).order(:number).map{|x| x[:number].to_s}.must_equal %w'9 10 20 30 38 39'
|
687
|
+
@ds2.union(@ds1).reverse_order(:number).offset(1).map{|x| x[:number].to_s}.must_equal %w'38 30 20 10 9 8'
|
688
|
+
|
689
|
+
@ds1.reverse_order(:number).limit(2).union(@ds2.reverse_order(:number).limit(2)).order(:number).limit(3).map{|x| x[:number].to_s}.must_equal %w'20 30 38'
|
690
|
+
@ds2.order(:number).limit(2).union(@ds1.order(:number).limit(2)).reverse_order(:number).limit(3).map{|x| x[:number].to_s}.must_equal %w'10 9 8'
|
691
|
+
@ds1.reverse_order(:number).limit(2, 1).union(@ds2.reverse_order(:number).limit(2, 1)).order(:number).limit(3, 1).map{|x| x[:number].to_s}.must_equal %w'20 30'
|
692
|
+
@ds2.order(:number).limit(2, 1).union(@ds1.order(:number).limit(2, 1)).reverse_order(:number).limit(3, 1).map{|x| x[:number].to_s}.must_equal %w'20 10'
|
693
|
+
@ds1.reverse_order(:number).offset(1).union(@ds2.reverse_order(:number).offset(1)).order(:number).offset(1).map{|x| x[:number].to_s}.must_equal %w'9 10 20 30'
|
694
|
+
@ds2.order(:number).offset(1).union(@ds1.order(:number).offset(1)).reverse_order(:number).offset(1).map{|x| x[:number].to_s}.must_equal %w'38 30 20 10'
|
695
|
+
end
|
696
|
+
|
697
|
+
it "should give the correct results for compound UNION, EXCEPT, and INTERSECT" do
|
698
|
+
DB.create_table!(:i3){integer :number}
|
699
|
+
@ds3 = DB[:i3]
|
700
|
+
@ds3.insert(:number=>10)
|
701
|
+
@ds3.insert(:number=>40)
|
702
|
+
|
703
|
+
@ds1.union(@ds2).union(@ds3).order(:number).map{|x| x[:number].to_s}.must_equal %w'10 20 30 40'
|
704
|
+
@ds1.union(@ds2.union(@ds3)).order(:number).map{|x| x[:number].to_s}.must_equal %w'10 20 30 40'
|
705
|
+
if @ds1.supports_intersect_except?
|
706
|
+
@ds1.union(@ds2).except(@ds3).order(:number).map{|x| x[:number].to_s}.must_equal %w'20 30'
|
707
|
+
@ds1.union(@ds2.except(@ds3)).order(:number).map{|x| x[:number].to_s}.must_equal %w'10 20 30'
|
708
|
+
@ds1.union(@ds2).intersect(@ds3).order(:number).map{|x| x[:number].to_s}.must_equal %w'10 '
|
709
|
+
@ds1.union(@ds2.intersect(@ds3)).order(:number).map{|x| x[:number].to_s}.must_equal %w'10 20'
|
710
|
+
|
711
|
+
@ds1.except(@ds2).union(@ds3).order(:number).map{|x| x[:number].to_s}.must_equal %w'10 20 40'
|
712
|
+
@ds1.except(@ds2.union(@ds3)).order(:number).map{|x| x[:number].to_s}.must_equal %w'20'
|
713
|
+
@ds1.except(@ds2).except(@ds3).order(:number).map{|x| x[:number].to_s}.must_equal %w'20'
|
714
|
+
@ds1.except(@ds2.except(@ds3)).order(:number).map{|x| x[:number].to_s}.must_equal %w'10 20'
|
715
|
+
@ds1.except(@ds2).intersect(@ds3).order(:number).map{|x| x[:number].to_s}.must_equal %w''
|
716
|
+
@ds1.except(@ds2.intersect(@ds3)).order(:number).map{|x| x[:number].to_s}.must_equal %w'20'
|
717
|
+
|
718
|
+
@ds1.intersect(@ds2).union(@ds3).order(:number).map{|x| x[:number].to_s}.must_equal %w'10 40'
|
719
|
+
@ds1.intersect(@ds2.union(@ds3)).order(:number).map{|x| x[:number].to_s}.must_equal %w'10'
|
720
|
+
@ds1.intersect(@ds2).except(@ds3).order(:number).map{|x| x[:number].to_s}.must_equal %w''
|
721
|
+
@ds1.intersect(@ds2.except(@ds3)).order(:number).map{|x| x[:number].to_s}.must_equal %w''
|
722
|
+
@ds1.intersect(@ds2).intersect(@ds3).order(:number).map{|x| x[:number].to_s}.must_equal %w'10'
|
723
|
+
@ds1.intersect(@ds2.intersect(@ds3)).order(:number).map{|x| x[:number].to_s}.must_equal %w'10'
|
724
|
+
end
|
725
|
+
end
|
726
|
+
end
|
727
|
+
|
728
|
+
if DB.dataset.supports_cte?
|
729
|
+
describe "Common Table Expressions" do
|
730
|
+
before(:all) do
|
731
|
+
@db = DB
|
732
|
+
@db.create_table!(:i1){Integer :id; Integer :parent_id}
|
733
|
+
@ds = @db[:i1]
|
734
|
+
@ds.insert(:id=>1)
|
735
|
+
@ds.insert(:id=>2)
|
736
|
+
@ds.insert(:id=>3, :parent_id=>1)
|
737
|
+
@ds.insert(:id=>4, :parent_id=>1)
|
738
|
+
@ds.insert(:id=>5, :parent_id=>3)
|
739
|
+
@ds.insert(:id=>6, :parent_id=>5)
|
740
|
+
end
|
741
|
+
after(:all) do
|
742
|
+
@db.drop_table?(:i1)
|
743
|
+
end
|
744
|
+
|
745
|
+
it "should give correct results for WITH" do
|
746
|
+
@db[:t].with(:t, @ds.filter(:parent_id=>nil).select(:id)).order(:id).map(:id).must_equal [1, 2]
|
747
|
+
end
|
748
|
+
|
749
|
+
cspecify "should give correct results for recursive WITH", :db2 do
|
750
|
+
ds = @db[:t].select(Sequel[:i].as(:id), Sequel[:pi].as(:parent_id)).with_recursive(:t, @ds.filter(:parent_id=>nil), @ds.join(:t, :i=>:parent_id).select(Sequel[:i1][:id], Sequel[:i1][:parent_id]), :args=>[:i, :pi]).order(:id)
|
751
|
+
ds.all.must_equal [{:parent_id=>nil, :id=>1}, {:parent_id=>nil, :id=>2}, {:parent_id=>1, :id=>3}, {:parent_id=>1, :id=>4}, {:parent_id=>3, :id=>5}, {:parent_id=>5, :id=>6}]
|
752
|
+
ps = @db[:t].select(Sequel[:i].as(:id), Sequel[:pi].as(:parent_id)).with_recursive(:t, @ds.filter(:parent_id=>:$n), @ds.join(:t, :i=>:parent_id).filter(Sequel[:t][:i]=>:parent_id).select(Sequel[:i1][:id], Sequel[:i1][:parent_id]), :args=>[:i, :pi]).order(:id).prepare(:select, :cte_sel)
|
753
|
+
ps.call(:n=>1).must_equal [{:id=>3, :parent_id=>1}, {:id=>4, :parent_id=>1}, {:id=>5, :parent_id=>3}, {:id=>6, :parent_id=>5}]
|
754
|
+
ps.call(:n=>3).must_equal [{:id=>5, :parent_id=>3}, {:id=>6, :parent_id=>5}]
|
755
|
+
ps.call(:n=>5).must_equal [{:id=>6, :parent_id=>5}]
|
756
|
+
end
|
757
|
+
|
758
|
+
it "should support joining a dataset with a CTE" do
|
759
|
+
@ds.inner_join(@db[:t].with(:t, @ds.filter(:parent_id=>nil)), :id => :id).select(Sequel[:i1][:id]).order(Sequel[:i1][:id]).map(:id).must_equal [1,2]
|
760
|
+
@db[:t].with(:t, @ds).inner_join(@db[:s].with(:s, @ds.filter(:parent_id=>nil)), :id => :id).select(Sequel[:t][:id]).order(Sequel[:t][:id]).map(:id).must_equal [1,2]
|
761
|
+
end
|
762
|
+
|
763
|
+
it "should support a subselect in the FROM clause with a CTE" do
|
764
|
+
@ds.from(@db[:t].with(:t, @ds)).select_order_map(:id).must_equal [1,2,3,4,5,6]
|
765
|
+
@db[:t].with(:t, @ds).from_self.select_order_map(:id).must_equal [1,2,3,4,5,6]
|
766
|
+
end
|
767
|
+
|
768
|
+
it "should support using a CTE inside a CTE" do
|
769
|
+
@db[:s].with(:s, @db[:t].with(:t, @ds)).select_order_map(:id).must_equal [1,2,3,4,5,6]
|
770
|
+
@db[:s].with_recursive(:s, @db[:t].with(:t, @ds), @db[:t2].with(:t2, @ds)).select_order_map(:id).must_equal [1,1,2,2,3,3,4,4,5,5,6,6]
|
771
|
+
end
|
772
|
+
|
773
|
+
it "should support using a CTE inside UNION/EXCEPT/INTERSECT" do
|
774
|
+
@ds.union(@db[:t].with(:t, @ds)).select_order_map(:id).must_equal [1,2,3,4,5,6]
|
775
|
+
if @ds.supports_intersect_except?
|
776
|
+
@ds.intersect(@db[:t].with(:t, @ds)).select_order_map(:id).must_equal [1,2,3,4,5,6]
|
777
|
+
@ds.except(@db[:t].with(:t, @ds)).select_order_map(:id).must_equal []
|
778
|
+
end
|
779
|
+
end
|
780
|
+
end
|
781
|
+
end
|
782
|
+
|
783
|
+
if DB.dataset.supports_cte?(:insert) || DB.dataset.supports_cte?(:update) || DB.dataset.supports_cte?(:delete)
|
784
|
+
describe "Common Table Expressions" do
|
785
|
+
before do
|
786
|
+
@db = DB
|
787
|
+
@db.create_table!(:i1){Integer :id}
|
788
|
+
@ds = @db[:i1]
|
789
|
+
@ds2 = @ds.with(:t, @ds)
|
790
|
+
@ds.insert(:id=>1)
|
791
|
+
@ds.insert(:id=>2)
|
792
|
+
end
|
793
|
+
after do
|
794
|
+
@db.drop_table?(:i1)
|
795
|
+
end
|
796
|
+
|
797
|
+
it "should give correct results for WITH in insert" do
|
798
|
+
@ds2.insert(@db[:t])
|
799
|
+
@ds.select_order_map(:id).must_equal [1, 1, 2, 2]
|
800
|
+
end if DB.dataset.supports_cte?(:insert)
|
801
|
+
|
802
|
+
it "should give correct results for WITH in update" do
|
803
|
+
@ds2.filter(:id=>@db[:t].select{max(id)}).update(:id=>Sequel.+(:id, 1))
|
804
|
+
@ds.select_order_map(:id).must_equal [1, 3]
|
805
|
+
end if DB.dataset.supports_cte?(:update)
|
806
|
+
|
807
|
+
it "should give correct results for WITH in delete" do
|
808
|
+
@ds2.filter(:id=>@db[:t].select{max(id)}).delete
|
809
|
+
@ds.select_order_map(:id).must_equal [1]
|
810
|
+
end if DB.dataset.supports_cte?(:delete)
|
811
|
+
|
812
|
+
it "should support a subselect in an subquery used for INSERT" do
|
813
|
+
@db.transaction(:rollback=>:always) do
|
814
|
+
@ds.insert([:id], @db[:foo].with(:foo, @ds.select{(id + 10).as(:id)}))
|
815
|
+
@ds.select_order_map(:id).must_equal [1,2,11,12]
|
816
|
+
end
|
817
|
+
end
|
818
|
+
end
|
819
|
+
end
|
820
|
+
|
821
|
+
if DB.dataset.supports_returning?(:insert)
|
822
|
+
describe "RETURNING clauses in INSERT" do
|
823
|
+
before do
|
824
|
+
@db = DB
|
825
|
+
@db.create_table!(:i1){Integer :id; Integer :foo}
|
826
|
+
@ds = @db[:i1]
|
827
|
+
end
|
828
|
+
after do
|
829
|
+
@db.drop_table?(:i1)
|
830
|
+
end
|
831
|
+
|
832
|
+
it "should give correct results" do
|
833
|
+
h = {}
|
834
|
+
@ds.returning(:foo).insert(1, 2){|r| h = r}
|
835
|
+
h.must_equal(:foo=>2)
|
836
|
+
@ds.returning(:id).insert(3, 4){|r| h = r}
|
837
|
+
h.must_equal(:id=>3)
|
838
|
+
@ds.returning.insert(5, 6){|r| h = r}
|
839
|
+
h.must_equal(:id=>5, :foo=>6)
|
840
|
+
@ds.returning(Sequel[:id].as(:foo), Sequel[:foo].as(:id)).insert(7, 8){|r| h = r}
|
841
|
+
h.must_equal(:id=>8, :foo=>7)
|
842
|
+
end
|
843
|
+
end
|
844
|
+
end
|
845
|
+
|
846
|
+
if DB.dataset.supports_returning?(:update) # Assume DELETE support as well
|
847
|
+
describe "RETURNING clauses in UPDATE/DELETE" do
|
848
|
+
before do
|
849
|
+
@db = DB
|
850
|
+
@db.create_table!(:i1){Integer :id; Integer :foo}
|
851
|
+
@ds = @db[:i1]
|
852
|
+
@ds.insert(1, 2)
|
853
|
+
end
|
854
|
+
after do
|
855
|
+
@db.drop_table?(:i1)
|
856
|
+
end
|
857
|
+
|
858
|
+
it "should give correct results" do
|
859
|
+
h = []
|
860
|
+
@ds.returning(:foo).update(:id=>Sequel.+(:id, 1), :foo=>Sequel.*(:foo, 2)){|r| h << r}
|
861
|
+
h.must_equal [{:foo=>4}]
|
862
|
+
h.clear
|
863
|
+
@ds.returning(:id).update(:id=>Sequel.+(:id, 1), :foo=>Sequel.*(:foo, 2)){|r| h << r}
|
864
|
+
h.must_equal [{:id=>3}]
|
865
|
+
h.clear
|
866
|
+
@ds.returning.update(:id=>Sequel.+(:id, 1), :foo=>Sequel.*(:foo, 2)){|r| h << r}
|
867
|
+
h.must_equal [{:id=>4, :foo=>16}]
|
868
|
+
h.clear
|
869
|
+
@ds.returning(Sequel[:id].as(:foo), Sequel[:foo].as(:id)).update(:id=>Sequel.+(:id, 1), :foo=>Sequel.*(:foo, 2)){|r| h << r}
|
870
|
+
h.must_equal [{:id=>32, :foo=>5}]
|
871
|
+
h.clear
|
872
|
+
|
873
|
+
@ds.returning.delete{|r| h << r}
|
874
|
+
h.must_equal [{:id=>5, :foo=>32}]
|
875
|
+
h.clear
|
876
|
+
@ds.returning.delete{|r| h << r}
|
877
|
+
h.must_equal []
|
878
|
+
end
|
879
|
+
end
|
880
|
+
end
|
881
|
+
|
882
|
+
if DB.dataset.supports_window_functions?
|
883
|
+
describe "Window Functions" do
|
884
|
+
before(:all) do
|
885
|
+
@db = DB
|
886
|
+
@db.create_table!(:i1){Integer :id; Integer :group_id; Integer :amount}
|
887
|
+
@ds = @db[:i1].order(:id)
|
888
|
+
@ds.insert(:id=>1, :group_id=>1, :amount=>1)
|
889
|
+
@ds.insert(:id=>2, :group_id=>1, :amount=>10)
|
890
|
+
@ds.insert(:id=>3, :group_id=>1, :amount=>100)
|
891
|
+
@ds.insert(:id=>4, :group_id=>2, :amount=>1000)
|
892
|
+
@ds.insert(:id=>5, :group_id=>2, :amount=>10000)
|
893
|
+
@ds.insert(:id=>6, :group_id=>2, :amount=>100000)
|
894
|
+
end
|
895
|
+
after(:all) do
|
896
|
+
@db.drop_table?(:i1)
|
897
|
+
end
|
898
|
+
|
899
|
+
it "should give correct results for aggregate window functions" do
|
900
|
+
@ds.select(:id){sum(:amount).over(:partition=>:group_id).as(:sum)}.all.
|
901
|
+
must_equal [{:sum=>111, :id=>1}, {:sum=>111, :id=>2}, {:sum=>111, :id=>3}, {:sum=>111000, :id=>4}, {:sum=>111000, :id=>5}, {:sum=>111000, :id=>6}]
|
902
|
+
@ds.select(:id){sum(:amount).over.as(:sum)}.all.
|
903
|
+
must_equal [{:sum=>111111, :id=>1}, {:sum=>111111, :id=>2}, {:sum=>111111, :id=>3}, {:sum=>111111, :id=>4}, {:sum=>111111, :id=>5}, {:sum=>111111, :id=>6}]
|
904
|
+
end
|
905
|
+
|
906
|
+
it "should give correct results for ranking window functions with orders" do
|
907
|
+
@ds.select(:id){rank.function.over(:partition=>:group_id, :order=>:id).as(:rank)}.all.
|
908
|
+
must_equal [{:rank=>1, :id=>1}, {:rank=>2, :id=>2}, {:rank=>3, :id=>3}, {:rank=>1, :id=>4}, {:rank=>2, :id=>5}, {:rank=>3, :id=>6}]
|
909
|
+
@ds.select(:id){rank.function.over(:order=>id).as(:rank)}.all.
|
910
|
+
must_equal [{:rank=>1, :id=>1}, {:rank=>2, :id=>2}, {:rank=>3, :id=>3}, {:rank=>4, :id=>4}, {:rank=>5, :id=>5}, {:rank=>6, :id=>6}]
|
911
|
+
end
|
912
|
+
|
913
|
+
it "should give correct results for aggregate window functions with orders" do
|
914
|
+
@ds.select(:id){sum(:amount).over(:partition=>:group_id, :order=>:id).as(:sum)}.all.
|
915
|
+
must_equal [{:sum=>1, :id=>1}, {:sum=>11, :id=>2}, {:sum=>111, :id=>3}, {:sum=>1000, :id=>4}, {:sum=>11000, :id=>5}, {:sum=>111000, :id=>6}]
|
916
|
+
@ds.select(:id){sum(:amount).over(:order=>:id).as(:sum)}.all.
|
917
|
+
must_equal [{:sum=>1, :id=>1}, {:sum=>11, :id=>2}, {:sum=>111, :id=>3}, {:sum=>1111, :id=>4}, {:sum=>11111, :id=>5}, {:sum=>111111, :id=>6}]
|
918
|
+
@ds.select(:id){sum(:amount).over(:partition=>:group_id, :order=>id.desc, :frame=>:rows).as(:sum)}.all.
|
919
|
+
must_equal [{:sum=>111, :id=>1}, {:sum=>110, :id=>2}, {:sum=>100, :id=>3}, {:sum=>111000, :id=>4}, {:sum=>110000, :id=>5}, {:sum=>100000, :id=>6}]
|
920
|
+
end
|
921
|
+
|
922
|
+
it "should give correct results for aggregate window functions with frames" do
|
923
|
+
@ds.select(:id){sum(:amount).over(:partition=>:group_id, :order=>:id, :frame=>:all).as(:sum)}.all.
|
924
|
+
must_equal [{:sum=>111, :id=>1}, {:sum=>111, :id=>2}, {:sum=>111, :id=>3}, {:sum=>111000, :id=>4}, {:sum=>111000, :id=>5}, {:sum=>111000, :id=>6}]
|
925
|
+
@ds.select(:id){sum(:amount).over(:order=>:id, :frame=>:all).as(:sum)}.all.
|
926
|
+
must_equal [{:sum=>111111, :id=>1}, {:sum=>111111, :id=>2}, {:sum=>111111, :id=>3}, {:sum=>111111, :id=>4}, {:sum=>111111, :id=>5}, {:sum=>111111, :id=>6}]
|
927
|
+
|
928
|
+
@ds.select(:id){sum(:amount).over(:partition=>:group_id, :order=>:id, :frame=>:rows).as(:sum)}.all.
|
929
|
+
must_equal [{:sum=>1, :id=>1}, {:sum=>11, :id=>2}, {:sum=>111, :id=>3}, {:sum=>1000, :id=>4}, {:sum=>11000, :id=>5}, {:sum=>111000, :id=>6}]
|
930
|
+
@ds.select(:id){sum(:amount).over(:order=>:id, :frame=>:rows).as(:sum)}.all.
|
931
|
+
must_equal [{:sum=>1, :id=>1}, {:sum=>11, :id=>2}, {:sum=>111, :id=>3}, {:sum=>1111, :id=>4}, {:sum=>11111, :id=>5}, {:sum=>111111, :id=>6}]
|
932
|
+
end
|
933
|
+
|
934
|
+
it "should give correct results for aggregate window functions with ranges" do
|
935
|
+
@ds.select(:id){sum(:amount).over(:partition=>:group_id, :order=>:id, :frame=>:range).as(:sum)}.all.
|
936
|
+
must_equal [{:sum=>1, :id=>1}, {:sum=>11, :id=>2}, {:sum=>111, :id=>3}, {:sum=>1000, :id=>4}, {:sum=>11000, :id=>5}, {:sum=>111000, :id=>6}]
|
937
|
+
@ds.select(:id){sum(:amount).over(:partition=>:group_id, :order=>:group_id, :frame=>:range).as(:sum)}.all.
|
938
|
+
must_equal [{:sum=>111, :id=>1}, {:sum=>111, :id=>2}, {:sum=>111, :id=>3}, {:sum=>111000, :id=>4}, {:sum=>111000, :id=>5}, {:sum=>111000, :id=>6}]
|
939
|
+
end if DB.dataset.supports_window_function_frame_option?(:range)
|
940
|
+
|
941
|
+
it "should give correct results for aggregate window functions with groups" do
|
942
|
+
@ds.select(:id){sum(:amount).over(:partition=>:group_id, :order=>:id, :frame=>:groups).as(:sum)}.all.
|
943
|
+
must_equal [{:sum=>1, :id=>1}, {:sum=>11, :id=>2}, {:sum=>111, :id=>3}, {:sum=>1000, :id=>4}, {:sum=>11000, :id=>5}, {:sum=>111000, :id=>6}]
|
944
|
+
@ds.select(:id){sum(:amount).over(:order=>:group_id, :frame=>:groups).as(:sum)}.all.
|
945
|
+
must_equal [{:sum=>111, :id=>1}, {:sum=>111, :id=>2}, {:sum=>111, :id=>3}, {:sum=>111111, :id=>4}, {:sum=>111111, :id=>5}, {:sum=>111111, :id=>6}]
|
946
|
+
end if DB.dataset.supports_window_function_frame_option?(:groups)
|
947
|
+
|
948
|
+
if DB.dataset.supports_window_function_frame_option?(:offset)
|
949
|
+
it "should give correct results for aggregate window functions with offsets for ROWS" do
|
950
|
+
@ds.select(:id){sum(:amount).over(:order=>:id, :frame=>{:type=>:rows, :start=>1}).as(:sum)}.all.
|
951
|
+
must_equal [{:sum=>1, :id=>1}, {:sum=>11, :id=>2}, {:sum=>110, :id=>3}, {:sum=>1100, :id=>4}, {:sum=>11000, :id=>5}, {:sum=>110000, :id=>6}]
|
952
|
+
@ds.select(:id){sum(:amount).over(:order=>:id, :frame=>{:type=>:rows, :start=>1, :end=>1}).as(:sum)}.all.
|
953
|
+
must_equal [{:sum=>11, :id=>1}, {:sum=>111, :id=>2}, {:sum=>1110, :id=>3}, {:sum=>11100, :id=>4}, {:sum=>111000, :id=>5}, {:sum=>110000, :id=>6}]
|
954
|
+
@ds.select(:id){sum(:amount).over(:order=>:id, :frame=>{:type=>:rows, :start=>2, :end=>[1, :preceding]}).as(:sum)}.all.
|
955
|
+
must_equal [{:sum=>nil, :id=>1}, {:sum=>1, :id=>2}, {:sum=>11, :id=>3}, {:sum=>110, :id=>4}, {:sum=>1100, :id=>5}, {:sum=>11000, :id=>6}]
|
956
|
+
@ds.select(:id){sum(:amount).over(:order=>:id, :frame=>{:type=>:rows, :start=>[1, :following], :end=>2}).as(:sum)}.order(:id).all.
|
957
|
+
must_equal [{:sum=>110, :id=>1}, {:sum=>1100, :id=>2}, {:sum=>11000, :id=>3}, {:sum=>110000, :id=>4}, {:sum=>100000, :id=>5}, {:sum=>nil, :id=>6}]
|
958
|
+
end
|
959
|
+
|
960
|
+
cspecify "should give correct results for aggregate window functions with offsets for RANGES", :mssql, [proc{DB.sqlite_version < 32800}, :sqlite], [proc{DB.server_version < 110000}, :postgres] do
|
961
|
+
@ds.select(:id){sum(:amount).over(:order=>:group_id, :frame=>{:type=>:range, :start=>1}).as(:sum)}.all.
|
962
|
+
must_equal [{:sum=>111, :id=>1}, {:sum=>111, :id=>2}, {:sum=>111, :id=>3}, {:sum=>111111, :id=>4}, {:sum=>111111, :id=>5}, {:sum=>111111, :id=>6}]
|
963
|
+
@ds.select(:id){sum(:amount).over(:order=>:group_id, :frame=>{:type=>:range, :start=>0, :end=>1}).as(:sum)}.all.
|
964
|
+
must_equal [{:sum=>111111, :id=>1}, {:sum=>111111, :id=>2}, {:sum=>111111, :id=>3}, {:sum=>111000, :id=>4}, {:sum=>111000, :id=>5}, {:sum=>111000, :id=>6}]
|
965
|
+
@ds.select(:id){sum(:amount).over(:order=>:amount, :frame=>{:type=>:range, :start=>100, :end=>1000}).as(:sum)}.all.
|
966
|
+
must_equal [{:sum=>1111, :id=>1}, {:sum=>1111, :id=>2}, {:sum=>1111, :id=>3}, {:sum=>1000, :id=>4}, {:sum=>10000, :id=>5}, {:sum=>100000, :id=>6}]
|
967
|
+
end if DB.dataset.supports_window_function_frame_option?(:range)
|
968
|
+
|
969
|
+
it "should give correct results for aggregate window functions with offsets for GROUPS" do
|
970
|
+
@ds.select(:id){sum(:amount).over(:order=>:group_id, :frame=>{:type=>:groups, :start=>1}).as(:sum)}.all.
|
971
|
+
must_equal [{:sum=>111, :id=>1}, {:sum=>111, :id=>2}, {:sum=>111, :id=>3}, {:sum=>111111, :id=>4}, {:sum=>111111, :id=>5}, {:sum=>111111, :id=>6}]
|
972
|
+
@ds.select(:id){sum(:amount).over(:order=>:group_id, :frame=>{:type=>:groups, :start=>0, :end=>1}).as(:sum)}.all.
|
973
|
+
must_equal [{:sum=>111111, :id=>1}, {:sum=>111111, :id=>2}, {:sum=>111111, :id=>3}, {:sum=>111000, :id=>4}, {:sum=>111000, :id=>5}, {:sum=>111000, :id=>6}]
|
974
|
+
end if DB.dataset.supports_window_function_frame_option?(:groups)
|
975
|
+
end
|
976
|
+
|
977
|
+
it "should give correct results for aggregate window functions with exclusions" do
|
978
|
+
@ds.select(:id){sum(:amount).over(:order=>:id, :frame=>{:type=>:rows, :start=>:preceding, :exclude=>:current}).as(:sum)}.all.
|
979
|
+
must_equal [{:sum=>nil, :id=>1}, {:sum=>1, :id=>2}, {:sum=>11, :id=>3}, {:sum=>111, :id=>4}, {:sum=>1111, :id=>5}, {:sum=>11111, :id=>6}]
|
980
|
+
@ds.select(:id){sum(:amount).over(:order=>:group_id, :frame=>{:type=>:rows, :start=>:preceding, :exclude=>:group}).as(:sum)}.all.
|
981
|
+
must_equal [{:sum=>nil, :id=>1}, {:sum=>nil, :id=>2}, {:sum=>nil, :id=>3}, {:sum=>111, :id=>4}, {:sum=>111, :id=>5}, {:sum=>111, :id=>6}]
|
982
|
+
@ds.select(:id){sum(:amount).over(:order=>:group_id, :frame=>{:type=>:rows, :start=>:preceding, :exclude=>:ties}).as(:sum)}.all.
|
983
|
+
must_equal [{:sum=>1, :id=>1}, {:sum=>10, :id=>2}, {:sum=>100, :id=>3}, {:sum=>1111, :id=>4}, {:sum=>10111, :id=>5}, {:sum=>100111, :id=>6}]
|
984
|
+
@ds.select(:id){sum(:amount).over(:order=>:id, :frame=>{:type=>:rows, :start=>:preceding, :exclude=>:no_others}).as(:sum)}.all.
|
985
|
+
must_equal [{:sum=>1, :id=>1}, {:sum=>11, :id=>2}, {:sum=>111, :id=>3}, {:sum=>1111, :id=>4}, {:sum=>11111, :id=>5}, {:sum=>111111, :id=>6}]
|
986
|
+
end if DB.dataset.supports_window_function_frame_option?(:exclude)
|
987
|
+
|
988
|
+
it "should give correct results for window functions" do
|
989
|
+
@ds.window(:win, :partition=>:group_id, :order=>:id).select(:id){sum(:amount).over(:window=>win, :frame=>:rows).as(:sum)}.all.
|
990
|
+
must_equal [{:sum=>1, :id=>1}, {:sum=>11, :id=>2}, {:sum=>111, :id=>3}, {:sum=>1000, :id=>4}, {:sum=>11000, :id=>5}, {:sum=>111000, :id=>6}]
|
991
|
+
@ds.window(:win, :partition=>:group_id).select(:id){sum(:amount).over(:window=>win, :order=>id, :frame=>:rows).as(:sum)}.all.
|
992
|
+
must_equal [{:sum=>1, :id=>1}, {:sum=>11, :id=>2}, {:sum=>111, :id=>3}, {:sum=>1000, :id=>4}, {:sum=>11000, :id=>5}, {:sum=>111000, :id=>6}]
|
993
|
+
@ds.window(:win, {}).select(:id){sum(:amount).over(:window=>:win, :order=>id, :frame=>:rows).as(:sum)}.all.
|
994
|
+
must_equal [{:sum=>1, :id=>1}, {:sum=>11, :id=>2}, {:sum=>111, :id=>3}, {:sum=>1111, :id=>4}, {:sum=>11111, :id=>5}, {:sum=>111111, :id=>6}]
|
995
|
+
@ds.window(:win, :partition=>:group_id).select(:id){sum(:amount).over(:window=>:win, :order=>id, :frame=>:all).as(:sum)}.all.
|
996
|
+
must_equal [{:sum=>111, :id=>1}, {:sum=>111, :id=>2}, {:sum=>111, :id=>3}, {:sum=>111000, :id=>4}, {:sum=>111000, :id=>5}, {:sum=>111000, :id=>6}]
|
997
|
+
end if DB.dataset.supports_window_clause?
|
998
|
+
end
|
999
|
+
end
|
1000
|
+
|
1001
|
+
describe Sequel::SQL::Constants do
|
1002
|
+
before do
|
1003
|
+
@db = DB
|
1004
|
+
@ds = @db[:constants]
|
1005
|
+
@c = proc do |v|
|
1006
|
+
case v
|
1007
|
+
when Time
|
1008
|
+
v
|
1009
|
+
when DateTime, String
|
1010
|
+
Time.parse(v.to_s)
|
1011
|
+
else
|
1012
|
+
v
|
1013
|
+
end
|
1014
|
+
end
|
1015
|
+
@c2 = proc{|v| v.is_a?(Date) ? v : Date.parse(v) }
|
1016
|
+
end
|
1017
|
+
after do
|
1018
|
+
@db.drop_table?(:constants)
|
1019
|
+
end
|
1020
|
+
|
1021
|
+
cspecify "should have working CURRENT_DATE", [:jdbc, :sqlite], :oracle do
|
1022
|
+
@db.create_table!(:constants){Date :d}
|
1023
|
+
@ds.insert(:d=>Sequel::CURRENT_DATE)
|
1024
|
+
d = @c2[@ds.get(:d)]
|
1025
|
+
d.must_be_kind_of(Date)
|
1026
|
+
d.to_s.must_equal Date.today.to_s
|
1027
|
+
end
|
1028
|
+
|
1029
|
+
cspecify "should have working CURRENT_TIME", [:jdbc, :sqlite], [:mysql2], [:tinytds], [:ado] do
|
1030
|
+
@db.create_table!(:constants){Time :t, :only_time=>true}
|
1031
|
+
@ds.insert(:t=>Sequel::CURRENT_TIME)
|
1032
|
+
(Time.now - @c[@ds.get(:t)]).must_be_close_to 0, 60
|
1033
|
+
end
|
1034
|
+
|
1035
|
+
cspecify "should have working CURRENT_TIMESTAMP", [:jdbc, :sqlite] do
|
1036
|
+
@db.create_table!(:constants){DateTime :ts}
|
1037
|
+
@ds.insert(:ts=>Sequel::CURRENT_TIMESTAMP)
|
1038
|
+
(Time.now - @c[@ds.get(:ts)]).must_be_close_to 0, 60
|
1039
|
+
end
|
1040
|
+
|
1041
|
+
cspecify "should have working CURRENT_TIMESTAMP when used as a column default", [:jdbc, :sqlite] do
|
1042
|
+
@db.create_table!(:constants){DateTime :ts, :default=>Sequel::CURRENT_TIMESTAMP}
|
1043
|
+
@ds.insert
|
1044
|
+
(Time.now - @c[@ds.get(:ts)]).must_be_close_to 0, 60
|
1045
|
+
end
|
1046
|
+
end
|
1047
|
+
|
1048
|
+
describe "Sequel::Dataset#import and #multi_insert" do
|
1049
|
+
before(:all) do
|
1050
|
+
@db = DB
|
1051
|
+
@db.create_table!(:imp){Integer :i}
|
1052
|
+
@ids = @db[:imp].order(:i)
|
1053
|
+
end
|
1054
|
+
before do
|
1055
|
+
@ids.delete
|
1056
|
+
end
|
1057
|
+
after(:all) do
|
1058
|
+
@db.drop_table?(:imp)
|
1059
|
+
end
|
1060
|
+
|
1061
|
+
it "should import with multi_insert and an array of hashes" do
|
1062
|
+
@ids.multi_insert([{:i=>10}, {:i=>20}])
|
1063
|
+
@ids.all.must_equal [{:i=>10}, {:i=>20}]
|
1064
|
+
end
|
1065
|
+
|
1066
|
+
it "should import with an array of arrays of values" do
|
1067
|
+
@ids.import([:i], [[10], [20]])
|
1068
|
+
@ids.all.must_equal [{:i=>10}, {:i=>20}]
|
1069
|
+
end
|
1070
|
+
|
1071
|
+
it "should import with a dataset" do
|
1072
|
+
@db.create_table!(:exp2){Integer :i}
|
1073
|
+
@db[:exp2].import([:i], [[10], [20]])
|
1074
|
+
@ids.import([:i], @db[:exp2])
|
1075
|
+
@ids.all.must_equal [{:i=>10}, {:i=>20}]
|
1076
|
+
@db.drop_table(:exp2)
|
1077
|
+
end
|
1078
|
+
|
1079
|
+
it "should have import work with the :slice_size option" do
|
1080
|
+
@ids.import([:i], [[10], [20], [30]], :slice_size=>1)
|
1081
|
+
@ids.all.must_equal [{:i=>10}, {:i=>20}, {:i=>30}]
|
1082
|
+
@ids.delete
|
1083
|
+
@ids.import([:i], [[10], [20], [30]], :slice_size=>2)
|
1084
|
+
@ids.all.must_equal [{:i=>10}, {:i=>20}, {:i=>30}]
|
1085
|
+
@ids.delete
|
1086
|
+
@ids.import([:i], [[10], [20], [30]], :slice_size=>3)
|
1087
|
+
@ids.all.must_equal [{:i=>10}, {:i=>20}, {:i=>30}]
|
1088
|
+
end
|
1089
|
+
|
1090
|
+
it "should import many rows at once" do
|
1091
|
+
@ids.import([:i], (1..1000).to_a.map{|x| [x]})
|
1092
|
+
@ids.select_order_map(:i).must_equal((1..1000).to_a)
|
1093
|
+
end
|
1094
|
+
end
|
1095
|
+
|
1096
|
+
describe "Sequel::Dataset#import and #multi_insert :return=>:primary_key " do
|
1097
|
+
before do
|
1098
|
+
@db = DB
|
1099
|
+
@db.create_table!(:imp){primary_key :id; Integer :i}
|
1100
|
+
@ds = @db[:imp]
|
1101
|
+
end
|
1102
|
+
after do
|
1103
|
+
@db.drop_table?(:imp)
|
1104
|
+
end
|
1105
|
+
|
1106
|
+
it "should return primary key values" do
|
1107
|
+
@ds.multi_insert([{:i=>10}, {:i=>20}, {:i=>30}], :return=>:primary_key).must_equal [1, 2, 3]
|
1108
|
+
@ds.import([:i], [[40], [50], [60]], :return=>:primary_key).must_equal [4, 5, 6]
|
1109
|
+
@ds.order(:id).map([:id, :i]).must_equal [[1, 10], [2, 20], [3, 30], [4, 40], [5, 50], [6, 60]]
|
1110
|
+
end
|
1111
|
+
|
1112
|
+
it "should handle dataset with row_proc" do
|
1113
|
+
ds = @ds.with_row_proc(lambda{|h| Object.new})
|
1114
|
+
ds.multi_insert([{:i=>10}, {:i=>20}, {:i=>30}], :return=>:primary_key).must_equal [1, 2, 3]
|
1115
|
+
ds.import([:i], [[40], [50], [60]], :return=>:primary_key).must_equal [4, 5, 6]
|
1116
|
+
end
|
1117
|
+
|
1118
|
+
it "should return primary key values when :slice is used" do
|
1119
|
+
@ds.multi_insert([{:i=>10}, {:i=>20}, {:i=>30}], :return=>:primary_key, :slice=>2).must_equal [1, 2, 3]
|
1120
|
+
@ds.import([:i], [[40], [50], [60]], :return=>:primary_key, :slice=>2).must_equal [4, 5, 6]
|
1121
|
+
@ds.order(:id).map([:id, :i]).must_equal [[1, 10], [2, 20], [3, 30], [4, 40], [5, 50], [6, 60]]
|
1122
|
+
end
|
1123
|
+
end
|
1124
|
+
|
1125
|
+
describe "Sequel::Dataset convenience methods" do
|
1126
|
+
before(:all) do
|
1127
|
+
@db = DB
|
1128
|
+
@db.create_table!(:a){Integer :a; Integer :b; Integer :c}
|
1129
|
+
@ds = @db[:a]
|
1130
|
+
@ds.insert(1, 3, 5)
|
1131
|
+
@ds.insert(1, 3, 6)
|
1132
|
+
@ds.insert(1, 4, 5)
|
1133
|
+
@ds.insert(2, 3, 5)
|
1134
|
+
@ds.insert(2, 4, 6)
|
1135
|
+
end
|
1136
|
+
after(:all) do
|
1137
|
+
@db.drop_table?(:a)
|
1138
|
+
end
|
1139
|
+
|
1140
|
+
it "#group_rollup should include hierarchy of groupings" do
|
1141
|
+
@ds.group_by(:a).group_rollup.select_map([:a, Sequel.function(:sum, :b).cast(Integer).as(:b), Sequel.function(:sum, :c).cast(Integer).as(:c)]).sort_by{|x| x.map(&:to_i)}.must_equal [[nil, 17, 27], [1, 10, 16], [2, 7, 11]]
|
1142
|
+
@ds.group_by(:a, :b).group_rollup.select_map([:a, :b, Sequel.function(:sum, :c).cast(Integer).as(:c)]).sort_by{|x| x.map(&:to_i)}.must_equal [[nil, nil, 27], [1, nil, 16], [1, 3, 11], [1, 4, 5], [2, nil, 11], [2, 3, 5], [2, 4, 6]]
|
1143
|
+
end if DB.dataset.supports_group_rollup?
|
1144
|
+
|
1145
|
+
it "#group_cube should include all combinations of groupings" do
|
1146
|
+
@ds.group_by(:a).group_cube.select_map([:a, Sequel.function(:sum, :b).cast(Integer).as(:b), Sequel.function(:sum, :c).cast(Integer).as(:c)]).sort_by{|x| x.map(&:to_i)}.must_equal [[nil, 17, 27], [1, 10, 16], [2, 7, 11]]
|
1147
|
+
@ds.group_by(:a, :b).group_cube.select_map([:a, :b, Sequel.function(:sum, :c).cast(Integer).as(:c)]).sort_by{|x| x.map(&:to_i)}.must_equal [[nil, nil, 27], [nil, 3, 16], [nil, 4, 11], [1, nil, 16], [1, 3, 11], [1, 4, 5], [2, nil, 11], [2, 3, 5], [2, 4, 6]]
|
1148
|
+
end if DB.dataset.supports_group_cube?
|
1149
|
+
|
1150
|
+
it "#grouping_sets should include sets specified in group" do
|
1151
|
+
@ds.group_by(:a, []).grouping_sets.select_map([:a, Sequel.function(:sum, :b).cast(Integer).as(:b), Sequel.function(:sum, :c).cast(Integer).as(:c)]).sort_by{|x| x.map(&:to_i)}.must_equal [[nil, 17, 27], [1, 10, 16], [2, 7, 11]]
|
1152
|
+
@ds.group_by([:a, :b], :a, :b, []).grouping_sets.select_map([:a, :b, Sequel.function(:sum, :c).cast(Integer).as(:c)]).sort_by{|x| x.map(&:to_i)}.must_equal [[nil, nil, 27], [nil, 3, 16], [nil, 4, 11], [1, nil, 16], [1, 3, 11], [1, 4, 5], [2, nil, 11], [2, 3, 5], [2, 4, 6]]
|
1153
|
+
end if DB.dataset.supports_grouping_sets?
|
1154
|
+
end
|
1155
|
+
|
1156
|
+
describe "Sequel::Dataset convenience methods" do
|
1157
|
+
before(:all) do
|
1158
|
+
@db = DB
|
1159
|
+
@db.create_table!(:a){Integer :a; Integer :b}
|
1160
|
+
@ds = @db[:a].order(:a)
|
1161
|
+
end
|
1162
|
+
before do
|
1163
|
+
@ds.delete
|
1164
|
+
end
|
1165
|
+
after(:all) do
|
1166
|
+
@db.drop_table?(:a)
|
1167
|
+
end
|
1168
|
+
|
1169
|
+
it "#empty? should return whether the dataset returns no rows" do
|
1170
|
+
@ds.empty?.must_equal true
|
1171
|
+
@ds.insert(20, 10)
|
1172
|
+
@ds.empty?.must_equal false
|
1173
|
+
end
|
1174
|
+
|
1175
|
+
it "#empty? should work correctly for datasets with limits" do
|
1176
|
+
ds = @ds.limit(1)
|
1177
|
+
ds.empty?.must_equal true
|
1178
|
+
ds.insert(20, 10)
|
1179
|
+
ds.empty?.must_equal false
|
1180
|
+
end
|
1181
|
+
|
1182
|
+
it "#empty? should work correctly for datasets with limits and offsets" do
|
1183
|
+
ds = @ds.limit(1, 1)
|
1184
|
+
ds.empty?.must_equal true
|
1185
|
+
ds.insert(20, 10)
|
1186
|
+
ds.empty?.must_equal true
|
1187
|
+
ds.insert(20, 10)
|
1188
|
+
ds.empty?.must_equal false
|
1189
|
+
end
|
1190
|
+
|
1191
|
+
it "#group_and_count should return a grouping by count" do
|
1192
|
+
@ds.group_and_count(:a).order{count(:a)}.all.must_equal []
|
1193
|
+
@ds.insert(20, 10)
|
1194
|
+
@ds.group_and_count(:a).order{count(:a)}.all.each{|h| h[:count] = h[:count].to_i}.must_equal [{:a=>20, :count=>1}]
|
1195
|
+
@ds.insert(20, 30)
|
1196
|
+
@ds.group_and_count(:a).order{count(:a)}.all.each{|h| h[:count] = h[:count].to_i}.must_equal [{:a=>20, :count=>2}]
|
1197
|
+
@ds.insert(30, 30)
|
1198
|
+
@ds.group_and_count(:a).order{count(:a)}.all.each{|h| h[:count] = h[:count].to_i}.must_equal [{:a=>30, :count=>1}, {:a=>20, :count=>2}]
|
1199
|
+
end
|
1200
|
+
|
1201
|
+
it "#group_and_count should support column aliases" do
|
1202
|
+
@ds.group_and_count(Sequel[:a].as(:c)).order{count(:a)}.all.must_equal []
|
1203
|
+
@ds.insert(20, 10)
|
1204
|
+
@ds.group_and_count(Sequel[:a].as(:c)).order{count(:a)}.all.each{|h| h[:count] = h[:count].to_i}.must_equal [{:c=>20, :count=>1}]
|
1205
|
+
@ds.insert(20, 30)
|
1206
|
+
@ds.group_and_count(Sequel[:a].as(:c)).order{count(:a)}.all.each{|h| h[:count] = h[:count].to_i}.must_equal [{:c=>20, :count=>2}]
|
1207
|
+
@ds.insert(30, 30)
|
1208
|
+
@ds.group_and_count(Sequel[:a].as(:c)).order{count(:a)}.all.each{|h| h[:count] = h[:count].to_i}.must_equal [{:c=>30, :count=>1}, {:c=>20, :count=>2}]
|
1209
|
+
end
|
1210
|
+
|
1211
|
+
it "#range should return the range between the maximum and minimum values" do
|
1212
|
+
@ds = @ds.unordered.extension(:sequel_4_dataset_methods)
|
1213
|
+
@ds.insert(20, 10)
|
1214
|
+
@ds.insert(30, 10)
|
1215
|
+
@ds.range(:a).must_equal(20..30)
|
1216
|
+
@ds.range(:b).must_equal(10..10)
|
1217
|
+
end
|
1218
|
+
|
1219
|
+
it "#interval should return the different between the maximum and minimum values" do
|
1220
|
+
@ds = @ds.unordered.extension(:sequel_4_dataset_methods)
|
1221
|
+
@ds.insert(20, 10)
|
1222
|
+
@ds.insert(30, 10)
|
1223
|
+
@ds.interval(:a).to_i.must_equal 10
|
1224
|
+
@ds.interval(:b).to_i.must_equal 0
|
1225
|
+
end
|
1226
|
+
end
|
1227
|
+
|
1228
|
+
describe "Sequel::Dataset main SQL methods" do
|
1229
|
+
before(:all) do
|
1230
|
+
@db = DB
|
1231
|
+
@db.create_table!(:d){Integer :a; Integer :b}
|
1232
|
+
@ds = @db[:d].order(:a)
|
1233
|
+
end
|
1234
|
+
before do
|
1235
|
+
@ds.delete
|
1236
|
+
end
|
1237
|
+
after(:all) do
|
1238
|
+
@db.drop_table?(:d)
|
1239
|
+
end
|
1240
|
+
|
1241
|
+
it "#exists should return a usable exists clause" do
|
1242
|
+
@ds.filter(@db[Sequel[:d].as(:c)].filter(Sequel[:c][:a]=>Sequel[:d][:b]).exists).all.must_equal []
|
1243
|
+
@ds.insert(20, 30)
|
1244
|
+
@ds.insert(10, 20)
|
1245
|
+
@ds.filter(@db[Sequel[:d].as(:c)].filter(Sequel[:c][:a]=>Sequel[:d][:b]).exists).all.must_equal [{:a=>10, :b=>20}]
|
1246
|
+
end
|
1247
|
+
|
1248
|
+
it "#filter and #exclude should work with placeholder strings" do
|
1249
|
+
@ds.insert(20, 30)
|
1250
|
+
@ds.filter(Sequel.lit("a > ?", 15)).all.must_equal [{:a=>20, :b=>30}]
|
1251
|
+
@ds.exclude(Sequel.lit("b < ?", 15)).all.must_equal [{:a=>20, :b=>30}]
|
1252
|
+
@ds.filter(Sequel.lit("b < ?", 15)).invert.all.must_equal [{:a=>20, :b=>30}]
|
1253
|
+
end
|
1254
|
+
|
1255
|
+
it "#where and #or should work correctly" do
|
1256
|
+
@ds.insert(20, 30)
|
1257
|
+
@ds.filter(:a=>20).where(:b=>30).all.must_equal [{:a=>20, :b=>30}]
|
1258
|
+
@ds.filter(:a=>20).where(:b=>15).all.must_equal []
|
1259
|
+
@ds.filter(:a=>20).or(:b=>15).all.must_equal [{:a=>20, :b=>30}]
|
1260
|
+
@ds.filter(:a=>10).or(:b=>15).all.must_equal []
|
1261
|
+
end
|
1262
|
+
|
1263
|
+
it "#select_group should work correctly" do
|
1264
|
+
@ds = @ds.unordered
|
1265
|
+
@ds.select_group(:a).all.must_equal []
|
1266
|
+
@ds.insert(20, 30)
|
1267
|
+
@ds.select_group(:a).all.must_equal [{:a=>20}]
|
1268
|
+
@ds.select_group(:b).all.must_equal [{:b=>30}]
|
1269
|
+
@ds.insert(20, 40)
|
1270
|
+
@ds.select_group(:a).all.must_equal [{:a=>20}]
|
1271
|
+
@ds.order(:b).select_group(:b).all.must_equal [{:b=>30}, {:b=>40}]
|
1272
|
+
end
|
1273
|
+
|
1274
|
+
it "#select_group should work correctly when aliasing" do
|
1275
|
+
@ds = @ds.unordered
|
1276
|
+
@ds.insert(20, 30)
|
1277
|
+
@ds.select_group(Sequel[:b].as(:c)).all.must_equal [{:c=>30}]
|
1278
|
+
end
|
1279
|
+
|
1280
|
+
it "#having should work correctly" do
|
1281
|
+
@ds = @ds.unordered
|
1282
|
+
@ds.select{[b, max(a).as(c)]}.group(:b).having{max(a) > 30}.all.must_equal []
|
1283
|
+
@ds.insert(20, 30)
|
1284
|
+
@ds.select{[b, max(a).as(c)]}.group(:b).having{max(a) > 30}.all.must_equal []
|
1285
|
+
@ds.insert(40, 20)
|
1286
|
+
@ds.select{[b, max(a).as(c)]}.group(:b).having{max(a) > 30}.all.each{|h| h[:c] = h[:c].to_i}.must_equal [{:b=>20, :c=>40}]
|
1287
|
+
end
|
1288
|
+
|
1289
|
+
cspecify "#having should work without a previous group", :sqlite do
|
1290
|
+
@ds = @ds.unordered
|
1291
|
+
@ds.select{max(a).as(c)}.having{max(a) > 30}.all.must_equal []
|
1292
|
+
@ds.insert(20, 30)
|
1293
|
+
@ds.select{max(a).as(c)}.having{max(a) > 30}.all.must_equal []
|
1294
|
+
@ds.insert(40, 20)
|
1295
|
+
@ds.select{max(a).as(c)}.having{max(a) > 30}.all.each{|h| h[:c] = h[:c].to_i}.must_equal [{:c=>40}]
|
1296
|
+
end
|
1297
|
+
end
|
1298
|
+
|
1299
|
+
describe "Sequel::Dataset convenience methods" do
|
1300
|
+
before(:all) do
|
1301
|
+
@db = DB
|
1302
|
+
@db.create_table!(:a){Integer :a; Integer :b; Integer :c; Integer :d}
|
1303
|
+
@ds = @db[:a].order(:a)
|
1304
|
+
end
|
1305
|
+
before do
|
1306
|
+
@ds.delete
|
1307
|
+
@ds.insert(1, 2, 3, 4)
|
1308
|
+
@ds.insert(5, 6, 7, 8)
|
1309
|
+
end
|
1310
|
+
after(:all) do
|
1311
|
+
@db.drop_table?(:a)
|
1312
|
+
end
|
1313
|
+
|
1314
|
+
it "should have working #map" do
|
1315
|
+
@ds.map(:a).must_equal [1, 5]
|
1316
|
+
@ds.map(:b).must_equal [2, 6]
|
1317
|
+
@ds.map([:a, :b]).must_equal [[1, 2], [5, 6]]
|
1318
|
+
end
|
1319
|
+
|
1320
|
+
it "should have working #as_hash" do
|
1321
|
+
@ds.to_hash(:a).must_equal(1=>{:a=>1, :b=>2, :c=>3, :d=>4}, 5=>{:a=>5, :b=>6, :c=>7, :d=>8})
|
1322
|
+
@ds.as_hash(:a).must_equal(1=>{:a=>1, :b=>2, :c=>3, :d=>4}, 5=>{:a=>5, :b=>6, :c=>7, :d=>8})
|
1323
|
+
@ds.as_hash(:b).must_equal(2=>{:a=>1, :b=>2, :c=>3, :d=>4}, 6=>{:a=>5, :b=>6, :c=>7, :d=>8})
|
1324
|
+
@ds.as_hash([:a, :b]).must_equal([1, 2]=>{:a=>1, :b=>2, :c=>3, :d=>4}, [5, 6]=>{:a=>5, :b=>6, :c=>7, :d=>8})
|
1325
|
+
|
1326
|
+
@ds.as_hash(:a, :b).must_equal(1=>2, 5=>6)
|
1327
|
+
@ds.as_hash([:a, :c], :b).must_equal([1, 3]=>2, [5, 7]=>6)
|
1328
|
+
@ds.as_hash(:a, [:b, :c]).must_equal(1=>[2, 3], 5=>[6, 7])
|
1329
|
+
@ds.as_hash([:a, :c], [:b, :d]).must_equal([1, 3]=>[2, 4], [5, 7]=>[6, 8])
|
1330
|
+
@ds.extension(:null_dataset).nullify.as_hash([:a, :c], [:b, :d]).must_equal({})
|
1331
|
+
|
1332
|
+
@ds.as_hash(:a, :b, :hash => (tmp = {})).must_be_same_as(tmp)
|
1333
|
+
end
|
1334
|
+
|
1335
|
+
it "should have working #to_hash_groups" do
|
1336
|
+
ds = @ds.order(*@ds.columns)
|
1337
|
+
ds.insert(1, 2, 3, 9)
|
1338
|
+
ds.to_hash_groups(:a).must_equal(1=>[{:a=>1, :b=>2, :c=>3, :d=>4}, {:a=>1, :b=>2, :c=>3, :d=>9}], 5=>[{:a=>5, :b=>6, :c=>7, :d=>8}])
|
1339
|
+
ds.to_hash_groups(:b).must_equal(2=>[{:a=>1, :b=>2, :c=>3, :d=>4}, {:a=>1, :b=>2, :c=>3, :d=>9}], 6=>[{:a=>5, :b=>6, :c=>7, :d=>8}])
|
1340
|
+
ds.to_hash_groups([:a, :b]).must_equal([1, 2]=>[{:a=>1, :b=>2, :c=>3, :d=>4}, {:a=>1, :b=>2, :c=>3, :d=>9}], [5, 6]=>[{:a=>5, :b=>6, :c=>7, :d=>8}])
|
1341
|
+
|
1342
|
+
ds.to_hash_groups(:a, :d).must_equal(1=>[4, 9], 5=>[8])
|
1343
|
+
ds.to_hash_groups([:a, :c], :d).must_equal([1, 3]=>[4, 9], [5, 7]=>[8])
|
1344
|
+
ds.to_hash_groups(:a, [:b, :d]).must_equal(1=>[[2, 4], [2, 9]], 5=>[[6, 8]])
|
1345
|
+
ds.to_hash_groups([:a, :c], [:b, :d]).must_equal([1, 3]=>[[2, 4], [2, 9]], [5, 7]=>[[6, 8]])
|
1346
|
+
@ds.extension(:null_dataset).nullify.to_hash_groups([:a, :c], [:b, :d]).must_equal({})
|
1347
|
+
|
1348
|
+
ds.to_hash_groups(:a, :d, :hash => (tmp = {})).must_be_same_as(tmp)
|
1349
|
+
end
|
1350
|
+
|
1351
|
+
it "should have working #select_map" do
|
1352
|
+
@ds.select_map(:a).must_equal [1, 5]
|
1353
|
+
@ds.select_map(:b).must_equal [2, 6]
|
1354
|
+
@ds.select_map([:a]).must_equal [[1], [5]]
|
1355
|
+
@ds.select_map([:a, :b]).must_equal [[1, 2], [5, 6]]
|
1356
|
+
@ds.extension(:null_dataset).nullify.select_map([:a, :b]).must_equal []
|
1357
|
+
|
1358
|
+
@ds.select_map(Sequel[:a].as(:e)).must_equal [1, 5]
|
1359
|
+
@ds.select_map(Sequel[:b].as(:e)).must_equal [2, 6]
|
1360
|
+
@ds.select_map([Sequel[:a].as(:e), Sequel[:b].as(:f)]).must_equal [[1, 2], [5, 6]]
|
1361
|
+
@ds.select_map([Sequel[:a][:a].as(:e), Sequel[:a][:b].as(:f)]).must_equal [[1, 2], [5, 6]]
|
1362
|
+
@ds.select_map([Sequel.expr(Sequel[:a][:a]).as(:e), Sequel.expr(Sequel[:a][:b]).as(:f)]).must_equal [[1, 2], [5, 6]]
|
1363
|
+
@ds.select_map([Sequel.qualify(:a, :a).as(:e), Sequel.qualify(:a, :b).as(:f)]).must_equal [[1, 2], [5, 6]]
|
1364
|
+
@ds.select_map([Sequel.identifier(:a).qualify(:a).as(:e), Sequel.qualify(:a, :b).as(:f)]).must_equal [[1, 2], [5, 6]]
|
1365
|
+
end
|
1366
|
+
|
1367
|
+
it "should have working #select_order_map" do
|
1368
|
+
@ds.select_order_map(:a).must_equal [1, 5]
|
1369
|
+
@ds.select_order_map(Sequel.desc(Sequel[:a][:b])).must_equal [6, 2]
|
1370
|
+
@ds.select_order_map(Sequel.desc(Sequel[:a][:b].as(:e))).must_equal [6, 2]
|
1371
|
+
@ds.select_order_map(Sequel.qualify(:a, :b).as(:e)).must_equal [2, 6]
|
1372
|
+
@ds.select_order_map([:a]).must_equal [[1], [5]]
|
1373
|
+
@ds.select_order_map([Sequel.desc(:a), :b]).must_equal [[5, 6], [1, 2]]
|
1374
|
+
@ds.extension(:null_dataset).nullify.select_order_map(:a).must_equal []
|
1375
|
+
|
1376
|
+
@ds.select_order_map(Sequel[:a].as(:e)).must_equal [1, 5]
|
1377
|
+
@ds.select_order_map(Sequel[:b].as(:e)).must_equal [2, 6]
|
1378
|
+
@ds.select_order_map([Sequel.desc(Sequel[:a].as(:e)), Sequel[:b].as(:f)]).must_equal [[5, 6], [1, 2]]
|
1379
|
+
@ds.select_order_map([Sequel.desc(Sequel[:a][:a].as(:e)), Sequel[:a][:b].as(:f)]).must_equal [[5, 6], [1, 2]]
|
1380
|
+
@ds.select_order_map([Sequel.desc(Sequel[:a][:a]), Sequel.expr(Sequel[:a][:b]).as(:f)]).must_equal [[5, 6], [1, 2]]
|
1381
|
+
@ds.select_order_map([Sequel.qualify(:a, :a).desc, Sequel.qualify(:a, :b).as(:f)]).must_equal [[5, 6], [1, 2]]
|
1382
|
+
@ds.select_order_map([Sequel.identifier(:a).qualify(:a).desc, Sequel.qualify(:a, :b).as(:f)]).must_equal [[5, 6], [1, 2]]
|
1383
|
+
end
|
1384
|
+
|
1385
|
+
it "should have working #select_hash" do
|
1386
|
+
@ds.select_hash(:a, :b).must_equal(1=>2, 5=>6)
|
1387
|
+
@ds.select_hash(Sequel[:a][:a].as(:e), :b).must_equal(1=>2, 5=>6)
|
1388
|
+
@ds.select_hash(Sequel.expr(Sequel[:a][:a]).as(:e), :b).must_equal(1=>2, 5=>6)
|
1389
|
+
@ds.select_hash(Sequel.qualify(:a, :a).as(:e), :b).must_equal(1=>2, 5=>6)
|
1390
|
+
@ds.select_hash(Sequel.identifier(:a).qualify(:a).as(:e), :b).must_equal(1=>2, 5=>6)
|
1391
|
+
@ds.select_hash([:a, :c], :b).must_equal([1, 3]=>2, [5, 7]=>6)
|
1392
|
+
@ds.select_hash(:a, [:b, :c]).must_equal(1=>[2, 3], 5=>[6, 7])
|
1393
|
+
@ds.select_hash([:a, :c], [:b, :d]).must_equal([1, 3]=>[2, 4], [5, 7]=>[6, 8])
|
1394
|
+
@ds.select_hash(:a, :b, :hash => (tmp = {})).must_be_same_as(tmp)
|
1395
|
+
@ds.extension(:null_dataset).nullify.select_hash(:a, :b).must_equal({})
|
1396
|
+
end
|
1397
|
+
|
1398
|
+
it "should have working #select_hash_groups" do
|
1399
|
+
ds = @ds.order(*@ds.columns)
|
1400
|
+
ds.insert(1, 2, 3, 9)
|
1401
|
+
ds.select_hash_groups(:a, :d).must_equal(1=>[4, 9], 5=>[8])
|
1402
|
+
ds.select_hash_groups(Sequel[:a][:a].as(:e), :d).must_equal(1=>[4, 9], 5=>[8])
|
1403
|
+
ds.select_hash_groups(Sequel.expr(Sequel[:a][:a]).as(:e), :d).must_equal(1=>[4, 9], 5=>[8])
|
1404
|
+
ds.select_hash_groups(Sequel.qualify(:a, :a).as(:e), :d).must_equal(1=>[4, 9], 5=>[8])
|
1405
|
+
ds.select_hash_groups(Sequel.identifier(:a).qualify(:a).as(:e), :d).must_equal(1=>[4, 9], 5=>[8])
|
1406
|
+
ds.select_hash_groups([:a, :c], :d).must_equal([1, 3]=>[4, 9], [5, 7]=>[8])
|
1407
|
+
ds.select_hash_groups(:a, [:b, :d]).must_equal(1=>[[2, 4], [2, 9]], 5=>[[6, 8]])
|
1408
|
+
ds.select_hash_groups([:a, :c], [:b, :d]).must_equal([1, 3]=>[[2, 4], [2, 9]], [5, 7]=>[[6, 8]])
|
1409
|
+
ds.select_hash_groups(:a, :d, :hash => (tmp = {})).must_be_same_as(tmp)
|
1410
|
+
@ds.extension(:null_dataset).nullify.select_hash_groups(:a, :d).must_equal({})
|
1411
|
+
end
|
1412
|
+
end
|
1413
|
+
|
1414
|
+
describe "Sequel::Dataset DSL support" do
|
1415
|
+
before(:all) do
|
1416
|
+
@db = DB
|
1417
|
+
@db.create_table!(:a){Integer :a; Integer :b}
|
1418
|
+
@ds = @db[:a].order(:a)
|
1419
|
+
end
|
1420
|
+
before do
|
1421
|
+
@ds.delete
|
1422
|
+
end
|
1423
|
+
after(:all) do
|
1424
|
+
@db.drop_table?(:a)
|
1425
|
+
end
|
1426
|
+
|
1427
|
+
it "should work with standard mathematical operators" do
|
1428
|
+
@ds.insert(20, 10)
|
1429
|
+
@ds.get{a + b}.to_i.must_equal 30
|
1430
|
+
@ds.get{a - b}.to_i.must_equal 10
|
1431
|
+
@ds.get{a * b}.to_i.must_equal 200
|
1432
|
+
@ds.get{a / b}.to_i.must_equal 2
|
1433
|
+
end
|
1434
|
+
|
1435
|
+
it "should work with exponentiation operator" do
|
1436
|
+
@ds.insert(:a=>2)
|
1437
|
+
(-4..4).each do |i|
|
1438
|
+
# Allow minor differences due to emulation issues on some adapters
|
1439
|
+
@ds.get{(a / 1.0) ** i}.to_f.must_be_close_to((2**i).to_f)
|
1440
|
+
end
|
1441
|
+
end
|
1442
|
+
|
1443
|
+
cspecify "should work with bitwise shift operators", :derby do
|
1444
|
+
@ds.insert(3, 2)
|
1445
|
+
b = Sequel[:b]
|
1446
|
+
b = b.cast(:integer) if @db.database_type == :postgres
|
1447
|
+
@ds.get{a.sql_number << b}.to_i.must_equal 12
|
1448
|
+
@ds.get{a.sql_number >> b}.to_i.must_equal 0
|
1449
|
+
@ds.get{a.sql_number << b << 1}.to_i.must_equal 24
|
1450
|
+
@ds.delete
|
1451
|
+
@ds.insert(3, 1)
|
1452
|
+
@ds.get{a.sql_number << b}.to_i.must_equal 6
|
1453
|
+
@ds.get{a.sql_number >> b}.to_i.must_equal 1
|
1454
|
+
@ds.get{a.sql_number >> b >> 1}.to_i.must_equal 0
|
1455
|
+
end
|
1456
|
+
|
1457
|
+
cspecify "should work with bitwise AND and OR operators", :derby do
|
1458
|
+
@ds.insert(3, 5)
|
1459
|
+
@ds.get{a.sql_number | b}.to_i.must_equal 7
|
1460
|
+
@ds.get{a.sql_number & b}.to_i.must_equal 1
|
1461
|
+
@ds.get{a.sql_number | b | 8}.to_i.must_equal 15
|
1462
|
+
@ds.get{a.sql_number & b & 8}.to_i.must_equal 0
|
1463
|
+
end
|
1464
|
+
|
1465
|
+
it "should work with the bitwise compliment operator" do
|
1466
|
+
@ds.insert(-3, 3)
|
1467
|
+
@ds.get{~a.sql_number}.to_i.must_equal 2
|
1468
|
+
@ds.get{~b.sql_number}.to_i.must_equal(-4)
|
1469
|
+
end
|
1470
|
+
|
1471
|
+
cspecify "should work with the bitwise xor operator", :derby do
|
1472
|
+
@ds.insert(3, 5)
|
1473
|
+
@ds.get{a.sql_number ^ b}.to_i.must_equal 6
|
1474
|
+
@ds.get{a.sql_number ^ b ^ 1}.to_i.must_equal 7
|
1475
|
+
end
|
1476
|
+
|
1477
|
+
it "should work with the modulus operator" do
|
1478
|
+
@ds.insert(3, 5)
|
1479
|
+
@ds.get{a.sql_number % 4}.to_i.must_equal 3
|
1480
|
+
@ds.get{b.sql_number % 4}.to_i.must_equal 1
|
1481
|
+
@ds.get{a.sql_number % 4 % 2}.to_i.must_equal 1
|
1482
|
+
end
|
1483
|
+
|
1484
|
+
it "should work with inequality operators" do
|
1485
|
+
@ds.insert(10, 11)
|
1486
|
+
@ds.insert(11, 11)
|
1487
|
+
@ds.insert(20, 19)
|
1488
|
+
@ds.insert(20, 20)
|
1489
|
+
@ds.filter{a > b}.select_order_map(:a).must_equal [20]
|
1490
|
+
@ds.filter{a >= b}.select_order_map(:a).must_equal [11, 20, 20]
|
1491
|
+
@ds.filter{a < b}.select_order_map(:a).must_equal [10]
|
1492
|
+
@ds.filter{a <= b}.select_order_map(:a).must_equal [10, 11, 20]
|
1493
|
+
end
|
1494
|
+
|
1495
|
+
it "should work with casting and string concatentation" do
|
1496
|
+
@ds.insert(20, 20)
|
1497
|
+
@ds.get{Sequel.cast(a, String).sql_string + Sequel.cast(b, String)}.must_equal '2020'
|
1498
|
+
end
|
1499
|
+
|
1500
|
+
it "should work with ordering" do
|
1501
|
+
@ds.insert(10, 20)
|
1502
|
+
@ds.insert(20, 10)
|
1503
|
+
@ds.order(:a, :b).all.must_equal [{:a=>10, :b=>20}, {:a=>20, :b=>10}]
|
1504
|
+
@ds.order(Sequel.asc(:a), Sequel.asc(:b)).all.must_equal [{:a=>10, :b=>20}, {:a=>20, :b=>10}]
|
1505
|
+
@ds.order(Sequel.desc(:a), Sequel.desc(:b)).all.must_equal [{:a=>20, :b=>10}, {:a=>10, :b=>20}]
|
1506
|
+
end
|
1507
|
+
|
1508
|
+
it "should work with qualifying" do
|
1509
|
+
@ds.insert(10, 20)
|
1510
|
+
@ds.get(Sequel[:a][:b]).must_equal 20
|
1511
|
+
@ds.get{a[:b]}.must_equal 20
|
1512
|
+
@ds.get(Sequel.qualify(:a, :b)).must_equal 20
|
1513
|
+
end
|
1514
|
+
|
1515
|
+
it "should work with aliasing" do
|
1516
|
+
@ds.insert(10, 20)
|
1517
|
+
@ds.get(Sequel[:a][:b].as(:c)).must_equal 20
|
1518
|
+
@ds.get{a[:b].as(c)}.must_equal 20
|
1519
|
+
@ds.get(Sequel.qualify(:a, :b).as(:c)).must_equal 20
|
1520
|
+
@ds.get(Sequel.as(:b, :c)).must_equal 20
|
1521
|
+
end
|
1522
|
+
|
1523
|
+
it "should work with selecting all columns of a table" do
|
1524
|
+
@ds.insert(20, 10)
|
1525
|
+
@ds.select_all(:a).all.must_equal [{:a=>20, :b=>10}]
|
1526
|
+
end
|
1527
|
+
|
1528
|
+
it "should work with ranges as hash values" do
|
1529
|
+
@ds.insert(20, 10)
|
1530
|
+
@ds.filter(:a=>(10..30)).all.must_equal [{:a=>20, :b=>10}]
|
1531
|
+
@ds.filter(:a=>(25..30)).all.must_equal []
|
1532
|
+
@ds.filter(:a=>(10..15)).all.must_equal []
|
1533
|
+
@ds.exclude(:a=>(10..30)).all.must_equal []
|
1534
|
+
@ds.exclude(:a=>(25..30)).all.must_equal [{:a=>20, :b=>10}]
|
1535
|
+
@ds.exclude(:a=>(10..15)).all.must_equal [{:a=>20, :b=>10}]
|
1536
|
+
end
|
1537
|
+
|
1538
|
+
it "should work with nil as hash value" do
|
1539
|
+
@ds.insert(20, nil)
|
1540
|
+
@ds.filter(:a=>nil).all.must_equal []
|
1541
|
+
@ds.filter(:b=>nil).all.must_equal [{:a=>20, :b=>nil}]
|
1542
|
+
@ds.exclude(:b=>nil).all.must_equal []
|
1543
|
+
@ds.exclude(:a=>nil).all.must_equal [{:a=>20, :b=>nil}]
|
1544
|
+
end
|
1545
|
+
|
1546
|
+
it "should work with arrays as hash values" do
|
1547
|
+
@ds.insert(20, 10)
|
1548
|
+
@ds.filter(:a=>[10]).all.must_equal []
|
1549
|
+
@ds.filter(:a=>[20, 10]).all.must_equal [{:a=>20, :b=>10}]
|
1550
|
+
@ds.exclude(:a=>[10]).all.must_equal [{:a=>20, :b=>10}]
|
1551
|
+
@ds.exclude(:a=>[20, 10]).all.must_equal []
|
1552
|
+
end
|
1553
|
+
|
1554
|
+
it "should work with endless ranges as hash values" do
|
1555
|
+
@ds.insert(20, 10)
|
1556
|
+
@ds.filter(:a=>eval('30..')).all.must_equal []
|
1557
|
+
@ds.filter(:a=>eval('20...')).all.must_equal [{:a=>20, :b=>10}]
|
1558
|
+
@ds.filter(:a=>eval('20..')).all.must_equal [{:a=>20, :b=>10}]
|
1559
|
+
@ds.filter(:a=>eval('10..')).all.must_equal [{:a=>20, :b=>10}]
|
1560
|
+
end if RUBY_VERSION >= '2.6'
|
1561
|
+
|
1562
|
+
it "should work with startless ranges as hash values" do
|
1563
|
+
@ds.insert(20, 10)
|
1564
|
+
@ds.filter(:a=>eval('..30')).all.must_equal [{:a=>20, :b=>10}]
|
1565
|
+
@ds.filter(:a=>eval('...30')).all.must_equal [{:a=>20, :b=>10}]
|
1566
|
+
@ds.filter(:a=>eval('..20')).all.must_equal [{:a=>20, :b=>10}]
|
1567
|
+
@ds.filter(:a=>eval('...20')).all.must_equal []
|
1568
|
+
@ds.filter(:a=>eval('..10')).all.must_equal []
|
1569
|
+
@ds.filter(:a=>eval('...10')).all.must_equal []
|
1570
|
+
|
1571
|
+
@ds.filter(:a=>eval('nil..nil')).all.must_equal [{:a=>20, :b=>10}]
|
1572
|
+
end if RUBY_VERSION >= '2.7'
|
1573
|
+
|
1574
|
+
it "should work with CASE statements" do
|
1575
|
+
@ds.insert(20, 10)
|
1576
|
+
@ds.filter(Sequel.case({{:a=>20}=>20}, 0) > 0).all.must_equal [{:a=>20, :b=>10}]
|
1577
|
+
@ds.filter(Sequel.case({{:a=>15}=>20}, 0) > 0).all.must_equal []
|
1578
|
+
@ds.filter(Sequel.case({20=>20}, 0, :a) > 0).all.must_equal [{:a=>20, :b=>10}]
|
1579
|
+
@ds.filter(Sequel.case({15=>20}, 0, :a) > 0).all.must_equal []
|
1580
|
+
end
|
1581
|
+
|
1582
|
+
it "should work with multiple value arrays" do
|
1583
|
+
@ds.insert(20, 10)
|
1584
|
+
@ds.filter([:a, :b]=>[[20, 10]]).all.must_equal [{:a=>20, :b=>10}]
|
1585
|
+
@ds.filter([:a, :b]=>[[10, 20]]).all.must_equal []
|
1586
|
+
@ds.filter([:a, :b]=>[[20, 10], [1, 2]]).all.must_equal [{:a=>20, :b=>10}]
|
1587
|
+
@ds.filter([:a, :b]=>[[10, 10], [20, 20]]).all.must_equal []
|
1588
|
+
|
1589
|
+
@ds.exclude([:a, :b]=>[[20, 10]]).all.must_equal []
|
1590
|
+
@ds.exclude([:a, :b]=>[[10, 20]]).all.must_equal [{:a=>20, :b=>10}]
|
1591
|
+
@ds.exclude([:a, :b]=>[[20, 10], [1, 2]]).all.must_equal []
|
1592
|
+
@ds.exclude([:a, :b]=>[[10, 10], [20, 20]]).all.must_equal [{:a=>20, :b=>10}]
|
1593
|
+
end
|
1594
|
+
|
1595
|
+
it "should work with IN/NOT in with datasets" do
|
1596
|
+
@ds.insert(20, 10)
|
1597
|
+
ds = @ds.unordered
|
1598
|
+
|
1599
|
+
@ds.filter(:a=>ds.select(:a)).all.must_equal [{:a=>20, :b=>10}]
|
1600
|
+
@ds.filter(:a=>ds.select(:a).where(:a=>15)).all.must_equal []
|
1601
|
+
@ds.exclude(:a=>ds.select(:a)).all.must_equal []
|
1602
|
+
@ds.exclude(:a=>ds.select(:a).where(:a=>15)).all.must_equal [{:a=>20, :b=>10}]
|
1603
|
+
|
1604
|
+
@ds.filter([:a, :b]=>ds.select(:a, :b)).all.must_equal [{:a=>20, :b=>10}]
|
1605
|
+
@ds.filter([:a, :b]=>ds.select(:b, :a)).all.must_equal []
|
1606
|
+
@ds.exclude([:a, :b]=>ds.select(:a, :b)).all.must_equal []
|
1607
|
+
@ds.exclude([:a, :b]=>ds.select(:b, :a)).all.must_equal [{:a=>20, :b=>10}]
|
1608
|
+
|
1609
|
+
@ds.filter([:a, :b]=>ds.select(:a, :b).where(:a=>15)).all.must_equal []
|
1610
|
+
@ds.exclude([:a, :b]=>ds.select(:a, :b).where(:a=>15)).all.must_equal [{:a=>20, :b=>10}]
|
1611
|
+
end
|
1612
|
+
|
1613
|
+
it "should work empty arrays" do
|
1614
|
+
@ds.insert(20, 10)
|
1615
|
+
@ds.filter(:a=>[]).all.must_equal []
|
1616
|
+
@ds.exclude(:a=>[]).all.must_equal [{:a=>20, :b=>10}]
|
1617
|
+
@ds.filter([:a, :b]=>[]).all.must_equal []
|
1618
|
+
@ds.exclude([:a, :b]=>[]).all.must_equal [{:a=>20, :b=>10}]
|
1619
|
+
end
|
1620
|
+
|
1621
|
+
it "should work empty arrays with nulls when using empty_array_consider_nulls extension" do
|
1622
|
+
@ds = @ds.extension(:empty_array_consider_nulls)
|
1623
|
+
@ds.insert(nil, nil)
|
1624
|
+
@ds.filter(:a=>[]).all.must_equal []
|
1625
|
+
@ds.exclude(:a=>[]).all.must_equal []
|
1626
|
+
@ds.filter([:a, :b]=>[]).all.must_equal []
|
1627
|
+
@ds.exclude([:a, :b]=>[]).all.must_equal []
|
1628
|
+
|
1629
|
+
unless Sequel.guarded?(:mssql, :oracle, :db2, :sqlanywhere)
|
1630
|
+
# Some databases don't like boolean results in the select list
|
1631
|
+
pr = proc{|r| r.is_a?(Integer) ? (r != 0) : r}
|
1632
|
+
pr[@ds.get(Sequel.expr(:a=>[]))].must_be_nil
|
1633
|
+
pr[@ds.get(~Sequel.expr(:a=>[]))].must_be_nil
|
1634
|
+
pr[@ds.get(Sequel.expr([:a, :b]=>[]))].must_be_nil
|
1635
|
+
pr[@ds.get(~Sequel.expr([:a, :b]=>[]))].must_be_nil
|
1636
|
+
end
|
1637
|
+
end
|
1638
|
+
|
1639
|
+
it "should work empty arrays with nulls" do
|
1640
|
+
ds = @ds
|
1641
|
+
ds.insert(nil, nil)
|
1642
|
+
ds.filter(:a=>[]).all.must_equal []
|
1643
|
+
ds.exclude(:a=>[]).all.must_equal [{:a=>nil, :b=>nil}]
|
1644
|
+
ds.filter([:a, :b]=>[]).all.must_equal []
|
1645
|
+
ds.exclude([:a, :b]=>[]).all.must_equal [{:a=>nil, :b=>nil}]
|
1646
|
+
|
1647
|
+
unless Sequel.guarded?(:mssql, :oracle, :db2, :sqlanywhere)
|
1648
|
+
# Some databases don't like boolean results in the select list
|
1649
|
+
pr = proc{|r| r.is_a?(Integer) ? (r != 0) : r}
|
1650
|
+
pr[ds.get(Sequel.expr(:a=>[]))].must_equal false
|
1651
|
+
pr[ds.get(~Sequel.expr(:a=>[]))].must_equal true
|
1652
|
+
pr[ds.get(Sequel.expr([:a, :b]=>[]))].must_equal false
|
1653
|
+
pr[ds.get(~Sequel.expr([:a, :b]=>[]))].must_equal true
|
1654
|
+
end
|
1655
|
+
end
|
1656
|
+
|
1657
|
+
it "should work multiple conditions" do
|
1658
|
+
@ds.insert(20, 10)
|
1659
|
+
@ds.filter(:a=>20, :b=>10).all.must_equal [{:a=>20, :b=>10}]
|
1660
|
+
@ds.filter([[:a, 20], [:b, 10]]).all.must_equal [{:a=>20, :b=>10}]
|
1661
|
+
@ds.filter(Sequel.&({:a=>20}, {:b=>10})).all.must_equal [{:a=>20, :b=>10}]
|
1662
|
+
@ds.filter(Sequel.|({:a=>20}, {:b=>5})).all.must_equal [{:a=>20, :b=>10}]
|
1663
|
+
@ds.filter(Sequel.~(:a=>10)).all.must_equal [{:a=>20, :b=>10}]
|
1664
|
+
end
|
1665
|
+
end
|
1666
|
+
|
1667
|
+
describe "SQL Extract Function" do
|
1668
|
+
before do
|
1669
|
+
@db = DB
|
1670
|
+
@db.create_table!(:a){DateTime :a}
|
1671
|
+
@ds = @db[:a].order(:a)
|
1672
|
+
end
|
1673
|
+
after do
|
1674
|
+
@db.drop_table?(:a)
|
1675
|
+
end
|
1676
|
+
|
1677
|
+
it "should return the part of the datetime asked for" do
|
1678
|
+
t = Time.now
|
1679
|
+
@ds = @ds.with_extend{def supports_timestamp_timezones?() false end}
|
1680
|
+
@ds.insert(t)
|
1681
|
+
@ds.get{a.extract(:year)}.must_equal t.year
|
1682
|
+
@ds.get{a.extract(:month)}.must_equal t.month
|
1683
|
+
@ds.get{a.extract(:day)}.must_equal t.day
|
1684
|
+
@ds.get{a.extract(:hour)}.must_equal t.hour
|
1685
|
+
@ds.get{a.extract(:minute)}.must_equal t.min
|
1686
|
+
@ds.get{a.extract(:second)}.to_i.must_equal t.sec
|
1687
|
+
end
|
1688
|
+
end
|
1689
|
+
|
1690
|
+
describe "Dataset string methods" do
|
1691
|
+
before(:all) do
|
1692
|
+
@db = DB
|
1693
|
+
csc = {}
|
1694
|
+
cic = {}
|
1695
|
+
if @db.database_type == :mssql
|
1696
|
+
csc[:collate] = 'Latin1_General_CS_AS'
|
1697
|
+
cic[:collate] = 'Latin1_General_CI_AS'
|
1698
|
+
end
|
1699
|
+
@db.create_table!(:a) do
|
1700
|
+
String :a, csc
|
1701
|
+
String :b, cic
|
1702
|
+
end
|
1703
|
+
@ds = @db[:a].order(:a)
|
1704
|
+
end
|
1705
|
+
before do
|
1706
|
+
@ds.delete
|
1707
|
+
end
|
1708
|
+
after(:all) do
|
1709
|
+
@db.drop_table?(:a)
|
1710
|
+
end
|
1711
|
+
|
1712
|
+
it "#grep should return matching rows" do
|
1713
|
+
@ds.insert('foo', 'bar')
|
1714
|
+
@ds.grep(:a, 'foo').all.must_equal [{:a=>'foo', :b=>'bar'}]
|
1715
|
+
@ds.grep(:b, 'foo').all.must_equal []
|
1716
|
+
@ds.grep(:b, 'bar').all.must_equal [{:a=>'foo', :b=>'bar'}]
|
1717
|
+
@ds.grep(:a, 'bar').all.must_equal []
|
1718
|
+
@ds.grep([:a, :b], %w'foo bar').all.must_equal [{:a=>'foo', :b=>'bar'}]
|
1719
|
+
@ds.grep([:a, :b], %w'boo far').all.must_equal []
|
1720
|
+
end
|
1721
|
+
|
1722
|
+
it "#grep should work with :all_patterns and :all_columns options" do
|
1723
|
+
@ds.insert('foo bar', ' ')
|
1724
|
+
@ds.insert('foo d', 'bar')
|
1725
|
+
@ds.insert('foo e', ' ')
|
1726
|
+
@ds.insert(' ', 'bar')
|
1727
|
+
@ds.insert('foo f', 'baz')
|
1728
|
+
@ds.insert('foo baz', 'bar baz')
|
1729
|
+
@ds.insert('foo boo', 'boo foo')
|
1730
|
+
|
1731
|
+
@ds.grep([:a, :b], %w'%foo% %bar%', :all_patterns=>true).all.must_equal [{:a=>'foo bar', :b=>' '}, {:a=>'foo baz', :b=>'bar baz'}, {:a=>'foo d', :b=>'bar'}]
|
1732
|
+
@ds.grep([:a, :b], %w'%foo% %bar% %blob%', :all_patterns=>true).all.must_equal []
|
1733
|
+
|
1734
|
+
@ds.grep([:a, :b], %w'%bar% %foo%', :all_columns=>true).all.must_equal [{:a=>"foo baz", :b=>"bar baz"}, {:a=>"foo boo", :b=>"boo foo"}, {:a=>"foo d", :b=>"bar"}]
|
1735
|
+
@ds.grep([:a, :b], %w'%baz%', :all_columns=>true).all.must_equal [{:a=>'foo baz', :b=>'bar baz'}]
|
1736
|
+
|
1737
|
+
@ds.grep([:a, :b], %w'%baz% %foo%', :all_columns=>true, :all_patterns=>true).all.must_equal []
|
1738
|
+
@ds.grep([:a, :b], %w'%boo% %foo%', :all_columns=>true, :all_patterns=>true).all.must_equal [{:a=>'foo boo', :b=>'boo foo'}]
|
1739
|
+
end
|
1740
|
+
|
1741
|
+
it "#like should return matching rows" do
|
1742
|
+
@ds.insert('foo', 'bar')
|
1743
|
+
@ds.filter(Sequel.expr(:a).like('foo')).all.must_equal [{:a=>'foo', :b=>'bar'}]
|
1744
|
+
@ds.filter(Sequel.expr(:a).like('bar')).all.must_equal []
|
1745
|
+
@ds.filter(Sequel.expr(:a).like('foo', 'bar')).all.must_equal [{:a=>'foo', :b=>'bar'}]
|
1746
|
+
@ds.exclude(Sequel.expr(:a).like('foo')).all.must_equal []
|
1747
|
+
@ds.exclude(Sequel.expr(:a).like('bar')).all.must_equal [{:a=>'foo', :b=>'bar'}]
|
1748
|
+
@ds.exclude(Sequel.expr(:a).like('foo', 'bar')).all.must_equal []
|
1749
|
+
end
|
1750
|
+
|
1751
|
+
it "#like should be case sensitive" do
|
1752
|
+
@ds.insert('foo', 'bar')
|
1753
|
+
@ds.filter(Sequel.expr(:a).like('Foo')).all.must_equal []
|
1754
|
+
@ds.filter(Sequel.expr(:b).like('baR')).all.must_equal []
|
1755
|
+
@ds.filter(Sequel.expr(:a).like('FOO', 'BAR')).all.must_equal []
|
1756
|
+
@ds.exclude(Sequel.expr(:a).like('Foo')).all.must_equal [{:a=>'foo', :b=>'bar'}]
|
1757
|
+
@ds.exclude(Sequel.expr(:b).like('baR')).all.must_equal [{:a=>'foo', :b=>'bar'}]
|
1758
|
+
@ds.exclude(Sequel.expr(:a).like('FOO', 'BAR')).all.must_equal [{:a=>'foo', :b=>'bar'}]
|
1759
|
+
end
|
1760
|
+
|
1761
|
+
it "#ilike should return matching rows, in a case insensitive manner" do
|
1762
|
+
@ds.insert('foo', 'bar')
|
1763
|
+
@ds.filter(Sequel.expr(:a).ilike('Foo')).all.must_equal [{:a=>'foo', :b=>'bar'}]
|
1764
|
+
@ds.filter(Sequel.expr(:a).ilike('baR')).all.must_equal []
|
1765
|
+
@ds.filter(Sequel.expr(:a).ilike('FOO', 'BAR')).all.must_equal [{:a=>'foo', :b=>'bar'}]
|
1766
|
+
@ds.exclude(Sequel.expr(:a).ilike('Foo')).all.must_equal []
|
1767
|
+
@ds.exclude(Sequel.expr(:a).ilike('baR')).all.must_equal [{:a=>'foo', :b=>'bar'}]
|
1768
|
+
@ds.exclude(Sequel.expr(:a).ilike('FOO', 'BAR')).all.must_equal []
|
1769
|
+
end
|
1770
|
+
|
1771
|
+
it "#escape_like should escape any metacharacters" do
|
1772
|
+
@ds.insert('foo', 'bar')
|
1773
|
+
@ds.insert('foo.', 'bar..')
|
1774
|
+
@ds.insert('foo\\..', 'bar\\..')
|
1775
|
+
@ds.insert('foo\\_', 'bar\\%')
|
1776
|
+
@ds.insert('foo_', 'bar%')
|
1777
|
+
@ds.insert('foo_.', 'bar%.')
|
1778
|
+
@ds.insert('foo_..', 'bar%..')
|
1779
|
+
@ds.insert('[f#*?oo_]', '[bar%]')
|
1780
|
+
@ds.filter(Sequel.expr(:a).like(@ds.escape_like('foo_'))).select_order_map(:a).must_equal ['foo_']
|
1781
|
+
@ds.filter(Sequel.expr(:b).like(@ds.escape_like('bar%'))).select_order_map(:b).must_equal ['bar%']
|
1782
|
+
@ds.filter(Sequel.expr(:a).like(@ds.escape_like('foo\\_'))).select_order_map(:a).must_equal ['foo\\_']
|
1783
|
+
@ds.filter(Sequel.expr(:b).like(@ds.escape_like('bar\\%'))).select_order_map(:b).must_equal ['bar\\%']
|
1784
|
+
@ds.filter(Sequel.expr(:a).like(@ds.escape_like('[f#*?oo_]'))).select_order_map(:a).must_equal ['[f#*?oo_]']
|
1785
|
+
@ds.filter(Sequel.expr(:b).like(@ds.escape_like('[bar%]'))).select_order_map(:b).must_equal ['[bar%]']
|
1786
|
+
@ds.filter(Sequel.expr(:b).like("#{@ds.escape_like('bar%')}_")).select_order_map(:b).must_equal ['bar%.']
|
1787
|
+
@ds.filter(Sequel.expr(:b).like("#{@ds.escape_like('bar%')}%")).select_order_map(:b).must_equal ['bar%', 'bar%.', 'bar%..']
|
1788
|
+
|
1789
|
+
@ds.filter(Sequel.expr(:a).ilike(@ds.escape_like('Foo_'))).select_order_map(:a).must_equal ['foo_']
|
1790
|
+
@ds.filter(Sequel.expr(:b).ilike(@ds.escape_like('Bar%'))).select_order_map(:b).must_equal ['bar%']
|
1791
|
+
@ds.filter(Sequel.expr(:a).ilike(@ds.escape_like('Foo\\_'))).select_order_map(:a).must_equal ['foo\\_']
|
1792
|
+
@ds.filter(Sequel.expr(:b).ilike(@ds.escape_like('Bar\\%'))).select_order_map(:b).must_equal ['bar\\%']
|
1793
|
+
@ds.filter(Sequel.expr(:a).ilike(@ds.escape_like('[F#*?oo_]'))).select_order_map(:a).must_equal ['[f#*?oo_]']
|
1794
|
+
@ds.filter(Sequel.expr(:b).ilike(@ds.escape_like('[Bar%]'))).select_order_map(:b).must_equal ['[bar%]']
|
1795
|
+
@ds.filter(Sequel.expr(:b).ilike("#{@ds.escape_like('Bar%')}_")).select_order_map(:b).must_equal ['bar%.']
|
1796
|
+
@ds.filter(Sequel.expr(:b).ilike("#{@ds.escape_like('Bar%')}%")).select_order_map(:b).must_equal ['bar%', 'bar%.', 'bar%..']
|
1797
|
+
|
1798
|
+
Sequel.extension(:escaped_like)
|
1799
|
+
@ds.filter(Sequel.expr(:a).escaped_like('?', 'Foo_')).select_order_map(:a).must_equal []
|
1800
|
+
@ds.filter(Sequel.expr(:a).escaped_like('?', 'foo_')).select_order_map(:a).must_equal ['foo_']
|
1801
|
+
@ds.filter(Sequel.expr(:b).escaped_like('?', ['bar%'])).select_order_map(:b).must_equal ['bar%']
|
1802
|
+
@ds.filter(Sequel.expr(:a).escaped_like('??', ['fo', 'o\\_'])).select_order_map(:a).must_equal ['foo\\_']
|
1803
|
+
@ds.filter(Sequel.expr(:b).escaped_like('?', 'bar\\%')).select_order_map(:b).must_equal ['bar\\%']
|
1804
|
+
@ds.filter(Sequel.expr(:a).escaped_like('?', '[f#*?oo_]')).select_order_map(:a).must_equal ['[f#*?oo_]']
|
1805
|
+
@ds.filter(Sequel.expr(:b).escaped_like('?', '[bar%]')).select_order_map(:b).must_equal ['[bar%]']
|
1806
|
+
@ds.filter(Sequel.expr(:b).escaped_like('?_', 'bar%')).select_order_map(:b).must_equal ['bar%.']
|
1807
|
+
@ds.filter(Sequel.expr(:b).escaped_like('?%', 'bar%')).select_order_map(:b).must_equal ['bar%', 'bar%.', 'bar%..']
|
1808
|
+
|
1809
|
+
@ds.filter(Sequel.expr(:a).escaped_ilike('?', 'Foo_')).select_order_map(:a).must_equal ['foo_']
|
1810
|
+
@ds.filter(Sequel.expr(:a).escaped_ilike('?', 'Foo_')).select_order_map(:a).must_equal ['foo_']
|
1811
|
+
@ds.filter(Sequel.expr(:b).escaped_ilike('?', ['Bar%'])).select_order_map(:b).must_equal ['bar%']
|
1812
|
+
@ds.filter(Sequel.expr(:a).escaped_ilike('??', ['Fo', 'o\\_'])).select_order_map(:a).must_equal ['foo\\_']
|
1813
|
+
@ds.filter(Sequel.expr(:b).escaped_ilike('?', 'Bar\\%')).select_order_map(:b).must_equal ['bar\\%']
|
1814
|
+
@ds.filter(Sequel.expr(:a).escaped_ilike('?', '[F#*?oo_]')).select_order_map(:a).must_equal ['[f#*?oo_]']
|
1815
|
+
@ds.filter(Sequel.expr(:b).escaped_ilike('?', '[Bar%]')).select_order_map(:b).must_equal ['[bar%]']
|
1816
|
+
@ds.filter(Sequel.expr(:b).escaped_ilike('?_', 'Bar%')).select_order_map(:b).must_equal ['bar%.']
|
1817
|
+
@ds.filter(Sequel.expr(:b).escaped_ilike('?%', 'Bar%')).select_order_map(:b).must_equal ['bar%', 'bar%.', 'bar%..']
|
1818
|
+
end
|
1819
|
+
|
1820
|
+
if DB.dataset.supports_regexp?
|
1821
|
+
it "#like with regexp return matching rows" do
|
1822
|
+
@ds.insert('foo', 'bar')
|
1823
|
+
@ds.filter(Sequel.expr(:a).like(/fo/)).all.must_equal [{:a=>'foo', :b=>'bar'}]
|
1824
|
+
@ds.filter(Sequel.expr(:a).like(/fo$/)).all.must_equal []
|
1825
|
+
@ds.filter(Sequel.expr(:a).like(/fo/, /ar/)).all.must_equal [{:a=>'foo', :b=>'bar'}]
|
1826
|
+
@ds.exclude(Sequel.expr(:a).like(/fo/)).all.must_equal []
|
1827
|
+
@ds.exclude(Sequel.expr(:a).like(/fo$/)).all.must_equal [{:a=>'foo', :b=>'bar'}]
|
1828
|
+
@ds.exclude(Sequel.expr(:a).like(/fo/, /ar/)).all.must_equal []
|
1829
|
+
end
|
1830
|
+
|
1831
|
+
it "#like with regexp should be case sensitive if regexp is case sensitive" do
|
1832
|
+
@ds.insert('foo', 'bar')
|
1833
|
+
@ds.filter(Sequel.expr(:a).like(/Fo/)).all.must_equal []
|
1834
|
+
@ds.filter(Sequel.expr(:b).like(/baR/)).all.must_equal []
|
1835
|
+
@ds.filter(Sequel.expr(:a).like(/FOO/, /BAR/)).all.must_equal []
|
1836
|
+
@ds.exclude(Sequel.expr(:a).like(/Fo/)).all.must_equal [{:a=>'foo', :b=>'bar'}]
|
1837
|
+
@ds.exclude(Sequel.expr(:b).like(/baR/)).all.must_equal [{:a=>'foo', :b=>'bar'}]
|
1838
|
+
@ds.exclude(Sequel.expr(:a).like(/FOO/, /BAR/)).all.must_equal [{:a=>'foo', :b=>'bar'}]
|
1839
|
+
|
1840
|
+
@ds.filter(Sequel.expr(:a).like(/Fo/i)).all.must_equal [{:a=>'foo', :b=>'bar'}]
|
1841
|
+
@ds.filter(Sequel.expr(:b).like(/baR/i)).all.must_equal [{:a=>'foo', :b=>'bar'}]
|
1842
|
+
@ds.filter(Sequel.expr(:a).like(/FOO/i, /BAR/i)).all.must_equal [{:a=>'foo', :b=>'bar'}]
|
1843
|
+
@ds.exclude(Sequel.expr(:a).like(/Fo/i)).all.must_equal []
|
1844
|
+
@ds.exclude(Sequel.expr(:b).like(/baR/i)).all.must_equal []
|
1845
|
+
@ds.exclude(Sequel.expr(:a).like(/FOO/i, /BAR/i)).all.must_equal []
|
1846
|
+
end
|
1847
|
+
|
1848
|
+
it "#ilike with regexp should return matching rows, in a case insensitive manner" do
|
1849
|
+
@ds.insert('foo', 'bar')
|
1850
|
+
@ds.filter(Sequel.expr(:a).ilike(/Fo/)).all.must_equal [{:a=>'foo', :b=>'bar'}]
|
1851
|
+
@ds.filter(Sequel.expr(:b).ilike(/baR/)).all.must_equal [{:a=>'foo', :b=>'bar'}]
|
1852
|
+
@ds.filter(Sequel.expr(:a).ilike(/FOO/, /BAR/)).all.must_equal [{:a=>'foo', :b=>'bar'}]
|
1853
|
+
@ds.exclude(Sequel.expr(:a).ilike(/Fo/)).all.must_equal []
|
1854
|
+
@ds.exclude(Sequel.expr(:b).ilike(/baR/)).all.must_equal []
|
1855
|
+
@ds.exclude(Sequel.expr(:a).ilike(/FOO/, /BAR/)).all.must_equal []
|
1856
|
+
end
|
1857
|
+
end
|
1858
|
+
|
1859
|
+
it "should work with strings created with Sequel.join" do
|
1860
|
+
@ds.insert('foo', 'bar')
|
1861
|
+
@ds.get(Sequel.join([:a, "bar"])).must_equal 'foobar'
|
1862
|
+
@ds.get(Sequel.join(["foo", :b], ' ')).must_equal 'foo bar'
|
1863
|
+
end
|
1864
|
+
end
|
1865
|
+
|
1866
|
+
describe "Dataset identifier methods" do
|
1867
|
+
before(:all) do
|
1868
|
+
class ::String
|
1869
|
+
def uprev
|
1870
|
+
upcase.reverse
|
1871
|
+
end
|
1872
|
+
end
|
1873
|
+
@db = DB
|
1874
|
+
@db.create_table!(:a){Integer :ab}
|
1875
|
+
@db[:a].insert(1)
|
1876
|
+
end
|
1877
|
+
before do
|
1878
|
+
@ds = @db[:a].order(:ab)
|
1879
|
+
end
|
1880
|
+
after(:all) do
|
1881
|
+
@db.drop_table?(:a)
|
1882
|
+
end
|
1883
|
+
|
1884
|
+
it "#identifier_output_method should change how identifiers are output" do
|
1885
|
+
@ds.with_identifier_output_method(:upcase).first.must_equal(:AB=>1)
|
1886
|
+
@ds.with_identifier_output_method(:uprev).first.must_equal(:BA=>1)
|
1887
|
+
end
|
1888
|
+
|
1889
|
+
it "should work with a nil identifier_output_method" do
|
1890
|
+
[{:ab=>1}, {:AB=>1}].must_include(@ds.with_identifier_output_method(nil).first)
|
1891
|
+
end
|
1892
|
+
|
1893
|
+
it "should work when not quoting identifiers" do
|
1894
|
+
@ds.with_quote_identifiers(false).first.must_equal(:ab=>1)
|
1895
|
+
end
|
1896
|
+
end if IDENTIFIER_MANGLING
|
1897
|
+
|
1898
|
+
if DB.dataset.supports_modifying_joins?
|
1899
|
+
describe "Modifying joined datasets" do
|
1900
|
+
before do
|
1901
|
+
@db = DB
|
1902
|
+
@db.create_table!(:a){Integer :a; Integer :d}
|
1903
|
+
@db.create_table!(:b){Integer :b; Integer :e}
|
1904
|
+
@db.create_table!(:c){Integer :c; Integer :f}
|
1905
|
+
@ds = @db.from(:a, :b).join(:c, {:c=>Sequel.identifier(:e)}, :qualify=>:symbol).where(:d=>:b, :f=>6)
|
1906
|
+
@db[:a].insert(1, 2)
|
1907
|
+
@db[:a].insert(3, 4)
|
1908
|
+
@db[:b].insert(2, 5)
|
1909
|
+
@db[:c].insert(5, 6)
|
1910
|
+
@db[:b].insert(4, 7)
|
1911
|
+
@db[:c].insert(7, 8)
|
1912
|
+
end
|
1913
|
+
after do
|
1914
|
+
@db.drop_table?(:a, :b, :c)
|
1915
|
+
end
|
1916
|
+
|
1917
|
+
it "#update should allow updating joined datasets" do
|
1918
|
+
@ds.update(:a=>10)
|
1919
|
+
@ds.all.must_equal [{:c=>5, :b=>2, :a=>10, :d=>2, :e=>5, :f=>6}]
|
1920
|
+
@db[:a].order(:a).all.must_equal [{:a=>3, :d=>4}, {:a=>10, :d=>2}]
|
1921
|
+
@db[:b].order(:b).all.must_equal [{:b=>2, :e=>5}, {:b=>4, :e=>7}]
|
1922
|
+
@db[:c].order(:c).all.must_equal [{:c=>5, :f=>6}, {:c=>7, :f=>8}]
|
1923
|
+
end
|
1924
|
+
|
1925
|
+
it "#delete should allow deleting from joined datasets" do
|
1926
|
+
@ds.delete
|
1927
|
+
@ds.all.must_equal []
|
1928
|
+
@db[:a].order(:a).all.must_equal [{:a=>3, :d=>4}]
|
1929
|
+
@db[:b].order(:b).all.must_equal [{:b=>2, :e=>5}, {:b=>4, :e=>7}]
|
1930
|
+
@db[:c].order(:c).all.must_equal [{:c=>5, :f=>6}, {:c=>7, :f=>8}]
|
1931
|
+
end
|
1932
|
+
end
|
1933
|
+
end
|
1934
|
+
|
1935
|
+
describe "Emulated functions" do
|
1936
|
+
before(:all) do
|
1937
|
+
@db = DB
|
1938
|
+
@db.create_table!(:a){String :a}
|
1939
|
+
@ds = @db[:a]
|
1940
|
+
end
|
1941
|
+
after(:all) do
|
1942
|
+
@db.drop_table?(:a)
|
1943
|
+
end
|
1944
|
+
after do
|
1945
|
+
@ds.delete
|
1946
|
+
end
|
1947
|
+
|
1948
|
+
it "Sequel.char_length should return the length of characters in the string" do
|
1949
|
+
@ds.get(Sequel.char_length(:a)).must_be_nil
|
1950
|
+
@ds.insert(:a=>'foo')
|
1951
|
+
@ds.get(Sequel.char_length(:a)).must_equal 3
|
1952
|
+
# Check behavior with leading/trailing blanks
|
1953
|
+
@ds.update(:a=>' foo22 ')
|
1954
|
+
@ds.get(Sequel.char_length(:a)).must_equal 7
|
1955
|
+
end
|
1956
|
+
|
1957
|
+
it "Sequel.trim should return the string with spaces trimmed from both sides" do
|
1958
|
+
@ds.get(Sequel.trim(:a)).must_be_nil
|
1959
|
+
@ds.insert(:a=>'foo')
|
1960
|
+
@ds.get(Sequel.trim(:a)).must_equal 'foo'
|
1961
|
+
# Check behavior with leading/trailing blanks
|
1962
|
+
@ds.update(:a=>' foo22 ')
|
1963
|
+
@ds.get(Sequel.trim(:a)).must_equal 'foo22'
|
1964
|
+
end
|
1965
|
+
end
|
1966
|
+
|
1967
|
+
describe "Dataset replace" do
|
1968
|
+
before do
|
1969
|
+
DB.create_table!(:items){Integer :id, :unique=>true; Integer :value}
|
1970
|
+
@d = DB[:items]
|
1971
|
+
end
|
1972
|
+
|
1973
|
+
after do
|
1974
|
+
DB.drop_table?(:items)
|
1975
|
+
end
|
1976
|
+
|
1977
|
+
it "should use support arrays, datasets, and multiple values" do
|
1978
|
+
@d.replace([1, 2])
|
1979
|
+
@d.all.must_equal [{:id=>1, :value=>2}]
|
1980
|
+
@d.replace(1, 2)
|
1981
|
+
@d.all.must_equal [{:id=>1, :value=>2}]
|
1982
|
+
@d.replace(@d)
|
1983
|
+
@d.all.must_equal [{:id=>1, :value=>2}]
|
1984
|
+
end
|
1985
|
+
|
1986
|
+
it "should create a record if the condition is not met" do
|
1987
|
+
@d.replace(:id => 111, :value => 333)
|
1988
|
+
@d.all.must_equal [{:id => 111, :value => 333}]
|
1989
|
+
end
|
1990
|
+
|
1991
|
+
it "should update a record if the condition is met" do
|
1992
|
+
@d.insert(:id => 111)
|
1993
|
+
@d.all.must_equal [{:id => 111, :value => nil}]
|
1994
|
+
@d.replace(:id => 111, :value => 333)
|
1995
|
+
@d.all.must_equal [{:id => 111, :value => 333}]
|
1996
|
+
end
|
1997
|
+
end if DB.dataset.supports_replace?
|