vos 0.3.10 → 0.3.11
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/vos/drivers/ssh_vfs_storage.rb +16 -21
- data/readme.md +0 -14
- metadata +40 -50
@@ -96,29 +96,24 @@ module Vos
|
|
96
96
|
end
|
97
97
|
end
|
98
98
|
|
99
|
-
def efficient_dir_copy from, to, override
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
end
|
116
|
-
|
117
|
-
# def move_dir path
|
118
|
-
# raise 'not supported'
|
99
|
+
# def efficient_dir_copy from, to, override
|
100
|
+
# return false if override # sftp doesn't support this behaviour
|
101
|
+
#
|
102
|
+
# from.storage.open_fs do |from_fs|
|
103
|
+
# to.storage.open_fs do |to_fs|
|
104
|
+
# if from_fs.local?
|
105
|
+
# sftp.upload! from.path, fix_path(to.path)
|
106
|
+
# true
|
107
|
+
# elsif to_fs.local?
|
108
|
+
# sftp.download! fix_path(from.path), to.path, recursive: true
|
109
|
+
# true
|
110
|
+
# else
|
111
|
+
# false
|
112
|
+
# end
|
113
|
+
# end
|
114
|
+
# end
|
119
115
|
# end
|
120
116
|
|
121
|
-
|
122
117
|
#
|
123
118
|
# Special
|
124
119
|
#
|
data/readme.md
CHANGED
@@ -30,20 +30,6 @@ For more details look also to [Virtual File System][vfs] project.
|
|
30
30
|
Or checkout configuration I use to control my production servers [My Cluster][my_cluster] in conjunction with small
|
31
31
|
configuration tool [Cluster Management][cluster_management].
|
32
32
|
|
33
|
-
## TODO
|
34
|
-
|
35
|
-
### v 0.1 (all done)
|
36
|
-
|
37
|
-
- bash
|
38
|
-
- some handy shortcuts for ubuntu
|
39
|
-
- integration with Vos
|
40
|
-
|
41
|
-
### v 0.2
|
42
|
-
|
43
|
-
- add :host/:user/:port attributes to box
|
44
|
-
- process management (find/kill/filters/attributes)
|
45
|
-
- other os resources management (disk)
|
46
|
-
|
47
33
|
[vfs]: http://github.com/alexeypetrushin/vfs
|
48
34
|
[cluster_management]: http://github.com/alexeypetrushin/cluster_management
|
49
35
|
[my_cluster]: http://github.com/alexeypetrushin/my_cluster
|
metadata
CHANGED
@@ -1,60 +1,55 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: vos
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.3.11
|
5
5
|
prerelease:
|
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
|
-
|
14
|
-
|
15
|
-
dependencies:
|
16
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2011-08-10 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
17
15
|
name: net-ssh
|
18
|
-
requirement: &
|
16
|
+
requirement: &673270 !ruby/object:Gem::Requirement
|
19
17
|
none: false
|
20
|
-
requirements:
|
21
|
-
- -
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version:
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
24
22
|
type: :runtime
|
25
23
|
prerelease: false
|
26
|
-
version_requirements: *
|
27
|
-
- !ruby/object:Gem::Dependency
|
24
|
+
version_requirements: *673270
|
25
|
+
- !ruby/object:Gem::Dependency
|
28
26
|
name: net-sftp
|
29
|
-
requirement: &
|
27
|
+
requirement: &750800 !ruby/object:Gem::Requirement
|
30
28
|
none: false
|
31
|
-
requirements:
|
32
|
-
- -
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version:
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
35
33
|
type: :runtime
|
36
34
|
prerelease: false
|
37
|
-
version_requirements: *
|
38
|
-
- !ruby/object:Gem::Dependency
|
35
|
+
version_requirements: *750800
|
36
|
+
- !ruby/object:Gem::Dependency
|
39
37
|
name: vfs
|
40
|
-
requirement: &
|
38
|
+
requirement: &987290 !ruby/object:Gem::Requirement
|
41
39
|
none: false
|
42
|
-
requirements:
|
43
|
-
- -
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
version:
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
46
44
|
type: :runtime
|
47
45
|
prerelease: false
|
48
|
-
version_requirements: *
|
46
|
+
version_requirements: *987290
|
49
47
|
description:
|
50
48
|
email:
|
51
49
|
executables: []
|
52
|
-
|
53
50
|
extensions: []
|
54
|
-
|
55
51
|
extra_rdoc_files: []
|
56
|
-
|
57
|
-
files:
|
52
|
+
files:
|
58
53
|
- Rakefile
|
59
54
|
- readme.md
|
60
55
|
- lib/old/ssh.rb
|
@@ -78,33 +73,28 @@ files:
|
|
78
73
|
- spec/drivers/spec_helper.rb
|
79
74
|
- spec/drivers/ssh_spec.rb
|
80
75
|
- spec/spec_helper.rb
|
81
|
-
has_rdoc: true
|
82
76
|
homepage: http://github.com/alexeypetrushin/vos
|
83
77
|
licenses: []
|
84
|
-
|
85
78
|
post_install_message:
|
86
79
|
rdoc_options: []
|
87
|
-
|
88
|
-
require_paths:
|
80
|
+
require_paths:
|
89
81
|
- lib
|
90
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
82
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
91
83
|
none: false
|
92
|
-
requirements:
|
93
|
-
- -
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
version:
|
96
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
84
|
+
requirements:
|
85
|
+
- - ! '>='
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0'
|
88
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
97
89
|
none: false
|
98
|
-
requirements:
|
99
|
-
- -
|
100
|
-
- !ruby/object:Gem::Version
|
101
|
-
version:
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
102
94
|
requirements: []
|
103
|
-
|
104
95
|
rubyforge_project:
|
105
|
-
rubygems_version: 1.
|
96
|
+
rubygems_version: 1.8.6
|
106
97
|
signing_key:
|
107
98
|
specification_version: 3
|
108
99
|
summary: Virtual Operating System
|
109
100
|
test_files: []
|
110
|
-
|