zuora_connect_ui 0.8.1 → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1158) hide show
  1. checksums.yaml +4 -4
  2. data/app/helpers/zuora_connect_ui/application_helper.rb +1 -1
  3. data/lib/zuora_connect_ui/version.rb +1 -1
  4. data/vendor/ruby/2.6.0/cache/actionpack-6.0.0.gem +0 -0
  5. data/vendor/ruby/2.6.0/cache/actionview-6.0.0.gem +0 -0
  6. data/vendor/ruby/2.6.0/cache/activesupport-6.0.0.gem +0 -0
  7. data/vendor/ruby/2.6.0/cache/railties-6.0.0.gem +0 -0
  8. data/vendor/ruby/2.6.0/cache/sass-rails-6.0.0.gem +0 -0
  9. data/vendor/ruby/2.6.0/cache/sassc-2.1.0-x86_64-linux.gem +0 -0
  10. data/vendor/ruby/2.6.0/cache/sassc-rails-2.1.2.gem +0 -0
  11. data/vendor/ruby/2.6.0/cache/zeitwerk-2.1.9.gem +0 -0
  12. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/CHANGELOG.md +311 -0
  13. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/MIT-LICENSE +21 -0
  14. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/README.rdoc +58 -0
  15. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/abstract_controller/asset_paths.rb +12 -0
  16. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/abstract_controller/base.rb +267 -0
  17. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/abstract_controller/caching/fragments.rb +150 -0
  18. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/abstract_controller/caching.rb +66 -0
  19. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/abstract_controller/callbacks.rb +224 -0
  20. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/abstract_controller/collector.rb +43 -0
  21. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/abstract_controller/error.rb +6 -0
  22. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/abstract_controller/helpers.rb +194 -0
  23. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/abstract_controller/logger.rb +14 -0
  24. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/abstract_controller/railties/routes_helpers.rb +20 -0
  25. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/abstract_controller/rendering.rb +127 -0
  26. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/abstract_controller/translation.rb +32 -0
  27. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/abstract_controller/url_for.rb +35 -0
  28. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/abstract_controller.rb +27 -0
  29. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/api/api_rendering.rb +16 -0
  30. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/api.rb +150 -0
  31. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/base.rb +271 -0
  32. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/caching.rb +46 -0
  33. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/form_builder.rb +50 -0
  34. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/log_subscriber.rb +81 -0
  35. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/basic_implicit_render.rb +13 -0
  36. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/conditional_get.rb +280 -0
  37. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/content_security_policy.rb +52 -0
  38. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/cookies.rb +16 -0
  39. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/data_streaming.rb +151 -0
  40. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/default_headers.rb +17 -0
  41. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/etag_with_flash.rb +18 -0
  42. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/etag_with_template_digest.rb +57 -0
  43. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/exceptions.rb +74 -0
  44. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/flash.rb +61 -0
  45. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/force_ssl.rb +58 -0
  46. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/head.rb +60 -0
  47. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/helpers.rb +122 -0
  48. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/http_authentication.rb +518 -0
  49. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/implicit_render.rb +63 -0
  50. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/instrumentation.rb +105 -0
  51. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/live.rb +314 -0
  52. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/mime_responds.rb +324 -0
  53. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/parameter_encoding.rb +51 -0
  54. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/params_wrapper.rb +297 -0
  55. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/redirecting.rb +133 -0
  56. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/renderers.rb +181 -0
  57. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/rendering.rb +122 -0
  58. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/request_forgery_protection.rb +456 -0
  59. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/rescue.rb +28 -0
  60. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/streaming.rb +223 -0
  61. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/strong_parameters.rb +1105 -0
  62. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/testing.rb +16 -0
  63. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/url_for.rb +58 -0
  64. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal.rb +256 -0
  65. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/railtie.rb +89 -0
  66. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/railties/helpers.rb +24 -0
  67. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/renderer.rb +130 -0
  68. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/template_assertions.rb +11 -0
  69. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/test_case.rb +626 -0
  70. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller.rb +67 -0
  71. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/http/cache.rb +226 -0
  72. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/http/content_disposition.rb +45 -0
  73. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/http/content_security_policy.rb +284 -0
  74. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/http/filter_parameters.rb +86 -0
  75. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/http/filter_redirect.rb +37 -0
  76. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/http/headers.rb +132 -0
  77. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/http/mime_negotiation.rb +177 -0
  78. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/http/mime_type.rb +350 -0
  79. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/http/mime_types.rb +50 -0
  80. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/http/parameter_filter.rb +12 -0
  81. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/http/parameters.rb +136 -0
  82. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/http/rack_cache.rb +63 -0
  83. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/http/request.rb +427 -0
  84. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/http/response.rb +534 -0
  85. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/http/upload.rb +92 -0
  86. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/http/url.rb +350 -0
  87. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/journey/formatter.rb +189 -0
  88. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/journey/gtg/builder.rb +164 -0
  89. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/journey/gtg/simulator.rb +41 -0
  90. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/journey/gtg/transition_table.rb +158 -0
  91. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/journey/nfa/builder.rb +78 -0
  92. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/journey/nfa/dot.rb +36 -0
  93. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/journey/nfa/simulator.rb +47 -0
  94. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/journey/nfa/transition_table.rb +120 -0
  95. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/journey/nodes/node.rb +141 -0
  96. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/journey/parser.rb +199 -0
  97. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/journey/parser.y +50 -0
  98. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/journey/parser_extras.rb +31 -0
  99. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/journey/path/pattern.rb +203 -0
  100. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/journey/route.rb +204 -0
  101. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/journey/router/utils.rb +102 -0
  102. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/journey/router.rb +153 -0
  103. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/journey/routes.rb +81 -0
  104. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/journey/scanner.rb +71 -0
  105. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/journey/visitors.rb +268 -0
  106. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/journey/visualizer/fsm.css +30 -0
  107. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/journey/visualizer/fsm.js +134 -0
  108. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/journey/visualizer/index.html.erb +52 -0
  109. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/journey.rb +7 -0
  110. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/actionable_exceptions.rb +39 -0
  111. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/callbacks.rb +34 -0
  112. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/cookies.rb +663 -0
  113. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/debug_exceptions.rb +185 -0
  114. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/debug_locks.rb +124 -0
  115. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/debug_view.rb +68 -0
  116. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/exception_wrapper.rb +181 -0
  117. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/executor.rb +21 -0
  118. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/flash.rb +300 -0
  119. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/host_authorization.rb +103 -0
  120. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/public_exceptions.rb +61 -0
  121. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/reloader.rb +12 -0
  122. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/remote_ip.rb +181 -0
  123. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/request_id.rb +43 -0
  124. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/session/abstract_store.rb +92 -0
  125. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/session/cache_store.rb +54 -0
  126. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/session/cookie_store.rb +113 -0
  127. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/session/mem_cache_store.rb +28 -0
  128. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/show_exceptions.rb +62 -0
  129. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/ssl.rb +150 -0
  130. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/stack.rb +148 -0
  131. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/static.rb +129 -0
  132. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/templates/rescues/_actions.html.erb +13 -0
  133. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/templates/rescues/_actions.text.erb +0 -0
  134. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb +24 -0
  135. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb +23 -0
  136. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/templates/rescues/_source.html.erb +29 -0
  137. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/templates/rescues/_source.text.erb +8 -0
  138. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb +62 -0
  139. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb +9 -0
  140. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/templates/rescues/blocked_host.html.erb +7 -0
  141. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/templates/rescues/blocked_host.text.erb +5 -0
  142. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb +38 -0
  143. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb +9 -0
  144. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb +24 -0
  145. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/templates/rescues/invalid_statement.text.erb +15 -0
  146. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/templates/rescues/layout.erb +165 -0
  147. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/templates/rescues/missing_exact_template.html.erb +19 -0
  148. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/templates/rescues/missing_exact_template.text.erb +3 -0
  149. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb +11 -0
  150. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/templates/rescues/missing_template.text.erb +3 -0
  151. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb +32 -0
  152. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb +11 -0
  153. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb +20 -0
  154. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/templates/rescues/template_error.text.erb +7 -0
  155. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/templates/rescues/unknown_action.html.erb +6 -0
  156. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/templates/rescues/unknown_action.text.erb +3 -0
  157. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb +16 -0
  158. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb +203 -0
  159. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/railtie.rb +58 -0
  160. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/request/session.rb +242 -0
  161. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/request/utils.rb +78 -0
  162. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/routing/endpoint.rb +17 -0
  163. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/routing/inspector.rb +274 -0
  164. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/routing/mapper.rb +2289 -0
  165. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/routing/polymorphic_routes.rb +351 -0
  166. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/routing/redirection.rb +201 -0
  167. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/routing/route_set.rb +887 -0
  168. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/routing/routes_proxy.rb +69 -0
  169. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/routing/url_for.rb +237 -0
  170. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/routing.rb +261 -0
  171. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/system_test_case.rb +168 -0
  172. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/system_testing/browser.rb +80 -0
  173. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/system_testing/driver.rb +68 -0
  174. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/system_testing/server.rb +31 -0
  175. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/system_testing/test_helpers/screenshot_helper.rb +97 -0
  176. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb +33 -0
  177. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/system_testing/test_helpers/undef_methods.rb +26 -0
  178. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/testing/assertion_response.rb +47 -0
  179. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/testing/assertions/response.rb +106 -0
  180. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/testing/assertions/routing.rb +234 -0
  181. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/testing/assertions.rb +24 -0
  182. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/testing/integration.rb +659 -0
  183. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/testing/request_encoder.rb +55 -0
  184. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/testing/test_process.rb +50 -0
  185. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/testing/test_request.rb +71 -0
  186. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/testing/test_response.rb +25 -0
  187. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch.rb +114 -0
  188. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_pack/gem_version.rb +17 -0
  189. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_pack/version.rb +10 -0
  190. data/vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_pack.rb +26 -0
  191. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/CHANGELOG.md +271 -0
  192. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/MIT-LICENSE +21 -0
  193. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/README.rdoc +40 -0
  194. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/base.rb +312 -0
  195. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/buffers.rb +67 -0
  196. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/cache_expiry.rb +54 -0
  197. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/context.rb +32 -0
  198. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/dependency_tracker.rb +175 -0
  199. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/digestor.rb +126 -0
  200. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/flows.rb +76 -0
  201. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/gem_version.rb +17 -0
  202. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/active_model_helper.rb +55 -0
  203. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/asset_tag_helper.rb +488 -0
  204. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/asset_url_helper.rb +470 -0
  205. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/atom_feed_helper.rb +205 -0
  206. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/cache_helper.rb +271 -0
  207. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/capture_helper.rb +216 -0
  208. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/controller_helper.rb +36 -0
  209. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/csp_helper.rb +26 -0
  210. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/csrf_helper.rb +35 -0
  211. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/date_helper.rb +1200 -0
  212. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/debug_helper.rb +36 -0
  213. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/form_helper.rb +2569 -0
  214. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/form_options_helper.rb +896 -0
  215. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/form_tag_helper.rb +920 -0
  216. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/javascript_helper.rb +95 -0
  217. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/number_helper.rb +456 -0
  218. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/output_safety_helper.rb +70 -0
  219. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/rendering_helper.rb +101 -0
  220. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/sanitize_helper.rb +171 -0
  221. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tag_helper.rb +314 -0
  222. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/base.rb +196 -0
  223. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/check_box.rb +66 -0
  224. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/checkable.rb +18 -0
  225. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/collection_check_boxes.rb +36 -0
  226. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/collection_helpers.rb +119 -0
  227. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/collection_radio_buttons.rb +31 -0
  228. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/collection_select.rb +30 -0
  229. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/color_field.rb +27 -0
  230. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/date_field.rb +15 -0
  231. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/date_select.rb +74 -0
  232. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/datetime_field.rb +32 -0
  233. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/datetime_local_field.rb +21 -0
  234. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/datetime_select.rb +10 -0
  235. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/email_field.rb +10 -0
  236. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/file_field.rb +10 -0
  237. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/grouped_collection_select.rb +31 -0
  238. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/hidden_field.rb +10 -0
  239. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/label.rb +81 -0
  240. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/month_field.rb +15 -0
  241. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/number_field.rb +20 -0
  242. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/password_field.rb +14 -0
  243. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/placeholderable.rb +24 -0
  244. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/radio_button.rb +33 -0
  245. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/range_field.rb +10 -0
  246. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/search_field.rb +27 -0
  247. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/select.rb +43 -0
  248. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/tel_field.rb +10 -0
  249. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/text_area.rb +24 -0
  250. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/text_field.rb +34 -0
  251. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/time_field.rb +15 -0
  252. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/time_select.rb +10 -0
  253. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/time_zone_select.rb +22 -0
  254. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/translator.rb +39 -0
  255. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/url_field.rb +10 -0
  256. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/week_field.rb +15 -0
  257. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags.rb +44 -0
  258. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/text_helper.rb +486 -0
  259. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/translation_helper.rb +145 -0
  260. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/url_helper.rb +676 -0
  261. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers.rb +66 -0
  262. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/layouts.rb +433 -0
  263. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/locale/en.yml +56 -0
  264. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/log_subscriber.rb +96 -0
  265. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/lookup_context.rb +316 -0
  266. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/model_naming.rb +14 -0
  267. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/path_set.rb +95 -0
  268. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/railtie.rb +105 -0
  269. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/record_identifier.rb +112 -0
  270. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/renderer/abstract_renderer.rb +108 -0
  271. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/renderer/partial_renderer/collection_caching.rb +103 -0
  272. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/renderer/partial_renderer.rb +563 -0
  273. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/renderer/renderer.rb +68 -0
  274. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/renderer/streaming_template_renderer.rb +105 -0
  275. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/renderer/template_renderer.rb +108 -0
  276. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/rendering.rb +171 -0
  277. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/routing_url_for.rb +146 -0
  278. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/tasks/cache_digests.rake +25 -0
  279. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/template/error.rb +161 -0
  280. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/template/handlers/builder.rb +25 -0
  281. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/template/handlers/erb/erubi.rb +87 -0
  282. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/template/handlers/erb.rb +84 -0
  283. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/template/handlers/html.rb +11 -0
  284. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/template/handlers/raw.rb +11 -0
  285. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/template/handlers.rb +92 -0
  286. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/template/html.rb +43 -0
  287. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/template/inline.rb +22 -0
  288. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/template/raw_file.rb +28 -0
  289. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/template/resolver.rb +394 -0
  290. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/template/sources/file.rb +17 -0
  291. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/template/sources.rb +13 -0
  292. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/template/text.rb +35 -0
  293. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/template/types.rb +57 -0
  294. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/template.rb +393 -0
  295. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/test_case.rb +300 -0
  296. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/testing/resolvers.rb +67 -0
  297. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/unbound_template.rb +32 -0
  298. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/version.rb +10 -0
  299. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/view_paths.rb +129 -0
  300. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view.rb +98 -0
  301. data/vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/assets/compiled/rails-ujs.js +746 -0
  302. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/CHANGELOG.md +572 -0
  303. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/MIT-LICENSE +20 -0
  304. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/README.rdoc +40 -0
  305. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/actionable_error.rb +48 -0
  306. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/all.rb +5 -0
  307. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/array_inquirer.rb +48 -0
  308. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/backtrace_cleaner.rb +132 -0
  309. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/benchmarkable.rb +51 -0
  310. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/builder.rb +8 -0
  311. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/cache/file_store.rb +196 -0
  312. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/cache/mem_cache_store.rb +212 -0
  313. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/cache/memory_store.rb +174 -0
  314. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/cache/null_store.rb +48 -0
  315. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/cache/redis_cache_store.rb +488 -0
  316. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/cache/strategy/local_cache.rb +194 -0
  317. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/cache/strategy/local_cache_middleware.rb +45 -0
  318. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/cache.rb +830 -0
  319. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/callbacks.rb +856 -0
  320. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/concern.rb +171 -0
  321. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/concurrency/load_interlock_aware_monitor.rb +17 -0
  322. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/concurrency/share_lock.rb +227 -0
  323. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/configurable.rb +146 -0
  324. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/array/access.rb +104 -0
  325. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/array/conversions.rb +213 -0
  326. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/array/extract.rb +21 -0
  327. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/array/extract_options.rb +31 -0
  328. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/array/grouping.rb +109 -0
  329. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/array/inquiry.rb +19 -0
  330. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/array/prepend_and_append.rb +5 -0
  331. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/array/wrap.rb +48 -0
  332. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/array.rb +9 -0
  333. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/benchmark.rb +16 -0
  334. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/big_decimal/conversions.rb +14 -0
  335. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/big_decimal.rb +3 -0
  336. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/class/attribute.rb +141 -0
  337. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/class/attribute_accessors.rb +6 -0
  338. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/class/subclasses.rb +54 -0
  339. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/class.rb +4 -0
  340. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/date/acts_like.rb +10 -0
  341. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/date/blank.rb +14 -0
  342. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/date/calculations.rb +146 -0
  343. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/date/conversions.rb +96 -0
  344. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/date/zones.rb +8 -0
  345. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/date.rb +7 -0
  346. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/date_and_time/calculations.rb +351 -0
  347. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/date_and_time/compatibility.rb +16 -0
  348. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/date_and_time/zones.rb +41 -0
  349. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/date_time/acts_like.rb +16 -0
  350. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/date_time/blank.rb +14 -0
  351. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/date_time/calculations.rb +211 -0
  352. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/date_time/compatibility.rb +18 -0
  353. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/date_time/conversions.rb +107 -0
  354. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/date_time.rb +7 -0
  355. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/digest/uuid.rb +53 -0
  356. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/digest.rb +3 -0
  357. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/enumerable.rb +188 -0
  358. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/file/atomic.rb +70 -0
  359. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/file.rb +3 -0
  360. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/hash/compact.rb +5 -0
  361. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/hash/conversions.rb +263 -0
  362. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/hash/deep_merge.rb +34 -0
  363. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/hash/deep_transform_values.rb +46 -0
  364. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/hash/except.rb +24 -0
  365. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/hash/indifferent_access.rb +24 -0
  366. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/hash/keys.rb +143 -0
  367. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/hash/reverse_merge.rb +25 -0
  368. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/hash/slice.rb +26 -0
  369. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/hash/transform_values.rb +5 -0
  370. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/hash.rb +10 -0
  371. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/integer/inflections.rb +31 -0
  372. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/integer/multiple.rb +12 -0
  373. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/integer/time.rb +22 -0
  374. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/integer.rb +5 -0
  375. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/kernel/concern.rb +14 -0
  376. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/kernel/reporting.rb +45 -0
  377. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/kernel/singleton_class.rb +8 -0
  378. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/kernel.rb +5 -0
  379. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/load_error.rb +9 -0
  380. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/marshal.rb +24 -0
  381. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/module/aliasing.rb +31 -0
  382. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/module/anonymous.rb +30 -0
  383. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/module/attr_internal.rb +38 -0
  384. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/module/attribute_accessors.rb +212 -0
  385. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb +144 -0
  386. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/module/concerning.rb +134 -0
  387. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/module/delegation.rb +313 -0
  388. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/module/deprecation.rb +25 -0
  389. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/module/introspection.rb +86 -0
  390. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/module/reachable.rb +6 -0
  391. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/module/redefine_method.rb +40 -0
  392. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/module/remove_method.rb +17 -0
  393. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/module.rb +13 -0
  394. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/name_error.rb +38 -0
  395. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/numeric/bytes.rb +66 -0
  396. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/numeric/conversions.rb +136 -0
  397. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/numeric/inquiry.rb +5 -0
  398. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/numeric/time.rb +66 -0
  399. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/numeric.rb +5 -0
  400. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/object/acts_like.rb +21 -0
  401. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/object/blank.rb +155 -0
  402. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/object/conversions.rb +6 -0
  403. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/object/deep_dup.rb +55 -0
  404. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/object/duplicable.rb +49 -0
  405. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/object/inclusion.rb +29 -0
  406. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/object/instance_variables.rb +30 -0
  407. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/object/json.rb +228 -0
  408. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/object/to_param.rb +3 -0
  409. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/object/to_query.rb +89 -0
  410. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/object/try.rb +156 -0
  411. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/object/with_options.rb +82 -0
  412. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/object.rb +16 -0
  413. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/range/compare_range.rb +70 -0
  414. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/range/conversions.rb +41 -0
  415. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/range/each.rb +25 -0
  416. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/range/include_range.rb +9 -0
  417. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/range/include_time_with_zone.rb +23 -0
  418. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/range/overlaps.rb +10 -0
  419. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/range.rb +7 -0
  420. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/regexp.rb +7 -0
  421. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/securerandom.rb +45 -0
  422. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/string/access.rb +114 -0
  423. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/string/behavior.rb +8 -0
  424. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/string/conversions.rb +59 -0
  425. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/string/exclude.rb +13 -0
  426. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/string/filters.rb +145 -0
  427. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/string/indent.rb +45 -0
  428. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/string/inflections.rb +259 -0
  429. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/string/inquiry.rb +15 -0
  430. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/string/multibyte.rb +58 -0
  431. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/string/output_safety.rb +314 -0
  432. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/string/starts_ends_with.rb +6 -0
  433. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/string/strip.rb +27 -0
  434. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/string/zones.rb +16 -0
  435. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/string.rb +15 -0
  436. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/time/acts_like.rb +10 -0
  437. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/time/calculations.rb +344 -0
  438. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/time/compatibility.rb +16 -0
  439. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/time/conversions.rb +72 -0
  440. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/time/zones.rb +113 -0
  441. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/time.rb +7 -0
  442. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/uri.rb +25 -0
  443. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext.rb +5 -0
  444. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/current_attributes.rb +203 -0
  445. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/dependencies/autoload.rb +79 -0
  446. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/dependencies/interlock.rb +57 -0
  447. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/dependencies/zeitwerk_integration.rb +110 -0
  448. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/dependencies.rb +806 -0
  449. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/deprecation/behaviors.rb +109 -0
  450. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/deprecation/constant_accessor.rb +52 -0
  451. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/deprecation/instance_delegator.rb +39 -0
  452. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/deprecation/method_wrappers.rb +78 -0
  453. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/deprecation/proxy_wrappers.rb +173 -0
  454. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/deprecation/reporting.rb +114 -0
  455. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/deprecation.rb +46 -0
  456. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/descendants_tracker.rb +109 -0
  457. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/digest.rb +20 -0
  458. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/duration/iso8601_parser.rb +124 -0
  459. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/duration/iso8601_serializer.rb +54 -0
  460. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/duration.rb +433 -0
  461. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/encrypted_configuration.rb +45 -0
  462. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/encrypted_file.rb +100 -0
  463. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/evented_file_update_checker.rb +235 -0
  464. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/execution_wrapper.rb +129 -0
  465. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/executor.rb +8 -0
  466. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/file_update_checker.rb +163 -0
  467. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/gem_version.rb +17 -0
  468. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/gzip.rb +38 -0
  469. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/hash_with_indifferent_access.rb +399 -0
  470. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/i18n.rb +16 -0
  471. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/i18n_railtie.rb +126 -0
  472. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/inflections.rb +72 -0
  473. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/inflector/inflections.rb +257 -0
  474. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/inflector/methods.rb +398 -0
  475. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/inflector/transliterate.rb +147 -0
  476. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/inflector.rb +9 -0
  477. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/json/decoding.rb +76 -0
  478. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/json/encoding.rb +134 -0
  479. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/json.rb +4 -0
  480. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/key_generator.rb +41 -0
  481. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/lazy_load_hooks.rb +82 -0
  482. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/locale/en.rb +31 -0
  483. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/locale/en.yml +135 -0
  484. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/log_subscriber/test_helper.rb +106 -0
  485. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/log_subscriber.rb +135 -0
  486. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/logger.rb +93 -0
  487. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/logger_silence.rb +45 -0
  488. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/logger_thread_safe_level.rb +56 -0
  489. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/message_encryptor.rb +227 -0
  490. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/message_verifier.rb +205 -0
  491. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/messages/metadata.rb +71 -0
  492. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/messages/rotation_configuration.rb +22 -0
  493. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/messages/rotator.rb +56 -0
  494. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/multibyte/chars.rb +216 -0
  495. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/multibyte/unicode.rb +157 -0
  496. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/multibyte.rb +23 -0
  497. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/notifications/fanout.rb +244 -0
  498. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/notifications/instrumenter.rb +164 -0
  499. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/notifications.rb +253 -0
  500. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/number_helper/number_converter.rb +184 -0
  501. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/number_helper/number_to_currency_converter.rb +46 -0
  502. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/number_helper/number_to_delimited_converter.rb +31 -0
  503. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/number_helper/number_to_human_converter.rb +70 -0
  504. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/number_helper/number_to_human_size_converter.rb +61 -0
  505. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/number_helper/number_to_percentage_converter.rb +16 -0
  506. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/number_helper/number_to_phone_converter.rb +60 -0
  507. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/number_helper/number_to_rounded_converter.rb +56 -0
  508. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/number_helper/rounding_helper.rb +66 -0
  509. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/number_helper.rb +378 -0
  510. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/option_merger.rb +27 -0
  511. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/ordered_hash.rb +50 -0
  512. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/ordered_options.rb +85 -0
  513. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/parameter_filter.rb +129 -0
  514. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/per_thread_registry.rb +60 -0
  515. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/proxy_object.rb +15 -0
  516. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/rails.rb +29 -0
  517. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/railtie.rb +80 -0
  518. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/reloader.rb +130 -0
  519. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/rescuable.rb +174 -0
  520. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/security_utils.rb +31 -0
  521. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/string_inquirer.rb +34 -0
  522. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/subscriber.rb +169 -0
  523. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/tagged_logging.rb +88 -0
  524. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/test_case.rb +163 -0
  525. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/testing/assertions.rb +228 -0
  526. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/testing/autorun.rb +7 -0
  527. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/testing/constant_lookup.rb +51 -0
  528. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/testing/declarative.rb +28 -0
  529. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/testing/deprecation.rb +38 -0
  530. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/testing/file_fixtures.rb +38 -0
  531. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/testing/isolation.rb +110 -0
  532. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/testing/method_call_assertions.rb +70 -0
  533. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/testing/parallelization.rb +128 -0
  534. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/testing/setup_and_teardown.rb +55 -0
  535. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/testing/stream.rb +44 -0
  536. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/testing/tagged_logging.rb +27 -0
  537. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/testing/time_helpers.rb +200 -0
  538. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/time.rb +20 -0
  539. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/time_with_zone.rb +561 -0
  540. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/values/time_zone.rb +570 -0
  541. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/version.rb +10 -0
  542. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/xml_mini/jdom.rb +183 -0
  543. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/xml_mini/libxml.rb +80 -0
  544. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/xml_mini/libxmlsax.rb +83 -0
  545. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/xml_mini/nokogiri.rb +83 -0
  546. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/xml_mini/nokogirisax.rb +86 -0
  547. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/xml_mini/rexml.rb +130 -0
  548. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/xml_mini.rb +202 -0
  549. data/vendor/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support.rb +96 -0
  550. data/vendor/ruby/2.6.0/gems/railties-6.0.0/CHANGELOG.md +429 -0
  551. data/vendor/ruby/2.6.0/gems/railties-6.0.0/MIT-LICENSE +20 -0
  552. data/vendor/ruby/2.6.0/gems/railties-6.0.0/RDOC_MAIN.rdoc +98 -0
  553. data/vendor/ruby/2.6.0/gems/railties-6.0.0/README.rdoc +40 -0
  554. data/vendor/ruby/2.6.0/gems/railties-6.0.0/exe/rails +10 -0
  555. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/minitest/rails_plugin.rb +59 -0
  556. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/all.rb +24 -0
  557. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/api/generator.rb +38 -0
  558. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/api/task.rb +201 -0
  559. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/app_loader.rb +77 -0
  560. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/app_updater.rb +37 -0
  561. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/application/bootstrap.rb +81 -0
  562. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/application/configuration.rb +370 -0
  563. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/application/default_middleware_stack.rb +110 -0
  564. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/application/dummy_erb_compiler.rb +18 -0
  565. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/application/finisher.rb +250 -0
  566. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/application/routes_reloader.rb +55 -0
  567. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/application.rb +660 -0
  568. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/application_controller.rb +29 -0
  569. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/autoloaders.rb +48 -0
  570. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/backtrace_cleaner.rb +22 -0
  571. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/cli.rb +19 -0
  572. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/code_statistics.rb +115 -0
  573. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/code_statistics_calculator.rb +88 -0
  574. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/command/actions.rb +54 -0
  575. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/command/base.rb +165 -0
  576. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/command/behavior.rb +84 -0
  577. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/command/environment_argument.rb +40 -0
  578. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/command/helpers/editor.rb +35 -0
  579. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/command/spellchecker.rb +58 -0
  580. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/command.rb +114 -0
  581. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/commands/application/application_command.rb +31 -0
  582. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/commands/console/console_command.rb +106 -0
  583. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/commands/credentials/USAGE +58 -0
  584. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/commands/credentials/credentials_command.rb +112 -0
  585. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/commands/db/system/change/change_command.rb +20 -0
  586. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/commands/dbconsole/dbconsole_command.rb +182 -0
  587. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/commands/destroy/destroy_command.rb +28 -0
  588. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/commands/dev/dev_command.rb +19 -0
  589. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/commands/encrypted/USAGE +28 -0
  590. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/commands/encrypted/encrypted_command.rb +87 -0
  591. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/commands/generate/generate_command.rb +30 -0
  592. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/commands/help/USAGE +16 -0
  593. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/commands/help/help_command.rb +15 -0
  594. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/commands/initializers/initializers_command.rb +23 -0
  595. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/commands/new/new_command.rb +19 -0
  596. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/commands/notes/notes_command.rb +39 -0
  597. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/commands/plugin/plugin_command.rb +45 -0
  598. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/commands/rake/rake_command.rb +51 -0
  599. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/commands/routes/routes_command.rb +37 -0
  600. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/commands/runner/USAGE +20 -0
  601. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/commands/runner/runner_command.rb +57 -0
  602. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/commands/secrets/USAGE +60 -0
  603. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/commands/secrets/secrets_command.rb +65 -0
  604. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/commands/server/server_command.rb +312 -0
  605. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/commands/test/test_command.rb +37 -0
  606. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/commands/version/version_command.rb +11 -0
  607. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/commands.rb +18 -0
  608. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/configuration.rb +131 -0
  609. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/console/app.rb +38 -0
  610. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/console/helpers.rb +19 -0
  611. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/dev_caching.rb +44 -0
  612. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/engine/commands.rb +9 -0
  613. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/engine/configuration.rb +91 -0
  614. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/engine/railties.rb +23 -0
  615. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/engine/updater.rb +21 -0
  616. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/engine.rb +731 -0
  617. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/gem_version.rb +17 -0
  618. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/actions/create_migration.rb +71 -0
  619. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/actions.rb +350 -0
  620. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/active_model.rb +80 -0
  621. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/app_base.rb +440 -0
  622. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/app_name.rb +50 -0
  623. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/base.rb +417 -0
  624. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/css/assets/assets_generator.rb +15 -0
  625. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/css/assets/templates/stylesheet.css +4 -0
  626. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/css/scaffold/scaffold_generator.rb +18 -0
  627. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/database.rb +58 -0
  628. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/erb/controller/controller_generator.rb +24 -0
  629. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/erb/controller/templates/view.html.erb.tt +2 -0
  630. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/erb/mailer/mailer_generator.rb +42 -0
  631. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/erb/mailer/templates/layout.html.erb.tt +13 -0
  632. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/erb/mailer/templates/layout.text.erb.tt +1 -0
  633. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/erb/mailer/templates/view.html.erb.tt +5 -0
  634. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/erb/mailer/templates/view.text.erb.tt +3 -0
  635. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/erb/scaffold/scaffold_generator.rb +33 -0
  636. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/erb/scaffold/templates/_form.html.erb.tt +37 -0
  637. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/erb/scaffold/templates/edit.html.erb.tt +6 -0
  638. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/erb/scaffold/templates/index.html.erb.tt +31 -0
  639. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/erb/scaffold/templates/new.html.erb.tt +5 -0
  640. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/erb/scaffold/templates/show.html.erb.tt +19 -0
  641. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/erb.rb +27 -0
  642. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/generated_attribute.rb +203 -0
  643. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/migration.rb +75 -0
  644. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/model_helpers.rb +37 -0
  645. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/named_base.rb +227 -0
  646. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/USAGE +14 -0
  647. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/app_generator.rb +588 -0
  648. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/Gemfile.tt +78 -0
  649. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/README.md.tt +24 -0
  650. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/Rakefile.tt +6 -0
  651. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/app/assets/config/manifest.js.tt +2 -0
  652. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/app/assets/stylesheets/application.css.tt +15 -0
  653. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/app/channels/application_cable/channel.rb.tt +4 -0
  654. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/app/channels/application_cable/connection.rb.tt +4 -0
  655. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt +2 -0
  656. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/app/helpers/application_helper.rb.tt +2 -0
  657. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/app/javascript/channels/consumer.js +6 -0
  658. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/app/javascript/channels/index.js +5 -0
  659. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/app/javascript/packs/application.js.tt +23 -0
  660. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/app/jobs/application_job.rb.tt +7 -0
  661. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/app/mailers/application_mailer.rb.tt +4 -0
  662. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/app/models/application_record.rb.tt +3 -0
  663. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb.tt +24 -0
  664. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/app/views/layouts/mailer.html.erb.tt +13 -0
  665. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/app/views/layouts/mailer.text.erb.tt +1 -0
  666. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/bin/rails.tt +3 -0
  667. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/bin/rake.tt +3 -0
  668. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/bin/setup.tt +39 -0
  669. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/bin/yarn.tt +10 -0
  670. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/config/application.rb.tt +47 -0
  671. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/config/boot.rb.tt +6 -0
  672. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/config/cable.yml.tt +10 -0
  673. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/config/databases/frontbase.yml.tt +50 -0
  674. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/config/databases/ibm_db.yml.tt +86 -0
  675. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/config/databases/jdbc.yml.tt +69 -0
  676. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/config/databases/jdbcmysql.yml.tt +53 -0
  677. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/config/databases/jdbcpostgresql.yml.tt +69 -0
  678. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/config/databases/jdbcsqlite3.yml.tt +24 -0
  679. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/config/databases/mysql.yml.tt +58 -0
  680. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/config/databases/oracle.yml.tt +61 -0
  681. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/config/databases/postgresql.yml.tt +85 -0
  682. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/config/databases/sqlite3.yml.tt +25 -0
  683. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/config/databases/sqlserver.yml.tt +52 -0
  684. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/config/environment.rb.tt +5 -0
  685. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt +72 -0
  686. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt +124 -0
  687. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt +56 -0
  688. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/config/initializers/application_controller_renderer.rb.tt +8 -0
  689. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/config/initializers/assets.rb.tt +16 -0
  690. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/config/initializers/backtrace_silencers.rb.tt +7 -0
  691. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/config/initializers/content_security_policy.rb.tt +32 -0
  692. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/config/initializers/cookies_serializer.rb.tt +5 -0
  693. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/config/initializers/cors.rb.tt +16 -0
  694. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/config/initializers/filter_parameter_logging.rb.tt +4 -0
  695. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/config/initializers/inflections.rb.tt +16 -0
  696. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/config/initializers/mime_types.rb.tt +4 -0
  697. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults_6_0.rb.tt +45 -0
  698. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/config/initializers/wrap_parameters.rb.tt +16 -0
  699. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/config/locales/en.yml +33 -0
  700. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/config/puma.rb.tt +38 -0
  701. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/config/routes.rb.tt +3 -0
  702. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/config/spring.rb.tt +6 -0
  703. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/config/storage.yml.tt +34 -0
  704. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/config.ru.tt +5 -0
  705. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/db/seeds.rb.tt +7 -0
  706. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/gitignore.tt +35 -0
  707. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/package.json.tt +11 -0
  708. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/public/404.html +67 -0
  709. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/public/422.html +67 -0
  710. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/public/500.html +66 -0
  711. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/public/apple-touch-icon-precomposed.png +0 -0
  712. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/public/apple-touch-icon.png +0 -0
  713. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/public/favicon.ico +0 -0
  714. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/public/robots.txt +1 -0
  715. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/ruby-version.tt +1 -0
  716. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/test/application_system_test_case.rb.tt +5 -0
  717. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/test/channels/application_cable/connection_test.rb.tt +11 -0
  718. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/app/templates/test/test_helper.rb.tt +19 -0
  719. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/application_record/application_record_generator.rb +9 -0
  720. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/assets/USAGE +17 -0
  721. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/assets/assets_generator.rb +26 -0
  722. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/assets/templates/stylesheet.css +4 -0
  723. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/controller/USAGE +18 -0
  724. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/controller/controller_generator.rb +77 -0
  725. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/controller/templates/controller.rb.tt +13 -0
  726. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/credentials/credentials_generator.rb +56 -0
  727. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/db/system/change/change_generator.rb +65 -0
  728. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/encrypted_file/encrypted_file_generator.rb +27 -0
  729. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/encryption_key_file/encryption_key_file_generator.rb +58 -0
  730. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/generator/USAGE +13 -0
  731. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/generator/generator_generator.rb +28 -0
  732. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/generator/templates/%file_name%_generator.rb.tt +3 -0
  733. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/generator/templates/USAGE.tt +8 -0
  734. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/helper/USAGE +13 -0
  735. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/helper/helper_generator.rb +20 -0
  736. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/helper/templates/helper.rb.tt +4 -0
  737. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/integration_test/USAGE +10 -0
  738. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/integration_test/integration_test_generator.rb +9 -0
  739. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/master_key/master_key_generator.rb +53 -0
  740. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/migration/USAGE +35 -0
  741. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/migration/migration_generator.rb +10 -0
  742. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/model/USAGE +114 -0
  743. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/model/model_generator.rb +14 -0
  744. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/plugin/USAGE +10 -0
  745. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/plugin/plugin_generator.rb +430 -0
  746. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/plugin/templates/%name%.gemspec.tt +33 -0
  747. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/plugin/templates/Gemfile.tt +48 -0
  748. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/plugin/templates/MIT-LICENSE.tt +20 -0
  749. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/plugin/templates/README.md.tt +28 -0
  750. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/plugin/templates/Rakefile.tt +28 -0
  751. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/plugin/templates/app/controllers/%namespaced_name%/application_controller.rb.tt +6 -0
  752. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/plugin/templates/app/helpers/%namespaced_name%/application_helper.rb.tt +5 -0
  753. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/plugin/templates/app/jobs/%namespaced_name%/application_job.rb.tt +5 -0
  754. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/plugin/templates/app/mailers/%namespaced_name%/application_mailer.rb.tt +7 -0
  755. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/plugin/templates/app/models/%namespaced_name%/application_record.rb.tt +6 -0
  756. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/plugin/templates/app/views/layouts/%namespaced_name%/application.html.erb.tt +18 -0
  757. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/plugin/templates/bin/rails.tt +30 -0
  758. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/plugin/templates/bin/test.tt +4 -0
  759. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/plugin/templates/config/routes.rb.tt +6 -0
  760. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/plugin/templates/gitignore.tt +18 -0
  761. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/plugin/templates/lib/%namespaced_name%/engine.rb.tt +7 -0
  762. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/plugin/templates/lib/%namespaced_name%/railtie.rb.tt +5 -0
  763. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/plugin/templates/lib/%namespaced_name%/version.rb.tt +1 -0
  764. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/plugin/templates/lib/%namespaced_name%.rb.tt +7 -0
  765. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/plugin/templates/lib/tasks/%namespaced_name%_tasks.rake.tt +4 -0
  766. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/plugin/templates/rails/application.rb.tt +23 -0
  767. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/plugin/templates/rails/boot.rb.tt +5 -0
  768. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/plugin/templates/rails/dummy_manifest.js.tt +10 -0
  769. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/plugin/templates/rails/engine_manifest.js.tt +6 -0
  770. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/plugin/templates/rails/javascripts.js.tt +17 -0
  771. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/plugin/templates/rails/routes.rb.tt +3 -0
  772. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/plugin/templates/rails/stylesheets.css +15 -0
  773. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/plugin/templates/test/%namespaced_name%_test.rb.tt +7 -0
  774. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/plugin/templates/test/application_system_test_case.rb.tt +5 -0
  775. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/plugin/templates/test/integration/navigation_test.rb.tt +7 -0
  776. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/plugin/templates/test/test_helper.rb.tt +29 -0
  777. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/resource/USAGE +23 -0
  778. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/resource/resource_generator.rb +21 -0
  779. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/resource_route/resource_route_generator.rb +48 -0
  780. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/scaffold/USAGE +41 -0
  781. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/scaffold/scaffold_generator.rb +36 -0
  782. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/scaffold/templates/scaffold.css +80 -0
  783. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/scaffold_controller/USAGE +19 -0
  784. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/scaffold_controller/scaffold_controller_generator.rb +51 -0
  785. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/scaffold_controller/templates/api_controller.rb.tt +61 -0
  786. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/scaffold_controller/templates/controller.rb.tt +68 -0
  787. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/system_test/USAGE +10 -0
  788. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/system_test/system_test_generator.rb +9 -0
  789. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/task/USAGE +9 -0
  790. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/task/task_generator.rb +13 -0
  791. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/rails/task/templates/task.rb.tt +8 -0
  792. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/resource_helpers.rb +82 -0
  793. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/test_case.rb +37 -0
  794. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/test_unit/controller/controller_generator.rb +17 -0
  795. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/test_unit/controller/templates/functional_test.rb.tt +23 -0
  796. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/test_unit/generator/generator_generator.rb +28 -0
  797. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/test_unit/generator/templates/generator_test.rb.tt +16 -0
  798. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/test_unit/helper/helper_generator.rb +11 -0
  799. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/test_unit/integration/integration_generator.rb +21 -0
  800. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/test_unit/integration/templates/integration_test.rb.tt +9 -0
  801. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/test_unit/job/job_generator.rb +20 -0
  802. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/test_unit/job/templates/unit_test.rb.tt +9 -0
  803. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/test_unit/mailer/mailer_generator.rb +28 -0
  804. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/test_unit/mailer/templates/functional_test.rb.tt +21 -0
  805. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/test_unit/mailer/templates/preview.rb.tt +13 -0
  806. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/test_unit/model/model_generator.rb +37 -0
  807. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/test_unit/model/templates/fixtures.yml.tt +29 -0
  808. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/test_unit/model/templates/unit_test.rb.tt +9 -0
  809. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/test_unit/plugin/plugin_generator.rb +15 -0
  810. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/test_unit/plugin/templates/%file_name%_test.rb.tt +7 -0
  811. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/test_unit/plugin/templates/test_helper.rb +2 -0
  812. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/test_unit/scaffold/scaffold_generator.rb +69 -0
  813. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/test_unit/scaffold/templates/api_functional_test.rb.tt +44 -0
  814. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/test_unit/scaffold/templates/functional_test.rb.tt +54 -0
  815. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/test_unit/scaffold/templates/system_test.rb.tt +57 -0
  816. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/test_unit/system/system_generator.rb +24 -0
  817. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/test_unit/system/templates/application_system_test_case.rb.tt +5 -0
  818. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/test_unit/system/templates/system_test.rb.tt +9 -0
  819. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/test_unit.rb +10 -0
  820. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/testing/assertions.rb +127 -0
  821. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/testing/behaviour.rb +114 -0
  822. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators/testing/setup_and_teardown.rb +20 -0
  823. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/generators.rb +325 -0
  824. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/info.rb +105 -0
  825. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/info_controller.rb +46 -0
  826. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/initializable.rb +95 -0
  827. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/mailers_controller.rb +100 -0
  828. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/paths.rb +237 -0
  829. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/plugin/test.rb +9 -0
  830. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/rack/logger.rb +80 -0
  831. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/rack.rb +7 -0
  832. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/railtie/configurable.rb +37 -0
  833. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/railtie/configuration.rb +102 -0
  834. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/railtie.rb +260 -0
  835. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/ruby_version_check.rb +15 -0
  836. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/secrets.rb +105 -0
  837. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/source_annotation_extractor.rb +162 -0
  838. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/tasks/annotations.rake +22 -0
  839. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/tasks/dev.rake +11 -0
  840. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/tasks/engine.rake +88 -0
  841. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/tasks/framework.rake +62 -0
  842. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/tasks/initializers.rake +9 -0
  843. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/tasks/log.rake +41 -0
  844. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/tasks/middleware.rake +9 -0
  845. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/tasks/misc.rake +79 -0
  846. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/tasks/restart.rake +9 -0
  847. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/tasks/routes.rake +9 -0
  848. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/tasks/statistics.rake +35 -0
  849. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/tasks/tmp.rake +44 -0
  850. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/tasks/yarn.rake +18 -0
  851. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/tasks/zeitwerk.rake +66 -0
  852. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/tasks.rb +23 -0
  853. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/templates/layouts/application.html.erb +36 -0
  854. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/templates/rails/info/properties.html.erb +1 -0
  855. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/templates/rails/info/routes.html.erb +9 -0
  856. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/templates/rails/mailers/email.html.erb +162 -0
  857. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/templates/rails/mailers/index.html.erb +8 -0
  858. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/templates/rails/mailers/mailer.html.erb +6 -0
  859. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/templates/rails/welcome/index.html.erb +74 -0
  860. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/test_help.rb +50 -0
  861. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/test_unit/line_filtering.rb +13 -0
  862. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/test_unit/railtie.rb +29 -0
  863. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/test_unit/reporter.rb +110 -0
  864. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/test_unit/runner.rb +143 -0
  865. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/test_unit/testing.rake +58 -0
  866. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/version.rb +10 -0
  867. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails/welcome_controller.rb +10 -0
  868. data/vendor/ruby/2.6.0/gems/railties-6.0.0/lib/rails.rb +119 -0
  869. data/vendor/ruby/2.6.0/gems/sass-rails-6.0.0/MIT-LICENSE +21 -0
  870. data/vendor/ruby/2.6.0/gems/sass-rails-6.0.0/README.md +103 -0
  871. data/vendor/ruby/2.6.0/gems/sass-rails-6.0.0/lib/sass/rails/importer.rb +5 -0
  872. data/vendor/ruby/2.6.0/gems/sass-rails-6.0.0/lib/sass/rails/logger.rb +5 -0
  873. data/vendor/ruby/2.6.0/gems/sass-rails-6.0.0/lib/sass/rails/railtie.rb +1 -0
  874. data/vendor/ruby/2.6.0/gems/sass-rails-6.0.0/lib/sass/rails/version.rb +5 -0
  875. data/vendor/ruby/2.6.0/gems/sass-rails-6.0.0/lib/sass/rails.rb +1 -0
  876. data/vendor/ruby/2.6.0/gems/sass-rails-6.0.0/lib/sass-rails.rb +1 -0
  877. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/CHANGELOG.md +75 -0
  878. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/CODE_OF_CONDUCT.md +10 -0
  879. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/Gemfile +2 -0
  880. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/LICENSE.txt +22 -0
  881. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/README.md +68 -0
  882. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/Rakefile +53 -0
  883. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/depend +4 -0
  884. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/extconf.rb +84 -0
  885. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/VERSION +1 -0
  886. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/contrib/plugin.cpp +60 -0
  887. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/include/sass/base.h +96 -0
  888. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/include/sass/context.h +170 -0
  889. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/include/sass/functions.h +139 -0
  890. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/include/sass/values.h +145 -0
  891. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/include/sass/version.h +12 -0
  892. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/include/sass.h +15 -0
  893. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/include/sass2scss.h +120 -0
  894. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/ast.cpp +963 -0
  895. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/ast.hpp +905 -0
  896. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/ast2c.cpp +80 -0
  897. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/ast2c.hpp +39 -0
  898. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/ast_def_macros.hpp +132 -0
  899. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/ast_fwd_decl.cpp +30 -0
  900. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/ast_fwd_decl.hpp +341 -0
  901. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/ast_sel_cmp.cpp +909 -0
  902. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/ast_sel_unify.cpp +280 -0
  903. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/ast_selectors.cpp +1475 -0
  904. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/ast_selectors.hpp +568 -0
  905. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/ast_supports.cpp +130 -0
  906. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/ast_supports.hpp +121 -0
  907. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/ast_values.cpp +967 -0
  908. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/ast_values.hpp +489 -0
  909. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/b64/cencode.h +32 -0
  910. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/b64/encode.h +79 -0
  911. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/backtrace.cpp +50 -0
  912. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/backtrace.hpp +29 -0
  913. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/base64vlq.cpp +47 -0
  914. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/base64vlq.hpp +30 -0
  915. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/bind.cpp +312 -0
  916. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/bind.hpp +15 -0
  917. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/c2ast.cpp +64 -0
  918. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/c2ast.hpp +14 -0
  919. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/c99func.c +54 -0
  920. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/cencode.c +108 -0
  921. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/check_nesting.cpp +394 -0
  922. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/check_nesting.hpp +66 -0
  923. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/color_maps.cpp +651 -0
  924. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/color_maps.hpp +331 -0
  925. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/constants.cpp +194 -0
  926. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/constants.hpp +194 -0
  927. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/context.cpp +890 -0
  928. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/context.hpp +152 -0
  929. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/cssize.cpp +604 -0
  930. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/cssize.hpp +77 -0
  931. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/debug.hpp +43 -0
  932. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/debugger.hpp +807 -0
  933. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/emitter.cpp +298 -0
  934. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/emitter.hpp +103 -0
  935. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/environment.cpp +260 -0
  936. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/environment.hpp +119 -0
  937. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/error_handling.cpp +212 -0
  938. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/error_handling.hpp +229 -0
  939. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/eval.cpp +1657 -0
  940. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/eval.hpp +112 -0
  941. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/expand.cpp +822 -0
  942. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/expand.hpp +78 -0
  943. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/extend.cpp +2132 -0
  944. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/extend.hpp +86 -0
  945. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/file.cpp +522 -0
  946. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/file.hpp +133 -0
  947. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/fn_colors.cpp +594 -0
  948. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/fn_colors.hpp +85 -0
  949. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/fn_lists.cpp +284 -0
  950. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/fn_lists.hpp +34 -0
  951. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/fn_maps.cpp +94 -0
  952. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/fn_maps.hpp +30 -0
  953. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/fn_miscs.cpp +256 -0
  954. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/fn_miscs.hpp +40 -0
  955. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/fn_numbers.cpp +220 -0
  956. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/fn_numbers.hpp +45 -0
  957. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/fn_selectors.cpp +235 -0
  958. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/fn_selectors.hpp +35 -0
  959. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/fn_strings.cpp +254 -0
  960. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/fn_strings.hpp +34 -0
  961. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/fn_utils.cpp +156 -0
  962. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/fn_utils.hpp +56 -0
  963. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/inspect.cpp +1087 -0
  964. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/inspect.hpp +99 -0
  965. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/json.cpp +1436 -0
  966. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/json.hpp +117 -0
  967. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/kwd_arg_macros.hpp +28 -0
  968. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/lexer.cpp +184 -0
  969. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/lexer.hpp +315 -0
  970. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/listize.cpp +84 -0
  971. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/listize.hpp +38 -0
  972. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/mapping.hpp +18 -0
  973. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/memory/SharedPtr.cpp +33 -0
  974. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/memory/SharedPtr.hpp +286 -0
  975. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/node.cpp +322 -0
  976. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/node.hpp +118 -0
  977. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/operation.hpp +213 -0
  978. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/operators.cpp +266 -0
  979. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/operators.hpp +30 -0
  980. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/output.cpp +339 -0
  981. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/output.hpp +47 -0
  982. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/parser.cpp +3153 -0
  983. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/parser.hpp +402 -0
  984. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/paths.hpp +71 -0
  985. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/plugins.cpp +188 -0
  986. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/plugins.hpp +57 -0
  987. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/position.cpp +184 -0
  988. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/position.hpp +124 -0
  989. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/prelexer.cpp +1780 -0
  990. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/prelexer.hpp +484 -0
  991. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/remove_placeholders.cpp +87 -0
  992. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/remove_placeholders.hpp +34 -0
  993. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/sass.cpp +155 -0
  994. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/sass.hpp +142 -0
  995. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/sass2scss.cpp +895 -0
  996. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/sass_context.cpp +772 -0
  997. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/sass_context.hpp +129 -0
  998. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/sass_functions.cpp +210 -0
  999. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/sass_functions.hpp +50 -0
  1000. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/sass_util.cpp +152 -0
  1001. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/sass_util.hpp +256 -0
  1002. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/sass_values.cpp +365 -0
  1003. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/sass_values.hpp +82 -0
  1004. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/source_map.cpp +198 -0
  1005. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/source_map.hpp +62 -0
  1006. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/subset_map.cpp +58 -0
  1007. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/subset_map.hpp +76 -0
  1008. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/to_value.cpp +114 -0
  1009. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/to_value.hpp +46 -0
  1010. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/units.cpp +505 -0
  1011. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/units.hpp +110 -0
  1012. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/utf8/checked.h +336 -0
  1013. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/utf8/core.h +332 -0
  1014. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/utf8/unchecked.h +235 -0
  1015. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/utf8.h +34 -0
  1016. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/utf8_string.cpp +105 -0
  1017. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/utf8_string.hpp +37 -0
  1018. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/util.cpp +725 -0
  1019. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/util.hpp +106 -0
  1020. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/util_string.cpp +75 -0
  1021. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/util_string.hpp +19 -0
  1022. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/values.cpp +140 -0
  1023. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/ext/libsass/src/values.hpp +12 -0
  1024. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/dependency.rb +17 -0
  1025. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/engine.rb +139 -0
  1026. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/error.rb +37 -0
  1027. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/functions_handler.rb +75 -0
  1028. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/import_handler.rb +50 -0
  1029. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/importer.rb +31 -0
  1030. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/libsass.so +0 -0
  1031. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/native/lib_c.rb +21 -0
  1032. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/native/native_context_api.rb +147 -0
  1033. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/native/native_functions_api.rb +159 -0
  1034. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/native/sass2scss_api.rb +10 -0
  1035. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/native/sass_input_style.rb +13 -0
  1036. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/native/sass_output_style.rb +12 -0
  1037. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/native/sass_value.rb +97 -0
  1038. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/native/string_list.rb +10 -0
  1039. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/native.rb +62 -0
  1040. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/sass_2_scss.rb +9 -0
  1041. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/script/functions.rb +8 -0
  1042. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/script/value/bool.rb +32 -0
  1043. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/script/value/color.rb +95 -0
  1044. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/script/value/list.rb +136 -0
  1045. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/script/value/map.rb +69 -0
  1046. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/script/value/number.rb +389 -0
  1047. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/script/value/string.rb +96 -0
  1048. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/script/value.rb +137 -0
  1049. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/script/value_conversion/base.rb +13 -0
  1050. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/script/value_conversion/bool.rb +13 -0
  1051. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/script/value_conversion/color.rb +18 -0
  1052. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/script/value_conversion/list.rb +25 -0
  1053. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/script/value_conversion/map.rb +21 -0
  1054. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/script/value_conversion/number.rb +13 -0
  1055. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/script/value_conversion/string.rb +17 -0
  1056. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/script/value_conversion.rb +69 -0
  1057. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/script.rb +19 -0
  1058. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/util/normalized_map.rb +117 -0
  1059. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/util.rb +231 -0
  1060. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/version.rb +5 -0
  1061. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc.rb +57 -0
  1062. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/sassc.gemspec +69 -0
  1063. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/test/custom_importer_test.rb +127 -0
  1064. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/test/engine_test.rb +314 -0
  1065. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/test/error_test.rb +29 -0
  1066. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/test/fixtures/paths.scss +10 -0
  1067. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/test/functions_test.rb +303 -0
  1068. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/test/native_test.rb +213 -0
  1069. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/test/output_style_test.rb +107 -0
  1070. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/test/sass_2_scss_test.rb +14 -0
  1071. data/vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/test/test_helper.rb +45 -0
  1072. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/CODE_OF_CONDUCT.md +10 -0
  1073. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/Gemfile +7 -0
  1074. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/LICENSE.txt +22 -0
  1075. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/README.md +124 -0
  1076. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/Rakefile +33 -0
  1077. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/gemfiles/rails_4_2.gemfile +6 -0
  1078. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/gemfiles/rails_5_2.gemfile +6 -0
  1079. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/gemfiles/sprockets-rails_2_3.gemfile +6 -0
  1080. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/gemfiles/sprockets-rails_3_0.gemfile +6 -0
  1081. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/gemfiles/sprockets_3_0.gemfile +6 -0
  1082. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/gemfiles/sprockets_4_0.gemfile +6 -0
  1083. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/lib/rails/generators/sass/assets/assets_generator.rb +13 -0
  1084. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/lib/rails/generators/sass/assets/templates/stylesheet.sass +3 -0
  1085. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/lib/rails/generators/sass/scaffold/scaffold_generator.rb +9 -0
  1086. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/lib/rails/generators/sass_scaffold.rb +15 -0
  1087. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/lib/rails/generators/scss/assets/assets_generator.rb +13 -0
  1088. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/lib/rails/generators/scss/assets/templates/stylesheet.scss +3 -0
  1089. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/lib/rails/generators/scss/scaffold/scaffold_generator.rb +10 -0
  1090. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/lib/sassc/rails/compressor.rb +34 -0
  1091. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/lib/sassc/rails/functions.rb +13 -0
  1092. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/lib/sassc/rails/importer.rb +181 -0
  1093. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/lib/sassc/rails/railtie.rb +81 -0
  1094. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/lib/sassc/rails/template.rb +113 -0
  1095. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/lib/sassc/rails/version.rb +7 -0
  1096. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/lib/sassc/rails.rb +10 -0
  1097. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/lib/sassc-rails.rb +4 -0
  1098. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/sassc-rails.gemspec +32 -0
  1099. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/test/dummy/app/assets/config/manifest.js +3 -0
  1100. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/test/dummy/app/assets/fonts/fake-font.ttf +0 -0
  1101. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/test/dummy/app/assets/images/1x1.png +0 -0
  1102. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/test/dummy/app/assets/images/rails.png +0 -0
  1103. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/test/dummy/app/assets/stylesheets/_top_level_partial.scss +3 -0
  1104. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/test/dummy/app/assets/stylesheets/application.scss +5 -0
  1105. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/test/dummy/app/assets/stylesheets/css_application.css +11 -0
  1106. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/test/dummy/app/assets/stylesheets/css_erb_handler.css.erb +3 -0
  1107. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/test/dummy/app/assets/stylesheets/css_sass_erb_handler.sass.erb +2 -0
  1108. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/test/dummy/app/assets/stylesheets/css_sass_handler.css.sass +2 -0
  1109. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/test/dummy/app/assets/stylesheets/css_scss_erb_handler.scss.erb +3 -0
  1110. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/test/dummy/app/assets/stylesheets/css_scss_handler.css.scss +3 -0
  1111. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/test/dummy/app/assets/stylesheets/erb_render_with_context.css.erb +1804 -0
  1112. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/test/dummy/app/assets/stylesheets/glob_multiple_extensions_test.scss +1 -0
  1113. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/test/dummy/app/assets/stylesheets/glob_test.scss +1 -0
  1114. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/test/dummy/app/assets/stylesheets/globbed/globbed.scss +3 -0
  1115. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/test/dummy/app/assets/stylesheets/globbed/nested/nested_glob.scss +3 -0
  1116. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/test/dummy/app/assets/stylesheets/globbed_multiple_extensions/glob.scss.erb +3 -0
  1117. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/test/dummy/app/assets/stylesheets/helpers_test.scss +18 -0
  1118. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/test/dummy/app/assets/stylesheets/imports_test.scss +23 -0
  1119. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/test/dummy/app/assets/stylesheets/in_load_paths/partial_in_load_paths.scss +3 -0
  1120. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/test/dummy/app/assets/stylesheets/partials/_css_sass_import.sass +5 -0
  1121. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/test/dummy/app/assets/stylesheets/partials/_explicit_extension_import.foo +3 -0
  1122. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/test/dummy/app/assets/stylesheets/partials/_sass_import.sass +2 -0
  1123. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/test/dummy/app/assets/stylesheets/partials/_scss_import.scss +9 -0
  1124. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/test/dummy/app/assets/stylesheets/partials/_without_css_ext.scss +3 -0
  1125. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/test/dummy/app/assets/stylesheets/partials/subfolder/_relative_sass.sass +2 -0
  1126. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/test/dummy/app/assets/stylesheets/partials/subfolder/_relative_scss.scss +3 -0
  1127. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/test/dummy/app/assets/stylesheets/partials/subfolder/relative_not_a_partial.scss +3 -0
  1128. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/test/dummy/app/assets/stylesheets/sass_erb_handler.sass.erb +2 -0
  1129. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/test/dummy/app/assets/stylesheets/scss_erb_handler.scss.erb +3 -0
  1130. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/test/dummy/app/assets/stylesheets/special_characters.scss +5 -0
  1131. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/test/dummy/app/assets/stylesheets/subfolder/_defaults.scss +3 -0
  1132. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/test/dummy/app/assets/stylesheets/subfolder/another_plain.css +3 -0
  1133. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/test/dummy/app/assets/stylesheets/subfolder/plain.css +3 -0
  1134. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/test/dummy/app/assets/stylesheets/subfolder/second_level.scss +2 -0
  1135. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/test/dummy/app/assets/stylesheets/syntax_error.scss +3 -0
  1136. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/test/sassc_rails_test.rb +334 -0
  1137. data/vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/test/test_helper.rb +17 -0
  1138. data/vendor/ruby/2.6.0/gems/zeitwerk-2.1.9/README.md +533 -0
  1139. data/vendor/ruby/2.6.0/gems/zeitwerk-2.1.9/lib/zeitwerk/error.rb +7 -0
  1140. data/vendor/ruby/2.6.0/gems/zeitwerk-2.1.9/lib/zeitwerk/explicit_namespace.rb +80 -0
  1141. data/vendor/ruby/2.6.0/gems/zeitwerk-2.1.9/lib/zeitwerk/gem_inflector.rb +19 -0
  1142. data/vendor/ruby/2.6.0/gems/zeitwerk-2.1.9/lib/zeitwerk/inflector.rb +19 -0
  1143. data/vendor/ruby/2.6.0/gems/zeitwerk-2.1.9/lib/zeitwerk/kernel.rb +33 -0
  1144. data/vendor/ruby/2.6.0/gems/zeitwerk-2.1.9/lib/zeitwerk/loader/callbacks.rb +71 -0
  1145. data/vendor/ruby/2.6.0/gems/zeitwerk-2.1.9/lib/zeitwerk/loader.rb +742 -0
  1146. data/vendor/ruby/2.6.0/gems/zeitwerk-2.1.9/lib/zeitwerk/real_mod_name.rb +15 -0
  1147. data/vendor/ruby/2.6.0/gems/zeitwerk-2.1.9/lib/zeitwerk/registry.rb +147 -0
  1148. data/vendor/ruby/2.6.0/gems/zeitwerk-2.1.9/lib/zeitwerk/version.rb +5 -0
  1149. data/vendor/ruby/2.6.0/gems/zeitwerk-2.1.9/lib/zeitwerk.rb +12 -0
  1150. data/vendor/ruby/2.6.0/specifications/actionpack-6.0.0.gemspec +53 -0
  1151. data/vendor/ruby/2.6.0/specifications/actionview-6.0.0.gemspec +53 -0
  1152. data/vendor/ruby/2.6.0/specifications/activesupport-6.0.0.gemspec +47 -0
  1153. data/vendor/ruby/2.6.0/specifications/railties-6.0.0.gemspec +53 -0
  1154. data/vendor/ruby/2.6.0/specifications/sass-rails-6.0.0.gemspec +32 -0
  1155. data/vendor/ruby/2.6.0/specifications/sassc-2.1.0-x86_64-linux.gemspec +58 -0
  1156. data/vendor/ruby/2.6.0/specifications/sassc-rails-2.1.2.gemspec +56 -0
  1157. data/vendor/ruby/2.6.0/specifications/zeitwerk-2.1.9.gemspec +21 -0
  1158. metadata +1156 -2
@@ -0,0 +1,1475 @@
1
+ #include "sass.hpp"
2
+ #include "ast.hpp"
3
+ #include "context.hpp"
4
+ #include "node.hpp"
5
+ #include "eval.hpp"
6
+ #include "extend.hpp"
7
+ #include "emitter.hpp"
8
+ #include "color_maps.hpp"
9
+ #include "ast_fwd_decl.hpp"
10
+ #include "ast_selectors.hpp"
11
+ #include <array>
12
+ #include <set>
13
+ #include <iomanip>
14
+ #include <iostream>
15
+ #include <algorithm>
16
+ #include <functional>
17
+ #include <cctype>
18
+ #include <locale>
19
+
20
+ namespace Sass {
21
+
22
+ /////////////////////////////////////////////////////////////////////////
23
+ /////////////////////////////////////////////////////////////////////////
24
+
25
+ Selector::Selector(ParserState pstate)
26
+ : Expression(pstate),
27
+ has_line_feed_(false),
28
+ has_line_break_(false),
29
+ is_optional_(false),
30
+ media_block_(0),
31
+ hash_(0)
32
+ { concrete_type(SELECTOR); }
33
+
34
+ Selector::Selector(const Selector* ptr)
35
+ : Expression(ptr),
36
+ has_line_feed_(ptr->has_line_feed_),
37
+ has_line_break_(ptr->has_line_break_),
38
+ is_optional_(ptr->is_optional_),
39
+ media_block_(ptr->media_block_),
40
+ hash_(ptr->hash_)
41
+ { concrete_type(SELECTOR); }
42
+
43
+ void Selector::set_media_block(Media_Block* mb)
44
+ {
45
+ media_block(mb);
46
+ }
47
+
48
+ bool Selector::has_parent_ref() const
49
+ {
50
+ return false;
51
+ }
52
+
53
+ bool Selector::has_real_parent_ref() const
54
+ {
55
+ return false;
56
+ }
57
+
58
+ /////////////////////////////////////////////////////////////////////////
59
+ /////////////////////////////////////////////////////////////////////////
60
+
61
+ Selector_Schema::Selector_Schema(ParserState pstate, String_Obj c)
62
+ : AST_Node(pstate),
63
+ contents_(c),
64
+ connect_parent_(true),
65
+ media_block_(NULL),
66
+ hash_(0)
67
+ { }
68
+ Selector_Schema::Selector_Schema(const Selector_Schema* ptr)
69
+ : AST_Node(ptr),
70
+ contents_(ptr->contents_),
71
+ connect_parent_(ptr->connect_parent_),
72
+ media_block_(ptr->media_block_),
73
+ hash_(ptr->hash_)
74
+ { }
75
+
76
+ unsigned long Selector_Schema::specificity() const
77
+ {
78
+ return 0;
79
+ }
80
+
81
+ size_t Selector_Schema::hash() const {
82
+ if (hash_ == 0) {
83
+ hash_combine(hash_, contents_->hash());
84
+ }
85
+ return hash_;
86
+ }
87
+
88
+ bool Selector_Schema::has_parent_ref() const
89
+ {
90
+ if (String_Schema_Obj schema = Cast<String_Schema>(contents())) {
91
+ if (schema->empty()) return false;
92
+ const auto& first = *schema->at(0);
93
+ return typeid(first) == typeid(Parent_Selector);
94
+ }
95
+ return false;
96
+ }
97
+
98
+ bool Selector_Schema::has_real_parent_ref() const
99
+ {
100
+ if (String_Schema_Obj schema = Cast<String_Schema>(contents())) {
101
+ if (schema->empty()) return false;
102
+ const auto& first = *schema->at(0);
103
+ return typeid(first) == typeid(Parent_Reference);
104
+ }
105
+ return false;
106
+ }
107
+
108
+ /////////////////////////////////////////////////////////////////////////
109
+ /////////////////////////////////////////////////////////////////////////
110
+
111
+ Simple_Selector::Simple_Selector(ParserState pstate, std::string n)
112
+ : Selector(pstate), ns_(""), name_(n), has_ns_(false)
113
+ {
114
+ size_t pos = n.find('|');
115
+ // found some namespace
116
+ if (pos != std::string::npos) {
117
+ has_ns_ = true;
118
+ ns_ = n.substr(0, pos);
119
+ name_ = n.substr(pos + 1);
120
+ }
121
+ }
122
+ Simple_Selector::Simple_Selector(const Simple_Selector* ptr)
123
+ : Selector(ptr),
124
+ ns_(ptr->ns_),
125
+ name_(ptr->name_),
126
+ has_ns_(ptr->has_ns_)
127
+ { }
128
+
129
+ std::string Simple_Selector::ns_name() const
130
+ {
131
+ std::string name("");
132
+ if (has_ns_)
133
+ name += ns_ + "|";
134
+ return name + name_;
135
+ }
136
+
137
+ size_t Simple_Selector::hash() const
138
+ {
139
+ if (hash_ == 0) {
140
+ hash_combine(hash_, std::hash<int>()(SELECTOR));
141
+ hash_combine(hash_, std::hash<int>()(simple_type()));
142
+ if (!name_.empty()) hash_combine(hash_, std::hash<std::string>()(name()));
143
+ if (has_ns_) hash_combine(hash_, std::hash<std::string>()(ns()));
144
+ }
145
+ return hash_;
146
+ }
147
+
148
+ bool Simple_Selector::empty() const {
149
+ return ns().empty() && name().empty();
150
+ }
151
+
152
+ // namespace compare functions
153
+ bool Simple_Selector::is_ns_eq(const Simple_Selector& r) const
154
+ {
155
+ return has_ns_ == r.has_ns_ && ns_ == r.ns_;
156
+ }
157
+
158
+ // namespace query functions
159
+ bool Simple_Selector::is_universal_ns() const
160
+ {
161
+ return has_ns_ && ns_ == "*";
162
+ }
163
+
164
+ bool Simple_Selector::is_empty_ns() const
165
+ {
166
+ return !has_ns_ || ns_ == "";
167
+ }
168
+
169
+ bool Simple_Selector::has_empty_ns() const
170
+ {
171
+ return has_ns_ && ns_ == "";
172
+ }
173
+
174
+ bool Simple_Selector::has_qualified_ns() const
175
+ {
176
+ return has_ns_ && ns_ != "" && ns_ != "*";
177
+ }
178
+
179
+ // name query functions
180
+ bool Simple_Selector::is_universal() const
181
+ {
182
+ return name_ == "*";
183
+ }
184
+
185
+ bool Simple_Selector::has_placeholder()
186
+ {
187
+ return false;
188
+ }
189
+
190
+ bool Simple_Selector::has_parent_ref() const
191
+ {
192
+ return false;
193
+ };
194
+
195
+ bool Simple_Selector::has_real_parent_ref() const
196
+ {
197
+ return false;
198
+ };
199
+
200
+ bool Simple_Selector::is_pseudo_element() const
201
+ {
202
+ return false;
203
+ }
204
+
205
+ bool Simple_Selector::is_superselector_of(const Compound_Selector* sub) const
206
+ {
207
+ return false;
208
+ }
209
+
210
+ /////////////////////////////////////////////////////////////////////////
211
+ /////////////////////////////////////////////////////////////////////////
212
+
213
+ Parent_Selector::Parent_Selector(ParserState pstate, bool r)
214
+ : Simple_Selector(pstate, "&"), real_(r)
215
+ { simple_type(PARENT_SEL); }
216
+ Parent_Selector::Parent_Selector(const Parent_Selector* ptr)
217
+ : Simple_Selector(ptr), real_(ptr->real_)
218
+ { simple_type(PARENT_SEL); }
219
+
220
+ bool Parent_Selector::has_parent_ref() const
221
+ {
222
+ return true;
223
+ };
224
+
225
+ bool Parent_Selector::has_real_parent_ref() const
226
+ {
227
+ return real();
228
+ };
229
+
230
+ unsigned long Parent_Selector::specificity() const
231
+ {
232
+ return 0;
233
+ }
234
+
235
+ /////////////////////////////////////////////////////////////////////////
236
+ /////////////////////////////////////////////////////////////////////////
237
+
238
+ Placeholder_Selector::Placeholder_Selector(ParserState pstate, std::string n)
239
+ : Simple_Selector(pstate, n)
240
+ { simple_type(PLACEHOLDER_SEL); }
241
+ Placeholder_Selector::Placeholder_Selector(const Placeholder_Selector* ptr)
242
+ : Simple_Selector(ptr)
243
+ { simple_type(PLACEHOLDER_SEL); }
244
+ unsigned long Placeholder_Selector::specificity() const
245
+ {
246
+ return Constants::Specificity_Base;
247
+ }
248
+ bool Placeholder_Selector::has_placeholder() {
249
+ return true;
250
+ }
251
+
252
+ /////////////////////////////////////////////////////////////////////////
253
+ /////////////////////////////////////////////////////////////////////////
254
+
255
+ Type_Selector::Type_Selector(ParserState pstate, std::string n)
256
+ : Simple_Selector(pstate, n)
257
+ { simple_type(TYPE_SEL); }
258
+ Type_Selector::Type_Selector(const Type_Selector* ptr)
259
+ : Simple_Selector(ptr)
260
+ { simple_type(TYPE_SEL); }
261
+
262
+ unsigned long Type_Selector::specificity() const
263
+ {
264
+ if (name() == "*") return 0;
265
+ else return Constants::Specificity_Element;
266
+ }
267
+
268
+ /////////////////////////////////////////////////////////////////////////
269
+ /////////////////////////////////////////////////////////////////////////
270
+
271
+ Class_Selector::Class_Selector(ParserState pstate, std::string n)
272
+ : Simple_Selector(pstate, n)
273
+ { simple_type(CLASS_SEL); }
274
+ Class_Selector::Class_Selector(const Class_Selector* ptr)
275
+ : Simple_Selector(ptr)
276
+ { simple_type(CLASS_SEL); }
277
+
278
+ unsigned long Class_Selector::specificity() const
279
+ {
280
+ return Constants::Specificity_Class;
281
+ }
282
+
283
+ /////////////////////////////////////////////////////////////////////////
284
+ /////////////////////////////////////////////////////////////////////////
285
+
286
+ Id_Selector::Id_Selector(ParserState pstate, std::string n)
287
+ : Simple_Selector(pstate, n)
288
+ { simple_type(ID_SEL); }
289
+ Id_Selector::Id_Selector(const Id_Selector* ptr)
290
+ : Simple_Selector(ptr)
291
+ { simple_type(ID_SEL); }
292
+
293
+ unsigned long Id_Selector::specificity() const
294
+ {
295
+ return Constants::Specificity_ID;
296
+ }
297
+
298
+ /////////////////////////////////////////////////////////////////////////
299
+ /////////////////////////////////////////////////////////////////////////
300
+
301
+ Attribute_Selector::Attribute_Selector(ParserState pstate, std::string n, std::string m, String_Obj v, char o)
302
+ : Simple_Selector(pstate, n), matcher_(m), value_(v), modifier_(o)
303
+ { simple_type(ATTRIBUTE_SEL); }
304
+ Attribute_Selector::Attribute_Selector(const Attribute_Selector* ptr)
305
+ : Simple_Selector(ptr),
306
+ matcher_(ptr->matcher_),
307
+ value_(ptr->value_),
308
+ modifier_(ptr->modifier_)
309
+ { simple_type(ATTRIBUTE_SEL); }
310
+
311
+ size_t Attribute_Selector::hash() const
312
+ {
313
+ if (hash_ == 0) {
314
+ hash_combine(hash_, Simple_Selector::hash());
315
+ hash_combine(hash_, std::hash<std::string>()(matcher()));
316
+ if (value_) hash_combine(hash_, value_->hash());
317
+ }
318
+ return hash_;
319
+ }
320
+
321
+ unsigned long Attribute_Selector::specificity() const
322
+ {
323
+ return Constants::Specificity_Attr;
324
+ }
325
+
326
+ /////////////////////////////////////////////////////////////////////////
327
+ /////////////////////////////////////////////////////////////////////////
328
+
329
+ Pseudo_Selector::Pseudo_Selector(ParserState pstate, std::string n, String_Obj expr)
330
+ : Simple_Selector(pstate, n), expression_(expr)
331
+ { simple_type(PSEUDO_SEL); }
332
+ Pseudo_Selector::Pseudo_Selector(const Pseudo_Selector* ptr)
333
+ : Simple_Selector(ptr), expression_(ptr->expression_)
334
+ { simple_type(PSEUDO_SEL); }
335
+
336
+ // A pseudo-element is made of two colons (::) followed by the name.
337
+ // The `::` notation is introduced by the current document in order to
338
+ // establish a discrimination between pseudo-classes and pseudo-elements.
339
+ // For compatibility with existing style sheets, user agents must also
340
+ // accept the previous one-colon notation for pseudo-elements introduced
341
+ // in CSS levels 1 and 2 (namely, :first-line, :first-letter, :before and
342
+ // :after). This compatibility is not allowed for the new pseudo-elements
343
+ // introduced in this specification.
344
+ bool Pseudo_Selector::is_pseudo_element() const
345
+ {
346
+ return (name_[0] == ':' && name_[1] == ':')
347
+ || is_pseudo_class_element(name_);
348
+ }
349
+
350
+ size_t Pseudo_Selector::hash() const
351
+ {
352
+ if (hash_ == 0) {
353
+ hash_combine(hash_, Simple_Selector::hash());
354
+ if (expression_) hash_combine(hash_, expression_->hash());
355
+ }
356
+ return hash_;
357
+ }
358
+
359
+ unsigned long Pseudo_Selector::specificity() const
360
+ {
361
+ if (is_pseudo_element())
362
+ return Constants::Specificity_Element;
363
+ return Constants::Specificity_Pseudo;
364
+ }
365
+
366
+ /////////////////////////////////////////////////////////////////////////
367
+ /////////////////////////////////////////////////////////////////////////
368
+
369
+ Wrapped_Selector::Wrapped_Selector(ParserState pstate, std::string n, Selector_List_Obj sel)
370
+ : Simple_Selector(pstate, n), selector_(sel)
371
+ { simple_type(WRAPPED_SEL); }
372
+ Wrapped_Selector::Wrapped_Selector(const Wrapped_Selector* ptr)
373
+ : Simple_Selector(ptr), selector_(ptr->selector_)
374
+ { simple_type(WRAPPED_SEL); }
375
+
376
+ bool Wrapped_Selector::is_superselector_of(const Wrapped_Selector* sub) const
377
+ {
378
+ if (this->name() != sub->name()) return false;
379
+ if (this->name() == ":current") return false;
380
+ if (Selector_List_Obj rhs_list = Cast<Selector_List>(sub->selector())) {
381
+ if (Selector_List_Obj lhs_list = Cast<Selector_List>(selector())) {
382
+ return lhs_list->is_superselector_of(rhs_list);
383
+ }
384
+ }
385
+ coreError("is_superselector expected a Selector_List", sub->pstate());
386
+ return false;
387
+ }
388
+
389
+ // Selectors inside the negation pseudo-class are counted like any
390
+ // other, but the negation itself does not count as a pseudo-class.
391
+
392
+ void Wrapped_Selector::cloneChildren()
393
+ {
394
+ selector(SASS_MEMORY_CLONE(selector()));
395
+ }
396
+
397
+ size_t Wrapped_Selector::hash() const
398
+ {
399
+ if (hash_ == 0) {
400
+ hash_combine(hash_, Simple_Selector::hash());
401
+ if (selector_) hash_combine(hash_, selector_->hash());
402
+ }
403
+ return hash_;
404
+ }
405
+
406
+ bool Wrapped_Selector::has_parent_ref() const {
407
+ if (!selector()) return false;
408
+ return selector()->has_parent_ref();
409
+ }
410
+
411
+ bool Wrapped_Selector::has_real_parent_ref() const {
412
+ if (!selector()) return false;
413
+ return selector()->has_real_parent_ref();
414
+ }
415
+
416
+ unsigned long Wrapped_Selector::specificity() const
417
+ {
418
+ return selector_ ? selector_->specificity() : 0;
419
+ }
420
+
421
+ bool Wrapped_Selector::find ( bool (*f)(AST_Node_Obj) )
422
+ {
423
+ // check children first
424
+ if (selector_) {
425
+ if (selector_->find(f)) return true;
426
+ }
427
+ // execute last
428
+ return f(this);
429
+ }
430
+
431
+ /////////////////////////////////////////////////////////////////////////
432
+ /////////////////////////////////////////////////////////////////////////
433
+
434
+ Compound_Selector::Compound_Selector(ParserState pstate, size_t s)
435
+ : Selector(pstate),
436
+ Vectorized<Simple_Selector_Obj>(s),
437
+ extended_(false),
438
+ has_parent_reference_(false)
439
+ { }
440
+
441
+ Compound_Selector::Compound_Selector(const Compound_Selector* ptr)
442
+ : Selector(ptr),
443
+ Vectorized<Simple_Selector_Obj>(*ptr),
444
+ extended_(ptr->extended_),
445
+ has_parent_reference_(ptr->has_parent_reference_)
446
+ { }
447
+
448
+ bool Compound_Selector::contains_placeholder() {
449
+ for (size_t i = 0, L = length(); i < L; ++i) {
450
+ if ((*this)[i]->has_placeholder()) return true;
451
+ }
452
+ return false;
453
+ };
454
+
455
+ void Compound_Selector::cloneChildren()
456
+ {
457
+ for (size_t i = 0, l = length(); i < l; i++) {
458
+ at(i) = SASS_MEMORY_CLONE(at(i));
459
+ }
460
+ }
461
+
462
+ bool Compound_Selector::find ( bool (*f)(AST_Node_Obj) )
463
+ {
464
+ // check children first
465
+ for (Simple_Selector_Obj sel : elements()) {
466
+ if (sel->find(f)) return true;
467
+ }
468
+ // execute last
469
+ return f(this);
470
+ }
471
+
472
+ bool Compound_Selector::has_parent_ref() const
473
+ {
474
+ for (Simple_Selector_Obj s : *this) {
475
+ if (s && s->has_parent_ref()) return true;
476
+ }
477
+ return false;
478
+ }
479
+
480
+ bool Compound_Selector::has_real_parent_ref() const
481
+ {
482
+ for (Simple_Selector_Obj s : *this) {
483
+ if (s && s->has_real_parent_ref()) return true;
484
+ }
485
+ return false;
486
+ }
487
+
488
+ bool Compound_Selector::is_superselector_of(const Selector_List* rhs, std::string wrapped) const
489
+ {
490
+ for (Complex_Selector_Obj item : rhs->elements()) {
491
+ if (is_superselector_of(item, wrapped)) return true;
492
+ }
493
+ return false;
494
+ }
495
+
496
+ bool Compound_Selector::is_superselector_of(const Complex_Selector* rhs, std::string wrapped) const
497
+ {
498
+ if (rhs->head()) return is_superselector_of(rhs->head(), wrapped);
499
+ return false;
500
+ }
501
+
502
+ bool Compound_Selector::is_superselector_of(const Compound_Selector* rhs, std::string wrapping) const
503
+ {
504
+ // Check if pseudo-elements are the same between the selectors
505
+ {
506
+ std::array<std::set<std::string>, 2> pseudosets;
507
+ std::array<const Compound_Selector*, 2> compounds = {{this, rhs}};
508
+ for (int i = 0; i < 2; ++i) {
509
+ for (const Simple_Selector_Obj& el : compounds[i]->elements()) {
510
+ if (el->is_pseudo_element()) {
511
+ std::string pseudo(el->to_string());
512
+ // strip off colons to ensure :after matches ::after since ruby sass is forgiving
513
+ pseudosets[i].insert(pseudo.substr(pseudo.find_first_not_of(":")));
514
+ }
515
+ }
516
+ }
517
+ if (pseudosets[0] != pseudosets[1]) return false;
518
+ }
519
+
520
+ {
521
+ const Simple_Selector* lbase = this->base();
522
+ const Simple_Selector* rbase = rhs->base();
523
+ if (lbase && rbase) {
524
+ return *lbase == *rbase &&
525
+ contains_all(std::unordered_set<const Simple_Selector*, HashPtr, ComparePtrs>(rhs->begin(), rhs->end()),
526
+ std::unordered_set<const Simple_Selector*, HashPtr, ComparePtrs>(this->begin(), this->end()));
527
+ }
528
+ }
529
+
530
+ std::unordered_set<const Selector*, HashPtr, ComparePtrs> lset;
531
+ for (size_t i = 0, iL = length(); i < iL; ++i)
532
+ {
533
+ const Selector* wlhs = (*this)[i].ptr();
534
+ // very special case for wrapped matches selector
535
+ if (const Wrapped_Selector* wrapped = Cast<Wrapped_Selector>(wlhs)) {
536
+ if (wrapped->name() == ":not") {
537
+ if (Selector_List_Obj not_list = Cast<Selector_List>(wrapped->selector())) {
538
+ if (not_list->is_superselector_of(rhs, wrapped->name())) return false;
539
+ } else {
540
+ throw std::runtime_error("wrapped not selector is not a list");
541
+ }
542
+ }
543
+ if (wrapped->name() == ":matches" || wrapped->name() == ":-moz-any") {
544
+ wlhs = wrapped->selector();
545
+ if (Selector_List_Obj list = Cast<Selector_List>(wrapped->selector())) {
546
+ if (const Compound_Selector* comp = Cast<Compound_Selector>(rhs)) {
547
+ if (!wrapping.empty() && wrapping != wrapped->name()) return false;
548
+ if (wrapping.empty() || wrapping != wrapped->name()) {;
549
+ if (list->is_superselector_of(comp, wrapped->name())) return true;
550
+ }
551
+ }
552
+ }
553
+ }
554
+ Simple_Selector* rhs_sel = nullptr;
555
+ if (rhs->elements().size() > i) rhs_sel = (*rhs)[i];
556
+ if (Wrapped_Selector* wrapped_r = Cast<Wrapped_Selector>(rhs_sel)) {
557
+ if (wrapped->name() == wrapped_r->name()) {
558
+ if (wrapped->is_superselector_of(wrapped_r)) {
559
+ continue;
560
+ }}
561
+ }
562
+ }
563
+ lset.insert(wlhs);
564
+ }
565
+
566
+ if (lset.empty()) return true;
567
+
568
+ std::unordered_set<const Selector*, HashPtr, ComparePtrs> rset;
569
+ for (size_t n = 0, nL = rhs->length(); n < nL; ++n)
570
+ {
571
+ Selector_Obj r = (*rhs)[n];
572
+ if (Wrapped_Selector_Obj wrapped = Cast<Wrapped_Selector>(r)) {
573
+ if (wrapped->name() == ":not") {
574
+ if (Selector_List_Obj ls = Cast<Selector_List>(wrapped->selector())) {
575
+ ls->remove_parent_selectors(); // unverified
576
+ if (is_superselector_of(ls, wrapped->name())) return false;
577
+ }
578
+ }
579
+ if (wrapped->name() == ":matches" || wrapped->name() == ":-moz-any") {
580
+ if (!wrapping.empty()) {
581
+ if (wrapping != wrapped->name()) return false;
582
+ }
583
+ if (Selector_List_Obj ls = Cast<Selector_List>(wrapped->selector())) {
584
+ ls->remove_parent_selectors(); // unverified
585
+ return (is_superselector_of(ls, wrapped->name()));
586
+ }
587
+ }
588
+ }
589
+ rset.insert(r);
590
+ }
591
+
592
+ return contains_all(rset, lset);
593
+ }
594
+
595
+ bool Compound_Selector::is_universal() const
596
+ {
597
+ return length() == 1 && (*this)[0]->is_universal();
598
+ }
599
+
600
+ // create complex selector (ancestor of) from compound selector
601
+ Complex_Selector_Obj Compound_Selector::to_complex()
602
+ {
603
+ // create an intermediate complex selector
604
+ return SASS_MEMORY_NEW(Complex_Selector,
605
+ pstate(),
606
+ Complex_Selector::ANCESTOR_OF,
607
+ this,
608
+ {});
609
+ }
610
+
611
+ Simple_Selector* Compound_Selector::base() const {
612
+ if (length() == 0) return 0;
613
+ // ToDo: why is this needed?
614
+ if (Cast<Type_Selector>((*this)[0]))
615
+ return (*this)[0];
616
+ return 0;
617
+ }
618
+
619
+ size_t Compound_Selector::hash() const
620
+ {
621
+ if (Selector::hash_ == 0) {
622
+ hash_combine(Selector::hash_, std::hash<int>()(SELECTOR));
623
+ if (length()) hash_combine(Selector::hash_, Vectorized::hash());
624
+ }
625
+ return Selector::hash_;
626
+ }
627
+
628
+ unsigned long Compound_Selector::specificity() const
629
+ {
630
+ int sum = 0;
631
+ for (size_t i = 0, L = length(); i < L; ++i)
632
+ { sum += (*this)[i]->specificity(); }
633
+ return sum;
634
+ }
635
+
636
+ bool Compound_Selector::has_placeholder()
637
+ {
638
+ if (length() == 0) return false;
639
+ if (Simple_Selector_Obj ss = elements().front()) {
640
+ if (ss->has_placeholder()) return true;
641
+ }
642
+ return false;
643
+ }
644
+
645
+ bool Compound_Selector::is_empty_reference()
646
+ {
647
+ return length() == 1 &&
648
+ Cast<Parent_Selector>((*this)[0]);
649
+ }
650
+
651
+ void Compound_Selector::append(Simple_Selector_Obj element)
652
+ {
653
+ Vectorized<Simple_Selector_Obj>::append(element);
654
+ pstate_.offset += element->pstate().offset;
655
+ }
656
+
657
+ Compound_Selector* Compound_Selector::minus(Compound_Selector* rhs)
658
+ {
659
+ Compound_Selector* result = SASS_MEMORY_NEW(Compound_Selector, pstate());
660
+ // result->has_parent_reference(has_parent_reference());
661
+
662
+ // not very efficient because it needs to preserve order
663
+ for (size_t i = 0, L = length(); i < L; ++i)
664
+ {
665
+ bool found = false;
666
+ for (size_t j = 0, M = rhs->length(); j < M; ++j)
667
+ {
668
+ if (*get(i) == *rhs->get(j))
669
+ {
670
+ found = true;
671
+ break;
672
+ }
673
+ }
674
+ if (!found) result->append(get(i));
675
+ }
676
+
677
+ return result;
678
+ }
679
+
680
+ void Compound_Selector::mergeSources(ComplexSelectorSet& sources)
681
+ {
682
+ for (ComplexSelectorSet::iterator iterator = sources.begin(), endIterator = sources.end(); iterator != endIterator; ++iterator) {
683
+ this->sources_.insert(SASS_MEMORY_CLONE(*iterator));
684
+ }
685
+ }
686
+
687
+ /////////////////////////////////////////////////////////////////////////
688
+ /////////////////////////////////////////////////////////////////////////
689
+
690
+ Complex_Selector::Complex_Selector(ParserState pstate,
691
+ Combinator c,
692
+ Compound_Selector_Obj h,
693
+ Complex_Selector_Obj t,
694
+ String_Obj r)
695
+ : Selector(pstate),
696
+ combinator_(c),
697
+ head_(h), tail_(t),
698
+ reference_(r)
699
+ {}
700
+ Complex_Selector::Complex_Selector(const Complex_Selector* ptr)
701
+ : Selector(ptr),
702
+ combinator_(ptr->combinator_),
703
+ head_(ptr->head_), tail_(ptr->tail_),
704
+ reference_(ptr->reference_)
705
+ {}
706
+
707
+ bool Complex_Selector::empty() const {
708
+ return (!tail() || tail()->empty())
709
+ && (!head() || head()->empty())
710
+ && combinator_ == ANCESTOR_OF;
711
+ }
712
+
713
+ Complex_Selector_Obj Complex_Selector::skip_empty_reference()
714
+ {
715
+ if ((!head_ || !head_->length() || head_->is_empty_reference()) &&
716
+ combinator() == Combinator::ANCESTOR_OF)
717
+ {
718
+ if (!tail_) return {};
719
+ tail_->has_line_feed_ = this->has_line_feed_;
720
+ // tail_->has_line_break_ = this->has_line_break_;
721
+ return tail_->skip_empty_reference();
722
+ }
723
+ return this;
724
+ }
725
+
726
+ bool Complex_Selector::is_empty_ancestor() const
727
+ {
728
+ return (!head() || head()->length() == 0) &&
729
+ combinator() == Combinator::ANCESTOR_OF;
730
+ }
731
+
732
+ size_t Complex_Selector::hash() const
733
+ {
734
+ if (hash_ == 0) {
735
+ if (head_) {
736
+ hash_combine(hash_, head_->hash());
737
+ } else {
738
+ hash_combine(hash_, std::hash<int>()(SELECTOR));
739
+ }
740
+ if (tail_) hash_combine(hash_, tail_->hash());
741
+ if (combinator_ != ANCESTOR_OF) hash_combine(hash_, std::hash<int>()(combinator_));
742
+ }
743
+ return hash_;
744
+ }
745
+
746
+ unsigned long Complex_Selector::specificity() const
747
+ {
748
+ int sum = 0;
749
+ if (head()) sum += head()->specificity();
750
+ if (tail()) sum += tail()->specificity();
751
+ return sum;
752
+ }
753
+
754
+ void Complex_Selector::set_media_block(Media_Block* mb) {
755
+ media_block(mb);
756
+ if (tail_) tail_->set_media_block(mb);
757
+ if (head_) head_->set_media_block(mb);
758
+ }
759
+
760
+ bool Complex_Selector::has_placeholder() {
761
+ if (head_ && head_->has_placeholder()) return true;
762
+ if (tail_ && tail_->has_placeholder()) return true;
763
+ return false;
764
+ }
765
+
766
+ const ComplexSelectorSet Complex_Selector::sources()
767
+ {
768
+ //s = Set.new
769
+ //seq.map {|sseq_or_op| s.merge sseq_or_op.sources if sseq_or_op.is_a?(SimpleSequence)}
770
+ //s
771
+
772
+ ComplexSelectorSet srcs;
773
+
774
+ Compound_Selector_Obj pHead = head();
775
+ Complex_Selector_Obj pTail = tail();
776
+
777
+ if (pHead) {
778
+ const ComplexSelectorSet& headSources = pHead->sources();
779
+ srcs.insert(headSources.begin(), headSources.end());
780
+ }
781
+
782
+ if (pTail) {
783
+ const ComplexSelectorSet& tailSources = pTail->sources();
784
+ srcs.insert(tailSources.begin(), tailSources.end());
785
+ }
786
+
787
+ return srcs;
788
+ }
789
+
790
+ void Complex_Selector::addSources(ComplexSelectorSet& sources)
791
+ {
792
+ // members.map! {|m| m.is_a?(SimpleSequence) ? m.with_more_sources(sources) : m}
793
+ Complex_Selector* pIter = this;
794
+ while (pIter) {
795
+ Compound_Selector* pHead = pIter->head();
796
+
797
+ if (pHead) {
798
+ pHead->mergeSources(sources);
799
+ }
800
+
801
+ pIter = pIter->tail();
802
+ }
803
+ }
804
+
805
+ void Complex_Selector::clearSources()
806
+ {
807
+ Complex_Selector* pIter = this;
808
+ while (pIter) {
809
+ Compound_Selector* pHead = pIter->head();
810
+
811
+ if (pHead) {
812
+ pHead->clearSources();
813
+ }
814
+
815
+ pIter = pIter->tail();
816
+ }
817
+ }
818
+
819
+ bool Complex_Selector::find ( bool (*f)(AST_Node_Obj) )
820
+ {
821
+ // check children first
822
+ if (head_ && head_->find(f)) return true;
823
+ if (tail_ && tail_->find(f)) return true;
824
+ // execute last
825
+ return f(this);
826
+ }
827
+
828
+ bool Complex_Selector::has_parent_ref() const
829
+ {
830
+ return (head() && head()->has_parent_ref()) ||
831
+ (tail() && tail()->has_parent_ref());
832
+ }
833
+
834
+ bool Complex_Selector::has_real_parent_ref() const
835
+ {
836
+ return (head() && head()->has_real_parent_ref()) ||
837
+ (tail() && tail()->has_real_parent_ref());
838
+ }
839
+
840
+ bool Complex_Selector::is_superselector_of(const Compound_Selector* rhs, std::string wrapping) const
841
+ {
842
+ return last()->head() && last()->head()->is_superselector_of(rhs, wrapping);
843
+ }
844
+
845
+ bool Complex_Selector::is_superselector_of(const Complex_Selector* rhs, std::string wrapping) const
846
+ {
847
+ const Complex_Selector* lhs = this;
848
+ // check for selectors with leading or trailing combinators
849
+ if (!lhs->head() || !rhs->head())
850
+ { return false; }
851
+ const Complex_Selector* l_innermost = lhs->last();
852
+ if (l_innermost->combinator() != Complex_Selector::ANCESTOR_OF)
853
+ { return false; }
854
+ const Complex_Selector* r_innermost = rhs->last();
855
+ if (r_innermost->combinator() != Complex_Selector::ANCESTOR_OF)
856
+ { return false; }
857
+ // more complex (i.e., longer) selectors are always more specific
858
+ size_t l_len = lhs->length(), r_len = rhs->length();
859
+ if (l_len > r_len)
860
+ { return false; }
861
+
862
+ if (l_len == 1)
863
+ { return lhs->head()->is_superselector_of(rhs->last()->head(), wrapping); }
864
+
865
+ // we have to look one tail deeper, since we cary the
866
+ // combinator around for it (which is important here)
867
+ if (rhs->tail() && lhs->tail() && combinator() != Complex_Selector::ANCESTOR_OF) {
868
+ Complex_Selector_Obj lhs_tail = lhs->tail();
869
+ Complex_Selector_Obj rhs_tail = rhs->tail();
870
+ if (lhs_tail->combinator() != rhs_tail->combinator()) return false;
871
+ if (lhs_tail->head() && !rhs_tail->head()) return false;
872
+ if (!lhs_tail->head() && rhs_tail->head()) return false;
873
+ if (lhs_tail->head() && rhs_tail->head()) {
874
+ if (!lhs_tail->head()->is_superselector_of(rhs_tail->head())) return false;
875
+ }
876
+ }
877
+
878
+ bool found = false;
879
+ const Complex_Selector* marker = rhs;
880
+ for (size_t i = 0, L = rhs->length(); i < L; ++i) {
881
+ if (i == L-1)
882
+ { return false; }
883
+ if (lhs->head() && marker->head() && lhs->head()->is_superselector_of(marker->head(), wrapping))
884
+ { found = true; break; }
885
+ marker = marker->tail();
886
+ }
887
+ if (!found)
888
+ { return false; }
889
+
890
+ /*
891
+ Hmm, I hope I have the logic right:
892
+
893
+ if lhs has a combinator:
894
+ if !(marker has a combinator) return false
895
+ if !(lhs.combinator == '~' ? marker.combinator != '>' : lhs.combinator == marker.combinator) return false
896
+ return lhs.tail-without-innermost.is_superselector_of(marker.tail-without-innermost)
897
+ else if marker has a combinator:
898
+ if !(marker.combinator == ">") return false
899
+ return lhs.tail.is_superselector_of(marker.tail)
900
+ else
901
+ return lhs.tail.is_superselector_of(marker.tail)
902
+ */
903
+ if (lhs->combinator() != Complex_Selector::ANCESTOR_OF)
904
+ {
905
+ if (marker->combinator() == Complex_Selector::ANCESTOR_OF)
906
+ { return false; }
907
+ if (!(lhs->combinator() == Complex_Selector::PRECEDES ? marker->combinator() != Complex_Selector::PARENT_OF : lhs->combinator() == marker->combinator()))
908
+ { return false; }
909
+ return lhs->tail()->is_superselector_of(marker->tail());
910
+ }
911
+ else if (marker->combinator() != Complex_Selector::ANCESTOR_OF)
912
+ {
913
+ if (marker->combinator() != Complex_Selector::PARENT_OF)
914
+ { return false; }
915
+ return lhs->tail()->is_superselector_of(marker->tail());
916
+ }
917
+ return lhs->tail()->is_superselector_of(marker->tail());
918
+ }
919
+
920
+ size_t Complex_Selector::length() const
921
+ {
922
+ // TODO: make this iterative
923
+ if (!tail()) return 1;
924
+ return 1 + tail()->length();
925
+ }
926
+
927
+ // append another complex selector at the end
928
+ // check if we need to append some headers
929
+ // then we need to check for the combinator
930
+ // only then we can safely set the new tail
931
+ void Complex_Selector::append(Complex_Selector_Obj ss, Backtraces& traces)
932
+ {
933
+
934
+ Complex_Selector_Obj t = ss->tail();
935
+ Combinator c = ss->combinator();
936
+ String_Obj r = ss->reference();
937
+ Compound_Selector_Obj h = ss->head();
938
+
939
+ if (ss->has_line_feed()) has_line_feed(true);
940
+ if (ss->has_line_break()) has_line_break(true);
941
+
942
+ // append old headers
943
+ if (h && h->length()) {
944
+ if (last()->combinator() != ANCESTOR_OF && c != ANCESTOR_OF) {
945
+ traces.push_back(Backtrace(pstate()));
946
+ throw Exception::InvalidParent(this, traces, ss);
947
+ } else if (last()->head_ && last()->head_->length()) {
948
+ Compound_Selector_Obj rh = last()->head();
949
+ size_t i;
950
+ size_t L = h->length();
951
+ if (Cast<Type_Selector>(h->first())) {
952
+ if (Class_Selector* cs = Cast<Class_Selector>(rh->last())) {
953
+ Class_Selector* sqs = SASS_MEMORY_COPY(cs);
954
+ sqs->name(sqs->name() + (*h)[0]->name());
955
+ sqs->pstate((*h)[0]->pstate());
956
+ (*rh)[rh->length()-1] = sqs;
957
+ rh->pstate(h->pstate());
958
+ for (i = 1; i < L; ++i) rh->append((*h)[i]);
959
+ } else if (Id_Selector* is = Cast<Id_Selector>(rh->last())) {
960
+ Id_Selector* sqs = SASS_MEMORY_COPY(is);
961
+ sqs->name(sqs->name() + (*h)[0]->name());
962
+ sqs->pstate((*h)[0]->pstate());
963
+ (*rh)[rh->length()-1] = sqs;
964
+ rh->pstate(h->pstate());
965
+ for (i = 1; i < L; ++i) rh->append((*h)[i]);
966
+ } else if (Type_Selector* ts = Cast<Type_Selector>(rh->last())) {
967
+ Type_Selector* tss = SASS_MEMORY_COPY(ts);
968
+ tss->name(tss->name() + (*h)[0]->name());
969
+ tss->pstate((*h)[0]->pstate());
970
+ (*rh)[rh->length()-1] = tss;
971
+ rh->pstate(h->pstate());
972
+ for (i = 1; i < L; ++i) rh->append((*h)[i]);
973
+ } else if (Placeholder_Selector* ps = Cast<Placeholder_Selector>(rh->last())) {
974
+ Placeholder_Selector* pss = SASS_MEMORY_COPY(ps);
975
+ pss->name(pss->name() + (*h)[0]->name());
976
+ pss->pstate((*h)[0]->pstate());
977
+ (*rh)[rh->length()-1] = pss;
978
+ rh->pstate(h->pstate());
979
+ for (i = 1; i < L; ++i) rh->append((*h)[i]);
980
+ } else {
981
+ last()->head_->concat(h);
982
+ }
983
+ } else {
984
+ last()->head_->concat(h);
985
+ }
986
+ } else if (last()->head_) {
987
+ last()->head_->concat(h);
988
+ }
989
+ } else {
990
+ // std::cerr << "has no or empty head\n";
991
+ }
992
+
993
+ Complex_Selector* last = mutable_last();
994
+ if (last) {
995
+ if (last->combinator() != ANCESTOR_OF && c != ANCESTOR_OF) {
996
+ Complex_Selector* inter = SASS_MEMORY_NEW(Complex_Selector, pstate());
997
+ inter->reference(r);
998
+ inter->combinator(c);
999
+ inter->tail(t);
1000
+ last->tail(inter);
1001
+ } else {
1002
+ if (last->combinator() == ANCESTOR_OF) {
1003
+ last->combinator(c);
1004
+ last->reference(r);
1005
+ }
1006
+ last->tail(t);
1007
+ }
1008
+ }
1009
+
1010
+ }
1011
+
1012
+ Selector_List* Complex_Selector::resolve_parent_refs(SelectorStack& pstack, Backtraces& traces, bool implicit_parent)
1013
+ {
1014
+ Complex_Selector_Obj tail = this->tail();
1015
+ Compound_Selector_Obj head = this->head();
1016
+ Selector_List* parents = pstack.back();
1017
+
1018
+ if (!this->has_real_parent_ref() && !implicit_parent) {
1019
+ Selector_List* retval = SASS_MEMORY_NEW(Selector_List, pstate(), 1);
1020
+ retval->append(this);
1021
+ return retval;
1022
+ }
1023
+
1024
+ // first resolve_parent_refs the tail (which may return an expanded list)
1025
+ Selector_List_Obj tails = tail ? tail->resolve_parent_refs(pstack, traces, implicit_parent) : 0;
1026
+
1027
+ if (head && head->length() > 0) {
1028
+
1029
+ Selector_List_Obj retval;
1030
+ // we have a parent selector in a simple compound list
1031
+ // mix parent complex selector into the compound list
1032
+ if (Cast<Parent_Selector>((*head)[0])) {
1033
+ retval = SASS_MEMORY_NEW(Selector_List, pstate());
1034
+
1035
+ // it turns out that real parent references reach
1036
+ // across @at-root rules, which comes unexpected
1037
+ if (parents == NULL && head->has_real_parent_ref()) {
1038
+ int i = pstack.size() - 1;
1039
+ while (!parents && i > -1) {
1040
+ parents = pstack.at(i--);
1041
+ }
1042
+ }
1043
+
1044
+ if (parents && parents->length()) {
1045
+ if (tails && tails->length() > 0) {
1046
+ for (size_t n = 0, nL = tails->length(); n < nL; ++n) {
1047
+ for (size_t i = 0, iL = parents->length(); i < iL; ++i) {
1048
+ Complex_Selector_Obj t = (*tails)[n];
1049
+ Complex_Selector_Obj parent = (*parents)[i];
1050
+ Complex_Selector_Obj s = SASS_MEMORY_CLONE(parent);
1051
+ Complex_Selector_Obj ss = SASS_MEMORY_CLONE(this);
1052
+ ss->tail(t ? SASS_MEMORY_CLONE(t) : NULL);
1053
+ Compound_Selector_Obj h = SASS_MEMORY_COPY(head_);
1054
+ // remove parent selector from sequence
1055
+ if (h->length()) {
1056
+ h->erase(h->begin());
1057
+ ss->head(h);
1058
+ } else {
1059
+ ss->head({});
1060
+ }
1061
+ // adjust for parent selector (1 char)
1062
+ // if (h->length()) {
1063
+ // ParserState state(h->at(0)->pstate());
1064
+ // state.offset.column += 1;
1065
+ // state.column -= 1;
1066
+ // (*h)[0]->pstate(state);
1067
+ // }
1068
+ // keep old parser state
1069
+ s->pstate(pstate());
1070
+ // append new tail
1071
+ s->append(ss, traces);
1072
+ retval->append(s);
1073
+ }
1074
+ }
1075
+ }
1076
+ // have no tails but parents
1077
+ // loop above is inside out
1078
+ else {
1079
+ for (size_t i = 0, iL = parents->length(); i < iL; ++i) {
1080
+ Complex_Selector_Obj parent = (*parents)[i];
1081
+ Complex_Selector_Obj s = SASS_MEMORY_CLONE(parent);
1082
+ Complex_Selector_Obj ss = SASS_MEMORY_CLONE(this);
1083
+ // this is only if valid if the parent has no trailing op
1084
+ // otherwise we cannot append more simple selectors to head
1085
+ if (parent->last()->combinator() != ANCESTOR_OF) {
1086
+ traces.push_back(Backtrace(pstate()));
1087
+ throw Exception::InvalidParent(parent, traces, ss);
1088
+ }
1089
+ ss->tail(tail ? SASS_MEMORY_CLONE(tail) : NULL);
1090
+ Compound_Selector_Obj h = SASS_MEMORY_COPY(head_);
1091
+ // remove parent selector from sequence
1092
+ if (h->length()) {
1093
+ h->erase(h->begin());
1094
+ ss->head(h);
1095
+ } else {
1096
+ ss->head({});
1097
+ }
1098
+ // \/ IMO ruby sass bug \/
1099
+ ss->has_line_feed(false);
1100
+ // adjust for parent selector (1 char)
1101
+ // if (h->length()) {
1102
+ // ParserState state(h->at(0)->pstate());
1103
+ // state.offset.column += 1;
1104
+ // state.column -= 1;
1105
+ // (*h)[0]->pstate(state);
1106
+ // }
1107
+ // keep old parser state
1108
+ s->pstate(pstate());
1109
+ // append new tail
1110
+ s->append(ss, traces);
1111
+ retval->append(s);
1112
+ }
1113
+ }
1114
+ }
1115
+ // have no parent but some tails
1116
+ else {
1117
+ if (tails && tails->length() > 0) {
1118
+ for (size_t n = 0, nL = tails->length(); n < nL; ++n) {
1119
+ Complex_Selector_Obj cpy = SASS_MEMORY_CLONE(this);
1120
+ cpy->tail(SASS_MEMORY_CLONE(tails->at(n)));
1121
+ cpy->head(SASS_MEMORY_NEW(Compound_Selector, head->pstate()));
1122
+ for (size_t i = 1, L = this->head()->length(); i < L; ++i)
1123
+ cpy->head()->append((*this->head())[i]);
1124
+ if (!cpy->head()->length()) cpy->head({});
1125
+ retval->append(cpy->skip_empty_reference());
1126
+ }
1127
+ }
1128
+ // have no parent nor tails
1129
+ else {
1130
+ Complex_Selector_Obj cpy = SASS_MEMORY_CLONE(this);
1131
+ cpy->head(SASS_MEMORY_NEW(Compound_Selector, head->pstate()));
1132
+ for (size_t i = 1, L = this->head()->length(); i < L; ++i)
1133
+ cpy->head()->append((*this->head())[i]);
1134
+ if (!cpy->head()->length()) cpy->head({});
1135
+ retval->append(cpy->skip_empty_reference());
1136
+ }
1137
+ }
1138
+ }
1139
+ // no parent selector in head
1140
+ else {
1141
+ retval = this->tails(tails);
1142
+ }
1143
+
1144
+ for (Simple_Selector_Obj ss : head->elements()) {
1145
+ if (Wrapped_Selector* ws = Cast<Wrapped_Selector>(ss)) {
1146
+ if (Selector_List* sl = Cast<Selector_List>(ws->selector())) {
1147
+ if (parents) ws->selector(sl->resolve_parent_refs(pstack, traces, implicit_parent));
1148
+ }
1149
+ }
1150
+ }
1151
+
1152
+ return retval.detach();
1153
+
1154
+ }
1155
+ // has no head
1156
+ return this->tails(tails);
1157
+ }
1158
+
1159
+ Selector_List* Complex_Selector::tails(Selector_List* tails)
1160
+ {
1161
+ Selector_List* rv = SASS_MEMORY_NEW(Selector_List, pstate_);
1162
+ if (tails && tails->length()) {
1163
+ for (size_t i = 0, iL = tails->length(); i < iL; ++i) {
1164
+ Complex_Selector_Obj pr = SASS_MEMORY_CLONE(this);
1165
+ pr->tail(tails->at(i));
1166
+ rv->append(pr);
1167
+ }
1168
+ }
1169
+ else {
1170
+ rv->append(this);
1171
+ }
1172
+ return rv;
1173
+ }
1174
+
1175
+ // return the last tail that is defined
1176
+ const Complex_Selector* Complex_Selector::first() const
1177
+ {
1178
+ // declare variables used in loop
1179
+ const Complex_Selector* cur = this;
1180
+ const Compound_Selector* head;
1181
+ // processing loop
1182
+ while (cur)
1183
+ {
1184
+ // get the head
1185
+ head = cur->head_.ptr();
1186
+ // abort (and return) if it is not a parent selector
1187
+ if (!head || head->length() != 1 || !Cast<Parent_Selector>((*head)[0])) {
1188
+ break;
1189
+ }
1190
+ // advance to next
1191
+ cur = cur->tail_;
1192
+ }
1193
+ // result
1194
+ return cur;
1195
+ }
1196
+
1197
+ Complex_Selector* Complex_Selector::mutable_first()
1198
+ {
1199
+ return const_cast<Complex_Selector*>(first());
1200
+ }
1201
+
1202
+ // return the last tail that is defined
1203
+ const Complex_Selector* Complex_Selector::last() const
1204
+ {
1205
+ const Complex_Selector* cur = this;
1206
+ const Complex_Selector* nxt = cur;
1207
+ // loop until last
1208
+ while (nxt) {
1209
+ cur = nxt;
1210
+ nxt = cur->tail_.ptr();
1211
+ }
1212
+ return cur;
1213
+ }
1214
+
1215
+ Complex_Selector* Complex_Selector::mutable_last()
1216
+ {
1217
+ return const_cast<Complex_Selector*>(last());
1218
+ }
1219
+
1220
+ Complex_Selector::Combinator Complex_Selector::clear_innermost()
1221
+ {
1222
+ Combinator c;
1223
+ if (!tail() || tail()->tail() == nullptr)
1224
+ { c = combinator(); combinator(ANCESTOR_OF); tail({}); }
1225
+ else
1226
+ { c = tail_->clear_innermost(); }
1227
+ return c;
1228
+ }
1229
+
1230
+ void Complex_Selector::set_innermost(Complex_Selector_Obj val, Combinator c)
1231
+ {
1232
+ if (!tail_)
1233
+ { tail_ = val; combinator(c); }
1234
+ else
1235
+ { tail_->set_innermost(val, c); }
1236
+ }
1237
+
1238
+ void Complex_Selector::cloneChildren()
1239
+ {
1240
+ if (head()) head(SASS_MEMORY_CLONE(head()));
1241
+ if (tail()) tail(SASS_MEMORY_CLONE(tail()));
1242
+ }
1243
+
1244
+ // it's a superselector if every selector of the right side
1245
+ // list is a superselector of the given left side selector
1246
+ bool Complex_Selector::is_superselector_of(const Selector_List* sub, std::string wrapping) const
1247
+ {
1248
+ // Check every rhs selector against left hand list
1249
+ for(size_t i = 0, L = sub->length(); i < L; ++i) {
1250
+ if (!is_superselector_of((*sub)[i], wrapping)) return false;
1251
+ }
1252
+ return true;
1253
+ }
1254
+
1255
+ /////////////////////////////////////////////////////////////////////////
1256
+ /////////////////////////////////////////////////////////////////////////
1257
+
1258
+ Selector_List::Selector_List(ParserState pstate, size_t s)
1259
+ : Selector(pstate),
1260
+ Vectorized<Complex_Selector_Obj>(s),
1261
+ schema_({}),
1262
+ wspace_(0)
1263
+ { }
1264
+ Selector_List::Selector_List(const Selector_List* ptr)
1265
+ : Selector(ptr),
1266
+ Vectorized<Complex_Selector_Obj>(*ptr),
1267
+ schema_(ptr->schema_),
1268
+ wspace_(ptr->wspace_)
1269
+ { }
1270
+
1271
+ bool Selector_List::find ( bool (*f)(AST_Node_Obj) )
1272
+ {
1273
+ // check children first
1274
+ for (Complex_Selector_Obj sel : elements()) {
1275
+ if (sel->find(f)) return true;
1276
+ }
1277
+ // execute last
1278
+ return f(this);
1279
+ }
1280
+
1281
+ Selector_List_Obj Selector_List::eval(Eval& eval)
1282
+ {
1283
+ Selector_List_Obj list = schema() ?
1284
+ eval(schema()) : eval(this);
1285
+ list->schema(schema());
1286
+ return list;
1287
+ }
1288
+
1289
+ Selector_List* Selector_List::resolve_parent_refs(SelectorStack& pstack, Backtraces& traces, bool implicit_parent)
1290
+ {
1291
+ if (!this->has_parent_ref()) return this;
1292
+ Selector_List* ss = SASS_MEMORY_NEW(Selector_List, pstate());
1293
+ for (size_t si = 0, sL = this->length(); si < sL; ++si) {
1294
+ Selector_List_Obj rv = at(si)->resolve_parent_refs(pstack, traces, implicit_parent);
1295
+ ss->concat(rv);
1296
+ }
1297
+ return ss;
1298
+ }
1299
+
1300
+ void Selector_List::cloneChildren()
1301
+ {
1302
+ for (size_t i = 0, l = length(); i < l; i++) {
1303
+ at(i) = SASS_MEMORY_CLONE(at(i));
1304
+ }
1305
+ }
1306
+
1307
+ // remove parent selector references
1308
+ // basically unwraps parsed selectors
1309
+ void Selector_List::remove_parent_selectors()
1310
+ {
1311
+ // Check every rhs selector against left hand list
1312
+ for(size_t i = 0, L = length(); i < L; ++i) {
1313
+ if (!(*this)[i]->head()) continue;
1314
+ if ((*this)[i]->head()->is_empty_reference()) {
1315
+ // simply move to the next tail if we have "no" combinator
1316
+ if ((*this)[i]->combinator() == Complex_Selector::ANCESTOR_OF) {
1317
+ if ((*this)[i]->tail()) {
1318
+ if ((*this)[i]->has_line_feed()) {
1319
+ (*this)[i]->tail()->has_line_feed(true);
1320
+ }
1321
+ (*this)[i] = (*this)[i]->tail();
1322
+ }
1323
+ }
1324
+ // otherwise remove the first item from head
1325
+ else {
1326
+ (*this)[i]->head()->erase((*this)[i]->head()->begin());
1327
+ }
1328
+ }
1329
+ }
1330
+ }
1331
+
1332
+ bool Selector_List::has_parent_ref() const
1333
+ {
1334
+ for (Complex_Selector_Obj s : elements()) {
1335
+ if (s && s->has_parent_ref()) return true;
1336
+ }
1337
+ return false;
1338
+ }
1339
+
1340
+ bool Selector_List::has_real_parent_ref() const
1341
+ {
1342
+ for (Complex_Selector_Obj s : elements()) {
1343
+ if (s && s->has_real_parent_ref()) return true;
1344
+ }
1345
+ return false;
1346
+ }
1347
+
1348
+ void Selector_List::adjust_after_pushing(Complex_Selector_Obj c)
1349
+ {
1350
+ // if (c->has_reference()) has_reference(true);
1351
+ }
1352
+
1353
+ // it's a superselector if every selector of the right side
1354
+ // list is a superselector of the given left side selector
1355
+ bool Selector_List::is_superselector_of(const Selector_List* sub, std::string wrapping) const
1356
+ {
1357
+ // Check every rhs selector against left hand list
1358
+ for(size_t i = 0, L = sub->length(); i < L; ++i) {
1359
+ if (!is_superselector_of((*sub)[i], wrapping)) return false;
1360
+ }
1361
+ return true;
1362
+ }
1363
+
1364
+ // it's a superselector if every selector on the right side
1365
+ // is a superselector of any one of the left side selectors
1366
+ bool Selector_List::is_superselector_of(const Compound_Selector* sub, std::string wrapping) const
1367
+ {
1368
+ // Check every lhs selector against right hand
1369
+ for(size_t i = 0, L = length(); i < L; ++i) {
1370
+ if ((*this)[i]->is_superselector_of(sub, wrapping)) return true;
1371
+ }
1372
+ return false;
1373
+ }
1374
+
1375
+ // it's a superselector if every selector on the right side
1376
+ // is a superselector of any one of the left side selectors
1377
+ bool Selector_List::is_superselector_of(const Complex_Selector* sub, std::string wrapping) const
1378
+ {
1379
+ // Check every lhs selector against right hand
1380
+ for(size_t i = 0, L = length(); i < L; ++i) {
1381
+ if ((*this)[i]->is_superselector_of(sub)) return true;
1382
+ }
1383
+ return false;
1384
+ }
1385
+
1386
+ void Selector_List::populate_extends(Selector_List_Obj extendee, Subset_Map& extends)
1387
+ {
1388
+
1389
+ Selector_List* extender = this;
1390
+ for (auto complex_sel : extendee->elements()) {
1391
+ Complex_Selector_Obj c = complex_sel;
1392
+
1393
+
1394
+ // Ignore any parent selectors, until we find the first non Selectorerence head
1395
+ Compound_Selector_Obj compound_sel = c->head();
1396
+ Complex_Selector_Obj pIter = complex_sel;
1397
+ while (pIter) {
1398
+ Compound_Selector_Obj pHead = pIter->head();
1399
+ if (pHead && Cast<Parent_Selector>(pHead->elements()[0]) == NULL) {
1400
+ compound_sel = pHead;
1401
+ break;
1402
+ }
1403
+
1404
+ pIter = pIter->tail();
1405
+ }
1406
+
1407
+ if (!pIter->head() || pIter->tail()) {
1408
+ coreError("nested selectors may not be extended", c->pstate());
1409
+ }
1410
+
1411
+ compound_sel->is_optional(extendee->is_optional());
1412
+
1413
+ for (size_t i = 0, L = extender->length(); i < L; ++i) {
1414
+ extends.put(compound_sel, std::make_pair((*extender)[i], compound_sel));
1415
+ }
1416
+ }
1417
+ };
1418
+
1419
+ size_t Selector_List::hash() const
1420
+ {
1421
+ if (Selector::hash_ == 0) {
1422
+ if (empty()) {
1423
+ hash_combine(Selector::hash_, std::hash<int>()(SELECTOR));
1424
+ } else {
1425
+ hash_combine(Selector::hash_, Vectorized::hash());
1426
+ }
1427
+ }
1428
+ return Selector::hash_;
1429
+ }
1430
+
1431
+ unsigned long Selector_List::specificity() const
1432
+ {
1433
+ unsigned long sum = 0;
1434
+ unsigned long specificity;
1435
+ for (size_t i = 0, L = length(); i < L; ++i)
1436
+ {
1437
+ specificity = (*this)[i]->specificity();
1438
+ if (sum < specificity) sum = specificity;
1439
+ }
1440
+ return sum;
1441
+ }
1442
+
1443
+ void Selector_List::set_media_block(Media_Block* mb)
1444
+ {
1445
+ media_block(mb);
1446
+ for (Complex_Selector_Obj cs : elements()) {
1447
+ cs->set_media_block(mb);
1448
+ }
1449
+ }
1450
+
1451
+ bool Selector_List::has_placeholder()
1452
+ {
1453
+ for (Complex_Selector_Obj cs : elements()) {
1454
+ if (cs->has_placeholder()) return true;
1455
+ }
1456
+ return false;
1457
+ }
1458
+
1459
+ /////////////////////////////////////////////////////////////////////////
1460
+ /////////////////////////////////////////////////////////////////////////
1461
+
1462
+ IMPLEMENT_AST_OPERATORS(Selector_Schema);
1463
+ IMPLEMENT_AST_OPERATORS(Placeholder_Selector);
1464
+ IMPLEMENT_AST_OPERATORS(Parent_Selector);
1465
+ IMPLEMENT_AST_OPERATORS(Attribute_Selector);
1466
+ IMPLEMENT_AST_OPERATORS(Compound_Selector);
1467
+ IMPLEMENT_AST_OPERATORS(Complex_Selector);
1468
+ IMPLEMENT_AST_OPERATORS(Type_Selector);
1469
+ IMPLEMENT_AST_OPERATORS(Class_Selector);
1470
+ IMPLEMENT_AST_OPERATORS(Id_Selector);
1471
+ IMPLEMENT_AST_OPERATORS(Pseudo_Selector);
1472
+ IMPLEMENT_AST_OPERATORS(Wrapped_Selector);
1473
+ IMPLEMENT_AST_OPERATORS(Selector_List);
1474
+
1475
+ }