miloops-attachment_fu 3.2.5 → 3.2.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,15 +9,5 @@ class Engine < Rails::Engine
9
9
  ActiveRecord::Base.send(:extend, Technoweenie::AttachmentFu::ActMethods)
10
10
  Technoweenie::AttachmentFu.tempfile_path = ATTACHMENT_FU_TEMPFILE_PATH if Object.const_defined?(:ATTACHMENT_FU_TEMPFILE_PATH)
11
11
  FileUtils.mkdir_p Technoweenie::AttachmentFu.tempfile_path
12
-
13
- # overwrite so tempfiles use the extension of the basename.
14
- # important for rmagick and image science
15
- Tempfile.class_eval do
16
- def make_tmpname(basename, n)
17
- ext = nil
18
- sprintf("%s%d-%d%s", basename.to_s.gsub(/\.\w+$/) { |s| ext = s; '' }, $$, n.to_i, ext)
19
- end
20
- end
21
-
22
12
  end
23
13
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: miloops-attachment_fu
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.5
4
+ version: 3.2.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -15,7 +15,7 @@ date: 2012-10-26 00:00:00.000000000 Z
15
15
  dependencies: []
16
16
  description: This is a fork of Rick Olson’s attachment_fu adding Ruby 1.9 and Rails
17
17
  3.2 support as well as some other enhancements.
18
- email: steven@pothoven.net
18
+ email: miloops@gmail.com
19
19
  executables: []
20
20
  extensions: []
21
21
  extra_rdoc_files:
@@ -29,7 +29,7 @@ files:
29
29
  - amazon_s3.yml.tpl
30
30
  - rackspace_cloudfiles.yml.tpl
31
31
  - lib/geometry.rb
32
- - lib/pothoven-attachment_fu.rb
32
+ - lib/miloops-attachment_fu.rb
33
33
  - lib/technoweenie/attachment_fu/backends/cloud_file_backend.rb
34
34
  - lib/technoweenie/attachment_fu/backends/db_file_backend.rb
35
35
  - lib/technoweenie/attachment_fu/backends/file_system_backend.rb
@@ -69,7 +69,7 @@ files:
69
69
  - vendor/red_artisan/core_image/filters/quality.rb
70
70
  - vendor/red_artisan/core_image/filters/scale.rb
71
71
  - vendor/red_artisan/core_image/filters/watermark.rb
72
- homepage: http://github.com/pothoven/attachment_fu
72
+ homepage: http://github.com/miloops/attachment_fu
73
73
  licenses: []
74
74
  post_install_message:
75
75
  rdoc_options: