decidim-generators 0.18.1 → 0.21.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 303bfb1532cdeaad83a1c3e077c0d9aceec56425cb20ec6a05aa0c4f28ba485b
4
- data.tar.gz: 5a56eda017882bfe59e05d882add69904a3cdfc64b540cbce8614387e731eb20
3
+ metadata.gz: e02e8e1218b72c98e2ff71806f61ffb61e6e47f0292b47eb5148a14db08c3c9f
4
+ data.tar.gz: 5de6cec1321eeb46ac4494fdc327ef6bf21b29bc4389a308902ae6c29d03f50f
5
5
  SHA512:
6
- metadata.gz: a898d4fcda9a5c8babdbc23c3cecbbe83d4476d19dce92e785d3f9fb4baae6766ffc395f075a585699b2e37abc1fc372a1fdcaff2019ad9a400938290f97591d
7
- data.tar.gz: 19ee399ffc061b7c5e592a5ce654b061c4edafe4f24cf4b4fcdc1a794019f6b40a3806e7d009b550a7894b824c6d85550ab3a26956c21c0ec6643f5124057820
6
+ metadata.gz: 2b91c85ebdc952324124949c0d2aed611fa0d5b9ef64d9b621809582f9972b5584a80b8078184d338f4789341924a8997422cfc80a708f0c7ffa6e8c1d59e3a1
7
+ data.tar.gz: 1cc104b5720e002831dd92b9caa3291bf8676ded02dd17ad2692cd875cacd72d903aae91c9fb110226e9eb5e1ab850cb9782a818a6717d5e319ab8703243b6df
data/Gemfile CHANGED
@@ -10,13 +10,13 @@ gem "decidim-initiatives", path: ".."
10
10
 
11
11
  gem "bootsnap", "~> 1.3"
12
12
 
13
- gem "puma", "~> 3.0"
13
+ gem "puma", "~> 4.3.3"
14
14
  gem "uglifier", "~> 4.1"
15
15
 
16
16
  gem "faker", "~> 1.9"
17
17
 
18
18
  group :development, :test do
19
- gem "byebug", "~> 10.0", platform: :mri
19
+ gem "byebug", "~> 11.0", platform: :mri
20
20
 
21
21
  gem "decidim-dev", path: ".."
22
22
  end
@@ -1,231 +1,237 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- decidim (0.18.1)
5
- decidim-accountability (= 0.18.1)
6
- decidim-admin (= 0.18.1)
7
- decidim-api (= 0.18.1)
8
- decidim-assemblies (= 0.18.1)
9
- decidim-blogs (= 0.18.1)
10
- decidim-budgets (= 0.18.1)
11
- decidim-comments (= 0.18.1)
12
- decidim-core (= 0.18.1)
13
- decidim-debates (= 0.18.1)
14
- decidim-forms (= 0.18.1)
15
- decidim-generators (= 0.18.1)
16
- decidim-meetings (= 0.18.1)
17
- decidim-pages (= 0.18.1)
18
- decidim-participatory_processes (= 0.18.1)
19
- decidim-proposals (= 0.18.1)
20
- decidim-sortitions (= 0.18.1)
21
- decidim-surveys (= 0.18.1)
22
- decidim-system (= 0.18.1)
23
- decidim-verifications (= 0.18.1)
24
- decidim-accountability (0.18.1)
25
- decidim-comments (= 0.18.1)
26
- decidim-core (= 0.18.1)
27
- kaminari (~> 1.0)
4
+ decidim (0.21.0)
5
+ decidim-accountability (= 0.21.0)
6
+ decidim-admin (= 0.21.0)
7
+ decidim-api (= 0.21.0)
8
+ decidim-assemblies (= 0.21.0)
9
+ decidim-blogs (= 0.21.0)
10
+ decidim-budgets (= 0.21.0)
11
+ decidim-comments (= 0.21.0)
12
+ decidim-core (= 0.21.0)
13
+ decidim-debates (= 0.21.0)
14
+ decidim-forms (= 0.21.0)
15
+ decidim-generators (= 0.21.0)
16
+ decidim-meetings (= 0.21.0)
17
+ decidim-pages (= 0.21.0)
18
+ decidim-participatory_processes (= 0.21.0)
19
+ decidim-proposals (= 0.21.0)
20
+ decidim-sortitions (= 0.21.0)
21
+ decidim-surveys (= 0.21.0)
22
+ decidim-system (= 0.21.0)
23
+ decidim-verifications (= 0.21.0)
24
+ decidim-accountability (0.21.0)
25
+ decidim-comments (= 0.21.0)
26
+ decidim-core (= 0.21.0)
27
+ kaminari (~> 1.1)
28
28
  searchlight (~> 4.1)
29
- decidim-admin (0.18.1)
29
+ decidim-admin (0.21.0)
30
30
  active_link_to (~> 1.0)
31
- decidim-core (= 0.18.1)
32
- devise (~> 4.6)
31
+ decidim-core (= 0.21.0)
32
+ devise (~> 4.7)
33
33
  devise-i18n (~> 1.2)
34
34
  devise_invitable (~> 1.7)
35
35
  jquery-rails (~> 4.3)
36
36
  sassc (~> 1.12, >= 1.12.1)
37
37
  sassc-rails (~> 1.3)
38
- decidim-api (0.18.1)
38
+ decidim-api (0.21.0)
39
39
  graphiql-rails (~> 1.4, < 1.5)
40
- graphql (~> 1.6, < 1.8.11)
40
+ graphql (~> 1.9)
41
41
  rack-cors (~> 1.0)
42
+ redcarpet (~> 3.4)
42
43
  sprockets-es6 (~> 0.9.2)
43
- decidim-assemblies (0.18.1)
44
- decidim-core (= 0.18.1)
45
- decidim-blogs (0.18.1)
46
- decidim-admin (= 0.18.1)
47
- decidim-comments (= 0.18.1)
48
- decidim-core (= 0.18.1)
49
- httparty (~> 0.16.0)
44
+ decidim-assemblies (0.21.0)
45
+ decidim-core (= 0.21.0)
46
+ decidim-blogs (0.21.0)
47
+ decidim-admin (= 0.21.0)
48
+ decidim-comments (= 0.21.0)
49
+ decidim-core (= 0.21.0)
50
+ httparty (~> 0.17)
50
51
  jquery-tmpl-rails (~> 1.1)
51
- kaminari (~> 1.0)
52
- decidim-budgets (0.18.1)
53
- decidim-comments (= 0.18.1)
54
- decidim-core (= 0.18.1)
55
- kaminari (~> 1.0)
52
+ kaminari (~> 1.1)
53
+ decidim-budgets (0.21.0)
54
+ decidim-comments (= 0.21.0)
55
+ decidim-core (= 0.21.0)
56
+ kaminari (~> 1.1)
56
57
  searchlight (~> 4.1)
57
- decidim-comments (0.18.1)
58
- decidim-core (= 0.18.1)
59
- jquery-rails (~> 4.0)
60
- decidim-consultations (0.18.1)
61
- decidim-admin (= 0.18.1)
62
- decidim-comments (= 0.18.1)
63
- decidim-core (= 0.18.1)
64
- decidim-core (0.18.1)
58
+ decidim-comments (0.21.0)
59
+ decidim-core (= 0.21.0)
60
+ jquery-rails (~> 4.3)
61
+ redcarpet (~> 3.4)
62
+ decidim-consultations (0.21.0)
63
+ decidim-admin (= 0.21.0)
64
+ decidim-comments (= 0.21.0)
65
+ decidim-core (= 0.21.0)
66
+ decidim-core (0.21.0)
65
67
  active_link_to (~> 1.0)
66
68
  anchored (>= 1.1.0)
67
69
  autoprefixer-rails (~> 8.0)
68
70
  batch-loader (~> 1.2)
69
- carrierwave (~> 1.1)
71
+ browser (~> 2.7)
72
+ carrierwave (~> 1.3)
70
73
  cells-erb (~> 0.1.0)
71
74
  cells-rails (~> 0.0.9)
72
- charlock_holmes (>= 0.7.6)
75
+ charlock_holmes (~> 0.7)
73
76
  date_validator (~> 0.9.0)
74
- decidim-api (= 0.18.1)
75
- devise (~> 4.6)
77
+ decidim-api (= 0.21.0)
78
+ devise (~> 4.7)
76
79
  devise-i18n (~> 1.2)
77
- doorkeeper (~> 4.4)
80
+ diffy (~> 3.3)
81
+ doorkeeper (~> 5.1)
78
82
  doorkeeper-i18n (~> 4.0)
79
83
  etherpad-lite (~> 0.3)
80
84
  file_validators (~> 2.1)
81
85
  foundation-rails (~> 6.4, < 6.5)
82
86
  foundation_rails_helper (~> 3.0)
83
- geocoder (~> 1.4)
84
- hashdiff (~> 0.3.7)
85
- invisible_captcha (~> 0.10.0)
87
+ geocoder (>= 1.5)
88
+ hashdiff (>= 0.4.0, < 2.0.0)
89
+ invisible_captcha (~> 0.12)
86
90
  jquery-rails (~> 4.3)
87
- kaminari (~> 1.0)
88
- loofah (~> 2.0, >= 2.2.1)
89
- mini_magick (~> 4.8)
91
+ kaminari (~> 1.1)
92
+ loofah (~> 2.3.1)
93
+ mini_magick (~> 4.9)
90
94
  mustache (~> 1.1.0)
91
95
  nobspw (~> 0.6.0)
92
- omniauth (~> 1.6)
93
- omniauth-facebook (~> 4.0)
94
- omniauth-google-oauth2 (~> 0.5.0)
96
+ omniauth (= 1.9.0)
97
+ omniauth-facebook (~> 5.0)
98
+ omniauth-google-oauth2 (~> 0.7)
95
99
  omniauth-rails_csrf_protection (~> 0.1)
96
100
  omniauth-twitter (~> 1.4)
97
- paper_trail (~> 9.0)
98
- pg (>= 0.18, < 2)
99
- pg_search (~> 2.1, >= 2.1.0)
100
- premailer-rails (~> 1.9)
101
- rack (>= 2.0.6)
102
- rack-attack (~> 5.2)
101
+ paper_trail (~> 10.3)
102
+ pg (~> 1.1.4, < 2)
103
+ pg_search (~> 2.2)
104
+ premailer-rails (~> 1.10)
105
+ rack (>= 2.0.8)
106
+ rack-attack (~> 6.0)
103
107
  rails (>= 5.2, < 6.0.x)
104
108
  rails-i18n (~> 5.0)
105
109
  rectify (~> 0.13.0)
106
- redis (~> 4.0)
107
- rubyzip (~> 1.2, >= 1.2.2)
110
+ redis (~> 4.1)
111
+ rubyzip (~> 2.0)
108
112
  sassc (~> 1.12, >= 1.12.1)
109
113
  sassc-rails (~> 1.3)
110
- spreadsheet (~> 1.1)
114
+ seven_zip_ruby (~> 1.2, >= 1.2.2)
115
+ social-share-button (~> 1.2, >= 1.2.1)
116
+ spreadsheet (~> 1.2)
117
+ sprockets (~> 3.7, < 4)
111
118
  sprockets-es6 (~> 0.9.2)
112
- truncato (~> 0.7.10)
113
- uglifier (~> 4.0)
119
+ truncato (~> 0.7)
120
+ uglifier (~> 4.1)
114
121
  valid_email2 (~> 2.1)
115
122
  wisper (~> 2.0)
116
- decidim-debates (0.18.1)
117
- decidim-comments (= 0.18.1)
118
- decidim-core (= 0.18.1)
119
- kaminari (~> 1.0)
123
+ decidim-debates (0.21.0)
124
+ decidim-comments (= 0.21.0)
125
+ decidim-core (= 0.21.0)
126
+ kaminari (~> 1.1)
120
127
  searchlight (~> 4.1)
121
- decidim-dev (0.18.1)
122
- byebug (~> 10.0)
123
- capybara (~> 3.0)
128
+ decidim-dev (0.21.0)
129
+ byebug (~> 11.0)
130
+ capybara (~> 3.24)
124
131
  db-query-matchers (~> 0.9.0)
125
- decidim (= 0.18.1)
126
- erb_lint (~> 0.0.22)
132
+ decidim (= 0.21.0)
133
+ erb_lint (~> 0.0.28)
127
134
  factory_bot_rails (~> 4.8)
128
135
  i18n-tasks (~> 0.9.18)
129
- mdl (~> 0.4.0)
130
- nokogiri (~> 1.8, >= 1.8.2)
131
- puma (~> 3.11)
136
+ mdl (~> 0.5.0)
137
+ nokogiri (>= 1.10.8)
138
+ puma (>= 4.3)
132
139
  rails-controller-testing (~> 1.0)
133
140
  rspec-cells (~> 0.3.4)
134
141
  rspec-html-matchers (~> 0.9.1)
135
142
  rspec-rails (~> 3.7)
143
+ rspec-retry (~> 0.6.2)
136
144
  rspec_junit_formatter (~> 0.3.0)
137
- rubocop (~> 0.58.0)
145
+ rubocop (~> 0.71.0)
146
+ rubocop-rails (~> 2.0)
138
147
  rubocop-rspec (~> 1.21)
139
- selenium-webdriver (~> 3.7)
140
- simplecov (~> 0.13)
148
+ selenium-webdriver (~> 3.142)
149
+ simplecov (~> 0.18.5)
150
+ simplecov-cobertura (~> 1.3.1)
141
151
  system_test_html_screenshots (~> 0.1.1)
142
- webmock (~> 3.0)
152
+ webmock (~> 3.6)
143
153
  wisper-rspec (~> 1.0)
144
- decidim-forms (0.18.1)
145
- decidim-core (= 0.18.1)
146
- decidim-generators (0.18.1)
147
- decidim-core (= 0.18.1)
148
- decidim-initiatives (0.18.1)
149
- decidim-admin (= 0.18.1)
150
- decidim-comments (= 0.18.1)
151
- decidim-core (= 0.18.1)
152
- decidim-verifications (= 0.18.1)
153
- kaminari (~> 1.0)
154
- origami
155
- social-share-button (~> 1.0)
156
- virtus-multiparams
154
+ decidim-forms (0.21.0)
155
+ decidim-core (= 0.21.0)
156
+ decidim-generators (0.21.0)
157
+ decidim-core (= 0.21.0)
158
+ decidim-initiatives (0.21.0)
159
+ decidim-admin (= 0.21.0)
160
+ decidim-comments (= 0.21.0)
161
+ decidim-core (= 0.21.0)
162
+ decidim-verifications (= 0.21.0)
163
+ kaminari (~> 1.1)
164
+ origami (~> 2.1)
165
+ virtus-multiparams (~> 0.1)
157
166
  wicked (~> 1.3)
158
- wicked_pdf
159
- wkhtmltopdf-binary
160
- decidim-meetings (0.18.1)
167
+ wicked_pdf (~> 1.4)
168
+ wkhtmltopdf-binary (~> 0.12)
169
+ decidim-meetings (0.21.0)
161
170
  cells-erb (~> 0.1.0)
162
171
  cells-rails (~> 0.0.9)
163
- decidim-core (= 0.18.1)
164
- decidim-forms (= 0.18.1)
165
- httparty (~> 0.16.0)
166
- icalendar (~> 2.4)
172
+ decidim-core (= 0.21.0)
173
+ decidim-forms (= 0.21.0)
174
+ httparty (~> 0.17)
175
+ icalendar (~> 2.5)
167
176
  jquery-tmpl-rails (~> 1.1)
168
- kaminari (~> 1.0)
177
+ kaminari (~> 1.1)
169
178
  searchlight (~> 4.1)
170
- decidim-pages (0.18.1)
171
- decidim-core (= 0.18.1)
172
- decidim-participatory_processes (0.18.1)
173
- decidim-core (= 0.18.1)
174
- decidim-proposals (0.18.1)
179
+ decidim-pages (0.21.0)
180
+ decidim-core (= 0.21.0)
181
+ decidim-participatory_processes (0.21.0)
182
+ decidim-core (= 0.21.0)
183
+ decidim-proposals (0.21.0)
175
184
  acts_as_list (~> 0.9)
176
185
  cells-erb (~> 0.1.0)
177
186
  cells-rails (~> 0.0.9)
178
- decidim-comments (= 0.18.1)
179
- decidim-core (= 0.18.1)
180
- diffy (~> 3.3)
181
- doc2text (~> 0.4.0)
187
+ decidim-comments (= 0.21.0)
188
+ decidim-core (= 0.21.0)
189
+ doc2text (~> 0.4.2)
182
190
  kaminari (~> 1.1)
183
191
  ransack (~> 2.1.1)
184
192
  redcarpet (~> 3.4)
185
- social-share-button (~> 1.0)
186
- decidim-sortitions (0.18.1)
187
- decidim-admin (= 0.18.1)
188
- decidim-comments (= 0.18.1)
189
- decidim-core (= 0.18.1)
190
- decidim-proposals (= 0.18.1)
191
- social-share-button (~> 1.0)
192
- decidim-surveys (0.18.1)
193
- decidim-core (= 0.18.1)
194
- decidim-forms (= 0.18.1)
195
- decidim-system (0.18.1)
193
+ decidim-sortitions (0.21.0)
194
+ decidim-admin (= 0.21.0)
195
+ decidim-comments (= 0.21.0)
196
+ decidim-core (= 0.21.0)
197
+ decidim-proposals (= 0.21.0)
198
+ decidim-surveys (0.21.0)
199
+ decidim-core (= 0.21.0)
200
+ decidim-forms (= 0.21.0)
201
+ decidim-system (0.21.0)
196
202
  active_link_to (~> 1.0)
197
- decidim-core (= 0.18.1)
198
- devise (~> 4.6)
203
+ decidim-core (= 0.21.0)
204
+ devise (~> 4.7)
199
205
  devise-i18n (~> 1.2)
200
206
  devise_invitable (~> 1.7)
201
207
  jquery-rails (~> 4.3)
202
208
  sassc (~> 1.12, >= 1.12.1)
203
209
  sassc-rails (~> 1.3)
204
- decidim-verifications (0.18.1)
205
- decidim-core (= 0.18.1)
210
+ decidim-verifications (0.21.0)
211
+ decidim-core (= 0.21.0)
206
212
 
207
213
  GEM
208
214
  remote: https://rubygems.org/
209
215
  specs:
210
- actioncable (5.2.2.1)
211
- actionpack (= 5.2.2.1)
216
+ actioncable (5.2.3)
217
+ actionpack (= 5.2.3)
212
218
  nio4r (~> 2.0)
213
219
  websocket-driver (>= 0.6.1)
214
- actionmailer (5.2.2.1)
215
- actionpack (= 5.2.2.1)
216
- actionview (= 5.2.2.1)
217
- activejob (= 5.2.2.1)
220
+ actionmailer (5.2.3)
221
+ actionpack (= 5.2.3)
222
+ actionview (= 5.2.3)
223
+ activejob (= 5.2.3)
218
224
  mail (~> 2.5, >= 2.5.4)
219
225
  rails-dom-testing (~> 2.0)
220
- actionpack (5.2.2.1)
221
- actionview (= 5.2.2.1)
222
- activesupport (= 5.2.2.1)
226
+ actionpack (5.2.3)
227
+ actionview (= 5.2.3)
228
+ activesupport (= 5.2.3)
223
229
  rack (~> 2.0)
224
230
  rack-test (>= 0.6.3)
225
231
  rails-dom-testing (~> 2.0)
226
232
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
227
- actionview (5.2.2.1)
228
- activesupport (= 5.2.2.1)
233
+ actionview (5.2.3)
234
+ activesupport (= 5.2.3)
229
235
  builder (~> 3.1)
230
236
  erubi (~> 1.4)
231
237
  rails-dom-testing (~> 2.0)
@@ -233,27 +239,27 @@ GEM
233
239
  active_link_to (1.0.5)
234
240
  actionpack
235
241
  addressable
236
- activejob (5.2.2.1)
237
- activesupport (= 5.2.2.1)
242
+ activejob (5.2.3)
243
+ activesupport (= 5.2.3)
238
244
  globalid (>= 0.3.6)
239
- activemodel (5.2.2.1)
240
- activesupport (= 5.2.2.1)
241
- activerecord (5.2.2.1)
242
- activemodel (= 5.2.2.1)
243
- activesupport (= 5.2.2.1)
245
+ activemodel (5.2.3)
246
+ activesupport (= 5.2.3)
247
+ activerecord (5.2.3)
248
+ activemodel (= 5.2.3)
249
+ activesupport (= 5.2.3)
244
250
  arel (>= 9.0)
245
- activestorage (5.2.2.1)
246
- actionpack (= 5.2.2.1)
247
- activerecord (= 5.2.2.1)
251
+ activestorage (5.2.3)
252
+ actionpack (= 5.2.3)
253
+ activerecord (= 5.2.3)
248
254
  marcel (~> 0.3.1)
249
- activesupport (5.2.2.1)
255
+ activesupport (5.2.3)
250
256
  concurrent-ruby (~> 1.0, >= 1.0.2)
251
257
  i18n (>= 0.7, < 2)
252
258
  minitest (~> 5.1)
253
259
  tzinfo (~> 1.1)
254
260
  acts_as_list (0.9.19)
255
261
  activerecord (>= 3.0)
256
- addressable (2.5.2)
262
+ addressable (2.6.0)
257
263
  public_suffix (>= 2.0.2, < 4.0)
258
264
  anchored (1.1.0)
259
265
  arel (9.0.0)
@@ -278,12 +284,13 @@ GEM
278
284
  html_tokenizer (~> 0.0.6)
279
285
  parser (>= 2.4)
280
286
  smart_properties
281
- bindex (0.5.0)
282
- bootsnap (1.3.2)
287
+ bindex (0.7.0)
288
+ bootsnap (1.4.4)
283
289
  msgpack (~> 1.0)
290
+ browser (2.7.1)
284
291
  builder (3.2.3)
285
- byebug (10.0.2)
286
- capybara (3.29.0)
292
+ byebug (11.0.1)
293
+ capybara (3.32.1)
287
294
  addressable
288
295
  mini_mime (>= 0.1.3)
289
296
  nokogiri (~> 1.8)
@@ -306,7 +313,7 @@ GEM
306
313
  cells-rails (0.0.9)
307
314
  actionpack (>= 3.0)
308
315
  cells (>= 4.1.6, < 5.0.0)
309
- charlock_holmes (0.7.6)
316
+ charlock_holmes (0.7.7)
310
317
  childprocess (3.0.0)
311
318
  coercible (1.0.0)
312
319
  descendants_tracker (~> 0.0.1)
@@ -321,8 +328,8 @@ GEM
321
328
  concurrent-ruby (1.1.5)
322
329
  crack (0.4.3)
323
330
  safe_yaml (~> 1.0.0)
324
- crass (1.0.4)
325
- css_parser (1.7.0)
331
+ crass (1.0.5)
332
+ css_parser (1.7.1)
326
333
  addressable
327
334
  date_validator (0.9.0)
328
335
  activemodel
@@ -341,21 +348,21 @@ GEM
341
348
  railties (>= 4.1.0)
342
349
  responders
343
350
  warden (~> 1.2.3)
344
- devise-i18n (1.8.2)
345
- devise (>= 4.6)
351
+ devise-i18n (1.9.1)
352
+ devise (>= 4.7.1)
346
353
  devise_invitable (1.7.5)
347
354
  actionmailer (>= 4.1.0)
348
355
  devise (>= 4.0.0)
349
356
  diff-lcs (1.3)
350
357
  diffy (3.3.0)
351
- doc2text (0.4.1)
352
- nokogiri (~> 1.8, >= 1.8.2)
353
- rubyzip (~> 1.2, >= 1.2.2)
358
+ doc2text (0.4.2)
359
+ nokogiri (~> 1.10.0)
360
+ rubyzip (~> 2.0.0)
354
361
  docile (1.3.2)
355
362
  domain_name (0.5.20190701)
356
363
  unf (>= 0.0.5, < 1.0.0)
357
- doorkeeper (4.4.3)
358
- railties (>= 4.2)
364
+ doorkeeper (5.3.1)
365
+ railties (>= 5)
359
366
  doorkeeper-i18n (4.0.1)
360
367
  equalizer (0.0.11)
361
368
  erb_lint (0.0.30)
@@ -365,7 +372,7 @@ GEM
365
372
  rainbow
366
373
  rubocop (~> 0.51)
367
374
  smart_properties
368
- erbse (0.1.3)
375
+ erbse (0.1.4)
369
376
  temple
370
377
  erubi (1.8.0)
371
378
  etherpad-lite (0.3.0)
@@ -376,9 +383,9 @@ GEM
376
383
  factory_bot_rails (4.11.1)
377
384
  factory_bot (~> 4.11.1)
378
385
  railties (>= 3.0.0)
379
- faker (1.9.1)
386
+ faker (1.9.3)
380
387
  i18n (>= 0.7)
381
- faraday (0.17.0)
388
+ faraday (1.0.1)
382
389
  multipart-post (>= 1.2, < 3)
383
390
  ffi (1.9.25)
384
391
  file_validators (2.3.0)
@@ -394,14 +401,14 @@ GEM
394
401
  activesupport (>= 4.1, < 6.0)
395
402
  railties (>= 4.1, < 6.0)
396
403
  tzinfo (~> 1.2, >= 1.2.2)
397
- geocoder (1.5.2)
404
+ geocoder (1.6.2)
398
405
  globalid (0.4.2)
399
406
  activesupport (>= 4.2.0)
400
407
  graphiql-rails (1.4.11)
401
408
  railties
402
409
  sprockets-rails
403
- graphql (1.8.10)
404
- hashdiff (0.3.9)
410
+ graphql (1.10.6)
411
+ hashdiff (1.0.1)
405
412
  hashie (3.6.0)
406
413
  highline (2.0.3)
407
414
  html_tokenizer (0.0.7)
@@ -409,12 +416,12 @@ GEM
409
416
  http-accept (1.7.0)
410
417
  http-cookie (1.0.3)
411
418
  domain_name (~> 0.5)
412
- httparty (0.16.4)
419
+ httparty (0.18.0)
413
420
  mime-types (~> 3.0)
414
421
  multi_xml (>= 0.5.2)
415
422
  i18n (1.6.0)
416
423
  concurrent-ruby (~> 1.0)
417
- i18n-tasks (0.9.29)
424
+ i18n-tasks (0.9.31)
418
425
  activesupport (>= 4.0.2)
419
426
  ast (>= 2.1.0)
420
427
  erubi
@@ -424,37 +431,36 @@ GEM
424
431
  rails-i18n
425
432
  rainbow (>= 2.2.2, < 4.0)
426
433
  terminal-table (>= 1.5.1)
427
- icalendar (2.5.3)
434
+ icalendar (2.6.1)
428
435
  ice_cube (~> 0.16)
429
436
  ice_cube (0.16.3)
430
437
  ice_nine (0.11.2)
431
- invisible_captcha (0.10.0)
438
+ invisible_captcha (0.13.0)
432
439
  rails (>= 3.2.0)
433
- jaro_winkler (1.5.3)
440
+ jaro_winkler (1.5.4)
434
441
  jquery-rails (4.3.5)
435
442
  rails-dom-testing (>= 1, < 3)
436
443
  railties (>= 4.2.0)
437
444
  thor (>= 0.14, < 2.0)
438
445
  jquery-tmpl-rails (1.1.0)
439
446
  rails (>= 3.1.0)
440
- json (2.2.0)
441
447
  jwt (2.2.1)
442
- kaminari (1.1.1)
448
+ kaminari (1.2.0)
443
449
  activesupport (>= 4.1.0)
444
- kaminari-actionview (= 1.1.1)
445
- kaminari-activerecord (= 1.1.1)
446
- kaminari-core (= 1.1.1)
447
- kaminari-actionview (1.1.1)
450
+ kaminari-actionview (= 1.2.0)
451
+ kaminari-activerecord (= 1.2.0)
452
+ kaminari-core (= 1.2.0)
453
+ kaminari-actionview (1.2.0)
448
454
  actionview
449
- kaminari-core (= 1.1.1)
450
- kaminari-activerecord (1.1.1)
455
+ kaminari-core (= 1.2.0)
456
+ kaminari-activerecord (1.2.0)
451
457
  activerecord
452
- kaminari-core (= 1.1.1)
453
- kaminari-core (1.1.1)
458
+ kaminari-core (= 1.2.0)
459
+ kaminari-core (1.2.0)
454
460
  kramdown (1.17.0)
455
461
  launchy (2.4.3)
456
462
  addressable (~> 2.3)
457
- letter_opener (1.6.0)
463
+ letter_opener (1.7.0)
458
464
  launchy (~> 2.2)
459
465
  letter_opener_web (1.3.4)
460
466
  actionmailer (>= 3.2)
@@ -464,41 +470,41 @@ GEM
464
470
  rb-fsevent (~> 0.9, >= 0.9.4)
465
471
  rb-inotify (~> 0.9, >= 0.9.7)
466
472
  ruby_dep (~> 1.2)
467
- loofah (2.2.3)
473
+ loofah (2.3.1)
468
474
  crass (~> 1.0.2)
469
475
  nokogiri (>= 1.5.9)
470
476
  mail (2.7.1)
471
477
  mini_mime (>= 0.1.1)
472
478
  marcel (0.3.3)
473
479
  mimemagic (~> 0.3.2)
474
- mdl (0.4.0)
480
+ mdl (0.5.0)
475
481
  kramdown (~> 1.12, >= 1.12.0)
476
482
  mixlib-cli (~> 1.7, >= 1.7.0)
477
483
  mixlib-config (~> 2.2, >= 2.2.1)
478
484
  method_source (0.9.2)
479
- mime-types (3.3)
485
+ mime-types (3.3.1)
480
486
  mime-types-data (~> 3.2015)
481
487
  mime-types-data (3.2019.1009)
482
- mimemagic (0.3.3)
483
- mini_magick (4.9.5)
488
+ mimemagic (0.3.4)
489
+ mini_magick (4.10.1)
484
490
  mini_mime (1.0.1)
485
491
  mini_portile2 (2.4.0)
486
492
  minitest (5.11.3)
487
493
  mixlib-cli (1.7.0)
488
494
  mixlib-config (2.2.18)
489
495
  tomlrb
490
- msgpack (1.2.4)
496
+ msgpack (1.2.10)
491
497
  multi_json (1.14.1)
492
498
  multi_xml (0.6.0)
493
499
  multipart-post (2.1.1)
494
- mustache (1.1.0)
500
+ mustache (1.1.1)
495
501
  netrc (0.11.0)
496
502
  nio4r (2.5.2)
497
503
  nobspw (0.6.1)
498
- nokogiri (1.10.1)
504
+ nokogiri (1.10.9)
499
505
  mini_portile2 (~> 2.4.0)
500
506
  oauth (0.5.4)
501
- oauth2 (1.4.2)
507
+ oauth2 (1.4.4)
502
508
  faraday (>= 0.8, < 2.0)
503
509
  jwt (>= 1.0, < 3.0)
504
510
  multi_json (~> 1.3)
@@ -507,12 +513,12 @@ GEM
507
513
  omniauth (1.9.0)
508
514
  hashie (>= 3.4.6, < 3.7.0)
509
515
  rack (>= 1.6.2, < 3)
510
- omniauth-facebook (4.0.0)
516
+ omniauth-facebook (5.0.0)
511
517
  omniauth-oauth2 (~> 1.2)
512
- omniauth-google-oauth2 (0.5.4)
513
- jwt (>= 1.5)
518
+ omniauth-google-oauth2 (0.8.0)
519
+ jwt (>= 2.0)
514
520
  omniauth (>= 1.1.1)
515
- omniauth-oauth2 (>= 1.5)
521
+ omniauth-oauth2 (>= 1.6)
516
522
  omniauth-oauth (1.1.0)
517
523
  oauth
518
524
  omniauth (~> 1.0)
@@ -528,46 +534,45 @@ GEM
528
534
  origami (2.1.0)
529
535
  colorize (~> 0.7)
530
536
  orm_adapter (0.5.0)
531
- paper_trail (9.2.0)
532
- activerecord (>= 4.2, < 5.3)
533
- paper_trail-association_tracking (< 2)
537
+ paper_trail (10.3.1)
538
+ activerecord (>= 4.2)
534
539
  request_store (~> 1.1)
535
- paper_trail-association_tracking (1.1.1)
536
- parallel (1.18.0)
537
- parser (2.6.5.0)
540
+ parallel (1.19.1)
541
+ parser (2.7.1.0)
538
542
  ast (~> 2.4.0)
539
543
  pg (1.1.4)
540
- pg_search (2.3.0)
541
- activerecord (>= 4.2)
542
- activesupport (>= 4.2)
543
- powerpack (0.1.2)
544
+ pg_search (2.3.2)
545
+ activerecord (>= 5.2)
546
+ activesupport (>= 5.2)
544
547
  premailer (1.11.1)
545
548
  addressable
546
549
  css_parser (>= 1.6.0)
547
550
  htmlentities (>= 4.0.0)
548
- premailer-rails (1.10.3)
551
+ premailer-rails (1.11.1)
549
552
  actionmailer (>= 3)
550
553
  premailer (~> 1.7, >= 1.7.9)
551
- public_suffix (3.0.3)
552
- puma (3.12.0)
553
- rack (2.0.6)
554
- rack-attack (5.4.2)
554
+ public_suffix (3.1.0)
555
+ puma (4.3.3)
556
+ nio4r (~> 2.0)
557
+ rack (2.0.8)
558
+ rack-attack (6.2.2)
555
559
  rack (>= 1.0, < 3)
556
- rack-cors (1.0.3)
560
+ rack-cors (1.1.1)
561
+ rack (>= 2.0.0)
557
562
  rack-test (1.1.0)
558
563
  rack (>= 1.0, < 3)
559
- rails (5.2.2.1)
560
- actioncable (= 5.2.2.1)
561
- actionmailer (= 5.2.2.1)
562
- actionpack (= 5.2.2.1)
563
- actionview (= 5.2.2.1)
564
- activejob (= 5.2.2.1)
565
- activemodel (= 5.2.2.1)
566
- activerecord (= 5.2.2.1)
567
- activestorage (= 5.2.2.1)
568
- activesupport (= 5.2.2.1)
564
+ rails (5.2.3)
565
+ actioncable (= 5.2.3)
566
+ actionmailer (= 5.2.3)
567
+ actionpack (= 5.2.3)
568
+ actionview (= 5.2.3)
569
+ activejob (= 5.2.3)
570
+ activemodel (= 5.2.3)
571
+ activerecord (= 5.2.3)
572
+ activestorage (= 5.2.3)
573
+ activesupport (= 5.2.3)
569
574
  bundler (>= 1.3.0)
570
- railties (= 5.2.2.1)
575
+ railties (= 5.2.3)
571
576
  sprockets-rails (>= 2.0.0)
572
577
  rails-controller-testing (1.0.4)
573
578
  actionpack (>= 5.0.1.x)
@@ -576,27 +581,27 @@ GEM
576
581
  rails-dom-testing (2.0.3)
577
582
  activesupport (>= 4.2.0)
578
583
  nokogiri (>= 1.6)
579
- rails-html-sanitizer (1.0.4)
584
+ rails-html-sanitizer (1.2.0)
580
585
  loofah (~> 2.2, >= 2.2.2)
581
586
  rails-i18n (5.1.3)
582
587
  i18n (>= 0.7, < 2)
583
588
  railties (>= 5.0, < 6)
584
- railties (5.2.2.1)
585
- actionpack (= 5.2.2.1)
586
- activesupport (= 5.2.2.1)
589
+ railties (5.2.3)
590
+ actionpack (= 5.2.3)
591
+ activesupport (= 5.2.3)
587
592
  method_source
588
593
  rake (>= 0.8.7)
589
594
  thor (>= 0.19.0, < 2.0)
590
595
  rainbow (3.0.0)
591
- rake (12.3.2)
596
+ rake (13.0.0)
592
597
  ransack (2.1.1)
593
598
  actionpack (>= 5.0)
594
599
  activerecord (>= 5.0)
595
600
  activesupport (>= 5.0)
596
601
  i18n
597
602
  rb-fsevent (0.10.3)
598
- rb-inotify (0.9.10)
599
- ffi (>= 0.5.0, < 2)
603
+ rb-inotify (0.10.0)
604
+ ffi (~> 1.0)
600
605
  rectify (0.13.0)
601
606
  activemodel (>= 4.1.0)
602
607
  activerecord (>= 4.1.0)
@@ -605,8 +610,8 @@ GEM
605
610
  wisper (>= 1.6.1)
606
611
  redcarpet (3.5.0)
607
612
  redis (4.1.3)
608
- regexp_parser (1.6.0)
609
- request_store (1.4.1)
613
+ regexp_parser (1.7.0)
614
+ request_store (1.5.0)
610
615
  rack (>= 1.4)
611
616
  responders (3.0.0)
612
617
  actionpack (>= 5.0)
@@ -620,21 +625,21 @@ GEM
620
625
  rspec-core (~> 3.9.0)
621
626
  rspec-expectations (~> 3.9.0)
622
627
  rspec-mocks (~> 3.9.0)
623
- rspec-cells (0.3.4)
628
+ rspec-cells (0.3.5)
624
629
  cells (>= 4.0.0, < 6.0.0)
625
- rspec-rails (~> 3.2)
626
- rspec-core (3.9.0)
627
- rspec-support (~> 3.9.0)
628
- rspec-expectations (3.9.0)
630
+ rspec-rails (< 5.0)
631
+ rspec-core (3.9.1)
632
+ rspec-support (~> 3.9.1)
633
+ rspec-expectations (3.9.1)
629
634
  diff-lcs (>= 1.2.0, < 2.0)
630
635
  rspec-support (~> 3.9.0)
631
- rspec-html-matchers (0.9.1)
636
+ rspec-html-matchers (0.9.2)
632
637
  nokogiri (~> 1)
633
638
  rspec (>= 3.0.0.a, < 4)
634
- rspec-mocks (3.9.0)
639
+ rspec-mocks (3.9.1)
635
640
  diff-lcs (>= 1.2.0, < 2.0)
636
641
  rspec-support (~> 3.9.0)
637
- rspec-rails (3.9.0)
642
+ rspec-rails (3.9.1)
638
643
  actionpack (>= 3.0)
639
644
  activesupport (>= 3.0)
640
645
  railties (>= 3.0)
@@ -642,23 +647,27 @@ GEM
642
647
  rspec-expectations (~> 3.9.0)
643
648
  rspec-mocks (~> 3.9.0)
644
649
  rspec-support (~> 3.9.0)
645
- rspec-support (3.9.0)
650
+ rspec-retry (0.6.2)
651
+ rspec-core (> 3.3)
652
+ rspec-support (3.9.2)
646
653
  rspec_junit_formatter (0.3.0)
647
654
  rspec-core (>= 2, < 4, != 2.12.0)
648
- rubocop (0.58.2)
655
+ rubocop (0.71.0)
649
656
  jaro_winkler (~> 1.5.1)
650
657
  parallel (~> 1.10)
651
- parser (>= 2.5, != 2.5.1.1)
652
- powerpack (~> 0.1)
658
+ parser (>= 2.6)
653
659
  rainbow (>= 2.2.2, < 4.0)
654
660
  ruby-progressbar (~> 1.7)
655
- unicode-display_width (~> 1.0, >= 1.0.1)
656
- rubocop-rspec (1.30.0)
657
- rubocop (>= 0.58.0)
661
+ unicode-display_width (>= 1.4.0, < 1.7)
662
+ rubocop-rails (2.0.1)
663
+ rack (>= 1.1)
664
+ rubocop (>= 0.70.0)
665
+ rubocop-rspec (1.38.1)
666
+ rubocop (>= 0.68.1)
658
667
  ruby-ole (1.2.12.2)
659
668
  ruby-progressbar (1.10.1)
660
669
  ruby_dep (1.5.0)
661
- rubyzip (1.3.0)
670
+ rubyzip (2.0.0)
662
671
  safe_yaml (1.0.5)
663
672
  sass (3.4.25)
664
673
  sassc (1.12.1)
@@ -672,25 +681,26 @@ GEM
672
681
  sprockets-rails
673
682
  tilt
674
683
  searchlight (4.1.0)
675
- selenium-webdriver (3.142.6)
684
+ selenium-webdriver (3.142.7)
676
685
  childprocess (>= 0.5, < 4.0)
677
686
  rubyzip (>= 1.2.2)
678
- simplecov (0.17.1)
687
+ seven_zip_ruby (1.2.5)
688
+ simplecov (0.18.5)
679
689
  docile (~> 1.1)
680
- json (>= 1.8, < 3)
681
- simplecov-html (~> 0.10.0)
682
- simplecov-html (0.10.2)
690
+ simplecov-html (~> 0.11)
691
+ simplecov-cobertura (1.3.1)
692
+ simplecov (~> 0.8)
693
+ simplecov-html (0.12.2)
683
694
  smart_properties (1.15.0)
684
695
  social-share-button (1.2.1)
685
696
  coffee-rails
686
- spreadsheet (1.2.4)
697
+ spreadsheet (1.2.6)
687
698
  ruby-ole (>= 1.0)
688
- spring (2.0.2)
689
- activesupport (>= 4.2)
699
+ spring (2.1.0)
690
700
  spring-watcher-listen (2.0.1)
691
701
  listen (>= 2.7, < 4.0)
692
702
  spring (>= 1.2, < 3.0)
693
- sprockets (4.0.0)
703
+ sprockets (3.7.2)
694
704
  concurrent-ruby (~> 1.0)
695
705
  rack (> 1, < 3)
696
706
  sprockets-es6 (0.9.2)
@@ -709,19 +719,19 @@ GEM
709
719
  thor (0.20.3)
710
720
  thread_safe (0.3.6)
711
721
  tilt (2.0.10)
712
- tomlrb (1.2.8)
722
+ tomlrb (1.3.0)
713
723
  truncato (0.7.11)
714
724
  htmlentities (~> 4.3.1)
715
725
  nokogiri (>= 1.7.0, <= 2.0)
716
- tzinfo (1.2.5)
726
+ tzinfo (1.2.6)
717
727
  thread_safe (~> 0.1)
718
728
  uber (0.1.0)
719
- uglifier (4.1.19)
729
+ uglifier (4.1.20)
720
730
  execjs (>= 0.3.0, < 3)
721
731
  unf (0.1.4)
722
732
  unf_ext
723
- unf_ext (0.0.7.6)
724
- unicode-display_width (1.6.0)
733
+ unf_ext (0.0.7.7)
734
+ unicode-display_width (1.6.1)
725
735
  valid_email2 (2.3.1)
726
736
  activemodel (>= 3.2)
727
737
  mail (~> 2.5)
@@ -739,10 +749,10 @@ GEM
739
749
  activemodel (>= 5.0)
740
750
  bindex (>= 0.4.0)
741
751
  railties (>= 5.0)
742
- webmock (3.5.1)
752
+ webmock (3.8.3)
743
753
  addressable (>= 2.3.6)
744
754
  crack (>= 0.3.2)
745
- hashdiff
755
+ hashdiff (>= 0.4.0, < 2.0.0)
746
756
  websocket-driver (0.7.1)
747
757
  websocket-extensions (>= 0.1.0)
748
758
  websocket-extensions (0.1.4)
@@ -752,7 +762,7 @@ GEM
752
762
  activesupport
753
763
  wisper (2.0.1)
754
764
  wisper-rspec (1.1.0)
755
- wkhtmltopdf-binary (0.12.4)
765
+ wkhtmltopdf-binary (0.12.5.4)
756
766
  xpath (3.2.0)
757
767
  nokogiri (~> 1.8)
758
768
 
@@ -761,7 +771,7 @@ PLATFORMS
761
771
 
762
772
  DEPENDENCIES
763
773
  bootsnap (~> 1.3)
764
- byebug (~> 10.0)
774
+ byebug (~> 11.0)
765
775
  decidim!
766
776
  decidim-consultations!
767
777
  decidim-dev!
@@ -769,14 +779,14 @@ DEPENDENCIES
769
779
  faker (~> 1.9)
770
780
  letter_opener_web (~> 1.3)
771
781
  listen (~> 3.1)
772
- puma (~> 3.0)
782
+ puma (~> 4.3.3)
773
783
  spring (~> 2.0)
774
784
  spring-watcher-listen (~> 2.0)
775
785
  uglifier (~> 4.1)
776
786
  web-console (~> 3.5)
777
787
 
778
788
  RUBY VERSION
779
- ruby 2.6.3p62
789
+ ruby 2.5.3p105
780
790
 
781
791
  BUNDLED WITH
782
792
  1.17.3
@@ -2,8 +2,8 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  if File.exist?(File.expand_path("../../.git", __dir__))
5
- ENV["RUBYOPT"] = ENV["RUBYOPT"].sub("-rsimplecov ", "")
6
- ENV["RUBYLIB"] = ENV["RUBYLIB"].sub("#{File.expand_path("..", __dir__)}/lib:", "")
5
+ ENV["RUBYOPT"] = ENV["RUBYOPT"].to_s.sub("-rsimplecov ", "")
6
+ ENV["RUBYLIB"] = ENV["RUBYLIB"].to_s.sub("#{File.expand_path("..", __dir__)}/lib:", "")
7
7
 
8
8
  gem "decidim-core"
9
9
  end
@@ -16,9 +16,11 @@ when "--component"
16
16
 
17
17
  Decidim::Generators::ComponentGenerator.start
18
18
  when "--version"
19
- puts Decidim.version
19
+ require "decidim/core/version"
20
+ puts Decidim::Core.version
20
21
  when "--help"
21
- puts "Decidim #{Decidim.version}
22
+ require "decidim/core/version"
23
+ puts "Decidim #{Decidim::Core.version}
22
24
  Syntax: decidim [options] [App or Module name]
23
25
  https://decidim.org
24
26
 
@@ -10,9 +10,8 @@ Decidim.configure do |config|
10
10
 
11
11
  # Geocoder configuration
12
12
  # config.geocoder = {
13
- # static_map_url: "https://image.maps.cit.api.here.com/mia/1.6/mapview",
14
- # here_app_id: Rails.application.secrets.geocoder[:here_app_id],
15
- # here_app_code: Rails.application.secrets.geocoder[:here_app_code]
13
+ # static_map_url: "https://image.maps.ls.hereapi.com/mia/1.6/mapview",
14
+ # here_api_key: Rails.application.secrets.geocoder[:here_api_key]
16
15
  # }
17
16
 
18
17
  # Custom resource reference generator method
@@ -23,11 +23,11 @@ default: &default
23
23
  api_secret: <%%= ENV["OMNIAUTH_TWITTER_API_SECRET"] %>
24
24
  google_oauth2:
25
25
  enabled: false
26
+ icon_path: decidim/brands/google.svg
26
27
  client_id: <%%= ENV["OMNIAUTH_GOOGLE_CLIENT_ID"] %>
27
28
  client_secret: <%%= ENV["OMNIAUTH_GOOGLE_CLIENT_SECRET"] %>
28
29
  geocoder:
29
- here_app_id: <%%= ENV["GEOCODER_LOOKUP_APP_ID"] %>
30
- here_app_code: <%%= ENV["GEOCODER_LOOKUP_APP_CODE"] %>
30
+ here_api_key: <%%= ENV["GEOCODER_API_KEY"] %>
31
31
  etherpad:
32
32
  server: <%%= ENV["ETHERPAD_SERVER"] %>
33
33
  api_key: <%%= ENV["ETHERPAD_API_KEY"] %>
@@ -47,10 +47,16 @@ test:
47
47
  omniauth:
48
48
  facebook:
49
49
  enabled: true
50
+ app_id: fake-facebook-app-id
51
+ app_secret: fake-facebook-app-secret
50
52
  twitter:
51
53
  enabled: true
54
+ api_key: fake-twitter-api-key
55
+ api_secret: fake-twitter-api-secret
52
56
  google_oauth2:
53
57
  enabled: true
58
+ client_id:
59
+ client_secret:
54
60
 
55
61
  # Do not keep production secrets in the repository,
56
62
  # instead read values from the environment.
@@ -4,5 +4,5 @@
4
4
  # found here: https://github.com/huacnlee/social-share-button#configure
5
5
  #
6
6
  SocialShareButton.configure do |config|
7
- config.allow_sites = %w(twitter facebook google_plus)
7
+ config.allow_sites = %w(twitter facebook whatsapp_app whatsapp_web telegram)
8
8
  end
@@ -1,6 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  # frozen_string_literal: true
3
3
 
4
+ require "bundler"
4
5
  require "thor"
5
6
  require "active_support/inflector"
6
7
  require "decidim/core/version"
@@ -30,8 +31,8 @@ module Decidim
30
31
  template "Rakefile", "#{component_folder}/Rakefile"
31
32
  template "LICENSE-AGPLv3.txt", "#{component_folder}/LICENSE-AGPLv3.txt"
32
33
  template "README.md.erb", "#{component_folder}/README.md"
33
- template ".gitignore", "#{component_folder}/.gitignore"
34
- template ".circleci/config.yml", "#{component_folder}/.circleci/config.yml"
34
+ template "gitignore", "#{component_folder}/.gitignore"
35
+ template "circleci/config.yml", "#{component_folder}/.circleci/config.yml"
35
36
 
36
37
  app_folder = "#{component_folder}/app"
37
38
  template "app/assets/config/component_manifest.js", "#{app_folder}/assets/config/decidim_#{component_name}_manifest.js"
@@ -7,11 +7,11 @@ ruby RUBY_VERSION
7
7
  gem "decidim", git: "https://github.com/decidim/decidim"
8
8
  gem "decidim-<%= component_name %>", path: "."
9
9
 
10
- gem "puma", "~> 3.0"
10
+ gem "puma", "~> 3.12.2"
11
11
  gem "uglifier", "~> 4.1"
12
12
 
13
13
  group :development, :test do
14
- gem "byebug", "~> 10.0", platform: :mri
14
+ gem "byebug", "~> 11.0", platform: :mri
15
15
 
16
16
  gem "decidim-dev", git: "https://github.com/decidim/decidim"
17
17
  end
@@ -0,0 +1,47 @@
1
+ ---
2
+
3
+ version: 2
4
+
5
+ jobs:
6
+ build:
7
+ docker:
8
+ - image: decidim/decidim@sha256:348fb1faa49cfe76ba7cbeafc67ca09002cf95f0ffa7a76eefa9d5b3774e0ee9
9
+ environment:
10
+ DATABASE_USERNAME: postgres
11
+
12
+ - image: postgres
13
+ environment:
14
+ POSTGRES_USER: postgres
15
+
16
+ working_directory: /app
17
+
18
+ steps:
19
+ - checkout
20
+
21
+ - restore_cache:
22
+ keys:
23
+ - bundler-dependencies-{{ checksum "Gemfile.lock" }}
24
+
25
+ - run:
26
+ name: Install dependencies
27
+ command: bundle install
28
+
29
+ - save_cache:
30
+ key: bundler-dependencies-{{ checksum "Gemfile.lock" }}
31
+ paths:
32
+ - /usr/local/bundle
33
+
34
+ - run:
35
+ name: Wait for db
36
+ command: dockerize -wait tcp://localhost:5432 -timeout 1m
37
+
38
+ - run:
39
+ name: Generate test app
40
+ command: bundle exec rake decidim:generate_external_test_app
41
+
42
+ - run:
43
+ name: Run RSpec tests
44
+ command: bundle exec rspec
45
+
46
+ - store_artifacts:
47
+ path: /app/spec/decidim_dummy_app/tmp/screenshots
@@ -0,0 +1,17 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec-failures
12
+
13
+ # default test application
14
+ spec/decidim_dummy_app
15
+
16
+ # default development application
17
+ development_app
@@ -4,7 +4,7 @@
4
4
  module Decidim
5
5
  module Generators
6
6
  def self.version
7
- "0.18.1"
7
+ "0.21.0"
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-generators
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.1
4
+ version: 0.21.0
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: 2019-10-21 00:00:00.000000000 Z
13
+ date: 2020-04-08 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.18.1
21
+ version: 0.21.0
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.18.1
28
+ version: 0.21.0
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: bundler
31
31
  requirement: !ruby/object:Gem::Requirement
@@ -84,9 +84,11 @@ files:
84
84
  - lib/decidim/generators/component_templates/app/helpers/decidim/component/application_helper.rb.erb
85
85
  - lib/decidim/generators/component_templates/app/models/decidim/component/application_record.rb.erb
86
86
  - lib/decidim/generators/component_templates/bin/rails.erb
87
+ - lib/decidim/generators/component_templates/circleci/config.yml
87
88
  - lib/decidim/generators/component_templates/config/i18n-tasks.yml.erb
88
89
  - lib/decidim/generators/component_templates/config/locales/en.yml.erb
89
90
  - lib/decidim/generators/component_templates/decidim-component.gemspec.erb
91
+ - lib/decidim/generators/component_templates/gitignore
90
92
  - lib/decidim/generators/component_templates/lib/decidim/component.rb.erb
91
93
  - lib/decidim/generators/component_templates/lib/decidim/component/admin.rb.erb
92
94
  - lib/decidim/generators/component_templates/lib/decidim/component/admin_engine.rb.erb
@@ -117,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
119
  - !ruby/object:Gem::Version
118
120
  version: '0'
119
121
  requirements: []
120
- rubygems_version: 3.0.3
122
+ rubygems_version: 3.1.2
121
123
  signing_key:
122
124
  specification_version: 4
123
125
  summary: Citizen participation framework for Ruby on Rails.