public
Description: Treat an ActiveRecord model as a file attachment, storing its patch, size, content type, etc.
Homepage: http://weblog.techno-weenie.net
Clone URL: git://github.com/technoweenie/attachment_fu.git
Search Repo:
Click here to lend your support to: attachment_fu and make a donation at www.pledgie.com !
70 afu tests running just fine on JRuby w/ image_voodoo: allow
s3 tests to disable properly. Also remove 'breakpoint' reference
in test_helper
nicksieger (author)
Tue Mar 04 20:12:28 -0800 2008
commit  aeb9ecf0964e231cfd2fee34f284a7a092430edf
tree    145537083c3944131091ebadf1d58ea95a4379ec
parent  0962d416ab5a9474c4948883f0a0e861a5201907
...
 
1
...
1
2
0
@@ -1,2 +1,3 @@
0
+test/amazon_s3.yml
0
 test/debug.log
...
1
2
3
4
5
6
...
 
 
 
 
 
 
0
@@ -1,7 +1 @@
0
-test:
0
- bucket_name: afu
0
- access_key_id: YOURACCESSKEY
0
- secret_access_key: YOURSECRETACCESSKEY
0
- server: 127.0.0.1
0
- port: 3002
...
122
123
124
125
 
126
127
...
122
123
124
 
125
126
127
0
@@ -122,7 +122,7 @@
0
     has_attachment :storage => :s3, :path_prefix => 'some/custom/path/prefix', :processor => :rmagick
0
     validates_as_attachment
0
   end
0
-rescue Technoweenie::AttachmentFu::Backends::S3Backend::ConfigFileNotFoundError
0
+rescue
0
   puts "S3 error: #{$!}"
0
 end
...
5
6
7
8
9
10
11
...
5
6
7
 
8
9
10
0
@@ -5,7 +5,6 @@
0
 
0
 require 'test/unit'
0
 require File.expand_path(File.join(ENV['RAILS_ROOT'], 'config/environment.rb'))
0
-require 'breakpoint'
0
 require 'active_record/fixtures'
0
 require 'action_controller/test_process'
0
 

Comments

    No one has commented yet.