Permalink
Browse files

fix for time stamp signature issue

  • Loading branch information...
1 parent a9c6c7c commit 5c0591e721a4a121ddd409433faa76e1e9737786 @jfriedlaender jfriedlaender committed Oct 6, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 aws-s3.gemspec
  2. +1 −1 lib/aws/s3/authentication.rb
  3. +1 −1 lib/aws/s3/version.rb
View
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = "aws-s3"
- s.version = '0.6.4'
+ s.version = '0.6.5'
s.authors = ["Joel Friedlaender"]
s.email = ["joel@redguava.com.au"]
s.homepage = "https://github.com/redguava/aws-s3"
@@ -115,7 +115,7 @@ def initialize(*args)
# 3) The current time in seconds since the epoch plus the default number of seconds (60 seconds)
def expires
return options[:expires] if options[:expires]
- date.to_i + expires_in
+ @expires ||= date.to_i + expires_in
end
def expires_in
View
@@ -3,7 +3,7 @@ module S3
module VERSION #:nodoc:
MAJOR = '0'
MINOR = '6'
- TINY = '4'
+ TINY = '5'
BETA = nil # Time.now.to_i.to_s
end

0 comments on commit 5c0591e

Please sign in to comment.