mercury-rails 0.1.2 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (176) hide show
  1. data/LICENSE +5 -0
  2. data/{README.rdoc → README.md} +150 -60
  3. data/VERSION +1 -1
  4. data/annotated_source.template +57 -0
  5. data/app/controllers/mercury_controller.rb +8 -4
  6. data/app/models/image.rb +2 -2
  7. data/app/views/layouts/mercury.html.erb +14 -0
  8. data/app/views/mercury/lightviews/about.html +7 -0
  9. data/app/views/mercury/lightviews/imageprocessor.html +3 -0
  10. data/app/views/mercury/modals/character.html +255 -0
  11. data/app/views/mercury/modals/htmleditor.html +13 -0
  12. data/app/views/mercury/modals/link.html +75 -0
  13. data/app/views/mercury/modals/media.html +82 -0
  14. data/app/views/mercury/modals/sanitizer.html +9 -0
  15. data/app/views/mercury/modals/table.html +84 -0
  16. data/app/views/mercury/palettes/backcolor.html +73 -0
  17. data/app/views/mercury/palettes/forecolor.html +73 -0
  18. data/app/views/mercury/panels/history.html +3 -0
  19. data/app/views/mercury/panels/notes.html +3 -0
  20. data/app/views/mercury/panels/snippets.html +12 -0
  21. data/app/views/mercury/selects/formatblock.html +11 -0
  22. data/app/views/mercury/selects/style.html +5 -0
  23. data/app/views/mercury/snippets/example.html.erb +1 -0
  24. data/app/views/mercury/snippets/example_options.html.erb +23 -0
  25. data/config/routes.rb +1 -1
  26. data/features/editing/basic.feature +1 -1
  27. data/features/support/paths.rb +1 -0
  28. data/lib/generators/mercury/install/install_generator.rb +14 -0
  29. data/mercury-rails.gemspec +115 -106
  30. data/spec/javascripts/mercury/dialog_spec.js.coffee +54 -38
  31. data/spec/javascripts/mercury/dialogs/backcolor_spec.js.coffee +1 -1
  32. data/spec/javascripts/mercury/dialogs/forecolor_spec.js.coffee +1 -1
  33. data/spec/javascripts/mercury/dialogs/formatblock_spec.js.coffee +1 -1
  34. data/spec/javascripts/mercury/dialogs/{objectspanel_spec.js.coffee → snippetpanel_spec.js.coffee} +4 -4
  35. data/spec/javascripts/mercury/dialogs/style_spec.js.coffee +1 -1
  36. data/spec/javascripts/mercury/history_buffer_spec.js.coffee +0 -1
  37. data/spec/javascripts/mercury/lightview_spec.js.coffee +448 -0
  38. data/spec/javascripts/mercury/mercury_spec.js.coffee +1 -1
  39. data/spec/javascripts/mercury/modal_spec.js.coffee +474 -0
  40. data/spec/javascripts/mercury/modals/htmleditor_spec.js.coffee +1 -1
  41. data/spec/javascripts/mercury/modals/insertcharacter_spec.js.coffee +1 -1
  42. data/spec/javascripts/mercury/modals/insertlink_spec.js.coffee +8 -2
  43. data/spec/javascripts/mercury/modals/insertmedia_spec.js.coffee +1 -1
  44. data/spec/javascripts/mercury/modals/insertsnippet_spec.js.coffee +1 -1
  45. data/spec/javascripts/mercury/modals/inserttable_spec.js.coffee +1 -1
  46. data/spec/javascripts/mercury/native_extensions_spec.js.coffee +1 -1
  47. data/spec/javascripts/mercury/page_editor_spec.js.coffee +160 -20
  48. data/spec/javascripts/mercury/palette_spec.js.coffee +1 -1
  49. data/spec/javascripts/mercury/panel_spec.js.coffee +1 -1
  50. data/spec/javascripts/mercury/region_spec.js.coffee +1 -1
  51. data/spec/javascripts/mercury/regions/editable_spec.js.coffee +191 -6
  52. data/spec/javascripts/mercury/regions/markupable_spec.js.coffee +369 -0
  53. data/spec/javascripts/mercury/regions/snippetable_spec.js.coffee +1 -1
  54. data/spec/javascripts/mercury/select_spec.js.coffee +1 -1
  55. data/spec/javascripts/mercury/snippet_spec.js.coffee +3 -3
  56. data/spec/javascripts/mercury/snippet_toolbar_spec.js.coffee +2 -2
  57. data/spec/javascripts/mercury/statusbar_spec.js.coffee +91 -17
  58. data/spec/javascripts/mercury/table_editor_spec.js.coffee +5 -1
  59. data/spec/javascripts/mercury/toolbar.button_group_spec.js.coffee +1 -1
  60. data/spec/javascripts/mercury/toolbar.button_spec.js.coffee +1 -1
  61. data/spec/javascripts/mercury/toolbar.expander_spec.js.coffee +1 -1
  62. data/spec/javascripts/mercury/toolbar_spec.js.coffee +70 -15
  63. data/spec/javascripts/mercury/tooltip_spec.js.coffee +1 -1
  64. data/spec/javascripts/mercury/uploader_spec.js.coffee +9 -1
  65. data/spec/javascripts/templates/mercury/dialogs/{objectspanel.html → snippetpanel.html} +0 -0
  66. data/spec/javascripts/templates/mercury/lightview.html +13 -0
  67. data/spec/javascripts/templates/mercury/modal.html +13 -0
  68. data/spec/javascripts/templates/mercury/page_editor.html +11 -1
  69. data/spec/javascripts/templates/mercury/statusbar.html +1 -0
  70. data/spec/javascripts/templates/mercury/toolbar.html +1 -0
  71. data/{app → vendor}/assets/images/mercury/button.png +0 -0
  72. data/{app → vendor}/assets/images/mercury/clippy.png +0 -0
  73. data/{app → vendor}/assets/images/mercury/default-snippet.png +0 -0
  74. data/{app → vendor}/assets/images/mercury/loading-dark.gif +0 -0
  75. data/{app → vendor}/assets/images/mercury/loading-light.gif +0 -0
  76. data/{app → vendor}/assets/images/mercury/search-icon.png +0 -0
  77. data/vendor/assets/images/mercury/temp-logo.png +0 -0
  78. data/{app → vendor}/assets/images/mercury/toolbar/editable/buttons.png +0 -0
  79. data/{app → vendor}/assets/images/mercury/toolbar/primary/_expander.png +0 -0
  80. data/{app → vendor}/assets/images/mercury/toolbar/primary/_pressed.png +0 -0
  81. data/{app → vendor}/assets/images/mercury/toolbar/primary/historypanel.png +0 -0
  82. data/{app → vendor}/assets/images/mercury/toolbar/primary/insertcharacter.png +0 -0
  83. data/{app → vendor}/assets/images/mercury/toolbar/primary/insertlink.png +0 -0
  84. data/{app → vendor}/assets/images/mercury/toolbar/primary/insertmedia.png +0 -0
  85. data/{app → vendor}/assets/images/mercury/toolbar/primary/inserttable.png +0 -0
  86. data/{app → vendor}/assets/images/mercury/toolbar/primary/inspectorpanel.png +0 -0
  87. data/{app → vendor}/assets/images/mercury/toolbar/primary/notespanel.png +0 -0
  88. data/{app → vendor}/assets/images/mercury/toolbar/primary/preview.png +0 -0
  89. data/{app → vendor}/assets/images/mercury/toolbar/primary/redo.png +0 -0
  90. data/{app → vendor}/assets/images/mercury/toolbar/primary/save.png +0 -0
  91. data/{app/assets/images/mercury/toolbar/primary/objectspanel.png → vendor/assets/images/mercury/toolbar/primary/snippetpanel.png} +0 -0
  92. data/{app → vendor}/assets/images/mercury/toolbar/primary/undo.png +0 -0
  93. data/{app → vendor}/assets/images/mercury/toolbar/snippetable/buttons.png +0 -0
  94. data/vendor/assets/javascripts/mercury.js +302 -0
  95. data/vendor/assets/javascripts/mercury/dialog.js.coffee +157 -0
  96. data/{app → vendor}/assets/javascripts/mercury/dialogs/backcolor.js.coffee +0 -0
  97. data/{app → vendor}/assets/javascripts/mercury/dialogs/forecolor.js.coffee +0 -0
  98. data/{app → vendor}/assets/javascripts/mercury/dialogs/formatblock.js.coffee +0 -0
  99. data/{app → vendor}/assets/javascripts/mercury/dialogs/objectspanel.js.coffee +1 -1
  100. data/{app → vendor}/assets/javascripts/mercury/dialogs/style.js.coffee +0 -0
  101. data/{app → vendor}/assets/javascripts/mercury/history_buffer.js.coffee +0 -0
  102. data/vendor/assets/javascripts/mercury/lightview.js.coffee +156 -0
  103. data/vendor/assets/javascripts/mercury/lightviews/imageprocessor.js.coffee +2 -0
  104. data/vendor/assets/javascripts/mercury/mercury.js.coffee +63 -0
  105. data/{app → vendor}/assets/javascripts/mercury/modal.js.coffee +25 -17
  106. data/{app → vendor}/assets/javascripts/mercury/modals/htmleditor.js.coffee +0 -0
  107. data/{app → vendor}/assets/javascripts/mercury/modals/insertcharacter.js.coffee +0 -0
  108. data/{app → vendor}/assets/javascripts/mercury/modals/insertlink.js.coffee +3 -0
  109. data/{app → vendor}/assets/javascripts/mercury/modals/insertmedia.js.coffee +10 -2
  110. data/{app → vendor}/assets/javascripts/mercury/modals/insertsnippet.js.coffee +0 -0
  111. data/{app → vendor}/assets/javascripts/mercury/modals/inserttable.js.coffee +2 -2
  112. data/{app → vendor}/assets/javascripts/mercury/native_extensions.js.coffee +0 -0
  113. data/{app → vendor}/assets/javascripts/mercury/page_editor.js.coffee +44 -13
  114. data/{app → vendor}/assets/javascripts/mercury/palette.js.coffee +0 -0
  115. data/{app → vendor}/assets/javascripts/mercury/panel.js.coffee +0 -0
  116. data/{app → vendor}/assets/javascripts/mercury/region.js.coffee +0 -0
  117. data/{app → vendor}/assets/javascripts/mercury/regions/editable.js.coffee +58 -12
  118. data/{app → vendor}/assets/javascripts/mercury/regions/markupable.js.coffee +26 -24
  119. data/{app → vendor}/assets/javascripts/mercury/regions/snippetable.js.coffee +0 -0
  120. data/{app → vendor}/assets/javascripts/mercury/select.js.coffee +3 -0
  121. data/{app → vendor}/assets/javascripts/mercury/snippet.js.coffee +9 -5
  122. data/{app → vendor}/assets/javascripts/mercury/snippet_toolbar.js.coffee +0 -0
  123. data/vendor/assets/javascripts/mercury/statusbar.js.coffee +51 -0
  124. data/{app → vendor}/assets/javascripts/mercury/table_editor.js.coffee +9 -8
  125. data/{app → vendor}/assets/javascripts/mercury/toolbar.button.js.coffee +0 -0
  126. data/{app → vendor}/assets/javascripts/mercury/toolbar.button_group.js.coffee +0 -0
  127. data/{app → vendor}/assets/javascripts/mercury/toolbar.expander.js.coffee +0 -0
  128. data/{app → vendor}/assets/javascripts/mercury/toolbar.js.coffee +14 -1
  129. data/{app → vendor}/assets/javascripts/mercury/tooltip.js.coffee +3 -0
  130. data/{app → vendor}/assets/javascripts/mercury/uploader.js.coffee +22 -13
  131. data/vendor/assets/javascripts/{jquery-1.6.js → mercury_dependencies/jquery-1.6.js} +0 -0
  132. data/vendor/assets/javascripts/{jquery-ui-1.8.13.custom.js → mercury_dependencies/jquery-ui-1.8.13.custom.js} +0 -0
  133. data/vendor/assets/javascripts/{jquery.additions.js → mercury_dependencies/jquery.additions.js} +0 -0
  134. data/vendor/assets/javascripts/{liquidmetal.js → mercury_dependencies/liquidmetal.js} +0 -0
  135. data/vendor/assets/javascripts/{showdown.js → mercury_dependencies/showdown.js} +0 -0
  136. data/vendor/assets/javascripts/mercury_loader.js +191 -0
  137. data/{app → vendor}/assets/stylesheets/mercury.css +3 -6
  138. data/vendor/assets/stylesheets/mercury/dialog.css +199 -0
  139. data/vendor/assets/stylesheets/mercury/lightview.css +92 -0
  140. data/vendor/assets/stylesheets/mercury/mercury.css +134 -0
  141. data/vendor/assets/stylesheets/mercury/modal.css +191 -0
  142. data/{app/assets/stylesheets/mercury/statusbar.scss → vendor/assets/stylesheets/mercury/statusbar.css} +9 -1
  143. data/vendor/assets/stylesheets/mercury/toolbar.css +329 -0
  144. data/{app/assets/stylesheets/mercury/tooltip.scss → vendor/assets/stylesheets/mercury/tooltip.css} +7 -7
  145. data/vendor/assets/stylesheets/mercury/uploader.css +111 -0
  146. metadata +230 -225
  147. data/app/assets/images/mercury/toolbar/markupable/buttons.png +0 -0
  148. data/app/assets/images/mercury/toolbar/primary/todospanel.png +0 -0
  149. data/app/assets/javascripts/mercury.js +0 -30
  150. data/app/assets/javascripts/mercury/dialog.js.coffee +0 -75
  151. data/app/assets/javascripts/mercury/mercury.js.coffee +0 -286
  152. data/app/assets/javascripts/mercury/statusbar.js.coffee +0 -29
  153. data/app/assets/javascripts/mercury_loader.js +0 -98
  154. data/app/assets/stylesheets/mercury/dialog.scss +0 -179
  155. data/app/assets/stylesheets/mercury/mercury.scss +0 -127
  156. data/app/assets/stylesheets/mercury/modal.scss +0 -194
  157. data/app/assets/stylesheets/mercury/toolbar.scss +0 -415
  158. data/app/assets/stylesheets/mercury/uploader.scss +0 -109
  159. data/app/views/layouts/mercury.html.haml +0 -8
  160. data/app/views/mercury/modals/character.html.haml +0 -252
  161. data/app/views/mercury/modals/htmleditor.html.haml +0 -8
  162. data/app/views/mercury/modals/link.html.haml +0 -31
  163. data/app/views/mercury/modals/media.html.haml +0 -33
  164. data/app/views/mercury/modals/sanitizer.html.haml +0 -4
  165. data/app/views/mercury/modals/table.html.haml +0 -49
  166. data/app/views/mercury/palettes/backcolor.html.haml +0 -79
  167. data/app/views/mercury/palettes/forecolor.html.haml +0 -79
  168. data/app/views/mercury/panels/history.html.haml +0 -0
  169. data/app/views/mercury/panels/notes.html.haml +0 -0
  170. data/app/views/mercury/panels/snippets.html.haml +0 -10
  171. data/app/views/mercury/selects/formatblock.html.haml +0 -10
  172. data/app/views/mercury/selects/style.html.haml +0 -4
  173. data/app/views/mercury/snippets/example.html.haml +0 -2
  174. data/app/views/mercury/snippets/example_options.html.haml +0 -16
  175. data/log/.gitkeep +0 -0
  176. data/spec/javascripts/mercury/regions/_markupable_.js.coffee +0 -0
metadata CHANGED
@@ -1,272 +1,205 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: mercury-rails
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.0
4
5
  prerelease:
5
- version: 0.1.2
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Jeremy Jackson
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-06-21 00:00:00 -06:00
12
+ date: 2011-09-25 00:00:00.000000000 -06:00
14
13
  default_executable:
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
17
16
  name: rails
18
- requirement: &id001 !ruby/object:Gem::Requirement
17
+ requirement: &2185441740 !ruby/object:Gem::Requirement
19
18
  none: false
20
- requirements:
21
- - - "="
22
- - !ruby/object:Gem::Version
23
- version: 3.1.0.rc4
19
+ requirements:
20
+ - - ~>
21
+ - !ruby/object:Gem::Version
22
+ version: 3.1.0
24
23
  type: :runtime
25
24
  prerelease: false
26
- version_requirements: *id001
27
- - !ruby/object:Gem::Dependency
25
+ version_requirements: *2185441740
26
+ - !ruby/object:Gem::Dependency
28
27
  name: paperclip
29
- requirement: &id002 !ruby/object:Gem::Requirement
28
+ requirement: &2185441240 !ruby/object:Gem::Requirement
30
29
  none: false
31
- requirements:
32
- - - ">="
33
- - !ruby/object:Gem::Version
34
- version: "0"
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
35
34
  type: :runtime
36
35
  prerelease: false
37
- version_requirements: *id002
38
- - !ruby/object:Gem::Dependency
36
+ version_requirements: *2185441240
37
+ - !ruby/object:Gem::Dependency
39
38
  name: formtastic
40
- requirement: &id003 !ruby/object:Gem::Requirement
39
+ requirement: &2185440740 !ruby/object:Gem::Requirement
41
40
  none: false
42
- requirements:
43
- - - ">="
44
- - !ruby/object:Gem::Version
45
- version: "0"
41
+ requirements:
42
+ - - ! '>='
43
+ - !ruby/object:Gem::Version
44
+ version: '0'
46
45
  type: :runtime
47
46
  prerelease: false
48
- version_requirements: *id003
49
- - !ruby/object:Gem::Dependency
47
+ version_requirements: *2185440740
48
+ - !ruby/object:Gem::Dependency
50
49
  name: json
51
- requirement: &id004 !ruby/object:Gem::Requirement
50
+ requirement: &2185440220 !ruby/object:Gem::Requirement
52
51
  none: false
53
- requirements:
54
- - - ">="
55
- - !ruby/object:Gem::Version
56
- version: "0"
52
+ requirements:
53
+ - - ! '>='
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
57
56
  type: :runtime
58
57
  prerelease: false
59
- version_requirements: *id004
60
- - !ruby/object:Gem::Dependency
58
+ version_requirements: *2185440220
59
+ - !ruby/object:Gem::Dependency
61
60
  name: sass-rails
62
- requirement: &id005 !ruby/object:Gem::Requirement
61
+ requirement: &2185439720 !ruby/object:Gem::Requirement
63
62
  none: false
64
- requirements:
65
- - - ~>
66
- - !ruby/object:Gem::Version
67
- version: 3.1.0.rc
63
+ requirements:
64
+ - - ! '>='
65
+ - !ruby/object:Gem::Version
66
+ version: '0'
68
67
  type: :runtime
69
68
  prerelease: false
70
- version_requirements: *id005
71
- - !ruby/object:Gem::Dependency
69
+ version_requirements: *2185439720
70
+ - !ruby/object:Gem::Dependency
72
71
  name: coffee-script
73
- requirement: &id006 !ruby/object:Gem::Requirement
72
+ requirement: &2185439220 !ruby/object:Gem::Requirement
74
73
  none: false
75
- requirements:
76
- - - ">="
77
- - !ruby/object:Gem::Version
78
- version: "0"
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
79
78
  type: :runtime
80
79
  prerelease: false
81
- version_requirements: *id006
82
- - !ruby/object:Gem::Dependency
83
- name: haml
84
- requirement: &id007 !ruby/object:Gem::Requirement
80
+ version_requirements: *2185439220
81
+ - !ruby/object:Gem::Dependency
82
+ name: rocco
83
+ requirement: &2185438700 !ruby/object:Gem::Requirement
85
84
  none: false
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: "0"
90
- type: :runtime
85
+ requirements:
86
+ - - ! '>='
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
89
+ type: :development
91
90
  prerelease: false
92
- version_requirements: *id007
93
- - !ruby/object:Gem::Dependency
91
+ version_requirements: *2185438700
92
+ - !ruby/object:Gem::Dependency
94
93
  name: uglifier
95
- requirement: &id008 !ruby/object:Gem::Requirement
94
+ requirement: &2185438200 !ruby/object:Gem::Requirement
96
95
  none: false
97
- requirements:
98
- - - ">="
99
- - !ruby/object:Gem::Version
100
- version: "0"
96
+ requirements:
97
+ - - ! '>='
98
+ - !ruby/object:Gem::Version
99
+ version: '0'
101
100
  type: :development
102
101
  prerelease: false
103
- version_requirements: *id008
104
- - !ruby/object:Gem::Dependency
102
+ version_requirements: *2185438200
103
+ - !ruby/object:Gem::Dependency
105
104
  name: jquery-rails
106
- requirement: &id009 !ruby/object:Gem::Requirement
105
+ requirement: &2185437700 !ruby/object:Gem::Requirement
107
106
  none: false
108
- requirements:
109
- - - ">="
110
- - !ruby/object:Gem::Version
111
- version: "0"
107
+ requirements:
108
+ - - ! '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
112
111
  type: :development
113
112
  prerelease: false
114
- version_requirements: *id009
115
- - !ruby/object:Gem::Dependency
113
+ version_requirements: *2185437700
114
+ - !ruby/object:Gem::Dependency
116
115
  name: jeweler
117
- requirement: &id010 !ruby/object:Gem::Requirement
116
+ requirement: &2185437160 !ruby/object:Gem::Requirement
118
117
  none: false
119
- requirements:
120
- - - ">="
121
- - !ruby/object:Gem::Version
122
- version: "0"
118
+ requirements:
119
+ - - ! '>='
120
+ - !ruby/object:Gem::Version
121
+ version: '0'
123
122
  type: :development
124
123
  prerelease: false
125
- version_requirements: *id010
126
- - !ruby/object:Gem::Dependency
124
+ version_requirements: *2185437160
125
+ - !ruby/object:Gem::Dependency
127
126
  name: sqlite3
128
- requirement: &id011 !ruby/object:Gem::Requirement
127
+ requirement: &2185436660 !ruby/object:Gem::Requirement
129
128
  none: false
130
- requirements:
131
- - - ">="
132
- - !ruby/object:Gem::Version
133
- version: "0"
129
+ requirements:
130
+ - - ! '>='
131
+ - !ruby/object:Gem::Version
132
+ version: '0'
134
133
  type: :development
135
134
  prerelease: false
136
- version_requirements: *id011
137
- - !ruby/object:Gem::Dependency
135
+ version_requirements: *2185436660
136
+ - !ruby/object:Gem::Dependency
138
137
  name: thin
139
- requirement: &id012 !ruby/object:Gem::Requirement
138
+ requirement: &2185436160 !ruby/object:Gem::Requirement
140
139
  none: false
141
- requirements:
142
- - - ">="
143
- - !ruby/object:Gem::Version
144
- version: "0"
140
+ requirements:
141
+ - - ! '>='
142
+ - !ruby/object:Gem::Version
143
+ version: '0'
145
144
  type: :development
146
145
  prerelease: false
147
- version_requirements: *id012
148
- - !ruby/object:Gem::Dependency
146
+ version_requirements: *2185436160
147
+ - !ruby/object:Gem::Dependency
149
148
  name: ruby-debug19
150
- requirement: &id013 !ruby/object:Gem::Requirement
149
+ requirement: &2185435640 !ruby/object:Gem::Requirement
151
150
  none: false
152
- requirements:
153
- - - ">="
154
- - !ruby/object:Gem::Version
155
- version: "0"
151
+ requirements:
152
+ - - ! '>='
153
+ - !ruby/object:Gem::Version
154
+ version: '0'
156
155
  type: :development
157
156
  prerelease: false
158
- version_requirements: *id013
159
- - !ruby/object:Gem::Dependency
157
+ version_requirements: *2185435640
158
+ - !ruby/object:Gem::Dependency
160
159
  name: evergreen
161
- requirement: &id014 !ruby/object:Gem::Requirement
160
+ requirement: &2185435140 !ruby/object:Gem::Requirement
162
161
  none: false
163
- requirements:
164
- - - ">="
165
- - !ruby/object:Gem::Version
166
- version: "0"
162
+ requirements:
163
+ - - ! '>='
164
+ - !ruby/object:Gem::Version
165
+ version: '0'
167
166
  type: :development
168
167
  prerelease: false
169
- version_requirements: *id014
170
- description: A fully featured and advanced HTML5 WYSIWYG editor written in CoffeeScript on top of Rails 3.1
168
+ version_requirements: *2185435140
169
+ description: A fully featured and advanced HTML5 WYSIWYG editor written in CoffeeScript
170
+ on top of Rails 3.1
171
171
  email: jejacks0n@gmail.com
172
172
  executables: []
173
-
174
173
  extensions: []
175
-
176
- extra_rdoc_files:
174
+ extra_rdoc_files:
177
175
  - LICENSE
178
- - README.rdoc
179
- files:
176
+ - README.md
177
+ files:
180
178
  - LICENSE
181
- - README.rdoc
179
+ - README.md
182
180
  - VERSION
183
- - app/assets/images/mercury/button.png
184
- - app/assets/images/mercury/clippy.png
185
- - app/assets/images/mercury/default-snippet.png
186
- - app/assets/images/mercury/loading-dark.gif
187
- - app/assets/images/mercury/loading-light.gif
188
- - app/assets/images/mercury/search-icon.png
189
- - app/assets/images/mercury/toolbar/editable/buttons.png
190
- - app/assets/images/mercury/toolbar/markupable/buttons.png
191
- - app/assets/images/mercury/toolbar/primary/_expander.png
192
- - app/assets/images/mercury/toolbar/primary/_pressed.png
193
- - app/assets/images/mercury/toolbar/primary/historypanel.png
194
- - app/assets/images/mercury/toolbar/primary/insertcharacter.png
195
- - app/assets/images/mercury/toolbar/primary/insertlink.png
196
- - app/assets/images/mercury/toolbar/primary/insertmedia.png
197
- - app/assets/images/mercury/toolbar/primary/inserttable.png
198
- - app/assets/images/mercury/toolbar/primary/inspectorpanel.png
199
- - app/assets/images/mercury/toolbar/primary/notespanel.png
200
- - app/assets/images/mercury/toolbar/primary/objectspanel.png
201
- - app/assets/images/mercury/toolbar/primary/preview.png
202
- - app/assets/images/mercury/toolbar/primary/redo.png
203
- - app/assets/images/mercury/toolbar/primary/save.png
204
- - app/assets/images/mercury/toolbar/primary/todospanel.png
205
- - app/assets/images/mercury/toolbar/primary/undo.png
206
- - app/assets/images/mercury/toolbar/snippetable/buttons.png
207
- - app/assets/javascripts/mercury.js
208
- - app/assets/javascripts/mercury/dialog.js.coffee
209
- - app/assets/javascripts/mercury/dialogs/backcolor.js.coffee
210
- - app/assets/javascripts/mercury/dialogs/forecolor.js.coffee
211
- - app/assets/javascripts/mercury/dialogs/formatblock.js.coffee
212
- - app/assets/javascripts/mercury/dialogs/objectspanel.js.coffee
213
- - app/assets/javascripts/mercury/dialogs/style.js.coffee
214
- - app/assets/javascripts/mercury/history_buffer.js.coffee
215
- - app/assets/javascripts/mercury/mercury.js.coffee
216
- - app/assets/javascripts/mercury/modal.js.coffee
217
- - app/assets/javascripts/mercury/modals/htmleditor.js.coffee
218
- - app/assets/javascripts/mercury/modals/insertcharacter.js.coffee
219
- - app/assets/javascripts/mercury/modals/insertlink.js.coffee
220
- - app/assets/javascripts/mercury/modals/insertmedia.js.coffee
221
- - app/assets/javascripts/mercury/modals/insertsnippet.js.coffee
222
- - app/assets/javascripts/mercury/modals/inserttable.js.coffee
223
- - app/assets/javascripts/mercury/native_extensions.js.coffee
224
- - app/assets/javascripts/mercury/page_editor.js.coffee
225
- - app/assets/javascripts/mercury/palette.js.coffee
226
- - app/assets/javascripts/mercury/panel.js.coffee
227
- - app/assets/javascripts/mercury/region.js.coffee
228
- - app/assets/javascripts/mercury/regions/editable.js.coffee
229
- - app/assets/javascripts/mercury/regions/markupable.js.coffee
230
- - app/assets/javascripts/mercury/regions/snippetable.js.coffee
231
- - app/assets/javascripts/mercury/select.js.coffee
232
- - app/assets/javascripts/mercury/snippet.js.coffee
233
- - app/assets/javascripts/mercury/snippet_toolbar.js.coffee
234
- - app/assets/javascripts/mercury/statusbar.js.coffee
235
- - app/assets/javascripts/mercury/table_editor.js.coffee
236
- - app/assets/javascripts/mercury/toolbar.button.js.coffee
237
- - app/assets/javascripts/mercury/toolbar.button_group.js.coffee
238
- - app/assets/javascripts/mercury/toolbar.expander.js.coffee
239
- - app/assets/javascripts/mercury/toolbar.js.coffee
240
- - app/assets/javascripts/mercury/tooltip.js.coffee
241
- - app/assets/javascripts/mercury/uploader.js.coffee
242
- - app/assets/javascripts/mercury_loader.js
243
- - app/assets/stylesheets/mercury.css
244
- - app/assets/stylesheets/mercury/dialog.scss
245
- - app/assets/stylesheets/mercury/mercury.scss
246
- - app/assets/stylesheets/mercury/modal.scss
247
- - app/assets/stylesheets/mercury/statusbar.scss
248
- - app/assets/stylesheets/mercury/toolbar.scss
249
- - app/assets/stylesheets/mercury/tooltip.scss
250
- - app/assets/stylesheets/mercury/uploader.scss
181
+ - annotated_source.template
251
182
  - app/controllers/images_controller.rb
252
183
  - app/controllers/mercury_controller.rb
253
184
  - app/models/image.rb
254
- - app/views/layouts/mercury.html.haml
255
- - app/views/mercury/modals/character.html.haml
256
- - app/views/mercury/modals/htmleditor.html.haml
257
- - app/views/mercury/modals/link.html.haml
258
- - app/views/mercury/modals/media.html.haml
259
- - app/views/mercury/modals/sanitizer.html.haml
260
- - app/views/mercury/modals/table.html.haml
261
- - app/views/mercury/palettes/backcolor.html.haml
262
- - app/views/mercury/palettes/forecolor.html.haml
263
- - app/views/mercury/panels/history.html.haml
264
- - app/views/mercury/panels/notes.html.haml
265
- - app/views/mercury/panels/snippets.html.haml
266
- - app/views/mercury/selects/formatblock.html.haml
267
- - app/views/mercury/selects/style.html.haml
268
- - app/views/mercury/snippets/example.html.haml
269
- - app/views/mercury/snippets/example_options.html.haml
185
+ - app/views/layouts/mercury.html.erb
186
+ - app/views/mercury/lightviews/about.html
187
+ - app/views/mercury/lightviews/imageprocessor.html
188
+ - app/views/mercury/modals/character.html
189
+ - app/views/mercury/modals/htmleditor.html
190
+ - app/views/mercury/modals/link.html
191
+ - app/views/mercury/modals/media.html
192
+ - app/views/mercury/modals/sanitizer.html
193
+ - app/views/mercury/modals/table.html
194
+ - app/views/mercury/palettes/backcolor.html
195
+ - app/views/mercury/palettes/forecolor.html
196
+ - app/views/mercury/panels/history.html
197
+ - app/views/mercury/panels/notes.html
198
+ - app/views/mercury/panels/snippets.html
199
+ - app/views/mercury/selects/formatblock.html
200
+ - app/views/mercury/selects/style.html
201
+ - app/views/mercury/snippets/example.html.erb
202
+ - app/views/mercury/snippets/example_options.html.erb
270
203
  - config/engine.rb
271
204
  - config/routes.rb
272
205
  - db/migrate/20110526035601_create_images.rb
@@ -276,17 +209,19 @@ files:
276
209
  - features/support/env.rb
277
210
  - features/support/paths.rb
278
211
  - features/support/selectors.rb
212
+ - lib/generators/mercury/install/install_generator.rb
279
213
  - lib/mercury-rails.rb
280
- - log/.gitkeep
281
214
  - mercury-rails.gemspec
282
215
  - spec/javascripts/mercury/dialog_spec.js.coffee
283
216
  - spec/javascripts/mercury/dialogs/backcolor_spec.js.coffee
284
217
  - spec/javascripts/mercury/dialogs/forecolor_spec.js.coffee
285
218
  - spec/javascripts/mercury/dialogs/formatblock_spec.js.coffee
286
- - spec/javascripts/mercury/dialogs/objectspanel_spec.js.coffee
219
+ - spec/javascripts/mercury/dialogs/snippetpanel_spec.js.coffee
287
220
  - spec/javascripts/mercury/dialogs/style_spec.js.coffee
288
221
  - spec/javascripts/mercury/history_buffer_spec.js.coffee
222
+ - spec/javascripts/mercury/lightview_spec.js.coffee
289
223
  - spec/javascripts/mercury/mercury_spec.js.coffee
224
+ - spec/javascripts/mercury/modal_spec.js.coffee
290
225
  - spec/javascripts/mercury/modals/htmleditor_spec.js.coffee
291
226
  - spec/javascripts/mercury/modals/insertcharacter_spec.js.coffee
292
227
  - spec/javascripts/mercury/modals/insertlink_spec.js.coffee
@@ -298,8 +233,8 @@ files:
298
233
  - spec/javascripts/mercury/palette_spec.js.coffee
299
234
  - spec/javascripts/mercury/panel_spec.js.coffee
300
235
  - spec/javascripts/mercury/region_spec.js.coffee
301
- - spec/javascripts/mercury/regions/_markupable_.js.coffee
302
236
  - spec/javascripts/mercury/regions/editable_spec.js.coffee
237
+ - spec/javascripts/mercury/regions/markupable_spec.js.coffee
303
238
  - spec/javascripts/mercury/regions/snippetable_spec.js.coffee
304
239
  - spec/javascripts/mercury/select_spec.js.coffee
305
240
  - spec/javascripts/mercury/snippet_spec.js.coffee
@@ -318,8 +253,10 @@ files:
318
253
  - spec/javascripts/templates/mercury/dialogs/backcolor.html
319
254
  - spec/javascripts/templates/mercury/dialogs/forecolor.html
320
255
  - spec/javascripts/templates/mercury/dialogs/formatblock.html
321
- - spec/javascripts/templates/mercury/dialogs/objectspanel.html
256
+ - spec/javascripts/templates/mercury/dialogs/snippetpanel.html
322
257
  - spec/javascripts/templates/mercury/dialogs/style.html
258
+ - spec/javascripts/templates/mercury/lightview.html
259
+ - spec/javascripts/templates/mercury/modal.html
323
260
  - spec/javascripts/templates/mercury/modals/htmleditor.html
324
261
  - spec/javascripts/templates/mercury/modals/insertcharacter.html
325
262
  - spec/javascripts/templates/mercury/modals/insertlink.html
@@ -343,41 +280,109 @@ files:
343
280
  - spec/javascripts/templates/mercury/toolbar.html
344
281
  - spec/javascripts/templates/mercury/tooltip.html
345
282
  - spec/javascripts/templates/mercury/uploader.html
346
- - vendor/assets/javascripts/jquery-1.6.js
347
- - vendor/assets/javascripts/jquery-ui-1.8.13.custom.js
348
- - vendor/assets/javascripts/jquery.additions.js
349
- - vendor/assets/javascripts/liquidmetal.js
350
- - vendor/assets/javascripts/showdown.js
283
+ - vendor/assets/images/mercury/button.png
284
+ - vendor/assets/images/mercury/clippy.png
285
+ - vendor/assets/images/mercury/default-snippet.png
286
+ - vendor/assets/images/mercury/loading-dark.gif
287
+ - vendor/assets/images/mercury/loading-light.gif
288
+ - vendor/assets/images/mercury/search-icon.png
289
+ - vendor/assets/images/mercury/temp-logo.png
290
+ - vendor/assets/images/mercury/toolbar/editable/buttons.png
291
+ - vendor/assets/images/mercury/toolbar/primary/_expander.png
292
+ - vendor/assets/images/mercury/toolbar/primary/_pressed.png
293
+ - vendor/assets/images/mercury/toolbar/primary/historypanel.png
294
+ - vendor/assets/images/mercury/toolbar/primary/insertcharacter.png
295
+ - vendor/assets/images/mercury/toolbar/primary/insertlink.png
296
+ - vendor/assets/images/mercury/toolbar/primary/insertmedia.png
297
+ - vendor/assets/images/mercury/toolbar/primary/inserttable.png
298
+ - vendor/assets/images/mercury/toolbar/primary/inspectorpanel.png
299
+ - vendor/assets/images/mercury/toolbar/primary/notespanel.png
300
+ - vendor/assets/images/mercury/toolbar/primary/preview.png
301
+ - vendor/assets/images/mercury/toolbar/primary/redo.png
302
+ - vendor/assets/images/mercury/toolbar/primary/save.png
303
+ - vendor/assets/images/mercury/toolbar/primary/snippetpanel.png
304
+ - vendor/assets/images/mercury/toolbar/primary/undo.png
305
+ - vendor/assets/images/mercury/toolbar/snippetable/buttons.png
306
+ - vendor/assets/javascripts/mercury.js
307
+ - vendor/assets/javascripts/mercury/dialog.js.coffee
308
+ - vendor/assets/javascripts/mercury/dialogs/backcolor.js.coffee
309
+ - vendor/assets/javascripts/mercury/dialogs/forecolor.js.coffee
310
+ - vendor/assets/javascripts/mercury/dialogs/formatblock.js.coffee
311
+ - vendor/assets/javascripts/mercury/dialogs/objectspanel.js.coffee
312
+ - vendor/assets/javascripts/mercury/dialogs/style.js.coffee
313
+ - vendor/assets/javascripts/mercury/history_buffer.js.coffee
314
+ - vendor/assets/javascripts/mercury/lightview.js.coffee
315
+ - vendor/assets/javascripts/mercury/lightviews/imageprocessor.js.coffee
316
+ - vendor/assets/javascripts/mercury/mercury.js.coffee
317
+ - vendor/assets/javascripts/mercury/modal.js.coffee
318
+ - vendor/assets/javascripts/mercury/modals/htmleditor.js.coffee
319
+ - vendor/assets/javascripts/mercury/modals/insertcharacter.js.coffee
320
+ - vendor/assets/javascripts/mercury/modals/insertlink.js.coffee
321
+ - vendor/assets/javascripts/mercury/modals/insertmedia.js.coffee
322
+ - vendor/assets/javascripts/mercury/modals/insertsnippet.js.coffee
323
+ - vendor/assets/javascripts/mercury/modals/inserttable.js.coffee
324
+ - vendor/assets/javascripts/mercury/native_extensions.js.coffee
325
+ - vendor/assets/javascripts/mercury/page_editor.js.coffee
326
+ - vendor/assets/javascripts/mercury/palette.js.coffee
327
+ - vendor/assets/javascripts/mercury/panel.js.coffee
328
+ - vendor/assets/javascripts/mercury/region.js.coffee
329
+ - vendor/assets/javascripts/mercury/regions/editable.js.coffee
330
+ - vendor/assets/javascripts/mercury/regions/markupable.js.coffee
331
+ - vendor/assets/javascripts/mercury/regions/snippetable.js.coffee
332
+ - vendor/assets/javascripts/mercury/select.js.coffee
333
+ - vendor/assets/javascripts/mercury/snippet.js.coffee
334
+ - vendor/assets/javascripts/mercury/snippet_toolbar.js.coffee
335
+ - vendor/assets/javascripts/mercury/statusbar.js.coffee
336
+ - vendor/assets/javascripts/mercury/table_editor.js.coffee
337
+ - vendor/assets/javascripts/mercury/toolbar.button.js.coffee
338
+ - vendor/assets/javascripts/mercury/toolbar.button_group.js.coffee
339
+ - vendor/assets/javascripts/mercury/toolbar.expander.js.coffee
340
+ - vendor/assets/javascripts/mercury/toolbar.js.coffee
341
+ - vendor/assets/javascripts/mercury/tooltip.js.coffee
342
+ - vendor/assets/javascripts/mercury/uploader.js.coffee
343
+ - vendor/assets/javascripts/mercury_dependencies/jquery-1.6.js
344
+ - vendor/assets/javascripts/mercury_dependencies/jquery-ui-1.8.13.custom.js
345
+ - vendor/assets/javascripts/mercury_dependencies/jquery.additions.js
346
+ - vendor/assets/javascripts/mercury_dependencies/liquidmetal.js
347
+ - vendor/assets/javascripts/mercury_dependencies/showdown.js
348
+ - vendor/assets/javascripts/mercury_loader.js
349
+ - vendor/assets/stylesheets/mercury.css
350
+ - vendor/assets/stylesheets/mercury/dialog.css
351
+ - vendor/assets/stylesheets/mercury/lightview.css
352
+ - vendor/assets/stylesheets/mercury/mercury.css
353
+ - vendor/assets/stylesheets/mercury/modal.css
354
+ - vendor/assets/stylesheets/mercury/statusbar.css
355
+ - vendor/assets/stylesheets/mercury/toolbar.css
356
+ - vendor/assets/stylesheets/mercury/tooltip.css
357
+ - vendor/assets/stylesheets/mercury/uploader.css
351
358
  has_rdoc: true
352
359
  homepage: http://github.com/jejacks0n/mercury
353
- licenses:
360
+ licenses:
354
361
  - MIT
355
362
  post_install_message:
356
363
  rdoc_options: []
357
-
358
- require_paths:
364
+ require_paths:
359
365
  - lib
360
- required_ruby_version: !ruby/object:Gem::Requirement
366
+ required_ruby_version: !ruby/object:Gem::Requirement
361
367
  none: false
362
- requirements:
363
- - - ">="
364
- - !ruby/object:Gem::Version
365
- hash: 187930479757985254
366
- segments:
368
+ requirements:
369
+ - - ! '>='
370
+ - !ruby/object:Gem::Version
371
+ version: '0'
372
+ segments:
367
373
  - 0
368
- version: "0"
369
- required_rubygems_version: !ruby/object:Gem::Requirement
374
+ hash: 2650267615471904873
375
+ required_rubygems_version: !ruby/object:Gem::Requirement
370
376
  none: false
371
- requirements:
372
- - - ">="
373
- - !ruby/object:Gem::Version
374
- version: "0"
377
+ requirements:
378
+ - - ! '>='
379
+ - !ruby/object:Gem::Version
380
+ version: '0'
375
381
  requirements: []
376
-
377
382
  rubyforge_project:
378
383
  rubygems_version: 1.6.2
379
384
  signing_key:
380
385
  specification_version: 3
381
- summary: A fully featured and advanced HTML5 WYSIWYG editor written in CoffeeScript on top of Rails 3.1
386
+ summary: A fully featured and advanced HTML5 WYSIWYG editor written in CoffeeScript
387
+ on top of Rails 3.1
382
388
  test_files: []
383
-