infopark_fiona7 0.70.0.2 → 0.70.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fiona7/json/obj_decorator.rb +6 -1
- data/lib/fiona7/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b1fc78f3cf18fd7616540dacdafd60cd8029a88
|
4
|
+
data.tar.gz: 8775edf24d77b6b9b1e2f07eb63ea48b5cb1f37a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d2850182f8a7602e2bfa9636b7f2151e6bcecf314168d42bb6ce5a35fa6cea4b005b826acffe6f98ea804c9bc10ac1cf176771c00978a5334a9e8bdd2df72af
|
7
|
+
data.tar.gz: 1934ad1d509bf4bc3c21a01317f416f654649491ee5e620a5b41291d237d8044740a676edf3e1495d0f74d2a0ee804398942b50cda52ca26a57bd513638161ee
|
@@ -68,7 +68,12 @@ module Fiona7
|
|
68
68
|
when :referencelist
|
69
69
|
(@obj.attr_values[real_attribute_name] || []).map {|link| deserialize_reference(link) }.compact
|
70
70
|
when :date
|
71
|
-
|
71
|
+
if real_attribute_name == "valid_from" || real_attribute_name == "valid_until"
|
72
|
+
# a bug in fiona connector -> [valid_(from|until)] returns a raw string
|
73
|
+
@obj[real_attribute_name]
|
74
|
+
else
|
75
|
+
@obj[real_attribute_name].try(:to_iso)
|
76
|
+
end
|
72
77
|
when :widgetlist
|
73
78
|
deserialize_widget_field(@obj.attr_values[real_attribute_name] || [])
|
74
79
|
when :html
|
data/lib/fiona7/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: infopark_fiona7
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.70.0.
|
4
|
+
version: 0.70.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomasz Przedmojski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|