mirror of
https://github.com/ditkrg/validates_timeliness.git
synced 2026-01-24 14:56:43 +00:00
Rails 6.1 needs the following changes: - Add `owner: nil` to `define_method_attribute` calls - Pass `options` to error `add` method as keyword argument Ref: - https://api.rubyonrails.org/v6.0.0/classes/ActiveModel/Errors.html#method-i-add - https://api.rubyonrails.org/v6.1.0/classes/ActiveModel/Errors.html#method-i-add Fix: #193
23 lines
394 B
YAML
23 lines
394 B
YAML
language: ruby
|
|
before_install: gem install bundler
|
|
cache: bundler
|
|
|
|
gemfile:
|
|
- gemfiles/rails_5_0.gemfile
|
|
- gemfiles/rails_5_1.gemfile
|
|
- gemfiles/rails_5_2.gemfile
|
|
- gemfiles/rails_6_0.gemfile
|
|
- gemfiles/rails_6_1.gemfile
|
|
|
|
rvm:
|
|
- "2.5.3"
|
|
|
|
script: 'bundle exec rspec'
|
|
|
|
notifications:
|
|
email:
|
|
recipients:
|
|
- adam.meehan@gmail.com
|
|
on_failure: change
|
|
on_success: never
|