fix references to S3Backend module [Hunter Hillegas]
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2730 567b1171-46fb-0310-a4c9-b4bef9110e78
This commit is contained in:
Родитель
4ce10cd896
Коммит
34046b678b
|
@ -157,20 +157,20 @@ module Technoweenie # :nodoc:
|
|||
end
|
||||
|
||||
def self.port_string
|
||||
@port_string ||= options[:port] == (options[:use_ssl] ? 443 : 80) ? '' : ":#{options[:port]}"
|
||||
@port_string ||= s3_config[:port] == (s3_config[:use_ssl] ? 443 : 80) ? '' : ":#{s3_config[:port]}"
|
||||
end
|
||||
|
||||
module ClassMethods
|
||||
def s3_protocol
|
||||
Technoweenie::AttachmentFu::Backends::S3.protocol
|
||||
Technoweenie::AttachmentFu::Backends::S3Backend.protocol
|
||||
end
|
||||
|
||||
def s3_hostname
|
||||
Technoweenie::AttachmentFu::Backends::S3.hostname
|
||||
Technoweenie::AttachmentFu::Backends::S3Backend.hostname
|
||||
end
|
||||
|
||||
def s3_port_string
|
||||
Technoweenie::AttachmentFu::Backends::S3.port_string
|
||||
Technoweenie::AttachmentFu::Backends::S3Backend.port_string
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -251,15 +251,15 @@ module Technoweenie # :nodoc:
|
|||
end
|
||||
|
||||
def s3_protocol
|
||||
Technoweenie::AttachmentFu::Backends::S3.protocol
|
||||
Technoweenie::AttachmentFu::Backends::S3Backend.protocol
|
||||
end
|
||||
|
||||
def s3_hostname
|
||||
Technoweenie::AttachmentFu::Backends::S3.hostname
|
||||
Technoweenie::AttachmentFu::Backends::S3Backend.hostname
|
||||
end
|
||||
|
||||
def s3_port_string
|
||||
Technoweenie::AttachmentFu::Backends::S3.port_string
|
||||
Technoweenie::AttachmentFu::Backends::S3Backend.port_string
|
||||
end
|
||||
|
||||
protected
|
||||
|
|
Загрузка…
Ссылка в новой задаче