esp-ckeditor 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (381) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +8 -0
  3. data/Gemfile +3 -0
  4. data/README.rdoc +5 -8
  5. data/bin/minify +140 -0
  6. data/esp-ckeditor.gemspec +22 -0
  7. data/lib/esp-ckeditor/version.rb +1 -1
  8. data/script/rails +6 -0
  9. data/spec/dummy/Rakefile +7 -0
  10. data/spec/dummy/app/assets/javascripts/application.js +7 -0
  11. data/spec/dummy/app/assets/stylesheets/application.css +7 -0
  12. data/spec/dummy/app/assets/stylesheets/reset.sass +131 -0
  13. data/spec/dummy/app/assets/stylesheets/screen.sass +12 -0
  14. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  15. data/spec/dummy/app/controllers/home_controller.rb +6 -0
  16. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  17. data/{app/assets/javascripts/esp-ckeditor/plugins/dialog/dialogDefinition.js → spec/dummy/app/mailers/.gitkeep} +0 -0
  18. data/spec/dummy/app/models/.gitkeep +0 -0
  19. data/spec/dummy/app/views/home/index.html.erb +1 -0
  20. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  21. data/spec/dummy/config.ru +4 -0
  22. data/spec/dummy/config/application.rb +50 -0
  23. data/spec/dummy/config/boot.rb +10 -0
  24. data/spec/dummy/config/database.yml +25 -0
  25. data/spec/dummy/config/environment.rb +5 -0
  26. data/spec/dummy/config/environments/development.rb +30 -0
  27. data/spec/dummy/config/environments/production.rb +60 -0
  28. data/spec/dummy/config/environments/test.rb +39 -0
  29. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  30. data/spec/dummy/config/initializers/inflections.rb +10 -0
  31. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  32. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  33. data/spec/dummy/config/initializers/session_store.rb +8 -0
  34. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  35. data/spec/dummy/config/locales/en.yml +5 -0
  36. data/spec/dummy/config/routes.rb +6 -0
  37. data/spec/dummy/lib/assets/.gitkeep +0 -0
  38. data/spec/dummy/log/.gitkeep +0 -0
  39. data/spec/dummy/public/404.html +26 -0
  40. data/spec/dummy/public/422.html +26 -0
  41. data/spec/dummy/public/500.html +26 -0
  42. data/spec/dummy/public/favicon.ico +0 -0
  43. data/spec/dummy/script/rails +6 -0
  44. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/_bootstrap.js +0 -0
  45. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/ckeditor.js +0 -0
  46. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/ckeditor_base.js +0 -0
  47. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/ckeditor_basic.js +0 -0
  48. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/command.js +0 -0
  49. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/commanddefinition.js +0 -0
  50. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/config.js +0 -0
  51. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dataprocessor.js +0 -0
  52. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom.js +0 -0
  53. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/comment.js +0 -0
  54. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/document.js +0 -0
  55. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/documentfragment.js +0 -0
  56. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/domobject.js +0 -0
  57. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/element.js +0 -0
  58. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/elementpath.js +0 -0
  59. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/event.js +0 -0
  60. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/node.js +0 -0
  61. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/nodelist.js +0 -0
  62. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/range.js +0 -0
  63. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/rangelist.js +0 -0
  64. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/text.js +0 -0
  65. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/walker.js +0 -0
  66. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/window.js +0 -0
  67. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dtd.js +0 -0
  68. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/editor.js +0 -0
  69. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/editor_basic.js +0 -0
  70. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/env.js +0 -0
  71. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/event.js +0 -0
  72. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/eventInfo.js +0 -0
  73. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/focusmanager.js +0 -0
  74. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/htmlparser.js +0 -0
  75. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/htmlparser/basicwriter.js +0 -0
  76. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/htmlparser/cdata.js +0 -0
  77. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/htmlparser/comment.js +0 -0
  78. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/htmlparser/element.js +0 -0
  79. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/htmlparser/filter.js +0 -0
  80. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/htmlparser/fragment.js +0 -0
  81. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/htmlparser/text.js +0 -0
  82. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/lang.js +0 -0
  83. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/loader.js +0 -0
  84. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/plugindefinition.js +0 -0
  85. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/plugins.js +0 -0
  86. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/resourcemanager.js +0 -0
  87. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/scriptloader.js +0 -0
  88. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/skins.js +0 -0
  89. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/themes.js +0 -0
  90. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/tools.js +0 -0
  91. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/ui.js +0 -0
  92. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/lang/_languages.js +0 -0
  93. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/lang/en.js +0 -0
  94. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/lang/ru.js +0 -0
  95. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/a11yhelp/dialogs/a11yhelp.js +0 -0
  96. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/a11yhelp/lang/en.js +0 -0
  97. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/a11yhelp/lang/he.js +0 -0
  98. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/a11yhelp/plugin.js +0 -0
  99. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/basicstyles/plugin.js +0 -0
  100. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/button/plugin.js +0 -0
  101. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/clipboard/dialogs/paste.js +0 -0
  102. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/clipboard/plugin.js +0 -0
  103. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/contextmenu/plugin.js +0 -0
  104. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/dialog/dialogDefinition.js +0 -0
  105. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/dialog/plugin.js +0 -0
  106. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/dialogadvtab/plugin.js +0 -0
  107. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/dialogui/plugin.js +0 -0
  108. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/domiterator/plugin.js +0 -0
  109. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/editingblock/plugin.js +0 -0
  110. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/elementspath/plugin.js +0 -0
  111. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/enterkey/plugin.js +0 -0
  112. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/entities/plugin.js +0 -0
  113. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_attachment/dialogs/esp_attachment.js +0 -0
  114. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_attachment/images/esp_attachment.png +0 -0
  115. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_attachment/lang/en.js +0 -0
  116. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_attachment/lang/ru.js +0 -0
  117. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_attachment/lang/uk.js +0 -0
  118. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_attachment/plugin.js +0 -0
  119. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/dialogs/esp_audio.js +0 -0
  120. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/images/esp_audio.png +0 -0
  121. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/images/placeholder.png +0 -0
  122. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/lang/en.js +0 -0
  123. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/lang/ru.js +0 -0
  124. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/lang/uk.js +0 -0
  125. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/plugin.js +0 -0
  126. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_blockquote/dialogs/esp_blockquote.js +0 -0
  127. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_blockquote/plugin.js +0 -0
  128. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_image/dialogs/esp_image.js +0 -0
  129. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_image/images/esp_image.png +0 -0
  130. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_image/lang/en.js +0 -0
  131. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_image/lang/ru.js +0 -0
  132. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_image/lang/uk.js +0 -0
  133. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_image/plugin.js +0 -0
  134. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/dialogs/esp_anchor.js +0 -0
  135. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/dialogs/esp_link.js +0 -0
  136. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/images/anchor.png +0 -0
  137. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/images/esp_anchor.png +0 -0
  138. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/images/esp_link.png +0 -0
  139. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/images/esp_unlink.png +0 -0
  140. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/lang/en.js +0 -0
  141. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/lang/ru.js +0 -0
  142. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/lang/uk.js +0 -0
  143. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/plugin.js +0 -0
  144. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_address.png +0 -0
  145. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_blockquote.png +0 -0
  146. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_div.png +0 -0
  147. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_h1.png +0 -0
  148. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_h2.png +0 -0
  149. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_h3.png +0 -0
  150. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_h4.png +0 -0
  151. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_h5.png +0 -0
  152. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_h6.png +0 -0
  153. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_p.png +0 -0
  154. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_pre.png +0 -0
  155. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/esp_showblocks.png +0 -0
  156. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/plugin.js +0 -0
  157. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/dialogs/esp_video.js +0 -0
  158. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/images/esp_video.png +0 -0
  159. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/images/placeholder.png +0 -0
  160. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/lang/en.js +0 -0
  161. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/lang/ru.js +0 -0
  162. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/lang/uk.js +0 -0
  163. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/plugin.js +0 -0
  164. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/fakeobjects/plugin.js +0 -0
  165. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/filebrowser/plugin.js +0 -0
  166. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/find/dialogs/find.js +0 -0
  167. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/find/plugin.js +0 -0
  168. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/floatpanel/plugin.js +0 -0
  169. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/format/plugin.js +0 -0
  170. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/htmldataprocessor/plugin.js +0 -0
  171. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/htmlwriter/plugin.js +0 -0
  172. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/image/dialogs/image.js +0 -0
  173. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/image/plugin.js +0 -0
  174. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/indent/plugin.js +0 -0
  175. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/justify/plugin.js +0 -0
  176. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/keystrokes/plugin.js +0 -0
  177. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/list/plugin.js +0 -0
  178. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/listblock/plugin.js +0 -0
  179. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/liststyle/dialogs/liststyle.js +0 -0
  180. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/liststyle/plugin.js +0 -0
  181. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/maximize/plugin.js +0 -0
  182. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/menu/plugin.js +0 -0
  183. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/panel/plugin.js +0 -0
  184. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/pastefromword/filter/default.js +0 -0
  185. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/pastefromword/plugin.js +0 -0
  186. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/pastetext/dialogs/pastetext.js +0 -0
  187. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/pastetext/plugin.js +0 -0
  188. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/popup/plugin.js +0 -0
  189. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/removeformat/plugin.js +0 -0
  190. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/resize/plugin.js +0 -0
  191. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/richcombo/plugin.js +0 -0
  192. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/selection/plugin.js +0 -0
  193. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/showborders/plugin.js +0 -0
  194. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/sourcearea/plugin.js +0 -0
  195. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/specialchar/dialogs/specialchar.js +0 -0
  196. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/specialchar/lang/en.js +0 -0
  197. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/specialchar/plugin.js +0 -0
  198. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/styles/plugin.js +0 -0
  199. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/styles/styles/default.js +0 -0
  200. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/stylescombo/plugin.js +0 -0
  201. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/tab/plugin.js +0 -0
  202. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/table/dialogs/table.js +0 -0
  203. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/table/plugin.js +0 -0
  204. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/tabletools/dialogs/tableCell.js +0 -0
  205. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/tabletools/plugin.js +0 -0
  206. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/toolbar/plugin.js +0 -0
  207. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/undo/plugin.js +0 -0
  208. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/wysiwygarea/plugin.js +0 -0
  209. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/dialog.css +0 -0
  210. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/editor.css +0 -0
  211. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/elementspath.css +0 -0
  212. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/icons.css +0 -0
  213. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/icons.png +0 -0
  214. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/icons_rtl.png +0 -0
  215. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/images/dialog_sides.gif +0 -0
  216. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/images/dialog_sides.png +0 -0
  217. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/images/dialog_sides_rtl.png +0 -0
  218. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/images/mini.gif +0 -0
  219. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/images/noimage.png +0 -0
  220. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/images/sprites.png +0 -0
  221. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/images/sprites_ie6.png +0 -0
  222. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/images/toolbar_start.gif +0 -0
  223. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/mainui.css +0 -0
  224. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/menu.css +0 -0
  225. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/panel.css +0 -0
  226. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/presets.css +0 -0
  227. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/reset.css +0 -0
  228. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/richcombo.css +0 -0
  229. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/skin.js +0 -0
  230. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/templates.css +0 -0
  231. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/toolbar.css +0 -0
  232. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/themes/default/theme.js +0 -0
  233. data/{app → vendor}/assets/javascripts/esp-ckeditor/ckeditor.js +0 -0
  234. data/{app → vendor}/assets/javascripts/esp-ckeditor/ckeditor.pack +0 -0
  235. data/{app → vendor}/assets/javascripts/esp-ckeditor/ckeditor_source.js +0 -0
  236. data/{app → vendor}/assets/javascripts/esp-ckeditor/ckpackager.jar +0 -0
  237. data/{app → vendor}/assets/javascripts/esp-ckeditor/ckpackager.txt +0 -0
  238. data/{app → vendor}/assets/javascripts/esp-ckeditor/config.js +0 -0
  239. data/{app → vendor}/assets/javascripts/esp-ckeditor/contents.css +0 -0
  240. data/{app → vendor}/assets/javascripts/esp-ckeditor/images/spacer.gif +0 -0
  241. data/{app/assets/javascripts/esp-ckeditor/application.js → vendor/assets/javascripts/esp-ckeditor/index.js} +0 -0
  242. data/{app → vendor}/assets/javascripts/esp-ckeditor/init_ckeditor.js +0 -0
  243. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +0 -0
  244. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/a11yhelp/lang/en.js +0 -0
  245. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/a11yhelp/lang/he.js +0 -0
  246. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/a11yhelp/plugin.js +0 -0
  247. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/basicstyles/plugin.js +0 -0
  248. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/button/plugin.js +0 -0
  249. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/clipboard/dialogs/paste.js +0 -0
  250. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/clipboard/plugin.js +0 -0
  251. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/contextmenu/plugin.js +0 -0
  252. data/vendor/assets/javascripts/esp-ckeditor/plugins/dialog/dialogDefinition.js +0 -0
  253. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/dialog/plugin.js +0 -0
  254. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/dialogadvtab/plugin.js +0 -0
  255. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/dialogui/plugin.js +0 -0
  256. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/domiterator/plugin.js +0 -0
  257. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/editingblock/plugin.js +0 -0
  258. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/elementspath/plugin.js +0 -0
  259. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/enterkey/plugin.js +0 -0
  260. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/entities/plugin.js +0 -0
  261. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_attachment/dialogs/esp_attachment.js +0 -0
  262. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_attachment/images/esp_attachment.png +0 -0
  263. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_attachment/lang/en.js +0 -0
  264. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_attachment/lang/ru.js +0 -0
  265. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_attachment/lang/uk.js +0 -0
  266. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_attachment/plugin.js +0 -0
  267. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_audio/dialogs/esp_audio.js +0 -0
  268. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_audio/images/esp_audio.png +0 -0
  269. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_audio/images/placeholder.png +0 -0
  270. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_audio/lang/en.js +0 -0
  271. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_audio/lang/ru.js +0 -0
  272. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_audio/lang/uk.js +0 -0
  273. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_audio/plugin.js +0 -0
  274. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_blockquote/dialogs/esp_blockquote.js +0 -0
  275. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_blockquote/plugin.js +0 -0
  276. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_image/dialogs/esp_image.js +0 -0
  277. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_image/images/esp_image.png +0 -0
  278. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_image/lang/en.js +0 -0
  279. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_image/lang/ru.js +0 -0
  280. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_image/lang/uk.js +0 -0
  281. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_image/plugin.js +0 -0
  282. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_link/dialogs/esp_anchor.js +0 -0
  283. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_link/dialogs/esp_link.js +0 -0
  284. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_link/images/anchor.png +0 -0
  285. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_link/images/esp_anchor.png +0 -0
  286. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_link/images/esp_link.png +0 -0
  287. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_link/images/esp_unlink.png +0 -0
  288. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_link/lang/en.js +0 -0
  289. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_link/lang/ru.js +0 -0
  290. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_link/lang/uk.js +0 -0
  291. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_link/plugin.js +0 -0
  292. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_address.png +0 -0
  293. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_blockquote.png +0 -0
  294. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_div.png +0 -0
  295. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_h1.png +0 -0
  296. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_h2.png +0 -0
  297. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_h3.png +0 -0
  298. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_h4.png +0 -0
  299. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_h5.png +0 -0
  300. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_h6.png +0 -0
  301. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_p.png +0 -0
  302. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_pre.png +0 -0
  303. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/esp_showblocks.png +0 -0
  304. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/plugin.js +0 -0
  305. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_video/dialogs/esp_video.js +0 -0
  306. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_video/images/esp_video.png +0 -0
  307. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_video/images/placeholder.png +0 -0
  308. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_video/lang/en.js +0 -0
  309. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_video/lang/ru.js +0 -0
  310. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_video/lang/uk.js +0 -0
  311. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_video/plugin.js +0 -0
  312. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/fakeobjects/plugin.js +0 -0
  313. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/filebrowser/plugin.js +0 -0
  314. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/find/dialogs/find.js +0 -0
  315. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/find/plugin.js +0 -0
  316. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/floatpanel/plugin.js +0 -0
  317. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/format/plugin.js +0 -0
  318. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/htmldataprocessor/plugin.js +0 -0
  319. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/htmlwriter/plugin.js +0 -0
  320. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/image/dialogs/image.js +0 -0
  321. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/image/plugin.js +0 -0
  322. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/indent/plugin.js +0 -0
  323. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/justify/plugin.js +0 -0
  324. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/keystrokes/plugin.js +0 -0
  325. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/list/plugin.js +0 -0
  326. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/listblock/plugin.js +0 -0
  327. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/liststyle/dialogs/liststyle.js +0 -0
  328. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/liststyle/plugin.js +0 -0
  329. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/maximize/plugin.js +0 -0
  330. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/menu/plugin.js +0 -0
  331. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/panel/plugin.js +0 -0
  332. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/pastefromword/filter/default.js +0 -0
  333. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/pastefromword/plugin.js +0 -0
  334. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/pastetext/dialogs/pastetext.js +0 -0
  335. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/pastetext/plugin.js +0 -0
  336. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/popup/plugin.js +0 -0
  337. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/removeformat/plugin.js +0 -0
  338. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/resize/plugin.js +0 -0
  339. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/richcombo/plugin.js +0 -0
  340. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/selection/plugin.js +0 -0
  341. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/showborders/plugin.js +0 -0
  342. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/sourcearea/plugin.js +0 -0
  343. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/specialchar/dialogs/specialchar.js +0 -0
  344. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/specialchar/lang/en.js +0 -0
  345. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/specialchar/plugin.js +0 -0
  346. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/styles/plugin.js +0 -0
  347. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/styles/styles/default.js +0 -0
  348. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/stylescombo/plugin.js +0 -0
  349. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/tab/plugin.js +0 -0
  350. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/table/dialogs/table.js +0 -0
  351. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/table/plugin.js +0 -0
  352. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/tabletools/dialogs/tableCell.js +0 -0
  353. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/tabletools/plugin.js +0 -0
  354. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/toolbar/plugin.js +0 -0
  355. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/undo/plugin.js +0 -0
  356. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/wysiwygarea/plugin.js +0 -0
  357. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/dialog.css +0 -0
  358. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/editor.css +9 -9
  359. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/elementspath.css +0 -0
  360. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/icons.css +0 -0
  361. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/icons.png +0 -0
  362. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/icons_rtl.png +0 -0
  363. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/images/dialog_sides.gif +0 -0
  364. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/images/dialog_sides.png +0 -0
  365. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
  366. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/images/mini.gif +0 -0
  367. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/images/noimage.png +0 -0
  368. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/images/sprites.png +0 -0
  369. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/images/sprites_ie6.png +0 -0
  370. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/images/toolbar_start.gif +0 -0
  371. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/mainui.css +0 -0
  372. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/menu.css +0 -0
  373. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/panel.css +0 -0
  374. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/presets.css +0 -0
  375. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/reset.css +0 -0
  376. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/richcombo.css +0 -0
  377. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/skin.js +0 -0
  378. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/templates.css +0 -0
  379. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/toolbar.css +0 -0
  380. metadata +402 -393
  381. data/app/inputs/ckeditor_input.rb +0 -42
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: bf2bcafe01a57cd3f271df3ce55128a84117e921
4
+ data.tar.gz: ccc991376ae61ea91c3b1492394ea96bdea35463
5
+ SHA512:
6
+ metadata.gz: 07390d9f191ba4042eb1b229e5450ba4858cabf36ea698f968932fa07cf31ed80a309a075d8456b871407022fd5a31cf493d3eaffb6193d3634b8e869123cd69
7
+ data.tar.gz: cc7350dd98656449a3b54bf6fcdba608533e98d1d73d8874c35e42380a567da9119963a60c8983287635bcb005b9e96bf6e7a48bd25ef7d88d3441382489b535
data/.gitignore ADDED
@@ -0,0 +1,8 @@
1
+ .bundle/
2
+ log/*.log
3
+ pkg/
4
+ Gemfile.lock
5
+ spec/dummy/db/*.sqlite3
6
+ spec/dummy/log/*.log
7
+ spec/dummy/tmp/
8
+ spec/dummy/.sass-cache/
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
data/README.rdoc CHANGED
@@ -1,6 +1,6 @@
1
1
  = EspCkeditor
2
2
 
3
- CKEditor 3.6.2 for rails >= 3.1.0 project with formtastic and el_vfs_client (optional) support.
3
+ CKEditor 3.6.2 for rails >= 3.1.0 project with el_vfs_client (optional) support.
4
4
 
5
5
  == Install
6
6
 
@@ -18,15 +18,12 @@ or
18
18
 
19
19
  == Usage
20
20
 
21
- In layout or view include JavaScript
21
+ Add to your <code>application.js</code>:
22
22
 
23
- <%= javascript_include_tag 'esp-ckeditor/application' %>
23
+ //= require esp-ckeditor
24
24
 
25
- and use formtastic input <tt>:as => :ckeditor</tt>
26
-
27
- <%= form.input :annotation, :as => :ckeditor, :input_html => { :height => 100 } %>
28
- <%= form.input :text, :as => :ckeditor %>
25
+ and use textarea with <tt>:class => :ckeditor</tt>
29
26
 
30
27
  == License
31
28
 
32
- This project rocks and uses MIT-LICENSE.
29
+ This project rocks and uses MIT-LICENSE.
data/bin/minify ADDED
@@ -0,0 +1,140 @@
1
+ #!/bin/bash
2
+ #
3
+ # minify ckeditor plugins from ckeditor/_source/plugins to ckeditor/plugins
4
+ #
5
+
6
+ txtbld=$(tput bold)
7
+ txtred=$(tput setaf 1)
8
+ bldred=${txtbld}${txtred}
9
+ txtgrn=$(tput setaf 2)
10
+ bldgrn=${txtbld}${txtgrn}
11
+ txtrst=$(tput sgr0)
12
+
13
+ project_path=`pwd`
14
+
15
+ java_path=`which java`
16
+
17
+ juicer_path=`which juicer`
18
+
19
+ if [ -n "$juicer_path" ]; then
20
+ juicer_path=juicer
21
+ fi
22
+
23
+ if [ -e $project_path/bin/juicer ]; then
24
+ juicer_path=bin/juicer
25
+ fi
26
+
27
+ if [ ! -n "$java_path" ]; then
28
+ echo
29
+ echo "${bldred}Can't find Java Runtime Environment!${txtrst}"
30
+ echo "${txtgrn}It need for minify JavaScripts. Please install it${txtrst}"
31
+ echo
32
+ exit 1
33
+ fi
34
+
35
+ if [ ! -n "$juicer_path" ] & [ ! -e $project_path/bin/juicer ]; then
36
+ echo
37
+ echo "${bldred}Can't find executable juicer!${txtrst}"
38
+ echo "${txtgrn}Please run:${txtrst}"
39
+ echo "bundle install --binstubs"
40
+ echo "${txtgrn}or${txtrst}"
41
+ echo "gem install juicer"
42
+ echo
43
+ exit 1
44
+ fi
45
+
46
+ if [ ! -e ~/.juicer/lib/yui_compressor/bin/yuicompressor-*.jar ]; then
47
+ echo
48
+ echo "${bldred}YUI Compressor is not installed!${txtrst}"
49
+ echo "${txtgrn}Please run:${txtrst}"
50
+ echo "$juicer_path install yui_compressor"
51
+ echo
52
+ exit 1
53
+ fi
54
+
55
+ if [ ! -e ~/.juicer/lib/jslint/bin/jslint-*.js ]; then
56
+ echo
57
+ echo "${bldred}JsLint is not installed!${txtrst}"
58
+ echo "${txtgrn}Please run:${txtrst}"
59
+ echo "$juicer_path install jslint"
60
+ echo
61
+ exit 1
62
+ fi
63
+
64
+ echo "${bldgrn}Note:${txtrst} use --pack params for minify ckeditor.js"
65
+ echo " by default minify all _source/plugins javascripts"
66
+ echo " or specify the list of parameters for custom files minify"
67
+ echo
68
+
69
+ function minify {
70
+ file=$1
71
+ file_path=${file%/*}
72
+ file_name=$(basename $file)
73
+ dest_path=${file_path/\/_source\///}
74
+ if [ ! -d "$dest_path" ]; then
75
+ mkdir $dest_path
76
+ fi
77
+ $project_path/bin/juicer merge -i -s -f -o $dest_path/$file_name $file_path/$file_name
78
+ }
79
+
80
+
81
+ function minify_all {
82
+ echo "${txtgrn}Start minify${txtrst}"
83
+ for file in $parameters; do
84
+ minify $file
85
+ done
86
+ echo "${txtgrn}Done${txtrst}"
87
+ }
88
+
89
+ function hms() {
90
+ local S=$SECONDS
91
+ ((m=S%3600/60))
92
+ ((s=S%60))
93
+ printf "Running time: %dm:%ds\n" $m $s
94
+ }
95
+
96
+ parameters="$@"
97
+
98
+ for thing in $parameters
99
+ do
100
+ if [ "${thing}" = "--pack" ]; then
101
+ echo "${txtgrn}Minify ckeditor.js${txtrst}"
102
+ cd vendor/assets/javascripts/esp-ckeditor/
103
+ java -jar ckpackager.jar ckeditor.pack
104
+ cd $project_path
105
+ echo "${txtgrn}Done${txtrst}"
106
+ echo
107
+ fi
108
+ done
109
+
110
+ if [ -n "$parameters" ]; then
111
+ if [ $# -eq 1 ] & [ "$parameters" = "--pack" ]; then
112
+ parameters=`find vendor/assets/javascripts/esp-ckeditor/_source/plugins/ -name *.js`
113
+ minify_all
114
+ hms
115
+ exit 0
116
+ fi
117
+ echo "${txtgrn}Minify plugins from params${txtrst}"
118
+ echo "${txtgrn}Start minify${txtrst}"
119
+ for file in $parameters; do
120
+ if [ "${file}" = "--pack" ]; then
121
+ continue
122
+ fi
123
+ if [ ! -e $file ]; then
124
+ echo "${txtred}Can't find $file${txtrst}"
125
+ continue
126
+ else
127
+ minify $file
128
+ fi
129
+ done
130
+ echo "${txtgrn}Done${txtrst}"
131
+ hms
132
+ exit 0
133
+ else
134
+ echo "${txtgrn}Minify from ckeditor source path${txtrst}"
135
+ parameters=`find vendor/assets/javascripts/esp-ckeditor/_source/plugins/ -name *.js`
136
+ fi
137
+
138
+ minify_all
139
+
140
+ hms
@@ -0,0 +1,22 @@
1
+ $:.push File.expand_path('../lib', __FILE__)
2
+
3
+ # Maintain your gem's version:
4
+ require 'esp-ckeditor/version'
5
+
6
+ # Describe your gem and declare its dependencies:
7
+ Gem::Specification.new do |s|
8
+ s.name = 'esp-ckeditor'
9
+ s.version = EspCkeditor::VERSION
10
+ s.authors = ['Evgeny Lapin']
11
+ s.email = ['mail@openteam.ru']
12
+ s.homepage = 'http://github.com/openteam-esp/esp-ckeditor'
13
+ s.summary = 'EspCkeditor.'
14
+ s.description = 'EspCkeditor.'
15
+
16
+ s.files = `git ls-files`.split("\n")
17
+
18
+ s.add_development_dependency 'rails', '~> 3.2.15'
19
+ s.add_development_dependency 'juicer'
20
+ s.add_development_dependency 'sass-rails'
21
+
22
+ end
@@ -1,3 +1,3 @@
1
1
  module EspCkeditor
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
data/script/rails ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ #!/usr/bin/env ruby
3
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
4
+
5
+ ENGINE_PATH = File.expand_path('../..', __FILE__)
6
+ load File.expand_path('../../spec/dummy/script/rails', __FILE__)
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env rake
2
+ # Add your own tasks in files placed in lib/tasks ending in .rake,
3
+ # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
4
+
5
+ require File.expand_path('../config/application', __FILE__)
6
+
7
+ Dummy::Application.load_tasks
@@ -0,0 +1,7 @@
1
+ // This is a manifest file that'll be compiled into including all the files listed below.
2
+ // Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
3
+ // be included in the compiled file accessible from http://example.com/assets/application.js
4
+ // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
5
+ // the compiled file.
6
+ //
7
+ //= require esp-ckeditor
@@ -0,0 +1,7 @@
1
+ /*
2
+ * This is a manifest file that'll automatically include all the stylesheets available in this directory
3
+ * and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
4
+ * the top of the compiled file, but it's generally better to create a new file per style scope.
5
+ *= require_self
6
+ *= require_tree .
7
+ */
@@ -0,0 +1,131 @@
1
+ // Based on [Eric Meyer's reset 2.0](http://meyerweb.com/eric/tools/css/reset/index.html)
2
+ // Global reset rules.
3
+ // For more specific resets, use the reset mixins provided below
4
+ =global-reset
5
+ html, body, div, span, applet, object, iframe,
6
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
7
+ a, abbr, acronym, address, big, cite, code,
8
+ del, dfn, em, img, ins, kbd, q, s, samp,
9
+ small, strike, strong, sub, sup, tt, var,
10
+ b, u, i, center,
11
+ dl, dt, dd, ol, ul, li,
12
+ fieldset, form, label, legend,
13
+ table, caption, tbody, tfoot, thead, tr, th, td,
14
+ article, aside, canvas, details, embed,
15
+ figure, figcaption, footer, header, hgroup,
16
+ menu, nav, output, ruby, section, summary,
17
+ time, mark, audio, video
18
+ +reset-box-model
19
+ +reset-font
20
+ body
21
+ +reset-body
22
+ ol, ul
23
+ +reset-list-style
24
+ table
25
+ +reset-table
26
+ caption, th, td
27
+ +reset-table-cell
28
+ q, blockquote
29
+ +reset-quotation
30
+ a img
31
+ +reset-image-anchor-border
32
+
33
+ // Reset all elements within some selector scope. To reset the selector itself,
34
+ // mixin the appropriate reset mixin for that element type as well. This could be
35
+ // useful if you want to style a part of your page in a dramatically different way.
36
+ =nested-reset
37
+ div, span, applet, object, iframe,
38
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
39
+ a, abbr, acronym, address, big, cite, code,
40
+ del, dfn, em, img, ins, kbd, q, s, samp,
41
+ small, strike, strong, sub, sup, tt, var,
42
+ b, u, i, center,
43
+ dl, dt, dd, ol, ul, li,
44
+ fieldset, form, label, legend,
45
+ table, caption, tbody, tfoot, thead, tr, th, td,
46
+ article, aside, canvas, details, embed,
47
+ figure, figcaption, footer, header, hgroup,
48
+ menu, nav, output, ruby, section, summary,
49
+ time, mark, audio, video
50
+ +reset-box-model
51
+ +reset-font
52
+ table
53
+ +reset-table
54
+ caption, th, td
55
+ +reset-table-cell
56
+ q, blockquote
57
+ +reset-quotation
58
+ a img
59
+ +reset-image-anchor-border
60
+
61
+ // Reset the box model measurements.
62
+ =reset-box-model
63
+ margin: 0
64
+ padding: 0
65
+ border: 0
66
+
67
+ // Reset the font and vertical alignment.
68
+ =reset-font
69
+ font-size: 100%
70
+ font: inherit
71
+ vertical-align: baseline
72
+
73
+ // Resets the outline when focus.
74
+ // For accessibility you need to apply some styling in its place.
75
+ =reset-focus
76
+ outline: 0
77
+
78
+ // Reset a body element.
79
+ =reset-body
80
+ line-height: 1
81
+
82
+ // Reset the list style of an element.
83
+ =reset-list-style
84
+ list-style: none
85
+
86
+ // Reset a table
87
+ =reset-table
88
+ border-collapse: collapse
89
+ border-spacing: 0
90
+
91
+ // Reset a table cell (`th`, `td`)
92
+ =reset-table-cell
93
+ text-align: left
94
+ font-weight: normal
95
+ vertical-align: middle
96
+
97
+ // Reset a quotation (`q`, `blockquote`)
98
+ =reset-quotation
99
+ quotes: none
100
+ &:before, &:after
101
+ content: ''
102
+ content: none
103
+
104
+ // Resets the border.
105
+ =reset-image-anchor-border
106
+ border: none
107
+
108
+ // Resets the display of inline and block elements to their default display
109
+ // according to their tag type. Elements that have a default display that varies across
110
+ // versions of html or browser are not handled here, but this covers the 90% use case.
111
+ // Usage Example:
112
+ //
113
+ // // Turn off the display for both of these classes
114
+ // .unregistered-only, .registered-only
115
+ // display: none
116
+ // // Now turn only one of them back on depending on some other context.
117
+ // body.registered
118
+ // +reset-display('.registered-only')
119
+ // body.unregistered
120
+ // +reset-display('.unregistered-only')
121
+ =reset-display($selector: '', $important: false)
122
+ #{append-selector(elements-of-type('inline'), $selector)}
123
+ @if $important
124
+ display: inline !important
125
+ @else
126
+ display: inline
127
+ #{append-selector(elements-of-type('block'), $selector)}
128
+ @if $important
129
+ display: block !important
130
+ @else
131
+ display: block
@@ -0,0 +1,12 @@
1
+ @import 'reset'
2
+
3
+ +global-reset
4
+
5
+ body
6
+ background-color: #fff
7
+ border: 1px solid #ccc
8
+ color: #000
9
+ font-family: Arial, Verdana, sans-serif
10
+ font-size: 12px
11
+ margin: 20px
12
+ padding: 20px
@@ -0,0 +1,3 @@
1
+ class ApplicationController < ActionController::Base
2
+ protect_from_forgery
3
+ end
@@ -0,0 +1,6 @@
1
+ class HomeController < ApplicationController
2
+
3
+ def index
4
+ end
5
+
6
+ end
@@ -0,0 +1,2 @@
1
+ module ApplicationHelper
2
+ end
File without changes
@@ -0,0 +1 @@
1
+ <%= text_area_tag :text, nil, :rows => 20, cols: 100, :class => :ckeditor %>
@@ -0,0 +1,14 @@
1
+ <!DOCTYPE HTML>
2
+ <html lang='ru'>
3
+ <head>
4
+ <meta charset='UTF-8'>
5
+ <title>ESP CKEditor</title>
6
+ <%= favicon_link_tag %>
7
+ <%= stylesheet_link_tag 'application' %>
8
+ <%= javascript_include_tag 'application' %>
9
+ <%= csrf_meta_tags %>
10
+ </head>
11
+ <body>
12
+ <%= yield %>
13
+ </body>
14
+ </html>