brut 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (375) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/brutrb.com/.vitepress/config.mjs +4 -2
  4. data/brutrb.com/.vitepress/theme/style.css +16 -38
  5. data/brutrb.com/adrs.md +15 -0
  6. data/brutrb.com/dev-environment.md +6 -1
  7. data/brutrb.com/doc-conventions.md +1 -2
  8. data/brutrb.com/images/DevEnvironment.graffle +0 -0
  9. data/brutrb.com/images/DevEnvironment.png +0 -0
  10. data/brutrb.com/index.md +0 -3
  11. data/brutrb.com/overview.md +2 -2
  12. data/brutrb.com/roadmap.md +57 -0
  13. data/brutrb.com/tutorial.md +5 -1
  14. data/docs/404.html +4 -4
  15. data/docs/{not-released.html → adrs.html} +8 -8
  16. data/docs/ai.html +6 -6
  17. data/docs/api/Brut/BackEnd/SeedData.html +1 -1
  18. data/docs/api/Brut/BackEnd/Sidekiq/Middlewares/Server/FlushSpans.html +1 -1
  19. data/docs/api/Brut/BackEnd/Sidekiq/Middlewares/Server.html +1 -1
  20. data/docs/api/Brut/BackEnd/Sidekiq/Middlewares.html +1 -1
  21. data/docs/api/Brut/BackEnd/Sidekiq.html +1 -1
  22. data/docs/api/Brut/BackEnd/Validators/FormValidator.html +1 -1
  23. data/docs/api/Brut/BackEnd/Validators.html +1 -1
  24. data/docs/api/Brut/BackEnd.html +1 -1
  25. data/docs/api/Brut/CLI/App.html +1 -1
  26. data/docs/api/Brut/CLI/AppRunner.html +1 -1
  27. data/docs/api/Brut/CLI/Apps/BuildAssets/All.html +1 -1
  28. data/docs/api/Brut/CLI/Apps/BuildAssets/CSS.html +1 -1
  29. data/docs/api/Brut/CLI/Apps/BuildAssets/Images.html +1 -1
  30. data/docs/api/Brut/CLI/Apps/BuildAssets/JS.html +1 -1
  31. data/docs/api/Brut/CLI/Apps/BuildAssets.html +1 -1
  32. data/docs/api/Brut/CLI/Apps/DB/Create.html +1 -1
  33. data/docs/api/Brut/CLI/Apps/DB/Drop.html +1 -1
  34. data/docs/api/Brut/CLI/Apps/DB/Migrate.html +1 -1
  35. data/docs/api/Brut/CLI/Apps/DB/NewMigration.html +1 -1
  36. data/docs/api/Brut/CLI/Apps/DB/Rebuild.html +1 -1
  37. data/docs/api/Brut/CLI/Apps/DB/Seed.html +1 -1
  38. data/docs/api/Brut/CLI/Apps/DB/Status.html +1 -1
  39. data/docs/api/Brut/CLI/Apps/DB.html +1 -1
  40. data/docs/api/Brut/CLI/Apps/DeployBase/GitChecks.html +1 -1
  41. data/docs/api/Brut/CLI/Apps/DeployBase.html +1 -1
  42. data/docs/api/Brut/CLI/Apps/HerokuContainerBasedDeploy/Deploy.html +1 -1
  43. data/docs/api/Brut/CLI/Apps/HerokuContainerBasedDeploy.html +1 -1
  44. data/docs/api/Brut/CLI/Apps/Scaffold/Action/Route.html +1 -1
  45. data/docs/api/Brut/CLI/Apps/Scaffold/Action.html +1 -1
  46. data/docs/api/Brut/CLI/Apps/Scaffold/Component.html +3 -3
  47. data/docs/api/Brut/CLI/Apps/Scaffold/CustomElementTest.html +1 -1
  48. data/docs/api/Brut/CLI/Apps/Scaffold/E2ETest.html +1 -1
  49. data/docs/api/Brut/CLI/Apps/Scaffold/Form.html +1 -1
  50. data/docs/api/Brut/CLI/Apps/Scaffold/Page/Route.html +1 -1
  51. data/docs/api/Brut/CLI/Apps/Scaffold/Page.html +2 -2
  52. data/docs/api/Brut/CLI/Apps/Scaffold/RoutesEditor.html +1 -1
  53. data/docs/api/Brut/CLI/Apps/Scaffold/Test.html +1 -1
  54. data/docs/api/Brut/CLI/Apps/Scaffold.html +1 -1
  55. data/docs/api/Brut/CLI/Apps/Test/Audit.html +1 -1
  56. data/docs/api/Brut/CLI/Apps/Test/E2e.html +1 -1
  57. data/docs/api/Brut/CLI/Apps/Test/JS.html +6 -6
  58. data/docs/api/Brut/CLI/Apps/Test/Run.html +1 -1
  59. data/docs/api/Brut/CLI/Apps/Test.html +2 -2
  60. data/docs/api/Brut/CLI/Apps.html +1 -1
  61. data/docs/api/Brut/CLI/Command.html +3 -3
  62. data/docs/api/Brut/CLI/Error.html +1 -1
  63. data/docs/api/Brut/CLI/ExecutionResults/Result.html +1 -1
  64. data/docs/api/Brut/CLI/ExecutionResults.html +1 -1
  65. data/docs/api/Brut/CLI/Executor.html +1 -1
  66. data/docs/api/Brut/CLI/InvalidOption.html +1 -1
  67. data/docs/api/Brut/CLI/Options.html +1 -1
  68. data/docs/api/Brut/CLI/Output.html +1 -1
  69. data/docs/api/Brut/CLI/SystemExecError.html +1 -1
  70. data/docs/api/Brut/CLI.html +1 -1
  71. data/docs/api/Brut/FactoryBot.html +1 -1
  72. data/docs/api/Brut/Framework/App.html +1 -1
  73. data/docs/api/Brut/Framework/Config.html +1 -1
  74. data/docs/api/Brut/Framework/Container.html +1 -1
  75. data/docs/api/Brut/Framework/Error.html +1 -1
  76. data/docs/api/Brut/Framework/Errors/AbstractMethod.html +1 -1
  77. data/docs/api/Brut/Framework/Errors/Bug.html +1 -1
  78. data/docs/api/Brut/Framework/Errors/MissingConfiguration.html +1 -1
  79. data/docs/api/Brut/Framework/Errors/MissingParameter.html +1 -1
  80. data/docs/api/Brut/Framework/Errors/NoClassForPath.html +1 -1
  81. data/docs/api/Brut/Framework/Errors/NotFound.html +1 -1
  82. data/docs/api/Brut/Framework/Errors/NotImplemented.html +1 -1
  83. data/docs/api/Brut/Framework/Errors.html +1 -1
  84. data/docs/api/Brut/Framework/FussyTypeEnforcement.html +1 -1
  85. data/docs/api/Brut/Framework/MCP.html +1 -1
  86. data/docs/api/Brut/Framework/ProjectEnvironment.html +1 -1
  87. data/docs/api/Brut/Framework.html +1 -1
  88. data/docs/api/Brut/FrontEnd/AssetPathResolver.html +1 -1
  89. data/docs/api/Brut/FrontEnd/Component/Helpers.html +1 -1
  90. data/docs/api/Brut/FrontEnd/Component.html +1 -1
  91. data/docs/api/Brut/FrontEnd/Components/ConstraintViolations.html +1 -1
  92. data/docs/api/Brut/FrontEnd/Components/FormTag.html +1 -1
  93. data/docs/api/Brut/FrontEnd/Components/I18nTranslations.html +1 -1
  94. data/docs/api/Brut/FrontEnd/Components/Input.html +1 -1
  95. data/docs/api/Brut/FrontEnd/Components/Inputs/CsrfToken.html +1 -1
  96. data/docs/api/Brut/FrontEnd/Components/Inputs/InputTag.html +1 -1
  97. data/docs/api/Brut/FrontEnd/Components/Inputs/RadioButton.html +1 -1
  98. data/docs/api/Brut/FrontEnd/Components/Inputs/SelectTagWithOptions.html +3 -3
  99. data/docs/api/Brut/FrontEnd/Components/Inputs/TextareaTag.html +1 -1
  100. data/docs/api/Brut/FrontEnd/Components/Inputs.html +1 -1
  101. data/docs/api/Brut/FrontEnd/Components/LocaleDetection.html +1 -1
  102. data/docs/api/Brut/FrontEnd/Components/PageIdentifier.html +1 -1
  103. data/docs/api/Brut/FrontEnd/Components/TimeTag.html +1 -1
  104. data/docs/api/Brut/FrontEnd/Components/Traceparent.html +1 -1
  105. data/docs/api/Brut/FrontEnd/Components.html +1 -1
  106. data/docs/api/Brut/FrontEnd/Download.html +1 -1
  107. data/docs/api/Brut/FrontEnd/Flash.html +1 -1
  108. data/docs/api/Brut/FrontEnd/Form.html +1 -1
  109. data/docs/api/Brut/FrontEnd/Forms/ConstraintViolation.html +1 -1
  110. data/docs/api/Brut/FrontEnd/Forms/Input/Color.html +1 -1
  111. data/docs/api/Brut/FrontEnd/Forms/Input/TimeOfDay.html +1 -1
  112. data/docs/api/Brut/FrontEnd/Forms/Input.html +1 -1
  113. data/docs/api/Brut/FrontEnd/Forms/InputDeclarations.html +1 -1
  114. data/docs/api/Brut/FrontEnd/Forms/InputDefinition.html +1 -1
  115. data/docs/api/Brut/FrontEnd/Forms/RadioButtonGroupInput.html +1 -1
  116. data/docs/api/Brut/FrontEnd/Forms/RadioButtonGroupInputDefinition.html +1 -1
  117. data/docs/api/Brut/FrontEnd/Forms/SelectInput.html +1 -1
  118. data/docs/api/Brut/FrontEnd/Forms/SelectInputDefinition.html +1 -1
  119. data/docs/api/Brut/FrontEnd/Forms/ValidityState.html +1 -1
  120. data/docs/api/Brut/FrontEnd/Forms.html +1 -1
  121. data/docs/api/Brut/FrontEnd/GenericResponse.html +1 -1
  122. data/docs/api/Brut/FrontEnd/Handler.html +1 -1
  123. data/docs/api/Brut/FrontEnd/Handlers/CspReportingHandler.html +1 -1
  124. data/docs/api/Brut/FrontEnd/Handlers/InstrumentationHandler/TraceParent.html +1 -1
  125. data/docs/api/Brut/FrontEnd/Handlers/InstrumentationHandler.html +1 -1
  126. data/docs/api/Brut/FrontEnd/Handlers/LocaleDetectionHandler.html +1 -1
  127. data/docs/api/Brut/FrontEnd/Handlers/MissingHandler/Form.html +1 -1
  128. data/docs/api/Brut/FrontEnd/Handlers/MissingHandler.html +1 -1
  129. data/docs/api/Brut/FrontEnd/Handlers.html +1 -1
  130. data/docs/api/Brut/FrontEnd/HandlingResults.html +1 -1
  131. data/docs/api/Brut/FrontEnd/HttpMethod.html +1 -1
  132. data/docs/api/Brut/FrontEnd/HttpStatus.html +1 -1
  133. data/docs/api/Brut/FrontEnd/InlineSvgLocator.html +1 -1
  134. data/docs/api/Brut/FrontEnd/Layout.html +1 -1
  135. data/docs/api/Brut/FrontEnd/Middleware.html +1 -1
  136. data/docs/api/Brut/FrontEnd/Middlewares/AnnotateBrutOwnedPaths.html +1 -1
  137. data/docs/api/Brut/FrontEnd/Middlewares/Favicon.html +1 -1
  138. data/docs/api/Brut/FrontEnd/Middlewares/OpenTelemetrySpan.html +1 -1
  139. data/docs/api/Brut/FrontEnd/Middlewares/ReloadApp.html +1 -1
  140. data/docs/api/Brut/FrontEnd/Middlewares.html +1 -1
  141. data/docs/api/Brut/FrontEnd/Page.html +1 -1
  142. data/docs/api/Brut/FrontEnd/Pages/MissingPage.html +2 -2
  143. data/docs/api/Brut/FrontEnd/Pages.html +1 -1
  144. data/docs/api/Brut/FrontEnd/RequestContext.html +1 -1
  145. data/docs/api/Brut/FrontEnd/RouteHook.html +1 -1
  146. data/docs/api/Brut/FrontEnd/RouteHooks/AgeFlash.html +1 -1
  147. data/docs/api/Brut/FrontEnd/RouteHooks/CSPNoInlineScripts.html +1 -1
  148. data/docs/api/Brut/FrontEnd/RouteHooks/CSPNoInlineStylesOrScripts/ReportOnly.html +1 -1
  149. data/docs/api/Brut/FrontEnd/RouteHooks/CSPNoInlineStylesOrScripts.html +1 -1
  150. data/docs/api/Brut/FrontEnd/RouteHooks/LocaleDetection.html +1 -1
  151. data/docs/api/Brut/FrontEnd/RouteHooks/SetupRequestContext.html +1 -1
  152. data/docs/api/Brut/FrontEnd/RouteHooks.html +1 -1
  153. data/docs/api/Brut/FrontEnd/Routing/FormHandlerRoute.html +1 -1
  154. data/docs/api/Brut/FrontEnd/Routing/FormRoute.html +1 -1
  155. data/docs/api/Brut/FrontEnd/Routing/MissingForm.html +1 -1
  156. data/docs/api/Brut/FrontEnd/Routing/MissingHandler.html +1 -1
  157. data/docs/api/Brut/FrontEnd/Routing/MissingPage.html +1 -1
  158. data/docs/api/Brut/FrontEnd/Routing/MissingPath.html +1 -1
  159. data/docs/api/Brut/FrontEnd/Routing/PageRoute.html +1 -1
  160. data/docs/api/Brut/FrontEnd/Routing/Route.html +1 -1
  161. data/docs/api/Brut/FrontEnd/Routing.html +1 -1
  162. data/docs/api/Brut/FrontEnd/Session.html +1 -1
  163. data/docs/api/Brut/FrontEnd.html +1 -1
  164. data/docs/api/Brut/I18n/BaseMethods.html +1 -1
  165. data/docs/api/Brut/I18n/ForBackEnd.html +1 -1
  166. data/docs/api/Brut/I18n/ForCLI.html +1 -1
  167. data/docs/api/Brut/I18n/ForHTML.html +1 -1
  168. data/docs/api/Brut/I18n/HTTPAcceptLanguage/AlwaysEnglish.html +1 -1
  169. data/docs/api/Brut/I18n/HTTPAcceptLanguage.html +1 -1
  170. data/docs/api/Brut/I18n.html +1 -1
  171. data/docs/api/Brut/Instrumentation/LoggerSpanExporter.html +1 -1
  172. data/docs/api/Brut/Instrumentation/OpenTelemetry/NormalizedAttributes.html +1 -1
  173. data/docs/api/Brut/Instrumentation/OpenTelemetry/Span.html +1 -1
  174. data/docs/api/Brut/Instrumentation/OpenTelemetry.html +1 -1
  175. data/docs/api/Brut/Instrumentation.html +1 -1
  176. data/docs/api/Brut/SinatraHelpers/ClassMethods.html +1 -1
  177. data/docs/api/Brut/SinatraHelpers.html +1 -1
  178. data/docs/api/Brut/SpecSupport/ClockSupport.html +1 -1
  179. data/docs/api/Brut/SpecSupport/ComponentSupport.html +1 -1
  180. data/docs/api/Brut/SpecSupport/E2ETestServer.html +1 -1
  181. data/docs/api/Brut/SpecSupport/E2eSupport.html +1 -1
  182. data/docs/api/Brut/SpecSupport/EnhancedNode.html +1 -1
  183. data/docs/api/Brut/SpecSupport/FlashSupport.html +1 -1
  184. data/docs/api/Brut/SpecSupport/GeneralSupport/ClassMethods.html +1 -1
  185. data/docs/api/Brut/SpecSupport/GeneralSupport.html +1 -1
  186. data/docs/api/Brut/SpecSupport/HandlerSupport.html +1 -1
  187. data/docs/api/Brut/SpecSupport/Matchers/BeABug.html +1 -1
  188. data/docs/api/Brut/SpecSupport/Matchers/BePageFor.html +1 -1
  189. data/docs/api/Brut/SpecSupport/Matchers/BeRoutingFor.html +1 -1
  190. data/docs/api/Brut/SpecSupport/Matchers/HaveConstraintViolation.html +1 -1
  191. data/docs/api/Brut/SpecSupport/Matchers/HaveGenerated.html +1 -1
  192. data/docs/api/Brut/SpecSupport/Matchers/HaveHTMLAttribute.html +1 -1
  193. data/docs/api/Brut/SpecSupport/Matchers/HaveI18nString.html +1 -1
  194. data/docs/api/Brut/SpecSupport/Matchers/HaveLinkTo.html +1 -1
  195. data/docs/api/Brut/SpecSupport/Matchers/HaveRedirectedTo.html +1 -1
  196. data/docs/api/Brut/SpecSupport/Matchers/HaveReturnedHttpStatus.html +1 -1
  197. data/docs/api/Brut/SpecSupport/Matchers/HaveReturnedRackResponse.html +1 -1
  198. data/docs/api/Brut/SpecSupport/Matchers.html +1 -1
  199. data/docs/api/Brut/SpecSupport/RSpecSetup/OptionalSidekiqSupport.html +1 -1
  200. data/docs/api/Brut/SpecSupport/RSpecSetup.html +1 -1
  201. data/docs/api/Brut/SpecSupport/SessionSupport.html +1 -1
  202. data/docs/api/Brut/SpecSupport.html +1 -1
  203. data/docs/api/Brut.html +1 -1
  204. data/docs/api/Clock.html +1 -1
  205. data/docs/api/RichString.html +150 -343
  206. data/docs/api/SemanticLogger/Appender/Async.html +1 -1
  207. data/docs/api/Sequel/Extensions/BrutInstrumentation.html +1 -1
  208. data/docs/api/Sequel/Extensions/BrutMigrations.html +1 -1
  209. data/docs/api/Sequel/Extensions.html +1 -1
  210. data/docs/api/Sequel/Plugins/CreatedAt/InstanceMethods.html +1 -1
  211. data/docs/api/Sequel/Plugins/CreatedAt.html +1 -1
  212. data/docs/api/Sequel/Plugins/ExternalId/ClassMethods.html +1 -1
  213. data/docs/api/Sequel/Plugins/ExternalId/InstanceMethods.html +1 -1
  214. data/docs/api/Sequel/Plugins/ExternalId.html +1 -1
  215. data/docs/api/Sequel/Plugins/FindBang/ClassMethods.html +1 -1
  216. data/docs/api/Sequel/Plugins/FindBang.html +1 -1
  217. data/docs/api/Sequel/Plugins.html +1 -1
  218. data/docs/api/Sequel.html +1 -1
  219. data/docs/api/_index.html +5 -5
  220. data/docs/api/class_list.html +1 -1
  221. data/docs/api/file.README.html +1 -1
  222. data/docs/api/index.html +1 -1
  223. data/docs/api/method_list.html +281 -313
  224. data/docs/api/top-level-namespace.html +1 -1
  225. data/docs/assets/DevEnvironment.DaFcVfwP.png +0 -0
  226. data/docs/assets/adrs.md.JRxZ5uYE.js +1 -0
  227. data/docs/assets/adrs.md.JRxZ5uYE.lean.js +1 -0
  228. data/docs/assets/{app.ClaS47Ru.js → app.Dm3x-DQc.js} +1 -1
  229. data/docs/assets/chunks/@localSearchIndexroot.BqRrkR00.js +1 -0
  230. data/docs/assets/chunks/{VPLocalSearchBox.DtgDfde2.js → VPLocalSearchBox.DL6bnqee.js} +1 -1
  231. data/docs/assets/chunks/{theme.B45bvibT.js → theme.BXdlf6e8.js} +2 -2
  232. data/docs/assets/{components.md.DatoNgFo.js → components.md.Pg_Lo35G.js} +3 -3
  233. data/docs/assets/{configuration.md.DeyhpqEx.js → configuration.md.BfeGnEci.js} +1 -1
  234. data/docs/assets/dev-environment.md.Dy6EldaM.js +16 -0
  235. data/docs/assets/dev-environment.md.Dy6EldaM.lean.js +1 -0
  236. data/docs/assets/doc-conventions.md.DOkAuXlt.js +1 -0
  237. data/docs/assets/{forms.md.C2Dizvzq.js → forms.md.BQZlCwvi.js} +1 -1
  238. data/docs/assets/{getting-started.md.C93e0odB.js → getting-started.md.BcXnNuD6.js} +2 -2
  239. data/docs/assets/index.md.Bn9e0sRJ.js +1 -0
  240. data/docs/assets/index.md.Bn9e0sRJ.lean.js +1 -0
  241. data/docs/assets/{overview.md.Bdq4qt3L.js → overview.md.iMnwLO4x.js} +1 -1
  242. data/docs/assets/roadmap.md.C6PRi0DX.js +1 -0
  243. data/docs/assets/roadmap.md.C6PRi0DX.lean.js +1 -0
  244. data/docs/assets/{style.prAgp4yQ.css → style.B1z60PPQ.css} +1 -1
  245. data/docs/assets/tutorial.md.BYXj4cOu.js +1 -0
  246. data/docs/assets/tutorial.md.BYXj4cOu.lean.js +1 -0
  247. data/docs/assets.html +6 -6
  248. data/docs/brut-js/api/AjaxSubmit.html +1 -1
  249. data/docs/brut-js/api/AjaxSubmit.js.html +1 -1
  250. data/docs/brut-js/api/Autosubmit.html +1 -1
  251. data/docs/brut-js/api/Autosubmit.js.html +1 -1
  252. data/docs/brut-js/api/BaseCustomElement.html +1 -1
  253. data/docs/brut-js/api/BaseCustomElement.js.html +1 -1
  254. data/docs/brut-js/api/BrutCustomElements.html +1 -1
  255. data/docs/brut-js/api/BufferedLogger.html +1 -1
  256. data/docs/brut-js/api/ConfirmSubmit.html +1 -1
  257. data/docs/brut-js/api/ConfirmSubmit.js.html +1 -1
  258. data/docs/brut-js/api/ConfirmationDialog.html +1 -1
  259. data/docs/brut-js/api/ConfirmationDialog.js.html +1 -1
  260. data/docs/brut-js/api/ConstraintViolationMessage.html +1 -1
  261. data/docs/brut-js/api/ConstraintViolationMessage.js.html +1 -1
  262. data/docs/brut-js/api/ConstraintViolationMessages.html +1 -1
  263. data/docs/brut-js/api/ConstraintViolationMessages.js.html +1 -1
  264. data/docs/brut-js/api/CopyToClipboard.html +1 -1
  265. data/docs/brut-js/api/CopyToClipboard.js.html +1 -1
  266. data/docs/brut-js/api/Form.html +1 -1
  267. data/docs/brut-js/api/Form.js.html +1 -1
  268. data/docs/brut-js/api/I18nTranslation.html +1 -1
  269. data/docs/brut-js/api/I18nTranslation.js.html +1 -1
  270. data/docs/brut-js/api/LocaleDetection.html +1 -1
  271. data/docs/brut-js/api/LocaleDetection.js.html +1 -1
  272. data/docs/brut-js/api/Logger.html +1 -1
  273. data/docs/brut-js/api/Logger.js.html +1 -1
  274. data/docs/brut-js/api/Message.html +1 -1
  275. data/docs/brut-js/api/Message.js.html +1 -1
  276. data/docs/brut-js/api/PrefixedLogger.html +1 -1
  277. data/docs/brut-js/api/RichString.html +1 -1
  278. data/docs/brut-js/api/RichString.js.html +1 -1
  279. data/docs/brut-js/api/Tabs.html +1 -1
  280. data/docs/brut-js/api/Tabs.js.html +1 -1
  281. data/docs/brut-js/api/Tracing.html +1 -1
  282. data/docs/brut-js/api/Tracing.js.html +1 -1
  283. data/docs/brut-js/api/external-CustomElementRegistry.html +1 -1
  284. data/docs/brut-js/api/external-Performance.html +1 -1
  285. data/docs/brut-js/api/external-Promise.html +1 -1
  286. data/docs/brut-js/api/external-ValidityState.html +1 -1
  287. data/docs/brut-js/api/external-Window.html +1 -1
  288. data/docs/brut-js/api/external-fetch.html +1 -1
  289. data/docs/brut-js/api/global.html +1 -1
  290. data/docs/brut-js/api/index.html +1 -1
  291. data/docs/brut-js/api/index.js.html +1 -1
  292. data/docs/brut-js/api/module-testing.html +1 -1
  293. data/docs/brut-js/api/testing.AssetMetadata.html +1 -1
  294. data/docs/brut-js/api/testing.AssetMetadataLoader.html +1 -1
  295. data/docs/brut-js/api/testing.CustomElementTest.html +1 -1
  296. data/docs/brut-js/api/testing.DOMCreator.html +1 -1
  297. data/docs/brut-js/api/testing_AssetMetadata.js.html +1 -1
  298. data/docs/brut-js/api/testing_AssetMetadataLoader.js.html +1 -1
  299. data/docs/brut-js/api/testing_CustomElementTest.js.html +1 -1
  300. data/docs/brut-js/api/testing_DOMCreator.js.html +1 -1
  301. data/docs/brut-js/api/testing_index.js.html +1 -1
  302. data/docs/brut-js.html +6 -6
  303. data/docs/business-logic.html +6 -6
  304. data/docs/cli.html +6 -6
  305. data/docs/components.html +10 -10
  306. data/docs/configuration.html +7 -7
  307. data/docs/css.html +6 -6
  308. data/docs/custom-element-tests.html +6 -6
  309. data/docs/database-access.html +6 -6
  310. data/docs/database-schema.html +6 -6
  311. data/docs/deployment.html +6 -6
  312. data/docs/dev-environment.html +12 -7
  313. data/docs/dir-structure.html +6 -6
  314. data/docs/doc-conventions.html +7 -7
  315. data/docs/end-to-end-tests.html +6 -6
  316. data/docs/features.html +6 -6
  317. data/docs/flash-and-session.html +6 -6
  318. data/docs/form-constraints.html +6 -6
  319. data/docs/forms.html +8 -8
  320. data/docs/getting-started.html +9 -9
  321. data/docs/handlers.html +6 -6
  322. data/docs/hashmap.json +1 -1
  323. data/docs/hooks.html +6 -6
  324. data/docs/i18n.html +6 -6
  325. data/docs/index.html +7 -7
  326. data/docs/instrumentation.html +6 -6
  327. data/docs/javascript.html +6 -6
  328. data/docs/jobs.html +6 -6
  329. data/docs/keyword-injection.html +6 -6
  330. data/docs/layouts.html +6 -6
  331. data/docs/lsp.html +6 -6
  332. data/docs/markdown-examples.html +6 -6
  333. data/docs/middleware.html +6 -6
  334. data/docs/overview.html +7 -7
  335. data/docs/pages.html +6 -6
  336. data/docs/recipes/alternate-layouts.html +6 -6
  337. data/docs/recipes/authentication.html +6 -6
  338. data/docs/recipes/blank-layouts.html +6 -6
  339. data/docs/recipes/custom-flash.html +6 -6
  340. data/docs/recipes/indexed-forms.html +6 -6
  341. data/docs/recipes/text-field-component.html +6 -6
  342. data/docs/roadmap.html +29 -0
  343. data/docs/routes.html +6 -6
  344. data/docs/security.html +6 -6
  345. data/docs/seed-data.html +6 -6
  346. data/docs/space-time-continuum.html +6 -6
  347. data/docs/tutorial.html +7 -7
  348. data/docs/unit-tests.html +6 -6
  349. data/docs/why.html +6 -6
  350. data/lib/brut/cli/apps/test.rb +1 -1
  351. data/lib/brut/front_end/components/inputs/select_tag_with_options.rb +2 -2
  352. data/lib/brut/junk_drawer.rb +48 -9
  353. data/lib/brut/version.rb +1 -1
  354. data/specs/brut/junk_drawer.spec.rb +75 -0
  355. metadata +36 -31
  356. data/brutrb.com/images/logo-300.png +0 -0
  357. data/brutrb.com/images/logo.png +0 -0
  358. data/brutrb.com/not-released.md +0 -5
  359. data/docs/assets/chunks/@localSearchIndexroot.Biqy1A4t.js +0 -1
  360. data/docs/assets/dev-env-overview.Gj7NWM8-.png +0 -0
  361. data/docs/assets/dev-environment.md.BroAOLhF.js +0 -11
  362. data/docs/assets/dev-environment.md.BroAOLhF.lean.js +0 -1
  363. data/docs/assets/doc-conventions.md.BzmSrTEW.js +0 -1
  364. data/docs/assets/index.md.CAMqGBJE.js +0 -1
  365. data/docs/assets/index.md.CAMqGBJE.lean.js +0 -1
  366. data/docs/assets/not-released.md.BBy28McC.js +0 -1
  367. data/docs/assets/not-released.md.BBy28McC.lean.js +0 -1
  368. data/docs/assets/tutorial.md.a4a0eVOy.js +0 -1
  369. data/docs/assets/tutorial.md.a4a0eVOy.lean.js +0 -1
  370. /data/docs/assets/{components.md.DatoNgFo.lean.js → components.md.Pg_Lo35G.lean.js} +0 -0
  371. /data/docs/assets/{configuration.md.DeyhpqEx.lean.js → configuration.md.BfeGnEci.lean.js} +0 -0
  372. /data/docs/assets/{doc-conventions.md.BzmSrTEW.lean.js → doc-conventions.md.DOkAuXlt.lean.js} +0 -0
  373. /data/docs/assets/{forms.md.C2Dizvzq.lean.js → forms.md.BQZlCwvi.lean.js} +0 -0
  374. /data/docs/assets/{getting-started.md.C93e0odB.lean.js → getting-started.md.BcXnNuD6.lean.js} +0 -0
  375. /data/docs/assets/{overview.md.Bdq4qt3L.lean.js → overview.md.iMnwLO4x.lean.js} +0 -0
@@ -0,0 +1 @@
1
+ import{_ as a,c as o,o as n,j as t}from"./chunks/framework.1L-BeKqY.js";const s="/assets/LogoStop.Gb3tDhL1.png",g=JSON.parse(`{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"Brut RB","text":"Raw Ruby Web Apps","tagline":"Standards-based, No-nonsense, HTML-first, Low Ceremony","ximage":{"src":"/images/LogoTall.png","alt":"A Ruby gemstone embedded into a concrete, brutalist building"},"actions":[{"theme":"brand","text":"Getting Started","link":"/getting-started"},{"theme":"alt","text":"Conceptual Overview","link":"/overview"}]},"xfeatures":[{"title":"Standards-Based","icon":"📄","details":"Brut leverages HTML, HTTP, SQL, and the Ruby standard library to let you write apps using standards you already know…or could quickly learn"},{"title":"Convention-Oriented","icon":"🎚️","details":"In a Brut app, there's usually just one way to do something. Learn things once, and you won't forget how your app works."},{"title":"Objects and Methods","icon":"💻","details":"Author classes to create objects on which to call methods. Nothing fancy."},{"title":"Builds on Community Libraries","icon":"🏘️","details":"Sequel, Phlex, I18n, RSpec. They do it best"}]},"headers":[],"relativePath":"index.md","filePath":"index.md"}`),i={name:"index.md"};function r(d,e,l,c,u,p){return n(),o("div",null,e[0]||(e[0]=[t("p",null,[t("img",{src:s,alt:"logo"})],-1)]))}const h=a(i,[["render",r]]);export{g as __pageData,h as default};
@@ -0,0 +1 @@
1
+ import{_ as a,c as o,o as n,j as t}from"./chunks/framework.1L-BeKqY.js";const s="/assets/LogoStop.Gb3tDhL1.png",g=JSON.parse(`{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"Brut RB","text":"Raw Ruby Web Apps","tagline":"Standards-based, No-nonsense, HTML-first, Low Ceremony","ximage":{"src":"/images/LogoTall.png","alt":"A Ruby gemstone embedded into a concrete, brutalist building"},"actions":[{"theme":"brand","text":"Getting Started","link":"/getting-started"},{"theme":"alt","text":"Conceptual Overview","link":"/overview"}]},"xfeatures":[{"title":"Standards-Based","icon":"📄","details":"Brut leverages HTML, HTTP, SQL, and the Ruby standard library to let you write apps using standards you already know…or could quickly learn"},{"title":"Convention-Oriented","icon":"🎚️","details":"In a Brut app, there's usually just one way to do something. Learn things once, and you won't forget how your app works."},{"title":"Objects and Methods","icon":"💻","details":"Author classes to create objects on which to call methods. Nothing fancy."},{"title":"Builds on Community Libraries","icon":"🏘️","details":"Sequel, Phlex, I18n, RSpec. They do it best"}]},"headers":[],"relativePath":"index.md","filePath":"index.md"}`),i={name:"index.md"};function r(d,e,l,c,u,p){return n(),o("div",null,e[0]||(e[0]=[t("p",null,[t("img",{src:s,alt:"logo"})],-1)]))}const h=a(i,[["render",r]]);export{g as __pageData,h as default};
@@ -1 +1 @@
1
- import{_ as t,c as a,o as r,ag as s}from"./chunks/framework.1L-BeKqY.js";const o="/assets/OverviewMetro.DUS-5fUZ.png",g=JSON.parse('{"title":"Conceptual Overview","description":"","frontmatter":{},"headers":[],"relativePath":"overview.md","filePath":"overview.md"}'),i={name:"overview.md"};function n(l,e,c,d,h,u){return r(),a("div",null,e[0]||(e[0]=[s('<h1 id="conceptual-overview" tabindex="-1">Conceptual Overview <a class="header-anchor" href="#conceptual-overview" aria-label="Permalink to &quot;Conceptual Overview&quot;">​</a></h1><p>Brut is a way to build web apps that generate HTML, have JavaScript and CSS, and interact with a Database. It&#39;s built on Ruby standard libraries and community libraries like <a href="https://sequel.jeremyevans.net/" target="_blank" rel="noreferrer">Sequel</a> and <a href="https://phlex.fun" target="_blank" rel="noreferrer">Phlex</a>.</p><p>Brut&#39;s approach and design are built on three core values:</p><ul><li><strong>Leverage Standards</strong> - The web platform is great, and Brut wants you to use it.</li><li><strong>There&#39;s One Best Way To Do It</strong> - Flexibility leads to chaos.</li><li><strong>Simple over Easy</strong> - Verbose code that can be quickly understood beats impenetrable compact DSLs every day.</li></ul><p>Brut&#39;s abstractions tend to mirror concepts found in the domain of web sites. For example, a browser serves up a web page at a URL. In Brut, that&#39;s called a <em>page</em> and you&#39;d create a subclass of <a href="/api/Brut/FrontEnd/Page.html" target="_self" rel="noopener" data-no-router><code>Brut::FrontEnd::Page</code></a> to implement it.</p><p>Brut tries to avoid abstractions that simply translate existing standards into a more aestheticly pleasing form. You already need to know CSS, HTML, the Web Platform, and SQL, so there&#39;s little to gain by requiring you to learn a different way to use them.</p><h2 id="basic-elements" tabindex="-1">Basic Elements <a class="header-anchor" href="#basic-elements" aria-label="Permalink to &quot;Basic Elements&quot;">​</a></h2><p>Brut organizes its code and behavior around four basic concepts:</p><ul><li><strong>Client</strong> or <em>Client Side</em> is the web browser (or HTTP client). This is where CSS is applied to HTML and where JavaScript is executed. HTTP requests are initiated here.</li><li><strong>Server</strong> or <em>Server Side</em> is where any code not in the browser runs. In Brut, this includes HTML generation, SQL queries, and everything in between.</li><li><strong>Front End</strong> is the code that deals with producing your user interface or HTTP API. A lot of this code runs on the <em>server side</em>, however it exists to provide a user interface of some sort.</li><li><strong>Back End</strong> is the code that deals with everything else, such as accessing a database, executing business logic, or managing background jobs.</li></ul><p><img src="'+o+'" alt="Architectural Overview"></p><ul><li><strong>Visitor</strong> is someone visiting your web site or app.</li><li><strong>Browser</strong> is, well, a web browser</li><li><a href="/pages.html"><strong>Pages</strong></a> generate web pages, which is what happens when a browser&#39;s UI navigates to a URL.</li><li><a href="/forms.html"><strong>Forms</strong></a> are submitted by the browser to the server. In Brut, a form describes the contents of a <code>&lt;form&gt;</code> as well as provides access to the submitted data.</li><li><a href="/handlers.html"><strong>Handlers</strong></a> receive non-GET HTTP requests from the browser, notably form submissions.</li><li><a href="/components.html"><strong>Components</strong></a> generate HTML fragments and are used to generate the HTML of a page or for re-use across pages.</li><li><a href="/javascript.html"><strong>JavaScript</strong></a> and <a href="/assets.html"><strong>Assets</strong></a> (including <a href="/css.html">CSS</a>) are bundled on the server and sent to the client.</li><li><a href="/business-logic.html"><strong>Domain Logic</strong></a> as where your business and domain logic lives and can be implemented however you like.</li><li><a href="/database-access.html"><strong>DB Models</strong></a> are objects that provide access to your database.</li><li><strong>Relational Database</strong> is your database, where data is stored.</li></ul><p>Brut doesn&#39;t prevent the addition of more pieces of infrastructure or code. You can add a Redis cache, a Sidekiq job backend, or integrate with third party APIs.</p><h2 id="brut-is-not-mvc" tabindex="-1">Brut is Not MVC <a class="header-anchor" href="#brut-is-not-mvc" aria-label="Permalink to &quot;Brut is Not MVC&quot;">​</a></h2><p>Brut is <em>not</em> an MVC framework, nor does it use the concept of <em>resources</em> as an abstraction. Although HTTP does include this concept, we find it&#39;s not as useful for managing web apps as it may seem.</p><p>We&#39;ve found that teams often struggle with mapping what everyone else calls pages to resources and HTTP verbs. We also find that the consonance features, resources, actions, and database tables never materializes. We&#39;re basically not going to debate what the meaning of the <code>DELETE</code> verb on the <code>widgets</code> resource is actually supposed to mean.</p><h2 id="brut-is-hippocratic-licensed" tabindex="-1">Brut is Hippocratic Licensed <a class="header-anchor" href="#brut-is-hippocratic-licensed" aria-label="Permalink to &quot;Brut is Hippocratic Licensed&quot;">​</a></h2><p>It&#39;s important to me that Brut is used to make the world a better place. Please take a not of <a href="https://firstdonoharm.dev/version/3/0/cl-eco-media-my-tal-xuar.txt" target="_blank" rel="noreferrer">its license</a></p>',17)]))}const m=t(i,[["render",n]]);export{g as __pageData,m as default};
1
+ import{_ as t,c as a,o as r,ag as s}from"./chunks/framework.1L-BeKqY.js";const o="/assets/OverviewMetro.DUS-5fUZ.png",g=JSON.parse('{"title":"Conceptual Overview","description":"","frontmatter":{},"headers":[],"relativePath":"overview.md","filePath":"overview.md"}'),i={name:"overview.md"};function n(l,e,c,d,h,u){return r(),a("div",null,e[0]||(e[0]=[s('<h1 id="conceptual-overview" tabindex="-1">Conceptual Overview <a class="header-anchor" href="#conceptual-overview" aria-label="Permalink to &quot;Conceptual Overview&quot;">​</a></h1><p>Brut is a way to build web apps that generate HTML, have JavaScript and CSS, and interact with a Database. It&#39;s built on Ruby standard libraries and community libraries like <a href="https://sequel.jeremyevans.net/" target="_blank" rel="noreferrer">Sequel</a> and <a href="https://phlex.fun" target="_blank" rel="noreferrer">Phlex</a>.</p><p>Brut&#39;s approach and design are built on three core values:</p><ul><li><strong>Leverage Standards</strong> - The web platform is great, and Brut wants you to use it.</li><li><strong>There&#39;s One Best Way To Do It</strong> - Flexibility leads to chaos.</li><li><strong>Simple over Easy</strong> - Verbose code that can be quickly understood beats impenetrable compact DSLs every day.</li></ul><p>Brut&#39;s abstractions tend to mirror concepts found in the domain of web sites. For example, a browser serves up a web page at a URL. In Brut, that&#39;s called a <em>page</em> and you&#39;d create a subclass of <a href="/api/Brut/FrontEnd/Page.html" target="_self" rel="noopener" data-no-router><code>Brut::FrontEnd::Page</code></a> to implement it.</p><p>Brut tries to avoid abstractions that simply translate existing standards into a more aestheticly pleasing form. You already need to know CSS, HTML, the Web Platform, and SQL, so there&#39;s little to gain by requiring you to learn a different way to use them.</p><h2 id="basic-elements" tabindex="-1">Basic Elements <a class="header-anchor" href="#basic-elements" aria-label="Permalink to &quot;Basic Elements&quot;">​</a></h2><p>Brut organizes its code and behavior around four basic concepts:</p><ul><li><strong>Client</strong> or <em>Client Side</em> is the web browser (or HTTP client). This is where CSS is applied to HTML and where JavaScript is executed. HTTP requests are initiated here.</li><li><strong>Server</strong> or <em>Server Side</em> is where any code not in the browser runs. In Brut, this includes HTML generation, SQL queries, and everything in between.</li><li><strong>Front End</strong> is the code that deals with producing your user interface or HTTP API. A lot of this code runs on the <em>server side</em>, however it exists to provide a user interface of some sort.</li><li><strong>Back End</strong> is the code that deals with everything else, such as accessing a database, executing business logic, or managing background jobs.</li></ul><p><img src="'+o+'" alt="Architectural Overview"></p><ul><li><strong>Visitor</strong> is someone visiting your web site or app.</li><li><strong>Browser</strong> is, well, a web browser</li><li><a href="/pages.html"><strong>Pages</strong></a> generate web pages, which is what happens when a browser&#39;s UI navigates to a URL.</li><li><a href="/forms.html"><strong>Forms</strong></a> are submitted by the browser to the server. In Brut, a form describes the contents of a <code>&lt;form&gt;</code> as well as provides access to the submitted data.</li><li><a href="/handlers.html"><strong>Handlers</strong></a> receive non-GET HTTP requests from the browser, notably form submissions.</li><li><a href="/components.html"><strong>Components</strong></a> generate HTML fragments and are used to generate the HTML of a page or for re-use across pages.</li><li><a href="/javascript.html"><strong>JavaScript</strong></a> and <a href="/assets.html"><strong>Assets</strong></a> (including <a href="/css.html">CSS</a>) are bundled on the server and sent to the client.</li><li><a href="/business-logic.html"><strong>Domain Logic</strong></a> as where your business and domain logic lives and can be implemented however you like.</li><li><a href="/database-access.html"><strong>DB Models</strong></a> are objects that provide access to your database.</li><li><strong>Relational Database</strong> is your database, where data is stored.</li></ul><p>Brut doesn&#39;t prevent the addition of more pieces of infrastructure or code. You can add a Redis cache, a Sidekiq job backend, or integrate with third party APIs.</p><h2 id="brut-is-not-mvc" tabindex="-1">Brut is Not MVC <a class="header-anchor" href="#brut-is-not-mvc" aria-label="Permalink to &quot;Brut is Not MVC&quot;">​</a></h2><p>Brut is <em>not</em> an MVC framework, nor does it use the concept of <em>resources</em> as an abstraction. Although HTTP does include this concept, we find it&#39;s not as useful for managing web apps as it may seem.</p><p>We&#39;ve found that teams often struggle with mapping what everyone else calls pages to resources and HTTP verbs. We also find that the consonance of features, resources, actions, and database tables never materializes. We&#39;re basically not going to debate what the meaning of the <code>DELETE</code> verb on the <code>widgets</code> resource is actually supposed to mean.</p><h2 id="brut-is-hippocratic-licensed" tabindex="-1">Brut is Hippocratic Licensed <a class="header-anchor" href="#brut-is-hippocratic-licensed" aria-label="Permalink to &quot;Brut is Hippocratic Licensed&quot;">​</a></h2><p>It&#39;s important to me that Brut is used to make the world a better place. Please take a note of <a href="https://firstdonoharm.dev/version/3/0/cl-eco-media-my-tal-xuar.txt" target="_blank" rel="noreferrer">its license</a></p>',17)]))}const m=t(i,[["render",n]]);export{g as __pageData,m as default};
@@ -0,0 +1 @@
1
+ import{_ as t,c as o,o as a,ag as i}from"./chunks/framework.1L-BeKqY.js";const h=JSON.parse('{"title":"Roadmap to 1.0","description":"","frontmatter":{},"headers":[],"relativePath":"roadmap.md","filePath":"roadmap.md"}'),l={name:"roadmap.md"};function r(s,e,n,d,c,m){return a(),o("div",null,e[0]||(e[0]=[i('<h1 id="roadmap-to-1-0" tabindex="-1">Roadmap to 1.0 <a class="header-anchor" href="#roadmap-to-1-0" aria-label="Permalink to &quot;Roadmap to 1.0&quot;">​</a></h1><p>A lot of Brut is solid, but there&#39;s several things missing from what I would call a 1.0 release. Here are some ideas of what I think is needed:</p><h2 id="better-dev-experience" tabindex="-1">Better Dev Experience <a class="header-anchor" href="#better-dev-experience" aria-label="Permalink to &quot;Better Dev Experience&quot;">​</a></h2><ul><li>The output of <code>bin/dev</code> isn&#39;t great.</li><li>otel-desktop-viewer is cool, but not the easiest to figure out issues as compred to good &#39;ole logging.</li><li>Error pages in the app are <em>really</em> bad.</li><li>CLI apps are OK, but could be fancier.</li></ul><h2 id="more-tests" tabindex="-1">More Tests <a class="header-anchor" href="#more-tests" aria-label="Permalink to &quot;More Tests&quot;">​</a></h2><ul><li>Unit tests for all/most classes are needed. There&#39;s only a few now.</li><li>Integration test of <code>mkbrut</code>, all automated.</li><li>Web component/custom element tests need to be re-thought.</li><li>Test output is a wall of text stack trace and this sucks.</li><li>Improvements in access to Playwright features.</li><li>Playright is the worst E2E testing tool except all the rest. Would love a better option here.</li></ul><h2 id="more-complete-web-features" tabindex="-1">More Complete Web Features <a class="header-anchor" href="#more-complete-web-features" aria-label="Permalink to &quot;More Complete Web Features&quot;">​</a></h2><ul><li>Content security policy doens&#39;t allow for hashes, which can be limiting in some situations. I want everyone to be running with a CSP, so it has to be configurable to some degree.</li><li>Websockets, server-push, etc. should be possible or at least have a recipe.</li><li>Learn more about importmaps.</li></ul><h2 id="client-side-improvements" tabindex="-1">Client-Side Improvements <a class="header-anchor" href="#client-side-improvements" aria-label="Permalink to &quot;Client-Side Improvements&quot;">​</a></h2><p>BrutJS is woefully incomplete. I&#39;d like developers to be able to accomplishe certain tasks without needing a framework:</p><ul><li>Hooks into asset building to e.g. enable TailwindCSS or other tools.</li><li>Better use of <code>fetch</code> in more situations</li><li>Server-generated HTML replacement</li><li>Better support for &quot;API&quot; style back-end when a framework <em>is</em> going to be used.</li></ul><h2 id="deployment" tabindex="-1">Deployment <a class="header-anchor" href="#deployment" aria-label="Permalink to &quot;Deployment&quot;">​</a></h2><p>Out of the box support for more deployment mechanism, at least:</p><ul><li>Normal Heroku/<code>Procfile</code>-based deploy</li><li>Digital Ocean-style hosting</li><li>VPS?</li></ul><h2 id="documentation" tabindex="-1">Documentation <a class="header-anchor" href="#documentation" aria-label="Permalink to &quot;Documentation&quot;">​</a></h2><ul><li>More recipes for how to do things</li><li>More complete API docs with examples</li><li>A unified look and feel across the board</li><li>Get rid of VitePress for something less client-heavy, but still great</li><li>Dash-accessible API docs</li></ul><h2 id="misc" tabindex="-1">Misc <a class="header-anchor" href="#misc" aria-label="Permalink to &quot;Misc&quot;">​</a></h2><ul><li>More direct Sidekiq support</li></ul>',18)]))}const p=t(l,[["render",r]]);export{h as __pageData,p as default};
@@ -0,0 +1 @@
1
+ import{_ as t,c as o,o as a,ag as i}from"./chunks/framework.1L-BeKqY.js";const h=JSON.parse('{"title":"Roadmap to 1.0","description":"","frontmatter":{},"headers":[],"relativePath":"roadmap.md","filePath":"roadmap.md"}'),l={name:"roadmap.md"};function r(s,e,n,d,c,m){return a(),o("div",null,e[0]||(e[0]=[i("",18)]))}const p=t(l,[["render",r]]);export{h as __pageData,p as default};