decidim-generators 0.18.1 → 0.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -2
- data/Gemfile.lock +218 -220
- data/exe/decidim +6 -4
- data/lib/decidim/generators/app_templates/social_share_button.rb +1 -1
- data/lib/decidim/generators/component_generator.rb +3 -2
- data/lib/decidim/generators/component_templates/Gemfile.erb +2 -2
- data/lib/decidim/generators/component_templates/circleci/config.yml +47 -0
- data/lib/decidim/generators/component_templates/gitignore +17 -0
- data/lib/decidim/generators/version.rb +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40b4d7d3019ff202dc581cae2988e08841a030f2a09dbcf02dfab069a81f2df3
|
4
|
+
data.tar.gz: 6f4085d21ed77747e5bcbcf4271bb65bb028ab62d874c8c63ec832b49e7ef1aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 655a6de1cdf37e0d08bdb26bfca0cda1ce5d04b64e264ac07b75789be2ea0383d6715df07da7afe7a5e9119f0139a5a83ebfcd8a4173f61c61c149e5d438756c
|
7
|
+
data.tar.gz: d0f4607592f66aebe045f779bed75f99e728824e2a52217b6d0a2185cc4bda27eaa39cba4a424113f405e7bb9bcc8148afcedf4f090d6d5b6f88e732ac49e1b5
|
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.
|
13
|
+
gem "puma", "~> 3.12"
|
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", "~>
|
19
|
+
gem "byebug", "~> 11.0", platform: :mri
|
20
20
|
|
21
21
|
gem "decidim-dev", path: ".."
|
22
22
|
end
|
data/Gemfile.lock
CHANGED
@@ -1,231 +1,231 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
decidim (0.
|
5
|
-
decidim-accountability (= 0.
|
6
|
-
decidim-admin (= 0.
|
7
|
-
decidim-api (= 0.
|
8
|
-
decidim-assemblies (= 0.
|
9
|
-
decidim-blogs (= 0.
|
10
|
-
decidim-budgets (= 0.
|
11
|
-
decidim-comments (= 0.
|
12
|
-
decidim-core (= 0.
|
13
|
-
decidim-debates (= 0.
|
14
|
-
decidim-forms (= 0.
|
15
|
-
decidim-generators (= 0.
|
16
|
-
decidim-meetings (= 0.
|
17
|
-
decidim-pages (= 0.
|
18
|
-
decidim-participatory_processes (= 0.
|
19
|
-
decidim-proposals (= 0.
|
20
|
-
decidim-sortitions (= 0.
|
21
|
-
decidim-surveys (= 0.
|
22
|
-
decidim-system (= 0.
|
23
|
-
decidim-verifications (= 0.
|
24
|
-
decidim-accountability (0.
|
25
|
-
decidim-comments (= 0.
|
26
|
-
decidim-core (= 0.
|
27
|
-
kaminari (~> 1.
|
4
|
+
decidim (0.19.0)
|
5
|
+
decidim-accountability (= 0.19.0)
|
6
|
+
decidim-admin (= 0.19.0)
|
7
|
+
decidim-api (= 0.19.0)
|
8
|
+
decidim-assemblies (= 0.19.0)
|
9
|
+
decidim-blogs (= 0.19.0)
|
10
|
+
decidim-budgets (= 0.19.0)
|
11
|
+
decidim-comments (= 0.19.0)
|
12
|
+
decidim-core (= 0.19.0)
|
13
|
+
decidim-debates (= 0.19.0)
|
14
|
+
decidim-forms (= 0.19.0)
|
15
|
+
decidim-generators (= 0.19.0)
|
16
|
+
decidim-meetings (= 0.19.0)
|
17
|
+
decidim-pages (= 0.19.0)
|
18
|
+
decidim-participatory_processes (= 0.19.0)
|
19
|
+
decidim-proposals (= 0.19.0)
|
20
|
+
decidim-sortitions (= 0.19.0)
|
21
|
+
decidim-surveys (= 0.19.0)
|
22
|
+
decidim-system (= 0.19.0)
|
23
|
+
decidim-verifications (= 0.19.0)
|
24
|
+
decidim-accountability (0.19.0)
|
25
|
+
decidim-comments (= 0.19.0)
|
26
|
+
decidim-core (= 0.19.0)
|
27
|
+
kaminari (~> 1.1)
|
28
28
|
searchlight (~> 4.1)
|
29
|
-
decidim-admin (0.
|
29
|
+
decidim-admin (0.19.0)
|
30
30
|
active_link_to (~> 1.0)
|
31
|
-
decidim-core (= 0.
|
32
|
-
devise (~> 4.
|
31
|
+
decidim-core (= 0.19.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.
|
38
|
+
decidim-api (0.19.0)
|
39
39
|
graphiql-rails (~> 1.4, < 1.5)
|
40
|
-
graphql (~> 1.
|
40
|
+
graphql (~> 1.9)
|
41
41
|
rack-cors (~> 1.0)
|
42
42
|
sprockets-es6 (~> 0.9.2)
|
43
|
-
decidim-assemblies (0.
|
44
|
-
decidim-core (= 0.
|
45
|
-
decidim-blogs (0.
|
46
|
-
decidim-admin (= 0.
|
47
|
-
decidim-comments (= 0.
|
48
|
-
decidim-core (= 0.
|
49
|
-
httparty (~> 0.
|
43
|
+
decidim-assemblies (0.19.0)
|
44
|
+
decidim-core (= 0.19.0)
|
45
|
+
decidim-blogs (0.19.0)
|
46
|
+
decidim-admin (= 0.19.0)
|
47
|
+
decidim-comments (= 0.19.0)
|
48
|
+
decidim-core (= 0.19.0)
|
49
|
+
httparty (~> 0.17)
|
50
50
|
jquery-tmpl-rails (~> 1.1)
|
51
|
-
kaminari (~> 1.
|
52
|
-
decidim-budgets (0.
|
53
|
-
decidim-comments (= 0.
|
54
|
-
decidim-core (= 0.
|
55
|
-
kaminari (~> 1.
|
51
|
+
kaminari (~> 1.1)
|
52
|
+
decidim-budgets (0.19.0)
|
53
|
+
decidim-comments (= 0.19.0)
|
54
|
+
decidim-core (= 0.19.0)
|
55
|
+
kaminari (~> 1.1)
|
56
56
|
searchlight (~> 4.1)
|
57
|
-
decidim-comments (0.
|
58
|
-
decidim-core (= 0.
|
59
|
-
jquery-rails (~> 4.
|
60
|
-
decidim-consultations (0.
|
61
|
-
decidim-admin (= 0.
|
62
|
-
decidim-comments (= 0.
|
63
|
-
decidim-core (= 0.
|
64
|
-
decidim-core (0.
|
57
|
+
decidim-comments (0.19.0)
|
58
|
+
decidim-core (= 0.19.0)
|
59
|
+
jquery-rails (~> 4.3)
|
60
|
+
decidim-consultations (0.19.0)
|
61
|
+
decidim-admin (= 0.19.0)
|
62
|
+
decidim-comments (= 0.19.0)
|
63
|
+
decidim-core (= 0.19.0)
|
64
|
+
decidim-core (0.19.0)
|
65
65
|
active_link_to (~> 1.0)
|
66
66
|
anchored (>= 1.1.0)
|
67
67
|
autoprefixer-rails (~> 8.0)
|
68
68
|
batch-loader (~> 1.2)
|
69
|
-
carrierwave (~> 1.
|
69
|
+
carrierwave (~> 1.3)
|
70
70
|
cells-erb (~> 0.1.0)
|
71
71
|
cells-rails (~> 0.0.9)
|
72
|
-
charlock_holmes (
|
72
|
+
charlock_holmes (~> 0.7)
|
73
73
|
date_validator (~> 0.9.0)
|
74
|
-
decidim-api (= 0.
|
75
|
-
devise (~> 4.
|
74
|
+
decidim-api (= 0.19.0)
|
75
|
+
devise (~> 4.7)
|
76
76
|
devise-i18n (~> 1.2)
|
77
|
-
doorkeeper (~>
|
77
|
+
doorkeeper (~> 5.1)
|
78
78
|
doorkeeper-i18n (~> 4.0)
|
79
79
|
etherpad-lite (~> 0.3)
|
80
80
|
file_validators (~> 2.1)
|
81
81
|
foundation-rails (~> 6.4, < 6.5)
|
82
82
|
foundation_rails_helper (~> 3.0)
|
83
|
-
geocoder (~> 1.
|
84
|
-
hashdiff (
|
85
|
-
invisible_captcha (~> 0.
|
83
|
+
geocoder (~> 1.5)
|
84
|
+
hashdiff (>= 0.4.0, < 2.0.0)
|
85
|
+
invisible_captcha (~> 0.12)
|
86
86
|
jquery-rails (~> 4.3)
|
87
|
-
kaminari (~> 1.
|
88
|
-
loofah (~> 2.
|
89
|
-
mini_magick (~> 4.
|
87
|
+
kaminari (~> 1.1)
|
88
|
+
loofah (~> 2.2)
|
89
|
+
mini_magick (~> 4.9)
|
90
90
|
mustache (~> 1.1.0)
|
91
91
|
nobspw (~> 0.6.0)
|
92
|
-
omniauth (~> 1.
|
93
|
-
omniauth-facebook (~>
|
94
|
-
omniauth-google-oauth2 (~> 0.
|
92
|
+
omniauth (~> 1.9)
|
93
|
+
omniauth-facebook (~> 5.0)
|
94
|
+
omniauth-google-oauth2 (~> 0.7)
|
95
95
|
omniauth-rails_csrf_protection (~> 0.1)
|
96
96
|
omniauth-twitter (~> 1.4)
|
97
|
-
paper_trail (~>
|
98
|
-
pg (
|
99
|
-
pg_search (~> 2.
|
100
|
-
premailer-rails (~> 1.
|
101
|
-
rack (
|
102
|
-
rack-attack (~>
|
97
|
+
paper_trail (~> 10.3)
|
98
|
+
pg (~> 1.1.4, < 2)
|
99
|
+
pg_search (~> 2.2)
|
100
|
+
premailer-rails (~> 1.10)
|
101
|
+
rack (~> 2.0)
|
102
|
+
rack-attack (~> 6.0)
|
103
103
|
rails (>= 5.2, < 6.0.x)
|
104
104
|
rails-i18n (~> 5.0)
|
105
105
|
rectify (~> 0.13.0)
|
106
|
-
redis (~> 4.
|
107
|
-
rubyzip (~>
|
106
|
+
redis (~> 4.1)
|
107
|
+
rubyzip (~> 2.0)
|
108
108
|
sassc (~> 1.12, >= 1.12.1)
|
109
109
|
sassc-rails (~> 1.3)
|
110
|
-
|
110
|
+
social-share-button (~> 1.2, >= 1.2.1)
|
111
|
+
spreadsheet (~> 1.2)
|
112
|
+
sprockets (~> 3.7, < 4)
|
111
113
|
sprockets-es6 (~> 0.9.2)
|
112
|
-
truncato (~> 0.7
|
113
|
-
uglifier (~> 4.
|
114
|
+
truncato (~> 0.7)
|
115
|
+
uglifier (~> 4.1)
|
114
116
|
valid_email2 (~> 2.1)
|
115
117
|
wisper (~> 2.0)
|
116
|
-
decidim-debates (0.
|
117
|
-
decidim-comments (= 0.
|
118
|
-
decidim-core (= 0.
|
119
|
-
kaminari (~> 1.
|
118
|
+
decidim-debates (0.19.0)
|
119
|
+
decidim-comments (= 0.19.0)
|
120
|
+
decidim-core (= 0.19.0)
|
121
|
+
kaminari (~> 1.1)
|
120
122
|
searchlight (~> 4.1)
|
121
|
-
decidim-dev (0.
|
122
|
-
byebug (~>
|
123
|
-
capybara (~> 3.
|
123
|
+
decidim-dev (0.19.0)
|
124
|
+
byebug (~> 11.0)
|
125
|
+
capybara (~> 3.24)
|
124
126
|
db-query-matchers (~> 0.9.0)
|
125
|
-
decidim (= 0.
|
126
|
-
erb_lint (~> 0.0.
|
127
|
+
decidim (= 0.19.0)
|
128
|
+
erb_lint (~> 0.0.28)
|
127
129
|
factory_bot_rails (~> 4.8)
|
128
130
|
i18n-tasks (~> 0.9.18)
|
129
|
-
mdl (~> 0.
|
130
|
-
nokogiri (
|
131
|
-
puma (~> 3.
|
131
|
+
mdl (~> 0.5.0)
|
132
|
+
nokogiri (>= 1.10.4)
|
133
|
+
puma (~> 3.12)
|
132
134
|
rails-controller-testing (~> 1.0)
|
133
135
|
rspec-cells (~> 0.3.4)
|
134
136
|
rspec-html-matchers (~> 0.9.1)
|
135
137
|
rspec-rails (~> 3.7)
|
136
138
|
rspec_junit_formatter (~> 0.3.0)
|
137
|
-
rubocop (~> 0.
|
139
|
+
rubocop (~> 0.71.0)
|
140
|
+
rubocop-rails (~> 2.0)
|
138
141
|
rubocop-rspec (~> 1.21)
|
139
|
-
selenium-webdriver (~> 3.
|
140
|
-
simplecov (~> 0.
|
142
|
+
selenium-webdriver (~> 3.142)
|
143
|
+
simplecov (~> 0.16)
|
141
144
|
system_test_html_screenshots (~> 0.1.1)
|
142
|
-
webmock (~> 3.
|
145
|
+
webmock (~> 3.6)
|
143
146
|
wisper-rspec (~> 1.0)
|
144
|
-
decidim-forms (0.
|
145
|
-
decidim-core (= 0.
|
146
|
-
decidim-generators (0.
|
147
|
-
decidim-core (= 0.
|
148
|
-
decidim-initiatives (0.
|
149
|
-
decidim-admin (= 0.
|
150
|
-
decidim-comments (= 0.
|
151
|
-
decidim-core (= 0.
|
152
|
-
decidim-verifications (= 0.
|
153
|
-
kaminari (~> 1.
|
154
|
-
origami
|
155
|
-
|
156
|
-
virtus-multiparams
|
147
|
+
decidim-forms (0.19.0)
|
148
|
+
decidim-core (= 0.19.0)
|
149
|
+
decidim-generators (0.19.0)
|
150
|
+
decidim-core (= 0.19.0)
|
151
|
+
decidim-initiatives (0.19.0)
|
152
|
+
decidim-admin (= 0.19.0)
|
153
|
+
decidim-comments (= 0.19.0)
|
154
|
+
decidim-core (= 0.19.0)
|
155
|
+
decidim-verifications (= 0.19.0)
|
156
|
+
kaminari (~> 1.1)
|
157
|
+
origami (~> 2.1)
|
158
|
+
virtus-multiparams (~> 0.1)
|
157
159
|
wicked (~> 1.3)
|
158
|
-
wicked_pdf
|
159
|
-
wkhtmltopdf-binary
|
160
|
-
decidim-meetings (0.
|
160
|
+
wicked_pdf (~> 1.4)
|
161
|
+
wkhtmltopdf-binary (~> 0.12)
|
162
|
+
decidim-meetings (0.19.0)
|
161
163
|
cells-erb (~> 0.1.0)
|
162
164
|
cells-rails (~> 0.0.9)
|
163
|
-
decidim-core (= 0.
|
164
|
-
decidim-forms (= 0.
|
165
|
-
httparty (~> 0.
|
166
|
-
icalendar (~> 2.
|
165
|
+
decidim-core (= 0.19.0)
|
166
|
+
decidim-forms (= 0.19.0)
|
167
|
+
httparty (~> 0.17)
|
168
|
+
icalendar (~> 2.5)
|
167
169
|
jquery-tmpl-rails (~> 1.1)
|
168
|
-
kaminari (~> 1.
|
170
|
+
kaminari (~> 1.1)
|
169
171
|
searchlight (~> 4.1)
|
170
|
-
decidim-pages (0.
|
171
|
-
decidim-core (= 0.
|
172
|
-
decidim-participatory_processes (0.
|
173
|
-
decidim-core (= 0.
|
174
|
-
decidim-proposals (0.
|
172
|
+
decidim-pages (0.19.0)
|
173
|
+
decidim-core (= 0.19.0)
|
174
|
+
decidim-participatory_processes (0.19.0)
|
175
|
+
decidim-core (= 0.19.0)
|
176
|
+
decidim-proposals (0.19.0)
|
175
177
|
acts_as_list (~> 0.9)
|
176
178
|
cells-erb (~> 0.1.0)
|
177
179
|
cells-rails (~> 0.0.9)
|
178
|
-
decidim-comments (= 0.
|
179
|
-
decidim-core (= 0.
|
180
|
+
decidim-comments (= 0.19.0)
|
181
|
+
decidim-core (= 0.19.0)
|
180
182
|
diffy (~> 3.3)
|
181
|
-
doc2text (~> 0.4.
|
183
|
+
doc2text (~> 0.4.2)
|
182
184
|
kaminari (~> 1.1)
|
183
185
|
ransack (~> 2.1.1)
|
184
186
|
redcarpet (~> 3.4)
|
185
|
-
|
186
|
-
|
187
|
-
decidim-
|
188
|
-
decidim-
|
189
|
-
decidim-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
decidim-forms (= 0.18.1)
|
195
|
-
decidim-system (0.18.1)
|
187
|
+
decidim-sortitions (0.19.0)
|
188
|
+
decidim-admin (= 0.19.0)
|
189
|
+
decidim-comments (= 0.19.0)
|
190
|
+
decidim-core (= 0.19.0)
|
191
|
+
decidim-proposals (= 0.19.0)
|
192
|
+
decidim-surveys (0.19.0)
|
193
|
+
decidim-core (= 0.19.0)
|
194
|
+
decidim-forms (= 0.19.0)
|
195
|
+
decidim-system (0.19.0)
|
196
196
|
active_link_to (~> 1.0)
|
197
|
-
decidim-core (= 0.
|
198
|
-
devise (~> 4.
|
197
|
+
decidim-core (= 0.19.0)
|
198
|
+
devise (~> 4.7)
|
199
199
|
devise-i18n (~> 1.2)
|
200
200
|
devise_invitable (~> 1.7)
|
201
201
|
jquery-rails (~> 4.3)
|
202
202
|
sassc (~> 1.12, >= 1.12.1)
|
203
203
|
sassc-rails (~> 1.3)
|
204
|
-
decidim-verifications (0.
|
205
|
-
decidim-core (= 0.
|
204
|
+
decidim-verifications (0.19.0)
|
205
|
+
decidim-core (= 0.19.0)
|
206
206
|
|
207
207
|
GEM
|
208
208
|
remote: https://rubygems.org/
|
209
209
|
specs:
|
210
|
-
actioncable (5.2.
|
211
|
-
actionpack (= 5.2.
|
210
|
+
actioncable (5.2.3)
|
211
|
+
actionpack (= 5.2.3)
|
212
212
|
nio4r (~> 2.0)
|
213
213
|
websocket-driver (>= 0.6.1)
|
214
|
-
actionmailer (5.2.
|
215
|
-
actionpack (= 5.2.
|
216
|
-
actionview (= 5.2.
|
217
|
-
activejob (= 5.2.
|
214
|
+
actionmailer (5.2.3)
|
215
|
+
actionpack (= 5.2.3)
|
216
|
+
actionview (= 5.2.3)
|
217
|
+
activejob (= 5.2.3)
|
218
218
|
mail (~> 2.5, >= 2.5.4)
|
219
219
|
rails-dom-testing (~> 2.0)
|
220
|
-
actionpack (5.2.
|
221
|
-
actionview (= 5.2.
|
222
|
-
activesupport (= 5.2.
|
220
|
+
actionpack (5.2.3)
|
221
|
+
actionview (= 5.2.3)
|
222
|
+
activesupport (= 5.2.3)
|
223
223
|
rack (~> 2.0)
|
224
224
|
rack-test (>= 0.6.3)
|
225
225
|
rails-dom-testing (~> 2.0)
|
226
226
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
227
|
-
actionview (5.2.
|
228
|
-
activesupport (= 5.2.
|
227
|
+
actionview (5.2.3)
|
228
|
+
activesupport (= 5.2.3)
|
229
229
|
builder (~> 3.1)
|
230
230
|
erubi (~> 1.4)
|
231
231
|
rails-dom-testing (~> 2.0)
|
@@ -233,27 +233,27 @@ GEM
|
|
233
233
|
active_link_to (1.0.5)
|
234
234
|
actionpack
|
235
235
|
addressable
|
236
|
-
activejob (5.2.
|
237
|
-
activesupport (= 5.2.
|
236
|
+
activejob (5.2.3)
|
237
|
+
activesupport (= 5.2.3)
|
238
238
|
globalid (>= 0.3.6)
|
239
|
-
activemodel (5.2.
|
240
|
-
activesupport (= 5.2.
|
241
|
-
activerecord (5.2.
|
242
|
-
activemodel (= 5.2.
|
243
|
-
activesupport (= 5.2.
|
239
|
+
activemodel (5.2.3)
|
240
|
+
activesupport (= 5.2.3)
|
241
|
+
activerecord (5.2.3)
|
242
|
+
activemodel (= 5.2.3)
|
243
|
+
activesupport (= 5.2.3)
|
244
244
|
arel (>= 9.0)
|
245
|
-
activestorage (5.2.
|
246
|
-
actionpack (= 5.2.
|
247
|
-
activerecord (= 5.2.
|
245
|
+
activestorage (5.2.3)
|
246
|
+
actionpack (= 5.2.3)
|
247
|
+
activerecord (= 5.2.3)
|
248
248
|
marcel (~> 0.3.1)
|
249
|
-
activesupport (5.2.
|
249
|
+
activesupport (5.2.3)
|
250
250
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
251
251
|
i18n (>= 0.7, < 2)
|
252
252
|
minitest (~> 5.1)
|
253
253
|
tzinfo (~> 1.1)
|
254
254
|
acts_as_list (0.9.19)
|
255
255
|
activerecord (>= 3.0)
|
256
|
-
addressable (2.
|
256
|
+
addressable (2.6.0)
|
257
257
|
public_suffix (>= 2.0.2, < 4.0)
|
258
258
|
anchored (1.1.0)
|
259
259
|
arel (9.0.0)
|
@@ -278,11 +278,11 @@ GEM
|
|
278
278
|
html_tokenizer (~> 0.0.6)
|
279
279
|
parser (>= 2.4)
|
280
280
|
smart_properties
|
281
|
-
bindex (0.
|
282
|
-
bootsnap (1.
|
281
|
+
bindex (0.7.0)
|
282
|
+
bootsnap (1.4.4)
|
283
283
|
msgpack (~> 1.0)
|
284
284
|
builder (3.2.3)
|
285
|
-
byebug (
|
285
|
+
byebug (11.0.1)
|
286
286
|
capybara (3.29.0)
|
287
287
|
addressable
|
288
288
|
mini_mime (>= 0.1.3)
|
@@ -348,14 +348,14 @@ GEM
|
|
348
348
|
devise (>= 4.0.0)
|
349
349
|
diff-lcs (1.3)
|
350
350
|
diffy (3.3.0)
|
351
|
-
doc2text (0.4.
|
352
|
-
nokogiri (~> 1.
|
353
|
-
rubyzip (~>
|
351
|
+
doc2text (0.4.2)
|
352
|
+
nokogiri (~> 1.10.0)
|
353
|
+
rubyzip (~> 2.0.0)
|
354
354
|
docile (1.3.2)
|
355
355
|
domain_name (0.5.20190701)
|
356
356
|
unf (>= 0.0.5, < 1.0.0)
|
357
|
-
doorkeeper (
|
358
|
-
railties (>=
|
357
|
+
doorkeeper (5.2.1)
|
358
|
+
railties (>= 5)
|
359
359
|
doorkeeper-i18n (4.0.1)
|
360
360
|
equalizer (0.0.11)
|
361
361
|
erb_lint (0.0.30)
|
@@ -376,7 +376,7 @@ GEM
|
|
376
376
|
factory_bot_rails (4.11.1)
|
377
377
|
factory_bot (~> 4.11.1)
|
378
378
|
railties (>= 3.0.0)
|
379
|
-
faker (1.9.
|
379
|
+
faker (1.9.3)
|
380
380
|
i18n (>= 0.7)
|
381
381
|
faraday (0.17.0)
|
382
382
|
multipart-post (>= 1.2, < 3)
|
@@ -400,8 +400,8 @@ GEM
|
|
400
400
|
graphiql-rails (1.4.11)
|
401
401
|
railties
|
402
402
|
sprockets-rails
|
403
|
-
graphql (1.
|
404
|
-
hashdiff (0.
|
403
|
+
graphql (1.9.14)
|
404
|
+
hashdiff (1.0.0)
|
405
405
|
hashie (3.6.0)
|
406
406
|
highline (2.0.3)
|
407
407
|
html_tokenizer (0.0.7)
|
@@ -409,7 +409,7 @@ GEM
|
|
409
409
|
http-accept (1.7.0)
|
410
410
|
http-cookie (1.0.3)
|
411
411
|
domain_name (~> 0.5)
|
412
|
-
httparty (0.
|
412
|
+
httparty (0.17.1)
|
413
413
|
mime-types (~> 3.0)
|
414
414
|
multi_xml (>= 0.5.2)
|
415
415
|
i18n (1.6.0)
|
@@ -428,7 +428,7 @@ GEM
|
|
428
428
|
ice_cube (~> 0.16)
|
429
429
|
ice_cube (0.16.3)
|
430
430
|
ice_nine (0.11.2)
|
431
|
-
invisible_captcha (0.
|
431
|
+
invisible_captcha (0.12.2)
|
432
432
|
rails (>= 3.2.0)
|
433
433
|
jaro_winkler (1.5.3)
|
434
434
|
jquery-rails (4.3.5)
|
@@ -454,7 +454,7 @@ GEM
|
|
454
454
|
kramdown (1.17.0)
|
455
455
|
launchy (2.4.3)
|
456
456
|
addressable (~> 2.3)
|
457
|
-
letter_opener (1.
|
457
|
+
letter_opener (1.7.0)
|
458
458
|
launchy (~> 2.2)
|
459
459
|
letter_opener_web (1.3.4)
|
460
460
|
actionmailer (>= 3.2)
|
@@ -471,7 +471,7 @@ GEM
|
|
471
471
|
mini_mime (>= 0.1.1)
|
472
472
|
marcel (0.3.3)
|
473
473
|
mimemagic (~> 0.3.2)
|
474
|
-
mdl (0.
|
474
|
+
mdl (0.5.0)
|
475
475
|
kramdown (~> 1.12, >= 1.12.0)
|
476
476
|
mixlib-cli (~> 1.7, >= 1.7.0)
|
477
477
|
mixlib-config (~> 2.2, >= 2.2.1)
|
@@ -487,7 +487,7 @@ GEM
|
|
487
487
|
mixlib-cli (1.7.0)
|
488
488
|
mixlib-config (2.2.18)
|
489
489
|
tomlrb
|
490
|
-
msgpack (1.2.
|
490
|
+
msgpack (1.2.10)
|
491
491
|
multi_json (1.14.1)
|
492
492
|
multi_xml (0.6.0)
|
493
493
|
multipart-post (2.1.1)
|
@@ -495,7 +495,7 @@ GEM
|
|
495
495
|
netrc (0.11.0)
|
496
496
|
nio4r (2.5.2)
|
497
497
|
nobspw (0.6.1)
|
498
|
-
nokogiri (1.10.
|
498
|
+
nokogiri (1.10.4)
|
499
499
|
mini_portile2 (~> 2.4.0)
|
500
500
|
oauth (0.5.4)
|
501
501
|
oauth2 (1.4.2)
|
@@ -507,12 +507,12 @@ GEM
|
|
507
507
|
omniauth (1.9.0)
|
508
508
|
hashie (>= 3.4.6, < 3.7.0)
|
509
509
|
rack (>= 1.6.2, < 3)
|
510
|
-
omniauth-facebook (
|
510
|
+
omniauth-facebook (5.0.0)
|
511
511
|
omniauth-oauth2 (~> 1.2)
|
512
|
-
omniauth-google-oauth2 (0.
|
513
|
-
jwt (>=
|
512
|
+
omniauth-google-oauth2 (0.8.0)
|
513
|
+
jwt (>= 2.0)
|
514
514
|
omniauth (>= 1.1.1)
|
515
|
-
omniauth-oauth2 (>= 1.
|
515
|
+
omniauth-oauth2 (>= 1.6)
|
516
516
|
omniauth-oauth (1.1.0)
|
517
517
|
oauth
|
518
518
|
omniauth (~> 1.0)
|
@@ -528,11 +528,9 @@ GEM
|
|
528
528
|
origami (2.1.0)
|
529
529
|
colorize (~> 0.7)
|
530
530
|
orm_adapter (0.5.0)
|
531
|
-
paper_trail (
|
532
|
-
activerecord (>= 4.2
|
533
|
-
paper_trail-association_tracking (< 2)
|
531
|
+
paper_trail (10.3.1)
|
532
|
+
activerecord (>= 4.2)
|
534
533
|
request_store (~> 1.1)
|
535
|
-
paper_trail-association_tracking (1.1.1)
|
536
534
|
parallel (1.18.0)
|
537
535
|
parser (2.6.5.0)
|
538
536
|
ast (~> 2.4.0)
|
@@ -540,7 +538,6 @@ GEM
|
|
540
538
|
pg_search (2.3.0)
|
541
539
|
activerecord (>= 4.2)
|
542
540
|
activesupport (>= 4.2)
|
543
|
-
powerpack (0.1.2)
|
544
541
|
premailer (1.11.1)
|
545
542
|
addressable
|
546
543
|
css_parser (>= 1.6.0)
|
@@ -548,26 +545,26 @@ GEM
|
|
548
545
|
premailer-rails (1.10.3)
|
549
546
|
actionmailer (>= 3)
|
550
547
|
premailer (~> 1.7, >= 1.7.9)
|
551
|
-
public_suffix (3.0
|
552
|
-
puma (3.12.
|
553
|
-
rack (2.0.
|
554
|
-
rack-attack (
|
548
|
+
public_suffix (3.1.0)
|
549
|
+
puma (3.12.1)
|
550
|
+
rack (2.0.7)
|
551
|
+
rack-attack (6.2.0)
|
555
552
|
rack (>= 1.0, < 3)
|
556
553
|
rack-cors (1.0.3)
|
557
554
|
rack-test (1.1.0)
|
558
555
|
rack (>= 1.0, < 3)
|
559
|
-
rails (5.2.
|
560
|
-
actioncable (= 5.2.
|
561
|
-
actionmailer (= 5.2.
|
562
|
-
actionpack (= 5.2.
|
563
|
-
actionview (= 5.2.
|
564
|
-
activejob (= 5.2.
|
565
|
-
activemodel (= 5.2.
|
566
|
-
activerecord (= 5.2.
|
567
|
-
activestorage (= 5.2.
|
568
|
-
activesupport (= 5.2.
|
556
|
+
rails (5.2.3)
|
557
|
+
actioncable (= 5.2.3)
|
558
|
+
actionmailer (= 5.2.3)
|
559
|
+
actionpack (= 5.2.3)
|
560
|
+
actionview (= 5.2.3)
|
561
|
+
activejob (= 5.2.3)
|
562
|
+
activemodel (= 5.2.3)
|
563
|
+
activerecord (= 5.2.3)
|
564
|
+
activestorage (= 5.2.3)
|
565
|
+
activesupport (= 5.2.3)
|
569
566
|
bundler (>= 1.3.0)
|
570
|
-
railties (= 5.2.
|
567
|
+
railties (= 5.2.3)
|
571
568
|
sprockets-rails (>= 2.0.0)
|
572
569
|
rails-controller-testing (1.0.4)
|
573
570
|
actionpack (>= 5.0.1.x)
|
@@ -576,27 +573,27 @@ GEM
|
|
576
573
|
rails-dom-testing (2.0.3)
|
577
574
|
activesupport (>= 4.2.0)
|
578
575
|
nokogiri (>= 1.6)
|
579
|
-
rails-html-sanitizer (1.0
|
576
|
+
rails-html-sanitizer (1.2.0)
|
580
577
|
loofah (~> 2.2, >= 2.2.2)
|
581
578
|
rails-i18n (5.1.3)
|
582
579
|
i18n (>= 0.7, < 2)
|
583
580
|
railties (>= 5.0, < 6)
|
584
|
-
railties (5.2.
|
585
|
-
actionpack (= 5.2.
|
586
|
-
activesupport (= 5.2.
|
581
|
+
railties (5.2.3)
|
582
|
+
actionpack (= 5.2.3)
|
583
|
+
activesupport (= 5.2.3)
|
587
584
|
method_source
|
588
585
|
rake (>= 0.8.7)
|
589
586
|
thor (>= 0.19.0, < 2.0)
|
590
587
|
rainbow (3.0.0)
|
591
|
-
rake (
|
588
|
+
rake (13.0.0)
|
592
589
|
ransack (2.1.1)
|
593
590
|
actionpack (>= 5.0)
|
594
591
|
activerecord (>= 5.0)
|
595
592
|
activesupport (>= 5.0)
|
596
593
|
i18n
|
597
594
|
rb-fsevent (0.10.3)
|
598
|
-
rb-inotify (0.
|
599
|
-
ffi (
|
595
|
+
rb-inotify (0.10.0)
|
596
|
+
ffi (~> 1.0)
|
600
597
|
rectify (0.13.0)
|
601
598
|
activemodel (>= 4.1.0)
|
602
599
|
activerecord (>= 4.1.0)
|
@@ -645,20 +642,22 @@ GEM
|
|
645
642
|
rspec-support (3.9.0)
|
646
643
|
rspec_junit_formatter (0.3.0)
|
647
644
|
rspec-core (>= 2, < 4, != 2.12.0)
|
648
|
-
rubocop (0.
|
645
|
+
rubocop (0.71.0)
|
649
646
|
jaro_winkler (~> 1.5.1)
|
650
647
|
parallel (~> 1.10)
|
651
|
-
parser (>= 2.
|
652
|
-
powerpack (~> 0.1)
|
648
|
+
parser (>= 2.6)
|
653
649
|
rainbow (>= 2.2.2, < 4.0)
|
654
650
|
ruby-progressbar (~> 1.7)
|
655
|
-
unicode-display_width (
|
656
|
-
rubocop-
|
657
|
-
|
651
|
+
unicode-display_width (>= 1.4.0, < 1.7)
|
652
|
+
rubocop-rails (2.0.1)
|
653
|
+
rack (>= 1.1)
|
654
|
+
rubocop (>= 0.70.0)
|
655
|
+
rubocop-rspec (1.36.0)
|
656
|
+
rubocop (>= 0.68.1)
|
658
657
|
ruby-ole (1.2.12.2)
|
659
658
|
ruby-progressbar (1.10.1)
|
660
659
|
ruby_dep (1.5.0)
|
661
|
-
rubyzip (
|
660
|
+
rubyzip (2.0.0)
|
662
661
|
safe_yaml (1.0.5)
|
663
662
|
sass (3.4.25)
|
664
663
|
sassc (1.12.1)
|
@@ -685,12 +684,11 @@ GEM
|
|
685
684
|
coffee-rails
|
686
685
|
spreadsheet (1.2.4)
|
687
686
|
ruby-ole (>= 1.0)
|
688
|
-
spring (2.0
|
689
|
-
activesupport (>= 4.2)
|
687
|
+
spring (2.1.0)
|
690
688
|
spring-watcher-listen (2.0.1)
|
691
689
|
listen (>= 2.7, < 4.0)
|
692
690
|
spring (>= 1.2, < 3.0)
|
693
|
-
sprockets (
|
691
|
+
sprockets (3.7.2)
|
694
692
|
concurrent-ruby (~> 1.0)
|
695
693
|
rack (> 1, < 3)
|
696
694
|
sprockets-es6 (0.9.2)
|
@@ -716,7 +714,7 @@ GEM
|
|
716
714
|
tzinfo (1.2.5)
|
717
715
|
thread_safe (~> 0.1)
|
718
716
|
uber (0.1.0)
|
719
|
-
uglifier (4.1.
|
717
|
+
uglifier (4.1.20)
|
720
718
|
execjs (>= 0.3.0, < 3)
|
721
719
|
unf (0.1.4)
|
722
720
|
unf_ext
|
@@ -739,10 +737,10 @@ GEM
|
|
739
737
|
activemodel (>= 5.0)
|
740
738
|
bindex (>= 0.4.0)
|
741
739
|
railties (>= 5.0)
|
742
|
-
webmock (3.
|
740
|
+
webmock (3.7.6)
|
743
741
|
addressable (>= 2.3.6)
|
744
742
|
crack (>= 0.3.2)
|
745
|
-
hashdiff
|
743
|
+
hashdiff (>= 0.4.0, < 2.0.0)
|
746
744
|
websocket-driver (0.7.1)
|
747
745
|
websocket-extensions (>= 0.1.0)
|
748
746
|
websocket-extensions (0.1.4)
|
@@ -761,7 +759,7 @@ PLATFORMS
|
|
761
759
|
|
762
760
|
DEPENDENCIES
|
763
761
|
bootsnap (~> 1.3)
|
764
|
-
byebug (~>
|
762
|
+
byebug (~> 11.0)
|
765
763
|
decidim!
|
766
764
|
decidim-consultations!
|
767
765
|
decidim-dev!
|
@@ -769,7 +767,7 @@ DEPENDENCIES
|
|
769
767
|
faker (~> 1.9)
|
770
768
|
letter_opener_web (~> 1.3)
|
771
769
|
listen (~> 3.1)
|
772
|
-
puma (~> 3.
|
770
|
+
puma (~> 3.12)
|
773
771
|
spring (~> 2.0)
|
774
772
|
spring-watcher-listen (~> 2.0)
|
775
773
|
uglifier (~> 4.1)
|
data/exe/decidim
CHANGED
@@ -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
|
-
|
19
|
+
require "decidim/core/version"
|
20
|
+
puts Decidim::Core.version
|
20
21
|
when "--help"
|
21
|
-
|
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
|
|
@@ -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 "
|
34
|
-
template "
|
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.
|
10
|
+
gem "puma", "~> 3.12"
|
11
11
|
gem "uglifier", "~> 4.1"
|
12
12
|
|
13
13
|
group :development, :test do
|
14
|
-
gem "byebug", "~>
|
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
|
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.
|
4
|
+
version: 0.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josep Jaume Rey Peroy
|
@@ -18,14 +18,14 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.
|
21
|
+
version: 0.19.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.
|
28
|
+
version: 0.19.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
|