rfusefs 1.0.3 → 1.1.0.rc202009.34

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: d1a003ef4960543e188b2769eeb4cfac4feeb4db
4
- data.tar.gz: a2571557c22e600005630de7ae3bede8c47771a6
2
+ SHA256:
3
+ metadata.gz: a3be9d9f33c4755ba71b12bce9a95e76e3ddd7f17066a9c39c248d56464638ec
4
+ data.tar.gz: 69335105b13cc54ae267045f4d8320a715b86680dde02acdb307dc8d7fe8235e
5
5
  SHA512:
6
- metadata.gz: e98dee6386ba464801fd2eb79842cb88c82dcca79295669ad7f383ed00eb62a77eef43dc185c1d6265cd47f7a1407dc0c72817924a548fbc6faa2d8a86083b22
7
- data.tar.gz: 1e03e2e67822f6472f60de58fc86de15a0e1a70251d62989b5212c3098f4a3cee942fdb6f33e7bb14446335799f41ddb6466a205cd22bc36d2084cd9c2290c8d
6
+ metadata.gz: fae5751cf1389148656db47b801c0d12479ccdd0eab7b0bb9f3a5c7c50661299458637594115b3f1d2076c2a5beb20d3863d8865f1fe33a3b2c81aad5e7de131
7
+ data.tar.gz: f042fcf45c0da85a3aafdd8bfe9f177aafd005b6286ffd484188631ad8ef8ee2b571f91a065d5e2f21e0464b26058a8d47de8bcdb676b9ab0bbc859addd2bfd4
@@ -0,0 +1,2 @@
1
+ -
2
+ CHANGES.md
@@ -0,0 +1,40 @@
1
+
2
+ 1.1.0 / 2020-10
3
+ ---------------
4
+
5
+ * With rfuse ~> 1.2
6
+ * Requires Ruby 2.5+
7
+ * Release via Travis CI
8
+
9
+ 1.0.3 / 2014-12-22
10
+ ----------------------
11
+
12
+ * Pushed some internals up to RFuse
13
+ * Allow filesystems to implement signal handlers
14
+
15
+ 1.0.1 / 2013-12-19
16
+ ------------------
17
+
18
+ * Add FuseFS.main to create pretty usage messages
19
+ * Support extended attributes in filesystems
20
+ * Updates and cleanup of PathMapperFS
21
+ * Provide SqliteMapperFS
22
+
23
+ 1.0.0 / 2012-08-07
24
+ ------------------
25
+
26
+ * Depend on new rfuse 1.0.0, Ruby 1.9
27
+ * API breaking changes
28
+ * order of arguments to {FuseFS.mount}, {FuseFS.start} changed
29
+ to account for better option handling in RFuse
30
+
31
+ 0.8.0 / 2011-02-19
32
+ ------------------
33
+
34
+ * Initial port from fusefs
35
+
36
+ * Improved raw methods
37
+ * new "times" api for including atime,mtime,ctime in stat results
38
+ * metadir allow mv directories
39
+ * includes PathMapperFS
40
+
data/LICENSE ADDED
@@ -0,0 +1,24 @@
1
+ (The MIT License)
2
+
3
+ * Copyright (c) 2005 Greg Millam. (FuseFS)
4
+ * Copyright (c) 2009 Kyle Maxwell. (FuseFS)
5
+ * Copyright (c) 2012 - 2020 Grant Gardner. (RFuseFS)
6
+
7
+
8
+ Permission is hereby granted, free of charge, to any person obtaining a copy
9
+ of this software and associated documentation files (the 'Software'), to deal
10
+ in the Software without restriction, including without limitation the rights
11
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12
+ copies of the Software, and to permit persons to whom the Software is
13
+ furnished to do so, subject to the following conditions:
14
+
15
+ The above copyright notice and this permission notice shall be included in all
16
+ copies or substantial portions of the Software.
17
+
18
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
+ SOFTWARE.
@@ -0,0 +1,83 @@
1
+ # rfusefs
2
+
3
+ * https://rubygems.org/gems/rfusefs
4
+ * https://github.com/lwoggardner/rfusefs
5
+
6
+ [<img src="https://badge.fury.io/rb/rfusefs.png" alt="Gem Version"
7
+ />](http://badge.fury.io/rb/rfusefs)
8
+ ## DESCRIPTION
9
+
10
+ RFuseFS is a port of the [FuseFS](http://rubygems.org/gems/fusefs/) library
11
+ aimed at allowing Ruby programmers to quickly and easily create virtual
12
+ filesystems with little more than a few lines of code.
13
+
14
+ RFuseFS is api compatible with FuseFS (0.7.0)
15
+
16
+ ## SYNOPSIS
17
+
18
+ FuseFS provides a layer of abstraction to a programmer who wants to create a
19
+ virtual filesystem via FUSE.
20
+
21
+ First define a virtual directory by subclassing {FuseFS::FuseDir}
22
+
23
+ See samples under /samples and also the following starter classes
24
+
25
+ * {FuseFS::FuseDir}
26
+ * {FuseFS::MetaDir}
27
+ * {FuseFS::DirLink}
28
+ * {FuseFS::PathMapperFS}
29
+ * {FuseFS::SqliteMapperFS}
30
+
31
+
32
+ Then start your filesystem with
33
+
34
+ * {FuseFS.main} or {FuseFS.start}
35
+
36
+
37
+ Finally to use the filesystem open up your favourite file browser/terminal and
38
+ explore the contents under <mountpoint>
39
+
40
+ Happy Filesystem Hacking!
41
+
42
+ ### the hello world filesystem in 14 LOC
43
+
44
+ require 'rfusefs'
45
+
46
+ class HelloDir
47
+
48
+ def contents(path)
49
+ ['hello.txt']
50
+ end
51
+
52
+ def file?(path)
53
+ path == '/hello.txt'
54
+ end
55
+
56
+ def read_file(path)
57
+ "Hello, World!\n"
58
+ end
59
+
60
+ end
61
+
62
+ # Usage: #{$0} mountpoint [mount_options]
63
+ FuseFS.main() { |options| HelloDir.new }
64
+
65
+ ## REQUIREMENTS:
66
+
67
+ * FUSE (http://fuse.sourceforge.net)
68
+ * Ruby (>= 2.5)
69
+ * rfuse (~> 1.2)
70
+
71
+
72
+ ## INSTALL:
73
+
74
+ * gem install rfusefs
75
+
76
+ ## DEVELOPERS:
77
+
78
+ After checking out the source, run:
79
+
80
+ $ bundle install # install dependencies
81
+ $ rake spec # run tests
82
+ $ rake yard # generate docs
83
+
data/TODO.md ADDED
@@ -0,0 +1,7 @@
1
+
2
+ TODO
3
+ --------------
4
+
5
+ * Test (or remove) samples
6
+
7
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rfusefs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.1.0.rc202009.34
5
5
  platform: ruby
6
6
  authors:
7
7
  - Grant Gardner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-22 00:00:00.000000000 Z
11
+ date: 2020-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rfuse
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.1'
19
+ version: '1.2'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.1'
26
+ version: '1.2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -128,41 +128,19 @@ email:
128
128
  - grant@lastweekend.com.au
129
129
  executables: []
130
130
  extensions: []
131
- extra_rdoc_files: []
131
+ extra_rdoc_files:
132
+ - CHANGES.md
132
133
  files:
133
- - ".gitignore"
134
- - Gemfile
135
- - History.rdoc
136
- - README.rdoc
137
- - Rakefile
138
- - TODO.txt
139
- - lib/fuse/fusedir.rb
140
- - lib/fuse/rfusefs-fuse.rb
134
+ - ".yardopts"
135
+ - CHANGES.md
136
+ - LICENSE
137
+ - README.md
138
+ - TODO.md
141
139
  - lib/fusefs.rb
142
- - lib/fusefs/dirlink.rb
143
- - lib/fusefs/metadir.rb
144
- - lib/fusefs/pathmapper.rb
145
- - lib/fusefs/sqlitemapper.rb
146
140
  - lib/rfusefs.rb
147
- - lib/rfusefs/version.rb
148
- - rfusefs.gemspec
149
- - samples/demo.rb
150
- - samples/dictfs.rb
151
- - samples/hello.rb
152
- - samples/openurifs.rb
153
- - samples/railsfs.rb
154
- - samples/sqlfs.rb
155
- - samples/yamlfs.rb
156
- - spec-fusefs/fusefs_spec.rb
157
- - spec/metadir_spec.rb
158
- - spec/mount_unmount_spec.rb
159
- - spec/pathmapper_spec.rb
160
- - spec/rfusefs_spec.rb
161
- - spec/sample_spec.rb
162
- - spec/spec_helper.rb
163
- - spec/sqlitemapper_spec.rb
164
141
  homepage: http://rubygems.org/gems/rfusefs
165
- licenses: []
142
+ licenses:
143
+ - MIT
166
144
  metadata: {}
167
145
  post_install_message:
168
146
  rdoc_options: []
@@ -172,17 +150,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
172
150
  requirements:
173
151
  - - ">="
174
152
  - !ruby/object:Gem::Version
175
- version: '0'
153
+ version: '2.5'
176
154
  required_rubygems_version: !ruby/object:Gem::Requirement
177
155
  requirements:
178
- - - ">="
156
+ - - ">"
179
157
  - !ruby/object:Gem::Version
180
- version: '0'
158
+ version: 1.3.1
181
159
  requirements: []
182
- rubyforge_project:
183
- rubygems_version: 2.2.2
160
+ rubygems_version: 3.0.8
184
161
  signing_key:
185
162
  specification_version: 4
186
163
  summary: Filesystem in Ruby Userspace
187
164
  test_files: []
188
- has_rdoc: yard
data/.gitignore DELETED
@@ -1,9 +0,0 @@
1
- #No hidden files (except for .gitignore)
2
- .*
3
- !.gitignore
4
- !.travis.yml
5
- #Files generated by rake
6
- doc
7
- pkg
8
- #Jedit stupid default backup settings
9
- *'`'
data/Gemfile DELETED
@@ -1,6 +0,0 @@
1
- source "http://bundler.rubygems.org"
2
-
3
- #gem 'rfuse', :path => "../rfuse"
4
-
5
- # Specify your gem's dependencies in rfusefs.gemspec
6
- gemspec
@@ -1,34 +0,0 @@
1
- === 1.0.3 / 2014-12-22
2
-
3
- * Pushed some internals up to RFuse
4
-
5
- * Allow filesystems to implement signal handlers
6
-
7
- === 1.0.1 / 2013-12-19
8
-
9
- * Add FuseFS.main to create pretty usage messages
10
-
11
- * Support extended attributes in filesystems
12
-
13
- * Updates and cleanup of PathMapperFS
14
-
15
- * Provide SqliteMapperFS
16
-
17
- === 1.0.0 / 2012-08-07
18
-
19
- * Depend on new rfuse 1.0.0, Ruby 1.9
20
-
21
- * API breaking changes
22
-
23
- * order of arguments to {FuseFS.mount}, {FuseFS.start} changed
24
- to account for better option handling in RFuse
25
-
26
- === 0.8.0 / 2011-02-19
27
-
28
- * Initial port from fusefs
29
-
30
- * Improved raw methods
31
- * new "times" api for including atime,mtime,ctime in stat results
32
- * metadir allow mv directories
33
- * includes PathMapperFS
34
-
@@ -1,106 +0,0 @@
1
- = rfusefs
2
-
3
- * https://rubygems.org/gems/rfusefs
4
- * https://github.com/lwoggardner/rfusefs
5
-
6
- {<img src="https://badge.fury.io/rb/rfusefs.png" alt="Gem Version" />}[http://badge.fury.io/rb/rfusefs]
7
- == DESCRIPTION
8
-
9
- RFuseFS is a port of the FuseFS[http://rubygems.org/gems/fusefs/]
10
- library aimed at allowing Ruby programmers to quickly and easily create
11
- virtual filesystems with little more than a few lines of code.
12
-
13
- RFuseFS is api compatible with FuseFS (0.7.0)
14
-
15
- == SYNOPSIS
16
-
17
- FuseFS provides a layer of abstraction to a programmer who wants to create a
18
- virtual filesystem via FUSE.
19
-
20
- First define a virtual directory by subclassing {FuseFS::FuseDir}
21
-
22
- See samples under /samples and also the following starter classes
23
-
24
- * {FuseFS::FuseDir}
25
- * {FuseFS::MetaDir}
26
- * {FuseFS::DirLink}
27
- * {FuseFS::PathMapperFS}
28
- * {FuseFS::SqliteMapperFS}
29
-
30
- Then start your filesystem with
31
-
32
- * {FuseFS.main} or {FuseFS.start}
33
-
34
- Finally to use the filesystem open up your favourite file browser/terminal and
35
- explore the contents under <mountpoint>
36
-
37
- Happy Filesystem Hacking!
38
-
39
- === the hello world filesystem in 14 LOC
40
-
41
- require 'rfusefs'
42
-
43
- class HelloDir
44
-
45
- def contents(path)
46
- ['hello.txt']
47
- end
48
-
49
- def file?(path)
50
- path == '/hello.txt'
51
- end
52
-
53
- def read_file(path)
54
- "Hello, World!\n"
55
- end
56
-
57
- end
58
-
59
- # Usage: #{$0} mountpoint [mount_options]
60
- FuseFS.main() { |options| HelloDir.new }
61
-
62
- == REQUIREMENTS:
63
-
64
- * FUSE (http://fuse.sourceforge.net)
65
- * Ruby (>=1.9)
66
- * rfuse (~> 1.1)
67
-
68
- == INSTALL:
69
-
70
- * gem install rfusefs
71
-
72
- == DEVELOPERS:
73
-
74
- After checking out the source, run:
75
-
76
- $ bundle install # install dependencies
77
- $ rake spec # run tests
78
- $ rake yard # generate docs
79
-
80
-
81
- == LICENSE:
82
-
83
- (The MIT License)
84
-
85
- * Copyright (c) 2005 Greg Millam. (FuseFS)
86
- * Copyright (c) 2009 Kyle Maxwell. (FuseFS)
87
- * Copyright (c) 2012 - 2014 Grant Gardner. (RFuseFS)
88
-
89
- Permission is hereby granted, free of charge, to any person obtaining
90
- a copy of this software and associated documentation files (the
91
- 'Software'), to deal in the Software without restriction, including
92
- without limitation the rights to use, copy, modify, merge, publish,
93
- distribute, sublicense, and/or sell copies of the Software, and to
94
- permit persons to whom the Software is furnished to do so, subject to
95
- the following conditions:
96
-
97
- The above copyright notice and this permission notice shall be
98
- included in all copies or substantial portions of the Software.
99
-
100
- THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
101
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
102
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
103
- IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
104
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
105
- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
106
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile DELETED
@@ -1,22 +0,0 @@
1
- # -*- ruby -*-
2
- require "bundler/gem_tasks"
3
- require 'yard'
4
- require 'rspec/core/rake_task'
5
- require 'rake/clean'
6
-
7
- CLOBBER.include [ "pkg/","doc/" ]
8
-
9
- YARD::Rake::YardocTask.new do |t|
10
- # Need this because YardocTask does not read the gemspec
11
- t.files = ['lib/**/*.rb', '-','History.rdoc'] # optional
12
- end
13
-
14
- RSpec::Core::RakeTask.new(:spec)
15
-
16
- desc "FuseFS compatibility specs"
17
- RSpec::Core::RakeTask.new("spec:fusefs") do |t|
18
- t.pattern = 'spec-fusefs/**/*_spec.rb'
19
- end
20
-
21
- task :default => ["spec","spec:fusefs"]
22
- # vim: syntax=ruby