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:
technoweenie 2007-02-02 20:49:01 +00:00
Родитель 4ce10cd896
Коммит 34046b678b
1 изменённых файлов: 7 добавлений и 7 удалений

Просмотреть файл

@ -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