Commit Graph

6 Commits

Author SHA1 Message Date
Pedro Paiva f029d2601e
Update Rails to the latest version (#1510)
* Bump Rails from 5.2.6 to 5.2.8.1

* Bump Rails from 6.0.4.4 to 6.0.6

* Bump Rails from 6.1.4.4 to 6.1.7

* test: skip validates_presence_of test with has_secure_password when rails greater than 6.0

See: https://github.com/rails/rails/pull/43378

* Bump Rails from 7.0.1 to 7.0.4
2022-09-30 11:19:56 -03:00
Pedro Paiva e965a27cab
Add support for Ruby 3.1 (#1474) 2022-08-05 14:56:52 -03:00
Josh Nichols cf4e20cc60
Increase rails 6.0 and 6.1 to latest patchest version (#1486)
* Don't explicitly add action_text, as it's a dependency of rails. Check rails version to see if it should be installed

* Increase rails 6.0 and 6.1 to latest patchest version

* Fix rails version check
2022-01-31 20:14:36 -03:00
Leo Arnold 05a6c37c06
Use bundler v2 in development (#1463)
Prior to this commit, the `Gemfile.lock` enforced the use of
Bundler v1.17.3 which was released in 2014.

On Ruby 3, this triggers the following deprecation warning:

```
/home/user/.rvm/gems/ruby-3.0.2@shoulda-matchers/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:118: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2.
```

Since the gem itself in v5.0.0 requires at least Ruby v2.6,
it seems fair to require a recent version of Bundler v2,
which in turn runs of every Ruby v2.3 or later.
2021-10-11 18:08:00 -03:00
Pedro Paiva d4489124f3
Upgrade Rails (#1449) 2021-06-28 13:13:10 -03:00
Pedro Paiva d39685139f
Add Appraisal for Rails 6.1 (#1418)
* Add Appraisal for Rails 6.1

* Upgrade Rails

* fix: standardize error message of association matcher

* Bump listen version to v3.5.1

* Fix the wrong number of arguments (given 2, expected 1)

* Remove deprecated method

* Update Rails to 6.1.3.2

* Remove test for ActiveModel::Errors#generate_message

* Missing ':through' option for has_many association.

* Fix the actual_foreign_key method that is returning a string instead of an array of foreign keys

* Fix Bundler::GemNotFound: Could not find gem 'puma (~> 5.0)'

* Fix Bundler::GemNotFound: Could not find gem 'rack-mini-profiler (~> 2.0)'

* Bump rspec-rails to 4.1.2

* Fix 'rails generate' not working with Rails 6.1
2021-06-03 17:41:27 -03:00