yaccl 0.0.18 → 0.0.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/yaccl/model/object.rb +5 -4
- data/lib/yaccl/services/internal/browser_binding_service.rb +1 -0
- data/lib/yaccl/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NDMxM2Q1NjAyYzIyZGUxYTgxMmYxOWU4OGNlNjRjNTg0NmZjNmEzMA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
M2FiNTMxMDMwMTMyYzhiYjk5MzkzNmNmYjIyOTZhYjMyMWI0NDMyMw==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NDJkYTE0OTFjYmY2MzUwMzAwYjA0OWE5YzEyNjBlYWY3OWRjN2MyZjEwMWVj
|
10
|
+
NDkzOWM1ZDJiN2YyYzFkZDcyOTdjNzI4YWY5OWVhZGIzOWNhOTRmZjQ4NDIz
|
11
|
+
ZmMzNWEwODFlM2JkNDgxZmU3NmNlNzZlZjJmY2RjYzY2N2I2OTE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MmJmYjFkMTI5MGNlYmZmNzcyYmM1ZDZhOWQ3NmU4YzE0MzIwZTIwM2MxNmI4
|
14
|
+
Njc0MjI5MTIxNTUxOGU3YzAzMTc0MDcxYTAwZTQ3N2NmYmRlMTFhZDc0MTA2
|
15
|
+
ZTdhZDQ1N2FiZTVhNTFhNTI0N2Y3NGNkODkwMGE2ZmY5YTUxNGY=
|
data/lib/yaccl/model/object.rb
CHANGED
@@ -127,13 +127,14 @@ module YACCL
|
|
127
127
|
if raw[:succinctProperties]
|
128
128
|
result = raw[:succinctProperties]
|
129
129
|
elsif raw[:properties]
|
130
|
-
result = raw[:properties].reduce({})
|
130
|
+
result = raw[:properties].reduce({}) do |h, (k, v)|
|
131
|
+
val = v[:value]
|
132
|
+
val = Time.at(val / 1000) if v[:type] == 'datetime'
|
133
|
+
h.merge(k => val)
|
134
|
+
end
|
131
135
|
else
|
132
136
|
result = {}
|
133
137
|
end
|
134
|
-
[:'cmis:creationDate', :'cmis:lastModificationDate'].each do |k|
|
135
|
-
result[k] = Time.at(result[k] / 1000) if result[k]
|
136
|
-
end
|
137
138
|
result
|
138
139
|
end
|
139
140
|
end
|
@@ -57,6 +57,7 @@ module YACCL
|
|
57
57
|
else
|
58
58
|
if object_id.nil?
|
59
59
|
if @repository_urls.fetch(repository_id).nil?
|
60
|
+
raise "No configuration found for <#{repository_id}>. Does repository exist?" unless Basement.get(@service_url)[repository_id]
|
60
61
|
repository_url = Basement.get(@service_url)[repository_id]['repositoryUrl']
|
61
62
|
@repository_urls.store(repository_id, repository_url)
|
62
63
|
end
|
data/lib/yaccl/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yaccl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kenneth Geerts
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-04-
|
12
|
+
date: 2013-04-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: httparty
|