filestore 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/filestore.rb +15 -0
- data/lib/multitenant_filestore.rb +6 -0
- metadata +2 -1
data/filestore.rb
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
#
|
2
|
+
# filestore.rb
|
3
|
+
# @author Thomas Stätter
|
4
|
+
# @date 2012/11/26
|
5
|
+
# @description
|
6
|
+
#
|
7
|
+
|
8
|
+
require 'lib/meta_manager.rb'
|
9
|
+
require 'lib/log.rb'
|
10
|
+
require 'lib/filestore.rb'
|
11
|
+
require 'lib/multitenant_filestore.rb'
|
12
|
+
|
13
|
+
module FileStore
|
14
|
+
VERSION = '0.0.5'
|
15
|
+
end
|
@@ -120,6 +120,12 @@ module FileStore
|
|
120
120
|
return @stores[tenant].get(id)
|
121
121
|
end
|
122
122
|
#
|
123
|
+
# Determines wether a tenant is registered
|
124
|
+
# @param id The ID of the tenant to be tested
|
125
|
+
#
|
126
|
+
def has_tenant?(id)
|
127
|
+
end
|
128
|
+
#
|
123
129
|
# Shuts down this multitenant store
|
124
130
|
#
|
125
131
|
def shutdown
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: filestore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -61,6 +61,7 @@ executables: []
|
|
61
61
|
extensions: []
|
62
62
|
extra_rdoc_files: []
|
63
63
|
files:
|
64
|
+
- filestore.rb
|
64
65
|
- lib/filestore.rb
|
65
66
|
- lib/memory_meta.rb
|
66
67
|
- lib/log.rb
|