decidim-generators 0.27.5 → 0.27.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +231 -222
- data/decidim-generators.gemspec +35 -0
- data/lib/decidim/generators/app_templates/secrets.yml.erb +2 -0
- data/lib/decidim/generators/component_generator.rb +8 -1
- data/lib/decidim/generators/component_templates/Gemfile.erb +6 -5
- data/lib/decidim/generators/component_templates/decidim-component.gemspec.erb +7 -2
- data/lib/decidim/generators/version.rb +1 -1
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d3782e8eb3b33cd69eec0489ada0a70a7bffd29ec98d66de1ae3b15a3c79b43
|
4
|
+
data.tar.gz: 4e932766ed2f71b5860edcb412d18ae3e8bc9a1643211dab8b020877fdf714c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e74b25e94ef138e27e30e1cfba2aecb2e9aed0c07c2ce01229cb0f6470c7b527c4bdd1baf235cf6765c49a8220bbd6fb22c592c52e8eb0f4b44b8d32cab2cdc8
|
7
|
+
data.tar.gz: 22a3498d405a57b0132ecc020a0c47bda8037642f0d37014fc74370d5b045759e7226a33545f2b60f7cfa9aae720cd2875b33631f63ff4e24c649075c01c3e8a
|
data/Gemfile.lock
CHANGED
@@ -1,72 +1,72 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
decidim (0.27.
|
5
|
-
decidim-accountability (= 0.27.
|
6
|
-
decidim-admin (= 0.27.
|
7
|
-
decidim-api (= 0.27.
|
8
|
-
decidim-assemblies (= 0.27.
|
9
|
-
decidim-blogs (= 0.27.
|
10
|
-
decidim-budgets (= 0.27.
|
11
|
-
decidim-comments (= 0.27.
|
12
|
-
decidim-core (= 0.27.
|
13
|
-
decidim-debates (= 0.27.
|
14
|
-
decidim-forms (= 0.27.
|
15
|
-
decidim-generators (= 0.27.
|
16
|
-
decidim-meetings (= 0.27.
|
17
|
-
decidim-pages (= 0.27.
|
18
|
-
decidim-participatory_processes (= 0.27.
|
19
|
-
decidim-proposals (= 0.27.
|
20
|
-
decidim-sortitions (= 0.27.
|
21
|
-
decidim-surveys (= 0.27.
|
22
|
-
decidim-system (= 0.27.
|
23
|
-
decidim-templates (= 0.27.
|
24
|
-
decidim-verifications (= 0.27.
|
25
|
-
decidim-accountability (0.27.
|
26
|
-
decidim-comments (= 0.27.
|
27
|
-
decidim-core (= 0.27.
|
28
|
-
decidim-admin (0.27.
|
4
|
+
decidim (0.27.7)
|
5
|
+
decidim-accountability (= 0.27.7)
|
6
|
+
decidim-admin (= 0.27.7)
|
7
|
+
decidim-api (= 0.27.7)
|
8
|
+
decidim-assemblies (= 0.27.7)
|
9
|
+
decidim-blogs (= 0.27.7)
|
10
|
+
decidim-budgets (= 0.27.7)
|
11
|
+
decidim-comments (= 0.27.7)
|
12
|
+
decidim-core (= 0.27.7)
|
13
|
+
decidim-debates (= 0.27.7)
|
14
|
+
decidim-forms (= 0.27.7)
|
15
|
+
decidim-generators (= 0.27.7)
|
16
|
+
decidim-meetings (= 0.27.7)
|
17
|
+
decidim-pages (= 0.27.7)
|
18
|
+
decidim-participatory_processes (= 0.27.7)
|
19
|
+
decidim-proposals (= 0.27.7)
|
20
|
+
decidim-sortitions (= 0.27.7)
|
21
|
+
decidim-surveys (= 0.27.7)
|
22
|
+
decidim-system (= 0.27.7)
|
23
|
+
decidim-templates (= 0.27.7)
|
24
|
+
decidim-verifications (= 0.27.7)
|
25
|
+
decidim-accountability (0.27.7)
|
26
|
+
decidim-comments (= 0.27.7)
|
27
|
+
decidim-core (= 0.27.7)
|
28
|
+
decidim-admin (0.27.7)
|
29
29
|
active_link_to (~> 1.0)
|
30
|
-
decidim-core (= 0.27.
|
30
|
+
decidim-core (= 0.27.7)
|
31
31
|
devise (~> 4.7)
|
32
32
|
devise-i18n (~> 1.2)
|
33
33
|
devise_invitable (~> 2.0, >= 2.0.9)
|
34
|
-
decidim-api (0.27.
|
34
|
+
decidim-api (0.27.7)
|
35
|
+
decidim-core (= 0.27.7)
|
35
36
|
graphql (~> 1.12, < 1.13)
|
36
37
|
graphql-docs (~> 2.1.0)
|
37
38
|
rack-cors (~> 1.0)
|
38
|
-
decidim-assemblies (0.27.
|
39
|
-
decidim-core (= 0.27.
|
40
|
-
decidim-blogs (0.27.
|
41
|
-
decidim-admin (= 0.27.
|
42
|
-
decidim-comments (= 0.27.
|
43
|
-
decidim-core (= 0.27.
|
44
|
-
decidim-budgets (0.27.
|
45
|
-
decidim-comments (= 0.27.
|
46
|
-
decidim-core (= 0.27.
|
47
|
-
decidim-comments (0.27.
|
48
|
-
decidim-core (= 0.27.
|
39
|
+
decidim-assemblies (0.27.7)
|
40
|
+
decidim-core (= 0.27.7)
|
41
|
+
decidim-blogs (0.27.7)
|
42
|
+
decidim-admin (= 0.27.7)
|
43
|
+
decidim-comments (= 0.27.7)
|
44
|
+
decidim-core (= 0.27.7)
|
45
|
+
decidim-budgets (0.27.7)
|
46
|
+
decidim-comments (= 0.27.7)
|
47
|
+
decidim-core (= 0.27.7)
|
48
|
+
decidim-comments (0.27.7)
|
49
|
+
decidim-core (= 0.27.7)
|
49
50
|
redcarpet (~> 3.5, >= 3.5.1)
|
50
|
-
decidim-conferences (0.27.
|
51
|
-
decidim-core (= 0.27.
|
52
|
-
decidim-meetings (= 0.27.
|
51
|
+
decidim-conferences (0.27.7)
|
52
|
+
decidim-core (= 0.27.7)
|
53
|
+
decidim-meetings (= 0.27.7)
|
53
54
|
wicked_pdf (~> 2.1)
|
54
55
|
wkhtmltopdf-binary (~> 0.12)
|
55
|
-
decidim-consultations (0.27.
|
56
|
-
decidim-admin (= 0.27.
|
57
|
-
decidim-comments (= 0.27.
|
58
|
-
decidim-core (= 0.27.
|
59
|
-
decidim-core (0.27.
|
56
|
+
decidim-consultations (0.27.7)
|
57
|
+
decidim-admin (= 0.27.7)
|
58
|
+
decidim-comments (= 0.27.7)
|
59
|
+
decidim-core (= 0.27.7)
|
60
|
+
decidim-core (0.27.7)
|
60
61
|
active_link_to (~> 1.0)
|
61
62
|
acts_as_list (~> 0.9)
|
62
63
|
batch-loader (~> 1.2)
|
63
64
|
browser (~> 2.7)
|
64
|
-
carrierwave (~> 2.2.
|
65
|
+
carrierwave (~> 2.2.5, >= 2.2.5)
|
65
66
|
cells-erb (~> 0.1.0)
|
66
67
|
cells-rails (~> 0.1.3)
|
67
68
|
charlock_holmes (~> 0.7)
|
68
69
|
date_validator (~> 0.12.0)
|
69
|
-
decidim-api (= 0.27.5)
|
70
70
|
devise (~> 4.7)
|
71
71
|
devise-i18n (~> 1.2)
|
72
72
|
diffy (~> 3.3)
|
@@ -82,7 +82,6 @@ PATH
|
|
82
82
|
loofah (~> 2.19.0)
|
83
83
|
mime-types (>= 1.16, < 4.0)
|
84
84
|
mini_magick (~> 4.9)
|
85
|
-
mustache (~> 1.1.0)
|
86
85
|
omniauth (~> 2.0)
|
87
86
|
omniauth-facebook (~> 5.0)
|
88
87
|
omniauth-google-oauth2 (~> 1.0)
|
@@ -107,17 +106,18 @@ PATH
|
|
107
106
|
webpacker (= 6.0.0.rc.5)
|
108
107
|
webpush (~> 1.1)
|
109
108
|
wisper (~> 2.0)
|
110
|
-
decidim-debates (0.27.
|
111
|
-
decidim-comments (= 0.27.
|
112
|
-
decidim-core (= 0.27.
|
113
|
-
decidim-dev (0.27.
|
109
|
+
decidim-debates (0.27.7)
|
110
|
+
decidim-comments (= 0.27.7)
|
111
|
+
decidim-core (= 0.27.7)
|
112
|
+
decidim-dev (0.27.7)
|
114
113
|
axe-core-rspec (~> 4.1.0)
|
115
114
|
byebug (~> 11.0)
|
116
115
|
capybara (~> 3.24)
|
117
116
|
db-query-matchers (~> 0.10.0)
|
118
|
-
decidim (= 0.27.
|
117
|
+
decidim (= 0.27.7)
|
119
118
|
erb_lint (~> 0.0.35)
|
120
119
|
factory_bot_rails (~> 4.8)
|
120
|
+
faker (= 2.19.0)
|
121
121
|
i18n-tasks (~> 0.9.18)
|
122
122
|
mdl (~> 0.5)
|
123
123
|
nokogiri (~> 1.13)
|
@@ -138,101 +138,100 @@ PATH
|
|
138
138
|
w3c_rspec_validators (~> 0.3.0)
|
139
139
|
webmock (~> 3.6)
|
140
140
|
wisper-rspec (~> 1.0)
|
141
|
-
decidim-elections (0.27.
|
141
|
+
decidim-elections (0.27.7)
|
142
142
|
decidim-bulletin_board (= 0.23)
|
143
|
-
decidim-core (= 0.27.
|
144
|
-
decidim-forms (= 0.27.
|
145
|
-
decidim-proposals (= 0.27.
|
143
|
+
decidim-core (= 0.27.7)
|
144
|
+
decidim-forms (= 0.27.7)
|
145
|
+
decidim-proposals (= 0.27.7)
|
146
146
|
rack-attack (~> 6.0)
|
147
147
|
voting_schemes-dummy (= 0.23)
|
148
148
|
voting_schemes-electionguard (= 0.23)
|
149
|
-
decidim-forms (0.27.
|
150
|
-
decidim-core (= 0.27.
|
149
|
+
decidim-forms (0.27.7)
|
150
|
+
decidim-core (= 0.27.7)
|
151
151
|
wicked_pdf (~> 2.1)
|
152
152
|
wkhtmltopdf-binary (~> 0.12)
|
153
|
-
decidim-generators (0.27.
|
154
|
-
decidim-core (= 0.27.
|
155
|
-
decidim-initiatives (0.27.
|
156
|
-
decidim-admin (= 0.27.
|
157
|
-
decidim-comments (= 0.27.
|
158
|
-
decidim-core (= 0.27.
|
159
|
-
decidim-verifications (= 0.27.
|
153
|
+
decidim-generators (0.27.7)
|
154
|
+
decidim-core (= 0.27.7)
|
155
|
+
decidim-initiatives (0.27.7)
|
156
|
+
decidim-admin (= 0.27.7)
|
157
|
+
decidim-comments (= 0.27.7)
|
158
|
+
decidim-core (= 0.27.7)
|
159
|
+
decidim-verifications (= 0.27.7)
|
160
160
|
origami (~> 2.1)
|
161
161
|
rexml (~> 3.2.5)
|
162
162
|
wicked (~> 1.3)
|
163
163
|
wicked_pdf (~> 2.1)
|
164
164
|
wkhtmltopdf-binary (~> 0.12)
|
165
|
-
decidim-meetings (0.27.
|
166
|
-
decidim-core (= 0.27.
|
167
|
-
decidim-forms (= 0.27.
|
165
|
+
decidim-meetings (0.27.7)
|
166
|
+
decidim-core (= 0.27.7)
|
167
|
+
decidim-forms (= 0.27.7)
|
168
168
|
icalendar (~> 2.5)
|
169
|
-
decidim-pages (0.27.
|
170
|
-
decidim-core (= 0.27.
|
171
|
-
decidim-participatory_processes (0.27.
|
172
|
-
decidim-core (= 0.27.
|
173
|
-
decidim-proposals (0.27.
|
174
|
-
decidim-comments (= 0.27.
|
175
|
-
decidim-core (= 0.27.
|
169
|
+
decidim-pages (0.27.7)
|
170
|
+
decidim-core (= 0.27.7)
|
171
|
+
decidim-participatory_processes (0.27.7)
|
172
|
+
decidim-core (= 0.27.7)
|
173
|
+
decidim-proposals (0.27.7)
|
174
|
+
decidim-comments (= 0.27.7)
|
175
|
+
decidim-core (= 0.27.7)
|
176
176
|
doc2text (~> 0.4.5)
|
177
177
|
redcarpet (~> 3.5, >= 3.5.1)
|
178
|
-
decidim-sortitions (0.27.
|
179
|
-
decidim-admin (= 0.27.
|
180
|
-
decidim-comments (= 0.27.
|
181
|
-
decidim-core (= 0.27.
|
182
|
-
decidim-proposals (= 0.27.
|
183
|
-
decidim-surveys (0.27.
|
184
|
-
decidim-core (= 0.27.
|
185
|
-
decidim-forms (= 0.27.
|
186
|
-
|
187
|
-
decidim-system (0.27.5)
|
178
|
+
decidim-sortitions (0.27.7)
|
179
|
+
decidim-admin (= 0.27.7)
|
180
|
+
decidim-comments (= 0.27.7)
|
181
|
+
decidim-core (= 0.27.7)
|
182
|
+
decidim-proposals (= 0.27.7)
|
183
|
+
decidim-surveys (0.27.7)
|
184
|
+
decidim-core (= 0.27.7)
|
185
|
+
decidim-forms (= 0.27.7)
|
186
|
+
decidim-system (0.27.7)
|
188
187
|
active_link_to (~> 1.0)
|
189
|
-
decidim-core (= 0.27.
|
188
|
+
decidim-core (= 0.27.7)
|
190
189
|
devise (~> 4.7)
|
191
190
|
devise-i18n (~> 1.2)
|
192
191
|
devise_invitable (~> 2.0, >= 2.0.9)
|
193
|
-
decidim-templates (0.27.
|
194
|
-
decidim-core (= 0.27.
|
195
|
-
decidim-forms (= 0.27.
|
196
|
-
decidim-verifications (0.27.
|
197
|
-
decidim-core (= 0.27.
|
192
|
+
decidim-templates (0.27.7)
|
193
|
+
decidim-core (= 0.27.7)
|
194
|
+
decidim-forms (= 0.27.7)
|
195
|
+
decidim-verifications (0.27.7)
|
196
|
+
decidim-core (= 0.27.7)
|
198
197
|
|
199
198
|
GEM
|
200
199
|
remote: https://rubygems.org/
|
201
200
|
specs:
|
202
|
-
actioncable (6.1.6)
|
203
|
-
actionpack (= 6.1.6)
|
204
|
-
activesupport (= 6.1.6)
|
201
|
+
actioncable (6.1.7.6)
|
202
|
+
actionpack (= 6.1.7.6)
|
203
|
+
activesupport (= 6.1.7.6)
|
205
204
|
nio4r (~> 2.0)
|
206
205
|
websocket-driver (>= 0.6.1)
|
207
|
-
actionmailbox (6.1.6)
|
208
|
-
actionpack (= 6.1.6)
|
209
|
-
activejob (= 6.1.6)
|
210
|
-
activerecord (= 6.1.6)
|
211
|
-
activestorage (= 6.1.6)
|
212
|
-
activesupport (= 6.1.6)
|
206
|
+
actionmailbox (6.1.7.6)
|
207
|
+
actionpack (= 6.1.7.6)
|
208
|
+
activejob (= 6.1.7.6)
|
209
|
+
activerecord (= 6.1.7.6)
|
210
|
+
activestorage (= 6.1.7.6)
|
211
|
+
activesupport (= 6.1.7.6)
|
213
212
|
mail (>= 2.7.1)
|
214
|
-
actionmailer (6.1.6)
|
215
|
-
actionpack (= 6.1.6)
|
216
|
-
actionview (= 6.1.6)
|
217
|
-
activejob (= 6.1.6)
|
218
|
-
activesupport (= 6.1.6)
|
213
|
+
actionmailer (6.1.7.6)
|
214
|
+
actionpack (= 6.1.7.6)
|
215
|
+
actionview (= 6.1.7.6)
|
216
|
+
activejob (= 6.1.7.6)
|
217
|
+
activesupport (= 6.1.7.6)
|
219
218
|
mail (~> 2.5, >= 2.5.4)
|
220
219
|
rails-dom-testing (~> 2.0)
|
221
|
-
actionpack (6.1.6)
|
222
|
-
actionview (= 6.1.6)
|
223
|
-
activesupport (= 6.1.6)
|
220
|
+
actionpack (6.1.7.6)
|
221
|
+
actionview (= 6.1.7.6)
|
222
|
+
activesupport (= 6.1.7.6)
|
224
223
|
rack (~> 2.0, >= 2.0.9)
|
225
224
|
rack-test (>= 0.6.3)
|
226
225
|
rails-dom-testing (~> 2.0)
|
227
226
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
228
|
-
actiontext (6.1.6)
|
229
|
-
actionpack (= 6.1.6)
|
230
|
-
activerecord (= 6.1.6)
|
231
|
-
activestorage (= 6.1.6)
|
232
|
-
activesupport (= 6.1.6)
|
227
|
+
actiontext (6.1.7.6)
|
228
|
+
actionpack (= 6.1.7.6)
|
229
|
+
activerecord (= 6.1.7.6)
|
230
|
+
activestorage (= 6.1.7.6)
|
231
|
+
activesupport (= 6.1.7.6)
|
233
232
|
nokogiri (>= 1.8.5)
|
234
|
-
actionview (6.1.6)
|
235
|
-
activesupport (= 6.1.6)
|
233
|
+
actionview (6.1.7.6)
|
234
|
+
activesupport (= 6.1.7.6)
|
236
235
|
builder (~> 3.1)
|
237
236
|
erubi (~> 1.4)
|
238
237
|
rails-dom-testing (~> 2.0)
|
@@ -240,22 +239,22 @@ GEM
|
|
240
239
|
active_link_to (1.0.5)
|
241
240
|
actionpack
|
242
241
|
addressable
|
243
|
-
activejob (6.1.6)
|
244
|
-
activesupport (= 6.1.6)
|
242
|
+
activejob (6.1.7.6)
|
243
|
+
activesupport (= 6.1.7.6)
|
245
244
|
globalid (>= 0.3.6)
|
246
|
-
activemodel (6.1.6)
|
247
|
-
activesupport (= 6.1.6)
|
248
|
-
activerecord (6.1.6)
|
249
|
-
activemodel (= 6.1.6)
|
250
|
-
activesupport (= 6.1.6)
|
251
|
-
activestorage (6.1.6)
|
252
|
-
actionpack (= 6.1.6)
|
253
|
-
activejob (= 6.1.6)
|
254
|
-
activerecord (= 6.1.6)
|
255
|
-
activesupport (= 6.1.6)
|
245
|
+
activemodel (6.1.7.6)
|
246
|
+
activesupport (= 6.1.7.6)
|
247
|
+
activerecord (6.1.7.6)
|
248
|
+
activemodel (= 6.1.7.6)
|
249
|
+
activesupport (= 6.1.7.6)
|
250
|
+
activestorage (6.1.7.6)
|
251
|
+
actionpack (= 6.1.7.6)
|
252
|
+
activejob (= 6.1.7.6)
|
253
|
+
activerecord (= 6.1.7.6)
|
254
|
+
activesupport (= 6.1.7.6)
|
256
255
|
marcel (~> 1.0)
|
257
256
|
mini_mime (>= 1.1.0)
|
258
|
-
activesupport (6.1.6)
|
257
|
+
activesupport (6.1.7.6)
|
259
258
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
260
259
|
i18n (>= 1.6, < 2)
|
261
260
|
minitest (>= 5.1)
|
@@ -263,10 +262,10 @@ GEM
|
|
263
262
|
zeitwerk (~> 2.3)
|
264
263
|
acts_as_list (0.9.19)
|
265
264
|
activerecord (>= 3.0)
|
266
|
-
addressable (2.8.
|
267
|
-
public_suffix (>= 2.0.2, <
|
265
|
+
addressable (2.8.6)
|
266
|
+
public_suffix (>= 2.0.2, < 6.0)
|
268
267
|
ast (2.4.2)
|
269
|
-
axe-core-api (4.
|
268
|
+
axe-core-api (4.9.1)
|
270
269
|
dumb_delegator
|
271
270
|
virtus
|
272
271
|
axe-core-rspec (4.1.0)
|
@@ -277,6 +276,7 @@ GEM
|
|
277
276
|
descendants_tracker (~> 0.0.4)
|
278
277
|
ice_nine (~> 0.11.0)
|
279
278
|
thread_safe (~> 0.3, >= 0.3.1)
|
279
|
+
base64 (0.2.0)
|
280
280
|
batch-loader (1.5.0)
|
281
281
|
bcrypt (3.1.20)
|
282
282
|
better_html (1.0.16)
|
@@ -287,6 +287,7 @@ GEM
|
|
287
287
|
html_tokenizer (~> 0.0.6)
|
288
288
|
parser (>= 2.4)
|
289
289
|
smart_properties
|
290
|
+
bigdecimal (3.1.8)
|
290
291
|
bindex (0.8.1)
|
291
292
|
bootsnap (1.10.3)
|
292
293
|
msgpack (~> 1.2)
|
@@ -294,16 +295,16 @@ GEM
|
|
294
295
|
browser (2.7.1)
|
295
296
|
builder (3.2.4)
|
296
297
|
byebug (11.1.3)
|
297
|
-
capybara (3.
|
298
|
+
capybara (3.40.0)
|
298
299
|
addressable
|
299
300
|
matrix
|
300
301
|
mini_mime (>= 0.1.3)
|
301
|
-
nokogiri (~> 1.
|
302
|
+
nokogiri (~> 1.11)
|
302
303
|
rack (>= 1.6.0)
|
303
304
|
rack-test (>= 0.6.3)
|
304
305
|
regexp_parser (>= 1.5, < 3.0)
|
305
306
|
xpath (~> 3.2)
|
306
|
-
carrierwave (2.2.
|
307
|
+
carrierwave (2.2.6)
|
307
308
|
activemodel (>= 5.0.0)
|
308
309
|
activesupport (>= 5.0.0)
|
309
310
|
addressable (~> 2.6)
|
@@ -322,8 +323,8 @@ GEM
|
|
322
323
|
cells-rails (0.1.5)
|
323
324
|
actionpack (>= 5.0)
|
324
325
|
cells (>= 4.1.6, < 5.0.0)
|
325
|
-
charlock_holmes (0.7.
|
326
|
-
chef-utils (18.
|
326
|
+
charlock_holmes (0.7.9)
|
327
|
+
chef-utils (18.5.0)
|
327
328
|
concurrent-ruby
|
328
329
|
childprocess (4.1.0)
|
329
330
|
coercible (1.0.0)
|
@@ -337,13 +338,15 @@ GEM
|
|
337
338
|
coffee-script-source (1.12.2)
|
338
339
|
colorize (0.8.1)
|
339
340
|
commonmarker (0.23.10)
|
340
|
-
concurrent-ruby (1.2.
|
341
|
-
crack (0.
|
341
|
+
concurrent-ruby (1.2.3)
|
342
|
+
crack (1.0.0)
|
343
|
+
bigdecimal
|
342
344
|
rexml
|
343
345
|
crass (1.0.6)
|
344
|
-
css_parser (1.
|
346
|
+
css_parser (1.17.1)
|
345
347
|
addressable
|
346
|
-
|
348
|
+
csv (3.3.0)
|
349
|
+
date (3.3.4)
|
347
350
|
date_validator (0.12.0)
|
348
351
|
activemodel (>= 3)
|
349
352
|
activesupport (>= 3)
|
@@ -361,24 +364,24 @@ GEM
|
|
361
364
|
declarative-option (0.1.0)
|
362
365
|
descendants_tracker (0.0.4)
|
363
366
|
thread_safe (~> 0.3, >= 0.3.1)
|
364
|
-
devise (4.9.
|
367
|
+
devise (4.9.4)
|
365
368
|
bcrypt (~> 3.0)
|
366
369
|
orm_adapter (~> 0.1)
|
367
370
|
railties (>= 4.1.0)
|
368
371
|
responders
|
369
372
|
warden (~> 1.2.3)
|
370
|
-
devise-i18n (1.12.
|
373
|
+
devise-i18n (1.12.1)
|
371
374
|
devise (>= 4.9.0)
|
372
375
|
devise_invitable (2.0.9)
|
373
376
|
actionmailer (>= 5.0)
|
374
377
|
devise (>= 4.6)
|
375
|
-
diff-lcs (1.5.
|
378
|
+
diff-lcs (1.5.1)
|
376
379
|
diffy (3.4.2)
|
377
|
-
doc2text (0.4.
|
378
|
-
nokogiri (>= 1.13.2, < 1.
|
380
|
+
doc2text (0.4.7)
|
381
|
+
nokogiri (>= 1.13.2, < 1.17.0)
|
379
382
|
rubyzip (~> 2.3.0)
|
380
383
|
docile (1.4.0)
|
381
|
-
doorkeeper (5.
|
384
|
+
doorkeeper (5.7.1)
|
382
385
|
railties (>= 5)
|
383
386
|
doorkeeper-i18n (4.0.1)
|
384
387
|
dumb_delegator (1.0.0)
|
@@ -394,7 +397,7 @@ GEM
|
|
394
397
|
temple
|
395
398
|
erubi (1.12.0)
|
396
399
|
escape_utils (1.3.0)
|
397
|
-
excon (0.
|
400
|
+
excon (0.111.0)
|
398
401
|
execjs (2.9.1)
|
399
402
|
extended-markdown-filter (0.7.0)
|
400
403
|
html-pipeline (~> 2.9)
|
@@ -430,11 +433,11 @@ GEM
|
|
430
433
|
faraday-retry (1.0.3)
|
431
434
|
faraday_middleware (1.2.0)
|
432
435
|
faraday (~> 1.0)
|
433
|
-
ffi (1.
|
436
|
+
ffi (1.16.3)
|
434
437
|
file_validators (3.0.0)
|
435
438
|
activemodel (>= 3.2)
|
436
439
|
mime-types (>= 1.0)
|
437
|
-
fog-core (2.
|
440
|
+
fog-core (2.4.0)
|
438
441
|
builder
|
439
442
|
excon (~> 0.71)
|
440
443
|
formatador (>= 0.2, < 2.0)
|
@@ -448,7 +451,9 @@ GEM
|
|
448
451
|
activesupport (>= 4.1, < 7.1)
|
449
452
|
railties (>= 4.1, < 7.1)
|
450
453
|
gemoji (3.0.1)
|
451
|
-
geocoder (1.8.
|
454
|
+
geocoder (1.8.3)
|
455
|
+
base64 (>= 0.1.0)
|
456
|
+
csv (>= 3.0.0)
|
452
457
|
globalid (1.2.1)
|
453
458
|
activesupport (>= 6.1)
|
454
459
|
graphlient (0.5.0)
|
@@ -456,7 +461,7 @@ GEM
|
|
456
461
|
faraday_middleware
|
457
462
|
graphql-client
|
458
463
|
graphql (1.12.24)
|
459
|
-
graphql-client (0.
|
464
|
+
graphql-client (0.19.0)
|
460
465
|
activesupport (>= 3.0)
|
461
466
|
graphql
|
462
467
|
graphql-docs (2.1.0)
|
@@ -469,12 +474,13 @@ GEM
|
|
469
474
|
sass (~> 3.4)
|
470
475
|
hashdiff (1.1.0)
|
471
476
|
hashie (5.0.0)
|
472
|
-
highline (
|
477
|
+
highline (3.1.0)
|
478
|
+
reline
|
473
479
|
hkdf (0.3.0)
|
474
480
|
html-pipeline (2.14.3)
|
475
481
|
activesupport (>= 2)
|
476
482
|
nokogiri (>= 1.4)
|
477
|
-
html_tokenizer (0.0.
|
483
|
+
html_tokenizer (0.0.8)
|
478
484
|
htmlentities (4.3.4)
|
479
485
|
i18n (1.14.1)
|
480
486
|
concurrent-ruby (~> 1.0)
|
@@ -497,7 +503,8 @@ GEM
|
|
497
503
|
ruby-vips (>= 2.0.17, < 3)
|
498
504
|
invisible_captcha (0.13.0)
|
499
505
|
rails (>= 3.2.0)
|
500
|
-
|
506
|
+
io-console (0.7.2)
|
507
|
+
json (2.7.2)
|
501
508
|
jwt (2.2.3)
|
502
509
|
kaminari (1.2.2)
|
503
510
|
activesupport (>= 4.1.0)
|
@@ -535,7 +542,7 @@ GEM
|
|
535
542
|
net-imap
|
536
543
|
net-pop
|
537
544
|
net-smtp
|
538
|
-
marcel (1.0.
|
545
|
+
marcel (1.0.4)
|
539
546
|
matrix (0.4.2)
|
540
547
|
mdl (0.13.0)
|
541
548
|
kramdown (~> 2.3)
|
@@ -544,34 +551,33 @@ GEM
|
|
544
551
|
mixlib-config (>= 2.2.1, < 4)
|
545
552
|
mixlib-shellout
|
546
553
|
method_source (1.0.0)
|
547
|
-
mime-types (3.5.
|
554
|
+
mime-types (3.5.2)
|
548
555
|
mime-types-data (~> 3.2015)
|
549
|
-
mime-types-data (3.
|
550
|
-
mini_magick (4.
|
556
|
+
mime-types-data (3.2024.0702)
|
557
|
+
mini_magick (4.13.2)
|
551
558
|
mini_mime (1.1.5)
|
552
559
|
mini_portile2 (2.8.5)
|
553
|
-
minitest (5.
|
560
|
+
minitest (5.22.2)
|
554
561
|
mixlib-cli (2.1.8)
|
555
562
|
mixlib-config (3.0.27)
|
556
563
|
tomlrb
|
557
|
-
mixlib-shellout (3.2.
|
564
|
+
mixlib-shellout (3.2.8)
|
558
565
|
chef-utils
|
559
566
|
msgpack (1.4.5)
|
560
567
|
multi_xml (0.6.0)
|
561
|
-
multipart-post (2.
|
562
|
-
|
563
|
-
net-imap (0.4.4)
|
568
|
+
multipart-post (2.4.1)
|
569
|
+
net-imap (0.4.10)
|
564
570
|
date
|
565
571
|
net-protocol
|
566
572
|
net-pop (0.1.2)
|
567
573
|
net-protocol
|
568
|
-
net-protocol (0.2.
|
574
|
+
net-protocol (0.2.2)
|
569
575
|
timeout
|
570
|
-
net-smtp (0.
|
576
|
+
net-smtp (0.4.0.1)
|
571
577
|
net-protocol
|
572
|
-
nio4r (2.
|
573
|
-
nokogiri (1.
|
574
|
-
mini_portile2 (~> 2.8.
|
578
|
+
nio4r (2.7.0)
|
579
|
+
nokogiri (1.16.2)
|
580
|
+
mini_portile2 (~> 2.8.2)
|
575
581
|
racc (~> 1.4)
|
576
582
|
oauth (1.1.0)
|
577
583
|
oauth-tty (~> 1.0, >= 1.0.1)
|
@@ -592,18 +598,18 @@ GEM
|
|
592
598
|
rack-protection
|
593
599
|
omniauth-facebook (5.0.0)
|
594
600
|
omniauth-oauth2 (~> 1.2)
|
595
|
-
omniauth-google-oauth2 (1.1.
|
601
|
+
omniauth-google-oauth2 (1.1.2)
|
596
602
|
jwt (>= 2.0)
|
597
|
-
oauth2 (~> 2.0
|
603
|
+
oauth2 (~> 2.0)
|
598
604
|
omniauth (~> 2.0)
|
599
|
-
omniauth-oauth2 (~> 1.8
|
605
|
+
omniauth-oauth2 (~> 1.8)
|
600
606
|
omniauth-oauth (1.2.0)
|
601
607
|
oauth
|
602
608
|
omniauth (>= 1.0, < 3)
|
603
609
|
omniauth-oauth2 (1.8.0)
|
604
610
|
oauth2 (>= 1.4, < 3)
|
605
611
|
omniauth (~> 2.0)
|
606
|
-
omniauth-rails_csrf_protection (1.0.
|
612
|
+
omniauth-rails_csrf_protection (1.0.2)
|
607
613
|
actionpack (>= 4.2)
|
608
614
|
omniauth (~> 2.0)
|
609
615
|
omniauth-twitter (1.4.0)
|
@@ -615,17 +621,17 @@ GEM
|
|
615
621
|
paper_trail (12.3.0)
|
616
622
|
activerecord (>= 5.2)
|
617
623
|
request_store (~> 1.1)
|
618
|
-
parallel (1.
|
624
|
+
parallel (1.25.1)
|
619
625
|
parallel_tests (3.13.0)
|
620
626
|
parallel
|
621
|
-
parser (3.
|
627
|
+
parser (3.3.4.0)
|
622
628
|
ast (~> 2.4.1)
|
623
629
|
racc
|
624
630
|
pg (1.1.4)
|
625
631
|
pg_search (2.3.6)
|
626
632
|
activerecord (>= 5.2)
|
627
633
|
activesupport (>= 5.2)
|
628
|
-
premailer (1.
|
634
|
+
premailer (1.23.0)
|
629
635
|
addressable
|
630
636
|
css_parser (>= 1.12.0)
|
631
637
|
htmlentities (>= 4.0.0)
|
@@ -633,7 +639,7 @@ GEM
|
|
633
639
|
actionmailer (>= 3)
|
634
640
|
net-smtp
|
635
641
|
premailer (~> 1.7, >= 1.7.9)
|
636
|
-
public_suffix (
|
642
|
+
public_suffix (5.0.4)
|
637
643
|
puma (5.6.4)
|
638
644
|
nio4r (~> 2.0)
|
639
645
|
racc (1.7.3)
|
@@ -642,26 +648,27 @@ GEM
|
|
642
648
|
rack (>= 1.0, < 4)
|
643
649
|
rack-cors (1.1.1)
|
644
650
|
rack (>= 2.0.0)
|
645
|
-
rack-protection (3.
|
651
|
+
rack-protection (3.2.0)
|
652
|
+
base64 (>= 0.1.0)
|
646
653
|
rack (~> 2.2, >= 2.2.4)
|
647
654
|
rack-proxy (0.7.7)
|
648
655
|
rack
|
649
656
|
rack-test (2.1.0)
|
650
657
|
rack (>= 1.3)
|
651
|
-
rails (6.1.6)
|
652
|
-
actioncable (= 6.1.6)
|
653
|
-
actionmailbox (= 6.1.6)
|
654
|
-
actionmailer (= 6.1.6)
|
655
|
-
actionpack (= 6.1.6)
|
656
|
-
actiontext (= 6.1.6)
|
657
|
-
actionview (= 6.1.6)
|
658
|
-
activejob (= 6.1.6)
|
659
|
-
activemodel (= 6.1.6)
|
660
|
-
activerecord (= 6.1.6)
|
661
|
-
activestorage (= 6.1.6)
|
662
|
-
activesupport (= 6.1.6)
|
658
|
+
rails (6.1.7.6)
|
659
|
+
actioncable (= 6.1.7.6)
|
660
|
+
actionmailbox (= 6.1.7.6)
|
661
|
+
actionmailer (= 6.1.7.6)
|
662
|
+
actionpack (= 6.1.7.6)
|
663
|
+
actiontext (= 6.1.7.6)
|
664
|
+
actionview (= 6.1.7.6)
|
665
|
+
activejob (= 6.1.7.6)
|
666
|
+
activemodel (= 6.1.7.6)
|
667
|
+
activerecord (= 6.1.7.6)
|
668
|
+
activestorage (= 6.1.7.6)
|
669
|
+
activesupport (= 6.1.7.6)
|
663
670
|
bundler (>= 1.15.0)
|
664
|
-
railties (= 6.1.6)
|
671
|
+
railties (= 6.1.7.6)
|
665
672
|
sprockets-rails (>= 2.0.0)
|
666
673
|
rails-controller-testing (1.0.5)
|
667
674
|
actionpack (>= 5.0.1.rc1)
|
@@ -676,9 +683,9 @@ GEM
|
|
676
683
|
rails-i18n (6.0.0)
|
677
684
|
i18n (>= 0.7, < 2)
|
678
685
|
railties (>= 6.0.0, < 7)
|
679
|
-
railties (6.1.6)
|
680
|
-
actionpack (= 6.1.6)
|
681
|
-
activesupport (= 6.1.6)
|
686
|
+
railties (6.1.7.6)
|
687
|
+
actionpack (= 6.1.7.6)
|
688
|
+
activesupport (= 6.1.7.6)
|
682
689
|
method_source
|
683
690
|
rake (>= 12.2)
|
684
691
|
thor (~> 1.0)
|
@@ -688,36 +695,38 @@ GEM
|
|
688
695
|
activerecord (>= 5.2.4)
|
689
696
|
activesupport (>= 5.2.4)
|
690
697
|
i18n
|
691
|
-
rb-fsevent (0.11.
|
698
|
+
rb-fsevent (0.11.2)
|
692
699
|
rb-inotify (0.10.1)
|
693
700
|
ffi (~> 1.0)
|
694
701
|
redcarpet (3.6.0)
|
695
702
|
redis (4.8.1)
|
696
|
-
regexp_parser (2.
|
703
|
+
regexp_parser (2.9.2)
|
704
|
+
reline (0.5.9)
|
705
|
+
io-console (~> 0.5)
|
697
706
|
request_store (1.5.1)
|
698
707
|
rack (>= 1.4)
|
699
708
|
responders (3.1.1)
|
700
709
|
actionpack (>= 5.2)
|
701
710
|
railties (>= 5.2)
|
702
711
|
rexml (3.2.5)
|
703
|
-
rspec (3.
|
704
|
-
rspec-core (~> 3.
|
705
|
-
rspec-expectations (~> 3.
|
706
|
-
rspec-mocks (~> 3.
|
712
|
+
rspec (3.13.0)
|
713
|
+
rspec-core (~> 3.13.0)
|
714
|
+
rspec-expectations (~> 3.13.0)
|
715
|
+
rspec-mocks (~> 3.13.0)
|
707
716
|
rspec-cells (0.3.9)
|
708
717
|
cells (>= 4.0.0, < 6.0.0)
|
709
718
|
rspec-rails (>= 3.0.0, < 6.2.0)
|
710
|
-
rspec-core (3.
|
711
|
-
rspec-support (~> 3.
|
712
|
-
rspec-expectations (3.
|
719
|
+
rspec-core (3.13.0)
|
720
|
+
rspec-support (~> 3.13.0)
|
721
|
+
rspec-expectations (3.13.1)
|
713
722
|
diff-lcs (>= 1.2.0, < 2.0)
|
714
|
-
rspec-support (~> 3.
|
723
|
+
rspec-support (~> 3.13.0)
|
715
724
|
rspec-html-matchers (0.9.4)
|
716
725
|
nokogiri (~> 1)
|
717
726
|
rspec (>= 3.0.0.a, < 4)
|
718
|
-
rspec-mocks (3.
|
727
|
+
rspec-mocks (3.13.1)
|
719
728
|
diff-lcs (>= 1.2.0, < 2.0)
|
720
|
-
rspec-support (~> 3.
|
729
|
+
rspec-support (~> 3.13.0)
|
721
730
|
rspec-rails (4.1.2)
|
722
731
|
actionpack (>= 4.2)
|
723
732
|
activesupport (>= 4.2)
|
@@ -728,7 +737,7 @@ GEM
|
|
728
737
|
rspec-support (~> 3.10)
|
729
738
|
rspec-retry (0.6.2)
|
730
739
|
rspec-core (> 3.3)
|
731
|
-
rspec-support (3.
|
740
|
+
rspec-support (3.13.1)
|
732
741
|
rspec_junit_formatter (0.3.0)
|
733
742
|
rspec-core (>= 2, < 4, != 2.12.0)
|
734
743
|
rubocop (1.28.2)
|
@@ -740,8 +749,8 @@ GEM
|
|
740
749
|
rubocop-ast (>= 1.17.0, < 2.0)
|
741
750
|
ruby-progressbar (~> 1.7)
|
742
751
|
unicode-display_width (>= 1.4.0, < 3.0)
|
743
|
-
rubocop-ast (1.
|
744
|
-
parser (>= 3.
|
752
|
+
rubocop-ast (1.31.3)
|
753
|
+
parser (>= 3.3.1.0)
|
745
754
|
rubocop-rails (2.15.2)
|
746
755
|
activesupport (>= 4.2.0)
|
747
756
|
rack (>= 1.1)
|
@@ -749,10 +758,10 @@ GEM
|
|
749
758
|
rubocop-rspec (2.11.1)
|
750
759
|
rubocop (~> 1.19)
|
751
760
|
ruby-progressbar (1.13.0)
|
752
|
-
ruby-vips (2.2.
|
761
|
+
ruby-vips (2.2.1)
|
753
762
|
ffi (~> 1.12)
|
754
763
|
ruby2_keywords (0.0.5)
|
755
|
-
rubyXL (3.4.
|
764
|
+
rubyXL (3.4.27)
|
756
765
|
nokogiri (>= 1.10.8)
|
757
766
|
rubyzip (>= 1.3.0)
|
758
767
|
rubyzip (2.3.2)
|
@@ -789,9 +798,9 @@ GEM
|
|
789
798
|
sprockets (4.2.1)
|
790
799
|
concurrent-ruby (~> 1.0)
|
791
800
|
rack (>= 2.2.4, < 4)
|
792
|
-
sprockets-rails (3.
|
793
|
-
actionpack (>=
|
794
|
-
activesupport (>=
|
801
|
+
sprockets-rails (3.5.1)
|
802
|
+
actionpack (>= 6.1)
|
803
|
+
activesupport (>= 6.1)
|
795
804
|
sprockets (>= 3.0.0)
|
796
805
|
ssrf_filter (1.1.2)
|
797
806
|
temple (0.10.3)
|
@@ -799,8 +808,8 @@ GEM
|
|
799
808
|
unicode-display_width (>= 1.1.1, < 3)
|
800
809
|
thor (1.3.0)
|
801
810
|
thread_safe (0.3.6)
|
802
|
-
tilt (2.
|
803
|
-
timeout (0.4.
|
811
|
+
tilt (2.4.0)
|
812
|
+
timeout (0.4.1)
|
804
813
|
tomlrb (2.0.3)
|
805
814
|
tzinfo (2.0.6)
|
806
815
|
concurrent-ruby (~> 1.0)
|
@@ -809,7 +818,7 @@ GEM
|
|
809
818
|
valid_email2 (2.3.1)
|
810
819
|
activemodel (>= 3.2)
|
811
820
|
mail (~> 2.5)
|
812
|
-
version_gem (1.1.
|
821
|
+
version_gem (1.1.4)
|
813
822
|
virtus (2.0.0)
|
814
823
|
axiom-types (~> 0.1)
|
815
824
|
coercible (~> 1.0)
|
@@ -833,7 +842,7 @@ GEM
|
|
833
842
|
activemodel (>= 6.0.0)
|
834
843
|
bindex (>= 0.4.0)
|
835
844
|
railties (>= 6.0.0)
|
836
|
-
webmock (3.
|
845
|
+
webmock (3.23.1)
|
837
846
|
addressable (>= 2.8.0)
|
838
847
|
crack (>= 0.3.2)
|
839
848
|
hashdiff (>= 0.4.0, < 2.0.0)
|
@@ -850,14 +859,14 @@ GEM
|
|
850
859
|
websocket-extensions (0.1.5)
|
851
860
|
wicked (1.4.0)
|
852
861
|
railties (>= 3.0.7)
|
853
|
-
wicked_pdf (2.
|
862
|
+
wicked_pdf (2.7.0)
|
854
863
|
activesupport
|
855
864
|
wisper (2.0.1)
|
856
865
|
wisper-rspec (1.1.0)
|
857
|
-
wkhtmltopdf-binary (0.12.6.
|
866
|
+
wkhtmltopdf-binary (0.12.6.7)
|
858
867
|
xpath (3.2.0)
|
859
868
|
nokogiri (~> 1.8)
|
860
|
-
zeitwerk (2.6.
|
869
|
+
zeitwerk (2.6.13)
|
861
870
|
|
862
871
|
PLATFORMS
|
863
872
|
ruby
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
$LOAD_PATH.push File.expand_path("lib", __dir__)
|
4
|
+
|
5
|
+
# Maintain your gem's version:
|
6
|
+
require "decidim/generators/version"
|
7
|
+
|
8
|
+
Gem::Specification.new do |s|
|
9
|
+
s.version = Decidim::Generators.version
|
10
|
+
s.authors = ["Josep Jaume Rey Peroy", "Marc Riera Casals", "Oriol Gual Oliva"]
|
11
|
+
s.email = ["josepjaume@gmail.com", "mrc2407@gmail.com", "oriolgual@gmail.com"]
|
12
|
+
s.license = "AGPL-3.0"
|
13
|
+
s.homepage = "https://github.com/decidim/decidim"
|
14
|
+
s.required_ruby_version = "~> 3.0.0"
|
15
|
+
|
16
|
+
s.name = "decidim-generators"
|
17
|
+
|
18
|
+
s.summary = "Citizen participation framework for Ruby on Rails."
|
19
|
+
s.description = "A generator and multiple gems made with Ruby on Rails."
|
20
|
+
|
21
|
+
s.files = Dir.chdir(__dir__) do
|
22
|
+
`git ls-files -z`.split("\x0").select do |f|
|
23
|
+
(File.expand_path(f) == __FILE__) ||
|
24
|
+
f.start_with?(*%w(lib/ Gemfile Gemfile.lock Rakefile README.md))
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
s.bindir = "exe"
|
29
|
+
s.executables = ["decidim"]
|
30
|
+
s.require_paths = ["lib"]
|
31
|
+
|
32
|
+
s.add_dependency "decidim-core", Decidim::Generators.version
|
33
|
+
|
34
|
+
s.add_development_dependency "bundler", "~> 2.2"
|
35
|
+
end
|
@@ -78,6 +78,8 @@ decidim_default: &decidim_default
|
|
78
78
|
max_time_in_validating_state: <%%= Decidim::Env.new("INITIATIVES_MAX_TIME_IN_VALIDATING_STATE", 60).to_i %>
|
79
79
|
print_enabled: <%%= Decidim::Env.new("INITIATIVES_PRINT_ENABLED", "auto").default_or_present_if_exists.to_s %>
|
80
80
|
do_not_require_authorization: <%%= Decidim::Env.new("INITIATIVES_DO_NOT_REQUIRE_AUTHORIZATION").to_boolean_string %>
|
81
|
+
verifications:
|
82
|
+
document_types: <%%= Decidim::Env.new("VERIFICATIONS_DOCUMENT_TYPES", "identification_number,passport").to_array %>
|
81
83
|
|
82
84
|
elections_default: &elections_default
|
83
85
|
bulletin_board_server: <%%= Decidim::Env.new("ELECTIONS_BULLETIN_BOARD_SERVER", 'http://bulletin-board.lvh.me:8000/api').to_s %>
|
@@ -11,7 +11,13 @@ module Decidim
|
|
11
11
|
class ComponentGenerator < Thor
|
12
12
|
include Thor::Actions
|
13
13
|
|
14
|
-
attr_reader :component_name,
|
14
|
+
attr_reader :component_name,
|
15
|
+
:component_module_name,
|
16
|
+
:component_resource_name,
|
17
|
+
:component_folder,
|
18
|
+
:component_description,
|
19
|
+
:core_version,
|
20
|
+
:required_ruby_version
|
15
21
|
|
16
22
|
source_root File.expand_path("component_templates", __dir__)
|
17
23
|
|
@@ -25,6 +31,7 @@ module Decidim
|
|
25
31
|
@component_folder = options[:destination_folder] || "decidim-module-#{component_name}"
|
26
32
|
@core_version = Decidim::Core.version
|
27
33
|
@component_description = ask "Write a description for the new component:"
|
34
|
+
@required_ruby_version = RUBY_VERSION.length == 5 ? RUBY_VERSION[0..2] : RUBY_VERSION
|
28
35
|
|
29
36
|
template "decidim-component.gemspec.erb", "#{component_folder}/decidim-#{component_name}.gemspec"
|
30
37
|
template "Gemfile.erb", "#{component_folder}/Gemfile" if options[:external]
|
@@ -1,23 +1,24 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
|
-
|
2
|
+
<%# This file is automatically generated. Do not edit this file, it will be overwritten
|
3
|
+
If you want to modify it you can do it in the Decidim::GemManager.patch_component_gemfile_generator method %>
|
3
4
|
source "https://rubygems.org"
|
4
5
|
|
5
6
|
ruby RUBY_VERSION
|
6
7
|
|
7
|
-
gem "decidim",
|
8
|
+
gem "decidim", "~> 0.27.7"
|
8
9
|
gem "decidim-<%= component_name %>", path: "."
|
9
10
|
|
10
|
-
gem "puma", ">=
|
11
|
+
gem "puma", ">= 5.6.2"
|
11
12
|
gem "bootsnap", "~> 1.4"
|
12
13
|
|
13
14
|
group :development, :test do
|
14
15
|
gem "byebug", "~> 11.0", platform: :mri
|
15
16
|
|
16
|
-
gem "decidim-dev",
|
17
|
+
gem "decidim-dev", "~> 0.27.7"
|
17
18
|
end
|
18
19
|
|
19
20
|
group :development do
|
20
|
-
gem "faker", "
|
21
|
+
gem "faker", "= 2.19.0"
|
21
22
|
gem "letter_opener_web", "~> 2.0"
|
22
23
|
gem "listen", "~> 3.1"
|
23
24
|
gem "spring", "~> 2.0"
|
@@ -10,13 +10,18 @@ Gem::Specification.new do |s|
|
|
10
10
|
s.email = ["<%= %x[git config user.email].chomp %>"]
|
11
11
|
s.license = "AGPL-3.0"
|
12
12
|
s.homepage = "https://github.com/decidim/decidim-module-<%= component_name %>"
|
13
|
-
s.required_ruby_version = "
|
13
|
+
s.required_ruby_version = "~> <%= required_ruby_version %>"
|
14
14
|
|
15
15
|
s.name = "decidim-<%= component_name %>"
|
16
16
|
s.summary = "A decidim <%= component_name %> module"
|
17
17
|
s.description = "<%= component_description %>."
|
18
18
|
|
19
|
-
s.files = Dir
|
19
|
+
s.files = Dir.chdir(__dir__) do
|
20
|
+
`git ls-files -z`.split("\x0").select do |f|
|
21
|
+
(File.expand_path(f) == __FILE__) ||
|
22
|
+
f.start_with?(*%w(app/ config/ db/ lib/ LICENSE-AGPLv3.txt Rakefile README.md))
|
23
|
+
end
|
24
|
+
end
|
20
25
|
|
21
26
|
s.add_dependency "decidim-core", Decidim::<%= component_module_name %>.version
|
22
27
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-generators
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.27.
|
4
|
+
version: 0.27.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josep Jaume Rey Peroy
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2024-07-16 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.27.
|
21
|
+
version: 0.27.7
|
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.27.
|
28
|
+
version: 0.27.7
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: bundler
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
@@ -54,6 +54,7 @@ files:
|
|
54
54
|
- Gemfile.lock
|
55
55
|
- README.md
|
56
56
|
- Rakefile
|
57
|
+
- decidim-generators.gemspec
|
57
58
|
- exe/decidim
|
58
59
|
- lib/decidim/generators.rb
|
59
60
|
- lib/decidim/generators/app_generator.rb
|
@@ -124,16 +125,16 @@ require_paths:
|
|
124
125
|
- lib
|
125
126
|
required_ruby_version: !ruby/object:Gem::Requirement
|
126
127
|
requirements:
|
127
|
-
- - "
|
128
|
+
- - "~>"
|
128
129
|
- !ruby/object:Gem::Version
|
129
|
-
version:
|
130
|
+
version: 3.0.0
|
130
131
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
131
132
|
requirements:
|
132
133
|
- - ">="
|
133
134
|
- !ruby/object:Gem::Version
|
134
135
|
version: '0'
|
135
136
|
requirements: []
|
136
|
-
rubygems_version: 3.
|
137
|
+
rubygems_version: 3.5.14
|
137
138
|
signing_key:
|
138
139
|
specification_version: 4
|
139
140
|
summary: Citizen participation framework for Ruby on Rails.
|