ckeditor 3.6.0 → 3.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +5 -1
- data/README.rdoc +44 -9
- data/Rakefile +28 -0
- data/config/locales/pt-BR.ckeditor.yml +8 -0
- data/lib/ckeditor.rb +6 -1
- data/lib/ckeditor/backend/carrierwave.rb +64 -0
- data/lib/ckeditor/backend/paperclip.rb +53 -0
- data/lib/ckeditor/http.rb +10 -2
- data/lib/ckeditor/orm/active_record.rb +4 -69
- data/lib/ckeditor/orm/base.rb +46 -0
- data/lib/ckeditor/orm/mongoid.rb +20 -71
- data/lib/ckeditor/version.rb +1 -1
- data/lib/generators/ckeditor/install_generator.rb +1 -0
- data/lib/generators/ckeditor/models_generator.rb +28 -9
- data/lib/generators/ckeditor/templates/ckeditor.rb +1 -2
- data/lib/generators/ckeditor/templates/ckeditor/filebrowser/javascripts/application.js +1 -1
- data/lib/generators/ckeditor/templates/models/active_record/carrierwave/ckeditor/asset.rb +7 -0
- data/lib/generators/ckeditor/templates/models/active_record/carrierwave/ckeditor/attachment_file.rb +10 -0
- data/lib/generators/ckeditor/templates/models/active_record/carrierwave/ckeditor/picture.rb +7 -0
- data/lib/generators/ckeditor/templates/models/active_record/{migration.rb → carrierwave/migration.rb} +0 -0
- data/lib/generators/ckeditor/templates/models/active_record/{ckeditor → paperclip/ckeditor}/asset.rb +1 -4
- data/lib/generators/ckeditor/templates/models/active_record/{ckeditor → paperclip/ckeditor}/attachment_file.rb +0 -0
- data/lib/generators/ckeditor/templates/models/active_record/{ckeditor → paperclip/ckeditor}/picture.rb +0 -0
- data/lib/generators/ckeditor/templates/models/active_record/paperclip/migration.rb +26 -0
- data/lib/generators/ckeditor/templates/models/base/carrierwave/uploaders/ckeditor_attachment_file_uploader.rb +42 -0
- data/lib/generators/ckeditor/templates/models/base/carrierwave/uploaders/ckeditor_picture_uploader.rb +53 -0
- data/lib/generators/ckeditor/templates/models/mongoid/carrierwave/ckeditor/asset.rb +7 -0
- data/lib/generators/ckeditor/templates/models/mongoid/carrierwave/ckeditor/attachment_file.rb +10 -0
- data/lib/generators/ckeditor/templates/models/mongoid/carrierwave/ckeditor/picture.rb +7 -0
- data/lib/generators/ckeditor/templates/models/mongoid/paperclip/ckeditor/asset.rb +5 -0
- data/lib/generators/ckeditor/templates/models/mongoid/{ckeditor → paperclip/ckeditor}/attachment_file.rb +3 -3
- data/lib/generators/ckeditor/templates/models/mongoid/{ckeditor → paperclip/ckeditor}/picture.rb +0 -0
- data/test/controllers/attachment_files_controller_test.rb +9 -0
- data/test/controllers/pictures_controller_test.rb +9 -0
- data/test/dummy/config/application.rb +6 -2
- data/test/dummy/db/migrate/20110705195648_create_ckeditor_assets.rb +2 -2
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +2808 -0
- data/test/dummy/public/ckeditor_assets/attachments/4e53723cde2f151212000001/rails_tar.gz +0 -0
- data/test/dummy/public/ckeditor_assets/attachments/4e537333de2f15123b000001/rails_tar.gz +0 -0
- data/test/dummy/public/ckeditor_assets/attachments/4e537621de2f1514e9000001/rails_tar.gz +0 -0
- data/test/dummy/public/ckeditor_assets/attachments/4e53766ade2f15152c000001/rails_tar.gz +0 -0
- data/test/dummy/public/ckeditor_assets/attachments/4e53781ede2f1515b7000001/rails.tar.gz +0 -0
- data/test/dummy/public/ckeditor_assets/attachments/4e537849de2f151651000001/rails_tar.gz +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/4e53723dde2f151212000002/content_rails.png +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/4e53723dde2f151212000002/original_rails.png +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/4e53723dde2f151212000002/thumb_rails.png +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/4e537334de2f15123b000002/content_rails.png +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/4e537334de2f15123b000002/original_rails.png +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/4e537334de2f15123b000002/thumb_rails.png +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/4e537637de2f1514e9000007/content_rails.png +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/4e537637de2f1514e9000007/original_rails.png +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/4e537637de2f1514e9000007/thumb_rails.png +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/4e53768ade2f15152c000007/content_rails.png +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/4e53768ade2f15152c000007/original_rails.png +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/4e53768ade2f15152c000007/thumb_rails.png +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/4e53783ade2f1515b7000007/content_rails.png +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/4e53783ade2f1515b7000007/rails.png +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/4e53783ade2f1515b7000007/thumb_rails.png +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/4e537868de2f151651000007/content_rails.png +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/4e537868de2f151651000007/original_rails.png +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/4e537868de2f151651000007/thumb_rails.png +0 -0
- data/test/dummy/public/uploads/tmp/20110823-1231-4694-7541/rails.png +0 -0
- data/test/dummy/public/uploads/tmp/20110823-1232-4702-5501/rails.png +0 -0
- data/test/dummy/public/uploads/tmp/20110823-1245-5487-0966/rails.png +0 -0
- data/test/dummy/public/uploads/tmp/20110823-1245-5487-1597/rails.tar.gz +0 -0
- data/test/dummy/public/uploads/tmp/20110823-1245-5487-3892/rails.tar.gz +0 -0
- data/test/dummy/public/uploads/tmp/20110823-1245-5487-5787/rails.tar.gz +0 -0
- data/test/dummy/public/uploads/tmp/20110823-1245-5487-5790/rails.png +0 -0
- data/test/dummy/public/uploads/tmp/20110823-1245-5487-6435/rails.png +0 -0
- data/test/dummy/public/uploads/tmp/20110823-1245-5487-6978/rails.png +0 -0
- data/test/dummy/public/uploads/tmp/20110823-1245-5487-7226/rails.tar.gz +0 -0
- data/test/dummy/public/uploads/tmp/20110823-1245-5487-7290/rails.tar.gz +0 -0
- data/test/dummy/public/uploads/tmp/20110823-1245-5487-9279/rails.png +0 -0
- data/test/generators/models_generator_test.rb +34 -4
- data/test/models/attachment_file_test.rb +16 -0
- data/test/models/picture_test.rb +16 -0
- data/test/support/helpers.rb +30 -0
- data/test/support/raw_post.rb +9 -0
- data/test/test_helper.rb +2 -0
- data/test/tmp/app/models/ckeditor/asset.rb +2 -4
- data/test/tmp/app/models/ckeditor/attachment_file.rb +3 -3
- metadata +104 -11
- data/lib/generators/ckeditor/templates/models/mongoid/ckeditor/asset.rb +0 -7
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -5,8 +5,8 @@ class ModelsGeneratorTest < Rails::Generators::TestCase
|
|
5
5
|
destination File.expand_path("../../tmp", __FILE__)
|
6
6
|
setup :prepare_destination
|
7
7
|
|
8
|
-
test "models and migration for active_record orm" do
|
9
|
-
run_generator %w(--orm=active_record)
|
8
|
+
test "models and migration for active_record orm via paperclip" do
|
9
|
+
run_generator %w(--orm=active_record --backend=paperclip)
|
10
10
|
|
11
11
|
assert_file "app/models/ckeditor/asset.rb"
|
12
12
|
assert_file "app/models/ckeditor/picture.rb"
|
@@ -19,13 +19,43 @@ class ModelsGeneratorTest < Rails::Generators::TestCase
|
|
19
19
|
end
|
20
20
|
end
|
21
21
|
|
22
|
-
test "models for
|
23
|
-
run_generator %w(--orm=
|
22
|
+
test "models and migration for active_record orm via carrierwave" do
|
23
|
+
run_generator %w(--orm=active_record --backend=carrierwave)
|
24
24
|
|
25
25
|
assert_file "app/models/ckeditor/asset.rb"
|
26
26
|
assert_file "app/models/ckeditor/picture.rb"
|
27
27
|
assert_file "app/models/ckeditor/attachment_file.rb"
|
28
|
+
|
29
|
+
assert_file "app/uploaders/ckeditor_attachment_file_uploader.rb"
|
30
|
+
assert_file "app/uploaders/ckeditor_picture_uploader.rb"
|
28
31
|
|
32
|
+
assert_migration "db/migrate/create_ckeditor_assets.rb" do |migration|
|
33
|
+
assert_class_method :up, migration do |up|
|
34
|
+
assert_match /create_table/, up
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
test "models for mongoid orm via paperclip" do
|
40
|
+
run_generator %w(--orm=mongoid --backend=paperclip)
|
41
|
+
|
42
|
+
assert_file "app/models/ckeditor/asset.rb"
|
43
|
+
assert_file "app/models/ckeditor/picture.rb"
|
44
|
+
assert_file "app/models/ckeditor/attachment_file.rb"
|
45
|
+
|
46
|
+
assert_no_migration "db/migrate/create_ckeditor_assets.rb"
|
47
|
+
end
|
48
|
+
|
49
|
+
test "models for mongoid orm via carrierwave" do
|
50
|
+
run_generator %w(--orm=mongoid --backend=carrierwave)
|
51
|
+
|
52
|
+
assert_file "app/models/ckeditor/asset.rb"
|
53
|
+
assert_file "app/models/ckeditor/picture.rb"
|
54
|
+
assert_file "app/models/ckeditor/attachment_file.rb"
|
55
|
+
|
56
|
+
assert_file "app/uploaders/ckeditor_attachment_file_uploader.rb"
|
57
|
+
assert_file "app/uploaders/ckeditor_picture_uploader.rb"
|
58
|
+
|
29
59
|
assert_no_migration "db/migrate/create_ckeditor_assets.rb"
|
30
60
|
end
|
31
61
|
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class AttachmentFileTest < ActiveSupport::TestCase
|
4
|
+
test "Set file content_type and size" do
|
5
|
+
@attachemnt = create_attachemnt
|
6
|
+
|
7
|
+
assert_equal @attachemnt.data_content_type, "application/x-gzip"
|
8
|
+
# TODO: fix filename parameterization
|
9
|
+
if CKEDITOR_BACKEND == :paperclip
|
10
|
+
assert_equal @attachemnt.data_file_name, "rails_tar.gz"
|
11
|
+
else
|
12
|
+
assert_equal @attachemnt.data_file_name, "rails.tar.gz"
|
13
|
+
end
|
14
|
+
assert_equal @attachemnt.data_file_size, 6823
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class PictureTest < ActiveSupport::TestCase
|
4
|
+
test "Set file content_type and size" do
|
5
|
+
@picture = create_picture
|
6
|
+
|
7
|
+
assert_equal @picture.data_content_type, "image/png"
|
8
|
+
assert_equal @picture.data_file_name, "rails.png"
|
9
|
+
assert_equal @picture.data_file_size, 6646
|
10
|
+
|
11
|
+
if @picture.has_dimensions?
|
12
|
+
assert_equal @picture.width, 50
|
13
|
+
assert_equal @picture.height, 64
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
require 'active_support/test_case'
|
2
|
+
require 'action_dispatch/testing/test_process'
|
3
|
+
|
4
|
+
class ActiveSupport::TestCase
|
5
|
+
include ActionDispatch::TestProcess
|
6
|
+
|
7
|
+
def new_attachemnt(data = nil)
|
8
|
+
data ||= fixture_file_upload('files/rails.tar.gz', 'application/x-gzip')
|
9
|
+
|
10
|
+
Ckeditor::AttachmentFile.new(:data => data)
|
11
|
+
end
|
12
|
+
|
13
|
+
def create_attachemnt(data = nil)
|
14
|
+
attachemnt = new_attachemnt(data)
|
15
|
+
attachemnt.save!
|
16
|
+
attachemnt
|
17
|
+
end
|
18
|
+
|
19
|
+
def new_picture(data = nil)
|
20
|
+
data ||= fixture_file_upload('files/rails.png', 'image/png')
|
21
|
+
|
22
|
+
Ckeditor::Picture.new(:data => data)
|
23
|
+
end
|
24
|
+
|
25
|
+
def create_picture(data = nil)
|
26
|
+
picture = new_picture(data)
|
27
|
+
picture.save!
|
28
|
+
picture
|
29
|
+
end
|
30
|
+
end
|
data/test/test_helper.rb
CHANGED
@@ -1,8 +1,10 @@
|
|
1
1
|
# Configure Rails Envinronment
|
2
2
|
ENV["RAILS_ENV"] = "test"
|
3
3
|
CKEDITOR_ORM = (ENV["CKEDITOR_ORM"] || :active_record).to_sym
|
4
|
+
CKEDITOR_BACKEND = (ENV["CKEDITOR_BACKEND"] || :paperclip).to_sym
|
4
5
|
|
5
6
|
puts "\n==> Ckeditor.orm = #{CKEDITOR_ORM.inspect}. You can change orm in environment variable CKEDITOR_ORM"
|
7
|
+
puts "\n==> Ckeditor.backend = #{CKEDITOR_BACKEND.inspect}. You can change backend in environment variable CKEDITOR_BACKEND"
|
6
8
|
|
7
9
|
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
8
10
|
require "rails/test_help"
|
@@ -8,8 +8,8 @@ class Ckeditor::AttachmentFile < Ckeditor::Asset
|
|
8
8
|
|
9
9
|
def url_thumb
|
10
10
|
@url_thumb ||= begin
|
11
|
-
|
12
|
-
|
13
|
-
|
11
|
+
extname = File.extname(filename).gsub(/^\./, '')
|
12
|
+
"/javascripts/ckeditor/filebrowser/images/thumbs/#{extname}.gif"
|
13
|
+
end
|
14
14
|
end
|
15
15
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ckeditor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 29
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 3
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 3.6.
|
9
|
+
- 1
|
10
|
+
version: 3.6.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Igor Galeta
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-08-23 00:00:00 +03:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -72,9 +72,12 @@ files:
|
|
72
72
|
- lib/ckeditor/helpers/form_builder.rb
|
73
73
|
- lib/ckeditor/helpers/controllers.rb
|
74
74
|
- lib/ckeditor/helpers/form_helper.rb
|
75
|
+
- lib/ckeditor/backend/carrierwave.rb
|
76
|
+
- lib/ckeditor/backend/paperclip.rb
|
75
77
|
- lib/ckeditor/hooks/simple_form.rb
|
76
78
|
- lib/ckeditor/hooks/formtastic.rb
|
77
79
|
- lib/ckeditor/http.rb
|
80
|
+
- lib/ckeditor/orm/base.rb
|
78
81
|
- lib/ckeditor/orm/active_record.rb
|
79
82
|
- lib/ckeditor/orm/mongoid.rb
|
80
83
|
- lib/ckeditor/version.rb
|
@@ -106,17 +109,27 @@ files:
|
|
106
109
|
- lib/generators/ckeditor/templates/ckeditor/plugins/attachment/lang/uk.js
|
107
110
|
- lib/generators/ckeditor/templates/ckeditor/plugins/attachment/lang/ru.js
|
108
111
|
- lib/generators/ckeditor/templates/ckeditor/config.js
|
109
|
-
- lib/generators/ckeditor/templates/models/mongoid/ckeditor/attachment_file.rb
|
110
|
-
- lib/generators/ckeditor/templates/models/mongoid/ckeditor/asset.rb
|
111
|
-
- lib/generators/ckeditor/templates/models/mongoid/ckeditor/picture.rb
|
112
|
-
- lib/generators/ckeditor/templates/models/
|
113
|
-
- lib/generators/ckeditor/templates/models/
|
114
|
-
- lib/generators/ckeditor/templates/models/
|
115
|
-
- lib/generators/ckeditor/templates/models/
|
112
|
+
- lib/generators/ckeditor/templates/models/mongoid/paperclip/ckeditor/attachment_file.rb
|
113
|
+
- lib/generators/ckeditor/templates/models/mongoid/paperclip/ckeditor/asset.rb
|
114
|
+
- lib/generators/ckeditor/templates/models/mongoid/paperclip/ckeditor/picture.rb
|
115
|
+
- lib/generators/ckeditor/templates/models/mongoid/carrierwave/ckeditor/attachment_file.rb
|
116
|
+
- lib/generators/ckeditor/templates/models/mongoid/carrierwave/ckeditor/asset.rb
|
117
|
+
- lib/generators/ckeditor/templates/models/mongoid/carrierwave/ckeditor/picture.rb
|
118
|
+
- lib/generators/ckeditor/templates/models/base/carrierwave/uploaders/ckeditor_picture_uploader.rb
|
119
|
+
- lib/generators/ckeditor/templates/models/base/carrierwave/uploaders/ckeditor_attachment_file_uploader.rb
|
120
|
+
- lib/generators/ckeditor/templates/models/active_record/paperclip/ckeditor/attachment_file.rb
|
121
|
+
- lib/generators/ckeditor/templates/models/active_record/paperclip/ckeditor/asset.rb
|
122
|
+
- lib/generators/ckeditor/templates/models/active_record/paperclip/ckeditor/picture.rb
|
123
|
+
- lib/generators/ckeditor/templates/models/active_record/paperclip/migration.rb
|
124
|
+
- lib/generators/ckeditor/templates/models/active_record/carrierwave/ckeditor/attachment_file.rb
|
125
|
+
- lib/generators/ckeditor/templates/models/active_record/carrierwave/ckeditor/asset.rb
|
126
|
+
- lib/generators/ckeditor/templates/models/active_record/carrierwave/ckeditor/picture.rb
|
127
|
+
- lib/generators/ckeditor/templates/models/active_record/carrierwave/migration.rb
|
116
128
|
- lib/generators/ckeditor/templates/ckeditor.rb
|
117
129
|
- lib/ckeditor.rb
|
118
130
|
- config/routes.rb
|
119
131
|
- config/locales/uk.ckeditor.yml
|
132
|
+
- config/locales/pt-BR.ckeditor.yml
|
120
133
|
- config/locales/en.ckeditor.yml
|
121
134
|
- config/locales/ru.ckeditor.yml
|
122
135
|
- MIT-LICENSE
|
@@ -127,6 +140,8 @@ files:
|
|
127
140
|
- test/integration/navigation_test.rb
|
128
141
|
- test/generators/models_generator_test.rb
|
129
142
|
- test/generators/install_generator_test.rb
|
143
|
+
- test/models/attachment_file_test.rb
|
144
|
+
- test/models/picture_test.rb
|
130
145
|
- test/dummy/public/stylesheets/scaffold.css
|
131
146
|
- test/dummy/public/500.html
|
132
147
|
- test/dummy/public/404.html
|
@@ -137,7 +152,43 @@ files:
|
|
137
152
|
- test/dummy/public/javascripts/prototype.js
|
138
153
|
- test/dummy/public/javascripts/controls.js
|
139
154
|
- test/dummy/public/javascripts/rails.js
|
155
|
+
- test/dummy/public/uploads/tmp/20110823-1245-5487-7226/rails.tar.gz
|
156
|
+
- test/dummy/public/uploads/tmp/20110823-1245-5487-1597/rails.tar.gz
|
157
|
+
- test/dummy/public/uploads/tmp/20110823-1231-4694-7541/rails.png
|
158
|
+
- test/dummy/public/uploads/tmp/20110823-1245-5487-0966/rails.png
|
159
|
+
- test/dummy/public/uploads/tmp/20110823-1245-5487-5787/rails.tar.gz
|
160
|
+
- test/dummy/public/uploads/tmp/20110823-1245-5487-5790/rails.png
|
161
|
+
- test/dummy/public/uploads/tmp/20110823-1245-5487-6435/rails.png
|
162
|
+
- test/dummy/public/uploads/tmp/20110823-1232-4702-5501/rails.png
|
163
|
+
- test/dummy/public/uploads/tmp/20110823-1245-5487-9279/rails.png
|
164
|
+
- test/dummy/public/uploads/tmp/20110823-1245-5487-3892/rails.tar.gz
|
165
|
+
- test/dummy/public/uploads/tmp/20110823-1245-5487-7290/rails.tar.gz
|
166
|
+
- test/dummy/public/uploads/tmp/20110823-1245-5487-6978/rails.png
|
140
167
|
- test/dummy/public/422.html
|
168
|
+
- test/dummy/public/ckeditor_assets/pictures/4e53723dde2f151212000002/content_rails.png
|
169
|
+
- test/dummy/public/ckeditor_assets/pictures/4e53723dde2f151212000002/original_rails.png
|
170
|
+
- test/dummy/public/ckeditor_assets/pictures/4e53723dde2f151212000002/thumb_rails.png
|
171
|
+
- test/dummy/public/ckeditor_assets/pictures/4e537334de2f15123b000002/content_rails.png
|
172
|
+
- test/dummy/public/ckeditor_assets/pictures/4e537334de2f15123b000002/original_rails.png
|
173
|
+
- test/dummy/public/ckeditor_assets/pictures/4e537334de2f15123b000002/thumb_rails.png
|
174
|
+
- test/dummy/public/ckeditor_assets/pictures/4e537868de2f151651000007/content_rails.png
|
175
|
+
- test/dummy/public/ckeditor_assets/pictures/4e537868de2f151651000007/original_rails.png
|
176
|
+
- test/dummy/public/ckeditor_assets/pictures/4e537868de2f151651000007/thumb_rails.png
|
177
|
+
- test/dummy/public/ckeditor_assets/pictures/4e53783ade2f1515b7000007/content_rails.png
|
178
|
+
- test/dummy/public/ckeditor_assets/pictures/4e53783ade2f1515b7000007/rails.png
|
179
|
+
- test/dummy/public/ckeditor_assets/pictures/4e53783ade2f1515b7000007/thumb_rails.png
|
180
|
+
- test/dummy/public/ckeditor_assets/pictures/4e537637de2f1514e9000007/content_rails.png
|
181
|
+
- test/dummy/public/ckeditor_assets/pictures/4e537637de2f1514e9000007/original_rails.png
|
182
|
+
- test/dummy/public/ckeditor_assets/pictures/4e537637de2f1514e9000007/thumb_rails.png
|
183
|
+
- test/dummy/public/ckeditor_assets/pictures/4e53768ade2f15152c000007/content_rails.png
|
184
|
+
- test/dummy/public/ckeditor_assets/pictures/4e53768ade2f15152c000007/original_rails.png
|
185
|
+
- test/dummy/public/ckeditor_assets/pictures/4e53768ade2f15152c000007/thumb_rails.png
|
186
|
+
- test/dummy/public/ckeditor_assets/attachments/4e537333de2f15123b000001/rails_tar.gz
|
187
|
+
- test/dummy/public/ckeditor_assets/attachments/4e53766ade2f15152c000001/rails_tar.gz
|
188
|
+
- test/dummy/public/ckeditor_assets/attachments/4e53723cde2f151212000001/rails_tar.gz
|
189
|
+
- test/dummy/public/ckeditor_assets/attachments/4e537621de2f1514e9000001/rails_tar.gz
|
190
|
+
- test/dummy/public/ckeditor_assets/attachments/4e53781ede2f1515b7000001/rails.tar.gz
|
191
|
+
- test/dummy/public/ckeditor_assets/attachments/4e537849de2f151651000001/rails_tar.gz
|
141
192
|
- test/dummy/app/views/layouts/application.html.erb
|
142
193
|
- test/dummy/app/views/posts/new.html.erb
|
143
194
|
- test/dummy/app/views/posts/edit.html.erb
|
@@ -181,6 +232,8 @@ files:
|
|
181
232
|
- test/tmp/app/models/ckeditor/attachment_file.rb
|
182
233
|
- test/tmp/app/models/ckeditor/asset.rb
|
183
234
|
- test/tmp/app/models/ckeditor/picture.rb
|
235
|
+
- test/support/raw_post.rb
|
236
|
+
- test/support/helpers.rb
|
184
237
|
- test/support/integration_case.rb
|
185
238
|
- test/test_helper.rb
|
186
239
|
- test/orm/active_record.rb
|
@@ -228,6 +281,8 @@ test_files:
|
|
228
281
|
- test/integration/navigation_test.rb
|
229
282
|
- test/generators/models_generator_test.rb
|
230
283
|
- test/generators/install_generator_test.rb
|
284
|
+
- test/models/attachment_file_test.rb
|
285
|
+
- test/models/picture_test.rb
|
231
286
|
- test/dummy/public/stylesheets/scaffold.css
|
232
287
|
- test/dummy/public/500.html
|
233
288
|
- test/dummy/public/404.html
|
@@ -238,7 +293,43 @@ test_files:
|
|
238
293
|
- test/dummy/public/javascripts/prototype.js
|
239
294
|
- test/dummy/public/javascripts/controls.js
|
240
295
|
- test/dummy/public/javascripts/rails.js
|
296
|
+
- test/dummy/public/uploads/tmp/20110823-1245-5487-7226/rails.tar.gz
|
297
|
+
- test/dummy/public/uploads/tmp/20110823-1245-5487-1597/rails.tar.gz
|
298
|
+
- test/dummy/public/uploads/tmp/20110823-1231-4694-7541/rails.png
|
299
|
+
- test/dummy/public/uploads/tmp/20110823-1245-5487-0966/rails.png
|
300
|
+
- test/dummy/public/uploads/tmp/20110823-1245-5487-5787/rails.tar.gz
|
301
|
+
- test/dummy/public/uploads/tmp/20110823-1245-5487-5790/rails.png
|
302
|
+
- test/dummy/public/uploads/tmp/20110823-1245-5487-6435/rails.png
|
303
|
+
- test/dummy/public/uploads/tmp/20110823-1232-4702-5501/rails.png
|
304
|
+
- test/dummy/public/uploads/tmp/20110823-1245-5487-9279/rails.png
|
305
|
+
- test/dummy/public/uploads/tmp/20110823-1245-5487-3892/rails.tar.gz
|
306
|
+
- test/dummy/public/uploads/tmp/20110823-1245-5487-7290/rails.tar.gz
|
307
|
+
- test/dummy/public/uploads/tmp/20110823-1245-5487-6978/rails.png
|
241
308
|
- test/dummy/public/422.html
|
309
|
+
- test/dummy/public/ckeditor_assets/pictures/4e53723dde2f151212000002/content_rails.png
|
310
|
+
- test/dummy/public/ckeditor_assets/pictures/4e53723dde2f151212000002/original_rails.png
|
311
|
+
- test/dummy/public/ckeditor_assets/pictures/4e53723dde2f151212000002/thumb_rails.png
|
312
|
+
- test/dummy/public/ckeditor_assets/pictures/4e537334de2f15123b000002/content_rails.png
|
313
|
+
- test/dummy/public/ckeditor_assets/pictures/4e537334de2f15123b000002/original_rails.png
|
314
|
+
- test/dummy/public/ckeditor_assets/pictures/4e537334de2f15123b000002/thumb_rails.png
|
315
|
+
- test/dummy/public/ckeditor_assets/pictures/4e537868de2f151651000007/content_rails.png
|
316
|
+
- test/dummy/public/ckeditor_assets/pictures/4e537868de2f151651000007/original_rails.png
|
317
|
+
- test/dummy/public/ckeditor_assets/pictures/4e537868de2f151651000007/thumb_rails.png
|
318
|
+
- test/dummy/public/ckeditor_assets/pictures/4e53783ade2f1515b7000007/content_rails.png
|
319
|
+
- test/dummy/public/ckeditor_assets/pictures/4e53783ade2f1515b7000007/rails.png
|
320
|
+
- test/dummy/public/ckeditor_assets/pictures/4e53783ade2f1515b7000007/thumb_rails.png
|
321
|
+
- test/dummy/public/ckeditor_assets/pictures/4e537637de2f1514e9000007/content_rails.png
|
322
|
+
- test/dummy/public/ckeditor_assets/pictures/4e537637de2f1514e9000007/original_rails.png
|
323
|
+
- test/dummy/public/ckeditor_assets/pictures/4e537637de2f1514e9000007/thumb_rails.png
|
324
|
+
- test/dummy/public/ckeditor_assets/pictures/4e53768ade2f15152c000007/content_rails.png
|
325
|
+
- test/dummy/public/ckeditor_assets/pictures/4e53768ade2f15152c000007/original_rails.png
|
326
|
+
- test/dummy/public/ckeditor_assets/pictures/4e53768ade2f15152c000007/thumb_rails.png
|
327
|
+
- test/dummy/public/ckeditor_assets/attachments/4e537333de2f15123b000001/rails_tar.gz
|
328
|
+
- test/dummy/public/ckeditor_assets/attachments/4e53766ade2f15152c000001/rails_tar.gz
|
329
|
+
- test/dummy/public/ckeditor_assets/attachments/4e53723cde2f151212000001/rails_tar.gz
|
330
|
+
- test/dummy/public/ckeditor_assets/attachments/4e537621de2f1514e9000001/rails_tar.gz
|
331
|
+
- test/dummy/public/ckeditor_assets/attachments/4e53781ede2f1515b7000001/rails.tar.gz
|
332
|
+
- test/dummy/public/ckeditor_assets/attachments/4e537849de2f151651000001/rails_tar.gz
|
242
333
|
- test/dummy/app/views/layouts/application.html.erb
|
243
334
|
- test/dummy/app/views/posts/new.html.erb
|
244
335
|
- test/dummy/app/views/posts/edit.html.erb
|
@@ -282,6 +373,8 @@ test_files:
|
|
282
373
|
- test/tmp/app/models/ckeditor/attachment_file.rb
|
283
374
|
- test/tmp/app/models/ckeditor/asset.rb
|
284
375
|
- test/tmp/app/models/ckeditor/picture.rb
|
376
|
+
- test/support/raw_post.rb
|
377
|
+
- test/support/helpers.rb
|
285
378
|
- test/support/integration_case.rb
|
286
379
|
- test/test_helper.rb
|
287
380
|
- test/orm/active_record.rb
|