decidim-core 0.14.2 → 0.14.3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of decidim-core might be problematic. Click here for more details.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a59c31513fec68ab1783f7cad6d718d55133f0a5c56b87610564032bd894deb
|
4
|
+
data.tar.gz: '093075e8534feba75b2df34eeca679283796df7661f780b1a31e1eee62dba4f3'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ac5034b6d60bde3876a8b43c6fd4d1a60fe6034b0703092433e5551de52c9356c2641b2bbc173c7115285b417380eb350c194b8e3821335f8869b74f89b2634
|
7
|
+
data.tar.gz: 252c0e200748cac79d7957731f9054e8c8d76231e20265c80214669a846c760093c8a8c9e2ed303d13261ed622ac02681f8740b857042c317d35fa04068d08aa
|
@@ -6,10 +6,11 @@ class MoveOrganizationFieldsToHeroContentBlock < ActiveRecord::Migration[5.2]
|
|
6
6
|
end
|
7
7
|
|
8
8
|
def change
|
9
|
+
Decidim::ContentBlock.reset_column_information
|
9
10
|
Decidim::Organization.find_each do |organization|
|
10
11
|
content_block = Decidim::ContentBlock.find_by(organization: organization, scope: :homepage, manifest_name: :hero)
|
11
12
|
settings = {}
|
12
|
-
welcome_text = organization.welcome_text
|
13
|
+
welcome_text = organization.welcome_text || {}
|
13
14
|
settings = welcome_text.inject(settings) { |acc, (k, v)| acc.update("welcome_text_#{k}" => v) }
|
14
15
|
|
15
16
|
content_block.settings = settings
|
data/lib/decidim/core/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.14.
|
4
|
+
version: 0.14.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josep Jaume Rey Peroy
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2018-10-
|
13
|
+
date: 2018-10-09 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: active_link_to
|
@@ -656,28 +656,28 @@ dependencies:
|
|
656
656
|
requirements:
|
657
657
|
- - '='
|
658
658
|
- !ruby/object:Gem::Version
|
659
|
-
version: 0.14.
|
659
|
+
version: 0.14.3
|
660
660
|
type: :runtime
|
661
661
|
prerelease: false
|
662
662
|
version_requirements: !ruby/object:Gem::Requirement
|
663
663
|
requirements:
|
664
664
|
- - '='
|
665
665
|
- !ruby/object:Gem::Version
|
666
|
-
version: 0.14.
|
666
|
+
version: 0.14.3
|
667
667
|
- !ruby/object:Gem::Dependency
|
668
668
|
name: decidim-dev
|
669
669
|
requirement: !ruby/object:Gem::Requirement
|
670
670
|
requirements:
|
671
671
|
- - '='
|
672
672
|
- !ruby/object:Gem::Version
|
673
|
-
version: 0.14.
|
673
|
+
version: 0.14.3
|
674
674
|
type: :development
|
675
675
|
prerelease: false
|
676
676
|
version_requirements: !ruby/object:Gem::Requirement
|
677
677
|
requirements:
|
678
678
|
- - '='
|
679
679
|
- !ruby/object:Gem::Version
|
680
|
-
version: 0.14.
|
680
|
+
version: 0.14.3
|
681
681
|
description: Adds core features so other engines can hook into the framework.
|
682
682
|
email:
|
683
683
|
- josepjaume@gmail.com
|