infopark_fiona7 0.71.1.6 → 0.71.1.7
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
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25820f71b6319aa041a3e0e543a4560ec4027547
|
4
|
+
data.tar.gz: 5a351cc88aef8854a7db7fc1bda3cbc336d9afe4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed3e804a679c2a33b0908becaeb89f85c5c3837e77b5e422182d801b5d873a9d796ca2fae9086a838f843e322155c2664697e45780e3a7a303e8e5c10394ceb4
|
7
|
+
data.tar.gz: ab3e5747e837cdcf9e00e2b856e785dcfdcfc1507c63f7ec498758997fa3221890c9445bf1a3b79fc4ccc65234e4dbcf8560a325f07dbdabf9d910958a2916b5
|
@@ -78,7 +78,7 @@ module Fiona7
|
|
78
78
|
# a bug in fiona connector -> [valid_(from|until)] returns a raw string
|
79
79
|
@obj[real_attribute_name]
|
80
80
|
else
|
81
|
-
@obj[real_attribute_name].try(:to_iso)
|
81
|
+
@obj[real_attribute_name].try(:utc).try(:to_iso)
|
82
82
|
end
|
83
83
|
when :widgetlist
|
84
84
|
deserialize_widget_field(@obj.attr_values[real_attribute_name] || [])
|
@@ -268,9 +268,9 @@ module Fiona7
|
|
268
268
|
elsif !meta_binary.present?
|
269
269
|
not_found
|
270
270
|
else
|
271
|
-
|
272
|
-
|
273
|
-
|
271
|
+
simple_set_header('Content-Type', meta_binary.mime_type)
|
272
|
+
simple_set_header('Content-Length', meta_binary.length)
|
273
|
+
simple_set_header('Cache-Control', 'no-transform,public,max-age=300,s-maxage=900')
|
274
274
|
head_ok
|
275
275
|
end
|
276
276
|
end
|
@@ -333,7 +333,7 @@ module Fiona7
|
|
333
333
|
end
|
334
334
|
end
|
335
335
|
|
336
|
-
def
|
336
|
+
def simple_set_header(name, value)
|
337
337
|
self.response[name] = value
|
338
338
|
end
|
339
339
|
|
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.71.1.
|
4
|
+
version: 0.71.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomasz Przedmojski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|