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: 1635a30f61ba67d8f90f51e56de0dad0963754cb38f536ab92c9f4547171f212
4
- data.tar.gz: 6eb176f23ef6e2ec00b9bb3a3a786129b1fd7f97c29ce5acc2fe26ec4d2eb521
3
+ metadata.gz: 0a59c31513fec68ab1783f7cad6d718d55133f0a5c56b87610564032bd894deb
4
+ data.tar.gz: '093075e8534feba75b2df34eeca679283796df7661f780b1a31e1eee62dba4f3'
5
5
  SHA512:
6
- metadata.gz: bf9b1582e00bf4346c6bac70ce11efeb5510c7a0d242d770019addc7bad582dabde093fd5d505689adf65c9add331ceaafd93442d7c8b7e2ccd628731776c63c
7
- data.tar.gz: 7813ccb1b576209f98772b81633b8f17d6c3efc6a2602d1e36bc688f3d19cb20ae0b1c13abbc97fc8125fd0db6644b1b78069d20ca43311cee5b3d5a33a48ef4
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
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-core version.
5
5
  module Core
6
6
  def self.version
7
- "0.14.2"
7
+ "0.14.3"
8
8
  end
9
9
  end
10
10
  end
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.2
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-03 00:00:00.000000000 Z
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.2
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.2
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.2
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.2
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