em-fs 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +18 -0
- data/.rspec +2 -0
- data/.rvmrc +1 -0
- data/Gemfile +4 -0
- data/Guardfile +19 -0
- data/LICENSE +22 -0
- data/README.md +75 -0
- data/Rakefile +2 -0
- data/em-fs.gemspec +26 -0
- data/lib/em-fs/core_ext.rb +15 -0
- data/lib/em-fs/dir/glob.rb +7 -0
- data/lib/em-fs/dir.rb +14 -0
- data/lib/em-fs/file/stat.rb +200 -0
- data/lib/em-fs/file.rb +21 -0
- data/lib/em-fs/fileutils.rb +149 -0
- data/lib/em-fs/fs/command.rb +58 -0
- data/lib/em-fs/fs/rsync_command.rb +11 -0
- data/lib/em-fs/fs.rb +25 -0
- data/lib/em-fs/version.rb +5 -0
- data/lib/em-fs.rb +9 -0
- data/spec/dir/glob_spec.rb +5 -0
- data/spec/dir_spec.rb +16 -0
- data/spec/file/stat_spec.rb +45 -0
- data/spec/file_spec.rb +19 -0
- data/spec/fileutils_spec.rb +432 -0
- data/spec/fs/rsync_command_spec.rb +79 -0
- data/spec/fs_spec.rb +28 -0
- data/spec/spec_helper.rb +30 -0
- metadata +184 -0
metadata
ADDED
@@ -0,0 +1,184 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: em-fs
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Arthur Leonard Andersen
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-07-06 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rake
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :development
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: rspec
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :development
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: guard
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: guard-rspec
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :development
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: eventmachine
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ! '>='
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '0'
|
86
|
+
type: :runtime
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: em-systemcommand
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
102
|
+
type: :runtime
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
description: ! '`em-fs` provides libraries to access file system commands through
|
111
|
+
an API similar to the Ruby file API for eventmachine.'
|
112
|
+
email:
|
113
|
+
- leoc.git@gmail.com
|
114
|
+
executables: []
|
115
|
+
extensions: []
|
116
|
+
extra_rdoc_files: []
|
117
|
+
files:
|
118
|
+
- .gitignore
|
119
|
+
- .rspec
|
120
|
+
- .rvmrc
|
121
|
+
- Gemfile
|
122
|
+
- Guardfile
|
123
|
+
- LICENSE
|
124
|
+
- README.md
|
125
|
+
- Rakefile
|
126
|
+
- em-fs.gemspec
|
127
|
+
- lib/em-fs.rb
|
128
|
+
- lib/em-fs/core_ext.rb
|
129
|
+
- lib/em-fs/dir.rb
|
130
|
+
- lib/em-fs/dir/glob.rb
|
131
|
+
- lib/em-fs/file.rb
|
132
|
+
- lib/em-fs/file/stat.rb
|
133
|
+
- lib/em-fs/fileutils.rb
|
134
|
+
- lib/em-fs/fs.rb
|
135
|
+
- lib/em-fs/fs/command.rb
|
136
|
+
- lib/em-fs/fs/rsync_command.rb
|
137
|
+
- lib/em-fs/version.rb
|
138
|
+
- spec/dir/glob_spec.rb
|
139
|
+
- spec/dir_spec.rb
|
140
|
+
- spec/file/stat_spec.rb
|
141
|
+
- spec/file_spec.rb
|
142
|
+
- spec/fileutils_spec.rb
|
143
|
+
- spec/fs/rsync_command_spec.rb
|
144
|
+
- spec/fs_spec.rb
|
145
|
+
- spec/spec_helper.rb
|
146
|
+
homepage: http://github.com/leoc/em-fs
|
147
|
+
licenses: []
|
148
|
+
post_install_message:
|
149
|
+
rdoc_options: []
|
150
|
+
require_paths:
|
151
|
+
- lib
|
152
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
154
|
+
requirements:
|
155
|
+
- - ! '>='
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: '0'
|
158
|
+
segments:
|
159
|
+
- 0
|
160
|
+
hash: 392820138852039063
|
161
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
162
|
+
none: false
|
163
|
+
requirements:
|
164
|
+
- - ! '>='
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
segments:
|
168
|
+
- 0
|
169
|
+
hash: 392820138852039063
|
170
|
+
requirements: []
|
171
|
+
rubyforge_project:
|
172
|
+
rubygems_version: 1.8.24
|
173
|
+
signing_key:
|
174
|
+
specification_version: 3
|
175
|
+
summary: Invoke filesystem calls without blocking.
|
176
|
+
test_files:
|
177
|
+
- spec/dir/glob_spec.rb
|
178
|
+
- spec/dir_spec.rb
|
179
|
+
- spec/file/stat_spec.rb
|
180
|
+
- spec/file_spec.rb
|
181
|
+
- spec/fileutils_spec.rb
|
182
|
+
- spec/fs/rsync_command_spec.rb
|
183
|
+
- spec/fs_spec.rb
|
184
|
+
- spec/spec_helper.rb
|