decidim-admin 0.15.0 → 0.15.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of decidim-admin might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 80718ee2bf49078f7268ddc1eb85c6ad20dae86a791ff25ea9a40611e219c7e1
4
- data.tar.gz: 8d804ce82ffcb98c5440cb8abd5f6a88b8dc1a08e47a00bfd21484bb5e902317
3
+ metadata.gz: 4a73cc811f3542bdd5dfce5f86bf697401aa3d122d217fd675a61bfd09d04af1
4
+ data.tar.gz: 65220f77397407604b81a56c36b11b597049e92e7a5c5c7ab311b42591dd4256
5
5
  SHA512:
6
- metadata.gz: 7ebf9222936e3a1e6adaaa29fd2538fee70aa080bbd01fb72840f2a870d2d9d75abb2ca7ba2fe20f7c696c6da99f4584a8d40f44368d267f78dc5832ff16e274
7
- data.tar.gz: 92b015d241de613bb587d1a95891a0bcc252fd600e55ba3d6921710582f22d14d2e2363ac5409a42a6b67b19e283cb201ba6ab2796aaca0495989229e9e2b35c
6
+ metadata.gz: 94f4267f67126734c6a0b8a60a50607671832ccdb50a7f508f0b83b12f51e7de1002a20562206a490530d8d94e3525635fbd470eb1266b0aaf32322bb39ac13a
7
+ data.tar.gz: e4d289092182058712e1ed8b83ff304d94fde7bdae63f99c8ac1e7114578ae26bd087791338792e4bb5242ec85f75fbd09af56963870ac59449a0e33003a6b9f
@@ -43,10 +43,10 @@ module Decidim
43
43
  content_block.manifest.images.each do |image_config|
44
44
  image_name = image_config[:name]
45
45
 
46
- if form.images["remove_#{image_name}".to_sym]
47
- content_block.images_container.send("remove_#{image_name}=", true)
48
- elsif form.images[image_name]
46
+ if form.images[image_name]
49
47
  content_block.images_container.send("#{image_name}=", form.images[image_name])
48
+ elsif form.images["remove_#{image_name}".to_sym] == "1"
49
+ content_block.images_container.send("remove_#{image_name}=", true)
50
50
  end
51
51
  end
52
52
  end
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-admin version.
5
5
  module Admin
6
6
  def self.version
7
- "0.15.0"
7
+ "0.15.1"
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-admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.15.1
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-11-12 00:00:00.000000000 Z
13
+ date: 2018-11-23 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: active_link_to
@@ -32,14 +32,14 @@ dependencies:
32
32
  requirements:
33
33
  - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 0.15.0
35
+ version: 0.15.1
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - '='
41
41
  - !ruby/object:Gem::Version
42
- version: 0.15.0
42
+ version: 0.15.1
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: devise
45
45
  requirement: !ruby/object:Gem::Requirement
@@ -136,28 +136,28 @@ dependencies:
136
136
  requirements:
137
137
  - - '='
138
138
  - !ruby/object:Gem::Version
139
- version: 0.15.0
139
+ version: 0.15.1
140
140
  type: :development
141
141
  prerelease: false
142
142
  version_requirements: !ruby/object:Gem::Requirement
143
143
  requirements:
144
144
  - - '='
145
145
  - !ruby/object:Gem::Version
146
- version: 0.15.0
146
+ version: 0.15.1
147
147
  - !ruby/object:Gem::Dependency
148
148
  name: decidim-participatory_processes
149
149
  requirement: !ruby/object:Gem::Requirement
150
150
  requirements:
151
151
  - - '='
152
152
  - !ruby/object:Gem::Version
153
- version: 0.15.0
153
+ version: 0.15.1
154
154
  type: :development
155
155
  prerelease: false
156
156
  version_requirements: !ruby/object:Gem::Requirement
157
157
  requirements:
158
158
  - - '='
159
159
  - !ruby/object:Gem::Version
160
- version: 0.15.0
160
+ version: 0.15.1
161
161
  description: Organization administration to manage a single organization.
162
162
  email:
163
163
  - josepjaume@gmail.com