ckeditor 3.7.2 → 3.7.3

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.
@@ -3,8 +3,6 @@ Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
3
3
  For licensing, see LICENSE.html or http://ckeditor.com/license
4
4
  */
5
5
 
6
- jQuery.noConflict();
7
-
8
6
  CKEDITOR.editorConfig = function( config )
9
7
  {
10
8
  // Define changes to default configuration here. For example:
@@ -35,10 +33,25 @@ CKEDITOR.editorConfig = function( config )
35
33
 
36
34
  // Rails CSRF token
37
35
  config.filebrowserParams = function(){
38
- var csrf_token = jQuery('meta[name=csrf-token]').attr('content'),
39
- csrf_param = jQuery('meta[name=csrf-param]').attr('content'),
36
+ var csrf_token, csrf_param, meta,
37
+ metas = document.getElementsByTagName('meta'),
40
38
  params = new Object();
41
39
 
40
+ for ( var i = 0 ; i < metas.length ; i++ ){
41
+ meta = metas[i];
42
+
43
+ switch(meta.name) {
44
+ case "csrf-token":
45
+ csrf_token = meta.content;
46
+ break;
47
+ case "csrf-param":
48
+ csrf_param = meta.content;
49
+ break;
50
+ default:
51
+ continue;
52
+ }
53
+ }
54
+
42
55
  if (csrf_param !== undefined && csrf_token !== undefined) {
43
56
  params[csrf_param] = csrf_token;
44
57
  }
@@ -66,7 +79,7 @@ CKEDITOR.editorConfig = function( config )
66
79
  var dialogDefinition = ev.data.definition;
67
80
  var content, upload;
68
81
 
69
- if (jQuery.inArray(dialogName, ['link', 'image', 'attachment', 'flash']) > -1) {
82
+ if (CKEDITOR.tools.indexOf(['link', 'image', 'attachment', 'flash'], dialogName) > -1) {
70
83
  content = (dialogDefinition.getContents('Upload') || dialogDefinition.getContents('upload'));
71
84
  upload = (content == null ? null : content.get('upload'));
72
85
 
@@ -0,0 +1,8 @@
1
+ de:
2
+ ckeditor:
3
+ page_title: "CKEditor Dateimanager"
4
+ confirm_delete: "Datei löschen?"
5
+ buttons:
6
+ cancel: "Abbrechen"
7
+ upload: "Hochladen"
8
+ delete: "Löschen"
@@ -0,0 +1,8 @@
1
+ "el-GR":
2
+ ckeditor:
3
+ page_title: "CKEditor Διαχείρηση Αρχείων"
4
+ confirm_delete: "Διαγραφή αρχείου;"
5
+ buttons:
6
+ cancel: "Ακύρωση"
7
+ upload: "Μεταφόρτωση"
8
+ delete: "Διαγραφή"
@@ -33,7 +33,7 @@ module Ckeditor
33
33
  js = ["if (CKEDITOR.instances['#{dom_id}']) {CKEDITOR.remove(CKEDITOR.instances['#{dom_id}']);}"]
34
34
  js << "CKEDITOR.replace('#{dom_id}', #{js_options});"
35
35
 
36
- "window.onload = function(){ #{js.join} };".html_safe
36
+ "(function() { #{js.join} }).call(this);".html_safe
37
37
  end
38
38
 
39
39
  def js_fileuploader(uploader_type, options = {})
@@ -53,7 +53,7 @@ module Ckeditor
53
53
 
54
54
  js_options = ActiveSupport::JSON.encode(options)
55
55
 
56
- "window.onload = function(){ new qq.FileUploaderInput(#{js_options}); };".html_safe
56
+ "(function() { new qq.FileUploaderInput(#{js_options}); }).call(this);".html_safe
57
57
  end
58
58
 
59
59
  def filethumb(filename)
@@ -1,6 +1,6 @@
1
1
  module Ckeditor
2
2
  module Version
3
- GEM = "3.7.2".freeze
3
+ GEM = "3.7.3".freeze
4
4
  EDITOR = "3.6.4".freeze
5
5
  end
6
6
  end
@@ -13,7 +13,7 @@ class CkeditorAttachmentFileUploader < CarrierWave::Uploader::Base
13
13
  # Override the directory where uploaded files will be stored.
14
14
  # This is a sensible default for uploaders that are meant to be mounted:
15
15
  def store_dir
16
- "/uploads/ckeditor/attachments/#{model.id}"
16
+ "uploads/ckeditor/attachments/#{model.id}"
17
17
  end
18
18
 
19
19
  # Provide a default URL as a default if there hasn't been a file uploaded:
@@ -13,7 +13,7 @@ class CkeditorPictureUploader < CarrierWave::Uploader::Base
13
13
  # Override the directory where uploaded files will be stored.
14
14
  # This is a sensible default for uploaders that are meant to be mounted:
15
15
  def store_dir
16
- "/uploads/ckeditor/pictures/#{model.id}"
16
+ "uploads/ckeditor/pictures/#{model.id}"
17
17
  end
18
18
 
19
19
  # Provide a default URL as a default if there hasn't been a file uploaded:
@@ -8571,3 +8571,258 @@ Completed 200 OK in 12ms (Views: 9.6ms | ActiveRecord: 0.3ms)
8571
8571
   (0.1ms) rollback transaction
8572
8572
   (0.1ms) begin transaction
8573
8573
   (0.1ms) rollback transaction
8574
+  (0.1ms) select sqlite_version(*)
8575
+  (0.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
8576
+  (0.0ms) PRAGMA index_list("schema_migrations")
8577
+  (11.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
8578
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
8579
+ Migrating to CreatePosts (20110623120047)
8580
+  (0.1ms) begin transaction
8581
+  (0.5ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
8582
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
8583
+  (0.1ms) commit transaction
8584
+  (0.4ms) CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
8585
+  (0.1ms) PRAGMA index_list("ckeditor_assets")
8586
+  (0.3ms) CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
8587
+  (0.1ms) PRAGMA index_list("ckeditor_assets")
8588
+  (0.1ms) PRAGMA index_info('idx_ckeditor_assetable_type')
8589
+  (0.2ms) CREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")
8590
+  (0.1ms) begin transaction
8591
+  (0.1ms) SAVEPOINT active_record_1
8592
+ SQL (31.4ms) INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 03 Sep 2012 11:02:03 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Mon, 03 Sep 2012 11:02:03 UTC +00:00], ["width", nil]]
8593
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8594
+  (0.1ms) SAVEPOINT active_record_1
8595
+ SQL (0.3ms) DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
8596
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8597
+  (0.1ms) rollback transaction
8598
+  (0.1ms) begin transaction
8599
+  (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
8600
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
8601
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x9c79d00 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120903-8425-56xzaq>>, "CKEditor"=>"ckeditor_field"}
8602
+  (0.1ms) SAVEPOINT active_record_1
8603
+ SQL (0.4ms) INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 03 Sep 2012 11:02:04 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Mon, 03 Sep 2012 11:02:04 UTC +00:00], ["width", nil]]
8604
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8605
+ Rendered text template (0.0ms)
8606
+ Completed 200 OK in 140ms (Views: 86.4ms | ActiveRecord: 0.6ms)
8607
+  (0.3ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
8608
+ Ckeditor::AttachmentFile Load (0.3ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
8609
+  (0.1ms) SAVEPOINT active_record_1
8610
+ SQL (0.2ms) DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
8611
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8612
+  (0.1ms) rollback transaction
8613
+  (0.1ms) begin transaction
8614
+  (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
8615
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
8616
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x9a942d8 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120903-8425-evc4ju>>}
8617
+  (0.1ms) SAVEPOINT active_record_1
8618
+ SQL (0.4ms) INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 03 Sep 2012 11:02:04 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Mon, 03 Sep 2012 11:02:04 UTC +00:00], ["width", nil]]
8619
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8620
+ Completed 200 OK in 9ms (Views: 0.5ms | ActiveRecord: 0.6ms)
8621
+  (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
8622
+ Ckeditor::AttachmentFile Load (0.2ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
8623
+  (0.1ms) SAVEPOINT active_record_1
8624
+ SQL (0.1ms) DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
8625
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8626
+  (0.1ms) rollback transaction
8627
+  (0.1ms) begin transaction
8628
+  (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
8629
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
8630
+ Parameters: {"qqfile"=>"rails.tar.gz"}
8631
+  (0.1ms) SAVEPOINT active_record_1
8632
+ SQL (0.3ms) INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 03 Sep 2012 11:02:04 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Mon, 03 Sep 2012 11:02:04 UTC +00:00], ["width", nil]]
8633
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8634
+ Completed 200 OK in 8ms (Views: 0.4ms | ActiveRecord: 0.5ms)
8635
+  (0.3ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
8636
+ Ckeditor::AttachmentFile Load (0.3ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
8637
+  (0.1ms) SAVEPOINT active_record_1
8638
+ SQL (0.1ms) DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
8639
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8640
+  (0.1ms) rollback transaction
8641
+  (0.1ms) begin transaction
8642
+  (0.1ms) SAVEPOINT active_record_1
8643
+ SQL (0.4ms) INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 03 Sep 2012 11:02:04 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Mon, 03 Sep 2012 11:02:04 UTC +00:00], ["width", nil]]
8644
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8645
+  (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
8646
+ Processing by Ckeditor::AttachmentFilesController#destroy as HTML
8647
+ Parameters: {"id"=>"1"}
8648
+ Ckeditor::AttachmentFile Load (0.4ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
8649
+  (0.1ms) SAVEPOINT active_record_1
8650
+ SQL (0.1ms) DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
8651
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8652
+ Redirected to http://test.host/ckeditor/attachment_files
8653
+ Completed 302 Found in 60ms (ActiveRecord: 0.0ms)
8654
+  (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
8655
+ Ckeditor::AttachmentFile Load (0.2ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
8656
+  (0.1ms) rollback transaction
8657
+  (0.1ms) begin transaction
8658
+ Processing by Ckeditor::AttachmentFilesController#index as HTML
8659
+ Ckeditor::AttachmentFile Load (0.3ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
8660
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
8661
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.4ms)
8662
+ Completed 200 OK in 151ms (Views: 148.7ms | ActiveRecord: 0.3ms)
8663
+ Ckeditor::AttachmentFile Load (0.3ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
8664
+  (0.1ms) rollback transaction
8665
+  (0.1ms) begin transaction
8666
+  (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
8667
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
8668
+ Parameters: {"qqfile"=>nil}
8669
+  (0.1ms) SAVEPOINT active_record_1
8670
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
8671
+ Completed 200 OK in 51ms (Views: 0.6ms | ActiveRecord: 0.2ms)
8672
+  (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
8673
+ Ckeditor::AttachmentFile Load (0.2ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
8674
+  (0.1ms) rollback transaction
8675
+  (0.1ms) begin transaction
8676
+  (0.1ms) rollback transaction
8677
+  (0.1ms) begin transaction
8678
+  (0.1ms) rollback transaction
8679
+  (0.1ms) begin transaction
8680
+  (0.1ms) rollback transaction
8681
+  (0.1ms) begin transaction
8682
+  (0.1ms) rollback transaction
8683
+  (0.1ms) begin transaction
8684
+  (0.1ms) rollback transaction
8685
+  (0.1ms) begin transaction
8686
+  (0.1ms) rollback transaction
8687
+  (0.1ms) begin transaction
8688
+  (0.1ms) rollback transaction
8689
+  (0.1ms) begin transaction
8690
+  (0.1ms) rollback transaction
8691
+  (0.1ms) begin transaction
8692
+  (0.1ms) rollback transaction
8693
+  (0.1ms) begin transaction
8694
+  (0.1ms) rollback transaction
8695
+  (0.1ms) begin transaction
8696
+  (0.2ms) SAVEPOINT active_record_1
8697
+ SQL (0.6ms) INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 03 Sep 2012 11:02:04 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Mon, 03 Sep 2012 11:02:04 UTC +00:00], ["width", 50]]
8698
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8699
+  (0.1ms) SAVEPOINT active_record_1
8700
+ SQL (0.3ms) DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
8701
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8702
+  (0.2ms) rollback transaction
8703
+  (0.1ms) begin transaction
8704
+  (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
8705
+ Processing by Ckeditor::PicturesController#create as HTML
8706
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x9ceda34 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120903-8425-l9vk3g>>, "CKEditor"=>"ckeditor_field"}
8707
+  (0.2ms) SAVEPOINT active_record_1
8708
+ SQL (0.5ms) INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 03 Sep 2012 11:02:04 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Mon, 03 Sep 2012 11:02:04 UTC +00:00], ["width", 50]]
8709
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8710
+ Completed 200 OK in 160ms (Views: 1.4ms | ActiveRecord: 0.8ms)
8711
+  (0.3ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
8712
+ Ckeditor::Picture Load (0.3ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
8713
+  (0.1ms) SAVEPOINT active_record_1
8714
+ SQL (0.2ms) DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
8715
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8716
+  (0.1ms) rollback transaction
8717
+  (0.1ms) begin transaction
8718
+  (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
8719
+ Processing by Ckeditor::PicturesController#create as HTML
8720
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa175390 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120903-8425-xv7z6g>>}
8721
+  (0.1ms) SAVEPOINT active_record_1
8722
+ SQL (0.5ms) INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 03 Sep 2012 11:02:05 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Mon, 03 Sep 2012 11:02:05 UTC +00:00], ["width", 50]]
8723
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8724
+ Completed 200 OK in 207ms (Views: 0.6ms | ActiveRecord: 0.8ms)
8725
+  (0.3ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
8726
+ Ckeditor::Picture Load (0.3ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
8727
+  (0.1ms) SAVEPOINT active_record_1
8728
+ SQL (0.1ms) DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
8729
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8730
+  (0.1ms) rollback transaction
8731
+  (0.1ms) begin transaction
8732
+  (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
8733
+ Processing by Ckeditor::PicturesController#create as HTML
8734
+ Parameters: {"qqfile"=>"rails.png"}
8735
+  (0.1ms) SAVEPOINT active_record_1
8736
+ SQL (0.5ms) INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 03 Sep 2012 11:02:05 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Mon, 03 Sep 2012 11:02:05 UTC +00:00], ["width", 50]]
8737
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8738
+ Completed 200 OK in 164ms (Views: 0.4ms | ActiveRecord: 0.7ms)
8739
+  (0.3ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
8740
+ Ckeditor::Picture Load (0.3ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
8741
+  (0.1ms) SAVEPOINT active_record_1
8742
+ SQL (0.1ms) DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
8743
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8744
+  (0.1ms) rollback transaction
8745
+  (0.1ms) begin transaction
8746
+  (0.1ms) SAVEPOINT active_record_1
8747
+ SQL (0.4ms) INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 03 Sep 2012 11:02:05 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Mon, 03 Sep 2012 11:02:05 UTC +00:00], ["width", 50]]
8748
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8749
+  (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
8750
+ Processing by Ckeditor::PicturesController#destroy as HTML
8751
+ Parameters: {"id"=>"1"}
8752
+ Ckeditor::Picture Load (0.4ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
8753
+  (0.1ms) SAVEPOINT active_record_1
8754
+ SQL (0.1ms) DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
8755
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8756
+ Redirected to http://test.host/ckeditor/pictures
8757
+ Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
8758
+  (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
8759
+ Ckeditor::Picture Load (0.2ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
8760
+  (0.1ms) rollback transaction
8761
+  (0.1ms) begin transaction
8762
+ Processing by Ckeditor::PicturesController#index as HTML
8763
+ Ckeditor::Picture Load (0.3ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
8764
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
8765
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.7ms)
8766
+ Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.3ms)
8767
+ Ckeditor::Picture Load (0.4ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
8768
+  (0.1ms) rollback transaction
8769
+  (0.1ms) begin transaction
8770
+  (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
8771
+ Processing by Ckeditor::PicturesController#create as HTML
8772
+ Parameters: {"qqfile"=>nil}
8773
+  (0.1ms) SAVEPOINT active_record_1
8774
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
8775
+ Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.2ms)
8776
+  (0.2ms) SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
8777
+ Ckeditor::Picture Load (0.2ms) SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
8778
+  (0.1ms) rollback transaction
8779
+  (0.1ms) begin transaction
8780
+  (0.1ms) SAVEPOINT active_record_1
8781
+ SQL (0.6ms) INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Mon, 03 Sep 2012 11:02:05 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 03 Sep 2012 11:02:05 UTC +00:00]]
8782
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8783
+ Processing by PostsController#new as HTML
8784
+ Rendered posts/_form.html.erb (7.4ms)
8785
+ Completed 200 OK in 29ms (Views: 28.3ms | ActiveRecord: 0.0ms)
8786
+  (0.1ms) SAVEPOINT active_record_1
8787
+ SQL (0.2ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
8788
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8789
+  (0.1ms) rollback transaction
8790
+  (0.1ms) begin transaction
8791
+  (0.1ms) SAVEPOINT active_record_1
8792
+ SQL (0.4ms) INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Mon, 03 Sep 2012 11:02:05 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 03 Sep 2012 11:02:05 UTC +00:00]]
8793
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8794
+ Processing by PostsController#index as HTML
8795
+ Post Load (0.2ms) SELECT "posts".* FROM "posts"
8796
+ Completed 200 OK in 53ms (Views: 50.7ms | ActiveRecord: 0.2ms)
8797
+  (0.1ms) SAVEPOINT active_record_1
8798
+ SQL (0.1ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
8799
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8800
+  (0.1ms) rollback transaction
8801
+  (0.1ms) begin transaction
8802
+  (0.1ms) SAVEPOINT active_record_1
8803
+ SQL (0.3ms) INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Mon, 03 Sep 2012 11:02:05 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 03 Sep 2012 11:02:05 UTC +00:00]]
8804
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8805
+ Processing by PostsController#index as HTML
8806
+ Post Load (0.3ms) SELECT "posts".* FROM "posts" 
8807
+ Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.3ms)
8808
+  (0.1ms) SAVEPOINT active_record_1
8809
+ SQL (0.1ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
8810
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8811
+  (0.1ms) rollback transaction
8812
+  (0.1ms) begin transaction
8813
+  (0.1ms) SAVEPOINT active_record_1
8814
+ SQL (0.3ms) INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Mon, 03 Sep 2012 11:02:05 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 03 Sep 2012 11:02:05 UTC +00:00]]
8815
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8816
+ Processing by PostsController#edit as HTML
8817
+ Parameters: {"id"=>"1"}
8818
+ Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
8819
+ Rendered posts/_form.html.erb (5.5ms)
8820
+ Completed 200 OK in 13ms (Views: 10.6ms | ActiveRecord: 0.3ms)
8821
+  (0.1ms) SAVEPOINT active_record_1
8822
+ SQL (0.1ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
8823
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8824
+  (0.1ms) rollback transaction
8825
+  (0.1ms) begin transaction
8826
+  (0.1ms) rollback transaction
8827
+  (0.1ms) begin transaction
8828
+  (0.1ms) rollback transaction
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ckeditor
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.2
4
+ version: 3.7.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-23 00:00:00.000000000 Z
12
+ date: 2012-09-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mime-types
@@ -115,11 +115,13 @@ files:
115
115
  - config/locales/uk.ckeditor.yml
116
116
  - config/locales/pt-BR.ckeditor.yml
117
117
  - config/locales/sv-SE.ckeditor.yml
118
+ - config/locales/de.ckeditor.yml
118
119
  - config/locales/nl.ckeditor.yml
119
120
  - config/locales/it.ckeditor.yml
120
121
  - config/locales/fr.ckeditor.yml
121
122
  - config/locales/cs.ckeditor.yml
122
123
  - config/locales/en.ckeditor.yml
124
+ - config/locales/el-GR.cdkeditor.yml
123
125
  - lib/ckeditor/hooks/simple_form.rb
124
126
  - lib/ckeditor/hooks/formtastic.rb
125
127
  - lib/ckeditor/version.rb