sunrise-cms 0.7.0.rc2 → 1.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (239) hide show
  1. data/README.md +18 -17
  2. data/app/assets/stylesheets/sunrise/main.css +1 -1
  3. data/app/controllers/sunrise/manager_controller.rb +4 -7
  4. data/app/controllers/sunrise/settings_controller.rb +1 -1
  5. data/app/views/layouts/sunrise/application.html.erb +1 -1
  6. data/app/views/sunrise/manager/_form.html.erb +1 -1
  7. data/app/views/sunrise/shared/_filter.html.erb +3 -3
  8. data/app/views/sunrise/shared/_panel.html.erb +2 -2
  9. data/app/views/sunrise/shared/_toolbar.html.erb +1 -1
  10. data/config/routes.rb +14 -15
  11. data/lib/generators/sunrise/templates/config/active_record/sunrise.rb +11 -8
  12. data/lib/generators/sunrise/templates/config/mongoid/sunrise.rb +9 -6
  13. data/lib/generators/sunrise/templates/models/sunrise/sunrise_navigation.rb +8 -9
  14. data/lib/generators/sunrise/templates/models/sunrise/sunrise_page.rb +4 -4
  15. data/lib/generators/sunrise/templates/models/sunrise/sunrise_structure.rb +8 -8
  16. data/lib/generators/sunrise/templates/models/sunrise/sunrise_user.rb +14 -14
  17. data/lib/generators/sunrise/templates/uploaders/avatar_uploader.rb +1 -1
  18. data/lib/sunrise/abstract_model.rb +29 -27
  19. data/lib/sunrise/config/export.rb +26 -0
  20. data/lib/sunrise/config/{edit.rb → form.rb} +1 -1
  21. data/lib/sunrise/config/{list.rb → index.rb} +1 -1
  22. data/lib/sunrise/config/model.rb +23 -12
  23. data/lib/sunrise/config/navigation.rb +33 -11
  24. data/lib/sunrise/config/page_presenter.rb +31 -0
  25. data/lib/sunrise/config.rb +15 -10
  26. data/lib/sunrise/engine.rb +0 -1
  27. data/lib/sunrise/models/structure.rb +7 -7
  28. data/lib/sunrise/utils.rb +0 -1
  29. data/lib/sunrise/version.rb +1 -1
  30. data/spec/controllers/sunrise/settings_controller_spec.rb +2 -2
  31. data/spec/dummy/app/{models/sunrise → sunrise}/sunrise_post.rb +3 -3
  32. data/spec/dummy/config/application.rb +2 -10
  33. data/spec/dummy/config/environments/development.rb +3 -0
  34. data/spec/dummy/config/environments/production.rb +6 -0
  35. data/spec/dummy/config/environments/test.rb +5 -3
  36. data/spec/dummy/db/schema.rb +90 -0
  37. data/spec/models/avatar_spec.rb +1 -1
  38. data/spec/models/sunrise/abstract_model_spec.rb +5 -8
  39. data/spec/requests/manager/default/edit_spec.rb +1 -1
  40. data/spec/requests/manager/default/new_spec.rb +1 -1
  41. data/spec/requests/manager/default/update_spec.rb +3 -3
  42. data/spec/requests/manager/many/index_spec.rb +2 -1
  43. data/spec/requests/manager/many/new_spec.rb +1 -1
  44. data/spec/spec_helper.rb +18 -0
  45. data/spec/sunrise_spec.rb +2 -2
  46. metadata +10 -405
  47. data/app/controllers/sunrise/shared_controller.rb +0 -13
  48. data/app/views/sunrise/shared/services.json.jbuilder +0 -6
  49. data/lib/sunrise/utils/mysql.rb +0 -35
  50. data/spec/controllers/sunrise/shared_controller_spec.rb +0 -32
  51. data/spec/dummy/log/test.log +0 -22584
  52. data/spec/dummy/public/uploads/avatar/content_rails.png +0 -0
  53. data/spec/dummy/public/uploads/avatar/rails.png +0 -0
  54. data/spec/dummy/public/uploads/avatar/thumb_rails.png +0 -0
  55. data/spec/dummy/public/uploads/tmp/1397814500-44499-6278/rails.png +0 -0
  56. data/spec/dummy/public/uploads/tmp/1397814500-44499-6278/small_rails.png +0 -0
  57. data/spec/dummy/public/uploads/tmp/1397814500-44499-6278/thumb_rails.png +0 -0
  58. data/spec/dummy/public/uploads/tmp/1397814501-44499-0716/rails.png +0 -0
  59. data/spec/dummy/public/uploads/tmp/1397814501-44499-0716/small_rails.png +0 -0
  60. data/spec/dummy/public/uploads/tmp/1397814501-44499-0716/thumb_rails.png +0 -0
  61. data/spec/dummy/public/uploads/tmp/1397814501-44499-6498/rails.png +0 -0
  62. data/spec/dummy/public/uploads/tmp/1397814501-44499-6498/small_rails.png +0 -0
  63. data/spec/dummy/public/uploads/tmp/1397814501-44499-6498/thumb_rails.png +0 -0
  64. data/spec/dummy/public/uploads/tmp/1397814502-44499-9048/silicon_valley.jpg +0 -0
  65. data/spec/dummy/public/uploads/tmp/1397814502-44499-9048/small_silicon_valley.jpg +0 -0
  66. data/spec/dummy/public/uploads/tmp/1397814502-44499-9048/thumb_silicon_valley.jpg +0 -0
  67. data/spec/dummy/public/uploads/tmp/1397814509-44499-4712/rails.png +0 -0
  68. data/spec/dummy/public/uploads/tmp/1397814511-44499-6511/rails.png +0 -0
  69. data/spec/dummy/public/uploads/tmp/1397814514-44499-0946/rails.png +0 -0
  70. data/spec/dummy/public/uploads/tmp/1397814515-44499-4275/rails.png +0 -0
  71. data/spec/dummy/public/uploads/tmp/1397814516-44499-7258/rails.png +0 -0
  72. data/spec/dummy/public/uploads/tmp/1397814743-45062-5613/rails.png +0 -0
  73. data/spec/dummy/public/uploads/tmp/1397814743-45062-5613/small_rails.png +0 -0
  74. data/spec/dummy/public/uploads/tmp/1397814743-45062-5613/thumb_rails.png +0 -0
  75. data/spec/dummy/public/uploads/tmp/1397814744-45062-2352/rails.png +0 -0
  76. data/spec/dummy/public/uploads/tmp/1397814744-45062-2352/small_rails.png +0 -0
  77. data/spec/dummy/public/uploads/tmp/1397814744-45062-2352/thumb_rails.png +0 -0
  78. data/spec/dummy/public/uploads/tmp/1397814744-45062-7990/rails.png +0 -0
  79. data/spec/dummy/public/uploads/tmp/1397814744-45062-7990/small_rails.png +0 -0
  80. data/spec/dummy/public/uploads/tmp/1397814744-45062-7990/thumb_rails.png +0 -0
  81. data/spec/dummy/public/uploads/tmp/1397814745-45062-4632/silicon_valley.jpg +0 -0
  82. data/spec/dummy/public/uploads/tmp/1397814745-45062-4632/small_silicon_valley.jpg +0 -0
  83. data/spec/dummy/public/uploads/tmp/1397814745-45062-4632/thumb_silicon_valley.jpg +0 -0
  84. data/spec/dummy/public/uploads/tmp/1397814752-45062-3620/rails.png +0 -0
  85. data/spec/dummy/public/uploads/tmp/1397814754-45062-7554/rails.png +0 -0
  86. data/spec/dummy/public/uploads/tmp/1397814757-45062-6575/rails.png +0 -0
  87. data/spec/dummy/public/uploads/tmp/1397814758-45062-2473/rails.png +0 -0
  88. data/spec/dummy/public/uploads/tmp/1397814758-45062-7698/rails.png +0 -0
  89. data/spec/dummy/public/uploads/tmp/1397815061-45673-4098/rails.png +0 -0
  90. data/spec/dummy/public/uploads/tmp/1397815061-45673-4098/small_rails.png +0 -0
  91. data/spec/dummy/public/uploads/tmp/1397815061-45673-4098/thumb_rails.png +0 -0
  92. data/spec/dummy/public/uploads/tmp/1397815062-45673-5873/rails.png +0 -0
  93. data/spec/dummy/public/uploads/tmp/1397815062-45673-5873/small_rails.png +0 -0
  94. data/spec/dummy/public/uploads/tmp/1397815062-45673-5873/thumb_rails.png +0 -0
  95. data/spec/dummy/public/uploads/tmp/1397815062-45673-9908/rails.png +0 -0
  96. data/spec/dummy/public/uploads/tmp/1397815062-45673-9908/small_rails.png +0 -0
  97. data/spec/dummy/public/uploads/tmp/1397815062-45673-9908/thumb_rails.png +0 -0
  98. data/spec/dummy/public/uploads/tmp/1397815063-45673-6362/silicon_valley.jpg +0 -0
  99. data/spec/dummy/public/uploads/tmp/1397815063-45673-6362/small_silicon_valley.jpg +0 -0
  100. data/spec/dummy/public/uploads/tmp/1397815063-45673-6362/thumb_silicon_valley.jpg +0 -0
  101. data/spec/dummy/public/uploads/tmp/1397815070-45673-9261/rails.png +0 -0
  102. data/spec/dummy/public/uploads/tmp/1397815072-45673-2350/rails.png +0 -0
  103. data/spec/dummy/public/uploads/tmp/1397815075-45673-3163/rails.png +0 -0
  104. data/spec/dummy/public/uploads/tmp/1397815076-45673-3745/rails.png +0 -0
  105. data/spec/dummy/public/uploads/tmp/1397815077-45673-2689/rails.png +0 -0
  106. data/spec/dummy/tmp/cache/assets/test/sprockets/025a845bfc99eb99aa9690545d024974 +0 -0
  107. data/spec/dummy/tmp/cache/assets/test/sprockets/02ca6949ca99936393e2992467409faf +0 -0
  108. data/spec/dummy/tmp/cache/assets/test/sprockets/03bae0b322a9c8706915fdb4f8d50961 +0 -0
  109. data/spec/dummy/tmp/cache/assets/test/sprockets/06632caa2dd14ba28b138446bd3d807a +0 -0
  110. data/spec/dummy/tmp/cache/assets/test/sprockets/06a86d61c2e57fad1cee30584df6f969 +0 -0
  111. data/spec/dummy/tmp/cache/assets/test/sprockets/07d036bf808a7ace22ce3b32701a2867 +0 -0
  112. data/spec/dummy/tmp/cache/assets/test/sprockets/0cc8e44f8b692c44ef509fd2d7f38941 +0 -0
  113. data/spec/dummy/tmp/cache/assets/test/sprockets/0d7fd69f7cbd03f1617b280bfb33677e +0 -0
  114. data/spec/dummy/tmp/cache/assets/test/sprockets/0e7270936d642e566d747ab335c44ec2 +0 -0
  115. data/spec/dummy/tmp/cache/assets/test/sprockets/0f382880a507fbcedb3a83727f118f84 +0 -0
  116. data/spec/dummy/tmp/cache/assets/test/sprockets/0fab3bb8b5212da52c8b7e0ae428b22a +0 -0
  117. data/spec/dummy/tmp/cache/assets/test/sprockets/12bbe81ebeeacdf11820f57a821789ff +0 -0
  118. data/spec/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  119. data/spec/dummy/tmp/cache/assets/test/sprockets/146ce2f3522fd98d4a8a1501f16c7092 +0 -0
  120. data/spec/dummy/tmp/cache/assets/test/sprockets/172c139e25cc08516d5a8c72c777dd4d +0 -0
  121. data/spec/dummy/tmp/cache/assets/test/sprockets/18b64b11b8b00cc21a396da25a5ff156 +0 -0
  122. data/spec/dummy/tmp/cache/assets/test/sprockets/197d8d604ec08a638b656e053944b734 +0 -0
  123. data/spec/dummy/tmp/cache/assets/test/sprockets/1bdb903463fe67323dbadb0f78337c70 +0 -0
  124. data/spec/dummy/tmp/cache/assets/test/sprockets/1beea1617441e02d76649f4b799aedac +0 -0
  125. data/spec/dummy/tmp/cache/assets/test/sprockets/20f8ac265bd1f0c57067c7a4b5c8f119 +0 -0
  126. data/spec/dummy/tmp/cache/assets/test/sprockets/212fc15df4fd708ebdef5bd3be2191c1 +0 -0
  127. data/spec/dummy/tmp/cache/assets/test/sprockets/256dcb01e7f35659d770584fd71a85d2 +0 -0
  128. data/spec/dummy/tmp/cache/assets/test/sprockets/25a167c7563d6fe8ec6b13ec1ac09274 +0 -0
  129. data/spec/dummy/tmp/cache/assets/test/sprockets/2a6ef2448bbff5c2c3c70c141f744cf5 +0 -0
  130. data/spec/dummy/tmp/cache/assets/test/sprockets/2dedb8177c20286c4259c1d58c5646cc +0 -0
  131. data/spec/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  132. data/spec/dummy/tmp/cache/assets/test/sprockets/33b9cc34fd627b9c81e63eb0faf06efb +0 -0
  133. data/spec/dummy/tmp/cache/assets/test/sprockets/33bd898bccf5b0821d1d3ffa02e9d1b6 +0 -0
  134. data/spec/dummy/tmp/cache/assets/test/sprockets/350390c7e44df7d038254cff29468e2d +0 -0
  135. data/spec/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  136. data/spec/dummy/tmp/cache/assets/test/sprockets/3633276e08728ac0cfea5659b4f8b516 +0 -0
  137. data/spec/dummy/tmp/cache/assets/test/sprockets/37b103f4623089af1456b90830fe941c +0 -0
  138. data/spec/dummy/tmp/cache/assets/test/sprockets/392239d689265304b5fe68912a8f2383 +0 -0
  139. data/spec/dummy/tmp/cache/assets/test/sprockets/3c396fbac68d9fb827a0f4c9d8cae3b6 +0 -0
  140. data/spec/dummy/tmp/cache/assets/test/sprockets/43ad0cf2497efae7114ac03a314706c5 +0 -0
  141. data/spec/dummy/tmp/cache/assets/test/sprockets/46e447bca92498433b2a3114106389a9 +0 -0
  142. data/spec/dummy/tmp/cache/assets/test/sprockets/47395ef44102932b2b9fe17a46c16601 +0 -0
  143. data/spec/dummy/tmp/cache/assets/test/sprockets/4c1c0c6c54ed879c4a5489eadd3a772c +0 -0
  144. data/spec/dummy/tmp/cache/assets/test/sprockets/4ca01587005a9b895bca383881bec87d +0 -0
  145. data/spec/dummy/tmp/cache/assets/test/sprockets/4cffdba2a7aac80c1765e060b152b382 +0 -0
  146. data/spec/dummy/tmp/cache/assets/test/sprockets/54d68ac9b230a01a37ef415779a748da +0 -0
  147. data/spec/dummy/tmp/cache/assets/test/sprockets/55b923cfea92fd264597042a44303f0c +0 -0
  148. data/spec/dummy/tmp/cache/assets/test/sprockets/56d4d696f46e9a63d0a42e11556bce11 +0 -0
  149. data/spec/dummy/tmp/cache/assets/test/sprockets/56e5bd2f3c94d7a9d0da7c4e05c7ad78 +0 -0
  150. data/spec/dummy/tmp/cache/assets/test/sprockets/5807e61754ed8b16702f6ad7ba34d439 +0 -0
  151. data/spec/dummy/tmp/cache/assets/test/sprockets/5a44970074ecbfeae2cc9798ed7da7aa +0 -0
  152. data/spec/dummy/tmp/cache/assets/test/sprockets/5ab8f53cba6a8bdf2c6d671491c397ce +0 -0
  153. data/spec/dummy/tmp/cache/assets/test/sprockets/5e27babe25470126fbc4635dc9fe9a6a +0 -0
  154. data/spec/dummy/tmp/cache/assets/test/sprockets/6056bd921f3a4b6e437dab030d7fef90 +0 -0
  155. data/spec/dummy/tmp/cache/assets/test/sprockets/61533733f5f9ec09571d2d5c45d5ab47 +0 -0
  156. data/spec/dummy/tmp/cache/assets/test/sprockets/68c52f388e9c2401252c0bedf6247c8c +0 -0
  157. data/spec/dummy/tmp/cache/assets/test/sprockets/6a1e72555b75237fffccb5de8937b4d4 +0 -0
  158. data/spec/dummy/tmp/cache/assets/test/sprockets/6a8187f5c6f2e115d1a1c21ca2ec81a0 +0 -0
  159. data/spec/dummy/tmp/cache/assets/test/sprockets/7041d544b28bff5f26dde49d77a2e87d +0 -0
  160. data/spec/dummy/tmp/cache/assets/test/sprockets/747d1d7298f227da4193f23f3932ac8e +0 -0
  161. data/spec/dummy/tmp/cache/assets/test/sprockets/749bd767d6654c80265f5ca0959dc8e1 +0 -0
  162. data/spec/dummy/tmp/cache/assets/test/sprockets/75870e6b6fe8335a7912ca4ea859a76a +0 -0
  163. data/spec/dummy/tmp/cache/assets/test/sprockets/759bbbe7d51d98664d8072e51b24744b +0 -0
  164. data/spec/dummy/tmp/cache/assets/test/sprockets/7a1f4a9bcb1d7d1e515330c4f5c391ad +0 -0
  165. data/spec/dummy/tmp/cache/assets/test/sprockets/7ad564910e515e335bb008989a97efb7 +0 -0
  166. data/spec/dummy/tmp/cache/assets/test/sprockets/7b55037b89f2debe558b43fe7542e409 +0 -0
  167. data/spec/dummy/tmp/cache/assets/test/sprockets/7ff7dd624cb7a6db5ec99af129138020 +0 -0
  168. data/spec/dummy/tmp/cache/assets/test/sprockets/80870efa2a2ddb1de325c224daff5712 +0 -0
  169. data/spec/dummy/tmp/cache/assets/test/sprockets/856b05d9307e97e681bc5c7f3649f714 +0 -0
  170. data/spec/dummy/tmp/cache/assets/test/sprockets/8766064af197b444eb1f06a6650ca9c3 +0 -0
  171. data/spec/dummy/tmp/cache/assets/test/sprockets/894aeaae9cc8483fa9f7a5146ff6ff6f +0 -0
  172. data/spec/dummy/tmp/cache/assets/test/sprockets/8a559f967fac90d4ae5a84af92c111e1 +0 -0
  173. data/spec/dummy/tmp/cache/assets/test/sprockets/8c5ee15b5860dcf2941abd00daf001eb +0 -0
  174. data/spec/dummy/tmp/cache/assets/test/sprockets/8c9393d7c6a1a2b6bb1fc9a9ccaba111 +0 -0
  175. data/spec/dummy/tmp/cache/assets/test/sprockets/8d476275ed52a5aa897cb7eef648dbc4 +0 -0
  176. data/spec/dummy/tmp/cache/assets/test/sprockets/906da6ff8c06db3e472a0a10985b668c +0 -0
  177. data/spec/dummy/tmp/cache/assets/test/sprockets/94826bb92d888d50a265392a81ce1286 +0 -0
  178. data/spec/dummy/tmp/cache/assets/test/sprockets/956d7ea9ee52ec12759995ab47f1e780 +0 -0
  179. data/spec/dummy/tmp/cache/assets/test/sprockets/974812817397ff6032b286a281d9a163 +0 -0
  180. data/spec/dummy/tmp/cache/assets/test/sprockets/9ba0cab624f25b68f79447e62fbc6112 +0 -0
  181. data/spec/dummy/tmp/cache/assets/test/sprockets/a1c0fa5689dff4e7edcc4f175f9d54bf +0 -0
  182. data/spec/dummy/tmp/cache/assets/test/sprockets/a43280845b1d41babd3f6714cd2d1337 +0 -0
  183. data/spec/dummy/tmp/cache/assets/test/sprockets/a50e247ceb9e9af32260a73eadbb65cb +0 -0
  184. data/spec/dummy/tmp/cache/assets/test/sprockets/a668bf13b4df6854c8c1085b26daa63a +0 -0
  185. data/spec/dummy/tmp/cache/assets/test/sprockets/a78a33e8cea959257da93b3e67786300 +0 -0
  186. data/spec/dummy/tmp/cache/assets/test/sprockets/aa4822def20c419f0e50e2a38e73a1df +0 -0
  187. data/spec/dummy/tmp/cache/assets/test/sprockets/aa94554c7d6f15d3f88e9710b043c2cc +0 -0
  188. data/spec/dummy/tmp/cache/assets/test/sprockets/abde9800d767ab39abc91703e5a83d70 +0 -0
  189. data/spec/dummy/tmp/cache/assets/test/sprockets/b25e1f0b850e73d0e1ef154249ce8135 +0 -0
  190. data/spec/dummy/tmp/cache/assets/test/sprockets/b4e0977feb24777fe3df7dd188b2b123 +0 -0
  191. data/spec/dummy/tmp/cache/assets/test/sprockets/b4e12b8782fac2f3caaa4aea2f89087c +0 -0
  192. data/spec/dummy/tmp/cache/assets/test/sprockets/b8c47badf85ceedb2268ef3b0f074257 +0 -0
  193. data/spec/dummy/tmp/cache/assets/test/sprockets/bafd6678f36ffd5fb29e4d9055df1f97 +0 -0
  194. data/spec/dummy/tmp/cache/assets/test/sprockets/bc4b7beed5a786619d6c3855909cb077 +0 -0
  195. data/spec/dummy/tmp/cache/assets/test/sprockets/bfc0fef30976427a03ddccb1ce78d6e7 +0 -0
  196. data/spec/dummy/tmp/cache/assets/test/sprockets/c104157fd9dbe5edc61a1889af968e19 +0 -0
  197. data/spec/dummy/tmp/cache/assets/test/sprockets/c37e2e0969ee5b3590335141a08ed884 +0 -0
  198. data/spec/dummy/tmp/cache/assets/test/sprockets/c3dc3ada4560805584739bfe7c2b24d9 +0 -0
  199. data/spec/dummy/tmp/cache/assets/test/sprockets/c4d36397803a4adf8ea86a8936b2d5f5 +0 -0
  200. data/spec/dummy/tmp/cache/assets/test/sprockets/c8f8b0ae15c86cf8aae9e3601758435e +0 -0
  201. data/spec/dummy/tmp/cache/assets/test/sprockets/cbbe8f22213647e8549911f486aee9b3 +0 -0
  202. data/spec/dummy/tmp/cache/assets/test/sprockets/cc04ce51d1e3d02a64f2781ea0876af3 +0 -0
  203. data/spec/dummy/tmp/cache/assets/test/sprockets/cebb517859b2ed48276bf54e0ba6dcec +0 -0
  204. data/spec/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  205. data/spec/dummy/tmp/cache/assets/test/sprockets/d311318a280b46ab076da5c419b210ab +0 -0
  206. data/spec/dummy/tmp/cache/assets/test/sprockets/d48c8e1ff1b6fcdbacf6ab08f8bde111 +0 -0
  207. data/spec/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  208. data/spec/dummy/tmp/cache/assets/test/sprockets/d7c40ebee2fb9471bab352337570ba40 +0 -0
  209. data/spec/dummy/tmp/cache/assets/test/sprockets/d9390b9983c2dcadf2533a63d0f7a84c +0 -0
  210. data/spec/dummy/tmp/cache/assets/test/sprockets/da055188ac218679c8fe62932c379340 +0 -0
  211. data/spec/dummy/tmp/cache/assets/test/sprockets/da4488b32bd6fb75c655a077956c9034 +0 -0
  212. data/spec/dummy/tmp/cache/assets/test/sprockets/e0f1660d21c6375d8a36eac87ae8ccbc +0 -0
  213. data/spec/dummy/tmp/cache/assets/test/sprockets/e1639f86099d91eb2fede327d443906f +0 -0
  214. data/spec/dummy/tmp/cache/assets/test/sprockets/e25f607f69c16bc5ffb481f9606b457e +0 -0
  215. data/spec/dummy/tmp/cache/assets/test/sprockets/e2c4f946939f2d7d0b42d86383755cae +0 -0
  216. data/spec/dummy/tmp/cache/assets/test/sprockets/e4a2ab1f3bf2d0726dff720ae88e8abc +0 -0
  217. data/spec/dummy/tmp/cache/assets/test/sprockets/e4f46080338c0c52e3933999a7f8106d +0 -0
  218. data/spec/dummy/tmp/cache/assets/test/sprockets/e59a3c2ff941e0fdc7987168580bf4cc +0 -0
  219. data/spec/dummy/tmp/cache/assets/test/sprockets/e5ab921ab9e413144898d780049a5c88 +0 -0
  220. data/spec/dummy/tmp/cache/assets/test/sprockets/e6cfe2e09e34ec2b24494a74eed5243a +0 -0
  221. data/spec/dummy/tmp/cache/assets/test/sprockets/e994cc6f07f643c4c230a9b740fd03f5 +0 -0
  222. data/spec/dummy/tmp/cache/assets/test/sprockets/ec87c33887ff6c0258bd8469a77bdcb4 +0 -0
  223. data/spec/dummy/tmp/cache/assets/test/sprockets/eccb73ad1563f9b070c4ffdf07ffff38 +0 -0
  224. data/spec/dummy/tmp/cache/assets/test/sprockets/ee5a41236d43159aac87f9224a0bcfb8 +0 -0
  225. data/spec/dummy/tmp/cache/assets/test/sprockets/f00fb03eca205b5e302d9ae7ed652817 +0 -0
  226. data/spec/dummy/tmp/cache/assets/test/sprockets/f24a0e7771eab5bd17ee05c73c56649e +0 -0
  227. data/spec/dummy/tmp/cache/assets/test/sprockets/f2de4855fd4840abb2f6e80afee5f4ed +0 -0
  228. data/spec/dummy/tmp/cache/assets/test/sprockets/f475ab32c44efa173bf8ba75435d2570 +0 -0
  229. data/spec/dummy/tmp/cache/assets/test/sprockets/f5165c4d7cee0e7cb99bc069fd4c09b9 +0 -0
  230. data/spec/dummy/tmp/cache/assets/test/sprockets/f53b02f1d2cbab753c7931e700469bed +0 -0
  231. data/spec/dummy/tmp/cache/assets/test/sprockets/f5cf5c65e6bf2039363f3b1e09bcdc9c +0 -0
  232. data/spec/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  233. data/spec/dummy/tmp/cache/assets/test/sprockets/f975cba8c490022ddfc45bab0b512879 +0 -0
  234. data/spec/dummy/tmp/cache/assets/test/sprockets/fba4eeb0b33c40737a907a18ee0770a4 +0 -0
  235. data/spec/dummy/tmp/cache/assets/test/sprockets/fbe8d6803f3e5a9ccb6eb7a285b95ee0 +0 -0
  236. data/spec/dummy/tmp/cache/assets/test/sprockets/fd7e46e0b42a510b40f17d1f1bacf80e +0 -0
  237. data/spec/dummy/tmp/cache/assets/test/sprockets/fd9e24b6acf76f9d44cc8e26d3148e39 +0 -0
  238. data/spec/dummy/tmp/cache/assets/test/sprockets/fe03e8232ec516da863efecd7bb2678b +0 -0
  239. data/spec/requests/shared_spec.rb +0 -36
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sunrise-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0.rc2
4
+ version: 1.0.0.rc1
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-04-18 00:00:00.000000000 Z
13
+ date: 2014-04-20 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -60,22 +60,6 @@ dependencies:
60
60
  - - ! '>='
61
61
  - !ruby/object:Gem::Version
62
62
  version: '0'
63
- - !ruby/object:Gem::Dependency
64
- name: jbuilder
65
- requirement: !ruby/object:Gem::Requirement
66
- none: false
67
- requirements:
68
- - - ! '>='
69
- - !ruby/object:Gem::Version
70
- version: '0'
71
- type: :runtime
72
- prerelease: false
73
- version_requirements: !ruby/object:Gem::Requirement
74
- none: false
75
- requirements:
76
- - - ! '>='
77
- - !ruby/object:Gem::Version
78
- version: '0'
79
63
  - !ruby/object:Gem::Dependency
80
64
  name: mime-types
81
65
  requirement: !ruby/object:Gem::Requirement
@@ -502,7 +486,6 @@ files:
502
486
  - app/controllers/sunrise/dashboard_controller.rb
503
487
  - app/controllers/sunrise/manager_controller.rb
504
488
  - app/controllers/sunrise/settings_controller.rb
505
- - app/controllers/sunrise/shared_controller.rb
506
489
  - app/helpers/sunrise/application_helper.rb
507
490
  - app/helpers/sunrise/dashboard_helper.rb
508
491
  - app/helpers/sunrise/manager_helper.rb
@@ -555,7 +538,6 @@ files:
555
538
  - app/views/sunrise/shared/_panel.html.erb
556
539
  - app/views/sunrise/shared/_parent.html.erb
557
540
  - app/views/sunrise/shared/_toolbar.html.erb
558
- - app/views/sunrise/shared/services.json.jbuilder
559
541
  - config/locales/defaults/datetime.rb
560
542
  - config/locales/defaults/en.yml
561
543
  - config/locales/defaults/pluralize.rb
@@ -626,16 +608,18 @@ files:
626
608
  - lib/sunrise/carrierwave/glue.rb
627
609
  - lib/sunrise/config/association.rb
628
610
  - lib/sunrise/config/base.rb
629
- - lib/sunrise/config/edit.rb
611
+ - lib/sunrise/config/export.rb
630
612
  - lib/sunrise/config/field.rb
613
+ - lib/sunrise/config/form.rb
631
614
  - lib/sunrise/config/group.rb
632
615
  - lib/sunrise/config/has_fields.rb
633
616
  - lib/sunrise/config/has_groups.rb
634
- - lib/sunrise/config/list.rb
617
+ - lib/sunrise/config/index.rb
635
618
  - lib/sunrise/config/model.rb
636
619
  - lib/sunrise/config/navigation.rb
637
620
  - lib/sunrise/config/navigation_item.rb
638
621
  - lib/sunrise/config/nested_field.rb
622
+ - lib/sunrise/config/page_presenter.rb
639
623
  - lib/sunrise/config/show.rb
640
624
  - lib/sunrise/config.rb
641
625
  - lib/sunrise/core_ext/i18n.rb
@@ -653,7 +637,6 @@ files:
653
637
  - lib/sunrise/models/user.rb
654
638
  - lib/sunrise/utils/csv_document.rb
655
639
  - lib/sunrise/utils/eval_helpers.rb
656
- - lib/sunrise/utils/mysql.rb
657
640
  - lib/sunrise/utils/search_wrapper.rb
658
641
  - lib/sunrise/utils/transliteration.rb
659
642
  - lib/sunrise/utils.rb
@@ -675,7 +658,6 @@ files:
675
658
  - spec/controllers/sunrise/dashboard_controller_spec.rb
676
659
  - spec/controllers/sunrise/manager_controller_spec.rb
677
660
  - spec/controllers/sunrise/settings_controller_spec.rb
678
- - spec/controllers/sunrise/shared_controller_spec.rb
679
661
  - spec/dummy/app/assets/javascripts/application.js
680
662
  - spec/dummy/app/assets/javascripts/welcome.js
681
663
  - spec/dummy/app/assets/stylesheets/application.css
@@ -686,7 +668,7 @@ files:
686
668
  - spec/dummy/app/helpers/welcome_helper.rb
687
669
  - spec/dummy/app/models/active_record/post.rb
688
670
  - spec/dummy/app/models/mongoid/post.rb
689
- - spec/dummy/app/models/sunrise/sunrise_post.rb
671
+ - spec/dummy/app/sunrise/sunrise_post.rb
690
672
  - spec/dummy/app/views/layouts/application.html.erb
691
673
  - spec/dummy/app/views/public_activity/post/_create.html.erb
692
674
  - spec/dummy/app/views/public_activity/post/_destroy.html.erb
@@ -718,200 +700,13 @@ files:
718
700
  - spec/dummy/db/migrate/20111228152051_create_posts.rb
719
701
  - spec/dummy/db/migrate/20120105114018_create_meta_tags.rb
720
702
  - spec/dummy/db/migrate/20130214090723_create_activities.rb
721
- - spec/dummy/log/test.log
703
+ - spec/dummy/db/schema.rb
722
704
  - spec/dummy/public/404.html
723
705
  - spec/dummy/public/422.html
724
706
  - spec/dummy/public/500.html
725
707
  - spec/dummy/public/favicon.ico
726
- - spec/dummy/public/uploads/avatar/content_rails.png
727
- - spec/dummy/public/uploads/avatar/rails.png
728
- - spec/dummy/public/uploads/avatar/thumb_rails.png
729
- - spec/dummy/public/uploads/tmp/1397814500-44499-6278/rails.png
730
- - spec/dummy/public/uploads/tmp/1397814500-44499-6278/small_rails.png
731
- - spec/dummy/public/uploads/tmp/1397814500-44499-6278/thumb_rails.png
732
- - spec/dummy/public/uploads/tmp/1397814501-44499-0716/rails.png
733
- - spec/dummy/public/uploads/tmp/1397814501-44499-0716/small_rails.png
734
- - spec/dummy/public/uploads/tmp/1397814501-44499-0716/thumb_rails.png
735
- - spec/dummy/public/uploads/tmp/1397814501-44499-6498/rails.png
736
- - spec/dummy/public/uploads/tmp/1397814501-44499-6498/small_rails.png
737
- - spec/dummy/public/uploads/tmp/1397814501-44499-6498/thumb_rails.png
738
- - spec/dummy/public/uploads/tmp/1397814502-44499-9048/silicon_valley.jpg
739
- - spec/dummy/public/uploads/tmp/1397814502-44499-9048/small_silicon_valley.jpg
740
- - spec/dummy/public/uploads/tmp/1397814502-44499-9048/thumb_silicon_valley.jpg
741
- - spec/dummy/public/uploads/tmp/1397814509-44499-4712/rails.png
742
- - spec/dummy/public/uploads/tmp/1397814511-44499-6511/rails.png
743
- - spec/dummy/public/uploads/tmp/1397814514-44499-0946/rails.png
744
- - spec/dummy/public/uploads/tmp/1397814515-44499-4275/rails.png
745
- - spec/dummy/public/uploads/tmp/1397814516-44499-7258/rails.png
746
- - spec/dummy/public/uploads/tmp/1397814743-45062-5613/rails.png
747
- - spec/dummy/public/uploads/tmp/1397814743-45062-5613/small_rails.png
748
- - spec/dummy/public/uploads/tmp/1397814743-45062-5613/thumb_rails.png
749
- - spec/dummy/public/uploads/tmp/1397814744-45062-2352/rails.png
750
- - spec/dummy/public/uploads/tmp/1397814744-45062-2352/small_rails.png
751
- - spec/dummy/public/uploads/tmp/1397814744-45062-2352/thumb_rails.png
752
- - spec/dummy/public/uploads/tmp/1397814744-45062-7990/rails.png
753
- - spec/dummy/public/uploads/tmp/1397814744-45062-7990/small_rails.png
754
- - spec/dummy/public/uploads/tmp/1397814744-45062-7990/thumb_rails.png
755
- - spec/dummy/public/uploads/tmp/1397814745-45062-4632/silicon_valley.jpg
756
- - spec/dummy/public/uploads/tmp/1397814745-45062-4632/small_silicon_valley.jpg
757
- - spec/dummy/public/uploads/tmp/1397814745-45062-4632/thumb_silicon_valley.jpg
758
- - spec/dummy/public/uploads/tmp/1397814752-45062-3620/rails.png
759
- - spec/dummy/public/uploads/tmp/1397814754-45062-7554/rails.png
760
- - spec/dummy/public/uploads/tmp/1397814757-45062-6575/rails.png
761
- - spec/dummy/public/uploads/tmp/1397814758-45062-2473/rails.png
762
- - spec/dummy/public/uploads/tmp/1397814758-45062-7698/rails.png
763
- - spec/dummy/public/uploads/tmp/1397815061-45673-4098/rails.png
764
- - spec/dummy/public/uploads/tmp/1397815061-45673-4098/small_rails.png
765
- - spec/dummy/public/uploads/tmp/1397815061-45673-4098/thumb_rails.png
766
- - spec/dummy/public/uploads/tmp/1397815062-45673-5873/rails.png
767
- - spec/dummy/public/uploads/tmp/1397815062-45673-5873/small_rails.png
768
- - spec/dummy/public/uploads/tmp/1397815062-45673-5873/thumb_rails.png
769
- - spec/dummy/public/uploads/tmp/1397815062-45673-9908/rails.png
770
- - spec/dummy/public/uploads/tmp/1397815062-45673-9908/small_rails.png
771
- - spec/dummy/public/uploads/tmp/1397815062-45673-9908/thumb_rails.png
772
- - spec/dummy/public/uploads/tmp/1397815063-45673-6362/silicon_valley.jpg
773
- - spec/dummy/public/uploads/tmp/1397815063-45673-6362/small_silicon_valley.jpg
774
- - spec/dummy/public/uploads/tmp/1397815063-45673-6362/thumb_silicon_valley.jpg
775
- - spec/dummy/public/uploads/tmp/1397815070-45673-9261/rails.png
776
- - spec/dummy/public/uploads/tmp/1397815072-45673-2350/rails.png
777
- - spec/dummy/public/uploads/tmp/1397815075-45673-3163/rails.png
778
- - spec/dummy/public/uploads/tmp/1397815076-45673-3745/rails.png
779
- - spec/dummy/public/uploads/tmp/1397815077-45673-2689/rails.png
780
708
  - spec/dummy/Rakefile
781
709
  - spec/dummy/script/rails
782
- - spec/dummy/tmp/cache/assets/test/sprockets/025a845bfc99eb99aa9690545d024974
783
- - spec/dummy/tmp/cache/assets/test/sprockets/02ca6949ca99936393e2992467409faf
784
- - spec/dummy/tmp/cache/assets/test/sprockets/03bae0b322a9c8706915fdb4f8d50961
785
- - spec/dummy/tmp/cache/assets/test/sprockets/06632caa2dd14ba28b138446bd3d807a
786
- - spec/dummy/tmp/cache/assets/test/sprockets/06a86d61c2e57fad1cee30584df6f969
787
- - spec/dummy/tmp/cache/assets/test/sprockets/07d036bf808a7ace22ce3b32701a2867
788
- - spec/dummy/tmp/cache/assets/test/sprockets/0cc8e44f8b692c44ef509fd2d7f38941
789
- - spec/dummy/tmp/cache/assets/test/sprockets/0d7fd69f7cbd03f1617b280bfb33677e
790
- - spec/dummy/tmp/cache/assets/test/sprockets/0e7270936d642e566d747ab335c44ec2
791
- - spec/dummy/tmp/cache/assets/test/sprockets/0f382880a507fbcedb3a83727f118f84
792
- - spec/dummy/tmp/cache/assets/test/sprockets/0fab3bb8b5212da52c8b7e0ae428b22a
793
- - spec/dummy/tmp/cache/assets/test/sprockets/12bbe81ebeeacdf11820f57a821789ff
794
- - spec/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705
795
- - spec/dummy/tmp/cache/assets/test/sprockets/146ce2f3522fd98d4a8a1501f16c7092
796
- - spec/dummy/tmp/cache/assets/test/sprockets/172c139e25cc08516d5a8c72c777dd4d
797
- - spec/dummy/tmp/cache/assets/test/sprockets/18b64b11b8b00cc21a396da25a5ff156
798
- - spec/dummy/tmp/cache/assets/test/sprockets/197d8d604ec08a638b656e053944b734
799
- - spec/dummy/tmp/cache/assets/test/sprockets/1bdb903463fe67323dbadb0f78337c70
800
- - spec/dummy/tmp/cache/assets/test/sprockets/1beea1617441e02d76649f4b799aedac
801
- - spec/dummy/tmp/cache/assets/test/sprockets/20f8ac265bd1f0c57067c7a4b5c8f119
802
- - spec/dummy/tmp/cache/assets/test/sprockets/212fc15df4fd708ebdef5bd3be2191c1
803
- - spec/dummy/tmp/cache/assets/test/sprockets/256dcb01e7f35659d770584fd71a85d2
804
- - spec/dummy/tmp/cache/assets/test/sprockets/25a167c7563d6fe8ec6b13ec1ac09274
805
- - spec/dummy/tmp/cache/assets/test/sprockets/2a6ef2448bbff5c2c3c70c141f744cf5
806
- - spec/dummy/tmp/cache/assets/test/sprockets/2dedb8177c20286c4259c1d58c5646cc
807
- - spec/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af
808
- - spec/dummy/tmp/cache/assets/test/sprockets/33b9cc34fd627b9c81e63eb0faf06efb
809
- - spec/dummy/tmp/cache/assets/test/sprockets/33bd898bccf5b0821d1d3ffa02e9d1b6
810
- - spec/dummy/tmp/cache/assets/test/sprockets/350390c7e44df7d038254cff29468e2d
811
- - spec/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953
812
- - spec/dummy/tmp/cache/assets/test/sprockets/3633276e08728ac0cfea5659b4f8b516
813
- - spec/dummy/tmp/cache/assets/test/sprockets/37b103f4623089af1456b90830fe941c
814
- - spec/dummy/tmp/cache/assets/test/sprockets/392239d689265304b5fe68912a8f2383
815
- - spec/dummy/tmp/cache/assets/test/sprockets/3c396fbac68d9fb827a0f4c9d8cae3b6
816
- - spec/dummy/tmp/cache/assets/test/sprockets/43ad0cf2497efae7114ac03a314706c5
817
- - spec/dummy/tmp/cache/assets/test/sprockets/46e447bca92498433b2a3114106389a9
818
- - spec/dummy/tmp/cache/assets/test/sprockets/47395ef44102932b2b9fe17a46c16601
819
- - spec/dummy/tmp/cache/assets/test/sprockets/4c1c0c6c54ed879c4a5489eadd3a772c
820
- - spec/dummy/tmp/cache/assets/test/sprockets/4ca01587005a9b895bca383881bec87d
821
- - spec/dummy/tmp/cache/assets/test/sprockets/4cffdba2a7aac80c1765e060b152b382
822
- - spec/dummy/tmp/cache/assets/test/sprockets/54d68ac9b230a01a37ef415779a748da
823
- - spec/dummy/tmp/cache/assets/test/sprockets/55b923cfea92fd264597042a44303f0c
824
- - spec/dummy/tmp/cache/assets/test/sprockets/56d4d696f46e9a63d0a42e11556bce11
825
- - spec/dummy/tmp/cache/assets/test/sprockets/56e5bd2f3c94d7a9d0da7c4e05c7ad78
826
- - spec/dummy/tmp/cache/assets/test/sprockets/5807e61754ed8b16702f6ad7ba34d439
827
- - spec/dummy/tmp/cache/assets/test/sprockets/5a44970074ecbfeae2cc9798ed7da7aa
828
- - spec/dummy/tmp/cache/assets/test/sprockets/5ab8f53cba6a8bdf2c6d671491c397ce
829
- - spec/dummy/tmp/cache/assets/test/sprockets/5e27babe25470126fbc4635dc9fe9a6a
830
- - spec/dummy/tmp/cache/assets/test/sprockets/6056bd921f3a4b6e437dab030d7fef90
831
- - spec/dummy/tmp/cache/assets/test/sprockets/61533733f5f9ec09571d2d5c45d5ab47
832
- - spec/dummy/tmp/cache/assets/test/sprockets/68c52f388e9c2401252c0bedf6247c8c
833
- - spec/dummy/tmp/cache/assets/test/sprockets/6a1e72555b75237fffccb5de8937b4d4
834
- - spec/dummy/tmp/cache/assets/test/sprockets/6a8187f5c6f2e115d1a1c21ca2ec81a0
835
- - spec/dummy/tmp/cache/assets/test/sprockets/7041d544b28bff5f26dde49d77a2e87d
836
- - spec/dummy/tmp/cache/assets/test/sprockets/747d1d7298f227da4193f23f3932ac8e
837
- - spec/dummy/tmp/cache/assets/test/sprockets/749bd767d6654c80265f5ca0959dc8e1
838
- - spec/dummy/tmp/cache/assets/test/sprockets/75870e6b6fe8335a7912ca4ea859a76a
839
- - spec/dummy/tmp/cache/assets/test/sprockets/759bbbe7d51d98664d8072e51b24744b
840
- - spec/dummy/tmp/cache/assets/test/sprockets/7a1f4a9bcb1d7d1e515330c4f5c391ad
841
- - spec/dummy/tmp/cache/assets/test/sprockets/7ad564910e515e335bb008989a97efb7
842
- - spec/dummy/tmp/cache/assets/test/sprockets/7b55037b89f2debe558b43fe7542e409
843
- - spec/dummy/tmp/cache/assets/test/sprockets/7ff7dd624cb7a6db5ec99af129138020
844
- - spec/dummy/tmp/cache/assets/test/sprockets/80870efa2a2ddb1de325c224daff5712
845
- - spec/dummy/tmp/cache/assets/test/sprockets/856b05d9307e97e681bc5c7f3649f714
846
- - spec/dummy/tmp/cache/assets/test/sprockets/8766064af197b444eb1f06a6650ca9c3
847
- - spec/dummy/tmp/cache/assets/test/sprockets/894aeaae9cc8483fa9f7a5146ff6ff6f
848
- - spec/dummy/tmp/cache/assets/test/sprockets/8a559f967fac90d4ae5a84af92c111e1
849
- - spec/dummy/tmp/cache/assets/test/sprockets/8c5ee15b5860dcf2941abd00daf001eb
850
- - spec/dummy/tmp/cache/assets/test/sprockets/8c9393d7c6a1a2b6bb1fc9a9ccaba111
851
- - spec/dummy/tmp/cache/assets/test/sprockets/8d476275ed52a5aa897cb7eef648dbc4
852
- - spec/dummy/tmp/cache/assets/test/sprockets/906da6ff8c06db3e472a0a10985b668c
853
- - spec/dummy/tmp/cache/assets/test/sprockets/94826bb92d888d50a265392a81ce1286
854
- - spec/dummy/tmp/cache/assets/test/sprockets/956d7ea9ee52ec12759995ab47f1e780
855
- - spec/dummy/tmp/cache/assets/test/sprockets/974812817397ff6032b286a281d9a163
856
- - spec/dummy/tmp/cache/assets/test/sprockets/9ba0cab624f25b68f79447e62fbc6112
857
- - spec/dummy/tmp/cache/assets/test/sprockets/a1c0fa5689dff4e7edcc4f175f9d54bf
858
- - spec/dummy/tmp/cache/assets/test/sprockets/a43280845b1d41babd3f6714cd2d1337
859
- - spec/dummy/tmp/cache/assets/test/sprockets/a50e247ceb9e9af32260a73eadbb65cb
860
- - spec/dummy/tmp/cache/assets/test/sprockets/a668bf13b4df6854c8c1085b26daa63a
861
- - spec/dummy/tmp/cache/assets/test/sprockets/a78a33e8cea959257da93b3e67786300
862
- - spec/dummy/tmp/cache/assets/test/sprockets/aa4822def20c419f0e50e2a38e73a1df
863
- - spec/dummy/tmp/cache/assets/test/sprockets/aa94554c7d6f15d3f88e9710b043c2cc
864
- - spec/dummy/tmp/cache/assets/test/sprockets/abde9800d767ab39abc91703e5a83d70
865
- - spec/dummy/tmp/cache/assets/test/sprockets/b25e1f0b850e73d0e1ef154249ce8135
866
- - spec/dummy/tmp/cache/assets/test/sprockets/b4e0977feb24777fe3df7dd188b2b123
867
- - spec/dummy/tmp/cache/assets/test/sprockets/b4e12b8782fac2f3caaa4aea2f89087c
868
- - spec/dummy/tmp/cache/assets/test/sprockets/b8c47badf85ceedb2268ef3b0f074257
869
- - spec/dummy/tmp/cache/assets/test/sprockets/bafd6678f36ffd5fb29e4d9055df1f97
870
- - spec/dummy/tmp/cache/assets/test/sprockets/bc4b7beed5a786619d6c3855909cb077
871
- - spec/dummy/tmp/cache/assets/test/sprockets/bfc0fef30976427a03ddccb1ce78d6e7
872
- - spec/dummy/tmp/cache/assets/test/sprockets/c104157fd9dbe5edc61a1889af968e19
873
- - spec/dummy/tmp/cache/assets/test/sprockets/c37e2e0969ee5b3590335141a08ed884
874
- - spec/dummy/tmp/cache/assets/test/sprockets/c3dc3ada4560805584739bfe7c2b24d9
875
- - spec/dummy/tmp/cache/assets/test/sprockets/c4d36397803a4adf8ea86a8936b2d5f5
876
- - spec/dummy/tmp/cache/assets/test/sprockets/c8f8b0ae15c86cf8aae9e3601758435e
877
- - spec/dummy/tmp/cache/assets/test/sprockets/cbbe8f22213647e8549911f486aee9b3
878
- - spec/dummy/tmp/cache/assets/test/sprockets/cc04ce51d1e3d02a64f2781ea0876af3
879
- - spec/dummy/tmp/cache/assets/test/sprockets/cebb517859b2ed48276bf54e0ba6dcec
880
- - spec/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994
881
- - spec/dummy/tmp/cache/assets/test/sprockets/d311318a280b46ab076da5c419b210ab
882
- - spec/dummy/tmp/cache/assets/test/sprockets/d48c8e1ff1b6fcdbacf6ab08f8bde111
883
- - spec/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6
884
- - spec/dummy/tmp/cache/assets/test/sprockets/d7c40ebee2fb9471bab352337570ba40
885
- - spec/dummy/tmp/cache/assets/test/sprockets/d9390b9983c2dcadf2533a63d0f7a84c
886
- - spec/dummy/tmp/cache/assets/test/sprockets/da055188ac218679c8fe62932c379340
887
- - spec/dummy/tmp/cache/assets/test/sprockets/da4488b32bd6fb75c655a077956c9034
888
- - spec/dummy/tmp/cache/assets/test/sprockets/e0f1660d21c6375d8a36eac87ae8ccbc
889
- - spec/dummy/tmp/cache/assets/test/sprockets/e1639f86099d91eb2fede327d443906f
890
- - spec/dummy/tmp/cache/assets/test/sprockets/e25f607f69c16bc5ffb481f9606b457e
891
- - spec/dummy/tmp/cache/assets/test/sprockets/e2c4f946939f2d7d0b42d86383755cae
892
- - spec/dummy/tmp/cache/assets/test/sprockets/e4a2ab1f3bf2d0726dff720ae88e8abc
893
- - spec/dummy/tmp/cache/assets/test/sprockets/e4f46080338c0c52e3933999a7f8106d
894
- - spec/dummy/tmp/cache/assets/test/sprockets/e59a3c2ff941e0fdc7987168580bf4cc
895
- - spec/dummy/tmp/cache/assets/test/sprockets/e5ab921ab9e413144898d780049a5c88
896
- - spec/dummy/tmp/cache/assets/test/sprockets/e6cfe2e09e34ec2b24494a74eed5243a
897
- - spec/dummy/tmp/cache/assets/test/sprockets/e994cc6f07f643c4c230a9b740fd03f5
898
- - spec/dummy/tmp/cache/assets/test/sprockets/ec87c33887ff6c0258bd8469a77bdcb4
899
- - spec/dummy/tmp/cache/assets/test/sprockets/eccb73ad1563f9b070c4ffdf07ffff38
900
- - spec/dummy/tmp/cache/assets/test/sprockets/ee5a41236d43159aac87f9224a0bcfb8
901
- - spec/dummy/tmp/cache/assets/test/sprockets/f00fb03eca205b5e302d9ae7ed652817
902
- - spec/dummy/tmp/cache/assets/test/sprockets/f24a0e7771eab5bd17ee05c73c56649e
903
- - spec/dummy/tmp/cache/assets/test/sprockets/f2de4855fd4840abb2f6e80afee5f4ed
904
- - spec/dummy/tmp/cache/assets/test/sprockets/f475ab32c44efa173bf8ba75435d2570
905
- - spec/dummy/tmp/cache/assets/test/sprockets/f5165c4d7cee0e7cb99bc069fd4c09b9
906
- - spec/dummy/tmp/cache/assets/test/sprockets/f53b02f1d2cbab753c7931e700469bed
907
- - spec/dummy/tmp/cache/assets/test/sprockets/f5cf5c65e6bf2039363f3b1e09bcdc9c
908
- - spec/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
909
- - spec/dummy/tmp/cache/assets/test/sprockets/f975cba8c490022ddfc45bab0b512879
910
- - spec/dummy/tmp/cache/assets/test/sprockets/fba4eeb0b33c40737a907a18ee0770a4
911
- - spec/dummy/tmp/cache/assets/test/sprockets/fbe8d6803f3e5a9ccb6eb7a285b95ee0
912
- - spec/dummy/tmp/cache/assets/test/sprockets/fd7e46e0b42a510b40f17d1f1bacf80e
913
- - spec/dummy/tmp/cache/assets/test/sprockets/fd9e24b6acf76f9d44cc8e26d3148e39
914
- - spec/dummy/tmp/cache/assets/test/sprockets/fe03e8232ec516da863efecd7bb2678b
915
710
  - spec/factories/asset_factory.rb
916
711
  - spec/factories/files/rails.png
917
712
  - spec/factories/files/silicon_valley.jpg
@@ -946,7 +741,6 @@ files:
946
741
  - spec/requests/manager/many/index_spec.rb
947
742
  - spec/requests/manager/many/new_spec.rb
948
743
  - spec/requests/manager/many/update_spec.rb
949
- - spec/requests/shared_spec.rb
950
744
  - spec/spec_helper.rb
951
745
  - spec/sunrise_spec.rb
952
746
  - spec/support/helpers/controller_helper.rb
@@ -980,7 +774,6 @@ test_files:
980
774
  - spec/controllers/sunrise/dashboard_controller_spec.rb
981
775
  - spec/controllers/sunrise/manager_controller_spec.rb
982
776
  - spec/controllers/sunrise/settings_controller_spec.rb
983
- - spec/controllers/sunrise/shared_controller_spec.rb
984
777
  - spec/dummy/app/assets/javascripts/application.js
985
778
  - spec/dummy/app/assets/javascripts/welcome.js
986
779
  - spec/dummy/app/assets/stylesheets/application.css
@@ -991,7 +784,7 @@ test_files:
991
784
  - spec/dummy/app/helpers/welcome_helper.rb
992
785
  - spec/dummy/app/models/active_record/post.rb
993
786
  - spec/dummy/app/models/mongoid/post.rb
994
- - spec/dummy/app/models/sunrise/sunrise_post.rb
787
+ - spec/dummy/app/sunrise/sunrise_post.rb
995
788
  - spec/dummy/app/views/layouts/application.html.erb
996
789
  - spec/dummy/app/views/public_activity/post/_create.html.erb
997
790
  - spec/dummy/app/views/public_activity/post/_destroy.html.erb
@@ -1023,200 +816,13 @@ test_files:
1023
816
  - spec/dummy/db/migrate/20111228152051_create_posts.rb
1024
817
  - spec/dummy/db/migrate/20120105114018_create_meta_tags.rb
1025
818
  - spec/dummy/db/migrate/20130214090723_create_activities.rb
1026
- - spec/dummy/log/test.log
819
+ - spec/dummy/db/schema.rb
1027
820
  - spec/dummy/public/404.html
1028
821
  - spec/dummy/public/422.html
1029
822
  - spec/dummy/public/500.html
1030
823
  - spec/dummy/public/favicon.ico
1031
- - spec/dummy/public/uploads/avatar/content_rails.png
1032
- - spec/dummy/public/uploads/avatar/rails.png
1033
- - spec/dummy/public/uploads/avatar/thumb_rails.png
1034
- - spec/dummy/public/uploads/tmp/1397814500-44499-6278/rails.png
1035
- - spec/dummy/public/uploads/tmp/1397814500-44499-6278/small_rails.png
1036
- - spec/dummy/public/uploads/tmp/1397814500-44499-6278/thumb_rails.png
1037
- - spec/dummy/public/uploads/tmp/1397814501-44499-0716/rails.png
1038
- - spec/dummy/public/uploads/tmp/1397814501-44499-0716/small_rails.png
1039
- - spec/dummy/public/uploads/tmp/1397814501-44499-0716/thumb_rails.png
1040
- - spec/dummy/public/uploads/tmp/1397814501-44499-6498/rails.png
1041
- - spec/dummy/public/uploads/tmp/1397814501-44499-6498/small_rails.png
1042
- - spec/dummy/public/uploads/tmp/1397814501-44499-6498/thumb_rails.png
1043
- - spec/dummy/public/uploads/tmp/1397814502-44499-9048/silicon_valley.jpg
1044
- - spec/dummy/public/uploads/tmp/1397814502-44499-9048/small_silicon_valley.jpg
1045
- - spec/dummy/public/uploads/tmp/1397814502-44499-9048/thumb_silicon_valley.jpg
1046
- - spec/dummy/public/uploads/tmp/1397814509-44499-4712/rails.png
1047
- - spec/dummy/public/uploads/tmp/1397814511-44499-6511/rails.png
1048
- - spec/dummy/public/uploads/tmp/1397814514-44499-0946/rails.png
1049
- - spec/dummy/public/uploads/tmp/1397814515-44499-4275/rails.png
1050
- - spec/dummy/public/uploads/tmp/1397814516-44499-7258/rails.png
1051
- - spec/dummy/public/uploads/tmp/1397814743-45062-5613/rails.png
1052
- - spec/dummy/public/uploads/tmp/1397814743-45062-5613/small_rails.png
1053
- - spec/dummy/public/uploads/tmp/1397814743-45062-5613/thumb_rails.png
1054
- - spec/dummy/public/uploads/tmp/1397814744-45062-2352/rails.png
1055
- - spec/dummy/public/uploads/tmp/1397814744-45062-2352/small_rails.png
1056
- - spec/dummy/public/uploads/tmp/1397814744-45062-2352/thumb_rails.png
1057
- - spec/dummy/public/uploads/tmp/1397814744-45062-7990/rails.png
1058
- - spec/dummy/public/uploads/tmp/1397814744-45062-7990/small_rails.png
1059
- - spec/dummy/public/uploads/tmp/1397814744-45062-7990/thumb_rails.png
1060
- - spec/dummy/public/uploads/tmp/1397814745-45062-4632/silicon_valley.jpg
1061
- - spec/dummy/public/uploads/tmp/1397814745-45062-4632/small_silicon_valley.jpg
1062
- - spec/dummy/public/uploads/tmp/1397814745-45062-4632/thumb_silicon_valley.jpg
1063
- - spec/dummy/public/uploads/tmp/1397814752-45062-3620/rails.png
1064
- - spec/dummy/public/uploads/tmp/1397814754-45062-7554/rails.png
1065
- - spec/dummy/public/uploads/tmp/1397814757-45062-6575/rails.png
1066
- - spec/dummy/public/uploads/tmp/1397814758-45062-2473/rails.png
1067
- - spec/dummy/public/uploads/tmp/1397814758-45062-7698/rails.png
1068
- - spec/dummy/public/uploads/tmp/1397815061-45673-4098/rails.png
1069
- - spec/dummy/public/uploads/tmp/1397815061-45673-4098/small_rails.png
1070
- - spec/dummy/public/uploads/tmp/1397815061-45673-4098/thumb_rails.png
1071
- - spec/dummy/public/uploads/tmp/1397815062-45673-5873/rails.png
1072
- - spec/dummy/public/uploads/tmp/1397815062-45673-5873/small_rails.png
1073
- - spec/dummy/public/uploads/tmp/1397815062-45673-5873/thumb_rails.png
1074
- - spec/dummy/public/uploads/tmp/1397815062-45673-9908/rails.png
1075
- - spec/dummy/public/uploads/tmp/1397815062-45673-9908/small_rails.png
1076
- - spec/dummy/public/uploads/tmp/1397815062-45673-9908/thumb_rails.png
1077
- - spec/dummy/public/uploads/tmp/1397815063-45673-6362/silicon_valley.jpg
1078
- - spec/dummy/public/uploads/tmp/1397815063-45673-6362/small_silicon_valley.jpg
1079
- - spec/dummy/public/uploads/tmp/1397815063-45673-6362/thumb_silicon_valley.jpg
1080
- - spec/dummy/public/uploads/tmp/1397815070-45673-9261/rails.png
1081
- - spec/dummy/public/uploads/tmp/1397815072-45673-2350/rails.png
1082
- - spec/dummy/public/uploads/tmp/1397815075-45673-3163/rails.png
1083
- - spec/dummy/public/uploads/tmp/1397815076-45673-3745/rails.png
1084
- - spec/dummy/public/uploads/tmp/1397815077-45673-2689/rails.png
1085
824
  - spec/dummy/Rakefile
1086
825
  - spec/dummy/script/rails
1087
- - spec/dummy/tmp/cache/assets/test/sprockets/025a845bfc99eb99aa9690545d024974
1088
- - spec/dummy/tmp/cache/assets/test/sprockets/02ca6949ca99936393e2992467409faf
1089
- - spec/dummy/tmp/cache/assets/test/sprockets/03bae0b322a9c8706915fdb4f8d50961
1090
- - spec/dummy/tmp/cache/assets/test/sprockets/06632caa2dd14ba28b138446bd3d807a
1091
- - spec/dummy/tmp/cache/assets/test/sprockets/06a86d61c2e57fad1cee30584df6f969
1092
- - spec/dummy/tmp/cache/assets/test/sprockets/07d036bf808a7ace22ce3b32701a2867
1093
- - spec/dummy/tmp/cache/assets/test/sprockets/0cc8e44f8b692c44ef509fd2d7f38941
1094
- - spec/dummy/tmp/cache/assets/test/sprockets/0d7fd69f7cbd03f1617b280bfb33677e
1095
- - spec/dummy/tmp/cache/assets/test/sprockets/0e7270936d642e566d747ab335c44ec2
1096
- - spec/dummy/tmp/cache/assets/test/sprockets/0f382880a507fbcedb3a83727f118f84
1097
- - spec/dummy/tmp/cache/assets/test/sprockets/0fab3bb8b5212da52c8b7e0ae428b22a
1098
- - spec/dummy/tmp/cache/assets/test/sprockets/12bbe81ebeeacdf11820f57a821789ff
1099
- - spec/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705
1100
- - spec/dummy/tmp/cache/assets/test/sprockets/146ce2f3522fd98d4a8a1501f16c7092
1101
- - spec/dummy/tmp/cache/assets/test/sprockets/172c139e25cc08516d5a8c72c777dd4d
1102
- - spec/dummy/tmp/cache/assets/test/sprockets/18b64b11b8b00cc21a396da25a5ff156
1103
- - spec/dummy/tmp/cache/assets/test/sprockets/197d8d604ec08a638b656e053944b734
1104
- - spec/dummy/tmp/cache/assets/test/sprockets/1bdb903463fe67323dbadb0f78337c70
1105
- - spec/dummy/tmp/cache/assets/test/sprockets/1beea1617441e02d76649f4b799aedac
1106
- - spec/dummy/tmp/cache/assets/test/sprockets/20f8ac265bd1f0c57067c7a4b5c8f119
1107
- - spec/dummy/tmp/cache/assets/test/sprockets/212fc15df4fd708ebdef5bd3be2191c1
1108
- - spec/dummy/tmp/cache/assets/test/sprockets/256dcb01e7f35659d770584fd71a85d2
1109
- - spec/dummy/tmp/cache/assets/test/sprockets/25a167c7563d6fe8ec6b13ec1ac09274
1110
- - spec/dummy/tmp/cache/assets/test/sprockets/2a6ef2448bbff5c2c3c70c141f744cf5
1111
- - spec/dummy/tmp/cache/assets/test/sprockets/2dedb8177c20286c4259c1d58c5646cc
1112
- - spec/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af
1113
- - spec/dummy/tmp/cache/assets/test/sprockets/33b9cc34fd627b9c81e63eb0faf06efb
1114
- - spec/dummy/tmp/cache/assets/test/sprockets/33bd898bccf5b0821d1d3ffa02e9d1b6
1115
- - spec/dummy/tmp/cache/assets/test/sprockets/350390c7e44df7d038254cff29468e2d
1116
- - spec/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953
1117
- - spec/dummy/tmp/cache/assets/test/sprockets/3633276e08728ac0cfea5659b4f8b516
1118
- - spec/dummy/tmp/cache/assets/test/sprockets/37b103f4623089af1456b90830fe941c
1119
- - spec/dummy/tmp/cache/assets/test/sprockets/392239d689265304b5fe68912a8f2383
1120
- - spec/dummy/tmp/cache/assets/test/sprockets/3c396fbac68d9fb827a0f4c9d8cae3b6
1121
- - spec/dummy/tmp/cache/assets/test/sprockets/43ad0cf2497efae7114ac03a314706c5
1122
- - spec/dummy/tmp/cache/assets/test/sprockets/46e447bca92498433b2a3114106389a9
1123
- - spec/dummy/tmp/cache/assets/test/sprockets/47395ef44102932b2b9fe17a46c16601
1124
- - spec/dummy/tmp/cache/assets/test/sprockets/4c1c0c6c54ed879c4a5489eadd3a772c
1125
- - spec/dummy/tmp/cache/assets/test/sprockets/4ca01587005a9b895bca383881bec87d
1126
- - spec/dummy/tmp/cache/assets/test/sprockets/4cffdba2a7aac80c1765e060b152b382
1127
- - spec/dummy/tmp/cache/assets/test/sprockets/54d68ac9b230a01a37ef415779a748da
1128
- - spec/dummy/tmp/cache/assets/test/sprockets/55b923cfea92fd264597042a44303f0c
1129
- - spec/dummy/tmp/cache/assets/test/sprockets/56d4d696f46e9a63d0a42e11556bce11
1130
- - spec/dummy/tmp/cache/assets/test/sprockets/56e5bd2f3c94d7a9d0da7c4e05c7ad78
1131
- - spec/dummy/tmp/cache/assets/test/sprockets/5807e61754ed8b16702f6ad7ba34d439
1132
- - spec/dummy/tmp/cache/assets/test/sprockets/5a44970074ecbfeae2cc9798ed7da7aa
1133
- - spec/dummy/tmp/cache/assets/test/sprockets/5ab8f53cba6a8bdf2c6d671491c397ce
1134
- - spec/dummy/tmp/cache/assets/test/sprockets/5e27babe25470126fbc4635dc9fe9a6a
1135
- - spec/dummy/tmp/cache/assets/test/sprockets/6056bd921f3a4b6e437dab030d7fef90
1136
- - spec/dummy/tmp/cache/assets/test/sprockets/61533733f5f9ec09571d2d5c45d5ab47
1137
- - spec/dummy/tmp/cache/assets/test/sprockets/68c52f388e9c2401252c0bedf6247c8c
1138
- - spec/dummy/tmp/cache/assets/test/sprockets/6a1e72555b75237fffccb5de8937b4d4
1139
- - spec/dummy/tmp/cache/assets/test/sprockets/6a8187f5c6f2e115d1a1c21ca2ec81a0
1140
- - spec/dummy/tmp/cache/assets/test/sprockets/7041d544b28bff5f26dde49d77a2e87d
1141
- - spec/dummy/tmp/cache/assets/test/sprockets/747d1d7298f227da4193f23f3932ac8e
1142
- - spec/dummy/tmp/cache/assets/test/sprockets/749bd767d6654c80265f5ca0959dc8e1
1143
- - spec/dummy/tmp/cache/assets/test/sprockets/75870e6b6fe8335a7912ca4ea859a76a
1144
- - spec/dummy/tmp/cache/assets/test/sprockets/759bbbe7d51d98664d8072e51b24744b
1145
- - spec/dummy/tmp/cache/assets/test/sprockets/7a1f4a9bcb1d7d1e515330c4f5c391ad
1146
- - spec/dummy/tmp/cache/assets/test/sprockets/7ad564910e515e335bb008989a97efb7
1147
- - spec/dummy/tmp/cache/assets/test/sprockets/7b55037b89f2debe558b43fe7542e409
1148
- - spec/dummy/tmp/cache/assets/test/sprockets/7ff7dd624cb7a6db5ec99af129138020
1149
- - spec/dummy/tmp/cache/assets/test/sprockets/80870efa2a2ddb1de325c224daff5712
1150
- - spec/dummy/tmp/cache/assets/test/sprockets/856b05d9307e97e681bc5c7f3649f714
1151
- - spec/dummy/tmp/cache/assets/test/sprockets/8766064af197b444eb1f06a6650ca9c3
1152
- - spec/dummy/tmp/cache/assets/test/sprockets/894aeaae9cc8483fa9f7a5146ff6ff6f
1153
- - spec/dummy/tmp/cache/assets/test/sprockets/8a559f967fac90d4ae5a84af92c111e1
1154
- - spec/dummy/tmp/cache/assets/test/sprockets/8c5ee15b5860dcf2941abd00daf001eb
1155
- - spec/dummy/tmp/cache/assets/test/sprockets/8c9393d7c6a1a2b6bb1fc9a9ccaba111
1156
- - spec/dummy/tmp/cache/assets/test/sprockets/8d476275ed52a5aa897cb7eef648dbc4
1157
- - spec/dummy/tmp/cache/assets/test/sprockets/906da6ff8c06db3e472a0a10985b668c
1158
- - spec/dummy/tmp/cache/assets/test/sprockets/94826bb92d888d50a265392a81ce1286
1159
- - spec/dummy/tmp/cache/assets/test/sprockets/956d7ea9ee52ec12759995ab47f1e780
1160
- - spec/dummy/tmp/cache/assets/test/sprockets/974812817397ff6032b286a281d9a163
1161
- - spec/dummy/tmp/cache/assets/test/sprockets/9ba0cab624f25b68f79447e62fbc6112
1162
- - spec/dummy/tmp/cache/assets/test/sprockets/a1c0fa5689dff4e7edcc4f175f9d54bf
1163
- - spec/dummy/tmp/cache/assets/test/sprockets/a43280845b1d41babd3f6714cd2d1337
1164
- - spec/dummy/tmp/cache/assets/test/sprockets/a50e247ceb9e9af32260a73eadbb65cb
1165
- - spec/dummy/tmp/cache/assets/test/sprockets/a668bf13b4df6854c8c1085b26daa63a
1166
- - spec/dummy/tmp/cache/assets/test/sprockets/a78a33e8cea959257da93b3e67786300
1167
- - spec/dummy/tmp/cache/assets/test/sprockets/aa4822def20c419f0e50e2a38e73a1df
1168
- - spec/dummy/tmp/cache/assets/test/sprockets/aa94554c7d6f15d3f88e9710b043c2cc
1169
- - spec/dummy/tmp/cache/assets/test/sprockets/abde9800d767ab39abc91703e5a83d70
1170
- - spec/dummy/tmp/cache/assets/test/sprockets/b25e1f0b850e73d0e1ef154249ce8135
1171
- - spec/dummy/tmp/cache/assets/test/sprockets/b4e0977feb24777fe3df7dd188b2b123
1172
- - spec/dummy/tmp/cache/assets/test/sprockets/b4e12b8782fac2f3caaa4aea2f89087c
1173
- - spec/dummy/tmp/cache/assets/test/sprockets/b8c47badf85ceedb2268ef3b0f074257
1174
- - spec/dummy/tmp/cache/assets/test/sprockets/bafd6678f36ffd5fb29e4d9055df1f97
1175
- - spec/dummy/tmp/cache/assets/test/sprockets/bc4b7beed5a786619d6c3855909cb077
1176
- - spec/dummy/tmp/cache/assets/test/sprockets/bfc0fef30976427a03ddccb1ce78d6e7
1177
- - spec/dummy/tmp/cache/assets/test/sprockets/c104157fd9dbe5edc61a1889af968e19
1178
- - spec/dummy/tmp/cache/assets/test/sprockets/c37e2e0969ee5b3590335141a08ed884
1179
- - spec/dummy/tmp/cache/assets/test/sprockets/c3dc3ada4560805584739bfe7c2b24d9
1180
- - spec/dummy/tmp/cache/assets/test/sprockets/c4d36397803a4adf8ea86a8936b2d5f5
1181
- - spec/dummy/tmp/cache/assets/test/sprockets/c8f8b0ae15c86cf8aae9e3601758435e
1182
- - spec/dummy/tmp/cache/assets/test/sprockets/cbbe8f22213647e8549911f486aee9b3
1183
- - spec/dummy/tmp/cache/assets/test/sprockets/cc04ce51d1e3d02a64f2781ea0876af3
1184
- - spec/dummy/tmp/cache/assets/test/sprockets/cebb517859b2ed48276bf54e0ba6dcec
1185
- - spec/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994
1186
- - spec/dummy/tmp/cache/assets/test/sprockets/d311318a280b46ab076da5c419b210ab
1187
- - spec/dummy/tmp/cache/assets/test/sprockets/d48c8e1ff1b6fcdbacf6ab08f8bde111
1188
- - spec/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6
1189
- - spec/dummy/tmp/cache/assets/test/sprockets/d7c40ebee2fb9471bab352337570ba40
1190
- - spec/dummy/tmp/cache/assets/test/sprockets/d9390b9983c2dcadf2533a63d0f7a84c
1191
- - spec/dummy/tmp/cache/assets/test/sprockets/da055188ac218679c8fe62932c379340
1192
- - spec/dummy/tmp/cache/assets/test/sprockets/da4488b32bd6fb75c655a077956c9034
1193
- - spec/dummy/tmp/cache/assets/test/sprockets/e0f1660d21c6375d8a36eac87ae8ccbc
1194
- - spec/dummy/tmp/cache/assets/test/sprockets/e1639f86099d91eb2fede327d443906f
1195
- - spec/dummy/tmp/cache/assets/test/sprockets/e25f607f69c16bc5ffb481f9606b457e
1196
- - spec/dummy/tmp/cache/assets/test/sprockets/e2c4f946939f2d7d0b42d86383755cae
1197
- - spec/dummy/tmp/cache/assets/test/sprockets/e4a2ab1f3bf2d0726dff720ae88e8abc
1198
- - spec/dummy/tmp/cache/assets/test/sprockets/e4f46080338c0c52e3933999a7f8106d
1199
- - spec/dummy/tmp/cache/assets/test/sprockets/e59a3c2ff941e0fdc7987168580bf4cc
1200
- - spec/dummy/tmp/cache/assets/test/sprockets/e5ab921ab9e413144898d780049a5c88
1201
- - spec/dummy/tmp/cache/assets/test/sprockets/e6cfe2e09e34ec2b24494a74eed5243a
1202
- - spec/dummy/tmp/cache/assets/test/sprockets/e994cc6f07f643c4c230a9b740fd03f5
1203
- - spec/dummy/tmp/cache/assets/test/sprockets/ec87c33887ff6c0258bd8469a77bdcb4
1204
- - spec/dummy/tmp/cache/assets/test/sprockets/eccb73ad1563f9b070c4ffdf07ffff38
1205
- - spec/dummy/tmp/cache/assets/test/sprockets/ee5a41236d43159aac87f9224a0bcfb8
1206
- - spec/dummy/tmp/cache/assets/test/sprockets/f00fb03eca205b5e302d9ae7ed652817
1207
- - spec/dummy/tmp/cache/assets/test/sprockets/f24a0e7771eab5bd17ee05c73c56649e
1208
- - spec/dummy/tmp/cache/assets/test/sprockets/f2de4855fd4840abb2f6e80afee5f4ed
1209
- - spec/dummy/tmp/cache/assets/test/sprockets/f475ab32c44efa173bf8ba75435d2570
1210
- - spec/dummy/tmp/cache/assets/test/sprockets/f5165c4d7cee0e7cb99bc069fd4c09b9
1211
- - spec/dummy/tmp/cache/assets/test/sprockets/f53b02f1d2cbab753c7931e700469bed
1212
- - spec/dummy/tmp/cache/assets/test/sprockets/f5cf5c65e6bf2039363f3b1e09bcdc9c
1213
- - spec/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
1214
- - spec/dummy/tmp/cache/assets/test/sprockets/f975cba8c490022ddfc45bab0b512879
1215
- - spec/dummy/tmp/cache/assets/test/sprockets/fba4eeb0b33c40737a907a18ee0770a4
1216
- - spec/dummy/tmp/cache/assets/test/sprockets/fbe8d6803f3e5a9ccb6eb7a285b95ee0
1217
- - spec/dummy/tmp/cache/assets/test/sprockets/fd7e46e0b42a510b40f17d1f1bacf80e
1218
- - spec/dummy/tmp/cache/assets/test/sprockets/fd9e24b6acf76f9d44cc8e26d3148e39
1219
- - spec/dummy/tmp/cache/assets/test/sprockets/fe03e8232ec516da863efecd7bb2678b
1220
826
  - spec/factories/asset_factory.rb
1221
827
  - spec/factories/files/rails.png
1222
828
  - spec/factories/files/silicon_valley.jpg
@@ -1251,7 +857,6 @@ test_files:
1251
857
  - spec/requests/manager/many/index_spec.rb
1252
858
  - spec/requests/manager/many/new_spec.rb
1253
859
  - spec/requests/manager/many/update_spec.rb
1254
- - spec/requests/shared_spec.rb
1255
860
  - spec/spec_helper.rb
1256
861
  - spec/sunrise_spec.rb
1257
862
  - spec/support/helpers/controller_helper.rb
@@ -1,13 +0,0 @@
1
- module Sunrise
2
- class SharedController < Sunrise::ApplicationController
3
- authorize_resource :class => false
4
-
5
- respond_to :json, :only => [:services]
6
-
7
- def services
8
- root = Structure.roots.first
9
- @services = root.children
10
- respond_with(@services)
11
- end
12
- end
13
- end
@@ -1,6 +0,0 @@
1
- json.array! @services do |service|
2
- json.id service.id
3
- json.title service.title
4
- json.url edit_path(:model_name => ActiveModel::Naming.plural(service), :id => service.id)
5
- json.updated_at service.updated_at
6
- end
@@ -1,35 +0,0 @@
1
- # encoding: utf-8
2
- module Sunrise
3
- module Utils
4
- module Mysql
5
- def self.included(base)
6
- base.extend(ClassMethods)
7
- end
8
-
9
- module ClassMethods
10
- # Deletes all rows in table very fast, but without calling +destroy+ method
11
- # nor any hooks.
12
- def truncate!
13
- transaction { connection.execute("TRUNCATE TABLE #{quoted_table_name};") }
14
- end
15
-
16
- # Disables key updates for model table
17
- def disable_keys
18
- connection.execute("ALTER TABLE #{quoted_table_name} DISABLE KEYS")
19
- end
20
-
21
- # Enables key updates for model table
22
- def enable_keys
23
- connection.execute("ALTER TABLE #{quoted_table_name} ENABLE KEYS")
24
- end
25
-
26
- # Disables keys, yields block, enables keys.
27
- def with_keys_disabled
28
- disable_keys
29
- yield
30
- enable_keys
31
- end
32
- end
33
- end
34
- end
35
- end
@@ -1,32 +0,0 @@
1
- require 'spec_helper'
2
-
3
- describe Sunrise::SharedController do
4
- render_views
5
-
6
- before(:all) do
7
- @root = FactoryGirl.create(:structure_main)
8
- @page = FactoryGirl.create(:structure_page, :parent => @root)
9
- end
10
-
11
- describe "admin" do
12
- login_admin
13
-
14
- it "should render services action" do
15
- get :services, :format => :json
16
- assigns(:services).should include(@page)
17
- response.should render_template('services')
18
- end
19
- end
20
-
21
- describe "anonymous user" do
22
- it "should not render services action" do
23
- controller.should_not_receive(:services)
24
- get :services, :format => :json
25
- end
26
-
27
- it "should redirect to login page" do
28
- get :services
29
- response.should redirect_to "/users/sign_in"
30
- end
31
- end
32
- end