vos 0.1.4 → 0.2
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/ssh_vfs_storage.rb +1 -1
- data/lib/vos/support.rb +8 -1
- data/readme.md +1 -0
- data/spec/box_spec.rb +1 -1
- data/spec/drivers/local_spec.rb +1 -1
- metadata +42 -50
data/Rakefile
CHANGED
data/lib/vos/support.rb
CHANGED
@@ -3,6 +3,13 @@ require 'net/ssh'
|
|
3
3
|
require 'net/sftp'
|
4
4
|
|
5
5
|
require 'vfs'
|
6
|
+
Vfs.class_eval do
|
7
|
+
class << self
|
8
|
+
def default_storage
|
9
|
+
::Vos::Box.local
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
6
13
|
|
7
14
|
# class File
|
8
15
|
# class << self
|
@@ -11,7 +18,7 @@ require 'vfs'
|
|
11
18
|
# clean = options.delete :clean
|
12
19
|
# raise "unsupported options #{options.keys}!" unless options.empty?
|
13
20
|
#
|
14
|
-
# FileUtils.rm_r directory, :
|
21
|
+
# FileUtils.rm_r directory, force: true if clean and File.exist?(directory)
|
15
22
|
# FileUtils.mkdir_p directory
|
16
23
|
# end
|
17
24
|
#
|
data/readme.md
CHANGED
data/spec/box_spec.rb
CHANGED
data/spec/drivers/local_spec.rb
CHANGED
metadata
CHANGED
@@ -1,60 +1,56 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: vos
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: '0.2'
|
4
5
|
prerelease:
|
5
|
-
version: 0.1.4
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Alexey Petrushin
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
date: 2011-02-16 00:00:00 +03:00
|
12
|
+
date: 2011-04-11 00:00:00.000000000 +04:00
|
14
13
|
default_executable:
|
15
|
-
dependencies:
|
16
|
-
- !ruby/object:Gem::Dependency
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
17
16
|
name: net-ssh
|
18
|
-
|
19
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
17
|
+
requirement: &3051820 !ruby/object:Gem::Requirement
|
20
18
|
none: false
|
21
|
-
requirements:
|
22
|
-
- -
|
23
|
-
- !ruby/object:Gem::Version
|
24
|
-
version:
|
19
|
+
requirements:
|
20
|
+
- - ! '>='
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '0'
|
25
23
|
type: :runtime
|
26
|
-
version_requirements: *id001
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: net-sftp
|
29
24
|
prerelease: false
|
30
|
-
|
25
|
+
version_requirements: *3051820
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: net-sftp
|
28
|
+
requirement: &3051610 !ruby/object:Gem::Requirement
|
31
29
|
none: false
|
32
|
-
requirements:
|
33
|
-
- -
|
34
|
-
- !ruby/object:Gem::Version
|
35
|
-
version:
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
36
34
|
type: :runtime
|
37
|
-
version_requirements: *id002
|
38
|
-
- !ruby/object:Gem::Dependency
|
39
|
-
name: vfs
|
40
35
|
prerelease: false
|
41
|
-
|
36
|
+
version_requirements: *3051610
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: vfs
|
39
|
+
requirement: &3067790 !ruby/object:Gem::Requirement
|
42
40
|
none: false
|
43
|
-
requirements:
|
44
|
-
- -
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version:
|
41
|
+
requirements:
|
42
|
+
- - ! '>='
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '0'
|
47
45
|
type: :runtime
|
48
|
-
|
46
|
+
prerelease: false
|
47
|
+
version_requirements: *3067790
|
49
48
|
description:
|
50
49
|
email:
|
51
50
|
executables: []
|
52
|
-
|
53
51
|
extensions: []
|
54
|
-
|
55
52
|
extra_rdoc_files: []
|
56
|
-
|
57
|
-
files:
|
53
|
+
files:
|
58
54
|
- Rakefile
|
59
55
|
- readme.md
|
60
56
|
- lib/old/ssh.rb
|
@@ -81,30 +77,26 @@ files:
|
|
81
77
|
has_rdoc: true
|
82
78
|
homepage: http://github.com/alexeypetrushin/vos
|
83
79
|
licenses: []
|
84
|
-
|
85
80
|
post_install_message:
|
86
81
|
rdoc_options: []
|
87
|
-
|
88
|
-
require_paths:
|
82
|
+
require_paths:
|
89
83
|
- lib
|
90
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
84
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
91
85
|
none: false
|
92
|
-
requirements:
|
93
|
-
- -
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
version:
|
96
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ! '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
97
91
|
none: false
|
98
|
-
requirements:
|
99
|
-
- -
|
100
|
-
- !ruby/object:Gem::Version
|
101
|
-
version:
|
92
|
+
requirements:
|
93
|
+
- - ! '>='
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0'
|
102
96
|
requirements: []
|
103
|
-
|
104
97
|
rubyforge_project:
|
105
98
|
rubygems_version: 1.5.1
|
106
99
|
signing_key:
|
107
100
|
specification_version: 3
|
108
101
|
summary: Virtual Operating System
|
109
102
|
test_files: []
|
110
|
-
|