mercury-rails 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. data/README.rdoc +8 -3
  2. data/VERSION +1 -1
  3. data/app/assets/javascripts/mercury/dialogs/style.js.coffee +1 -1
  4. data/app/assets/javascripts/mercury/mercury.js.coffee +2 -2
  5. data/app/assets/javascripts/mercury/modals/insertlink.js.coffee +3 -6
  6. data/app/assets/javascripts/mercury/modals/insertmedia.js.coffee +6 -6
  7. data/app/assets/javascripts/mercury/modals/insertsnippet.js.coffee +3 -2
  8. data/app/assets/javascripts/mercury/modals/inserttable.js.coffee +8 -8
  9. data/app/assets/javascripts/mercury/page_editor.js.coffee +6 -0
  10. data/app/assets/javascripts/mercury/snippet.js.coffee +1 -1
  11. data/app/assets/stylesheets/mercury/dialog.scss +1 -0
  12. data/app/assets/stylesheets/mercury/mercury.scss +8 -0
  13. data/app/assets/stylesheets/mercury/modal.scss +3 -1
  14. data/app/assets/stylesheets/mercury/statusbar.scss +1 -0
  15. data/app/views/layouts/mercury.html.haml +4 -4
  16. data/mercury-rails.gemspec +24 -2
  17. data/spec/javascripts/mercury/dialogs/backcolor_spec.js.coffee +39 -0
  18. data/spec/javascripts/mercury/dialogs/forecolor_spec.js.coffee +39 -0
  19. data/spec/javascripts/mercury/dialogs/formatblock_spec.js.coffee +27 -0
  20. data/spec/javascripts/mercury/dialogs/objectspanel_spec.js.coffee +32 -0
  21. data/spec/javascripts/mercury/dialogs/style_spec.js.coffee +27 -0
  22. data/spec/javascripts/mercury/modals/htmleditor_spec.js.coffee +32 -0
  23. data/spec/javascripts/mercury/modals/insertcharacter_spec.js.coffee +30 -0
  24. data/spec/javascripts/mercury/modals/insertlink_spec.js.coffee +216 -0
  25. data/spec/javascripts/mercury/modals/insertmedia_spec.js.coffee +167 -0
  26. data/spec/javascripts/mercury/modals/insertsnippet_spec.js.coffee +54 -0
  27. data/spec/javascripts/mercury/modals/inserttable_spec.js.coffee +162 -0
  28. data/spec/javascripts/mercury/panel_spec.js.coffee +1 -1
  29. data/spec/javascripts/mercury/snippet_spec.js.coffee +1 -1
  30. data/spec/javascripts/spec_helper.js +0 -1
  31. data/spec/javascripts/templates/mercury/dialogs/backcolor.html +5 -0
  32. data/spec/javascripts/templates/mercury/dialogs/forecolor.html +5 -0
  33. data/spec/javascripts/templates/mercury/dialogs/formatblock.html +3 -0
  34. data/spec/javascripts/templates/mercury/dialogs/objectspanel.html +16 -0
  35. data/spec/javascripts/templates/mercury/dialogs/style.html +3 -0
  36. data/spec/javascripts/templates/mercury/modals/htmleditor.html +5 -0
  37. data/spec/javascripts/templates/mercury/modals/insertcharacter.html +5 -0
  38. data/spec/javascripts/templates/mercury/modals/insertlink.html +30 -0
  39. data/spec/javascripts/templates/mercury/modals/insertmedia.html +35 -0
  40. data/spec/javascripts/templates/mercury/modals/insertsnippet.html +6 -0
  41. data/spec/javascripts/templates/mercury/modals/inserttable.html +27 -0
  42. metadata +25 -3
@@ -0,0 +1,54 @@
1
+ require '/assets/mercury/mercury.js'
2
+
3
+ describe "Mercury.modalHandlers.insertsnippet", ->
4
+
5
+ template 'mercury/modals/insertsnippet.html'
6
+
7
+ beforeEach ->
8
+ Mercury.Snippet.all = []
9
+ Mercury.Snippet.load({
10
+ 'snippet_0': {name: 'foo', options: {'first_name': "Jeremy", 'last_name': "Jackson"}},
11
+ })
12
+ @modal =
13
+ element: $('#test')
14
+ hide: ->
15
+ options: {snippetName: 'test'}
16
+ Mercury.modalHandlers.insertsnippet.call(@modal)
17
+
18
+ describe "submitting", ->
19
+
20
+ it "hides the modal", ->
21
+ spy = spyOn(@modal, 'hide').andCallFake(=>)
22
+ jasmine.simulate.click($('#submit').get(0))
23
+ expect(spy.callCount).toEqual(1)
24
+
25
+ describe "if there's an active snippet", ->
26
+
27
+ beforeEach ->
28
+ Mercury.snippet = Mercury.Snippet.all[0]
29
+
30
+ it "updates the snippet", ->
31
+ spy = spyOn(Mercury.Snippet.prototype, 'setOptions').andCallThrough()
32
+ jasmine.simulate.click($('#submit').get(0))
33
+ expect(spy.callCount).toEqual(1)
34
+ expect(Mercury.Snippet.all[0]['options']).toEqual({first_name: 'Wilma', last_name: 'Flintstone'})
35
+
36
+ it "triggers an action", ->
37
+ spy = spyOn(Mercury, 'trigger').andCallFake(=>)
38
+ jasmine.simulate.click($('#submit').get(0))
39
+ expect(spy.callCount).toEqual(1)
40
+ expect(spy.argsForCall[0]).toEqual(['action', {action: 'insertsnippet', value: Mercury.Snippet.all[0]}])
41
+
42
+ describe "if there's no active snippet", ->
43
+
44
+ it "creates a snippet", ->
45
+ spy = spyOn(Mercury.Snippet, 'create').andCallThrough()
46
+ jasmine.simulate.click($('#submit').get(0))
47
+ expect(spy.callCount).toEqual(1)
48
+ expect(Mercury.Snippet.all[1]['options']).toEqual({first_name: 'Wilma', last_name: 'Flintstone'})
49
+
50
+ it "triggers an action", ->
51
+ spy = spyOn(Mercury, 'trigger').andCallFake(=>)
52
+ jasmine.simulate.click($('#submit').get(0))
53
+ expect(spy.callCount).toEqual(1)
54
+ expect(spy.argsForCall[0]).toEqual(['action', {action: 'insertsnippet', value: Mercury.Snippet.all[1]}])
@@ -0,0 +1,162 @@
1
+ require '/assets/mercury/mercury.js'
2
+
3
+ describe "Mercury.modalHandlers.inserttable", ->
4
+
5
+ template 'mercury/modals/inserttable.html'
6
+
7
+ beforeEach ->
8
+ @modal =
9
+ element: $('#test')
10
+ hide: ->
11
+
12
+ describe "initializing", ->
13
+
14
+ beforeEach ->
15
+ @tableEditorSpy = spyOn(Mercury, 'tableEditor').andCallFake(=>)
16
+ Mercury.modalHandlers.inserttable.call(@modal)
17
+
18
+ it "selects the first cell", ->
19
+ expect($('#cell1').hasClass('selected')).toEqual(true)
20
+
21
+ it "sets the table editor up", ->
22
+ expect(@tableEditorSpy.callCount).toEqual(1)
23
+ expect(@tableEditorSpy.argsForCall[0][0].get(0)).toEqual($('#table').get(0))
24
+ expect(@tableEditorSpy.argsForCall[0][1].get(0)).toEqual($('#cell1').get(0))
25
+
26
+ describe "clicking on the cells", ->
27
+
28
+ beforeEach ->
29
+ @tableEditorSpy = spyOn(Mercury, 'tableEditor').andCallFake(=>)
30
+ Mercury.modalHandlers.inserttable.call(@modal)
31
+
32
+ it "should unselect any selected cells", ->
33
+ jasmine.simulate.click($('#cell2').get(0))
34
+ expect($('#cell1').hasClass('selected')).toEqual(false)
35
+
36
+ it "selects the cell clicked on", ->
37
+ jasmine.simulate.click($('#cell2').get(0))
38
+ expect($('#cell2').hasClass('selected')).toEqual(true)
39
+
40
+ it "sets the table editor to use the selected cell", ->
41
+ jasmine.simulate.click($('#cell2').get(0))
42
+ expect(@tableEditorSpy.callCount).toEqual(2)
43
+ expect(@tableEditorSpy.argsForCall[1][1].get(0)).toEqual($('#cell2').get(0))
44
+
45
+
46
+ describe "clicking on the action buttons", ->
47
+
48
+ beforeEach ->
49
+ @addRowSpy = spyOn(Mercury.tableEditor, 'addRow').andCallFake(=>)
50
+ @removeRowSpy = spyOn(Mercury.tableEditor, 'removeRow').andCallFake(=>)
51
+ @addColumnSpy = spyOn(Mercury.tableEditor, 'addColumn').andCallFake(=>)
52
+ @removeColumnSpy = spyOn(Mercury.tableEditor, 'removeColumn').andCallFake(=>)
53
+ @increaseColspanSpy = spyOn(Mercury.tableEditor, 'increaseColspan').andCallFake(=>)
54
+ @decreaseColspanSpy = spyOn(Mercury.tableEditor, 'decreaseColspan').andCallFake(=>)
55
+ @increaseRowspanSpy = spyOn(Mercury.tableEditor, 'increaseRowspan').andCallFake(=>)
56
+ @decreaseRowspanSpy = spyOn(Mercury.tableEditor, 'decreaseRowspan').andCallFake(=>)
57
+ Mercury.modalHandlers.inserttable.call(@modal)
58
+
59
+ it "adds a row before the selected cell", ->
60
+ jasmine.simulate.click($('input[name=insertrowbefore]').get(0))
61
+ expect(@addRowSpy.callCount).toEqual(1)
62
+ expect(@addRowSpy.argsForCall[0]).toEqual(['before'])
63
+
64
+ it "adds a row after the selected cell", ->
65
+ jasmine.simulate.click($('input[name=insertrowafter]').get(0))
66
+ expect(@addRowSpy.callCount).toEqual(1)
67
+ expect(@addRowSpy.argsForCall[0]).toEqual(['after'])
68
+
69
+ it "deletes the row of the selected cell", ->
70
+ jasmine.simulate.click($('input[name=deleterow]').get(0))
71
+ expect(@removeRowSpy.callCount).toEqual(1)
72
+
73
+ it "adds a column before the selected cell", ->
74
+ jasmine.simulate.click($('input[name=insertcolumnbefore]').get(0))
75
+ expect(@addColumnSpy.callCount).toEqual(1)
76
+ expect(@addColumnSpy.argsForCall[0]).toEqual(['before'])
77
+
78
+ it "adds a column after the selected cell", ->
79
+ jasmine.simulate.click($('input[name=insertcolumnafter]').get(0))
80
+ expect(@addColumnSpy.callCount).toEqual(1)
81
+ expect(@addColumnSpy.argsForCall[0]).toEqual(['after'])
82
+
83
+ it "deletes the column of the selected cell", ->
84
+ jasmine.simulate.click($('input[name=deletecolumn]').get(0))
85
+ expect(@removeColumnSpy.callCount).toEqual(1)
86
+
87
+ it "increases the colspan of the selected cell", ->
88
+ jasmine.simulate.click($('input[name=increasecolspan]').get(0))
89
+ expect(@increaseColspanSpy.callCount).toEqual(1)
90
+
91
+ it "decreases the colspan of the selected cell", ->
92
+ jasmine.simulate.click($('input[name=decreasecolspan]').get(0))
93
+ expect(@decreaseColspanSpy.callCount).toEqual(1)
94
+
95
+ it "increases the rowspan of the selected cell", ->
96
+ jasmine.simulate.click($('input[name=increaserowspan]').get(0))
97
+ expect(@increaseRowspanSpy.callCount).toEqual(1)
98
+
99
+ it "decreases the rowspan of the selected cell", ->
100
+ jasmine.simulate.click($('input[name=decreaserowspan]').get(0))
101
+ expect(@decreaseRowspanSpy.callCount).toEqual(1)
102
+
103
+
104
+ describe "changing the alignment", ->
105
+
106
+ it "changes the alignment of the table", ->
107
+
108
+
109
+ describe "changing the border", ->
110
+
111
+ beforeEach ->
112
+ Mercury.modalHandlers.inserttable.call(@modal)
113
+
114
+ it "changes the border of the table", ->
115
+ $('#table_border').val('19')
116
+ jasmine.simulate.keyup($('#table_border').get(0))
117
+ expect($('#table').attr('border')).toEqual('19')
118
+
119
+ it "handles non-numeric values", ->
120
+ $('#table_border').val('2x')
121
+ jasmine.simulate.keyup($('#table_border').get(0))
122
+ expect($('#table').attr('border')).toEqual('2')
123
+
124
+
125
+ describe "changing the cellspacing", ->
126
+
127
+ beforeEach ->
128
+ Mercury.modalHandlers.inserttable.call(@modal)
129
+
130
+ it "changes the cellspacing of the table", ->
131
+ $('#table_spacing').val('5')
132
+ jasmine.simulate.keyup($('#table_spacing').get(0))
133
+ expect($('#table').attr('cellspacing')).toEqual('5')
134
+
135
+ it "handles non-numeric values", ->
136
+ $('#table_spacing').val('12x')
137
+ jasmine.simulate.keyup($('#table_spacing').get(0))
138
+ expect($('#table').attr('cellspacing')).toEqual('12')
139
+
140
+
141
+ describe "submitting", ->
142
+
143
+ beforeEach ->
144
+ Mercury.modalHandlers.inserttable.call(@modal)
145
+
146
+ it "triggers an action", ->
147
+ spy = spyOn(Mercury, 'trigger').andCallFake(=>)
148
+ jasmine.simulate.click($('#submit').get(0))
149
+ expect(spy.callCount).toEqual(1)
150
+ expect(spy.argsForCall[0][0]).toEqual('action')
151
+ expect(spy.argsForCall[0][1]['action']).toEqual('insertHTML')
152
+ value = spy.argsForCall[0][1]['value']
153
+ expect(value).toContain('border="1"')
154
+ expect(value).toContain('cellspacing="0"')
155
+ expect(value).toContain('<td id="cell2">&nbsp;</td>')
156
+
157
+ it "hides the modal", ->
158
+ spy = spyOn(@modal, 'hide').andCallFake(=>)
159
+ jasmine.simulate.click($('#submit').get(0))
160
+ expect(spy.callCount).toEqual(1)
161
+
162
+
@@ -132,7 +132,7 @@ describe "Mercury.Panel", ->
132
132
  html = @panel.element.html()
133
133
  expect(html).toContain('<h1>foo panel</h1>')
134
134
  expect(html).toContain('class="mercury-panel-pane"')
135
- expect(html).toContain('style="visibility: hidden;"')
135
+ expect(html).toContain('style="visibility: hidden;')
136
136
  expect(html).toContain('hello world')
137
137
 
138
138
 
@@ -195,7 +195,7 @@ describe "Mercury.Snippet class methods", ->
195
195
  it "opens a modal with the name in the url", ->
196
196
  Mercury.Snippet.displayOptionsFor('foo')
197
197
  expect(@modalSpy.callCount).toEqual(1)
198
- expect(@modalSpy.argsForCall[0]).toEqual(["/mercury/snippets/foo/options", {title: 'Snippet Options', handler: 'insertsnippet'}])
198
+ expect(@modalSpy.argsForCall[0]).toEqual(["/mercury/snippets/foo/options", {title: 'Snippet Options', handler: 'insertsnippet', snippetName: 'foo'}])
199
199
 
200
200
  it "sets the snippet back to nothing", ->
201
201
  Mercury.snippet = 'foo'
@@ -1,4 +1,3 @@
1
- require('/assets/vendor.js');
2
1
 
3
2
  jasmine.simulate = {
4
3
 
@@ -0,0 +1,5 @@
1
+ <div id="button">button</div>
2
+ <div id="white" class="picker" style="background:#FFFFFF"></div>
3
+ <div id="red" class="picker" style="background:#FF0000"></div>
4
+ <div id="green" style="background:#00FF00"></div>
5
+ <div class="last-picked">Last Color Picked</div>
@@ -0,0 +1,5 @@
1
+ <div id="button">button</div>
2
+ <div id="white" class="picker" style="background:#FFFFFF"></div>
3
+ <div id="red" class="picker" style="background:#FF0000"></div>
4
+ <div id="green" style="background:#00FF00"></div>
5
+ <div class="last-picked">Last Color Picked</div>
@@ -0,0 +1,3 @@
1
+ <h1 id="h1" data-tag="h1">Heading 1 &lt;h1&gt;</h1>
2
+ <div id="div" data-tag="pre">Formatted &lt;pre&gt;</div>
3
+ <em id="em">em</em>
@@ -0,0 +1,16 @@
1
+ <div class="mercury-snippet-panel">
2
+
3
+ <div class="filter">
4
+ <input id="filter" type="text" class="filter"/>
5
+ </div>
6
+
7
+ <ul>
8
+ <li id="first" data-filter="foo, bar">
9
+ <img src="" data-snippet="test"/>
10
+ </li>
11
+ <li id="second" data-filter="baz">
12
+ <img src="" data-snippet="test"/>
13
+ </li>
14
+ </ul>
15
+
16
+ </div>
@@ -0,0 +1,3 @@
1
+ <div id="red" class="red" data-class="red">Red text</div>
2
+ <div id="bold" class="foo" data-class="bold">Bold text</div>
3
+ <div id="blue" class="blue">Blue background</div>
@@ -0,0 +1,5 @@
1
+ <form>
2
+ <textarea cols="" rows=""></textarea>
3
+
4
+ <input id="submit" type="submit">
5
+ </form>
@@ -0,0 +1,5 @@
1
+ <form>
2
+ <div id="char1" class="character" data-entity="#34" title="quotation mark (APL quote)">&#34;</div>
3
+ <div id="char2" class="character" data-entity="#38" title="ampersand">&#38;</div>
4
+ <div id="char3" data-entity="#38" title="ampersand">&#38;</div>
5
+ </form>
@@ -0,0 +1,30 @@
1
+ <form>
2
+ <fieldset id="link_text_container">
3
+ <input id="link_text" name="link[text]" type="text"/>
4
+ </fieldset>
5
+
6
+ <label for="link_external_url"><input id="checkbox1" name="link_type" type="radio" value="external_url" checked="checked"/>URL</label>
7
+ <input class="selectable" id="link_external_url" name="link[external_url]" type="text"/>
8
+
9
+ <label for="link_existing_bookmark"><input id="checkbox2" name="link_type" type="radio" value="existing_bookmark"/>Existing Links</label>
10
+ <select class="selectable" id="link_existing_bookmark" name="link[existing_bookmark]"></select>
11
+
12
+ <label for="link_new_bookmark"><input name="link_type" type="radio" value="new_bookmark"/>Bookmark</label>
13
+ <input class="selectable" id="link_new_bookmark" name="link[new_bookmark]" type="text"/>
14
+
15
+ <select id="link_target" name="link[target]">
16
+ <option value="">Self (the same window or tab)</option>
17
+ <option value="_blank">Blank (a new window or tab)</option>
18
+ <option value="_top">Top (removes any frames)</option>
19
+ <option value="popup">Popup Window (javascript new window popup)</option>
20
+ </select>
21
+
22
+ <div class="link-target-options" id="popup_options" style="display:none">
23
+ <input id="link_popup_width" name="link[popup_width]" type="text"/>
24
+ <input id="link_popup_height" name="link[popup_height]" type="text"/>
25
+ </div>
26
+
27
+ <input id="submit" type="submit"/>
28
+ </form>
29
+ <a name="link1">Link One</a>
30
+ <a name="link2">Link Two</a>
@@ -0,0 +1,35 @@
1
+ <form>
2
+ <label for="media_image_url"><input id="checkbox1" name="media_type" type="radio" value="image_url" checked="checked"/>URL</label>
3
+ <input class="selectable" id="media_image_url" name="media[image_url]" type="text"/>
4
+
5
+ <label for="media_youtube_url"><input id="checkbox2" name="media_type" type="radio" value="youtube_url"/>YouTube Share URL</label>
6
+ <input class="selectable" id="media_youtube_url" name="media[youtube_url]" type="text"/>
7
+
8
+ <label for="media_vimeo_url"><input name="media_type" type="radio" value="vimeo_url"/>Vimeo URL</label>
9
+ <input class="selectable" id="media_vimeo_url" name="media[vimeo_url]" type="text"/>
10
+
11
+ <div class="media-options" id="image_url">
12
+ <select id="media_image_alignment" name="media[image_alignment]">
13
+ <option value="">None</option>
14
+ <option value="left">Left</option>
15
+ <option value="right">Right</option>
16
+ <option value="top">Top</option>
17
+ <option value="middle">Middle</option>
18
+ <option value="bottom">Bottom</option>
19
+ <option value="absmiddle">Absolute Middle</option>
20
+ <option value="absbottom">Absolute Bottom</option>
21
+ </select>
22
+ </div>
23
+
24
+ <div class="media-options" id="youtube_url" style="display:none">
25
+ <input id="media_youtube_width" name="media[youtube_width]" type="text" value="560"/>
26
+ <input id="media_youtube_height" name="media[youtube_height]" type="text" value="349"/>
27
+ </div>
28
+
29
+ <div class="media-options" id="vimeo_url" style="display:none">
30
+ <input id="media_vimeo_width" name="media[vimeo_width]" type="text" value="400"/>
31
+ <input id="media_vimeo_height" name="media[vimeo_height]" type="text" value="225"/>
32
+ </div>
33
+
34
+ <input id="submit" type="submit"/>
35
+ </form>
@@ -0,0 +1,6 @@
1
+ <form>
2
+ <input type="text" name="first_name" value="Wilma"/>
3
+ <input type="text" name="last_name" value="Flintstone"/>
4
+
5
+ <input id="submit" type="submit"/>
6
+ </form>
@@ -0,0 +1,27 @@
1
+ <form>
2
+ <div id="table_display">
3
+ <table id="table" border="1" cellspacing="0"><tr><td id="cell1"></td></tr><tr><td id="cell2"></td></tr></table>
4
+ </div>
5
+
6
+ <input class="action" name="insertrowbefore" type="button" value="Add Before">
7
+ <input class="action" name="insertrowafter" type="button" value="Add After">
8
+ <input class="action" name="deleterow" type="button" value="Remove">
9
+ <input class="action" name="insertcolumnbefore" type="button" value="Add Before">
10
+ <input class="action" name="insertcolumnafter" type="button" value="Add After">
11
+ <input class="action" name="deletecolumn" type="button" value="Remove">
12
+ <input class="action" name="increaserowspan" type="button" value="+">
13
+ <input class="action" name="decreaserowspan" type="button" value="-">
14
+ <input class="action" name="increasecolspan" type="button" value="+">
15
+ <input class="action" name="decreasecolspan" type="button" value="-">
16
+
17
+ <select id="table_alignment" name="table[alignment]">
18
+ <option value="">None</option>
19
+ <option value="left">Left</option>
20
+ <option value="right" id="right_option">Right</option>
21
+ </select>
22
+
23
+ <input id="table_border" type="text" value="1"/>
24
+ <input id="table_spacing" type="text" value="0"/>
25
+
26
+ <input id="submit" type="submit"/>
27
+ </form>
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: mercury-rails
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.0
5
+ version: 0.1.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jeremy Jackson
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-06-17 00:00:00 -06:00
13
+ date: 2011-06-19 00:00:00 -06:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -280,8 +280,19 @@ files:
280
280
  - log/.gitkeep
281
281
  - mercury-rails.gemspec
282
282
  - spec/javascripts/mercury/dialog_spec.js.coffee
283
+ - spec/javascripts/mercury/dialogs/backcolor_spec.js.coffee
284
+ - spec/javascripts/mercury/dialogs/forecolor_spec.js.coffee
285
+ - spec/javascripts/mercury/dialogs/formatblock_spec.js.coffee
286
+ - spec/javascripts/mercury/dialogs/objectspanel_spec.js.coffee
287
+ - spec/javascripts/mercury/dialogs/style_spec.js.coffee
283
288
  - spec/javascripts/mercury/history_buffer_spec.js.coffee
284
289
  - spec/javascripts/mercury/mercury_spec.js.coffee
290
+ - spec/javascripts/mercury/modals/htmleditor_spec.js.coffee
291
+ - spec/javascripts/mercury/modals/insertcharacter_spec.js.coffee
292
+ - spec/javascripts/mercury/modals/insertlink_spec.js.coffee
293
+ - spec/javascripts/mercury/modals/insertmedia_spec.js.coffee
294
+ - spec/javascripts/mercury/modals/insertsnippet_spec.js.coffee
295
+ - spec/javascripts/mercury/modals/inserttable_spec.js.coffee
285
296
  - spec/javascripts/mercury/native_extensions_spec.js.coffee
286
297
  - spec/javascripts/mercury/page_editor_spec.js.coffee
287
298
  - spec/javascripts/mercury/palette_spec.js.coffee
@@ -304,6 +315,17 @@ files:
304
315
  - spec/javascripts/responses/blank.html
305
316
  - spec/javascripts/spec_helper.js
306
317
  - spec/javascripts/templates/mercury/dialog.html
318
+ - spec/javascripts/templates/mercury/dialogs/backcolor.html
319
+ - spec/javascripts/templates/mercury/dialogs/forecolor.html
320
+ - spec/javascripts/templates/mercury/dialogs/formatblock.html
321
+ - spec/javascripts/templates/mercury/dialogs/objectspanel.html
322
+ - spec/javascripts/templates/mercury/dialogs/style.html
323
+ - spec/javascripts/templates/mercury/modals/htmleditor.html
324
+ - spec/javascripts/templates/mercury/modals/insertcharacter.html
325
+ - spec/javascripts/templates/mercury/modals/insertlink.html
326
+ - spec/javascripts/templates/mercury/modals/insertmedia.html
327
+ - spec/javascripts/templates/mercury/modals/insertsnippet.html
328
+ - spec/javascripts/templates/mercury/modals/inserttable.html
307
329
  - spec/javascripts/templates/mercury/page_editor.html
308
330
  - spec/javascripts/templates/mercury/palette.html
309
331
  - spec/javascripts/templates/mercury/panel.html
@@ -343,7 +365,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
343
365
  requirements:
344
366
  - - ">="
345
367
  - !ruby/object:Gem::Version
346
- hash: 4098617462875702287
368
+ hash: -2025913120480048200
347
369
  segments:
348
370
  - 0
349
371
  version: "0"