infopark_cloud_connector 7.0.0 → 7.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- Njg3ODYzOWQxMmFhNzRjNTAyNmYzNWFlMGRkMmIyZDc0NjBlNmY3NQ==
4
+ MjhiM2EwZDc1YzNjZGNlZWRjZjkyYTU0NTYxZmNhNWRlMTFiMTNiMw==
5
5
  data.tar.gz: !binary |-
6
- YWU2ZTYxNzZlMTkyYjI2OTEzZWJlMmY2NzIwODA1ZTczOGM5N2NjMA==
6
+ NTRkODg1Y2FiNzM4NDNlZDRmZjEwY2U4MmUyNTgwODE3OTc1Zjk3ZA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NDBhZTc0Y2M1NzRmYjg2ODg4NDRhZDBjZWZhYjRmYTUzNWJiOTEyZjFkNzUy
10
- Nzg5MDdmZmNkYzBkMTYxZGJlODEyYTIwMDk5YmE2NTFiNjVhZjIwNjBjMTU0
11
- NDk4M2NhMzI3MDQ1M2RhMzRhOWZhNGYxMDBiMjQzZGNkMmRiMWM=
9
+ NDc5NTE4YzliODVkYTA4ZjQ0Y2QyZDVhNjE5YzFlMTYxZWVkN2Y0OGFlMGJl
10
+ ZjFiMzExMzZmNzE0NGQ0ZWY4NGI5OTliNzFlMzQwOTg5ZTQ2YTYxZDk3MDM3
11
+ OThhN2RmZWFhNjlmYmVhNWU1OWU0YmYwMTVkNmJmMzQzMWEwYjQ=
12
12
  data.tar.gz: !binary |-
13
- MWE0ODA5Mzk3ZjliOGMwNTBiNDk5NjA1YThjODliNDA1NjVmOGIwYWI0Yzc2
14
- ZDUyOGMyY2UxMDM2ZTUxM2QxNTNiNmMzMTZhZmRlZDc2Y2ZiN2ZmNzQ2NDQ5
15
- Y2VhYzk5ZGJmZmVkMzVkZGUzYmYzN2Y0ZWQyNGUxMDg0OTViMTM=
13
+ ZDVjZDQ2ZDNlNDkyZDgwMzM4MThhZTM1YTJhMGNmZDIyMWNjNTE2NWY0NmY2
14
+ M2QzOGZiM2M5N2E3NzNkYmIyZjRjOWU0ZTU0NDM2ZWQ1ZTQ5Yjk4MzIyMzcw
15
+ N2FmNGRkYzYwMjMyMmRkODVjMTYxMDEzNWQ0MTU5NmVmYTU0Mjc=
@@ -111,13 +111,31 @@ module RailsConnector
111
111
  @obj.type_of_attribute(key.to_s) == 'html'
112
112
  end
113
113
 
114
- convert_html_keys.each do |key|
115
- p[key] = ContentConversion.convert_html_links(p[key], request.host, request.port)
114
+ convert_html_keys.each { |key| p[key] = convert_html_links(p[key]) }
115
+
116
+ if widget_pool_params = p['_widget_pool']
117
+ convert_widget_pool_params(@obj, widget_pool_params)
116
118
  end
117
119
  end
118
120
  end
119
121
  end
120
122
 
123
+ def convert_widget_pool_params(obj, widget_pool_params)
124
+ widget_pool_params.each_pair do |widget_id, widget_params|
125
+ widget = obj.widget_from_pool(widget_id)
126
+
127
+ widget_params.each_pair do |param_name, param_value|
128
+ if widget.type_of_attribute(param_name) == 'html'
129
+ widget_params[param_name] = convert_html_links(param_value)
130
+ end
131
+ end
132
+ end
133
+ end
134
+
135
+ def convert_html_links(html)
136
+ ContentConversion.convert_html_links(html, request.host, request.port)
137
+ end
138
+
121
139
  def copy_obj(copied_attributes, target_path=nil)
122
140
  copied_attributes.delete('id')
123
141
  copied_attributes.delete('_last_changed')
data/config/ca-bundle.crt CHANGED
@@ -1,7 +1,7 @@
1
1
  ##
2
2
  ## /Network/Servers/xs2.infopark/Users/develop/dcc/tmp/Rails_Connector__Kris__dev__93/repos/cloud_connector/config/ca-bundle.crt -- Bundle of CA Root Certificates
3
3
  ##
4
- ## Converted at: Mon Nov 11 13:18:12 2013 UTC
4
+ ## Converted at: Tue Nov 12 13:43:40 2013 UTC
5
5
  ##
6
6
  ## This is a bundle of X.509 certificates of public Certificate Authorities
7
7
  ## (CA). These were automatically extracted from Mozilla's root certificates
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: infopark_cloud_connector
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.0
4
+ version: 7.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Infopark AG
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-11 00:00:00.000000000 Z
11
+ date: 2013-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails