Commit Graph

13 Commits

Author SHA1 Message Date
Pedro Paiva f5f68fadc5
Update Ruby version (#1454) 2021-07-09 22:38:33 -03:00
Stef Schenkelaars d22fc9aa4f
Remove last references to rails 5.1 (#1451) 2021-07-03 11:28:49 -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
Pedro Paiva 50085f03d9
Remove rails 5.1 support (#1429)
* Remove Rails 5.1 support

* Remove active_record_supports_active_storage? method

* Remove rails_gte_5_2? method
2021-04-17 17:13:09 -03:00
Pedro Paiva 12dc7cb85c
Update ruby versions used in CI (#1436) 2021-04-13 22:51:11 -03:00
Pedro Paiva 8dea981df0
Add Ruby 3.0 support (#1427)
* Fix warning: Using the last argument as keyword parameters is deprecated

* Add ruby 3.0 support

* Update listen to support ruby 3.0

* Prevent CI testing Ruby 3.0 with Rails 5.x

* Fix action/cache key

* Update nokogiri

* Use Ruby 3.0.1 for development

* Remove webdrivers gem
2021-04-09 22:56:49 -03:00
Pedro Paiva 37ff011d4f
Remove Rails 5.0 support (#1428)
* Remove rails_lt_5? method

* Remove rails_5_x? method

* Remove conditionals for rails version equal to or greater than 5

* Remove Rails 5.0 support
2021-03-23 14:18:28 -03:00
Pedro Paiva 0cc461d4d9
Remove ruby 2.5 support (#1415)
* Remove Ruby 2.5 support

* Setting the target Ruby version to 2.6 on Rubocop

* Fix Style/SlicingWithRange: Prefer ary[n..] over ary[n..-1] offenses
2021-03-04 20:42:47 -03:00
Pedro Paiva edf4f5d9d0
Remove Rails 4.2 support (#1422) 2021-03-04 19:43:38 -03:00
Pedro Paiva ec93ea9052
Remove Ruby 2.4 support (#1412)
* Remove Ruby 2.4 support

* Fix: Style/RedundantBegin: Redundant begin block detected
2021-02-11 08:58:16 -03:00
Pedro Paiva bf850fa043
Add GitHub Action to replace Travis (#1397) 2021-01-25 18:57:22 -03:00
Kapil Sachdev bf41204490 fix: Remove lint-action github action and add custom RuboCop action
- Annotations feature provided by lint-action is not working with PRs 
from fork repos
- pull_request_target feature is also not behaving reliably 
- Remove hound
- Not using bundler-cache: true for caching as it uses uses 
./vendor/bundle as bundle path and rubocop lint vendor as well. So 
caching under ../vendor/bundle using actions/cache
- Using actions/cache@v1 rather v2 as gems are not getting cached due to 
unknown reason
2020-11-18 21:54:38 +05:30
Kapil Sachdev 91f57a3016 feat: Add github action for linting rubocop [ci skip] 2020-11-12 01:37:09 +05:30