infopark_fiona7 1.5.5.5.0 → 1.5.5.5.1

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: cf226dd1d9eefb04c31a6a9d43f8d613578af159
4
- data.tar.gz: 9be472d5297f419fc0ce2d9ef605b09aaa48552b
3
+ metadata.gz: 177ce65e32ed0f678d47597707dac7ba6c92fe38
4
+ data.tar.gz: 76004b87e5ef7a1ebb67a70b9f237569ac19ec39
5
5
  SHA512:
6
- metadata.gz: 5dd1d35a27b86f3601923ab62bf38c0bccfbde1cef1d1cb9480369de2482ac8c062e5017d908c413b79c1011a7dd508dddee9a20c3c3870c1e344df80dcbd73a
7
- data.tar.gz: 25968a661a3f890cd643ab186cb6e29bc04facb8dab7a7c183c4525d573453ae26d2745acbe08158a8360ac58775330034273bc92065b55c2a21dfb45d2bbf03
6
+ metadata.gz: 92e28bf2c4f333be21b7e7fcc4b95bbea8848b273ff46fdd3059cf3f1c174cf1cd67f9e7ac2ac1dfae2637e7bb6b129127b2d2995de34ea0e2577351d0c5cc58
7
+ data.tar.gz: d4ab26477bc1c9e1b4e6f0a4dc3ae292ed861a65bffdd4bb0b30f12afd7e2228a4bc60442f5b237fe95c8b171c20fe02cf1e59b4a4addf5b254774ab2609f46a
@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
24
24
  s.add_dependency "scrivito_sdk"
25
25
  s.add_dependency "scrivito_editors"
26
26
  s.add_dependency "infopark_fiona_connector", "= 7.0.1.beta2"
27
- s.add_dependency "infopark_reactor", "= 1.23.0"
27
+ s.add_dependency "infopark_reactor", "~> 1.25.0"
28
28
  s.add_dependency "mini_magick"
29
29
  #s.add_development_dependency "ruby-prof"
30
30
  s.add_development_dependency "scrivito_development"
@@ -1,3 +1,3 @@
1
1
  module Fiona7
2
- VERSION = "1.5.5.5.0"
2
+ VERSION = "1.5.5.5.1"
3
3
  end
@@ -29,6 +29,11 @@ module Fiona7
29
29
  self.path_map = Hash[
30
30
  widget_id_to_object_id_map.map {|widget_id, obj_id|
31
31
  path = object_id_to_widget_instance_map[obj_id].try(:path)
32
+ # NOTE: with garbage collection some widget objects may become
33
+ # invisible: that is they are still in the database, but unreadable
34
+ # when querying for released contents (because reverted for example)
35
+ # This results in a "dead" link in the widget pool, but shouldn't
36
+ # therwise be harmful
32
37
  next unless path
33
38
  [widget_id, object_id_to_widget_instance_map[obj_id].try(:path)]
34
39
  }.compact
@@ -36,10 +41,12 @@ module Fiona7
36
41
  self.instance_map = Hash[
37
42
  widget_id_to_object_id_map.map {|widget_id, obj_id|
38
43
  object = object_id_to_widget_instance_map[obj_id]
39
- if !object
40
- Rails.logger.error("Unable to find widget with id #{widget_id} (obj_id = #{obj_id})")
41
- next
42
- end
44
+ # NOTE: with garbage collection some widget objects may become
45
+ # invisible: that is they are still in the database, but unreadable
46
+ # when querying for released contents (because reverted for example)
47
+ # This results in a "dead" link in the widget pool, but shouldn't
48
+ # therwise be harmful
49
+ next unless object
43
50
  [widget_id, object]
44
51
  }.compact
45
52
  ]
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: 1.5.5.5.0
4
+ version: 1.5.5.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomasz Przedmojski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-31 00:00:00.000000000 Z
11
+ date: 2017-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -84,16 +84,16 @@ dependencies:
84
84
  name: infopark_reactor
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '='
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 1.23.0
89
+ version: 1.25.0
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '='
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 1.23.0
96
+ version: 1.25.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: mini_magick
99
99
  requirement: !ruby/object:Gem::Requirement