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: 17b7843f9c23b38a150d2cd67807dae1ca99ad71
4
- data.tar.gz: 7ccf1df2f9dcca3e6d37fd1cb98e0e7d646ea8a9
3
+ metadata.gz: 25820f71b6319aa041a3e0e543a4560ec4027547
4
+ data.tar.gz: 5a351cc88aef8854a7db7fc1bda3cbc336d9afe4
5
5
  SHA512:
6
- metadata.gz: 5eb8f25b168d80b20225c6a893772ca61e57495e7216cb20481df9be701ccef28aff8257678f1fe52e244826931cc36e5a517789a97526af18a9488e77e911d8
7
- data.tar.gz: ea9565113a27f35a14be7502df8aa65ededc36afb3be41cba6984237bde42998623b8269390a640548bf2dcfcde3c393261edc0c1e1df4c9b592daf4513ec06a
6
+ metadata.gz: ed3e804a679c2a33b0908becaeb89f85c5c3837e77b5e422182d801b5d873a9d796ca2fae9086a838f843e322155c2664697e45780e3a7a303e8e5c10394ceb4
7
+ data.tar.gz: ab3e5747e837cdcf9e00e2b856e785dcfdcfc1507c63f7ec498758997fa3221890c9445bf1a3b79fc4ccc65234e4dbcf8560a325f07dbdabf9d910958a2916b5
@@ -31,7 +31,7 @@ module Fiona7
31
31
  end
32
32
  end
33
33
 
34
- def set_header(name, value)
34
+ def simple_set_header(name, value)
35
35
  response.headers[name] = value
36
36
  end
37
37
  end
@@ -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
- set_header('Content-Type', meta_binary.mime_type)
272
- set_header('Content-Length', meta_binary.length)
273
- set_header('Cache-Control', 'no-transform,public,max-age=300,s-maxage=900')
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 set_header(name, value)
336
+ def simple_set_header(name, value)
337
337
  self.response[name] = value
338
338
  end
339
339
 
@@ -1,3 +1,3 @@
1
1
  module Fiona7
2
- VERSION = "0.71.1.6"
2
+ VERSION = "0.71.1.7"
3
3
  end
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.6
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: 2015-12-07 00:00:00.000000000 Z
11
+ date: 2016-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails