Commit Graph

18723 Commits

Author SHA1 Message Date
dependabot[bot]
a12cf85423 Bump rubocop-rspec from 2.4.0 to 2.17.1
Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 2.4.0 to 2.17.1.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rspec/compare/v2.4.0...v2.17.1)

---
updated-dependencies:
- dependency-name: rubocop-rspec
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-06 19:00:56 +02:00
Javi Martín
2951d0fdf8 Add and apply Rails/ResponseParsedBody rubocop rule
This rule was introduced in rubocop-rails 2.18.0.

Since using `response.parsed_body` is shorter than using
`JSON.parse(response.body)`, this also means we can group some lines in
one.
2023-09-06 19:00:39 +02:00
Javi Martín
cb32d19f5e Add Rails/WhereNotWithMultipleConditions rule
This rule was introduced in rubocop-rails 2.17.0.

We don't use `where.not` with multiple conditions anywhere, but if we
did, it would indeed be very confusing, so we're adding a rule to avoid
that scenario.
2023-09-06 19:00:39 +02:00
Javi Martín
58a9e6c76e Add Rails/ActionControllerFlashBeforeRender rule
This rule was added in rubocop-rails 2.16.0. Even if we always follow
it, sometimes developers don't realize about this mistake immediately,
so it's good to have a rule to guarantee it won't happen.
2023-09-06 19:00:36 +02:00
dependabot[bot]
700ec6d0c0 Bump rubocop-rails from 2.15.2 to 2.20.2
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.15.2 to 2.20.2.
- [Release notes](https://github.com/rubocop/rubocop-rails/releases)
- [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rails/compare/v2.15.2...v2.20.2)

---
updated-dependencies:
- dependency-name: rubocop-rails
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-06 14:54:21 +02:00
Javi Martín
b23ea25367 Apply Performance/CompareWithBlock rule to sort!
We should have applied this change in commit a78a8d592, since it was
added in rubocop-performance 1.18.0, but forgot to do so.
2023-09-06 14:54:21 +02:00
Javi Martín
7433c6b91e Merge pull request #5236 from consuldemocracy/revert_pg-1.5.4
Revert "Bump pg from 1.4.3 to 1.5.4"
2023-09-06 13:43:48 +02:00
Javi Martín
302d35ac47 Revert "Bump pg from 1.4.3 to 1.5.4"
We were getting warnings due to an incompatibility between pg 1.5.x and
Active Record. I thought it was fixed in Active Record 6.1.x, but it
isn't, so we're using pg 1.4.x until we upgrade to Rails 7.

The warning was:

```
PG::Coder.new(hash) is deprecated. Please use keyword arguments instead!
Called from
activerecord-6.0.6.1/lib/active_record/connection_adapters/postgresql_adapter.rb:883:in
`new'
```

This reverts commit c03f4243f.
2023-09-06 13:21:32 +02:00
Javi Martín
6821a59758 Merge pull request #5214 from consuldemocracy/dependabot/bundler/knapsack_pro-5.6.0
Bump knapsack_pro from 3.3.1 to 5.6.0
2023-09-06 13:18:14 +02:00
dependabot[bot]
dc1e0209ac Bump knapsack_pro from 3.3.1 to 5.6.0
Bumps [knapsack_pro](https://github.com/KnapsackPro/knapsack_pro-ruby) from 3.3.1 to 5.6.0.
- [Changelog](https://github.com/KnapsackPro/knapsack_pro-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/KnapsackPro/knapsack_pro-ruby/compare/v3.3.1...v5.6.0)

---
updated-dependencies:
- dependency-name: knapsack_pro
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-06 12:58:12 +02:00
Javi Martín
10e06aee89 Merge pull request #5203 from consuldemocracy/dependabot/bundler/ahoy_matey-4.2.1
Bump ahoy_matey from 4.1.0 to 4.2.1
2023-09-05 15:41:09 +02:00
dependabot[bot]
d8f8a94a26 Bump ahoy_matey from 4.1.0 to 4.2.1
Bumps [ahoy_matey](https://github.com/ankane/ahoy) from 4.1.0 to 4.2.1.
- [Changelog](https://github.com/ankane/ahoy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ankane/ahoy/compare/v4.1.0...v4.2.1)

---
updated-dependencies:
- dependency-name: ahoy_matey
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-05 13:18:37 +00:00
Javi Martín
c956c64913 Merge pull request #5223 from consuldemocracy/dependabot/bundler/sprockets-4.2.0
Bump sprockets from 4.1.1 to 4.2.0
2023-09-05 15:16:55 +02:00
Senén Rodero Rodríguez
d0fb228f96 Make model concerns customization easier 2023-09-05 14:55:06 +02:00
dependabot[bot]
c0823a468c Bump sprockets from 4.1.1 to 4.2.0
Bumps [sprockets](https://github.com/rails/sprockets) from 4.1.1 to 4.2.0.
- [Release notes](https://github.com/rails/sprockets/releases)
- [Changelog](https://github.com/rails/sprockets/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rails/sprockets/compare/v4.1.1...v4.2.0)

---
updated-dependencies:
- dependency-name: sprockets
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-05 12:53:50 +00:00
Javi Martín
437985cccf Merge pull request #5199 from consuldemocracy/dependabot/bundler/view_component-3.5.0
Bump view_component from 2.78.0 to 3.5.0
2023-09-05 14:40:07 +02:00
dependabot[bot]
af0128860f Bump view_component from 2.78.0 to 3.5.0
Note version 3.0 removed the `controller` and `request` methods used in
component tests, introducing `vc_test_controller` and `vc_test_request`
instead.

Bumps [view_component](https://github.com/viewcomponent/view_component) from 2.78.0 to 3.5.0.
- [Release notes](https://github.com/viewcomponent/view_component/releases)
- [Changelog](https://github.com/ViewComponent/view_component/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/viewcomponent/view_component/compare/v2.78.0...v3.5.0)

---
updated-dependencies:
- dependency-name: view_component
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-05 14:17:36 +02:00
Javi Martín
41d44aa7f1 Merge pull request #5211 from consuldemocracy/dependabot/bundler/omniauth-google-oauth2-1.1.1
Bump omniauth-google-oauth2 from 1.0.1 to 1.1.1
2023-09-05 13:19:15 +02:00
dependabot[bot]
da6cbf006e Bump omniauth-google-oauth2 from 1.0.1 to 1.1.1
Dependabot couldn't find the original pull request head commit, b0a9e5f379b70bac8ebe312131914b55f5f859e2.
2023-09-05 10:47:15 +00:00
Javi Martín
a097b5a366 Merge pull request #5206 from consuldemocracy/dependabot/bundler/faker-3.2.1
Bump faker from 2.22.0 to 3.2.1
2023-09-05 11:55:28 +02:00
dependabot[bot]
7dd35efbd1 Bump faker from 2.22.0 to 3.2.1
Bumps [faker](https://github.com/faker-ruby/faker) from 2.22.0 to 3.2.1.
- [Release notes](https://github.com/faker-ruby/faker/releases)
- [Changelog](https://github.com/faker-ruby/faker/blob/main/CHANGELOG.md)
- [Commits](https://github.com/faker-ruby/faker/compare/v2.22.0...v3.2.1)

---
updated-dependencies:
- dependency-name: faker
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 17:32:34 +00:00
Javi Martín
49c3cb91ad Merge pull request #5194 from consuldemocracy/dependabot/bundler/rubocop-performance-1.19.0
Bump rubocop-performance from 1.14.3 to 1.19.0
2023-09-04 17:23:30 +02:00
dependabot[bot]
a78a8d592b Bump rubocop-performance from 1.14.3 to 1.19.0
Bumps [rubocop-performance](https://github.com/rubocop/rubocop-performance) from 1.14.3 to 1.19.0.
- [Release notes](https://github.com/rubocop/rubocop-performance/releases)
- [Changelog](https://github.com/rubocop/rubocop-performance/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-performance/compare/v1.14.3...v1.19.0)

---
updated-dependencies:
- dependency-name: rubocop-performance
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 14:59:35 +00:00
Javi Martín
24553ac626 Merge pull request #5230 from consuldemocracy/dependabot/bundler/pg-1.5.4
Bump pg from 1.4.3 to 1.5.4
2023-09-04 16:57:23 +02:00
Javi Martín
a685bf405c Merge pull request #5231 from consuldemocracy/fix_code_climate
Update Rubocop version used in Code Climate
2023-09-04 15:41:17 +02:00
Javi Martín
e3a93ac083 Update Rubocop version used in Code Climate
Rubocop 0.74 doesn't work with Ruby 3.x, and so the Code Climate report
was failing.
2023-09-03 22:16:37 +02:00
dependabot[bot]
c03f4243ff Bump pg from 1.4.3 to 1.5.4
Bumps [pg](https://github.com/ged/ruby-pg) from 1.4.3 to 1.5.4.
- [Changelog](https://github.com/ged/ruby-pg/blob/master/History.md)
- [Commits](https://github.com/ged/ruby-pg/compare/v1.4.3...v1.5.4)

---
updated-dependencies:
- dependency-name: pg
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-01 15:53:53 +00:00
Javi Martín
d1c3810042 Merge pull request #5222 from consuldemocracy/dependabot/bundler/wicked_pdf-2.7.0
Bump wicked_pdf from 2.6.3 to 2.7.0
2023-09-01 17:51:52 +02:00
dependabot[bot]
ca36e996e1 Bump wicked_pdf from 2.6.3 to 2.7.0
Bumps [wicked_pdf](https://github.com/mileszs/wicked_pdf) from 2.6.3 to 2.7.0.
- [Release notes](https://github.com/mileszs/wicked_pdf/releases)
- [Changelog](https://github.com/mileszs/wicked_pdf/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mileszs/wicked_pdf/commits)

---
updated-dependencies:
- dependency-name: wicked_pdf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-01 15:25:11 +00:00
Javi Martín
0ef192d14f Merge pull request #5212 from consuldemocracy/dependabot/bundler/email_spec-2.2.2
Bump email_spec from 2.2.0 to 2.2.2
2023-09-01 17:23:57 +02:00
dependabot[bot]
0aca4ea4ad Bump email_spec from 2.2.0 to 2.2.2
Bumps [email_spec](https://github.com/email-spec/email-spec) from 2.2.0 to 2.2.2.
- [Changelog](https://github.com/email-spec/email-spec/blob/main/Changelog.md)
- [Commits](https://github.com/email-spec/email-spec/compare/v2.2.0...v2.2.2)

---
updated-dependencies:
- dependency-name: email_spec
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-01 14:41:40 +00:00
Javi Martín
028a874bb2 Merge pull request #5210 from consuldemocracy/dependabot/bundler/pronto-rubocop-0.11.5
Bump pronto-rubocop from 0.11.2 to 0.11.5
2023-09-01 16:40:01 +02:00
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