tvdeyen-fleximage 1.0.9 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. data/.gitignore +28 -0
  2. data/Gemfile +8 -0
  3. data/README.rdoc +3 -32
  4. data/Rakefile +23 -34
  5. data/VERSION +1 -1
  6. data/lib/dsl_accessor.rb +12 -9
  7. data/lib/fleximage.rb +0 -1
  8. data/lib/fleximage/model.rb +4 -41
  9. data/test/rails_root/README.rdoc +261 -0
  10. data/test/rails_root/Rakefile +7 -0
  11. data/test/rails_root/app/assets/javascripts/application.js +15 -0
  12. data/test/rails_root/app/assets/stylesheets/application.css +13 -0
  13. data/test/rails_root/app/controllers/application_controller.rb +3 -0
  14. data/test/rails_root/app/helpers/application_helper.rb +0 -1
  15. data/test/rails_root/app/mailers/.gitkeep +0 -0
  16. data/test/rails_root/app/models/.gitkeep +0 -0
  17. data/test/rails_root/app/models/abstract.rb +1 -1
  18. data/test/rails_root/app/models/photo_custom_error.rb +1 -1
  19. data/test/rails_root/app/views/layouts/application.html.erb +14 -0
  20. data/test/rails_root/config.ru +4 -0
  21. data/test/rails_root/config/application.rb +56 -0
  22. data/test/rails_root/config/boot.rb +7 -106
  23. data/test/rails_root/config/database.yml +19 -1
  24. data/test/rails_root/config/environment.rb +4 -65
  25. data/test/rails_root/config/environments/development.rb +33 -14
  26. data/test/rails_root/config/environments/production.rb +62 -14
  27. data/test/rails_root/config/environments/test.rb +32 -17
  28. data/test/rails_root/config/initializers/backtrace_silencers.rb +7 -0
  29. data/test/rails_root/config/initializers/inflections.rb +7 -2
  30. data/test/rails_root/config/initializers/secret_token.rb +7 -0
  31. data/test/rails_root/config/initializers/session_store.rb +8 -0
  32. data/test/rails_root/config/initializers/wrap_parameters.rb +14 -0
  33. data/test/rails_root/config/locales/en.yml +5 -0
  34. data/test/rails_root/config/routes.rb +38 -23
  35. data/test/rails_root/db/schema.rb +45 -0
  36. data/test/rails_root/lib/assets/.gitkeep +0 -0
  37. data/test/rails_root/public/404.html +15 -19
  38. data/test/rails_root/public/422.html +15 -19
  39. data/test/rails_root/public/500.html +15 -20
  40. data/test/rails_root/script/rails +6 -0
  41. data/test/test_helper.rb +4 -4
  42. data/test/unit/minimum_image_size_test.rb +3 -3
  43. data/test/unit/require_image_option_test.rb +1 -1
  44. data/tvdeyen-fleximage.gemspec +9 -163
  45. metadata +67 -62
  46. data/test/rails_root/app/controllers/application.rb +0 -10
  47. data/test/rails_root/app/models/photo_s3.rb +0 -5
  48. data/test/rails_root/db/migrate/005_create_photo_s3s.rb +0 -12
  49. data/test/s3_stubs.rb +0 -7
@@ -1,178 +1,24 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
1
  # -*- encoding: utf-8 -*-
5
2
 
6
3
  Gem::Specification.new do |s|
7
4
  s.name = "tvdeyen-fleximage"
8
- s.version = "1.0.9"
5
+ s.version = "1.1.1"
9
6
 
10
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Ahmed Adam", "Alex Wayne", "Andrew White", "Carsten Fregin", "Duccio", "Fernando Kosh", "Heiner Wohner", "JJ Buckley", "Jason Lee", "Joshua Abbott", "Koji Ando", "Kouhei Sutou", "Lasse Jansen", "Lo\u{ef}c Guitaut", "Martin Vielsmaier", "Squeegy", "Thomas von Deyen", "Vannoy", "Wolfgang Klinger", "Wolfgang K\u{f6}lbl", "josei", "masche842", "ralph"]
12
- s.date = "2011-11-07"
8
+ s.authors = ["Ahmed Adam", "Alex Wayne", "Andrew White", "Carsten Fregin", "Duccio", "Fernando Kosh", "Heiner Wohner", "JJ Buckley", "Jason Lee", "Joshua Abbott", "Koji Ando", "Kouhei Sutou", "Lasse Jansen", "Lo\u{ef}c Guitaut", "Markus Schwed", "Martin Vielsmaier", "Squeegy", "Thomas von Deyen", "Vannoy", "Wolfgang Klinger", "Wolfgang K\u{f6}lbl", "josei", "masche842", "ralph"]
9
+ s.date = "2012-02-15"
13
10
  s.description = "Fleximage is a Rails plugin that tries to make image uploading and rendering\nsuper easy.\n"
14
11
  s.email = "tvdeyen@gmail.com"
15
12
  s.extra_rdoc_files = [
16
13
  "README.rdoc"
17
14
  ]
18
- s.files = [
19
- "CHANGELOG.rdoc",
20
- "MIT-LICENSE",
21
- "README.rdoc",
22
- "Rakefile",
23
- "VERSION",
24
- "autotest.rb",
25
- "init.rb",
26
- "lib/dsl_accessor.rb",
27
- "lib/fleximage.rb",
28
- "lib/fleximage/aviary_controller.rb",
29
- "lib/fleximage/blank.rb",
30
- "lib/fleximage/helper.rb",
31
- "lib/fleximage/image_proxy.rb",
32
- "lib/fleximage/legacy_view.rb",
33
- "lib/fleximage/model.rb",
34
- "lib/fleximage/operator/background.rb",
35
- "lib/fleximage/operator/base.rb",
36
- "lib/fleximage/operator/border.rb",
37
- "lib/fleximage/operator/crop.rb",
38
- "lib/fleximage/operator/image_overlay.rb",
39
- "lib/fleximage/operator/resize.rb",
40
- "lib/fleximage/operator/shadow.rb",
41
- "lib/fleximage/operator/text.rb",
42
- "lib/fleximage/operator/trim.rb",
43
- "lib/fleximage/operator/unsharp_mask.rb",
44
- "lib/fleximage/rails3_view.rb",
45
- "lib/fleximage/rmagick_image_patch.rb",
46
- "lib/fleximage/view.rb",
47
- "lib/tasks/fleximage_tasks.rake",
48
- "test/fixtures/100x1.jpg",
49
- "test/fixtures/100x100.jpg",
50
- "test/fixtures/1x1.jpg",
51
- "test/fixtures/1x100.jpg",
52
- "test/fixtures/cmyk.jpg",
53
- "test/fixtures/not_a_photo.xml",
54
- "test/fixtures/photo.jpg",
55
- "test/mock_file.rb",
56
- "test/rails_root/app/controllers/application.rb",
57
- "test/rails_root/app/controllers/avatars_controller.rb",
58
- "test/rails_root/app/controllers/photo_bares_controller.rb",
59
- "test/rails_root/app/controllers/photo_dbs_controller.rb",
60
- "test/rails_root/app/controllers/photo_files_controller.rb",
61
- "test/rails_root/app/helpers/application_helper.rb",
62
- "test/rails_root/app/helpers/avatars_helper.rb",
63
- "test/rails_root/app/helpers/photo_bares_helper.rb",
64
- "test/rails_root/app/helpers/photo_dbs_helper.rb",
65
- "test/rails_root/app/helpers/photo_files_helper.rb",
66
- "test/rails_root/app/locales/de.yml",
67
- "test/rails_root/app/locales/en.yml",
68
- "test/rails_root/app/models/abstract.rb",
69
- "test/rails_root/app/models/avatar.rb",
70
- "test/rails_root/app/models/photo_bare.rb",
71
- "test/rails_root/app/models/photo_custom_error.rb",
72
- "test/rails_root/app/models/photo_db.rb",
73
- "test/rails_root/app/models/photo_file.rb",
74
- "test/rails_root/app/models/photo_s3.rb",
75
- "test/rails_root/app/views/avatars/edit.html.erb",
76
- "test/rails_root/app/views/avatars/index.html.erb",
77
- "test/rails_root/app/views/avatars/new.html.erb",
78
- "test/rails_root/app/views/avatars/show.html.erb",
79
- "test/rails_root/app/views/layouts/avatars.html.erb",
80
- "test/rails_root/app/views/layouts/photo_bares.html.erb",
81
- "test/rails_root/app/views/layouts/photo_dbs.html.erb",
82
- "test/rails_root/app/views/layouts/photo_files.html.erb",
83
- "test/rails_root/app/views/photo_bares/edit.html.erb",
84
- "test/rails_root/app/views/photo_bares/index.html.erb",
85
- "test/rails_root/app/views/photo_bares/new.html.erb",
86
- "test/rails_root/app/views/photo_bares/show.html.erb",
87
- "test/rails_root/app/views/photo_dbs/edit.html.erb",
88
- "test/rails_root/app/views/photo_dbs/index.html.erb",
89
- "test/rails_root/app/views/photo_dbs/new.html.erb",
90
- "test/rails_root/app/views/photo_dbs/show.html.erb",
91
- "test/rails_root/app/views/photo_files/edit.html.erb",
92
- "test/rails_root/app/views/photo_files/index.html.erb",
93
- "test/rails_root/app/views/photo_files/new.html.erb",
94
- "test/rails_root/app/views/photo_files/show.html.erb",
95
- "test/rails_root/config/boot.rb",
96
- "test/rails_root/config/database.yml",
97
- "test/rails_root/config/environment.rb",
98
- "test/rails_root/config/environments/development.rb",
99
- "test/rails_root/config/environments/production.rb",
100
- "test/rails_root/config/environments/sqlite3.rb",
101
- "test/rails_root/config/environments/test.rb",
102
- "test/rails_root/config/initializers/inflections.rb",
103
- "test/rails_root/config/initializers/load_translations.rb",
104
- "test/rails_root/config/initializers/mime_types.rb",
105
- "test/rails_root/config/routes.rb",
106
- "test/rails_root/db/migrate/001_create_photo_files.rb",
107
- "test/rails_root/db/migrate/002_create_photo_dbs.rb",
108
- "test/rails_root/db/migrate/003_create_photo_bares.rb",
109
- "test/rails_root/db/migrate/004_create_avatars.rb",
110
- "test/rails_root/db/migrate/005_create_photo_s3s.rb",
111
- "test/rails_root/public/.htaccess",
112
- "test/rails_root/public/404.html",
113
- "test/rails_root/public/422.html",
114
- "test/rails_root/public/500.html",
115
- "test/rails_root/public/dispatch.cgi",
116
- "test/rails_root/public/dispatch.fcgi",
117
- "test/rails_root/public/dispatch.rb",
118
- "test/rails_root/public/favicon.ico",
119
- "test/rails_root/public/images/rails.png",
120
- "test/rails_root/public/index.html",
121
- "test/rails_root/public/javascripts/application.js",
122
- "test/rails_root/public/javascripts/controls.js",
123
- "test/rails_root/public/javascripts/dragdrop.js",
124
- "test/rails_root/public/javascripts/effects.js",
125
- "test/rails_root/public/javascripts/prototype.js",
126
- "test/rails_root/public/robots.txt",
127
- "test/rails_root/public/stylesheets/scaffold.css",
128
- "test/rails_root/vendor/plugins/fleximage/init.rb",
129
- "test/s3_stubs.rb",
130
- "test/test_helper.rb",
131
- "test/unit/abstract_test.rb",
132
- "test/unit/basic_model_test.rb",
133
- "test/unit/blank_test.rb",
134
- "test/unit/default_image_path_option_test.rb",
135
- "test/unit/dsl_accessor_test.rb",
136
- "test/unit/file_upload_from_local_test.rb",
137
- "test/unit/file_upload_from_strings_test.rb",
138
- "test/unit/file_upload_from_url_test.rb",
139
- "test/unit/file_upload_to_db_test.rb",
140
- "test/unit/has_store_test.rb",
141
- "test/unit/i18n_messages_test.rb",
142
- "test/unit/image_directory_option_test.rb",
143
- "test/unit/image_proxy_test.rb",
144
- "test/unit/image_storage_format_option_test.rb",
145
- "test/unit/magic_columns_test.rb",
146
- "test/unit/minimum_image_size_test.rb",
147
- "test/unit/operator_base_test.rb",
148
- "test/unit/operator_resize_test.rb",
149
- "test/unit/preprocess_image_option_test.rb",
150
- "test/unit/require_image_option_test.rb",
151
- "test/unit/temp_image_test.rb",
152
- "test/unit/use_creation_date_based_directories_option_test.rb",
153
- "tvdeyen-fleximage.gemspec"
154
- ]
155
- s.homepage = "http://github.com/tvdeyen/fleximage"
15
+ s.files = `git ls-files`.split("\n")
16
+ s.test_files = `git ls-files -- {test}/*`.split("\n")
156
17
  s.require_paths = ["lib"]
157
- s.rubygems_version = "1.8.11"
18
+ s.homepage = "http://github.com/tvdeyen/fleximage"
19
+ s.rubygems_version = "1.8.10"
158
20
  s.summary = "Rails plugin for uploading images as resources, with support for resizing, text stamping, and other special effects."
159
21
 
160
- if s.respond_to? :specification_version then
161
- s.specification_version = 3
162
-
163
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
164
- s.add_runtime_dependency(%q<rmagick>, [">= 0"])
165
- s.add_runtime_dependency(%q<aws-s3>, [">= 0"])
166
- s.add_development_dependency(%q<rails>, [">= 3.0.0"])
167
- else
168
- s.add_dependency(%q<rmagick>, [">= 0"])
169
- s.add_dependency(%q<aws-s3>, [">= 0"])
170
- s.add_dependency(%q<rails>, [">= 3.0.0"])
171
- end
172
- else
173
- s.add_dependency(%q<rmagick>, [">= 0"])
174
- s.add_dependency(%q<aws-s3>, [">= 0"])
175
- s.add_dependency(%q<rails>, [">= 3.0.0"])
176
- end
22
+ s.add_runtime_dependency(%q<rmagick>, [">= 0"])
23
+ s.add_development_dependency(%q<rails>, ["~> 3.2.1"])
177
24
  end
178
-
metadata CHANGED
@@ -1,10 +1,10 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: tvdeyen-fleximage
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.1.1
4
5
  prerelease:
5
- version: 1.0.9
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Ahmed Adam
9
9
  - Alex Wayne
10
10
  - Andrew White
@@ -18,68 +18,59 @@ authors:
18
18
  - Koji Ando
19
19
  - Kouhei Sutou
20
20
  - Lasse Jansen
21
- - "Lo\xC3\xAFc Guitaut"
21
+ - Loïc Guitaut
22
+ - Markus Schwed
22
23
  - Martin Vielsmaier
23
24
  - Squeegy
24
25
  - Thomas von Deyen
25
26
  - Vannoy
26
27
  - Wolfgang Klinger
27
- - "Wolfgang K\xC3\xB6lbl"
28
+ - Wolfgang Kölbl
28
29
  - josei
29
30
  - masche842
30
31
  - ralph
31
32
  autorequire:
32
33
  bindir: bin
33
34
  cert_chain: []
34
-
35
- date: 2011-11-07 00:00:00 Z
36
- dependencies:
37
- - !ruby/object:Gem::Dependency
35
+ date: 2012-02-15 00:00:00.000000000 Z
36
+ dependencies:
37
+ - !ruby/object:Gem::Dependency
38
38
  name: rmagick
39
- prerelease: false
40
- requirement: &id001 !ruby/object:Gem::Requirement
39
+ requirement: &70293806355060 !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
- version_requirements: *id001
48
- - !ruby/object:Gem::Dependency
49
- name: aws-s3
50
46
  prerelease: false
51
- requirement: &id002 !ruby/object:Gem::Requirement
52
- none: false
53
- requirements:
54
- - - ">="
55
- - !ruby/object:Gem::Version
56
- version: "0"
57
- type: :runtime
58
- version_requirements: *id002
59
- - !ruby/object:Gem::Dependency
47
+ version_requirements: *70293806355060
48
+ - !ruby/object:Gem::Dependency
60
49
  name: rails
61
- prerelease: false
62
- requirement: &id003 !ruby/object:Gem::Requirement
50
+ requirement: &70293806354560 !ruby/object:Gem::Requirement
63
51
  none: false
64
- requirements:
65
- - - ">="
66
- - !ruby/object:Gem::Version
67
- version: 3.0.0
52
+ requirements:
53
+ - - ~>
54
+ - !ruby/object:Gem::Version
55
+ version: 3.2.1
68
56
  type: :development
69
- version_requirements: *id003
70
- description: |
71
- Fleximage is a Rails plugin that tries to make image uploading and rendering
57
+ prerelease: false
58
+ version_requirements: *70293806354560
59
+ description: ! 'Fleximage is a Rails plugin that tries to make image uploading and
60
+ rendering
61
+
72
62
  super easy.
73
63
 
64
+ '
74
65
  email: tvdeyen@gmail.com
75
66
  executables: []
76
-
77
67
  extensions: []
78
-
79
- extra_rdoc_files:
68
+ extra_rdoc_files:
80
69
  - README.rdoc
81
- files:
70
+ files:
71
+ - .gitignore
82
72
  - CHANGELOG.rdoc
73
+ - Gemfile
83
74
  - MIT-LICENSE
84
75
  - README.rdoc
85
76
  - Rakefile
@@ -116,7 +107,11 @@ files:
116
107
  - test/fixtures/not_a_photo.xml
117
108
  - test/fixtures/photo.jpg
118
109
  - test/mock_file.rb
119
- - test/rails_root/app/controllers/application.rb
110
+ - test/rails_root/README.rdoc
111
+ - test/rails_root/Rakefile
112
+ - test/rails_root/app/assets/javascripts/application.js
113
+ - test/rails_root/app/assets/stylesheets/application.css
114
+ - test/rails_root/app/controllers/application_controller.rb
120
115
  - test/rails_root/app/controllers/avatars_controller.rb
121
116
  - test/rails_root/app/controllers/photo_bares_controller.rb
122
117
  - test/rails_root/app/controllers/photo_dbs_controller.rb
@@ -128,17 +123,19 @@ files:
128
123
  - test/rails_root/app/helpers/photo_files_helper.rb
129
124
  - test/rails_root/app/locales/de.yml
130
125
  - test/rails_root/app/locales/en.yml
126
+ - test/rails_root/app/mailers/.gitkeep
127
+ - test/rails_root/app/models/.gitkeep
131
128
  - test/rails_root/app/models/abstract.rb
132
129
  - test/rails_root/app/models/avatar.rb
133
130
  - test/rails_root/app/models/photo_bare.rb
134
131
  - test/rails_root/app/models/photo_custom_error.rb
135
132
  - test/rails_root/app/models/photo_db.rb
136
133
  - test/rails_root/app/models/photo_file.rb
137
- - test/rails_root/app/models/photo_s3.rb
138
134
  - test/rails_root/app/views/avatars/edit.html.erb
139
135
  - test/rails_root/app/views/avatars/index.html.erb
140
136
  - test/rails_root/app/views/avatars/new.html.erb
141
137
  - test/rails_root/app/views/avatars/show.html.erb
138
+ - test/rails_root/app/views/layouts/application.html.erb
142
139
  - test/rails_root/app/views/layouts/avatars.html.erb
143
140
  - test/rails_root/app/views/layouts/photo_bares.html.erb
144
141
  - test/rails_root/app/views/layouts/photo_dbs.html.erb
@@ -155,6 +152,8 @@ files:
155
152
  - test/rails_root/app/views/photo_files/index.html.erb
156
153
  - test/rails_root/app/views/photo_files/new.html.erb
157
154
  - test/rails_root/app/views/photo_files/show.html.erb
155
+ - test/rails_root/config.ru
156
+ - test/rails_root/config/application.rb
158
157
  - test/rails_root/config/boot.rb
159
158
  - test/rails_root/config/database.yml
160
159
  - test/rails_root/config/environment.rb
@@ -162,15 +161,21 @@ files:
162
161
  - test/rails_root/config/environments/production.rb
163
162
  - test/rails_root/config/environments/sqlite3.rb
164
163
  - test/rails_root/config/environments/test.rb
164
+ - test/rails_root/config/initializers/backtrace_silencers.rb
165
165
  - test/rails_root/config/initializers/inflections.rb
166
166
  - test/rails_root/config/initializers/load_translations.rb
167
167
  - test/rails_root/config/initializers/mime_types.rb
168
+ - test/rails_root/config/initializers/secret_token.rb
169
+ - test/rails_root/config/initializers/session_store.rb
170
+ - test/rails_root/config/initializers/wrap_parameters.rb
171
+ - test/rails_root/config/locales/en.yml
168
172
  - test/rails_root/config/routes.rb
169
173
  - test/rails_root/db/migrate/001_create_photo_files.rb
170
174
  - test/rails_root/db/migrate/002_create_photo_dbs.rb
171
175
  - test/rails_root/db/migrate/003_create_photo_bares.rb
172
176
  - test/rails_root/db/migrate/004_create_avatars.rb
173
- - test/rails_root/db/migrate/005_create_photo_s3s.rb
177
+ - test/rails_root/db/schema.rb
178
+ - test/rails_root/lib/assets/.gitkeep
174
179
  - test/rails_root/public/.htaccess
175
180
  - test/rails_root/public/404.html
176
181
  - test/rails_root/public/422.html
@@ -188,8 +193,8 @@ files:
188
193
  - test/rails_root/public/javascripts/prototype.js
189
194
  - test/rails_root/public/robots.txt
190
195
  - test/rails_root/public/stylesheets/scaffold.css
196
+ - test/rails_root/script/rails
191
197
  - test/rails_root/vendor/plugins/fleximage/init.rb
192
- - test/s3_stubs.rb
193
198
  - test/test_helper.rb
194
199
  - test/unit/abstract_test.rb
195
200
  - test/unit/basic_model_test.rb
@@ -216,30 +221,30 @@ files:
216
221
  - tvdeyen-fleximage.gemspec
217
222
  homepage: http://github.com/tvdeyen/fleximage
218
223
  licenses: []
219
-
220
224
  post_install_message:
221
225
  rdoc_options: []
222
-
223
- require_paths:
226
+ require_paths:
224
227
  - lib
225
- required_ruby_version: !ruby/object:Gem::Requirement
228
+ required_ruby_version: !ruby/object:Gem::Requirement
226
229
  none: false
227
- requirements:
228
- - - ">="
229
- - !ruby/object:Gem::Version
230
- version: "0"
231
- required_rubygems_version: !ruby/object:Gem::Requirement
230
+ requirements:
231
+ - - ! '>='
232
+ - !ruby/object:Gem::Version
233
+ version: '0'
234
+ segments:
235
+ - 0
236
+ hash: 3475540245412168316
237
+ required_rubygems_version: !ruby/object:Gem::Requirement
232
238
  none: false
233
- requirements:
234
- - - ">="
235
- - !ruby/object:Gem::Version
236
- version: "0"
239
+ requirements:
240
+ - - ! '>='
241
+ - !ruby/object:Gem::Version
242
+ version: '0'
237
243
  requirements: []
238
-
239
244
  rubyforge_project:
240
- rubygems_version: 1.8.11
245
+ rubygems_version: 1.8.16
241
246
  signing_key:
242
247
  specification_version: 3
243
- summary: Rails plugin for uploading images as resources, with support for resizing, text stamping, and other special effects.
248
+ summary: Rails plugin for uploading images as resources, with support for resizing,
249
+ text stamping, and other special effects.
244
250
  test_files: []
245
-
@@ -1,10 +0,0 @@
1
- # Filters added to this controller apply to all controllers in the application.
2
- # Likewise, all the methods added will be available for all controllers.
3
-
4
- class ApplicationController < ActionController::Base
5
- helper :all # include all helpers, all the time
6
-
7
- # See ActionController::RequestForgeryProtection for details
8
- # Uncomment the :secret if you're not using the cookie session store
9
- protect_from_forgery # :secret => 'da69588ceb6298fcc3dd908cd8ca94f7'
10
- end
@@ -1,5 +0,0 @@
1
- class PhotoS3 < ActiveRecord::Base
2
- acts_as_fleximage do
3
- s3_bucket 'test-bucket'
4
- end
5
- end
@@ -1,12 +0,0 @@
1
- class CreatePhotoS3s < ActiveRecord::Migration
2
- def self.up
3
- create_table :photo_s3s do |t|
4
-
5
- t.timestamps
6
- end
7
- end
8
-
9
- def self.down
10
- drop_table :photo_s3s
11
- end
12
- end