infopark_rails_connector 6.8.0.beta.200.681.7c84f4a → 6.8.0.beta.200.713.e5c3150

Sign up to get free protection for your applications and to get access to all the features.
@@ -129,7 +129,17 @@ module RailsConnector
129
129
  CmsBaseModel.configure_database("cms")
130
130
  else
131
131
  CmsBaseModel.configure_database(local_config_file["cms_database"])
132
- Blob.configure(local_config_file["cms_blob_storage"])
132
+ blob_storage_config = local_config_file["cms_blob_storage"]
133
+ Blob.configure(blob_storage_config)
134
+
135
+ dict_storage_config =
136
+ if blob_storage_config["type"] == "s3"
137
+ cms_dict_storage = local_config_file.with_default({}, "cms_dict_storage")
138
+ blob_storage_config.merge(cms_dict_storage)
139
+ else
140
+ local_config_file["cms_dict_storage"]
141
+ end
142
+ DictStorage.configure(dict_storage_config)
133
143
  end
134
144
  end
135
145
 
@@ -210,6 +220,10 @@ module RailsConnector
210
220
  "cms_blob_storage",
211
221
  "a hash of options, including type, that specify the cms blob storage configuration"
212
222
  )
223
+ config.explain(
224
+ "cms_dict_storage",
225
+ "a hash of options, including type, that specify the cms dict storage configuration"
226
+ )
213
227
  config.explain(
214
228
  "search",
215
229
  "a hash of options that specify access to the search server"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: infopark_rails_connector
3
3
  version: !ruby/object:Gem::Version
4
- hash: 371229963002
4
+ hash: -109774076840
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 6
@@ -9,14 +9,12 @@ version: !ruby/object:Gem::Version
9
9
  - 0
10
10
  - beta
11
11
  - 200
12
- - 681
13
- - 7
12
+ - 713
13
+ - e
14
+ - 5
14
15
  - c
15
- - 84
16
- - f
17
- - 4
18
- - a
19
- version: 6.8.0.beta.200.681.7c84f4a
16
+ - 3150
17
+ version: 6.8.0.beta.200.713.e5c3150
20
18
  platform: ruby
21
19
  authors:
22
20
  - Infopark AG
@@ -24,7 +22,7 @@ autorequire:
24
22
  bindir: bin
25
23
  cert_chain: []
26
24
 
27
- date: 2012-06-26 00:00:00 +02:00
25
+ date: 2012-06-29 00:00:00 +02:00
28
26
  default_executable:
29
27
  dependencies:
30
28
  - !ruby/object:Gem::Dependency