paginas 0.1.3 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (198) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/paginas.js +5 -0
  3. data/app/controllers/paginas/application_controller.rb +3 -1
  4. data/app/controllers/paginas/categories_controller.rb +43 -0
  5. data/app/controllers/paginas/pages_controller.rb +10 -15
  6. data/app/helpers/paginas/application_helper.rb +41 -0
  7. data/app/helpers/paginas/categories_helper.rb +4 -0
  8. data/app/helpers/paginas/pages_helper.rb +0 -0
  9. data/app/models/paginas/category.rb +5 -0
  10. data/app/models/paginas/page.rb +1 -0
  11. data/app/views/paginas/categories/_form.html.erb +25 -0
  12. data/app/views/paginas/categories/edit.html.erb +6 -0
  13. data/app/views/paginas/categories/index.html.erb +31 -0
  14. data/app/views/paginas/categories/new.html.erb +5 -0
  15. data/app/views/paginas/categories/show.html.erb +18 -0
  16. data/app/views/paginas/pages/_form.html.erb +8 -0
  17. data/app/views/paginas/pages/display.html.erb +1 -1
  18. data/app/views/paginas/pages/featured.html.erb +1 -1
  19. data/app/views/paginas/pages/index.html.erb +2 -0
  20. data/app/views/paginas/pages/show.html.erb +2 -0
  21. data/config/routes.rb +1 -0
  22. data/db/migrate/20150212133316_create_paginas_pages.rb +1 -1
  23. data/db/migrate/20150213135047_add_show_title_to_paginas_pages.rb +5 -0
  24. data/db/migrate/20150213154421_create_paginas_categories.rb +10 -0
  25. data/db/migrate/20150213155126_add_ref_to_paginas_pages.rb +5 -0
  26. data/lib/generators/paginas/views_generator.rb +2 -1
  27. data/lib/paginas.rb +0 -1
  28. data/lib/paginas/version.rb +1 -1
  29. data/test/controllers/paginas/categories_controller_test.rb +51 -0
  30. data/test/dummy/app/views/layouts/application.html.erb +2 -0
  31. data/test/dummy/db/development.sqlite3 +0 -0
  32. data/test/dummy/db/schema.rb +15 -4
  33. data/test/dummy/log/development.log +7107 -0
  34. data/test/dummy/tmp/cache/assets/development/sprockets/0af4c8229b96d670ece643ab86d847fc +0 -0
  35. data/test/dummy/tmp/cache/assets/development/sprockets/0ee8d3e5b36596acfcc7aac1e2c53afb +0 -0
  36. data/test/dummy/tmp/cache/assets/development/sprockets/1551e0fd7a443780df1664ebdeb18ac1 +0 -0
  37. data/test/dummy/tmp/cache/assets/development/sprockets/1a00a5d48b33b4f7efca9b6bbdd63bcd +0 -0
  38. data/test/dummy/tmp/cache/assets/development/sprockets/21011cd5ad02024ed642796a38699cb5 +0 -0
  39. data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  40. data/test/dummy/tmp/cache/assets/development/sprockets/3f9f0b85e5027ef9cabe4fc1f96b9a67 +0 -0
  41. data/test/dummy/tmp/cache/assets/development/sprockets/479d3bb4bd6dcf93c1f6fd7fc4e8f484 +0 -0
  42. data/test/dummy/tmp/cache/assets/development/sprockets/5549bda2a1379ba359a508ac6eef4fed +0 -0
  43. data/test/dummy/tmp/cache/assets/development/sprockets/68a9c8d9374226e8006a035b0fdc68d6 +0 -0
  44. data/test/dummy/tmp/cache/assets/development/sprockets/68d83dd802c75113a5e2d20da57bb19f +0 -0
  45. data/test/dummy/tmp/cache/assets/development/sprockets/74e2e79aaabf24d2f9c9c0db1a848506 +0 -0
  46. data/test/dummy/tmp/cache/assets/development/sprockets/7796585c12a75e75f99a2ce3d64f3685 +0 -0
  47. data/test/dummy/tmp/cache/assets/development/sprockets/8591abf6e2c5e4c2c9a5d9cba884191d +0 -0
  48. data/test/dummy/tmp/cache/assets/development/sprockets/85c1359d66fb12cd68b8606117cd98ba +0 -0
  49. data/test/dummy/tmp/cache/assets/development/sprockets/8f19f695aa102b3306cd7bc524877aaf +0 -0
  50. data/test/dummy/tmp/cache/assets/development/sprockets/a868a2b2a5302aeed2e5608d656d5ff4 +0 -0
  51. data/test/dummy/tmp/cache/assets/development/sprockets/b0d1d14e7cf764cbc39a931d8dd3f2de +0 -0
  52. data/test/dummy/tmp/cache/assets/development/sprockets/b265df7d299afb2b854d0d677f534b64 +0 -0
  53. data/test/dummy/tmp/cache/assets/development/sprockets/c2a90a25a0d9740bacd317b21a773000 +0 -0
  54. data/test/dummy/tmp/cache/assets/development/sprockets/cd5ec00cd445991e3f11ed6c5736cb63 +0 -0
  55. data/test/dummy/tmp/cache/assets/development/sprockets/cfa9226df92e47e7f6cb7b5668b8bad2 +0 -0
  56. data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  57. data/test/dummy/tmp/cache/assets/development/sprockets/d3ae97f3eebfface2dbfa809fff4cb9f +0 -0
  58. data/test/dummy/tmp/cache/assets/development/sprockets/da017253c0d60d236728d78f022cd203 +0 -0
  59. data/test/dummy/tmp/cache/assets/development/sprockets/e6081e190935ce01a7b64d0bcc7a8912 +0 -0
  60. data/test/dummy/tmp/cache/assets/development/sprockets/f0089f75e018e7d19b6fe81ab885cd8e +0 -0
  61. data/test/dummy/tmp/cache/assets/development/sprockets/f5afae3a18a58341a8853b2f935b2b5e +0 -0
  62. data/test/dummy/tmp/cache/assets/development/sprockets/f760d05f8aef4eb68d32f2a6aee2cb7d +0 -0
  63. data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  64. data/test/dummy/tmp/cache/assets/development/sprockets/fd1680f1ef8200c9748a7ad805cd4c75 +0 -0
  65. data/test/dummy/tmp/cache/assets/development/sprockets/fd3186407a9ce29b3b8f07f85f2dede0 +0 -0
  66. data/test/dummy/tmp/pids/server.pid +1 -1
  67. data/test/dummy2/README.rdoc +28 -0
  68. data/test/dummy2/Rakefile +6 -0
  69. data/test/dummy2/app/assets/javascripts/application.js +14 -0
  70. data/test/dummy2/app/assets/stylesheets/application.css +15 -0
  71. data/test/dummy2/app/controllers/application_controller.rb +5 -0
  72. data/test/dummy2/app/controllers/categories_controller.rb +2 -0
  73. data/test/dummy2/app/controllers/pages_controller.rb +2 -0
  74. data/test/dummy2/app/helpers/application_helper.rb +2 -0
  75. data/test/dummy2/app/views/layouts/application.html.erb +16 -0
  76. data/test/dummy2/app/views/paginas/categories/_form.html.erb +25 -0
  77. data/test/dummy2/app/views/paginas/categories/edit.html.erb +6 -0
  78. data/test/dummy2/app/views/paginas/categories/index.html.erb +31 -0
  79. data/test/dummy2/app/views/paginas/categories/new.html.erb +5 -0
  80. data/test/dummy2/app/views/paginas/categories/show.html.erb +18 -0
  81. data/test/{dummy → dummy2}/app/views/paginas/pages/_form.html.erb +8 -0
  82. data/test/dummy2/app/views/paginas/pages/display.html.erb +2 -0
  83. data/test/{dummy → dummy2}/app/views/paginas/pages/edit.html.erb +0 -0
  84. data/test/{dummy → dummy2}/app/views/paginas/pages/featured.html.erb +1 -1
  85. data/test/{dummy → dummy2}/app/views/paginas/pages/index.html.erb +2 -0
  86. data/test/{dummy → dummy2}/app/views/paginas/pages/new.html.erb +0 -0
  87. data/test/{dummy → dummy2}/app/views/paginas/pages/show.html.erb +2 -0
  88. data/{app → test/dummy2/app}/views/paginas/shared/keep +0 -0
  89. data/test/dummy2/bin/bundle +3 -0
  90. data/test/dummy2/bin/rails +4 -0
  91. data/test/dummy2/bin/rake +4 -0
  92. data/test/dummy2/bin/setup +29 -0
  93. data/test/dummy2/categories/_form.html.erb +38 -0
  94. data/test/dummy2/categories/display.html.erb +2 -0
  95. data/test/dummy2/categories/edit.html.erb +6 -0
  96. data/test/dummy2/categories/featured.html.erb +5 -0
  97. data/test/dummy2/categories/index.html.erb +31 -0
  98. data/test/dummy2/categories/new.html.erb +5 -0
  99. data/test/dummy2/categories/show.html.erb +10 -0
  100. data/test/dummy2/config.ru +4 -0
  101. data/test/dummy2/config/application.rb +26 -0
  102. data/test/dummy2/config/boot.rb +5 -0
  103. data/test/dummy2/config/database.yml +25 -0
  104. data/test/dummy2/config/environment.rb +5 -0
  105. data/test/dummy2/config/environments/development.rb +41 -0
  106. data/test/dummy2/config/environments/production.rb +79 -0
  107. data/test/dummy2/config/environments/test.rb +42 -0
  108. data/test/dummy2/config/initializers/assets.rb +11 -0
  109. data/test/dummy2/config/initializers/backtrace_silencers.rb +7 -0
  110. data/test/dummy2/config/initializers/cookies_serializer.rb +3 -0
  111. data/test/dummy2/config/initializers/filter_parameter_logging.rb +4 -0
  112. data/test/dummy2/config/initializers/inflections.rb +16 -0
  113. data/test/dummy2/config/initializers/mime_types.rb +4 -0
  114. data/test/dummy2/config/initializers/session_store.rb +3 -0
  115. data/test/dummy2/config/initializers/wrap_parameters.rb +14 -0
  116. data/test/dummy2/config/locales/en.yml +23 -0
  117. data/test/dummy2/config/routes.rb +4 -0
  118. data/test/dummy2/config/secrets.yml +22 -0
  119. data/test/dummy2/db/development.sqlite3 +0 -0
  120. data/test/dummy2/db/schema.rb +35 -0
  121. data/test/dummy2/log/development.log +8474 -0
  122. data/test/dummy2/public/404.html +67 -0
  123. data/test/dummy2/public/422.html +67 -0
  124. data/test/dummy2/public/500.html +66 -0
  125. data/test/dummy2/public/favicon.ico +0 -0
  126. data/test/dummy2/tmp/cache/assets/development/sprockets/005bd567a7d66421fbef453fe21291ef +0 -0
  127. data/test/dummy2/tmp/cache/assets/development/sprockets/0af4c8229b96d670ece643ab86d847fc +0 -0
  128. data/test/dummy2/tmp/cache/assets/development/sprockets/0b561bb0f5e27b0811d8f78da0b0a961 +0 -0
  129. data/test/dummy2/tmp/cache/assets/development/sprockets/0d13d323f5ada0f6982ed7004e7b7956 +0 -0
  130. data/test/dummy2/tmp/cache/assets/development/sprockets/0d47ad626385700d816d2237b60e4405 +0 -0
  131. data/test/dummy2/tmp/cache/assets/development/sprockets/0ee8d3e5b36596acfcc7aac1e2c53afb +0 -0
  132. data/test/dummy2/tmp/cache/assets/development/sprockets/0f9097e7e4fe024b14ad4ae2a74ac107 +0 -0
  133. data/test/dummy2/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  134. data/test/dummy2/tmp/cache/assets/development/sprockets/1551e0fd7a443780df1664ebdeb18ac1 +0 -0
  135. data/test/dummy2/tmp/cache/assets/development/sprockets/1a00a5d48b33b4f7efca9b6bbdd63bcd +0 -0
  136. data/test/dummy2/tmp/cache/assets/development/sprockets/21011cd5ad02024ed642796a38699cb5 +0 -0
  137. data/test/dummy2/tmp/cache/assets/development/sprockets/2335821218ad3f7fb88a7e033bd928d3 +0 -0
  138. data/test/dummy2/tmp/cache/assets/development/sprockets/2a6137c114f81313e7f4d24aabf5f742 +0 -0
  139. data/test/dummy2/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  140. data/test/dummy2/tmp/cache/assets/development/sprockets/31007be9c9b15ceb79a3575e593f1666 +0 -0
  141. data/test/dummy2/tmp/cache/assets/development/sprockets/34c30def6edca7cd4ccc028324e69732 +0 -0
  142. data/test/dummy2/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  143. data/test/dummy2/tmp/cache/assets/development/sprockets/3ccca1a97ac09ec192a60c94fa00adb3 +0 -0
  144. data/test/dummy2/tmp/cache/assets/development/sprockets/3f9f0b85e5027ef9cabe4fc1f96b9a67 +0 -0
  145. data/test/dummy2/tmp/cache/assets/development/sprockets/41485660f2da3e5246495eca44b5d586 +0 -0
  146. data/test/dummy2/tmp/cache/assets/development/sprockets/43a987fa7ec0cbb1e8a6bd5e3a4e4b8d +0 -0
  147. data/test/dummy2/tmp/cache/assets/development/sprockets/479d3bb4bd6dcf93c1f6fd7fc4e8f484 +0 -0
  148. data/test/dummy2/tmp/cache/assets/development/sprockets/4ccd723c93040294ae2c7d4bdd241927 +0 -0
  149. data/test/dummy2/tmp/cache/assets/development/sprockets/5549bda2a1379ba359a508ac6eef4fed +0 -0
  150. data/test/dummy2/tmp/cache/assets/development/sprockets/591767e1239aceceb8eae71f91d40c2c +0 -0
  151. data/test/dummy2/tmp/cache/assets/development/sprockets/5ca1d924e33e6d2326ea666473d1b957 +0 -0
  152. data/test/dummy2/tmp/cache/assets/development/sprockets/614d6dfbd87dfef1f5409cdf648b4ef8 +0 -0
  153. data/test/dummy2/tmp/cache/assets/development/sprockets/6870a0f5e39c9a385cd7d42d1eacc23a +0 -0
  154. data/test/dummy2/tmp/cache/assets/development/sprockets/68a9c8d9374226e8006a035b0fdc68d6 +0 -0
  155. data/test/dummy2/tmp/cache/assets/development/sprockets/68d83dd802c75113a5e2d20da57bb19f +0 -0
  156. data/test/dummy2/tmp/cache/assets/development/sprockets/6aff79b1163157bafd663772e01e02b9 +0 -0
  157. data/test/dummy2/tmp/cache/assets/development/sprockets/6ff1394e29e0bf6efa5e2aaaa5599857 +0 -0
  158. data/test/dummy2/tmp/cache/assets/development/sprockets/74e2e79aaabf24d2f9c9c0db1a848506 +0 -0
  159. data/test/dummy2/tmp/cache/assets/development/sprockets/7796585c12a75e75f99a2ce3d64f3685 +0 -0
  160. data/test/dummy2/tmp/cache/assets/development/sprockets/79f273cae0828923dde1ef8c2398a097 +0 -0
  161. data/test/dummy2/tmp/cache/assets/development/sprockets/7e4eb3e4ae47796be38b017098742457 +0 -0
  162. data/test/dummy2/tmp/cache/assets/development/sprockets/8591abf6e2c5e4c2c9a5d9cba884191d +0 -0
  163. data/test/dummy2/tmp/cache/assets/development/sprockets/85c1359d66fb12cd68b8606117cd98ba +0 -0
  164. data/test/dummy2/tmp/cache/assets/development/sprockets/8f19f695aa102b3306cd7bc524877aaf +0 -0
  165. data/test/dummy2/tmp/cache/assets/development/sprockets/9245581aa4bb65f432f558fab76a6394 +0 -0
  166. data/test/dummy2/tmp/cache/assets/development/sprockets/a056f25be69aad65535c6119795b97a7 +0 -0
  167. data/test/dummy2/tmp/cache/assets/development/sprockets/a0a7a60c30730860ddb157961fa79cc6 +0 -0
  168. data/test/dummy2/tmp/cache/assets/development/sprockets/a4f760a14b35ee198d29bdc6657a6d61 +0 -0
  169. data/test/dummy2/tmp/cache/assets/development/sprockets/a868a2b2a5302aeed2e5608d656d5ff4 +0 -0
  170. data/test/dummy2/tmp/cache/assets/development/sprockets/a9cc70badbab7d39abf8d96de550f53d +0 -0
  171. data/test/dummy2/tmp/cache/assets/development/sprockets/abc2c4b52cfa5dec5d6d5f5bac7f7d7f +0 -0
  172. data/test/dummy2/tmp/cache/assets/development/sprockets/b0d1d14e7cf764cbc39a931d8dd3f2de +0 -0
  173. data/test/dummy2/tmp/cache/assets/development/sprockets/b265df7d299afb2b854d0d677f534b64 +0 -0
  174. data/test/dummy2/tmp/cache/assets/development/sprockets/bac590af4a9c32bd96a7954f161597fd +0 -0
  175. data/test/dummy2/tmp/cache/assets/development/sprockets/c2a90a25a0d9740bacd317b21a773000 +0 -0
  176. data/test/dummy2/tmp/cache/assets/development/sprockets/cb0b8f15d2f703e80dad62daa69e27b1 +0 -0
  177. data/test/dummy2/tmp/cache/assets/development/sprockets/cd5ec00cd445991e3f11ed6c5736cb63 +0 -0
  178. data/test/dummy2/tmp/cache/assets/development/sprockets/cd7fd8f917317ac993444f56a0dd0259 +0 -0
  179. data/test/dummy2/tmp/cache/assets/development/sprockets/cfa9226df92e47e7f6cb7b5668b8bad2 +0 -0
  180. data/test/dummy2/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  181. data/test/dummy2/tmp/cache/assets/development/sprockets/d05c052069448c7d8dce96727613e470 +0 -0
  182. data/test/dummy2/tmp/cache/assets/development/sprockets/d3ae97f3eebfface2dbfa809fff4cb9f +0 -0
  183. data/test/dummy2/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  184. data/test/dummy2/tmp/cache/assets/development/sprockets/da017253c0d60d236728d78f022cd203 +0 -0
  185. data/test/dummy2/tmp/cache/assets/development/sprockets/e6081e190935ce01a7b64d0bcc7a8912 +0 -0
  186. data/test/dummy2/tmp/cache/assets/development/sprockets/ec454ae07815a55a5b9bb5d5eb9de78b +0 -0
  187. data/test/dummy2/tmp/cache/assets/development/sprockets/f0089f75e018e7d19b6fe81ab885cd8e +0 -0
  188. data/test/dummy2/tmp/cache/assets/development/sprockets/f5afae3a18a58341a8853b2f935b2b5e +0 -0
  189. data/test/dummy2/tmp/cache/assets/development/sprockets/f760d05f8aef4eb68d32f2a6aee2cb7d +0 -0
  190. data/test/dummy2/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  191. data/test/dummy2/tmp/cache/assets/development/sprockets/fd1680f1ef8200c9748a7ad805cd4c75 +0 -0
  192. data/test/dummy2/tmp/cache/assets/development/sprockets/fd3186407a9ce29b3b8f07f85f2dede0 +0 -0
  193. data/test/fixtures/paginas/categories.yml +9 -0
  194. data/test/models/paginas/category_test.rb +9 -0
  195. metadata +323 -19
  196. data/app/assets/javascripts/paginas/pages.js +0 -2
  197. data/app/assets/stylesheets/paginas/pages.css +0 -4
  198. data/test/dummy/app/views/paginas/pages/display.html.erb +0 -2
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/404.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The page you were looking for doesn't exist.</h1>
62
+ <p>You may have mistyped the address or the page may have moved.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/422.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The change you wanted was rejected.</h1>
62
+ <p>Maybe you tried to change something you didn't have access to.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,66 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/500.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>We're sorry, but something went wrong.</h1>
62
+ </div>
63
+ <p>If you are the application owner check the logs for more information.</p>
64
+ </div>
65
+ </body>
66
+ </html>
File without changes
@@ -0,0 +1,9 @@
1
+ # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
2
+
3
+ one:
4
+ name: MyString
5
+ description: MyText
6
+
7
+ two:
8
+ name: MyString
9
+ description: MyText
@@ -0,0 +1,9 @@
1
+ require 'test_helper'
2
+
3
+ module Paginas
4
+ class CategoryTest < ActiveSupport::TestCase
5
+ # test "the truth" do
6
+ # assert true
7
+ # end
8
+ end
9
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paginas
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carlos Roque
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-12 00:00:00.000000000 Z
11
+ date: 2015-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -66,15 +66,21 @@ files:
66
66
  - Rakefile
67
67
  - app/assets/javascripts/paginas.js
68
68
  - app/assets/javascripts/paginas/application.js
69
- - app/assets/javascripts/paginas/pages.js
70
69
  - app/assets/stylesheets/paginas/application.css
71
- - app/assets/stylesheets/paginas/pages.css
72
70
  - app/assets/stylesheets/scaffold.css
73
71
  - app/controllers/paginas/application_controller.rb
72
+ - app/controllers/paginas/categories_controller.rb
74
73
  - app/controllers/paginas/pages_controller.rb
75
74
  - app/helpers/paginas/application_helper.rb
75
+ - app/helpers/paginas/categories_helper.rb
76
76
  - app/helpers/paginas/pages_helper.rb
77
+ - app/models/paginas/category.rb
77
78
  - app/models/paginas/page.rb
79
+ - app/views/paginas/categories/_form.html.erb
80
+ - app/views/paginas/categories/edit.html.erb
81
+ - app/views/paginas/categories/index.html.erb
82
+ - app/views/paginas/categories/new.html.erb
83
+ - app/views/paginas/categories/show.html.erb
78
84
  - app/views/paginas/pages/_form.html.erb
79
85
  - app/views/paginas/pages/display.html.erb
80
86
  - app/views/paginas/pages/edit.html.erb
@@ -82,14 +88,17 @@ files:
82
88
  - app/views/paginas/pages/index.html.erb
83
89
  - app/views/paginas/pages/new.html.erb
84
90
  - app/views/paginas/pages/show.html.erb
85
- - app/views/paginas/shared/keep
86
91
  - config/routes.rb
87
92
  - db/migrate/20150212133316_create_paginas_pages.rb
93
+ - db/migrate/20150213135047_add_show_title_to_paginas_pages.rb
94
+ - db/migrate/20150213154421_create_paginas_categories.rb
95
+ - db/migrate/20150213155126_add_ref_to_paginas_pages.rb
88
96
  - lib/generators/paginas/views_generator.rb
89
97
  - lib/paginas.rb
90
98
  - lib/paginas/engine.rb
91
99
  - lib/paginas/version.rb
92
100
  - lib/tasks/paginas_tasks.rake
101
+ - test/controllers/paginas/categories_controller_test.rb
93
102
  - test/controllers/paginas/pages_controller_test.rb
94
103
  - test/dummy/README.rdoc
95
104
  - test/dummy/Rakefile
@@ -98,13 +107,6 @@ files:
98
107
  - test/dummy/app/controllers/application_controller.rb
99
108
  - test/dummy/app/helpers/application_helper.rb
100
109
  - test/dummy/app/views/layouts/application.html.erb
101
- - test/dummy/app/views/paginas/pages/_form.html.erb
102
- - test/dummy/app/views/paginas/pages/display.html.erb
103
- - test/dummy/app/views/paginas/pages/edit.html.erb
104
- - test/dummy/app/views/paginas/pages/featured.html.erb
105
- - test/dummy/app/views/paginas/pages/index.html.erb
106
- - test/dummy/app/views/paginas/pages/new.html.erb
107
- - test/dummy/app/views/paginas/pages/show.html.erb
108
110
  - test/dummy/bin/bundle
109
111
  - test/dummy/bin/rails
110
112
  - test/dummy/bin/rake
@@ -140,8 +142,12 @@ files:
140
142
  - test/dummy/tmp/cache/assets/development/sprockets/0b561bb0f5e27b0811d8f78da0b0a961
141
143
  - test/dummy/tmp/cache/assets/development/sprockets/0d13d323f5ada0f6982ed7004e7b7956
142
144
  - test/dummy/tmp/cache/assets/development/sprockets/0d47ad626385700d816d2237b60e4405
145
+ - test/dummy/tmp/cache/assets/development/sprockets/0ee8d3e5b36596acfcc7aac1e2c53afb
143
146
  - test/dummy/tmp/cache/assets/development/sprockets/0f9097e7e4fe024b14ad4ae2a74ac107
144
147
  - test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
148
+ - test/dummy/tmp/cache/assets/development/sprockets/1551e0fd7a443780df1664ebdeb18ac1
149
+ - test/dummy/tmp/cache/assets/development/sprockets/1a00a5d48b33b4f7efca9b6bbdd63bcd
150
+ - test/dummy/tmp/cache/assets/development/sprockets/21011cd5ad02024ed642796a38699cb5
145
151
  - test/dummy/tmp/cache/assets/development/sprockets/2335821218ad3f7fb88a7e033bd928d3
146
152
  - test/dummy/tmp/cache/assets/development/sprockets/2a6137c114f81313e7f4d24aabf5f742
147
153
  - test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
@@ -149,36 +155,186 @@ files:
149
155
  - test/dummy/tmp/cache/assets/development/sprockets/34c30def6edca7cd4ccc028324e69732
150
156
  - test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
151
157
  - test/dummy/tmp/cache/assets/development/sprockets/3ccca1a97ac09ec192a60c94fa00adb3
158
+ - test/dummy/tmp/cache/assets/development/sprockets/3f9f0b85e5027ef9cabe4fc1f96b9a67
152
159
  - test/dummy/tmp/cache/assets/development/sprockets/41485660f2da3e5246495eca44b5d586
153
160
  - test/dummy/tmp/cache/assets/development/sprockets/43a987fa7ec0cbb1e8a6bd5e3a4e4b8d
161
+ - test/dummy/tmp/cache/assets/development/sprockets/479d3bb4bd6dcf93c1f6fd7fc4e8f484
154
162
  - test/dummy/tmp/cache/assets/development/sprockets/4ccd723c93040294ae2c7d4bdd241927
155
163
  - test/dummy/tmp/cache/assets/development/sprockets/5549bda2a1379ba359a508ac6eef4fed
156
164
  - test/dummy/tmp/cache/assets/development/sprockets/591767e1239aceceb8eae71f91d40c2c
157
165
  - test/dummy/tmp/cache/assets/development/sprockets/5ca1d924e33e6d2326ea666473d1b957
158
166
  - test/dummy/tmp/cache/assets/development/sprockets/614d6dfbd87dfef1f5409cdf648b4ef8
159
167
  - test/dummy/tmp/cache/assets/development/sprockets/6870a0f5e39c9a385cd7d42d1eacc23a
168
+ - test/dummy/tmp/cache/assets/development/sprockets/68a9c8d9374226e8006a035b0fdc68d6
169
+ - test/dummy/tmp/cache/assets/development/sprockets/68d83dd802c75113a5e2d20da57bb19f
160
170
  - test/dummy/tmp/cache/assets/development/sprockets/6aff79b1163157bafd663772e01e02b9
161
171
  - test/dummy/tmp/cache/assets/development/sprockets/6ff1394e29e0bf6efa5e2aaaa5599857
172
+ - test/dummy/tmp/cache/assets/development/sprockets/74e2e79aaabf24d2f9c9c0db1a848506
173
+ - test/dummy/tmp/cache/assets/development/sprockets/7796585c12a75e75f99a2ce3d64f3685
162
174
  - test/dummy/tmp/cache/assets/development/sprockets/79f273cae0828923dde1ef8c2398a097
163
175
  - test/dummy/tmp/cache/assets/development/sprockets/7e4eb3e4ae47796be38b017098742457
176
+ - test/dummy/tmp/cache/assets/development/sprockets/8591abf6e2c5e4c2c9a5d9cba884191d
177
+ - test/dummy/tmp/cache/assets/development/sprockets/85c1359d66fb12cd68b8606117cd98ba
178
+ - test/dummy/tmp/cache/assets/development/sprockets/8f19f695aa102b3306cd7bc524877aaf
164
179
  - test/dummy/tmp/cache/assets/development/sprockets/9245581aa4bb65f432f558fab76a6394
165
180
  - test/dummy/tmp/cache/assets/development/sprockets/a056f25be69aad65535c6119795b97a7
166
181
  - test/dummy/tmp/cache/assets/development/sprockets/a0a7a60c30730860ddb157961fa79cc6
167
182
  - test/dummy/tmp/cache/assets/development/sprockets/a4f760a14b35ee198d29bdc6657a6d61
183
+ - test/dummy/tmp/cache/assets/development/sprockets/a868a2b2a5302aeed2e5608d656d5ff4
168
184
  - test/dummy/tmp/cache/assets/development/sprockets/a9cc70badbab7d39abf8d96de550f53d
169
185
  - test/dummy/tmp/cache/assets/development/sprockets/abc2c4b52cfa5dec5d6d5f5bac7f7d7f
186
+ - test/dummy/tmp/cache/assets/development/sprockets/b0d1d14e7cf764cbc39a931d8dd3f2de
187
+ - test/dummy/tmp/cache/assets/development/sprockets/b265df7d299afb2b854d0d677f534b64
170
188
  - test/dummy/tmp/cache/assets/development/sprockets/bac590af4a9c32bd96a7954f161597fd
189
+ - test/dummy/tmp/cache/assets/development/sprockets/c2a90a25a0d9740bacd317b21a773000
171
190
  - test/dummy/tmp/cache/assets/development/sprockets/cb0b8f15d2f703e80dad62daa69e27b1
191
+ - test/dummy/tmp/cache/assets/development/sprockets/cd5ec00cd445991e3f11ed6c5736cb63
172
192
  - test/dummy/tmp/cache/assets/development/sprockets/cd7fd8f917317ac993444f56a0dd0259
193
+ - test/dummy/tmp/cache/assets/development/sprockets/cfa9226df92e47e7f6cb7b5668b8bad2
173
194
  - test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
174
195
  - test/dummy/tmp/cache/assets/development/sprockets/d05c052069448c7d8dce96727613e470
196
+ - test/dummy/tmp/cache/assets/development/sprockets/d3ae97f3eebfface2dbfa809fff4cb9f
175
197
  - test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
198
+ - test/dummy/tmp/cache/assets/development/sprockets/da017253c0d60d236728d78f022cd203
199
+ - test/dummy/tmp/cache/assets/development/sprockets/e6081e190935ce01a7b64d0bcc7a8912
176
200
  - test/dummy/tmp/cache/assets/development/sprockets/ec454ae07815a55a5b9bb5d5eb9de78b
177
201
  - test/dummy/tmp/cache/assets/development/sprockets/f0089f75e018e7d19b6fe81ab885cd8e
202
+ - test/dummy/tmp/cache/assets/development/sprockets/f5afae3a18a58341a8853b2f935b2b5e
203
+ - test/dummy/tmp/cache/assets/development/sprockets/f760d05f8aef4eb68d32f2a6aee2cb7d
178
204
  - test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
205
+ - test/dummy/tmp/cache/assets/development/sprockets/fd1680f1ef8200c9748a7ad805cd4c75
206
+ - test/dummy/tmp/cache/assets/development/sprockets/fd3186407a9ce29b3b8f07f85f2dede0
179
207
  - test/dummy/tmp/pids/server.pid
208
+ - test/dummy2/README.rdoc
209
+ - test/dummy2/Rakefile
210
+ - test/dummy2/app/assets/javascripts/application.js
211
+ - test/dummy2/app/assets/stylesheets/application.css
212
+ - test/dummy2/app/controllers/application_controller.rb
213
+ - test/dummy2/app/controllers/categories_controller.rb
214
+ - test/dummy2/app/controllers/pages_controller.rb
215
+ - test/dummy2/app/helpers/application_helper.rb
216
+ - test/dummy2/app/views/layouts/application.html.erb
217
+ - test/dummy2/app/views/paginas/categories/_form.html.erb
218
+ - test/dummy2/app/views/paginas/categories/edit.html.erb
219
+ - test/dummy2/app/views/paginas/categories/index.html.erb
220
+ - test/dummy2/app/views/paginas/categories/new.html.erb
221
+ - test/dummy2/app/views/paginas/categories/show.html.erb
222
+ - test/dummy2/app/views/paginas/pages/_form.html.erb
223
+ - test/dummy2/app/views/paginas/pages/display.html.erb
224
+ - test/dummy2/app/views/paginas/pages/edit.html.erb
225
+ - test/dummy2/app/views/paginas/pages/featured.html.erb
226
+ - test/dummy2/app/views/paginas/pages/index.html.erb
227
+ - test/dummy2/app/views/paginas/pages/new.html.erb
228
+ - test/dummy2/app/views/paginas/pages/show.html.erb
229
+ - test/dummy2/app/views/paginas/shared/keep
230
+ - test/dummy2/bin/bundle
231
+ - test/dummy2/bin/rails
232
+ - test/dummy2/bin/rake
233
+ - test/dummy2/bin/setup
234
+ - test/dummy2/categories/_form.html.erb
235
+ - test/dummy2/categories/display.html.erb
236
+ - test/dummy2/categories/edit.html.erb
237
+ - test/dummy2/categories/featured.html.erb
238
+ - test/dummy2/categories/index.html.erb
239
+ - test/dummy2/categories/new.html.erb
240
+ - test/dummy2/categories/show.html.erb
241
+ - test/dummy2/config.ru
242
+ - test/dummy2/config/application.rb
243
+ - test/dummy2/config/boot.rb
244
+ - test/dummy2/config/database.yml
245
+ - test/dummy2/config/environment.rb
246
+ - test/dummy2/config/environments/development.rb
247
+ - test/dummy2/config/environments/production.rb
248
+ - test/dummy2/config/environments/test.rb
249
+ - test/dummy2/config/initializers/assets.rb
250
+ - test/dummy2/config/initializers/backtrace_silencers.rb
251
+ - test/dummy2/config/initializers/cookies_serializer.rb
252
+ - test/dummy2/config/initializers/filter_parameter_logging.rb
253
+ - test/dummy2/config/initializers/inflections.rb
254
+ - test/dummy2/config/initializers/mime_types.rb
255
+ - test/dummy2/config/initializers/session_store.rb
256
+ - test/dummy2/config/initializers/wrap_parameters.rb
257
+ - test/dummy2/config/locales/en.yml
258
+ - test/dummy2/config/routes.rb
259
+ - test/dummy2/config/secrets.yml
260
+ - test/dummy2/db/development.sqlite3
261
+ - test/dummy2/db/schema.rb
262
+ - test/dummy2/log/development.log
263
+ - test/dummy2/public/404.html
264
+ - test/dummy2/public/422.html
265
+ - test/dummy2/public/500.html
266
+ - test/dummy2/public/favicon.ico
267
+ - test/dummy2/tmp/cache/assets/development/sprockets/005bd567a7d66421fbef453fe21291ef
268
+ - test/dummy2/tmp/cache/assets/development/sprockets/0af4c8229b96d670ece643ab86d847fc
269
+ - test/dummy2/tmp/cache/assets/development/sprockets/0b561bb0f5e27b0811d8f78da0b0a961
270
+ - test/dummy2/tmp/cache/assets/development/sprockets/0d13d323f5ada0f6982ed7004e7b7956
271
+ - test/dummy2/tmp/cache/assets/development/sprockets/0d47ad626385700d816d2237b60e4405
272
+ - test/dummy2/tmp/cache/assets/development/sprockets/0ee8d3e5b36596acfcc7aac1e2c53afb
273
+ - test/dummy2/tmp/cache/assets/development/sprockets/0f9097e7e4fe024b14ad4ae2a74ac107
274
+ - test/dummy2/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
275
+ - test/dummy2/tmp/cache/assets/development/sprockets/1551e0fd7a443780df1664ebdeb18ac1
276
+ - test/dummy2/tmp/cache/assets/development/sprockets/1a00a5d48b33b4f7efca9b6bbdd63bcd
277
+ - test/dummy2/tmp/cache/assets/development/sprockets/21011cd5ad02024ed642796a38699cb5
278
+ - test/dummy2/tmp/cache/assets/development/sprockets/2335821218ad3f7fb88a7e033bd928d3
279
+ - test/dummy2/tmp/cache/assets/development/sprockets/2a6137c114f81313e7f4d24aabf5f742
280
+ - test/dummy2/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
281
+ - test/dummy2/tmp/cache/assets/development/sprockets/31007be9c9b15ceb79a3575e593f1666
282
+ - test/dummy2/tmp/cache/assets/development/sprockets/34c30def6edca7cd4ccc028324e69732
283
+ - test/dummy2/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
284
+ - test/dummy2/tmp/cache/assets/development/sprockets/3ccca1a97ac09ec192a60c94fa00adb3
285
+ - test/dummy2/tmp/cache/assets/development/sprockets/3f9f0b85e5027ef9cabe4fc1f96b9a67
286
+ - test/dummy2/tmp/cache/assets/development/sprockets/41485660f2da3e5246495eca44b5d586
287
+ - test/dummy2/tmp/cache/assets/development/sprockets/43a987fa7ec0cbb1e8a6bd5e3a4e4b8d
288
+ - test/dummy2/tmp/cache/assets/development/sprockets/479d3bb4bd6dcf93c1f6fd7fc4e8f484
289
+ - test/dummy2/tmp/cache/assets/development/sprockets/4ccd723c93040294ae2c7d4bdd241927
290
+ - test/dummy2/tmp/cache/assets/development/sprockets/5549bda2a1379ba359a508ac6eef4fed
291
+ - test/dummy2/tmp/cache/assets/development/sprockets/591767e1239aceceb8eae71f91d40c2c
292
+ - test/dummy2/tmp/cache/assets/development/sprockets/5ca1d924e33e6d2326ea666473d1b957
293
+ - test/dummy2/tmp/cache/assets/development/sprockets/614d6dfbd87dfef1f5409cdf648b4ef8
294
+ - test/dummy2/tmp/cache/assets/development/sprockets/6870a0f5e39c9a385cd7d42d1eacc23a
295
+ - test/dummy2/tmp/cache/assets/development/sprockets/68a9c8d9374226e8006a035b0fdc68d6
296
+ - test/dummy2/tmp/cache/assets/development/sprockets/68d83dd802c75113a5e2d20da57bb19f
297
+ - test/dummy2/tmp/cache/assets/development/sprockets/6aff79b1163157bafd663772e01e02b9
298
+ - test/dummy2/tmp/cache/assets/development/sprockets/6ff1394e29e0bf6efa5e2aaaa5599857
299
+ - test/dummy2/tmp/cache/assets/development/sprockets/74e2e79aaabf24d2f9c9c0db1a848506
300
+ - test/dummy2/tmp/cache/assets/development/sprockets/7796585c12a75e75f99a2ce3d64f3685
301
+ - test/dummy2/tmp/cache/assets/development/sprockets/79f273cae0828923dde1ef8c2398a097
302
+ - test/dummy2/tmp/cache/assets/development/sprockets/7e4eb3e4ae47796be38b017098742457
303
+ - test/dummy2/tmp/cache/assets/development/sprockets/8591abf6e2c5e4c2c9a5d9cba884191d
304
+ - test/dummy2/tmp/cache/assets/development/sprockets/85c1359d66fb12cd68b8606117cd98ba
305
+ - test/dummy2/tmp/cache/assets/development/sprockets/8f19f695aa102b3306cd7bc524877aaf
306
+ - test/dummy2/tmp/cache/assets/development/sprockets/9245581aa4bb65f432f558fab76a6394
307
+ - test/dummy2/tmp/cache/assets/development/sprockets/a056f25be69aad65535c6119795b97a7
308
+ - test/dummy2/tmp/cache/assets/development/sprockets/a0a7a60c30730860ddb157961fa79cc6
309
+ - test/dummy2/tmp/cache/assets/development/sprockets/a4f760a14b35ee198d29bdc6657a6d61
310
+ - test/dummy2/tmp/cache/assets/development/sprockets/a868a2b2a5302aeed2e5608d656d5ff4
311
+ - test/dummy2/tmp/cache/assets/development/sprockets/a9cc70badbab7d39abf8d96de550f53d
312
+ - test/dummy2/tmp/cache/assets/development/sprockets/abc2c4b52cfa5dec5d6d5f5bac7f7d7f
313
+ - test/dummy2/tmp/cache/assets/development/sprockets/b0d1d14e7cf764cbc39a931d8dd3f2de
314
+ - test/dummy2/tmp/cache/assets/development/sprockets/b265df7d299afb2b854d0d677f534b64
315
+ - test/dummy2/tmp/cache/assets/development/sprockets/bac590af4a9c32bd96a7954f161597fd
316
+ - test/dummy2/tmp/cache/assets/development/sprockets/c2a90a25a0d9740bacd317b21a773000
317
+ - test/dummy2/tmp/cache/assets/development/sprockets/cb0b8f15d2f703e80dad62daa69e27b1
318
+ - test/dummy2/tmp/cache/assets/development/sprockets/cd5ec00cd445991e3f11ed6c5736cb63
319
+ - test/dummy2/tmp/cache/assets/development/sprockets/cd7fd8f917317ac993444f56a0dd0259
320
+ - test/dummy2/tmp/cache/assets/development/sprockets/cfa9226df92e47e7f6cb7b5668b8bad2
321
+ - test/dummy2/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
322
+ - test/dummy2/tmp/cache/assets/development/sprockets/d05c052069448c7d8dce96727613e470
323
+ - test/dummy2/tmp/cache/assets/development/sprockets/d3ae97f3eebfface2dbfa809fff4cb9f
324
+ - test/dummy2/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
325
+ - test/dummy2/tmp/cache/assets/development/sprockets/da017253c0d60d236728d78f022cd203
326
+ - test/dummy2/tmp/cache/assets/development/sprockets/e6081e190935ce01a7b64d0bcc7a8912
327
+ - test/dummy2/tmp/cache/assets/development/sprockets/ec454ae07815a55a5b9bb5d5eb9de78b
328
+ - test/dummy2/tmp/cache/assets/development/sprockets/f0089f75e018e7d19b6fe81ab885cd8e
329
+ - test/dummy2/tmp/cache/assets/development/sprockets/f5afae3a18a58341a8853b2f935b2b5e
330
+ - test/dummy2/tmp/cache/assets/development/sprockets/f760d05f8aef4eb68d32f2a6aee2cb7d
331
+ - test/dummy2/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
332
+ - test/dummy2/tmp/cache/assets/development/sprockets/fd1680f1ef8200c9748a7ad805cd4c75
333
+ - test/dummy2/tmp/cache/assets/development/sprockets/fd3186407a9ce29b3b8f07f85f2dede0
334
+ - test/fixtures/paginas/categories.yml
180
335
  - test/fixtures/paginas/pages.yml
181
336
  - test/integration/navigation_test.rb
337
+ - test/models/paginas/category_test.rb
182
338
  - test/models/paginas/page_test.rb
183
339
  - test/paginas_test.rb
184
340
  - test/test_helper.rb
@@ -208,9 +364,12 @@ specification_version: 4
208
364
  summary: Create pages with TinyMCE
209
365
  test_files:
210
366
  - test/controllers/paginas/pages_controller_test.rb
367
+ - test/controllers/paginas/categories_controller_test.rb
211
368
  - test/models/paginas/page_test.rb
369
+ - test/models/paginas/category_test.rb
212
370
  - test/paginas_test.rb
213
371
  - test/fixtures/paginas/pages.yml
372
+ - test/fixtures/paginas/categories.yml
214
373
  - test/integration/navigation_test.rb
215
374
  - test/dummy/tmp/cache/assets/development/sprockets/0d47ad626385700d816d2237b60e4405
216
375
  - test/dummy/tmp/cache/assets/development/sprockets/0b561bb0f5e27b0811d8f78da0b0a961
@@ -221,48 +380,67 @@ test_files:
221
380
  - test/dummy/tmp/cache/assets/development/sprockets/2a6137c114f81313e7f4d24aabf5f742
222
381
  - test/dummy/tmp/cache/assets/development/sprockets/a9cc70badbab7d39abf8d96de550f53d
223
382
  - test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
383
+ - test/dummy/tmp/cache/assets/development/sprockets/f760d05f8aef4eb68d32f2a6aee2cb7d
384
+ - test/dummy/tmp/cache/assets/development/sprockets/fd3186407a9ce29b3b8f07f85f2dede0
385
+ - test/dummy/tmp/cache/assets/development/sprockets/fd1680f1ef8200c9748a7ad805cd4c75
224
386
  - test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
387
+ - test/dummy/tmp/cache/assets/development/sprockets/68d83dd802c75113a5e2d20da57bb19f
388
+ - test/dummy/tmp/cache/assets/development/sprockets/cfa9226df92e47e7f6cb7b5668b8bad2
225
389
  - test/dummy/tmp/cache/assets/development/sprockets/0d13d323f5ada0f6982ed7004e7b7956
390
+ - test/dummy/tmp/cache/assets/development/sprockets/da017253c0d60d236728d78f022cd203
226
391
  - test/dummy/tmp/cache/assets/development/sprockets/34c30def6edca7cd4ccc028324e69732
227
392
  - test/dummy/tmp/cache/assets/development/sprockets/614d6dfbd87dfef1f5409cdf648b4ef8
393
+ - test/dummy/tmp/cache/assets/development/sprockets/21011cd5ad02024ed642796a38699cb5
228
394
  - test/dummy/tmp/cache/assets/development/sprockets/5549bda2a1379ba359a508ac6eef4fed
229
395
  - test/dummy/tmp/cache/assets/development/sprockets/591767e1239aceceb8eae71f91d40c2c
396
+ - test/dummy/tmp/cache/assets/development/sprockets/1551e0fd7a443780df1664ebdeb18ac1
230
397
  - test/dummy/tmp/cache/assets/development/sprockets/a4f760a14b35ee198d29bdc6657a6d61
398
+ - test/dummy/tmp/cache/assets/development/sprockets/85c1359d66fb12cd68b8606117cd98ba
231
399
  - test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
232
400
  - test/dummy/tmp/cache/assets/development/sprockets/6870a0f5e39c9a385cd7d42d1eacc23a
233
401
  - test/dummy/tmp/cache/assets/development/sprockets/0f9097e7e4fe024b14ad4ae2a74ac107
234
402
  - test/dummy/tmp/cache/assets/development/sprockets/abc2c4b52cfa5dec5d6d5f5bac7f7d7f
403
+ - test/dummy/tmp/cache/assets/development/sprockets/7796585c12a75e75f99a2ce3d64f3685
404
+ - test/dummy/tmp/cache/assets/development/sprockets/3f9f0b85e5027ef9cabe4fc1f96b9a67
235
405
  - test/dummy/tmp/cache/assets/development/sprockets/5ca1d924e33e6d2326ea666473d1b957
236
406
  - test/dummy/tmp/cache/assets/development/sprockets/79f273cae0828923dde1ef8c2398a097
237
407
  - test/dummy/tmp/cache/assets/development/sprockets/cb0b8f15d2f703e80dad62daa69e27b1
238
408
  - test/dummy/tmp/cache/assets/development/sprockets/7e4eb3e4ae47796be38b017098742457
239
409
  - test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
240
410
  - test/dummy/tmp/cache/assets/development/sprockets/a056f25be69aad65535c6119795b97a7
411
+ - test/dummy/tmp/cache/assets/development/sprockets/c2a90a25a0d9740bacd317b21a773000
241
412
  - test/dummy/tmp/cache/assets/development/sprockets/a0a7a60c30730860ddb157961fa79cc6
413
+ - test/dummy/tmp/cache/assets/development/sprockets/8591abf6e2c5e4c2c9a5d9cba884191d
242
414
  - test/dummy/tmp/cache/assets/development/sprockets/43a987fa7ec0cbb1e8a6bd5e3a4e4b8d
243
415
  - test/dummy/tmp/cache/assets/development/sprockets/41485660f2da3e5246495eca44b5d586
244
416
  - test/dummy/tmp/cache/assets/development/sprockets/3ccca1a97ac09ec192a60c94fa00adb3
245
417
  - test/dummy/tmp/cache/assets/development/sprockets/0af4c8229b96d670ece643ab86d847fc
246
418
  - test/dummy/tmp/cache/assets/development/sprockets/9245581aa4bb65f432f558fab76a6394
247
419
  - test/dummy/tmp/cache/assets/development/sprockets/bac590af4a9c32bd96a7954f161597fd
420
+ - test/dummy/tmp/cache/assets/development/sprockets/0ee8d3e5b36596acfcc7aac1e2c53afb
421
+ - test/dummy/tmp/cache/assets/development/sprockets/479d3bb4bd6dcf93c1f6fd7fc4e8f484
248
422
  - test/dummy/tmp/cache/assets/development/sprockets/ec454ae07815a55a5b9bb5d5eb9de78b
423
+ - test/dummy/tmp/cache/assets/development/sprockets/f5afae3a18a58341a8853b2f935b2b5e
249
424
  - test/dummy/tmp/cache/assets/development/sprockets/f0089f75e018e7d19b6fe81ab885cd8e
425
+ - test/dummy/tmp/cache/assets/development/sprockets/1a00a5d48b33b4f7efca9b6bbdd63bcd
426
+ - test/dummy/tmp/cache/assets/development/sprockets/b0d1d14e7cf764cbc39a931d8dd3f2de
427
+ - test/dummy/tmp/cache/assets/development/sprockets/68a9c8d9374226e8006a035b0fdc68d6
250
428
  - test/dummy/tmp/cache/assets/development/sprockets/cd7fd8f917317ac993444f56a0dd0259
429
+ - test/dummy/tmp/cache/assets/development/sprockets/d3ae97f3eebfface2dbfa809fff4cb9f
251
430
  - test/dummy/tmp/cache/assets/development/sprockets/2335821218ad3f7fb88a7e033bd928d3
252
431
  - test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
432
+ - test/dummy/tmp/cache/assets/development/sprockets/a868a2b2a5302aeed2e5608d656d5ff4
253
433
  - test/dummy/tmp/cache/assets/development/sprockets/6ff1394e29e0bf6efa5e2aaaa5599857
434
+ - test/dummy/tmp/cache/assets/development/sprockets/74e2e79aaabf24d2f9c9c0db1a848506
435
+ - test/dummy/tmp/cache/assets/development/sprockets/8f19f695aa102b3306cd7bc524877aaf
436
+ - test/dummy/tmp/cache/assets/development/sprockets/b265df7d299afb2b854d0d677f534b64
254
437
  - test/dummy/tmp/cache/assets/development/sprockets/31007be9c9b15ceb79a3575e593f1666
255
438
  - test/dummy/tmp/cache/assets/development/sprockets/6aff79b1163157bafd663772e01e02b9
439
+ - test/dummy/tmp/cache/assets/development/sprockets/cd5ec00cd445991e3f11ed6c5736cb63
440
+ - test/dummy/tmp/cache/assets/development/sprockets/e6081e190935ce01a7b64d0bcc7a8912
256
441
  - test/dummy/tmp/pids/server.pid
257
442
  - test/dummy/app/helpers/application_helper.rb
258
443
  - test/dummy/app/controllers/application_controller.rb
259
- - test/dummy/app/views/paginas/pages/display.html.erb
260
- - test/dummy/app/views/paginas/pages/index.html.erb
261
- - test/dummy/app/views/paginas/pages/new.html.erb
262
- - test/dummy/app/views/paginas/pages/edit.html.erb
263
- - test/dummy/app/views/paginas/pages/show.html.erb
264
- - test/dummy/app/views/paginas/pages/_form.html.erb
265
- - test/dummy/app/views/paginas/pages/featured.html.erb
266
444
  - test/dummy/app/views/layouts/application.html.erb
267
445
  - test/dummy/app/assets/stylesheets/application.css
268
446
  - test/dummy/app/assets/javascripts/application.js
@@ -298,4 +476,130 @@ test_files:
298
476
  - test/dummy/public/422.html
299
477
  - test/dummy/public/500.html
300
478
  - test/dummy/public/404.html
479
+ - test/dummy2/tmp/cache/assets/development/sprockets/0d47ad626385700d816d2237b60e4405
480
+ - test/dummy2/tmp/cache/assets/development/sprockets/0b561bb0f5e27b0811d8f78da0b0a961
481
+ - test/dummy2/tmp/cache/assets/development/sprockets/005bd567a7d66421fbef453fe21291ef
482
+ - test/dummy2/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
483
+ - test/dummy2/tmp/cache/assets/development/sprockets/d05c052069448c7d8dce96727613e470
484
+ - test/dummy2/tmp/cache/assets/development/sprockets/4ccd723c93040294ae2c7d4bdd241927
485
+ - test/dummy2/tmp/cache/assets/development/sprockets/2a6137c114f81313e7f4d24aabf5f742
486
+ - test/dummy2/tmp/cache/assets/development/sprockets/a9cc70badbab7d39abf8d96de550f53d
487
+ - test/dummy2/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
488
+ - test/dummy2/tmp/cache/assets/development/sprockets/f760d05f8aef4eb68d32f2a6aee2cb7d
489
+ - test/dummy2/tmp/cache/assets/development/sprockets/fd3186407a9ce29b3b8f07f85f2dede0
490
+ - test/dummy2/tmp/cache/assets/development/sprockets/fd1680f1ef8200c9748a7ad805cd4c75
491
+ - test/dummy2/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
492
+ - test/dummy2/tmp/cache/assets/development/sprockets/68d83dd802c75113a5e2d20da57bb19f
493
+ - test/dummy2/tmp/cache/assets/development/sprockets/cfa9226df92e47e7f6cb7b5668b8bad2
494
+ - test/dummy2/tmp/cache/assets/development/sprockets/0d13d323f5ada0f6982ed7004e7b7956
495
+ - test/dummy2/tmp/cache/assets/development/sprockets/da017253c0d60d236728d78f022cd203
496
+ - test/dummy2/tmp/cache/assets/development/sprockets/34c30def6edca7cd4ccc028324e69732
497
+ - test/dummy2/tmp/cache/assets/development/sprockets/614d6dfbd87dfef1f5409cdf648b4ef8
498
+ - test/dummy2/tmp/cache/assets/development/sprockets/21011cd5ad02024ed642796a38699cb5
499
+ - test/dummy2/tmp/cache/assets/development/sprockets/5549bda2a1379ba359a508ac6eef4fed
500
+ - test/dummy2/tmp/cache/assets/development/sprockets/591767e1239aceceb8eae71f91d40c2c
501
+ - test/dummy2/tmp/cache/assets/development/sprockets/1551e0fd7a443780df1664ebdeb18ac1
502
+ - test/dummy2/tmp/cache/assets/development/sprockets/a4f760a14b35ee198d29bdc6657a6d61
503
+ - test/dummy2/tmp/cache/assets/development/sprockets/85c1359d66fb12cd68b8606117cd98ba
504
+ - test/dummy2/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
505
+ - test/dummy2/tmp/cache/assets/development/sprockets/6870a0f5e39c9a385cd7d42d1eacc23a
506
+ - test/dummy2/tmp/cache/assets/development/sprockets/0f9097e7e4fe024b14ad4ae2a74ac107
507
+ - test/dummy2/tmp/cache/assets/development/sprockets/abc2c4b52cfa5dec5d6d5f5bac7f7d7f
508
+ - test/dummy2/tmp/cache/assets/development/sprockets/7796585c12a75e75f99a2ce3d64f3685
509
+ - test/dummy2/tmp/cache/assets/development/sprockets/3f9f0b85e5027ef9cabe4fc1f96b9a67
510
+ - test/dummy2/tmp/cache/assets/development/sprockets/5ca1d924e33e6d2326ea666473d1b957
511
+ - test/dummy2/tmp/cache/assets/development/sprockets/79f273cae0828923dde1ef8c2398a097
512
+ - test/dummy2/tmp/cache/assets/development/sprockets/cb0b8f15d2f703e80dad62daa69e27b1
513
+ - test/dummy2/tmp/cache/assets/development/sprockets/7e4eb3e4ae47796be38b017098742457
514
+ - test/dummy2/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
515
+ - test/dummy2/tmp/cache/assets/development/sprockets/a056f25be69aad65535c6119795b97a7
516
+ - test/dummy2/tmp/cache/assets/development/sprockets/c2a90a25a0d9740bacd317b21a773000
517
+ - test/dummy2/tmp/cache/assets/development/sprockets/a0a7a60c30730860ddb157961fa79cc6
518
+ - test/dummy2/tmp/cache/assets/development/sprockets/8591abf6e2c5e4c2c9a5d9cba884191d
519
+ - test/dummy2/tmp/cache/assets/development/sprockets/43a987fa7ec0cbb1e8a6bd5e3a4e4b8d
520
+ - test/dummy2/tmp/cache/assets/development/sprockets/41485660f2da3e5246495eca44b5d586
521
+ - test/dummy2/tmp/cache/assets/development/sprockets/3ccca1a97ac09ec192a60c94fa00adb3
522
+ - test/dummy2/tmp/cache/assets/development/sprockets/0af4c8229b96d670ece643ab86d847fc
523
+ - test/dummy2/tmp/cache/assets/development/sprockets/9245581aa4bb65f432f558fab76a6394
524
+ - test/dummy2/tmp/cache/assets/development/sprockets/bac590af4a9c32bd96a7954f161597fd
525
+ - test/dummy2/tmp/cache/assets/development/sprockets/0ee8d3e5b36596acfcc7aac1e2c53afb
526
+ - test/dummy2/tmp/cache/assets/development/sprockets/479d3bb4bd6dcf93c1f6fd7fc4e8f484
527
+ - test/dummy2/tmp/cache/assets/development/sprockets/ec454ae07815a55a5b9bb5d5eb9de78b
528
+ - test/dummy2/tmp/cache/assets/development/sprockets/f5afae3a18a58341a8853b2f935b2b5e
529
+ - test/dummy2/tmp/cache/assets/development/sprockets/f0089f75e018e7d19b6fe81ab885cd8e
530
+ - test/dummy2/tmp/cache/assets/development/sprockets/1a00a5d48b33b4f7efca9b6bbdd63bcd
531
+ - test/dummy2/tmp/cache/assets/development/sprockets/b0d1d14e7cf764cbc39a931d8dd3f2de
532
+ - test/dummy2/tmp/cache/assets/development/sprockets/68a9c8d9374226e8006a035b0fdc68d6
533
+ - test/dummy2/tmp/cache/assets/development/sprockets/cd7fd8f917317ac993444f56a0dd0259
534
+ - test/dummy2/tmp/cache/assets/development/sprockets/d3ae97f3eebfface2dbfa809fff4cb9f
535
+ - test/dummy2/tmp/cache/assets/development/sprockets/2335821218ad3f7fb88a7e033bd928d3
536
+ - test/dummy2/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
537
+ - test/dummy2/tmp/cache/assets/development/sprockets/a868a2b2a5302aeed2e5608d656d5ff4
538
+ - test/dummy2/tmp/cache/assets/development/sprockets/6ff1394e29e0bf6efa5e2aaaa5599857
539
+ - test/dummy2/tmp/cache/assets/development/sprockets/74e2e79aaabf24d2f9c9c0db1a848506
540
+ - test/dummy2/tmp/cache/assets/development/sprockets/8f19f695aa102b3306cd7bc524877aaf
541
+ - test/dummy2/tmp/cache/assets/development/sprockets/b265df7d299afb2b854d0d677f534b64
542
+ - test/dummy2/tmp/cache/assets/development/sprockets/31007be9c9b15ceb79a3575e593f1666
543
+ - test/dummy2/tmp/cache/assets/development/sprockets/6aff79b1163157bafd663772e01e02b9
544
+ - test/dummy2/tmp/cache/assets/development/sprockets/cd5ec00cd445991e3f11ed6c5736cb63
545
+ - test/dummy2/tmp/cache/assets/development/sprockets/e6081e190935ce01a7b64d0bcc7a8912
546
+ - test/dummy2/app/helpers/application_helper.rb
547
+ - test/dummy2/app/controllers/categories_controller.rb
548
+ - test/dummy2/app/controllers/pages_controller.rb
549
+ - test/dummy2/app/controllers/application_controller.rb
550
+ - test/dummy2/app/views/paginas/categories/index.html.erb
551
+ - test/dummy2/app/views/paginas/categories/new.html.erb
552
+ - test/dummy2/app/views/paginas/categories/edit.html.erb
553
+ - test/dummy2/app/views/paginas/categories/show.html.erb
554
+ - test/dummy2/app/views/paginas/categories/_form.html.erb
555
+ - test/dummy2/app/views/paginas/shared/keep
556
+ - test/dummy2/app/views/paginas/pages/display.html.erb
557
+ - test/dummy2/app/views/paginas/pages/index.html.erb
558
+ - test/dummy2/app/views/paginas/pages/new.html.erb
559
+ - test/dummy2/app/views/paginas/pages/edit.html.erb
560
+ - test/dummy2/app/views/paginas/pages/show.html.erb
561
+ - test/dummy2/app/views/paginas/pages/_form.html.erb
562
+ - test/dummy2/app/views/paginas/pages/featured.html.erb
563
+ - test/dummy2/app/views/layouts/application.html.erb
564
+ - test/dummy2/app/assets/stylesheets/application.css
565
+ - test/dummy2/app/assets/javascripts/application.js
566
+ - test/dummy2/bin/setup
567
+ - test/dummy2/bin/bundle
568
+ - test/dummy2/bin/rails
569
+ - test/dummy2/bin/rake
570
+ - test/dummy2/log/development.log
571
+ - test/dummy2/db/development.sqlite3
572
+ - test/dummy2/db/schema.rb
573
+ - test/dummy2/categories/display.html.erb
574
+ - test/dummy2/categories/index.html.erb
575
+ - test/dummy2/categories/new.html.erb
576
+ - test/dummy2/categories/edit.html.erb
577
+ - test/dummy2/categories/show.html.erb
578
+ - test/dummy2/categories/_form.html.erb
579
+ - test/dummy2/categories/featured.html.erb
580
+ - test/dummy2/config.ru
581
+ - test/dummy2/config/secrets.yml
582
+ - test/dummy2/config/boot.rb
583
+ - test/dummy2/config/environment.rb
584
+ - test/dummy2/config/locales/en.yml
585
+ - test/dummy2/config/application.rb
586
+ - test/dummy2/config/routes.rb
587
+ - test/dummy2/config/environments/development.rb
588
+ - test/dummy2/config/environments/test.rb
589
+ - test/dummy2/config/environments/production.rb
590
+ - test/dummy2/config/database.yml
591
+ - test/dummy2/config/initializers/inflections.rb
592
+ - test/dummy2/config/initializers/backtrace_silencers.rb
593
+ - test/dummy2/config/initializers/filter_parameter_logging.rb
594
+ - test/dummy2/config/initializers/mime_types.rb
595
+ - test/dummy2/config/initializers/wrap_parameters.rb
596
+ - test/dummy2/config/initializers/session_store.rb
597
+ - test/dummy2/config/initializers/assets.rb
598
+ - test/dummy2/config/initializers/cookies_serializer.rb
599
+ - test/dummy2/Rakefile
600
+ - test/dummy2/README.rdoc
601
+ - test/dummy2/public/favicon.ico
602
+ - test/dummy2/public/422.html
603
+ - test/dummy2/public/500.html
604
+ - test/dummy2/public/404.html
301
605
  - test/test_helper.rb