zuora_connect_ui 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/zuora_connect_ui/datatable.js +4 -4
- data/app/assets/stylesheets/zuora_connect_ui/input.scss +3 -11
- data/app/helpers/zuora_connect_ui/application_helper.rb +2 -2
- data/app/helpers/zuora_connect_ui/input_helper.rb +1 -1
- data/app/views/partials/_filters.html.erb +10 -14
- data/app/views/partials/_table.html.erb +1 -1
- data/lib/zuora_connect_ui/version.rb +1 -1
- data/vendor/ruby/2.6.0/cache/actionpack-6.0.1.gem +0 -0
- data/vendor/ruby/2.6.0/cache/actionview-6.0.1.gem +0 -0
- data/vendor/ruby/2.6.0/cache/activesupport-6.0.1.gem +0 -0
- data/vendor/ruby/2.6.0/cache/autoprefixer-rails-9.7.1.gem +0 -0
- data/vendor/ruby/2.6.0/cache/brakeman-4.7.1.gem +0 -0
- data/vendor/ruby/2.6.0/cache/jaro_winkler-1.5.4.gem +0 -0
- data/vendor/ruby/2.6.0/cache/minitest-5.13.0.gem +0 -0
- data/vendor/ruby/2.6.0/cache/nokogiri-1.10.5.gem +0 -0
- data/vendor/ruby/2.6.0/cache/railties-6.0.1.gem +0 -0
- data/vendor/ruby/2.6.0/cache/rubocop-0.76.0.gem +0 -0
- data/vendor/ruby/2.6.0/cache/zeitwerk-2.2.1.gem +0 -0
- data/vendor/ruby/2.6.0/extensions/x86_64-linux/2.6.0/jaro_winkler-1.5.4/gem.build_complete +0 -0
- data/vendor/ruby/2.6.0/extensions/x86_64-linux/2.6.0/jaro_winkler-1.5.4/gem_make.out +83 -0
- data/vendor/ruby/2.6.0/extensions/x86_64-linux/2.6.0/jaro_winkler-1.5.4/jaro_winkler/jaro_winkler_ext.so +0 -0
- data/vendor/ruby/2.6.0/extensions/x86_64-linux/2.6.0/nokogiri-1.10.5/gem.build_complete +0 -0
- data/vendor/ruby/2.6.0/extensions/x86_64-linux/2.6.0/nokogiri-1.10.5/gem_make.out +435 -0
- data/vendor/ruby/2.6.0/extensions/x86_64-linux/2.6.0/nokogiri-1.10.5/mkmf.log +558 -0
- data/vendor/ruby/2.6.0/extensions/x86_64-linux/2.6.0/nokogiri-1.10.5/nokogiri/nokogiri.so +0 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/CHANGELOG.md +328 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/MIT-LICENSE +21 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/README.rdoc +58 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/abstract_controller.rb +27 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/abstract_controller/asset_paths.rb +12 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/abstract_controller/base.rb +267 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/abstract_controller/caching.rb +66 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/abstract_controller/caching/fragments.rb +150 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/abstract_controller/callbacks.rb +224 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/abstract_controller/collector.rb +43 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/abstract_controller/error.rb +6 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/abstract_controller/helpers.rb +194 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/abstract_controller/logger.rb +14 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/abstract_controller/railties/routes_helpers.rb +20 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/abstract_controller/rendering.rb +127 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/abstract_controller/translation.rb +32 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/abstract_controller/url_for.rb +35 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller.rb +70 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/api.rb +150 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/api/api_rendering.rb +16 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/base.rb +271 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/caching.rb +46 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/form_builder.rb +50 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/log_subscriber.rb +81 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal.rb +256 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/basic_implicit_render.rb +13 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/conditional_get.rb +280 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/content_security_policy.rb +52 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/cookies.rb +16 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/data_streaming.rb +151 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/default_headers.rb +17 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/etag_with_flash.rb +18 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/etag_with_template_digest.rb +57 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/exceptions.rb +74 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/flash.rb +61 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/force_ssl.rb +58 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/head.rb +60 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/helpers.rb +122 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/http_authentication.rb +518 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/implicit_render.rb +63 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/instrumentation.rb +105 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/live.rb +314 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/mime_responds.rb +324 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/parameter_encoding.rb +51 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/params_wrapper.rb +297 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/redirecting.rb +133 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/renderers.rb +181 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/rendering.rb +122 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/request_forgery_protection.rb +456 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/rescue.rb +28 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/streaming.rb +223 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/strong_parameters.rb +1105 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/testing.rb +16 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/url_for.rb +58 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/railtie.rb +89 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/railties/helpers.rb +24 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/renderer.rb +130 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/template_assertions.rb +11 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/test_case.rb +627 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch.rb +114 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/http/cache.rb +226 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/http/content_disposition.rb +45 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/http/content_security_policy.rb +284 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/http/filter_parameters.rb +86 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/http/filter_redirect.rb +37 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/http/headers.rb +132 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/http/mime_negotiation.rb +177 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/http/mime_type.rb +350 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/http/mime_types.rb +50 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/http/parameter_filter.rb +12 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/http/parameters.rb +136 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/http/rack_cache.rb +63 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/http/request.rb +427 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/http/response.rb +540 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/http/upload.rb +92 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/http/url.rb +350 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/journey.rb +7 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/journey/formatter.rb +189 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/journey/gtg/builder.rb +164 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/journey/gtg/simulator.rb +41 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/journey/gtg/transition_table.rb +158 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/journey/nfa/builder.rb +78 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/journey/nfa/dot.rb +36 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/journey/nfa/simulator.rb +47 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/journey/nfa/transition_table.rb +120 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/journey/nodes/node.rb +141 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/journey/parser.rb +199 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/journey/parser.y +50 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/journey/parser_extras.rb +31 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/journey/path/pattern.rb +203 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/journey/route.rb +204 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/journey/router.rb +153 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/journey/router/utils.rb +102 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/journey/routes.rb +81 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/journey/scanner.rb +71 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/journey/visitors.rb +268 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/journey/visualizer/fsm.css +30 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/journey/visualizer/fsm.js +134 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/journey/visualizer/index.html.erb +52 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb +39 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/callbacks.rb +34 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/cookies.rb +663 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/debug_exceptions.rb +185 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/debug_locks.rb +124 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/debug_view.rb +68 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/exception_wrapper.rb +181 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/executor.rb +21 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/flash.rb +300 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/host_authorization.rb +103 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/public_exceptions.rb +61 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/reloader.rb +12 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/remote_ip.rb +181 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/request_id.rb +43 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/session/abstract_store.rb +92 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/session/cache_store.rb +54 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/session/cookie_store.rb +113 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/session/mem_cache_store.rb +28 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/show_exceptions.rb +62 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/ssl.rb +150 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/stack.rb +148 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/static.rb +129 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/templates/rescues/_actions.html.erb +13 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/templates/rescues/_actions.text.erb +0 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb +24 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb +23 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb +29 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb +8 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb +62 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb +9 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/templates/rescues/blocked_host.html.erb +7 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/templates/rescues/blocked_host.text.erb +5 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb +38 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb +9 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb +24 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/templates/rescues/invalid_statement.text.erb +15 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/templates/rescues/layout.erb +165 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/templates/rescues/missing_exact_template.html.erb +19 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/templates/rescues/missing_exact_template.text.erb +3 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb +11 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/templates/rescues/missing_template.text.erb +3 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb +32 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb +11 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb +20 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/templates/rescues/template_error.text.erb +7 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/templates/rescues/unknown_action.html.erb +6 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/templates/rescues/unknown_action.text.erb +3 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb +16 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb +203 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/railtie.rb +60 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/request/session.rb +242 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/request/utils.rb +78 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/routing.rb +261 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/routing/endpoint.rb +17 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/routing/inspector.rb +274 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/routing/mapper.rb +2289 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/routing/polymorphic_routes.rb +351 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/routing/redirection.rb +201 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/routing/route_set.rb +887 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/routing/routes_proxy.rb +69 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/routing/url_for.rb +237 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/system_test_case.rb +185 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/system_testing/browser.rb +80 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/system_testing/driver.rb +68 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/system_testing/server.rb +31 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/system_testing/test_helpers/screenshot_helper.rb +97 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb +32 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/testing/assertion_response.rb +47 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/testing/assertions.rb +24 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/testing/assertions/response.rb +106 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/testing/assertions/routing.rb +234 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/testing/integration.rb +659 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/testing/request_encoder.rb +55 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/testing/test_process.rb +50 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/testing/test_request.rb +71 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/testing/test_response.rb +25 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_pack.rb +26 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_pack/gem_version.rb +17 -0
- data/vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_pack/version.rb +10 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/CHANGELOG.md +278 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/MIT-LICENSE +21 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/README.rdoc +40 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view.rb +98 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/base.rb +312 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/buffers.rb +67 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/cache_expiry.rb +54 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/context.rb +32 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/dependency_tracker.rb +175 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/digestor.rb +126 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/flows.rb +76 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/gem_version.rb +17 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers.rb +66 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/active_model_helper.rb +55 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/asset_tag_helper.rb +488 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/asset_url_helper.rb +470 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/atom_feed_helper.rb +205 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/cache_helper.rb +271 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/capture_helper.rb +216 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/controller_helper.rb +36 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/csp_helper.rb +26 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/csrf_helper.rb +35 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/date_helper.rb +1200 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/debug_helper.rb +36 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/form_helper.rb +2569 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/form_options_helper.rb +896 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/form_tag_helper.rb +922 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/javascript_helper.rb +95 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/number_helper.rb +456 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/output_safety_helper.rb +70 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/rendering_helper.rb +101 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/sanitize_helper.rb +171 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/tag_helper.rb +314 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/tags.rb +44 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/tags/base.rb +196 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/tags/check_box.rb +66 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/tags/checkable.rb +18 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/tags/collection_check_boxes.rb +36 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/tags/collection_helpers.rb +119 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/tags/collection_radio_buttons.rb +31 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/tags/collection_select.rb +30 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/tags/color_field.rb +27 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/tags/date_field.rb +15 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/tags/date_select.rb +74 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/tags/datetime_field.rb +32 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/tags/datetime_local_field.rb +21 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/tags/datetime_select.rb +10 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/tags/email_field.rb +10 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/tags/file_field.rb +10 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/tags/grouped_collection_select.rb +31 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/tags/hidden_field.rb +10 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/tags/label.rb +81 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/tags/month_field.rb +15 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/tags/number_field.rb +20 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/tags/password_field.rb +14 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/tags/placeholderable.rb +24 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/tags/radio_button.rb +33 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/tags/range_field.rb +10 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/tags/search_field.rb +27 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/tags/select.rb +43 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/tags/tel_field.rb +10 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/tags/text_area.rb +24 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/tags/text_field.rb +34 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/tags/time_field.rb +15 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/tags/time_select.rb +10 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/tags/time_zone_select.rb +22 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/tags/translator.rb +39 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/tags/url_field.rb +10 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/tags/week_field.rb +15 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/text_helper.rb +486 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/translation_helper.rb +145 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/url_helper.rb +676 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/layouts.rb +433 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/locale/en.yml +56 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/log_subscriber.rb +96 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/lookup_context.rb +316 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/model_naming.rb +14 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/path_set.rb +95 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/railtie.rb +105 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/record_identifier.rb +112 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/renderer/abstract_renderer.rb +108 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/renderer/partial_renderer.rb +563 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/renderer/partial_renderer/collection_caching.rb +103 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/renderer/renderer.rb +68 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/renderer/streaming_template_renderer.rb +105 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/renderer/template_renderer.rb +108 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/rendering.rb +171 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/routing_url_for.rb +146 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/tasks/cache_digests.rake +25 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/template.rb +393 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/template/error.rb +161 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/template/handlers.rb +92 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/template/handlers/builder.rb +25 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/template/handlers/erb.rb +84 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/template/handlers/erb/erubi.rb +87 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/template/handlers/html.rb +11 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/template/handlers/raw.rb +11 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/template/html.rb +43 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/template/inline.rb +22 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/template/raw_file.rb +28 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/template/resolver.rb +394 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/template/sources.rb +13 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/template/sources/file.rb +17 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/template/text.rb +35 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/template/types.rb +57 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/test_case.rb +300 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/testing/resolvers.rb +67 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/unbound_template.rb +32 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/version.rb +10 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/view_paths.rb +129 -0
- data/vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/assets/compiled/rails-ujs.js +746 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/CHANGELOG.md +617 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/MIT-LICENSE +20 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/README.rdoc +40 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support.rb +96 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/actionable_error.rb +48 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/all.rb +5 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/array_inquirer.rb +48 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/backtrace_cleaner.rb +132 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/benchmarkable.rb +51 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/builder.rb +8 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/cache.rb +830 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/cache/file_store.rb +196 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/cache/mem_cache_store.rb +212 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/cache/memory_store.rb +176 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/cache/null_store.rb +48 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/cache/redis_cache_store.rb +488 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/cache/strategy/local_cache.rb +194 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb +45 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/callbacks.rb +856 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/concern.rb +171 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb +17 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/concurrency/share_lock.rb +227 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/configurable.rb +146 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext.rb +5 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/array.rb +9 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/array/access.rb +104 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/array/conversions.rb +213 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/array/extract.rb +21 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/array/extract_options.rb +31 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/array/grouping.rb +109 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/array/inquiry.rb +19 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/array/prepend_and_append.rb +5 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/array/wrap.rb +48 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/benchmark.rb +16 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/big_decimal.rb +3 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/big_decimal/conversions.rb +14 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/class.rb +4 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/class/attribute.rb +141 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/class/attribute_accessors.rb +6 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/class/subclasses.rb +54 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/date.rb +7 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/date/acts_like.rb +10 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/date/blank.rb +14 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/date/calculations.rb +146 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/date/conversions.rb +96 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/date/zones.rb +8 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/date_and_time/calculations.rb +351 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/date_and_time/compatibility.rb +16 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/date_and_time/zones.rb +41 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/date_time.rb +7 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/date_time/acts_like.rb +16 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/date_time/blank.rb +14 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/date_time/calculations.rb +211 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/date_time/compatibility.rb +18 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/date_time/conversions.rb +107 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/digest.rb +3 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/digest/uuid.rb +53 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/enumerable.rb +188 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/file.rb +3 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/file/atomic.rb +70 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/hash.rb +10 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/hash/compact.rb +5 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/hash/conversions.rb +263 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/hash/deep_merge.rb +34 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/hash/deep_transform_values.rb +46 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/hash/except.rb +24 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/hash/indifferent_access.rb +24 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/hash/keys.rb +143 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/hash/reverse_merge.rb +25 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/hash/slice.rb +26 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/hash/transform_values.rb +5 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/integer.rb +5 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/integer/inflections.rb +31 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/integer/multiple.rb +12 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/integer/time.rb +22 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/kernel.rb +5 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/kernel/concern.rb +14 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/kernel/reporting.rb +45 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/kernel/singleton_class.rb +8 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/load_error.rb +9 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/marshal.rb +24 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/module.rb +13 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/module/aliasing.rb +31 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/module/anonymous.rb +30 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/module/attr_internal.rb +38 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/module/attribute_accessors.rb +212 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb +144 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/module/concerning.rb +134 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/module/delegation.rb +313 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/module/deprecation.rb +25 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/module/introspection.rb +86 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/module/reachable.rb +6 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/module/redefine_method.rb +40 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/module/remove_method.rb +17 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/name_error.rb +38 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/numeric.rb +5 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/numeric/bytes.rb +66 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/numeric/conversions.rb +136 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/numeric/inquiry.rb +5 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/numeric/time.rb +66 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/object.rb +16 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/object/acts_like.rb +21 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/object/blank.rb +155 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/object/conversions.rb +6 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/object/deep_dup.rb +55 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/object/duplicable.rb +49 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/object/inclusion.rb +29 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/object/instance_variables.rb +30 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/object/json.rb +228 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/object/to_param.rb +3 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/object/to_query.rb +89 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/object/try.rb +156 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/object/with_options.rb +82 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/range.rb +7 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/range/compare_range.rb +76 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/range/conversions.rb +41 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/range/each.rb +25 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/range/include_range.rb +9 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/range/include_time_with_zone.rb +23 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/range/overlaps.rb +10 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/regexp.rb +7 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/securerandom.rb +45 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/string.rb +15 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/string/access.rb +114 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/string/behavior.rb +8 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/string/conversions.rb +59 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/string/exclude.rb +13 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/string/filters.rb +145 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/string/indent.rb +45 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/string/inflections.rb +259 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/string/inquiry.rb +15 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/string/multibyte.rb +58 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/string/output_safety.rb +316 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/string/starts_ends_with.rb +6 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/string/strip.rb +27 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/string/zones.rb +16 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/time.rb +7 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/time/acts_like.rb +10 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/time/calculations.rb +344 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/time/compatibility.rb +16 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/time/conversions.rb +72 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/time/zones.rb +113 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/uri.rb +25 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/current_attributes.rb +203 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/dependencies.rb +806 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/dependencies/autoload.rb +79 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/dependencies/interlock.rb +57 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/dependencies/zeitwerk_integration.rb +118 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/deprecation.rb +46 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/deprecation/behaviors.rb +109 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/deprecation/constant_accessor.rb +52 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/deprecation/instance_delegator.rb +39 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/deprecation/method_wrappers.rb +78 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/deprecation/proxy_wrappers.rb +173 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/deprecation/reporting.rb +114 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/descendants_tracker.rb +109 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/digest.rb +20 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/duration.rb +433 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/duration/iso8601_parser.rb +124 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/duration/iso8601_serializer.rb +54 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/encrypted_configuration.rb +45 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/encrypted_file.rb +100 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/evented_file_update_checker.rb +235 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/execution_wrapper.rb +129 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/executor.rb +8 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/file_update_checker.rb +163 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/gem_version.rb +17 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/gzip.rb +38 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/hash_with_indifferent_access.rb +399 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/i18n.rb +16 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/i18n_railtie.rb +126 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/inflections.rb +72 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/inflector.rb +9 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/inflector/inflections.rb +257 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/inflector/methods.rb +398 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/inflector/transliterate.rb +147 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/json.rb +4 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/json/decoding.rb +76 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/json/encoding.rb +134 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/key_generator.rb +41 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/lazy_load_hooks.rb +82 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/locale/en.rb +31 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/locale/en.yml +135 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/log_subscriber.rb +135 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/log_subscriber/test_helper.rb +106 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/logger.rb +93 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/logger_silence.rb +45 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/logger_thread_safe_level.rb +56 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/message_encryptor.rb +227 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/message_verifier.rb +205 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/messages/metadata.rb +71 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/messages/rotation_configuration.rb +22 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/messages/rotator.rb +56 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/multibyte.rb +23 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/multibyte/chars.rb +216 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/multibyte/unicode.rb +157 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/notifications.rb +253 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/notifications/fanout.rb +244 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/notifications/instrumenter.rb +165 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/number_helper.rb +378 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/number_helper/number_converter.rb +184 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/number_helper/number_to_currency_converter.rb +46 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/number_helper/number_to_delimited_converter.rb +31 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/number_helper/number_to_human_converter.rb +70 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/number_helper/number_to_human_size_converter.rb +61 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/number_helper/number_to_percentage_converter.rb +16 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/number_helper/number_to_phone_converter.rb +60 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/number_helper/number_to_rounded_converter.rb +56 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/number_helper/rounding_helper.rb +66 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/option_merger.rb +27 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/ordered_hash.rb +50 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/ordered_options.rb +85 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/parameter_filter.rb +129 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/per_thread_registry.rb +60 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/proxy_object.rb +15 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/rails.rb +29 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/railtie.rb +80 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/reloader.rb +130 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/rescuable.rb +174 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/security_utils.rb +31 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/string_inquirer.rb +34 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/subscriber.rb +169 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/tagged_logging.rb +88 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/test_case.rb +163 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/testing/assertions.rb +228 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/testing/autorun.rb +7 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/testing/constant_lookup.rb +51 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/testing/declarative.rb +28 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/testing/deprecation.rb +38 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/testing/file_fixtures.rb +38 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/testing/isolation.rb +110 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/testing/method_call_assertions.rb +70 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/testing/parallelization.rb +128 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/testing/setup_and_teardown.rb +55 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/testing/stream.rb +44 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/testing/tagged_logging.rb +27 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/testing/time_helpers.rb +200 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/time.rb +20 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/time_with_zone.rb +561 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/values/time_zone.rb +570 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/version.rb +10 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/xml_mini.rb +202 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/xml_mini/jdom.rb +183 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/xml_mini/libxml.rb +80 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/xml_mini/libxmlsax.rb +83 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/xml_mini/nokogiri.rb +83 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/xml_mini/nokogirisax.rb +86 -0
- data/vendor/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/xml_mini/rexml.rb +130 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.1/CHANGELOG.md +1105 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.1/Gemfile +10 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.1/LICENSE +20 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.1/README.md +237 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.1/Rakefile +53 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.1/autoprefixer-rails.gemspec +32 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.1/lib/autoprefixer-rails.rb +41 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.1/lib/autoprefixer-rails/processor.rb +194 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.1/lib/autoprefixer-rails/railtie.rb +50 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.1/lib/autoprefixer-rails/result.rb +24 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.1/lib/autoprefixer-rails/sprockets.rb +62 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.1/lib/autoprefixer-rails/version.rb +3 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.1/lib/rake/autoprefixer_tasks.rb +28 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.1/spec/app/Rakefile +2 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.1/spec/app/app/assets/config/manifest.js +0 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.1/spec/app/app/assets/stylesheets/evaluate.css.erb +1 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.1/spec/app/app/assets/stylesheets/loaded.sass +2 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.1/spec/app/app/assets/stylesheets/sass.sass +1 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.1/spec/app/app/assets/stylesheets/test.css +3 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.1/spec/app/app/assets/stylesheets/wrong.css +2 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.1/spec/app/app/controllers/application_controller.rb +2 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.1/spec/app/app/controllers/css_controller.rb +6 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.1/spec/app/config.ru +2 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.1/spec/app/config/application.rb +16 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.1/spec/app/config/autoprefixer.yml +2 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.1/spec/app/config/boot.rb +2 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.1/spec/app/config/environment.rb +3 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.1/spec/app/config/environments/test.rb +9 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.1/spec/app/config/initializers/secret_token.rb +1 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.1/spec/app/config/routes.rb +3 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.1/spec/autoprefixer_spec.rb +121 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.1/spec/processor_spec.rb +25 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.1/spec/rails_spec.rb +40 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.1/spec/railtie_spec.rb +29 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.1/spec/spec_helper.rb +16 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.1/vendor/autoprefixer.js +67806 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/CHANGES.md +1177 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/FEATURES +16 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/README.md +199 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bin/brakeman +10 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/load.rb +14 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/CHANGES.txt +828 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/MIT-LICENSE +20 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/README.txt +102 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/contrib/erubis +3468 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/contrib/erubis-run.rb +132 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/contrib/inline-require +179 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis.rb +73 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/context.rb +83 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/converter.rb +357 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/engine.rb +120 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/engine/ec.rb +117 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/engine/ecpp.rb +113 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/engine/ejava.rb +110 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/engine/ejavascript.rb +119 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/engine/enhanced.rb +126 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/engine/eperl.rb +95 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/engine/ephp.rb +99 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/engine/eruby.rb +125 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/engine/escheme.rb +114 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/engine/optimized.rb +127 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/enhancer.rb +723 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/error.rb +23 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/evaluator.rb +88 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/generator.rb +85 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/helper.rb +47 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/helpers/rails_form_helper.rb +197 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/helpers/rails_helper.rb +353 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/local-setting.rb +9 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/main.rb +516 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/preprocessing.rb +58 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/tiny.rb +144 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/util.rb +22 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/setup.rb +1331 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/CHANGELOG.md +1481 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/FAQ.md +147 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/Gemfile +19 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/MIT-LICENSE +20 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/README.md +211 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/REFERENCE.md +1351 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/TODO +24 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/haml.gemspec +44 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml.rb +25 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/attribute_builder.rb +164 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/attribute_compiler.rb +224 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/attribute_parser.rb +150 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/buffer.rb +238 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/compiler.rb +330 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/engine.rb +238 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/error.rb +65 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/escapable.rb +50 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/exec.rb +347 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/filters.rb +399 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/generator.rb +42 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/helpers.rb +703 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/helpers/action_view_extensions.rb +60 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/helpers/action_view_mods.rb +132 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/helpers/action_view_xss_mods.rb +60 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/helpers/safe_erubi_template.rb +20 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/helpers/safe_erubis_template.rb +33 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/helpers/xss_mods.rb +111 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/options.rb +273 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/parser.rb +828 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/plugin.rb +37 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/railtie.rb +48 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/sass_rails_filter.rb +47 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/template.rb +39 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/template/options.rb +27 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/temple_engine.rb +123 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/temple_line_counter.rb +30 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/util.rb +258 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/version.rb +5 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/yard/default/fulldoc/html/css/common.sass +15 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/haml-5.1.2/yard/default/layout/html/footer.erb +12 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/highline-2.0.3/AUTHORS +3 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/highline-2.0.3/COPYING +339 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/highline-2.0.3/Changelog.md +620 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/highline-2.0.3/Gemfile +22 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/highline-2.0.3/LICENSE +7 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/highline-2.0.3/README.md +202 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/highline-2.0.3/TODO +6 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/highline-2.0.3/appveyor.yml +37 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/highline-2.0.3/highline.gemspec +35 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline.rb +650 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/builtin_styles.rb +129 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/color_scheme.rb +151 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/compatibility.rb +23 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/custom_errors.rb +57 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/import.rb +48 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/io_console_compatible.rb +37 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/list.rb +177 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/list_renderer.rb +261 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/menu.rb +576 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/menu/item.rb +32 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/paginator.rb +52 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/question.rb +630 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/question/answer_converter.rb +103 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/question_asker.rb +150 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/simulate.rb +59 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/statement.rb +88 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/string.rb +36 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/string_extensions.rb +130 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/style.rb +325 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/template_renderer.rb +62 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/terminal.rb +190 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/terminal/io_console.rb +36 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/terminal/ncurses.rb +38 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/terminal/unix_stty.rb +51 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/version.rb +6 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/wrapper.rb +53 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby2ruby-2.4.4/History.rdoc +435 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby2ruby-2.4.4/Manifest.txt +8 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby2ruby-2.4.4/README.rdoc +87 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby2ruby-2.4.4/lib/ruby2ruby.rb +1309 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-3.14.0/History.rdoc +1103 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-3.14.0/Manifest.txt +37 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-3.14.0/README.rdoc +109 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-3.14.0/compare/normalize.rb +173 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-3.14.0/debugging.md +18 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-3.14.0/lib/rp_extensions.rb +74 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-3.14.0/lib/rp_stringscanner.rb +64 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-3.14.0/lib/ruby20_parser.rb +7045 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-3.14.0/lib/ruby20_parser.y +2575 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-3.14.0/lib/ruby21_parser.rb +7116 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-3.14.0/lib/ruby21_parser.y +2594 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-3.14.0/lib/ruby22_parser.rb +7149 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-3.14.0/lib/ruby22_parser.y +2603 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-3.14.0/lib/ruby23_parser.rb +7166 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-3.14.0/lib/ruby23_parser.y +2605 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-3.14.0/lib/ruby24_parser.rb +7178 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-3.14.0/lib/ruby24_parser.y +2613 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-3.14.0/lib/ruby25_parser.rb +7178 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-3.14.0/lib/ruby25_parser.y +2613 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-3.14.0/lib/ruby26_parser.rb +7198 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-3.14.0/lib/ruby26_parser.y +2627 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-3.14.0/lib/ruby_lexer.rb +1441 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-3.14.0/lib/ruby_lexer.rex +179 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-3.14.0/lib/ruby_lexer.rex.rb +365 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-3.14.0/lib/ruby_parser.rb +92 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-3.14.0/lib/ruby_parser.yy +2732 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-3.14.0/lib/ruby_parser_extras.rb +1602 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-3.14.0/tools/munge.rb +217 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-3.14.0/tools/ripper.rb +39 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/History.rdoc +6 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/Manifest.txt +19 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/README.rdoc +54 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy.rb +5 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby18_parser.rb +5794 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby18_parser.y +1909 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby19_parser.rb +6186 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby19_parser.y +2117 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby_lexer.rb +1412 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby_lexer.rex +179 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby_lexer.rex.rb +323 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby_parser.rb +30 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby_parser_extras.rb +1388 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/CHANGES.md +154 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/Gemfile +11 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/LICENSE.txt +22 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/README.md +191 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/bundle_install_all_ruby_versions.sh +11 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml.rb +94 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/deep.rb +34 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/libyaml_checker.rb +36 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/load.rb +181 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/parse/date.rb +37 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/parse/hexadecimal.rb +12 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/parse/sexagesimal.rb +26 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/psych_handler.rb +99 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/psych_resolver.rb +52 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/resolver.rb +94 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/safe_to_ruby_visitor.rb +29 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/store.rb +39 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/syck_hack.rb +36 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/syck_node_monkeypatch.rb +43 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/syck_resolver.rb +38 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform.rb +41 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_boolean.rb +21 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_date.rb +13 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_float.rb +33 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_integer.rb +26 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_nil.rb +18 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_symbol.rb +17 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/transformation_map.rb +47 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/version.rb +3 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/run_specs_all_ruby_versions.sh +38 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/safe_yaml.gemspec +19 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/sexp_processor-4.13.0/History.rdoc +393 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/sexp_processor-4.13.0/Manifest.txt +15 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/sexp_processor-4.13.0/README.rdoc +93 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/sexp_processor-4.13.0/lib/composite_sexp_processor.rb +49 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/sexp_processor-4.13.0/lib/pt_testcase.rb +3128 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/sexp_processor-4.13.0/lib/sexp.rb +381 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/sexp_processor-4.13.0/lib/sexp_matcher.rb +1063 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/sexp_processor-4.13.0/lib/sexp_processor.rb +754 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/sexp_processor-4.13.0/lib/strict_sexp.rb +126 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/sexp_processor-4.13.0/lib/unique.rb +21 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/slim-4.0.1/CHANGES +456 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/slim-4.0.1/Gemfile +71 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/slim-4.0.1/LICENSE +21 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/slim-4.0.1/README.jp.md +1289 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/slim-4.0.1/README.md +1290 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim.rb +14 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/code_attributes.rb +67 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/command.rb +128 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/controls.rb +60 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/do_inserter.rb +33 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/embedded.rb +248 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/end_inserter.rb +62 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/engine.rb +39 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/erb_converter.rb +14 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/filter.rb +30 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/grammar.rb +23 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/include.rb +57 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/interpolation.rb +35 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/logic_less.rb +5 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/logic_less/context.rb +127 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/logic_less/filter.rb +80 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/parser.rb +548 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/smart.rb +8 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/smart/escaper.rb +42 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/smart/filter.rb +96 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/smart/parser.rb +34 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/splat/builder.rb +107 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/splat/filter.rb +91 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/template.rb +19 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/translator.rb +118 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/version.rb +5 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/slim-4.0.1/slim.gemspec +24 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/CHANGES +260 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/EXPRESSIONS.md +262 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/Gemfile +3 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/LICENSE +20 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/README.md +267 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple.rb +67 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/engine.rb +67 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/erb/engine.rb +15 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/erb/parser.rb +40 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/erb/template.rb +11 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/erb/trimming.rb +23 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/exceptions.rb +13 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/filter.rb +9 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/filters/code_merger.rb +30 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/filters/control_flow.rb +42 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/filters/dynamic_inliner.rb +71 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/filters/encoding.rb +24 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/filters/eraser.rb +22 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/filters/escapable.rb +40 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/filters/multi_flattener.rb +25 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/filters/remove_bom.rb +13 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/filters/static_analyzer.rb +30 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/filters/static_merger.rb +37 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/filters/string_splitter.rb +130 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/filters/validator.rb +15 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/generator.rb +88 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/generators/array.rb +21 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/generators/array_buffer.rb +29 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/generators/erb.rb +32 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/generators/rails_output_buffer.rb +35 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/generators/string_buffer.rb +25 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/grammar.rb +57 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/html/attribute_merger.rb +42 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/html/attribute_remover.rb +35 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/html/attribute_sorter.rb +21 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/html/dispatcher.rb +31 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/html/fast.rb +130 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/html/filter.rb +21 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/html/pretty.rb +103 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/html/safe.rb +23 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/map.rb +105 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/mixins/dispatcher.rb +161 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/mixins/engine_dsl.rb +145 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/mixins/grammar_dsl.rb +170 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/mixins/options.rb +87 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/mixins/template.rb +28 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/parser.rb +8 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/static_analyzer.rb +77 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/templates.rb +11 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/templates/rails.rb +26 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/templates/tilt.rb +46 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/utils.rb +101 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/version.rb +3 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/temple-0.8.2/temple.gemspec +29 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/Gemfile +6 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/History.rdoc +85 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/LICENSE.txt +21 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/Manifest +27 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/README.rdoc +247 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/Todo.rdoc +14 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table.rb +26 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/cell.rb +94 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/import.rb +3 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/row.rb +52 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/separator.rb +14 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/style.rb +79 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/table.rb +343 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/table_helper.rb +9 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/version.rb +5 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/terminal-table.gemspec +26 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/COPYING +18 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt.rb +166 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/asciidoc.rb +27 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/babel.rb +16 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/bluecloth.rb +24 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/builder.rb +37 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/coffee.rb +58 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/commonmarker.rb +78 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/creole.rb +25 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/csv.rb +65 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/dummy.rb +3 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/erb.rb +63 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/erubi.rb +32 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/erubis.rb +43 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/etanni.rb +27 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/haml.rb +86 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/kramdown.rb +25 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/less.rb +30 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/liquid.rb +44 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/livescript.rb +23 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/mapping.rb +293 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/markaby.rb +45 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/maruku.rb +22 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/nokogiri.rb +36 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/pandoc.rb +49 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/plain.rb +16 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/prawn.rb +43 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/radius.rb +48 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/rdiscount.rb +39 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/rdoc.rb +40 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/redcarpet.rb +83 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/redcloth.rb +23 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/rst-pandoc.rb +18 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/sass.rb +52 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/sigil.rb +34 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/string.rb +21 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/template.rb +297 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/typescript.rb +26 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/wikicloth.rb +22 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/yajl.rb +87 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/unicode-display_width-1.6.0/CHANGELOG.md +125 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/unicode-display_width-1.6.0/MIT-LICENSE.txt +22 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/unicode-display_width-1.6.0/README.md +124 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/unicode-display_width-1.6.0/data/display_width.marshal.gz +0 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/unicode-display_width-1.6.0/lib/unicode/display_width.rb +51 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/unicode-display_width-1.6.0/lib/unicode/display_width/constants.rb +8 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/unicode-display_width-1.6.0/lib/unicode/display_width/index.rb +12 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/unicode-display_width-1.6.0/lib/unicode/display_width/no_string_ext.rb +7 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/bundle/ruby/2.6.0/gems/unicode-display_width-1.6.0/lib/unicode/display_width/string_ext.rb +17 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman.rb +553 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/app_tree.rb +217 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/call_index.rb +261 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks.rb +217 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/base_check.rb +507 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_basic_auth.rb +88 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_basic_auth_timing_attack.rb +33 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_content_tag.rb +212 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_cookie_serialization.rb +22 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_create_with.rb +74 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_cross_site_scripting.rb +386 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_default_routes.rb +91 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_deserialize.rb +105 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_detailed_exceptions.rb +55 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_digest_dos.rb +38 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_divide_by_zero.rb +42 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_dynamic_finders.rb +48 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_escape_function.rb +21 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_evaluation.rb +34 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_execute.rb +233 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_file_access.rb +87 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_file_disclosure.rb +35 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_filter_skipping.rb +31 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_force_ssl.rb +27 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_forgery_setting.rb +81 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_header_dos.rb +31 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_i18n_xss.rb +48 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_jruby_xml.rb +36 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_json_encoding.rb +47 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_json_parsing.rb +109 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_link_to.rb +132 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_link_to_href.rb +151 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_mail_to.rb +49 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_mass_assignment.rb +196 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_mime_type_dos.rb +39 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_model_attr_accessible.rb +55 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_model_attributes.rb +81 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_model_serialize.rb +67 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_nested_attributes.rb +38 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_nested_attributes_bypass.rb +58 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_number_to_currency.rb +74 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_permit_attributes.rb +43 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_quote_table_name.rb +40 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_redirect.rb +256 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_regex_dos.rb +68 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_render.rb +97 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_render_dos.rb +37 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_render_inline.rb +53 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_response_splitting.rb +21 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_reverse_tabnabbing.rb +58 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_route_dos.rb +42 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_safe_buffer_manipulation.rb +31 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_sanitize_methods.rb +112 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_secrets.rb +40 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_select_tag.rb +59 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_select_vulnerability.rb +60 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_send.rb +46 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_send_file.rb +19 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_session_manipulation.rb +34 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_session_settings.rb +179 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_simple_format.rb +63 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_single_quotes.rb +105 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_skip_before_filter.rb +60 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_sprockets_path_traversal.rb +39 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_sql.rb +707 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_sql_cves.rb +106 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_ssl_verify.rb +48 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_strip_tags.rb +91 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_symbol_dos.rb +71 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_symbol_dos_cve.rb +30 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_translate_bug.rb +45 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_unsafe_reflection.rb +50 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_unscoped_find.rb +57 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_validation_regex.rb +116 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_weak_hash.rb +147 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_without_protection.rb +80 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_xml_dos.rb +45 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/checks/check_yaml_parsing.rb +113 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/codeclimate/engine_configuration.rb +97 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/commandline.rb +179 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/differ.rb +54 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/file_parser.rb +52 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/file_path.rb +85 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/format/style.css +141 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/messages.rb +220 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/options.rb +359 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/parsers/haml_embedded.rb +44 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/parsers/rails2_erubis.rb +6 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/parsers/rails2_xss_plugin_erubis.rb +48 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/parsers/rails3_erubis.rb +81 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/parsers/slim_embedded.rb +44 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/parsers/template_parser.rb +108 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/processor.rb +101 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/processors/alias_processor.rb +1278 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/processors/base_processor.rb +298 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/processors/config_processor.rb +17 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/processors/controller_alias_processor.rb +281 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/processors/controller_processor.rb +245 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/processors/erb_template_processor.rb +77 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/processors/erubis_template_processor.rb +92 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/processors/gem_processor.rb +100 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/processors/haml_template_processor.rb +160 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/processors/lib/basic_processor.rb +37 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/processors/lib/call_conversion_helper.rb +96 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/processors/lib/find_all_calls.rb +247 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/processors/lib/find_call.rb +122 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/processors/lib/find_return_value.rb +166 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/processors/lib/module_helper.rb +111 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/processors/lib/processor_helper.rb +88 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/processors/lib/rails2_config_processor.rb +145 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/processors/lib/rails2_route_processor.rb +313 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/processors/lib/rails3_config_processor.rb +132 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/processors/lib/rails3_route_processor.rb +306 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/processors/lib/rails4_config_processor.rb +18 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/processors/lib/render_helper.rb +186 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/processors/lib/render_path.rb +139 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/processors/lib/route_helper.rb +68 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/processors/lib/safe_call_helper.rb +16 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/processors/library_processor.rb +74 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/processors/model_processor.rb +90 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/processors/output_processor.rb +149 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/processors/route_processor.rb +17 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/processors/slim_template_processor.rb +127 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/processors/template_alias_processor.rb +145 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/processors/template_processor.rb +89 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/report.rb +88 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/report/config/remediation.yml +71 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/report/ignore/config.rb +152 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/report/ignore/interactive.rb +362 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/report/pager.rb +113 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/report/renderer.rb +24 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/report/report_base.rb +193 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/report/report_codeclimate.rb +79 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/report/report_csv.rb +72 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/report/report_hash.rb +23 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/report/report_html.rb +219 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/report/report_json.rb +43 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/report/report_markdown.rb +114 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/report/report_table.rb +290 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/report/report_tabs.rb +19 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/report/report_text.rb +213 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/report/templates/controller_overview.html.erb +22 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/report/templates/controller_warnings.html.erb +21 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/report/templates/error_overview.html.erb +29 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/report/templates/header.html.erb +58 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/report/templates/ignored_warnings.html.erb +25 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/report/templates/model_warnings.html.erb +21 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/report/templates/overview.html.erb +38 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/report/templates/security_warnings.html.erb +23 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/report/templates/template_overview.html.erb +21 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/report/templates/view_warnings.html.erb +34 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/report/templates/warning_overview.html.erb +17 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/rescanner.rb +484 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/scanner.rb +331 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/tracker.rb +390 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/tracker/collection.rb +94 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/tracker/config.rb +150 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/tracker/constants.rb +172 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/tracker/controller.rb +161 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/tracker/library.rb +17 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/tracker/model.rb +90 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/tracker/template.rb +33 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/util.rb +357 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/version.rb +3 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/warning.rb +313 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/brakeman/warning_codes.rb +122 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/ruby_parser/bm_sexp.rb +631 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.7.1/lib/ruby_parser/bm_sexp_processor.rb +117 -0
- data/vendor/ruby/2.6.0/gems/jaro_winkler-1.5.4/LICENSE.txt +22 -0
- data/vendor/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +266 -0
- data/vendor/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/adj_matrix.c +97 -0
- data/vendor/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/adj_matrix.h +22 -0
- data/vendor/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/adj_matrix.o +0 -0
- data/vendor/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/codepoints.c +61 -0
- data/vendor/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/codepoints.h +13 -0
- data/vendor/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/codepoints.o +0 -0
- data/vendor/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/extconf.rb +5 -0
- data/vendor/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/jaro.c +121 -0
- data/vendor/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/jaro.h +17 -0
- data/vendor/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/jaro.o +0 -0
- data/vendor/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/jaro_winkler.c +72 -0
- data/vendor/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/jaro_winkler.o +0 -0
- data/vendor/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/jaro_winkler_ext.so +0 -0
- data/vendor/ruby/2.6.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler.rb +15 -0
- data/vendor/ruby/2.6.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/adjusting_table.rb +14 -0
- data/vendor/ruby/2.6.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/jaro_winkler_ext.so +0 -0
- data/vendor/ruby/2.6.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/jaro_winkler_pure.rb +135 -0
- data/vendor/ruby/2.6.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/version.rb +5 -0
- data/vendor/ruby/2.6.0/gems/minitest-5.13.0/History.rdoc +1367 -0
- data/vendor/ruby/2.6.0/gems/minitest-5.13.0/Manifest.txt +27 -0
- data/vendor/ruby/2.6.0/gems/minitest-5.13.0/README.rdoc +763 -0
- data/vendor/ruby/2.6.0/gems/minitest-5.13.0/Rakefile +72 -0
- data/vendor/ruby/2.6.0/gems/minitest-5.13.0/design_rationale.rb +52 -0
- data/vendor/ruby/2.6.0/gems/minitest-5.13.0/lib/hoe/minitest.rb +32 -0
- data/vendor/ruby/2.6.0/gems/minitest-5.13.0/lib/minitest.rb +1056 -0
- data/vendor/ruby/2.6.0/gems/minitest-5.13.0/lib/minitest/assertions.rb +794 -0
- data/vendor/ruby/2.6.0/gems/minitest-5.13.0/lib/minitest/autorun.rb +13 -0
- data/vendor/ruby/2.6.0/gems/minitest-5.13.0/lib/minitest/benchmark.rb +455 -0
- data/vendor/ruby/2.6.0/gems/minitest-5.13.0/lib/minitest/expectations.rb +302 -0
- data/vendor/ruby/2.6.0/gems/minitest-5.13.0/lib/minitest/hell.rb +11 -0
- data/vendor/ruby/2.6.0/gems/minitest-5.13.0/lib/minitest/mock.rb +240 -0
- data/vendor/ruby/2.6.0/gems/minitest-5.13.0/lib/minitest/parallel.rb +70 -0
- data/vendor/ruby/2.6.0/gems/minitest-5.13.0/lib/minitest/pride.rb +4 -0
- data/vendor/ruby/2.6.0/gems/minitest-5.13.0/lib/minitest/pride_plugin.rb +142 -0
- data/vendor/ruby/2.6.0/gems/minitest-5.13.0/lib/minitest/spec.rb +342 -0
- data/vendor/ruby/2.6.0/gems/minitest-5.13.0/lib/minitest/test.rb +220 -0
- data/vendor/ruby/2.6.0/gems/minitest-5.13.0/lib/minitest/unit.rb +45 -0
- data/vendor/ruby/2.6.0/gems/minitest-5.13.0/test/minitest/metametameta.rb +117 -0
- data/vendor/ruby/2.6.0/gems/minitest-5.13.0/test/minitest/test_minitest_assertions.rb +1437 -0
- data/vendor/ruby/2.6.0/gems/minitest-5.13.0/test/minitest/test_minitest_benchmark.rb +137 -0
- data/vendor/ruby/2.6.0/gems/minitest-5.13.0/test/minitest/test_minitest_mock.rb +872 -0
- data/vendor/ruby/2.6.0/gems/minitest-5.13.0/test/minitest/test_minitest_reporter.rb +299 -0
- data/vendor/ruby/2.6.0/gems/minitest-5.13.0/test/minitest/test_minitest_spec.rb +1041 -0
- data/vendor/ruby/2.6.0/gems/minitest-5.13.0/test/minitest/test_minitest_test.rb +1080 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/LICENSE-DEPENDENCIES.md +1614 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/LICENSE.md +9 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/README.md +198 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/bin/nokogiri +118 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/dependencies.yml +74 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/Makefile +628 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/depend +358 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/extconf.rb +686 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/html_document.c +170 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/html_document.h +10 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/html_document.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/html_element_description.c +279 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/html_element_description.h +10 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/html_element_description.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/html_entity_lookup.c +32 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/html_entity_lookup.h +8 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/html_entity_lookup.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/html_sax_parser_context.c +116 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/html_sax_parser_context.h +11 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/html_sax_parser_context.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/html_sax_push_parser.c +87 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/html_sax_push_parser.h +9 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/html_sax_push_parser.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/nokogiri.c +141 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/nokogiri.h +121 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/nokogiri.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/nokogiri.so +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_attr.c +103 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_attr.h +9 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_attr.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_attribute_decl.c +70 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_attribute_decl.h +9 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_attribute_decl.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_cdata.c +62 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_cdata.h +9 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_cdata.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_comment.c +69 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_comment.h +9 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_comment.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_document.c +608 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_document.h +23 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_document.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_document_fragment.c +48 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_document_fragment.h +10 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_document_fragment.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_dtd.c +202 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_dtd.h +10 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_dtd.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_element_content.c +123 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_element_content.h +10 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_element_content.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_element_decl.c +69 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_element_decl.h +9 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_element_decl.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_encoding_handler.c +79 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_encoding_handler.h +8 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_encoding_handler.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_entity_decl.c +110 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_entity_decl.h +10 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_entity_decl.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_entity_reference.c +52 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_entity_reference.h +9 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_entity_reference.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_io.c +61 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_io.h +11 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_io.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_libxml2_hacks.c +112 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_libxml2_hacks.h +12 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_libxml2_hacks.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_namespace.c +111 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_namespace.h +14 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_namespace.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_node.c +1753 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_node.h +13 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_node.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_node_set.c +486 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_node_set.h +12 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_node_set.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_processing_instruction.c +56 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_processing_instruction.h +9 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_processing_instruction.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_reader.c +668 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_reader.h +10 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_reader.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_relax_ng.c +161 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_relax_ng.h +9 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_relax_ng.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_sax_parser.c +310 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_sax_parser.h +39 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_sax_parser.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_sax_parser_context.c +262 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_sax_parser_context.h +10 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_sax_parser_context.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_sax_push_parser.c +159 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_sax_push_parser.h +9 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_sax_push_parser.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_schema.c +205 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_schema.h +9 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_schema.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_syntax_error.c +64 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_syntax_error.h +13 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_syntax_error.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_text.c +52 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_text.h +9 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_text.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_xpath_context.c +298 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_xpath_context.h +10 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xml_xpath_context.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xslt_stylesheet.c +270 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xslt_stylesheet.h +14 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri/xslt_stylesheet.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri.rb +144 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/css.rb +27 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/css/node.rb +52 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/css/parser.rb +750 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/css/parser.y +272 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/css/parser_extras.rb +91 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/css/syntax_error.rb +7 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/css/tokenizer.rb +153 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/css/tokenizer.rex +55 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/css/xpath_visitor.rb +230 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/decorators/slop.rb +42 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/html.rb +37 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/html/builder.rb +35 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/html/document.rb +335 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/html/document_fragment.rb +49 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/html/element_description.rb +23 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/html/element_description_defaults.rb +671 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/html/entity_lookup.rb +13 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/html/sax/parser.rb +62 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/html/sax/parser_context.rb +16 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/html/sax/push_parser.rb +36 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/nokogiri.so +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/syntax_error.rb +4 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/version.rb +109 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml.rb +75 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/attr.rb +14 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/attribute_decl.rb +18 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/builder.rb +446 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/cdata.rb +11 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/character_data.rb +7 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/document.rb +285 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/document_fragment.rb +160 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/dtd.rb +32 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/element_content.rb +36 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/element_decl.rb +13 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/entity_decl.rb +19 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/entity_reference.rb +18 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/namespace.rb +13 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/node.rb +902 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/node/save_options.rb +61 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/node_set.rb +371 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/notation.rb +6 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/parse_options.rb +120 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/pp.rb +2 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/pp/character_data.rb +18 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/pp/node.rb +56 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/processing_instruction.rb +8 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/reader.rb +112 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/relax_ng.rb +32 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/sax.rb +4 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/sax/document.rb +171 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/sax/parser.rb +122 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/sax/parser_context.rb +16 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/sax/push_parser.rb +60 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/schema.rb +63 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/searchable.rb +230 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/syntax_error.rb +70 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/text.rb +9 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/xpath.rb +10 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/xpath/syntax_error.rb +11 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/xpath_context.rb +16 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xslt.rb +56 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xslt/stylesheet.rb +25 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/xsd/xmlparser/nokogiri.rb +102 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/patches/libxml2/0001-Revert-Do-not-URI-escape-in-server-side-includes.patch +78 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/patches/libxml2/0002-Remove-script-macro-support.patch +40 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.5/patches/libxml2/0003-Update-entities-to-remove-handling-of-ssi.patch +44 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/CHANGELOG.md +451 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/MIT-LICENSE +20 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/RDOC_MAIN.rdoc +98 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/README.rdoc +40 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/exe/rails +10 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/minitest/rails_plugin.rb +59 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails.rb +119 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/all.rb +24 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/api/generator.rb +38 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/api/task.rb +202 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/app_loader.rb +77 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/app_updater.rb +37 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/application.rb +660 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/application/bootstrap.rb +81 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/application/configuration.rb +370 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/application/default_middleware_stack.rb +110 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/application/dummy_erb_compiler.rb +18 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/application/finisher.rb +250 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/application/routes_reloader.rb +55 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/application_controller.rb +29 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/autoloaders.rb +48 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/backtrace_cleaner.rb +22 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/cli.rb +19 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/code_statistics.rb +115 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/code_statistics_calculator.rb +88 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/command.rb +114 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/command/actions.rb +54 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/command/base.rb +165 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/command/behavior.rb +84 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/command/environment_argument.rb +40 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/command/helpers/editor.rb +35 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/command/spellchecker.rb +58 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/commands.rb +18 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/commands/application/application_command.rb +31 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/commands/console/console_command.rb +106 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/commands/credentials/USAGE +58 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/commands/credentials/credentials_command.rb +112 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/commands/db/system/change/change_command.rb +20 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/commands/dbconsole/dbconsole_command.rb +182 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/commands/destroy/destroy_command.rb +28 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/commands/dev/dev_command.rb +19 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/commands/encrypted/USAGE +28 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/commands/encrypted/encrypted_command.rb +87 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/commands/generate/generate_command.rb +30 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/commands/help/USAGE +16 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/commands/help/help_command.rb +15 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/commands/initializers/initializers_command.rb +23 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/commands/new/new_command.rb +19 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/commands/notes/notes_command.rb +39 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/commands/plugin/plugin_command.rb +45 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/commands/rake/rake_command.rb +51 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/commands/routes/routes_command.rb +37 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/commands/runner/USAGE +20 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/commands/runner/runner_command.rb +57 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/commands/secrets/USAGE +60 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/commands/secrets/secrets_command.rb +65 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/commands/server/server_command.rb +312 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/commands/test/test_command.rb +37 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/commands/version/version_command.rb +11 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/configuration.rb +131 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/console/app.rb +38 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/console/helpers.rb +19 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/dev_caching.rb +44 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/engine.rb +731 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/engine/commands.rb +9 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/engine/configuration.rb +91 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/engine/railties.rb +23 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/engine/updater.rb +21 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/gem_version.rb +17 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators.rb +325 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/actions.rb +350 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/actions/create_migration.rb +71 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/active_model.rb +80 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/app_base.rb +440 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/app_name.rb +50 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/base.rb +417 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/css/assets/assets_generator.rb +15 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/css/assets/templates/stylesheet.css +4 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/css/scaffold/scaffold_generator.rb +18 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/database.rb +58 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/erb.rb +27 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/erb/controller/controller_generator.rb +24 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/erb/controller/templates/view.html.erb.tt +2 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/erb/mailer/mailer_generator.rb +42 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/erb/mailer/templates/layout.html.erb.tt +13 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/erb/mailer/templates/layout.text.erb.tt +1 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/erb/mailer/templates/view.html.erb.tt +5 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/erb/mailer/templates/view.text.erb.tt +3 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/erb/scaffold/scaffold_generator.rb +33 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/erb/scaffold/templates/_form.html.erb.tt +37 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/erb/scaffold/templates/edit.html.erb.tt +6 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/erb/scaffold/templates/index.html.erb.tt +31 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/erb/scaffold/templates/new.html.erb.tt +5 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/erb/scaffold/templates/show.html.erb.tt +19 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/generated_attribute.rb +203 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/migration.rb +75 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/model_helpers.rb +37 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/named_base.rb +227 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/USAGE +14 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/app_generator.rb +589 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/Gemfile.tt +78 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/README.md.tt +24 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/Rakefile.tt +6 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/app/assets/config/manifest.js.tt +2 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/app/assets/stylesheets/application.css.tt +15 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/app/channels/application_cable/channel.rb.tt +4 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/app/channels/application_cable/connection.rb.tt +4 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt +2 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/app/helpers/application_helper.rb.tt +2 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/app/javascript/channels/consumer.js +6 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/app/javascript/channels/index.js +5 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/app/javascript/packs/application.js.tt +23 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/app/jobs/application_job.rb.tt +7 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/app/mailers/application_mailer.rb.tt +4 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/app/models/application_record.rb.tt +3 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb.tt +24 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/app/views/layouts/mailer.html.erb.tt +13 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/app/views/layouts/mailer.text.erb.tt +1 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/bin/rails.tt +3 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/bin/rake.tt +3 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/bin/setup.tt +39 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/bin/yarn.tt +10 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/config.ru.tt +5 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/config/application.rb.tt +47 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/config/boot.rb.tt +6 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/config/cable.yml.tt +10 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/config/databases/frontbase.yml.tt +50 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/config/databases/ibm_db.yml.tt +86 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/config/databases/jdbc.yml.tt +69 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/config/databases/jdbcmysql.yml.tt +53 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/config/databases/jdbcpostgresql.yml.tt +69 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/config/databases/jdbcsqlite3.yml.tt +24 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/config/databases/mysql.yml.tt +58 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/config/databases/oracle.yml.tt +61 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/config/databases/postgresql.yml.tt +85 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/config/databases/sqlite3.yml.tt +25 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/config/databases/sqlserver.yml.tt +52 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/config/environment.rb.tt +5 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt +72 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt +124 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt +57 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/config/initializers/application_controller_renderer.rb.tt +8 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/config/initializers/assets.rb.tt +16 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/config/initializers/backtrace_silencers.rb.tt +7 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/config/initializers/content_security_policy.rb.tt +32 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/config/initializers/cookies_serializer.rb.tt +5 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/config/initializers/cors.rb.tt +16 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/config/initializers/filter_parameter_logging.rb.tt +4 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/config/initializers/inflections.rb.tt +16 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/config/initializers/mime_types.rb.tt +4 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults_6_0.rb.tt +45 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/config/initializers/wrap_parameters.rb.tt +16 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/config/locales/en.yml +33 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/config/puma.rb.tt +38 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/config/routes.rb.tt +3 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/config/spring.rb.tt +6 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/config/storage.yml.tt +34 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/db/seeds.rb.tt +7 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/gitignore.tt +36 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/package.json.tt +11 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/public/404.html +67 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/public/422.html +67 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/public/500.html +66 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/public/apple-touch-icon-precomposed.png +0 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/public/apple-touch-icon.png +0 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/public/favicon.ico +0 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/public/robots.txt +1 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/ruby-version.tt +1 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/test/application_system_test_case.rb.tt +5 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/test/channels/application_cable/connection_test.rb.tt +11 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/app/templates/test/test_helper.rb.tt +19 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/application_record/application_record_generator.rb +9 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/assets/USAGE +17 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/assets/assets_generator.rb +26 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/assets/templates/stylesheet.css +4 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/controller/USAGE +18 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/controller/controller_generator.rb +77 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/controller/templates/controller.rb.tt +13 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/credentials/credentials_generator.rb +56 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/db/system/change/change_generator.rb +65 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/encrypted_file/encrypted_file_generator.rb +27 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/encryption_key_file/encryption_key_file_generator.rb +58 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/generator/USAGE +13 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/generator/generator_generator.rb +28 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/generator/templates/%file_name%_generator.rb.tt +3 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/generator/templates/USAGE.tt +8 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/helper/USAGE +13 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/helper/helper_generator.rb +20 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/helper/templates/helper.rb.tt +4 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/integration_test/USAGE +10 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/integration_test/integration_test_generator.rb +9 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/master_key/master_key_generator.rb +53 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/migration/USAGE +35 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/migration/migration_generator.rb +10 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/model/USAGE +114 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/model/model_generator.rb +14 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/plugin/USAGE +10 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/plugin/plugin_generator.rb +430 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/plugin/templates/%name%.gemspec.tt +33 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/plugin/templates/Gemfile.tt +48 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/plugin/templates/MIT-LICENSE.tt +20 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/plugin/templates/README.md.tt +28 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/plugin/templates/Rakefile.tt +28 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/plugin/templates/app/controllers/%namespaced_name%/application_controller.rb.tt +6 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/plugin/templates/app/helpers/%namespaced_name%/application_helper.rb.tt +5 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/plugin/templates/app/jobs/%namespaced_name%/application_job.rb.tt +5 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/plugin/templates/app/mailers/%namespaced_name%/application_mailer.rb.tt +7 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/plugin/templates/app/models/%namespaced_name%/application_record.rb.tt +6 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/plugin/templates/app/views/layouts/%namespaced_name%/application.html.erb.tt +18 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/plugin/templates/bin/rails.tt +30 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/plugin/templates/bin/test.tt +4 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/plugin/templates/config/routes.rb.tt +6 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/plugin/templates/gitignore.tt +19 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/plugin/templates/lib/%namespaced_name%.rb.tt +7 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/plugin/templates/lib/%namespaced_name%/engine.rb.tt +7 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/plugin/templates/lib/%namespaced_name%/railtie.rb.tt +5 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/plugin/templates/lib/%namespaced_name%/version.rb.tt +1 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/plugin/templates/lib/tasks/%namespaced_name%_tasks.rake.tt +4 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/plugin/templates/rails/application.rb.tt +23 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/plugin/templates/rails/boot.rb.tt +5 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/plugin/templates/rails/dummy_manifest.js.tt +10 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/plugin/templates/rails/engine_manifest.js.tt +6 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/plugin/templates/rails/javascripts.js.tt +17 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/plugin/templates/rails/routes.rb.tt +3 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/plugin/templates/rails/stylesheets.css +15 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/plugin/templates/test/%namespaced_name%_test.rb.tt +7 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/plugin/templates/test/application_system_test_case.rb.tt +5 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/plugin/templates/test/integration/navigation_test.rb.tt +7 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/plugin/templates/test/test_helper.rb.tt +29 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/resource/USAGE +23 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/resource/resource_generator.rb +21 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/resource_route/resource_route_generator.rb +48 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/scaffold/USAGE +41 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/scaffold/scaffold_generator.rb +36 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/scaffold/templates/scaffold.css +80 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/scaffold_controller/USAGE +19 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/scaffold_controller/scaffold_controller_generator.rb +51 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/scaffold_controller/templates/api_controller.rb.tt +61 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/scaffold_controller/templates/controller.rb.tt +68 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/system_test/USAGE +10 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/system_test/system_test_generator.rb +9 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/task/USAGE +9 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/task/task_generator.rb +13 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/rails/task/templates/task.rb.tt +8 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/resource_helpers.rb +82 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/test_case.rb +37 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/test_unit.rb +10 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/test_unit/controller/controller_generator.rb +17 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/test_unit/controller/templates/functional_test.rb.tt +23 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/test_unit/generator/generator_generator.rb +28 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/test_unit/generator/templates/generator_test.rb.tt +16 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/test_unit/helper/helper_generator.rb +11 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/test_unit/integration/integration_generator.rb +21 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/test_unit/integration/templates/integration_test.rb.tt +9 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/test_unit/job/job_generator.rb +20 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/test_unit/job/templates/unit_test.rb.tt +9 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/test_unit/mailer/mailer_generator.rb +28 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/test_unit/mailer/templates/functional_test.rb.tt +21 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/test_unit/mailer/templates/preview.rb.tt +13 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/test_unit/model/model_generator.rb +37 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/test_unit/model/templates/fixtures.yml.tt +29 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/test_unit/model/templates/unit_test.rb.tt +9 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/test_unit/plugin/plugin_generator.rb +15 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/test_unit/plugin/templates/%file_name%_test.rb.tt +7 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/test_unit/plugin/templates/test_helper.rb +2 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/test_unit/scaffold/scaffold_generator.rb +69 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/test_unit/scaffold/templates/api_functional_test.rb.tt +44 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/test_unit/scaffold/templates/functional_test.rb.tt +54 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/test_unit/scaffold/templates/system_test.rb.tt +57 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/test_unit/system/system_generator.rb +24 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/test_unit/system/templates/application_system_test_case.rb.tt +5 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/test_unit/system/templates/system_test.rb.tt +9 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/testing/assertions.rb +127 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/testing/behaviour.rb +114 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/generators/testing/setup_and_teardown.rb +20 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/info.rb +105 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/info_controller.rb +46 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/initializable.rb +95 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/mailers_controller.rb +100 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/paths.rb +237 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/plugin/test.rb +9 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/rack.rb +7 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/rack/logger.rb +80 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/railtie.rb +260 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/railtie/configurable.rb +37 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/railtie/configuration.rb +102 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/ruby_version_check.rb +15 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/secrets.rb +105 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/source_annotation_extractor.rb +162 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/tasks.rb +23 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/tasks/annotations.rake +22 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/tasks/dev.rake +11 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/tasks/engine.rake +88 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/tasks/framework.rake +62 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/tasks/initializers.rake +9 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/tasks/log.rake +41 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/tasks/middleware.rake +9 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/tasks/misc.rake +79 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/tasks/restart.rake +9 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/tasks/routes.rake +9 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/tasks/statistics.rake +35 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/tasks/tmp.rake +44 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/tasks/yarn.rake +18 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/tasks/zeitwerk.rake +66 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/templates/layouts/application.html.erb +36 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/templates/rails/info/properties.html.erb +1 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/templates/rails/info/routes.html.erb +9 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/templates/rails/mailers/email.html.erb +162 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/templates/rails/mailers/index.html.erb +8 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/templates/rails/mailers/mailer.html.erb +6 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/templates/rails/welcome/index.html.erb +74 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/test_help.rb +50 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/test_unit/line_filtering.rb +13 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/test_unit/railtie.rb +29 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/test_unit/reporter.rb +110 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/test_unit/runner.rb +143 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/test_unit/testing.rake +58 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/version.rb +10 -0
- data/vendor/ruby/2.6.0/gems/railties-6.0.1/lib/rails/welcome_controller.rb +10 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/LICENSE.txt +20 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/README.md +217 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/assets/logo.png +0 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/assets/output.html.erb +261 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/bin/console +10 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/bin/setup +7 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/config/default.yml +3938 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/exe/rubocop +17 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop.rb +609 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/builder.rb +82 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node.rb +644 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/alias_node.rb +24 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/and_node.rb +29 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/args_node.rb +29 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/array_node.rb +57 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/block_node.rb +115 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/break_node.rb +17 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/case_node.rb +56 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/class_node.rb +31 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/def_node.rb +71 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/defined_node.rb +17 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/ensure_node.rb +17 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/float_node.rb +12 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/for_node.rb +53 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/hash_node.rb +109 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/if_node.rb +175 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/int_node.rb +12 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/keyword_splat_node.rb +45 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/mixin/basic_literal_node.rb +16 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/mixin/binary_operator_node.rb +43 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/mixin/collection_node.rb +15 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/mixin/conditional_node.rb +45 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/mixin/hash_element_node.rb +125 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/mixin/method_dispatch_node.rb +261 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb +114 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/mixin/modifier_node.rb +17 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/mixin/numeric_node.rb +21 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/mixin/parameterized_node.rb +61 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/mixin/predicate_operator_node.rb +35 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/module_node.rb +24 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/or_node.rb +29 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/pair_node.rb +63 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/range_node.rb +18 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/regexp_node.rb +35 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/resbody_node.rb +24 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/retry_node.rb +17 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/return_node.rb +24 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/self_class_node.rb +24 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/send_node.rb +13 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/str_node.rb +16 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/super_node.rb +21 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/symbol_node.rb +12 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/until_node.rb +35 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/when_node.rb +53 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/while_node.rb +35 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/node/yield_node.rb +21 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/sexp.rb +16 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/ast/traversal.rb +183 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cached_data.rb +58 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cli.rb +346 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/comment_config.rb +201 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/config.rb +251 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/config_loader.rb +273 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/config_loader_resolver.rb +195 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/config_obsoletion.rb +222 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/config_store.rb +48 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/config_validator.rb +248 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/autocorrect_logic.rb +103 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/badge.rb +73 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/bundler/duplicated_gem.rb +73 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/bundler/gem_comment.rb +64 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/bundler/insecure_protocol_source.rb +69 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/bundler/ordered_gems.rb +73 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/commissioner.rb +145 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/cop.rb +275 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/corrector.rb +172 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/correctors/alignment_corrector.rb +146 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/correctors/condition_corrector.rb +28 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/correctors/each_to_for_corrector.rb +53 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/correctors/empty_line_corrector.rb +26 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/correctors/for_to_each_corrector.rb +73 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb +136 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/correctors/line_break_corrector.rb +61 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb +68 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/correctors/ordered_gem_corrector.rb +44 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/correctors/parentheses_corrector.rb +31 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/correctors/percent_literal_corrector.rb +117 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/correctors/punctuation_corrector.rb +29 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/correctors/space_corrector.rb +49 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/correctors/string_literal_corrector.rb +25 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/correctors/unused_arg_corrector.rb +43 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/force.rb +42 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/gemspec/duplicated_assignment.rb +104 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/gemspec/ordered_dependencies.rb +106 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/gemspec/required_ruby_version.rb +85 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/gemspec/ruby_version_globals_usage.rb +55 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/generator.rb +223 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/generator/configuration_injector.rb +66 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/generator/require_file_injector.rb +78 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/ignored_node.rb +38 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/internal_affairs.rb +8 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/internal_affairs/node_destructuring.rb +44 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/internal_affairs/node_type_predicate.rb +44 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/internal_affairs/offense_location_keyword.rb +54 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/internal_affairs/redundant_location_argument.rb +48 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/internal_affairs/redundant_message_argument.rb +73 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/internal_affairs/useless_message_assertion.rb +52 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/access_modifier_indentation.rb +98 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/align_arguments.rb +93 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/align_array.rb +39 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/align_hash.rb +362 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/align_parameters.rb +118 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/block_alignment.rb +244 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/block_end_newline.rb +62 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/case_indentation.rb +161 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/class_structure.rb +340 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/closing_heredoc_indentation.rb +126 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb +203 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/comment_indentation.rb +141 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/condition_position.rb +56 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/def_end_alignment.rb +74 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/dot_position.rb +105 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/else_alignment.rb +134 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/empty_comment.rb +151 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb +157 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/empty_line_after_magic_comment.rb +64 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/empty_line_between_defs.rb +151 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/empty_lines.rb +76 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb +215 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/empty_lines_around_arguments.rb +99 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/empty_lines_around_begin_body.rb +45 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/empty_lines_around_block_body.rb +41 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/empty_lines_around_class_body.rb +88 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb +136 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/empty_lines_around_method_body.rb +45 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/empty_lines_around_module_body.rb +62 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/end_alignment.rb +189 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/end_of_line.rb +92 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/extra_spacing.rb +201 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/first_array_element_line_break.rb +45 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/first_hash_element_line_break.rb +37 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/first_method_argument_line_break.rb +55 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/first_method_parameter_line_break.rb +46 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb +289 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/indent_assignment.rb +55 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/indent_first_argument.rb +249 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/indent_first_array_element.rb +167 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/indent_first_hash_element.rb +184 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/indent_first_parameter.rb +100 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/indent_heredoc.rb +256 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/indentation_consistency.rb +202 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/indentation_width.rb +364 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/initial_indentation.rb +59 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/leading_blank_lines.rb +53 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/leading_comment_space.rb +88 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/multiline_array_brace_layout.rb +118 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/multiline_array_line_breaks.rb +39 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/multiline_assignment_layout.rb +95 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/multiline_block_layout.rb +146 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/multiline_hash_brace_layout.rb +122 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/multiline_hash_key_line_breaks.rb +50 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/multiline_method_argument_line_breaks.rb +54 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb +134 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/multiline_method_call_indentation.rb +220 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb +131 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/multiline_operation_indentation.rb +114 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/rescue_ensure_alignment.rb +191 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/space_after_colon.rb +47 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/space_after_comma.rb +35 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/space_after_method_name.rb +42 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/space_after_not.rb +40 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/space_after_semicolon.rb +32 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/space_around_block_parameters.rb +169 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb +92 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/space_around_keyword.rb +232 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/space_around_operators.rb +182 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/space_before_block_braces.rb +119 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/space_before_comma.rb +31 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/space_before_comment.rb +35 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/space_before_first_arg.rb +67 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/space_before_semicolon.rb +27 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/space_in_lambda_literal.rb +82 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb +231 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/space_inside_array_percent_literal.rb +53 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/space_inside_block_braces.rb +248 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb +207 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/space_inside_parens.rb +113 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb +65 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/space_inside_range_literal.rb +63 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/space_inside_reference_brackets.rb +150 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/space_inside_string_interpolation.rb +65 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/tab.rb +75 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/trailing_blank_lines.rb +113 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/layout/trailing_whitespace.rb +77 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/ambiguous_block_association.rb +62 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/ambiguous_operator.rb +55 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/ambiguous_regexp_literal.rb +43 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/assignment_in_condition.rb +97 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/big_decimal_new.rb +44 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/boolean_symbol.rb +38 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/circular_argument_reference.rb +72 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/debugger.rb +77 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/deprecated_class_methods.rb +111 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/disjunctive_assignment_in_constructor.rb +81 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/duplicate_case_condition.rb +53 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/duplicate_methods.rb +239 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/duplicated_key.rb +38 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/each_with_object_argument.rb +42 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/else_layout.rb +66 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/empty_ensure.rb +60 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/empty_expression.rb +42 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/empty_interpolation.rb +36 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/empty_when.rb +38 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/end_in_method.rb +40 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/ensure_return.rb +46 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/erb_new_arguments.rb +164 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/flip_flop.rb +32 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/float_out_of_range.rb +35 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/format_parameter_mismatch.rb +159 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/handle_exceptions.rb +95 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/heredoc_method_call_position.rb +156 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/implicit_string_concatenation.rb +101 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/ineffective_access_modifier.rb +127 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/inherit_exception.rb +100 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/interpolation_check.rb +40 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/literal_as_condition.rb +138 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/literal_in_interpolation.rb +98 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/loop.rb +63 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/missing_cop_enable_directive.rb +84 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/multiple_compare.rb +48 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/nested_method_definition.rb +104 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/nested_percent_literal.rb +51 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/next_without_accumulator.rb +50 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/non_local_exit_from_iterator.rb +83 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/number_conversion.rb +81 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/ordered_magic_comments.rb +86 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb +64 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/percent_string_array.rb +73 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/percent_symbol_array.rb +69 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/rand_one.rb +45 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb +263 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/redundant_cop_enable_directive.rb +114 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/redundant_require_statement.rb +50 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/redundant_splat_expansion.rb +172 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/redundant_with_index.rb +82 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/redundant_with_object.rb +83 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/regexp_as_condition.rb +29 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/require_parentheses.rb +66 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/rescue_exception.rb +46 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/rescue_type.rb +94 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/return_in_void_context.rb +74 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/safe_navigation_chain.rb +65 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/safe_navigation_consistency.rb +94 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/safe_navigation_with_empty.rb +38 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/script_permission.rb +70 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/send_with_mixin_argument.rb +91 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/shadowed_argument.rb +182 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/shadowed_exception.rb +178 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/shadowing_outer_local_variable.rb +53 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/string_conversion_in_interpolation.rb +59 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/syntax.rb +59 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/to_json.rb +41 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb +82 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/unified_integer.rb +45 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/unreachable_code.rb +99 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/unused_block_argument.rb +165 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/unused_method_argument.rb +86 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/uri_escape_unescape.rb +76 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/uri_regexp.rb +73 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/useless_access_modifier.rb +240 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/useless_assignment.rb +129 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/useless_comparison.rb +28 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/useless_else_without_rescue.rb +49 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/useless_setter_call.rb +164 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/lint/void.rb +151 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/message_annotator.rb +129 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/metrics/abc_size.rb +24 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/metrics/block_length.rb +50 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/metrics/block_nesting.rb +65 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/metrics/class_length.rb +36 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/metrics/cyclomatic_complexity.rb +32 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/metrics/line_length.rb +318 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/metrics/method_length.rb +36 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/metrics/module_length.rb +36 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/metrics/parameter_lists.rb +54 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/metrics/perceived_complexity.rb +61 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/metrics/utils/abc_size_calculator.rb +84 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/migration/department_name.rb +44 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/alignment.rb +74 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/annotation_comment.rb +37 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/array_min_size.rb +59 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/array_syntax.rb +17 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/check_assignment.rb +44 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/check_line_breakable.rb +190 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/classish_length.rb +37 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/code_length.rb +38 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/configurable_enforced_style.rb +98 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/configurable_formatting.rb +47 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/configurable_max.rb +23 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/configurable_naming.rb +16 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/configurable_numbering.rb +17 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/def_node.rb +33 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/documentation_comment.rb +52 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/duplication.rb +46 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/empty_lines_around_body.rb +172 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/empty_parameter.rb +24 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/end_keyword_alignment.rb +67 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/enforce_superclass.rb +30 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/first_element_line_break.rb +46 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/frozen_string_literal.rb +53 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/hash_alignment.rb +147 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/heredoc.rb +32 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/ignored_methods.rb +19 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/ignored_pattern.rb +29 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/integer_node.rb +14 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/interpolation.rb +27 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/match_range.rb +26 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/method_complexity.rb +57 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/method_preference.rb +31 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/min_body_length.rb +21 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/multiline_element_indentation.rb +86 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/multiline_element_line_breaks.rb +33 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/multiline_expression_indentation.rb +255 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb +141 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/negative_conditional.rb +32 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/nil_methods.rb +25 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/on_normal_if_unless.rb +14 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/ordered_gem_node.rb +56 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/parentheses.rb +17 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/parser_diagnostic.rb +37 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/percent_array.rb +52 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/percent_literal.rb +38 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/preceding_following_alignment.rb +181 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/preferred_delimiters.rb +53 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/range_help.rb +117 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/rescue_node.rb +22 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/safe_assignment.rb +23 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/safe_mode.rb +24 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/space_after_punctuation.rb +55 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/space_before_punctuation.rb +49 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/statement_modifier.rb +71 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/string_help.rb +35 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/string_literals_help.rb +23 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/surrounding_space.rb +146 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/target_ruby_version.rb +16 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/too_many_lines.rb +35 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/trailing_body.rb +26 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/trailing_comma.rb +218 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/uncommunicative_name.rb +111 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/mixin/unused_argument.rb +33 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/naming/accessor_method_name.rb +55 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/naming/ascii_identifiers.rb +72 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/naming/binary_operator_parameter_name.rb +43 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/naming/class_and_module_camel_case.rb +33 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/naming/constant_name.rb +81 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/naming/file_name.rb +212 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/naming/heredoc_delimiter_case.rb +62 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/naming/heredoc_delimiter_naming.rb +55 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/naming/memoized_instance_variable_name.rb +171 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/naming/method_name.rb +53 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/naming/predicate_name.rb +108 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb +112 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/naming/uncommunicative_block_param_name.rb +49 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/naming/uncommunicative_method_param_name.rb +58 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/naming/variable_name.rb +52 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/naming/variable_number.rb +61 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/offense.rb +205 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/registry.rb +211 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/security/eval.rb +31 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/security/json_load.rb +46 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/security/marshal_load.rb +39 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/security/open.rb +71 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/security/yaml_load.rb +37 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/severity.rb +77 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/access_modifier_declarations.rb +112 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/alias.rb +147 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/and_or.rb +146 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/array_join.rb +39 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/ascii_comments.rb +61 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/attr.rb +62 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/auto_resource_cleanup.rb +51 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/bare_percent_literals.rb +78 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/begin_block.rb +22 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/block_comments.rb +70 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/block_delimiters.rb +331 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/braces_around_hash_parameters.rb +209 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/case_equality.rb +30 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/character_literal.rb +53 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/class_and_module_children.rb +151 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/class_check.rb +59 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/class_methods.rb +60 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/class_vars.rb +48 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/collection_methods.rb +77 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/colon_method_call.rb +48 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/colon_method_definition.rb +37 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/command_literal.rb +187 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/comment_annotation.rb +97 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/commented_keyword.rb +73 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/conditional_assignment.rb +668 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/constant_visibility.rb +77 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/copyright.rb +99 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/date_time.rb +77 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/def_with_parentheses.rb +57 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/dir.rb +48 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/documentation.rb +97 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/documentation_method.rb +125 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/double_cop_disable_directive.rb +55 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/double_negation.rb +35 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/each_for_simple_loop.rb +58 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/each_with_object.rb +110 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/empty_block_parameter.rb +48 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/empty_case_condition.rb +107 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/empty_else.rb +175 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/empty_lambda_parameter.rb +45 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/empty_literal.rb +123 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/empty_method.rb +115 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/encoding.rb +56 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/end_block.rb +25 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/eval_with_location.rb +148 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/even_odd.rb +58 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/expand_path_arguments.rb +194 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/float_division.rb +94 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/for.rb +88 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/format_string.rb +127 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/format_string_token.rb +121 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/frozen_string_literal_comment.rb +159 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/global_vars.rb +80 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/guard_clause.rb +121 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/hash_syntax.rb +214 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/identical_conditional_branches.rb +130 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/if_inside_else.rb +87 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/if_unless_modifier.rb +134 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/if_unless_modifier_of_if_unless.rb +39 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/if_with_semicolon.rb +30 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/implicit_runtime_error.rb +32 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/infinite_loop.rb +128 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/inline_comment.rb +34 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/inverse_methods.rb +193 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/ip_addresses.rb +76 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/lambda.rb +131 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/lambda_call.rb +93 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/line_end_concatenation.rb +125 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/method_call_with_args_parentheses.rb +388 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/method_call_without_args_parentheses.rb +77 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/method_called_on_do_end_block.rb +46 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/method_def_parentheses.rb +166 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/method_missing_super.rb +34 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/min_max.rb +68 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/missing_else.rb +180 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/missing_respond_to_missing.rb +46 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/mixin_grouping.rb +148 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/mixin_usage.rb +90 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/module_function.rb +104 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/multiline_block_chain.rb +40 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/multiline_if_modifier.rb +67 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/multiline_if_then.rb +50 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/multiline_memoization.rb +94 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/multiline_method_signature.rb +61 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/multiline_ternary_operator.rb +38 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/multiline_when_then.rb +55 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/multiple_comparison.rb +92 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/mutable_constant.rb +174 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/negated_if.rb +99 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/negated_unless.rb +89 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/negated_while.rb +48 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/nested_modifier.rb +107 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/nested_parenthesized_calls.rb +67 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/nested_ternary_operator.rb +32 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/next.rb +244 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/nil_comparison.rb +75 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/non_nil_check.rb +136 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/not.rb +82 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/numeric_literal_prefix.rb +124 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/numeric_literals.rb +110 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/numeric_predicate.rb +137 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/one_line_conditional.rb +101 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/option_hash.rb +55 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/optional_arguments.rb +58 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/or_assignment.rb +95 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/parallel_assignment.rb +287 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/parentheses_around_condition.rb +117 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/percent_literal_delimiters.rb +127 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/percent_q_literals.rb +73 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/perl_backrefs.rb +38 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/preferred_hash_methods.rb +75 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/proc.rb +34 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/raise_args.rb +145 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/random_with_offset.rb +158 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/redundant_begin.rb +91 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/redundant_capital_w.rb +51 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/redundant_condition.rb +112 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/redundant_conditional.rb +97 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/redundant_exception.rb +60 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/redundant_freeze.rb +67 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/redundant_interpolation.rb +98 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/redundant_parentheses.rb +231 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/redundant_percent_q.rb +112 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/redundant_return.rb +177 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/redundant_self.rb +171 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/redundant_sort.rb +165 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/redundant_sort_by.rb +50 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/regexp_literal.rb +228 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/rescue_modifier.rb +73 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/rescue_standard_error.rb +124 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/return_nil.rb +89 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/safe_navigation.rb +275 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/sample.rb +144 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/self_assignment.rb +97 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/semicolon.rb +101 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/send.rb +31 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/signal_exception.rb +211 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/single_line_block_params.rb +95 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/single_line_methods.rb +83 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/special_global_vars.rb +211 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/stabby_lambda_parentheses.rb +86 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/stderr_puts.rb +61 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/string_hash_keys.rb +50 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/string_literals.rb +129 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/string_literals_in_interpolation.rb +49 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/string_methods.rb +46 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/strip.rb +46 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/struct_inheritance.rb +39 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/symbol_array.rb +119 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/symbol_literal.rb +32 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/symbol_proc.rb +110 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/ternary_parentheses.rb +223 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/trailing_body_on_class.rb +43 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/trailing_body_on_method_definition.rb +54 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/trailing_body_on_module.rb +43 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/trailing_comma_in_arguments.rb +96 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/trailing_comma_in_array_literal.rb +58 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/trailing_comma_in_hash_literal.rb +56 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/trailing_method_end_statement.rb +91 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/trailing_underscore_variable.rb +161 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/trivial_accessors.rb +191 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/unless_else.rb +55 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/unpack_first.rb +65 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/variable_interpolation.rb +48 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/when_then.rb +37 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/while_until_do.rb +59 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/while_until_modifier.rb +61 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/word_array.rb +102 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/yoda_condition.rb +141 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/style/zero_length_predicate.rb +117 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/team.rb +191 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/util.rb +127 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/utils/format_string.rb +120 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/variable_force.rb +466 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/variable_force/assignment.rb +96 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/variable_force/branch.rb +322 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/variable_force/branchable.rb +23 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/variable_force/reference.rb +49 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/variable_force/scope.rb +109 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/variable_force/variable.rb +117 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/cop/variable_force/variable_table.rb +129 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/core_ext/string.rb +23 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/error.rb +34 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/file_finder.rb +42 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/formatter/auto_gen_config_formatter.rb +16 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/formatter/base_formatter.rb +123 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/formatter/clang_style_formatter.rb +59 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/formatter/colorizable.rb +41 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/formatter/disabled_config_formatter.rb +224 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/formatter/disabled_lines_formatter.rb +57 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/formatter/emacs_style_formatter.rb +37 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/formatter/file_list_formatter.rb +20 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/formatter/formatter_set.rb +106 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/formatter/fuubar_style_formatter.rb +80 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/formatter/html_formatter.rb +141 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/formatter/json_formatter.rb +80 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/formatter/offense_count_formatter.rb +74 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/formatter/pacman_formatter.rb +80 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/formatter/progress_formatter.rb +63 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/formatter/quiet_formatter.rb +13 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/formatter/simple_text_formatter.rb +138 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/formatter/tap_formatter.rb +84 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/formatter/text_util.rb +20 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/formatter/worst_offenders_formatter.rb +62 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/magic_comment.rb +214 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/name_similarity.rb +21 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/node_pattern.rb +801 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/options.rb +460 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/path_util.rb +85 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/platform.rb +11 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/processed_source.rb +216 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/rake_task.rb +79 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/remote_config.rb +106 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/result_cache.rb +191 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/rspec/cop_helper.rb +94 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/rspec/expect_offense.rb +240 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/rspec/host_environment_simulation_helper.rb +28 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/rspec/shared_contexts.rb +90 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/rspec/support.rb +13 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/runner.rb +363 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/string_interpreter.rb +57 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/string_util.rb +14 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/target_finder.rb +196 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/token.rb +114 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/version.rb +21 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/warning.rb +11 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop/yaml_duplication_checker.rb +39 -0
- data/vendor/ruby/2.6.0/gems/zeitwerk-2.2.1/MIT-LICENSE +20 -0
- data/vendor/ruby/2.6.0/gems/zeitwerk-2.2.1/README.md +650 -0
- data/vendor/ruby/2.6.0/gems/zeitwerk-2.2.1/lib/zeitwerk.rb +12 -0
- data/vendor/ruby/2.6.0/gems/zeitwerk-2.2.1/lib/zeitwerk/error.rb +10 -0
- data/vendor/ruby/2.6.0/gems/zeitwerk-2.2.1/lib/zeitwerk/explicit_namespace.rb +80 -0
- data/vendor/ruby/2.6.0/gems/zeitwerk-2.2.1/lib/zeitwerk/gem_inflector.rb +19 -0
- data/vendor/ruby/2.6.0/gems/zeitwerk-2.2.1/lib/zeitwerk/inflector.rb +49 -0
- data/vendor/ruby/2.6.0/gems/zeitwerk-2.2.1/lib/zeitwerk/kernel.rb +33 -0
- data/vendor/ruby/2.6.0/gems/zeitwerk-2.2.1/lib/zeitwerk/loader.rb +765 -0
- data/vendor/ruby/2.6.0/gems/zeitwerk-2.2.1/lib/zeitwerk/loader/callbacks.rb +71 -0
- data/vendor/ruby/2.6.0/gems/zeitwerk-2.2.1/lib/zeitwerk/real_mod_name.rb +21 -0
- data/vendor/ruby/2.6.0/gems/zeitwerk-2.2.1/lib/zeitwerk/registry.rb +147 -0
- data/vendor/ruby/2.6.0/gems/zeitwerk-2.2.1/lib/zeitwerk/version.rb +5 -0
- data/vendor/ruby/2.6.0/specifications/actionpack-6.0.1.gemspec +53 -0
- data/vendor/ruby/2.6.0/specifications/actionview-6.0.1.gemspec +53 -0
- data/vendor/ruby/2.6.0/specifications/activesupport-6.0.1.gemspec +47 -0
- data/vendor/ruby/2.6.0/specifications/autoprefixer-rails-9.7.1.gemspec +47 -0
- data/vendor/ruby/2.6.0/specifications/brakeman-4.7.1.gemspec +23 -0
- data/vendor/ruby/2.6.0/specifications/jaro_winkler-1.5.4.gemspec +44 -0
- data/vendor/ruby/2.6.0/specifications/minitest-5.13.0.gemspec +40 -0
- data/vendor/ruby/2.6.0/specifications/nokogiri-1.10.5.gemspec +83 -0
- data/vendor/ruby/2.6.0/specifications/railties-6.0.1.gemspec +53 -0
- data/vendor/ruby/2.6.0/specifications/rubocop-0.76.0.gemspec +56 -0
- data/vendor/ruby/2.6.0/specifications/zeitwerk-2.2.1.gemspec +21 -0
- metadata +2281 -2
@@ -0,0 +1,2289 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "active_support/core_ext/hash/slice"
|
4
|
+
require "active_support/core_ext/enumerable"
|
5
|
+
require "active_support/core_ext/array/extract_options"
|
6
|
+
require "active_support/core_ext/regexp"
|
7
|
+
require "action_dispatch/routing/redirection"
|
8
|
+
require "action_dispatch/routing/endpoint"
|
9
|
+
|
10
|
+
module ActionDispatch
|
11
|
+
module Routing
|
12
|
+
class Mapper
|
13
|
+
URL_OPTIONS = [:protocol, :subdomain, :domain, :host, :port]
|
14
|
+
|
15
|
+
class Constraints < Routing::Endpoint #:nodoc:
|
16
|
+
attr_reader :app, :constraints
|
17
|
+
|
18
|
+
SERVE = ->(app, req) { app.serve req }
|
19
|
+
CALL = ->(app, req) { app.call req.env }
|
20
|
+
|
21
|
+
def initialize(app, constraints, strategy)
|
22
|
+
# Unwrap Constraints objects. I don't actually think it's possible
|
23
|
+
# to pass a Constraints object to this constructor, but there were
|
24
|
+
# multiple places that kept testing children of this object. I
|
25
|
+
# *think* they were just being defensive, but I have no idea.
|
26
|
+
if app.is_a?(self.class)
|
27
|
+
constraints += app.constraints
|
28
|
+
app = app.app
|
29
|
+
end
|
30
|
+
|
31
|
+
@strategy = strategy
|
32
|
+
|
33
|
+
@app, @constraints, = app, constraints
|
34
|
+
end
|
35
|
+
|
36
|
+
def dispatcher?; @strategy == SERVE; end
|
37
|
+
|
38
|
+
def matches?(req)
|
39
|
+
@constraints.all? do |constraint|
|
40
|
+
(constraint.respond_to?(:matches?) && constraint.matches?(req)) ||
|
41
|
+
(constraint.respond_to?(:call) && constraint.call(*constraint_args(constraint, req)))
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
def serve(req)
|
46
|
+
return [ 404, { "X-Cascade" => "pass" }, [] ] unless matches?(req)
|
47
|
+
|
48
|
+
@strategy.call @app, req
|
49
|
+
end
|
50
|
+
|
51
|
+
private
|
52
|
+
def constraint_args(constraint, request)
|
53
|
+
arity = if constraint.respond_to?(:arity)
|
54
|
+
constraint.arity
|
55
|
+
else
|
56
|
+
constraint.method(:call).arity
|
57
|
+
end
|
58
|
+
|
59
|
+
if arity < 1
|
60
|
+
[]
|
61
|
+
elsif arity == 1
|
62
|
+
[request]
|
63
|
+
else
|
64
|
+
[request.path_parameters, request]
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
class Mapping #:nodoc:
|
70
|
+
ANCHOR_CHARACTERS_REGEX = %r{\A(\\A|\^)|(\\Z|\\z|\$)\Z}
|
71
|
+
OPTIONAL_FORMAT_REGEX = %r{(?:\(\.:format\)+|\.:format|/)\Z}
|
72
|
+
|
73
|
+
attr_reader :requirements, :defaults, :to, :default_controller,
|
74
|
+
:default_action, :required_defaults, :ast, :scope_options
|
75
|
+
|
76
|
+
def self.build(scope, set, ast, controller, default_action, to, via, formatted, options_constraints, anchor, options)
|
77
|
+
options = scope[:options].merge(options) if scope[:options]
|
78
|
+
|
79
|
+
defaults = (scope[:defaults] || {}).dup
|
80
|
+
scope_constraints = scope[:constraints] || {}
|
81
|
+
scope_options = scope[:options] || {}
|
82
|
+
|
83
|
+
new set, ast, defaults, controller, default_action, scope[:module], to, formatted, scope_constraints, scope_options, scope[:blocks] || [], via, options_constraints, anchor, options
|
84
|
+
end
|
85
|
+
|
86
|
+
def self.check_via(via)
|
87
|
+
if via.empty?
|
88
|
+
msg = "You should not use the `match` method in your router without specifying an HTTP method.\n" \
|
89
|
+
"If you want to expose your action to both GET and POST, add `via: [:get, :post]` option.\n" \
|
90
|
+
"If you want to expose your action to GET, use `get` in the router:\n" \
|
91
|
+
" Instead of: match \"controller#action\"\n" \
|
92
|
+
" Do: get \"controller#action\""
|
93
|
+
raise ArgumentError, msg
|
94
|
+
end
|
95
|
+
via
|
96
|
+
end
|
97
|
+
|
98
|
+
def self.normalize_path(path, format)
|
99
|
+
path = Mapper.normalize_path(path)
|
100
|
+
|
101
|
+
if format == true
|
102
|
+
"#{path}.:format"
|
103
|
+
elsif optional_format?(path, format)
|
104
|
+
"#{path}(.:format)"
|
105
|
+
else
|
106
|
+
path
|
107
|
+
end
|
108
|
+
end
|
109
|
+
|
110
|
+
def self.optional_format?(path, format)
|
111
|
+
format != false && path !~ OPTIONAL_FORMAT_REGEX
|
112
|
+
end
|
113
|
+
|
114
|
+
def initialize(set, ast, defaults, controller, default_action, modyoule, to, formatted, scope_constraints, scope_options, blocks, via, options_constraints, anchor, options)
|
115
|
+
@defaults = defaults
|
116
|
+
@set = set
|
117
|
+
|
118
|
+
@to = intern(to)
|
119
|
+
@default_controller = intern(controller)
|
120
|
+
@default_action = intern(default_action)
|
121
|
+
@ast = ast
|
122
|
+
@anchor = anchor
|
123
|
+
@via = via
|
124
|
+
@internal = options.delete(:internal)
|
125
|
+
@scope_options = scope_options
|
126
|
+
|
127
|
+
path_params = ast.find_all(&:symbol?).map(&:to_sym)
|
128
|
+
|
129
|
+
options = add_wildcard_options(options, formatted, ast)
|
130
|
+
|
131
|
+
options = normalize_options!(options, path_params, modyoule)
|
132
|
+
|
133
|
+
split_options = constraints(options, path_params)
|
134
|
+
|
135
|
+
constraints = scope_constraints.merge Hash[split_options[:constraints] || []]
|
136
|
+
|
137
|
+
if options_constraints.is_a?(Hash)
|
138
|
+
@defaults = Hash[options_constraints.find_all { |key, default|
|
139
|
+
URL_OPTIONS.include?(key) && (String === default || Integer === default)
|
140
|
+
}].merge @defaults
|
141
|
+
@blocks = blocks
|
142
|
+
constraints.merge! options_constraints
|
143
|
+
else
|
144
|
+
@blocks = blocks(options_constraints)
|
145
|
+
end
|
146
|
+
|
147
|
+
requirements, conditions = split_constraints path_params, constraints
|
148
|
+
verify_regexp_requirements requirements.map(&:last).grep(Regexp)
|
149
|
+
|
150
|
+
formats = normalize_format(formatted)
|
151
|
+
|
152
|
+
@requirements = formats[:requirements].merge Hash[requirements]
|
153
|
+
@conditions = Hash[conditions]
|
154
|
+
@defaults = formats[:defaults].merge(@defaults).merge(normalize_defaults(options))
|
155
|
+
|
156
|
+
if path_params.include?(:action) && !@requirements.key?(:action)
|
157
|
+
@defaults[:action] ||= "index"
|
158
|
+
end
|
159
|
+
|
160
|
+
@required_defaults = (split_options[:required_defaults] || []).map(&:first)
|
161
|
+
end
|
162
|
+
|
163
|
+
def make_route(name, precedence)
|
164
|
+
Journey::Route.new(name, application, path, conditions, required_defaults,
|
165
|
+
defaults, request_method, precedence, scope_options, @internal)
|
166
|
+
end
|
167
|
+
|
168
|
+
def application
|
169
|
+
app(@blocks)
|
170
|
+
end
|
171
|
+
|
172
|
+
def path
|
173
|
+
build_path @ast, requirements, @anchor
|
174
|
+
end
|
175
|
+
|
176
|
+
def conditions
|
177
|
+
build_conditions @conditions, @set.request_class
|
178
|
+
end
|
179
|
+
|
180
|
+
def build_conditions(current_conditions, request_class)
|
181
|
+
conditions = current_conditions.dup
|
182
|
+
|
183
|
+
conditions.keep_if do |k, _|
|
184
|
+
request_class.public_method_defined?(k)
|
185
|
+
end
|
186
|
+
end
|
187
|
+
private :build_conditions
|
188
|
+
|
189
|
+
def request_method
|
190
|
+
@via.map { |x| Journey::Route.verb_matcher(x) }
|
191
|
+
end
|
192
|
+
private :request_method
|
193
|
+
|
194
|
+
JOINED_SEPARATORS = SEPARATORS.join # :nodoc:
|
195
|
+
|
196
|
+
def build_path(ast, requirements, anchor)
|
197
|
+
pattern = Journey::Path::Pattern.new(ast, requirements, JOINED_SEPARATORS, anchor)
|
198
|
+
|
199
|
+
# Find all the symbol nodes that are adjacent to literal nodes and alter
|
200
|
+
# the regexp so that Journey will partition them into custom routes.
|
201
|
+
ast.find_all { |node|
|
202
|
+
next unless node.cat?
|
203
|
+
|
204
|
+
if node.left.literal? && node.right.symbol?
|
205
|
+
symbol = node.right
|
206
|
+
elsif node.left.literal? && node.right.cat? && node.right.left.symbol?
|
207
|
+
symbol = node.right.left
|
208
|
+
elsif node.left.symbol? && node.right.literal?
|
209
|
+
symbol = node.left
|
210
|
+
elsif node.left.symbol? && node.right.cat? && node.right.left.literal?
|
211
|
+
symbol = node.left
|
212
|
+
else
|
213
|
+
next
|
214
|
+
end
|
215
|
+
|
216
|
+
if symbol
|
217
|
+
symbol.regexp = /(?:#{Regexp.union(symbol.regexp, '-')})+/
|
218
|
+
end
|
219
|
+
}
|
220
|
+
|
221
|
+
pattern
|
222
|
+
end
|
223
|
+
private :build_path
|
224
|
+
|
225
|
+
private
|
226
|
+
def intern(object)
|
227
|
+
object.is_a?(String) ? -object : object
|
228
|
+
end
|
229
|
+
|
230
|
+
def add_wildcard_options(options, formatted, path_ast)
|
231
|
+
# Add a constraint for wildcard route to make it non-greedy and match the
|
232
|
+
# optional format part of the route by default.
|
233
|
+
if formatted != false
|
234
|
+
path_ast.grep(Journey::Nodes::Star).each_with_object({}) { |node, hash|
|
235
|
+
hash[node.name.to_sym] ||= /.+?/
|
236
|
+
}.merge options
|
237
|
+
else
|
238
|
+
options
|
239
|
+
end
|
240
|
+
end
|
241
|
+
|
242
|
+
def normalize_options!(options, path_params, modyoule)
|
243
|
+
if path_params.include?(:controller)
|
244
|
+
raise ArgumentError, ":controller segment is not allowed within a namespace block" if modyoule
|
245
|
+
|
246
|
+
# Add a default constraint for :controller path segments that matches namespaced
|
247
|
+
# controllers with default routes like :controller/:action/:id(.:format), e.g:
|
248
|
+
# GET /admin/products/show/1
|
249
|
+
# => { controller: 'admin/products', action: 'show', id: '1' }
|
250
|
+
options[:controller] ||= /.+?/
|
251
|
+
end
|
252
|
+
|
253
|
+
if to.respond_to?(:action) || to.respond_to?(:call)
|
254
|
+
options
|
255
|
+
else
|
256
|
+
to_endpoint = split_to to
|
257
|
+
controller = to_endpoint[0] || default_controller
|
258
|
+
action = to_endpoint[1] || default_action
|
259
|
+
|
260
|
+
controller = add_controller_module(controller, modyoule)
|
261
|
+
|
262
|
+
options.merge! check_controller_and_action(path_params, controller, action)
|
263
|
+
end
|
264
|
+
end
|
265
|
+
|
266
|
+
def split_constraints(path_params, constraints)
|
267
|
+
constraints.partition do |key, requirement|
|
268
|
+
path_params.include?(key) || key == :controller
|
269
|
+
end
|
270
|
+
end
|
271
|
+
|
272
|
+
def normalize_format(formatted)
|
273
|
+
case formatted
|
274
|
+
when true
|
275
|
+
{ requirements: { format: /.+/ },
|
276
|
+
defaults: {} }
|
277
|
+
when Regexp
|
278
|
+
{ requirements: { format: formatted },
|
279
|
+
defaults: { format: nil } }
|
280
|
+
when String
|
281
|
+
{ requirements: { format: Regexp.compile(formatted) },
|
282
|
+
defaults: { format: formatted } }
|
283
|
+
else
|
284
|
+
{ requirements: {}, defaults: {} }
|
285
|
+
end
|
286
|
+
end
|
287
|
+
|
288
|
+
def verify_regexp_requirements(requirements)
|
289
|
+
requirements.each do |requirement|
|
290
|
+
if ANCHOR_CHARACTERS_REGEX.match?(requirement.source)
|
291
|
+
raise ArgumentError, "Regexp anchor characters are not allowed in routing requirements: #{requirement.inspect}"
|
292
|
+
end
|
293
|
+
|
294
|
+
if requirement.multiline?
|
295
|
+
raise ArgumentError, "Regexp multiline option is not allowed in routing requirements: #{requirement.inspect}"
|
296
|
+
end
|
297
|
+
end
|
298
|
+
end
|
299
|
+
|
300
|
+
def normalize_defaults(options)
|
301
|
+
Hash[options.reject { |_, default| Regexp === default }]
|
302
|
+
end
|
303
|
+
|
304
|
+
def app(blocks)
|
305
|
+
if to.respond_to?(:action)
|
306
|
+
Routing::RouteSet::StaticDispatcher.new to
|
307
|
+
elsif to.respond_to?(:call)
|
308
|
+
Constraints.new(to, blocks, Constraints::CALL)
|
309
|
+
elsif blocks.any?
|
310
|
+
Constraints.new(dispatcher(defaults.key?(:controller)), blocks, Constraints::SERVE)
|
311
|
+
else
|
312
|
+
dispatcher(defaults.key?(:controller))
|
313
|
+
end
|
314
|
+
end
|
315
|
+
|
316
|
+
def check_controller_and_action(path_params, controller, action)
|
317
|
+
hash = check_part(:controller, controller, path_params, {}) do |part|
|
318
|
+
translate_controller(part) {
|
319
|
+
message = +"'#{part}' is not a supported controller name. This can lead to potential routing problems."
|
320
|
+
message << " See https://guides.rubyonrails.org/routing.html#specifying-a-controller-to-use"
|
321
|
+
|
322
|
+
raise ArgumentError, message
|
323
|
+
}
|
324
|
+
end
|
325
|
+
|
326
|
+
check_part(:action, action, path_params, hash) { |part|
|
327
|
+
part.is_a?(Regexp) ? part : part.to_s
|
328
|
+
}
|
329
|
+
end
|
330
|
+
|
331
|
+
def check_part(name, part, path_params, hash)
|
332
|
+
if part
|
333
|
+
hash[name] = yield(part)
|
334
|
+
else
|
335
|
+
unless path_params.include?(name)
|
336
|
+
message = "Missing :#{name} key on routes definition, please check your routes."
|
337
|
+
raise ArgumentError, message
|
338
|
+
end
|
339
|
+
end
|
340
|
+
hash
|
341
|
+
end
|
342
|
+
|
343
|
+
def split_to(to)
|
344
|
+
if /#/.match?(to)
|
345
|
+
to.split("#")
|
346
|
+
else
|
347
|
+
[]
|
348
|
+
end
|
349
|
+
end
|
350
|
+
|
351
|
+
def add_controller_module(controller, modyoule)
|
352
|
+
if modyoule && !controller.is_a?(Regexp)
|
353
|
+
if %r{\A/}.match?(controller)
|
354
|
+
controller[1..-1]
|
355
|
+
else
|
356
|
+
[modyoule, controller].compact.join("/")
|
357
|
+
end
|
358
|
+
else
|
359
|
+
controller
|
360
|
+
end
|
361
|
+
end
|
362
|
+
|
363
|
+
def translate_controller(controller)
|
364
|
+
return controller if Regexp === controller
|
365
|
+
return controller.to_s if controller =~ /\A[a-z_0-9][a-z_0-9\/]*\z/
|
366
|
+
|
367
|
+
yield
|
368
|
+
end
|
369
|
+
|
370
|
+
def blocks(callable_constraint)
|
371
|
+
unless callable_constraint.respond_to?(:call) || callable_constraint.respond_to?(:matches?)
|
372
|
+
raise ArgumentError, "Invalid constraint: #{callable_constraint.inspect} must respond to :call or :matches?"
|
373
|
+
end
|
374
|
+
[callable_constraint]
|
375
|
+
end
|
376
|
+
|
377
|
+
def constraints(options, path_params)
|
378
|
+
options.group_by do |key, option|
|
379
|
+
if Regexp === option
|
380
|
+
:constraints
|
381
|
+
else
|
382
|
+
if path_params.include?(key)
|
383
|
+
:path_params
|
384
|
+
else
|
385
|
+
:required_defaults
|
386
|
+
end
|
387
|
+
end
|
388
|
+
end
|
389
|
+
end
|
390
|
+
|
391
|
+
def dispatcher(raise_on_name_error)
|
392
|
+
Routing::RouteSet::Dispatcher.new raise_on_name_error
|
393
|
+
end
|
394
|
+
end
|
395
|
+
|
396
|
+
# Invokes Journey::Router::Utils.normalize_path and ensure that
|
397
|
+
# (:locale) becomes (/:locale) instead of /(:locale). Except
|
398
|
+
# for root cases, where the latter is the correct one.
|
399
|
+
def self.normalize_path(path)
|
400
|
+
path = Journey::Router::Utils.normalize_path(path)
|
401
|
+
path.gsub!(%r{/(\(+)/?}, '\1/') unless path =~ %r{^/(\(+[^)]+\)){1,}$}
|
402
|
+
path
|
403
|
+
end
|
404
|
+
|
405
|
+
def self.normalize_name(name)
|
406
|
+
normalize_path(name)[1..-1].tr("/", "_")
|
407
|
+
end
|
408
|
+
|
409
|
+
module Base
|
410
|
+
# Matches a URL pattern to one or more routes.
|
411
|
+
#
|
412
|
+
# You should not use the +match+ method in your router
|
413
|
+
# without specifying an HTTP method.
|
414
|
+
#
|
415
|
+
# If you want to expose your action to both GET and POST, use:
|
416
|
+
#
|
417
|
+
# # sets :controller, :action and :id in params
|
418
|
+
# match ':controller/:action/:id', via: [:get, :post]
|
419
|
+
#
|
420
|
+
# Note that +:controller+, +:action+ and +:id+ are interpreted as URL
|
421
|
+
# query parameters and thus available through +params+ in an action.
|
422
|
+
#
|
423
|
+
# If you want to expose your action to GET, use +get+ in the router:
|
424
|
+
#
|
425
|
+
# Instead of:
|
426
|
+
#
|
427
|
+
# match ":controller/:action/:id"
|
428
|
+
#
|
429
|
+
# Do:
|
430
|
+
#
|
431
|
+
# get ":controller/:action/:id"
|
432
|
+
#
|
433
|
+
# Two of these symbols are special, +:controller+ maps to the controller
|
434
|
+
# and +:action+ to the controller's action. A pattern can also map
|
435
|
+
# wildcard segments (globs) to params:
|
436
|
+
#
|
437
|
+
# get 'songs/*category/:title', to: 'songs#show'
|
438
|
+
#
|
439
|
+
# # 'songs/rock/classic/stairway-to-heaven' sets
|
440
|
+
# # params[:category] = 'rock/classic'
|
441
|
+
# # params[:title] = 'stairway-to-heaven'
|
442
|
+
#
|
443
|
+
# To match a wildcard parameter, it must have a name assigned to it.
|
444
|
+
# Without a variable name to attach the glob parameter to, the route
|
445
|
+
# can't be parsed.
|
446
|
+
#
|
447
|
+
# When a pattern points to an internal route, the route's +:action+ and
|
448
|
+
# +:controller+ should be set in options or hash shorthand. Examples:
|
449
|
+
#
|
450
|
+
# match 'photos/:id' => 'photos#show', via: :get
|
451
|
+
# match 'photos/:id', to: 'photos#show', via: :get
|
452
|
+
# match 'photos/:id', controller: 'photos', action: 'show', via: :get
|
453
|
+
#
|
454
|
+
# A pattern can also point to a +Rack+ endpoint i.e. anything that
|
455
|
+
# responds to +call+:
|
456
|
+
#
|
457
|
+
# match 'photos/:id', to: -> (hash) { [200, {}, ["Coming soon"]] }, via: :get
|
458
|
+
# match 'photos/:id', to: PhotoRackApp, via: :get
|
459
|
+
# # Yes, controller actions are just rack endpoints
|
460
|
+
# match 'photos/:id', to: PhotosController.action(:show), via: :get
|
461
|
+
#
|
462
|
+
# Because requesting various HTTP verbs with a single action has security
|
463
|
+
# implications, you must either specify the actions in
|
464
|
+
# the via options or use one of the HttpHelpers[rdoc-ref:HttpHelpers]
|
465
|
+
# instead +match+
|
466
|
+
#
|
467
|
+
# === Options
|
468
|
+
#
|
469
|
+
# Any options not seen here are passed on as params with the URL.
|
470
|
+
#
|
471
|
+
# [:controller]
|
472
|
+
# The route's controller.
|
473
|
+
#
|
474
|
+
# [:action]
|
475
|
+
# The route's action.
|
476
|
+
#
|
477
|
+
# [:param]
|
478
|
+
# Overrides the default resource identifier +:id+ (name of the
|
479
|
+
# dynamic segment used to generate the routes).
|
480
|
+
# You can access that segment from your controller using
|
481
|
+
# <tt>params[<:param>]</tt>.
|
482
|
+
# In your router:
|
483
|
+
#
|
484
|
+
# resources :users, param: :name
|
485
|
+
#
|
486
|
+
# The +users+ resource here will have the following routes generated for it:
|
487
|
+
#
|
488
|
+
# GET /users(.:format)
|
489
|
+
# POST /users(.:format)
|
490
|
+
# GET /users/new(.:format)
|
491
|
+
# GET /users/:name/edit(.:format)
|
492
|
+
# GET /users/:name(.:format)
|
493
|
+
# PATCH/PUT /users/:name(.:format)
|
494
|
+
# DELETE /users/:name(.:format)
|
495
|
+
#
|
496
|
+
# You can override <tt>ActiveRecord::Base#to_param</tt> of a related
|
497
|
+
# model to construct a URL:
|
498
|
+
#
|
499
|
+
# class User < ActiveRecord::Base
|
500
|
+
# def to_param
|
501
|
+
# name
|
502
|
+
# end
|
503
|
+
# end
|
504
|
+
#
|
505
|
+
# user = User.find_by(name: 'Phusion')
|
506
|
+
# user_path(user) # => "/users/Phusion"
|
507
|
+
#
|
508
|
+
# [:path]
|
509
|
+
# The path prefix for the routes.
|
510
|
+
#
|
511
|
+
# [:module]
|
512
|
+
# The namespace for :controller.
|
513
|
+
#
|
514
|
+
# match 'path', to: 'c#a', module: 'sekret', controller: 'posts', via: :get
|
515
|
+
# # => Sekret::PostsController
|
516
|
+
#
|
517
|
+
# See <tt>Scoping#namespace</tt> for its scope equivalent.
|
518
|
+
#
|
519
|
+
# [:as]
|
520
|
+
# The name used to generate routing helpers.
|
521
|
+
#
|
522
|
+
# [:via]
|
523
|
+
# Allowed HTTP verb(s) for route.
|
524
|
+
#
|
525
|
+
# match 'path', to: 'c#a', via: :get
|
526
|
+
# match 'path', to: 'c#a', via: [:get, :post]
|
527
|
+
# match 'path', to: 'c#a', via: :all
|
528
|
+
#
|
529
|
+
# [:to]
|
530
|
+
# Points to a +Rack+ endpoint. Can be an object that responds to
|
531
|
+
# +call+ or a string representing a controller's action.
|
532
|
+
#
|
533
|
+
# match 'path', to: 'controller#action', via: :get
|
534
|
+
# match 'path', to: -> (env) { [200, {}, ["Success!"]] }, via: :get
|
535
|
+
# match 'path', to: RackApp, via: :get
|
536
|
+
#
|
537
|
+
# [:on]
|
538
|
+
# Shorthand for wrapping routes in a specific RESTful context. Valid
|
539
|
+
# values are +:member+, +:collection+, and +:new+. Only use within
|
540
|
+
# <tt>resource(s)</tt> block. For example:
|
541
|
+
#
|
542
|
+
# resource :bar do
|
543
|
+
# match 'foo', to: 'c#a', on: :member, via: [:get, :post]
|
544
|
+
# end
|
545
|
+
#
|
546
|
+
# Is equivalent to:
|
547
|
+
#
|
548
|
+
# resource :bar do
|
549
|
+
# member do
|
550
|
+
# match 'foo', to: 'c#a', via: [:get, :post]
|
551
|
+
# end
|
552
|
+
# end
|
553
|
+
#
|
554
|
+
# [:constraints]
|
555
|
+
# Constrains parameters with a hash of regular expressions
|
556
|
+
# or an object that responds to <tt>matches?</tt>. In addition, constraints
|
557
|
+
# other than path can also be specified with any object
|
558
|
+
# that responds to <tt>===</tt> (eg. String, Array, Range, etc.).
|
559
|
+
#
|
560
|
+
# match 'path/:id', constraints: { id: /[A-Z]\d{5}/ }, via: :get
|
561
|
+
#
|
562
|
+
# match 'json_only', constraints: { format: 'json' }, via: :get
|
563
|
+
#
|
564
|
+
# class PermitList
|
565
|
+
# def matches?(request) request.remote_ip == '1.2.3.4' end
|
566
|
+
# end
|
567
|
+
# match 'path', to: 'c#a', constraints: PermitList.new, via: :get
|
568
|
+
#
|
569
|
+
# See <tt>Scoping#constraints</tt> for more examples with its scope
|
570
|
+
# equivalent.
|
571
|
+
#
|
572
|
+
# [:defaults]
|
573
|
+
# Sets defaults for parameters
|
574
|
+
#
|
575
|
+
# # Sets params[:format] to 'jpg' by default
|
576
|
+
# match 'path', to: 'c#a', defaults: { format: 'jpg' }, via: :get
|
577
|
+
#
|
578
|
+
# See <tt>Scoping#defaults</tt> for its scope equivalent.
|
579
|
+
#
|
580
|
+
# [:anchor]
|
581
|
+
# Boolean to anchor a <tt>match</tt> pattern. Default is true. When set to
|
582
|
+
# false, the pattern matches any request prefixed with the given path.
|
583
|
+
#
|
584
|
+
# # Matches any request starting with 'path'
|
585
|
+
# match 'path', to: 'c#a', anchor: false, via: :get
|
586
|
+
#
|
587
|
+
# [:format]
|
588
|
+
# Allows you to specify the default value for optional +format+
|
589
|
+
# segment or disable it by supplying +false+.
|
590
|
+
def match(path, options = nil)
|
591
|
+
end
|
592
|
+
|
593
|
+
# Mount a Rack-based application to be used within the application.
|
594
|
+
#
|
595
|
+
# mount SomeRackApp, at: "some_route"
|
596
|
+
#
|
597
|
+
# Alternatively:
|
598
|
+
#
|
599
|
+
# mount(SomeRackApp => "some_route")
|
600
|
+
#
|
601
|
+
# For options, see +match+, as +mount+ uses it internally.
|
602
|
+
#
|
603
|
+
# All mounted applications come with routing helpers to access them.
|
604
|
+
# These are named after the class specified, so for the above example
|
605
|
+
# the helper is either +some_rack_app_path+ or +some_rack_app_url+.
|
606
|
+
# To customize this helper's name, use the +:as+ option:
|
607
|
+
#
|
608
|
+
# mount(SomeRackApp => "some_route", as: "exciting")
|
609
|
+
#
|
610
|
+
# This will generate the +exciting_path+ and +exciting_url+ helpers
|
611
|
+
# which can be used to navigate to this mounted app.
|
612
|
+
def mount(app, options = nil)
|
613
|
+
if options
|
614
|
+
path = options.delete(:at)
|
615
|
+
elsif Hash === app
|
616
|
+
options = app
|
617
|
+
app, path = options.find { |k, _| k.respond_to?(:call) }
|
618
|
+
options.delete(app) if app
|
619
|
+
end
|
620
|
+
|
621
|
+
raise ArgumentError, "A rack application must be specified" unless app.respond_to?(:call)
|
622
|
+
raise ArgumentError, <<~MSG unless path
|
623
|
+
Must be called with mount point
|
624
|
+
|
625
|
+
mount SomeRackApp, at: "some_route"
|
626
|
+
or
|
627
|
+
mount(SomeRackApp => "some_route")
|
628
|
+
MSG
|
629
|
+
|
630
|
+
rails_app = rails_app? app
|
631
|
+
options[:as] ||= app_name(app, rails_app)
|
632
|
+
|
633
|
+
target_as = name_for_action(options[:as], path)
|
634
|
+
options[:via] ||= :all
|
635
|
+
|
636
|
+
match(path, options.merge(to: app, anchor: false, format: false))
|
637
|
+
|
638
|
+
define_generate_prefix(app, target_as) if rails_app
|
639
|
+
self
|
640
|
+
end
|
641
|
+
|
642
|
+
def default_url_options=(options)
|
643
|
+
@set.default_url_options = options
|
644
|
+
end
|
645
|
+
alias_method :default_url_options, :default_url_options=
|
646
|
+
|
647
|
+
def with_default_scope(scope, &block)
|
648
|
+
scope(scope) do
|
649
|
+
instance_exec(&block)
|
650
|
+
end
|
651
|
+
end
|
652
|
+
|
653
|
+
# Query if the following named route was already defined.
|
654
|
+
def has_named_route?(name)
|
655
|
+
@set.named_routes.key?(name)
|
656
|
+
end
|
657
|
+
|
658
|
+
private
|
659
|
+
def rails_app?(app)
|
660
|
+
app.is_a?(Class) && app < Rails::Railtie
|
661
|
+
end
|
662
|
+
|
663
|
+
def app_name(app, rails_app)
|
664
|
+
if rails_app
|
665
|
+
app.railtie_name
|
666
|
+
elsif app.is_a?(Class)
|
667
|
+
class_name = app.name
|
668
|
+
ActiveSupport::Inflector.underscore(class_name).tr("/", "_")
|
669
|
+
end
|
670
|
+
end
|
671
|
+
|
672
|
+
def define_generate_prefix(app, name)
|
673
|
+
_route = @set.named_routes.get name
|
674
|
+
_routes = @set
|
675
|
+
_url_helpers = @set.url_helpers
|
676
|
+
|
677
|
+
script_namer = ->(options) do
|
678
|
+
prefix_options = options.slice(*_route.segment_keys)
|
679
|
+
prefix_options[:relative_url_root] = ""
|
680
|
+
|
681
|
+
if options[:_recall]
|
682
|
+
prefix_options.reverse_merge!(options[:_recall].slice(*_route.segment_keys))
|
683
|
+
end
|
684
|
+
|
685
|
+
# We must actually delete prefix segment keys to avoid passing them to next url_for.
|
686
|
+
_route.segment_keys.each { |k| options.delete(k) }
|
687
|
+
_url_helpers.send("#{name}_path", prefix_options)
|
688
|
+
end
|
689
|
+
|
690
|
+
app.routes.define_mounted_helper(name, script_namer)
|
691
|
+
|
692
|
+
app.routes.extend Module.new {
|
693
|
+
def optimize_routes_generation?; false; end
|
694
|
+
|
695
|
+
define_method :find_script_name do |options|
|
696
|
+
if options.key? :script_name
|
697
|
+
super(options)
|
698
|
+
else
|
699
|
+
script_namer.call(options)
|
700
|
+
end
|
701
|
+
end
|
702
|
+
}
|
703
|
+
end
|
704
|
+
end
|
705
|
+
|
706
|
+
module HttpHelpers
|
707
|
+
# Define a route that only recognizes HTTP GET.
|
708
|
+
# For supported arguments, see match[rdoc-ref:Base#match]
|
709
|
+
#
|
710
|
+
# get 'bacon', to: 'food#bacon'
|
711
|
+
def get(*args, &block)
|
712
|
+
map_method(:get, args, &block)
|
713
|
+
end
|
714
|
+
|
715
|
+
# Define a route that only recognizes HTTP POST.
|
716
|
+
# For supported arguments, see match[rdoc-ref:Base#match]
|
717
|
+
#
|
718
|
+
# post 'bacon', to: 'food#bacon'
|
719
|
+
def post(*args, &block)
|
720
|
+
map_method(:post, args, &block)
|
721
|
+
end
|
722
|
+
|
723
|
+
# Define a route that only recognizes HTTP PATCH.
|
724
|
+
# For supported arguments, see match[rdoc-ref:Base#match]
|
725
|
+
#
|
726
|
+
# patch 'bacon', to: 'food#bacon'
|
727
|
+
def patch(*args, &block)
|
728
|
+
map_method(:patch, args, &block)
|
729
|
+
end
|
730
|
+
|
731
|
+
# Define a route that only recognizes HTTP PUT.
|
732
|
+
# For supported arguments, see match[rdoc-ref:Base#match]
|
733
|
+
#
|
734
|
+
# put 'bacon', to: 'food#bacon'
|
735
|
+
def put(*args, &block)
|
736
|
+
map_method(:put, args, &block)
|
737
|
+
end
|
738
|
+
|
739
|
+
# Define a route that only recognizes HTTP DELETE.
|
740
|
+
# For supported arguments, see match[rdoc-ref:Base#match]
|
741
|
+
#
|
742
|
+
# delete 'broccoli', to: 'food#broccoli'
|
743
|
+
def delete(*args, &block)
|
744
|
+
map_method(:delete, args, &block)
|
745
|
+
end
|
746
|
+
|
747
|
+
private
|
748
|
+
def map_method(method, args, &block)
|
749
|
+
options = args.extract_options!
|
750
|
+
options[:via] = method
|
751
|
+
match(*args, options, &block)
|
752
|
+
self
|
753
|
+
end
|
754
|
+
end
|
755
|
+
|
756
|
+
# You may wish to organize groups of controllers under a namespace.
|
757
|
+
# Most commonly, you might group a number of administrative controllers
|
758
|
+
# under an +admin+ namespace. You would place these controllers under
|
759
|
+
# the <tt>app/controllers/admin</tt> directory, and you can group them
|
760
|
+
# together in your router:
|
761
|
+
#
|
762
|
+
# namespace "admin" do
|
763
|
+
# resources :posts, :comments
|
764
|
+
# end
|
765
|
+
#
|
766
|
+
# This will create a number of routes for each of the posts and comments
|
767
|
+
# controller. For <tt>Admin::PostsController</tt>, Rails will create:
|
768
|
+
#
|
769
|
+
# GET /admin/posts
|
770
|
+
# GET /admin/posts/new
|
771
|
+
# POST /admin/posts
|
772
|
+
# GET /admin/posts/1
|
773
|
+
# GET /admin/posts/1/edit
|
774
|
+
# PATCH/PUT /admin/posts/1
|
775
|
+
# DELETE /admin/posts/1
|
776
|
+
#
|
777
|
+
# If you want to route /posts (without the prefix /admin) to
|
778
|
+
# <tt>Admin::PostsController</tt>, you could use
|
779
|
+
#
|
780
|
+
# scope module: "admin" do
|
781
|
+
# resources :posts
|
782
|
+
# end
|
783
|
+
#
|
784
|
+
# or, for a single case
|
785
|
+
#
|
786
|
+
# resources :posts, module: "admin"
|
787
|
+
#
|
788
|
+
# If you want to route /admin/posts to +PostsController+
|
789
|
+
# (without the <tt>Admin::</tt> module prefix), you could use
|
790
|
+
#
|
791
|
+
# scope "/admin" do
|
792
|
+
# resources :posts
|
793
|
+
# end
|
794
|
+
#
|
795
|
+
# or, for a single case
|
796
|
+
#
|
797
|
+
# resources :posts, path: "/admin/posts"
|
798
|
+
#
|
799
|
+
# In each of these cases, the named routes remain the same as if you did
|
800
|
+
# not use scope. In the last case, the following paths map to
|
801
|
+
# +PostsController+:
|
802
|
+
#
|
803
|
+
# GET /admin/posts
|
804
|
+
# GET /admin/posts/new
|
805
|
+
# POST /admin/posts
|
806
|
+
# GET /admin/posts/1
|
807
|
+
# GET /admin/posts/1/edit
|
808
|
+
# PATCH/PUT /admin/posts/1
|
809
|
+
# DELETE /admin/posts/1
|
810
|
+
module Scoping
|
811
|
+
# Scopes a set of routes to the given default options.
|
812
|
+
#
|
813
|
+
# Take the following route definition as an example:
|
814
|
+
#
|
815
|
+
# scope path: ":account_id", as: "account" do
|
816
|
+
# resources :projects
|
817
|
+
# end
|
818
|
+
#
|
819
|
+
# This generates helpers such as +account_projects_path+, just like +resources+ does.
|
820
|
+
# The difference here being that the routes generated are like /:account_id/projects,
|
821
|
+
# rather than /accounts/:account_id/projects.
|
822
|
+
#
|
823
|
+
# === Options
|
824
|
+
#
|
825
|
+
# Takes same options as <tt>Base#match</tt> and <tt>Resources#resources</tt>.
|
826
|
+
#
|
827
|
+
# # route /posts (without the prefix /admin) to <tt>Admin::PostsController</tt>
|
828
|
+
# scope module: "admin" do
|
829
|
+
# resources :posts
|
830
|
+
# end
|
831
|
+
#
|
832
|
+
# # prefix the posts resource's requests with '/admin'
|
833
|
+
# scope path: "/admin" do
|
834
|
+
# resources :posts
|
835
|
+
# end
|
836
|
+
#
|
837
|
+
# # prefix the routing helper name: +sekret_posts_path+ instead of +posts_path+
|
838
|
+
# scope as: "sekret" do
|
839
|
+
# resources :posts
|
840
|
+
# end
|
841
|
+
def scope(*args)
|
842
|
+
options = args.extract_options!.dup
|
843
|
+
scope = {}
|
844
|
+
|
845
|
+
options[:path] = args.flatten.join("/") if args.any?
|
846
|
+
options[:constraints] ||= {}
|
847
|
+
|
848
|
+
unless nested_scope?
|
849
|
+
options[:shallow_path] ||= options[:path] if options.key?(:path)
|
850
|
+
options[:shallow_prefix] ||= options[:as] if options.key?(:as)
|
851
|
+
end
|
852
|
+
|
853
|
+
if options[:constraints].is_a?(Hash)
|
854
|
+
defaults = options[:constraints].select do |k, v|
|
855
|
+
URL_OPTIONS.include?(k) && (v.is_a?(String) || v.is_a?(Integer))
|
856
|
+
end
|
857
|
+
|
858
|
+
options[:defaults] = defaults.merge(options[:defaults] || {})
|
859
|
+
else
|
860
|
+
block, options[:constraints] = options[:constraints], {}
|
861
|
+
end
|
862
|
+
|
863
|
+
if options.key?(:only) || options.key?(:except)
|
864
|
+
scope[:action_options] = { only: options.delete(:only),
|
865
|
+
except: options.delete(:except) }
|
866
|
+
end
|
867
|
+
|
868
|
+
if options.key? :anchor
|
869
|
+
raise ArgumentError, "anchor is ignored unless passed to `match`"
|
870
|
+
end
|
871
|
+
|
872
|
+
@scope.options.each do |option|
|
873
|
+
if option == :blocks
|
874
|
+
value = block
|
875
|
+
elsif option == :options
|
876
|
+
value = options
|
877
|
+
else
|
878
|
+
value = options.delete(option) { POISON }
|
879
|
+
end
|
880
|
+
|
881
|
+
unless POISON == value
|
882
|
+
scope[option] = send("merge_#{option}_scope", @scope[option], value)
|
883
|
+
end
|
884
|
+
end
|
885
|
+
|
886
|
+
@scope = @scope.new scope
|
887
|
+
yield
|
888
|
+
self
|
889
|
+
ensure
|
890
|
+
@scope = @scope.parent
|
891
|
+
end
|
892
|
+
|
893
|
+
POISON = Object.new # :nodoc:
|
894
|
+
|
895
|
+
# Scopes routes to a specific controller
|
896
|
+
#
|
897
|
+
# controller "food" do
|
898
|
+
# match "bacon", action: :bacon, via: :get
|
899
|
+
# end
|
900
|
+
def controller(controller)
|
901
|
+
@scope = @scope.new(controller: controller)
|
902
|
+
yield
|
903
|
+
ensure
|
904
|
+
@scope = @scope.parent
|
905
|
+
end
|
906
|
+
|
907
|
+
# Scopes routes to a specific namespace. For example:
|
908
|
+
#
|
909
|
+
# namespace :admin do
|
910
|
+
# resources :posts
|
911
|
+
# end
|
912
|
+
#
|
913
|
+
# This generates the following routes:
|
914
|
+
#
|
915
|
+
# admin_posts GET /admin/posts(.:format) admin/posts#index
|
916
|
+
# admin_posts POST /admin/posts(.:format) admin/posts#create
|
917
|
+
# new_admin_post GET /admin/posts/new(.:format) admin/posts#new
|
918
|
+
# edit_admin_post GET /admin/posts/:id/edit(.:format) admin/posts#edit
|
919
|
+
# admin_post GET /admin/posts/:id(.:format) admin/posts#show
|
920
|
+
# admin_post PATCH/PUT /admin/posts/:id(.:format) admin/posts#update
|
921
|
+
# admin_post DELETE /admin/posts/:id(.:format) admin/posts#destroy
|
922
|
+
#
|
923
|
+
# === Options
|
924
|
+
#
|
925
|
+
# The +:path+, +:as+, +:module+, +:shallow_path+ and +:shallow_prefix+
|
926
|
+
# options all default to the name of the namespace.
|
927
|
+
#
|
928
|
+
# For options, see <tt>Base#match</tt>. For +:shallow_path+ option, see
|
929
|
+
# <tt>Resources#resources</tt>.
|
930
|
+
#
|
931
|
+
# # accessible through /sekret/posts rather than /admin/posts
|
932
|
+
# namespace :admin, path: "sekret" do
|
933
|
+
# resources :posts
|
934
|
+
# end
|
935
|
+
#
|
936
|
+
# # maps to <tt>Sekret::PostsController</tt> rather than <tt>Admin::PostsController</tt>
|
937
|
+
# namespace :admin, module: "sekret" do
|
938
|
+
# resources :posts
|
939
|
+
# end
|
940
|
+
#
|
941
|
+
# # generates +sekret_posts_path+ rather than +admin_posts_path+
|
942
|
+
# namespace :admin, as: "sekret" do
|
943
|
+
# resources :posts
|
944
|
+
# end
|
945
|
+
def namespace(path, options = {})
|
946
|
+
path = path.to_s
|
947
|
+
|
948
|
+
defaults = {
|
949
|
+
module: path,
|
950
|
+
as: options.fetch(:as, path),
|
951
|
+
shallow_path: options.fetch(:path, path),
|
952
|
+
shallow_prefix: options.fetch(:as, path)
|
953
|
+
}
|
954
|
+
|
955
|
+
path_scope(options.delete(:path) { path }) do
|
956
|
+
scope(defaults.merge!(options)) { yield }
|
957
|
+
end
|
958
|
+
end
|
959
|
+
|
960
|
+
# === Parameter Restriction
|
961
|
+
# Allows you to constrain the nested routes based on a set of rules.
|
962
|
+
# For instance, in order to change the routes to allow for a dot character in the +id+ parameter:
|
963
|
+
#
|
964
|
+
# constraints(id: /\d+\.\d+/) do
|
965
|
+
# resources :posts
|
966
|
+
# end
|
967
|
+
#
|
968
|
+
# Now routes such as +/posts/1+ will no longer be valid, but +/posts/1.1+ will be.
|
969
|
+
# The +id+ parameter must match the constraint passed in for this example.
|
970
|
+
#
|
971
|
+
# You may use this to also restrict other parameters:
|
972
|
+
#
|
973
|
+
# resources :posts do
|
974
|
+
# constraints(post_id: /\d+\.\d+/) do
|
975
|
+
# resources :comments
|
976
|
+
# end
|
977
|
+
# end
|
978
|
+
#
|
979
|
+
# === Restricting based on IP
|
980
|
+
#
|
981
|
+
# Routes can also be constrained to an IP or a certain range of IP addresses:
|
982
|
+
#
|
983
|
+
# constraints(ip: /192\.168\.\d+\.\d+/) do
|
984
|
+
# resources :posts
|
985
|
+
# end
|
986
|
+
#
|
987
|
+
# Any user connecting from the 192.168.* range will be able to see this resource,
|
988
|
+
# where as any user connecting outside of this range will be told there is no such route.
|
989
|
+
#
|
990
|
+
# === Dynamic request matching
|
991
|
+
#
|
992
|
+
# Requests to routes can be constrained based on specific criteria:
|
993
|
+
#
|
994
|
+
# constraints(-> (req) { req.env["HTTP_USER_AGENT"] =~ /iPhone/ }) do
|
995
|
+
# resources :iphones
|
996
|
+
# end
|
997
|
+
#
|
998
|
+
# You are able to move this logic out into a class if it is too complex for routes.
|
999
|
+
# This class must have a +matches?+ method defined on it which either returns +true+
|
1000
|
+
# if the user should be given access to that route, or +false+ if the user should not.
|
1001
|
+
#
|
1002
|
+
# class Iphone
|
1003
|
+
# def self.matches?(request)
|
1004
|
+
# request.env["HTTP_USER_AGENT"] =~ /iPhone/
|
1005
|
+
# end
|
1006
|
+
# end
|
1007
|
+
#
|
1008
|
+
# An expected place for this code would be +lib/constraints+.
|
1009
|
+
#
|
1010
|
+
# This class is then used like this:
|
1011
|
+
#
|
1012
|
+
# constraints(Iphone) do
|
1013
|
+
# resources :iphones
|
1014
|
+
# end
|
1015
|
+
def constraints(constraints = {})
|
1016
|
+
scope(constraints: constraints) { yield }
|
1017
|
+
end
|
1018
|
+
|
1019
|
+
# Allows you to set default parameters for a route, such as this:
|
1020
|
+
# defaults id: 'home' do
|
1021
|
+
# match 'scoped_pages/(:id)', to: 'pages#show'
|
1022
|
+
# end
|
1023
|
+
# Using this, the +:id+ parameter here will default to 'home'.
|
1024
|
+
def defaults(defaults = {})
|
1025
|
+
@scope = @scope.new(defaults: merge_defaults_scope(@scope[:defaults], defaults))
|
1026
|
+
yield
|
1027
|
+
ensure
|
1028
|
+
@scope = @scope.parent
|
1029
|
+
end
|
1030
|
+
|
1031
|
+
private
|
1032
|
+
def merge_path_scope(parent, child)
|
1033
|
+
Mapper.normalize_path("#{parent}/#{child}")
|
1034
|
+
end
|
1035
|
+
|
1036
|
+
def merge_shallow_path_scope(parent, child)
|
1037
|
+
Mapper.normalize_path("#{parent}/#{child}")
|
1038
|
+
end
|
1039
|
+
|
1040
|
+
def merge_as_scope(parent, child)
|
1041
|
+
parent ? "#{parent}_#{child}" : child
|
1042
|
+
end
|
1043
|
+
|
1044
|
+
def merge_shallow_prefix_scope(parent, child)
|
1045
|
+
parent ? "#{parent}_#{child}" : child
|
1046
|
+
end
|
1047
|
+
|
1048
|
+
def merge_module_scope(parent, child)
|
1049
|
+
parent ? "#{parent}/#{child}" : child
|
1050
|
+
end
|
1051
|
+
|
1052
|
+
def merge_controller_scope(parent, child)
|
1053
|
+
child
|
1054
|
+
end
|
1055
|
+
|
1056
|
+
def merge_action_scope(parent, child)
|
1057
|
+
child
|
1058
|
+
end
|
1059
|
+
|
1060
|
+
def merge_via_scope(parent, child)
|
1061
|
+
child
|
1062
|
+
end
|
1063
|
+
|
1064
|
+
def merge_format_scope(parent, child)
|
1065
|
+
child
|
1066
|
+
end
|
1067
|
+
|
1068
|
+
def merge_path_names_scope(parent, child)
|
1069
|
+
merge_options_scope(parent, child)
|
1070
|
+
end
|
1071
|
+
|
1072
|
+
def merge_constraints_scope(parent, child)
|
1073
|
+
merge_options_scope(parent, child)
|
1074
|
+
end
|
1075
|
+
|
1076
|
+
def merge_defaults_scope(parent, child)
|
1077
|
+
merge_options_scope(parent, child)
|
1078
|
+
end
|
1079
|
+
|
1080
|
+
def merge_blocks_scope(parent, child)
|
1081
|
+
merged = parent ? parent.dup : []
|
1082
|
+
merged << child if child
|
1083
|
+
merged
|
1084
|
+
end
|
1085
|
+
|
1086
|
+
def merge_options_scope(parent, child)
|
1087
|
+
(parent || {}).merge(child)
|
1088
|
+
end
|
1089
|
+
|
1090
|
+
def merge_shallow_scope(parent, child)
|
1091
|
+
child ? true : false
|
1092
|
+
end
|
1093
|
+
|
1094
|
+
def merge_to_scope(parent, child)
|
1095
|
+
child
|
1096
|
+
end
|
1097
|
+
end
|
1098
|
+
|
1099
|
+
# Resource routing allows you to quickly declare all of the common routes
|
1100
|
+
# for a given resourceful controller. Instead of declaring separate routes
|
1101
|
+
# for your +index+, +show+, +new+, +edit+, +create+, +update+ and +destroy+
|
1102
|
+
# actions, a resourceful route declares them in a single line of code:
|
1103
|
+
#
|
1104
|
+
# resources :photos
|
1105
|
+
#
|
1106
|
+
# Sometimes, you have a resource that clients always look up without
|
1107
|
+
# referencing an ID. A common example, /profile always shows the profile of
|
1108
|
+
# the currently logged in user. In this case, you can use a singular resource
|
1109
|
+
# to map /profile (rather than /profile/:id) to the show action.
|
1110
|
+
#
|
1111
|
+
# resource :profile
|
1112
|
+
#
|
1113
|
+
# It's common to have resources that are logically children of other
|
1114
|
+
# resources:
|
1115
|
+
#
|
1116
|
+
# resources :magazines do
|
1117
|
+
# resources :ads
|
1118
|
+
# end
|
1119
|
+
#
|
1120
|
+
# You may wish to organize groups of controllers under a namespace. Most
|
1121
|
+
# commonly, you might group a number of administrative controllers under
|
1122
|
+
# an +admin+ namespace. You would place these controllers under the
|
1123
|
+
# <tt>app/controllers/admin</tt> directory, and you can group them together
|
1124
|
+
# in your router:
|
1125
|
+
#
|
1126
|
+
# namespace "admin" do
|
1127
|
+
# resources :posts, :comments
|
1128
|
+
# end
|
1129
|
+
#
|
1130
|
+
# By default the +:id+ parameter doesn't accept dots. If you need to
|
1131
|
+
# use dots as part of the +:id+ parameter add a constraint which
|
1132
|
+
# overrides this restriction, e.g:
|
1133
|
+
#
|
1134
|
+
# resources :articles, id: /[^\/]+/
|
1135
|
+
#
|
1136
|
+
# This allows any character other than a slash as part of your +:id+.
|
1137
|
+
#
|
1138
|
+
module Resources
|
1139
|
+
# CANONICAL_ACTIONS holds all actions that does not need a prefix or
|
1140
|
+
# a path appended since they fit properly in their scope level.
|
1141
|
+
VALID_ON_OPTIONS = [:new, :collection, :member]
|
1142
|
+
RESOURCE_OPTIONS = [:as, :controller, :path, :only, :except, :param, :concerns]
|
1143
|
+
CANONICAL_ACTIONS = %w(index create new show update destroy)
|
1144
|
+
|
1145
|
+
class Resource #:nodoc:
|
1146
|
+
attr_reader :controller, :path, :param
|
1147
|
+
|
1148
|
+
def initialize(entities, api_only, shallow, options = {})
|
1149
|
+
if options[:param].to_s.include?(":")
|
1150
|
+
raise ArgumentError, ":param option can't contain colons"
|
1151
|
+
end
|
1152
|
+
|
1153
|
+
@name = entities.to_s
|
1154
|
+
@path = (options[:path] || @name).to_s
|
1155
|
+
@controller = (options[:controller] || @name).to_s
|
1156
|
+
@as = options[:as]
|
1157
|
+
@param = (options[:param] || :id).to_sym
|
1158
|
+
@options = options
|
1159
|
+
@shallow = shallow
|
1160
|
+
@api_only = api_only
|
1161
|
+
@only = options.delete :only
|
1162
|
+
@except = options.delete :except
|
1163
|
+
end
|
1164
|
+
|
1165
|
+
def default_actions
|
1166
|
+
if @api_only
|
1167
|
+
[:index, :create, :show, :update, :destroy]
|
1168
|
+
else
|
1169
|
+
[:index, :create, :new, :show, :update, :destroy, :edit]
|
1170
|
+
end
|
1171
|
+
end
|
1172
|
+
|
1173
|
+
def actions
|
1174
|
+
if @except
|
1175
|
+
available_actions - Array(@except).map(&:to_sym)
|
1176
|
+
else
|
1177
|
+
available_actions
|
1178
|
+
end
|
1179
|
+
end
|
1180
|
+
|
1181
|
+
def available_actions
|
1182
|
+
if @only
|
1183
|
+
Array(@only).map(&:to_sym)
|
1184
|
+
else
|
1185
|
+
default_actions
|
1186
|
+
end
|
1187
|
+
end
|
1188
|
+
|
1189
|
+
def name
|
1190
|
+
@as || @name
|
1191
|
+
end
|
1192
|
+
|
1193
|
+
def plural
|
1194
|
+
@plural ||= name.to_s
|
1195
|
+
end
|
1196
|
+
|
1197
|
+
def singular
|
1198
|
+
@singular ||= name.to_s.singularize
|
1199
|
+
end
|
1200
|
+
|
1201
|
+
alias :member_name :singular
|
1202
|
+
|
1203
|
+
# Checks for uncountable plurals, and appends "_index" if the plural
|
1204
|
+
# and singular form are the same.
|
1205
|
+
def collection_name
|
1206
|
+
singular == plural ? "#{plural}_index" : plural
|
1207
|
+
end
|
1208
|
+
|
1209
|
+
def resource_scope
|
1210
|
+
controller
|
1211
|
+
end
|
1212
|
+
|
1213
|
+
alias :collection_scope :path
|
1214
|
+
|
1215
|
+
def member_scope
|
1216
|
+
"#{path}/:#{param}"
|
1217
|
+
end
|
1218
|
+
|
1219
|
+
alias :shallow_scope :member_scope
|
1220
|
+
|
1221
|
+
def new_scope(new_path)
|
1222
|
+
"#{path}/#{new_path}"
|
1223
|
+
end
|
1224
|
+
|
1225
|
+
def nested_param
|
1226
|
+
:"#{singular}_#{param}"
|
1227
|
+
end
|
1228
|
+
|
1229
|
+
def nested_scope
|
1230
|
+
"#{path}/:#{nested_param}"
|
1231
|
+
end
|
1232
|
+
|
1233
|
+
def shallow?
|
1234
|
+
@shallow
|
1235
|
+
end
|
1236
|
+
|
1237
|
+
def singleton?; false; end
|
1238
|
+
end
|
1239
|
+
|
1240
|
+
class SingletonResource < Resource #:nodoc:
|
1241
|
+
def initialize(entities, api_only, shallow, options)
|
1242
|
+
super
|
1243
|
+
@as = nil
|
1244
|
+
@controller = (options[:controller] || plural).to_s
|
1245
|
+
@as = options[:as]
|
1246
|
+
end
|
1247
|
+
|
1248
|
+
def default_actions
|
1249
|
+
if @api_only
|
1250
|
+
[:show, :create, :update, :destroy]
|
1251
|
+
else
|
1252
|
+
[:show, :create, :update, :destroy, :new, :edit]
|
1253
|
+
end
|
1254
|
+
end
|
1255
|
+
|
1256
|
+
def plural
|
1257
|
+
@plural ||= name.to_s.pluralize
|
1258
|
+
end
|
1259
|
+
|
1260
|
+
def singular
|
1261
|
+
@singular ||= name.to_s
|
1262
|
+
end
|
1263
|
+
|
1264
|
+
alias :member_name :singular
|
1265
|
+
alias :collection_name :singular
|
1266
|
+
|
1267
|
+
alias :member_scope :path
|
1268
|
+
alias :nested_scope :path
|
1269
|
+
|
1270
|
+
def singleton?; true; end
|
1271
|
+
end
|
1272
|
+
|
1273
|
+
def resources_path_names(options)
|
1274
|
+
@scope[:path_names].merge!(options)
|
1275
|
+
end
|
1276
|
+
|
1277
|
+
# Sometimes, you have a resource that clients always look up without
|
1278
|
+
# referencing an ID. A common example, /profile always shows the
|
1279
|
+
# profile of the currently logged in user. In this case, you can use
|
1280
|
+
# a singular resource to map /profile (rather than /profile/:id) to
|
1281
|
+
# the show action:
|
1282
|
+
#
|
1283
|
+
# resource :profile
|
1284
|
+
#
|
1285
|
+
# This creates six different routes in your application, all mapping to
|
1286
|
+
# the +Profiles+ controller (note that the controller is named after
|
1287
|
+
# the plural):
|
1288
|
+
#
|
1289
|
+
# GET /profile/new
|
1290
|
+
# GET /profile
|
1291
|
+
# GET /profile/edit
|
1292
|
+
# PATCH/PUT /profile
|
1293
|
+
# DELETE /profile
|
1294
|
+
# POST /profile
|
1295
|
+
#
|
1296
|
+
# === Options
|
1297
|
+
# Takes same options as resources[rdoc-ref:#resources]
|
1298
|
+
def resource(*resources, &block)
|
1299
|
+
options = resources.extract_options!.dup
|
1300
|
+
|
1301
|
+
if apply_common_behavior_for(:resource, resources, options, &block)
|
1302
|
+
return self
|
1303
|
+
end
|
1304
|
+
|
1305
|
+
with_scope_level(:resource) do
|
1306
|
+
options = apply_action_options options
|
1307
|
+
resource_scope(SingletonResource.new(resources.pop, api_only?, @scope[:shallow], options)) do
|
1308
|
+
yield if block_given?
|
1309
|
+
|
1310
|
+
concerns(options[:concerns]) if options[:concerns]
|
1311
|
+
|
1312
|
+
new do
|
1313
|
+
get :new
|
1314
|
+
end if parent_resource.actions.include?(:new)
|
1315
|
+
|
1316
|
+
set_member_mappings_for_resource
|
1317
|
+
|
1318
|
+
collection do
|
1319
|
+
post :create
|
1320
|
+
end if parent_resource.actions.include?(:create)
|
1321
|
+
end
|
1322
|
+
end
|
1323
|
+
|
1324
|
+
self
|
1325
|
+
end
|
1326
|
+
|
1327
|
+
# In Rails, a resourceful route provides a mapping between HTTP verbs
|
1328
|
+
# and URLs and controller actions. By convention, each action also maps
|
1329
|
+
# to particular CRUD operations in a database. A single entry in the
|
1330
|
+
# routing file, such as
|
1331
|
+
#
|
1332
|
+
# resources :photos
|
1333
|
+
#
|
1334
|
+
# creates seven different routes in your application, all mapping to
|
1335
|
+
# the +Photos+ controller:
|
1336
|
+
#
|
1337
|
+
# GET /photos
|
1338
|
+
# GET /photos/new
|
1339
|
+
# POST /photos
|
1340
|
+
# GET /photos/:id
|
1341
|
+
# GET /photos/:id/edit
|
1342
|
+
# PATCH/PUT /photos/:id
|
1343
|
+
# DELETE /photos/:id
|
1344
|
+
#
|
1345
|
+
# Resources can also be nested infinitely by using this block syntax:
|
1346
|
+
#
|
1347
|
+
# resources :photos do
|
1348
|
+
# resources :comments
|
1349
|
+
# end
|
1350
|
+
#
|
1351
|
+
# This generates the following comments routes:
|
1352
|
+
#
|
1353
|
+
# GET /photos/:photo_id/comments
|
1354
|
+
# GET /photos/:photo_id/comments/new
|
1355
|
+
# POST /photos/:photo_id/comments
|
1356
|
+
# GET /photos/:photo_id/comments/:id
|
1357
|
+
# GET /photos/:photo_id/comments/:id/edit
|
1358
|
+
# PATCH/PUT /photos/:photo_id/comments/:id
|
1359
|
+
# DELETE /photos/:photo_id/comments/:id
|
1360
|
+
#
|
1361
|
+
# === Options
|
1362
|
+
# Takes same options as match[rdoc-ref:Base#match] as well as:
|
1363
|
+
#
|
1364
|
+
# [:path_names]
|
1365
|
+
# Allows you to change the segment component of the +edit+ and +new+ actions.
|
1366
|
+
# Actions not specified are not changed.
|
1367
|
+
#
|
1368
|
+
# resources :posts, path_names: { new: "brand_new" }
|
1369
|
+
#
|
1370
|
+
# The above example will now change /posts/new to /posts/brand_new.
|
1371
|
+
#
|
1372
|
+
# [:path]
|
1373
|
+
# Allows you to change the path prefix for the resource.
|
1374
|
+
#
|
1375
|
+
# resources :posts, path: 'postings'
|
1376
|
+
#
|
1377
|
+
# The resource and all segments will now route to /postings instead of /posts.
|
1378
|
+
#
|
1379
|
+
# [:only]
|
1380
|
+
# Only generate routes for the given actions.
|
1381
|
+
#
|
1382
|
+
# resources :cows, only: :show
|
1383
|
+
# resources :cows, only: [:show, :index]
|
1384
|
+
#
|
1385
|
+
# [:except]
|
1386
|
+
# Generate all routes except for the given actions.
|
1387
|
+
#
|
1388
|
+
# resources :cows, except: :show
|
1389
|
+
# resources :cows, except: [:show, :index]
|
1390
|
+
#
|
1391
|
+
# [:shallow]
|
1392
|
+
# Generates shallow routes for nested resource(s). When placed on a parent resource,
|
1393
|
+
# generates shallow routes for all nested resources.
|
1394
|
+
#
|
1395
|
+
# resources :posts, shallow: true do
|
1396
|
+
# resources :comments
|
1397
|
+
# end
|
1398
|
+
#
|
1399
|
+
# Is the same as:
|
1400
|
+
#
|
1401
|
+
# resources :posts do
|
1402
|
+
# resources :comments, except: [:show, :edit, :update, :destroy]
|
1403
|
+
# end
|
1404
|
+
# resources :comments, only: [:show, :edit, :update, :destroy]
|
1405
|
+
#
|
1406
|
+
# This allows URLs for resources that otherwise would be deeply nested such
|
1407
|
+
# as a comment on a blog post like <tt>/posts/a-long-permalink/comments/1234</tt>
|
1408
|
+
# to be shortened to just <tt>/comments/1234</tt>.
|
1409
|
+
#
|
1410
|
+
# Set <tt>shallow: false</tt> on a child resource to ignore a parent's shallow parameter.
|
1411
|
+
#
|
1412
|
+
# [:shallow_path]
|
1413
|
+
# Prefixes nested shallow routes with the specified path.
|
1414
|
+
#
|
1415
|
+
# scope shallow_path: "sekret" do
|
1416
|
+
# resources :posts do
|
1417
|
+
# resources :comments, shallow: true
|
1418
|
+
# end
|
1419
|
+
# end
|
1420
|
+
#
|
1421
|
+
# The +comments+ resource here will have the following routes generated for it:
|
1422
|
+
#
|
1423
|
+
# post_comments GET /posts/:post_id/comments(.:format)
|
1424
|
+
# post_comments POST /posts/:post_id/comments(.:format)
|
1425
|
+
# new_post_comment GET /posts/:post_id/comments/new(.:format)
|
1426
|
+
# edit_comment GET /sekret/comments/:id/edit(.:format)
|
1427
|
+
# comment GET /sekret/comments/:id(.:format)
|
1428
|
+
# comment PATCH/PUT /sekret/comments/:id(.:format)
|
1429
|
+
# comment DELETE /sekret/comments/:id(.:format)
|
1430
|
+
#
|
1431
|
+
# [:shallow_prefix]
|
1432
|
+
# Prefixes nested shallow route names with specified prefix.
|
1433
|
+
#
|
1434
|
+
# scope shallow_prefix: "sekret" do
|
1435
|
+
# resources :posts do
|
1436
|
+
# resources :comments, shallow: true
|
1437
|
+
# end
|
1438
|
+
# end
|
1439
|
+
#
|
1440
|
+
# The +comments+ resource here will have the following routes generated for it:
|
1441
|
+
#
|
1442
|
+
# post_comments GET /posts/:post_id/comments(.:format)
|
1443
|
+
# post_comments POST /posts/:post_id/comments(.:format)
|
1444
|
+
# new_post_comment GET /posts/:post_id/comments/new(.:format)
|
1445
|
+
# edit_sekret_comment GET /comments/:id/edit(.:format)
|
1446
|
+
# sekret_comment GET /comments/:id(.:format)
|
1447
|
+
# sekret_comment PATCH/PUT /comments/:id(.:format)
|
1448
|
+
# sekret_comment DELETE /comments/:id(.:format)
|
1449
|
+
#
|
1450
|
+
# [:format]
|
1451
|
+
# Allows you to specify the default value for optional +format+
|
1452
|
+
# segment or disable it by supplying +false+.
|
1453
|
+
#
|
1454
|
+
# [:param]
|
1455
|
+
# Allows you to override the default param name of +:id+ in the URL.
|
1456
|
+
#
|
1457
|
+
# === Examples
|
1458
|
+
#
|
1459
|
+
# # routes call <tt>Admin::PostsController</tt>
|
1460
|
+
# resources :posts, module: "admin"
|
1461
|
+
#
|
1462
|
+
# # resource actions are at /admin/posts.
|
1463
|
+
# resources :posts, path: "admin/posts"
|
1464
|
+
def resources(*resources, &block)
|
1465
|
+
options = resources.extract_options!.dup
|
1466
|
+
|
1467
|
+
if apply_common_behavior_for(:resources, resources, options, &block)
|
1468
|
+
return self
|
1469
|
+
end
|
1470
|
+
|
1471
|
+
with_scope_level(:resources) do
|
1472
|
+
options = apply_action_options options
|
1473
|
+
resource_scope(Resource.new(resources.pop, api_only?, @scope[:shallow], options)) do
|
1474
|
+
yield if block_given?
|
1475
|
+
|
1476
|
+
concerns(options[:concerns]) if options[:concerns]
|
1477
|
+
|
1478
|
+
collection do
|
1479
|
+
get :index if parent_resource.actions.include?(:index)
|
1480
|
+
post :create if parent_resource.actions.include?(:create)
|
1481
|
+
end
|
1482
|
+
|
1483
|
+
new do
|
1484
|
+
get :new
|
1485
|
+
end if parent_resource.actions.include?(:new)
|
1486
|
+
|
1487
|
+
set_member_mappings_for_resource
|
1488
|
+
end
|
1489
|
+
end
|
1490
|
+
|
1491
|
+
self
|
1492
|
+
end
|
1493
|
+
|
1494
|
+
# To add a route to the collection:
|
1495
|
+
#
|
1496
|
+
# resources :photos do
|
1497
|
+
# collection do
|
1498
|
+
# get 'search'
|
1499
|
+
# end
|
1500
|
+
# end
|
1501
|
+
#
|
1502
|
+
# This will enable Rails to recognize paths such as <tt>/photos/search</tt>
|
1503
|
+
# with GET, and route to the search action of +PhotosController+. It will also
|
1504
|
+
# create the <tt>search_photos_url</tt> and <tt>search_photos_path</tt>
|
1505
|
+
# route helpers.
|
1506
|
+
def collection
|
1507
|
+
unless resource_scope?
|
1508
|
+
raise ArgumentError, "can't use collection outside resource(s) scope"
|
1509
|
+
end
|
1510
|
+
|
1511
|
+
with_scope_level(:collection) do
|
1512
|
+
path_scope(parent_resource.collection_scope) do
|
1513
|
+
yield
|
1514
|
+
end
|
1515
|
+
end
|
1516
|
+
end
|
1517
|
+
|
1518
|
+
# To add a member route, add a member block into the resource block:
|
1519
|
+
#
|
1520
|
+
# resources :photos do
|
1521
|
+
# member do
|
1522
|
+
# get 'preview'
|
1523
|
+
# end
|
1524
|
+
# end
|
1525
|
+
#
|
1526
|
+
# This will recognize <tt>/photos/1/preview</tt> with GET, and route to the
|
1527
|
+
# preview action of +PhotosController+. It will also create the
|
1528
|
+
# <tt>preview_photo_url</tt> and <tt>preview_photo_path</tt> helpers.
|
1529
|
+
def member
|
1530
|
+
unless resource_scope?
|
1531
|
+
raise ArgumentError, "can't use member outside resource(s) scope"
|
1532
|
+
end
|
1533
|
+
|
1534
|
+
with_scope_level(:member) do
|
1535
|
+
if shallow?
|
1536
|
+
shallow_scope {
|
1537
|
+
path_scope(parent_resource.member_scope) { yield }
|
1538
|
+
}
|
1539
|
+
else
|
1540
|
+
path_scope(parent_resource.member_scope) { yield }
|
1541
|
+
end
|
1542
|
+
end
|
1543
|
+
end
|
1544
|
+
|
1545
|
+
def new
|
1546
|
+
unless resource_scope?
|
1547
|
+
raise ArgumentError, "can't use new outside resource(s) scope"
|
1548
|
+
end
|
1549
|
+
|
1550
|
+
with_scope_level(:new) do
|
1551
|
+
path_scope(parent_resource.new_scope(action_path(:new))) do
|
1552
|
+
yield
|
1553
|
+
end
|
1554
|
+
end
|
1555
|
+
end
|
1556
|
+
|
1557
|
+
def nested
|
1558
|
+
unless resource_scope?
|
1559
|
+
raise ArgumentError, "can't use nested outside resource(s) scope"
|
1560
|
+
end
|
1561
|
+
|
1562
|
+
with_scope_level(:nested) do
|
1563
|
+
if shallow? && shallow_nesting_depth >= 1
|
1564
|
+
shallow_scope do
|
1565
|
+
path_scope(parent_resource.nested_scope) do
|
1566
|
+
scope(nested_options) { yield }
|
1567
|
+
end
|
1568
|
+
end
|
1569
|
+
else
|
1570
|
+
path_scope(parent_resource.nested_scope) do
|
1571
|
+
scope(nested_options) { yield }
|
1572
|
+
end
|
1573
|
+
end
|
1574
|
+
end
|
1575
|
+
end
|
1576
|
+
|
1577
|
+
# See ActionDispatch::Routing::Mapper::Scoping#namespace.
|
1578
|
+
def namespace(path, options = {})
|
1579
|
+
if resource_scope?
|
1580
|
+
nested { super }
|
1581
|
+
else
|
1582
|
+
super
|
1583
|
+
end
|
1584
|
+
end
|
1585
|
+
|
1586
|
+
def shallow
|
1587
|
+
@scope = @scope.new(shallow: true)
|
1588
|
+
yield
|
1589
|
+
ensure
|
1590
|
+
@scope = @scope.parent
|
1591
|
+
end
|
1592
|
+
|
1593
|
+
def shallow?
|
1594
|
+
!parent_resource.singleton? && @scope[:shallow]
|
1595
|
+
end
|
1596
|
+
|
1597
|
+
# Matches a URL pattern to one or more routes.
|
1598
|
+
# For more information, see match[rdoc-ref:Base#match].
|
1599
|
+
#
|
1600
|
+
# match 'path' => 'controller#action', via: :patch
|
1601
|
+
# match 'path', to: 'controller#action', via: :post
|
1602
|
+
# match 'path', 'otherpath', on: :member, via: :get
|
1603
|
+
def match(path, *rest, &block)
|
1604
|
+
if rest.empty? && Hash === path
|
1605
|
+
options = path
|
1606
|
+
path, to = options.find { |name, _value| name.is_a?(String) }
|
1607
|
+
|
1608
|
+
raise ArgumentError, "Route path not specified" if path.nil?
|
1609
|
+
|
1610
|
+
case to
|
1611
|
+
when Symbol
|
1612
|
+
options[:action] = to
|
1613
|
+
when String
|
1614
|
+
if /#/.match?(to)
|
1615
|
+
options[:to] = to
|
1616
|
+
else
|
1617
|
+
options[:controller] = to
|
1618
|
+
end
|
1619
|
+
else
|
1620
|
+
options[:to] = to
|
1621
|
+
end
|
1622
|
+
|
1623
|
+
options.delete(path)
|
1624
|
+
paths = [path]
|
1625
|
+
else
|
1626
|
+
options = rest.pop || {}
|
1627
|
+
paths = [path] + rest
|
1628
|
+
end
|
1629
|
+
|
1630
|
+
if options.key?(:defaults)
|
1631
|
+
defaults(options.delete(:defaults)) { map_match(paths, options, &block) }
|
1632
|
+
else
|
1633
|
+
map_match(paths, options, &block)
|
1634
|
+
end
|
1635
|
+
end
|
1636
|
+
|
1637
|
+
# You can specify what Rails should route "/" to with the root method:
|
1638
|
+
#
|
1639
|
+
# root to: 'pages#main'
|
1640
|
+
#
|
1641
|
+
# For options, see +match+, as +root+ uses it internally.
|
1642
|
+
#
|
1643
|
+
# You can also pass a string which will expand
|
1644
|
+
#
|
1645
|
+
# root 'pages#main'
|
1646
|
+
#
|
1647
|
+
# You should put the root route at the top of <tt>config/routes.rb</tt>,
|
1648
|
+
# because this means it will be matched first. As this is the most popular route
|
1649
|
+
# of most Rails applications, this is beneficial.
|
1650
|
+
def root(path, options = {})
|
1651
|
+
if path.is_a?(String)
|
1652
|
+
options[:to] = path
|
1653
|
+
elsif path.is_a?(Hash) && options.empty?
|
1654
|
+
options = path
|
1655
|
+
else
|
1656
|
+
raise ArgumentError, "must be called with a path and/or options"
|
1657
|
+
end
|
1658
|
+
|
1659
|
+
if @scope.resources?
|
1660
|
+
with_scope_level(:root) do
|
1661
|
+
path_scope(parent_resource.path) do
|
1662
|
+
match_root_route(options)
|
1663
|
+
end
|
1664
|
+
end
|
1665
|
+
else
|
1666
|
+
match_root_route(options)
|
1667
|
+
end
|
1668
|
+
end
|
1669
|
+
|
1670
|
+
private
|
1671
|
+
|
1672
|
+
def parent_resource
|
1673
|
+
@scope[:scope_level_resource]
|
1674
|
+
end
|
1675
|
+
|
1676
|
+
def apply_common_behavior_for(method, resources, options, &block)
|
1677
|
+
if resources.length > 1
|
1678
|
+
resources.each { |r| send(method, r, options, &block) }
|
1679
|
+
return true
|
1680
|
+
end
|
1681
|
+
|
1682
|
+
if options[:shallow]
|
1683
|
+
options.delete(:shallow)
|
1684
|
+
shallow do
|
1685
|
+
send(method, resources.pop, options, &block)
|
1686
|
+
end
|
1687
|
+
return true
|
1688
|
+
end
|
1689
|
+
|
1690
|
+
if resource_scope?
|
1691
|
+
nested { send(method, resources.pop, options, &block) }
|
1692
|
+
return true
|
1693
|
+
end
|
1694
|
+
|
1695
|
+
options.keys.each do |k|
|
1696
|
+
(options[:constraints] ||= {})[k] = options.delete(k) if options[k].is_a?(Regexp)
|
1697
|
+
end
|
1698
|
+
|
1699
|
+
scope_options = options.slice!(*RESOURCE_OPTIONS)
|
1700
|
+
unless scope_options.empty?
|
1701
|
+
scope(scope_options) do
|
1702
|
+
send(method, resources.pop, options, &block)
|
1703
|
+
end
|
1704
|
+
return true
|
1705
|
+
end
|
1706
|
+
|
1707
|
+
false
|
1708
|
+
end
|
1709
|
+
|
1710
|
+
def apply_action_options(options)
|
1711
|
+
return options if action_options? options
|
1712
|
+
options.merge scope_action_options
|
1713
|
+
end
|
1714
|
+
|
1715
|
+
def action_options?(options)
|
1716
|
+
options[:only] || options[:except]
|
1717
|
+
end
|
1718
|
+
|
1719
|
+
def scope_action_options
|
1720
|
+
@scope[:action_options] || {}
|
1721
|
+
end
|
1722
|
+
|
1723
|
+
def resource_scope?
|
1724
|
+
@scope.resource_scope?
|
1725
|
+
end
|
1726
|
+
|
1727
|
+
def resource_method_scope?
|
1728
|
+
@scope.resource_method_scope?
|
1729
|
+
end
|
1730
|
+
|
1731
|
+
def nested_scope?
|
1732
|
+
@scope.nested?
|
1733
|
+
end
|
1734
|
+
|
1735
|
+
def with_scope_level(kind) # :doc:
|
1736
|
+
@scope = @scope.new_level(kind)
|
1737
|
+
yield
|
1738
|
+
ensure
|
1739
|
+
@scope = @scope.parent
|
1740
|
+
end
|
1741
|
+
|
1742
|
+
def resource_scope(resource)
|
1743
|
+
@scope = @scope.new(scope_level_resource: resource)
|
1744
|
+
|
1745
|
+
controller(resource.resource_scope) { yield }
|
1746
|
+
ensure
|
1747
|
+
@scope = @scope.parent
|
1748
|
+
end
|
1749
|
+
|
1750
|
+
def nested_options
|
1751
|
+
options = { as: parent_resource.member_name }
|
1752
|
+
options[:constraints] = {
|
1753
|
+
parent_resource.nested_param => param_constraint
|
1754
|
+
} if param_constraint?
|
1755
|
+
|
1756
|
+
options
|
1757
|
+
end
|
1758
|
+
|
1759
|
+
def shallow_nesting_depth
|
1760
|
+
@scope.find_all { |node|
|
1761
|
+
node.frame[:scope_level_resource]
|
1762
|
+
}.count { |node| node.frame[:scope_level_resource].shallow? }
|
1763
|
+
end
|
1764
|
+
|
1765
|
+
def param_constraint?
|
1766
|
+
@scope[:constraints] && @scope[:constraints][parent_resource.param].is_a?(Regexp)
|
1767
|
+
end
|
1768
|
+
|
1769
|
+
def param_constraint
|
1770
|
+
@scope[:constraints][parent_resource.param]
|
1771
|
+
end
|
1772
|
+
|
1773
|
+
def canonical_action?(action)
|
1774
|
+
resource_method_scope? && CANONICAL_ACTIONS.include?(action.to_s)
|
1775
|
+
end
|
1776
|
+
|
1777
|
+
def shallow_scope
|
1778
|
+
scope = { as: @scope[:shallow_prefix],
|
1779
|
+
path: @scope[:shallow_path] }
|
1780
|
+
@scope = @scope.new scope
|
1781
|
+
|
1782
|
+
yield
|
1783
|
+
ensure
|
1784
|
+
@scope = @scope.parent
|
1785
|
+
end
|
1786
|
+
|
1787
|
+
def path_for_action(action, path)
|
1788
|
+
return "#{@scope[:path]}/#{path}" if path
|
1789
|
+
|
1790
|
+
if canonical_action?(action)
|
1791
|
+
@scope[:path].to_s
|
1792
|
+
else
|
1793
|
+
"#{@scope[:path]}/#{action_path(action)}"
|
1794
|
+
end
|
1795
|
+
end
|
1796
|
+
|
1797
|
+
def action_path(name)
|
1798
|
+
@scope[:path_names][name.to_sym] || name
|
1799
|
+
end
|
1800
|
+
|
1801
|
+
def prefix_name_for_action(as, action)
|
1802
|
+
if as
|
1803
|
+
prefix = as
|
1804
|
+
elsif !canonical_action?(action)
|
1805
|
+
prefix = action
|
1806
|
+
end
|
1807
|
+
|
1808
|
+
if prefix && prefix != "/" && !prefix.empty?
|
1809
|
+
Mapper.normalize_name prefix.to_s.tr("-", "_")
|
1810
|
+
end
|
1811
|
+
end
|
1812
|
+
|
1813
|
+
def name_for_action(as, action)
|
1814
|
+
prefix = prefix_name_for_action(as, action)
|
1815
|
+
name_prefix = @scope[:as]
|
1816
|
+
|
1817
|
+
if parent_resource
|
1818
|
+
return nil unless as || action
|
1819
|
+
|
1820
|
+
collection_name = parent_resource.collection_name
|
1821
|
+
member_name = parent_resource.member_name
|
1822
|
+
end
|
1823
|
+
|
1824
|
+
action_name = @scope.action_name(name_prefix, prefix, collection_name, member_name)
|
1825
|
+
candidate = action_name.select(&:present?).join("_")
|
1826
|
+
|
1827
|
+
unless candidate.empty?
|
1828
|
+
# If a name was not explicitly given, we check if it is valid
|
1829
|
+
# and return nil in case it isn't. Otherwise, we pass the invalid name
|
1830
|
+
# forward so the underlying router engine treats it and raises an exception.
|
1831
|
+
if as.nil?
|
1832
|
+
candidate unless candidate !~ /\A[_a-z]/i || has_named_route?(candidate)
|
1833
|
+
else
|
1834
|
+
candidate
|
1835
|
+
end
|
1836
|
+
end
|
1837
|
+
end
|
1838
|
+
|
1839
|
+
def set_member_mappings_for_resource # :doc:
|
1840
|
+
member do
|
1841
|
+
get :edit if parent_resource.actions.include?(:edit)
|
1842
|
+
get :show if parent_resource.actions.include?(:show)
|
1843
|
+
if parent_resource.actions.include?(:update)
|
1844
|
+
patch :update
|
1845
|
+
put :update
|
1846
|
+
end
|
1847
|
+
delete :destroy if parent_resource.actions.include?(:destroy)
|
1848
|
+
end
|
1849
|
+
end
|
1850
|
+
|
1851
|
+
def api_only? # :doc:
|
1852
|
+
@set.api_only?
|
1853
|
+
end
|
1854
|
+
|
1855
|
+
def path_scope(path)
|
1856
|
+
@scope = @scope.new(path: merge_path_scope(@scope[:path], path))
|
1857
|
+
yield
|
1858
|
+
ensure
|
1859
|
+
@scope = @scope.parent
|
1860
|
+
end
|
1861
|
+
|
1862
|
+
def map_match(paths, options)
|
1863
|
+
if options[:on] && !VALID_ON_OPTIONS.include?(options[:on])
|
1864
|
+
raise ArgumentError, "Unknown scope #{on.inspect} given to :on"
|
1865
|
+
end
|
1866
|
+
|
1867
|
+
if @scope[:to]
|
1868
|
+
options[:to] ||= @scope[:to]
|
1869
|
+
end
|
1870
|
+
|
1871
|
+
if @scope[:controller] && @scope[:action]
|
1872
|
+
options[:to] ||= "#{@scope[:controller]}##{@scope[:action]}"
|
1873
|
+
end
|
1874
|
+
|
1875
|
+
controller = options.delete(:controller) || @scope[:controller]
|
1876
|
+
option_path = options.delete :path
|
1877
|
+
to = options.delete :to
|
1878
|
+
via = Mapping.check_via Array(options.delete(:via) {
|
1879
|
+
@scope[:via]
|
1880
|
+
})
|
1881
|
+
formatted = options.delete(:format) { @scope[:format] }
|
1882
|
+
anchor = options.delete(:anchor) { true }
|
1883
|
+
options_constraints = options.delete(:constraints) || {}
|
1884
|
+
|
1885
|
+
path_types = paths.group_by(&:class)
|
1886
|
+
path_types.fetch(String, []).each do |_path|
|
1887
|
+
route_options = options.dup
|
1888
|
+
if _path && option_path
|
1889
|
+
raise ArgumentError, "Ambiguous route definition. Both :path and the route path were specified as strings."
|
1890
|
+
end
|
1891
|
+
to = get_to_from_path(_path, to, route_options[:action])
|
1892
|
+
decomposed_match(_path, controller, route_options, _path, to, via, formatted, anchor, options_constraints)
|
1893
|
+
end
|
1894
|
+
|
1895
|
+
path_types.fetch(Symbol, []).each do |action|
|
1896
|
+
route_options = options.dup
|
1897
|
+
decomposed_match(action, controller, route_options, option_path, to, via, formatted, anchor, options_constraints)
|
1898
|
+
end
|
1899
|
+
|
1900
|
+
self
|
1901
|
+
end
|
1902
|
+
|
1903
|
+
def get_to_from_path(path, to, action)
|
1904
|
+
return to if to || action
|
1905
|
+
|
1906
|
+
path_without_format = path.sub(/\(\.:format\)$/, "")
|
1907
|
+
if using_match_shorthand?(path_without_format)
|
1908
|
+
path_without_format.gsub(%r{^/}, "").sub(%r{/([^/]*)$}, '#\1').tr("-", "_")
|
1909
|
+
else
|
1910
|
+
nil
|
1911
|
+
end
|
1912
|
+
end
|
1913
|
+
|
1914
|
+
def using_match_shorthand?(path)
|
1915
|
+
path =~ %r{^/?[-\w]+/[-\w/]+$}
|
1916
|
+
end
|
1917
|
+
|
1918
|
+
def decomposed_match(path, controller, options, _path, to, via, formatted, anchor, options_constraints)
|
1919
|
+
if on = options.delete(:on)
|
1920
|
+
send(on) { decomposed_match(path, controller, options, _path, to, via, formatted, anchor, options_constraints) }
|
1921
|
+
else
|
1922
|
+
case @scope.scope_level
|
1923
|
+
when :resources
|
1924
|
+
nested { decomposed_match(path, controller, options, _path, to, via, formatted, anchor, options_constraints) }
|
1925
|
+
when :resource
|
1926
|
+
member { decomposed_match(path, controller, options, _path, to, via, formatted, anchor, options_constraints) }
|
1927
|
+
else
|
1928
|
+
add_route(path, controller, options, _path, to, via, formatted, anchor, options_constraints)
|
1929
|
+
end
|
1930
|
+
end
|
1931
|
+
end
|
1932
|
+
|
1933
|
+
def add_route(action, controller, options, _path, to, via, formatted, anchor, options_constraints)
|
1934
|
+
path = path_for_action(action, _path)
|
1935
|
+
raise ArgumentError, "path is required" if path.blank?
|
1936
|
+
|
1937
|
+
action = action.to_s
|
1938
|
+
|
1939
|
+
default_action = options.delete(:action) || @scope[:action]
|
1940
|
+
|
1941
|
+
if /^[\w\-\/]+$/.match?(action)
|
1942
|
+
default_action ||= action.tr("-", "_") unless action.include?("/")
|
1943
|
+
else
|
1944
|
+
action = nil
|
1945
|
+
end
|
1946
|
+
|
1947
|
+
as = if !options.fetch(:as, true) # if it's set to nil or false
|
1948
|
+
options.delete(:as)
|
1949
|
+
else
|
1950
|
+
name_for_action(options.delete(:as), action)
|
1951
|
+
end
|
1952
|
+
|
1953
|
+
path = Mapping.normalize_path URI.parser.escape(path), formatted
|
1954
|
+
ast = Journey::Parser.parse path
|
1955
|
+
|
1956
|
+
mapping = Mapping.build(@scope, @set, ast, controller, default_action, to, via, formatted, options_constraints, anchor, options)
|
1957
|
+
@set.add_route(mapping, as)
|
1958
|
+
end
|
1959
|
+
|
1960
|
+
def match_root_route(options)
|
1961
|
+
args = ["/", { as: :root, via: :get }.merge(options)]
|
1962
|
+
match(*args)
|
1963
|
+
end
|
1964
|
+
end
|
1965
|
+
|
1966
|
+
# Routing Concerns allow you to declare common routes that can be reused
|
1967
|
+
# inside others resources and routes.
|
1968
|
+
#
|
1969
|
+
# concern :commentable do
|
1970
|
+
# resources :comments
|
1971
|
+
# end
|
1972
|
+
#
|
1973
|
+
# concern :image_attachable do
|
1974
|
+
# resources :images, only: :index
|
1975
|
+
# end
|
1976
|
+
#
|
1977
|
+
# These concerns are used in Resources routing:
|
1978
|
+
#
|
1979
|
+
# resources :messages, concerns: [:commentable, :image_attachable]
|
1980
|
+
#
|
1981
|
+
# or in a scope or namespace:
|
1982
|
+
#
|
1983
|
+
# namespace :posts do
|
1984
|
+
# concerns :commentable
|
1985
|
+
# end
|
1986
|
+
module Concerns
|
1987
|
+
# Define a routing concern using a name.
|
1988
|
+
#
|
1989
|
+
# Concerns may be defined inline, using a block, or handled by
|
1990
|
+
# another object, by passing that object as the second parameter.
|
1991
|
+
#
|
1992
|
+
# The concern object, if supplied, should respond to <tt>call</tt>,
|
1993
|
+
# which will receive two parameters:
|
1994
|
+
#
|
1995
|
+
# * The current mapper
|
1996
|
+
# * A hash of options which the concern object may use
|
1997
|
+
#
|
1998
|
+
# Options may also be used by concerns defined in a block by accepting
|
1999
|
+
# a block parameter. So, using a block, you might do something as
|
2000
|
+
# simple as limit the actions available on certain resources, passing
|
2001
|
+
# standard resource options through the concern:
|
2002
|
+
#
|
2003
|
+
# concern :commentable do |options|
|
2004
|
+
# resources :comments, options
|
2005
|
+
# end
|
2006
|
+
#
|
2007
|
+
# resources :posts, concerns: :commentable
|
2008
|
+
# resources :archived_posts do
|
2009
|
+
# # Don't allow comments on archived posts
|
2010
|
+
# concerns :commentable, only: [:index, :show]
|
2011
|
+
# end
|
2012
|
+
#
|
2013
|
+
# Or, using a callable object, you might implement something more
|
2014
|
+
# specific to your application, which would be out of place in your
|
2015
|
+
# routes file.
|
2016
|
+
#
|
2017
|
+
# # purchasable.rb
|
2018
|
+
# class Purchasable
|
2019
|
+
# def initialize(defaults = {})
|
2020
|
+
# @defaults = defaults
|
2021
|
+
# end
|
2022
|
+
#
|
2023
|
+
# def call(mapper, options = {})
|
2024
|
+
# options = @defaults.merge(options)
|
2025
|
+
# mapper.resources :purchases
|
2026
|
+
# mapper.resources :receipts
|
2027
|
+
# mapper.resources :returns if options[:returnable]
|
2028
|
+
# end
|
2029
|
+
# end
|
2030
|
+
#
|
2031
|
+
# # routes.rb
|
2032
|
+
# concern :purchasable, Purchasable.new(returnable: true)
|
2033
|
+
#
|
2034
|
+
# resources :toys, concerns: :purchasable
|
2035
|
+
# resources :electronics, concerns: :purchasable
|
2036
|
+
# resources :pets do
|
2037
|
+
# concerns :purchasable, returnable: false
|
2038
|
+
# end
|
2039
|
+
#
|
2040
|
+
# Any routing helpers can be used inside a concern. If using a
|
2041
|
+
# callable, they're accessible from the Mapper that's passed to
|
2042
|
+
# <tt>call</tt>.
|
2043
|
+
def concern(name, callable = nil, &block)
|
2044
|
+
callable ||= lambda { |mapper, options| mapper.instance_exec(options, &block) }
|
2045
|
+
@concerns[name] = callable
|
2046
|
+
end
|
2047
|
+
|
2048
|
+
# Use the named concerns
|
2049
|
+
#
|
2050
|
+
# resources :posts do
|
2051
|
+
# concerns :commentable
|
2052
|
+
# end
|
2053
|
+
#
|
2054
|
+
# Concerns also work in any routes helper that you want to use:
|
2055
|
+
#
|
2056
|
+
# namespace :posts do
|
2057
|
+
# concerns :commentable
|
2058
|
+
# end
|
2059
|
+
def concerns(*args)
|
2060
|
+
options = args.extract_options!
|
2061
|
+
args.flatten.each do |name|
|
2062
|
+
if concern = @concerns[name]
|
2063
|
+
concern.call(self, options)
|
2064
|
+
else
|
2065
|
+
raise ArgumentError, "No concern named #{name} was found!"
|
2066
|
+
end
|
2067
|
+
end
|
2068
|
+
end
|
2069
|
+
end
|
2070
|
+
|
2071
|
+
module CustomUrls
|
2072
|
+
# Define custom URL helpers that will be added to the application's
|
2073
|
+
# routes. This allows you to override and/or replace the default behavior
|
2074
|
+
# of routing helpers, e.g:
|
2075
|
+
#
|
2076
|
+
# direct :homepage do
|
2077
|
+
# "https://rubyonrails.org"
|
2078
|
+
# end
|
2079
|
+
#
|
2080
|
+
# direct :commentable do |model|
|
2081
|
+
# [ model, anchor: model.dom_id ]
|
2082
|
+
# end
|
2083
|
+
#
|
2084
|
+
# direct :main do
|
2085
|
+
# { controller: "pages", action: "index", subdomain: "www" }
|
2086
|
+
# end
|
2087
|
+
#
|
2088
|
+
# The return value from the block passed to +direct+ must be a valid set of
|
2089
|
+
# arguments for +url_for+ which will actually build the URL string. This can
|
2090
|
+
# be one of the following:
|
2091
|
+
#
|
2092
|
+
# * A string, which is treated as a generated URL
|
2093
|
+
# * A hash, e.g. <tt>{ controller: "pages", action: "index" }</tt>
|
2094
|
+
# * An array, which is passed to +polymorphic_url+
|
2095
|
+
# * An Active Model instance
|
2096
|
+
# * An Active Model class
|
2097
|
+
#
|
2098
|
+
# NOTE: Other URL helpers can be called in the block but be careful not to invoke
|
2099
|
+
# your custom URL helper again otherwise it will result in a stack overflow error.
|
2100
|
+
#
|
2101
|
+
# You can also specify default options that will be passed through to
|
2102
|
+
# your URL helper definition, e.g:
|
2103
|
+
#
|
2104
|
+
# direct :browse, page: 1, size: 10 do |options|
|
2105
|
+
# [ :products, options.merge(params.permit(:page, :size).to_h.symbolize_keys) ]
|
2106
|
+
# end
|
2107
|
+
#
|
2108
|
+
# In this instance the +params+ object comes from the context in which the
|
2109
|
+
# block is executed, e.g. generating a URL inside a controller action or a view.
|
2110
|
+
# If the block is executed where there isn't a +params+ object such as this:
|
2111
|
+
#
|
2112
|
+
# Rails.application.routes.url_helpers.browse_path
|
2113
|
+
#
|
2114
|
+
# then it will raise a +NameError+. Because of this you need to be aware of the
|
2115
|
+
# context in which you will use your custom URL helper when defining it.
|
2116
|
+
#
|
2117
|
+
# NOTE: The +direct+ method can't be used inside of a scope block such as
|
2118
|
+
# +namespace+ or +scope+ and will raise an error if it detects that it is.
|
2119
|
+
def direct(name, options = {}, &block)
|
2120
|
+
unless @scope.root?
|
2121
|
+
raise RuntimeError, "The direct method can't be used inside a routes scope block"
|
2122
|
+
end
|
2123
|
+
|
2124
|
+
@set.add_url_helper(name, options, &block)
|
2125
|
+
end
|
2126
|
+
|
2127
|
+
# Define custom polymorphic mappings of models to URLs. This alters the
|
2128
|
+
# behavior of +polymorphic_url+ and consequently the behavior of
|
2129
|
+
# +link_to+ and +form_for+ when passed a model instance, e.g:
|
2130
|
+
#
|
2131
|
+
# resource :basket
|
2132
|
+
#
|
2133
|
+
# resolve "Basket" do
|
2134
|
+
# [:basket]
|
2135
|
+
# end
|
2136
|
+
#
|
2137
|
+
# This will now generate "/basket" when a +Basket+ instance is passed to
|
2138
|
+
# +link_to+ or +form_for+ instead of the standard "/baskets/:id".
|
2139
|
+
#
|
2140
|
+
# NOTE: This custom behavior only applies to simple polymorphic URLs where
|
2141
|
+
# a single model instance is passed and not more complicated forms, e.g:
|
2142
|
+
#
|
2143
|
+
# # config/routes.rb
|
2144
|
+
# resource :profile
|
2145
|
+
# namespace :admin do
|
2146
|
+
# resources :users
|
2147
|
+
# end
|
2148
|
+
#
|
2149
|
+
# resolve("User") { [:profile] }
|
2150
|
+
#
|
2151
|
+
# # app/views/application/_menu.html.erb
|
2152
|
+
# link_to "Profile", @current_user
|
2153
|
+
# link_to "Profile", [:admin, @current_user]
|
2154
|
+
#
|
2155
|
+
# The first +link_to+ will generate "/profile" but the second will generate
|
2156
|
+
# the standard polymorphic URL of "/admin/users/1".
|
2157
|
+
#
|
2158
|
+
# You can pass options to a polymorphic mapping - the arity for the block
|
2159
|
+
# needs to be two as the instance is passed as the first argument, e.g:
|
2160
|
+
#
|
2161
|
+
# resolve "Basket", anchor: "items" do |basket, options|
|
2162
|
+
# [:basket, options]
|
2163
|
+
# end
|
2164
|
+
#
|
2165
|
+
# This generates the URL "/basket#items" because when the last item in an
|
2166
|
+
# array passed to +polymorphic_url+ is a hash then it's treated as options
|
2167
|
+
# to the URL helper that gets called.
|
2168
|
+
#
|
2169
|
+
# NOTE: The +resolve+ method can't be used inside of a scope block such as
|
2170
|
+
# +namespace+ or +scope+ and will raise an error if it detects that it is.
|
2171
|
+
def resolve(*args, &block)
|
2172
|
+
unless @scope.root?
|
2173
|
+
raise RuntimeError, "The resolve method can't be used inside a routes scope block"
|
2174
|
+
end
|
2175
|
+
|
2176
|
+
options = args.extract_options!
|
2177
|
+
args = args.flatten(1)
|
2178
|
+
|
2179
|
+
args.each do |klass|
|
2180
|
+
@set.add_polymorphic_mapping(klass, options, &block)
|
2181
|
+
end
|
2182
|
+
end
|
2183
|
+
end
|
2184
|
+
|
2185
|
+
class Scope # :nodoc:
|
2186
|
+
OPTIONS = [:path, :shallow_path, :as, :shallow_prefix, :module,
|
2187
|
+
:controller, :action, :path_names, :constraints,
|
2188
|
+
:shallow, :blocks, :defaults, :via, :format, :options, :to]
|
2189
|
+
|
2190
|
+
RESOURCE_SCOPES = [:resource, :resources]
|
2191
|
+
RESOURCE_METHOD_SCOPES = [:collection, :member, :new]
|
2192
|
+
|
2193
|
+
attr_reader :parent, :scope_level
|
2194
|
+
|
2195
|
+
def initialize(hash, parent = NULL, scope_level = nil)
|
2196
|
+
@hash = hash
|
2197
|
+
@parent = parent
|
2198
|
+
@scope_level = scope_level
|
2199
|
+
end
|
2200
|
+
|
2201
|
+
def nested?
|
2202
|
+
scope_level == :nested
|
2203
|
+
end
|
2204
|
+
|
2205
|
+
def null?
|
2206
|
+
@hash.nil? && @parent.nil?
|
2207
|
+
end
|
2208
|
+
|
2209
|
+
def root?
|
2210
|
+
@parent.null?
|
2211
|
+
end
|
2212
|
+
|
2213
|
+
def resources?
|
2214
|
+
scope_level == :resources
|
2215
|
+
end
|
2216
|
+
|
2217
|
+
def resource_method_scope?
|
2218
|
+
RESOURCE_METHOD_SCOPES.include? scope_level
|
2219
|
+
end
|
2220
|
+
|
2221
|
+
def action_name(name_prefix, prefix, collection_name, member_name)
|
2222
|
+
case scope_level
|
2223
|
+
when :nested
|
2224
|
+
[name_prefix, prefix]
|
2225
|
+
when :collection
|
2226
|
+
[prefix, name_prefix, collection_name]
|
2227
|
+
when :new
|
2228
|
+
[prefix, :new, name_prefix, member_name]
|
2229
|
+
when :member
|
2230
|
+
[prefix, name_prefix, member_name]
|
2231
|
+
when :root
|
2232
|
+
[name_prefix, collection_name, prefix]
|
2233
|
+
else
|
2234
|
+
[name_prefix, member_name, prefix]
|
2235
|
+
end
|
2236
|
+
end
|
2237
|
+
|
2238
|
+
def resource_scope?
|
2239
|
+
RESOURCE_SCOPES.include? scope_level
|
2240
|
+
end
|
2241
|
+
|
2242
|
+
def options
|
2243
|
+
OPTIONS
|
2244
|
+
end
|
2245
|
+
|
2246
|
+
def new(hash)
|
2247
|
+
self.class.new hash, self, scope_level
|
2248
|
+
end
|
2249
|
+
|
2250
|
+
def new_level(level)
|
2251
|
+
self.class.new(frame, self, level)
|
2252
|
+
end
|
2253
|
+
|
2254
|
+
def [](key)
|
2255
|
+
scope = find { |node| node.frame.key? key }
|
2256
|
+
scope && scope.frame[key]
|
2257
|
+
end
|
2258
|
+
|
2259
|
+
include Enumerable
|
2260
|
+
|
2261
|
+
def each
|
2262
|
+
node = self
|
2263
|
+
until node.equal? NULL
|
2264
|
+
yield node
|
2265
|
+
node = node.parent
|
2266
|
+
end
|
2267
|
+
end
|
2268
|
+
|
2269
|
+
def frame; @hash; end
|
2270
|
+
|
2271
|
+
NULL = Scope.new(nil, nil)
|
2272
|
+
end
|
2273
|
+
|
2274
|
+
def initialize(set) #:nodoc:
|
2275
|
+
@set = set
|
2276
|
+
@scope = Scope.new(path_names: @set.resources_path_names)
|
2277
|
+
@concerns = {}
|
2278
|
+
end
|
2279
|
+
|
2280
|
+
include Base
|
2281
|
+
include HttpHelpers
|
2282
|
+
include Redirection
|
2283
|
+
include Scoping
|
2284
|
+
include Concerns
|
2285
|
+
include Resources
|
2286
|
+
include CustomUrls
|
2287
|
+
end
|
2288
|
+
end
|
2289
|
+
end
|