Commit Graph

795 Commits

Author SHA1 Message Date
dependabot-preview[bot]
ae80fa4a1a Bump rubocop-rails from 2.3.2 to 2.6.0
Bumps [rubocop-rails](https://github.com/rubocop-hq/rubocop-rails) from 2.3.2 to 2.6.0.
- [Release notes](https://github.com/rubocop-hq/rubocop-rails/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop-rails/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop-rails/compare/v2.3.2...v2.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-26 10:53:20 +01:00
dependabot-preview[bot]
ac30f71bda Bump rubocop-rspec from 1.35.0 to 1.41.0
Bumps [rubocop-rspec](https://github.com/rubocop-hq/rubocop-rspec) from 1.35.0 to 1.41.0.
- [Release notes](https://github.com/rubocop-hq/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop-rspec/compare/v1.35.0...v1.41.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-25 14:23:53 +01:00
dependabot-preview[bot]
e5f4869c02 Bump rubocop from 0.83.0 to 0.91.0
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.83.0 to 0.91.0.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.83.0...v0.91.0)

The `ConsiderPunctuation` option in the `OrderedGems` rule now defaults
to false. We're changing it to true so we keep the existing behavior and
because that's the way programs like vim sort lines.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-Authored-By: Javi Martín <javim@elretirao.net>
2020-10-23 12:01:39 +02:00
Javi Martín
dfb80b08c7 Bump devise-security from 0.10.1 to 0.11.1
The original devise_security_extension gem has not been maintained for
years. Its last release was version 0.10.0, and wasn't compatible with
Rails 5, and so we were using its master branch.

Since the gem was unmaintained, it was forked as devise-security and the
aforementioned master branch was released as version 0.10.1. This
version wasn't published in Rubygems, though, so we're now using the
first version that was published in Rubygems and had a release
announment [1].

Dependabot will probably open a pull request to upgrade to the latest
version, but for now I'm trying to keep the devise-security gem as
similar as the version we were using to make sure they're compatible,
particularly considering we're monkey-patching some of the modules
provided by this gem.

[1] https://github.com/devise-security/devise-security/releases/tag/v0.11.1
2020-10-22 13:58:14 +02:00
dependabot-preview[bot]
f093ae0769 Bump font-awesome-sass from 5.13.0 to 5.15.1
Bumps [font-awesome-sass](https://github.com/FortAwesome/font-awesome-sass) from 5.13.0 to 5.15.1.
- [Release notes](https://github.com/FortAwesome/font-awesome-sass/releases)
- [Commits](https://github.com/FortAwesome/font-awesome-sass/compare/5.13.0...5.15.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-21 16:59:11 +02:00
Javi Martín
baefc249f0 Allow using components with view_component
While Rails provides a lot of functionality by default, there's one
missing piece which is present in frameworks like Django or Phoenix: the
so-called "view models", or "components".

It isn't easy to extract methods in a standard Rails view/partial, since
extracting them to a helper will make them available to all views, and
so two helper methods can't have the same name. It's also hard to
organize the code in modules, and due to that it's hard to figure out
where a certain helper method is supposed to be called from.
Furthermore, object-oriented techniques like inheritance can't be
applied, and so in CONSUL customizing views is harder that customizing
models.

Components fix all these issues, and work the way Ruby objects usually
do.

Components are also a pattern whose popularity has increased a lot in
the last few years, with JavaScript frameworks like React using them
heavily. While React's components aren't exactly the same as the
components we're going to use, the concept is really similar.

I've always liked the idea of components. However, there wasn't a stable
gem we could safely use. The most popular gem (cells) hasn't been
maintained for years, and we have to be very careful choosing which gems
CONSUL should depend on.

The view_component gem is maintained by GitHub, which is as a guarantee
of future maintenance as it can be (not counting the Rails core team),
and its usage started growing after RailsConf 2019. While that's
certainly not a huge amount of time, it's not that we're using an
experimental gem either.

There's currently a conflict between view_component and wicked_pdf.
We're adding a monkey-patch with the fix until it's merged in
wicked_pdf.
2020-10-19 18:56:02 +02:00
Javi Martín
3267c81ba0 Upgrade to Rails 5.2
All the code in the `bin/` and the `config/` folder has been generated
running `rake app:update`, except the `escape_javascript_fix` file,
which we've removed since the code there is already included in Rails
5.2.
2020-10-15 14:46:20 +02:00
dependabot-preview[bot]
d73d9052c8 Bump rubocop-performance from 1.6.1 to 1.7.1
Bumps [rubocop-performance](https://github.com/rubocop-hq/rubocop-performance) from 1.6.1 to 1.7.1.
- [Release notes](https://github.com/rubocop-hq/rubocop-performance/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop-performance/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop-performance/compare/v1.6.1...v1.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-11 17:04:27 +00:00
dependabot-preview[bot]
276703d35c Bump pg from 0.21.0 to 1.0.0
Bumps [pg](https://github.com/ged/ruby-pg) from 0.21.0 to 1.0.0.
- [Release notes](https://github.com/ged/ruby-pg/releases)
- [Changelog](https://github.com/ged/ruby-pg/blob/master/History.rdoc)
- [Commits](https://github.com/ged/ruby-pg/compare/v0.21.0...v1.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-04 15:21:06 +02:00
dependabot-preview[bot]
d29a62997c Bump responders from 2.4.1 to 3.0.1
Bumps [responders](https://github.com/heartcombo/responders) from 2.4.1 to 3.0.1.
- [Release notes](https://github.com/heartcombo/responders/releases)
- [Changelog](https://github.com/heartcombo/responders/blob/master/CHANGELOG.md)
- [Commits](https://github.com/heartcombo/responders/compare/v2.4.1...v3.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-04 12:34:29 +00:00
dependabot-preview[bot]
996f28dfc7 Bump graphql from 1.7.8 to 1.11.5
Bumps [graphql](https://github.com/rmosolgo/graphql-ruby) from 1.7.8 to 1.11.5.
- [Release notes](https://github.com/rmosolgo/graphql-ruby/releases)
- [Changelog](https://github.com/rmosolgo/graphql-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rmosolgo/graphql-ruby/compare/v1.7.8...v1.11.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-02 10:50:37 +00:00
Javi Martín
9071c9e3a3 Merge pull request #3288 from consul/dependabot/bundler/graphiql-rails-1.7.0
Bump graphiql-rails from 1.4.8 to 1.7.0
2020-10-02 12:48:47 +02:00
dependabot-preview[bot]
274950f526 Bump redcarpet from 3.4.0 to 3.5.0
Bumps [redcarpet](https://github.com/vmg/redcarpet) from 3.4.0 to 3.5.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.4.0...v3.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-29 12:04:05 +00:00
Javi Martín
dbb3185564 Merge pull request #4182 from consul/dependabot/bundler/rollbar-3.0.0
Bump rollbar from 2.27.0 to 3.0.0
2020-09-29 14:01:46 +02:00
Javi Martín
a2e1041424 Merge pull request #4164 from consul/dependabot/bundler/dalli-2.7.11
Bump dalli from 2.7.6 to 2.7.10
2020-09-29 13:30:22 +02:00
dependabot-preview[bot]
dccaadd992 Bump dalli from 2.7.6 to 2.7.10
Bumps [dalli](https://github.com/petergoldstein/dalli) from 2.7.6 to 2.7.10.
- [Release notes](https://github.com/petergoldstein/dalli/releases)
- [Changelog](https://github.com/petergoldstein/dalli/blob/master/History.md)
- [Commits](https://github.com/petergoldstein/dalli/compare/v2.7.6...v2.7.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-29 13:07:45 +02:00
dependabot-preview[bot]
ecf1615577 Bump rollbar from 2.27.0 to 3.0.0
Bumps [rollbar](https://github.com/rollbar/rollbar-gem) from 2.27.0 to 3.0.0.
- [Release notes](https://github.com/rollbar/rollbar-gem/releases)
- [Changelog](https://github.com/rollbar/rollbar-gem/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollbar/rollbar-gem/compare/v2.27.0...v3.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-28 21:36:35 +00:00
Javi Martín
4d9592878b Merge pull request #4184 from consul/dependabot/bundler/sitemap_generator-6.1.2
Bump sitemap_generator from 6.0.2 to 6.1.2
2020-09-28 23:34:21 +02:00
dependabot-preview[bot]
c1d08cbd73 Bump sitemap_generator from 6.0.2 to 6.1.2
Bumps [sitemap_generator](https://github.com/kjvarga/sitemap_generator) from 6.0.2 to 6.1.2.
- [Release notes](https://github.com/kjvarga/sitemap_generator/releases)
- [Changelog](https://github.com/kjvarga/sitemap_generator/blob/master/CHANGES.md)
- [Commits](https://github.com/kjvarga/sitemap_generator/compare/v6.0.2...v6.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-28 20:06:34 +00:00
dependabot-preview[bot]
1332e0b784 Bump webdrivers from 4.3.0 to 4.4.1
Bumps [webdrivers](https://github.com/titusfortner/webdrivers) from 4.3.0 to 4.4.1.
- [Release notes](https://github.com/titusfortner/webdrivers/releases)
- [Changelog](https://github.com/titusfortner/webdrivers/blob/master/CHANGELOG.md)
- [Commits](https://github.com/titusfortner/webdrivers/compare/v4.3.0...v4.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-28 20:05:45 +00:00
Javi Martín
68ee534b4f Merge pull request #4181 from consul/dependabot/bundler/rinku-2.0.6
Bump rinku from 2.0.4 to 2.0.6
2020-09-28 22:00:26 +02:00
Javi Martín
8b8816d420 Merge pull request #4178 from consul/dependabot/bundler/byebug-11.1.3
Bump byebug from 11.1.1 to 11.1.3
2020-09-28 21:53:54 +02:00
dependabot-preview[bot]
7e0f8411d8 Bump graphiql-rails from 1.4.8 to 1.7.0
Bumps [graphiql-rails](https://github.com/rmosolgo/graphiql-rails) from 1.4.8 to 1.7.0.
- [Release notes](https://github.com/rmosolgo/graphiql-rails/releases)
- [Changelog](https://github.com/rmosolgo/graphiql-rails/blob/master/changelog.md)
- [Commits](https://github.com/rmosolgo/graphiql-rails/compare/v1.4.8...v1.7.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2020-09-28 19:50:06 +00:00
dependabot-preview[bot]
92aadbaf69 Bump rinku from 2.0.4 to 2.0.6
Bumps [rinku](https://github.com/vmg/rinku) from 2.0.4 to 2.0.6.
- [Release notes](https://github.com/vmg/rinku/releases)
- [Commits](https://github.com/vmg/rinku/compare/v2.0.4...v2.0.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-28 18:35:52 +00:00
dependabot-preview[bot]
74f680ac95 Bump github_changelog_generator from 1.15.0 to 1.15.2
Bumps [github_changelog_generator](https://github.com/github-changelog-generator/Github-Changelog-Generator) from 1.15.0 to 1.15.2.
- [Release notes](https://github.com/github-changelog-generator/Github-Changelog-Generator/releases)
- [Changelog](https://github.com/github-changelog-generator/github-changelog-generator/blob/master/CHANGELOG.md)
- [Commits](https://github.com/github-changelog-generator/Github-Changelog-Generator/compare/v1.15.0...v1.15.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-28 18:34:20 +00:00
dependabot-preview[bot]
39fd26e203 Bump byebug from 11.1.1 to 11.1.3
Bumps [byebug](https://github.com/deivid-rodriguez/byebug) from 11.1.1 to 11.1.3.
- [Release notes](https://github.com/deivid-rodriguez/byebug/releases)
- [Changelog](https://github.com/deivid-rodriguez/byebug/blob/master/CHANGELOG.md)
- [Commits](https://github.com/deivid-rodriguez/byebug/compare/v11.1.1...v11.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-28 18:33:40 +00:00
Javi Martín
d1b0968f0f Merge pull request #4177 from consul/dependabot/bundler/invisible_captcha-1.1.0
Bump invisible_captcha from 0.10.0 to 1.1.0
2020-09-28 20:28:09 +02:00
Javi Martín
7e0d15e123 Merge pull request #4175 from consul/dependabot/bundler/uglifier-4.2.0
Bump uglifier from 4.1.19 to 4.2.0
2020-09-28 20:12:12 +02:00
dependabot-preview[bot]
671af856bd Bump invisible_captcha from 0.10.0 to 1.1.0
Bumps [invisible_captcha](https://github.com/markets/invisible_captcha) from 0.10.0 to 1.1.0.
- [Release notes](https://github.com/markets/invisible_captcha/releases)
- [Changelog](https://github.com/markets/invisible_captcha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/markets/invisible_captcha/compare/v0.10.0...v1.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-28 17:31:07 +00:00
Javi Martín
2d1865c79f Merge pull request #4162 from consul/dependabot/bundler/acts_as_votable-0.12.1
Bump acts_as_votable from 0.11.1 to 0.12.1
2020-09-28 19:26:10 +02:00
Javi Martín
47d12332c4 Merge pull request #4152 from consul/dependabot/bundler/spring-2.1.1
Bump spring from 2.0.2 to 2.1.1
2020-09-28 18:59:58 +02:00
dependabot-preview[bot]
d5c5f6cf78 Bump acts_as_votable from 0.11.1 to 0.12.1
Bumps [acts_as_votable](https://github.com/ryanto/acts_as_votable) from 0.11.1 to 0.12.1.
- [Release notes](https://github.com/ryanto/acts_as_votable/releases)
- [Commits](https://github.com/ryanto/acts_as_votable/compare/v0.11.1...v0.12.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-28 16:58:33 +00:00
Javi Martín
c4f8efaa36 Merge pull request #4147 from consul/dependabot/bundler/ancestry-3.2.1
Bump ancestry from 3.0.7 to 3.2.1
2020-09-28 18:56:36 +02:00
dependabot-preview[bot]
de69b52a46 Bump spring from 2.0.2 to 2.1.1
Bumps [spring](https://github.com/rails/spring) from 2.0.2 to 2.1.1.
- [Release notes](https://github.com/rails/spring/releases)
- [Changelog](https://github.com/rails/spring/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rails/spring/compare/v2.0.2...v2.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-28 16:26:58 +00:00
dependabot-preview[bot]
b55f2f3d8f Bump ancestry from 3.0.7 to 3.2.1
Bumps [ancestry](https://github.com/stefankroes/ancestry) from 3.0.7 to 3.2.1.
- [Release notes](https://github.com/stefankroes/ancestry/releases)
- [Changelog](https://github.com/stefankroes/ancestry/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stefankroes/ancestry/compare/v3.0.7...v3.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-28 16:21:47 +00:00
dependabot-preview[bot]
0e1b4cb570 Bump uglifier from 4.1.19 to 4.2.0
Bumps [uglifier](https://github.com/lautis/uglifier) from 4.1.19 to 4.2.0.
- [Release notes](https://github.com/lautis/uglifier/releases)
- [Changelog](https://github.com/lautis/uglifier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/lautis/uglifier/compare/v4.1.19...v4.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-28 15:50:45 +00:00
dependabot-preview[bot]
ad0ba877e8 Bump launchy from 2.4.3 to 2.5.0
Bumps [launchy](https://github.com/copiousfreetime/launchy) from 2.4.3 to 2.5.0.
- [Release notes](https://github.com/copiousfreetime/launchy/releases)
- [Changelog](https://github.com/copiousfreetime/launchy/blob/master/README.md)
- [Commits](https://github.com/copiousfreetime/launchy/compare/v2.4.3...v2.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-28 15:49:46 +00:00
Javi Martín
04824c7e97 Merge pull request #4165 from consul/dependabot/bundler/puma-4.3.6
Bump puma from 4.3.5 to 4.3.6
2020-09-28 17:44:43 +02:00
dependabot-preview[bot]
1d34b92048 Bump rspec-rails from 3.8.2 to 4.0.1
Bumps [rspec-rails](https://github.com/rspec/rspec-rails) from 3.8.2 to 4.0.1.
- [Release notes](https://github.com/rspec/rspec-rails/releases)
- [Changelog](https://github.com/rspec/rspec-rails/blob/main/Changelog.md)
- [Commits](https://github.com/rspec/rspec-rails/compare/v3.8.2...v4.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-28 15:05:48 +00:00
dependabot-preview[bot]
538966bf19 Bump puma from 4.3.5 to 4.3.6
Bumps [puma](https://github.com/puma/puma) from 4.3.5 to 4.3.6.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/compare/v4.3.5...v4.3.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-28 15:05:21 +00:00
dependabot-preview[bot]
2d4ff72d06 Bump capybara from 3.29.0 to 3.33.0
Bumps [capybara](https://github.com/teamcapybara/capybara) from 3.29.0 to 3.33.0.
- [Release notes](https://github.com/teamcapybara/capybara/releases)
- [Changelog](https://github.com/teamcapybara/capybara/blob/master/History.md)
- [Commits](https://github.com/teamcapybara/capybara/compare/3.29.0...3.33.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-28 14:38:29 +00:00
dependabot-preview[bot]
b0b3a9c934 Bump selenium-webdriver from 3.141.0 to 3.142.7
Bumps [selenium-webdriver](https://github.com/SeleniumHQ/selenium) from 3.141.0 to 3.142.7.
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Changelog](https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES)
- [Commits](https://github.com/SeleniumHQ/selenium/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-28 13:07:00 +00:00
Javi Martín
087a756c63 Merge pull request #4149 from consul/dependabot/bundler/letter_opener_web-1.4.0
Bump letter_opener_web from 1.3.4 to 1.4.0
2020-09-28 14:23:17 +02:00
Javi Martín
2f53861beb Merge pull request #4110 from consul/dependabot/bundler/turnout-2.5.0
Bump turnout from 2.4.1 to 2.5.0
2020-09-28 13:57:29 +02:00
Javi Martín
6dade3003d Merge pull request #4157 from consul/dependabot/bundler/cocoon-1.2.15
Bump cocoon from 1.2.14 to 1.2.15
2020-09-28 12:58:29 +02:00
Javi Martín
c44424f6c6 Merge pull request #4158 from consul/dependabot/bundler/groupdate-5.2.1
Bump groupdate from 5.1.0 to 5.2.1
2020-09-28 12:49:41 +02:00
Javi Martín
ea6f3f34c0 Merge pull request #4145 from consul/dependabot/bundler/bullet-6.1.0
Bump bullet from 5.9.0 to 6.1.0
2020-09-27 22:26:55 +02:00
dependabot-preview[bot]
454a87b553 Bump groupdate from 5.1.0 to 5.2.1
Bumps [groupdate](https://github.com/ankane/groupdate) from 5.1.0 to 5.2.1.
- [Release notes](https://github.com/ankane/groupdate/releases)
- [Changelog](https://github.com/ankane/groupdate/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ankane/groupdate/compare/v5.1.0...v5.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-27 18:17:41 +00:00
dependabot-preview[bot]
9bf72315e8 Bump cocoon from 1.2.14 to 1.2.15
Bumps [cocoon](https://github.com/nathanvda/cocoon) from 1.2.14 to 1.2.15.
- [Release notes](https://github.com/nathanvda/cocoon/releases)
- [Changelog](https://github.com/nathanvda/cocoon/blob/master/History.md)
- [Commits](https://github.com/nathanvda/cocoon/compare/v1.2.14...v1.2.15)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-27 18:17:02 +00:00
dependabot-preview[bot]
46868da3ed Bump turnout from 2.4.1 to 2.5.0
Bumps [turnout](https://github.com/biola/turnout) from 2.4.1 to 2.5.0.
- [Release notes](https://github.com/biola/turnout/releases)
- [Commits](https://github.com/biola/turnout/compare/v2.4.1...v2.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-27 18:15:28 +00:00