utopia 2.13.4 → 2.14.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 (353) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/development.yml +62 -0
  3. data/README.md +3 -5
  4. data/bake/utopia/yarn.rb +4 -2
  5. data/docs/_components/jquery-litebox/jquery.litebox.css +23 -0
  6. data/docs/_components/jquery-litebox/jquery.litebox.gallery.css +48 -0
  7. data/docs/_components/jquery-litebox/jquery.litebox.js +30 -0
  8. data/docs/_components/jquery-syntax/base/jquery.syntax.brush.apache.css +6 -0
  9. data/docs/_components/jquery-syntax/base/jquery.syntax.brush.bash.css +4 -10
  10. data/docs/_components/jquery-syntax/base/jquery.syntax.brush.clang.css +5 -2
  11. data/docs/_components/jquery-syntax/base/jquery.syntax.brush.diff.css +8 -8
  12. data/docs/_components/jquery-syntax/base/jquery.syntax.brush.ruby.css +1 -1
  13. data/docs/_components/jquery-syntax/base/jquery.syntax.core.css +43 -47
  14. data/docs/_components/jquery-syntax/jquery.syntax.brush.apache.js +3 -41
  15. data/docs/_components/jquery-syntax/jquery.syntax.brush.applescript.js +5 -57
  16. data/docs/_components/jquery-syntax/jquery.syntax.brush.assembly.js +3 -37
  17. data/docs/_components/jquery-syntax/jquery.syntax.brush.bash-script.js +4 -67
  18. data/docs/_components/jquery-syntax/jquery.syntax.brush.bash.js +2 -33
  19. data/docs/_components/jquery-syntax/jquery.syntax.brush.basic.js +5 -51
  20. data/docs/_components/jquery-syntax/jquery.syntax.brush.clang.js +5 -89
  21. data/docs/_components/jquery-syntax/jquery.syntax.brush.csharp.js +4 -47
  22. data/docs/_components/jquery-syntax/jquery.syntax.brush.css.js +5 -80
  23. data/docs/_components/jquery-syntax/jquery.syntax.brush.diff.js +2 -24
  24. data/docs/_components/jquery-syntax/jquery.syntax.brush.go.js +3 -47
  25. data/docs/_components/jquery-syntax/jquery.syntax.brush.haskell.js +3 -45
  26. data/docs/_components/jquery-syntax/jquery.syntax.brush.html.js +4 -66
  27. data/docs/_components/jquery-syntax/jquery.syntax.brush.io.js +3 -45
  28. data/docs/_components/jquery-syntax/jquery.syntax.brush.java.js +4 -45
  29. data/docs/_components/jquery-syntax/jquery.syntax.brush.javascript.js +3 -40
  30. data/docs/_components/jquery-syntax/jquery.syntax.brush.kai.js +2 -29
  31. data/docs/_components/jquery-syntax/jquery.syntax.brush.lisp.js +2 -34
  32. data/docs/_components/jquery-syntax/jquery.syntax.brush.lua.js +3 -44
  33. data/docs/_components/jquery-syntax/jquery.syntax.brush.nginx.js +2 -31
  34. data/docs/_components/jquery-syntax/jquery.syntax.brush.ocaml.js +4 -73
  35. data/docs/_components/jquery-syntax/jquery.syntax.brush.ooc.js +4 -46
  36. data/docs/_components/jquery-syntax/jquery.syntax.brush.pascal.js +4 -51
  37. data/docs/_components/jquery-syntax/jquery.syntax.brush.perl5.js +3 -52
  38. data/docs/_components/jquery-syntax/jquery.syntax.brush.php-script.js +4 -48
  39. data/docs/_components/jquery-syntax/jquery.syntax.brush.php.js +2 -15
  40. data/docs/_components/jquery-syntax/jquery.syntax.brush.plain.js +2 -10
  41. data/docs/_components/jquery-syntax/jquery.syntax.brush.protobuf.js +3 -43
  42. data/docs/_components/jquery-syntax/jquery.syntax.brush.python.js +5 -44
  43. data/docs/_components/jquery-syntax/jquery.syntax.brush.ruby.js +5 -77
  44. data/docs/_components/jquery-syntax/jquery.syntax.brush.scala.js +4 -44
  45. data/docs/_components/jquery-syntax/jquery.syntax.brush.smalltalk.js +2 -29
  46. data/docs/_components/jquery-syntax/jquery.syntax.brush.sql.js +4 -31
  47. data/docs/_components/jquery-syntax/jquery.syntax.brush.super-collider.js +3 -57
  48. data/docs/_components/jquery-syntax/jquery.syntax.brush.swift.js +3 -55
  49. data/docs/_components/jquery-syntax/jquery.syntax.brush.trenni.js +2 -35
  50. data/docs/_components/jquery-syntax/jquery.syntax.brush.xml.js +4 -50
  51. data/docs/_components/jquery-syntax/jquery.syntax.brush.yaml.js +2 -29
  52. data/docs/_components/jquery-syntax/jquery.syntax.cache.js +7 -65
  53. data/docs/_components/jquery-syntax/jquery.syntax.core.js +34 -1098
  54. data/docs/_components/jquery-syntax/jquery.syntax.editor.js +11 -291
  55. data/docs/_components/jquery-syntax/jquery.syntax.js +8 -258
  56. data/docs/_components/jquery/jquery.js +1678 -1026
  57. data/docs/_components/jquery/jquery.min.js +2 -4
  58. data/docs/_components/jquery/jquery.min.map +1 -1
  59. data/docs/_components/jquery/jquery.slim.js +1602 -932
  60. data/docs/_components/jquery/jquery.slim.min.js +2 -4
  61. data/docs/_components/jquery/jquery.slim.min.map +1 -1
  62. data/docs/_static/icon.png +0 -0
  63. data/docs/_static/site.css +100 -114
  64. data/docs/{wiki/development-environment-setup.html → development-environment-setup/index.html} +9 -15
  65. data/docs/{wiki/faq/what-is-xnode.html → faq/what-is-xnode/index.html} +9 -15
  66. data/docs/index.html +25 -31
  67. data/docs/javascript/index.html +108 -0
  68. data/docs/{wiki/middleware/content.html → middleware/content/index.html} +9 -15
  69. data/docs/{wiki/middleware/controller/actions.html → middleware/controller/actions/index.html} +11 -17
  70. data/docs/{wiki/middleware/controller.html → middleware/controller/index.html} +9 -15
  71. data/docs/{wiki/middleware/controller/rewrite.html → middleware/controller/rewrite/index.html} +9 -15
  72. data/docs/{wiki/middleware/localization.html → middleware/localization/index.html} +9 -15
  73. data/docs/{wiki/middleware/redirection.html → middleware/redirection/index.html} +9 -15
  74. data/docs/{wiki/middleware/session.html → middleware/session/index.html} +9 -15
  75. data/docs/{wiki/middleware/static.html → middleware/static/index.html} +9 -15
  76. data/docs/{wiki/server-setup.html → server-setup/index.html} +11 -42
  77. data/docs/{wiki/testing.html → testing/index.html} +10 -16
  78. data/docs/{wiki/updating-utopia.html → updating-utopia/index.html} +9 -15
  79. data/docs/{wiki/your-first-page.html → your-first-page/index.html} +11 -17
  80. data/lib/utopia/content.rb +23 -19
  81. data/lib/utopia/content/link.rb +29 -34
  82. data/lib/utopia/content/links.rb +185 -123
  83. data/lib/utopia/content/node.rb +13 -17
  84. data/lib/utopia/content/response.rb +2 -2
  85. data/lib/utopia/localization.rb +18 -10
  86. data/lib/utopia/path.rb +36 -32
  87. data/lib/utopia/version.rb +1 -1
  88. data/setup/site/Gemfile +7 -5
  89. data/spec/utopia/command_spec.rb +1 -1
  90. data/spec/utopia/content/links/bar/index.xnode +0 -0
  91. data/spec/utopia/content/links/bar/parent/child/index.en.xnode +0 -0
  92. data/spec/utopia/content/links/bar/parent/child/index.ja.xnode +0 -0
  93. data/spec/utopia/content/links/bar/parent/links.yaml +2 -0
  94. data/spec/utopia/content/links/index.xnode +0 -0
  95. data/spec/utopia/content/links/links.yaml +10 -1
  96. data/spec/utopia/content/links/redirect/links.yaml +2 -0
  97. data/spec/utopia/content/links_spec.rb +160 -43
  98. data/spec/utopia/content/localized/links.yaml +2 -5
  99. data/spec/utopia/content/node_spec.rb +1 -1
  100. data/spec/utopia/path_spec.rb +50 -5
  101. data/wiki/Gemfile +9 -0
  102. data/wiki/config.ru +7 -0
  103. data/{documentation/pages/wiki/development-environment-setup/content.md → wiki/pages/development-environment-setup/index.md} +0 -0
  104. data/wiki/pages/faq/links.yaml +2 -0
  105. data/{documentation/pages/wiki/faq/what-is-xnode/content.md → wiki/pages/faq/what-is-xnode/index.md} +1 -1
  106. data/wiki/pages/faq/what-is-xnode/links.yaml +2 -0
  107. data/{documentation/pages/wiki/content.md → wiki/pages/index.md} +2 -2
  108. data/{documentation/pages/wiki/javascript/content.md → wiki/pages/javascript/index.md} +15 -13
  109. data/wiki/pages/javascript/links.yaml +2 -0
  110. data/wiki/pages/links.yaml +2 -0
  111. data/{documentation/pages/wiki/middleware/content/content.md → wiki/pages/middleware/content/index.md} +0 -0
  112. data/{documentation/pages/wiki/middleware/controller/actions/content.md → wiki/pages/middleware/controller/actions/index.md} +2 -2
  113. data/{documentation/pages/wiki/middleware/controller/content.md → wiki/pages/middleware/controller/index.md} +0 -0
  114. data/{documentation/pages/wiki → wiki/pages}/middleware/controller/links.yaml +0 -0
  115. data/{documentation/pages/wiki/middleware/controller/rewrite/content.md → wiki/pages/middleware/controller/rewrite/index.md} +0 -0
  116. data/{documentation/pages/wiki/middleware/localization/content.md → wiki/pages/middleware/localization/index.md} +0 -0
  117. data/{documentation/pages/wiki/middleware/redirection/content.md → wiki/pages/middleware/redirection/index.md} +0 -0
  118. data/{documentation/pages/wiki/middleware/session/content.md → wiki/pages/middleware/session/index.md} +0 -0
  119. data/{documentation/pages/wiki/middleware/static/content.md → wiki/pages/middleware/static/index.md} +0 -0
  120. data/{documentation/pages/wiki/server-setup/content.md → wiki/pages/server-setup/index.md} +0 -0
  121. data/{documentation/pages/wiki/testing/content.md → wiki/pages/testing/index.md} +0 -0
  122. data/{documentation/pages/wiki/updating-utopia/content.md → wiki/pages/updating-utopia/index.md} +0 -0
  123. data/{documentation/pages/wiki/your-first-page/content.md → wiki/pages/your-first-page/index.md} +2 -2
  124. metadata +56 -263
  125. data/.travis.yml +0 -28
  126. data/Rakefile +0 -33
  127. data/docs/_components/jquery/core.js +0 -482
  128. data/docs/_static/utopia-background.svg +0 -1
  129. data/docs/_static/utopia.svg +0 -1
  130. data/docs/code/Utopia.html +0 -517
  131. data/docs/code/Utopia/Basename.html +0 -654
  132. data/docs/code/Utopia/Bootstrap.html +0 -538
  133. data/docs/code/Utopia/Command.html +0 -213
  134. data/docs/code/Utopia/Command/Environment.html +0 -321
  135. data/docs/code/Utopia/Command/Server.html +0 -214
  136. data/docs/code/Utopia/Command/Server/Create.html +0 -222
  137. data/docs/code/Utopia/Command/Server/Environment.html +0 -236
  138. data/docs/code/Utopia/Command/Server/Update.html +0 -317
  139. data/docs/code/Utopia/Command/Setup.html +0 -145
  140. data/docs/code/Utopia/Command/Setup/Server.html +0 -298
  141. data/docs/code/Utopia/Command/Setup/Site.html +0 -180
  142. data/docs/code/Utopia/Command/Site.html +0 -285
  143. data/docs/code/Utopia/Command/Site/Create.html +0 -324
  144. data/docs/code/Utopia/Command/Site/Update.html +0 -407
  145. data/docs/code/Utopia/Command/Top.html +0 -279
  146. data/docs/code/Utopia/Content.html +0 -832
  147. data/docs/code/Utopia/Content/Document.html +0 -1822
  148. data/docs/code/Utopia/Content/Document/State.html +0 -1220
  149. data/docs/code/Utopia/Content/Link.html +0 -1286
  150. data/docs/code/Utopia/Content/Links.html +0 -847
  151. data/docs/code/Utopia/Content/MarkupParser.html +0 -881
  152. data/docs/code/Utopia/Content/MarkupParser/ParsedTag.html +0 -422
  153. data/docs/code/Utopia/Content/MarkupParser/UnbalancedTagError.html +0 -615
  154. data/docs/code/Utopia/Content/Namespace.html +0 -485
  155. data/docs/code/Utopia/Content/Node.html +0 -1188
  156. data/docs/code/Utopia/Content/Node/Context.html +0 -938
  157. data/docs/code/Utopia/Content/Response.html +0 -813
  158. data/docs/code/Utopia/Content/SymbolicHash.html +0 -419
  159. data/docs/code/Utopia/Content/Tag.html +0 -399
  160. data/docs/code/Utopia/Content/Tags.html +0 -136
  161. data/docs/code/Utopia/Content/Tags/ContentTag.html +0 -187
  162. data/docs/code/Utopia/Content/Tags/DeferredTag.html +0 -193
  163. data/docs/code/Utopia/Content/Tags/Library.html +0 -333
  164. data/docs/code/Utopia/Content/Tags/NodeTag.html +0 -193
  165. data/docs/code/Utopia/Content/UnbalancedTagError.html +0 -298
  166. data/docs/code/Utopia/ContentLength.html +0 -343
  167. data/docs/code/Utopia/Controller.html +0 -907
  168. data/docs/code/Utopia/Controller/Actions.html +0 -289
  169. data/docs/code/Utopia/Controller/Actions/Action.html +0 -984
  170. data/docs/code/Utopia/Controller/Actions/ClassMethods.html +0 -442
  171. data/docs/code/Utopia/Controller/Base.html +0 -1216
  172. data/docs/code/Utopia/Controller/Respond.html +0 -293
  173. data/docs/code/Utopia/Controller/Respond/ClassMethods.html +0 -236
  174. data/docs/code/Utopia/Controller/Respond/Converter.html +0 -256
  175. data/docs/code/Utopia/Controller/Respond/Converter/Callback.html +0 -484
  176. data/docs/code/Utopia/Controller/Respond/Converter/ToJSON.html +0 -381
  177. data/docs/code/Utopia/Controller/Respond/Passthrough.html +0 -297
  178. data/docs/code/Utopia/Controller/Respond/Responder.html +0 -535
  179. data/docs/code/Utopia/Controller/Rewrite.html +0 -290
  180. data/docs/code/Utopia/Controller/Rewrite/ClassMethods.html +0 -242
  181. data/docs/code/Utopia/Controller/Rewrite/ExtractPrefixRule.html +0 -364
  182. data/docs/code/Utopia/Controller/Rewrite/Rewriter.html +0 -464
  183. data/docs/code/Utopia/Controller/Rewrite/Rule.html +0 -209
  184. data/docs/code/Utopia/Controller/Variables.html +0 -550
  185. data/docs/code/Utopia/Controllers.html +0 -244
  186. data/docs/code/Utopia/Exceptions.html +0 -127
  187. data/docs/code/Utopia/Exceptions/Handler.html +0 -526
  188. data/docs/code/Utopia/Exceptions/Mailer.html +0 -482
  189. data/docs/code/Utopia/Extensions.html +0 -117
  190. data/docs/code/Utopia/Extensions/ArraySplit.html +0 -183
  191. data/docs/code/Utopia/Extensions/DateTimeComparison.html +0 -193
  192. data/docs/code/Utopia/Extensions/TimeDateComparison.html +0 -193
  193. data/docs/code/Utopia/HTTP.html +0 -250
  194. data/docs/code/Utopia/HTTP/Status.html +0 -415
  195. data/docs/code/Utopia/Locale.html +0 -606
  196. data/docs/code/Utopia/Localization.html +0 -1241
  197. data/docs/code/Utopia/Localization/Wrapper.html +0 -459
  198. data/docs/code/Utopia/Logger.html +0 -205
  199. data/docs/code/Utopia/Logger/CompactFormatter.html +0 -335
  200. data/docs/code/Utopia/Path.html +0 -3310
  201. data/docs/code/Utopia/Path/Matcher.html +0 -518
  202. data/docs/code/Utopia/Path/Matcher/MatchData.html +0 -475
  203. data/docs/code/Utopia/Redirection.html +0 -151
  204. data/docs/code/Utopia/Redirection/ClientRedirect.html +0 -717
  205. data/docs/code/Utopia/Redirection/DirectoryIndex.html +0 -298
  206. data/docs/code/Utopia/Redirection/Errors.html +0 -476
  207. data/docs/code/Utopia/Redirection/Moved.html +0 -312
  208. data/docs/code/Utopia/Redirection/RequestFailure.html +0 -226
  209. data/docs/code/Utopia/Redirection/Rewrite.html +0 -296
  210. data/docs/code/Utopia/Session.html +0 -889
  211. data/docs/code/Utopia/Session/LazyHash.html +0 -859
  212. data/docs/code/Utopia/Setup.html +0 -970
  213. data/docs/code/Utopia/Static.html +0 -696
  214. data/docs/code/Utopia/Static/LocalFile.html +0 -1104
  215. data/docs/code/Utopia/Static/MimeTypeLoader.html +0 -541
  216. data/docs/code/Utopia/Static/MimeTypeLoader/ExpansionError.html +0 -124
  217. data/docs/code/Utopia/Tags.html +0 -115
  218. data/docs/code/Utopia/Tags/Environment.html +0 -314
  219. data/docs/code/Utopia/Tags/EnvironmentTag.html +0 -314
  220. data/docs/code/Utopia/Tags/Library.html +0 -340
  221. data/docs/code/_index.html +0 -758
  222. data/docs/code/class_list.html +0 -51
  223. data/docs/code/css/common.css +0 -1
  224. data/docs/code/css/full_list.css +0 -58
  225. data/docs/code/css/style.css +0 -496
  226. data/docs/code/file.README.html +0 -171
  227. data/docs/code/file_list.html +0 -56
  228. data/docs/code/frames.html +0 -17
  229. data/docs/code/index.html +0 -171
  230. data/docs/code/js/app.js +0 -292
  231. data/docs/code/js/full_list.js +0 -216
  232. data/docs/code/js/jquery.js +0 -4
  233. data/docs/code/materials/utopia.png +0 -0
  234. data/docs/code/materials/utopia.svg +0 -1
  235. data/docs/code/method_list.html +0 -3443
  236. data/docs/code/top-level-namespace.html +0 -110
  237. data/docs/wiki.html +0 -92
  238. data/docs/wiki/development-environment-setup/index.html +0 -60
  239. data/docs/wiki/edit.html +0 -103
  240. data/docs/wiki/faq/what-is-xnode/index.html +0 -79
  241. data/docs/wiki/javascript.html +0 -153
  242. data/docs/wiki/javascript/index.html +0 -153
  243. data/docs/wiki/middleware/content/index.html +0 -64
  244. data/docs/wiki/middleware/controller/actions/index.html +0 -117
  245. data/docs/wiki/middleware/controller/actions/rewrite/index.html +0 -48
  246. data/docs/wiki/middleware/controller/index.html +0 -104
  247. data/docs/wiki/middleware/controller/rewrite/index.html +0 -111
  248. data/docs/wiki/middleware/localization/index.html +0 -59
  249. data/docs/wiki/middleware/redirection/index.html +0 -61
  250. data/docs/wiki/middleware/session/index.html +0 -71
  251. data/docs/wiki/middleware/static/index.html +0 -57
  252. data/docs/wiki/server-setup/index.html +0 -118
  253. data/docs/wiki/testing/index.html +0 -59
  254. data/docs/wiki/updating-utopia/index.html +0 -108
  255. data/docs/wiki/your-first-page/index.html +0 -80
  256. data/documentation/.rspec +0 -4
  257. data/documentation/.yarnrc +0 -1
  258. data/documentation/Gemfile +0 -19
  259. data/documentation/Guardfile +0 -9
  260. data/documentation/Rakefile +0 -9
  261. data/documentation/config.ru +0 -41
  262. data/documentation/config/README.md +0 -7
  263. data/documentation/config/environment.rb +0 -12
  264. data/documentation/lib/readme.txt +0 -1
  265. data/documentation/pages/_editor.xnode +0 -64
  266. data/documentation/pages/_heading.xnode +0 -2
  267. data/documentation/pages/_page.xnode +0 -40
  268. data/documentation/pages/errors/exception.xnode +0 -5
  269. data/documentation/pages/errors/file-not-found.xnode +0 -5
  270. data/documentation/pages/links.yaml +0 -2
  271. data/documentation/pages/wiki/_listing.xnode +0 -32
  272. data/documentation/pages/wiki/_navigation.xnode +0 -15
  273. data/documentation/pages/wiki/controller.rb +0 -48
  274. data/documentation/pages/wiki/edit.xnode +0 -10
  275. data/documentation/pages/wiki/links.yaml +0 -6
  276. data/documentation/pages/wiki/show.xnode +0 -12
  277. data/documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.apache.css +0 -6
  278. data/documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.applescript.css +0 -5
  279. data/documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.assembly.css +0 -8
  280. data/documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.bash-script.css +0 -6
  281. data/documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.bash.css +0 -10
  282. data/documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.clang.css +0 -3
  283. data/documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.css.css +0 -14
  284. data/documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.diff.css +0 -16
  285. data/documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.html.css +0 -5
  286. data/documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.ocaml.css +0 -3
  287. data/documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.protobuf.css +0 -2
  288. data/documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.python.css +0 -6
  289. data/documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.ruby.css +0 -2
  290. data/documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.xml.css +0 -18
  291. data/documentation/public/_components/jquery-syntax/base/jquery.syntax.core.css +0 -62
  292. data/documentation/public/_components/jquery-syntax/base/jquery.syntax.editor.css +0 -6
  293. data/documentation/public/_components/jquery-syntax/base/theme.js +0 -1
  294. data/documentation/public/_components/jquery-syntax/bright/jquery.syntax.core.css +0 -27
  295. data/documentation/public/_components/jquery-syntax/bright/theme.js +0 -1
  296. data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.apache.js +0 -41
  297. data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.applescript.js +0 -57
  298. data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.assembly.js +0 -37
  299. data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.bash-script.js +0 -67
  300. data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.bash.js +0 -33
  301. data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.basic.js +0 -51
  302. data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.clang.js +0 -89
  303. data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.csharp.js +0 -47
  304. data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.css.js +0 -80
  305. data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.diff.js +0 -24
  306. data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.go.js +0 -47
  307. data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.haskell.js +0 -45
  308. data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.html.js +0 -66
  309. data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.io.js +0 -45
  310. data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.java.js +0 -45
  311. data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.javascript.js +0 -40
  312. data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.kai.js +0 -29
  313. data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.lisp.js +0 -34
  314. data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.lua.js +0 -44
  315. data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.nginx.js +0 -31
  316. data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.ocaml.js +0 -73
  317. data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.ooc.js +0 -46
  318. data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.pascal.js +0 -51
  319. data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.perl5.js +0 -52
  320. data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.php-script.js +0 -48
  321. data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.php.js +0 -15
  322. data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.plain.js +0 -10
  323. data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.protobuf.js +0 -43
  324. data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.python.js +0 -44
  325. data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.ruby.js +0 -77
  326. data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.scala.js +0 -44
  327. data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.smalltalk.js +0 -29
  328. data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.sql.js +0 -31
  329. data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.super-collider.js +0 -57
  330. data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.swift.js +0 -55
  331. data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.trenni.js +0 -35
  332. data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.xml.js +0 -50
  333. data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.yaml.js +0 -29
  334. data/documentation/public/_components/jquery-syntax/jquery.syntax.cache.js +0 -65
  335. data/documentation/public/_components/jquery-syntax/jquery.syntax.core.js +0 -1098
  336. data/documentation/public/_components/jquery-syntax/jquery.syntax.editor.js +0 -291
  337. data/documentation/public/_components/jquery-syntax/jquery.syntax.js +0 -258
  338. data/documentation/public/_components/jquery-syntax/jquery.syntax.min.js +0 -13
  339. data/documentation/public/_components/jquery-syntax/paper/jquery.syntax.core.css +0 -31
  340. data/documentation/public/_components/jquery-syntax/paper/theme.js +0 -1
  341. data/documentation/public/_components/jquery/core.js +0 -482
  342. data/documentation/public/_components/jquery/jquery.js +0 -10220
  343. data/documentation/public/_components/jquery/jquery.min.js +0 -4
  344. data/documentation/public/_components/jquery/jquery.min.map +0 -1
  345. data/documentation/public/_components/jquery/jquery.slim.js +0 -8107
  346. data/documentation/public/_components/jquery/jquery.slim.min.js +0 -4
  347. data/documentation/public/_components/jquery/jquery.slim.min.map +0 -1
  348. data/documentation/public/_static +0 -1
  349. data/documentation/public/materials +0 -1
  350. data/documentation/spec/website_context.rb +0 -12
  351. data/documentation/spec/website_spec.rb +0 -16
  352. data/documentation/tasks +0 -1
  353. data/spec/utopia/content/link_spec.rb +0 -47
@@ -1,16 +1,13 @@
1
1
  one:
2
2
  order: 1
3
- two.en: &two
3
+ two:
4
4
  order: 2
5
- two.zh:
6
- <<: *two
7
5
  three:
8
6
  order: 3
9
- four.en: &four
7
+ four:
10
8
  order: 4
11
9
  title: "Four"
12
10
  four.zh:
13
- order: 4
14
11
  title: "四"
15
12
  five.en:
16
13
  order: 5
@@ -47,7 +47,7 @@ RSpec.describe Utopia::Content::Node do
47
47
  end
48
48
 
49
49
  it "should list related links" do
50
- node = content.lookup_node(Utopia::Path['/related/foo.en'])
50
+ node = content.lookup_node(Utopia::Path['/related/foo'], 'en')
51
51
 
52
52
  links = node.related_links
53
53
 
@@ -24,7 +24,7 @@
24
24
  require 'utopia/path'
25
25
 
26
26
  RSpec.describe Utopia::Path do
27
- context "coder" do
27
+ describe '#load / #dump' do
28
28
  subject {"foo/bar/baz"}
29
29
  let(:instance) {described_class.load(subject)}
30
30
 
@@ -37,11 +37,56 @@ RSpec.describe Utopia::Path do
37
37
  end
38
38
  end
39
39
 
40
- it "should be root path" do
41
- root = Utopia::Path["/"]
40
+ describe '.root' do
41
+ subject(:path) {described_class.root}
42
+
43
+ it {is_expected.to be == [""]}
44
+ it {is_expected.to_not be_relative}
45
+ it {is_expected.to be_absolute}
46
+ it {is_expected.to have_attributes(local_path: '')}
47
+ end
48
+
49
+ describe '.create' do
50
+ subject(:path) {described_class.create(value)}
51
+
52
+ context 'with root path' do
53
+ let(:value) {"/"}
54
+ it {is_expected.to be == ["", ""]}
55
+ it {is_expected.to have_attributes(local_path: '/')}
56
+ end
57
+
58
+ context 'with nil path' do
59
+ let(:value) {nil}
60
+ it {is_expected.to be_nil}
61
+ end
42
62
 
43
- expect(root.components).to be == ['', '']
44
- expect(root.to_local_path).to be == '/'
63
+ context 'with symbol path' do
64
+ let(:value) {:symbol}
65
+ it {is_expected.to be == [:symbol]}
66
+ it {is_expected.to be_relative}
67
+ it {is_expected.to_not be_absolute}
68
+ end
69
+
70
+ context 'with empty string path' do
71
+ let(:value) {""}
72
+ it {is_expected.to be == []}
73
+ it {is_expected.to be_relative}
74
+ it {is_expected.to_not be_absolute}
75
+ end
76
+
77
+ context 'with relative string path' do
78
+ let(:value) {"foo/bar"}
79
+ it {is_expected.to be == ["foo", "bar"]}
80
+ it {is_expected.to be_relative}
81
+ it {is_expected.to_not be_absolute}
82
+ end
83
+
84
+ context 'with absolute string path' do
85
+ let(:value) {"/foo/bar"}
86
+ it {is_expected.to be == ["", "foo", "bar"]}
87
+ it {is_expected.to_not be_relative}
88
+ it {is_expected.to be_absolute}
89
+ end
45
90
  end
46
91
 
47
92
  it "should concatenate absolute paths" do
@@ -0,0 +1,9 @@
1
+
2
+ source "https://rubygems.org"
3
+
4
+ group :preload do
5
+ gem "falcon"
6
+ gem "utopia-wiki"
7
+ end
8
+
9
+ gem "utopia", path: "../"
@@ -0,0 +1,7 @@
1
+
2
+ require 'utopia/setup'
3
+ UTOPIA ||= Utopia.setup
4
+
5
+ require 'utopia/wiki'
6
+
7
+ Utopia::Wiki.call(self)
@@ -0,0 +1,2 @@
1
+ index:
2
+ title: FAQ
@@ -1,4 +1,4 @@
1
- # What Is `.xnode`?
1
+ # What is `.xnode`?
2
2
 
3
3
  Xnodes are the files on disk which are used as part of Utopia's content/view layer. Xnode templates are designed to maximise the ratio of content to markup. They improve separation of concerns and semantic organisation because repeated markup can be reused easily.
4
4
 
@@ -0,0 +1,2 @@
1
+ index:
2
+ title: "What is .xnode?"
@@ -1,6 +1,6 @@
1
- # Utopia Documentation Wiki
1
+ # Utopia
2
2
 
3
- This wiki includes documentation and examples showing how to use Utopia. You can also browse the [code documentation](/code/index.html) for more detail. Feel free to [edit](edit) any part of this documentation and submit a PR.
3
+ Utopia is a content management system built on top of Ruby. It makes creating, deploying and updating content-driven websites easy.
4
4
 
5
5
  ## Introduction Guide
6
6
 
@@ -1,28 +1,36 @@
1
- # Yarn Integration
1
+ # Installing JavaScript Libraries
2
2
 
3
- Utopia integrates with Yarn and provides a rake task to simplify deployment packages distributed using `yarn` that implement the `dist` sub-directory convention.
3
+ Utopia integrates with Yarn and provides a [bake task](https://github.com/ioquatix/bake) to simplify deployment packages distributed using `yarn` that implement the `dist` sub-directory convention.
4
4
 
5
- By default, utopia includes a `.yarnrc` file which installs modules into `lib/components`. This code can then be copied into `public/_components` using `rake yarn:update`.
5
+ By default, utopia includes a `.yarnrc` file which installs modules into `lib/components`. This code can then be copied into `public/_components` using `bake utopia:yarn:update`.
6
6
 
7
7
  ## Installing Yarn
8
8
 
9
9
  If you don't already have yarn installed, make sure you have npm installed and then run the following command:
10
10
 
11
- $ sudo npm install -g yarn
11
+ ```bash
12
+ $ sudo npm install -g yarn
13
+ ```
12
14
 
13
15
  ## Installing jQuery
14
16
 
15
17
  Firstly, ensure your project has a `package.json` file:
16
18
 
17
- $ yarn init
19
+ ```bash
20
+ $ yarn init
21
+ ```
18
22
 
19
23
  Then install jquery using `yarn`:
20
24
 
21
- $ bower install jquery
25
+ ```bash
26
+ $ yarn install jquery
27
+ ```
22
28
 
23
29
  Copy the distribution scripts to `public/_components`:
24
30
 
25
- $ rake yarn:update
31
+ ```bash
32
+ $ bundle exec bake utopia:yarn:update
33
+ ```
26
34
 
27
35
  Then add the appropriate `<script>` tags to `pages/_page.xnode`:
28
36
 
@@ -30,12 +38,6 @@ Then add the appropriate `<script>` tags to `pages/_page.xnode`:
30
38
  <script type="text/javascript" src="/_components/jquery/jquery.min.js"></script>
31
39
  ```
32
40
 
33
- ### What does `rake yarn:update` do?
34
-
35
- This task copies only the contents of the `dist` directory. This ensures that you only get files intended for distribution. If the bower package doesn't have a `dist` directory, the entire contents is copied.
36
-
37
- <content:listing rel="site" src="tasks/yarn.rake" brush="ruby" />
38
-
39
41
  ## Using JavaScript
40
42
 
41
43
  You can use JavaScript by embedding it directly into your HTML, or by creating a JavaScript source file and referencing that.
@@ -0,0 +1,2 @@
1
+ index:
2
+ title: JavaScript
@@ -0,0 +1,2 @@
1
+ index:
2
+ title: Wiki
@@ -50,7 +50,7 @@ end
50
50
 
51
51
  ## Path Matching
52
52
 
53
- Path matching works from right to left, and '**' is a greedy operator. Controllers are invoked with a path relative to the controller's `URI_PATH`, so all lookups are relative to the controller.
53
+ Path matching works from right to left, and `'**'` is a greedy operator. Controllers are invoked with a path relative to the controller's `URI_PATH`, so all lookups are relative to the controller.
54
54
 
55
55
  <dl>
56
56
  <dt><code class="language-ruby">"*"</code></dt>
@@ -73,4 +73,4 @@ otherwise do |request, path|
73
73
  end
74
74
  ```
75
75
 
76
- If you are doing this to perform some kind of rewriting, it may be preferable to use the [Rewrite](rewrite/) controller layer.
76
+ If you are doing this to perform some kind of rewriting, it may be preferable to use the [Rewrite](../rewrite/) controller layer.
@@ -9,7 +9,7 @@ $ utopia site create
9
9
  $ rake server
10
10
  ```
11
11
 
12
- You will now have a basic template site running on `http://localhost:9292`.
12
+ You will now have a basic template site running on `https://localhost:9292`.
13
13
 
14
14
  ## Welcome Page
15
15
 
@@ -34,5 +34,5 @@ You'll notice that there is a file `/links.yaml`. This file contains important m
34
34
 
35
35
  ```yaml
36
36
  errors:
37
- display: false
37
+ display: false
38
38
  ```
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: utopia
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.13.4
4
+ version: 2.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-18 00:00:00.000000000 Z
11
+ date: 2020-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: trenni
@@ -274,13 +274,12 @@ extensions: []
274
274
  extra_rdoc_files: []
275
275
  files:
276
276
  - ".codeclimate.yml"
277
+ - ".github/workflows/development.yml"
277
278
  - ".gitignore"
278
279
  - ".rspec"
279
- - ".travis.yml"
280
280
  - ".yardopts"
281
281
  - Gemfile
282
282
  - README.md
283
- - Rakefile
284
283
  - bake/utopia.rb
285
284
  - bake/utopia/shell.rb
286
285
  - bake/utopia/static.rb
@@ -293,6 +292,9 @@ files:
293
292
  - benchmark/struct_vs_class.rb
294
293
  - bin/utopia
295
294
  - docs/.nojekyll
295
+ - docs/_components/jquery-litebox/jquery.litebox.css
296
+ - docs/_components/jquery-litebox/jquery.litebox.gallery.css
297
+ - docs/_components/jquery-litebox/jquery.litebox.js
296
298
  - docs/_components/jquery-syntax/base/jquery.syntax.brush.apache.css
297
299
  - docs/_components/jquery-syntax/base/jquery.syntax.brush.applescript.css
298
300
  - docs/_components/jquery-syntax/base/jquery.syntax.brush.assembly.css
@@ -357,7 +359,6 @@ files:
357
359
  - docs/_components/jquery-syntax/jquery.syntax.min.js
358
360
  - docs/_components/jquery-syntax/paper/jquery.syntax.core.css
359
361
  - docs/_components/jquery-syntax/paper/theme.js
360
- - docs/_components/jquery/core.js
361
362
  - docs/_components/jquery/jquery.js
362
363
  - docs/_components/jquery/jquery.min.js
363
364
  - docs/_components/jquery/jquery.min.map
@@ -366,263 +367,22 @@ files:
366
367
  - docs/_components/jquery/jquery.slim.min.map
367
368
  - docs/_static/icon.png
368
369
  - docs/_static/site.css
369
- - docs/_static/utopia-background.svg
370
- - docs/_static/utopia.svg
371
- - docs/code/Utopia.html
372
- - docs/code/Utopia/Basename.html
373
- - docs/code/Utopia/Bootstrap.html
374
- - docs/code/Utopia/Command.html
375
- - docs/code/Utopia/Command/Environment.html
376
- - docs/code/Utopia/Command/Server.html
377
- - docs/code/Utopia/Command/Server/Create.html
378
- - docs/code/Utopia/Command/Server/Environment.html
379
- - docs/code/Utopia/Command/Server/Update.html
380
- - docs/code/Utopia/Command/Setup.html
381
- - docs/code/Utopia/Command/Setup/Server.html
382
- - docs/code/Utopia/Command/Setup/Site.html
383
- - docs/code/Utopia/Command/Site.html
384
- - docs/code/Utopia/Command/Site/Create.html
385
- - docs/code/Utopia/Command/Site/Update.html
386
- - docs/code/Utopia/Command/Top.html
387
- - docs/code/Utopia/Content.html
388
- - docs/code/Utopia/Content/Document.html
389
- - docs/code/Utopia/Content/Document/State.html
390
- - docs/code/Utopia/Content/Link.html
391
- - docs/code/Utopia/Content/Links.html
392
- - docs/code/Utopia/Content/MarkupParser.html
393
- - docs/code/Utopia/Content/MarkupParser/ParsedTag.html
394
- - docs/code/Utopia/Content/MarkupParser/UnbalancedTagError.html
395
- - docs/code/Utopia/Content/Namespace.html
396
- - docs/code/Utopia/Content/Node.html
397
- - docs/code/Utopia/Content/Node/Context.html
398
- - docs/code/Utopia/Content/Response.html
399
- - docs/code/Utopia/Content/SymbolicHash.html
400
- - docs/code/Utopia/Content/Tag.html
401
- - docs/code/Utopia/Content/Tags.html
402
- - docs/code/Utopia/Content/Tags/ContentTag.html
403
- - docs/code/Utopia/Content/Tags/DeferredTag.html
404
- - docs/code/Utopia/Content/Tags/Library.html
405
- - docs/code/Utopia/Content/Tags/NodeTag.html
406
- - docs/code/Utopia/Content/UnbalancedTagError.html
407
- - docs/code/Utopia/ContentLength.html
408
- - docs/code/Utopia/Controller.html
409
- - docs/code/Utopia/Controller/Actions.html
410
- - docs/code/Utopia/Controller/Actions/Action.html
411
- - docs/code/Utopia/Controller/Actions/ClassMethods.html
412
- - docs/code/Utopia/Controller/Base.html
413
- - docs/code/Utopia/Controller/Respond.html
414
- - docs/code/Utopia/Controller/Respond/ClassMethods.html
415
- - docs/code/Utopia/Controller/Respond/Converter.html
416
- - docs/code/Utopia/Controller/Respond/Converter/Callback.html
417
- - docs/code/Utopia/Controller/Respond/Converter/ToJSON.html
418
- - docs/code/Utopia/Controller/Respond/Passthrough.html
419
- - docs/code/Utopia/Controller/Respond/Responder.html
420
- - docs/code/Utopia/Controller/Rewrite.html
421
- - docs/code/Utopia/Controller/Rewrite/ClassMethods.html
422
- - docs/code/Utopia/Controller/Rewrite/ExtractPrefixRule.html
423
- - docs/code/Utopia/Controller/Rewrite/Rewriter.html
424
- - docs/code/Utopia/Controller/Rewrite/Rule.html
425
- - docs/code/Utopia/Controller/Variables.html
426
- - docs/code/Utopia/Controllers.html
427
- - docs/code/Utopia/Exceptions.html
428
- - docs/code/Utopia/Exceptions/Handler.html
429
- - docs/code/Utopia/Exceptions/Mailer.html
430
- - docs/code/Utopia/Extensions.html
431
- - docs/code/Utopia/Extensions/ArraySplit.html
432
- - docs/code/Utopia/Extensions/DateTimeComparison.html
433
- - docs/code/Utopia/Extensions/TimeDateComparison.html
434
- - docs/code/Utopia/HTTP.html
435
- - docs/code/Utopia/HTTP/Status.html
436
- - docs/code/Utopia/Locale.html
437
- - docs/code/Utopia/Localization.html
438
- - docs/code/Utopia/Localization/Wrapper.html
439
- - docs/code/Utopia/Logger.html
440
- - docs/code/Utopia/Logger/CompactFormatter.html
441
- - docs/code/Utopia/Path.html
442
- - docs/code/Utopia/Path/Matcher.html
443
- - docs/code/Utopia/Path/Matcher/MatchData.html
444
- - docs/code/Utopia/Redirection.html
445
- - docs/code/Utopia/Redirection/ClientRedirect.html
446
- - docs/code/Utopia/Redirection/DirectoryIndex.html
447
- - docs/code/Utopia/Redirection/Errors.html
448
- - docs/code/Utopia/Redirection/Moved.html
449
- - docs/code/Utopia/Redirection/RequestFailure.html
450
- - docs/code/Utopia/Redirection/Rewrite.html
451
- - docs/code/Utopia/Session.html
452
- - docs/code/Utopia/Session/LazyHash.html
453
- - docs/code/Utopia/Setup.html
454
- - docs/code/Utopia/Static.html
455
- - docs/code/Utopia/Static/LocalFile.html
456
- - docs/code/Utopia/Static/MimeTypeLoader.html
457
- - docs/code/Utopia/Static/MimeTypeLoader/ExpansionError.html
458
- - docs/code/Utopia/Tags.html
459
- - docs/code/Utopia/Tags/Environment.html
460
- - docs/code/Utopia/Tags/EnvironmentTag.html
461
- - docs/code/Utopia/Tags/Library.html
462
- - docs/code/_index.html
463
- - docs/code/class_list.html
464
- - docs/code/css/common.css
465
- - docs/code/css/full_list.css
466
- - docs/code/css/style.css
467
- - docs/code/file.README.html
468
- - docs/code/file_list.html
469
- - docs/code/frames.html
470
- - docs/code/index.html
471
- - docs/code/js/app.js
472
- - docs/code/js/full_list.js
473
- - docs/code/js/jquery.js
474
- - docs/code/materials/utopia.png
475
- - docs/code/materials/utopia.svg
476
- - docs/code/method_list.html
477
- - docs/code/top-level-namespace.html
370
+ - docs/development-environment-setup/index.html
371
+ - docs/faq/what-is-xnode/index.html
478
372
  - docs/index.html
479
- - docs/wiki.html
480
- - docs/wiki/development-environment-setup.html
481
- - docs/wiki/development-environment-setup/index.html
482
- - docs/wiki/edit.html
483
- - docs/wiki/faq/what-is-xnode.html
484
- - docs/wiki/faq/what-is-xnode/index.html
485
- - docs/wiki/javascript.html
486
- - docs/wiki/javascript/index.html
487
- - docs/wiki/middleware/content.html
488
- - docs/wiki/middleware/content/index.html
489
- - docs/wiki/middleware/controller.html
490
- - docs/wiki/middleware/controller/actions.html
491
- - docs/wiki/middleware/controller/actions/index.html
492
- - docs/wiki/middleware/controller/actions/rewrite/index.html
493
- - docs/wiki/middleware/controller/index.html
494
- - docs/wiki/middleware/controller/rewrite.html
495
- - docs/wiki/middleware/controller/rewrite/index.html
496
- - docs/wiki/middleware/localization.html
497
- - docs/wiki/middleware/localization/index.html
498
- - docs/wiki/middleware/redirection.html
499
- - docs/wiki/middleware/redirection/index.html
500
- - docs/wiki/middleware/session.html
501
- - docs/wiki/middleware/session/index.html
502
- - docs/wiki/middleware/static.html
503
- - docs/wiki/middleware/static/index.html
504
- - docs/wiki/server-setup.html
505
- - docs/wiki/server-setup/index.html
506
- - docs/wiki/testing.html
507
- - docs/wiki/testing/index.html
508
- - docs/wiki/updating-utopia.html
509
- - docs/wiki/updating-utopia/index.html
510
- - docs/wiki/your-first-page.html
511
- - docs/wiki/your-first-page/index.html
512
- - documentation/.rspec
513
- - documentation/.yarnrc
514
- - documentation/Gemfile
515
- - documentation/Guardfile
516
- - documentation/Rakefile
517
- - documentation/config.ru
518
- - documentation/config/README.md
519
- - documentation/config/environment.rb
520
- - documentation/lib/readme.txt
521
- - documentation/pages/_editor.xnode
522
- - documentation/pages/_heading.xnode
523
- - documentation/pages/_page.xnode
524
- - documentation/pages/errors/exception.xnode
525
- - documentation/pages/errors/file-not-found.xnode
526
- - documentation/pages/links.yaml
527
- - documentation/pages/wiki/_listing.xnode
528
- - documentation/pages/wiki/_navigation.xnode
529
- - documentation/pages/wiki/content.md
530
- - documentation/pages/wiki/controller.rb
531
- - documentation/pages/wiki/development-environment-setup/content.md
532
- - documentation/pages/wiki/edit.xnode
533
- - documentation/pages/wiki/faq/what-is-xnode/content.md
534
- - documentation/pages/wiki/javascript/content.md
535
- - documentation/pages/wiki/links.yaml
536
- - documentation/pages/wiki/middleware/content/content.md
537
- - documentation/pages/wiki/middleware/controller/actions/content.md
538
- - documentation/pages/wiki/middleware/controller/content.md
539
- - documentation/pages/wiki/middleware/controller/links.yaml
540
- - documentation/pages/wiki/middleware/controller/rewrite/content.md
541
- - documentation/pages/wiki/middleware/localization/content.md
542
- - documentation/pages/wiki/middleware/redirection/content.md
543
- - documentation/pages/wiki/middleware/session/content.md
544
- - documentation/pages/wiki/middleware/static/content.md
545
- - documentation/pages/wiki/server-setup/content.md
546
- - documentation/pages/wiki/show.xnode
547
- - documentation/pages/wiki/testing/content.md
548
- - documentation/pages/wiki/updating-utopia/content.md
549
- - documentation/pages/wiki/your-first-page/content.md
550
- - documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.apache.css
551
- - documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.applescript.css
552
- - documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.assembly.css
553
- - documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.bash-script.css
554
- - documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.bash.css
555
- - documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.clang.css
556
- - documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.css.css
557
- - documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.diff.css
558
- - documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.html.css
559
- - documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.ocaml.css
560
- - documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.protobuf.css
561
- - documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.python.css
562
- - documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.ruby.css
563
- - documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.xml.css
564
- - documentation/public/_components/jquery-syntax/base/jquery.syntax.core.css
565
- - documentation/public/_components/jquery-syntax/base/jquery.syntax.editor.css
566
- - documentation/public/_components/jquery-syntax/base/theme.js
567
- - documentation/public/_components/jquery-syntax/bright/jquery.syntax.core.css
568
- - documentation/public/_components/jquery-syntax/bright/theme.js
569
- - documentation/public/_components/jquery-syntax/jquery.syntax.brush.apache.js
570
- - documentation/public/_components/jquery-syntax/jquery.syntax.brush.applescript.js
571
- - documentation/public/_components/jquery-syntax/jquery.syntax.brush.assembly.js
572
- - documentation/public/_components/jquery-syntax/jquery.syntax.brush.bash-script.js
573
- - documentation/public/_components/jquery-syntax/jquery.syntax.brush.bash.js
574
- - documentation/public/_components/jquery-syntax/jquery.syntax.brush.basic.js
575
- - documentation/public/_components/jquery-syntax/jquery.syntax.brush.clang.js
576
- - documentation/public/_components/jquery-syntax/jquery.syntax.brush.csharp.js
577
- - documentation/public/_components/jquery-syntax/jquery.syntax.brush.css.js
578
- - documentation/public/_components/jquery-syntax/jquery.syntax.brush.diff.js
579
- - documentation/public/_components/jquery-syntax/jquery.syntax.brush.go.js
580
- - documentation/public/_components/jquery-syntax/jquery.syntax.brush.haskell.js
581
- - documentation/public/_components/jquery-syntax/jquery.syntax.brush.html.js
582
- - documentation/public/_components/jquery-syntax/jquery.syntax.brush.io.js
583
- - documentation/public/_components/jquery-syntax/jquery.syntax.brush.java.js
584
- - documentation/public/_components/jquery-syntax/jquery.syntax.brush.javascript.js
585
- - documentation/public/_components/jquery-syntax/jquery.syntax.brush.kai.js
586
- - documentation/public/_components/jquery-syntax/jquery.syntax.brush.lisp.js
587
- - documentation/public/_components/jquery-syntax/jquery.syntax.brush.lua.js
588
- - documentation/public/_components/jquery-syntax/jquery.syntax.brush.nginx.js
589
- - documentation/public/_components/jquery-syntax/jquery.syntax.brush.ocaml.js
590
- - documentation/public/_components/jquery-syntax/jquery.syntax.brush.ooc.js
591
- - documentation/public/_components/jquery-syntax/jquery.syntax.brush.pascal.js
592
- - documentation/public/_components/jquery-syntax/jquery.syntax.brush.perl5.js
593
- - documentation/public/_components/jquery-syntax/jquery.syntax.brush.php-script.js
594
- - documentation/public/_components/jquery-syntax/jquery.syntax.brush.php.js
595
- - documentation/public/_components/jquery-syntax/jquery.syntax.brush.plain.js
596
- - documentation/public/_components/jquery-syntax/jquery.syntax.brush.protobuf.js
597
- - documentation/public/_components/jquery-syntax/jquery.syntax.brush.python.js
598
- - documentation/public/_components/jquery-syntax/jquery.syntax.brush.ruby.js
599
- - documentation/public/_components/jquery-syntax/jquery.syntax.brush.scala.js
600
- - documentation/public/_components/jquery-syntax/jquery.syntax.brush.smalltalk.js
601
- - documentation/public/_components/jquery-syntax/jquery.syntax.brush.sql.js
602
- - documentation/public/_components/jquery-syntax/jquery.syntax.brush.super-collider.js
603
- - documentation/public/_components/jquery-syntax/jquery.syntax.brush.swift.js
604
- - documentation/public/_components/jquery-syntax/jquery.syntax.brush.trenni.js
605
- - documentation/public/_components/jquery-syntax/jquery.syntax.brush.xml.js
606
- - documentation/public/_components/jquery-syntax/jquery.syntax.brush.yaml.js
607
- - documentation/public/_components/jquery-syntax/jquery.syntax.cache.js
608
- - documentation/public/_components/jquery-syntax/jquery.syntax.core.js
609
- - documentation/public/_components/jquery-syntax/jquery.syntax.editor.js
610
- - documentation/public/_components/jquery-syntax/jquery.syntax.js
611
- - documentation/public/_components/jquery-syntax/jquery.syntax.min.js
612
- - documentation/public/_components/jquery-syntax/paper/jquery.syntax.core.css
613
- - documentation/public/_components/jquery-syntax/paper/theme.js
614
- - documentation/public/_components/jquery/core.js
615
- - documentation/public/_components/jquery/jquery.js
616
- - documentation/public/_components/jquery/jquery.min.js
617
- - documentation/public/_components/jquery/jquery.min.map
618
- - documentation/public/_components/jquery/jquery.slim.js
619
- - documentation/public/_components/jquery/jquery.slim.min.js
620
- - documentation/public/_components/jquery/jquery.slim.min.map
621
- - documentation/public/_static
622
- - documentation/public/materials
623
- - documentation/spec/website_context.rb
624
- - documentation/spec/website_spec.rb
625
- - documentation/tasks
373
+ - docs/javascript/index.html
374
+ - docs/middleware/content/index.html
375
+ - docs/middleware/controller/actions/index.html
376
+ - docs/middleware/controller/index.html
377
+ - docs/middleware/controller/rewrite/index.html
378
+ - docs/middleware/localization/index.html
379
+ - docs/middleware/redirection/index.html
380
+ - docs/middleware/session/index.html
381
+ - docs/middleware/static/index.html
382
+ - docs/server-setup/index.html
383
+ - docs/testing/index.html
384
+ - docs/updating-utopia/index.html
385
+ - docs/your-first-page/index.html
626
386
  - lib/utopia.rb
627
387
  - lib/utopia/command.rb
628
388
  - lib/utopia/command/environment.rb
@@ -699,12 +459,17 @@ files:
699
459
  - spec/spec_helper.rb
700
460
  - spec/utopia/command_spec.rb
701
461
  - spec/utopia/content/document_spec.rb
702
- - spec/utopia/content/link_spec.rb
462
+ - spec/utopia/content/links/bar/index.xnode
463
+ - spec/utopia/content/links/bar/parent/child/index.en.xnode
464
+ - spec/utopia/content/links/bar/parent/child/index.ja.xnode
465
+ - spec/utopia/content/links/bar/parent/links.yaml
703
466
  - spec/utopia/content/links/foo/index.xnode
704
467
  - spec/utopia/content/links/foo/links.yaml
705
468
  - spec/utopia/content/links/foo/test.de.xnode
706
469
  - spec/utopia/content/links/foo/test.en.xnode
470
+ - spec/utopia/content/links/index.xnode
707
471
  - spec/utopia/content/links/links.yaml
472
+ - spec/utopia/content/links/redirect/links.yaml
708
473
  - spec/utopia/content/links/welcome.xnode
709
474
  - spec/utopia/content/links_spec.rb
710
475
  - spec/utopia/content/localized/five/index.en.xnode
@@ -801,6 +566,29 @@ files:
801
566
  - spec/utopia/static_spec.ru
802
567
  - spec/utopia/static_spec/test.txt
803
568
  - utopia.gemspec
569
+ - wiki/Gemfile
570
+ - wiki/config.ru
571
+ - wiki/pages/development-environment-setup/index.md
572
+ - wiki/pages/faq/links.yaml
573
+ - wiki/pages/faq/what-is-xnode/index.md
574
+ - wiki/pages/faq/what-is-xnode/links.yaml
575
+ - wiki/pages/index.md
576
+ - wiki/pages/javascript/index.md
577
+ - wiki/pages/javascript/links.yaml
578
+ - wiki/pages/links.yaml
579
+ - wiki/pages/middleware/content/index.md
580
+ - wiki/pages/middleware/controller/actions/index.md
581
+ - wiki/pages/middleware/controller/index.md
582
+ - wiki/pages/middleware/controller/links.yaml
583
+ - wiki/pages/middleware/controller/rewrite/index.md
584
+ - wiki/pages/middleware/localization/index.md
585
+ - wiki/pages/middleware/redirection/index.md
586
+ - wiki/pages/middleware/session/index.md
587
+ - wiki/pages/middleware/static/index.md
588
+ - wiki/pages/server-setup/index.md
589
+ - wiki/pages/testing/index.md
590
+ - wiki/pages/updating-utopia/index.md
591
+ - wiki/pages/your-first-page/index.md
804
592
  homepage: https://github.com/ioquatix/utopia
805
593
  licenses:
806
594
  - MIT
@@ -829,12 +617,17 @@ test_files:
829
617
  - spec/spec_helper.rb
830
618
  - spec/utopia/command_spec.rb
831
619
  - spec/utopia/content/document_spec.rb
832
- - spec/utopia/content/link_spec.rb
620
+ - spec/utopia/content/links/bar/index.xnode
621
+ - spec/utopia/content/links/bar/parent/child/index.en.xnode
622
+ - spec/utopia/content/links/bar/parent/child/index.ja.xnode
623
+ - spec/utopia/content/links/bar/parent/links.yaml
833
624
  - spec/utopia/content/links/foo/index.xnode
834
625
  - spec/utopia/content/links/foo/links.yaml
835
626
  - spec/utopia/content/links/foo/test.de.xnode
836
627
  - spec/utopia/content/links/foo/test.en.xnode
628
+ - spec/utopia/content/links/index.xnode
837
629
  - spec/utopia/content/links/links.yaml
630
+ - spec/utopia/content/links/redirect/links.yaml
838
631
  - spec/utopia/content/links/welcome.xnode
839
632
  - spec/utopia/content/links_spec.rb
840
633
  - spec/utopia/content/localized/five/index.en.xnode