dependabot[bot]
d85fcac68f
Bump pronto-rubocop from 0.11.2 to 0.11.5
...
Bumps [pronto-rubocop](https://github.com/mmozuras/pronto-rubocop ) from 0.11.2 to 0.11.5.
- [Release notes](https://github.com/mmozuras/pronto-rubocop/releases )
- [Commits](https://github.com/mmozuras/pronto-rubocop/compare/v0.11.2...v0.11.5 )
---
updated-dependencies:
- dependency-name: pronto-rubocop
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-01 14:04:51 +00:00
Javi Martín
4b727249d7
Merge pull request #5229 from consuldemocracy/dependabot/bundler/selenium-webdriver-4.12.0
...
Bump selenium-webdriver from 4.11.0 to 4.12.0
2023-09-01 16:02:49 +02:00
dependabot[bot]
1f29a924b3
Bump selenium-webdriver from 4.11.0 to 4.12.0
...
Bumps [selenium-webdriver](https://github.com/SeleniumHQ/selenium ) from 4.11.0 to 4.12.0.
- [Release notes](https://github.com/SeleniumHQ/selenium/releases )
- [Changelog](https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES )
- [Commits](https://github.com/SeleniumHQ/selenium/compare/selenium-4.11.0...selenium-4.12.0 )
---
updated-dependencies:
- dependency-name: selenium-webdriver
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-01 12:56:17 +00:00
Javi Martín
38f400179b
Merge pull request #5218 from consuldemocracy/dependabot/bundler/erb_lint-0.5.0
...
Bump erb_lint from 0.3.1 to 0.5.0
2023-09-01 14:55:02 +02:00
dependabot[bot]
82742ba9e5
Bump erb_lint from 0.3.1 to 0.5.0
...
Bumps [erb_lint](https://github.com/Shopify/erb-lint ) from 0.3.1 to 0.5.0.
- [Release notes](https://github.com/Shopify/erb-lint/releases )
- [Commits](https://github.com/Shopify/erb-lint/compare/v0.3.1...v0.5.0 )
---
updated-dependencies:
- dependency-name: erb_lint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-01 12:19:49 +00:00
Javi Martín
ecbac8a5ef
Merge pull request #5220 from consuldemocracy/dependabot/bundler/pronto-0.11.1
...
Bump pronto from 0.11.0 to 0.11.1
2023-09-01 14:18:27 +02:00
dependabot[bot]
840abf3869
Bump pronto from 0.11.0 to 0.11.1
...
Bumps [pronto](https://github.com/prontolabs/pronto ) from 0.11.0 to 0.11.1.
- [Release notes](https://github.com/prontolabs/pronto/releases )
- [Changelog](https://github.com/prontolabs/pronto/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prontolabs/pronto/compare/v0.11.0...v0.11.1 )
---
updated-dependencies:
- dependency-name: pronto
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-01 11:52:04 +00:00
Javi Martín
7462435113
Merge pull request #5224 from consuldemocracy/dependabot/bundler/responders-3.1.0
...
Bump responders from 3.0.1 to 3.1.0
2023-09-01 13:50:58 +02:00
dependabot[bot]
5342db4018
Bump responders from 3.0.1 to 3.1.0
...
Bumps [responders](https://github.com/heartcombo/responders ) from 3.0.1 to 3.1.0.
- [Release notes](https://github.com/heartcombo/responders/releases )
- [Changelog](https://github.com/heartcombo/responders/blob/main/CHANGELOG.md )
- [Commits](https://github.com/heartcombo/responders/compare/v3.0.1...v3.1.0 )
---
updated-dependencies:
- dependency-name: responders
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-01 05:04:08 +00:00
Javi Martín
a0087801a8
Merge pull request #5217 from consuldemocracy/dependabot/bundler/invisible_captcha-2.1.0
...
Bump invisible_captcha from 2.0.0 to 2.1.0
2023-08-31 22:39:01 +02:00
dependabot[bot]
1baa2bc6c9
Bump invisible_captcha from 2.0.0 to 2.1.0
...
Bumps [invisible_captcha](https://github.com/markets/invisible_captcha ) from 2.0.0 to 2.1.0.
- [Changelog](https://github.com/markets/invisible_captcha/blob/master/CHANGELOG.md )
- [Commits](https://github.com/markets/invisible_captcha/compare/v2.0.0...v2.1.0 )
---
updated-dependencies:
- dependency-name: invisible_captcha
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-31 22:07:52 +02:00
Javi Martín
9279434e7f
Merge pull request #5219 from consuldemocracy/dependabot/bundler/capistrano-rails-1.6.3
...
Bump capistrano-rails from 1.6.2 to 1.6.3
2023-08-31 22:07:42 +02:00
dependabot[bot]
d14a15e43e
Bump capistrano-rails from 1.6.2 to 1.6.3
...
Bumps [capistrano-rails](https://github.com/capistrano/rails ) from 1.6.2 to 1.6.3.
- [Release notes](https://github.com/capistrano/rails/releases )
- [Commits](https://github.com/capistrano/rails/compare/v1.6.2...v1.6.3 )
---
updated-dependencies:
- dependency-name: capistrano-rails
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-31 19:35:29 +00:00
Javi Martín
25f84bfc2d
Merge pull request #5216 from consuldemocracy/dependabot/bundler/groupdate-6.2.1
...
Bump groupdate from 6.1.0 to 6.2.1
2023-08-31 21:33:51 +02:00
dependabot[bot]
974278c581
Bump groupdate from 6.1.0 to 6.2.1
...
Bumps [groupdate](https://github.com/ankane/groupdate ) from 6.1.0 to 6.2.1.
- [Changelog](https://github.com/ankane/groupdate/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ankane/groupdate/compare/v6.1.0...v6.2.1 )
---
updated-dependencies:
- dependency-name: groupdate
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-31 19:01:36 +00:00
Javi Martín
ce35e430d0
Merge pull request #5215 from consuldemocracy/dependabot/bundler/bullet-7.0.7
...
Bump bullet from 7.0.3 to 7.0.7
2023-08-31 21:00:05 +02:00
dependabot[bot]
1b6b7c7f04
Bump bullet from 7.0.3 to 7.0.7
...
Bumps [bullet](https://github.com/flyerhzm/bullet ) from 7.0.3 to 7.0.7.
- [Changelog](https://github.com/flyerhzm/bullet/blob/main/CHANGELOG.md )
- [Commits](https://github.com/flyerhzm/bullet/compare/7.0.3...7.0.7 )
---
updated-dependencies:
- dependency-name: bullet
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-31 18:37:05 +00:00
Javi Martín
b4a5d9592e
Merge pull request #5209 from consuldemocracy/dependabot/bundler/ancestry-4.3.3
...
Bump ancestry from 4.2.0 to 4.3.3
2023-08-31 20:35:20 +02:00
dependabot[bot]
dfa7142afb
Bump ancestry from 4.2.0 to 4.3.3
...
Bumps [ancestry](https://github.com/stefankroes/ancestry ) from 4.2.0 to 4.3.3.
- [Changelog](https://github.com/stefankroes/ancestry/blob/master/CHANGELOG.md )
- [Commits](https://github.com/stefankroes/ancestry/compare/v4.2.0...v4.3.3 )
---
updated-dependencies:
- dependency-name: ancestry
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-30 17:19:47 +00:00
Javi Martín
1cb5b704f8
Merge pull request #5208 from consuldemocracy/dependabot/bundler/redcarpet-3.6.0
...
Bump redcarpet from 3.5.1 to 3.6.0
2023-08-30 19:18:29 +02:00
Javi Martín
3d4c6c0e86
Merge pull request #5207 from consuldemocracy/dependabot/bundler/mini_magick-4.12.0
...
Bump mini_magick from 4.11.0 to 4.12.0
2023-08-30 19:17:29 +02:00
dependabot[bot]
6c4ac95ee8
Bump redcarpet from 3.5.1 to 3.6.0
...
Bumps [redcarpet](https://github.com/vmg/redcarpet ) from 3.5.1 to 3.6.0.
- [Release notes](https://github.com/vmg/redcarpet/releases )
- [Changelog](https://github.com/vmg/redcarpet/blob/master/CHANGELOG.md )
- [Commits](https://github.com/vmg/redcarpet/compare/v3.5.1...v3.6.0 )
---
updated-dependencies:
- dependency-name: redcarpet
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-30 19:00:25 +02:00
dependabot[bot]
c91c659874
Bump mini_magick from 4.11.0 to 4.12.0
...
Bumps [mini_magick](https://github.com/minimagick/minimagick ) from 4.11.0 to 4.12.0.
- [Release notes](https://github.com/minimagick/minimagick/releases )
- [Commits](https://github.com/minimagick/minimagick/compare/v4.11.0...v4.12.0 )
---
updated-dependencies:
- dependency-name: mini_magick
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-30 18:58:51 +02:00
Javi Martín
a4c81bfa6b
Merge pull request #5205 from consuldemocracy/dependabot/bundler/simplecov-0.22.0
...
Bump simplecov from 0.21.2 to 0.22.0
2023-08-30 18:50:29 +02:00
dependabot[bot]
e9d339c897
Bump simplecov from 0.21.2 to 0.22.0
...
Bumps [simplecov](https://github.com/simplecov-ruby/simplecov ) from 0.21.2 to 0.22.0.
- [Release notes](https://github.com/simplecov-ruby/simplecov/releases )
- [Changelog](https://github.com/simplecov-ruby/simplecov/blob/main/CHANGELOG.md )
- [Commits](https://github.com/simplecov-ruby/simplecov/compare/v0.21.2...v0.22.0 )
---
updated-dependencies:
- dependency-name: simplecov
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-30 16:25:26 +00:00
Javi Martín
b2eb653ca9
Merge pull request #5202 from consuldemocracy/dependabot/bundler/cancancan-3.5.0
...
Bump cancancan from 3.4.0 to 3.5.0
2023-08-30 18:18:18 +02:00
dependabot[bot]
1120039c0a
Bump cancancan from 3.4.0 to 3.5.0
...
Bumps [cancancan](https://github.com/CanCanCommunity/cancancan ) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/CanCanCommunity/cancancan/releases )
- [Changelog](https://github.com/CanCanCommunity/cancancan/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/CanCanCommunity/cancancan/compare/3.4.0...3.5.0 )
---
updated-dependencies:
- dependency-name: cancancan
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-30 17:58:50 +02:00
Javi Martín
a6a2142bc5
Merge pull request #5200 from consuldemocracy/dependabot/bundler/devise-4.9.2
...
Bump devise from 4.8.1 to 4.9.2
2023-08-30 17:25:54 +02:00
dependabot[bot]
3dd05c9068
Bump devise from 4.8.1 to 4.9.2
...
Bumps [devise](https://github.com/heartcombo/devise ) from 4.8.1 to 4.9.2.
- [Release notes](https://github.com/heartcombo/devise/releases )
- [Changelog](https://github.com/heartcombo/devise/blob/main/CHANGELOG.md )
- [Commits](https://github.com/heartcombo/devise/compare/v4.8.1...v4.9.2 )
---
updated-dependencies:
- dependency-name: devise
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-30 14:57:16 +00:00
Javi Martín
7b4e9b2123
Merge pull request #5190 from consuldemocracy/dependabot/bundler/devise-security-0.18.0
...
Bump devise-security from 0.17.0 to 0.18.0
2023-08-30 16:55:45 +02:00
dependabot[bot]
718ade60b0
Bump devise-security from 0.17.0 to 0.18.0
...
Bumps [devise-security](https://github.com/devise-security/devise-security ) from 0.17.0 to 0.18.0.
- [Release notes](https://github.com/devise-security/devise-security/releases )
- [Commits](https://github.com/devise-security/devise-security/compare/v0.17.0...v0.18.0 )
---
updated-dependencies:
- dependency-name: devise-security
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-30 14:29:55 +00:00
Javi Martín
e2c710b4f1
Merge pull request #5198 from consuldemocracy/dependabot/bundler/savon-2.14.0
...
Bump savon from 2.13.0 to 2.14.0
2023-08-30 16:11:27 +02:00
dependabot[bot]
1037428474
Bump savon from 2.13.0 to 2.14.0
...
Bumps [savon](https://github.com/savonrb/savon ) from 2.13.0 to 2.14.0.
- [Release notes](https://github.com/savonrb/savon/releases )
- [Changelog](https://github.com/savonrb/savon/blob/master/CHANGELOG.md )
- [Commits](https://github.com/savonrb/savon/compare/v2.13.0...v2.14.0 )
---
updated-dependencies:
- dependency-name: savon
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-30 15:51:06 +02:00
Javi Martín
d8953cef6e
Merge pull request #5161 from consuldemocracy/line_length
...
Apply Layout/LineLength rubocop rule
2023-08-30 15:06:04 +02:00
Javi Martín
588c8cc87f
Merge pull request #5197 from consuldemocracy/dependabot/bundler/caxlsx-3.4.1
...
Bump caxlsx from 3.2.0 to 3.4.1
2023-08-30 15:02:10 +02:00
Javi Martín
a1439d0790
Apply Layout/LineLength rubocop rule
...
Note we're excluding a few files:
* Configuration files that weren't generated by us
* Migration files that weren't generated by us
* The Gemfile, since it includes an important comment that must be on
the same line as the gem declaration
* The Budget::Stats class, since the heading statistics are a mess and
having shorter lines would require a lot of refactoring
2023-08-30 14:46:35 +02:00
Javi Martín
75d2782061
Make investment votes abilities tests consistent
...
Now both the tests to create and destroy use the `user.votes`
association.
2023-08-30 14:46:35 +02:00
Javi Martín
3fe292dfe2
Move relationable expectations to controller tests
...
Having expectations related to database operations in system tests after
the process running the browser has started might result in exceptions
while running our test suite.
2023-08-30 14:46:35 +02:00
Javi Martín
2113c00db8
Simplify tests for total anonymous votes
...
Since we added a `total_anonymous_votes` method, we might as well use
it.
2023-08-30 14:46:35 +02:00
Javi Martín
9abc7cd410
Simplify investment valuation scopes
2023-08-30 14:46:35 +02:00
Javi Martín
c4dbd94e48
Group related investment scopes together
2023-08-30 14:46:35 +02:00
Javi Martín
2db45c4719
Group related investment filters together
2023-08-30 14:46:35 +02:00
Javi Martín
8589adaf3e
Simplify verification scopes
...
The code was hard to read with so many nested conditions.
2023-08-30 14:46:35 +02:00
Javi Martín
58575374b1
Simplify condition in direct upload validation
2023-08-30 14:46:35 +02:00
Javi Martín
30767fa44e
Use Ruby 1.9 hash notation in assignment scopes
2023-08-30 14:46:35 +02:00
Javi Martín
a2cc414887
Remove unnecessary code in proposal scope
...
The `id:` condition works with a list of proposals that might include
nil items, so there's no need to compact it and manually get the IDs.
Note this scope is probably inefficient, since it instantiates proposal
objects (with the `find_voted_items` method) for something that could be
done with a database query. We might change it in he future.
2023-08-30 14:46:35 +02:00
Javi Martín
bff3331ba7
Group related proposal scopes together
2023-08-30 14:46:35 +02:00
Javi Martín
243d55ec82
Add method to get the archived proposals date limit
2023-08-30 14:46:35 +02:00
Javi Martín
8898c30f55
Rename AvailableLocales.available_locales method
...
I'm not sure whether we should rename the class instead. I'm renaming
the method because renaming the class would require more changes.
2023-08-30 14:46:35 +02:00
Javi Martín
36c3ba6601
Extract variable in manager authenticator method
2023-08-30 14:46:35 +02:00