decidim-templates 0.25.2 → 0.26.0.rc1

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

Potentially problematic release.


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

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 277dfa1ca16dcd865a8f711a385ffa7c5af39f082a208182a31d295e4fb546a6
4
- data.tar.gz: '001178346e34fd71c4fab1ead0b3592156381172fcfc2c6d6c3f8edf7de240b3'
3
+ metadata.gz: a54789aa4eebb379aadd3b430de1695925216b9fe840fbc0d420ee28fb0294a0
4
+ data.tar.gz: 0bd8d5d3413546ab4dbbe3bea77d1e0da0ef0a59a6f4057ac895bb99197bb52e
5
5
  SHA512:
6
- metadata.gz: c5fdea7bd11f9440f65560250df7b00aeaf8e1882e7cb59ce4c906f8e7e23eb7f88030679900ac0642225ed00aa24e825d4fceb8342d041e1fcd1da5c55324fa
7
- data.tar.gz: b8972dc1c701c6cf20c68cae42d151534d26cba96678b8b7eef3be945588f12637eb2a7688aee53b1f970e15099128a871e4780dd0593c73904b80c04f656958
6
+ metadata.gz: 18a1bc9ddacad72b8674606e57c52100ae1abbeaea1da547ff340aa11861520ff568c9b4a9a0d107dc5ad13c0828bd38f81321db1180a391f9618b4bfb1796ad
7
+ data.tar.gz: ca0864d6225cc38e225804e4cb55f3bdd9280724230bd11e651a67e1cdede78a7aa74cc831c655ba747722a1ba57c45b9545511b450db117a202e1df672050b3
@@ -108,7 +108,7 @@ module Decidim
108
108
  ApplyQuestionnaireTemplate.call(questionnaire, template) do
109
109
  on(:ok) do
110
110
  flash[:notice] = I18n.t("templates.apply.success", scope: "decidim.admin")
111
- redirect_to params[:url]
111
+ redirect_to URI.parse(params[:url]).path
112
112
  end
113
113
  on(:invalid) do
114
114
  flash[:error] = I18n.t("templates.apply.error", scope: "decidim.admin")
@@ -132,7 +132,7 @@ module Decidim
132
132
  # rubocop:disable Rails/SkipsModelValidations
133
133
  questionnaire.touch
134
134
  # rubocop:enable Rails/SkipsModelValidations
135
- redirect_to params[:url]
135
+ redirect_to URI.parse(params[:url]).path
136
136
  end
137
137
 
138
138
  private
@@ -1,4 +1,4 @@
1
- pt:
1
+ pt-BR:
2
2
  activemodel:
3
3
  attributes:
4
4
  questionnaire:
@@ -0,0 +1 @@
1
+ val:
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-templates version.
5
5
  module Templates
6
6
  def self.version
7
- "0.25.2"
7
+ "0.26.0.rc1"
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-templates
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.25.2
4
+ version: 0.26.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vera Rojman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-25 00:00:00.000000000 Z
11
+ date: 2022-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: decidim-core
@@ -16,56 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.25.2
19
+ version: 0.26.0.rc1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.25.2
26
+ version: 0.26.0.rc1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: decidim-forms
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.25.2
33
+ version: 0.26.0.rc1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 0.25.2
40
+ version: 0.26.0.rc1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: decidim-admin
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 0.25.2
47
+ version: 0.26.0.rc1
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 0.25.2
54
+ version: 0.26.0.rc1
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: decidim-dev
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 0.25.2
61
+ version: 0.26.0.rc1
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 0.25.2
68
+ version: 0.26.0.rc1
69
69
  description: This module provides a solution to create templates for different Decidim
70
70
  models, such as Proposals and Questionnaires..
71
71
  email:
@@ -161,6 +161,7 @@ files:
161
161
  - config/locales/ti-ER.yml
162
162
  - config/locales/tr-TR.yml
163
163
  - config/locales/uk.yml
164
+ - config/locales/val-ES.yml
164
165
  - config/locales/vi-VN.yml
165
166
  - config/locales/vi.yml
166
167
  - config/locales/zh-CN.yml
@@ -190,11 +191,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
190
191
  version: '2.7'
191
192
  required_rubygems_version: !ruby/object:Gem::Requirement
192
193
  requirements:
193
- - - ">="
194
+ - - ">"
194
195
  - !ruby/object:Gem::Version
195
- version: '0'
196
+ version: 1.3.1
196
197
  requirements: []
197
- rubygems_version: 3.1.2
198
+ rubygems_version: 3.1.6
198
199
  signing_key:
199
200
  specification_version: 4
200
201
  summary: A decidim templates module