decidim 0.7.4 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of decidim might be problematic. Click here for more details.

Files changed (54) hide show
  1. checksums.yaml +5 -5
  2. data/Gemfile.lock +74 -63
  3. data/README.md +33 -37
  4. data/Rakefile +40 -33
  5. data/docs/getting_started.md +0 -14
  6. data/docs/managing_translations_i18n.md +24 -0
  7. data/docs/testing.md +1 -1
  8. data/docs/view_hooks.md +74 -0
  9. data/lib/decidim.rb +2 -0
  10. data/lib/decidim/version.rb +1 -1
  11. data/lib/generators/decidim/app_generator.rb +9 -15
  12. data/lib/generators/decidim/docker_generator.rb +12 -14
  13. data/lib/generators/decidim/install_generator.rb +1 -1
  14. data/lib/generators/decidim/templates/Dockerfile.erb +1 -1
  15. data/lib/generators/decidim/templates/docker-compose.yml.erb +2 -23
  16. metadata +57 -79
  17. data/.babelrc +0 -17
  18. data/.circleci/config.yml +0 -387
  19. data/.codeclimate.yml +0 -57
  20. data/.csslintrc +0 -2
  21. data/.decidim-version +0 -1
  22. data/.dockerignore +0 -5
  23. data/.editorconfig +0 -9
  24. data/.eslintignore +0 -15
  25. data/.eslintrc.json +0 -277
  26. data/.gitattributes +0 -3
  27. data/.github/ISSUE_TEMPLATE.md +0 -31
  28. data/.github/PULL_REQUEST_TEMPLATE.md +0 -16
  29. data/.gitignore +0 -15
  30. data/.inch.yml +0 -5
  31. data/.rubocop.yml +0 -1278
  32. data/.ruby-version +0 -1
  33. data/.simplecov +0 -12
  34. data/.yardopts +0 -8
  35. data/CHANGELOG.md +0 -1875
  36. data/CODE_OF_CONDUCT.md +0 -49
  37. data/Dockerfile.ci +0 -28
  38. data/codecov.yml +0 -104
  39. data/config/i18n-tasks.yml +0 -135
  40. data/crowdin.yaml +0 -3
  41. data/decidim.gemspec +0 -44
  42. data/docker-compose.yml +0 -27
  43. data/jsconfig.json +0 -3
  44. data/lib/generators/decidim/templates/Dockerfile.dev.erb +0 -21
  45. data/lib/generators/decidim/templates/decidim/dummy_authorization_handler.rb +0 -27
  46. data/logo.svg +0 -62
  47. data/package-lock.json +0 -11607
  48. data/package.json +0 -108
  49. data/spec/generator_spec.rb +0 -51
  50. data/spec/i18n_spec.rb +0 -37
  51. data/tsconfig.json +0 -21
  52. data/tslint.json +0 -11
  53. data/webpack.config.js +0 -82
  54. data/webpack.d.ts +0 -5
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.4
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josep Jaume Rey Peroy
@@ -10,176 +10,190 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2017-11-23 00:00:00.000000000 Z
13
+ date: 2017-12-05 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
- name: decidim-core
16
+ name: decidim-accountability
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.7.4
21
+ version: 0.8.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.7.4
28
+ version: 0.8.0
29
29
  - !ruby/object:Gem::Dependency
30
- name: decidim-participatory_processes
30
+ name: decidim-admin
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 0.7.4
35
+ version: 0.8.0
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - '='
41
41
  - !ruby/object:Gem::Version
42
- version: 0.7.4
42
+ version: 0.8.0
43
43
  - !ruby/object:Gem::Dependency
44
- name: decidim-system
44
+ name: decidim-api
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - '='
48
48
  - !ruby/object:Gem::Version
49
- version: 0.7.4
49
+ version: 0.8.0
50
50
  type: :runtime
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
54
  - - '='
55
55
  - !ruby/object:Gem::Version
56
- version: 0.7.4
56
+ version: 0.8.0
57
57
  - !ruby/object:Gem::Dependency
58
- name: decidim-admin
58
+ name: decidim-budgets
59
59
  requirement: !ruby/object:Gem::Requirement
60
60
  requirements:
61
61
  - - '='
62
62
  - !ruby/object:Gem::Version
63
- version: 0.7.4
63
+ version: 0.8.0
64
64
  type: :runtime
65
65
  prerelease: false
66
66
  version_requirements: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - '='
69
69
  - !ruby/object:Gem::Version
70
- version: 0.7.4
70
+ version: 0.8.0
71
71
  - !ruby/object:Gem::Dependency
72
- name: decidim-api
72
+ name: decidim-comments
73
73
  requirement: !ruby/object:Gem::Requirement
74
74
  requirements:
75
75
  - - '='
76
76
  - !ruby/object:Gem::Version
77
- version: 0.7.4
77
+ version: 0.8.0
78
78
  type: :runtime
79
79
  prerelease: false
80
80
  version_requirements: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - '='
83
83
  - !ruby/object:Gem::Version
84
- version: 0.7.4
84
+ version: 0.8.0
85
85
  - !ruby/object:Gem::Dependency
86
- name: decidim-pages
86
+ name: decidim-core
87
87
  requirement: !ruby/object:Gem::Requirement
88
88
  requirements:
89
89
  - - '='
90
90
  - !ruby/object:Gem::Version
91
- version: 0.7.4
91
+ version: 0.8.0
92
92
  type: :runtime
93
93
  prerelease: false
94
94
  version_requirements: !ruby/object:Gem::Requirement
95
95
  requirements:
96
96
  - - '='
97
97
  - !ruby/object:Gem::Version
98
- version: 0.7.4
98
+ version: 0.8.0
99
99
  - !ruby/object:Gem::Dependency
100
- name: decidim-comments
100
+ name: decidim-meetings
101
101
  requirement: !ruby/object:Gem::Requirement
102
102
  requirements:
103
103
  - - '='
104
104
  - !ruby/object:Gem::Version
105
- version: 0.7.4
105
+ version: 0.8.0
106
106
  type: :runtime
107
107
  prerelease: false
108
108
  version_requirements: !ruby/object:Gem::Requirement
109
109
  requirements:
110
110
  - - '='
111
111
  - !ruby/object:Gem::Version
112
- version: 0.7.4
112
+ version: 0.8.0
113
113
  - !ruby/object:Gem::Dependency
114
- name: decidim-meetings
114
+ name: decidim-pages
115
115
  requirement: !ruby/object:Gem::Requirement
116
116
  requirements:
117
117
  - - '='
118
118
  - !ruby/object:Gem::Version
119
- version: 0.7.4
119
+ version: 0.8.0
120
120
  type: :runtime
121
121
  prerelease: false
122
122
  version_requirements: !ruby/object:Gem::Requirement
123
123
  requirements:
124
124
  - - '='
125
125
  - !ruby/object:Gem::Version
126
- version: 0.7.4
126
+ version: 0.8.0
127
+ - !ruby/object:Gem::Dependency
128
+ name: decidim-participatory_processes
129
+ requirement: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - '='
132
+ - !ruby/object:Gem::Version
133
+ version: 0.8.0
134
+ type: :runtime
135
+ prerelease: false
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ requirements:
138
+ - - '='
139
+ - !ruby/object:Gem::Version
140
+ version: 0.8.0
127
141
  - !ruby/object:Gem::Dependency
128
142
  name: decidim-proposals
129
143
  requirement: !ruby/object:Gem::Requirement
130
144
  requirements:
131
145
  - - '='
132
146
  - !ruby/object:Gem::Version
133
- version: 0.7.4
147
+ version: 0.8.0
134
148
  type: :runtime
135
149
  prerelease: false
136
150
  version_requirements: !ruby/object:Gem::Requirement
137
151
  requirements:
138
152
  - - '='
139
153
  - !ruby/object:Gem::Version
140
- version: 0.7.4
154
+ version: 0.8.0
141
155
  - !ruby/object:Gem::Dependency
142
- name: decidim-accountability
156
+ name: decidim-surveys
143
157
  requirement: !ruby/object:Gem::Requirement
144
158
  requirements:
145
159
  - - '='
146
160
  - !ruby/object:Gem::Version
147
- version: 0.7.4
161
+ version: 0.8.0
148
162
  type: :runtime
149
163
  prerelease: false
150
164
  version_requirements: !ruby/object:Gem::Requirement
151
165
  requirements:
152
166
  - - '='
153
167
  - !ruby/object:Gem::Version
154
- version: 0.7.4
168
+ version: 0.8.0
155
169
  - !ruby/object:Gem::Dependency
156
- name: decidim-budgets
170
+ name: decidim-system
157
171
  requirement: !ruby/object:Gem::Requirement
158
172
  requirements:
159
173
  - - '='
160
174
  - !ruby/object:Gem::Version
161
- version: 0.7.4
175
+ version: 0.8.0
162
176
  type: :runtime
163
177
  prerelease: false
164
178
  version_requirements: !ruby/object:Gem::Requirement
165
179
  requirements:
166
180
  - - '='
167
181
  - !ruby/object:Gem::Version
168
- version: 0.7.4
182
+ version: 0.8.0
169
183
  - !ruby/object:Gem::Dependency
170
- name: decidim-surveys
184
+ name: decidim-verifications
171
185
  requirement: !ruby/object:Gem::Requirement
172
186
  requirements:
173
187
  - - '='
174
188
  - !ruby/object:Gem::Version
175
- version: 0.7.4
189
+ version: 0.8.0
176
190
  type: :runtime
177
191
  prerelease: false
178
192
  version_requirements: !ruby/object:Gem::Requirement
179
193
  requirements:
180
194
  - - '='
181
195
  - !ruby/object:Gem::Version
182
- version: 0.7.4
196
+ version: 0.8.0
183
197
  - !ruby/object:Gem::Dependency
184
198
  name: bundler
185
199
  requirement: !ruby/object:Gem::Requirement
@@ -200,14 +214,14 @@ dependencies:
200
214
  requirements:
201
215
  - - "~>"
202
216
  - !ruby/object:Gem::Version
203
- version: 12.0.0
217
+ version: '12.0'
204
218
  type: :development
205
219
  prerelease: false
206
220
  version_requirements: !ruby/object:Gem::Requirement
207
221
  requirements:
208
222
  - - "~>"
209
223
  - !ruby/object:Gem::Version
210
- version: 12.0.0
224
+ version: '12.0'
211
225
  - !ruby/object:Gem::Dependency
212
226
  name: rspec
213
227
  requirement: !ruby/object:Gem::Requirement
@@ -222,7 +236,7 @@ dependencies:
222
236
  - - "~>"
223
237
  - !ruby/object:Gem::Version
224
238
  version: '3.0'
225
- description: Citizen participation framework for Ruby on Rails.
239
+ description: A generator and multiple gems made with Ruby on Rails.
226
240
  email:
227
241
  - josepjaume@gmail.com
228
242
  - mrc2407@gmail.com
@@ -232,38 +246,12 @@ executables:
232
246
  extensions: []
233
247
  extra_rdoc_files: []
234
248
  files:
235
- - ".babelrc"
236
- - ".circleci/config.yml"
237
- - ".codeclimate.yml"
238
- - ".csslintrc"
239
- - ".decidim-version"
240
- - ".dockerignore"
241
- - ".editorconfig"
242
- - ".eslintignore"
243
- - ".eslintrc.json"
244
- - ".gitattributes"
245
- - ".github/ISSUE_TEMPLATE.md"
246
- - ".github/PULL_REQUEST_TEMPLATE.md"
247
- - ".gitignore"
248
- - ".inch.yml"
249
- - ".rubocop.yml"
250
- - ".ruby-version"
251
- - ".simplecov"
252
- - ".yardopts"
253
- - CHANGELOG.md
254
- - CODE_OF_CONDUCT.md
255
- - Dockerfile.ci
256
249
  - Gemfile
257
250
  - Gemfile.lock
258
251
  - LICENSE-AGPLv3.txt
259
252
  - README.md
260
253
  - Rakefile
261
254
  - bin/decidim
262
- - codecov.yml
263
- - config/i18n-tasks.yml
264
- - crowdin.yaml
265
- - decidim.gemspec
266
- - docker-compose.yml
267
255
  - docs/analytics.md
268
256
  - docs/create_followers_from_comment_authors.md
269
257
  - docs/create_followers_from_resource_authors.md
@@ -271,37 +259,27 @@ files:
271
259
  - docs/geocoding.md
272
260
  - docs/getting_started.md
273
261
  - docs/how_to_create_a_plugin.md
262
+ - docs/managing_translations_i18n.md
274
263
  - docs/social_providers.md
275
264
  - docs/testing.md
276
- - jsconfig.json
265
+ - docs/view_hooks.md
277
266
  - lib/decidim.rb
278
267
  - lib/decidim/version.rb
279
268
  - lib/generators/decidim/app_generator.rb
280
269
  - lib/generators/decidim/docker_generator.rb
281
270
  - lib/generators/decidim/install_generator.rb
282
- - lib/generators/decidim/templates/Dockerfile.dev.erb
283
271
  - lib/generators/decidim/templates/Dockerfile.erb
284
272
  - lib/generators/decidim/templates/README.md.erb
285
273
  - lib/generators/decidim/templates/cable.yml.erb
286
274
  - lib/generators/decidim/templates/carrierwave.rb
287
275
  - lib/generators/decidim/templates/database.yml.erb
288
276
  - lib/generators/decidim/templates/decidim.scss.erb
289
- - lib/generators/decidim/templates/decidim/dummy_authorization_handler.rb
290
277
  - lib/generators/decidim/templates/decidim_controller.rb.erb
291
278
  - lib/generators/decidim/templates/docker-compose.yml.erb
292
279
  - lib/generators/decidim/templates/example_authorization_handler.rb
293
280
  - lib/generators/decidim/templates/initializer.rb
294
281
  - lib/generators/decidim/templates/secrets.yml.erb
295
282
  - lib/generators/decidim/templates/social_share_button.rb
296
- - logo.svg
297
- - package-lock.json
298
- - package.json
299
- - spec/generator_spec.rb
300
- - spec/i18n_spec.rb
301
- - tsconfig.json
302
- - tslint.json
303
- - webpack.config.js
304
- - webpack.d.ts
305
283
  homepage: https://github.com/decidim/decidim
306
284
  licenses:
307
285
  - AGPL-3.0
@@ -322,7 +300,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
322
300
  version: '0'
323
301
  requirements: []
324
302
  rubyforge_project:
325
- rubygems_version: 2.7.1
303
+ rubygems_version: 2.6.13
326
304
  signing_key:
327
305
  specification_version: 4
328
306
  summary: Citizen participation framework for Ruby on Rails.
data/.babelrc DELETED
@@ -1,17 +0,0 @@
1
- {
2
- "presets": [
3
- ["es2015", { "modules": false }],
4
- "airbnb",
5
- "react",
6
- "stage-2"
7
- ],
8
- "plugins": ["transform-decorators-legacy"],
9
- "env": {
10
- "test": {
11
- "plugins": [
12
- ["__coverage__", {"ignore": "*.+(test|stub).*"}],
13
- "transform-es2015-modules-commonjs"
14
- ]
15
- }
16
- }
17
- }
data/.circleci/config.yml DELETED
@@ -1,387 +0,0 @@
1
- version: 2
2
-
3
- defaults: &defaults
4
- docker:
5
- - image: decidim/decidim:0.7.3-dev
6
- environment:
7
- SIMPLECOV: true
8
- DATABASE_USERNAME: postgres
9
- FAIL_FAST: true
10
- - image: postgres
11
- environment:
12
- POSTGRES_USER: postgres
13
- working_directory: /app
14
-
15
- dependency_cache: &dependency_cache
16
- keys:
17
- - dependencies-{{ .Branch }}
18
- - dependencies-master
19
-
20
- jobs:
21
- build_test_app:
22
- <<: *defaults
23
- steps:
24
- - checkout
25
- - restore_cache:
26
- <<: *dependency_cache
27
- - run:
28
- name: Install ruby dependencies
29
- command: bundle install
30
- - run:
31
- name: Install npm dependencies
32
- command: npm install
33
- - save_cache:
34
- key: dependencies-{{ .Branch }}
35
- paths:
36
- - /usr/local/bundle/
37
- - node_modules
38
- - run:
39
- name: Wait for db
40
- command: dockerize -wait tcp://localhost:5432 -timeout 1m
41
- - run:
42
- name: Generate test app
43
- command: bundle exec rake decidim:generate_test_app
44
- - restore_cache:
45
- keys:
46
- - assets-{{ .Branch }}
47
- - assets-master
48
- - run:
49
- name: Precompile test app assets
50
- command: cd spec/decidim_dummy_app && bundle exec rails assets:precompile
51
- - save_cache:
52
- key: assets-{{ .Branch }}
53
- paths:
54
- - spec/decidim_dummy_app/public/assets
55
- - persist_to_workspace:
56
- root: /app
57
- paths:
58
- - "*"
59
- main:
60
- <<: *defaults
61
- steps:
62
- - attach_workspace:
63
- at: /app
64
- - checkout
65
- - restore_cache:
66
- <<: *dependency_cache
67
- - run:
68
- name: Install ruby dependencies
69
- command: bundle install
70
- - run:
71
- name: Install npm dependencies
72
- command: npm install
73
- - run:
74
- name: Wait for db
75
- command: dockerize -wait tcp://localhost:5432 -timeout 1m
76
- - run:
77
- name: Run main folder npm lint
78
- command: npm run lint
79
- - run:
80
- name: Run main folder RSpec
81
- command: bundle exec rspec
82
- core:
83
- <<: *defaults
84
- steps:
85
- - attach_workspace:
86
- at: /app
87
- - restore_cache:
88
- <<: *dependency_cache
89
- - run: export CODECOV_FLAG=core
90
- - run: cd spec/decidim_dummy_app && bundle install
91
- - run:
92
- name: Wait for db
93
- command: dockerize -wait tcp://localhost:5432 -timeout 1m
94
- - run:
95
- name: Create test DB
96
- command: cd spec/decidim_dummy_app && RAILS_ENV=test bundle exec rake db:create db:schema:load
97
- - run:
98
- name: Run core RSpec
99
- command: cd decidim-core && rake
100
- - store_artifacts:
101
- path: /app/spec/decidim_dummy_app/tmp/capybara
102
- assemblies:
103
- <<: *defaults
104
- steps:
105
- - attach_workspace:
106
- at: /app
107
- - restore_cache:
108
- <<: *dependency_cache
109
- - run: export CODECOV_FLAG=assemblies
110
- - run: cd spec/decidim_dummy_app && bundle install
111
- - run:
112
- name: Wait for db
113
- command: dockerize -wait tcp://localhost:5432 -timeout 1m
114
- - run:
115
- name: Create test DB
116
- command: cd spec/decidim_dummy_app && RAILS_ENV=test bundle exec rake db:create db:schema:load
117
- - run:
118
- name: Run assemblies RSpec
119
- command: cd decidim-assemblies && rake
120
- - store_artifacts:
121
- path: /app/spec/decidim_dummy_app/tmp/capybara
122
- api:
123
- <<: *defaults
124
- steps:
125
- - attach_workspace:
126
- at: /app
127
- - restore_cache:
128
- <<: *dependency_cache
129
- - run: export CODECOV_FLAG=api
130
- - run: cd spec/decidim_dummy_app && bundle install
131
- - run:
132
- name: Wait for db
133
- command: dockerize -wait tcp://localhost:5432 -timeout 1m
134
- - run:
135
- name: Create test DB
136
- command: cd spec/decidim_dummy_app && RAILS_ENV=test bundle exec rake db:create db:schema:load
137
- - run:
138
- name: Run api RSpec
139
- command: cd decidim-api && rake
140
- - store_artifacts:
141
- path: /app/spec/decidim_dummy_app/tmp/capybara
142
- processes:
143
- <<: *defaults
144
- steps:
145
- - attach_workspace:
146
- at: /app
147
- - restore_cache:
148
- <<: *dependency_cache
149
- - run: export CODECOV_FLAG=processes
150
- - run: cd spec/decidim_dummy_app && bundle install
151
- - run:
152
- name: Wait for db
153
- command: dockerize -wait tcp://localhost:5432 -timeout 1m
154
- - run:
155
- name: Create test DB
156
- command: cd spec/decidim_dummy_app && RAILS_ENV=test bundle exec rake db:create db:schema:load
157
- - run:
158
- name: Run participatory_processes RSpec
159
- command: cd decidim-participatory_processes && rake
160
- - store_artifacts:
161
- path: /app/spec/decidim_dummy_app/tmp/capybara
162
- admin:
163
- <<: *defaults
164
- steps:
165
- - attach_workspace:
166
- at: /app
167
- - restore_cache:
168
- <<: *dependency_cache
169
- - run: export CODECOV_FLAG=admin
170
- - run: cd spec/decidim_dummy_app && bundle install
171
- - run:
172
- name: Wait for db
173
- command: dockerize -wait tcp://localhost:5432 -timeout 1m
174
- - run:
175
- name: Create test DB
176
- command: cd spec/decidim_dummy_app && RAILS_ENV=test bundle exec rake db:create db:schema:load
177
- - run:
178
- name: Run admin RSpec
179
- command: cd decidim-admin && rake
180
- - store_artifacts:
181
- path: /app/spec/decidim_dummy_app/tmp/capybara
182
- system:
183
- <<: *defaults
184
- steps:
185
- - attach_workspace:
186
- at: /app
187
- - restore_cache:
188
- <<: *dependency_cache
189
- - run: export CODECOV_FLAG=system
190
- - run: cd spec/decidim_dummy_app && bundle install
191
- - run:
192
- name: Wait for db
193
- command: dockerize -wait tcp://localhost:5432 -timeout 1m
194
- - run:
195
- name: Create test DB
196
- command: cd spec/decidim_dummy_app && RAILS_ENV=test bundle exec rake db:create db:schema:load
197
- - run:
198
- name: Run system RSpec
199
- command: cd decidim-system && rake
200
- - store_artifacts:
201
- path: /app/spec/decidim_dummy_app/tmp/capybara
202
- proposals:
203
- <<: *defaults
204
- steps:
205
- - attach_workspace:
206
- at: /app
207
- - restore_cache:
208
- <<: *dependency_cache
209
- - run: export CODECOV_FLAG=proposals
210
- - run: cd spec/decidim_dummy_app && bundle install
211
- - run:
212
- name: Wait for db
213
- command: dockerize -wait tcp://localhost:5432 -timeout 1m
214
- - run:
215
- name: Create test DB
216
- command: cd spec/decidim_dummy_app && RAILS_ENV=test bundle exec rake db:create db:schema:load
217
- - run:
218
- name: Run proposals RSpec
219
- command: cd decidim-proposals && rake
220
- - store_artifacts:
221
- path: /app/spec/decidim_dummy_app/tmp/capybara
222
- comments:
223
- <<: *defaults
224
- steps:
225
- - attach_workspace:
226
- at: /app
227
- - restore_cache:
228
- <<: *dependency_cache
229
- - run: export CODECOV_FLAG=comments
230
- - run: cd spec/decidim_dummy_app && bundle install
231
- - run:
232
- name: Wait for db
233
- command: dockerize -wait tcp://localhost:5432 -timeout 1m
234
- - run:
235
- name: Create test DB
236
- command: cd spec/decidim_dummy_app && RAILS_ENV=test bundle exec rake db:create db:schema:load
237
- - run:
238
- name: Run comments RSpec
239
- command: cd decidim-comments && rake
240
- - store_artifacts:
241
- path: /app/spec/decidim_dummy_app/tmp/capybara
242
- meetings:
243
- <<: *defaults
244
- steps:
245
- - attach_workspace:
246
- at: /app
247
- - restore_cache:
248
- <<: *dependency_cache
249
- - run: export CODECOV_FLAG=meetings
250
- - run: cd spec/decidim_dummy_app && bundle install
251
- - run:
252
- name: Wait for db
253
- command: dockerize -wait tcp://localhost:5432 -timeout 1m
254
- - run:
255
- name: Create test DB
256
- command: cd spec/decidim_dummy_app && RAILS_ENV=test bundle exec rake db:create db:schema:load
257
- - run:
258
- name: Run meetings RSpec
259
- command: cd decidim-meetings && rake
260
- - store_artifacts:
261
- path: /app/spec/decidim_dummy_app/tmp/capybara
262
- pages:
263
- <<: *defaults
264
- steps:
265
- - attach_workspace:
266
- at: /app
267
- - restore_cache:
268
- <<: *dependency_cache
269
- - run: export CODECOV_FLAG=pages
270
- - run: cd spec/decidim_dummy_app && bundle install
271
- - run:
272
- name: Wait for db
273
- command: dockerize -wait tcp://localhost:5432 -timeout 1m
274
- - run:
275
- name: Create test DB
276
- command: cd spec/decidim_dummy_app && RAILS_ENV=test bundle exec rake db:create db:schema:load
277
- - run:
278
- name: Run pages RSpec
279
- command: cd decidim-pages && rake
280
- - store_artifacts:
281
- path: /app/spec/decidim_dummy_app/tmp/capybara
282
- accountability:
283
- <<: *defaults
284
- steps:
285
- - attach_workspace:
286
- at: /app
287
- - restore_cache:
288
- <<: *dependency_cache
289
- - run: export CODECOV_FLAG=accountability
290
- - run: cd spec/decidim_dummy_app && bundle install
291
- - run:
292
- name: Wait for db
293
- command: dockerize -wait tcp://localhost:5432 -timeout 1m
294
- - run:
295
- name: Create test DB
296
- command: cd spec/decidim_dummy_app && RAILS_ENV=test bundle exec rake db:create db:schema:load
297
- - run:
298
- name: Run accountability RSpec
299
- command: cd decidim-accountability && rake
300
- - store_artifacts:
301
- path: /app/spec/decidim_dummy_app/tmp/capybara
302
- budgets:
303
- <<: *defaults
304
- steps:
305
- - attach_workspace:
306
- at: /app
307
- - restore_cache:
308
- <<: *dependency_cache
309
- - run: export CODECOV_FLAG=budgets
310
- - run: cd spec/decidim_dummy_app && bundle install
311
- - run:
312
- name: Wait for db
313
- command: dockerize -wait tcp://localhost:5432 -timeout 1m
314
- - run:
315
- name: Create test DB
316
- command: cd spec/decidim_dummy_app && RAILS_ENV=test bundle exec rake db:create db:schema:load
317
- - run:
318
- name: Run budgets RSpec
319
- command: cd decidim-budgets && rake
320
- - store_artifacts:
321
- path: /app/spec/decidim_dummy_app/tmp/capybara
322
- surveys:
323
- <<: *defaults
324
- steps:
325
- - attach_workspace:
326
- at: /app
327
- - restore_cache:
328
- <<: *dependency_cache
329
- - run: export CODECOV_FLAG=surveys
330
- - run: cd spec/decidim_dummy_app && bundle install
331
- - run:
332
- name: Wait for db
333
- command: dockerize -wait tcp://localhost:5432 -timeout 1m
334
- - run:
335
- name: Create test DB
336
- command: cd spec/decidim_dummy_app && RAILS_ENV=test bundle exec rake db:create db:schema:load
337
- - run:
338
- name: Run surveys RSpec
339
- command: cd decidim-surveys && rake
340
- - store_artifacts:
341
- path: /app/spec/decidim_dummy_app/tmp/capybara
342
-
343
- workflows:
344
- version: 2
345
- build_and_test:
346
- jobs:
347
- - build_test_app
348
- - main
349
- - core:
350
- requires:
351
- - build_test_app
352
- - assemblies:
353
- requires:
354
- - build_test_app
355
- - api:
356
- requires:
357
- - build_test_app
358
- - processes:
359
- requires:
360
- - build_test_app
361
- - admin:
362
- requires:
363
- - build_test_app
364
- - system:
365
- requires:
366
- - build_test_app
367
- - proposals:
368
- requires:
369
- - build_test_app
370
- - comments:
371
- requires:
372
- - build_test_app
373
- - meetings:
374
- requires:
375
- - build_test_app
376
- - pages:
377
- requires:
378
- - build_test_app
379
- - accountability:
380
- requires:
381
- - build_test_app
382
- - budgets:
383
- requires:
384
- - build_test_app
385
- - surveys:
386
- requires:
387
- - build_test_app