openplacos 0.0.7 → 0.0.8
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/VERSION +1 -1
- data/lib/openplacos/libclient.rb +6 -1
- data/openplacos.gemspec +1 -1
- metadata +7 -7
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.8
|
data/lib/openplacos/libclient.rb
CHANGED
@@ -141,7 +141,12 @@ module Openplacos
|
|
141
141
|
end
|
142
142
|
|
143
143
|
def readable?(path_,login_)
|
144
|
-
return @permissions[login_]["read"].include?(path_)
|
144
|
+
return true if @permissions[login_]["read"].include?(path_)
|
145
|
+
#check if one object is readable in the room
|
146
|
+
@permissions[login_]["read"].each { |path|
|
147
|
+
return true if path.include?(path_)
|
148
|
+
}
|
149
|
+
return false #else
|
145
150
|
end
|
146
151
|
|
147
152
|
def writeable?(path_,login_)
|
data/openplacos.gemspec
CHANGED
@@ -17,5 +17,5 @@ GEMSPEC = Gem::Specification.new do |s|
|
|
17
17
|
s.files = FileList["{lib}/**/*", "openplacos.gemspec", "VERSION"].to_a.sort
|
18
18
|
s.require_path = "lib"
|
19
19
|
s.has_rdoc = false
|
20
|
-
s.add_dependency('ruby-dbus-openplacos', '>= 0.6.
|
20
|
+
s.add_dependency('ruby-dbus-openplacos', '>= 0.6.2')
|
21
21
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openplacos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 8
|
10
|
+
version: 0.0.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Openplacos Team
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-06-
|
18
|
+
date: 2011-06-18 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -26,12 +26,12 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
hash:
|
29
|
+
hash: 3
|
30
30
|
segments:
|
31
31
|
- 0
|
32
32
|
- 6
|
33
|
-
-
|
34
|
-
version: 0.6.
|
33
|
+
- 2
|
34
|
+
version: 0.6.2
|
35
35
|
type: :runtime
|
36
36
|
version_requirements: *id001
|
37
37
|
description: " Openplacos Gem is a set of libraries for openplacos software.\n These libraries allow an easier coding of openplacos clients, plugins or drivers in ruby.\n"
|