s3fsr 1.8 → 1.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/aws-matt/s3/object.rb +2 -2
- metadata +4 -4
data/lib/aws-matt/s3/object.rb
CHANGED
@@ -447,12 +447,12 @@ module AWS
|
|
447
447
|
# where you are not sure if the key has been set, you can use the key_set? method. Objects must have a key
|
448
448
|
# set to be saved onto S3. Objects which have already been saved onto S3 will always have their key set.
|
449
449
|
def key
|
450
|
-
attributes['key'] or raise NoKeySpecified
|
450
|
+
attributes['key'].to_s or raise NoKeySpecified
|
451
451
|
end
|
452
452
|
|
453
453
|
# Sets the key for the current object.
|
454
454
|
def key=(value)
|
455
|
-
attributes['key'] = value
|
455
|
+
attributes['key'] = value.to_s
|
456
456
|
end
|
457
457
|
|
458
458
|
# Returns true if the current object has had its key set yet. Objects which have already been saved will
|
metadata
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: s3fsr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 29
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: "1.
|
8
|
+
- 9
|
9
|
+
version: "1.9"
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Stephen Haberman
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-
|
17
|
+
date: 2011-03-30 00:00:00 -05:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|