Skip to content

Support Rails 7.0 and Ruby 3.1 #63

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
AllCops:
DisabledByDefault: false
TargetRubyVersion: 2.3
TargetRailsVersion: 4.0
TargetRubyVersion: 3.1
DisplayCopNames: true
Exclude:
- 'db/**/*'
Expand All @@ -11,6 +10,7 @@ AllCops:
- 'test/**/*'
- 'bin/**/*'
- 'spec/dummy_app/db/**/*'
NewCops: enable

Security/YAMLLoad:
Enabled: false
Expand All @@ -28,4 +28,5 @@ Metrics/ModuleLength:
Exclude:
- 'spec/**/*'


Metrics/AbcSize:
Max: 20
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.3.7
3.1.1
7 changes: 7 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ recommendations of [keepachangelog.com](http://keepachangelog.com/).

## Unreleased

## 0.2.0 (2022-02-19) Rails 7.0 compatibility

### Fixed

- Rails version increased to 7.0
- Ruby version increased to 3.1

## 0.1.21 (2021-02-16) Rails 6.1 compatibility

### Fixed
Expand Down
246 changes: 113 additions & 133 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,205 +1,185 @@
PATH
remote: .
specs:
paper_trail_scrapbook (0.1.21)
paper_trail_scrapbook (0.2.0)
activerecord
adamantium
concord
paper_trail (>= 5.2, <= 11.1.0)
paper_trail (>= 5.2, <= 12.2.0)

GEM
remote: https://rubygems.org/
specs:
abstract_type (0.0.7)
actionpack (5.2.3)
actionview (= 5.2.3)
activesupport (= 5.2.3)
rack (~> 2.0)
actionpack (7.0.2)
actionview (= 7.0.2)
activesupport (= 7.0.2)
rack (~> 2.0, >= 2.2.0)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (5.2.3)
activesupport (= 5.2.3)
rails-html-sanitizer (~> 1.0, >= 1.2.0)
actionview (7.0.2)
activesupport (= 7.0.2)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.3)
activemodel (5.2.3)
activesupport (= 5.2.3)
activerecord (5.2.3)
activemodel (= 5.2.3)
activesupport (= 5.2.3)
arel (>= 9.0)
activesupport (5.2.3)
rails-html-sanitizer (~> 1.1, >= 1.2.0)
activemodel (7.0.2)
activesupport (= 7.0.2)
activerecord (7.0.2)
activemodel (= 7.0.2)
activesupport (= 7.0.2)
activesupport (7.0.2)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
adamantium (0.2.0)
ice_nine (~> 0.11.0)
memoizable (~> 0.4.0)
anima (0.3.0)
abstract_type (~> 0.0.7)
adamantium (~> 0.2)
equalizer (~> 0.0.11)
arel (9.0.0)
ast (2.3.0)
builder (3.2.3)
codeclimate-test-reporter (1.0.8)
ast (2.4.2)
builder (3.2.4)
codeclimate-test-reporter (1.0.9)
simplecov (<= 0.13)
concord (0.1.5)
concord (0.1.6)
adamantium (~> 0.2.0)
equalizer (~> 0.0.9)
concurrent-ruby (1.1.5)
crass (1.0.5)
database_cleaner (1.6.2)
diff-lcs (1.3)
concurrent-ruby (1.1.9)
crass (1.0.6)
database_cleaner (1.99.0)
diff-lcs (1.5.0)
docile (1.1.5)
equalizer (0.0.11)
erubi (1.9.0)
ffaker (2.8.1)
i18n (1.7.0)
erubi (1.10.0)
ffaker (2.20.0)
i18n (1.10.0)
concurrent-ruby (~> 1.0)
ice_nine (0.11.2)
json (2.3.1)
loofah (2.3.1)
json (2.6.1)
loofah (2.13.0)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
memoizable (0.4.2)
thread_safe (~> 0.3, >= 0.3.1)
method_source (0.9.2)
mini_portile2 (2.4.0)
minitest (5.12.2)
morpher (0.2.6)
abstract_type (~> 0.0.7)
adamantium (~> 0.2.0)
anima (~> 0.3.0)
ast (~> 2.2)
concord (~> 0.1.5)
equalizer (~> 0.0.9)
ice_nine (~> 0.11.0)
procto (~> 0.0.2)
mutant (0.8.14)
abstract_type (~> 0.0.7)
adamantium (~> 0.2.0)
anima (~> 0.3.0)
ast (~> 2.2)
concord (~> 0.1.5)
method_source (1.0.0)
mini_portile2 (2.7.1)
minitest (5.15.0)
mutant (0.11.4)
diff-lcs (~> 1.3)
equalizer (~> 0.0.9)
ice_nine (~> 0.11.1)
memoizable (~> 0.4.2)
morpher (~> 0.2.6)
parallel (~> 1.3)
parser (>= 2.3.1.4, < 2.5)
procto (~> 0.0.2)
regexp_parser (~> 0.4.3)
unparser (~> 0.2.5)
mutant-rspec (0.8.14)
mutant (~> 0.8.14)
rspec-core (>= 3.4.0, < 3.7.0)
nokogiri (1.10.8)
mini_portile2 (~> 2.4.0)
paper_trail (10.3.1)
activerecord (>= 4.2)
parser (~> 3.1.0)
regexp_parser (~> 2.0, >= 2.0.3)
sorbet-runtime (~> 0.5.0)
unparser (~> 0.6.4)
mutant-rspec (0.11.4)
mutant (= 0.11.4)
rspec-core (>= 3.8.0, < 4.0.0)
nokogiri (1.13.1)
mini_portile2 (~> 2.7.0)
racc (~> 1.4)
paper_trail (12.2.0)
activerecord (>= 5.2)
request_store (~> 1.1)
parallel (1.12.1)
parser (2.4.0.2)
ast (~> 2.3)
pg (1.2.3)
powerpack (0.1.1)
procto (0.0.3)
parallel (1.21.0)
parser (3.1.0.0)
ast (~> 2.4.1)
pg (1.3.2)
racc (1.6.0)
rack (2.2.3)
rack-test (1.1.0)
rack (>= 1.0, < 3)
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
rails-html-sanitizer (1.2.0)
loofah (~> 2.2, >= 2.2.2)
railties (5.2.3)
actionpack (= 5.2.3)
activesupport (= 5.2.3)
rails-html-sanitizer (1.4.2)
loofah (~> 2.3)
railties (7.0.2)
actionpack (= 7.0.2)
activesupport (= 7.0.2)
method_source
rake (>= 0.8.7)
thor (>= 0.19.0, < 2.0)
rainbow (3.0.0)
rake (13.0.1)
regexp_parser (0.4.9)
request_store (1.5.0)
rake (>= 12.2)
thor (~> 1.0)
zeitwerk (~> 2.5)
rainbow (3.1.1)
rake (13.0.6)
regexp_parser (2.2.1)
request_store (1.5.1)
rack (>= 1.4)
rspec-core (3.6.0)
rspec-support (~> 3.6.0)
rspec-expectations (3.6.0)
rexml (3.2.5)
rspec-core (3.11.0)
rspec-support (~> 3.11.0)
rspec-expectations (3.11.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.6.0)
rspec-jumpstart (1.1.2)
rspec-mocks (3.6.0)
rspec-support (~> 3.11.0)
rspec-jumpstart (1.1.5)
rspec-mocks (3.11.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.6.0)
rspec-rails (3.6.1)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec-core (~> 3.6.0)
rspec-expectations (~> 3.6.0)
rspec-mocks (~> 3.6.0)
rspec-support (~> 3.6.0)
rspec-support (3.6.0)
rspec_junit_formatter (0.4.1)
rspec-support (~> 3.11.0)
rspec-rails (5.1.0)
actionpack (>= 5.2)
activesupport (>= 5.2)
railties (>= 5.2)
rspec-core (~> 3.10)
rspec-expectations (~> 3.10)
rspec-mocks (~> 3.10)
rspec-support (~> 3.10)
rspec-support (3.11.0)
rspec_junit_formatter (0.5.1)
rspec-core (>= 2, < 4, != 2.12.0)
rubocop (0.52.1)
rubocop (1.25.1)
parallel (~> 1.10)
parser (>= 2.4.0.2, < 3.0)
powerpack (~> 0.1)
parser (>= 3.1.0.0)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml
rubocop-ast (>= 1.15.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (~> 1.0, >= 1.0.1)
rubocop-rspec (1.22.1)
rubocop (>= 0.52.1)
ruby-progressbar (1.9.0)
unicode-display_width (>= 1.4.0, < 3.0)
rubocop-ast (1.15.2)
parser (>= 3.0.1.1)
rubocop-rake (0.6.0)
rubocop (~> 1.0)
rubocop-rspec (2.8.0)
rubocop (~> 1.19)
ruby-progressbar (1.11.0)
simplecov (0.13.0)
docile (~> 1.1.0)
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.2)
thor (0.20.3)
sorbet-runtime (0.5.9668)
thor (1.2.1)
thread_safe (0.3.6)
timecop (0.8.1)
tzinfo (1.2.5)
thread_safe (~> 0.1)
unicode-display_width (1.3.0)
unparser (0.2.6)
abstract_type (~> 0.0.7)
adamantium (~> 0.2.0)
concord (~> 0.1.5)
timecop (0.9.4)
tzinfo (2.0.4)
concurrent-ruby (~> 1.0)
unicode-display_width (2.1.0)
unparser (0.6.4)
diff-lcs (~> 1.3)
equalizer (~> 0.0.9)
parser (>= 2.3.1.2, < 2.5)
procto (~> 0.0.2)
parser (>= 3.1.0)
zeitwerk (2.5.4)

PLATFORMS
ruby

DEPENDENCIES
codeclimate-test-reporter (~> 1.0.7)
database_cleaner (~> 1.2)
ffaker (~> 2.5)
loofah (~> 2.3.1)
ffaker (~> 2.20)
loofah (~> 2.13.0)
mutant
mutant-rspec
paper_trail_scrapbook!
pg (= 1.2.3)
rack (>= 2.0.6)
railties (= 5.2.3)
pg (~> 1.3.2)
rack (~> 2.0, >= 2.0.6)
railties (= 7.0.2)
rake (~> 13.0.1)
rspec-jumpstart
rspec-rails
rspec_junit_formatter
rubocop
rubocop-rake
rubocop-rspec
simplecov
timecop (~> 0.8.0)
timecop (~> 0.9.0)

BUNDLED WITH
2.2.2
2.3.7
Loading