kiteditor 1.0.12 → 1.0.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (289) hide show
  1. data/{lib/generators/mercury/install/images/templates → app/controllers/mercury}/images_controller.rb +0 -0
  2. data/{lib/generators/mercury/install/images/templates/ar_paperclip_image.rb → app/models/mercury/image.rb} +0 -7
  3. data/app/views/layouts/mercury.html.erb +20 -10
  4. data/app/views/mercury/modals/character.html +1 -1
  5. data/app/views/mercury/modals/htmleditor.html +7 -3
  6. data/app/views/mercury/modals/link.html +51 -37
  7. data/app/views/mercury/modals/media.html +0 -102
  8. data/app/views/mercury/modals/table.html +73 -79
  9. data/app/views/mercury/panels/snippets.html +1 -6
  10. data/app/views/mercury/snippets/example/options.html.erb +27 -23
  11. data/{lib/generators/mercury/install/images/templates/ar_paperclip_image_migration.rb → db/migrate/20110526035601_create_mercury_images.rb} +0 -0
  12. data/features/loading/loading.feature +2 -5
  13. data/features/loading/user_interface.feature +7 -9
  14. data/features/regions/{full → editable}/advanced_editing.feature +0 -0
  15. data/features/regions/editable/basic_editing.feature +195 -0
  16. data/features/regions/{full → editable}/inserting_links.feature +19 -20
  17. data/features/regions/{full → editable}/inserting_media.feature +18 -36
  18. data/features/regions/{full → editable}/inserting_snippets.feature +18 -28
  19. data/features/regions/{full → editable}/inserting_special_characters.feature +2 -2
  20. data/features/regions/editable/inserting_tables.feature +109 -0
  21. data/features/regions/{full → editable}/pasting.feature +0 -0
  22. data/features/regions/{full → editable}/uploading_images.feature +0 -0
  23. data/features/regions/{markdown → markupable}/advanced_editing.feature +0 -0
  24. data/features/regions/{markdown → markupable}/basic_editing.feature +0 -0
  25. data/features/regions/{markdown → markupable}/inserting_links.feature +0 -0
  26. data/features/regions/{markdown → markupable}/inserting_media.feature +0 -0
  27. data/features/regions/{markdown → markupable}/inserting_snippets.feature +0 -0
  28. data/features/regions/{markdown → markupable}/inserting_special_characters.feature +0 -0
  29. data/features/regions/{markdown → markupable}/inserting_tables.feature +0 -0
  30. data/features/regions/{image → markupable}/uploading_images.feature +0 -0
  31. data/features/regions/{snippets → snippetable}/advanced_editing.feature +0 -0
  32. data/features/regions/{snippets → snippetable}/basic_editing.feature +0 -0
  33. data/features/regions/{snippets → snippetable}/inserting_snippets.feature +0 -0
  34. data/features/saving/saving.feature +8 -8
  35. data/features/step_definitions/mercury_steps.rb +438 -1
  36. data/features/support/env.rb +1 -11
  37. data/{lib/mercury/cucumber → features}/support/mercury_contents.rb +3 -3
  38. data/{lib/mercury/cucumber → features}/support/mercury_selectors.rb +20 -0
  39. data/features/support/selectors.rb +0 -23
  40. data/lib/generators/mercury/install/install_generator.rb +23 -12
  41. data/lib/generators/mercury/install/{images/templates → templates}/mongoid_paperclip_image.rb +0 -0
  42. data/lib/mercury/authentication.rb +0 -1
  43. data/lib/mercury-rails.rb +2 -1
  44. data/spec/javascripts/mercury/{dialog_spec.coffee → dialog_spec.js.coffee} +12 -11
  45. data/spec/javascripts/mercury/dialogs/backcolor_spec.js.coffee +3 -2
  46. data/spec/javascripts/mercury/dialogs/forecolor_spec.js.coffee +4 -3
  47. data/spec/javascripts/mercury/dialogs/formatblock_spec.js.coffee +3 -2
  48. data/spec/javascripts/mercury/dialogs/snippetpanel_spec.js.coffee +3 -2
  49. data/spec/javascripts/mercury/dialogs/style_spec.js.coffee +3 -2
  50. data/spec/javascripts/mercury/lightview_spec.js.coffee +142 -180
  51. data/spec/javascripts/mercury/mercury_spec.js.coffee +13 -19
  52. data/spec/javascripts/mercury/modal_spec.js.coffee +148 -192
  53. data/spec/javascripts/mercury/modals/htmleditor_spec.js.coffee +5 -4
  54. data/spec/javascripts/mercury/modals/insertcharacter_spec.js.coffee +3 -2
  55. data/spec/javascripts/mercury/modals/insertlink_spec.js.coffee +34 -107
  56. data/spec/javascripts/mercury/modals/insertmedia_spec.js.coffee +26 -106
  57. data/spec/javascripts/mercury/modals/insertsnippet_spec.js.coffee +3 -2
  58. data/spec/javascripts/mercury/modals/inserttable_spec.js.coffee +40 -50
  59. data/spec/javascripts/mercury/page_editor_spec.js.coffee +80 -124
  60. data/spec/javascripts/mercury/palette_spec.js.coffee +5 -4
  61. data/spec/javascripts/mercury/panel_spec.js.coffee +12 -9
  62. data/spec/javascripts/mercury/region_spec.js.coffee +17 -22
  63. data/spec/javascripts/mercury/regions/{full_spec.js.coffee → editable_spec.js.coffee} +28 -26
  64. data/spec/javascripts/mercury/regions/{markdown_spec.js.coffee → markupable_spec.js.coffee} +34 -32
  65. data/spec/javascripts/mercury/regions/{snippets_spec.js.coffee → snippetable_spec.js.coffee} +55 -54
  66. data/spec/javascripts/mercury/select_spec.js.coffee +5 -4
  67. data/spec/javascripts/mercury/snippet_spec.js.coffee +16 -92
  68. data/spec/javascripts/mercury/snippet_toolbar_spec.js.coffee +16 -31
  69. data/spec/javascripts/mercury/statusbar_spec.js.coffee +10 -9
  70. data/spec/javascripts/mercury/table_editor_spec.js.coffee +2 -1
  71. data/spec/javascripts/mercury/toolbar.button_group_spec.js.coffee +9 -7
  72. data/spec/javascripts/mercury/toolbar.button_spec.js.coffee +26 -55
  73. data/spec/javascripts/mercury/toolbar.expander_spec.js.coffee +13 -13
  74. data/spec/javascripts/mercury/toolbar_spec.js.coffee +14 -43
  75. data/spec/javascripts/mercury/tooltip_spec.js.coffee +2 -1
  76. data/spec/javascripts/mercury/uploader_spec.js.coffee +33 -47
  77. data/spec/javascripts/{support/event_simulation.js → spec_helper.js} +2 -0
  78. data/spec/javascripts/{fixtures → templates}/mercury/dialog.html +0 -0
  79. data/spec/javascripts/{fixtures → templates}/mercury/dialogs/backcolor.html +0 -0
  80. data/spec/javascripts/{fixtures → templates}/mercury/dialogs/forecolor.html +0 -0
  81. data/spec/javascripts/{fixtures → templates}/mercury/dialogs/formatblock.html +0 -0
  82. data/spec/javascripts/{fixtures → templates}/mercury/dialogs/snippetpanel.html +0 -0
  83. data/spec/javascripts/{fixtures → templates}/mercury/dialogs/style.html +0 -0
  84. data/spec/javascripts/{fixtures → templates}/mercury/lightview.html +0 -0
  85. data/spec/javascripts/{fixtures → templates}/mercury/modal.html +0 -0
  86. data/spec/javascripts/{fixtures → templates}/mercury/modals/htmleditor.html +0 -0
  87. data/spec/javascripts/{fixtures → templates}/mercury/modals/insertcharacter.html +0 -0
  88. data/spec/javascripts/templates/mercury/modals/insertlink.html +30 -0
  89. data/spec/javascripts/templates/mercury/modals/insertmedia.html +35 -0
  90. data/spec/javascripts/{fixtures → templates}/mercury/modals/insertsnippet.html +0 -0
  91. data/spec/javascripts/templates/mercury/modals/inserttable.html +27 -0
  92. data/spec/javascripts/{fixtures → templates}/mercury/page_editor.html +4 -4
  93. data/spec/javascripts/{fixtures → templates}/mercury/palette.html +0 -0
  94. data/spec/javascripts/{fixtures → templates}/mercury/panel.html +0 -0
  95. data/spec/javascripts/templates/mercury/region.html +2 -0
  96. data/spec/javascripts/templates/mercury/regions/editable.html +3 -0
  97. data/spec/javascripts/templates/mercury/regions/snippetable.html +4 -0
  98. data/spec/javascripts/{fixtures → templates}/mercury/select.html +0 -0
  99. data/spec/javascripts/{fixtures → templates}/mercury/snippet.html +0 -0
  100. data/spec/javascripts/{fixtures → templates}/mercury/snippet_toolbar.html +0 -0
  101. data/spec/javascripts/{fixtures → templates}/mercury/statusbar.html +0 -0
  102. data/spec/javascripts/{fixtures → templates}/mercury/table_editor.html +0 -0
  103. data/spec/javascripts/{fixtures → templates}/mercury/toolbar.button.html +0 -0
  104. data/spec/javascripts/{fixtures → templates}/mercury/toolbar.button_group.html +0 -0
  105. data/spec/javascripts/{fixtures → templates}/mercury/toolbar.expander.html +0 -0
  106. data/spec/javascripts/{fixtures → templates}/mercury/toolbar.html +0 -0
  107. data/spec/javascripts/{fixtures → templates}/mercury/tooltip.html +0 -0
  108. data/spec/javascripts/{fixtures → templates}/mercury/uploader.html +0 -0
  109. data/{app → vendor}/assets/images/mercury/button.png +0 -0
  110. data/{app → vendor}/assets/images/mercury/close.png +0 -0
  111. data/{app → vendor}/assets/images/mercury/loading-dark.gif +0 -0
  112. data/{app → vendor}/assets/images/mercury/loading-light.gif +0 -0
  113. data/{app → vendor}/assets/images/mercury/missing-image.png +0 -0
  114. data/{app → vendor}/assets/images/mercury/search-icon.png +0 -0
  115. data/{app → vendor}/assets/images/mercury/temp-logo.png +0 -0
  116. data/{app/assets/javascripts → vendor/assets/javascripts/mercury/dependencies}/jquery-1.7.js +0 -0
  117. data/{app → vendor}/assets/javascripts/mercury/dependencies/jquery-ui-1.8.13.custom.js +0 -0
  118. data/{app → vendor}/assets/javascripts/mercury/dependencies/jquery.additions.js +13 -103
  119. data/{app → vendor}/assets/javascripts/mercury/dependencies/jquery.htmlClean.js +0 -0
  120. data/{app → vendor}/assets/javascripts/mercury/dependencies/liquidmetal.js +0 -0
  121. data/{app → vendor}/assets/javascripts/mercury/dependencies/showdown.js +0 -0
  122. data/{app → vendor}/assets/javascripts/mercury/dialog.js.coffee +0 -0
  123. data/{app → vendor}/assets/javascripts/mercury/dialogs/backcolor.js.coffee +0 -0
  124. data/{app → vendor}/assets/javascripts/mercury/dialogs/forecolor.js.coffee +1 -1
  125. data/{app → vendor}/assets/javascripts/mercury/dialogs/formatblock.js.coffee +0 -0
  126. data/{app → vendor}/assets/javascripts/mercury/dialogs/snippetpanel.js.coffee +1 -1
  127. data/{app → vendor}/assets/javascripts/mercury/dialogs/style.js.coffee +0 -0
  128. data/{app → vendor}/assets/javascripts/mercury/finalize.js.coffee +0 -0
  129. data/{app → vendor}/assets/javascripts/mercury/history_buffer.js.coffee +0 -0
  130. data/{app → vendor}/assets/javascripts/mercury/lightview.js.coffee +17 -38
  131. data/{features/regions/markdown/uploading_images.feature → vendor/assets/javascripts/mercury/locales/da.locale.js.coffee} +0 -0
  132. data/{app → vendor}/assets/javascripts/mercury/locales/de.locale.js.coffee +10 -4
  133. data/{app → vendor}/assets/javascripts/mercury/locales/es.locale.js.coffee +9 -3
  134. data/{app → vendor}/assets/javascripts/mercury/locales/example.local.js.coffee +5 -3
  135. data/{app → vendor}/assets/javascripts/mercury/locales/fr.locale.js.coffee +9 -3
  136. data/{app → vendor}/assets/javascripts/mercury/locales/it.locale.js.coffee +9 -3
  137. data/{app → vendor}/assets/javascripts/mercury/locales/ko.local.js.coffee +10 -4
  138. data/{app → vendor}/assets/javascripts/mercury/locales/nl.locale.js.coffee +9 -3
  139. data/{app → vendor}/assets/javascripts/mercury/locales/pt.locale.js.coffee +9 -3
  140. data/{app → vendor}/assets/javascripts/mercury/locales/sv.local.js.coffee +9 -3
  141. data/{app → vendor}/assets/javascripts/mercury/locales/swedish_chef.locale.js.coffee +9 -3
  142. data/{app → vendor}/assets/javascripts/mercury/mercury.js.coffee +1 -10
  143. data/{app → vendor}/assets/javascripts/mercury/modal.js.coffee +40 -62
  144. data/{app → vendor}/assets/javascripts/mercury/modals/htmleditor.js.coffee +2 -3
  145. data/{app → vendor}/assets/javascripts/mercury/modals/insertcharacter.js.coffee +0 -1
  146. data/{app → vendor}/assets/javascripts/mercury/modals/insertsnippet.js.coffee +0 -2
  147. data/vendor/assets/javascripts/mercury/modals/inserttable.js.coffee +54 -0
  148. data/{app → vendor}/assets/javascripts/mercury/native_extensions.js.coffee +6 -0
  149. data/{app → vendor}/assets/javascripts/mercury/page_editor.js.coffee +50 -84
  150. data/{app → vendor}/assets/javascripts/mercury/palette.js.coffee +1 -1
  151. data/{app → vendor}/assets/javascripts/mercury/panel.js.coffee +2 -3
  152. data/{app → vendor}/assets/javascripts/mercury/plugins/save_as_xml/mercury/page_editor.js.coffee +2 -2
  153. data/{app → vendor}/assets/javascripts/mercury/plugins/save_as_xml/plugin.js +0 -0
  154. data/{app → vendor}/assets/javascripts/mercury/region.js.coffee +17 -18
  155. data/{app/assets/javascripts/mercury/regions/full.js.coffee → vendor/assets/javascripts/mercury/regions/editable.js.coffee} +31 -41
  156. data/{app/assets/javascripts/mercury/regions/markdown.js.coffee → vendor/assets/javascripts/mercury/regions/markupable.js.coffee} +24 -29
  157. data/{app → vendor}/assets/javascripts/mercury/regions/simple.js.coffee +54 -11
  158. data/{app/assets/javascripts/mercury/regions/snippets.js.coffee → vendor/assets/javascripts/mercury/regions/snippetable.js.coffee} +9 -10
  159. data/{app → vendor}/assets/javascripts/mercury/select.js.coffee +1 -1
  160. data/{app → vendor}/assets/javascripts/mercury/snippet_toolbar.js.coffee +6 -19
  161. data/{app → vendor}/assets/javascripts/mercury/statusbar.js.coffee +0 -0
  162. data/{app → vendor}/assets/javascripts/mercury/support/history.js +0 -0
  163. data/{app → vendor}/assets/javascripts/mercury/table_editor.js.coffee +0 -16
  164. data/{app → vendor}/assets/javascripts/mercury/toolbar.button.js.coffee +30 -45
  165. data/{app → vendor}/assets/javascripts/mercury/toolbar.button_group.js.coffee +2 -2
  166. data/{app → vendor}/assets/javascripts/mercury/toolbar.expander.js.coffee +4 -4
  167. data/{app → vendor}/assets/javascripts/mercury/toolbar.js.coffee +6 -10
  168. data/{app → vendor}/assets/javascripts/mercury/tooltip.js.coffee +0 -0
  169. data/{app → vendor}/assets/javascripts/mercury/uploader.js.coffee +19 -37
  170. data/{app → vendor}/assets/javascripts/mercury.js +87 -60
  171. data/vendor/assets/javascripts/mercury_loader.js +193 -0
  172. data/vendor/assets/javascripts/mercury_overrides.js +6 -0
  173. data/{app → vendor}/assets/stylesheets/mercury/all_images.css.erb +2 -6
  174. data/{app → vendor}/assets/stylesheets/mercury/dialog.css +8 -21
  175. data/{app → vendor}/assets/stylesheets/mercury/lightview.css +56 -6
  176. data/vendor/assets/stylesheets/mercury/mercury.css +151 -0
  177. data/{app → vendor}/assets/stylesheets/mercury/modal.css +32 -15
  178. data/{app → vendor}/assets/stylesheets/mercury/statusbar.css +0 -0
  179. data/{app → vendor}/assets/stylesheets/mercury/toolbar.css +1 -4
  180. data/{app → vendor}/assets/stylesheets/mercury/tooltip.css +0 -0
  181. data/{app → vendor}/assets/stylesheets/mercury/uploader.css +4 -4
  182. data/{app → vendor}/assets/stylesheets/mercury.css +5 -1
  183. data/vendor/assets/stylesheets/mercury_overrides.css +17 -0
  184. metadata +197 -367
  185. data/POST_INSTALL +0 -21
  186. data/app/assets/images/mercury/default-snippet.png +0 -0
  187. data/app/assets/images/mercury/toolbar/editable/buttons.png +0 -0
  188. data/app/assets/images/mercury/toolbar/primary/_expander.png +0 -0
  189. data/app/assets/images/mercury/toolbar/primary/_pressed.png +0 -0
  190. data/app/assets/images/mercury/toolbar/primary/action.png +0 -0
  191. data/app/assets/images/mercury/toolbar/primary/historypanel.png +0 -0
  192. data/app/assets/images/mercury/toolbar/primary/insertcharacter.png +0 -0
  193. data/app/assets/images/mercury/toolbar/primary/insertlink.png +0 -0
  194. data/app/assets/images/mercury/toolbar/primary/insertmedia.png +0 -0
  195. data/app/assets/images/mercury/toolbar/primary/inserttable.png +0 -0
  196. data/app/assets/images/mercury/toolbar/primary/inspectorpanel.png +0 -0
  197. data/app/assets/images/mercury/toolbar/primary/notespanel.png +0 -0
  198. data/app/assets/images/mercury/toolbar/primary/preview.png +0 -0
  199. data/app/assets/images/mercury/toolbar/primary/redo.png +0 -0
  200. data/app/assets/images/mercury/toolbar/primary/save.png +0 -0
  201. data/app/assets/images/mercury/toolbar/primary/snippetpanel.png +0 -0
  202. data/app/assets/images/mercury/toolbar/primary/tools.png +0 -0
  203. data/app/assets/images/mercury/toolbar/primary/undo.png +0 -0
  204. data/app/assets/images/mercury/toolbar/primary/user.png +0 -0
  205. data/app/assets/images/mercury/toolbar/snippets/buttons.png +0 -0
  206. data/app/assets/javascripts/mercury/locales/ar.locale.js.coffee +0 -201
  207. data/app/assets/javascripts/mercury/locales/da.locale.js.coffee +0 -208
  208. data/app/assets/javascripts/mercury/locales/hu.locale.js.coffee +0 -209
  209. data/app/assets/javascripts/mercury/locales/pl.locale.js.coffee +0 -213
  210. data/app/assets/javascripts/mercury/locales/ru.locale.js.coffee +0 -200
  211. data/app/assets/javascripts/mercury/locales/uk.locale.js.coffee +0 -200
  212. data/app/assets/javascripts/mercury/locales/zh.local.js.coffee +0 -203
  213. data/app/assets/javascripts/mercury/mercury-compiled.js +0 -10720
  214. data/app/assets/javascripts/mercury/modals/insertlink.js.coffee +0 -152
  215. data/app/assets/javascripts/mercury/modals/insertmedia.js.coffee +0 -132
  216. data/app/assets/javascripts/mercury/modals/inserttable.js.coffee +0 -68
  217. data/app/assets/javascripts/mercury/regions/image.js.coffee +0 -93
  218. data/app/assets/javascripts/mercury/snippet.js.coffee +0 -136
  219. data/app/assets/stylesheets/_mercury-bootstrap-overrides.scss +0 -61
  220. data/app/assets/stylesheets/_mercury-sass.scss +0 -33
  221. data/app/assets/stylesheets/mercury/bootstrap-ish.css +0 -1367
  222. data/app/assets/stylesheets/mercury/bootstrap-overrides.css +0 -61
  223. data/app/assets/stylesheets/mercury/mercury.css +0 -43
  224. data/app/helpers/mercury_helper.rb +0 -7
  225. data/app/views/layouts/mercury.html.haml +0 -19
  226. data/app/views/layouts/mercury.html.slim +0 -19
  227. data/app/views/mercury/snippets/no_options/preview.html.erb +0 -1
  228. data/config/routes.rb +0 -9
  229. data/features/generators/authentication.feature +0 -10
  230. data/features/generators/images.feature +0 -41
  231. data/features/generators/install.feature +0 -21
  232. data/features/regions/full/basic_editing.feature +0 -198
  233. data/features/regions/full/inserting_tables.feature +0 -109
  234. data/features/regions/simple/basic_editing.feature +0 -5
  235. data/features/step_definitions/custom_web_steps.rb +0 -22
  236. data/features/step_definitions/generator_steps.rb +0 -23
  237. data/features/support/aruba.rb +0 -28
  238. data/lib/generators/mercury/install/authentication/authentication_generator.rb +0 -17
  239. data/lib/generators/mercury/install/images/images_generator.rb +0 -47
  240. data/lib/mercury/cucumber/step_definitions/mercury_steps.rb +0 -408
  241. data/lib/mercury/cucumber/step_definitions.rb +0 -13
  242. data/lib/mercury/engine.rb +0 -19
  243. data/lib/mercury/rails.rb +0 -5
  244. data/lib/mercury/version.rb +0 -3
  245. data/spec/dummy/Rakefile +0 -7
  246. data/spec/dummy/app/assets/javascripts/application.js +0 -0
  247. data/spec/dummy/app/assets/javascripts/prototype.js +0 -6082
  248. data/spec/dummy/app/assets/stylesheets/application.css.scss +0 -110
  249. data/spec/dummy/app/controllers/application_controller.rb +0 -3
  250. data/spec/dummy/app/views/layouts/application.html.erb +0 -14
  251. data/spec/dummy/app/views/layouts/mercury.html.erb +0 -28
  252. data/spec/dummy/config/application.rb +0 -58
  253. data/spec/dummy/config/boot.rb +0 -10
  254. data/spec/dummy/config/database.yml +0 -10
  255. data/spec/dummy/config/environment.rb +0 -5
  256. data/spec/dummy/config/environments/development.rb +0 -37
  257. data/spec/dummy/config/environments/production.rb +0 -67
  258. data/spec/dummy/config/environments/test.rb +0 -37
  259. data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
  260. data/spec/dummy/config/initializers/inflections.rb +0 -15
  261. data/spec/dummy/config/initializers/mime_types.rb +0 -5
  262. data/spec/dummy/config/initializers/secret_token.rb +0 -7
  263. data/spec/dummy/config/initializers/session_store.rb +0 -8
  264. data/spec/dummy/config/initializers/teabag.rb +0 -9
  265. data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
  266. data/spec/dummy/config/locales/en.yml +0 -5
  267. data/spec/dummy/config/routes.rb +0 -5
  268. data/spec/dummy/config.ru +0 -4
  269. data/spec/dummy/db/.gitkeep +0 -0
  270. data/spec/dummy/public/500.html +0 -25
  271. data/spec/dummy/public/blank.html +0 -1
  272. data/spec/dummy/public/favicon.ico +0 -0
  273. data/spec/dummy/public/images/bunny.gif +0 -0
  274. data/spec/dummy/public/images/bunny2.jpg +0 -0
  275. data/spec/dummy/public/index.html +0 -279
  276. data/spec/dummy/script/rails +0 -6
  277. data/spec/javascripts/fixtures/mercury/modals/insertlink.html +0 -67
  278. data/spec/javascripts/fixtures/mercury/modals/insertmedia.html +0 -87
  279. data/spec/javascripts/fixtures/mercury/modals/inserttable.html +0 -73
  280. data/spec/javascripts/fixtures/mercury/region.html +0 -6
  281. data/spec/javascripts/fixtures/mercury/regions/full.html +0 -1
  282. data/spec/javascripts/fixtures/mercury/regions/image.html +0 -1
  283. data/spec/javascripts/fixtures/mercury/regions/markdown.html +0 -1
  284. data/spec/javascripts/fixtures/mercury/regions/simple.html +0 -1
  285. data/spec/javascripts/fixtures/mercury/regions/snippets.html +0 -4
  286. data/spec/javascripts/mercury/regions/image_spec.js.coffee +0 -33
  287. data/spec/javascripts/mercury/regions/simple_spec.js.coffee +0 -32
  288. data/spec/javascripts/spec_helper.coffee +0 -4
  289. data/spec/teabag_env.rb +0 -32
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kiteditor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.12
4
+ version: 1.0.13
5
5
  prerelease:
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: 2013-01-22 00:00:00.000000000 Z
13
+ date: 2013-12-12 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -268,38 +268,6 @@ dependencies:
268
268
  - - ! '>='
269
269
  - !ruby/object:Gem::Version
270
270
  version: '0'
271
- - !ruby/object:Gem::Dependency
272
- name: railties
273
- requirement: !ruby/object:Gem::Requirement
274
- none: false
275
- requirements:
276
- - - ! '>='
277
- - !ruby/object:Gem::Version
278
- version: '3.2'
279
- type: :runtime
280
- prerelease: false
281
- version_requirements: !ruby/object:Gem::Requirement
282
- none: false
283
- requirements:
284
- - - ! '>='
285
- - !ruby/object:Gem::Version
286
- version: '3.2'
287
- - !ruby/object:Gem::Dependency
288
- name: coffee-rails
289
- requirement: !ruby/object:Gem::Requirement
290
- none: false
291
- requirements:
292
- - - ! '>='
293
- - !ruby/object:Gem::Version
294
- version: 3.2.2
295
- type: :runtime
296
- prerelease: false
297
- version_requirements: !ruby/object:Gem::Requirement
298
- none: false
299
- requirements:
300
- - - ! '>='
301
- - !ruby/object:Gem::Version
302
- version: 3.2.2
303
271
  description: This is a fork of the wonderful Mercury Rails WYSIWYG editor, modified
304
272
  very slightly for use with DSC's Kit Community and Content Management System. All
305
273
  credit for this Gem goes to the original author, Jeremy Jackson
@@ -310,25 +278,19 @@ executables: []
310
278
  extensions: []
311
279
  extra_rdoc_files:
312
280
  - LICENSE
313
- - POST_INSTALL
314
281
  files:
315
- - lib/generators/mercury/install/authentication/authentication_generator.rb
316
- - lib/generators/mercury/install/images/images_generator.rb
317
- - lib/generators/mercury/install/images/templates/ar_paperclip_image.rb
318
- - lib/generators/mercury/install/images/templates/ar_paperclip_image_migration.rb
319
- - lib/generators/mercury/install/images/templates/images_controller.rb
320
- - lib/generators/mercury/install/images/templates/mongoid_paperclip_image.rb
321
282
  - lib/generators/mercury/install/install_generator.rb
283
+ - lib/generators/mercury/install/templates/mongoid_paperclip_image.rb
322
284
  - lib/mercury/authentication.rb
323
- - lib/mercury/cucumber/step_definitions/mercury_steps.rb
324
- - lib/mercury/cucumber/step_definitions.rb
325
- - lib/mercury/cucumber/support/mercury_contents.rb
326
- - lib/mercury/cucumber/support/mercury_selectors.rb
327
- - lib/mercury/engine.rb
328
- - lib/mercury/rails.rb
329
- - lib/mercury/version.rb
330
285
  - lib/mercury-rails.rb
286
+ - vendor/assets/images/mercury/button.png
287
+ - vendor/assets/images/mercury/close.png
331
288
  - vendor/assets/images/mercury/default-snippet.png
289
+ - vendor/assets/images/mercury/loading-dark.gif
290
+ - vendor/assets/images/mercury/loading-light.gif
291
+ - vendor/assets/images/mercury/missing-image.png
292
+ - vendor/assets/images/mercury/search-icon.png
293
+ - vendor/assets/images/mercury/temp-logo.png
332
294
  - vendor/assets/images/mercury/toolbar/editable/buttons.png
333
295
  - vendor/assets/images/mercury/toolbar/primary/_expander.png
334
296
  - vendor/assets/images/mercury/toolbar/primary/_pressed.png
@@ -349,125 +311,85 @@ files:
349
311
  - vendor/assets/images/mercury/toolbar/primary/user.png
350
312
  - vendor/assets/images/mercury/toolbar/snippetable/buttons.png
351
313
  - vendor/assets/images/mercury/toolbar/snippets/buttons.png
314
+ - vendor/assets/javascripts/mercury/dependencies/jquery-1.7.js
315
+ - vendor/assets/javascripts/mercury/dependencies/jquery-ui-1.8.13.custom.js
352
316
  - vendor/assets/javascripts/mercury/dependencies/jquery-ui-1.8.18.custom.min.js
353
317
  - vendor/assets/javascripts/mercury/dependencies/jquery-ui.1.8.13.custom.min.js
318
+ - vendor/assets/javascripts/mercury/dependencies/jquery.additions.js
319
+ - vendor/assets/javascripts/mercury/dependencies/jquery.htmlClean.js
320
+ - vendor/assets/javascripts/mercury/dependencies/liquidmetal.js
321
+ - vendor/assets/javascripts/mercury/dependencies/showdown.js
322
+ - vendor/assets/javascripts/mercury/dialog.js.coffee
323
+ - vendor/assets/javascripts/mercury/dialogs/backcolor.js.coffee
324
+ - vendor/assets/javascripts/mercury/dialogs/forecolor.js.coffee
325
+ - vendor/assets/javascripts/mercury/dialogs/formatblock.js.coffee
326
+ - vendor/assets/javascripts/mercury/dialogs/snippetpanel.js.coffee
327
+ - vendor/assets/javascripts/mercury/dialogs/style.js.coffee
328
+ - vendor/assets/javascripts/mercury/finalize.js.coffee
329
+ - vendor/assets/javascripts/mercury/history_buffer.js.coffee
330
+ - vendor/assets/javascripts/mercury/lightview.js.coffee
331
+ - vendor/assets/javascripts/mercury/locales/da.locale.js.coffee
332
+ - vendor/assets/javascripts/mercury/locales/de.locale.js.coffee
333
+ - vendor/assets/javascripts/mercury/locales/es.locale.js.coffee
334
+ - vendor/assets/javascripts/mercury/locales/example.local.js.coffee
335
+ - vendor/assets/javascripts/mercury/locales/fr.locale.js.coffee
336
+ - vendor/assets/javascripts/mercury/locales/it.locale.js.coffee
337
+ - vendor/assets/javascripts/mercury/locales/ko.local.js.coffee
338
+ - vendor/assets/javascripts/mercury/locales/nl.locale.js.coffee
339
+ - vendor/assets/javascripts/mercury/locales/pt.locale.js.coffee
340
+ - vendor/assets/javascripts/mercury/locales/sv.local.js.coffee
341
+ - vendor/assets/javascripts/mercury/locales/swedish_chef.locale.js.coffee
342
+ - vendor/assets/javascripts/mercury/mercury.js.coffee
343
+ - vendor/assets/javascripts/mercury/modal.js.coffee
344
+ - vendor/assets/javascripts/mercury/modals/htmleditor.js.coffee
345
+ - vendor/assets/javascripts/mercury/modals/insertcharacter.js.coffee
354
346
  - vendor/assets/javascripts/mercury/modals/insertlink.js.coffee
355
347
  - vendor/assets/javascripts/mercury/modals/insertmedia.js.coffee
348
+ - vendor/assets/javascripts/mercury/modals/insertsnippet.js.coffee
349
+ - vendor/assets/javascripts/mercury/modals/inserttable.js.coffee
350
+ - vendor/assets/javascripts/mercury/native_extensions.js.coffee
351
+ - vendor/assets/javascripts/mercury/page_editor.js.coffee
352
+ - vendor/assets/javascripts/mercury/palette.js.coffee
353
+ - vendor/assets/javascripts/mercury/panel.js.coffee
354
+ - vendor/assets/javascripts/mercury/plugins/save_as_xml/mercury/page_editor.js.coffee
355
+ - vendor/assets/javascripts/mercury/plugins/save_as_xml/plugin.js
356
+ - vendor/assets/javascripts/mercury/region.js.coffee
357
+ - vendor/assets/javascripts/mercury/regions/editable.js.coffee
358
+ - vendor/assets/javascripts/mercury/regions/markupable.js.coffee
359
+ - vendor/assets/javascripts/mercury/regions/simple.js.coffee
360
+ - vendor/assets/javascripts/mercury/regions/snippetable.js.coffee
361
+ - vendor/assets/javascripts/mercury/select.js.coffee
356
362
  - vendor/assets/javascripts/mercury/snippet.js.coffee
363
+ - vendor/assets/javascripts/mercury/snippet_toolbar.js.coffee
364
+ - vendor/assets/javascripts/mercury/statusbar.js.coffee
365
+ - vendor/assets/javascripts/mercury/support/history.js
366
+ - vendor/assets/javascripts/mercury/table_editor.js.coffee
367
+ - vendor/assets/javascripts/mercury/toolbar.button.js.coffee
368
+ - vendor/assets/javascripts/mercury/toolbar.button_group.js.coffee
369
+ - vendor/assets/javascripts/mercury/toolbar.expander.js.coffee
370
+ - vendor/assets/javascripts/mercury/toolbar.js.coffee
371
+ - vendor/assets/javascripts/mercury/tooltip.js.coffee
372
+ - vendor/assets/javascripts/mercury/uploader.js.coffee
373
+ - vendor/assets/javascripts/mercury.js
374
+ - vendor/assets/javascripts/mercury_loader.js
375
+ - vendor/assets/javascripts/mercury_overrides.js
357
376
  - vendor/assets/javascripts/popup.js
377
+ - vendor/assets/stylesheets/mercury/all_images.css.erb
378
+ - vendor/assets/stylesheets/mercury/dialog.css
379
+ - vendor/assets/stylesheets/mercury/lightview.css
380
+ - vendor/assets/stylesheets/mercury/mercury.css
381
+ - vendor/assets/stylesheets/mercury/modal.css
382
+ - vendor/assets/stylesheets/mercury/statusbar.css
383
+ - vendor/assets/stylesheets/mercury/toolbar.css
384
+ - vendor/assets/stylesheets/mercury/tooltip.css
385
+ - vendor/assets/stylesheets/mercury/uploader.css
386
+ - vendor/assets/stylesheets/mercury.css
387
+ - vendor/assets/stylesheets/mercury_overrides.css
358
388
  - vendor/assets/stylesheets/popup.css.erb
359
- - app/assets/images/mercury/button.png
360
- - app/assets/images/mercury/close.png
361
- - app/assets/images/mercury/default-snippet.png
362
- - app/assets/images/mercury/loading-dark.gif
363
- - app/assets/images/mercury/loading-light.gif
364
- - app/assets/images/mercury/missing-image.png
365
- - app/assets/images/mercury/search-icon.png
366
- - app/assets/images/mercury/temp-logo.png
367
- - app/assets/images/mercury/toolbar/editable/buttons.png
368
- - app/assets/images/mercury/toolbar/primary/_expander.png
369
- - app/assets/images/mercury/toolbar/primary/_pressed.png
370
- - app/assets/images/mercury/toolbar/primary/action.png
371
- - app/assets/images/mercury/toolbar/primary/historypanel.png
372
- - app/assets/images/mercury/toolbar/primary/insertcharacter.png
373
- - app/assets/images/mercury/toolbar/primary/insertlink.png
374
- - app/assets/images/mercury/toolbar/primary/insertmedia.png
375
- - app/assets/images/mercury/toolbar/primary/inserttable.png
376
- - app/assets/images/mercury/toolbar/primary/inspectorpanel.png
377
- - app/assets/images/mercury/toolbar/primary/notespanel.png
378
- - app/assets/images/mercury/toolbar/primary/preview.png
379
- - app/assets/images/mercury/toolbar/primary/redo.png
380
- - app/assets/images/mercury/toolbar/primary/save.png
381
- - app/assets/images/mercury/toolbar/primary/snippetpanel.png
382
- - app/assets/images/mercury/toolbar/primary/tools.png
383
- - app/assets/images/mercury/toolbar/primary/undo.png
384
- - app/assets/images/mercury/toolbar/primary/user.png
385
- - app/assets/images/mercury/toolbar/snippets/buttons.png
386
- - app/assets/javascripts/jquery-1.7.js
387
- - app/assets/javascripts/mercury/dependencies/jquery-ui-1.8.13.custom.js
388
- - app/assets/javascripts/mercury/dependencies/jquery.additions.js
389
- - app/assets/javascripts/mercury/dependencies/jquery.htmlClean.js
390
- - app/assets/javascripts/mercury/dependencies/liquidmetal.js
391
- - app/assets/javascripts/mercury/dependencies/showdown.js
392
- - app/assets/javascripts/mercury/dialog.js.coffee
393
- - app/assets/javascripts/mercury/dialogs/backcolor.js.coffee
394
- - app/assets/javascripts/mercury/dialogs/forecolor.js.coffee
395
- - app/assets/javascripts/mercury/dialogs/formatblock.js.coffee
396
- - app/assets/javascripts/mercury/dialogs/snippetpanel.js.coffee
397
- - app/assets/javascripts/mercury/dialogs/style.js.coffee
398
- - app/assets/javascripts/mercury/finalize.js.coffee
399
- - app/assets/javascripts/mercury/history_buffer.js.coffee
400
- - app/assets/javascripts/mercury/lightview.js.coffee
401
- - app/assets/javascripts/mercury/locales/ar.locale.js.coffee
402
- - app/assets/javascripts/mercury/locales/da.locale.js.coffee
403
- - app/assets/javascripts/mercury/locales/de.locale.js.coffee
404
- - app/assets/javascripts/mercury/locales/es.locale.js.coffee
405
- - app/assets/javascripts/mercury/locales/example.local.js.coffee
406
- - app/assets/javascripts/mercury/locales/fr.locale.js.coffee
407
- - app/assets/javascripts/mercury/locales/hu.locale.js.coffee
408
- - app/assets/javascripts/mercury/locales/it.locale.js.coffee
409
- - app/assets/javascripts/mercury/locales/ko.local.js.coffee
410
- - app/assets/javascripts/mercury/locales/nl.locale.js.coffee
411
- - app/assets/javascripts/mercury/locales/pl.locale.js.coffee
412
- - app/assets/javascripts/mercury/locales/pt.locale.js.coffee
413
- - app/assets/javascripts/mercury/locales/ru.locale.js.coffee
414
- - app/assets/javascripts/mercury/locales/sv.local.js.coffee
415
- - app/assets/javascripts/mercury/locales/swedish_chef.locale.js.coffee
416
- - app/assets/javascripts/mercury/locales/uk.locale.js.coffee
417
- - app/assets/javascripts/mercury/locales/zh.local.js.coffee
418
- - app/assets/javascripts/mercury/mercury-compiled.js
419
- - app/assets/javascripts/mercury/mercury.js.coffee
420
- - app/assets/javascripts/mercury/modal.js.coffee
421
- - app/assets/javascripts/mercury/modals/htmleditor.js.coffee
422
- - app/assets/javascripts/mercury/modals/insertcharacter.js.coffee
423
- - app/assets/javascripts/mercury/modals/insertlink.js.coffee
424
- - app/assets/javascripts/mercury/modals/insertmedia.js.coffee
425
- - app/assets/javascripts/mercury/modals/insertsnippet.js.coffee
426
- - app/assets/javascripts/mercury/modals/inserttable.js.coffee
427
- - app/assets/javascripts/mercury/native_extensions.js.coffee
428
- - app/assets/javascripts/mercury/page_editor.js.coffee
429
- - app/assets/javascripts/mercury/palette.js.coffee
430
- - app/assets/javascripts/mercury/panel.js.coffee
431
- - app/assets/javascripts/mercury/plugins/save_as_xml/mercury/page_editor.js.coffee
432
- - app/assets/javascripts/mercury/plugins/save_as_xml/plugin.js
433
- - app/assets/javascripts/mercury/region.js.coffee
434
- - app/assets/javascripts/mercury/regions/full.js.coffee
435
- - app/assets/javascripts/mercury/regions/image.js.coffee
436
- - app/assets/javascripts/mercury/regions/markdown.js.coffee
437
- - app/assets/javascripts/mercury/regions/simple.js.coffee
438
- - app/assets/javascripts/mercury/regions/snippets.js.coffee
439
- - app/assets/javascripts/mercury/select.js.coffee
440
- - app/assets/javascripts/mercury/snippet.js.coffee
441
- - app/assets/javascripts/mercury/snippet_toolbar.js.coffee
442
- - app/assets/javascripts/mercury/statusbar.js.coffee
443
- - app/assets/javascripts/mercury/support/history.js
444
- - app/assets/javascripts/mercury/table_editor.js.coffee
445
- - app/assets/javascripts/mercury/toolbar.button.js.coffee
446
- - app/assets/javascripts/mercury/toolbar.button_group.js.coffee
447
- - app/assets/javascripts/mercury/toolbar.expander.js.coffee
448
- - app/assets/javascripts/mercury/toolbar.js.coffee
449
- - app/assets/javascripts/mercury/tooltip.js.coffee
450
- - app/assets/javascripts/mercury/uploader.js.coffee
451
- - app/assets/javascripts/mercury.js
452
- - app/assets/stylesheets/_mercury-bootstrap-overrides.scss
453
- - app/assets/stylesheets/_mercury-sass.scss
454
- - app/assets/stylesheets/mercury/all_images.css.erb
455
- - app/assets/stylesheets/mercury/bootstrap-ish.css
456
- - app/assets/stylesheets/mercury/bootstrap-overrides.css
457
- - app/assets/stylesheets/mercury/dialog.css
458
- - app/assets/stylesheets/mercury/lightview.css
459
- - app/assets/stylesheets/mercury/mercury.css
460
- - app/assets/stylesheets/mercury/modal.css
461
- - app/assets/stylesheets/mercury/statusbar.css
462
- - app/assets/stylesheets/mercury/toolbar.css
463
- - app/assets/stylesheets/mercury/tooltip.css
464
- - app/assets/stylesheets/mercury/uploader.css
465
- - app/assets/stylesheets/mercury.css
389
+ - app/controllers/mercury/images_controller.rb
466
390
  - app/controllers/mercury_controller.rb
467
- - app/helpers/mercury_helper.rb
391
+ - app/models/mercury/image.rb
468
392
  - app/views/layouts/mercury.html.erb
469
- - app/views/layouts/mercury.html.haml
470
- - app/views/layouts/mercury.html.slim
471
393
  - app/views/layouts/popup.html.haml
472
394
  - app/views/mercury/images/_list.html.haml
473
395
  - app/views/mercury/images/index.html.haml
@@ -487,116 +409,42 @@ files:
487
409
  - app/views/mercury/selects/style.html
488
410
  - app/views/mercury/snippets/example/options.html.erb
489
411
  - app/views/mercury/snippets/example/preview.html.erb
490
- - app/views/mercury/snippets/no_options/preview.html.erb
412
+ - db/migrate/20110526035601_create_mercury_images.rb
491
413
  - config/engine.rb
492
- - config/routes.rb
493
414
  - LICENSE
494
- - POST_INSTALL
495
- - features/generators/authentication.feature
496
- - features/generators/images.feature
497
- - features/generators/install.feature
498
415
  - features/loading/loading.feature
499
416
  - features/loading/navigating.feature
500
417
  - features/loading/user_interface.feature
501
- - features/regions/full/advanced_editing.feature
502
- - features/regions/full/basic_editing.feature
503
- - features/regions/full/inserting_links.feature
504
- - features/regions/full/inserting_media.feature
505
- - features/regions/full/inserting_snippets.feature
506
- - features/regions/full/inserting_special_characters.feature
507
- - features/regions/full/inserting_tables.feature
508
- - features/regions/full/pasting.feature
509
- - features/regions/full/uploading_images.feature
510
- - features/regions/image/uploading_images.feature
511
- - features/regions/markdown/advanced_editing.feature
512
- - features/regions/markdown/basic_editing.feature
513
- - features/regions/markdown/inserting_links.feature
514
- - features/regions/markdown/inserting_media.feature
515
- - features/regions/markdown/inserting_snippets.feature
516
- - features/regions/markdown/inserting_special_characters.feature
517
- - features/regions/markdown/inserting_tables.feature
518
- - features/regions/markdown/uploading_images.feature
519
- - features/regions/simple/basic_editing.feature
520
- - features/regions/snippets/advanced_editing.feature
521
- - features/regions/snippets/basic_editing.feature
522
- - features/regions/snippets/inserting_snippets.feature
418
+ - features/regions/editable/advanced_editing.feature
419
+ - features/regions/editable/basic_editing.feature
420
+ - features/regions/editable/inserting_links.feature
421
+ - features/regions/editable/inserting_media.feature
422
+ - features/regions/editable/inserting_snippets.feature
423
+ - features/regions/editable/inserting_special_characters.feature
424
+ - features/regions/editable/inserting_tables.feature
425
+ - features/regions/editable/pasting.feature
426
+ - features/regions/editable/uploading_images.feature
427
+ - features/regions/markupable/advanced_editing.feature
428
+ - features/regions/markupable/basic_editing.feature
429
+ - features/regions/markupable/inserting_links.feature
430
+ - features/regions/markupable/inserting_media.feature
431
+ - features/regions/markupable/inserting_snippets.feature
432
+ - features/regions/markupable/inserting_special_characters.feature
433
+ - features/regions/markupable/inserting_tables.feature
434
+ - features/regions/markupable/uploading_images.feature
435
+ - features/regions/snippetable/advanced_editing.feature
436
+ - features/regions/snippetable/basic_editing.feature
437
+ - features/regions/snippetable/inserting_snippets.feature
523
438
  - features/saving/saving.feature
524
- - features/step_definitions/custom_web_steps.rb
525
439
  - features/step_definitions/debug_steps.rb
526
- - features/step_definitions/generator_steps.rb
527
440
  - features/step_definitions/mercury_steps.rb
528
441
  - features/step_definitions/web_steps.rb
529
- - features/support/aruba.rb
530
442
  - features/support/env.rb
443
+ - features/support/mercury_contents.rb
444
+ - features/support/mercury_selectors.rb
531
445
  - features/support/paths.rb
532
446
  - features/support/selectors.rb
533
- - spec/dummy/Rakefile
534
- - spec/dummy/app/assets/javascripts/application.js
535
- - spec/dummy/app/assets/javascripts/prototype.js
536
- - spec/dummy/app/assets/stylesheets/application.css.scss
537
- - spec/dummy/app/controllers/application_controller.rb
538
- - spec/dummy/app/views/layouts/application.html.erb
539
- - spec/dummy/app/views/layouts/mercury.html.erb
540
- - spec/dummy/config.ru
541
- - spec/dummy/config/application.rb
542
- - spec/dummy/config/boot.rb
543
- - spec/dummy/config/database.yml
544
- - spec/dummy/config/environment.rb
545
- - spec/dummy/config/environments/development.rb
546
- - spec/dummy/config/environments/production.rb
547
- - spec/dummy/config/environments/test.rb
548
- - spec/dummy/config/initializers/backtrace_silencers.rb
549
- - spec/dummy/config/initializers/inflections.rb
550
- - spec/dummy/config/initializers/mime_types.rb
551
- - spec/dummy/config/initializers/secret_token.rb
552
- - spec/dummy/config/initializers/session_store.rb
553
- - spec/dummy/config/initializers/teabag.rb
554
- - spec/dummy/config/initializers/wrap_parameters.rb
555
- - spec/dummy/config/locales/en.yml
556
- - spec/dummy/config/routes.rb
557
- - spec/dummy/db/.gitkeep
558
- - spec/dummy/public/500.html
559
- - spec/dummy/public/blank.html
560
- - spec/dummy/public/favicon.ico
561
- - spec/dummy/public/images/bunny.gif
562
- - spec/dummy/public/images/bunny2.jpg
563
- - spec/dummy/public/index.html
564
- - spec/dummy/script/rails
565
- - spec/javascripts/fixtures/mercury/dialog.html
566
- - spec/javascripts/fixtures/mercury/dialogs/backcolor.html
567
- - spec/javascripts/fixtures/mercury/dialogs/forecolor.html
568
- - spec/javascripts/fixtures/mercury/dialogs/formatblock.html
569
- - spec/javascripts/fixtures/mercury/dialogs/snippetpanel.html
570
- - spec/javascripts/fixtures/mercury/dialogs/style.html
571
- - spec/javascripts/fixtures/mercury/lightview.html
572
- - spec/javascripts/fixtures/mercury/modal.html
573
- - spec/javascripts/fixtures/mercury/modals/htmleditor.html
574
- - spec/javascripts/fixtures/mercury/modals/insertcharacter.html
575
- - spec/javascripts/fixtures/mercury/modals/insertlink.html
576
- - spec/javascripts/fixtures/mercury/modals/insertmedia.html
577
- - spec/javascripts/fixtures/mercury/modals/insertsnippet.html
578
- - spec/javascripts/fixtures/mercury/modals/inserttable.html
579
- - spec/javascripts/fixtures/mercury/page_editor.html
580
- - spec/javascripts/fixtures/mercury/palette.html
581
- - spec/javascripts/fixtures/mercury/panel.html
582
- - spec/javascripts/fixtures/mercury/region.html
583
- - spec/javascripts/fixtures/mercury/regions/full.html
584
- - spec/javascripts/fixtures/mercury/regions/image.html
585
- - spec/javascripts/fixtures/mercury/regions/markdown.html
586
- - spec/javascripts/fixtures/mercury/regions/simple.html
587
- - spec/javascripts/fixtures/mercury/regions/snippets.html
588
- - spec/javascripts/fixtures/mercury/select.html
589
- - spec/javascripts/fixtures/mercury/snippet.html
590
- - spec/javascripts/fixtures/mercury/snippet_toolbar.html
591
- - spec/javascripts/fixtures/mercury/statusbar.html
592
- - spec/javascripts/fixtures/mercury/table_editor.html
593
- - spec/javascripts/fixtures/mercury/toolbar.button.html
594
- - spec/javascripts/fixtures/mercury/toolbar.button_group.html
595
- - spec/javascripts/fixtures/mercury/toolbar.expander.html
596
- - spec/javascripts/fixtures/mercury/toolbar.html
597
- - spec/javascripts/fixtures/mercury/tooltip.html
598
- - spec/javascripts/fixtures/mercury/uploader.html
599
- - spec/javascripts/mercury/dialog_spec.coffee
447
+ - spec/javascripts/mercury/dialog_spec.js.coffee
600
448
  - spec/javascripts/mercury/dialogs/backcolor_spec.js.coffee
601
449
  - spec/javascripts/mercury/dialogs/forecolor_spec.js.coffee
602
450
  - spec/javascripts/mercury/dialogs/formatblock_spec.js.coffee
@@ -617,11 +465,9 @@ files:
617
465
  - spec/javascripts/mercury/palette_spec.js.coffee
618
466
  - spec/javascripts/mercury/panel_spec.js.coffee
619
467
  - spec/javascripts/mercury/region_spec.js.coffee
620
- - spec/javascripts/mercury/regions/full_spec.js.coffee
621
- - spec/javascripts/mercury/regions/image_spec.js.coffee
622
- - spec/javascripts/mercury/regions/markdown_spec.js.coffee
623
- - spec/javascripts/mercury/regions/simple_spec.js.coffee
624
- - spec/javascripts/mercury/regions/snippets_spec.js.coffee
468
+ - spec/javascripts/mercury/regions/editable_spec.js.coffee
469
+ - spec/javascripts/mercury/regions/markupable_spec.js.coffee
470
+ - spec/javascripts/mercury/regions/snippetable_spec.js.coffee
625
471
  - spec/javascripts/mercury/select_spec.js.coffee
626
472
  - spec/javascripts/mercury/snippet_spec.js.coffee
627
473
  - spec/javascripts/mercury/snippet_toolbar_spec.js.coffee
@@ -633,9 +479,38 @@ files:
633
479
  - spec/javascripts/mercury/toolbar_spec.js.coffee
634
480
  - spec/javascripts/mercury/tooltip_spec.js.coffee
635
481
  - spec/javascripts/mercury/uploader_spec.js.coffee
636
- - spec/javascripts/spec_helper.coffee
637
- - spec/javascripts/support/event_simulation.js
638
- - spec/teabag_env.rb
482
+ - spec/javascripts/spec_helper.js
483
+ - spec/javascripts/templates/mercury/dialog.html
484
+ - spec/javascripts/templates/mercury/dialogs/backcolor.html
485
+ - spec/javascripts/templates/mercury/dialogs/forecolor.html
486
+ - spec/javascripts/templates/mercury/dialogs/formatblock.html
487
+ - spec/javascripts/templates/mercury/dialogs/snippetpanel.html
488
+ - spec/javascripts/templates/mercury/dialogs/style.html
489
+ - spec/javascripts/templates/mercury/lightview.html
490
+ - spec/javascripts/templates/mercury/modal.html
491
+ - spec/javascripts/templates/mercury/modals/htmleditor.html
492
+ - spec/javascripts/templates/mercury/modals/insertcharacter.html
493
+ - spec/javascripts/templates/mercury/modals/insertlink.html
494
+ - spec/javascripts/templates/mercury/modals/insertmedia.html
495
+ - spec/javascripts/templates/mercury/modals/insertsnippet.html
496
+ - spec/javascripts/templates/mercury/modals/inserttable.html
497
+ - spec/javascripts/templates/mercury/page_editor.html
498
+ - spec/javascripts/templates/mercury/palette.html
499
+ - spec/javascripts/templates/mercury/panel.html
500
+ - spec/javascripts/templates/mercury/region.html
501
+ - spec/javascripts/templates/mercury/regions/editable.html
502
+ - spec/javascripts/templates/mercury/regions/snippetable.html
503
+ - spec/javascripts/templates/mercury/select.html
504
+ - spec/javascripts/templates/mercury/snippet.html
505
+ - spec/javascripts/templates/mercury/snippet_toolbar.html
506
+ - spec/javascripts/templates/mercury/statusbar.html
507
+ - spec/javascripts/templates/mercury/table_editor.html
508
+ - spec/javascripts/templates/mercury/toolbar.button.html
509
+ - spec/javascripts/templates/mercury/toolbar.button_group.html
510
+ - spec/javascripts/templates/mercury/toolbar.expander.html
511
+ - spec/javascripts/templates/mercury/toolbar.html
512
+ - spec/javascripts/templates/mercury/tooltip.html
513
+ - spec/javascripts/templates/mercury/uploader.html
639
514
  homepage: http://github.com/dsc-os/kiteditor
640
515
  licenses:
641
516
  - MIT
@@ -662,111 +537,39 @@ signing_key:
662
537
  specification_version: 3
663
538
  summary: An HTML5 editor for use with DSC's Kit, the CCMS.
664
539
  test_files:
665
- - features/generators/authentication.feature
666
- - features/generators/images.feature
667
- - features/generators/install.feature
668
540
  - features/loading/loading.feature
669
541
  - features/loading/navigating.feature
670
542
  - features/loading/user_interface.feature
671
- - features/regions/full/advanced_editing.feature
672
- - features/regions/full/basic_editing.feature
673
- - features/regions/full/inserting_links.feature
674
- - features/regions/full/inserting_media.feature
675
- - features/regions/full/inserting_snippets.feature
676
- - features/regions/full/inserting_special_characters.feature
677
- - features/regions/full/inserting_tables.feature
678
- - features/regions/full/pasting.feature
679
- - features/regions/full/uploading_images.feature
680
- - features/regions/image/uploading_images.feature
681
- - features/regions/markdown/advanced_editing.feature
682
- - features/regions/markdown/basic_editing.feature
683
- - features/regions/markdown/inserting_links.feature
684
- - features/regions/markdown/inserting_media.feature
685
- - features/regions/markdown/inserting_snippets.feature
686
- - features/regions/markdown/inserting_special_characters.feature
687
- - features/regions/markdown/inserting_tables.feature
688
- - features/regions/markdown/uploading_images.feature
689
- - features/regions/simple/basic_editing.feature
690
- - features/regions/snippets/advanced_editing.feature
691
- - features/regions/snippets/basic_editing.feature
692
- - features/regions/snippets/inserting_snippets.feature
543
+ - features/regions/editable/advanced_editing.feature
544
+ - features/regions/editable/basic_editing.feature
545
+ - features/regions/editable/inserting_links.feature
546
+ - features/regions/editable/inserting_media.feature
547
+ - features/regions/editable/inserting_snippets.feature
548
+ - features/regions/editable/inserting_special_characters.feature
549
+ - features/regions/editable/inserting_tables.feature
550
+ - features/regions/editable/pasting.feature
551
+ - features/regions/editable/uploading_images.feature
552
+ - features/regions/markupable/advanced_editing.feature
553
+ - features/regions/markupable/basic_editing.feature
554
+ - features/regions/markupable/inserting_links.feature
555
+ - features/regions/markupable/inserting_media.feature
556
+ - features/regions/markupable/inserting_snippets.feature
557
+ - features/regions/markupable/inserting_special_characters.feature
558
+ - features/regions/markupable/inserting_tables.feature
559
+ - features/regions/markupable/uploading_images.feature
560
+ - features/regions/snippetable/advanced_editing.feature
561
+ - features/regions/snippetable/basic_editing.feature
562
+ - features/regions/snippetable/inserting_snippets.feature
693
563
  - features/saving/saving.feature
694
- - features/step_definitions/custom_web_steps.rb
695
564
  - features/step_definitions/debug_steps.rb
696
- - features/step_definitions/generator_steps.rb
697
565
  - features/step_definitions/mercury_steps.rb
698
566
  - features/step_definitions/web_steps.rb
699
- - features/support/aruba.rb
700
567
  - features/support/env.rb
568
+ - features/support/mercury_contents.rb
569
+ - features/support/mercury_selectors.rb
701
570
  - features/support/paths.rb
702
571
  - features/support/selectors.rb
703
- - spec/dummy/Rakefile
704
- - spec/dummy/app/assets/javascripts/application.js
705
- - spec/dummy/app/assets/javascripts/prototype.js
706
- - spec/dummy/app/assets/stylesheets/application.css.scss
707
- - spec/dummy/app/controllers/application_controller.rb
708
- - spec/dummy/app/views/layouts/application.html.erb
709
- - spec/dummy/app/views/layouts/mercury.html.erb
710
- - spec/dummy/config.ru
711
- - spec/dummy/config/application.rb
712
- - spec/dummy/config/boot.rb
713
- - spec/dummy/config/database.yml
714
- - spec/dummy/config/environment.rb
715
- - spec/dummy/config/environments/development.rb
716
- - spec/dummy/config/environments/production.rb
717
- - spec/dummy/config/environments/test.rb
718
- - spec/dummy/config/initializers/backtrace_silencers.rb
719
- - spec/dummy/config/initializers/inflections.rb
720
- - spec/dummy/config/initializers/mime_types.rb
721
- - spec/dummy/config/initializers/secret_token.rb
722
- - spec/dummy/config/initializers/session_store.rb
723
- - spec/dummy/config/initializers/teabag.rb
724
- - spec/dummy/config/initializers/wrap_parameters.rb
725
- - spec/dummy/config/locales/en.yml
726
- - spec/dummy/config/routes.rb
727
- - spec/dummy/db/.gitkeep
728
- - spec/dummy/public/500.html
729
- - spec/dummy/public/blank.html
730
- - spec/dummy/public/favicon.ico
731
- - spec/dummy/public/images/bunny.gif
732
- - spec/dummy/public/images/bunny2.jpg
733
- - spec/dummy/public/index.html
734
- - spec/dummy/script/rails
735
- - spec/javascripts/fixtures/mercury/dialog.html
736
- - spec/javascripts/fixtures/mercury/dialogs/backcolor.html
737
- - spec/javascripts/fixtures/mercury/dialogs/forecolor.html
738
- - spec/javascripts/fixtures/mercury/dialogs/formatblock.html
739
- - spec/javascripts/fixtures/mercury/dialogs/snippetpanel.html
740
- - spec/javascripts/fixtures/mercury/dialogs/style.html
741
- - spec/javascripts/fixtures/mercury/lightview.html
742
- - spec/javascripts/fixtures/mercury/modal.html
743
- - spec/javascripts/fixtures/mercury/modals/htmleditor.html
744
- - spec/javascripts/fixtures/mercury/modals/insertcharacter.html
745
- - spec/javascripts/fixtures/mercury/modals/insertlink.html
746
- - spec/javascripts/fixtures/mercury/modals/insertmedia.html
747
- - spec/javascripts/fixtures/mercury/modals/insertsnippet.html
748
- - spec/javascripts/fixtures/mercury/modals/inserttable.html
749
- - spec/javascripts/fixtures/mercury/page_editor.html
750
- - spec/javascripts/fixtures/mercury/palette.html
751
- - spec/javascripts/fixtures/mercury/panel.html
752
- - spec/javascripts/fixtures/mercury/region.html
753
- - spec/javascripts/fixtures/mercury/regions/full.html
754
- - spec/javascripts/fixtures/mercury/regions/image.html
755
- - spec/javascripts/fixtures/mercury/regions/markdown.html
756
- - spec/javascripts/fixtures/mercury/regions/simple.html
757
- - spec/javascripts/fixtures/mercury/regions/snippets.html
758
- - spec/javascripts/fixtures/mercury/select.html
759
- - spec/javascripts/fixtures/mercury/snippet.html
760
- - spec/javascripts/fixtures/mercury/snippet_toolbar.html
761
- - spec/javascripts/fixtures/mercury/statusbar.html
762
- - spec/javascripts/fixtures/mercury/table_editor.html
763
- - spec/javascripts/fixtures/mercury/toolbar.button.html
764
- - spec/javascripts/fixtures/mercury/toolbar.button_group.html
765
- - spec/javascripts/fixtures/mercury/toolbar.expander.html
766
- - spec/javascripts/fixtures/mercury/toolbar.html
767
- - spec/javascripts/fixtures/mercury/tooltip.html
768
- - spec/javascripts/fixtures/mercury/uploader.html
769
- - spec/javascripts/mercury/dialog_spec.coffee
572
+ - spec/javascripts/mercury/dialog_spec.js.coffee
770
573
  - spec/javascripts/mercury/dialogs/backcolor_spec.js.coffee
771
574
  - spec/javascripts/mercury/dialogs/forecolor_spec.js.coffee
772
575
  - spec/javascripts/mercury/dialogs/formatblock_spec.js.coffee
@@ -787,11 +590,9 @@ test_files:
787
590
  - spec/javascripts/mercury/palette_spec.js.coffee
788
591
  - spec/javascripts/mercury/panel_spec.js.coffee
789
592
  - spec/javascripts/mercury/region_spec.js.coffee
790
- - spec/javascripts/mercury/regions/full_spec.js.coffee
791
- - spec/javascripts/mercury/regions/image_spec.js.coffee
792
- - spec/javascripts/mercury/regions/markdown_spec.js.coffee
793
- - spec/javascripts/mercury/regions/simple_spec.js.coffee
794
- - spec/javascripts/mercury/regions/snippets_spec.js.coffee
593
+ - spec/javascripts/mercury/regions/editable_spec.js.coffee
594
+ - spec/javascripts/mercury/regions/markupable_spec.js.coffee
595
+ - spec/javascripts/mercury/regions/snippetable_spec.js.coffee
795
596
  - spec/javascripts/mercury/select_spec.js.coffee
796
597
  - spec/javascripts/mercury/snippet_spec.js.coffee
797
598
  - spec/javascripts/mercury/snippet_toolbar_spec.js.coffee
@@ -803,6 +604,35 @@ test_files:
803
604
  - spec/javascripts/mercury/toolbar_spec.js.coffee
804
605
  - spec/javascripts/mercury/tooltip_spec.js.coffee
805
606
  - spec/javascripts/mercury/uploader_spec.js.coffee
806
- - spec/javascripts/spec_helper.coffee
807
- - spec/javascripts/support/event_simulation.js
808
- - spec/teabag_env.rb
607
+ - spec/javascripts/spec_helper.js
608
+ - spec/javascripts/templates/mercury/dialog.html
609
+ - spec/javascripts/templates/mercury/dialogs/backcolor.html
610
+ - spec/javascripts/templates/mercury/dialogs/forecolor.html
611
+ - spec/javascripts/templates/mercury/dialogs/formatblock.html
612
+ - spec/javascripts/templates/mercury/dialogs/snippetpanel.html
613
+ - spec/javascripts/templates/mercury/dialogs/style.html
614
+ - spec/javascripts/templates/mercury/lightview.html
615
+ - spec/javascripts/templates/mercury/modal.html
616
+ - spec/javascripts/templates/mercury/modals/htmleditor.html
617
+ - spec/javascripts/templates/mercury/modals/insertcharacter.html
618
+ - spec/javascripts/templates/mercury/modals/insertlink.html
619
+ - spec/javascripts/templates/mercury/modals/insertmedia.html
620
+ - spec/javascripts/templates/mercury/modals/insertsnippet.html
621
+ - spec/javascripts/templates/mercury/modals/inserttable.html
622
+ - spec/javascripts/templates/mercury/page_editor.html
623
+ - spec/javascripts/templates/mercury/palette.html
624
+ - spec/javascripts/templates/mercury/panel.html
625
+ - spec/javascripts/templates/mercury/region.html
626
+ - spec/javascripts/templates/mercury/regions/editable.html
627
+ - spec/javascripts/templates/mercury/regions/snippetable.html
628
+ - spec/javascripts/templates/mercury/select.html
629
+ - spec/javascripts/templates/mercury/snippet.html
630
+ - spec/javascripts/templates/mercury/snippet_toolbar.html
631
+ - spec/javascripts/templates/mercury/statusbar.html
632
+ - spec/javascripts/templates/mercury/table_editor.html
633
+ - spec/javascripts/templates/mercury/toolbar.button.html
634
+ - spec/javascripts/templates/mercury/toolbar.button_group.html
635
+ - spec/javascripts/templates/mercury/toolbar.expander.html
636
+ - spec/javascripts/templates/mercury/toolbar.html
637
+ - spec/javascripts/templates/mercury/tooltip.html
638
+ - spec/javascripts/templates/mercury/uploader.html