decidim-generators 0.25.0.rc4 → 0.26.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -0
- data/Gemfile.lock +185 -204
- data/lib/decidim/generators/app_templates/initializer.rb +11 -1
- data/lib/decidim/generators/app_templates/secrets.yml.erb +15 -8
- data/lib/decidim/generators/component_generator.rb +4 -2
- data/lib/decidim/generators/component_templates/app/packs/js/entrypoint.js +2 -0
- data/lib/decidim/generators/component_templates/app/packs/stylesheets/decidim/default.scss +1 -0
- data/lib/decidim/generators/component_templates/config/assets.rb.erb +9 -0
- data/lib/decidim/generators/component_templates/lib/decidim/component/engine.rb.erb +4 -0
- data/lib/decidim/generators/install_generator.rb +5 -0
- data/lib/decidim/generators/version.rb +1 -1
- metadata +11 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 808af715fe8808847c36e5838c0f3113cc11eb37a0b70dd47e820aeedf1a6ac5
|
4
|
+
data.tar.gz: 89c353a7d90d32522d4c116e95543238c2628ca23fea57f87087106c0c572a7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed7672fb04e323c1f3e3dd407eaa7b4380ac25438cdbd1f1d959386edd7c704dc108109d8fd08264a7068ba6552343f4891ba16de72cd453f5c9c8674f34d829
|
7
|
+
data.tar.gz: d78e5f1ac637d81eb5174162a235f075e3a46a9d3497d6c144eecf3c2fe39638b5b3343c978f487d2faa0db9339cd8525a213ed49fe129dad86d35e5a527e705
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,65 +1,64 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
decidim (0.
|
5
|
-
decidim-accountability (= 0.
|
6
|
-
decidim-admin (= 0.
|
7
|
-
decidim-api (= 0.
|
8
|
-
decidim-assemblies (= 0.
|
9
|
-
decidim-blogs (= 0.
|
10
|
-
decidim-budgets (= 0.
|
11
|
-
decidim-comments (= 0.
|
12
|
-
decidim-core (= 0.
|
13
|
-
decidim-debates (= 0.
|
14
|
-
decidim-forms (= 0.
|
15
|
-
decidim-generators (= 0.
|
16
|
-
decidim-meetings (= 0.
|
17
|
-
decidim-pages (= 0.
|
18
|
-
decidim-participatory_processes (= 0.
|
19
|
-
decidim-proposals (= 0.
|
20
|
-
decidim-sortitions (= 0.
|
21
|
-
decidim-surveys (= 0.
|
22
|
-
decidim-system (= 0.
|
23
|
-
decidim-templates (= 0.
|
24
|
-
decidim-verifications (= 0.
|
25
|
-
decidim-accountability (0.
|
26
|
-
decidim-comments (= 0.
|
27
|
-
decidim-core (= 0.
|
28
|
-
decidim-admin (0.
|
4
|
+
decidim (0.26.0.rc1)
|
5
|
+
decidim-accountability (= 0.26.0.rc1)
|
6
|
+
decidim-admin (= 0.26.0.rc1)
|
7
|
+
decidim-api (= 0.26.0.rc1)
|
8
|
+
decidim-assemblies (= 0.26.0.rc1)
|
9
|
+
decidim-blogs (= 0.26.0.rc1)
|
10
|
+
decidim-budgets (= 0.26.0.rc1)
|
11
|
+
decidim-comments (= 0.26.0.rc1)
|
12
|
+
decidim-core (= 0.26.0.rc1)
|
13
|
+
decidim-debates (= 0.26.0.rc1)
|
14
|
+
decidim-forms (= 0.26.0.rc1)
|
15
|
+
decidim-generators (= 0.26.0.rc1)
|
16
|
+
decidim-meetings (= 0.26.0.rc1)
|
17
|
+
decidim-pages (= 0.26.0.rc1)
|
18
|
+
decidim-participatory_processes (= 0.26.0.rc1)
|
19
|
+
decidim-proposals (= 0.26.0.rc1)
|
20
|
+
decidim-sortitions (= 0.26.0.rc1)
|
21
|
+
decidim-surveys (= 0.26.0.rc1)
|
22
|
+
decidim-system (= 0.26.0.rc1)
|
23
|
+
decidim-templates (= 0.26.0.rc1)
|
24
|
+
decidim-verifications (= 0.26.0.rc1)
|
25
|
+
decidim-accountability (0.26.0.rc1)
|
26
|
+
decidim-comments (= 0.26.0.rc1)
|
27
|
+
decidim-core (= 0.26.0.rc1)
|
28
|
+
decidim-admin (0.26.0.rc1)
|
29
29
|
active_link_to (~> 1.0)
|
30
|
-
decidim-core (= 0.
|
30
|
+
decidim-core (= 0.26.0.rc1)
|
31
31
|
devise (~> 4.7)
|
32
32
|
devise-i18n (~> 1.2)
|
33
33
|
devise_invitable (~> 2.0)
|
34
|
-
decidim-api (0.
|
34
|
+
decidim-api (0.26.0.rc1)
|
35
35
|
graphql (~> 1.12, >= 1.12.3)
|
36
36
|
rack-cors (~> 1.0)
|
37
37
|
redcarpet (~> 3.5, >= 3.5.1)
|
38
|
-
decidim-assemblies (0.
|
39
|
-
decidim-core (= 0.
|
40
|
-
decidim-blogs (0.
|
41
|
-
decidim-admin (= 0.
|
42
|
-
decidim-comments (= 0.
|
43
|
-
decidim-core (= 0.
|
44
|
-
decidim-budgets (0.
|
45
|
-
decidim-comments (= 0.
|
46
|
-
decidim-core (= 0.
|
47
|
-
decidim-comments (0.
|
48
|
-
decidim-core (= 0.
|
38
|
+
decidim-assemblies (0.26.0.rc1)
|
39
|
+
decidim-core (= 0.26.0.rc1)
|
40
|
+
decidim-blogs (0.26.0.rc1)
|
41
|
+
decidim-admin (= 0.26.0.rc1)
|
42
|
+
decidim-comments (= 0.26.0.rc1)
|
43
|
+
decidim-core (= 0.26.0.rc1)
|
44
|
+
decidim-budgets (0.26.0.rc1)
|
45
|
+
decidim-comments (= 0.26.0.rc1)
|
46
|
+
decidim-core (= 0.26.0.rc1)
|
47
|
+
decidim-comments (0.26.0.rc1)
|
48
|
+
decidim-core (= 0.26.0.rc1)
|
49
49
|
redcarpet (~> 3.5, >= 3.5.1)
|
50
|
-
decidim-conferences (0.
|
51
|
-
decidim-core (= 0.
|
52
|
-
decidim-meetings (= 0.
|
50
|
+
decidim-conferences (0.26.0.rc1)
|
51
|
+
decidim-core (= 0.26.0.rc1)
|
52
|
+
decidim-meetings (= 0.26.0.rc1)
|
53
53
|
wicked_pdf (~> 2.1)
|
54
54
|
wkhtmltopdf-binary (~> 0.12)
|
55
|
-
decidim-consultations (0.
|
56
|
-
decidim-admin (= 0.
|
57
|
-
decidim-comments (= 0.
|
58
|
-
decidim-core (= 0.
|
59
|
-
decidim-core (0.
|
55
|
+
decidim-consultations (0.26.0.rc1)
|
56
|
+
decidim-admin (= 0.26.0.rc1)
|
57
|
+
decidim-comments (= 0.26.0.rc1)
|
58
|
+
decidim-core (= 0.26.0.rc1)
|
59
|
+
decidim-core (0.26.0.rc1)
|
60
60
|
active_link_to (~> 1.0)
|
61
61
|
acts_as_list (~> 0.9)
|
62
|
-
anchored (~> 1.1)
|
63
62
|
batch-loader (~> 1.2)
|
64
63
|
browser (~> 2.7)
|
65
64
|
carrierwave (~> 2.2.1)
|
@@ -67,13 +66,12 @@ PATH
|
|
67
66
|
cells-rails (~> 0.1.3)
|
68
67
|
charlock_holmes (~> 0.7)
|
69
68
|
date_validator (~> 0.9.0)
|
70
|
-
decidim-api (= 0.
|
69
|
+
decidim-api (= 0.26.0.rc1)
|
71
70
|
devise (~> 4.7)
|
72
71
|
devise-i18n (~> 1.2)
|
73
72
|
diffy (~> 3.3)
|
74
73
|
doorkeeper (~> 5.1)
|
75
74
|
doorkeeper-i18n (~> 4.0)
|
76
|
-
etherpad-lite (~> 0.3)
|
77
75
|
file_validators (~> 2.1)
|
78
76
|
fog-local (~> 0.6)
|
79
77
|
foundation_rails_helper
|
@@ -82,21 +80,21 @@ PATH
|
|
82
80
|
invisible_captcha (~> 0.12)
|
83
81
|
kaminari (~> 1.2, >= 1.2.1)
|
84
82
|
loofah (~> 2.3.1)
|
83
|
+
mime-types (>= 1.16, < 4.0)
|
85
84
|
mini_magick (~> 4.9)
|
86
85
|
mustache (~> 1.1.0)
|
87
|
-
|
88
|
-
omniauth (~> 1.9)
|
86
|
+
omniauth (~> 2.0)
|
89
87
|
omniauth-facebook (~> 5.0)
|
90
|
-
omniauth-google-oauth2 (~> 0
|
91
|
-
omniauth-rails_csrf_protection (~> 0
|
88
|
+
omniauth-google-oauth2 (~> 1.0)
|
89
|
+
omniauth-rails_csrf_protection (~> 1.0)
|
92
90
|
omniauth-twitter (~> 1.4)
|
93
|
-
paper_trail (~>
|
91
|
+
paper_trail (~> 12.0)
|
94
92
|
pg (~> 1.1.4, < 2)
|
95
93
|
pg_search (~> 2.2)
|
96
94
|
premailer-rails (~> 1.10)
|
97
95
|
rack (~> 2.2, >= 2.2.3)
|
98
96
|
rack-attack (~> 6.0)
|
99
|
-
rails (~> 6.0)
|
97
|
+
rails (~> 6.0.4)
|
100
98
|
rails-i18n (~> 6.0)
|
101
99
|
ransack (~> 2.4.1)
|
102
100
|
rectify (~> 0.13.0)
|
@@ -107,24 +105,23 @@ PATH
|
|
107
105
|
searchlight (~> 4.1)
|
108
106
|
seven_zip_ruby (~> 1.3)
|
109
107
|
social-share-button (~> 1.2, >= 1.2.1)
|
110
|
-
truncato (~> 0.7)
|
111
108
|
valid_email2 (~> 2.1)
|
112
|
-
webpacker (
|
109
|
+
webpacker (= 6.0.0.rc.5)
|
113
110
|
wisper (~> 2.0)
|
114
|
-
decidim-debates (0.
|
115
|
-
decidim-comments (= 0.
|
116
|
-
decidim-core (= 0.
|
117
|
-
decidim-dev (0.
|
111
|
+
decidim-debates (0.26.0.rc1)
|
112
|
+
decidim-comments (= 0.26.0.rc1)
|
113
|
+
decidim-core (= 0.26.0.rc1)
|
114
|
+
decidim-dev (0.26.0.rc1)
|
118
115
|
axe-core-rspec (~> 4.1.0)
|
119
116
|
byebug (~> 11.0)
|
120
117
|
capybara (~> 3.24)
|
121
118
|
db-query-matchers (~> 0.10.0)
|
122
|
-
decidim (= 0.
|
119
|
+
decidim (= 0.26.0.rc1)
|
123
120
|
erb_lint (~> 0.0.35)
|
124
121
|
factory_bot_rails (~> 4.8)
|
125
122
|
i18n-tasks (~> 0.9.18)
|
126
123
|
mdl (~> 0.5)
|
127
|
-
nokogiri (~> 1.
|
124
|
+
nokogiri (~> 1.12)
|
128
125
|
puma (~> 5.0)
|
129
126
|
rails-controller-testing (~> 1.0)
|
130
127
|
rspec-cells (~> 0.3.4)
|
@@ -142,63 +139,63 @@ PATH
|
|
142
139
|
w3c_rspec_validators (~> 0.3.0)
|
143
140
|
webmock (~> 3.6)
|
144
141
|
wisper-rspec (~> 1.0)
|
145
|
-
decidim-elections (0.
|
146
|
-
decidim-bulletin_board (= 0.
|
147
|
-
decidim-core (= 0.
|
148
|
-
decidim-forms (= 0.
|
149
|
-
decidim-proposals (= 0.
|
142
|
+
decidim-elections (0.26.0.rc1)
|
143
|
+
decidim-bulletin_board (= 0.22.3)
|
144
|
+
decidim-core (= 0.26.0.rc1)
|
145
|
+
decidim-forms (= 0.26.0.rc1)
|
146
|
+
decidim-proposals (= 0.26.0.rc1)
|
150
147
|
rack-attack (~> 6.0)
|
151
|
-
voting_schemes-dummy (= 0.
|
152
|
-
voting_schemes-electionguard (= 0.
|
153
|
-
decidim-forms (0.
|
154
|
-
decidim-core (= 0.
|
148
|
+
voting_schemes-dummy (= 0.22.3)
|
149
|
+
voting_schemes-electionguard (= 0.22.3)
|
150
|
+
decidim-forms (0.26.0.rc1)
|
151
|
+
decidim-core (= 0.26.0.rc1)
|
155
152
|
wicked_pdf (~> 2.1)
|
156
153
|
wkhtmltopdf-binary (~> 0.12)
|
157
|
-
decidim-generators (0.
|
158
|
-
decidim-core (= 0.
|
159
|
-
decidim-initiatives (0.
|
160
|
-
decidim-admin (= 0.
|
161
|
-
decidim-comments (= 0.
|
162
|
-
decidim-core (= 0.
|
163
|
-
decidim-verifications (= 0.
|
154
|
+
decidim-generators (0.26.0.rc1)
|
155
|
+
decidim-core (= 0.26.0.rc1)
|
156
|
+
decidim-initiatives (0.26.0.rc1)
|
157
|
+
decidim-admin (= 0.26.0.rc1)
|
158
|
+
decidim-comments (= 0.26.0.rc1)
|
159
|
+
decidim-core (= 0.26.0.rc1)
|
160
|
+
decidim-verifications (= 0.26.0.rc1)
|
164
161
|
origami (~> 2.1)
|
165
162
|
virtus-multiparams (~> 0.1)
|
166
163
|
wicked (~> 1.3)
|
167
164
|
wicked_pdf (~> 2.1)
|
168
165
|
wkhtmltopdf-binary (~> 0.12)
|
169
|
-
decidim-meetings (0.
|
170
|
-
decidim-core (= 0.
|
171
|
-
decidim-forms (= 0.
|
166
|
+
decidim-meetings (0.26.0.rc1)
|
167
|
+
decidim-core (= 0.26.0.rc1)
|
168
|
+
decidim-forms (= 0.26.0.rc1)
|
172
169
|
icalendar (~> 2.5)
|
173
|
-
decidim-pages (0.
|
174
|
-
decidim-core (= 0.
|
175
|
-
decidim-participatory_processes (0.
|
176
|
-
decidim-core (= 0.
|
177
|
-
decidim-proposals (0.
|
178
|
-
decidim-comments (= 0.
|
179
|
-
decidim-core (= 0.
|
180
|
-
doc2text (~> 0.4.
|
170
|
+
decidim-pages (0.26.0.rc1)
|
171
|
+
decidim-core (= 0.26.0.rc1)
|
172
|
+
decidim-participatory_processes (0.26.0.rc1)
|
173
|
+
decidim-core (= 0.26.0.rc1)
|
174
|
+
decidim-proposals (0.26.0.rc1)
|
175
|
+
decidim-comments (= 0.26.0.rc1)
|
176
|
+
decidim-core (= 0.26.0.rc1)
|
177
|
+
doc2text (~> 0.4.4)
|
181
178
|
redcarpet (~> 3.5, >= 3.5.1)
|
182
|
-
decidim-sortitions (0.
|
183
|
-
decidim-admin (= 0.
|
184
|
-
decidim-comments (= 0.
|
185
|
-
decidim-core (= 0.
|
186
|
-
decidim-proposals (= 0.
|
187
|
-
decidim-surveys (0.
|
188
|
-
decidim-core (= 0.
|
189
|
-
decidim-forms (= 0.
|
190
|
-
decidim-templates (= 0.
|
191
|
-
decidim-system (0.
|
179
|
+
decidim-sortitions (0.26.0.rc1)
|
180
|
+
decidim-admin (= 0.26.0.rc1)
|
181
|
+
decidim-comments (= 0.26.0.rc1)
|
182
|
+
decidim-core (= 0.26.0.rc1)
|
183
|
+
decidim-proposals (= 0.26.0.rc1)
|
184
|
+
decidim-surveys (0.26.0.rc1)
|
185
|
+
decidim-core (= 0.26.0.rc1)
|
186
|
+
decidim-forms (= 0.26.0.rc1)
|
187
|
+
decidim-templates (= 0.26.0.rc1)
|
188
|
+
decidim-system (0.26.0.rc1)
|
192
189
|
active_link_to (~> 1.0)
|
193
|
-
decidim-core (= 0.
|
190
|
+
decidim-core (= 0.26.0.rc1)
|
194
191
|
devise (~> 4.7)
|
195
192
|
devise-i18n (~> 1.2)
|
196
193
|
devise_invitable (~> 2.0)
|
197
|
-
decidim-templates (0.
|
198
|
-
decidim-core (= 0.
|
199
|
-
decidim-forms (= 0.
|
200
|
-
decidim-verifications (0.
|
201
|
-
decidim-core (= 0.
|
194
|
+
decidim-templates (0.26.0.rc1)
|
195
|
+
decidim-core (= 0.26.0.rc1)
|
196
|
+
decidim-forms (= 0.26.0.rc1)
|
197
|
+
decidim-verifications (0.26.0.rc1)
|
198
|
+
decidim-core (= 0.26.0.rc1)
|
202
199
|
|
203
200
|
GEM
|
204
201
|
remote: https://rubygems.org/
|
@@ -265,14 +262,10 @@ GEM
|
|
265
262
|
activerecord (>= 3.0)
|
266
263
|
addressable (2.8.0)
|
267
264
|
public_suffix (>= 2.0.2, < 5.0)
|
268
|
-
anchored (1.1.0)
|
269
265
|
ast (2.4.2)
|
270
|
-
axe-core-api (4.2
|
271
|
-
capybara
|
266
|
+
axe-core-api (4.3.2)
|
272
267
|
dumb_delegator
|
273
|
-
selenium-webdriver
|
274
268
|
virtus
|
275
|
-
watir
|
276
269
|
axe-core-rspec (4.1.0)
|
277
270
|
axe-core-api
|
278
271
|
dumb_delegator
|
@@ -294,11 +287,13 @@ GEM
|
|
294
287
|
bindex (0.8.1)
|
295
288
|
bootsnap (1.7.5)
|
296
289
|
msgpack (~> 1.0)
|
290
|
+
brakeman (5.1.1)
|
297
291
|
browser (2.7.1)
|
298
292
|
builder (3.2.4)
|
299
293
|
byebug (11.1.3)
|
300
|
-
capybara (3.
|
294
|
+
capybara (3.36.0)
|
301
295
|
addressable
|
296
|
+
matrix
|
302
297
|
mini_mime (>= 0.1.3)
|
303
298
|
nokogiri (~> 1.8)
|
304
299
|
rack (>= 1.6.0)
|
@@ -325,7 +320,7 @@ GEM
|
|
325
320
|
actionpack (>= 5.0)
|
326
321
|
cells (>= 4.1.6, < 5.0.0)
|
327
322
|
charlock_holmes (0.7.7)
|
328
|
-
chef-utils (17.
|
323
|
+
chef-utils (17.9.26)
|
329
324
|
concurrent-ruby
|
330
325
|
childprocess (3.0.0)
|
331
326
|
coercible (1.0.0)
|
@@ -342,7 +337,7 @@ GEM
|
|
342
337
|
crack (0.4.5)
|
343
338
|
rexml
|
344
339
|
crass (1.0.6)
|
345
|
-
css_parser (1.
|
340
|
+
css_parser (1.11.0)
|
346
341
|
addressable
|
347
342
|
date_validator (0.9.0)
|
348
343
|
activemodel
|
@@ -350,37 +345,35 @@ GEM
|
|
350
345
|
db-query-matchers (0.10.0)
|
351
346
|
activesupport (>= 4.0, < 7)
|
352
347
|
rspec (~> 3.0)
|
353
|
-
decidim-bulletin_board (0.
|
348
|
+
decidim-bulletin_board (0.22.3)
|
354
349
|
byebug (~> 11.0)
|
355
350
|
graphlient (~> 0.4.0)
|
356
351
|
jwt (~> 2.2.2)
|
357
|
-
rails (>= 5.0.0)
|
352
|
+
rails (~> 6.0, >= 5.0.0)
|
358
353
|
wisper (~> 2.0.0)
|
359
354
|
declarative-builder (0.1.0)
|
360
355
|
declarative-option (< 0.2.0)
|
361
356
|
declarative-option (0.1.0)
|
362
357
|
descendants_tracker (0.0.4)
|
363
358
|
thread_safe (~> 0.3, >= 0.3.1)
|
364
|
-
devise (4.8.
|
359
|
+
devise (4.8.1)
|
365
360
|
bcrypt (~> 3.0)
|
366
361
|
orm_adapter (~> 0.1)
|
367
362
|
railties (>= 4.1.0)
|
368
363
|
responders
|
369
364
|
warden (~> 1.2.3)
|
370
|
-
devise-i18n (1.10.
|
365
|
+
devise-i18n (1.10.1)
|
371
366
|
devise (>= 4.8.0)
|
372
|
-
devise_invitable (2.0.
|
367
|
+
devise_invitable (2.0.6)
|
373
368
|
actionmailer (>= 5.0)
|
374
369
|
devise (>= 4.6)
|
375
|
-
diff-lcs (1.
|
370
|
+
diff-lcs (1.5.0)
|
376
371
|
diffy (3.4.0)
|
377
|
-
doc2text (0.4.
|
378
|
-
nokogiri (
|
372
|
+
doc2text (0.4.4)
|
373
|
+
nokogiri (>= 1.12.5, < 1.13.0)
|
379
374
|
rubyzip (~> 2.3.0)
|
380
375
|
docile (1.4.0)
|
381
|
-
|
382
|
-
unf (>= 0.0.5, < 1.0.0)
|
383
|
-
doorkeeper (5.5.2)
|
376
|
+
doorkeeper (5.5.4)
|
384
377
|
railties (>= 5)
|
385
378
|
doorkeeper-i18n (4.0.1)
|
386
379
|
dumb_delegator (1.0.0)
|
@@ -396,9 +389,7 @@ GEM
|
|
396
389
|
erbse (0.1.4)
|
397
390
|
temple
|
398
391
|
erubi (1.10.0)
|
399
|
-
|
400
|
-
rest-client (>= 1.6)
|
401
|
-
excon (0.85.0)
|
392
|
+
excon (0.89.0)
|
402
393
|
execjs (2.8.1)
|
403
394
|
factory_bot (4.11.1)
|
404
395
|
activesupport (>= 3.0.0)
|
@@ -407,26 +398,30 @@ GEM
|
|
407
398
|
railties (>= 3.0.0)
|
408
399
|
faker (2.18.0)
|
409
400
|
i18n (>= 1.6, < 2)
|
410
|
-
faraday (1.
|
401
|
+
faraday (1.9.3)
|
411
402
|
faraday-em_http (~> 1.0)
|
412
403
|
faraday-em_synchrony (~> 1.0)
|
413
404
|
faraday-excon (~> 1.1)
|
414
|
-
faraday-httpclient (~> 1.0
|
405
|
+
faraday-httpclient (~> 1.0)
|
406
|
+
faraday-multipart (~> 1.0)
|
415
407
|
faraday-net_http (~> 1.0)
|
416
|
-
faraday-net_http_persistent (~> 1.
|
408
|
+
faraday-net_http_persistent (~> 1.0)
|
417
409
|
faraday-patron (~> 1.0)
|
418
410
|
faraday-rack (~> 1.0)
|
419
|
-
|
411
|
+
faraday-retry (~> 1.0)
|
420
412
|
ruby2_keywords (>= 0.0.4)
|
421
413
|
faraday-em_http (1.0.0)
|
422
414
|
faraday-em_synchrony (1.0.0)
|
423
415
|
faraday-excon (1.1.0)
|
424
416
|
faraday-httpclient (1.0.1)
|
417
|
+
faraday-multipart (1.0.3)
|
418
|
+
multipart-post (>= 1.2, < 3)
|
425
419
|
faraday-net_http (1.0.1)
|
426
420
|
faraday-net_http_persistent (1.2.0)
|
427
421
|
faraday-patron (1.0.0)
|
428
422
|
faraday-rack (1.0.0)
|
429
|
-
|
423
|
+
faraday-retry (1.0.3)
|
424
|
+
faraday_middleware (1.2.0)
|
430
425
|
faraday (~> 1.0)
|
431
426
|
ffi (1.15.1)
|
432
427
|
file_validators (2.3.0)
|
@@ -445,28 +440,25 @@ GEM
|
|
445
440
|
activemodel (>= 4.1, < 7.0)
|
446
441
|
activesupport (>= 4.1, < 7.0)
|
447
442
|
railties (>= 4.1, < 7.0)
|
448
|
-
geocoder (1.
|
443
|
+
geocoder (1.7.2)
|
449
444
|
globalid (0.5.2)
|
450
445
|
activesupport (>= 5.0)
|
451
446
|
graphlient (0.4.0)
|
452
447
|
faraday (>= 1.0)
|
453
448
|
faraday_middleware
|
454
449
|
graphql-client
|
455
|
-
graphql (1.
|
450
|
+
graphql (1.13.4)
|
456
451
|
graphql-client (0.17.0)
|
457
452
|
activesupport (>= 3.0)
|
458
453
|
graphql (~> 1.10)
|
459
454
|
hashdiff (1.0.1)
|
460
|
-
hashie (
|
455
|
+
hashie (5.0.0)
|
461
456
|
highline (2.0.3)
|
462
457
|
html_tokenizer (0.0.7)
|
463
458
|
htmlentities (4.3.4)
|
464
|
-
|
465
|
-
http-cookie (1.0.4)
|
466
|
-
domain_name (~> 0.5)
|
467
|
-
i18n (1.8.10)
|
459
|
+
i18n (1.8.11)
|
468
460
|
concurrent-ruby (~> 1.0)
|
469
|
-
i18n-tasks (0.9.
|
461
|
+
i18n-tasks (0.9.37)
|
470
462
|
activesupport (>= 4.0.2)
|
471
463
|
ast (>= 2.1.0)
|
472
464
|
erubi
|
@@ -478,27 +470,27 @@ GEM
|
|
478
470
|
terminal-table (>= 1.5.1)
|
479
471
|
icalendar (2.7.1)
|
480
472
|
ice_cube (~> 0.16)
|
481
|
-
ice_cube (0.16.
|
473
|
+
ice_cube (0.16.4)
|
482
474
|
ice_nine (0.11.2)
|
483
475
|
image_processing (1.12.1)
|
484
476
|
mini_magick (>= 4.9.5, < 5)
|
485
477
|
ruby-vips (>= 2.0.17, < 3)
|
486
478
|
invisible_captcha (0.13.0)
|
487
479
|
rails (>= 3.2.0)
|
488
|
-
json (2.
|
480
|
+
json (2.6.1)
|
489
481
|
jwt (2.2.3)
|
490
|
-
kaminari (1.2.
|
482
|
+
kaminari (1.2.2)
|
491
483
|
activesupport (>= 4.1.0)
|
492
|
-
kaminari-actionview (= 1.2.
|
493
|
-
kaminari-activerecord (= 1.2.
|
494
|
-
kaminari-core (= 1.2.
|
495
|
-
kaminari-actionview (1.2.
|
484
|
+
kaminari-actionview (= 1.2.2)
|
485
|
+
kaminari-activerecord (= 1.2.2)
|
486
|
+
kaminari-core (= 1.2.2)
|
487
|
+
kaminari-actionview (1.2.2)
|
496
488
|
actionview
|
497
|
-
kaminari-core (= 1.2.
|
498
|
-
kaminari-activerecord (1.2.
|
489
|
+
kaminari-core (= 1.2.2)
|
490
|
+
kaminari-activerecord (1.2.2)
|
499
491
|
activerecord
|
500
|
-
kaminari-core (= 1.2.
|
501
|
-
kaminari-core (1.2.
|
492
|
+
kaminari-core (= 1.2.2)
|
493
|
+
kaminari-core (1.2.2)
|
502
494
|
kramdown (2.3.1)
|
503
495
|
rexml
|
504
496
|
kramdown-parser-gfm (1.1.0)
|
@@ -519,7 +511,8 @@ GEM
|
|
519
511
|
nokogiri (>= 1.5.9)
|
520
512
|
mail (2.7.1)
|
521
513
|
mini_mime (>= 0.1.1)
|
522
|
-
marcel (1.0.
|
514
|
+
marcel (1.0.2)
|
515
|
+
matrix (0.4.2)
|
523
516
|
mdl (0.11.0)
|
524
517
|
kramdown (~> 2.3)
|
525
518
|
kramdown-parser-gfm (~> 1.1)
|
@@ -527,12 +520,12 @@ GEM
|
|
527
520
|
mixlib-config (>= 2.2.1, < 4)
|
528
521
|
mixlib-shellout
|
529
522
|
method_source (1.0.0)
|
530
|
-
mime-types (3.
|
523
|
+
mime-types (3.4.1)
|
531
524
|
mime-types-data (~> 3.2015)
|
532
|
-
mime-types-data (3.
|
525
|
+
mime-types-data (3.2022.0105)
|
533
526
|
mini_magick (4.11.0)
|
534
527
|
mini_mime (1.1.1)
|
535
|
-
mini_portile2 (2.
|
528
|
+
mini_portile2 (2.6.1)
|
536
529
|
minitest (5.14.4)
|
537
530
|
mixlib-cli (2.1.8)
|
538
531
|
mixlib-config (3.0.9)
|
@@ -544,52 +537,51 @@ GEM
|
|
544
537
|
multi_xml (0.6.0)
|
545
538
|
multipart-post (2.1.1)
|
546
539
|
mustache (1.1.1)
|
547
|
-
netrc (0.11.0)
|
548
540
|
nio4r (2.5.8)
|
549
|
-
|
550
|
-
|
551
|
-
mini_portile2 (~> 2.5.0)
|
541
|
+
nokogiri (1.12.5)
|
542
|
+
mini_portile2 (~> 2.6.1)
|
552
543
|
racc (~> 1.4)
|
553
|
-
oauth (0.5.
|
544
|
+
oauth (0.5.8)
|
554
545
|
oauth2 (1.4.7)
|
555
546
|
faraday (>= 0.8, < 2.0)
|
556
547
|
jwt (>= 1.0, < 3.0)
|
557
548
|
multi_json (~> 1.3)
|
558
549
|
multi_xml (~> 0.5)
|
559
550
|
rack (>= 1.2, < 3)
|
560
|
-
omniauth (
|
551
|
+
omniauth (2.0.4)
|
561
552
|
hashie (>= 3.4.6)
|
562
553
|
rack (>= 1.6.2, < 3)
|
554
|
+
rack-protection
|
563
555
|
omniauth-facebook (5.0.0)
|
564
556
|
omniauth-oauth2 (~> 1.2)
|
565
|
-
omniauth-google-oauth2 (0.
|
557
|
+
omniauth-google-oauth2 (1.0.0)
|
566
558
|
jwt (>= 2.0)
|
567
559
|
oauth2 (~> 1.1)
|
568
|
-
omniauth (~>
|
569
|
-
omniauth-oauth2 (
|
560
|
+
omniauth (~> 2.0)
|
561
|
+
omniauth-oauth2 (~> 1.7.1)
|
570
562
|
omniauth-oauth (1.2.0)
|
571
563
|
oauth
|
572
564
|
omniauth (>= 1.0, < 3)
|
573
|
-
omniauth-oauth2 (1.7.
|
565
|
+
omniauth-oauth2 (1.7.2)
|
574
566
|
oauth2 (~> 1.4)
|
575
567
|
omniauth (>= 1.9, < 3)
|
576
|
-
omniauth-rails_csrf_protection (0.
|
568
|
+
omniauth-rails_csrf_protection (1.0.0)
|
577
569
|
actionpack (>= 4.2)
|
578
|
-
omniauth (
|
570
|
+
omniauth (~> 2.0)
|
579
571
|
omniauth-twitter (1.4.0)
|
580
572
|
omniauth-oauth (~> 1.1)
|
581
573
|
rack
|
582
574
|
origami (2.1.0)
|
583
575
|
colorize (~> 0.7)
|
584
576
|
orm_adapter (0.5.0)
|
585
|
-
paper_trail (
|
586
|
-
activerecord (>=
|
577
|
+
paper_trail (12.1.0)
|
578
|
+
activerecord (>= 5.2)
|
587
579
|
request_store (~> 1.1)
|
588
580
|
parallel (1.21.0)
|
589
|
-
parser (3.0.
|
581
|
+
parser (3.1.0.0)
|
590
582
|
ast (~> 2.4.1)
|
591
583
|
pg (1.1.4)
|
592
|
-
pg_search (2.3.
|
584
|
+
pg_search (2.3.6)
|
593
585
|
activerecord (>= 5.2)
|
594
586
|
activesupport (>= 5.2)
|
595
587
|
premailer (1.15.0)
|
@@ -600,15 +592,17 @@ GEM
|
|
600
592
|
actionmailer (>= 3)
|
601
593
|
premailer (~> 1.7, >= 1.7.9)
|
602
594
|
public_suffix (4.0.6)
|
603
|
-
puma (5.
|
595
|
+
puma (5.5.2)
|
604
596
|
nio4r (~> 2.0)
|
605
|
-
racc (1.
|
597
|
+
racc (1.6.0)
|
606
598
|
rack (2.2.3)
|
607
599
|
rack-attack (6.5.0)
|
608
600
|
rack (>= 1.0, < 3)
|
609
601
|
rack-cors (1.1.1)
|
610
602
|
rack (>= 2.0.0)
|
611
|
-
rack-
|
603
|
+
rack-protection (2.1.0)
|
604
|
+
rack
|
605
|
+
rack-proxy (0.7.2)
|
612
606
|
rack
|
613
607
|
rack-test (1.1.0)
|
614
608
|
rack (>= 1.0, < 3)
|
@@ -661,18 +655,13 @@ GEM
|
|
661
655
|
virtus (~> 1.0.5)
|
662
656
|
wisper (>= 1.6.1)
|
663
657
|
redcarpet (3.5.1)
|
664
|
-
redis (4.
|
665
|
-
regexp_parser (2.
|
658
|
+
redis (4.5.1)
|
659
|
+
regexp_parser (2.2.0)
|
666
660
|
request_store (1.5.0)
|
667
661
|
rack (>= 1.4)
|
668
662
|
responders (3.0.1)
|
669
663
|
actionpack (>= 5.0)
|
670
664
|
railties (>= 5.0)
|
671
|
-
rest-client (2.1.0)
|
672
|
-
http-accept (>= 1.7.0, < 2.0)
|
673
|
-
http-cookie (>= 1.0.2, < 2.0)
|
674
|
-
mime-types (>= 1.16, < 4.0)
|
675
|
-
netrc (~> 0.8)
|
676
665
|
rexml (3.2.5)
|
677
666
|
rspec (3.10.0)
|
678
667
|
rspec-core (~> 3.10.0)
|
@@ -702,7 +691,7 @@ GEM
|
|
702
691
|
rspec-support (~> 3.10)
|
703
692
|
rspec-retry (0.6.2)
|
704
693
|
rspec-core (> 3.3)
|
705
|
-
rspec-support (3.10.
|
694
|
+
rspec-support (3.10.3)
|
706
695
|
rspec_junit_formatter (0.3.0)
|
707
696
|
rspec-core (>= 2, < 4, != 2.12.0)
|
708
697
|
rubocop (0.92.0)
|
@@ -714,7 +703,7 @@ GEM
|
|
714
703
|
rubocop-ast (>= 0.5.0)
|
715
704
|
ruby-progressbar (~> 1.7)
|
716
705
|
unicode-display_width (>= 1.4.0, < 2.0)
|
717
|
-
rubocop-ast (1.
|
706
|
+
rubocop-ast (1.15.1)
|
718
707
|
parser (>= 3.0.1.1)
|
719
708
|
rubocop-rails (2.9.1)
|
720
709
|
activesupport (>= 4.2.0)
|
@@ -723,7 +712,7 @@ GEM
|
|
723
712
|
rubocop-rspec (1.43.2)
|
724
713
|
rubocop (~> 0.87)
|
725
714
|
ruby-progressbar (1.11.0)
|
726
|
-
ruby-vips (2.1.
|
715
|
+
ruby-vips (2.1.4)
|
727
716
|
ffi (~> 1.12)
|
728
717
|
ruby2_keywords (0.0.5)
|
729
718
|
rubyXL (3.4.18)
|
@@ -742,7 +731,7 @@ GEM
|
|
742
731
|
simplecov-cobertura (1.3.1)
|
743
732
|
simplecov (~> 0.8)
|
744
733
|
simplecov-html (0.12.3)
|
745
|
-
smart_properties (1.
|
734
|
+
smart_properties (1.17.0)
|
746
735
|
social-share-button (1.2.4)
|
747
736
|
coffee-rails
|
748
737
|
spring (2.1.1)
|
@@ -752,9 +741,9 @@ GEM
|
|
752
741
|
sprockets (4.0.2)
|
753
742
|
concurrent-ruby (~> 1.0)
|
754
743
|
rack (> 1, < 3)
|
755
|
-
sprockets-rails (3.
|
756
|
-
actionpack (>=
|
757
|
-
activesupport (>=
|
744
|
+
sprockets-rails (3.4.2)
|
745
|
+
actionpack (>= 5.2)
|
746
|
+
activesupport (>= 5.2)
|
758
747
|
sprockets (>= 3.0.0)
|
759
748
|
ssrf_filter (1.0.7)
|
760
749
|
system_test_html_screenshots (0.2.0)
|
@@ -766,15 +755,9 @@ GEM
|
|
766
755
|
thread_safe (0.3.6)
|
767
756
|
tilt (2.0.10)
|
768
757
|
tomlrb (2.0.1)
|
769
|
-
truncato (0.7.11)
|
770
|
-
htmlentities (~> 4.3.1)
|
771
|
-
nokogiri (>= 1.7.0, <= 2.0)
|
772
758
|
tzinfo (1.2.9)
|
773
759
|
thread_safe (~> 0.1)
|
774
760
|
uber (0.1.0)
|
775
|
-
unf (0.1.4)
|
776
|
-
unf_ext
|
777
|
-
unf_ext (0.0.8)
|
778
761
|
unicode-display_width (1.8.0)
|
779
762
|
valid_email2 (2.3.1)
|
780
763
|
activemodel (>= 3.2)
|
@@ -786,9 +769,9 @@ GEM
|
|
786
769
|
equalizer (~> 0.0, >= 0.0.9)
|
787
770
|
virtus-multiparams (0.1.1)
|
788
771
|
virtus (~> 1.0)
|
789
|
-
voting_schemes-dummy (0.
|
772
|
+
voting_schemes-dummy (0.22.3)
|
790
773
|
rails (>= 5.0.0)
|
791
|
-
voting_schemes-electionguard (0.
|
774
|
+
voting_schemes-electionguard (0.22.3)
|
792
775
|
rails (>= 5.0.0)
|
793
776
|
w3c_rspec_validators (0.3.0)
|
794
777
|
rails
|
@@ -800,9 +783,6 @@ GEM
|
|
800
783
|
rexml (~> 3.2)
|
801
784
|
warden (1.2.9)
|
802
785
|
rack (>= 2.0.9)
|
803
|
-
watir (6.19.1)
|
804
|
-
regexp_parser (>= 1.2, < 3)
|
805
|
-
selenium-webdriver (>= 3.142.7)
|
806
786
|
web-console (4.1.0)
|
807
787
|
actionview (>= 6.0.0)
|
808
788
|
activemodel (>= 6.0.0)
|
@@ -820,7 +800,7 @@ GEM
|
|
820
800
|
websocket-driver (0.7.5)
|
821
801
|
websocket-extensions (>= 0.1.0)
|
822
802
|
websocket-extensions (0.1.5)
|
823
|
-
wicked (1.
|
803
|
+
wicked (1.4.0)
|
824
804
|
railties (>= 3.0.7)
|
825
805
|
wicked_pdf (2.1.0)
|
826
806
|
activesupport
|
@@ -829,13 +809,14 @@ GEM
|
|
829
809
|
wkhtmltopdf-binary (0.12.6.5)
|
830
810
|
xpath (3.2.0)
|
831
811
|
nokogiri (~> 1.8)
|
832
|
-
zeitwerk (2.
|
812
|
+
zeitwerk (2.5.1)
|
833
813
|
|
834
814
|
PLATFORMS
|
835
815
|
ruby
|
836
816
|
|
837
817
|
DEPENDENCIES
|
838
818
|
bootsnap (~> 1.3)
|
819
|
+
brakeman
|
839
820
|
byebug (~> 11.0)
|
840
821
|
decidim!
|
841
822
|
decidim-conferences!
|
@@ -854,7 +835,7 @@ DEPENDENCIES
|
|
854
835
|
wicked_pdf (~> 2.1)
|
855
836
|
|
856
837
|
RUBY VERSION
|
857
|
-
ruby 2.7.
|
838
|
+
ruby 2.7.5p203
|
858
839
|
|
859
840
|
BUNDLED WITH
|
860
|
-
2.2.
|
841
|
+
2.2.19
|
@@ -226,7 +226,7 @@ Decidim.configure do |config|
|
|
226
226
|
# Etherpad configuration
|
227
227
|
#
|
228
228
|
# Only needed if you want to have Etherpad integration with Decidim. See
|
229
|
-
# Decidim docs at docs/services/etherpad
|
229
|
+
# Decidim docs at https://docs.decidim.org/en/services/etherpad/ in order to set it up.
|
230
230
|
#
|
231
231
|
# config.etherpad = {
|
232
232
|
# server: Rails.application.secrets.etherpad[:server],
|
@@ -251,12 +251,19 @@ Decidim.configure do |config|
|
|
251
251
|
|
252
252
|
# Machine Translation Configuration
|
253
253
|
#
|
254
|
+
# See Decidim docs at https://docs.decidim.org/en/develop/machine_translations/
|
255
|
+
# for more information about how it works and how to set it up.
|
256
|
+
#
|
254
257
|
# Enable machine translations
|
255
258
|
config.enable_machine_translations = false
|
256
259
|
#
|
257
260
|
# If you want to enable machine translation you can create your own service
|
258
261
|
# to interact with third party service to translate the user content.
|
259
262
|
#
|
263
|
+
# If you still want to use "Decidim::Dev::DummyTranslator" as translator placeholder,
|
264
|
+
# add the follwing line at the beginning of this file:
|
265
|
+
# require "decidim/dev/dummy_translator"
|
266
|
+
#
|
260
267
|
# An example class would be something like:
|
261
268
|
#
|
262
269
|
# class MyTranslationService
|
@@ -282,3 +289,6 @@ end
|
|
282
289
|
|
283
290
|
Rails.application.config.i18n.available_locales = Decidim.available_locales
|
284
291
|
Rails.application.config.i18n.default_locale = Decidim.default_locale
|
292
|
+
|
293
|
+
# Inform Decidim about the assets folder
|
294
|
+
Decidim.register_assets_path File.expand_path("app/packs", Rails.application.root)
|
@@ -10,6 +10,16 @@
|
|
10
10
|
# Make sure the secrets in this file are kept private
|
11
11
|
# if you're sharing your code publicly.
|
12
12
|
|
13
|
+
elections_default: &elections_default
|
14
|
+
bulletin_board_server: <%%= ENV["ELECTIONS_BULLETIN_BOARD_SERVER"] || 'http://bulletin-board.lvh.me:8000/api' %>
|
15
|
+
bulletin_board_public_key: {"kty":"RSA","n":"zMXsZpYPKkDlSmezX898y7zNOaJ7ENIN4kj4UhQ95Vm4HlgTpIs2VMMsO0eqynMaOR_G1mXdqbpbaJtXijBe4V8323QwGm6WVAa71E7pDXa5g6-uo5f8GePitN0YER9y2yNQN4uTaNzJiWV2uLBUYfMdj3SIif31YwLULHAOj3B_oleFK8coE_Qr3NzATcYBmsqE8AR4NljxTO6KDmP1SLdf5GBOBhOAIFbnL_Kpj2xkm7MS3hjMVKpiRhqA1UgX5oKZ8ixBv46fNJF0pBsHi3fHNjK9oZzgdx_AI-YFpdE_40-8bh_g9sWzxacqOM2-MdQLHbvRPEVltO3E8tr6I5YWrylcP7l9VD8OJeqjq2qFYHnGYdmLoD2XuXmI9EuBvSb9H4-qcartxZSIQCimKib_fxZvgrG1FSRRhK6YpvIdGv4-G2zfCCRsC4XD80TYI2bf-oYCoy7eU3_eVHFMV2yg4p1Wnuw2Vgq0edPL_bKaV9JvGx7F-U5juxNN0WZR9LzbPl4ReejzN95lyHgbj0nTH_u3bSpZmgJrQF-PwdnPcG46deVjJgUeosrlC4lQxVrRz0GL58BuFunnz2uYDBDrcJCiG60EbdkAFHjOcXU4wrUWATin7je_aqdBXhSnkTafcJAMvL7Y2Ld7vDge8nLqjAVlAi5am3rN0kqKT6M","e":"AQAB","kid":"a8e86f02ca27e1861bfc49e2a9a4614ca9068f8efdb6d42d19d3aab0eb2a31be"}
|
16
|
+
authority_private_key: {"kty":"RSA","n":"pNgMt8lnPDD3TlWYGhRiV1oZkPQmnLdiUzwyb_-35qKD9k-HU86xo0uSgoOUWkBtnvFscq8zNDPAGAlZVokaN_z9ksZblSce0LEl8lJa3ICgghg7e8vg_7Lz5dyHSQ3PCLgenyFGcL401aglDde1Xo4ujdz33Lklc4U9zoyoLUI2_viYmNOU6n5Mn0sJd30FeICMrLD2gX46pGe3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tIvXVewSQYR-BULzunUtIRZt8hx_6FRzhRha9gH_TtPTeYZ_vISuz0Y2rhUpx1Q2kaLlR9M8PUxm47l0xvX3LMKN6h6oWxFtn7wq0qwZ-Bjv24mOrOAQ","dq":"nXGD10hURrwk9W7hxP0sjB2Rdnr06iv3THs4JWFL16_h32bZO1BSWoho_chbgYlMmtFXGFFIWVLxAcAI2gWC_MA4cbmapvIMW2LNh1vgxJW5v95_NuGUlECeEEwcAu1-_b7z5XBCmAy3nLem9sbb_5wv0hMpPH0VRvbnZeBO3SBIkO0lddYCqU-8wN9HqkyoexQleSUnAm1O0iy4GIHT2aEmdNaRaKy2EhmNiTZdZeseZueOvyGPtTVONp2ofacMdcN0z39jr22qo9DWtdusd7nVPOpqkllEF6GrGUeHBnGD92n4YjDuxRnqefu8fXxUFrcLav0p8CNSv9ek291woQ","qi":"w6hfKEBLLHRWPkjajgxZyyetj-UFfVkILRT0plOllJ2JV8whcOXRXbiXH2r8zqMeyMFrrMwmuvv4TVQaruKB0ZQOG7Tz5Lw0RZEREOLnBwc3vSi_iLd-jBz01LdExTpqsAHMkaMQR9x62J8DE1ZNxVdn3ELYKik0f1L2r_WErzhvT1uq69HAybUp6WHcFYH0PSqHg4LOneXAdU1_g-ji2Zn9dlA_2oYGQ5S6JXPV7v2IVbEFpxyVD1lPbFT0iKhyZZevictjgD_JGHveIVqsq5w0Csyz08h0oEW9hYEq-4bquMxSf18gjldoS5uQPD7FUECgL8bxsCdc4hP6UEKYGw"}
|
17
|
+
authority_name: "Decidim Test Authority"
|
18
|
+
authority_api_key: "89Ht70GZNcicu8WEyagz_rRae6brbqZAGuBEICYBCii-PTV3MAstAtx1aRVe5H5YfODi-JgYPvyf9ZMH7tOeZ15e3mf9B2Ymgw7eknvBFMRP213YFGo1SPn_C4uLK90G"
|
19
|
+
scheme_name: "dummy"
|
20
|
+
quorum: 2
|
21
|
+
number_of_trustees: 3
|
22
|
+
|
13
23
|
default: &default
|
14
24
|
omniauth:
|
15
25
|
facebook:
|
@@ -33,14 +43,7 @@ default: &default
|
|
33
43
|
api_key: <%%= ENV["ETHERPAD_API_KEY"] %>
|
34
44
|
api_version: "1.2.1"
|
35
45
|
elections:
|
36
|
-
|
37
|
-
bulletin_board_public_key: {"kty":"RSA","n":"zMXsZpYPKkDlSmezX898y7zNOaJ7ENIN4kj4UhQ95Vm4HlgTpIs2VMMsO0eqynMaOR_G1mXdqbpbaJtXijBe4V8323QwGm6WVAa71E7pDXa5g6-uo5f8GePitN0YER9y2yNQN4uTaNzJiWV2uLBUYfMdj3SIif31YwLULHAOj3B_oleFK8coE_Qr3NzATcYBmsqE8AR4NljxTO6KDmP1SLdf5GBOBhOAIFbnL_Kpj2xkm7MS3hjMVKpiRhqA1UgX5oKZ8ixBv46fNJF0pBsHi3fHNjK9oZzgdx_AI-YFpdE_40-8bh_g9sWzxacqOM2-MdQLHbvRPEVltO3E8tr6I5YWrylcP7l9VD8OJeqjq2qFYHnGYdmLoD2XuXmI9EuBvSb9H4-qcartxZSIQCimKib_fxZvgrG1FSRRhK6YpvIdGv4-G2zfCCRsC4XD80TYI2bf-oYCoy7eU3_eVHFMV2yg4p1Wnuw2Vgq0edPL_bKaV9JvGx7F-U5juxNN0WZR9LzbPl4ReejzN95lyHgbj0nTH_u3bSpZmgJrQF-PwdnPcG46deVjJgUeosrlC4lQxVrRz0GL58BuFunnz2uYDBDrcJCiG60EbdkAFHjOcXU4wrUWATin7je_aqdBXhSnkTafcJAMvL7Y2Ld7vDge8nLqjAVlAi5am3rN0kqKT6M","e":"AQAB","kid":"a8e86f02ca27e1861bfc49e2a9a4614ca9068f8efdb6d42d19d3aab0eb2a31be"}
|
38
|
-
authority_private_key: {"kty":"RSA","n":"pNgMt8lnPDD3TlWYGhRiV1oZkPQmnLdiUzwyb_-35qKD9k-HU86xo0uSgoOUWkBtnvFscq8zNDPAGAlZVokaN_z9ksZblSce0LEl8lJa3ICgghg7e8vg_7Lz5dyHSQ3PCLgenyFGcL401aglDde1Xo4uj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SZggpnCLDd4H-1fXlbDYCXSJpoikAdZ1nFgXnnrUDdKRaAajnwpIYtIvXVewSQYR-BULzunUtIRZt8hx_6FRzhRha9gH_TtPTeYZ_vISuz0Y2rhUpx1Q2kaLlR9M8PUxm47l0xvX3LMKN6h6oWxFtn7wq0qwZ-Bjv24mOrOAQ","dq":"nXGD10hURrwk9W7hxP0sjB2Rdnr06iv3THs4JWFL16_h32bZO1BSWoho_chbgYlMmtFXGFFIWVLxAcAI2gWC_MA4cbmapvIMW2LNh1vgxJW5v95_NuGUlECeEEwcAu1-_b7z5XBCmAy3nLem9sbb_5wv0hMpPH0VRvbnZeBO3SBIkO0lddYCqU-8wN9HqkyoexQleSUnAm1O0iy4GIHT2aEmdNaRaKy2EhmNiTZdZeseZueOvyGPtTVONp2ofacMdcN0z39jr22qo9DWtdusd7nVPOpqkllEF6GrGUeHBnGD92n4YjDuxRnqefu8fXxUFrcLav0p8CNSv9ek291woQ","qi":"w6hfKEBLLHRWPkjajgxZyyetj-UFfVkILRT0plOllJ2JV8whcOXRXbiXH2r8zqMeyMFrrMwmuvv4TVQaruKB0ZQOG7Tz5Lw0RZEREOLnBwc3vSi_iLd-jBz01LdExTpqsAHMkaMQR9x62J8DE1ZNxVdn3ELYKik0f1L2r_WErzhvT1uq69HAybUp6WHcFYH0PSqHg4LOneXAdU1_g-ji2Zn9dlA_2oYGQ5S6JXPV7v2IVbEFpxyVD1lPbFT0iKhyZZevictjgD_JGHveIVqsq5w0Csyz08h0oEW9hYEq-4bquMxSf18gjldoS5uQPD7FUECgL8bxsCdc4hP6UEKYGw"}
|
39
|
-
authority_name: "Decidim Test Authority"
|
40
|
-
authority_api_key: "89Ht70GZNcicu8WEyagz_rRae6brbqZAGuBEICYBCii-PTV3MAstAtx1aRVe5H5YfODi-JgYPvyf9ZMH7tOeZ15e3mf9B2Ymgw7eknvBFMRP213YFGo1SPn_C4uLK90G"
|
41
|
-
scheme_name: "dummy"
|
42
|
-
quorum: 2
|
43
|
-
number_of_trustees: 2
|
46
|
+
<<: *elections_default
|
44
47
|
|
45
48
|
development:
|
46
49
|
<<: *default
|
@@ -66,6 +69,10 @@ test:
|
|
66
69
|
enabled: true
|
67
70
|
client_id:
|
68
71
|
client_secret:
|
72
|
+
elections:
|
73
|
+
<<: *elections_default
|
74
|
+
bulletin_board_server: <%%= ENV["ELECTIONS_BULLETIN_BOARD_SERVER"] || 'http://bulletin-board.lvh.me:5017/api' %>
|
75
|
+
|
69
76
|
|
70
77
|
# Do not keep production secrets in the repository,
|
71
78
|
# instead read values from the environment.
|
@@ -35,8 +35,9 @@ module Decidim
|
|
35
35
|
template "circleci/config.yml", "#{component_folder}/.circleci/config.yml"
|
36
36
|
|
37
37
|
app_folder = "#{component_folder}/app"
|
38
|
-
template "app/
|
39
|
-
template "app/
|
38
|
+
template "app/packs/js/entrypoint.js", "#{app_folder}/packs/entrypoints/decidim_#{component_name}.js"
|
39
|
+
template "app/packs/images/decidim/component/icon.svg", "#{app_folder}/packs/images/decidim/#{component_name}/icon.svg"
|
40
|
+
template "app/packs/stylesheets/decidim/default.scss", "#{app_folder}/packs/stylesheets/decidim/#{component_name}/#{component_name}.scss"
|
40
41
|
template "app/controllers/decidim/component/application_controller.rb.erb", "#{app_folder}/controllers/decidim/#{component_name}/application_controller.rb"
|
41
42
|
template "app/controllers/decidim/component/admin/application_controller.rb.erb", "#{app_folder}/controllers/decidim/#{component_name}/admin/application_controller.rb"
|
42
43
|
template "app/helpers/decidim/component/application_helper.rb.erb", "#{app_folder}/helpers/decidim/#{component_name}/application_helper.rb"
|
@@ -47,6 +48,7 @@ module Decidim
|
|
47
48
|
chmod "#{bin_folder}/rails", "+x"
|
48
49
|
|
49
50
|
config_folder = "#{component_folder}/config"
|
51
|
+
template "config/assets.rb.erb", "#{config_folder}/assets.rb"
|
50
52
|
template "config/locales/en.yml.erb", "#{config_folder}/locales/en.yml"
|
51
53
|
template "config/i18n-tasks.yml.erb", "#{config_folder}/i18n-tasks.yml"
|
52
54
|
|
@@ -0,0 +1 @@
|
|
1
|
+
/* css for decidim_<%= component_name %> */
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
base_path = File.expand_path("..", __dir__)
|
4
|
+
|
5
|
+
Decidim::Webpacker.register_path("#{base_path}/app/packs")
|
6
|
+
Decidim::Webpacker.register_entrypoints(
|
7
|
+
decidim_<%= component_name %>: "#{base_path}/app/packs/entrypoints/decidim_<%= component_name %>.js"
|
8
|
+
)
|
9
|
+
Decidim::Webpacker.register_stylesheet_import("stylesheets/decidim/<%= component_name %>/<%= component_name %>")
|
@@ -14,6 +14,10 @@ module Decidim
|
|
14
14
|
# resources :<%= component_name %>
|
15
15
|
# root to: "<%= component_name %>#index"
|
16
16
|
end
|
17
|
+
|
18
|
+
initializer "<%= component_module_name %>.webpacker.assets_path" do
|
19
|
+
Decidim.register_assets_path File.expand_path("app/packs", root)
|
20
|
+
end
|
17
21
|
end
|
18
22
|
end
|
19
23
|
end
|
@@ -106,7 +106,12 @@ module Decidim
|
|
106
106
|
def remove_sprockets_requirement
|
107
107
|
gsub_file "config/application.rb", %r{require ['"]rails/all['"]\R}, <<~RUBY
|
108
108
|
require "decidim/rails"
|
109
|
+
|
109
110
|
# Add the frameworks used by your app that are not loaded by Decidim.
|
111
|
+
# require "action_mailbox/engine"
|
112
|
+
# require "action_text/engine"
|
113
|
+
require "action_cable/engine"
|
114
|
+
require "rails/test_unit/railtie"
|
110
115
|
RUBY
|
111
116
|
|
112
117
|
gsub_file "config/environments/development.rb", /config\.assets.*$/, ""
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-generators
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.26.0.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josep Jaume Rey Peroy
|
8
8
|
- Marc Riera Casals
|
9
9
|
- Oriol Gual Oliva
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2022-01-24 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: decidim-core
|
@@ -18,14 +18,14 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.
|
21
|
+
version: 0.26.0.rc1
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - '='
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 0.
|
28
|
+
version: 0.26.0.rc1
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: bundler
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
@@ -89,8 +89,11 @@ files:
|
|
89
89
|
- lib/decidim/generators/component_templates/app/helpers/decidim/component/application_helper.rb.erb
|
90
90
|
- lib/decidim/generators/component_templates/app/models/decidim/component/application_record.rb.erb
|
91
91
|
- lib/decidim/generators/component_templates/app/packs/images/decidim/component/icon.svg
|
92
|
+
- lib/decidim/generators/component_templates/app/packs/js/entrypoint.js
|
93
|
+
- lib/decidim/generators/component_templates/app/packs/stylesheets/decidim/default.scss
|
92
94
|
- lib/decidim/generators/component_templates/bin/rails.erb
|
93
95
|
- lib/decidim/generators/component_templates/circleci/config.yml
|
96
|
+
- lib/decidim/generators/component_templates/config/assets.rb.erb
|
94
97
|
- lib/decidim/generators/component_templates/config/i18n-tasks.yml.erb
|
95
98
|
- lib/decidim/generators/component_templates/config/locales/en.yml.erb
|
96
99
|
- lib/decidim/generators/component_templates/decidim-component.gemspec.erb
|
@@ -110,7 +113,7 @@ homepage: https://github.com/decidim/decidim
|
|
110
113
|
licenses:
|
111
114
|
- AGPL-3.0
|
112
115
|
metadata: {}
|
113
|
-
post_install_message:
|
116
|
+
post_install_message:
|
114
117
|
rdoc_options: []
|
115
118
|
require_paths:
|
116
119
|
- lib
|
@@ -125,8 +128,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
125
128
|
- !ruby/object:Gem::Version
|
126
129
|
version: 1.3.1
|
127
130
|
requirements: []
|
128
|
-
rubygems_version: 3.1.
|
129
|
-
signing_key:
|
131
|
+
rubygems_version: 3.1.6
|
132
|
+
signing_key:
|
130
133
|
specification_version: 4
|
131
134
|
summary: Citizen participation framework for Ruby on Rails.
|
132
135
|
test_files: []
|