vfs-momolog 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +8 -0
- data/Gemfile +4 -0
- data/LICENSE +22 -0
- data/Rakefile +2 -0
- data/docs/basics.rb +116 -0
- data/docs/s3_backup.rb +29 -0
- data/docs/s3_backup/app/files/bos.png +0 -0
- data/docs/s3_basics.rb +19 -0
- data/docs/s3_sandbox.rb +24 -0
- data/docs/site/404.html +8 -0
- data/docs/site/basics.html +305 -0
- data/docs/site/index.html +8 -0
- data/docs/site/s3_backup.html +111 -0
- data/docs/site/s3_basics.html +84 -0
- data/docs/site/s3_sandbox.html +99 -0
- data/docs/site/ssh_basics.html +84 -0
- data/docs/site/ssh_deployment.html +125 -0
- data/docs/site/ssh_sandbox.html +103 -0
- data/docs/ssh_basics.rb +19 -0
- data/docs/ssh_deployment.rb +35 -0
- data/docs/ssh_deployment/app/app.rb +0 -0
- data/docs/ssh_sandbox.rb +28 -0
- data/lib/vfs.rb +18 -0
- data/lib/vfs/drivers/local.rb +180 -0
- data/lib/vfs/drivers/specification.rb +169 -0
- data/lib/vfs/entries/dir.rb +256 -0
- data/lib/vfs/entries/entry.rb +152 -0
- data/lib/vfs/entries/file.rb +155 -0
- data/lib/vfs/entries/universal_entry.rb +24 -0
- data/lib/vfs/entry_proxy.rb +42 -0
- data/lib/vfs/error.rb +4 -0
- data/lib/vfs/integration.rb +30 -0
- data/lib/vfs/path.rb +123 -0
- data/lib/vfs/version.rb +3 -0
- data/lib/vfs/vfs.rb +38 -0
- data/old/hash_fs.rb +216 -0
- data/old/hash_fs_spec.rb +10 -0
- data/readme.md +143 -0
- data/spec/container_spec.rb +31 -0
- data/spec/dir_spec.rb +253 -0
- data/spec/entry_spec.rb +42 -0
- data/spec/file_spec.rb +215 -0
- data/spec/misc_spec.rb +19 -0
- data/spec/path_spec.rb +127 -0
- data/spec/spec_helper.rb +50 -0
- data/spec/storages/local_spec.rb +24 -0
- data/spec/storages/local_spec/emptygit +0 -0
- data/spec/universal_entry_spec.rb +69 -0
- data/todo.md +19 -0
- data/vfs.gemspec +17 -0
- metadata +105 -0
data/todo.md
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
- add drivers: Hadoop DFS, MongoDB, Amazon S3
|
2
|
+
- remove :host from Vfs to Vos
|
3
|
+
- efficient version of :copy for files and dirs (there's a problem thought, FileUtils.cp_r overrides files silntly, don't know how to do it)?
|
4
|
+
- efficient (not copy/destroy) versions of move_to, rename
|
5
|
+
- handy :chmod helpers (via attributes)
|
6
|
+
- add drivers: remote FS over HTTP?
|
7
|
+
|
8
|
+
# Done:
|
9
|
+
|
10
|
+
- refactor specs with :fakefs (rejected, there are bugs in fakefs)
|
11
|
+
- glob search for directories: Dir['**/*.yml']
|
12
|
+
- Vos: Dir.bash
|
13
|
+
- File.append
|
14
|
+
- list of entries/files/dirs
|
15
|
+
- support for efficient copy for Local and SSH drivers
|
16
|
+
|
17
|
+
# Article
|
18
|
+
|
19
|
+
'./result.html'.to_file.write response.body
|
data/vfs.gemspec
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
require File.expand_path('../lib/vfs/version', __FILE__)
|
3
|
+
|
4
|
+
Gem::Specification.new do |gem|
|
5
|
+
gem.authors = ["Alexander Presber"]
|
6
|
+
gem.email = ["post@momolog.info"]
|
7
|
+
gem.description = %q{fork of https://github.com/alexeypetrushin/vfs.git}
|
8
|
+
gem.summary = %q{see original, just added gem stuff}
|
9
|
+
gem.homepage = ""
|
10
|
+
|
11
|
+
gem.files = `git ls-files`.split($\)
|
12
|
+
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
13
|
+
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
14
|
+
gem.name = "vfs-momolog"
|
15
|
+
gem.require_paths = ["lib"]
|
16
|
+
gem.version = Vfs::VERSION
|
17
|
+
end
|
metadata
ADDED
@@ -0,0 +1,105 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: vfs-momolog
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Alexander Presber
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-05-27 00:00:00.000000000 Z
|
13
|
+
dependencies: []
|
14
|
+
description: fork of https://github.com/alexeypetrushin/vfs.git
|
15
|
+
email:
|
16
|
+
- post@momolog.info
|
17
|
+
executables: []
|
18
|
+
extensions: []
|
19
|
+
extra_rdoc_files: []
|
20
|
+
files:
|
21
|
+
- .gitignore
|
22
|
+
- Gemfile
|
23
|
+
- LICENSE
|
24
|
+
- Rakefile
|
25
|
+
- docs/basics.rb
|
26
|
+
- docs/s3_backup.rb
|
27
|
+
- docs/s3_backup/app/files/bos.png
|
28
|
+
- docs/s3_basics.rb
|
29
|
+
- docs/s3_sandbox.rb
|
30
|
+
- docs/site/404.html
|
31
|
+
- docs/site/basics.html
|
32
|
+
- docs/site/index.html
|
33
|
+
- docs/site/s3_backup.html
|
34
|
+
- docs/site/s3_basics.html
|
35
|
+
- docs/site/s3_sandbox.html
|
36
|
+
- docs/site/ssh_basics.html
|
37
|
+
- docs/site/ssh_deployment.html
|
38
|
+
- docs/site/ssh_sandbox.html
|
39
|
+
- docs/ssh_basics.rb
|
40
|
+
- docs/ssh_deployment.rb
|
41
|
+
- docs/ssh_deployment/app/app.rb
|
42
|
+
- docs/ssh_sandbox.rb
|
43
|
+
- lib/vfs.rb
|
44
|
+
- lib/vfs/drivers/local.rb
|
45
|
+
- lib/vfs/drivers/specification.rb
|
46
|
+
- lib/vfs/entries/dir.rb
|
47
|
+
- lib/vfs/entries/entry.rb
|
48
|
+
- lib/vfs/entries/file.rb
|
49
|
+
- lib/vfs/entries/universal_entry.rb
|
50
|
+
- lib/vfs/entry_proxy.rb
|
51
|
+
- lib/vfs/error.rb
|
52
|
+
- lib/vfs/integration.rb
|
53
|
+
- lib/vfs/path.rb
|
54
|
+
- lib/vfs/version.rb
|
55
|
+
- lib/vfs/vfs.rb
|
56
|
+
- old/hash_fs.rb
|
57
|
+
- old/hash_fs_spec.rb
|
58
|
+
- readme.md
|
59
|
+
- spec/container_spec.rb
|
60
|
+
- spec/dir_spec.rb
|
61
|
+
- spec/entry_spec.rb
|
62
|
+
- spec/file_spec.rb
|
63
|
+
- spec/misc_spec.rb
|
64
|
+
- spec/path_spec.rb
|
65
|
+
- spec/spec_helper.rb
|
66
|
+
- spec/storages/local_spec.rb
|
67
|
+
- spec/storages/local_spec/emptygit
|
68
|
+
- spec/universal_entry_spec.rb
|
69
|
+
- todo.md
|
70
|
+
- vfs.gemspec
|
71
|
+
homepage: ''
|
72
|
+
licenses: []
|
73
|
+
post_install_message:
|
74
|
+
rdoc_options: []
|
75
|
+
require_paths:
|
76
|
+
- lib
|
77
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
78
|
+
none: false
|
79
|
+
requirements:
|
80
|
+
- - ! '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
84
|
+
none: false
|
85
|
+
requirements:
|
86
|
+
- - ! '>='
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
89
|
+
requirements: []
|
90
|
+
rubyforge_project:
|
91
|
+
rubygems_version: 1.8.19
|
92
|
+
signing_key:
|
93
|
+
specification_version: 3
|
94
|
+
summary: see original, just added gem stuff
|
95
|
+
test_files:
|
96
|
+
- spec/container_spec.rb
|
97
|
+
- spec/dir_spec.rb
|
98
|
+
- spec/entry_spec.rb
|
99
|
+
- spec/file_spec.rb
|
100
|
+
- spec/misc_spec.rb
|
101
|
+
- spec/path_spec.rb
|
102
|
+
- spec/spec_helper.rb
|
103
|
+
- spec/storages/local_spec.rb
|
104
|
+
- spec/storages/local_spec/emptygit
|
105
|
+
- spec/universal_entry_spec.rb
|