morrigan_editor_rails 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ac8edc84f22e2398184ec37ed538797316e03201
4
- data.tar.gz: 3007dabc21d7e903903d09a2af1f3ac3aea46265
3
+ metadata.gz: 213aa860f47ef0f027b88399c86ced7e7abe7f79
4
+ data.tar.gz: ea4af3ee1d455306dc5561bc45a7ec5f070f8839
5
5
  SHA512:
6
- metadata.gz: 6bd2f03e4fd570c2f48ea5d6dff607d366cbe1c37e234fad8dd0ba4b107b1c7b2606b64992cb216e3072a338a7d103e8cc45208090bfda6998be83f3ed3c84b7
7
- data.tar.gz: 28bf333746a840f3c102580b2222b02fde1b92cae28fa6c80a47a646d83d927857b8603e56089383a8b24f7196b1ed6d0924e2d6792f7cb50c42afc1160e826f
6
+ metadata.gz: 58110fcf076585a0b158c13ad7e811f0bbeaf816e5e49092572a167c4e7bd1a06e2b7a02c39936dc935bc633a93efd0eaf861ec780ced8056a54c553e8135573
7
+ data.tar.gz: f11a04972efab0ccd8927b5dcef6a0e3d6940ca336a5ef69d79015df3d41bbdb7a00d988aea19fb0b810bba2454f13260ae47dc3a73a31fea2f3413fce3f6496
@@ -1,3 +1,3 @@
1
1
  module MorriganEditorRails
2
- VERSION = '0.0.11'
2
+ VERSION = '0.0.12'
3
3
  end
@@ -22,12 +22,12 @@ module MorriganEditorRails
22
22
  relaxed_conf.merge({
23
23
  elements: (WHITELIST_ELEMENTS + relaxed_conf[:elements]).uniq,
24
24
 
25
- attributes: merge(relaxed_conf[:attributes],
25
+ attributes: relaxed_conf[:attributes].merge(
26
26
  'iframe' => ['width', 'height', 'src', 'frameborder', 'allowfullscreen', 'wmode', 'style'],
27
27
  'div' => ['contenteditable', 'class']
28
28
  ),
29
29
 
30
- protocols: merge(relaxed_conf[:protocols],
30
+ protocols: relaxed_conf[:protocols].merge(
31
31
  'a' => {'href' => ['http', 'https', 'mailto', 'ftp']}
32
32
  )
33
33
  })
@@ -12209,3 +12209,73 @@ Started GET "/assets/editor_iframe.css" for 127.0.0.1 at 2014-08-18 13:16:44 +04
12209
12209
 
12210
12210
 
12211
12211
  Started GET "/assets/fontawesome-webfont.woff" for 127.0.0.1 at 2014-08-18 13:16:44 +0400
12212
+
12213
+
12214
+ Started GET "/" for 127.0.0.1 at 2014-08-18 13:32:29 +0400
12215
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
12216
+ Processing by TestController#index as HTML
12217
+ Rendered test/index.html.erb within layouts/application (7.2ms)
12218
+ Completed 500 Internal Server Error in 12ms
12219
+
12220
+ ActionView::Template::Error (undefined method `merge' for MorriganEditorRails::Editor:Class):
12221
+ 1: <!--<%= asset_path('morrigan_editor_rails/iframe.css') %>-->
12222
+ 2: <%= MorriganEditorRails::Editor.preview_sanitize '<h2>asd</h2><p><b><a href="http://foo.com/">foo</a></b><img src="bar.jpg">' %>
12223
+ 3: <%= MorriganEditorRails::Editor.sanitize '<h2>asd</h2><p><b><a href="http://foo.com/">foo</a></b><img src="bar.jpg">' %>
12224
+ 4: <form id="form">
12225
+ 5: <div class="has-error"><textarea id="textarea"><p>ads</p><p>fgh</p></textarea></div>
12226
+ 6: <div morrigan-editor="true" id="editor" editor-width="100%" editor-height="300px" editor-bound-textarea="#textarea"></div>
12227
+ app/views/test/index.html.erb:3:in `_app_views_test_index_html_erb___648171083_81113380'
12228
+
12229
+
12230
+ Rendered /home/salkar/.rvm/gems/ruby-2.1.0/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms)
12231
+ Rendered /home/salkar/.rvm/gems/ruby-2.1.0/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (13.7ms)
12232
+ Rendered /home/salkar/.rvm/gems/ruby-2.1.0/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (20.5ms)
12233
+
12234
+
12235
+ Started GET "/" for 127.0.0.1 at 2014-08-18 13:33:49 +0400
12236
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
12237
+ Processing by TestController#index as HTML
12238
+ Rendered test/index.html.erb within layouts/application (6.6ms)
12239
+ Completed 200 OK in 208ms (Views: 207.7ms | ActiveRecord: 0.0ms)
12240
+
12241
+
12242
+ Started GET "/assets/editor_iframe.css?body=1" for 127.0.0.1 at 2014-08-18 13:33:49 +0400
12243
+
12244
+
12245
+ Started GET "/assets/morrigan_editor_rails/morrigan-jquery-editor.css?body=1" for 127.0.0.1 at 2014-08-18 13:33:49 +0400
12246
+
12247
+
12248
+ Started GET "/assets/font-awesome.css?body=1" for 127.0.0.1 at 2014-08-18 13:33:49 +0400
12249
+
12250
+
12251
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-18 13:33:49 +0400
12252
+
12253
+
12254
+ Started GET "/assets/morrigan_editor_rails/application.css?body=1" for 127.0.0.1 at 2014-08-18 13:33:49 +0400
12255
+
12256
+
12257
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-18 13:33:49 +0400
12258
+
12259
+
12260
+ Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-08-18 13:33:50 +0400
12261
+
12262
+
12263
+ Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-08-18 13:33:50 +0400
12264
+
12265
+
12266
+ Started GET "/assets/morrigan_editor_rails/main.js?body=1" for 127.0.0.1 at 2014-08-18 13:33:50 +0400
12267
+
12268
+
12269
+ Started GET "/assets/morrigan_editor_rails/morrigan-jquery-editor.js?body=1" for 127.0.0.1 at 2014-08-18 13:33:50 +0400
12270
+
12271
+
12272
+ Started GET "/assets/morrigan_editor_rails/application.js?body=1" for 127.0.0.1 at 2014-08-18 13:33:50 +0400
12273
+
12274
+
12275
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-18 13:33:50 +0400
12276
+
12277
+
12278
+ Started GET "/assets/editor_iframe.css" for 127.0.0.1 at 2014-08-18 13:33:50 +0400
12279
+
12280
+
12281
+ Started GET "/assets/fontawesome-webfont.woff" for 127.0.0.1 at 2014-08-18 13:33:50 +0400
@@ -1 +1 @@
1
- 2325
1
+ 8964
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: morrigan_editor_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergey Sokolov