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,2423 @@
|
|
1
|
+
require_relative "spec_helper"
|
2
|
+
|
3
|
+
describe "Class Table Inheritance Plugin" do
|
4
|
+
before(:all) do
|
5
|
+
@db = DB
|
6
|
+
@db.instance_variable_get(:@schemas).clear
|
7
|
+
@db.drop_table?(:staff, :executives, :managers, :employees)
|
8
|
+
@db.create_table(:employees) do
|
9
|
+
primary_key :id
|
10
|
+
String :name
|
11
|
+
String :kind
|
12
|
+
end
|
13
|
+
@db.create_table(:managers) do
|
14
|
+
foreign_key :id, :employees, :primary_key=>true
|
15
|
+
Integer :num_staff
|
16
|
+
end
|
17
|
+
@db.create_table(:executives) do
|
18
|
+
foreign_key :id, :managers, :primary_key=>true
|
19
|
+
Integer :num_managers
|
20
|
+
end
|
21
|
+
@db.create_table(:staff) do
|
22
|
+
foreign_key :id, :employees, :primary_key=>true
|
23
|
+
foreign_key :manager_id, :managers
|
24
|
+
end
|
25
|
+
end
|
26
|
+
before do
|
27
|
+
[:staff, :executives, :managers, :employees].each{|t| @db[t].delete}
|
28
|
+
class ::Employee < Sequel::Model(@db)
|
29
|
+
plugin :class_table_inheritance, :key=>:kind, :table_map=>{:Staff=>:staff}
|
30
|
+
end
|
31
|
+
class ::Manager < Employee
|
32
|
+
one_to_many :staff_members, :class=>:Staff
|
33
|
+
one_to_one :first_staff_member, :clone=>:staff_members, :order=>:id
|
34
|
+
end
|
35
|
+
class ::Executive < Manager
|
36
|
+
end
|
37
|
+
class ::Ceo < Executive
|
38
|
+
end
|
39
|
+
class ::Staff < Employee
|
40
|
+
many_to_one :manager
|
41
|
+
end
|
42
|
+
class ::Intern < Employee
|
43
|
+
end
|
44
|
+
|
45
|
+
@i1 = @db[:employees].insert(:name=>'E', :kind=>'Employee')
|
46
|
+
@i2 = @db[:employees].insert(:name=>'S', :kind=>'Staff')
|
47
|
+
@i3 = @db[:employees].insert(:name=>'M', :kind=>'Manager')
|
48
|
+
@db[:managers].insert(:id=>@i3, :num_staff=>7)
|
49
|
+
@i4 = @db[:employees].insert(:name=>'Ex', :kind=>'Executive')
|
50
|
+
@db[:managers].insert(:id=>@i4, :num_staff=>5)
|
51
|
+
@db[:executives].insert(:id=>@i4, :num_managers=>6)
|
52
|
+
@i5 = @db[:employees].insert(:name=>'C', :kind=>'Ceo')
|
53
|
+
@db[:managers].insert(:id=>@i5, :num_staff=>2)
|
54
|
+
@db[:executives].insert(:id=>@i5, :num_managers=>1)
|
55
|
+
@db[:staff].insert(:id=>@i2, :manager_id=>@i4)
|
56
|
+
@i6 = @db[:employees].insert(:name=>'I', :kind=>'Intern')
|
57
|
+
end
|
58
|
+
after do
|
59
|
+
[:Intern, :Ceo, :Executive, :Manager, :Staff, :Employee].each{|s| Object.send(:remove_const, s)}
|
60
|
+
end
|
61
|
+
after(:all) do
|
62
|
+
@db.drop_table? :staff, :executives, :managers, :employees
|
63
|
+
end
|
64
|
+
|
65
|
+
it "should return rows as subclass instances" do
|
66
|
+
Employee.order(:id).all.must_equal [
|
67
|
+
Employee.load(:id=>@i1, :name=>'E', :kind=>'Employee'),
|
68
|
+
Staff.load(:id=>@i2, :name=>'S', :kind=>'Staff'),
|
69
|
+
Manager.load(:id=>@i3, :name=>'M', :kind=>'Manager'),
|
70
|
+
Executive.load(:id=>@i4, :name=>'Ex', :kind=>'Executive'),
|
71
|
+
Ceo.load(:id=>@i5, :name=>'C', :kind=>'Ceo'),
|
72
|
+
Intern.load(:id=>@i6, :name=>'I', :kind=>'Intern'),
|
73
|
+
]
|
74
|
+
end
|
75
|
+
|
76
|
+
it "should lazily load columns in subclass tables" do
|
77
|
+
Employee[@i2][:manager_id].must_be_nil
|
78
|
+
Employee[@i2].manager_id.must_equal @i4
|
79
|
+
Employee[@i3][:num_staff].must_be_nil
|
80
|
+
Employee[@i3].num_staff.must_equal 7
|
81
|
+
Employee[@i4][:num_staff].must_be_nil
|
82
|
+
Employee[@i4].num_staff.must_equal 5
|
83
|
+
Employee[@i4][:num_managers].must_be_nil
|
84
|
+
Employee[@i4].num_managers.must_equal 6
|
85
|
+
Employee[@i5][:num_managers].must_be_nil
|
86
|
+
Employee[@i5].num_managers.must_equal 1
|
87
|
+
end
|
88
|
+
|
89
|
+
it "should eagerly load columns in subclass tables when retrieving multiple objects" do
|
90
|
+
a = Employee.order(:id).all
|
91
|
+
a[1][:manager_id].must_be_nil
|
92
|
+
a[1].manager_id.must_equal @i4
|
93
|
+
a[2][:num_staff].must_be_nil
|
94
|
+
a[2].num_staff.must_equal 7
|
95
|
+
a[3][:num_staff].must_equal 5 # eagerly loaded by previous call
|
96
|
+
a[3].num_staff.must_equal 5
|
97
|
+
a[3][:num_managers].must_be_nil
|
98
|
+
a[3].num_managers.must_equal 6
|
99
|
+
a[4][:num_managers].must_equal 1
|
100
|
+
a[4].num_managers.must_equal 1
|
101
|
+
end
|
102
|
+
|
103
|
+
it "should include schema for columns for tables for ancestor classes" do
|
104
|
+
Employee.db_schema.keys.sort_by{|x| x.to_s}.must_equal [:id, :kind, :name]
|
105
|
+
Staff.db_schema.keys.sort_by{|x| x.to_s}.must_equal [:id, :kind, :manager_id, :name]
|
106
|
+
Manager.db_schema.keys.sort_by{|x| x.to_s}.must_equal [:id, :kind, :name, :num_staff]
|
107
|
+
Executive.db_schema.keys.sort_by{|x| x.to_s}.must_equal [:id, :kind, :name, :num_managers, :num_staff]
|
108
|
+
Ceo.db_schema.keys.sort_by{|x| x.to_s}.must_equal [:id, :kind, :name, :num_managers, :num_staff]
|
109
|
+
Intern.db_schema.keys.sort_by{|x| x.to_s}.must_equal [:id, :kind, :name]
|
110
|
+
end
|
111
|
+
|
112
|
+
it "should include columns for tables for ancestor classes" do
|
113
|
+
Employee.columns.must_equal [:id, :name, :kind]
|
114
|
+
Staff.columns.must_equal [:id, :name, :kind, :manager_id]
|
115
|
+
Manager.columns.must_equal [:id, :name, :kind, :num_staff]
|
116
|
+
Executive.columns.must_equal [:id, :name, :kind, :num_staff, :num_managers]
|
117
|
+
Ceo.columns.must_equal [:id, :name, :kind, :num_staff, :num_managers]
|
118
|
+
Intern.columns.must_equal [:id, :name, :kind]
|
119
|
+
end
|
120
|
+
|
121
|
+
it "should delete rows from all tables" do
|
122
|
+
e = Ceo.first
|
123
|
+
i = e.id
|
124
|
+
e.staff_members_dataset.destroy
|
125
|
+
e.destroy
|
126
|
+
@db[:executives][:id=>i].must_be_nil
|
127
|
+
@db[:managers][:id=>i].must_be_nil
|
128
|
+
@db[:employees][:id=>i].must_be_nil
|
129
|
+
end
|
130
|
+
|
131
|
+
it "should handle associations only defined in subclasses" do
|
132
|
+
Employee.filter(Sequel[:employees][:id]=>@i2).all.first.manager.id.must_equal @i4
|
133
|
+
end
|
134
|
+
|
135
|
+
it "should insert rows into all tables" do
|
136
|
+
e = Ceo.create(:name=>'Ex2', :num_managers=>8, :num_staff=>9)
|
137
|
+
i = e.id
|
138
|
+
@db[:employees][:id=>i].must_equal(:id=>i, :name=>'Ex2', :kind=>'Ceo')
|
139
|
+
@db[:managers][:id=>i].must_equal(:id=>i, :num_staff=>9)
|
140
|
+
@db[:executives][:id=>i].must_equal(:id=>i, :num_managers=>8)
|
141
|
+
end
|
142
|
+
|
143
|
+
it "should update rows in all tables" do
|
144
|
+
Executive[:id=>@i4].update(:name=>'Ex2', :num_managers=>8, :num_staff=>9)
|
145
|
+
@db[:employees][:id=>@i4].must_equal(:id=>@i4, :name=>'Ex2', :kind=>'Executive')
|
146
|
+
@db[:managers][:id=>@i4].must_equal(:id=>@i4, :num_staff=>9)
|
147
|
+
@db[:executives][:id=>@i4].must_equal(:id=>@i4, :num_managers=>8)
|
148
|
+
end
|
149
|
+
|
150
|
+
it "should handle many_to_one relationships" do
|
151
|
+
m = Staff.first.manager
|
152
|
+
m.must_equal Manager[@i4]
|
153
|
+
m.must_be_kind_of(Executive)
|
154
|
+
Staff.first.update(:manager => Manager[@i3])
|
155
|
+
Staff.first.manager.must_equal Manager[@i3]
|
156
|
+
end
|
157
|
+
|
158
|
+
it "should handle eagerly loading many_to_one relationships" do
|
159
|
+
Staff.limit(1).eager(:manager).all.map{|x| x.manager}.must_equal [Manager[@i4]]
|
160
|
+
end
|
161
|
+
|
162
|
+
it "should handle eagerly graphing many_to_one relationships" do
|
163
|
+
ss = Staff.eager_graph(:manager).all
|
164
|
+
ss.must_equal [Staff[@i2]]
|
165
|
+
ss.map{|x| x.manager}.must_equal [Manager[@i4]]
|
166
|
+
end
|
167
|
+
|
168
|
+
it "should handle one_to_many relationships" do
|
169
|
+
Executive.first(:name=>'Ex').staff_members.must_equal [Staff[@i2]]
|
170
|
+
i6 = @db[:employees].insert(:name=>'S2', :kind=>'Staff')
|
171
|
+
@db[:staff].insert(:id=>i6, :manager_id=>@i4)
|
172
|
+
Executive.first(:name=>'Ex').add_staff_member(i6)
|
173
|
+
Executive.first(:name=>'Ex').staff_members{|ds| ds.order(:id)}.must_equal [Staff[@i2], Staff[i6]]
|
174
|
+
end
|
175
|
+
|
176
|
+
it "should handle one_to_many relationships" do
|
177
|
+
Executive.first(:name=>'Ex').first_staff_member.must_equal Staff[@i2]
|
178
|
+
i6 = @db[:employees].insert(:name=>'S2', :kind=>'Staff')
|
179
|
+
@db[:staff].insert(:id=>i6, :manager_id=>@i4)
|
180
|
+
Executive.first(:name=>'Ex').first_staff_member = Staff[i6]
|
181
|
+
Executive.first(:name=>'Ex').staff_members.must_equal [Staff[i6]]
|
182
|
+
end
|
183
|
+
|
184
|
+
it "should handle eagerly loading one_to_many relationships" do
|
185
|
+
Executive.where(:name=>'Ex').eager(:staff_members).first.staff_members.must_equal [Staff[@i2]]
|
186
|
+
end
|
187
|
+
|
188
|
+
it "should handle eagerly graphing one_to_many relationships" do
|
189
|
+
es = Executive.where(Sequel[:employees][:name]=>'Ex').eager_graph(:staff_members).all
|
190
|
+
es.must_equal [Executive[@i4]]
|
191
|
+
es.map{|x| x.staff_members}.must_equal [[Staff[@i2]]]
|
192
|
+
end
|
193
|
+
end
|
194
|
+
|
195
|
+
describe "Many Through Many Plugin" do
|
196
|
+
before(:all) do
|
197
|
+
@db = DB
|
198
|
+
@db.instance_variable_get(:@schemas).clear
|
199
|
+
@db.drop_table?(:albums_artists, :albums, :artists)
|
200
|
+
@db.create_table(:albums) do
|
201
|
+
primary_key :id
|
202
|
+
String :name
|
203
|
+
end
|
204
|
+
@db.create_table(:artists) do
|
205
|
+
primary_key :id
|
206
|
+
String :name
|
207
|
+
end
|
208
|
+
@db.create_table(:albums_artists) do
|
209
|
+
foreign_key :album_id, :albums
|
210
|
+
foreign_key :artist_id, :artists
|
211
|
+
end
|
212
|
+
end
|
213
|
+
before do
|
214
|
+
[:albums_artists, :albums, :artists].each{|t| @db[t].delete}
|
215
|
+
class ::Album < Sequel::Model(@db)
|
216
|
+
many_to_many :artists
|
217
|
+
end
|
218
|
+
class ::Artist < Sequel::Model(@db)
|
219
|
+
plugin :many_through_many
|
220
|
+
end
|
221
|
+
|
222
|
+
@artist1 = Artist.create(:name=>'1')
|
223
|
+
@artist2 = Artist.create(:name=>'2')
|
224
|
+
@artist3 = Artist.create(:name=>'3')
|
225
|
+
@artist4 = Artist.create(:name=>'4')
|
226
|
+
@album1 = Album.create(:name=>'A')
|
227
|
+
@album1.add_artist(@artist1)
|
228
|
+
@album1.add_artist(@artist2)
|
229
|
+
@album2 = Album.create(:name=>'B')
|
230
|
+
@album2.add_artist(@artist3)
|
231
|
+
@album2.add_artist(@artist4)
|
232
|
+
@album3 = Album.create(:name=>'C')
|
233
|
+
@album3.add_artist(@artist2)
|
234
|
+
@album3.add_artist(@artist3)
|
235
|
+
@album4 = Album.create(:name=>'D')
|
236
|
+
@album4.add_artist(@artist1)
|
237
|
+
@album4.add_artist(@artist4)
|
238
|
+
end
|
239
|
+
after do
|
240
|
+
[:Album, :Artist].each{|s| Object.send(:remove_const, s)}
|
241
|
+
end
|
242
|
+
after(:all) do
|
243
|
+
@db.drop_table? :albums_artists, :albums, :artists
|
244
|
+
end
|
245
|
+
def around
|
246
|
+
DB.transaction(:rollback=>:always){super}
|
247
|
+
end
|
248
|
+
|
249
|
+
def self_join(c)
|
250
|
+
c.join(Sequel.as(c.table_name, :b), Array(c.primary_key).zip(Array(c.primary_key))).select_all(c.table_name)
|
251
|
+
end
|
252
|
+
|
253
|
+
it "should handle super simple case with 1 join table" do
|
254
|
+
Artist.many_through_many :albums, [[:albums_artists, :artist_id, :album_id]]
|
255
|
+
Artist[@artist1.id].albums.map{|x| x.name}.sort.must_equal %w'A D'
|
256
|
+
Artist[@artist2.id].albums.map{|x| x.name}.sort.must_equal %w'A C'
|
257
|
+
Artist[@artist3.id].albums.map{|x| x.name}.sort.must_equal %w'B C'
|
258
|
+
Artist[@artist4.id].albums.map{|x| x.name}.sort.must_equal %w'B D'
|
259
|
+
|
260
|
+
Artist[@artist1.id].albums.map{|x| x.name}.sort.must_equal %w'A D'
|
261
|
+
Artist[@artist2.id].albums.map{|x| x.name}.sort.must_equal %w'A C'
|
262
|
+
Artist[@artist3.id].albums.map{|x| x.name}.sort.must_equal %w'B C'
|
263
|
+
Artist[@artist4.id].albums.map{|x| x.name}.sort.must_equal %w'B D'
|
264
|
+
|
265
|
+
Artist.filter(:id=>@artist1.id).eager(:albums).all.map{|x| x.albums.map{|a| a.name}}.flatten.sort.must_equal %w'A D'
|
266
|
+
Artist.filter(:id=>@artist2.id).eager(:albums).all.map{|x| x.albums.map{|a| a.name}}.flatten.sort.must_equal %w'A C'
|
267
|
+
Artist.filter(:id=>@artist3.id).eager(:albums).all.map{|x| x.albums.map{|a| a.name}}.flatten.sort.must_equal %w'B C'
|
268
|
+
Artist.filter(:id=>@artist4.id).eager(:albums).all.map{|x| x.albums.map{|a| a.name}}.flatten.sort.must_equal %w'B D'
|
269
|
+
|
270
|
+
Artist.filter(Sequel[:artists][:id]=>@artist1.id).eager_graph(:albums).all.map{|x| x.albums.map{|a| a.name}}.flatten.sort.must_equal %w'A D'
|
271
|
+
Artist.filter(Sequel[:artists][:id]=>@artist2.id).eager_graph(:albums).all.map{|x| x.albums.map{|a| a.name}}.flatten.sort.must_equal %w'A C'
|
272
|
+
Artist.filter(Sequel[:artists][:id]=>@artist3.id).eager_graph(:albums).all.map{|x| x.albums.map{|a| a.name}}.flatten.sort.must_equal %w'B C'
|
273
|
+
Artist.filter(Sequel[:artists][:id]=>@artist4.id).eager_graph(:albums).all.map{|x| x.albums.map{|a| a.name}}.flatten.sort.must_equal %w'B D'
|
274
|
+
|
275
|
+
Artist.filter(:albums=>@album1).all.map{|a| a.name}.sort.must_equal %w'1 2'
|
276
|
+
Artist.filter(:albums=>@album2).all.map{|a| a.name}.sort.must_equal %w'3 4'
|
277
|
+
Artist.filter(:albums=>@album3).all.map{|a| a.name}.sort.must_equal %w'2 3'
|
278
|
+
Artist.filter(:albums=>@album4).all.map{|a| a.name}.sort.must_equal %w'1 4'
|
279
|
+
|
280
|
+
Artist.exclude(:albums=>@album1).all.map{|a| a.name}.sort.must_equal %w'3 4'
|
281
|
+
Artist.exclude(:albums=>@album2).all.map{|a| a.name}.sort.must_equal %w'1 2'
|
282
|
+
Artist.exclude(:albums=>@album3).all.map{|a| a.name}.sort.must_equal %w'1 4'
|
283
|
+
Artist.exclude(:albums=>@album4).all.map{|a| a.name}.sort.must_equal %w'2 3'
|
284
|
+
|
285
|
+
Artist.filter(:albums=>[@album1, @album3]).all.map{|a| a.name}.sort.must_equal %w'1 2 3'
|
286
|
+
Artist.filter(:albums=>[@album2, @album4]).all.map{|a| a.name}.sort.must_equal %w'1 3 4'
|
287
|
+
|
288
|
+
Artist.exclude(:albums=>[@album1, @album3]).all.map{|a| a.name}.sort.must_equal %w'4'
|
289
|
+
Artist.exclude(:albums=>[@album2, @album4]).all.map{|a| a.name}.sort.must_equal %w'2'
|
290
|
+
|
291
|
+
Artist.filter(:albums=>Album.filter(:id=>[@album1.id, @album3.id])).all.map{|a| a.name}.sort.must_equal %w'1 2 3'
|
292
|
+
Artist.exclude(:albums=>Album.filter(:id=>[@album1.id, @album3.id])).all.map{|a| a.name}.sort.must_equal %w'4'
|
293
|
+
|
294
|
+
c = self_join(Artist)
|
295
|
+
c.filter(:albums=>@album1).all.map{|a| a.name}.sort.must_equal %w'1 2'
|
296
|
+
c.filter(:albums=>@album2).all.map{|a| a.name}.sort.must_equal %w'3 4'
|
297
|
+
c.filter(:albums=>@album3).all.map{|a| a.name}.sort.must_equal %w'2 3'
|
298
|
+
c.filter(:albums=>@album4).all.map{|a| a.name}.sort.must_equal %w'1 4'
|
299
|
+
|
300
|
+
c.exclude(:albums=>@album1).all.map{|a| a.name}.sort.must_equal %w'3 4'
|
301
|
+
c.exclude(:albums=>@album2).all.map{|a| a.name}.sort.must_equal %w'1 2'
|
302
|
+
c.exclude(:albums=>@album3).all.map{|a| a.name}.sort.must_equal %w'1 4'
|
303
|
+
c.exclude(:albums=>@album4).all.map{|a| a.name}.sort.must_equal %w'2 3'
|
304
|
+
|
305
|
+
c.filter(:albums=>[@album1, @album3]).all.map{|a| a.name}.sort.must_equal %w'1 2 3'
|
306
|
+
c.filter(:albums=>[@album2, @album4]).all.map{|a| a.name}.sort.must_equal %w'1 3 4'
|
307
|
+
|
308
|
+
c.exclude(:albums=>[@album1, @album3]).all.map{|a| a.name}.sort.must_equal %w'4'
|
309
|
+
c.exclude(:albums=>[@album2, @album4]).all.map{|a| a.name}.sort.must_equal %w'2'
|
310
|
+
|
311
|
+
c.filter(:albums=>self_join(Album).filter(Sequel[:albums][:id]=>[@album1.id, @album3.id])).all.map{|a| a.name}.sort.must_equal %w'1 2 3'
|
312
|
+
c.exclude(:albums=>self_join(Album).filter(Sequel[:albums][:id]=>[@album1.id, @album3.id])).all.map{|a| a.name}.sort.must_equal %w'4'
|
313
|
+
end
|
314
|
+
|
315
|
+
it "should handle typical case with 3 join tables" do
|
316
|
+
Artist.many_through_many :related_artists, [[:albums_artists, :artist_id, :album_id], [:albums, :id, :id], [:albums_artists, :album_id, :artist_id]], :class=>Artist, :distinct=>true, :delay_pks=>false
|
317
|
+
Artist[@artist1.id].related_artists.map{|x| x.name}.sort.must_equal %w'1 2 4'
|
318
|
+
Artist[@artist2.id].related_artists.map{|x| x.name}.sort.must_equal %w'1 2 3'
|
319
|
+
Artist[@artist3.id].related_artists.map{|x| x.name}.sort.must_equal %w'2 3 4'
|
320
|
+
Artist[@artist4.id].related_artists.map{|x| x.name}.sort.must_equal %w'1 3 4'
|
321
|
+
|
322
|
+
Artist[@artist1.id].related_artists.map{|x| x.name}.sort.must_equal %w'1 2 4'
|
323
|
+
Artist[@artist2.id].related_artists.map{|x| x.name}.sort.must_equal %w'1 2 3'
|
324
|
+
Artist[@artist3.id].related_artists.map{|x| x.name}.sort.must_equal %w'2 3 4'
|
325
|
+
Artist[@artist4.id].related_artists.map{|x| x.name}.sort.must_equal %w'1 3 4'
|
326
|
+
|
327
|
+
Artist.filter(:id=>@artist1.id).eager(:related_artists).all.map{|x| x.related_artists.map{|a| a.name}}.flatten.sort.must_equal %w'1 2 4'
|
328
|
+
Artist.filter(:id=>@artist2.id).eager(:related_artists).all.map{|x| x.related_artists.map{|a| a.name}}.flatten.sort.must_equal %w'1 2 3'
|
329
|
+
Artist.filter(:id=>@artist3.id).eager(:related_artists).all.map{|x| x.related_artists.map{|a| a.name}}.flatten.sort.must_equal %w'2 3 4'
|
330
|
+
Artist.filter(:id=>@artist4.id).eager(:related_artists).all.map{|x| x.related_artists.map{|a| a.name}}.flatten.sort.must_equal %w'1 3 4'
|
331
|
+
|
332
|
+
Artist.filter(Sequel[:artists][:id]=>@artist1.id).eager_graph(:related_artists).all.map{|x| x.related_artists.map{|a| a.name}}.flatten.sort.must_equal %w'1 2 4'
|
333
|
+
Artist.filter(Sequel[:artists][:id]=>@artist2.id).eager_graph(:related_artists).all.map{|x| x.related_artists.map{|a| a.name}}.flatten.sort.must_equal %w'1 2 3'
|
334
|
+
Artist.filter(Sequel[:artists][:id]=>@artist3.id).eager_graph(:related_artists).all.map{|x| x.related_artists.map{|a| a.name}}.flatten.sort.must_equal %w'2 3 4'
|
335
|
+
Artist.filter(Sequel[:artists][:id]=>@artist4.id).eager_graph(:related_artists).all.map{|x| x.related_artists.map{|a| a.name}}.flatten.sort.must_equal %w'1 3 4'
|
336
|
+
|
337
|
+
Artist.filter(:related_artists=>@artist1).all.map{|a| a.name}.sort.must_equal %w'1 2 4'
|
338
|
+
Artist.filter(:related_artists=>@artist2).all.map{|a| a.name}.sort.must_equal %w'1 2 3'
|
339
|
+
Artist.filter(:related_artists=>@artist3).all.map{|a| a.name}.sort.must_equal %w'2 3 4'
|
340
|
+
Artist.filter(:related_artists=>@artist4).all.map{|a| a.name}.sort.must_equal %w'1 3 4'
|
341
|
+
|
342
|
+
Artist.exclude(:related_artists=>@artist1).all.map{|a| a.name}.sort.must_equal %w'3'
|
343
|
+
Artist.exclude(:related_artists=>@artist2).all.map{|a| a.name}.sort.must_equal %w'4'
|
344
|
+
Artist.exclude(:related_artists=>@artist3).all.map{|a| a.name}.sort.must_equal %w'1'
|
345
|
+
Artist.exclude(:related_artists=>@artist4).all.map{|a| a.name}.sort.must_equal %w'2'
|
346
|
+
|
347
|
+
Artist.filter(:related_artists=>[@artist1, @artist4]).all.map{|a| a.name}.sort.must_equal %w'1 2 3 4'
|
348
|
+
Artist.exclude(:related_artists=>[@artist1, @artist4]).all.map{|a| a.name}.sort.must_equal %w''
|
349
|
+
|
350
|
+
Artist.filter(:related_artists=>Artist.filter(:id=>@artist1.id)).all.map{|a| a.name}.sort.must_equal %w'1 2 4'
|
351
|
+
Artist.exclude(:related_artists=>Artist.filter(:id=>@artist1.id)).all.map{|a| a.name}.sort.must_equal %w'3'
|
352
|
+
|
353
|
+
c = self_join(Artist)
|
354
|
+
c.filter(:related_artists=>@artist1).all.map{|a| a.name}.sort.must_equal %w'1 2 4'
|
355
|
+
c.filter(:related_artists=>@artist2).all.map{|a| a.name}.sort.must_equal %w'1 2 3'
|
356
|
+
c.filter(:related_artists=>@artist3).all.map{|a| a.name}.sort.must_equal %w'2 3 4'
|
357
|
+
c.filter(:related_artists=>@artist4).all.map{|a| a.name}.sort.must_equal %w'1 3 4'
|
358
|
+
|
359
|
+
c.exclude(:related_artists=>@artist1).all.map{|a| a.name}.sort.must_equal %w'3'
|
360
|
+
c.exclude(:related_artists=>@artist2).all.map{|a| a.name}.sort.must_equal %w'4'
|
361
|
+
c.exclude(:related_artists=>@artist3).all.map{|a| a.name}.sort.must_equal %w'1'
|
362
|
+
c.exclude(:related_artists=>@artist4).all.map{|a| a.name}.sort.must_equal %w'2'
|
363
|
+
|
364
|
+
c.filter(:related_artists=>[@artist1, @artist4]).all.map{|a| a.name}.sort.must_equal %w'1 2 3 4'
|
365
|
+
c.exclude(:related_artists=>[@artist1, @artist4]).all.map{|a| a.name}.sort.must_equal %w''
|
366
|
+
|
367
|
+
c.filter(:related_artists=>c.filter(Sequel[:artists][:id]=>@artist1.id)).all.map{|a| a.name}.sort.must_equal %w'1 2 4'
|
368
|
+
c.exclude(:related_artists=>c.filter(Sequel[:artists][:id]=>@artist1.id)).all.map{|a| a.name}.sort.must_equal %w'3'
|
369
|
+
end
|
370
|
+
|
371
|
+
it "should handle extreme case with 5 join tables" do
|
372
|
+
Artist.many_through_many :related_albums, [[:albums_artists, :artist_id, :album_id], [:albums, :id, :id], [:albums_artists, :album_id, :artist_id], [:artists, :id, :id], [:albums_artists, :artist_id, :album_id]], :class=>Album, :distinct=>true
|
373
|
+
@db[:albums_artists].delete
|
374
|
+
@album1.add_artist(@artist1)
|
375
|
+
@album1.add_artist(@artist2)
|
376
|
+
@album2.add_artist(@artist2)
|
377
|
+
@album2.add_artist(@artist3)
|
378
|
+
@album3.add_artist(@artist1)
|
379
|
+
@album4.add_artist(@artist3)
|
380
|
+
@album4.add_artist(@artist4)
|
381
|
+
|
382
|
+
Artist[@artist1.id].related_albums.map{|x| x.name}.sort.must_equal %w'A B C'
|
383
|
+
Artist[@artist2.id].related_albums.map{|x| x.name}.sort.must_equal %w'A B C D'
|
384
|
+
Artist[@artist3.id].related_albums.map{|x| x.name}.sort.must_equal %w'A B D'
|
385
|
+
Artist[@artist4.id].related_albums.map{|x| x.name}.sort.must_equal %w'B D'
|
386
|
+
|
387
|
+
Artist[@artist1.id].related_albums.map{|x| x.name}.sort.must_equal %w'A B C'
|
388
|
+
Artist[@artist2.id].related_albums.map{|x| x.name}.sort.must_equal %w'A B C D'
|
389
|
+
Artist[@artist3.id].related_albums.map{|x| x.name}.sort.must_equal %w'A B D'
|
390
|
+
Artist[@artist4.id].related_albums.map{|x| x.name}.sort.must_equal %w'B D'
|
391
|
+
|
392
|
+
Artist.filter(:id=>@artist1.id).eager(:related_albums).all.map{|x| x.related_albums.map{|a| a.name}}.flatten.sort.must_equal %w'A B C'
|
393
|
+
Artist.filter(:id=>@artist2.id).eager(:related_albums).all.map{|x| x.related_albums.map{|a| a.name}}.flatten.sort.must_equal %w'A B C D'
|
394
|
+
Artist.filter(:id=>@artist3.id).eager(:related_albums).all.map{|x| x.related_albums.map{|a| a.name}}.flatten.sort.must_equal %w'A B D'
|
395
|
+
Artist.filter(:id=>@artist4.id).eager(:related_albums).all.map{|x| x.related_albums.map{|a| a.name}}.flatten.sort.must_equal %w'B D'
|
396
|
+
|
397
|
+
Artist.filter(Sequel[:artists][:id]=>@artist1.id).eager_graph(:related_albums).all.map{|x| x.related_albums.map{|a| a.name}}.flatten.sort.must_equal %w'A B C'
|
398
|
+
Artist.filter(Sequel[:artists][:id]=>@artist2.id).eager_graph(:related_albums).all.map{|x| x.related_albums.map{|a| a.name}}.flatten.sort.must_equal %w'A B C D'
|
399
|
+
Artist.filter(Sequel[:artists][:id]=>@artist3.id).eager_graph(:related_albums).all.map{|x| x.related_albums.map{|a| a.name}}.flatten.sort.must_equal %w'A B D'
|
400
|
+
Artist.filter(Sequel[:artists][:id]=>@artist4.id).eager_graph(:related_albums).all.map{|x| x.related_albums.map{|a| a.name}}.flatten.sort.must_equal %w'B D'
|
401
|
+
|
402
|
+
Artist.filter(:related_albums=>@album1).all.map{|a| a.name}.sort.must_equal %w'1 2 3'
|
403
|
+
Artist.filter(:related_albums=>@album2).all.map{|a| a.name}.sort.must_equal %w'1 2 3 4'
|
404
|
+
Artist.filter(:related_albums=>@album3).all.map{|a| a.name}.sort.must_equal %w'1 2'
|
405
|
+
Artist.filter(:related_albums=>@album4).all.map{|a| a.name}.sort.must_equal %w'2 3 4'
|
406
|
+
|
407
|
+
Artist.exclude(:related_albums=>@album1).all.map{|a| a.name}.sort.must_equal %w'4'
|
408
|
+
Artist.exclude(:related_albums=>@album2).all.map{|a| a.name}.sort.must_equal %w''
|
409
|
+
Artist.exclude(:related_albums=>@album3).all.map{|a| a.name}.sort.must_equal %w'3 4'
|
410
|
+
Artist.exclude(:related_albums=>@album4).all.map{|a| a.name}.sort.must_equal %w'1'
|
411
|
+
|
412
|
+
Artist.filter(:related_albums=>[@album1, @album3]).all.map{|a| a.name}.sort.must_equal %w'1 2 3'
|
413
|
+
Artist.filter(:related_albums=>[@album3, @album4]).all.map{|a| a.name}.sort.must_equal %w'1 2 3 4'
|
414
|
+
|
415
|
+
Artist.exclude(:related_albums=>[@album1, @album3]).all.map{|a| a.name}.sort.must_equal %w'4'
|
416
|
+
Artist.exclude(:related_albums=>[@album2, @album4]).all.map{|a| a.name}.sort.must_equal %w''
|
417
|
+
|
418
|
+
Artist.filter(:related_albums=>Album.filter(:id=>[@album1.id, @album3.id])).all.map{|a| a.name}.sort.must_equal %w'1 2 3'
|
419
|
+
Artist.exclude(:related_albums=>Album.filter(:id=>[@album1.id, @album3.id])).all.map{|a| a.name}.sort.must_equal %w'4'
|
420
|
+
|
421
|
+
c = self_join(Artist)
|
422
|
+
c.filter(:related_albums=>@album1).all.map{|a| a.name}.sort.must_equal %w'1 2 3'
|
423
|
+
c.filter(:related_albums=>@album2).all.map{|a| a.name}.sort.must_equal %w'1 2 3 4'
|
424
|
+
c.filter(:related_albums=>@album3).all.map{|a| a.name}.sort.must_equal %w'1 2'
|
425
|
+
c.filter(:related_albums=>@album4).all.map{|a| a.name}.sort.must_equal %w'2 3 4'
|
426
|
+
|
427
|
+
c.exclude(:related_albums=>@album1).all.map{|a| a.name}.sort.must_equal %w'4'
|
428
|
+
c.exclude(:related_albums=>@album2).all.map{|a| a.name}.sort.must_equal %w''
|
429
|
+
c.exclude(:related_albums=>@album3).all.map{|a| a.name}.sort.must_equal %w'3 4'
|
430
|
+
c.exclude(:related_albums=>@album4).all.map{|a| a.name}.sort.must_equal %w'1'
|
431
|
+
|
432
|
+
c.filter(:related_albums=>[@album1, @album3]).all.map{|a| a.name}.sort.must_equal %w'1 2 3'
|
433
|
+
c.filter(:related_albums=>[@album3, @album4]).all.map{|a| a.name}.sort.must_equal %w'1 2 3 4'
|
434
|
+
|
435
|
+
c.exclude(:related_albums=>[@album1, @album3]).all.map{|a| a.name}.sort.must_equal %w'4'
|
436
|
+
c.exclude(:related_albums=>[@album2, @album4]).all.map{|a| a.name}.sort.must_equal %w''
|
437
|
+
|
438
|
+
c.filter(:related_albums=>self_join(Album).filter(Sequel[:albums][:id]=>[@album1.id, @album3.id])).all.map{|a| a.name}.sort.must_equal %w'1 2 3'
|
439
|
+
c.exclude(:related_albums=>self_join(Album).filter(Sequel[:albums][:id]=>[@album1.id, @album3.id])).all.map{|a| a.name}.sort.must_equal %w'4'
|
440
|
+
end
|
441
|
+
end
|
442
|
+
|
443
|
+
describe "Lazy Attributes plugin" do
|
444
|
+
before(:all) do
|
445
|
+
@db = DB
|
446
|
+
@db.create_table!(:items) do
|
447
|
+
primary_key :id
|
448
|
+
String :name
|
449
|
+
Integer :num
|
450
|
+
end
|
451
|
+
@db[:items].delete
|
452
|
+
class ::Item < Sequel::Model(@db)
|
453
|
+
plugin :lazy_attributes, :num
|
454
|
+
end
|
455
|
+
Item.create(:name=>'J', :num=>1)
|
456
|
+
end
|
457
|
+
after(:all) do
|
458
|
+
@db.drop_table?(:items)
|
459
|
+
Object.send(:remove_const, :Item)
|
460
|
+
end
|
461
|
+
|
462
|
+
it "should not include lazy attribute columns by default" do
|
463
|
+
Item.first.must_equal Item.load(:id=>1, :name=>'J')
|
464
|
+
end
|
465
|
+
|
466
|
+
it "should load lazy attribute on access" do
|
467
|
+
Item.first.num.must_equal 1
|
468
|
+
end
|
469
|
+
|
470
|
+
it "should typecast lazy attribute in setter" do
|
471
|
+
i = Item.new
|
472
|
+
i.num = '1'
|
473
|
+
i.num.must_equal 1
|
474
|
+
end
|
475
|
+
|
476
|
+
it "should load lazy attribute for all items returned when accessing any item if using identity map " do
|
477
|
+
Item.create(:name=>'K', :num=>2)
|
478
|
+
a = Item.order(:name).all
|
479
|
+
a.must_equal [Item.load(:id=>1, :name=>'J'), Item.load(:id=>2, :name=>'K')]
|
480
|
+
a.map{|x| x[:num]}.must_equal [nil, nil]
|
481
|
+
a.first.num.must_equal 1
|
482
|
+
a.map{|x| x[:num]}.must_equal [1, 2]
|
483
|
+
a.last.num.must_equal 2
|
484
|
+
end
|
485
|
+
end
|
486
|
+
|
487
|
+
describe "Tactical Eager Loading Plugin" do
|
488
|
+
before(:all) do
|
489
|
+
@db = DB
|
490
|
+
@db.instance_variable_get(:@schemas).clear
|
491
|
+
@db.drop_table?(:albums_artists)
|
492
|
+
@db.create_table!(:artists) do
|
493
|
+
primary_key :id
|
494
|
+
String :name
|
495
|
+
end
|
496
|
+
@db.create_table!(:albums) do
|
497
|
+
primary_key :id
|
498
|
+
String :name
|
499
|
+
foreign_key :artist_id, :artists
|
500
|
+
end
|
501
|
+
end
|
502
|
+
before do
|
503
|
+
@db[:albums].delete
|
504
|
+
@db[:artists].delete
|
505
|
+
class ::Album < Sequel::Model(@db)
|
506
|
+
plugin :tactical_eager_loading
|
507
|
+
many_to_one :artist
|
508
|
+
end
|
509
|
+
class ::Artist < Sequel::Model(@db)
|
510
|
+
plugin :tactical_eager_loading
|
511
|
+
one_to_many :albums, :order=>:name
|
512
|
+
end
|
513
|
+
|
514
|
+
@artist1 = Artist.create(:name=>'1')
|
515
|
+
@artist2 = Artist.create(:name=>'2')
|
516
|
+
@artist3 = Artist.create(:name=>'3')
|
517
|
+
@artist4 = Artist.create(:name=>'4')
|
518
|
+
@album1 = Album.create(:name=>'A', :artist=>@artist1)
|
519
|
+
@album2 = Album.create(:name=>'B', :artist=>@artist1)
|
520
|
+
@album3 = Album.create(:name=>'C', :artist=>@artist2)
|
521
|
+
@album4 = Album.create(:name=>'D', :artist=>@artist3)
|
522
|
+
end
|
523
|
+
after do
|
524
|
+
[:Album, :Artist].each{|s| Object.send(:remove_const, s)}
|
525
|
+
end
|
526
|
+
after(:all) do
|
527
|
+
@db.drop_table? :albums, :artists
|
528
|
+
end
|
529
|
+
|
530
|
+
it "should eagerly load associations for all items when accessing any item" do
|
531
|
+
a = Artist.order(:name).all
|
532
|
+
a.map{|x| x.associations}.must_equal [{}, {}, {}, {}]
|
533
|
+
a.first.albums.must_equal [@album1, @album2]
|
534
|
+
a.map{|x| x.associations}.must_equal [{:albums=>[@album1, @album2]}, {:albums=>[@album3]}, {:albums=>[@album4]}, {:albums=>[]}]
|
535
|
+
|
536
|
+
a = Album.order(:name).all
|
537
|
+
a.map{|x| x.associations}.must_equal [{}, {}, {}, {}]
|
538
|
+
a.first.artist.must_equal @artist1
|
539
|
+
a.map{|x| x.associations}.must_equal [{:artist=>@artist1}, {:artist=>@artist1}, {:artist=>@artist2}, {:artist=>@artist3}]
|
540
|
+
end
|
541
|
+
end
|
542
|
+
|
543
|
+
describe "Touch plugin" do
|
544
|
+
before(:all) do
|
545
|
+
@db = DB
|
546
|
+
@db.drop_table? :albums_artists, :albums, :artists
|
547
|
+
@db.create_table(:artists) do
|
548
|
+
primary_key :id
|
549
|
+
String :name
|
550
|
+
DateTime :updated_at
|
551
|
+
end
|
552
|
+
@db.create_table(:albums) do
|
553
|
+
primary_key :id
|
554
|
+
String :name
|
555
|
+
foreign_key :artist_id, :artists
|
556
|
+
DateTime :updated_at
|
557
|
+
end
|
558
|
+
@db.create_join_table({:album_id=>:albums, :artist_id=>:artists}, :no_index=>true)
|
559
|
+
end
|
560
|
+
before do
|
561
|
+
@db[:albums].delete
|
562
|
+
@db[:artists].delete
|
563
|
+
class ::Album < Sequel::Model(@db)
|
564
|
+
end
|
565
|
+
class ::Artist < Sequel::Model(@db)
|
566
|
+
end
|
567
|
+
|
568
|
+
@artist = Artist.create(:name=>'1')
|
569
|
+
@album = Album.create(:name=>'A', :artist_id=>@artist.id)
|
570
|
+
end
|
571
|
+
after do
|
572
|
+
[:Album, :Artist].each{|s| Object.send(:remove_const, s)}
|
573
|
+
end
|
574
|
+
after(:all) do
|
575
|
+
@db.drop_table? :albums_artists, :albums, :artists
|
576
|
+
end
|
577
|
+
def around
|
578
|
+
DB.transaction(:rollback=>:always){super}
|
579
|
+
end
|
580
|
+
|
581
|
+
it "should update the timestamp column when touching the record" do
|
582
|
+
Album.plugin :touch
|
583
|
+
@album.updated_at.must_be_nil
|
584
|
+
@album.touch
|
585
|
+
@album.updated_at.to_i.must_be_close_to Time.now.to_i, 2
|
586
|
+
end
|
587
|
+
|
588
|
+
cspecify "should update the timestamp column for many_to_one associated records when the record is updated or destroyed", [:jdbc, :sqlite] do
|
589
|
+
Album.many_to_one :artist
|
590
|
+
Album.plugin :touch, :associations=>:artist
|
591
|
+
@artist.updated_at.must_be_nil
|
592
|
+
@album.update(:name=>'B')
|
593
|
+
ua = @artist.reload.updated_at
|
594
|
+
if ua.is_a?(Time)
|
595
|
+
ua.to_i.must_be_close_to Time.now.to_i, 60
|
596
|
+
else
|
597
|
+
(DateTime.now - ua).must_be_close_to 0, 60.0/86400
|
598
|
+
end
|
599
|
+
@artist.update(:updated_at=>nil)
|
600
|
+
@album.destroy
|
601
|
+
if ua.is_a?(Time)
|
602
|
+
ua.to_i.must_be_close_to Time.now.to_i, 60
|
603
|
+
else
|
604
|
+
(DateTime.now - ua).must_be_close_to 0, 60.0/86400
|
605
|
+
end
|
606
|
+
end
|
607
|
+
|
608
|
+
cspecify "should update the timestamp column for one_to_many associated records when the record is updated", [:jdbc, :sqlite] do
|
609
|
+
Artist.one_to_many :albums
|
610
|
+
Artist.plugin :touch, :associations=>:albums
|
611
|
+
@album.updated_at.must_be_nil
|
612
|
+
@artist.update(:name=>'B')
|
613
|
+
ua = @album.reload.updated_at
|
614
|
+
if ua.is_a?(Time)
|
615
|
+
ua.to_i.must_be_close_to Time.now.to_i, 60
|
616
|
+
else
|
617
|
+
(DateTime.now - ua).must_be_close_to 0, 60.0/86400
|
618
|
+
end
|
619
|
+
end
|
620
|
+
|
621
|
+
cspecify "should update the timestamp column for many_to_many associated records when the record is updated", [:jdbc, :sqlite] do
|
622
|
+
Artist.many_to_many :albums
|
623
|
+
Artist.plugin :touch, :associations=>:albums
|
624
|
+
@artist.add_album(@album)
|
625
|
+
@album.updated_at.must_be_nil
|
626
|
+
@artist.update(:name=>'B')
|
627
|
+
ua = @album.reload.updated_at
|
628
|
+
if ua.is_a?(Time)
|
629
|
+
ua.to_i.must_be_close_to Time.now.to_i, 60
|
630
|
+
else
|
631
|
+
(DateTime.now - ua).must_be_close_to 0, 60.0/86400
|
632
|
+
end
|
633
|
+
end
|
634
|
+
end
|
635
|
+
|
636
|
+
describe "Serialization plugin" do
|
637
|
+
before do
|
638
|
+
@db = DB
|
639
|
+
@db.create_table!(:items) do
|
640
|
+
primary_key :id
|
641
|
+
String :stuff
|
642
|
+
end
|
643
|
+
class ::Item < Sequel::Model(@db)
|
644
|
+
plugin :serialization, :marshal, :stuff
|
645
|
+
end
|
646
|
+
end
|
647
|
+
after do
|
648
|
+
@db.drop_table?(:items)
|
649
|
+
Object.send(:remove_const, :Item)
|
650
|
+
end
|
651
|
+
|
652
|
+
it "should serialize and deserialize items as needed" do
|
653
|
+
i = Item.create(:stuff=>{:a=>1})
|
654
|
+
i.stuff.must_equal(:a=>1)
|
655
|
+
i.stuff = [1, 2, 3]
|
656
|
+
i.save
|
657
|
+
Item.first.stuff.must_equal [1, 2, 3]
|
658
|
+
i.update(:stuff=>Item.new)
|
659
|
+
Item.first.stuff.must_equal Item.new
|
660
|
+
end
|
661
|
+
end
|
662
|
+
|
663
|
+
describe "OptimisticLocking plugin" do
|
664
|
+
before(:all) do
|
665
|
+
@db = DB
|
666
|
+
@db.create_table!(:people) do
|
667
|
+
primary_key :id
|
668
|
+
String :name
|
669
|
+
Integer :lock_version, :default=>0, :null=>false
|
670
|
+
end
|
671
|
+
class ::Person < Sequel::Model(@db)
|
672
|
+
plugin :optimistic_locking
|
673
|
+
end
|
674
|
+
end
|
675
|
+
before do
|
676
|
+
@db[:people].delete
|
677
|
+
@p = Person.create(:name=>'John')
|
678
|
+
end
|
679
|
+
after(:all) do
|
680
|
+
@db.drop_table?(:people)
|
681
|
+
Object.send(:remove_const, :Person)
|
682
|
+
end
|
683
|
+
|
684
|
+
it "should raise an error when updating a stale record" do
|
685
|
+
p1 = Person[@p.id]
|
686
|
+
p2 = Person[@p.id]
|
687
|
+
p1.update(:name=>'Jim')
|
688
|
+
proc{p2.update(:name=>'Bob')}.must_raise(Sequel::Plugins::OptimisticLocking::Error)
|
689
|
+
end
|
690
|
+
|
691
|
+
it "should raise an error when destroying a stale record" do
|
692
|
+
p1 = Person[@p.id]
|
693
|
+
p2 = Person[@p.id]
|
694
|
+
p1.update(:name=>'Jim')
|
695
|
+
proc{p2.destroy}.must_raise(Sequel::Plugins::OptimisticLocking::Error)
|
696
|
+
end
|
697
|
+
|
698
|
+
it "should not raise an error when updating the same record twice" do
|
699
|
+
p1 = Person[@p.id]
|
700
|
+
p1.update(:name=>'Jim')
|
701
|
+
p1.update(:name=>'Bob')
|
702
|
+
end
|
703
|
+
end
|
704
|
+
|
705
|
+
describe "Composition plugin" do
|
706
|
+
before do
|
707
|
+
@db = DB
|
708
|
+
@db.create_table!(:events) do
|
709
|
+
primary_key :id
|
710
|
+
Integer :year
|
711
|
+
Integer :month
|
712
|
+
Integer :day
|
713
|
+
end
|
714
|
+
class ::Event < Sequel::Model(@db)
|
715
|
+
plugin :composition
|
716
|
+
composition :date, :composer=>proc{Date.new(year, month, day) if year && month && day}, :decomposer=>(proc do
|
717
|
+
if date
|
718
|
+
self.year = date.year
|
719
|
+
self.month = date.month
|
720
|
+
self.day = date.day
|
721
|
+
else
|
722
|
+
self.year, self.month, self.day = nil
|
723
|
+
end
|
724
|
+
end)
|
725
|
+
composition :date, :mapping=>[:year, :month, :day]
|
726
|
+
end
|
727
|
+
@e1 = Event.create(:year=>2010, :month=>2, :day=>15)
|
728
|
+
@e2 = Event.create(:year=>nil)
|
729
|
+
end
|
730
|
+
after do
|
731
|
+
@db.drop_table?(:events)
|
732
|
+
Object.send(:remove_const, :Event)
|
733
|
+
end
|
734
|
+
|
735
|
+
it "should return a composed object if the underlying columns have a value" do
|
736
|
+
@e1.date.must_equal Date.civil(2010, 2, 15)
|
737
|
+
@e2.date.must_be_nil
|
738
|
+
end
|
739
|
+
|
740
|
+
it "should decompose the object when saving the record" do
|
741
|
+
@e1.date = Date.civil(2009, 1, 2)
|
742
|
+
@e1.save
|
743
|
+
@e1.year.must_equal 2009
|
744
|
+
@e1.month.must_equal 1
|
745
|
+
@e1.day.must_equal 2
|
746
|
+
end
|
747
|
+
|
748
|
+
it "should save all columns when saving changes" do
|
749
|
+
@e2.date = Date.civil(2009, 10, 2)
|
750
|
+
@e2.save_changes
|
751
|
+
@e2.reload
|
752
|
+
@e2.year.must_equal 2009
|
753
|
+
@e2.month.must_equal 10
|
754
|
+
@e2.day.must_equal 2
|
755
|
+
end
|
756
|
+
end
|
757
|
+
|
758
|
+
describe "RcteTree Plugin" do
|
759
|
+
RcteTreePluginSpecs = shared_description do
|
760
|
+
it "should load all standard (not-CTE) methods correctly" do
|
761
|
+
@a.children.must_equal [@aa, @ab]
|
762
|
+
@b.children.must_equal [@ba, @bb]
|
763
|
+
@aa.children.must_equal [@aaa, @aab]
|
764
|
+
@ab.children.must_equal [@aba, @abb]
|
765
|
+
@ba.children.must_equal []
|
766
|
+
@bb.children.must_equal []
|
767
|
+
@aaa.children.must_equal [@aaaa, @aaab]
|
768
|
+
@aab.children.must_equal []
|
769
|
+
@aba.children.must_equal []
|
770
|
+
@abb.children.must_equal []
|
771
|
+
@aaaa.children.must_equal [@aaaaa]
|
772
|
+
@aaab.children.must_equal []
|
773
|
+
@aaaaa.children.must_equal []
|
774
|
+
|
775
|
+
@a.parent.must_be_nil
|
776
|
+
@b.parent.must_be_nil
|
777
|
+
@aa.parent.must_equal @a
|
778
|
+
@ab.parent.must_equal @a
|
779
|
+
@ba.parent.must_equal @b
|
780
|
+
@bb.parent.must_equal @b
|
781
|
+
@aaa.parent.must_equal @aa
|
782
|
+
@aab.parent.must_equal @aa
|
783
|
+
@aba.parent.must_equal @ab
|
784
|
+
@abb.parent.must_equal @ab
|
785
|
+
@aaaa.parent.must_equal @aaa
|
786
|
+
@aaab.parent.must_equal @aaa
|
787
|
+
@aaaaa.parent.must_equal @aaaa
|
788
|
+
end
|
789
|
+
|
790
|
+
it "should load all ancestors and descendants lazily for a given instance" do
|
791
|
+
@a.descendants.must_equal [@aa, @aaa, @aaaa, @aaaaa, @aaab, @aab, @ab, @aba, @abb]
|
792
|
+
@b.descendants.must_equal [@ba, @bb]
|
793
|
+
@aa.descendants.must_equal [@aaa, @aaaa, @aaaaa, @aaab, @aab]
|
794
|
+
@ab.descendants.must_equal [@aba, @abb]
|
795
|
+
@ba.descendants.must_equal []
|
796
|
+
@bb.descendants.must_equal []
|
797
|
+
@aaa.descendants.must_equal [@aaaa, @aaaaa, @aaab]
|
798
|
+
@aab.descendants.must_equal []
|
799
|
+
@aba.descendants.must_equal []
|
800
|
+
@abb.descendants.must_equal []
|
801
|
+
@aaaa.descendants.must_equal [@aaaaa]
|
802
|
+
@aaab.descendants.must_equal []
|
803
|
+
@aaaaa.descendants.must_equal []
|
804
|
+
|
805
|
+
@a.ancestors.must_equal []
|
806
|
+
@b.ancestors.must_equal []
|
807
|
+
@aa.ancestors.must_equal [@a]
|
808
|
+
@ab.ancestors.must_equal [@a]
|
809
|
+
@ba.ancestors.must_equal [@b]
|
810
|
+
@bb.ancestors.must_equal [@b]
|
811
|
+
@aaa.ancestors.must_equal [@a, @aa]
|
812
|
+
@aab.ancestors.must_equal [@a, @aa]
|
813
|
+
@aba.ancestors.must_equal [@a, @ab]
|
814
|
+
@abb.ancestors.must_equal [@a, @ab]
|
815
|
+
@aaaa.ancestors.must_equal [@a, @aa, @aaa]
|
816
|
+
@aaab.ancestors.must_equal [@a, @aa, @aaa]
|
817
|
+
@aaaaa.ancestors.must_equal [@a, @aa, @aaa, @aaaa]
|
818
|
+
end
|
819
|
+
|
820
|
+
it "should eagerly load all ancestors and descendants for a dataset" do
|
821
|
+
nodes = @Node.filter(@Node.primary_key=>[@a.pk, @b.pk, @aaa.pk]).order(:name).eager(:ancestors, :descendants).all
|
822
|
+
nodes.must_equal [@a, @aaa, @b]
|
823
|
+
nodes[0].descendants.must_equal [@aa, @aaa, @aaaa, @aaaaa, @aaab, @aab, @ab, @aba, @abb]
|
824
|
+
nodes[1].descendants.must_equal [@aaaa, @aaaaa, @aaab]
|
825
|
+
nodes[2].descendants.must_equal [@ba, @bb]
|
826
|
+
nodes[0].ancestors.must_equal []
|
827
|
+
nodes[1].ancestors.must_equal [@a, @aa]
|
828
|
+
nodes[2].ancestors.must_equal []
|
829
|
+
end
|
830
|
+
|
831
|
+
it "should eagerly load descendants to a given level" do
|
832
|
+
nodes = @Node.filter(@Node.primary_key=>[@a.pk, @b.pk, @aaa.pk]).order(:name).eager(:descendants=>1).all
|
833
|
+
nodes.must_equal [@a, @aaa, @b]
|
834
|
+
nodes[0].descendants.must_equal [@aa, @ab]
|
835
|
+
nodes[1].descendants.must_equal [@aaaa, @aaab]
|
836
|
+
nodes[2].descendants.must_equal [@ba, @bb]
|
837
|
+
|
838
|
+
nodes = @Node.filter(@Node.primary_key=>[@a.pk, @b.pk, @aaa.pk]).order(:name).eager(:descendants=>2).all
|
839
|
+
nodes.must_equal [@a, @aaa, @b]
|
840
|
+
nodes[0].descendants.must_equal [@aa, @aaa, @aab, @ab, @aba, @abb]
|
841
|
+
nodes[1].descendants.must_equal [@aaaa, @aaaaa, @aaab]
|
842
|
+
nodes[2].descendants.must_equal [@ba, @bb]
|
843
|
+
end
|
844
|
+
|
845
|
+
it "should populate all :children associations when eagerly loading descendants for a dataset" do
|
846
|
+
nodes = @Node.filter(@Node.primary_key=>[@a.pk, @b.pk, @aaa.pk]).order(:name).eager(:descendants).all
|
847
|
+
nodes[0].associations[:children].must_equal [@aa, @ab]
|
848
|
+
nodes[1].associations[:children].must_equal [@aaaa, @aaab]
|
849
|
+
nodes[2].associations[:children].must_equal [@ba, @bb]
|
850
|
+
nodes[0].associations[:children].map{|c1| c1.associations[:children]}.must_equal [[@aaa, @aab], [@aba, @abb]]
|
851
|
+
nodes[1].associations[:children].map{|c1| c1.associations[:children]}.must_equal [[@aaaaa], []]
|
852
|
+
nodes[2].associations[:children].map{|c1| c1.associations[:children]}.must_equal [[], []]
|
853
|
+
nodes[0].associations[:children].map{|c1| c1.associations[:children].map{|c2| c2.associations[:children]}}.must_equal [[[@aaaa, @aaab], []], [[], []]]
|
854
|
+
nodes[1].associations[:children].map{|c1| c1.associations[:children].map{|c2| c2.associations[:children]}}.must_equal [[[]], []]
|
855
|
+
nodes[0].associations[:children].map{|c1| c1.associations[:children].map{|c2| c2.associations[:children].map{|c3| c3.associations[:children]}}}.must_equal [[[[@aaaaa], []], []], [[], []]]
|
856
|
+
nodes[0].associations[:children].map{|c1| c1.associations[:children].map{|c2| c2.associations[:children].map{|c3| c3.associations[:children].map{|c4| c4.associations[:children]}}}}.must_equal [[[[[]], []], []], [[], []]]
|
857
|
+
end
|
858
|
+
|
859
|
+
it "should not populate :children associations for final level when loading descendants to a given level" do
|
860
|
+
nodes = @Node.filter(@Node.primary_key=>[@a.pk, @b.pk, @aaa.pk]).order(:name).eager(:descendants=>1).all
|
861
|
+
nodes[0].associations[:children].must_equal [@aa, @ab]
|
862
|
+
nodes[0].associations[:children].map{|c1| c1.associations[:children]}.must_equal [nil, nil]
|
863
|
+
nodes[1].associations[:children].must_equal [@aaaa, @aaab]
|
864
|
+
nodes[1].associations[:children].map{|c1| c1.associations[:children]}.must_equal [nil, nil]
|
865
|
+
nodes[2].associations[:children].must_equal [@ba, @bb]
|
866
|
+
nodes[2].associations[:children].map{|c1| c1.associations[:children]}.must_equal [nil, nil]
|
867
|
+
|
868
|
+
nodes[0].associations[:children].map{|c1| c1.children}.must_equal [[@aaa, @aab], [@aba, @abb]]
|
869
|
+
nodes[1].associations[:children].map{|c1| c1.children}.must_equal [[@aaaaa], []]
|
870
|
+
nodes[2].associations[:children].map{|c1| c1.children}.must_equal [[], []]
|
871
|
+
|
872
|
+
nodes = @Node.filter(@Node.primary_key=>[@a.pk, @b.pk, @aaa.pk]).order(:name).eager(:descendants=>2).all
|
873
|
+
nodes[0].associations[:children].must_equal [@aa, @ab]
|
874
|
+
nodes[0].associations[:children].map{|c1| c1.associations[:children]}.must_equal [[@aaa, @aab], [@aba, @abb]]
|
875
|
+
nodes[0].associations[:children].map{|c1| c1.associations[:children].map{|c2| c2.associations[:children]}}.must_equal [[[@aaaa, @aaab], nil], [nil, nil]]
|
876
|
+
nodes[0].associations[:children].map{|c1| c1.associations[:children].map{|c2| (cc2 = c2.associations[:children]) ? cc2.map{|c3| c3.associations[:children]} : nil}}.must_equal [[[[@aaaaa], []], nil], [nil, nil]]
|
877
|
+
nodes[0].associations[:children].map{|c1| c1.associations[:children].map{|c2| (cc2 = c2.associations[:children]) ? cc2.map{|c3| (cc3 = c3.associations[:children]) ? cc3.map{|c4| c4.associations[:children]} : nil} : nil}}.must_equal [[[[nil], []], nil], [nil, nil]]
|
878
|
+
|
879
|
+
nodes[1].associations[:children].must_equal [@aaaa, @aaab]
|
880
|
+
nodes[1].associations[:children].map{|c1| c1.associations[:children]}.must_equal [[@aaaaa], []]
|
881
|
+
nodes[1].associations[:children].map{|c1| c1.associations[:children].map{|c2| c2.associations[:children]}}.must_equal [[nil], []]
|
882
|
+
|
883
|
+
nodes[2].associations[:children].must_equal [@ba, @bb]
|
884
|
+
nodes[2].associations[:children].map{|c1| c1.associations[:children]}.must_equal [[], []]
|
885
|
+
|
886
|
+
nodes[0].associations[:children].map{|c1| c1.associations[:children].map{|c2| c2.children}}.must_equal [[[@aaaa, @aaab], []], [[], []]]
|
887
|
+
nodes[0].associations[:children].map{|c1| c1.associations[:children].map{|c2| c2.children.map{|c3| c3.children}}}.must_equal [[[[@aaaaa], []], []], [[], []]]
|
888
|
+
nodes[0].associations[:children].map{|c1| c1.associations[:children].map{|c2| c2.children.map{|c3| c3.children.map{|c4| c4.children}}}}.must_equal [[[[[]], []], []], [[], []]]
|
889
|
+
nodes[1].associations[:children].map{|c1| c1.associations[:children].map{|c2| c2.children}}.must_equal [[[]], []]
|
890
|
+
end
|
891
|
+
|
892
|
+
it "should populate all :children associations when lazily loading descendants" do
|
893
|
+
@a.descendants
|
894
|
+
@a.associations[:children].must_equal [@aa, @ab]
|
895
|
+
@a.associations[:children].map{|c1| c1.associations[:children]}.must_equal [[@aaa, @aab], [@aba, @abb]]
|
896
|
+
@a.associations[:children].map{|c1| c1.associations[:children].map{|c2| c2.associations[:children]}}.must_equal [[[@aaaa, @aaab], []], [[], []]]
|
897
|
+
@a.associations[:children].map{|c1| c1.associations[:children].map{|c2| c2.associations[:children].map{|c3| c3.associations[:children]}}}.must_equal [[[[@aaaaa], []], []], [[], []]]
|
898
|
+
@a.associations[:children].map{|c1| c1.associations[:children].map{|c2| c2.associations[:children].map{|c3| c3.associations[:children].map{|c4| c4.associations[:children]}}}}.must_equal [[[[[]], []], []], [[], []]]
|
899
|
+
|
900
|
+
@b.descendants
|
901
|
+
@b.associations[:children].must_equal [@ba, @bb]
|
902
|
+
@b.associations[:children].map{|c1| c1.associations[:children]}.must_equal [[], []]
|
903
|
+
|
904
|
+
@aaa.descendants
|
905
|
+
@aaa.associations[:children].map{|c1| c1.associations[:children]}.must_equal [[@aaaaa], []]
|
906
|
+
@aaa.associations[:children].map{|c1| c1.associations[:children].map{|c2| c2.associations[:children]}}.must_equal [[[]], []]
|
907
|
+
end
|
908
|
+
|
909
|
+
it "should populate all :parent associations when eagerly loading ancestors for a dataset" do
|
910
|
+
nodes = @Node.filter(@Node.primary_key=>[@a.pk, @ba.pk, @aaa.pk, @aaaaa.pk]).order(:name).eager(:ancestors).all
|
911
|
+
nodes[0].associations.fetch(:parent, 1).must_be_nil
|
912
|
+
nodes[1].associations[:parent].must_equal @aa
|
913
|
+
nodes[1].associations[:parent].associations[:parent].must_equal @a
|
914
|
+
nodes[1].associations[:parent].associations[:parent].associations.fetch(:parent, 1).must_be_nil
|
915
|
+
nodes[2].associations[:parent].must_equal @aaaa
|
916
|
+
nodes[2].associations[:parent].associations[:parent].must_equal @aaa
|
917
|
+
nodes[2].associations[:parent].associations[:parent].associations[:parent].must_equal @aa
|
918
|
+
nodes[2].associations[:parent].associations[:parent].associations[:parent].associations[:parent].must_equal @a
|
919
|
+
nodes[2].associations[:parent].associations[:parent].associations[:parent].associations[:parent].associations.fetch(:parent, 1).must_be_nil
|
920
|
+
nodes[3].associations[:parent].must_equal @b
|
921
|
+
nodes[3].associations[:parent].associations.fetch(:parent, 1).must_be_nil
|
922
|
+
end
|
923
|
+
|
924
|
+
it "should populate all :parent associations when lazily loading ancestors" do
|
925
|
+
@a.reload
|
926
|
+
@a.ancestors
|
927
|
+
@a.associations[:parent].must_be_nil
|
928
|
+
|
929
|
+
@ba.reload
|
930
|
+
@ba.ancestors
|
931
|
+
@ba.associations[:parent].must_equal @b
|
932
|
+
@ba.associations[:parent].associations.fetch(:parent, 1).must_be_nil
|
933
|
+
|
934
|
+
@ba.reload
|
935
|
+
@aaaaa.ancestors
|
936
|
+
@aaaaa.associations[:parent].must_equal @aaaa
|
937
|
+
@aaaaa.associations[:parent].associations[:parent].must_equal @aaa
|
938
|
+
@aaaaa.associations[:parent].associations[:parent].associations[:parent].must_equal @aa
|
939
|
+
@aaaaa.associations[:parent].associations[:parent].associations[:parent].associations[:parent].must_equal @a
|
940
|
+
@aaaaa.associations[:parent].associations[:parent].associations[:parent].associations[:parent].associations.fetch(:parent, 1).must_be_nil
|
941
|
+
end
|
942
|
+
end
|
943
|
+
|
944
|
+
before do
|
945
|
+
@nodes.each{|n| n.associations.clear}
|
946
|
+
end
|
947
|
+
|
948
|
+
describe "with single key" do
|
949
|
+
before(:all) do
|
950
|
+
@db = DB
|
951
|
+
@db.create_table!(:nodes) do
|
952
|
+
primary_key :id
|
953
|
+
Integer :parent_id
|
954
|
+
String :name
|
955
|
+
end
|
956
|
+
@Node = Class.new(Sequel::Model(@db[:nodes]))
|
957
|
+
@Node.plugin :rcte_tree, :order=>:name
|
958
|
+
@nodes = []
|
959
|
+
@nodes << @a = @Node.create(:name=>'a')
|
960
|
+
@nodes << @b = @Node.create(:name=>'b')
|
961
|
+
@nodes << @aa = @Node.create(:name=>'aa', :parent=>@a)
|
962
|
+
@nodes << @ab = @Node.create(:name=>'ab', :parent=>@a)
|
963
|
+
@nodes << @ba = @Node.create(:name=>'ba', :parent=>@b)
|
964
|
+
@nodes << @bb = @Node.create(:name=>'bb', :parent=>@b)
|
965
|
+
@nodes << @aaa = @Node.create(:name=>'aaa', :parent=>@aa)
|
966
|
+
@nodes << @aab = @Node.create(:name=>'aab', :parent=>@aa)
|
967
|
+
@nodes << @aba = @Node.create(:name=>'aba', :parent=>@ab)
|
968
|
+
@nodes << @abb = @Node.create(:name=>'abb', :parent=>@ab)
|
969
|
+
@nodes << @aaaa = @Node.create(:name=>'aaaa', :parent=>@aaa)
|
970
|
+
@nodes << @aaab = @Node.create(:name=>'aaab', :parent=>@aaa)
|
971
|
+
@nodes << @aaaaa = @Node.create(:name=>'aaaaa', :parent=>@aaaa)
|
972
|
+
end
|
973
|
+
after(:all) do
|
974
|
+
@db.drop_table? :nodes
|
975
|
+
end
|
976
|
+
|
977
|
+
include RcteTreePluginSpecs
|
978
|
+
|
979
|
+
it "should work correctly if not all columns are selected" do
|
980
|
+
c = Class.new(Sequel::Model(@db[:nodes]))
|
981
|
+
c.plugin :rcte_tree, :order=>:name
|
982
|
+
c.plugin :lazy_attributes, :name
|
983
|
+
c[:name=>'aaaa'].descendants.must_equal [c.load(:parent_id=>11, :id=>13)]
|
984
|
+
c[:name=>'aa'].ancestors.must_equal [c.load(:parent_id=>nil, :id=>1)]
|
985
|
+
nodes = c.filter(:id=>[@a.id, @b.id, @aaa.id]).order(:name).eager(:ancestors, :descendants).all
|
986
|
+
nodes.must_equal [{:parent_id=>nil, :id=>1}, {:parent_id=>3, :id=>7}, {:parent_id=>nil, :id=>2}].map{|x| c.load(x)}
|
987
|
+
nodes[2].descendants.must_equal [{:parent_id=>2, :id=>5}, {:parent_id=>2, :id=>6}].map{|x| c.load(x)}
|
988
|
+
nodes[1].ancestors.must_equal [{:parent_id=>nil, :id=>1}, {:parent_id=>1, :id=>3}].map{|x| c.load(x)}
|
989
|
+
end
|
990
|
+
end
|
991
|
+
|
992
|
+
describe "with composite keys" do
|
993
|
+
before(:all) do
|
994
|
+
@db = DB
|
995
|
+
@db.create_table!(:nodes) do
|
996
|
+
Integer :id
|
997
|
+
Integer :id2
|
998
|
+
Integer :parent_id
|
999
|
+
Integer :parent_id2
|
1000
|
+
String :name
|
1001
|
+
primary_key [:id, :id2]
|
1002
|
+
end
|
1003
|
+
@Node = Class.new(Sequel::Model(@db[:nodes]))
|
1004
|
+
@Node.plugin :rcte_tree, :order=>:name, :key=>[:parent_id, :parent_id2]
|
1005
|
+
@Node.unrestrict_primary_key
|
1006
|
+
@nodes = []
|
1007
|
+
@nodes << @a = @Node.create(:id=>1, :id2=>1, :name=>'a')
|
1008
|
+
@nodes << @b = @Node.create(:id=>1, :id2=>2, :name=>'b')
|
1009
|
+
@nodes << @aa = @Node.create(:id=>2, :id2=>1, :name=>'aa', :parent=>@a)
|
1010
|
+
@nodes << @ab = @Node.create(:id=>2, :id2=>2, :name=>'ab', :parent=>@a)
|
1011
|
+
@nodes << @ba = @Node.create(:id=>3, :id2=>1, :name=>'ba', :parent=>@b)
|
1012
|
+
@nodes << @bb = @Node.create(:id=>3, :id2=>2, :name=>'bb', :parent=>@b)
|
1013
|
+
@nodes << @aaa = @Node.create(:id=>3, :id2=>3, :name=>'aaa', :parent=>@aa)
|
1014
|
+
@nodes << @aab = @Node.create(:id=>1, :id2=>3, :name=>'aab', :parent=>@aa)
|
1015
|
+
@nodes << @aba = @Node.create(:id=>2, :id2=>3, :name=>'aba', :parent=>@ab)
|
1016
|
+
@nodes << @abb = @Node.create(:id=>4, :id2=>1, :name=>'abb', :parent=>@ab)
|
1017
|
+
@nodes << @aaaa = @Node.create(:id=>1, :id2=>4, :name=>'aaaa', :parent=>@aaa)
|
1018
|
+
@nodes << @aaab = @Node.create(:id=>2, :id2=>4, :name=>'aaab', :parent=>@aaa)
|
1019
|
+
@nodes << @aaaaa = @Node.create(:id=>3, :id2=>4, :name=>'aaaaa', :parent=>@aaaa)
|
1020
|
+
end
|
1021
|
+
after(:all) do
|
1022
|
+
@db.drop_table? :nodes
|
1023
|
+
end
|
1024
|
+
|
1025
|
+
include RcteTreePluginSpecs
|
1026
|
+
end
|
1027
|
+
end if DB.dataset.supports_cte? and !Sequel.guarded?(:db2)
|
1028
|
+
|
1029
|
+
describe "Instance Filters plugin" do
|
1030
|
+
before(:all) do
|
1031
|
+
@db = DB
|
1032
|
+
@db.create_table!(:items) do
|
1033
|
+
primary_key :id
|
1034
|
+
String :name
|
1035
|
+
Integer :cost
|
1036
|
+
Integer :number
|
1037
|
+
end
|
1038
|
+
class ::Item < Sequel::Model(@db)
|
1039
|
+
plugin :instance_filters
|
1040
|
+
end
|
1041
|
+
end
|
1042
|
+
before do
|
1043
|
+
@db[:items].delete
|
1044
|
+
@i = Item.create(:name=>'J', :number=>1, :cost=>2)
|
1045
|
+
@i.instance_filter(:number=>1)
|
1046
|
+
@i.set(:name=>'K')
|
1047
|
+
end
|
1048
|
+
after(:all) do
|
1049
|
+
@db.drop_table?(:items)
|
1050
|
+
Object.send(:remove_const, :Item)
|
1051
|
+
end
|
1052
|
+
|
1053
|
+
it "should not raise an error if saving only updates one row" do
|
1054
|
+
@i.save
|
1055
|
+
@i.refresh.name.must_equal 'K'
|
1056
|
+
end
|
1057
|
+
|
1058
|
+
it "should raise error if saving doesn't update a row" do
|
1059
|
+
@i.this.update(:number=>2)
|
1060
|
+
proc{@i.save}.must_raise(Sequel::NoExistingObject)
|
1061
|
+
end
|
1062
|
+
|
1063
|
+
it "should apply all instance filters" do
|
1064
|
+
@i.instance_filter{cost <= 2}
|
1065
|
+
@i.this.update(:number=>2)
|
1066
|
+
proc{@i.save}.must_raise(Sequel::NoExistingObject)
|
1067
|
+
@i.this.update(:number=>1, :cost=>3)
|
1068
|
+
proc{@i.save}.must_raise(Sequel::NoExistingObject)
|
1069
|
+
@i.this.update(:cost=>2)
|
1070
|
+
@i.save
|
1071
|
+
@i.refresh.name.must_equal 'K'
|
1072
|
+
end
|
1073
|
+
|
1074
|
+
it "should clear instance filters after successful save" do
|
1075
|
+
@i.save
|
1076
|
+
@i.this.update(:number=>2)
|
1077
|
+
@i.update(:name=>'L')
|
1078
|
+
@i.refresh.name.must_equal 'L'
|
1079
|
+
end
|
1080
|
+
|
1081
|
+
it "should not raise an error if deleting only deletes one row" do
|
1082
|
+
@i.destroy
|
1083
|
+
proc{@i.refresh}.must_raise(Sequel::Error, 'Record not found')
|
1084
|
+
end
|
1085
|
+
|
1086
|
+
it "should raise error if destroying doesn't delete a row" do
|
1087
|
+
@i.this.update(:number=>2)
|
1088
|
+
proc{@i.destroy}.must_raise(Sequel::NoExistingObject)
|
1089
|
+
end
|
1090
|
+
end
|
1091
|
+
|
1092
|
+
describe "UpdatePrimaryKey plugin" do
|
1093
|
+
before(:all) do
|
1094
|
+
@db = DB
|
1095
|
+
@db.create_table!(:t) do
|
1096
|
+
Integer :a, :primary_key=>true
|
1097
|
+
Integer :b
|
1098
|
+
end
|
1099
|
+
@ds = @db[:t]
|
1100
|
+
@c = Class.new(Sequel::Model(@ds))
|
1101
|
+
@c.set_primary_key(:a)
|
1102
|
+
@c.unrestrict_primary_key
|
1103
|
+
@c.plugin :update_primary_key
|
1104
|
+
end
|
1105
|
+
before do
|
1106
|
+
@ds.delete
|
1107
|
+
@ds.insert(:a=>1, :b=>3)
|
1108
|
+
end
|
1109
|
+
after(:all) do
|
1110
|
+
@db.drop_table?(:t)
|
1111
|
+
end
|
1112
|
+
|
1113
|
+
it "should handle regular updates" do
|
1114
|
+
@c.first.update(:b=>4)
|
1115
|
+
@db[:t].all.must_equal [{:a=>1, :b=>4}]
|
1116
|
+
@c.first.set(:b=>5).save
|
1117
|
+
@db[:t].all.must_equal [{:a=>1, :b=>5}]
|
1118
|
+
@c.first.set(:b=>6).save(:columns=>:b)
|
1119
|
+
@db[:t].all.must_equal [{:a=>1, :b=>6}]
|
1120
|
+
end
|
1121
|
+
|
1122
|
+
it "should handle updating the primary key field with another field" do
|
1123
|
+
@c.first.update(:a=>2, :b=>4)
|
1124
|
+
@db[:t].all.must_equal [{:a=>2, :b=>4}]
|
1125
|
+
end
|
1126
|
+
|
1127
|
+
it "should handle updating just the primary key field when saving changes" do
|
1128
|
+
@c.first.update(:a=>2)
|
1129
|
+
@db[:t].all.must_equal [{:a=>2, :b=>3}]
|
1130
|
+
@c.first.set(:a=>3).save(:columns=>:a)
|
1131
|
+
@db[:t].all.must_equal [{:a=>3, :b=>3}]
|
1132
|
+
end
|
1133
|
+
|
1134
|
+
it "should handle saving after modifying the primary key field with another field" do
|
1135
|
+
@c.first.set(:a=>2, :b=>4).save
|
1136
|
+
@db[:t].all.must_equal [{:a=>2, :b=>4}]
|
1137
|
+
end
|
1138
|
+
|
1139
|
+
it "should handle saving after modifying just the primary key field" do
|
1140
|
+
@c.first.set(:a=>2).save
|
1141
|
+
@db[:t].all.must_equal [{:a=>2, :b=>3}]
|
1142
|
+
end
|
1143
|
+
|
1144
|
+
it "should handle saving after updating the primary key" do
|
1145
|
+
@c.first.update(:a=>2).update(:b=>4).set(:b=>5).save
|
1146
|
+
@db[:t].all.must_equal [{:a=>2, :b=>5}]
|
1147
|
+
end
|
1148
|
+
end
|
1149
|
+
|
1150
|
+
describe "AssociationPks plugin" do
|
1151
|
+
before(:all) do
|
1152
|
+
@db = DB
|
1153
|
+
@db.drop_table?(:albums_tags, :albums_vocalists, :vocalists_instruments, :vocalists_hits, :hits, :instruments, :vocalists, :tags, :albums, :artists)
|
1154
|
+
@db.create_table(:artists) do
|
1155
|
+
primary_key :id
|
1156
|
+
String :name
|
1157
|
+
end
|
1158
|
+
@db.create_table(:albums) do
|
1159
|
+
primary_key :id
|
1160
|
+
String :name
|
1161
|
+
foreign_key :artist_id, :artists
|
1162
|
+
end
|
1163
|
+
@db.create_table(:tags) do
|
1164
|
+
primary_key :id
|
1165
|
+
String :name
|
1166
|
+
end
|
1167
|
+
@db.create_table(:albums_tags) do
|
1168
|
+
foreign_key :album_id, :albums
|
1169
|
+
foreign_key :tag_id, :tags
|
1170
|
+
end
|
1171
|
+
@db.create_table(:vocalists) do
|
1172
|
+
String :first
|
1173
|
+
String :last
|
1174
|
+
primary_key [:first, :last]
|
1175
|
+
foreign_key :album_id, :albums
|
1176
|
+
end
|
1177
|
+
@db.create_table(:albums_vocalists) do
|
1178
|
+
foreign_key :album_id, :albums
|
1179
|
+
String :first
|
1180
|
+
String :last
|
1181
|
+
foreign_key [:first, :last], :vocalists
|
1182
|
+
end
|
1183
|
+
@db.create_table(:instruments) do
|
1184
|
+
primary_key :id
|
1185
|
+
String :first
|
1186
|
+
String :last
|
1187
|
+
foreign_key [:first, :last], :vocalists
|
1188
|
+
end
|
1189
|
+
@db.create_table(:vocalists_instruments) do
|
1190
|
+
String :first
|
1191
|
+
String :last
|
1192
|
+
foreign_key [:first, :last], :vocalists
|
1193
|
+
foreign_key :instrument_id, :instruments
|
1194
|
+
end
|
1195
|
+
@db.create_table(:hits) do
|
1196
|
+
Integer :year
|
1197
|
+
Integer :week
|
1198
|
+
primary_key [:year, :week]
|
1199
|
+
String :first
|
1200
|
+
String :last
|
1201
|
+
foreign_key [:first, :last], :vocalists
|
1202
|
+
end
|
1203
|
+
@db.create_table(:vocalists_hits) do
|
1204
|
+
String :first
|
1205
|
+
String :last
|
1206
|
+
foreign_key [:first, :last], :vocalists
|
1207
|
+
Integer :year
|
1208
|
+
Integer :week
|
1209
|
+
foreign_key [:year, :week], :hits
|
1210
|
+
end
|
1211
|
+
class ::Artist < Sequel::Model
|
1212
|
+
plugin :association_pks
|
1213
|
+
one_to_many :albums, :order=>:id, :delay_pks=>false
|
1214
|
+
end
|
1215
|
+
class ::Album < Sequel::Model
|
1216
|
+
plugin :association_pks
|
1217
|
+
many_to_many :tags, :order=>:id, :delay_pks=>false
|
1218
|
+
many_to_many :uat_tags, :order=>Sequel[:tags][:id], :delay_pks=>false, :class=>:Tag, :right_key=>:tag_id, :association_pks_use_associated_table=>true
|
1219
|
+
end
|
1220
|
+
class ::Tag < Sequel::Model
|
1221
|
+
end
|
1222
|
+
class ::Vocalist < Sequel::Model
|
1223
|
+
set_primary_key [:first, :last]
|
1224
|
+
plugin :association_pks
|
1225
|
+
end
|
1226
|
+
class ::Instrument < Sequel::Model
|
1227
|
+
plugin :association_pks
|
1228
|
+
end
|
1229
|
+
class ::Hit < Sequel::Model
|
1230
|
+
set_primary_key [:year, :week]
|
1231
|
+
end
|
1232
|
+
end
|
1233
|
+
before do
|
1234
|
+
[:albums_tags, :albums_vocalists, :vocalists_instruments, :vocalists_hits, :hits, :instruments, :vocalists, :tags, :albums, :artists].each{|t| @db[t].delete}
|
1235
|
+
@ar1 =@db[:artists].insert(:name=>'YJM')
|
1236
|
+
@ar2 =@db[:artists].insert(:name=>'AS')
|
1237
|
+
@al1 =@db[:albums].insert(:name=>'RF', :artist_id=>@ar1)
|
1238
|
+
@al2 =@db[:albums].insert(:name=>'MO', :artist_id=>@ar1)
|
1239
|
+
@al3 =@db[:albums].insert(:name=>'T', :artist_id=>@ar1)
|
1240
|
+
@t1 = @db[:tags].insert(:name=>'A')
|
1241
|
+
@t2 = @db[:tags].insert(:name=>'B')
|
1242
|
+
@t3 = @db[:tags].insert(:name=>'C')
|
1243
|
+
{@al1=>[@t1, @t2, @t3], @al2=>[@t2]}.each do |aid, tids|
|
1244
|
+
tids.each{|tid| @db[:albums_tags].insert([aid, tid])}
|
1245
|
+
end
|
1246
|
+
@v1 = ['F1', 'L1']
|
1247
|
+
@v2 = ['F2', 'L2']
|
1248
|
+
@v3 = ['F3', 'L3']
|
1249
|
+
@db[:vocalists].insert(@v1 + [@al1])
|
1250
|
+
@db[:vocalists].insert(@v2 + [@al1])
|
1251
|
+
@db[:vocalists].insert(@v3 + [@al1])
|
1252
|
+
@i1 = @db[:instruments].insert([:first, :last], @v1)
|
1253
|
+
@i2 = @db[:instruments].insert([:first, :last], @v1)
|
1254
|
+
@i3 = @db[:instruments].insert([:first, :last], @v1)
|
1255
|
+
@h1 = [1997, 1]
|
1256
|
+
@h2 = [1997, 2]
|
1257
|
+
@h3 = [1997, 3]
|
1258
|
+
@db[:hits].insert(@h1 + @v1)
|
1259
|
+
@db[:hits].insert(@h2 + @v1)
|
1260
|
+
@db[:hits].insert(@h3 + @v1)
|
1261
|
+
{@al1=>[@v1, @v2, @v3], @al2=>[@v2]}.each do |aid, vids|
|
1262
|
+
vids.each{|vid| @db[:albums_vocalists].insert([aid] + vid)}
|
1263
|
+
end
|
1264
|
+
{@v1=>[@i1, @i2, @i3], @v2=>[@i2]}.each do |vid, iids|
|
1265
|
+
iids.each{|iid| @db[:vocalists_instruments].insert(vid + [iid])}
|
1266
|
+
end
|
1267
|
+
{@v1=>[@h1, @h2, @h3], @v2=>[@h2]}.each do |vid, hids|
|
1268
|
+
hids.each{|hid| @db[:vocalists_hits].insert(vid + hid)}
|
1269
|
+
end
|
1270
|
+
end
|
1271
|
+
after(:all) do
|
1272
|
+
@db.drop_table? :albums_tags, :albums_vocalists, :vocalists_instruments, :vocalists_hits, :hits, :instruments, :vocalists, :tags, :albums, :artists
|
1273
|
+
[:Artist, :Album, :Tag, :Vocalist, :Instrument, :Hit].each{|s| Object.send(:remove_const, s)}
|
1274
|
+
end
|
1275
|
+
|
1276
|
+
it "should return correct associated pks for one_to_many associations" do
|
1277
|
+
Artist.order(:id).all.map{|a| a.album_pks}.must_equal [[@al1, @al2, @al3], []]
|
1278
|
+
end
|
1279
|
+
|
1280
|
+
it "should return correct associated pks for many_to_many associations" do
|
1281
|
+
Album.order(:id).all.map{|a| a.tag_pks.sort}.must_equal [[@t1, @t2, @t3], [@t2], []]
|
1282
|
+
end
|
1283
|
+
|
1284
|
+
it "should return correct associated pks for many_to_many associations using :association_pks_use_associated_table" do
|
1285
|
+
Album.order(:id).all.map{|a| a.uat_tag_pks.sort}.must_equal [[@t1, @t2, @t3], [@t2], []]
|
1286
|
+
end
|
1287
|
+
|
1288
|
+
it "should return correct associated right-side cpks for one_to_many associations" do
|
1289
|
+
Album.one_to_many :vocalists, :order=>:first
|
1290
|
+
Album.order(:id).all.map{|a| a.vocalist_pks.sort}.must_equal [[@v1, @v2, @v3], [], []]
|
1291
|
+
end
|
1292
|
+
|
1293
|
+
it "should return correct associated right-side cpks for many_to_many associations" do
|
1294
|
+
Album.many_to_many :vocalists, :join_table=>:albums_vocalists, :right_key=>[:first, :last], :order=>:first
|
1295
|
+
Album.order(:id).all.map{|a| a.vocalist_pks.sort}.must_equal [[@v1, @v2, @v3], [@v2], []]
|
1296
|
+
end
|
1297
|
+
|
1298
|
+
it "should return correct associated right-side cpks for many_to_many associations when using :association_pks_use_associated_table" do
|
1299
|
+
Album.many_to_many :vocalists, :join_table=>:albums_vocalists, :right_key=>[:first, :last], :order=>Sequel[:vocalists][:first], :association_pks_use_associated_table=>true
|
1300
|
+
Album.order(:id).all.map{|a| a.vocalist_pks.sort}.must_equal [[@v1, @v2, @v3], [@v2], []]
|
1301
|
+
end
|
1302
|
+
|
1303
|
+
it "should return correct associated pks for left-side cpks for one_to_many associations" do
|
1304
|
+
Vocalist.one_to_many :instruments, :key=>[:first, :last], :order=>:id
|
1305
|
+
Vocalist.order(:first, :last).all.map{|a| a.instrument_pks.sort}.must_equal [[@i1, @i2, @i3], [], []]
|
1306
|
+
end
|
1307
|
+
|
1308
|
+
it "should return correct associated pks for left-side cpks for many_to_many associations" do
|
1309
|
+
Vocalist.many_to_many :instruments, :join_table=>:vocalists_instruments, :left_key=>[:first, :last], :order=>:id
|
1310
|
+
Vocalist.order(:first, :last).all.map{|a| a.instrument_pks.sort}.must_equal [[@i1, @i2, @i3], [@i2], []]
|
1311
|
+
end
|
1312
|
+
|
1313
|
+
it "should return correct associated pks for left-side cpks for many_to_many associations when using :association_pks_use_associated_table" do
|
1314
|
+
Vocalist.many_to_many :instruments, :join_table=>:vocalists_instruments, :left_key=>[:first, :last], :order=>:id, :association_pks_use_associated_table=>true
|
1315
|
+
Vocalist.order(:first, :last).all.map{|a| a.instrument_pks.sort}.must_equal [[@i1, @i2, @i3], [@i2], []]
|
1316
|
+
end
|
1317
|
+
|
1318
|
+
it "should return correct associated right-side cpks for left-side cpks for one_to_many associations" do
|
1319
|
+
Vocalist.one_to_many :hits, :key=>[:first, :last], :order=>:week
|
1320
|
+
Vocalist.order(:first, :last).all.map{|a| a.hit_pks.sort}.must_equal [[@h1, @h2, @h3], [], []]
|
1321
|
+
end
|
1322
|
+
|
1323
|
+
it "should return correct associated right-side cpks for left-side cpks for many_to_many associations" do
|
1324
|
+
Vocalist.many_to_many :hits, :join_table=>:vocalists_hits, :left_key=>[:first, :last], :right_key=>[:year, :week], :order=>:week
|
1325
|
+
Vocalist.order(:first, :last).all.map{|a| a.hit_pks.sort}.must_equal [[@h1, @h2, @h3], [@h2], []]
|
1326
|
+
end
|
1327
|
+
|
1328
|
+
it "should return correct associated right-side cpks for left-side cpks for many_to_many associations when using :association_pks_use_associated_table" do
|
1329
|
+
Vocalist.many_to_many :hits, :join_table=>:vocalists_hits, :left_key=>[:first, :last], :right_key=>[:year, :week], :order=>Sequel[:vocalists_hits][:week], :association_pks_use_associated_table=>true
|
1330
|
+
Vocalist.order(:first, :last).all.map{|a| a.hit_pks.sort}.must_equal [[@h1, @h2, @h3], [@h2], []]
|
1331
|
+
end
|
1332
|
+
|
1333
|
+
it "should default to delaying association_pks setter method changes until saving" do
|
1334
|
+
album_class = Class.new(Album)
|
1335
|
+
album_class.many_to_many :tags, :clone=>:tags, :delay_pks=>true, :join_table=>:albums_tags, :left_key=>:album_id
|
1336
|
+
album = album_class.with_pk!(@al1)
|
1337
|
+
album.tag_pks.sort.must_equal [@t1, @t2, @t3]
|
1338
|
+
album.tag_pks = [@t1, @t2]
|
1339
|
+
album.tag_pks.must_equal [@t1, @t2]
|
1340
|
+
album.save_changes
|
1341
|
+
album_class.with_pk!(album.pk).tag_pks.sort.must_equal [@t1, @t2]
|
1342
|
+
|
1343
|
+
album.tag_pks = []
|
1344
|
+
album.tag_pks.must_equal []
|
1345
|
+
album.save_changes
|
1346
|
+
album_class.with_pk!(album.pk).tag_pks.sort.must_equal []
|
1347
|
+
end
|
1348
|
+
|
1349
|
+
it "should set associated pks correctly for a one_to_many association" do
|
1350
|
+
Artist.use_transactions = true
|
1351
|
+
Album.order(:id).select_map(:artist_id).must_equal [@ar1, @ar1, @ar1]
|
1352
|
+
|
1353
|
+
Artist[@ar2].album_pks = [@al1, @al3]
|
1354
|
+
Artist[@ar1].album_pks.must_equal [@al2]
|
1355
|
+
Album.order(:id).select_map(:artist_id).must_equal [@ar2, @ar1, @ar2]
|
1356
|
+
|
1357
|
+
Artist[@ar1].album_pks = [@al1]
|
1358
|
+
Artist[@ar2].album_pks.must_equal [@al3]
|
1359
|
+
Album.order(:id).select_map(:artist_id).must_equal [@ar1, nil, @ar2]
|
1360
|
+
|
1361
|
+
Artist[@ar1].album_pks = [@al1, @al2]
|
1362
|
+
Artist[@ar2].album_pks.must_equal [@al3]
|
1363
|
+
Album.order(:id).select_map(:artist_id).must_equal [@ar1, @ar1, @ar2]
|
1364
|
+
|
1365
|
+
Artist[@ar1].album_pks = []
|
1366
|
+
Album.order(:id).select_map(:artist_id).must_equal [nil, nil, @ar2]
|
1367
|
+
end
|
1368
|
+
|
1369
|
+
it "should set associated pks correctly for a many_to_many association" do
|
1370
|
+
Artist.use_transactions = true
|
1371
|
+
@db[:albums_tags].filter(:album_id=>@al1).select_order_map(:tag_id).must_equal [@t1, @t2, @t3]
|
1372
|
+
Album[@al1].tag_pks = [@t1, @t3]
|
1373
|
+
@db[:albums_tags].filter(:album_id=>@al1).select_order_map(:tag_id).must_equal [@t1, @t3]
|
1374
|
+
Album[@al1].tag_pks = []
|
1375
|
+
@db[:albums_tags].filter(:album_id=>@al1).select_order_map(:tag_id).must_equal []
|
1376
|
+
|
1377
|
+
@db[:albums_tags].filter(:album_id=>@al2).select_order_map(:tag_id).must_equal [@t2]
|
1378
|
+
Album[@al2].tag_pks = [@t1, @t2]
|
1379
|
+
@db[:albums_tags].filter(:album_id=>@al2).select_order_map(:tag_id).must_equal [@t1, @t2]
|
1380
|
+
Album[@al2].tag_pks = []
|
1381
|
+
@db[:albums_tags].filter(:album_id=>@al1).select_order_map(:tag_id).must_equal []
|
1382
|
+
|
1383
|
+
@db[:albums_tags].filter(:album_id=>@al3).select_order_map(:tag_id).must_equal []
|
1384
|
+
Album[@al3].tag_pks = [@t1, @t3]
|
1385
|
+
@db[:albums_tags].filter(:album_id=>@al3).select_order_map(:tag_id).must_equal [@t1, @t3]
|
1386
|
+
Album[@al3].tag_pks = []
|
1387
|
+
@db[:albums_tags].filter(:album_id=>@al1).select_order_map(:tag_id).must_equal []
|
1388
|
+
end
|
1389
|
+
|
1390
|
+
it "should set associated right-side cpks correctly for a one_to_many association" do
|
1391
|
+
Album.use_transactions = true
|
1392
|
+
Album.one_to_many :vocalists, :order=>:first, :delay_pks=>false
|
1393
|
+
Album.order(:id).all.map{|a| a.vocalist_pks.sort}.must_equal [[@v1, @v2, @v3], [], []]
|
1394
|
+
|
1395
|
+
Album[@al2].vocalist_pks = [@v1, @v3]
|
1396
|
+
Album[@al1].vocalist_pks.must_equal [@v2]
|
1397
|
+
Vocalist.order(:first, :last).select_map(:album_id).must_equal [@al2, @al1, @al2]
|
1398
|
+
|
1399
|
+
Album[@al1].vocalist_pks = [@v1]
|
1400
|
+
Album[@al2].vocalist_pks.must_equal [@v3]
|
1401
|
+
Vocalist.order(:first, :last).select_map(:album_id).must_equal [@al1, nil, @al2]
|
1402
|
+
|
1403
|
+
Album[@al1].vocalist_pks = [@v1, @v2]
|
1404
|
+
Album[@al2].vocalist_pks.must_equal [@v3]
|
1405
|
+
Vocalist.order(:first, :last).select_map(:album_id).must_equal [@al1, @al1, @al2]
|
1406
|
+
|
1407
|
+
Album[@al1].vocalist_pks = []
|
1408
|
+
Vocalist.order(:first, :last).select_map(:album_id).must_equal [nil, nil, @al2]
|
1409
|
+
end
|
1410
|
+
|
1411
|
+
it "should set associated right-side cpks correctly for a many_to_many association" do
|
1412
|
+
Album.use_transactions = true
|
1413
|
+
Album.many_to_many :vocalists, :join_table=>:albums_vocalists, :right_key=>[:first, :last], :order=>:first, :delay_pks=>false
|
1414
|
+
|
1415
|
+
@db[:albums_vocalists].filter(:album_id=>@al1).select_order_map([:first, :last]).must_equal [@v1, @v2, @v3]
|
1416
|
+
Album[@al1].vocalist_pks = [@v1, @v3]
|
1417
|
+
@db[:albums_vocalists].filter(:album_id=>@al1).select_order_map([:first, :last]).must_equal [@v1, @v3]
|
1418
|
+
Album[@al1].vocalist_pks = []
|
1419
|
+
@db[:albums_vocalists].filter(:album_id=>@al1).select_order_map([:first, :last]).must_equal []
|
1420
|
+
|
1421
|
+
@db[:albums_vocalists].filter(:album_id=>@al2).select_order_map([:first, :last]).must_equal [@v2]
|
1422
|
+
Album[@al2].vocalist_pks = [@v1, @v2]
|
1423
|
+
@db[:albums_vocalists].filter(:album_id=>@al2).select_order_map([:first, :last]).must_equal [@v1, @v2]
|
1424
|
+
Album[@al2].vocalist_pks = []
|
1425
|
+
@db[:albums_vocalists].filter(:album_id=>@al1).select_order_map([:first, :last]).must_equal []
|
1426
|
+
|
1427
|
+
@db[:albums_vocalists].filter(:album_id=>@al3).select_order_map([:first, :last]).must_equal []
|
1428
|
+
Album[@al3].vocalist_pks = [@v1, @v3]
|
1429
|
+
@db[:albums_vocalists].filter(:album_id=>@al3).select_order_map([:first, :last]).must_equal [@v1, @v3]
|
1430
|
+
Album[@al3].vocalist_pks = []
|
1431
|
+
@db[:albums_vocalists].filter(:album_id=>@al1).select_order_map([:first, :last]).must_equal []
|
1432
|
+
end
|
1433
|
+
|
1434
|
+
it "should set associated pks correctly with left-side cpks for a one_to_many association" do
|
1435
|
+
Vocalist.use_transactions = true
|
1436
|
+
Vocalist.one_to_many :instruments, :key=>[:first, :last], :order=>:id, :delay_pks=>false
|
1437
|
+
Vocalist.order(:first, :last).all.map{|a| a.instrument_pks.sort}.must_equal [[@i1, @i2, @i3], [], []]
|
1438
|
+
|
1439
|
+
Vocalist[@v2].instrument_pks = [@i1, @i3]
|
1440
|
+
Vocalist[@v1].instrument_pks.must_equal [@i2]
|
1441
|
+
Instrument.order(:id).select_map([:first, :last]).must_equal [@v2, @v1, @v2]
|
1442
|
+
|
1443
|
+
Vocalist[@v1].instrument_pks = [@i1]
|
1444
|
+
Vocalist[@v2].instrument_pks.must_equal [@i3]
|
1445
|
+
Instrument.order(:id).select_map([:first, :last]).must_equal [@v1, [nil, nil], @v2]
|
1446
|
+
|
1447
|
+
Vocalist[@v1].instrument_pks = [@i1, @i2]
|
1448
|
+
Vocalist[@v2].instrument_pks.must_equal [@i3]
|
1449
|
+
Instrument.order(:id).select_map([:first, :last]).must_equal [@v1, @v1, @v2]
|
1450
|
+
|
1451
|
+
Vocalist[@v1].instrument_pks = []
|
1452
|
+
Instrument.order(:id).select_map([:first, :last]).must_equal [[nil, nil], [nil, nil], @v2]
|
1453
|
+
end
|
1454
|
+
|
1455
|
+
it "should set associated pks correctly with left-side cpks for a many_to_many association" do
|
1456
|
+
Vocalist.use_transactions = true
|
1457
|
+
Vocalist.many_to_many :instruments, :join_table=>:vocalists_instruments, :left_key=>[:first, :last], :order=>:id, :delay_pks=>false
|
1458
|
+
|
1459
|
+
@db[:vocalists_instruments].filter([:first, :last]=>[@v1]).select_order_map(:instrument_id).must_equal [@i1, @i2, @i3]
|
1460
|
+
Vocalist[@v1].instrument_pks = [@i1, @i3]
|
1461
|
+
@db[:vocalists_instruments].filter([:first, :last]=>[@v1]).select_order_map(:instrument_id).must_equal [@i1, @i3]
|
1462
|
+
Vocalist[@v1].instrument_pks = []
|
1463
|
+
@db[:vocalists_instruments].filter([:first, :last]=>[@v1]).select_order_map(:instrument_id).must_equal []
|
1464
|
+
|
1465
|
+
@db[:vocalists_instruments].filter([:first, :last]=>[@v2]).select_order_map(:instrument_id).must_equal [@i2]
|
1466
|
+
Vocalist[@v2].instrument_pks = [@i1, @i2]
|
1467
|
+
@db[:vocalists_instruments].filter([:first, :last]=>[@v2]).select_order_map(:instrument_id).must_equal [@i1, @i2]
|
1468
|
+
Vocalist[@v2].instrument_pks = []
|
1469
|
+
@db[:vocalists_instruments].filter([:first, :last]=>[@v1]).select_order_map(:instrument_id).must_equal []
|
1470
|
+
|
1471
|
+
@db[:vocalists_instruments].filter([:first, :last]=>[@v3]).select_order_map(:instrument_id).must_equal []
|
1472
|
+
Vocalist[@v3].instrument_pks = [@i1, @i3]
|
1473
|
+
@db[:vocalists_instruments].filter([:first, :last]=>[@v3]).select_order_map(:instrument_id).must_equal [@i1, @i3]
|
1474
|
+
Vocalist[@v3].instrument_pks = []
|
1475
|
+
@db[:vocalists_instruments].filter([:first, :last]=>[@v1]).select_order_map(:instrument_id).must_equal []
|
1476
|
+
end
|
1477
|
+
|
1478
|
+
it "should set associated right-side cpks correctly with left-side cpks for a one_to_many association" do
|
1479
|
+
Vocalist.use_transactions = true
|
1480
|
+
Vocalist.one_to_many :hits, :key=>[:first, :last], :order=>:week, :delay_pks=>false
|
1481
|
+
Vocalist.order(:first, :last).all.map{|a| a.hit_pks.sort}.must_equal [[@h1, @h2, @h3], [], []]
|
1482
|
+
|
1483
|
+
Vocalist[@v2].hit_pks = [@h1, @h3]
|
1484
|
+
Vocalist[@v1].hit_pks.must_equal [@h2]
|
1485
|
+
Hit.order(:year, :week).select_map([:first, :last]).must_equal [@v2, @v1, @v2]
|
1486
|
+
|
1487
|
+
Vocalist[@v1].hit_pks = [@h1]
|
1488
|
+
Vocalist[@v2].hit_pks.must_equal [@h3]
|
1489
|
+
Hit.order(:year, :week).select_map([:first, :last]).must_equal [@v1, [nil, nil], @v2]
|
1490
|
+
|
1491
|
+
Vocalist[@v1].hit_pks = [@h1, @h2]
|
1492
|
+
Vocalist[@v2].hit_pks.must_equal [@h3]
|
1493
|
+
Hit.order(:year, :week).select_map([:first, :last]).must_equal [@v1, @v1, @v2]
|
1494
|
+
|
1495
|
+
Vocalist[@v1].hit_pks = []
|
1496
|
+
Hit.order(:year, :week).select_map([:first, :last]).must_equal [[nil, nil], [nil, nil], @v2]
|
1497
|
+
end
|
1498
|
+
|
1499
|
+
it "should set associated right-side cpks correctly with left-side cpks for a many_to_many association" do
|
1500
|
+
Vocalist.use_transactions = true
|
1501
|
+
Vocalist.many_to_many :hits, :join_table=>:vocalists_hits, :left_key=>[:first, :last], :right_key=>[:year, :week], :order=>:week, :delay_pks=>false
|
1502
|
+
|
1503
|
+
@db[:vocalists_hits].filter([:first, :last]=>[@v1]).select_order_map([:year, :week]).must_equal [@h1, @h2, @h3]
|
1504
|
+
Vocalist[@v1].hit_pks = [@h1, @h3]
|
1505
|
+
@db[:vocalists_hits].filter([:first, :last]=>[@v1]).select_order_map([:year, :week]).must_equal [@h1, @h3]
|
1506
|
+
Vocalist[@v1].hit_pks = []
|
1507
|
+
@db[:vocalists_hits].filter([:first, :last]=>[@v1]).select_order_map([:year, :week]).must_equal []
|
1508
|
+
|
1509
|
+
@db[:vocalists_hits].filter([:first, :last]=>[@v2]).select_order_map([:year, :week]).must_equal [@h2]
|
1510
|
+
Vocalist[@v2].hit_pks = [@h1, @h2]
|
1511
|
+
@db[:vocalists_hits].filter([:first, :last]=>[@v2]).select_order_map([:year, :week]).must_equal [@h1, @h2]
|
1512
|
+
Vocalist[@v2].hit_pks = []
|
1513
|
+
@db[:vocalists_hits].filter([:first, :last]=>[@v1]).select_order_map([:year, :week]).must_equal []
|
1514
|
+
|
1515
|
+
@db[:vocalists_hits].filter([:first, :last]=>[@v3]).select_order_map([:year, :week]).must_equal []
|
1516
|
+
Vocalist[@v3].hit_pks = [@h1, @h3]
|
1517
|
+
@db[:vocalists_hits].filter([:first, :last]=>[@v3]).select_order_map([:year, :week]).must_equal [@h1, @h3]
|
1518
|
+
Vocalist[@v3].hit_pks = []
|
1519
|
+
@db[:vocalists_hits].filter([:first, :last]=>[@v1]).select_order_map([:year, :week]).must_equal []
|
1520
|
+
end
|
1521
|
+
end
|
1522
|
+
|
1523
|
+
describe "List plugin without a scope" do
|
1524
|
+
before(:all) do
|
1525
|
+
@db = DB
|
1526
|
+
@db.create_table!(:sites) do
|
1527
|
+
primary_key :id
|
1528
|
+
String :name
|
1529
|
+
Integer :position
|
1530
|
+
end
|
1531
|
+
|
1532
|
+
@c = Class.new(Sequel::Model(@db[:sites]))
|
1533
|
+
@c.plugin :list
|
1534
|
+
end
|
1535
|
+
before do
|
1536
|
+
@c.dataset.delete
|
1537
|
+
@c.create :name => "abc"
|
1538
|
+
@c.create :name => "def"
|
1539
|
+
@c.create :name => "hig"
|
1540
|
+
end
|
1541
|
+
after(:all) do
|
1542
|
+
@db.drop_table?(:sites)
|
1543
|
+
end
|
1544
|
+
|
1545
|
+
it "should return rows in order of position" do
|
1546
|
+
@c.map(:position).must_equal [1,2,3]
|
1547
|
+
@c.map(:name).must_equal %w[ abc def hig ]
|
1548
|
+
end
|
1549
|
+
|
1550
|
+
it "should define prev and next" do
|
1551
|
+
i = @c[:name => "abc"]
|
1552
|
+
i.prev.must_be_nil
|
1553
|
+
i = @c[:name => "def"]
|
1554
|
+
i.prev.must_equal @c[:name => "abc"]
|
1555
|
+
i.next.must_equal @c[:name => "hig"]
|
1556
|
+
i = @c[:name => "hig"]
|
1557
|
+
i.next.must_be_nil
|
1558
|
+
end
|
1559
|
+
|
1560
|
+
it "should define move_to" do
|
1561
|
+
@c[:name => "def"].move_to(1)
|
1562
|
+
@c.map(:name).must_equal %w[ def abc hig ]
|
1563
|
+
|
1564
|
+
@c[:name => "abc"].move_to(3)
|
1565
|
+
@c.map(:name).must_equal %w[ def hig abc ]
|
1566
|
+
|
1567
|
+
@c[:name => "abc"].move_to(-1)
|
1568
|
+
@c.map(:name).must_equal %w[ abc def hig ]
|
1569
|
+
@c[:name => "abc"].move_to(10)
|
1570
|
+
@c.map(:name).must_equal %w[ def hig abc ]
|
1571
|
+
end
|
1572
|
+
|
1573
|
+
it "should define move_to_top and move_to_bottom" do
|
1574
|
+
@c[:name => "def"].move_to_top
|
1575
|
+
@c.map(:name).must_equal %w[ def abc hig ]
|
1576
|
+
|
1577
|
+
@c[:name => "def"].move_to_bottom
|
1578
|
+
@c.map(:name).must_equal %w[ abc hig def ]
|
1579
|
+
end
|
1580
|
+
|
1581
|
+
it "should define move_up and move_down" do
|
1582
|
+
@c[:name => "def"].move_up
|
1583
|
+
@c.map(:name).must_equal %w[ def abc hig ]
|
1584
|
+
|
1585
|
+
@c[:name => "abc"].move_down
|
1586
|
+
@c.map(:name).must_equal %w[ def hig abc ]
|
1587
|
+
|
1588
|
+
@c[:name => "abc"].move_up(2)
|
1589
|
+
@c.map(:name).must_equal %w[ abc def hig ]
|
1590
|
+
|
1591
|
+
@c[:name => "abc"].move_down(2)
|
1592
|
+
@c.map(:name).must_equal %w[ def hig abc ]
|
1593
|
+
|
1594
|
+
@c[:name => "abc"].move_up(10)
|
1595
|
+
@c.map(:name).must_equal %w[ abc def hig ]
|
1596
|
+
@c[:name => "abc"].move_down(10)
|
1597
|
+
@c.map(:name).must_equal %w[ def hig abc ]
|
1598
|
+
end
|
1599
|
+
|
1600
|
+
it "should update positions on destroy" do
|
1601
|
+
@c[:name => "def"].destroy
|
1602
|
+
@c.select_map([:position, :name]).must_equal [[1, 'abc'], [2, 'hig']]
|
1603
|
+
end
|
1604
|
+
end
|
1605
|
+
|
1606
|
+
describe "List plugin with a scope" do
|
1607
|
+
before(:all) do
|
1608
|
+
@db = DB
|
1609
|
+
@db.create_table!(:pages) do
|
1610
|
+
primary_key :id
|
1611
|
+
String :name
|
1612
|
+
Integer :pos
|
1613
|
+
Integer :parent_id
|
1614
|
+
end
|
1615
|
+
|
1616
|
+
@c = Class.new(Sequel::Model(@db[:pages]))
|
1617
|
+
@c.plugin :list, :field => :pos, :scope => :parent_id
|
1618
|
+
end
|
1619
|
+
before do
|
1620
|
+
@c.dataset.delete
|
1621
|
+
p1 = @c.create :name => "Hm", :parent_id => 0
|
1622
|
+
p2 = @c.create :name => "Ps", :parent_id => p1.id
|
1623
|
+
@c.create :name => "P1", :parent_id => p2.id
|
1624
|
+
@c.create :name => "P2", :parent_id => p2.id
|
1625
|
+
@c.create :name => "P3", :parent_id => p2.id
|
1626
|
+
@c.create :name => "Au", :parent_id => p1.id
|
1627
|
+
end
|
1628
|
+
after(:all) do
|
1629
|
+
@db.drop_table?(:pages)
|
1630
|
+
end
|
1631
|
+
|
1632
|
+
it "should return rows in order of position" do
|
1633
|
+
@c.map(:name).must_equal %w[ Hm Ps Au P1 P2 P3 ]
|
1634
|
+
end
|
1635
|
+
|
1636
|
+
it "should define prev and next" do
|
1637
|
+
@c[:name => "Ps"].next.name.must_equal 'Au'
|
1638
|
+
@c[:name => "Au"].prev.name.must_equal 'Ps'
|
1639
|
+
@c[:name => "P1"].next.name.must_equal 'P2'
|
1640
|
+
@c[:name => "P2"].prev.name.must_equal 'P1'
|
1641
|
+
|
1642
|
+
@c[:name => "P1"].next(2).name.must_equal 'P3'
|
1643
|
+
@c[:name => "P2"].next(-1).name.must_equal 'P1'
|
1644
|
+
@c[:name => "P3"].prev(2).name.must_equal 'P1'
|
1645
|
+
@c[:name => "P2"].prev(-1).name.must_equal 'P3'
|
1646
|
+
|
1647
|
+
@c[:name => "Ps"].prev.must_be_nil
|
1648
|
+
@c[:name => "Au"].next.must_be_nil
|
1649
|
+
@c[:name => "P1"].prev.must_be_nil
|
1650
|
+
@c[:name => "P3"].next.must_be_nil
|
1651
|
+
end
|
1652
|
+
|
1653
|
+
it "should define move_to" do
|
1654
|
+
@c[:name => "P2"].move_to(1)
|
1655
|
+
@c.map(:name).must_equal %w[ Hm Ps Au P2 P1 P3 ]
|
1656
|
+
|
1657
|
+
@c[:name => "P2"].move_to(3)
|
1658
|
+
@c.map(:name).must_equal %w[ Hm Ps Au P1 P3 P2 ]
|
1659
|
+
|
1660
|
+
@c[:name => "P2"].move_to(-1)
|
1661
|
+
@c.map(:name).must_equal %w[ Hm Ps Au P2 P1 P3 ]
|
1662
|
+
@c[:name => "P2"].move_to(10)
|
1663
|
+
@c.map(:name).must_equal %w[ Hm Ps Au P1 P3 P2 ]
|
1664
|
+
end
|
1665
|
+
|
1666
|
+
it "should define move_to_top and move_to_bottom" do
|
1667
|
+
@c[:name => "Au"].move_to_top
|
1668
|
+
@c.map(:name).must_equal %w[ Hm Au Ps P1 P2 P3 ]
|
1669
|
+
|
1670
|
+
@c[:name => "Au"].move_to_bottom
|
1671
|
+
@c.map(:name).must_equal %w[ Hm Ps Au P1 P2 P3 ]
|
1672
|
+
end
|
1673
|
+
|
1674
|
+
it "should define move_up and move_down" do
|
1675
|
+
@c[:name => "P2"].move_up
|
1676
|
+
@c.map(:name).must_equal %w[ Hm Ps Au P2 P1 P3 ]
|
1677
|
+
|
1678
|
+
@c[:name => "P1"].move_down
|
1679
|
+
@c.map(:name).must_equal %w[ Hm Ps Au P2 P3 P1 ]
|
1680
|
+
|
1681
|
+
@c[:name => "P1"].move_up(10)
|
1682
|
+
@c.map(:name).must_equal %w[ Hm Ps Au P1 P2 P3 ]
|
1683
|
+
@c[:name => "P1"].move_down(10)
|
1684
|
+
@c.map(:name).must_equal %w[ Hm Ps Au P2 P3 P1 ]
|
1685
|
+
end
|
1686
|
+
|
1687
|
+
it "should update positions on destroy" do
|
1688
|
+
@c[:name => "P2"].destroy
|
1689
|
+
@c.select_order_map([:pos, :name]).must_equal [[1, "Hm"], [1, "P1"], [1, "Ps"], [2, "Au"], [2, "P3"]]
|
1690
|
+
end
|
1691
|
+
end
|
1692
|
+
|
1693
|
+
describe "Sequel::Plugins::Tree" do
|
1694
|
+
TreePluginSpecs = shared_description do
|
1695
|
+
it "should instantiate" do
|
1696
|
+
@Node.all.size.must_equal 12
|
1697
|
+
end
|
1698
|
+
|
1699
|
+
it "should find all descendants of a node" do
|
1700
|
+
@Node.find(:name => 'two').descendants.map{|m| m.name}.must_equal %w'two.one two.two two.three two.two.one'
|
1701
|
+
end
|
1702
|
+
|
1703
|
+
it "should find all ancestors of a node" do
|
1704
|
+
@Node.find(:name => "two.two.one").ancestors.map{|m| m.name}.must_equal %w'two.two two'
|
1705
|
+
end
|
1706
|
+
|
1707
|
+
it "should find all siblings of a node, excepting self" do
|
1708
|
+
@Node.find(:name=>"two.one").siblings.map{|m| m.name}.must_equal %w'two.two two.three'
|
1709
|
+
end
|
1710
|
+
|
1711
|
+
it "should find all siblings of a node, including self" do
|
1712
|
+
@Node.find(:name=>"two.one").self_and_siblings.map{|m| m.name}.must_equal %w'two.one two.two two.three'
|
1713
|
+
end
|
1714
|
+
|
1715
|
+
it "should find siblings for root nodes" do
|
1716
|
+
@Node.find(:name=>'three').self_and_siblings.map{|m| m.name}.must_equal %w'one two three four five'
|
1717
|
+
end
|
1718
|
+
|
1719
|
+
it "should find correct root for a node" do
|
1720
|
+
@Node.find(:name=>"two.two.one").root.name.must_equal 'two'
|
1721
|
+
@Node.find(:name=>"three").root.name.must_equal 'three'
|
1722
|
+
@Node.find(:name=>"five.one").root.name.must_equal 'five'
|
1723
|
+
end
|
1724
|
+
|
1725
|
+
it "iterate top-level nodes in order" do
|
1726
|
+
@Node.roots_dataset.count.must_equal 5
|
1727
|
+
@Node.roots.map(&:name).must_equal %w'one two three four five'
|
1728
|
+
@Node.where(:name=>%w'one two.one').roots_dataset.count.must_equal 1
|
1729
|
+
@Node.where(:name=>%w'one two.one').roots.map(&:name).must_equal %w'one'
|
1730
|
+
end
|
1731
|
+
|
1732
|
+
it "should have children" do
|
1733
|
+
@Node.find(:name=>'one').children.map{|m| m.name}.must_equal %w'one.one one.two'
|
1734
|
+
end
|
1735
|
+
end
|
1736
|
+
|
1737
|
+
describe "with simple key" do
|
1738
|
+
before(:all) do
|
1739
|
+
@db = DB
|
1740
|
+
@db.create_table!(:nodes) do
|
1741
|
+
Integer :id, :primary_key=>true
|
1742
|
+
String :name
|
1743
|
+
Integer :parent_id
|
1744
|
+
Integer :position
|
1745
|
+
end
|
1746
|
+
|
1747
|
+
@nodes = [{:id => 1, :name => 'one', :parent_id => nil, :position => 1},
|
1748
|
+
{:id => 2, :name => 'two', :parent_id => nil, :position => 2},
|
1749
|
+
{:id => 3, :name => 'three', :parent_id => nil, :position => 3},
|
1750
|
+
{:id => 4, :name => "two.one", :parent_id => 2, :position => 1},
|
1751
|
+
{:id => 5, :name => "two.two", :parent_id => 2, :position => 2},
|
1752
|
+
{:id => 6, :name => "two.two.one", :parent_id => 5, :position => 1},
|
1753
|
+
{:id => 7, :name => "one.two", :parent_id => 1, :position => 2},
|
1754
|
+
{:id => 8, :name => "one.one", :parent_id => 1, :position => 1},
|
1755
|
+
{:id => 9, :name => "five", :parent_id => nil, :position => 5},
|
1756
|
+
{:id => 10, :name => "four", :parent_id => nil, :position => 4},
|
1757
|
+
{:id => 11, :name => "five.one", :parent_id => 9, :position => 1},
|
1758
|
+
{:id => 12, :name => "two.three", :parent_id => 2, :position => 3}]
|
1759
|
+
@nodes.each{|node| @db[:nodes].insert(node)}
|
1760
|
+
|
1761
|
+
@Node = Class.new(Sequel::Model(:nodes))
|
1762
|
+
@Node.plugin :tree, :order=>:position
|
1763
|
+
end
|
1764
|
+
after(:all) do
|
1765
|
+
@db.drop_table?(:nodes)
|
1766
|
+
end
|
1767
|
+
|
1768
|
+
include TreePluginSpecs
|
1769
|
+
end
|
1770
|
+
|
1771
|
+
describe "with composite key" do
|
1772
|
+
before(:all) do
|
1773
|
+
@db = DB
|
1774
|
+
@db.create_table!(:nodes) do
|
1775
|
+
Integer :id
|
1776
|
+
Integer :id2
|
1777
|
+
String :name
|
1778
|
+
Integer :parent_id
|
1779
|
+
Integer :parent_id2
|
1780
|
+
Integer :position
|
1781
|
+
primary_key [:id, :id2]
|
1782
|
+
end
|
1783
|
+
|
1784
|
+
@nodes = [{:id => 1, :id2=> 1, :name => 'one', :parent_id => nil, :parent_id2 => nil, :position => 1},
|
1785
|
+
{:id => 2, :id2=> 1, :name => 'two', :parent_id => nil, :parent_id2 => nil, :position => 2},
|
1786
|
+
{:id => 1, :id2=> 2, :name => 'three', :parent_id => nil, :parent_id2 => nil, :position => 3},
|
1787
|
+
{:id => 2, :id2=> 2, :name => "two.one", :parent_id => 2, :parent_id2 => 1, :position => 1},
|
1788
|
+
{:id => 3, :id2=> 1, :name => "two.two", :parent_id => 2, :parent_id2 => 1, :position => 2},
|
1789
|
+
{:id => 3, :id2=> 2, :name => "two.two.one", :parent_id => 3, :parent_id2 => 1, :position => 1},
|
1790
|
+
{:id => 3, :id2=> 3, :name => "one.two", :parent_id => 1, :parent_id2 => 1, :position => 2},
|
1791
|
+
{:id => 1, :id2=> 3, :name => "one.one", :parent_id => 1, :parent_id2 => 1, :position => 1},
|
1792
|
+
{:id => 2, :id2=> 3, :name => "five", :parent_id => nil, :parent_id2 => nil, :position => 5},
|
1793
|
+
{:id => 4, :id2=> 1, :name => "four", :parent_id => nil, :parent_id2 => nil, :position => 4},
|
1794
|
+
{:id => 1, :id2=> 4, :name => "five.one", :parent_id => 2, :parent_id2 => 3, :position => 1},
|
1795
|
+
{:id => 2, :id2=> 4, :name => "two.three", :parent_id => 2, :parent_id2 => 1, :position => 3}]
|
1796
|
+
@nodes.each{|node| @db[:nodes].insert(node)}
|
1797
|
+
|
1798
|
+
@Node = Class.new(Sequel::Model(:nodes))
|
1799
|
+
@Node.plugin :tree, :order=>:position, :key=>[:parent_id, :parent_id2]
|
1800
|
+
end
|
1801
|
+
after(:all) do
|
1802
|
+
@db.drop_table?(:nodes)
|
1803
|
+
end
|
1804
|
+
|
1805
|
+
include TreePluginSpecs
|
1806
|
+
end
|
1807
|
+
end
|
1808
|
+
|
1809
|
+
describe "Sequel::Plugins::UpdateRefresh" do
|
1810
|
+
before(:all) do
|
1811
|
+
@db = DB
|
1812
|
+
@db.create_table!(:tests) do
|
1813
|
+
primary_key :id
|
1814
|
+
String :name
|
1815
|
+
Integer :i
|
1816
|
+
end
|
1817
|
+
@c = Class.new(Sequel::Model(@db[:tests]))
|
1818
|
+
@c.plugin :update_refresh
|
1819
|
+
end
|
1820
|
+
before do
|
1821
|
+
@c.dataset.delete
|
1822
|
+
@foo = @c.create(:name=>'foo', :i=>10)
|
1823
|
+
end
|
1824
|
+
after(:all) do
|
1825
|
+
@db.drop_table?(:tests)
|
1826
|
+
end
|
1827
|
+
|
1828
|
+
it "should refresh when updating" do
|
1829
|
+
@foo.this.update(:i=>20)
|
1830
|
+
@foo.update(:name=>'bar')
|
1831
|
+
@foo.name.must_equal 'bar'
|
1832
|
+
@foo.i.must_equal 20
|
1833
|
+
end
|
1834
|
+
end
|
1835
|
+
|
1836
|
+
describe "Sequel::Plugins::PreparedStatements" do
|
1837
|
+
before(:all) do
|
1838
|
+
@db = DB
|
1839
|
+
@db.create_table!(:ps_test) do
|
1840
|
+
primary_key :id
|
1841
|
+
String :name
|
1842
|
+
Integer :i
|
1843
|
+
end
|
1844
|
+
@c = Class.new(Sequel::Model(@db[:ps_test]))
|
1845
|
+
end
|
1846
|
+
before do
|
1847
|
+
@c.dataset.delete
|
1848
|
+
@foo = @c.create(:name=>'foo', :i=>10)
|
1849
|
+
@bar = @c.create(:name=>'bar', :i=>20)
|
1850
|
+
end
|
1851
|
+
after(:all) do
|
1852
|
+
@db.drop_table?(:ps_test)
|
1853
|
+
end
|
1854
|
+
|
1855
|
+
it "should work with looking up using Model.[]" do
|
1856
|
+
@c[@foo.id].must_equal @foo
|
1857
|
+
@c[@bar.id].must_equal @bar
|
1858
|
+
@c[0].must_be_nil
|
1859
|
+
@c[nil].must_be_nil
|
1860
|
+
end
|
1861
|
+
|
1862
|
+
it "should work with looking up using Dataset#with_pk" do
|
1863
|
+
@c.dataset.with_pk(@foo.id).must_equal @foo
|
1864
|
+
@c.dataset.with_pk(@bar.id).must_equal @bar
|
1865
|
+
@c.dataset.with_pk(0).must_be_nil
|
1866
|
+
@c.dataset.with_pk(nil).must_be_nil
|
1867
|
+
|
1868
|
+
@c.dataset.filter(:i=>0).with_pk(@foo.id).must_be_nil
|
1869
|
+
@c.dataset.filter(:i=>10).with_pk(@foo.id).must_equal @foo
|
1870
|
+
@c.dataset.filter(:i=>20).with_pk(@bar.id).must_equal @bar
|
1871
|
+
@c.dataset.filter(:i=>10).with_pk(nil).must_be_nil
|
1872
|
+
@c.dataset.filter(:name=>'foo').with_pk(@foo.id).must_equal @foo
|
1873
|
+
@c.dataset.filter(:name=>'bar').with_pk(@bar.id).must_equal @bar
|
1874
|
+
@c.dataset.filter(:name=>'baz').with_pk(@bar.id).must_be_nil
|
1875
|
+
@c.dataset.filter(:name=>'bar').with_pk(nil).must_be_nil
|
1876
|
+
end
|
1877
|
+
|
1878
|
+
it "should work with Model#destroy" do
|
1879
|
+
@foo.destroy
|
1880
|
+
@bar.destroy
|
1881
|
+
@c[@foo.id].must_be_nil
|
1882
|
+
@c[@bar.id].must_be_nil
|
1883
|
+
end
|
1884
|
+
|
1885
|
+
it "should work with Model#update" do
|
1886
|
+
@foo.update(:name=>'foo2', :i=>30)
|
1887
|
+
@c[@foo.id].must_equal @c.load(:id=>@foo.id, :name=>'foo2', :i=>30)
|
1888
|
+
@foo.update(:name=>'foo3')
|
1889
|
+
@c[@foo.id].must_equal @c.load(:id=>@foo.id, :name=>'foo3', :i=>30)
|
1890
|
+
@foo.update(:i=>40)
|
1891
|
+
@c[@foo.id].must_equal @c.load(:id=>@foo.id, :name=>'foo3', :i=>40)
|
1892
|
+
@foo.update(:i=>nil)
|
1893
|
+
@c[@foo.id].must_equal @c.load(:id=>@foo.id, :name=>'foo3', :i=>nil)
|
1894
|
+
end
|
1895
|
+
|
1896
|
+
it "should work with Model#create" do
|
1897
|
+
o = @c.create(:name=>'foo2', :i=>30)
|
1898
|
+
@c[o.id].must_equal @c.load(:id=>o.id, :name=>'foo2', :i=>30)
|
1899
|
+
o = @c.create(:name=>'foo2')
|
1900
|
+
@c[o.id].must_equal @c.load(:id=>o.id, :name=>'foo2', :i=>nil)
|
1901
|
+
o = @c.create(:i=>30)
|
1902
|
+
@c[o.id].must_equal @c.load(:id=>o.id, :name=>nil, :i=>30)
|
1903
|
+
o = @c.create(:name=>nil, :i=>40)
|
1904
|
+
@c[o.id].must_equal @c.load(:id=>o.id, :name=>nil, :i=>40)
|
1905
|
+
end
|
1906
|
+
end
|
1907
|
+
|
1908
|
+
describe "Sequel::Plugins::PreparedStatements with schema changes" do
|
1909
|
+
before do
|
1910
|
+
@db = DB
|
1911
|
+
@db.create_table!(:ps_test) do
|
1912
|
+
primary_key :id
|
1913
|
+
String :name
|
1914
|
+
end
|
1915
|
+
@c = Class.new(Sequel::Model(@db[:ps_test]))
|
1916
|
+
@c.many_to_one :ps_test, :key=>:id, :class=>@c
|
1917
|
+
@c.one_to_many :ps_tests, :key=>:id, :class=>@c
|
1918
|
+
@c.many_to_many :mps_tests, :left_key=>:id, :right_key=>:id, :class=>@c, :join_table=>Sequel[:ps_test].as(:x)
|
1919
|
+
@c.plugin :prepared_statements
|
1920
|
+
end
|
1921
|
+
after do
|
1922
|
+
@db.drop_table?(:ps_test)
|
1923
|
+
end
|
1924
|
+
|
1925
|
+
it "should handle added columns" do
|
1926
|
+
foo = @c.create(:name=>'foo')
|
1927
|
+
@c[foo.id].name.must_equal 'foo'
|
1928
|
+
foo.ps_test.name.must_equal 'foo'
|
1929
|
+
foo.ps_tests.map{|x| x.name}.must_equal %w'foo'
|
1930
|
+
foo.mps_tests.map{|x| x.name}.must_equal %w'foo'
|
1931
|
+
foo.update(:name=>'foo2')
|
1932
|
+
@c[foo.id].name.must_equal 'foo2'
|
1933
|
+
foo.delete
|
1934
|
+
foo.exists?.must_equal false
|
1935
|
+
|
1936
|
+
@db.alter_table(:ps_test){add_column :i, Integer}
|
1937
|
+
|
1938
|
+
foo = @c.create(:name=>'foo')
|
1939
|
+
@c[foo.id].name.must_equal 'foo'
|
1940
|
+
foo.ps_test.name.must_equal 'foo'
|
1941
|
+
foo.ps_tests.map{|x| x.name}.must_equal %w'foo'
|
1942
|
+
foo.mps_tests.map{|x| x.name}.must_equal %w'foo'
|
1943
|
+
foo.update(:name=>'foo2')
|
1944
|
+
@c[foo.id].name.must_equal 'foo2'
|
1945
|
+
foo.delete
|
1946
|
+
foo.exists?.must_equal false
|
1947
|
+
end
|
1948
|
+
end
|
1949
|
+
|
1950
|
+
describe "Caching plugins" do
|
1951
|
+
before(:all) do
|
1952
|
+
@db = DB
|
1953
|
+
@db.drop_table?(:albums, :artists)
|
1954
|
+
@db.create_table(:artists) do
|
1955
|
+
primary_key :id
|
1956
|
+
end
|
1957
|
+
@db.create_table(:albums) do
|
1958
|
+
primary_key :id
|
1959
|
+
foreign_key :artist_id, :artists
|
1960
|
+
end
|
1961
|
+
@db[:artists].insert
|
1962
|
+
@db[:albums].insert(:artist_id=>1)
|
1963
|
+
end
|
1964
|
+
before do
|
1965
|
+
@Album = Class.new(Sequel::Model(@db[:albums]))
|
1966
|
+
end
|
1967
|
+
after(:all) do
|
1968
|
+
@db.drop_table?(:albums, :artists)
|
1969
|
+
end
|
1970
|
+
|
1971
|
+
CachingPluginSpecs = shared_description do
|
1972
|
+
it "should work with looking up using Model.[]" do
|
1973
|
+
@Artist[1].must_be_same_as(@Artist[1])
|
1974
|
+
@Artist[:id=>1].must_equal @Artist[1]
|
1975
|
+
@Artist[0].must_be_nil
|
1976
|
+
@Artist[nil].must_be_nil
|
1977
|
+
end
|
1978
|
+
|
1979
|
+
it "should work with lookup up many_to_one associated objects" do
|
1980
|
+
a = @Artist[1]
|
1981
|
+
@Album.first.artist.must_be_same_as(a)
|
1982
|
+
end
|
1983
|
+
end
|
1984
|
+
|
1985
|
+
describe "caching plugin" do
|
1986
|
+
before do
|
1987
|
+
@cache_class = Class.new(Hash) do
|
1988
|
+
def set(k, v, ttl) self[k] = v end
|
1989
|
+
alias get []
|
1990
|
+
end
|
1991
|
+
@cache = @cache_class.new
|
1992
|
+
|
1993
|
+
@Artist = Class.new(Sequel::Model(@db[:artists]))
|
1994
|
+
@Artist.plugin :caching, @cache
|
1995
|
+
@Album.many_to_one :artist, :class=>@Artist
|
1996
|
+
end
|
1997
|
+
|
1998
|
+
include CachingPluginSpecs
|
1999
|
+
end
|
2000
|
+
|
2001
|
+
describe "static_cache plugin" do
|
2002
|
+
before do
|
2003
|
+
@Artist = Class.new(Sequel::Model(@db[:artists]))
|
2004
|
+
@Artist.plugin :static_cache
|
2005
|
+
@Album.many_to_one :artist, :class=>@Artist
|
2006
|
+
end
|
2007
|
+
|
2008
|
+
include CachingPluginSpecs
|
2009
|
+
|
2010
|
+
it "should have first retrieve correct values" do
|
2011
|
+
@Artist.first.must_equal @Artist.load(:id=>1)
|
2012
|
+
@Artist.first(1).must_equal [@Artist.load(:id=>1)]
|
2013
|
+
@Artist.first(:id=>1).must_equal @Artist.load(:id=>1)
|
2014
|
+
@Artist.first{id =~ 1}.must_equal @Artist.load(:id=>1)
|
2015
|
+
end
|
2016
|
+
end
|
2017
|
+
end
|
2018
|
+
|
2019
|
+
describe "Sequel::Plugins::ConstraintValidations" do
|
2020
|
+
before(:all) do
|
2021
|
+
@db = DB
|
2022
|
+
@db.extension(:constraint_validations) unless @db.frozen?
|
2023
|
+
@db.drop_table?(:sequel_constraint_validations)
|
2024
|
+
@db.create_constraint_validations_table
|
2025
|
+
@ds = @db[:cv_test]
|
2026
|
+
@regexp = regexp = @db.dataset.supports_regexp?
|
2027
|
+
@validation_opts = {}
|
2028
|
+
opts_proc = proc{@validation_opts}
|
2029
|
+
@validate_block = proc do |opts|
|
2030
|
+
opts = opts_proc.call
|
2031
|
+
presence :pre, opts.merge(:name=>:p)
|
2032
|
+
exact_length 5, :exactlen, opts.merge(:name=>:el)
|
2033
|
+
min_length 5, :minlen, opts.merge(:name=>:minl)
|
2034
|
+
max_length 5, :maxlen, opts.merge(:name=>:maxl)
|
2035
|
+
length_range 3..5, :lenrange, opts.merge(:name=>:lr)
|
2036
|
+
if regexp
|
2037
|
+
format(/^foo\d+/, :form, opts.merge(:name=>:f))
|
2038
|
+
end
|
2039
|
+
like 'foo%', :lik, opts.merge(:name=>:l)
|
2040
|
+
ilike 'foo%', :ilik, opts.merge(:name=>:il)
|
2041
|
+
includes %w'abc def', :inc, opts.merge(:name=>:i)
|
2042
|
+
unique :uniq, opts.merge(:name=>:u)
|
2043
|
+
max_length 6, :minlen, opts.merge(:name=>:maxl2)
|
2044
|
+
operator :<, 'm', :exactlen, opts.merge(:name=>:lt)
|
2045
|
+
operator :>=, 5, :num, opts.merge(:name=>:gte)
|
2046
|
+
presence [:m1, :m2, :m3], opts.merge(:name=>:pm)
|
2047
|
+
end
|
2048
|
+
@valid_row = {:pre=>'a', :exactlen=>'12345', :minlen=>'12345', :maxlen=>'12345', :lenrange=>'1234', :lik=>'fooabc', :ilik=>'FooABC', :inc=>'abc', :uniq=>'u', :num=>5, :m1=>'a', :m2=>1, :m3=>'a'}
|
2049
|
+
@violations = [
|
2050
|
+
[:pre, [nil, '', ' ']],
|
2051
|
+
[:exactlen, [nil, '', '1234', '123456', 'n1234']],
|
2052
|
+
[:minlen, [nil, '', '1234']],
|
2053
|
+
[:maxlen, [nil, '123456']],
|
2054
|
+
[:lenrange, [nil, '', '12', '123456']],
|
2055
|
+
[:lik, [nil, '', 'fo', 'fotabc', 'FOOABC']],
|
2056
|
+
[:ilik, [nil, '', 'fo', 'fotabc']],
|
2057
|
+
[:inc, [nil, '', 'ab', 'abcd']],
|
2058
|
+
[:num, [nil, 3, 4]],
|
2059
|
+
]
|
2060
|
+
|
2061
|
+
if @regexp
|
2062
|
+
@valid_row[:form] = 'foo1'
|
2063
|
+
@violations << [:form, [nil, '', 'foo', 'fooa']]
|
2064
|
+
end
|
2065
|
+
end
|
2066
|
+
after(:all) do
|
2067
|
+
@db.drop_constraint_validations_table
|
2068
|
+
end
|
2069
|
+
|
2070
|
+
ConstraintValidationsSpecs = shared_description do
|
2071
|
+
cspecify "should set up constraints that work even outside the model", [proc{|db| !db.mariadb? || db.server_version <= 100200}, :mysql] do
|
2072
|
+
@ds.insert(@valid_row)
|
2073
|
+
|
2074
|
+
# Test for unique constraint
|
2075
|
+
proc{@ds.insert(@valid_row)}.must_raise(Sequel::DatabaseError)
|
2076
|
+
|
2077
|
+
@ds.delete
|
2078
|
+
@violations.each do |col, vals|
|
2079
|
+
try = @valid_row.dup
|
2080
|
+
vals += ['1234567'] if col == :minlen
|
2081
|
+
vals.each do |val|
|
2082
|
+
next if val.nil? && @validation_opts[:allow_nil]
|
2083
|
+
next if val == '' && @validation_opts[:allow_nil] && @db.database_type == :oracle
|
2084
|
+
try[col] = val
|
2085
|
+
proc{@ds.insert(try)}.must_raise(Sequel::DatabaseError)
|
2086
|
+
end
|
2087
|
+
end
|
2088
|
+
|
2089
|
+
try = @valid_row.dup
|
2090
|
+
if @validation_opts[:allow_nil]
|
2091
|
+
[:m1, :m2, :m3].each do |c|
|
2092
|
+
@ds.insert(try.merge(c=>nil))
|
2093
|
+
@ds.delete
|
2094
|
+
end
|
2095
|
+
@ds.insert(try.merge(:m1=>nil, :m2=>nil))
|
2096
|
+
@ds.delete
|
2097
|
+
@ds.insert(try.merge(:m1=>nil, :m3=>nil))
|
2098
|
+
@ds.delete
|
2099
|
+
@ds.insert(try.merge(:m2=>nil, :m3=>nil))
|
2100
|
+
@ds.delete
|
2101
|
+
@ds.insert(try.merge(:m1=>nil, :m2=>nil, :m3=>nil))
|
2102
|
+
@ds.delete
|
2103
|
+
else
|
2104
|
+
[:m1, :m2, :m3].each do |c|
|
2105
|
+
proc{@ds.insert(try.merge(c=>nil))}.must_raise(Sequel::DatabaseError)
|
2106
|
+
end
|
2107
|
+
proc{@ds.insert(try.merge(:m1=>nil, :m2=>nil))}.must_raise(Sequel::DatabaseError)
|
2108
|
+
proc{@ds.insert(try.merge(:m1=>nil, :m3=>nil))}.must_raise(Sequel::DatabaseError)
|
2109
|
+
proc{@ds.insert(try.merge(:m2=>nil, :m3=>nil))}.must_raise(Sequel::DatabaseError)
|
2110
|
+
proc{@ds.insert(try.merge(:m1=>nil, :m2=>nil, :m3=>nil))}.must_raise(Sequel::DatabaseError)
|
2111
|
+
end
|
2112
|
+
|
2113
|
+
unless @db.database_type == :oracle
|
2114
|
+
[:m1, :m3].each do |c|
|
2115
|
+
proc{@ds.insert(try.merge(c=>''))}.must_raise(Sequel::DatabaseError)
|
2116
|
+
end
|
2117
|
+
proc{@ds.insert(try.merge(:m1=>'', :m3=>''))}.must_raise(Sequel::DatabaseError)
|
2118
|
+
proc{@ds.insert(try.merge(:m1=>'', :m2=>nil))}.must_raise(Sequel::DatabaseError)
|
2119
|
+
proc{@ds.insert(try.merge(:m1=>nil, :m3=>''))}.must_raise(Sequel::DatabaseError)
|
2120
|
+
proc{@ds.insert(try.merge(:m2=>nil, :m3=>''))}.must_raise(Sequel::DatabaseError)
|
2121
|
+
proc{@ds.insert(try.merge(:m1=>'', :m2=>nil, :m3=>''))}.must_raise(Sequel::DatabaseError)
|
2122
|
+
end
|
2123
|
+
|
2124
|
+
# Test for dropping of constraint
|
2125
|
+
@db.alter_table(:cv_test){validate{drop :maxl2}}
|
2126
|
+
@ds.insert(@valid_row.merge(:minlen=>'1234567'))
|
2127
|
+
end
|
2128
|
+
|
2129
|
+
it "should set up automatic validations inside the model" do
|
2130
|
+
skip if @db.frozen?
|
2131
|
+
c = Class.new(Sequel::Model(@ds))
|
2132
|
+
c.plugin :constraint_validations
|
2133
|
+
c.dataset.delete
|
2134
|
+
c.create(@valid_row)
|
2135
|
+
|
2136
|
+
# Test for unique validation
|
2137
|
+
c.new(@valid_row).wont_be :valid?
|
2138
|
+
|
2139
|
+
c.dataset.delete
|
2140
|
+
@violations.each do |col, vals|
|
2141
|
+
try = @valid_row.dup
|
2142
|
+
vals.each do |val|
|
2143
|
+
next if val.nil? && @validation_opts[:allow_nil]
|
2144
|
+
try[col] = val
|
2145
|
+
c.new(try).wont_be :valid?
|
2146
|
+
end
|
2147
|
+
end
|
2148
|
+
|
2149
|
+
try = @valid_row.dup
|
2150
|
+
if @validation_opts[:allow_nil]
|
2151
|
+
[:m1, :m2, :m3].each do |col|
|
2152
|
+
c.new(try.merge(col=>nil)).must_be :valid?
|
2153
|
+
end
|
2154
|
+
c.new(try.merge(:m1=>nil, :m2=>nil)).must_be :valid?
|
2155
|
+
c.new(try.merge(:m1=>nil, :m3=>nil)).must_be :valid?
|
2156
|
+
c.new(try.merge(:m2=>nil, :m3=>nil)).must_be :valid?
|
2157
|
+
c.new(try.merge(:m1=>nil, :m2=>nil, :m3=>nil)).must_be :valid?
|
2158
|
+
else
|
2159
|
+
[:m1, :m2, :m3].each do |col|
|
2160
|
+
c.new(try.merge(col=>nil)).wont_be :valid?
|
2161
|
+
end
|
2162
|
+
c.new(try.merge(:m1=>nil, :m2=>nil)).wont_be :valid?
|
2163
|
+
c.new(try.merge(:m1=>nil, :m3=>nil)).wont_be :valid?
|
2164
|
+
c.new(try.merge(:m2=>nil, :m3=>nil)).wont_be :valid?
|
2165
|
+
c.new(try.merge(:m1=>nil, :m2=>nil, :m3=>nil)).wont_be :valid?
|
2166
|
+
end
|
2167
|
+
c.new(try.merge(:m1=>'', :m2=>nil)).wont_be :valid?
|
2168
|
+
c.new(try.merge(:m1=>nil, :m3=>'')).wont_be :valid?
|
2169
|
+
c.new(try.merge(:m2=>nil, :m3=>'')).wont_be :valid?
|
2170
|
+
c.new(try.merge(:m1=>'', :m2=>nil, :m3=>'')).wont_be :valid?
|
2171
|
+
[:m1, :m3].each do |col|
|
2172
|
+
c.new(try.merge(col=>'')).wont_be :valid?
|
2173
|
+
end
|
2174
|
+
c.new(try.merge(:m1=>'', :m3=>'')).wont_be :valid?
|
2175
|
+
|
2176
|
+
c.db.constraint_validations = nil
|
2177
|
+
end
|
2178
|
+
end
|
2179
|
+
|
2180
|
+
describe "via create_table" do
|
2181
|
+
before(:all) do
|
2182
|
+
@table_block = proc do
|
2183
|
+
regexp = @regexp
|
2184
|
+
validate_block = @validate_block
|
2185
|
+
@db.create_table!(:cv_test) do
|
2186
|
+
primary_key :id
|
2187
|
+
String :pre
|
2188
|
+
String :exactlen
|
2189
|
+
String :minlen
|
2190
|
+
String :maxlen
|
2191
|
+
String :lenrange
|
2192
|
+
if regexp
|
2193
|
+
String :form
|
2194
|
+
end
|
2195
|
+
String :lik
|
2196
|
+
String :ilik
|
2197
|
+
String :inc
|
2198
|
+
String :uniq, :null=>false
|
2199
|
+
Integer :num
|
2200
|
+
String :m1
|
2201
|
+
Integer :m2
|
2202
|
+
String :m3
|
2203
|
+
validate(&validate_block)
|
2204
|
+
end
|
2205
|
+
end
|
2206
|
+
end
|
2207
|
+
after(:all) do
|
2208
|
+
@db.drop_table?(:cv_test)
|
2209
|
+
@db.drop_constraint_validations_for(:table=>:cv_test)
|
2210
|
+
end
|
2211
|
+
|
2212
|
+
describe "with :allow_nil=>true" do
|
2213
|
+
before(:all) do
|
2214
|
+
@validation_opts = {:allow_nil=>true}
|
2215
|
+
@table_block.call
|
2216
|
+
end
|
2217
|
+
include ConstraintValidationsSpecs
|
2218
|
+
end
|
2219
|
+
describe "with :allow_nil=>false" do
|
2220
|
+
before(:all) do
|
2221
|
+
@table_block.call
|
2222
|
+
end
|
2223
|
+
include ConstraintValidationsSpecs
|
2224
|
+
end
|
2225
|
+
end
|
2226
|
+
|
2227
|
+
describe "via alter_table" do
|
2228
|
+
before(:all) do
|
2229
|
+
@table_block = proc do
|
2230
|
+
regexp = @regexp
|
2231
|
+
validate_block = @validate_block
|
2232
|
+
@db.create_table!(:cv_test) do
|
2233
|
+
primary_key :id
|
2234
|
+
String :lik
|
2235
|
+
String :ilik
|
2236
|
+
String :inc
|
2237
|
+
String :uniq, :null=>false
|
2238
|
+
end
|
2239
|
+
@db.alter_table(:cv_test) do
|
2240
|
+
add_column :pre, String
|
2241
|
+
add_column :exactlen, String
|
2242
|
+
add_column :minlen, String
|
2243
|
+
add_column :maxlen, String
|
2244
|
+
add_column :lenrange, String
|
2245
|
+
if regexp
|
2246
|
+
add_column :form, String
|
2247
|
+
end
|
2248
|
+
add_column :num, Integer
|
2249
|
+
add_column :m1, String
|
2250
|
+
add_column :m2, Integer
|
2251
|
+
add_column :m3, String
|
2252
|
+
validate(&validate_block)
|
2253
|
+
end
|
2254
|
+
end
|
2255
|
+
end
|
2256
|
+
after(:all) do
|
2257
|
+
@db.drop_table?(:cv_test)
|
2258
|
+
@db.drop_constraint_validations_for(:table=>:cv_test)
|
2259
|
+
end
|
2260
|
+
|
2261
|
+
describe "with :allow_nil=>true" do
|
2262
|
+
before(:all) do
|
2263
|
+
@validation_opts = {:allow_nil=>true}
|
2264
|
+
@table_block.call
|
2265
|
+
end
|
2266
|
+
include ConstraintValidationsSpecs
|
2267
|
+
end
|
2268
|
+
describe "with :allow_nil=>false" do
|
2269
|
+
before(:all) do
|
2270
|
+
@table_block.call
|
2271
|
+
end
|
2272
|
+
include ConstraintValidationsSpecs
|
2273
|
+
end
|
2274
|
+
end
|
2275
|
+
end
|
2276
|
+
|
2277
|
+
describe "date_arithmetic extension" do
|
2278
|
+
asd = begin
|
2279
|
+
require 'active_support/duration'
|
2280
|
+
require 'active_support/inflector'
|
2281
|
+
require 'active_support/core_ext/string/inflections'
|
2282
|
+
true
|
2283
|
+
rescue LoadError
|
2284
|
+
false
|
2285
|
+
end
|
2286
|
+
|
2287
|
+
before(:all) do
|
2288
|
+
@db = DB
|
2289
|
+
@db.extension(:date_arithmetic) unless @db.frozen?
|
2290
|
+
skip if @db.database_type == :sqlite && @db.frozen?
|
2291
|
+
if @db.database_type == :sqlite
|
2292
|
+
@db.use_timestamp_timezones = false
|
2293
|
+
end
|
2294
|
+
@date = Date.civil(2010, 7, 12)
|
2295
|
+
@dt = Time.local(2010, 7, 12)
|
2296
|
+
if asd
|
2297
|
+
@d0 = ActiveSupport::Duration.new(0, [[:days, 0]])
|
2298
|
+
@d1 = ActiveSupport::Duration.new(1, [[:days, 1]])
|
2299
|
+
@d2 = ActiveSupport::Duration.new(1, [[:years, 1], [:months, 1], [:days, 1], [:minutes, 61], [:seconds, 1]])
|
2300
|
+
end
|
2301
|
+
@h0 = {:days=>0}
|
2302
|
+
@h1 = {:days=>1, :years=>nil, :hours=>0}
|
2303
|
+
@h2 = {:years=>1, :months=>1, :days=>1, :hours=>1, :minutes=>1, :seconds=>1}
|
2304
|
+
@a1 = Time.local(2010, 7, 13)
|
2305
|
+
@a2 = Time.local(2011, 8, 13, 1, 1, 1)
|
2306
|
+
@s1 = Time.local(2010, 7, 11)
|
2307
|
+
@s2 = Time.local(2009, 6, 10, 22, 58, 59)
|
2308
|
+
@check = lambda do |meth, in_date, in_interval, should|
|
2309
|
+
output = @db.get(Sequel.send(meth, in_date, in_interval))
|
2310
|
+
output = Time.parse(output.to_s) unless output.is_a?(Time) || output.is_a?(DateTime)
|
2311
|
+
output.year.must_equal should.year
|
2312
|
+
output.month.must_equal should.month
|
2313
|
+
output.day.must_equal should.day
|
2314
|
+
output.hour.must_equal should.hour
|
2315
|
+
output.min.must_equal should.min
|
2316
|
+
output.sec.must_equal should.sec
|
2317
|
+
end
|
2318
|
+
end
|
2319
|
+
after(:all) do
|
2320
|
+
if @db.database_type == :sqlite
|
2321
|
+
@db.use_timestamp_timezones = true
|
2322
|
+
end
|
2323
|
+
end
|
2324
|
+
|
2325
|
+
if asd
|
2326
|
+
it "be able to use Sequel.date_add to add ActiveSupport::Duration objects to dates and datetimes" do
|
2327
|
+
@check.call(:date_add, @date, @d0, @dt)
|
2328
|
+
@check.call(:date_add, @date, @d1, @a1)
|
2329
|
+
@check.call(:date_add, @date, @d2, @a2)
|
2330
|
+
|
2331
|
+
@check.call(:date_add, @dt, @d0, @dt)
|
2332
|
+
@check.call(:date_add, @dt, @d1, @a1)
|
2333
|
+
@check.call(:date_add, @dt, @d2, @a2)
|
2334
|
+
end
|
2335
|
+
|
2336
|
+
it "be able to use Sequel.date_sub to subtract ActiveSupport::Duration objects from dates and datetimes" do
|
2337
|
+
@check.call(:date_sub, @date, @d0, @dt)
|
2338
|
+
@check.call(:date_sub, @date, @d1, @s1)
|
2339
|
+
@check.call(:date_sub, @date, @d2, @s2)
|
2340
|
+
|
2341
|
+
@check.call(:date_sub, @dt, @d0, @dt)
|
2342
|
+
@check.call(:date_sub, @dt, @d1, @s1)
|
2343
|
+
@check.call(:date_sub, @dt, @d2, @s2)
|
2344
|
+
end
|
2345
|
+
end
|
2346
|
+
|
2347
|
+
it "be able to use Sequel.date_add to add interval hashes to dates and datetimes" do
|
2348
|
+
@check.call(:date_add, @date, @h0, @dt)
|
2349
|
+
@check.call(:date_add, @date, @h1, @a1)
|
2350
|
+
@check.call(:date_add, @date, @h2, @a2)
|
2351
|
+
|
2352
|
+
@check.call(:date_add, @dt, @h0, @dt)
|
2353
|
+
@check.call(:date_add, @dt, @h1, @a1)
|
2354
|
+
@check.call(:date_add, @dt, @h2, @a2)
|
2355
|
+
end
|
2356
|
+
|
2357
|
+
it "be able to use Sequel.date_sub to subtract interval hashes from dates and datetimes" do
|
2358
|
+
@check.call(:date_sub, @date, @h0, @dt)
|
2359
|
+
@check.call(:date_sub, @date, @h1, @s1)
|
2360
|
+
@check.call(:date_sub, @date, @h2, @s2)
|
2361
|
+
|
2362
|
+
@check.call(:date_sub, @dt, @h0, @dt)
|
2363
|
+
@check.call(:date_sub, @dt, @h1, @s1)
|
2364
|
+
@check.call(:date_sub, @dt, @h2, @s2)
|
2365
|
+
end
|
2366
|
+
end
|
2367
|
+
|
2368
|
+
describe "string_agg extension" do
|
2369
|
+
before(:all) do
|
2370
|
+
@db = DB
|
2371
|
+
@db.extension(:string_agg) unless @db.frozen?
|
2372
|
+
@db.create_table!(:string_agg_test) do
|
2373
|
+
Integer :id
|
2374
|
+
String :s
|
2375
|
+
Integer :o
|
2376
|
+
end
|
2377
|
+
@db[:string_agg_test].import([:id, :s, :o], [[1, 'a', 3], [1, 'a', 3], [1, 'b', 5], [1, 'c', 4], [2, 'aa', 2], [2, 'bb', 1]])
|
2378
|
+
@ds = @db[:string_agg_test].select_group(:id).order(:id)
|
2379
|
+
end
|
2380
|
+
after(:all) do
|
2381
|
+
@db.drop_table?(:string_agg_test)
|
2382
|
+
end
|
2383
|
+
|
2384
|
+
cspecify "should have string_agg return aggregated concatenation", :mssql, :sqlite, :derby do
|
2385
|
+
h = @ds.select_append(Sequel.string_agg(:s).as(:v)).to_hash(:id, :v)
|
2386
|
+
h[1].must_match(/\A[abc],[abc],[abc],[abc]\z/)
|
2387
|
+
h[2].must_match(/\A(aa|bb),(aa|bb)\z/)
|
2388
|
+
|
2389
|
+
@ds.select_append(Sequel.string_agg(:s).order(:o).as(:v)).map([:id, :v]).must_equal [[1, 'a,a,c,b'], [2, 'bb,aa']]
|
2390
|
+
@ds.select_append(Sequel.string_agg(:s, '-').order(:o).as(:v)).map([:id, :v]).must_equal [[1, 'a-a-c-b'], [2, 'bb-aa']]
|
2391
|
+
end
|
2392
|
+
|
2393
|
+
cspecify "should have string_agg return aggregated concatenation for distinct values", :mssql, :sqlite, :oracle, :db2, :derby do
|
2394
|
+
@ds.select_group(:id).select_append(Sequel.string_agg(:s).order(:s).distinct.as(:v)).map([:id, :v]).must_equal [[1, 'a,b,c'], [2, 'aa,bb']]
|
2395
|
+
end
|
2396
|
+
end
|
2397
|
+
|
2398
|
+
describe "insert_conflict plugin" do
|
2399
|
+
before(:all) do
|
2400
|
+
@db = DB
|
2401
|
+
@db.create_table!(:ic_test) do
|
2402
|
+
primary_key :id
|
2403
|
+
String :s, :unique=>true
|
2404
|
+
Integer :o
|
2405
|
+
end
|
2406
|
+
@model = Class.new(Sequel::Model)
|
2407
|
+
@model.set_dataset @db[:ic_test]
|
2408
|
+
@model.plugin :insert_conflict
|
2409
|
+
end
|
2410
|
+
after(:all) do
|
2411
|
+
@db.drop_table?(:ic_test)
|
2412
|
+
end
|
2413
|
+
|
2414
|
+
it "should allow Model#insert_conflict to work" do
|
2415
|
+
ic_opts = {:target=>:s, :update => {:o => Sequel[:excluded][:o]}}
|
2416
|
+
@model.new(:s=>'A', :o=>1).insert_conflict(ic_opts).save
|
2417
|
+
@model.select_order_map([:s, :o]).must_equal [['A', 1]]
|
2418
|
+
@model.new(:s=>'A', :o=>2).insert_conflict(ic_opts).save
|
2419
|
+
@model.select_order_map([:s, :o]).must_equal [['A', 2]]
|
2420
|
+
@model.new(:s=>'B', :o=>3).insert_conflict(ic_opts).save
|
2421
|
+
@model.select_order_map([:s, :o]).must_equal [['A', 2], ['B', 3]]
|
2422
|
+
end
|
2423
|
+
end if (DB.database_type == :postgres && DB.server_version >= 90500) || (DB.database_type == :sqlite && DB.sqlite_version >= 32400)
|