decidim-generators 0.27.5 → 0.27.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +211 -210
- 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 +11 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ad92d330d045013d372da932fe34db8d8e3baa953cd0ee1d43fb8e823b192cdc
|
|
4
|
+
data.tar.gz: 0deacf264c3bee7b652c2a5ab9b28330bdc15eb21039462fa5b324360b4df972
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 98937e99069078e2d179792b8f56aee8e8e5a74a5b8a153bb41f0de8529cedb3d5893551c01bacd6c920014986f2746f1af2c482ed04f79bb55587cd5f04e6e4
|
|
7
|
+
data.tar.gz: 7664db8264bca5262c0233f92609a70d8e2ef813822a6a921a72ce38d897d7e85cf9a633896410c2a28f1cd6501f723802047c624fd23d75ab6b39b16df94619
|
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.6)
|
|
5
|
+
decidim-accountability (= 0.27.6)
|
|
6
|
+
decidim-admin (= 0.27.6)
|
|
7
|
+
decidim-api (= 0.27.6)
|
|
8
|
+
decidim-assemblies (= 0.27.6)
|
|
9
|
+
decidim-blogs (= 0.27.6)
|
|
10
|
+
decidim-budgets (= 0.27.6)
|
|
11
|
+
decidim-comments (= 0.27.6)
|
|
12
|
+
decidim-core (= 0.27.6)
|
|
13
|
+
decidim-debates (= 0.27.6)
|
|
14
|
+
decidim-forms (= 0.27.6)
|
|
15
|
+
decidim-generators (= 0.27.6)
|
|
16
|
+
decidim-meetings (= 0.27.6)
|
|
17
|
+
decidim-pages (= 0.27.6)
|
|
18
|
+
decidim-participatory_processes (= 0.27.6)
|
|
19
|
+
decidim-proposals (= 0.27.6)
|
|
20
|
+
decidim-sortitions (= 0.27.6)
|
|
21
|
+
decidim-surveys (= 0.27.6)
|
|
22
|
+
decidim-system (= 0.27.6)
|
|
23
|
+
decidim-templates (= 0.27.6)
|
|
24
|
+
decidim-verifications (= 0.27.6)
|
|
25
|
+
decidim-accountability (0.27.6)
|
|
26
|
+
decidim-comments (= 0.27.6)
|
|
27
|
+
decidim-core (= 0.27.6)
|
|
28
|
+
decidim-admin (0.27.6)
|
|
29
29
|
active_link_to (~> 1.0)
|
|
30
|
-
decidim-core (= 0.27.
|
|
30
|
+
decidim-core (= 0.27.6)
|
|
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.6)
|
|
35
|
+
decidim-core (= 0.27.6)
|
|
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.6)
|
|
40
|
+
decidim-core (= 0.27.6)
|
|
41
|
+
decidim-blogs (0.27.6)
|
|
42
|
+
decidim-admin (= 0.27.6)
|
|
43
|
+
decidim-comments (= 0.27.6)
|
|
44
|
+
decidim-core (= 0.27.6)
|
|
45
|
+
decidim-budgets (0.27.6)
|
|
46
|
+
decidim-comments (= 0.27.6)
|
|
47
|
+
decidim-core (= 0.27.6)
|
|
48
|
+
decidim-comments (0.27.6)
|
|
49
|
+
decidim-core (= 0.27.6)
|
|
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.6)
|
|
52
|
+
decidim-core (= 0.27.6)
|
|
53
|
+
decidim-meetings (= 0.27.6)
|
|
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.6)
|
|
57
|
+
decidim-admin (= 0.27.6)
|
|
58
|
+
decidim-comments (= 0.27.6)
|
|
59
|
+
decidim-core (= 0.27.6)
|
|
60
|
+
decidim-core (0.27.6)
|
|
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,15 +106,15 @@ 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.6)
|
|
110
|
+
decidim-comments (= 0.27.6)
|
|
111
|
+
decidim-core (= 0.27.6)
|
|
112
|
+
decidim-dev (0.27.6)
|
|
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.6)
|
|
119
118
|
erb_lint (~> 0.0.35)
|
|
120
119
|
factory_bot_rails (~> 4.8)
|
|
121
120
|
i18n-tasks (~> 0.9.18)
|
|
@@ -138,101 +137,100 @@ PATH
|
|
|
138
137
|
w3c_rspec_validators (~> 0.3.0)
|
|
139
138
|
webmock (~> 3.6)
|
|
140
139
|
wisper-rspec (~> 1.0)
|
|
141
|
-
decidim-elections (0.27.
|
|
140
|
+
decidim-elections (0.27.6)
|
|
142
141
|
decidim-bulletin_board (= 0.23)
|
|
143
|
-
decidim-core (= 0.27.
|
|
144
|
-
decidim-forms (= 0.27.
|
|
145
|
-
decidim-proposals (= 0.27.
|
|
142
|
+
decidim-core (= 0.27.6)
|
|
143
|
+
decidim-forms (= 0.27.6)
|
|
144
|
+
decidim-proposals (= 0.27.6)
|
|
146
145
|
rack-attack (~> 6.0)
|
|
147
146
|
voting_schemes-dummy (= 0.23)
|
|
148
147
|
voting_schemes-electionguard (= 0.23)
|
|
149
|
-
decidim-forms (0.27.
|
|
150
|
-
decidim-core (= 0.27.
|
|
148
|
+
decidim-forms (0.27.6)
|
|
149
|
+
decidim-core (= 0.27.6)
|
|
151
150
|
wicked_pdf (~> 2.1)
|
|
152
151
|
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.
|
|
152
|
+
decidim-generators (0.27.6)
|
|
153
|
+
decidim-core (= 0.27.6)
|
|
154
|
+
decidim-initiatives (0.27.6)
|
|
155
|
+
decidim-admin (= 0.27.6)
|
|
156
|
+
decidim-comments (= 0.27.6)
|
|
157
|
+
decidim-core (= 0.27.6)
|
|
158
|
+
decidim-verifications (= 0.27.6)
|
|
160
159
|
origami (~> 2.1)
|
|
161
160
|
rexml (~> 3.2.5)
|
|
162
161
|
wicked (~> 1.3)
|
|
163
162
|
wicked_pdf (~> 2.1)
|
|
164
163
|
wkhtmltopdf-binary (~> 0.12)
|
|
165
|
-
decidim-meetings (0.27.
|
|
166
|
-
decidim-core (= 0.27.
|
|
167
|
-
decidim-forms (= 0.27.
|
|
164
|
+
decidim-meetings (0.27.6)
|
|
165
|
+
decidim-core (= 0.27.6)
|
|
166
|
+
decidim-forms (= 0.27.6)
|
|
168
167
|
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.
|
|
168
|
+
decidim-pages (0.27.6)
|
|
169
|
+
decidim-core (= 0.27.6)
|
|
170
|
+
decidim-participatory_processes (0.27.6)
|
|
171
|
+
decidim-core (= 0.27.6)
|
|
172
|
+
decidim-proposals (0.27.6)
|
|
173
|
+
decidim-comments (= 0.27.6)
|
|
174
|
+
decidim-core (= 0.27.6)
|
|
176
175
|
doc2text (~> 0.4.5)
|
|
177
176
|
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)
|
|
177
|
+
decidim-sortitions (0.27.6)
|
|
178
|
+
decidim-admin (= 0.27.6)
|
|
179
|
+
decidim-comments (= 0.27.6)
|
|
180
|
+
decidim-core (= 0.27.6)
|
|
181
|
+
decidim-proposals (= 0.27.6)
|
|
182
|
+
decidim-surveys (0.27.6)
|
|
183
|
+
decidim-core (= 0.27.6)
|
|
184
|
+
decidim-forms (= 0.27.6)
|
|
185
|
+
decidim-system (0.27.6)
|
|
188
186
|
active_link_to (~> 1.0)
|
|
189
|
-
decidim-core (= 0.27.
|
|
187
|
+
decidim-core (= 0.27.6)
|
|
190
188
|
devise (~> 4.7)
|
|
191
189
|
devise-i18n (~> 1.2)
|
|
192
190
|
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.
|
|
191
|
+
decidim-templates (0.27.6)
|
|
192
|
+
decidim-core (= 0.27.6)
|
|
193
|
+
decidim-forms (= 0.27.6)
|
|
194
|
+
decidim-verifications (0.27.6)
|
|
195
|
+
decidim-core (= 0.27.6)
|
|
198
196
|
|
|
199
197
|
GEM
|
|
200
198
|
remote: https://rubygems.org/
|
|
201
199
|
specs:
|
|
202
|
-
actioncable (6.1.6)
|
|
203
|
-
actionpack (= 6.1.6)
|
|
204
|
-
activesupport (= 6.1.6)
|
|
200
|
+
actioncable (6.1.7.6)
|
|
201
|
+
actionpack (= 6.1.7.6)
|
|
202
|
+
activesupport (= 6.1.7.6)
|
|
205
203
|
nio4r (~> 2.0)
|
|
206
204
|
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)
|
|
205
|
+
actionmailbox (6.1.7.6)
|
|
206
|
+
actionpack (= 6.1.7.6)
|
|
207
|
+
activejob (= 6.1.7.6)
|
|
208
|
+
activerecord (= 6.1.7.6)
|
|
209
|
+
activestorage (= 6.1.7.6)
|
|
210
|
+
activesupport (= 6.1.7.6)
|
|
213
211
|
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)
|
|
212
|
+
actionmailer (6.1.7.6)
|
|
213
|
+
actionpack (= 6.1.7.6)
|
|
214
|
+
actionview (= 6.1.7.6)
|
|
215
|
+
activejob (= 6.1.7.6)
|
|
216
|
+
activesupport (= 6.1.7.6)
|
|
219
217
|
mail (~> 2.5, >= 2.5.4)
|
|
220
218
|
rails-dom-testing (~> 2.0)
|
|
221
|
-
actionpack (6.1.6)
|
|
222
|
-
actionview (= 6.1.6)
|
|
223
|
-
activesupport (= 6.1.6)
|
|
219
|
+
actionpack (6.1.7.6)
|
|
220
|
+
actionview (= 6.1.7.6)
|
|
221
|
+
activesupport (= 6.1.7.6)
|
|
224
222
|
rack (~> 2.0, >= 2.0.9)
|
|
225
223
|
rack-test (>= 0.6.3)
|
|
226
224
|
rails-dom-testing (~> 2.0)
|
|
227
225
|
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)
|
|
226
|
+
actiontext (6.1.7.6)
|
|
227
|
+
actionpack (= 6.1.7.6)
|
|
228
|
+
activerecord (= 6.1.7.6)
|
|
229
|
+
activestorage (= 6.1.7.6)
|
|
230
|
+
activesupport (= 6.1.7.6)
|
|
233
231
|
nokogiri (>= 1.8.5)
|
|
234
|
-
actionview (6.1.6)
|
|
235
|
-
activesupport (= 6.1.6)
|
|
232
|
+
actionview (6.1.7.6)
|
|
233
|
+
activesupport (= 6.1.7.6)
|
|
236
234
|
builder (~> 3.1)
|
|
237
235
|
erubi (~> 1.4)
|
|
238
236
|
rails-dom-testing (~> 2.0)
|
|
@@ -240,22 +238,22 @@ GEM
|
|
|
240
238
|
active_link_to (1.0.5)
|
|
241
239
|
actionpack
|
|
242
240
|
addressable
|
|
243
|
-
activejob (6.1.6)
|
|
244
|
-
activesupport (= 6.1.6)
|
|
241
|
+
activejob (6.1.7.6)
|
|
242
|
+
activesupport (= 6.1.7.6)
|
|
245
243
|
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)
|
|
244
|
+
activemodel (6.1.7.6)
|
|
245
|
+
activesupport (= 6.1.7.6)
|
|
246
|
+
activerecord (6.1.7.6)
|
|
247
|
+
activemodel (= 6.1.7.6)
|
|
248
|
+
activesupport (= 6.1.7.6)
|
|
249
|
+
activestorage (6.1.7.6)
|
|
250
|
+
actionpack (= 6.1.7.6)
|
|
251
|
+
activejob (= 6.1.7.6)
|
|
252
|
+
activerecord (= 6.1.7.6)
|
|
253
|
+
activesupport (= 6.1.7.6)
|
|
256
254
|
marcel (~> 1.0)
|
|
257
255
|
mini_mime (>= 1.1.0)
|
|
258
|
-
activesupport (6.1.6)
|
|
256
|
+
activesupport (6.1.7.6)
|
|
259
257
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
260
258
|
i18n (>= 1.6, < 2)
|
|
261
259
|
minitest (>= 5.1)
|
|
@@ -263,10 +261,10 @@ GEM
|
|
|
263
261
|
zeitwerk (~> 2.3)
|
|
264
262
|
acts_as_list (0.9.19)
|
|
265
263
|
activerecord (>= 3.0)
|
|
266
|
-
addressable (2.8.
|
|
267
|
-
public_suffix (>= 2.0.2, <
|
|
264
|
+
addressable (2.8.6)
|
|
265
|
+
public_suffix (>= 2.0.2, < 6.0)
|
|
268
266
|
ast (2.4.2)
|
|
269
|
-
axe-core-api (4.
|
|
267
|
+
axe-core-api (4.9.0)
|
|
270
268
|
dumb_delegator
|
|
271
269
|
virtus
|
|
272
270
|
axe-core-rspec (4.1.0)
|
|
@@ -277,6 +275,7 @@ GEM
|
|
|
277
275
|
descendants_tracker (~> 0.0.4)
|
|
278
276
|
ice_nine (~> 0.11.0)
|
|
279
277
|
thread_safe (~> 0.3, >= 0.3.1)
|
|
278
|
+
base64 (0.2.0)
|
|
280
279
|
batch-loader (1.5.0)
|
|
281
280
|
bcrypt (3.1.20)
|
|
282
281
|
better_html (1.0.16)
|
|
@@ -287,6 +286,7 @@ GEM
|
|
|
287
286
|
html_tokenizer (~> 0.0.6)
|
|
288
287
|
parser (>= 2.4)
|
|
289
288
|
smart_properties
|
|
289
|
+
bigdecimal (3.1.7)
|
|
290
290
|
bindex (0.8.1)
|
|
291
291
|
bootsnap (1.10.3)
|
|
292
292
|
msgpack (~> 1.2)
|
|
@@ -294,16 +294,16 @@ GEM
|
|
|
294
294
|
browser (2.7.1)
|
|
295
295
|
builder (3.2.4)
|
|
296
296
|
byebug (11.1.3)
|
|
297
|
-
capybara (3.
|
|
297
|
+
capybara (3.40.0)
|
|
298
298
|
addressable
|
|
299
299
|
matrix
|
|
300
300
|
mini_mime (>= 0.1.3)
|
|
301
|
-
nokogiri (~> 1.
|
|
301
|
+
nokogiri (~> 1.11)
|
|
302
302
|
rack (>= 1.6.0)
|
|
303
303
|
rack-test (>= 0.6.3)
|
|
304
304
|
regexp_parser (>= 1.5, < 3.0)
|
|
305
305
|
xpath (~> 3.2)
|
|
306
|
-
carrierwave (2.2.
|
|
306
|
+
carrierwave (2.2.6)
|
|
307
307
|
activemodel (>= 5.0.0)
|
|
308
308
|
activesupport (>= 5.0.0)
|
|
309
309
|
addressable (~> 2.6)
|
|
@@ -323,7 +323,7 @@ GEM
|
|
|
323
323
|
actionpack (>= 5.0)
|
|
324
324
|
cells (>= 4.1.6, < 5.0.0)
|
|
325
325
|
charlock_holmes (0.7.7)
|
|
326
|
-
chef-utils (18.
|
|
326
|
+
chef-utils (18.4.12)
|
|
327
327
|
concurrent-ruby
|
|
328
328
|
childprocess (4.1.0)
|
|
329
329
|
coercible (1.0.0)
|
|
@@ -337,13 +337,14 @@ GEM
|
|
|
337
337
|
coffee-script-source (1.12.2)
|
|
338
338
|
colorize (0.8.1)
|
|
339
339
|
commonmarker (0.23.10)
|
|
340
|
-
concurrent-ruby (1.2.
|
|
341
|
-
crack (0.
|
|
340
|
+
concurrent-ruby (1.2.3)
|
|
341
|
+
crack (1.0.0)
|
|
342
|
+
bigdecimal
|
|
342
343
|
rexml
|
|
343
344
|
crass (1.0.6)
|
|
344
|
-
css_parser (1.
|
|
345
|
+
css_parser (1.17.1)
|
|
345
346
|
addressable
|
|
346
|
-
date (3.3.
|
|
347
|
+
date (3.3.4)
|
|
347
348
|
date_validator (0.12.0)
|
|
348
349
|
activemodel (>= 3)
|
|
349
350
|
activesupport (>= 3)
|
|
@@ -361,7 +362,7 @@ GEM
|
|
|
361
362
|
declarative-option (0.1.0)
|
|
362
363
|
descendants_tracker (0.0.4)
|
|
363
364
|
thread_safe (~> 0.3, >= 0.3.1)
|
|
364
|
-
devise (4.9.
|
|
365
|
+
devise (4.9.4)
|
|
365
366
|
bcrypt (~> 3.0)
|
|
366
367
|
orm_adapter (~> 0.1)
|
|
367
368
|
railties (>= 4.1.0)
|
|
@@ -372,13 +373,13 @@ GEM
|
|
|
372
373
|
devise_invitable (2.0.9)
|
|
373
374
|
actionmailer (>= 5.0)
|
|
374
375
|
devise (>= 4.6)
|
|
375
|
-
diff-lcs (1.5.
|
|
376
|
+
diff-lcs (1.5.1)
|
|
376
377
|
diffy (3.4.2)
|
|
377
|
-
doc2text (0.4.
|
|
378
|
-
nokogiri (>= 1.13.2, < 1.
|
|
378
|
+
doc2text (0.4.7)
|
|
379
|
+
nokogiri (>= 1.13.2, < 1.17.0)
|
|
379
380
|
rubyzip (~> 2.3.0)
|
|
380
381
|
docile (1.4.0)
|
|
381
|
-
doorkeeper (5.
|
|
382
|
+
doorkeeper (5.7.0)
|
|
382
383
|
railties (>= 5)
|
|
383
384
|
doorkeeper-i18n (4.0.1)
|
|
384
385
|
dumb_delegator (1.0.0)
|
|
@@ -394,7 +395,7 @@ GEM
|
|
|
394
395
|
temple
|
|
395
396
|
erubi (1.12.0)
|
|
396
397
|
escape_utils (1.3.0)
|
|
397
|
-
excon (0.
|
|
398
|
+
excon (0.110.0)
|
|
398
399
|
execjs (2.9.1)
|
|
399
400
|
extended-markdown-filter (0.7.0)
|
|
400
401
|
html-pipeline (~> 2.9)
|
|
@@ -430,11 +431,11 @@ GEM
|
|
|
430
431
|
faraday-retry (1.0.3)
|
|
431
432
|
faraday_middleware (1.2.0)
|
|
432
433
|
faraday (~> 1.0)
|
|
433
|
-
ffi (1.
|
|
434
|
+
ffi (1.16.3)
|
|
434
435
|
file_validators (3.0.0)
|
|
435
436
|
activemodel (>= 3.2)
|
|
436
437
|
mime-types (>= 1.0)
|
|
437
|
-
fog-core (2.
|
|
438
|
+
fog-core (2.4.0)
|
|
438
439
|
builder
|
|
439
440
|
excon (~> 0.71)
|
|
440
441
|
formatador (>= 0.2, < 2.0)
|
|
@@ -456,7 +457,7 @@ GEM
|
|
|
456
457
|
faraday_middleware
|
|
457
458
|
graphql-client
|
|
458
459
|
graphql (1.12.24)
|
|
459
|
-
graphql-client (0.
|
|
460
|
+
graphql-client (0.19.0)
|
|
460
461
|
activesupport (>= 3.0)
|
|
461
462
|
graphql
|
|
462
463
|
graphql-docs (2.1.0)
|
|
@@ -469,12 +470,12 @@ GEM
|
|
|
469
470
|
sass (~> 3.4)
|
|
470
471
|
hashdiff (1.1.0)
|
|
471
472
|
hashie (5.0.0)
|
|
472
|
-
highline (
|
|
473
|
+
highline (3.0.1)
|
|
473
474
|
hkdf (0.3.0)
|
|
474
475
|
html-pipeline (2.14.3)
|
|
475
476
|
activesupport (>= 2)
|
|
476
477
|
nokogiri (>= 1.4)
|
|
477
|
-
html_tokenizer (0.0.
|
|
478
|
+
html_tokenizer (0.0.8)
|
|
478
479
|
htmlentities (4.3.4)
|
|
479
480
|
i18n (1.14.1)
|
|
480
481
|
concurrent-ruby (~> 1.0)
|
|
@@ -497,7 +498,7 @@ GEM
|
|
|
497
498
|
ruby-vips (>= 2.0.17, < 3)
|
|
498
499
|
invisible_captcha (0.13.0)
|
|
499
500
|
rails (>= 3.2.0)
|
|
500
|
-
json (2.7.
|
|
501
|
+
json (2.7.2)
|
|
501
502
|
jwt (2.2.3)
|
|
502
503
|
kaminari (1.2.2)
|
|
503
504
|
activesupport (>= 4.1.0)
|
|
@@ -535,7 +536,7 @@ GEM
|
|
|
535
536
|
net-imap
|
|
536
537
|
net-pop
|
|
537
538
|
net-smtp
|
|
538
|
-
marcel (1.0.
|
|
539
|
+
marcel (1.0.4)
|
|
539
540
|
matrix (0.4.2)
|
|
540
541
|
mdl (0.13.0)
|
|
541
542
|
kramdown (~> 2.3)
|
|
@@ -544,13 +545,13 @@ GEM
|
|
|
544
545
|
mixlib-config (>= 2.2.1, < 4)
|
|
545
546
|
mixlib-shellout
|
|
546
547
|
method_source (1.0.0)
|
|
547
|
-
mime-types (3.5.
|
|
548
|
+
mime-types (3.5.2)
|
|
548
549
|
mime-types-data (~> 3.2015)
|
|
549
|
-
mime-types-data (3.
|
|
550
|
+
mime-types-data (3.2024.0305)
|
|
550
551
|
mini_magick (4.12.0)
|
|
551
552
|
mini_mime (1.1.5)
|
|
552
553
|
mini_portile2 (2.8.5)
|
|
553
|
-
minitest (5.
|
|
554
|
+
minitest (5.22.2)
|
|
554
555
|
mixlib-cli (2.1.8)
|
|
555
556
|
mixlib-config (3.0.27)
|
|
556
557
|
tomlrb
|
|
@@ -558,20 +559,19 @@ GEM
|
|
|
558
559
|
chef-utils
|
|
559
560
|
msgpack (1.4.5)
|
|
560
561
|
multi_xml (0.6.0)
|
|
561
|
-
multipart-post (2.
|
|
562
|
-
|
|
563
|
-
net-imap (0.4.4)
|
|
562
|
+
multipart-post (2.4.0)
|
|
563
|
+
net-imap (0.4.10)
|
|
564
564
|
date
|
|
565
565
|
net-protocol
|
|
566
566
|
net-pop (0.1.2)
|
|
567
567
|
net-protocol
|
|
568
|
-
net-protocol (0.2.
|
|
568
|
+
net-protocol (0.2.2)
|
|
569
569
|
timeout
|
|
570
|
-
net-smtp (0.
|
|
570
|
+
net-smtp (0.4.0.1)
|
|
571
571
|
net-protocol
|
|
572
|
-
nio4r (2.
|
|
573
|
-
nokogiri (1.
|
|
574
|
-
mini_portile2 (~> 2.8.
|
|
572
|
+
nio4r (2.7.0)
|
|
573
|
+
nokogiri (1.16.2)
|
|
574
|
+
mini_portile2 (~> 2.8.2)
|
|
575
575
|
racc (~> 1.4)
|
|
576
576
|
oauth (1.1.0)
|
|
577
577
|
oauth-tty (~> 1.0, >= 1.0.1)
|
|
@@ -592,11 +592,11 @@ GEM
|
|
|
592
592
|
rack-protection
|
|
593
593
|
omniauth-facebook (5.0.0)
|
|
594
594
|
omniauth-oauth2 (~> 1.2)
|
|
595
|
-
omniauth-google-oauth2 (1.1.
|
|
595
|
+
omniauth-google-oauth2 (1.1.2)
|
|
596
596
|
jwt (>= 2.0)
|
|
597
|
-
oauth2 (~> 2.0
|
|
597
|
+
oauth2 (~> 2.0)
|
|
598
598
|
omniauth (~> 2.0)
|
|
599
|
-
omniauth-oauth2 (~> 1.8
|
|
599
|
+
omniauth-oauth2 (~> 1.8)
|
|
600
600
|
omniauth-oauth (1.2.0)
|
|
601
601
|
oauth
|
|
602
602
|
omniauth (>= 1.0, < 3)
|
|
@@ -618,14 +618,14 @@ GEM
|
|
|
618
618
|
parallel (1.24.0)
|
|
619
619
|
parallel_tests (3.13.0)
|
|
620
620
|
parallel
|
|
621
|
-
parser (3.
|
|
621
|
+
parser (3.3.1.0)
|
|
622
622
|
ast (~> 2.4.1)
|
|
623
623
|
racc
|
|
624
624
|
pg (1.1.4)
|
|
625
625
|
pg_search (2.3.6)
|
|
626
626
|
activerecord (>= 5.2)
|
|
627
627
|
activesupport (>= 5.2)
|
|
628
|
-
premailer (1.
|
|
628
|
+
premailer (1.23.0)
|
|
629
629
|
addressable
|
|
630
630
|
css_parser (>= 1.12.0)
|
|
631
631
|
htmlentities (>= 4.0.0)
|
|
@@ -633,7 +633,7 @@ GEM
|
|
|
633
633
|
actionmailer (>= 3)
|
|
634
634
|
net-smtp
|
|
635
635
|
premailer (~> 1.7, >= 1.7.9)
|
|
636
|
-
public_suffix (
|
|
636
|
+
public_suffix (5.0.4)
|
|
637
637
|
puma (5.6.4)
|
|
638
638
|
nio4r (~> 2.0)
|
|
639
639
|
racc (1.7.3)
|
|
@@ -642,26 +642,27 @@ GEM
|
|
|
642
642
|
rack (>= 1.0, < 4)
|
|
643
643
|
rack-cors (1.1.1)
|
|
644
644
|
rack (>= 2.0.0)
|
|
645
|
-
rack-protection (3.
|
|
645
|
+
rack-protection (3.2.0)
|
|
646
|
+
base64 (>= 0.1.0)
|
|
646
647
|
rack (~> 2.2, >= 2.2.4)
|
|
647
648
|
rack-proxy (0.7.7)
|
|
648
649
|
rack
|
|
649
650
|
rack-test (2.1.0)
|
|
650
651
|
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)
|
|
652
|
+
rails (6.1.7.6)
|
|
653
|
+
actioncable (= 6.1.7.6)
|
|
654
|
+
actionmailbox (= 6.1.7.6)
|
|
655
|
+
actionmailer (= 6.1.7.6)
|
|
656
|
+
actionpack (= 6.1.7.6)
|
|
657
|
+
actiontext (= 6.1.7.6)
|
|
658
|
+
actionview (= 6.1.7.6)
|
|
659
|
+
activejob (= 6.1.7.6)
|
|
660
|
+
activemodel (= 6.1.7.6)
|
|
661
|
+
activerecord (= 6.1.7.6)
|
|
662
|
+
activestorage (= 6.1.7.6)
|
|
663
|
+
activesupport (= 6.1.7.6)
|
|
663
664
|
bundler (>= 1.15.0)
|
|
664
|
-
railties (= 6.1.6)
|
|
665
|
+
railties (= 6.1.7.6)
|
|
665
666
|
sprockets-rails (>= 2.0.0)
|
|
666
667
|
rails-controller-testing (1.0.5)
|
|
667
668
|
actionpack (>= 5.0.1.rc1)
|
|
@@ -676,9 +677,9 @@ GEM
|
|
|
676
677
|
rails-i18n (6.0.0)
|
|
677
678
|
i18n (>= 0.7, < 2)
|
|
678
679
|
railties (>= 6.0.0, < 7)
|
|
679
|
-
railties (6.1.6)
|
|
680
|
-
actionpack (= 6.1.6)
|
|
681
|
-
activesupport (= 6.1.6)
|
|
680
|
+
railties (6.1.7.6)
|
|
681
|
+
actionpack (= 6.1.7.6)
|
|
682
|
+
activesupport (= 6.1.7.6)
|
|
682
683
|
method_source
|
|
683
684
|
rake (>= 12.2)
|
|
684
685
|
thor (~> 1.0)
|
|
@@ -688,36 +689,36 @@ GEM
|
|
|
688
689
|
activerecord (>= 5.2.4)
|
|
689
690
|
activesupport (>= 5.2.4)
|
|
690
691
|
i18n
|
|
691
|
-
rb-fsevent (0.11.
|
|
692
|
+
rb-fsevent (0.11.2)
|
|
692
693
|
rb-inotify (0.10.1)
|
|
693
694
|
ffi (~> 1.0)
|
|
694
695
|
redcarpet (3.6.0)
|
|
695
696
|
redis (4.8.1)
|
|
696
|
-
regexp_parser (2.
|
|
697
|
+
regexp_parser (2.9.0)
|
|
697
698
|
request_store (1.5.1)
|
|
698
699
|
rack (>= 1.4)
|
|
699
700
|
responders (3.1.1)
|
|
700
701
|
actionpack (>= 5.2)
|
|
701
702
|
railties (>= 5.2)
|
|
702
703
|
rexml (3.2.5)
|
|
703
|
-
rspec (3.
|
|
704
|
-
rspec-core (~> 3.
|
|
705
|
-
rspec-expectations (~> 3.
|
|
706
|
-
rspec-mocks (~> 3.
|
|
704
|
+
rspec (3.13.0)
|
|
705
|
+
rspec-core (~> 3.13.0)
|
|
706
|
+
rspec-expectations (~> 3.13.0)
|
|
707
|
+
rspec-mocks (~> 3.13.0)
|
|
707
708
|
rspec-cells (0.3.9)
|
|
708
709
|
cells (>= 4.0.0, < 6.0.0)
|
|
709
710
|
rspec-rails (>= 3.0.0, < 6.2.0)
|
|
710
|
-
rspec-core (3.
|
|
711
|
-
rspec-support (~> 3.
|
|
712
|
-
rspec-expectations (3.
|
|
711
|
+
rspec-core (3.13.0)
|
|
712
|
+
rspec-support (~> 3.13.0)
|
|
713
|
+
rspec-expectations (3.13.0)
|
|
713
714
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
714
|
-
rspec-support (~> 3.
|
|
715
|
+
rspec-support (~> 3.13.0)
|
|
715
716
|
rspec-html-matchers (0.9.4)
|
|
716
717
|
nokogiri (~> 1)
|
|
717
718
|
rspec (>= 3.0.0.a, < 4)
|
|
718
|
-
rspec-mocks (3.
|
|
719
|
+
rspec-mocks (3.13.0)
|
|
719
720
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
720
|
-
rspec-support (~> 3.
|
|
721
|
+
rspec-support (~> 3.13.0)
|
|
721
722
|
rspec-rails (4.1.2)
|
|
722
723
|
actionpack (>= 4.2)
|
|
723
724
|
activesupport (>= 4.2)
|
|
@@ -728,7 +729,7 @@ GEM
|
|
|
728
729
|
rspec-support (~> 3.10)
|
|
729
730
|
rspec-retry (0.6.2)
|
|
730
731
|
rspec-core (> 3.3)
|
|
731
|
-
rspec-support (3.
|
|
732
|
+
rspec-support (3.13.1)
|
|
732
733
|
rspec_junit_formatter (0.3.0)
|
|
733
734
|
rspec-core (>= 2, < 4, != 2.12.0)
|
|
734
735
|
rubocop (1.28.2)
|
|
@@ -740,8 +741,8 @@ GEM
|
|
|
740
741
|
rubocop-ast (>= 1.17.0, < 2.0)
|
|
741
742
|
ruby-progressbar (~> 1.7)
|
|
742
743
|
unicode-display_width (>= 1.4.0, < 3.0)
|
|
743
|
-
rubocop-ast (1.
|
|
744
|
-
parser (>= 3.
|
|
744
|
+
rubocop-ast (1.31.3)
|
|
745
|
+
parser (>= 3.3.1.0)
|
|
745
746
|
rubocop-rails (2.15.2)
|
|
746
747
|
activesupport (>= 4.2.0)
|
|
747
748
|
rack (>= 1.1)
|
|
@@ -749,10 +750,10 @@ GEM
|
|
|
749
750
|
rubocop-rspec (2.11.1)
|
|
750
751
|
rubocop (~> 1.19)
|
|
751
752
|
ruby-progressbar (1.13.0)
|
|
752
|
-
ruby-vips (2.2.
|
|
753
|
+
ruby-vips (2.2.1)
|
|
753
754
|
ffi (~> 1.12)
|
|
754
755
|
ruby2_keywords (0.0.5)
|
|
755
|
-
rubyXL (3.4.
|
|
756
|
+
rubyXL (3.4.27)
|
|
756
757
|
nokogiri (>= 1.10.8)
|
|
757
758
|
rubyzip (>= 1.3.0)
|
|
758
759
|
rubyzip (2.3.2)
|
|
@@ -800,7 +801,7 @@ GEM
|
|
|
800
801
|
thor (1.3.0)
|
|
801
802
|
thread_safe (0.3.6)
|
|
802
803
|
tilt (2.3.0)
|
|
803
|
-
timeout (0.4.
|
|
804
|
+
timeout (0.4.1)
|
|
804
805
|
tomlrb (2.0.3)
|
|
805
806
|
tzinfo (2.0.6)
|
|
806
807
|
concurrent-ruby (~> 1.0)
|
|
@@ -809,7 +810,7 @@ GEM
|
|
|
809
810
|
valid_email2 (2.3.1)
|
|
810
811
|
activemodel (>= 3.2)
|
|
811
812
|
mail (~> 2.5)
|
|
812
|
-
version_gem (1.1.
|
|
813
|
+
version_gem (1.1.4)
|
|
813
814
|
virtus (2.0.0)
|
|
814
815
|
axiom-types (~> 0.1)
|
|
815
816
|
coercible (~> 1.0)
|
|
@@ -833,7 +834,7 @@ GEM
|
|
|
833
834
|
activemodel (>= 6.0.0)
|
|
834
835
|
bindex (>= 0.4.0)
|
|
835
836
|
railties (>= 6.0.0)
|
|
836
|
-
webmock (3.
|
|
837
|
+
webmock (3.23.0)
|
|
837
838
|
addressable (>= 2.8.0)
|
|
838
839
|
crack (>= 0.3.2)
|
|
839
840
|
hashdiff (>= 0.4.0, < 2.0.0)
|
|
@@ -850,14 +851,14 @@ GEM
|
|
|
850
851
|
websocket-extensions (0.1.5)
|
|
851
852
|
wicked (1.4.0)
|
|
852
853
|
railties (>= 3.0.7)
|
|
853
|
-
wicked_pdf (2.
|
|
854
|
+
wicked_pdf (2.7.0)
|
|
854
855
|
activesupport
|
|
855
856
|
wisper (2.0.1)
|
|
856
857
|
wisper-rspec (1.1.0)
|
|
857
858
|
wkhtmltopdf-binary (0.12.6.6)
|
|
858
859
|
xpath (3.2.0)
|
|
859
860
|
nokogiri (~> 1.8)
|
|
860
|
-
zeitwerk (2.6.
|
|
861
|
+
zeitwerk (2.6.13)
|
|
861
862
|
|
|
862
863
|
PLATFORMS
|
|
863
864
|
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.29.0.dev"
|
|
8
9
|
gem "decidim-<%= component_name %>", path: "."
|
|
9
10
|
|
|
10
|
-
gem "puma", ">=
|
|
11
|
+
gem "puma", ">= 6.3.1"
|
|
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.29.0.dev"
|
|
17
18
|
end
|
|
18
19
|
|
|
19
20
|
group :development do
|
|
20
|
-
gem "faker", "~> 2
|
|
21
|
+
gem "faker", "~> 3.2"
|
|
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,16 +1,16 @@
|
|
|
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.6
|
|
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: 2024-04-30 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.6
|
|
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.6
|
|
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
|
|
@@ -118,23 +119,23 @@ homepage: https://github.com/decidim/decidim
|
|
|
118
119
|
licenses:
|
|
119
120
|
- AGPL-3.0
|
|
120
121
|
metadata: {}
|
|
121
|
-
post_install_message:
|
|
122
|
+
post_install_message:
|
|
122
123
|
rdoc_options: []
|
|
123
124
|
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
|
-
signing_key:
|
|
137
|
+
rubygems_version: 3.2.22
|
|
138
|
+
signing_key:
|
|
138
139
|
specification_version: 4
|
|
139
140
|
summary: Citizen participation framework for Ruby on Rails.
|
|
140
141
|
test_files: []
|