paperclip-s3 1.0.0pre2 → 1.0.0pre3

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.
data/lib/paperclip-s3.rb CHANGED
@@ -1,8 +1,9 @@
1
+ require 'paperclip'
1
2
  require "paperclip-s3/version"
2
3
 
3
- module Paperclip
4
- module S3
5
- module Zinergia
4
+ module Zinergia
5
+ module Paperclip
6
+ module S3
6
7
  # Extends the paperclips has_attached_file method
7
8
  # It will use S3 Storage. The credentials will be read from the environment
8
9
  def has_attached_file(name, options = {})
@@ -21,4 +22,4 @@ module Paperclip
21
22
  end
22
23
  end
23
24
 
24
- ActiveRecord::Base.send :extend, Paperclip::S3::Zinergia if Rails.env.production?
25
+ ActiveRecord::Base.send(:extend, Zinergia::Paperclip::S3) if Rails.env.production?
@@ -1,5 +1,5 @@
1
1
  module Paperclip
2
2
  module S3
3
- VERSION = "1.0.0pre2"
3
+ VERSION = "1.0.0pre3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: paperclip-s3
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease: 5
5
- version: 1.0.0pre2
5
+ version: 1.0.0pre3
6
6
  platform: ruby
7
7
  authors:
8
8
  - "Nicol\xC3\xA1s Hock Isaza"
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-06-09 00:00:00 -05:00
13
+ date: 2011-06-10 00:00:00 -05:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency