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 +4 -4
- data/infopark_fiona7.gemspec +1 -1
- data/lib/fiona7/version.rb +1 -1
- data/lib/fiona7/widget_resolver.rb +11 -4
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 177ce65e32ed0f678d47597707dac7ba6c92fe38
|
4
|
+
data.tar.gz: 76004b87e5ef7a1ebb67a70b9f237569ac19ec39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92e28bf2c4f333be21b7e7fcc4b95bbea8848b273ff46fdd3059cf3f1c174cf1cd67f9e7ac2ac1dfae2637e7bb6b129127b2d2995de34ea0e2577351d0c5cc58
|
7
|
+
data.tar.gz: d4ab26477bc1c9e1b4e6f0a4dc3ae292ed861a65bffdd4bb0b30f12afd7e2228a4bc60442f5b237fe95c8b171c20fe02cf1e59b4a4addf5b254774ab2609f46a
|
data/infopark_fiona7.gemspec
CHANGED
@@ -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", "
|
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"
|
data/lib/fiona7/version.rb
CHANGED
@@ -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
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
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.
|
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-
|
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.
|
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.
|
96
|
+
version: 1.25.0
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: mini_magick
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|