vos 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/vos/drivers/s3.rb +1 -1
- data/lib/vos/drivers/s3_vfs_storage.rb +4 -5
- data/lib/vos/drivers/ssh.rb +3 -0
- metadata +4 -4
data/Rakefile
CHANGED
data/lib/vos/drivers/s3.rb
CHANGED
@@ -30,11 +30,9 @@ module Vos
|
|
30
30
|
attrs[:size] = file.content_length
|
31
31
|
attrs[:updated_at] = file.last_modified
|
32
32
|
attrs
|
33
|
-
# There's no dirs, always returning false
|
34
|
-
# elsif dir_exists? path
|
35
|
-
# attrs[:dir] = true
|
36
33
|
else
|
37
|
-
return nil
|
34
|
+
# There's no dirs in S3, so we always return nil
|
35
|
+
nil
|
38
36
|
end
|
39
37
|
end
|
40
38
|
|
@@ -79,7 +77,8 @@ module Vos
|
|
79
77
|
# Dir
|
80
78
|
#
|
81
79
|
def create_dir path
|
82
|
-
|
80
|
+
# there's no concept of dir in s
|
81
|
+
# raise Error, ":create_dir not supported!"
|
83
82
|
end
|
84
83
|
|
85
84
|
def delete_dir path
|
data/lib/vos/drivers/ssh.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-09-
|
12
|
+
date: 2011-09-09 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: vfs
|
16
|
-
requirement: &
|
16
|
+
requirement: &2832590 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2832590
|
25
25
|
description:
|
26
26
|
email:
|
27
27
|
executables: []
|