comfortable_mexican_sofa 1.6.31 → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (220) hide show
  1. data/.travis.yml +7 -2
  2. data/Gemfile +11 -2
  3. data/README.md +2 -3
  4. data/Rakefile +18 -0
  5. data/VERSION +1 -0
  6. data/app/assets/images/comfortable_mexican_sofa/bootstrap/glyphicons-halflings-white.png +0 -0
  7. data/app/assets/images/comfortable_mexican_sofa/bootstrap/glyphicons-halflings.png +0 -0
  8. data/app/assets/images/comfortable_mexican_sofa/{icon_regular.gif → icon_file.gif} +0 -0
  9. data/app/assets/images/comfortable_mexican_sofa/icon_page.gif +0 -0
  10. data/app/assets/images/comfortable_mexican_sofa/icon_site.gif +0 -0
  11. data/app/assets/javascripts/comfortable_mexican_sofa/application.js +61 -93
  12. data/app/assets/javascripts/comfortable_mexican_sofa/lib/bootstrap-datetimepicker.js +21 -0
  13. data/app/assets/javascripts/comfortable_mexican_sofa/lib/bootstrap-wysihtml5.js +492 -0
  14. data/app/assets/javascripts/comfortable_mexican_sofa/lib/bootstrap.js +6 -0
  15. data/app/assets/javascripts/comfortable_mexican_sofa/lib/codemirror.js +10 -0
  16. data/app/assets/javascripts/comfortable_mexican_sofa/lib/wysihtml5.js +261 -0
  17. data/app/assets/stylesheets/comfortable_mexican_sofa/application.css.sass +9 -0
  18. data/app/assets/stylesheets/comfortable_mexican_sofa/base.css.sass +328 -0
  19. data/app/assets/stylesheets/comfortable_mexican_sofa/base_overrides.css.sass +6 -0
  20. data/app/assets/stylesheets/comfortable_mexican_sofa/bootstrap_overrides.css.sass +43 -0
  21. data/app/assets/stylesheets/comfortable_mexican_sofa/codemirror_overrides.css.sass +27 -0
  22. data/app/assets/stylesheets/comfortable_mexican_sofa/lib/bootstrap-datetimepicker.css +9 -0
  23. data/app/assets/stylesheets/comfortable_mexican_sofa/lib/bootstrap-wysihtml5.css +102 -0
  24. data/app/assets/stylesheets/comfortable_mexican_sofa/lib/bootstrap.css +9 -0
  25. data/app/assets/stylesheets/comfortable_mexican_sofa/lib/codemirror.css +240 -0
  26. data/app/assets/stylesheets/comfortable_mexican_sofa/wysihtml5_overrides.css.sass +5 -0
  27. data/app/controllers/cms_admin/files_controller.rb +3 -3
  28. data/app/controllers/cms_admin/layouts_controller.rb +3 -3
  29. data/app/controllers/cms_admin/pages_controller.rb +3 -3
  30. data/app/controllers/cms_admin/revisions_controller.rb +1 -1
  31. data/app/controllers/cms_admin/sites_controller.rb +3 -3
  32. data/app/controllers/cms_admin/snippets_controller.rb +3 -3
  33. data/app/models/cms/file.rb +5 -3
  34. data/app/models/cms/page.rb +1 -14
  35. data/app/models/cms/site.rb +2 -2
  36. data/app/views/cms_admin/categories/_categories.html.haml +3 -0
  37. data/app/views/cms_admin/categories/_edit.html.haml +6 -0
  38. data/app/views/cms_admin/categories/_form.html.haml +8 -0
  39. data/app/views/cms_admin/categories/_index.html.haml +24 -0
  40. data/app/views/cms_admin/categories/_show.html.haml +13 -0
  41. data/app/views/cms_admin/categories/create.js.erb +3 -3
  42. data/app/views/cms_admin/categories/update.js.erb +1 -1
  43. data/app/views/cms_admin/files/_file.html.haml +14 -0
  44. data/app/views/cms_admin/files/_form.html.haml +13 -0
  45. data/app/views/cms_admin/files/_index.html.haml +12 -0
  46. data/app/views/cms_admin/files/_page_form.html.haml +9 -0
  47. data/app/views/cms_admin/files/create.js.erb +1 -1
  48. data/app/views/cms_admin/files/edit.html.haml +5 -0
  49. data/app/views/cms_admin/files/index.html.haml +26 -0
  50. data/app/views/cms_admin/files/new.html.haml +5 -0
  51. data/app/views/cms_admin/layouts/_form.html.haml +17 -0
  52. data/app/views/cms_admin/layouts/_index_branch.html.haml +23 -0
  53. data/app/views/cms_admin/layouts/edit.html.haml +9 -0
  54. data/app/views/cms_admin/layouts/index.html.haml +9 -0
  55. data/app/views/cms_admin/layouts/new.html.haml +5 -0
  56. data/app/views/cms_admin/pages/_form.html.haml +35 -0
  57. data/app/views/cms_admin/pages/_form_blocks.html.haml +28 -0
  58. data/app/views/cms_admin/pages/_index_branch.html.haml +35 -0
  59. data/app/views/cms_admin/pages/edit.html.haml +9 -0
  60. data/app/views/cms_admin/pages/form_blocks.js.erb +2 -3
  61. data/app/views/cms_admin/pages/index.html.haml +11 -0
  62. data/app/views/cms_admin/pages/new.html.haml +5 -0
  63. data/app/views/cms_admin/revisions/show.html.haml +28 -0
  64. data/app/views/cms_admin/sites/_form.html.haml +10 -0
  65. data/app/views/cms_admin/sites/_mirrors.html.haml +17 -0
  66. data/app/views/cms_admin/sites/edit.html.haml +5 -0
  67. data/app/views/cms_admin/sites/index.html.haml +24 -0
  68. data/app/views/cms_admin/sites/new.html.haml +5 -0
  69. data/app/views/cms_admin/snippets/_form.html.haml +11 -0
  70. data/app/views/cms_admin/snippets/edit.html.haml +9 -0
  71. data/app/views/cms_admin/snippets/index.html.haml +28 -0
  72. data/app/views/cms_admin/snippets/new.html.haml +5 -0
  73. data/app/views/layouts/cms_admin.html.haml +4 -0
  74. data/app/views/layouts/cms_admin/_body.html.haml +16 -0
  75. data/app/views/layouts/cms_admin/_center.html.haml +7 -0
  76. data/app/views/layouts/cms_admin/_head.html.haml +13 -0
  77. data/app/views/layouts/cms_admin/_left.html.haml +10 -0
  78. data/app/views/layouts/cms_admin/_right.html.haml +1 -0
  79. data/comfortable_mexican_sofa.gemspec +323 -21
  80. data/config/application.rb +22 -14
  81. data/config/environments/development.rb +16 -2
  82. data/config/environments/production.rb +22 -7
  83. data/config/environments/test.rb +6 -6
  84. data/config/initializers/comfortable_mexican_sofa.rb +1 -1
  85. data/db/migrate/01_create_cms.rb +1 -1
  86. data/doc/preview.png +0 -0
  87. data/lib/comfortable_mexican_sofa.rb +0 -5
  88. data/lib/comfortable_mexican_sofa/configuration.rb +1 -1
  89. data/lib/comfortable_mexican_sofa/engine.rb +8 -2
  90. data/lib/comfortable_mexican_sofa/extensions/rails.rb +2 -2
  91. data/lib/comfortable_mexican_sofa/form_builder.rb +27 -82
  92. data/lib/comfortable_mexican_sofa/tag.rb +1 -1
  93. data/lib/comfortable_mexican_sofa/tags/page_markdown.rb +22 -0
  94. data/lib/comfortable_mexican_sofa/version.rb +6 -2
  95. data/lib/comfortable_mexican_sofa/view_methods.rb +5 -8
  96. data/test/functional/cms_admin/files_controller_test.rb +4 -4
  97. data/test/functional/cms_admin/layouts_controller_test.rb +3 -3
  98. data/test/functional/cms_admin/pages_controller_test.rb +20 -12
  99. data/test/functional/cms_admin/revisions_controller_test.rb +3 -3
  100. data/test/functional/cms_admin/sites_controller_test.rb +3 -3
  101. data/test/functional/cms_admin/snippets_controller_test.rb +3 -3
  102. data/test/functional/cms_content_controller_test.rb +1 -1
  103. data/test/gemfiles/Gemfile.rails.3.1 +10 -4
  104. data/test/gemfiles/Gemfile.rails.3.2 +10 -4
  105. data/test/gemfiles/Gemfile.rails.4.0 +16 -0
  106. data/test/test_helper.rb +1 -16
  107. data/test/unit/configuration_test.rb +1 -3
  108. data/test/unit/models/page_test.rb +1 -19
  109. data/test/unit/models/site_test.rb +1 -5
  110. data/test/unit/tags/page_file_test.rb +6 -5
  111. data/test/unit/tags/page_files_test.rb +5 -3
  112. data/test/unit/tags/page_markdown_test.rb +48 -0
  113. metadata +195 -131
  114. checksums.yaml +0 -7
  115. data/.gitignore +0 -14
  116. data/app/assets/images/comfortable_mexican_sofa/elrte/elrte-toolbar.png +0 -0
  117. data/app/assets/images/comfortable_mexican_sofa/elrte/google-maps.png +0 -0
  118. data/app/assets/images/comfortable_mexican_sofa/elrte/iframe.png +0 -0
  119. data/app/assets/images/comfortable_mexican_sofa/elrte/media-director.png +0 -0
  120. data/app/assets/images/comfortable_mexican_sofa/elrte/media-flash.png +0 -0
  121. data/app/assets/images/comfortable_mexican_sofa/elrte/media-quicktime.png +0 -0
  122. data/app/assets/images/comfortable_mexican_sofa/elrte/media-realaudio.png +0 -0
  123. data/app/assets/images/comfortable_mexican_sofa/elrte/media-rutube.png +0 -0
  124. data/app/assets/images/comfortable_mexican_sofa/elrte/media-vimeo.png +0 -0
  125. data/app/assets/images/comfortable_mexican_sofa/elrte/media-winmedia.png +0 -0
  126. data/app/assets/images/comfortable_mexican_sofa/elrte/media-youtube.png +0 -0
  127. data/app/assets/images/comfortable_mexican_sofa/elrte/outline-div.png +0 -0
  128. data/app/assets/images/comfortable_mexican_sofa/elrte/outline-p.png +0 -0
  129. data/app/assets/images/comfortable_mexican_sofa/elrte/pagebreak.gif +0 -0
  130. data/app/assets/images/comfortable_mexican_sofa/elrte/pixel.gif +0 -0
  131. data/app/assets/images/comfortable_mexican_sofa/elrte/smileys/evilgrin.png +0 -0
  132. data/app/assets/images/comfortable_mexican_sofa/elrte/smileys/grin.png +0 -0
  133. data/app/assets/images/comfortable_mexican_sofa/elrte/smileys/happy.png +0 -0
  134. data/app/assets/images/comfortable_mexican_sofa/elrte/smileys/smile.png +0 -0
  135. data/app/assets/images/comfortable_mexican_sofa/elrte/smileys/surprised.png +0 -0
  136. data/app/assets/images/comfortable_mexican_sofa/elrte/smileys/tongue.png +0 -0
  137. data/app/assets/images/comfortable_mexican_sofa/elrte/smileys/unhappy.png +0 -0
  138. data/app/assets/images/comfortable_mexican_sofa/elrte/smileys/waii.png +0 -0
  139. data/app/assets/images/comfortable_mexican_sofa/elrte/smileys/wink.png +0 -0
  140. data/app/assets/images/comfortable_mexican_sofa/jquery_ui/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  141. data/app/assets/images/comfortable_mexican_sofa/jquery_ui/ui-bg_flat_75_ffffff_40x100.png +0 -0
  142. data/app/assets/images/comfortable_mexican_sofa/jquery_ui/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  143. data/app/assets/images/comfortable_mexican_sofa/jquery_ui/ui-bg_glass_65_ffffff_1x400.png +0 -0
  144. data/app/assets/images/comfortable_mexican_sofa/jquery_ui/ui-bg_glass_75_dadada_1x400.png +0 -0
  145. data/app/assets/images/comfortable_mexican_sofa/jquery_ui/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  146. data/app/assets/images/comfortable_mexican_sofa/jquery_ui/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  147. data/app/assets/images/comfortable_mexican_sofa/jquery_ui/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  148. data/app/assets/images/comfortable_mexican_sofa/jquery_ui/ui-bg_inset-soft_95_fef1ec_1x100.png +0 -0
  149. data/app/assets/images/comfortable_mexican_sofa/jquery_ui/ui-icons_222222_256x240.png +0 -0
  150. data/app/assets/images/comfortable_mexican_sofa/jquery_ui/ui-icons_2e83ff_256x240.png +0 -0
  151. data/app/assets/images/comfortable_mexican_sofa/jquery_ui/ui-icons_454545_256x240.png +0 -0
  152. data/app/assets/images/comfortable_mexican_sofa/jquery_ui/ui-icons_888888_256x240.png +0 -0
  153. data/app/assets/images/comfortable_mexican_sofa/jquery_ui/ui-icons_cd0a0a_256x240.png +0 -0
  154. data/app/assets/images/comfortable_mexican_sofa/x.png +0 -0
  155. data/app/assets/javascripts/comfortable_mexican_sofa/codemirror/codemirror.js +0 -1
  156. data/app/assets/javascripts/comfortable_mexican_sofa/elrte/elrte.codemirror.js +0 -36
  157. data/app/assets/javascripts/comfortable_mexican_sofa/elrte/elrte.js +0 -267
  158. data/app/assets/javascripts/comfortable_mexican_sofa/elrte/elrte.sofa_image.js +0 -69
  159. data/app/assets/javascripts/comfortable_mexican_sofa/elrte/elrte.sofa_link.js +0 -58
  160. data/app/assets/javascripts/comfortable_mexican_sofa/jquery.js +0 -4
  161. data/app/assets/javascripts/comfortable_mexican_sofa/jquery_ui.js +0 -791
  162. data/app/assets/javascripts/comfortable_mexican_sofa/jquery_ui_timepicker.js +0 -12
  163. data/app/assets/javascripts/comfortable_mexican_sofa/rails.js +0 -315
  164. data/app/assets/stylesheets/comfortable_mexican_sofa/application.css +0 -13
  165. data/app/assets/stylesheets/comfortable_mexican_sofa/codemirror.css +0 -121
  166. data/app/assets/stylesheets/comfortable_mexican_sofa/content.css +0 -271
  167. data/app/assets/stylesheets/comfortable_mexican_sofa/dialogs.css +0 -45
  168. data/app/assets/stylesheets/comfortable_mexican_sofa/elrte.css +0 -173
  169. data/app/assets/stylesheets/comfortable_mexican_sofa/files.css +0 -82
  170. data/app/assets/stylesheets/comfortable_mexican_sofa/form.css +0 -232
  171. data/app/assets/stylesheets/comfortable_mexican_sofa/jquery_ui.css +0 -568
  172. data/app/assets/stylesheets/comfortable_mexican_sofa/reset.css +0 -1
  173. data/app/assets/stylesheets/comfortable_mexican_sofa/structure.css +0 -157
  174. data/app/assets/stylesheets/comfortable_mexican_sofa/typography.css +0 -39
  175. data/app/assets/stylesheets/comfortable_mexican_sofa/widgets.css +0 -29
  176. data/app/controllers/cms_admin/dialogs_controller.rb +0 -13
  177. data/app/views/cms_admin/categories/_categories.html.erb +0 -6
  178. data/app/views/cms_admin/categories/_edit.html.erb +0 -7
  179. data/app/views/cms_admin/categories/_form.html.erb +0 -12
  180. data/app/views/cms_admin/categories/_index.html.erb +0 -31
  181. data/app/views/cms_admin/categories/_show.html.erb +0 -16
  182. data/app/views/cms_admin/dialogs/image.html.erb +0 -7
  183. data/app/views/cms_admin/dialogs/link.html.erb +0 -5
  184. data/app/views/cms_admin/files/_file.html.erb +0 -18
  185. data/app/views/cms_admin/files/_form.html.erb +0 -16
  186. data/app/views/cms_admin/files/_index.html.erb +0 -16
  187. data/app/views/cms_admin/files/_page_form.html.erb +0 -12
  188. data/app/views/cms_admin/files/edit.html.erb +0 -5
  189. data/app/views/cms_admin/files/index.html.erb +0 -29
  190. data/app/views/cms_admin/files/new.html.erb +0 -5
  191. data/app/views/cms_admin/layouts/_form.html.erb +0 -20
  192. data/app/views/cms_admin/layouts/_index_branch.html.erb +0 -27
  193. data/app/views/cms_admin/layouts/edit.html.erb +0 -11
  194. data/app/views/cms_admin/layouts/index.html.erb +0 -10
  195. data/app/views/cms_admin/layouts/new.html.erb +0 -5
  196. data/app/views/cms_admin/pages/_form.html.erb +0 -39
  197. data/app/views/cms_admin/pages/_form_blocks.html.erb +0 -41
  198. data/app/views/cms_admin/pages/_index_branch.html.erb +0 -43
  199. data/app/views/cms_admin/pages/edit.html.erb +0 -11
  200. data/app/views/cms_admin/pages/index.html.erb +0 -12
  201. data/app/views/cms_admin/pages/new.html.erb +0 -5
  202. data/app/views/cms_admin/revisions/show.html.erb +0 -36
  203. data/app/views/cms_admin/sites/_form.html.erb +0 -10
  204. data/app/views/cms_admin/sites/_mirrors.html.erb +0 -20
  205. data/app/views/cms_admin/sites/edit.html.erb +0 -5
  206. data/app/views/cms_admin/sites/index.html.erb +0 -23
  207. data/app/views/cms_admin/sites/new.html.erb +0 -5
  208. data/app/views/cms_admin/snippets/_form.html.erb +0 -13
  209. data/app/views/cms_admin/snippets/edit.html.erb +0 -10
  210. data/app/views/cms_admin/snippets/index.html.erb +0 -33
  211. data/app/views/cms_admin/snippets/new.html.erb +0 -5
  212. data/app/views/layouts/cms_admin.html.erb +0 -5
  213. data/app/views/layouts/cms_admin/_body.html.erb +0 -23
  214. data/app/views/layouts/cms_admin/_center.html.erb +0 -6
  215. data/app/views/layouts/cms_admin/_head.html.erb +0 -43
  216. data/app/views/layouts/cms_admin/_left.html.erb +0 -10
  217. data/app/views/layouts/cms_admin/_right.html.erb +0 -1
  218. data/test/functional/cms_admin/dialogs_controller_test.rb +0 -24
  219. data/test/gemfiles/Gemfile.rails.3.0 +0 -10
  220. data/test/unit/form_builder_test.rb +0 -69
@@ -60,24 +60,25 @@ class PageFileTagTest < ActiveSupport::TestCase
60
60
  ]
61
61
  )
62
62
  file = tag.block.files.first
63
+ file_url = file.file.url
63
64
 
64
65
  assert_equal file, tag.content
65
- assert_equal "/system/cms/files/#{file.id}/files/original/image.jpg", tag.render
66
+ assert_match file_url, tag.render
66
67
 
67
68
  assert tag = ComfortableMexicanSofa::Tag::PageFile.initialize_tag(page, '{{ cms:page_file:file:link }}')
68
- assert_equal "<a href='/system/cms/files/#{file.id}/files/original/image.jpg' target='_blank'>file</a>",
69
+ assert_equal "<a href='#{file_url}' target='_blank'>file</a>",
69
70
  tag.render
70
71
 
71
72
  assert tag = ComfortableMexicanSofa::Tag::PageFile.initialize_tag(page, '{{ cms:page_file:file:link:link label }}')
72
- assert_equal "<a href='/system/cms/files/#{file.id}/files/original/image.jpg' target='_blank'>link label</a>",
73
+ assert_equal "<a href='#{file_url}' target='_blank'>link label</a>",
73
74
  tag.render
74
75
 
75
76
  assert tag = ComfortableMexicanSofa::Tag::PageFile.initialize_tag(page, '{{ cms:page_file:file:image }}')
76
- assert_equal "<img src='/system/cms/files/#{file.id}/files/original/image.jpg' alt='file' />",
77
+ assert_equal "<img src='#{file_url}' alt='file' />",
77
78
  tag.render
78
79
 
79
80
  assert tag = ComfortableMexicanSofa::Tag::PageFile.initialize_tag(page, '{{ cms:page_file:file:image:image alt }}')
80
- assert_equal "<img src='/system/cms/files/#{file.id}/files/original/image.jpg' alt='image alt' />",
81
+ assert_equal "<img src='#{file_url}' alt='image alt' />",
81
82
  tag.render
82
83
 
83
84
  assert tag = ComfortableMexicanSofa::Tag::PageFile.initialize_tag(page, '{{ cms:page_file:file:partial }}')
@@ -61,16 +61,18 @@ class PageFilesTagTest < ActiveSupport::TestCase
61
61
  )
62
62
  files = tag.block.files
63
63
  file_a, file_b = files
64
+ file_a_url = file_a.file.url
65
+ file_b_url = file_b.file.url
64
66
 
65
67
  assert_equal files, tag.content
66
- assert_equal "/system/cms/files/#{file_a.id}/files/original/image.jpg, /system/cms/files/#{file_b.id}/files/original/image.gif", tag.render
68
+ assert_equal "#{file_a_url}, #{file_b_url}", tag.render
67
69
 
68
70
  assert tag = ComfortableMexicanSofa::Tag::PageFiles.initialize_tag(page, '{{ cms:page_files:files:link }}')
69
- assert_equal "<a href='/system/cms/files/#{file_a.id}/files/original/image.jpg' target='_blank'>Image</a> <a href='/system/cms/files/#{file_b.id}/files/original/image.gif' target='_blank'>Image</a>",
71
+ assert_equal "<a href='#{file_a_url}' target='_blank'>Image</a> <a href='#{file_b_url}' target='_blank'>Image</a>",
70
72
  tag.render
71
73
 
72
74
  assert tag = ComfortableMexicanSofa::Tag::PageFiles.initialize_tag(page, '{{ cms:page_files:files:image }}')
73
- assert_equal "<img src='/system/cms/files/#{file_a.id}/files/original/image.jpg' alt='Image' /> <img src='/system/cms/files/#{file_b.id}/files/original/image.gif' alt='Image' />",
75
+ assert_equal "<img src='#{file_a_url}' alt='Image' /> <img src='#{file_b_url}' alt='Image' />",
74
76
  tag.render
75
77
 
76
78
  assert tag = ComfortableMexicanSofa::Tag::PageFiles.initialize_tag(page, '{{ cms:page_files:files:partial }}')
@@ -0,0 +1,48 @@
1
+ require File.expand_path('../../test_helper', File.dirname(__FILE__))
2
+
3
+ class PageMarkdownTagTest < ActiveSupport::TestCase
4
+
5
+ def test_initialize_tag
6
+ assert tag = ComfortableMexicanSofa::Tag::PageMarkdown.initialize_tag(
7
+ cms_pages(:default), '{{ cms:page:content:markdown }}'
8
+ )
9
+ assert_equal 'content', tag.identifier
10
+ assert_nil tag.namespace
11
+ assert tag = ComfortableMexicanSofa::Tag::PageMarkdown.initialize_tag(
12
+ cms_pages(:default), '{{cms:page:content:markdown}}'
13
+ )
14
+ assert_equal 'content', tag.identifier
15
+ assert tag = ComfortableMexicanSofa::Tag::PageMarkdown.initialize_tag(
16
+ cms_pages(:default), '{{cms:page:dash-content:markdown}}'
17
+ )
18
+ assert_equal 'dash-content', tag.identifier
19
+ assert tag = ComfortableMexicanSofa::Tag::PageMarkdown.initialize_tag(
20
+ cms_pages(:default), '{{cms:page:namespace.content:markdown}}'
21
+ )
22
+ assert_equal 'namespace.content', tag.identifier
23
+ assert_equal 'namespace', tag.namespace
24
+ end
25
+
26
+ def test_initialize_tag_failure
27
+ [
28
+ '{{cms:page:content:not_markdown}}',
29
+ '{{cms:page:content}}',
30
+ '{{cms:not_page:content}}',
31
+ '{not_a_tag}'
32
+ ].each do |tag_signature|
33
+ assert_nil ComfortableMexicanSofa::Tag::PageMarkdown.initialize_tag(
34
+ cms_pages(:default), tag_signature
35
+ )
36
+ end
37
+ end
38
+
39
+ def test_content_and_render
40
+ tag = ComfortableMexicanSofa::Tag::PageMarkdown.initialize_tag(
41
+ cms_pages(:default), '{{cms:page:content:markdown}}'
42
+ )
43
+ assert tag.block.content.blank?
44
+ tag.block.content = '_test_content_'
45
+ assert_equal '_test_content_', tag.content
46
+ assert_equal "<p><em>test_content</em></p>\n", tag.render
47
+ end
48
+ end
metadata CHANGED
@@ -1,7 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: comfortable_mexican_sofa
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.31
4
+ version: 1.7.0
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Oleg Khabarov
@@ -9,137 +10,198 @@ authors:
9
10
  autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
12
- date: 2014-11-22 00:00:00.000000000 Z
13
+ date: 2013-03-01 00:00:00.000000000 Z
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
16
  name: rails
16
17
  requirement: !ruby/object:Gem::Requirement
18
+ none: false
17
19
  requirements:
18
- - - ">="
20
+ - - ! '>='
19
21
  - !ruby/object:Gem::Version
20
- version: 3.0.0
22
+ version: 3.1.0
21
23
  type: :runtime
22
24
  prerelease: false
23
25
  version_requirements: !ruby/object:Gem::Requirement
26
+ none: false
24
27
  requirements:
25
- - - ">="
28
+ - - ! '>='
26
29
  - !ruby/object:Gem::Version
27
- version: 3.0.0
30
+ version: 3.1.0
31
+ - !ruby/object:Gem::Dependency
32
+ name: formatted_form
33
+ requirement: !ruby/object:Gem::Requirement
34
+ none: false
35
+ requirements:
36
+ - - ! '>='
37
+ - !ruby/object:Gem::Version
38
+ version: 2.1.0
39
+ type: :runtime
40
+ prerelease: false
41
+ version_requirements: !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ! '>='
45
+ - !ruby/object:Gem::Version
46
+ version: 2.1.0
28
47
  - !ruby/object:Gem::Dependency
29
48
  name: active_link_to
30
49
  requirement: !ruby/object:Gem::Requirement
50
+ none: false
31
51
  requirements:
32
- - - "~>"
52
+ - - ! '>='
33
53
  - !ruby/object:Gem::Version
34
54
  version: 1.0.0
35
55
  type: :runtime
36
56
  prerelease: false
37
57
  version_requirements: !ruby/object:Gem::Requirement
58
+ none: false
38
59
  requirements:
39
- - - "~>"
60
+ - - ! '>='
40
61
  - !ruby/object:Gem::Version
41
62
  version: 1.0.0
42
63
  - !ruby/object:Gem::Dependency
43
64
  name: paperclip
44
65
  requirement: !ruby/object:Gem::Requirement
66
+ none: false
67
+ requirements:
68
+ - - ! '>='
69
+ - !ruby/object:Gem::Version
70
+ version: 3.4.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: 3.4.0
79
+ - !ruby/object:Gem::Dependency
80
+ name: redcarpet
81
+ requirement: !ruby/object:Gem::Requirement
82
+ none: false
83
+ requirements:
84
+ - - ! '>='
85
+ - !ruby/object:Gem::Version
86
+ version: 2.2.0
87
+ type: :runtime
88
+ prerelease: false
89
+ version_requirements: !ruby/object:Gem::Requirement
90
+ none: false
91
+ requirements:
92
+ - - ! '>='
93
+ - !ruby/object:Gem::Version
94
+ version: 2.2.0
95
+ - !ruby/object:Gem::Dependency
96
+ name: jquery-rails
97
+ requirement: !ruby/object:Gem::Requirement
98
+ none: false
99
+ requirements:
100
+ - - ! '>='
101
+ - !ruby/object:Gem::Version
102
+ version: 2.2.0
103
+ type: :runtime
104
+ prerelease: false
105
+ version_requirements: !ruby/object:Gem::Requirement
106
+ none: false
107
+ requirements:
108
+ - - ! '>='
109
+ - !ruby/object:Gem::Version
110
+ version: 2.2.0
111
+ - !ruby/object:Gem::Dependency
112
+ name: haml-rails
113
+ requirement: !ruby/object:Gem::Requirement
114
+ none: false
115
+ requirements:
116
+ - - ! '>='
117
+ - !ruby/object:Gem::Version
118
+ version: 0.3.0
119
+ type: :runtime
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ none: false
123
+ requirements:
124
+ - - ! '>='
125
+ - !ruby/object:Gem::Version
126
+ version: 0.3.0
127
+ - !ruby/object:Gem::Dependency
128
+ name: sass-rails
129
+ requirement: !ruby/object:Gem::Requirement
130
+ none: false
131
+ requirements:
132
+ - - ! '>='
133
+ - !ruby/object:Gem::Version
134
+ version: 3.1.0
135
+ type: :runtime
136
+ prerelease: false
137
+ version_requirements: !ruby/object:Gem::Requirement
138
+ none: false
139
+ requirements:
140
+ - - ! '>='
141
+ - !ruby/object:Gem::Version
142
+ version: 3.1.0
143
+ - !ruby/object:Gem::Dependency
144
+ name: coffee-rails
145
+ requirement: !ruby/object:Gem::Requirement
146
+ none: false
45
147
  requirements:
46
- - - ">="
148
+ - - ! '>='
47
149
  - !ruby/object:Gem::Version
48
- version: 2.3.0
150
+ version: 3.1.0
49
151
  type: :runtime
50
152
  prerelease: false
51
153
  version_requirements: !ruby/object:Gem::Requirement
154
+ none: false
52
155
  requirements:
53
- - - ">="
156
+ - - ! '>='
54
157
  - !ruby/object:Gem::Version
55
- version: 2.3.0
56
- description: CMS Engine for Rails 3 apps
57
- email:
58
- - oleg@khabarov.ca
158
+ version: 3.1.0
159
+ description: ''
160
+ email: oleg@theworkinggroup.ca
59
161
  executables: []
60
162
  extensions: []
61
- extra_rdoc_files: []
163
+ extra_rdoc_files:
164
+ - LICENSE
165
+ - README.md
62
166
  files:
63
- - ".gitignore"
64
- - ".travis.yml"
167
+ - .travis.yml
65
168
  - Gemfile
66
169
  - LICENSE
67
170
  - README.md
68
171
  - Rakefile
172
+ - VERSION
69
173
  - app/assets/images/comfortable_mexican_sofa/arrow_bottom.gif
70
174
  - app/assets/images/comfortable_mexican_sofa/arrow_right.gif
175
+ - app/assets/images/comfortable_mexican_sofa/bootstrap/glyphicons-halflings-white.png
176
+ - app/assets/images/comfortable_mexican_sofa/bootstrap/glyphicons-halflings.png
71
177
  - app/assets/images/comfortable_mexican_sofa/checkerboard.gif
72
- - app/assets/images/comfortable_mexican_sofa/elrte/elrte-toolbar.png
73
- - app/assets/images/comfortable_mexican_sofa/elrte/google-maps.png
74
- - app/assets/images/comfortable_mexican_sofa/elrte/iframe.png
75
- - app/assets/images/comfortable_mexican_sofa/elrte/media-director.png
76
- - app/assets/images/comfortable_mexican_sofa/elrte/media-flash.png
77
- - app/assets/images/comfortable_mexican_sofa/elrte/media-quicktime.png
78
- - app/assets/images/comfortable_mexican_sofa/elrte/media-realaudio.png
79
- - app/assets/images/comfortable_mexican_sofa/elrte/media-rutube.png
80
- - app/assets/images/comfortable_mexican_sofa/elrte/media-vimeo.png
81
- - app/assets/images/comfortable_mexican_sofa/elrte/media-winmedia.png
82
- - app/assets/images/comfortable_mexican_sofa/elrte/media-youtube.png
83
- - app/assets/images/comfortable_mexican_sofa/elrte/outline-div.png
84
- - app/assets/images/comfortable_mexican_sofa/elrte/outline-p.png
85
- - app/assets/images/comfortable_mexican_sofa/elrte/pagebreak.gif
86
- - app/assets/images/comfortable_mexican_sofa/elrte/pixel.gif
87
- - app/assets/images/comfortable_mexican_sofa/elrte/smileys/evilgrin.png
88
- - app/assets/images/comfortable_mexican_sofa/elrte/smileys/grin.png
89
- - app/assets/images/comfortable_mexican_sofa/elrte/smileys/happy.png
90
- - app/assets/images/comfortable_mexican_sofa/elrte/smileys/smile.png
91
- - app/assets/images/comfortable_mexican_sofa/elrte/smileys/surprised.png
92
- - app/assets/images/comfortable_mexican_sofa/elrte/smileys/tongue.png
93
- - app/assets/images/comfortable_mexican_sofa/elrte/smileys/unhappy.png
94
- - app/assets/images/comfortable_mexican_sofa/elrte/smileys/waii.png
95
- - app/assets/images/comfortable_mexican_sofa/elrte/smileys/wink.png
96
178
  - app/assets/images/comfortable_mexican_sofa/icon_draft.gif
179
+ - app/assets/images/comfortable_mexican_sofa/icon_file.gif
97
180
  - app/assets/images/comfortable_mexican_sofa/icon_layout.gif
98
181
  - app/assets/images/comfortable_mexican_sofa/icon_move.gif
99
- - app/assets/images/comfortable_mexican_sofa/icon_regular.gif
182
+ - app/assets/images/comfortable_mexican_sofa/icon_page.gif
183
+ - app/assets/images/comfortable_mexican_sofa/icon_site.gif
100
184
  - app/assets/images/comfortable_mexican_sofa/icon_snippet.gif
101
- - app/assets/images/comfortable_mexican_sofa/jquery_ui/ui-bg_flat_0_aaaaaa_40x100.png
102
- - app/assets/images/comfortable_mexican_sofa/jquery_ui/ui-bg_flat_75_ffffff_40x100.png
103
- - app/assets/images/comfortable_mexican_sofa/jquery_ui/ui-bg_glass_55_fbf9ee_1x400.png
104
- - app/assets/images/comfortable_mexican_sofa/jquery_ui/ui-bg_glass_65_ffffff_1x400.png
105
- - app/assets/images/comfortable_mexican_sofa/jquery_ui/ui-bg_glass_75_dadada_1x400.png
106
- - app/assets/images/comfortable_mexican_sofa/jquery_ui/ui-bg_glass_75_e6e6e6_1x400.png
107
- - app/assets/images/comfortable_mexican_sofa/jquery_ui/ui-bg_glass_95_fef1ec_1x400.png
108
- - app/assets/images/comfortable_mexican_sofa/jquery_ui/ui-bg_highlight-soft_75_cccccc_1x100.png
109
- - app/assets/images/comfortable_mexican_sofa/jquery_ui/ui-bg_inset-soft_95_fef1ec_1x100.png
110
- - app/assets/images/comfortable_mexican_sofa/jquery_ui/ui-icons_222222_256x240.png
111
- - app/assets/images/comfortable_mexican_sofa/jquery_ui/ui-icons_2e83ff_256x240.png
112
- - app/assets/images/comfortable_mexican_sofa/jquery_ui/ui-icons_454545_256x240.png
113
- - app/assets/images/comfortable_mexican_sofa/jquery_ui/ui-icons_888888_256x240.png
114
- - app/assets/images/comfortable_mexican_sofa/jquery_ui/ui-icons_cd0a0a_256x240.png
115
185
  - app/assets/images/comfortable_mexican_sofa/nav_arrow.png
116
- - app/assets/images/comfortable_mexican_sofa/x.png
117
186
  - app/assets/javascripts/comfortable_mexican_sofa/application.js
118
- - app/assets/javascripts/comfortable_mexican_sofa/codemirror/codemirror.js
119
- - app/assets/javascripts/comfortable_mexican_sofa/elrte/elrte.codemirror.js
120
- - app/assets/javascripts/comfortable_mexican_sofa/elrte/elrte.js
121
- - app/assets/javascripts/comfortable_mexican_sofa/elrte/elrte.sofa_image.js
122
- - app/assets/javascripts/comfortable_mexican_sofa/elrte/elrte.sofa_link.js
123
- - app/assets/javascripts/comfortable_mexican_sofa/jquery.js
124
- - app/assets/javascripts/comfortable_mexican_sofa/jquery_ui.js
125
- - app/assets/javascripts/comfortable_mexican_sofa/jquery_ui_timepicker.js
126
- - app/assets/javascripts/comfortable_mexican_sofa/rails.js
127
- - app/assets/stylesheets/comfortable_mexican_sofa/application.css
128
- - app/assets/stylesheets/comfortable_mexican_sofa/codemirror.css
129
- - app/assets/stylesheets/comfortable_mexican_sofa/content.css
130
- - app/assets/stylesheets/comfortable_mexican_sofa/dialogs.css
131
- - app/assets/stylesheets/comfortable_mexican_sofa/elrte.css
132
- - app/assets/stylesheets/comfortable_mexican_sofa/files.css
133
- - app/assets/stylesheets/comfortable_mexican_sofa/form.css
134
- - app/assets/stylesheets/comfortable_mexican_sofa/jquery_ui.css
135
- - app/assets/stylesheets/comfortable_mexican_sofa/reset.css
136
- - app/assets/stylesheets/comfortable_mexican_sofa/structure.css
137
- - app/assets/stylesheets/comfortable_mexican_sofa/typography.css
138
- - app/assets/stylesheets/comfortable_mexican_sofa/widgets.css
187
+ - app/assets/javascripts/comfortable_mexican_sofa/lib/bootstrap-datetimepicker.js
188
+ - app/assets/javascripts/comfortable_mexican_sofa/lib/bootstrap-wysihtml5.js
189
+ - app/assets/javascripts/comfortable_mexican_sofa/lib/bootstrap.js
190
+ - app/assets/javascripts/comfortable_mexican_sofa/lib/codemirror.js
191
+ - app/assets/javascripts/comfortable_mexican_sofa/lib/wysihtml5.js
192
+ - app/assets/stylesheets/comfortable_mexican_sofa/application.css.sass
193
+ - app/assets/stylesheets/comfortable_mexican_sofa/base.css.sass
194
+ - app/assets/stylesheets/comfortable_mexican_sofa/base_overrides.css.sass
195
+ - app/assets/stylesheets/comfortable_mexican_sofa/bootstrap_overrides.css.sass
196
+ - app/assets/stylesheets/comfortable_mexican_sofa/codemirror_overrides.css.sass
197
+ - app/assets/stylesheets/comfortable_mexican_sofa/lib/bootstrap-datetimepicker.css
198
+ - app/assets/stylesheets/comfortable_mexican_sofa/lib/bootstrap-wysihtml5.css
199
+ - app/assets/stylesheets/comfortable_mexican_sofa/lib/bootstrap.css
200
+ - app/assets/stylesheets/comfortable_mexican_sofa/lib/codemirror.css
201
+ - app/assets/stylesheets/comfortable_mexican_sofa/wysihtml5_overrides.css.sass
139
202
  - app/controllers/application_controller.rb
140
203
  - app/controllers/cms_admin/base_controller.rb
141
204
  - app/controllers/cms_admin/categories_controller.rb
142
- - app/controllers/cms_admin/dialogs_controller.rb
143
205
  - app/controllers/cms_admin/files_controller.rb
144
206
  - app/controllers/cms_admin/layouts_controller.rb
145
207
  - app/controllers/cms_admin/pages_controller.rb
@@ -156,56 +218,54 @@ files:
156
218
  - app/models/cms/revision.rb
157
219
  - app/models/cms/site.rb
158
220
  - app/models/cms/snippet.rb
159
- - app/views/cms_admin/categories/_categories.html.erb
160
- - app/views/cms_admin/categories/_edit.html.erb
161
- - app/views/cms_admin/categories/_form.html.erb
162
- - app/views/cms_admin/categories/_index.html.erb
163
- - app/views/cms_admin/categories/_show.html.erb
221
+ - app/views/cms_admin/categories/_categories.html.haml
222
+ - app/views/cms_admin/categories/_edit.html.haml
223
+ - app/views/cms_admin/categories/_form.html.haml
224
+ - app/views/cms_admin/categories/_index.html.haml
225
+ - app/views/cms_admin/categories/_show.html.haml
164
226
  - app/views/cms_admin/categories/create.js.erb
165
227
  - app/views/cms_admin/categories/destroy.js.erb
166
228
  - app/views/cms_admin/categories/edit.js.erb
167
229
  - app/views/cms_admin/categories/update.js.erb
168
- - app/views/cms_admin/dialogs/image.html.erb
169
- - app/views/cms_admin/dialogs/link.html.erb
170
- - app/views/cms_admin/files/_file.html.erb
171
- - app/views/cms_admin/files/_form.html.erb
172
- - app/views/cms_admin/files/_index.html.erb
173
- - app/views/cms_admin/files/_page_form.html.erb
230
+ - app/views/cms_admin/files/_file.html.haml
231
+ - app/views/cms_admin/files/_form.html.haml
232
+ - app/views/cms_admin/files/_index.html.haml
233
+ - app/views/cms_admin/files/_page_form.html.haml
174
234
  - app/views/cms_admin/files/create.js.erb
175
235
  - app/views/cms_admin/files/destroy.js.erb
176
- - app/views/cms_admin/files/edit.html.erb
177
- - app/views/cms_admin/files/index.html.erb
178
- - app/views/cms_admin/files/new.html.erb
179
- - app/views/cms_admin/layouts/_form.html.erb
180
- - app/views/cms_admin/layouts/_index_branch.html.erb
181
- - app/views/cms_admin/layouts/edit.html.erb
182
- - app/views/cms_admin/layouts/index.html.erb
183
- - app/views/cms_admin/layouts/new.html.erb
184
- - app/views/cms_admin/pages/_form.html.erb
185
- - app/views/cms_admin/pages/_form_blocks.html.erb
186
- - app/views/cms_admin/pages/_index_branch.html.erb
187
- - app/views/cms_admin/pages/edit.html.erb
236
+ - app/views/cms_admin/files/edit.html.haml
237
+ - app/views/cms_admin/files/index.html.haml
238
+ - app/views/cms_admin/files/new.html.haml
239
+ - app/views/cms_admin/layouts/_form.html.haml
240
+ - app/views/cms_admin/layouts/_index_branch.html.haml
241
+ - app/views/cms_admin/layouts/edit.html.haml
242
+ - app/views/cms_admin/layouts/index.html.haml
243
+ - app/views/cms_admin/layouts/new.html.haml
244
+ - app/views/cms_admin/pages/_form.html.haml
245
+ - app/views/cms_admin/pages/_form_blocks.html.haml
246
+ - app/views/cms_admin/pages/_index_branch.html.haml
247
+ - app/views/cms_admin/pages/edit.html.haml
188
248
  - app/views/cms_admin/pages/form_blocks.js.erb
189
- - app/views/cms_admin/pages/index.html.erb
190
- - app/views/cms_admin/pages/new.html.erb
249
+ - app/views/cms_admin/pages/index.html.haml
250
+ - app/views/cms_admin/pages/new.html.haml
191
251
  - app/views/cms_admin/pages/toggle_branch.js.erb
192
- - app/views/cms_admin/revisions/show.html.erb
193
- - app/views/cms_admin/sites/_form.html.erb
194
- - app/views/cms_admin/sites/_mirrors.html.erb
195
- - app/views/cms_admin/sites/edit.html.erb
196
- - app/views/cms_admin/sites/index.html.erb
197
- - app/views/cms_admin/sites/new.html.erb
198
- - app/views/cms_admin/snippets/_form.html.erb
199
- - app/views/cms_admin/snippets/edit.html.erb
200
- - app/views/cms_admin/snippets/index.html.erb
201
- - app/views/cms_admin/snippets/new.html.erb
252
+ - app/views/cms_admin/revisions/show.html.haml
253
+ - app/views/cms_admin/sites/_form.html.haml
254
+ - app/views/cms_admin/sites/_mirrors.html.haml
255
+ - app/views/cms_admin/sites/edit.html.haml
256
+ - app/views/cms_admin/sites/index.html.haml
257
+ - app/views/cms_admin/sites/new.html.haml
258
+ - app/views/cms_admin/snippets/_form.html.haml
259
+ - app/views/cms_admin/snippets/edit.html.haml
260
+ - app/views/cms_admin/snippets/index.html.haml
261
+ - app/views/cms_admin/snippets/new.html.haml
202
262
  - app/views/cms_content/render_sitemap.xml.builder
203
- - app/views/layouts/cms_admin.html.erb
204
- - app/views/layouts/cms_admin/_body.html.erb
205
- - app/views/layouts/cms_admin/_center.html.erb
206
- - app/views/layouts/cms_admin/_head.html.erb
207
- - app/views/layouts/cms_admin/_left.html.erb
208
- - app/views/layouts/cms_admin/_right.html.erb
263
+ - app/views/layouts/cms_admin.html.haml
264
+ - app/views/layouts/cms_admin/_body.html.haml
265
+ - app/views/layouts/cms_admin/_center.html.haml
266
+ - app/views/layouts/cms_admin/_head.html.haml
267
+ - app/views/layouts/cms_admin/_left.html.haml
268
+ - app/views/layouts/cms_admin/_right.html.haml
209
269
  - comfortable_mexican_sofa.gemspec
210
270
  - config.ru
211
271
  - config/application.rb
@@ -282,6 +342,7 @@ files:
282
342
  - lib/comfortable_mexican_sofa/tags/page_file.rb
283
343
  - lib/comfortable_mexican_sofa/tags/page_files.rb
284
344
  - lib/comfortable_mexican_sofa/tags/page_integer.rb
345
+ - lib/comfortable_mexican_sofa/tags/page_markdown.rb
285
346
  - lib/comfortable_mexican_sofa/tags/page_rich_text.rb
286
347
  - lib/comfortable_mexican_sofa/tags/page_string.rb
287
348
  - lib/comfortable_mexican_sofa/tags/page_text.rb
@@ -314,7 +375,6 @@ files:
314
375
  - test/fixtures/views/render_test/render_layout.html.erb
315
376
  - test/functional/cms_admin/base_controller_test.rb
316
377
  - test/functional/cms_admin/categories_controller_test.rb
317
- - test/functional/cms_admin/dialogs_controller_test.rb
318
378
  - test/functional/cms_admin/files_controller_test.rb
319
379
  - test/functional/cms_admin/layouts_controller_test.rb
320
380
  - test/functional/cms_admin/pages_controller_test.rb
@@ -322,9 +382,9 @@ files:
322
382
  - test/functional/cms_admin/sites_controller_test.rb
323
383
  - test/functional/cms_admin/snippets_controller_test.rb
324
384
  - test/functional/cms_content_controller_test.rb
325
- - test/gemfiles/Gemfile.rails.3.0
326
385
  - test/gemfiles/Gemfile.rails.3.1
327
386
  - test/gemfiles/Gemfile.rails.3.2
387
+ - test/gemfiles/Gemfile.rails.4.0
328
388
  - test/integration/authentication_test.rb
329
389
  - test/integration/fixtures_test.rb
330
390
  - test/integration/mirrors_test.rb
@@ -335,7 +395,6 @@ files:
335
395
  - test/test_helper.rb
336
396
  - test/unit/configuration_test.rb
337
397
  - test/unit/fixtures_test.rb
338
- - test/unit/form_builder_test.rb
339
398
  - test/unit/mirrors_test.rb
340
399
  - test/unit/models/block_test.rb
341
400
  - test/unit/models/categorization_test.rb
@@ -361,6 +420,7 @@ files:
361
420
  - test/unit/tags/page_file_test.rb
362
421
  - test/unit/tags/page_files_test.rb
363
422
  - test/unit/tags/page_integer_test.rb
423
+ - test/unit/tags/page_markdown_test.rb
364
424
  - test/unit/tags/page_rich_text_test.rb
365
425
  - test/unit/tags/page_string_test.rb
366
426
  - test/unit/tags/page_text_test.rb
@@ -369,25 +429,29 @@ files:
369
429
  - test/unit/view_methods_test.rb
370
430
  homepage: http://github.com/comfy/comfortable-mexican-sofa
371
431
  licenses: []
372
- metadata: {}
373
432
  post_install_message:
374
433
  rdoc_options: []
375
434
  require_paths:
376
435
  - lib
377
436
  required_ruby_version: !ruby/object:Gem::Requirement
437
+ none: false
378
438
  requirements:
379
- - - ">="
439
+ - - ! '>='
380
440
  - !ruby/object:Gem::Version
381
441
  version: '0'
442
+ segments:
443
+ - 0
444
+ hash: -1514763598154326384
382
445
  required_rubygems_version: !ruby/object:Gem::Requirement
446
+ none: false
383
447
  requirements:
384
- - - ">="
448
+ - - ! '>='
385
449
  - !ruby/object:Gem::Version
386
450
  version: '0'
387
451
  requirements: []
388
- rubyforge_project: "[none]"
389
- rubygems_version: 2.2.2
452
+ rubyforge_project:
453
+ rubygems_version: 1.8.23
390
454
  signing_key:
391
- specification_version: 4
392
- summary: CMS Engine for Rails 3 apps
455
+ specification_version: 3
456
+ summary: ComfortableMexicanSofa is a powerful CMS Engine for Ruby on Rails 3 applications
393
457
  test_files: []