comfypress 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (289) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +15 -0
  3. data/.travis.yml +22 -0
  4. data/Gemfile +22 -0
  5. data/Gemfile.lock +175 -0
  6. data/LICENSE +20 -0
  7. data/README.md +79 -0
  8. data/Rakefile +5 -0
  9. data/app/assets/images/comfypress/arrow_bottom.gif +0 -0
  10. data/app/assets/images/comfypress/arrow_right.gif +0 -0
  11. data/app/assets/images/comfypress/bootstrap/glyphicons-halflings-white.png +0 -0
  12. data/app/assets/images/comfypress/bootstrap/glyphicons-halflings.png +0 -0
  13. data/app/assets/images/comfypress/checkerboard.gif +0 -0
  14. data/app/assets/images/comfypress/icon_draft.gif +0 -0
  15. data/app/assets/images/comfypress/icon_file.gif +0 -0
  16. data/app/assets/images/comfypress/icon_layout.gif +0 -0
  17. data/app/assets/images/comfypress/icon_move.gif +0 -0
  18. data/app/assets/images/comfypress/icon_page.gif +0 -0
  19. data/app/assets/images/comfypress/icon_site.gif +0 -0
  20. data/app/assets/images/comfypress/icon_snippet.gif +0 -0
  21. data/app/assets/images/comfypress/nav_arrow.png +0 -0
  22. data/app/assets/javascripts/comfypress/admin/application.js +1 -0
  23. data/app/assets/javascripts/comfypress/application.js.coffee +175 -0
  24. data/app/assets/javascripts/comfypress/lib/bootstrap-datetimepicker.js +21 -0
  25. data/app/assets/javascripts/comfypress/lib/bootstrap-wysihtml5.js +492 -0
  26. data/app/assets/javascripts/comfypress/lib/bootstrap.js +6 -0
  27. data/app/assets/javascripts/comfypress/lib/codemirror.js +10 -0
  28. data/app/assets/javascripts/comfypress/lib/wysihtml5.js +261 -0
  29. data/app/assets/stylesheets/comfypress/admin/application.css +1 -0
  30. data/app/assets/stylesheets/comfypress/application.css.sass +8 -0
  31. data/app/assets/stylesheets/comfypress/base.css.sass +333 -0
  32. data/app/assets/stylesheets/comfypress/bootstrap_overrides.css.sass +45 -0
  33. data/app/assets/stylesheets/comfypress/codemirror_overrides.css.sass +27 -0
  34. data/app/assets/stylesheets/comfypress/lib/bootstrap-datetimepicker.css +9 -0
  35. data/app/assets/stylesheets/comfypress/lib/bootstrap-wysihtml5.css +102 -0
  36. data/app/assets/stylesheets/comfypress/lib/bootstrap.css +9 -0
  37. data/app/assets/stylesheets/comfypress/lib/codemirror.css +240 -0
  38. data/app/assets/stylesheets/comfypress/wysihtml5_overrides.css.sass +5 -0
  39. data/app/controllers/application_controller.rb +5 -0
  40. data/app/controllers/cms_admin/base_controller.rb +51 -0
  41. data/app/controllers/cms_admin/categories_controller.rb +35 -0
  42. data/app/controllers/cms_admin/files_controller.rb +108 -0
  43. data/app/controllers/cms_admin/layouts_controller.rb +67 -0
  44. data/app/controllers/cms_admin/menu_items_controller.rb +65 -0
  45. data/app/controllers/cms_admin/menus_controller.rb +60 -0
  46. data/app/controllers/cms_admin/pages_controller.rb +112 -0
  47. data/app/controllers/cms_admin/revisions_controller.rb +57 -0
  48. data/app/controllers/cms_admin/sites_controller.rb +64 -0
  49. data/app/controllers/cms_admin/snippets_controller.rb +64 -0
  50. data/app/controllers/cms_content_controller.rb +79 -0
  51. data/app/helpers/application_helper.rb +16 -0
  52. data/app/models/cms/block.rb +48 -0
  53. data/app/models/cms/categorization.rb +21 -0
  54. data/app/models/cms/category.rb +30 -0
  55. data/app/models/cms/file.rb +75 -0
  56. data/app/models/cms/layout.rb +99 -0
  57. data/app/models/cms/menu.rb +26 -0
  58. data/app/models/cms/menu_item.rb +14 -0
  59. data/app/models/cms/page.rb +202 -0
  60. data/app/models/cms/revision.rb +17 -0
  61. data/app/models/cms/site.rb +113 -0
  62. data/app/models/cms/snippet.rb +58 -0
  63. data/app/models/cms.rb +5 -0
  64. data/app/views/cms_admin/categories/_categories.html.haml +3 -0
  65. data/app/views/cms_admin/categories/_edit.html.haml +6 -0
  66. data/app/views/cms_admin/categories/_form.html.haml +8 -0
  67. data/app/views/cms_admin/categories/_index.html.haml +24 -0
  68. data/app/views/cms_admin/categories/_show.html.haml +13 -0
  69. data/app/views/cms_admin/categories/create.js.erb +7 -0
  70. data/app/views/cms_admin/categories/destroy.js.erb +3 -0
  71. data/app/views/cms_admin/categories/edit.js.erb +3 -0
  72. data/app/views/cms_admin/categories/update.js.erb +6 -0
  73. data/app/views/cms_admin/files/_file.html.haml +13 -0
  74. data/app/views/cms_admin/files/_form.html.haml +14 -0
  75. data/app/views/cms_admin/files/_index.html.haml +14 -0
  76. data/app/views/cms_admin/files/_page_form.html.haml +9 -0
  77. data/app/views/cms_admin/files/destroy.js.coffee +2 -0
  78. data/app/views/cms_admin/files/edit.html.haml +5 -0
  79. data/app/views/cms_admin/files/index.html.haml +28 -0
  80. data/app/views/cms_admin/files/new.html.haml +5 -0
  81. data/app/views/cms_admin/layouts/_form.html.haml +17 -0
  82. data/app/views/cms_admin/layouts/_index_branch.html.haml +23 -0
  83. data/app/views/cms_admin/layouts/edit.html.haml +9 -0
  84. data/app/views/cms_admin/layouts/index.html.haml +9 -0
  85. data/app/views/cms_admin/layouts/new.html.haml +5 -0
  86. data/app/views/cms_admin/menu_items/_form.html.haml +22 -0
  87. data/app/views/cms_admin/menu_items/edit.html.haml +8 -0
  88. data/app/views/cms_admin/menu_items/index.html.haml +24 -0
  89. data/app/views/cms_admin/menu_items/new.html.haml +5 -0
  90. data/app/views/cms_admin/menus/_form.html.haml +8 -0
  91. data/app/views/cms_admin/menus/edit.html.haml +8 -0
  92. data/app/views/cms_admin/menus/index.html.haml +24 -0
  93. data/app/views/cms_admin/menus/new.html.haml +5 -0
  94. data/app/views/cms_admin/pages/_form.html.haml +38 -0
  95. data/app/views/cms_admin/pages/_form_blocks.html.haml +28 -0
  96. data/app/views/cms_admin/pages/_index_branch.html.haml +35 -0
  97. data/app/views/cms_admin/pages/edit.html.haml +9 -0
  98. data/app/views/cms_admin/pages/form_blocks.js.erb +2 -0
  99. data/app/views/cms_admin/pages/index.html.haml +11 -0
  100. data/app/views/cms_admin/pages/new.html.haml +5 -0
  101. data/app/views/cms_admin/pages/toggle_branch.js.erb +11 -0
  102. data/app/views/cms_admin/revisions/show.html.haml +28 -0
  103. data/app/views/cms_admin/sites/_form.html.haml +14 -0
  104. data/app/views/cms_admin/sites/_mirrors.html.haml +17 -0
  105. data/app/views/cms_admin/sites/edit.html.haml +5 -0
  106. data/app/views/cms_admin/sites/index.html.haml +24 -0
  107. data/app/views/cms_admin/sites/new.html.haml +5 -0
  108. data/app/views/cms_admin/snippets/_form.html.haml +11 -0
  109. data/app/views/cms_admin/snippets/edit.html.haml +9 -0
  110. data/app/views/cms_admin/snippets/index.html.haml +28 -0
  111. data/app/views/cms_admin/snippets/new.html.haml +5 -0
  112. data/app/views/cms_content/_menu.html.haml +5 -0
  113. data/app/views/cms_content/render_sitemap.xml.builder +15 -0
  114. data/app/views/layouts/cms_admin/_body.html.haml +16 -0
  115. data/app/views/layouts/cms_admin/_center.html.haml +7 -0
  116. data/app/views/layouts/cms_admin/_footer.html.haml +3 -0
  117. data/app/views/layouts/cms_admin/_footer_js.html.haml +7 -0
  118. data/app/views/layouts/cms_admin/_head.html.haml +12 -0
  119. data/app/views/layouts/cms_admin/_left.html.haml +11 -0
  120. data/app/views/layouts/cms_admin/_right.html.haml +1 -0
  121. data/app/views/layouts/cms_admin.html.haml +4 -0
  122. data/comfypress.gemspec +28 -0
  123. data/config/application.rb +69 -0
  124. data/config/boot.rb +6 -0
  125. data/config/database.sqlite.yml +47 -0
  126. data/config/database.yml +47 -0
  127. data/config/environment.rb +5 -0
  128. data/config/environments/development.rb +39 -0
  129. data/config/environments/production.rb +67 -0
  130. data/config/environments/test.rb +39 -0
  131. data/config/initializers/comfypress.rb +100 -0
  132. data/config/initializers/paperclip.rb +3 -0
  133. data/config/locales/de.yml +236 -0
  134. data/config/locales/en.yml +285 -0
  135. data/config/locales/es.yml +236 -0
  136. data/config/locales/fr.yml +236 -0
  137. data/config/locales/ja.yml +237 -0
  138. data/config/locales/pl.yml +236 -0
  139. data/config/locales/pt-BR.yml +236 -0
  140. data/config/locales/ru.yml +236 -0
  141. data/config/locales/sv.yml +236 -0
  142. data/config/locales/zh-CN.yml +236 -0
  143. data/config/routes.rb +10 -0
  144. data/config.ru +4 -0
  145. data/db/cms_fixtures/sample-site/layouts/default/_default.yml +1 -0
  146. data/db/cms_fixtures/sample-site/layouts/default/content.html +5 -0
  147. data/db/cms_fixtures/sample-site/layouts/default/css.css +1 -0
  148. data/db/cms_fixtures/sample-site/layouts/default/js.js +1 -0
  149. data/db/cms_fixtures/sample-site/layouts/default/nested/_nested.yml +2 -0
  150. data/db/cms_fixtures/sample-site/layouts/default/nested/content.html +2 -0
  151. data/db/cms_fixtures/sample-site/layouts/default/nested/css.css +1 -0
  152. data/db/cms_fixtures/sample-site/layouts/default/nested/js.js +1 -0
  153. data/db/cms_fixtures/sample-site/pages/index/_index.yml +2 -0
  154. data/db/cms_fixtures/sample-site/pages/index/child/_child.yml +3 -0
  155. data/db/cms_fixtures/sample-site/pages/index/child/left.html +1 -0
  156. data/db/cms_fixtures/sample-site/pages/index/child/right.html +1 -0
  157. data/db/cms_fixtures/sample-site/pages/index/content.html +2 -0
  158. data/db/cms_fixtures/sample-site/snippets/default/_default.yml +1 -0
  159. data/db/cms_fixtures/sample-site/snippets/default/content.html +1 -0
  160. data/db/migrate/01_create_cms.rb +163 -0
  161. data/db/seeds.rb +9 -0
  162. data/db/upgrade_migrations/02_upgrade_to_1_1_0.rb +19 -0
  163. data/db/upgrade_migrations/03_upgrade_to_1_2_0.rb +15 -0
  164. data/db/upgrade_migrations/04_upgrade_to_1_3_0.rb +23 -0
  165. data/db/upgrade_migrations/05_upgrade_to_1_4_0.rb +33 -0
  166. data/db/upgrade_migrations/06_upgrade_to_1_5_0.rb +21 -0
  167. data/db/upgrade_migrations/07_upgrade_to_1_6_0.rb +25 -0
  168. data/doc/preview.png +0 -0
  169. data/doc/sofa.png +0 -0
  170. data/lib/comfypress/authentication/dummy_auth.rb +8 -0
  171. data/lib/comfypress/authentication/http_auth.rb +18 -0
  172. data/lib/comfypress/configuration.rb +99 -0
  173. data/lib/comfypress/engine.rb +18 -0
  174. data/lib/comfypress/error.rb +24 -0
  175. data/lib/comfypress/extensions/acts_as_tree.rb +102 -0
  176. data/lib/comfypress/extensions/has_revisions.rb +64 -0
  177. data/lib/comfypress/extensions/is_categorized.rb +49 -0
  178. data/lib/comfypress/extensions/is_mirrored.rb +85 -0
  179. data/lib/comfypress/extensions/rails.rb +24 -0
  180. data/lib/comfypress/fixtures.rb +289 -0
  181. data/lib/comfypress/form_builder.rb +97 -0
  182. data/lib/comfypress/render_methods.rb +85 -0
  183. data/lib/comfypress/routing.rb +62 -0
  184. data/lib/comfypress/sitemap.rb +27 -0
  185. data/lib/comfypress/tag.rb +154 -0
  186. data/lib/comfypress/tags/asset.rb +25 -0
  187. data/lib/comfypress/tags/collection.rb +64 -0
  188. data/lib/comfypress/tags/field_datetime.rb +17 -0
  189. data/lib/comfypress/tags/field_integer.rb +17 -0
  190. data/lib/comfypress/tags/field_rich_text.rb +17 -0
  191. data/lib/comfypress/tags/field_string.rb +17 -0
  192. data/lib/comfypress/tags/field_text.rb +17 -0
  193. data/lib/comfypress/tags/file.rb +29 -0
  194. data/lib/comfypress/tags/helper.rb +24 -0
  195. data/lib/comfypress/tags/menu.rb +27 -0
  196. data/lib/comfypress/tags/page_datetime.rb +13 -0
  197. data/lib/comfypress/tags/page_file.rb +51 -0
  198. data/lib/comfypress/tags/page_files.rb +52 -0
  199. data/lib/comfypress/tags/page_integer.rb +13 -0
  200. data/lib/comfypress/tags/page_markdown.rb +22 -0
  201. data/lib/comfypress/tags/page_rich_text.rb +13 -0
  202. data/lib/comfypress/tags/page_string.rb +13 -0
  203. data/lib/comfypress/tags/page_text.rb +13 -0
  204. data/lib/comfypress/tags/partial.rb +23 -0
  205. data/lib/comfypress/tags/snippet.rb +19 -0
  206. data/lib/comfypress/version.rb +3 -0
  207. data/lib/comfypress/view_hooks.rb +32 -0
  208. data/lib/comfypress/view_methods.rb +52 -0
  209. data/lib/comfypress.rb +66 -0
  210. data/lib/generators/comfy/cms/README +10 -0
  211. data/lib/generators/comfy/cms/cms_generator.rb +57 -0
  212. data/lib/tasks/comfypress.rake +45 -0
  213. data/script/rails +6 -0
  214. data/test/fixtures/cms/blocks.yml +12 -0
  215. data/test/fixtures/cms/categories.yml +4 -0
  216. data/test/fixtures/cms/categorizations.yml +3 -0
  217. data/test/fixtures/cms/files.yml +9 -0
  218. data/test/fixtures/cms/layouts.yml +40 -0
  219. data/test/fixtures/cms/menu_items.yml +15 -0
  220. data/test/fixtures/cms/menus.yml +9 -0
  221. data/test/fixtures/cms/pages.yml +39 -0
  222. data/test/fixtures/cms/revisions.yml +21 -0
  223. data/test/fixtures/cms/sites.yml +6 -0
  224. data/test/fixtures/cms/snippets.yml +6 -0
  225. data/test/fixtures/files/data.zip +0 -0
  226. data/test/fixtures/files/document.pdf +0 -0
  227. data/test/fixtures/files/image.gif +0 -0
  228. data/test/fixtures/files/image.jpg +0 -0
  229. data/test/fixtures/views/_nav_hook.html.erb +1 -0
  230. data/test/fixtures/views/_nav_hook_2.html.erb +1 -0
  231. data/test/fixtures/views/render_test/_test.html.erb +1 -0
  232. data/test/fixtures/views/render_test/new.html.erb +1 -0
  233. data/test/fixtures/views/render_test/render_layout.html.erb +1 -0
  234. data/test/functional/cms_admin/base_controller_test.rb +18 -0
  235. data/test/functional/cms_admin/categories_controller_test.rb +70 -0
  236. data/test/functional/cms_admin/files_controller_test.rb +216 -0
  237. data/test/functional/cms_admin/layouts_controller_test.rb +123 -0
  238. data/test/functional/cms_admin/pages_controller_test.rb +450 -0
  239. data/test/functional/cms_admin/revisions_controller_test.rb +138 -0
  240. data/test/functional/cms_admin/sites_controller_test.rb +105 -0
  241. data/test/functional/cms_admin/snippets_controller_test.rb +140 -0
  242. data/test/functional/cms_content_controller_test.rb +205 -0
  243. data/test/gemfiles/Gemfile.rails.3.1 +16 -0
  244. data/test/gemfiles/Gemfile.rails.3.2 +16 -0
  245. data/test/gemfiles/Gemfile.rails.4.0 +16 -0
  246. data/test/integration/authentication_test.rb +48 -0
  247. data/test/integration/fixtures_test.rb +61 -0
  248. data/test/integration/mirrors_test.rb +72 -0
  249. data/test/integration/render_cms_test.rb +233 -0
  250. data/test/integration/sites_test.rb +120 -0
  251. data/test/integration/view_hooks_test.rb +43 -0
  252. data/test/test_helper.rb +124 -0
  253. data/test/unit/cms/menu_item_test.rb +7 -0
  254. data/test/unit/cms/menu_test.rb +7 -0
  255. data/test/unit/configuration_test.rb +42 -0
  256. data/test/unit/fixtures_test.rb +357 -0
  257. data/test/unit/mirrors_test.rb +242 -0
  258. data/test/unit/models/block_test.rb +199 -0
  259. data/test/unit/models/categorization_test.rb +76 -0
  260. data/test/unit/models/category_test.rb +39 -0
  261. data/test/unit/models/file_test.rb +89 -0
  262. data/test/unit/models/layout_test.rb +125 -0
  263. data/test/unit/models/page_test.rb +255 -0
  264. data/test/unit/models/site_test.rb +152 -0
  265. data/test/unit/models/snippet_test.rb +49 -0
  266. data/test/unit/revisions_test.rb +185 -0
  267. data/test/unit/sitemap_test.rb +20 -0
  268. data/test/unit/tag_test.rb +308 -0
  269. data/test/unit/tags/asset_test.rb +56 -0
  270. data/test/unit/tags/collection_test.rb +116 -0
  271. data/test/unit/tags/field_datetime_test.rb +50 -0
  272. data/test/unit/tags/field_integer_test.rb +49 -0
  273. data/test/unit/tags/field_rich_text_test.rb +49 -0
  274. data/test/unit/tags/field_string_test.rb +52 -0
  275. data/test/unit/tags/field_text_test.rb +48 -0
  276. data/test/unit/tags/file_test.rb +67 -0
  277. data/test/unit/tags/helper_test.rb +86 -0
  278. data/test/unit/tags/page_datetime_test.rb +50 -0
  279. data/test/unit/tags/page_file_test.rb +119 -0
  280. data/test/unit/tags/page_files_test.rb +113 -0
  281. data/test/unit/tags/page_integer_test.rb +49 -0
  282. data/test/unit/tags/page_markdown_test.rb +48 -0
  283. data/test/unit/tags/page_rich_text_test.rb +49 -0
  284. data/test/unit/tags/page_string_test.rb +49 -0
  285. data/test/unit/tags/page_text_test.rb +52 -0
  286. data/test/unit/tags/partial_test.rb +76 -0
  287. data/test/unit/tags/snippet_test.rb +45 -0
  288. data/test/unit/view_methods_test.rb +80 -0
  289. metadata +457 -0
metadata ADDED
@@ -0,0 +1,457 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: comfypress
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.3
5
+ platform: ruby
6
+ authors:
7
+ - Nayeem Syed
8
+ - Omega Interactive Ltd
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-05-29 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - '>='
19
+ - !ruby/object:Gem::Version
20
+ version: 3.1.0
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - '>='
26
+ - !ruby/object:Gem::Version
27
+ version: 3.1.0
28
+ - !ruby/object:Gem::Dependency
29
+ name: formatted_form
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - '>='
33
+ - !ruby/object:Gem::Version
34
+ version: 2.1.0
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - '>='
40
+ - !ruby/object:Gem::Version
41
+ version: 2.1.0
42
+ - !ruby/object:Gem::Dependency
43
+ name: active_link_to
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - '>='
47
+ - !ruby/object:Gem::Version
48
+ version: 1.0.0
49
+ type: :runtime
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - '>='
54
+ - !ruby/object:Gem::Version
55
+ version: 1.0.0
56
+ - !ruby/object:Gem::Dependency
57
+ name: paperclip
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - '>='
61
+ - !ruby/object:Gem::Version
62
+ version: 3.4.0
63
+ type: :runtime
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - '>='
68
+ - !ruby/object:Gem::Version
69
+ version: 3.4.0
70
+ - !ruby/object:Gem::Dependency
71
+ name: redcarpet
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - '>='
75
+ - !ruby/object:Gem::Version
76
+ version: 2.2.0
77
+ type: :runtime
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - '>='
82
+ - !ruby/object:Gem::Version
83
+ version: 2.2.0
84
+ - !ruby/object:Gem::Dependency
85
+ name: jquery-rails
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - '>='
89
+ - !ruby/object:Gem::Version
90
+ version: 2.1.4
91
+ type: :runtime
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - '>='
96
+ - !ruby/object:Gem::Version
97
+ version: 2.1.4
98
+ - !ruby/object:Gem::Dependency
99
+ name: haml-rails
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - '>='
103
+ - !ruby/object:Gem::Version
104
+ version: 0.3.0
105
+ type: :runtime
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - '>='
110
+ - !ruby/object:Gem::Version
111
+ version: 0.3.0
112
+ - !ruby/object:Gem::Dependency
113
+ name: sass-rails
114
+ requirement: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - '>='
117
+ - !ruby/object:Gem::Version
118
+ version: 3.1.0
119
+ type: :runtime
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - '>='
124
+ - !ruby/object:Gem::Version
125
+ version: 3.1.0
126
+ - !ruby/object:Gem::Dependency
127
+ name: coffee-rails
128
+ requirement: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - '>='
131
+ - !ruby/object:Gem::Version
132
+ version: 3.1.0
133
+ type: :runtime
134
+ prerelease: false
135
+ version_requirements: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - '>='
138
+ - !ruby/object:Gem::Version
139
+ version: 3.1.0
140
+ description: ComfyPress is a powerful CMS Engine for Ruby on Rails 3 applications
141
+ email:
142
+ - developerinlondon@gmail.com
143
+ executables: []
144
+ extensions: []
145
+ extra_rdoc_files: []
146
+ files:
147
+ - .gitignore
148
+ - .travis.yml
149
+ - Gemfile
150
+ - Gemfile.lock
151
+ - LICENSE
152
+ - README.md
153
+ - Rakefile
154
+ - app/assets/images/comfypress/arrow_bottom.gif
155
+ - app/assets/images/comfypress/arrow_right.gif
156
+ - app/assets/images/comfypress/bootstrap/glyphicons-halflings-white.png
157
+ - app/assets/images/comfypress/bootstrap/glyphicons-halflings.png
158
+ - app/assets/images/comfypress/checkerboard.gif
159
+ - app/assets/images/comfypress/icon_draft.gif
160
+ - app/assets/images/comfypress/icon_file.gif
161
+ - app/assets/images/comfypress/icon_layout.gif
162
+ - app/assets/images/comfypress/icon_move.gif
163
+ - app/assets/images/comfypress/icon_page.gif
164
+ - app/assets/images/comfypress/icon_site.gif
165
+ - app/assets/images/comfypress/icon_snippet.gif
166
+ - app/assets/images/comfypress/nav_arrow.png
167
+ - app/assets/javascripts/comfypress/admin/application.js
168
+ - app/assets/javascripts/comfypress/application.js.coffee
169
+ - app/assets/javascripts/comfypress/lib/bootstrap-datetimepicker.js
170
+ - app/assets/javascripts/comfypress/lib/bootstrap-wysihtml5.js
171
+ - app/assets/javascripts/comfypress/lib/bootstrap.js
172
+ - app/assets/javascripts/comfypress/lib/codemirror.js
173
+ - app/assets/javascripts/comfypress/lib/wysihtml5.js
174
+ - app/assets/stylesheets/comfypress/admin/application.css
175
+ - app/assets/stylesheets/comfypress/application.css.sass
176
+ - app/assets/stylesheets/comfypress/base.css.sass
177
+ - app/assets/stylesheets/comfypress/bootstrap_overrides.css.sass
178
+ - app/assets/stylesheets/comfypress/codemirror_overrides.css.sass
179
+ - app/assets/stylesheets/comfypress/lib/bootstrap-datetimepicker.css
180
+ - app/assets/stylesheets/comfypress/lib/bootstrap-wysihtml5.css
181
+ - app/assets/stylesheets/comfypress/lib/bootstrap.css
182
+ - app/assets/stylesheets/comfypress/lib/codemirror.css
183
+ - app/assets/stylesheets/comfypress/wysihtml5_overrides.css.sass
184
+ - app/controllers/application_controller.rb
185
+ - app/controllers/cms_admin/base_controller.rb
186
+ - app/controllers/cms_admin/categories_controller.rb
187
+ - app/controllers/cms_admin/files_controller.rb
188
+ - app/controllers/cms_admin/layouts_controller.rb
189
+ - app/controllers/cms_admin/menu_items_controller.rb
190
+ - app/controllers/cms_admin/menus_controller.rb
191
+ - app/controllers/cms_admin/pages_controller.rb
192
+ - app/controllers/cms_admin/revisions_controller.rb
193
+ - app/controllers/cms_admin/sites_controller.rb
194
+ - app/controllers/cms_admin/snippets_controller.rb
195
+ - app/controllers/cms_content_controller.rb
196
+ - app/helpers/application_helper.rb
197
+ - app/models/cms.rb
198
+ - app/models/cms/block.rb
199
+ - app/models/cms/categorization.rb
200
+ - app/models/cms/category.rb
201
+ - app/models/cms/file.rb
202
+ - app/models/cms/layout.rb
203
+ - app/models/cms/menu.rb
204
+ - app/models/cms/menu_item.rb
205
+ - app/models/cms/page.rb
206
+ - app/models/cms/revision.rb
207
+ - app/models/cms/site.rb
208
+ - app/models/cms/snippet.rb
209
+ - app/views/cms_admin/categories/_categories.html.haml
210
+ - app/views/cms_admin/categories/_edit.html.haml
211
+ - app/views/cms_admin/categories/_form.html.haml
212
+ - app/views/cms_admin/categories/_index.html.haml
213
+ - app/views/cms_admin/categories/_show.html.haml
214
+ - app/views/cms_admin/categories/create.js.erb
215
+ - app/views/cms_admin/categories/destroy.js.erb
216
+ - app/views/cms_admin/categories/edit.js.erb
217
+ - app/views/cms_admin/categories/update.js.erb
218
+ - app/views/cms_admin/files/_file.html.haml
219
+ - app/views/cms_admin/files/_form.html.haml
220
+ - app/views/cms_admin/files/_index.html.haml
221
+ - app/views/cms_admin/files/_page_form.html.haml
222
+ - app/views/cms_admin/files/destroy.js.coffee
223
+ - app/views/cms_admin/files/edit.html.haml
224
+ - app/views/cms_admin/files/index.html.haml
225
+ - app/views/cms_admin/files/new.html.haml
226
+ - app/views/cms_admin/layouts/_form.html.haml
227
+ - app/views/cms_admin/layouts/_index_branch.html.haml
228
+ - app/views/cms_admin/layouts/edit.html.haml
229
+ - app/views/cms_admin/layouts/index.html.haml
230
+ - app/views/cms_admin/layouts/new.html.haml
231
+ - app/views/cms_admin/menu_items/_form.html.haml
232
+ - app/views/cms_admin/menu_items/edit.html.haml
233
+ - app/views/cms_admin/menu_items/index.html.haml
234
+ - app/views/cms_admin/menu_items/new.html.haml
235
+ - app/views/cms_admin/menus/_form.html.haml
236
+ - app/views/cms_admin/menus/edit.html.haml
237
+ - app/views/cms_admin/menus/index.html.haml
238
+ - app/views/cms_admin/menus/new.html.haml
239
+ - app/views/cms_admin/pages/_form.html.haml
240
+ - app/views/cms_admin/pages/_form_blocks.html.haml
241
+ - app/views/cms_admin/pages/_index_branch.html.haml
242
+ - app/views/cms_admin/pages/edit.html.haml
243
+ - app/views/cms_admin/pages/form_blocks.js.erb
244
+ - app/views/cms_admin/pages/index.html.haml
245
+ - app/views/cms_admin/pages/new.html.haml
246
+ - app/views/cms_admin/pages/toggle_branch.js.erb
247
+ - app/views/cms_admin/revisions/show.html.haml
248
+ - app/views/cms_admin/sites/_form.html.haml
249
+ - app/views/cms_admin/sites/_mirrors.html.haml
250
+ - app/views/cms_admin/sites/edit.html.haml
251
+ - app/views/cms_admin/sites/index.html.haml
252
+ - app/views/cms_admin/sites/new.html.haml
253
+ - app/views/cms_admin/snippets/_form.html.haml
254
+ - app/views/cms_admin/snippets/edit.html.haml
255
+ - app/views/cms_admin/snippets/index.html.haml
256
+ - app/views/cms_admin/snippets/new.html.haml
257
+ - app/views/cms_content/_menu.html.haml
258
+ - app/views/cms_content/render_sitemap.xml.builder
259
+ - app/views/layouts/cms_admin.html.haml
260
+ - app/views/layouts/cms_admin/_body.html.haml
261
+ - app/views/layouts/cms_admin/_center.html.haml
262
+ - app/views/layouts/cms_admin/_footer.html.haml
263
+ - app/views/layouts/cms_admin/_footer_js.html.haml
264
+ - app/views/layouts/cms_admin/_head.html.haml
265
+ - app/views/layouts/cms_admin/_left.html.haml
266
+ - app/views/layouts/cms_admin/_right.html.haml
267
+ - comfypress.gemspec
268
+ - config.ru
269
+ - config/application.rb
270
+ - config/boot.rb
271
+ - config/database.sqlite.yml
272
+ - config/database.yml
273
+ - config/environment.rb
274
+ - config/environments/development.rb
275
+ - config/environments/production.rb
276
+ - config/environments/test.rb
277
+ - config/initializers/comfypress.rb
278
+ - config/initializers/paperclip.rb
279
+ - config/locales/de.yml
280
+ - config/locales/en.yml
281
+ - config/locales/es.yml
282
+ - config/locales/fr.yml
283
+ - config/locales/ja.yml
284
+ - config/locales/pl.yml
285
+ - config/locales/pt-BR.yml
286
+ - config/locales/ru.yml
287
+ - config/locales/sv.yml
288
+ - config/locales/zh-CN.yml
289
+ - config/routes.rb
290
+ - db/cms_fixtures/sample-site/layouts/default/_default.yml
291
+ - db/cms_fixtures/sample-site/layouts/default/content.html
292
+ - db/cms_fixtures/sample-site/layouts/default/css.css
293
+ - db/cms_fixtures/sample-site/layouts/default/js.js
294
+ - db/cms_fixtures/sample-site/layouts/default/nested/_nested.yml
295
+ - db/cms_fixtures/sample-site/layouts/default/nested/content.html
296
+ - db/cms_fixtures/sample-site/layouts/default/nested/css.css
297
+ - db/cms_fixtures/sample-site/layouts/default/nested/js.js
298
+ - db/cms_fixtures/sample-site/pages/index/_index.yml
299
+ - db/cms_fixtures/sample-site/pages/index/child/_child.yml
300
+ - db/cms_fixtures/sample-site/pages/index/child/left.html
301
+ - db/cms_fixtures/sample-site/pages/index/child/right.html
302
+ - db/cms_fixtures/sample-site/pages/index/content.html
303
+ - db/cms_fixtures/sample-site/snippets/default/_default.yml
304
+ - db/cms_fixtures/sample-site/snippets/default/content.html
305
+ - db/migrate/01_create_cms.rb
306
+ - db/seeds.rb
307
+ - db/upgrade_migrations/02_upgrade_to_1_1_0.rb
308
+ - db/upgrade_migrations/03_upgrade_to_1_2_0.rb
309
+ - db/upgrade_migrations/04_upgrade_to_1_3_0.rb
310
+ - db/upgrade_migrations/05_upgrade_to_1_4_0.rb
311
+ - db/upgrade_migrations/06_upgrade_to_1_5_0.rb
312
+ - db/upgrade_migrations/07_upgrade_to_1_6_0.rb
313
+ - doc/preview.png
314
+ - doc/sofa.png
315
+ - lib/comfypress.rb
316
+ - lib/comfypress/authentication/dummy_auth.rb
317
+ - lib/comfypress/authentication/http_auth.rb
318
+ - lib/comfypress/configuration.rb
319
+ - lib/comfypress/engine.rb
320
+ - lib/comfypress/error.rb
321
+ - lib/comfypress/extensions/acts_as_tree.rb
322
+ - lib/comfypress/extensions/has_revisions.rb
323
+ - lib/comfypress/extensions/is_categorized.rb
324
+ - lib/comfypress/extensions/is_mirrored.rb
325
+ - lib/comfypress/extensions/rails.rb
326
+ - lib/comfypress/fixtures.rb
327
+ - lib/comfypress/form_builder.rb
328
+ - lib/comfypress/render_methods.rb
329
+ - lib/comfypress/routing.rb
330
+ - lib/comfypress/sitemap.rb
331
+ - lib/comfypress/tag.rb
332
+ - lib/comfypress/tags/asset.rb
333
+ - lib/comfypress/tags/collection.rb
334
+ - lib/comfypress/tags/field_datetime.rb
335
+ - lib/comfypress/tags/field_integer.rb
336
+ - lib/comfypress/tags/field_rich_text.rb
337
+ - lib/comfypress/tags/field_string.rb
338
+ - lib/comfypress/tags/field_text.rb
339
+ - lib/comfypress/tags/file.rb
340
+ - lib/comfypress/tags/helper.rb
341
+ - lib/comfypress/tags/menu.rb
342
+ - lib/comfypress/tags/page_datetime.rb
343
+ - lib/comfypress/tags/page_file.rb
344
+ - lib/comfypress/tags/page_files.rb
345
+ - lib/comfypress/tags/page_integer.rb
346
+ - lib/comfypress/tags/page_markdown.rb
347
+ - lib/comfypress/tags/page_rich_text.rb
348
+ - lib/comfypress/tags/page_string.rb
349
+ - lib/comfypress/tags/page_text.rb
350
+ - lib/comfypress/tags/partial.rb
351
+ - lib/comfypress/tags/snippet.rb
352
+ - lib/comfypress/version.rb
353
+ - lib/comfypress/view_hooks.rb
354
+ - lib/comfypress/view_methods.rb
355
+ - lib/generators/comfy/cms/README
356
+ - lib/generators/comfy/cms/cms_generator.rb
357
+ - lib/tasks/comfypress.rake
358
+ - script/rails
359
+ - test/fixtures/cms/blocks.yml
360
+ - test/fixtures/cms/categories.yml
361
+ - test/fixtures/cms/categorizations.yml
362
+ - test/fixtures/cms/files.yml
363
+ - test/fixtures/cms/layouts.yml
364
+ - test/fixtures/cms/menu_items.yml
365
+ - test/fixtures/cms/menus.yml
366
+ - test/fixtures/cms/pages.yml
367
+ - test/fixtures/cms/revisions.yml
368
+ - test/fixtures/cms/sites.yml
369
+ - test/fixtures/cms/snippets.yml
370
+ - test/fixtures/files/data.zip
371
+ - test/fixtures/files/document.pdf
372
+ - test/fixtures/files/image.gif
373
+ - test/fixtures/files/image.jpg
374
+ - test/fixtures/views/_nav_hook.html.erb
375
+ - test/fixtures/views/_nav_hook_2.html.erb
376
+ - test/fixtures/views/render_test/_test.html.erb
377
+ - test/fixtures/views/render_test/new.html.erb
378
+ - test/fixtures/views/render_test/render_layout.html.erb
379
+ - test/functional/cms_admin/base_controller_test.rb
380
+ - test/functional/cms_admin/categories_controller_test.rb
381
+ - test/functional/cms_admin/files_controller_test.rb
382
+ - test/functional/cms_admin/layouts_controller_test.rb
383
+ - test/functional/cms_admin/pages_controller_test.rb
384
+ - test/functional/cms_admin/revisions_controller_test.rb
385
+ - test/functional/cms_admin/sites_controller_test.rb
386
+ - test/functional/cms_admin/snippets_controller_test.rb
387
+ - test/functional/cms_content_controller_test.rb
388
+ - test/gemfiles/Gemfile.rails.3.1
389
+ - test/gemfiles/Gemfile.rails.3.2
390
+ - test/gemfiles/Gemfile.rails.4.0
391
+ - test/integration/authentication_test.rb
392
+ - test/integration/fixtures_test.rb
393
+ - test/integration/mirrors_test.rb
394
+ - test/integration/render_cms_test.rb
395
+ - test/integration/sites_test.rb
396
+ - test/integration/view_hooks_test.rb
397
+ - test/test_helper.rb
398
+ - test/unit/cms/menu_item_test.rb
399
+ - test/unit/cms/menu_test.rb
400
+ - test/unit/configuration_test.rb
401
+ - test/unit/fixtures_test.rb
402
+ - test/unit/mirrors_test.rb
403
+ - test/unit/models/block_test.rb
404
+ - test/unit/models/categorization_test.rb
405
+ - test/unit/models/category_test.rb
406
+ - test/unit/models/file_test.rb
407
+ - test/unit/models/layout_test.rb
408
+ - test/unit/models/page_test.rb
409
+ - test/unit/models/site_test.rb
410
+ - test/unit/models/snippet_test.rb
411
+ - test/unit/revisions_test.rb
412
+ - test/unit/sitemap_test.rb
413
+ - test/unit/tag_test.rb
414
+ - test/unit/tags/asset_test.rb
415
+ - test/unit/tags/collection_test.rb
416
+ - test/unit/tags/field_datetime_test.rb
417
+ - test/unit/tags/field_integer_test.rb
418
+ - test/unit/tags/field_rich_text_test.rb
419
+ - test/unit/tags/field_string_test.rb
420
+ - test/unit/tags/field_text_test.rb
421
+ - test/unit/tags/file_test.rb
422
+ - test/unit/tags/helper_test.rb
423
+ - test/unit/tags/page_datetime_test.rb
424
+ - test/unit/tags/page_file_test.rb
425
+ - test/unit/tags/page_files_test.rb
426
+ - test/unit/tags/page_integer_test.rb
427
+ - test/unit/tags/page_markdown_test.rb
428
+ - test/unit/tags/page_rich_text_test.rb
429
+ - test/unit/tags/page_string_test.rb
430
+ - test/unit/tags/page_text_test.rb
431
+ - test/unit/tags/partial_test.rb
432
+ - test/unit/tags/snippet_test.rb
433
+ - test/unit/view_methods_test.rb
434
+ homepage: http://github.com/omegainteractive/comfypress
435
+ licenses: []
436
+ metadata: {}
437
+ post_install_message:
438
+ rdoc_options: []
439
+ require_paths:
440
+ - lib
441
+ required_ruby_version: !ruby/object:Gem::Requirement
442
+ requirements:
443
+ - - '>='
444
+ - !ruby/object:Gem::Version
445
+ version: '0'
446
+ required_rubygems_version: !ruby/object:Gem::Requirement
447
+ requirements:
448
+ - - '>='
449
+ - !ruby/object:Gem::Version
450
+ version: '0'
451
+ requirements: []
452
+ rubyforge_project:
453
+ rubygems_version: 2.0.3
454
+ signing_key:
455
+ specification_version: 4
456
+ summary: CMS Engine for Rails 3 apps (Based on ComfortableMexicanSofa)
457
+ test_files: []