Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
468 commits
Select commit Hold shift + click to select a range
a4bb6e9
Also update the appraisal rails6 version range
Jan 7, 2021
97ac7b1
Merge pull request #559 from jmortlock/master
danielmorrison Jan 8, 2021
2e8f1ac
Merge pull request #554 from yknx4/patch-1
danielmorrison Jan 8, 2021
c5fb28a
Merge pull request #555 from jsantos/bugfix/timezone_flaky_test
danielmorrison Jan 8, 2021
588b3d7
Merge pull request #550 from guilpejon/patch-2
danielmorrison Jan 8, 2021
14b6d3e
Merge pull request #549 from guilpejon/patch-1
danielmorrison Jan 8, 2021
e67da93
Punt on coverage error
danielmorrison Jan 8, 2021
1e2994a
Merge pull request #560 from collectiveidea/coverage-fix
danielmorrison Jan 8, 2021
7fd8334
Bump version
danielmorrison Jan 8, 2021
1e57697
Fix CI against Rails 6.1
okuramasafumi Jan 14, 2021
0ba7c3a
Merge branch 'master' into own_and_associated_audits_for_sti
Feb 17, 2021
6eacf85
Use Thread local variables instead of Fibers
arathunku Feb 22, 2021
51cd894
Restore previous enum behavior with flag
Jan 27, 2020
1379a5f
Merge pull request #568 from arathunku/fix-fiber-local-state
danielmorrison May 29, 2021
be6d901
Merge pull request #563 from okuramasafumi/fix-ci-against-rails-61
danielmorrison May 29, 2021
6600db7
Merge branch 'master' into rails-61-and-ruby-27-deprecations
danielmorrison May 29, 2021
244ca79
Merge pull request #544 from marcrohloff/rails-61-and-ruby-27-depreca…
danielmorrison May 29, 2021
de9e0cd
Merge branch 'master' into drop-rails-42
danielmorrison May 29, 2021
770e928
Merge pull request #527 from travisofthenorth/drop-rails-42
danielmorrison May 29, 2021
0d1d9cf
Merge pull request #533 from eric-hemasystems/own_and_associated_audi…
danielmorrison May 29, 2021
10068ef
Merge pull request #532 from duncanjbrown/use-railtie-for-on-load
danielmorrison May 29, 2021
98fab32
Merge pull request #525 from gourshete/patch-1
danielmorrison May 29, 2021
2787000
Merge pull request #526 from travisofthenorth/synthesized-enum-flag
danielmorrison May 29, 2021
f3ddc69
Update CHANGELOG
danielmorrison May 29, 2021
724599c
Add standard gem
danielmorrison Nov 27, 2018
dc61cf4
Tell standard to target Ruby 2.3
danielmorrison Nov 27, 2018
0d5424f
Tell standard to ignore files we used to ignore in Rubocop config
danielmorrison Nov 27, 2018
1eec4ea
Add standard badge
danielmorrison Nov 27, 2018
cbd4c09
Update Travis to run standard instead of rubocop
danielmorrison Nov 27, 2018
1a2d217
Run standardrb --fix
danielmorrison May 29, 2021
9c47558
Manually fix remaining standardrb recommendations
danielmorrison May 29, 2021
4185076
Merge pull request #478 from collectiveidea/standard
danielmorrison May 29, 2021
bb26dad
Merge branch 'master' into fix/use-default-rails-blank-error
danielmorrison May 31, 2021
e40cb7c
Merge branch 'master' into fix/dont-require-comment-if-not-audited-ch…
danielmorrison May 31, 2021
8a194ab
Merge pull request #522 from james/fix/dont-require-comment-if-not-au…
danielmorrison May 31, 2021
f633207
Merge pull request #523 from james/fix/use-default-rails-blank-error
danielmorrison May 31, 2021
5b86d17
Document store_synthesized_enums flag
Jun 2, 2021
84ef90b
Merge pull request #575 from travisofthenorth/document-enums
danielmorrison Jun 2, 2021
f23cba2
standardrb fixes
yuki24 Jun 10, 2021
a53da39
Add newer Ruby versions
danielmorrison May 29, 2021
e589a15
Upgrade rspec and fix a test for Ruby 3
danielmorrison May 31, 2021
41a6afc
Loosen rspec-rails version constraint
danielmorrison Jun 10, 2021
ec11036
Only build Rails 6 against Ruby 3
danielmorrison Jun 10, 2021
82d706b
No test test against Rails 5.0 & Ruby 3
yuki24 Jun 10, 2021
47b40c2
standardrb fixes
yuki24 Jun 10, 2021
689b6fa
Merge pull request #578 from yuki24/standardrb-fixes
danielmorrison Jun 10, 2021
ddaaeab
Merge pull request #580 from yuki24/ruby3
danielmorrison Jun 10, 2021
dbcc785
Fixes an issue where array attributes do not work with audited
yuki24 Jun 10, 2021
6de316d
Merge pull request #576 from yuki24/fix-array-support
danielmorrison Jun 10, 2021
1aa3777
Add frozen_string_literal: true to main files
danielmorrison Jun 10, 2021
3009329
Merge pull request #581 from collectiveidea/frozen-string-literals
danielmorrison Jun 10, 2021
3206ad3
Update changelog
danielmorrison Jun 10, 2021
bcdf0da
method write_audit fixed
Jun 11, 2021
456204d
Merge pull request #584 from nut4k1/feature/583_disabled-audited-skip…
danielmorrison Jun 11, 2021
ff30dc3
Update changelog and bump version
danielmorrison Jun 11, 2021
e27b807
Update supported rubies.
thomasdziedzic Jun 20, 2021
87a3078
Merge pull request #587 from thomasdziedzic/thomasdziedzic-update-sup…
danielmorrison Jun 21, 2021
4e7b292
Resolve lingering issue from collectiveidea/audited#532
Jul 27, 2021
0a18ccb
Documentation
Aug 6, 2021
4ccea03
Present gem version in README.md
danirod Aug 25, 2021
5f72259
Merge pull request #596 from danirod/patch-1
danielmorrison Aug 25, 2021
a5e3238
Switch to GitHub Actions for CI (#598)
danielmorrison Sep 16, 2021
97bce36
Relax activerecord version to support Rails 7
danielmorrison Sep 16, 2021
0363660
Change Rails 7 build matrix to only supported Rubies
danielmorrison Sep 16, 2021
cf55e85
Swap travis badge for github
danielmorrison Sep 16, 2021
c68df9d
Don't test against MySQL on Ruby 2.3
danielmorrison Sep 16, 2021
3582701
Merge pull request #597 from collectiveidea/rails7
danielmorrison Sep 16, 2021
e7a5e75
Merge branch 'master' into documentation/fix-when-gem-require-false
danielmorrison Sep 16, 2021
a8d8cd5
Merge pull request #594 from clement1234/documentation/fix-when-gem-r…
danielmorrison Sep 16, 2021
fa96432
Merge pull request #592 from dailypay/master
danielmorrison Sep 16, 2021
39d29e2
Bump version; update changelog and readme
danielmorrison Sep 16, 2021
8616f50
Add audited method to parent in docs
jess Dec 2, 2021
3cf0141
Use string class name and constantize
simmerz Dec 25, 2021
a99c5d9
Test against Rails 7.0 stable
enomotodev Dec 28, 2021
c6afe9f
Deadlocks from concurrent audit combinations
Crammaman Mar 31, 2022
c06250c
Merge pull request #610 from enomotodev/rails70-stable
danielmorrison Dec 23, 2022
a308065
Update standard recommedations
danielmorrison Dec 23, 2022
7365aa1
Add yaml_column_permitted_classes in tests
danielmorrison Dec 23, 2022
3398e69
Update some testing dependencies
danielmorrison Dec 23, 2022
e724d1e
Test agains Ruby 3.0 on more versions and 3.1 for Rails 7
danielmorrison Dec 23, 2022
0765c69
Add psych to try to get old versions running
danielmorrison Dec 23, 2022
827defc
More tweaks to get old version tests passing
danielmorrison Dec 23, 2022
5ba3db0
Update checkout action
danielmorrison Dec 23, 2022
eae3184
Remove Ruby 2.3 PostgreSQL test runs
danielmorrison Dec 23, 2022
897e110
Update supported Ruby versions in Readme
danielmorrison Dec 23, 2022
467ce08
Remove whitespace and extraneous parens
danielmorrison Dec 23, 2022
ed58ee7
Merge pull request #643 from collectiveidea/test-fix
danielmorrison Dec 23, 2022
7212260
Update CHANGELOG
danielmorrison Dec 23, 2022
c5fdb37
Replace raw string where clause with query methods
macowie Dec 5, 2022
fbd5170
Fix timestamped_migrations deprecation warning
shouichi May 2, 2022
968c4fc
Merge pull request #642 from macowie/patch-1
danielmorrison Dec 23, 2022
dd7845e
Ensure audits are re-enabled after with_auditing and without_auditing
dcorlett Aug 19, 2022
e46231d
Merge pull request #632 from dcorlett/re-enable-audits-after-block-fix
danielmorrison Dec 23, 2022
664ae6b
Merge branch 'master' into master
danielmorrison Dec 23, 2022
00f17d6
Merge pull request #609 from simmerz/master
danielmorrison Dec 23, 2022
1b6200c
Update CHANGELOG
danielmorrison Dec 23, 2022
6f346c5
Merge pull request #624 from shouichi/fix-timestamped-migrations-depr…
danielmorrison Dec 23, 2022
1bbc099
Filter encrypted attributes automatically
vlad-psh Jul 5, 2022
68c2413
Merge pull request #630 from vlad-psh/filter-encrypted-attributes-aut…
danielmorrison Dec 23, 2022
71c52bc
Merge pull request #621 from Crammaman/ignore_audit_combine_deadlock
danielmorrison Dec 23, 2022
9232a75
Merge pull request #605 from jess/patch-1
danielmorrison Dec 23, 2022
2f09bb8
Update CHANGELOG
danielmorrison Dec 23, 2022
a9dde82
Remove https://hakiri.io link in README
danielmorrison Dec 23, 2022
2b605cb
Improve readme example for conditional auditing:
danielmorrison Dec 23, 2022
729a35f
Fix old Rubies
danielmorrison Dec 23, 2022
503a689
Run standardrb --fix
danielmorrison Dec 23, 2022
16769b3
Bump version
danielmorrison Dec 23, 2022
eb4b746
Fix typo: PostgresSQL -> PostgreSQL
jdufresne Dec 25, 2022
9997fa8
Update documentation link
jeremiahlukus Jan 2, 2023
b828848
Allow Audited.audit_class= to receive a string class name and return …
rocket-turtle Jan 4, 2023
904cc69
Merge pull request #648 from rocket-turtle/issues-647
danielmorrison Jan 23, 2023
d6d2673
Merge pull request #646 from jeremiahlukus/patch-1
danielmorrison Jan 23, 2023
857c9bc
Merge pull request #644 from jdufresne/typo
danielmorrison Jan 23, 2023
32851bd
Switch to safe_constantize
danielmorrison Jan 23, 2023
53f76dc
Bump version
danielmorrison Jan 23, 2023
a04d8be
Ensure CI runs on main. Add to Buildlight
danielmorrison Jan 23, 2023
cab0705
Add testing and document support for Ruby 3.2
jdufresne Jan 29, 2023
448e288
Run GitHub actions on all branches
jdufresne Jan 29, 2023
4e7a20e
Merge pull request #652 from jdufresne/ruby32
danielmorrison Jan 30, 2023
11880aa
Merge pull request #653 from jdufresne/gha-all-branches
danielmorrison Jan 30, 2023
7fcc902
Update CHANGELOG
danielmorrison Jan 30, 2023
fa6a084
Replace Rails version check with ActiveRecord version check so that a…
nicduke38degrees Feb 9, 2023
05cb9f2
Merge pull request #655 from nicduke38degrees/no-assume-rails
danielmorrison Feb 9, 2023
15e899b
Update CHANGELOG
danielmorrison Feb 9, 2023
d7fbc55
conditional require railtie if Rails module exists
nicduke38degrees Feb 9, 2023
69810dc
Audit touch events
mcyoung Feb 13, 2023
a808f8e
Simplify
mcyoung Feb 13, 2023
670b947
Include as a default
mcyoung Feb 13, 2023
6789b9b
Add spec coverage
mcyoung Feb 13, 2023
02c5b89
Suggested changes
mcyoung Feb 14, 2023
b0bb2c3
An older rails friendly test
mcyoung Feb 14, 2023
5d41025
Do touch auditing on 6+ Rails
mcyoung Feb 14, 2023
82feab7
Compare w/ second
mcyoung Feb 14, 2023
4962e20
Make time spec work
mcyoung Feb 14, 2023
c568864
Adjust coverage line count for < 6 ActiveRecord and touch.
mcyoung Feb 14, 2023
944f0b8
Merge pull request #657 from mcyoung/mcy/feature/audit-touch
danielmorrison Feb 14, 2023
908f3c7
Update CHANGELOG
danielmorrison Feb 9, 2023
e2d9ebc
Bump version
danielmorrison Feb 14, 2023
21827de
Ensure testing of touched audit
mcyoung Feb 15, 2023
2556096
Give spec a little more time to reduce flakiness
mcyoung Feb 15, 2023
dd23c21
Merge pull request #658 from mcyoung/mcy/feature/adjust-touch-spec
danielmorrison Feb 15, 2023
9a583ba
Update changelog
danielmorrison Feb 15, 2023
7dbbb66
Fix redacted attributes bug when no changes were made
vlad-psh Jun 23, 2022
1eccb07
Merge pull request #628 from vlad-psh/fix-redacted-attributes
danielmorrison Feb 16, 2023
a07561f
Update changelog
danielmorrison Feb 16, 2023
b773b4a
Don't double audit on touch
mcyoung Feb 19, 2023
443d5f2
Merge pull request #660 from mcyoung/mcy/feature/audit-only-touchable…
danielmorrison Feb 21, 2023
7315642
Bump version
danielmorrison Feb 21, 2023
829bdb8
Ensure audits
mcyoung Feb 21, 2023
874f291
Merge pull request #662 from mcyoung/mcy/feature/safely-touch-audit
danielmorrison Feb 22, 2023
818ad34
Run standardrb --fix
danielmorrison Feb 22, 2023
548cbe9
Bump version
danielmorrison Feb 22, 2023
8d54983
Merge branch 'collectiveidea:main' into conditional-require-railtie
nicduke38degrees Mar 6, 2023
0172cbe
Update README.md
kvoshell Mar 13, 2023
900303f
Merge pull request #666 from kvoshell/patch-1
danielmorrison Mar 13, 2023
90a745c
A little cleanup
mcyoung Mar 16, 2023
363ac30
Use RequestStore instead of Thread.current for thread-safe requests.
tiagocassio Apr 18, 2023
7e4d609
Merge pull request #1 from convisoappsec/use-request-store-thread-safe
tiagocassio Apr 18, 2023
6ad0d10
Fix specs.
tiagocassio Apr 19, 2023
950ff2a
Fix typo.
tiagocassio Apr 19, 2023
0960dc7
Fix audited_spec.rb.
tiagocassio Apr 19, 2023
342734c
Merge pull request #669 from convisoappsec/main
danielmorrison Apr 20, 2023
e6cc2da
Preparing release 5.3.3
giovannism20 Apr 24, 2023
0efe797
Optimize query
danielmorrison Apr 24, 2023
7fefaf5
Update CHANGELOG.md
danielmorrison Apr 24, 2023
c61ec9c
Update README.md
danielmorrison Apr 24, 2023
e38e8a3
Merge pull request #668 from mcyoung/mcy/refactor/touch-enhancement
danielmorrison Apr 24, 2023
379aeed
Merge pull request #671 from giovannism20/main
danielmorrison Apr 24, 2023
f8416b1
Replace RequestStore with ActiveSupport::CurrentAttributes
the-spectator Apr 30, 2023
73c202c
Add config ignored_default_callbacks
JDrizzy Jul 18, 2023
bbedccb
Add support for Rails 7.1
yuki24 Sep 24, 2023
bbfb4db
Add fixes for test builds for Ruby 2.3 & 2.4
yuki24 Sep 24, 2023
73aae10
Merge pull request #686 from yuki24/rails-7-1
danielmorrison Sep 30, 2023
76fd75e
Bump version to 5.4.0
danielmorrison Sep 30, 2023
9a1bed7
Add Rails 7.1 to README
danielmorrison Sep 30, 2023
626a97b
Merge branch 'main' into migrate_to_current_attributes
danielmorrison Nov 6, 2023
7e881fb
Merge pull request #673 from the-spectator/migrate_to_current_attributes
danielmorrison Nov 6, 2023
9a2a516
Merge pull request #665 from nicduke38degrees/conditional-require-rai…
danielmorrison Nov 6, 2023
e2513bb
Bump version
danielmorrison Nov 6, 2023
d9b4d5a
Revert "Replace RequestStore with ActiveSupport::CurrentAttributes"
danielmorrison Nov 6, 2023
3b4e52f
Bump version
danielmorrison Nov 8, 2023
ab22a3f
Ignore readonly columns in audit
sriddbs Jan 3, 2024
e361f02
Merge pull request #692 from sriddbs/ignore-readonly-attrs
danielmorrison Jan 11, 2024
e163219
Robustify Rails version checks
blaet Nov 9, 2023
4606723
Merge pull request #689 from blaet/robustify-rails-version-checks
danielmorrison Jan 11, 2024
cd0ac65
Update comment to match code
danielmorrison Jan 11, 2024
a609166
Add note about touch audits to README
danielmorrison Jan 11, 2024
00a1d82
Merge pull request #679 from JDrizzy/ignore-callbacks
danielmorrison Jan 11, 2024
8368291
Update Changelog
danielmorrison Jan 11, 2024
fa53258
Bump version
danielmorrison Jan 11, 2024
730e937
Set up Rubygems trusted publishing
danielmorrison Jan 11, 2024
b179acc
More work to get Rubygems trusted publishing working
danielmorrison Jan 11, 2024
542265f
Tweak Rakefile
danielmorrison Jan 11, 2024
4ffc6c1
Use a build environment for gem publishing
danielmorrison Jan 11, 2024
5ca65b8
fix: normalize enum changes before filtering duplicate audits on touch
ycp3 Jan 18, 2024
9b68cf3
Merge pull request #696 from ycp3/enum-double-audit
danielmorrison Feb 27, 2024
f883e37
replace RequestStore with ActiveSupport::CurrentAttributes
Apr 2, 2024
c7683c2
require minimum rails 5.2
Apr 2, 2024
dfe87b4
remove spec for Fibers
Apr 2, 2024
6de0fbb
remove old versions of rails from build matrix
Apr 2, 2024
fa96297
remove fiber spec again...somehow snuck back in
Apr 2, 2024
184b1e9
update current_user let binding to be a user model, not the store
Apr 2, 2024
df41ab1
some better specs
Apr 2, 2024
c721d5d
Merge pull request #702 from punkisdead/migrate_to_current_attributes
danielmorrison Apr 2, 2024
fa9740b
Bump version to 5.5.0 and update README
danielmorrison Apr 2, 2024
4bcfd76
Remove some files from the published gem
danielmorrison Apr 5, 2024
f69bc57
Bump version to prerelease to test build process.
danielmorrison Apr 5, 2024
706cbff
Bump version and update readme
danielmorrison Apr 5, 2024
88b0942
Bump actions/checkout
m-nakamura145 May 21, 2024
1666b3f
added support to rails 8.0
fernandomenolli Jun 21, 2024
471de35
correct version
fernandomenolli Jun 21, 2024
9a628a5
dynamic max_audits to be proc or symbol
gmhawash Jun 25, 2024
5e504ec
Merge pull request #717 from fernandomenolli/main
danielmorrison Jul 30, 2024
0e019bb
Merge pull request #718 from downhome/dynamic-max-audits
danielmorrison Jul 30, 2024
6bafdeb
Merge pull request #711 from m-nakamura145/update-actions-checkout
danielmorrison Jul 30, 2024
8031a1a
Remove unsupported Rails 5.0 and 5.1 gemfiles
mattbrictson Aug 11, 2024
c4ca3d3
Simplify rails version requirements
mattbrictson Aug 11, 2024
892baa9
Fix incorrect sqlite3 requirement for rails 7.0 and 7.1
mattbrictson Aug 11, 2024
821a3b6
Add gemfile for testing Rails 7.2; remove 8.0 for now
mattbrictson Aug 11, 2024
575c29b
Fix enum deprecation warning on Rails 7.2
mattbrictson Aug 11, 2024
7b7a9de
Add Rails 7.2 to CI; remove 8.0 for now
mattbrictson Aug 11, 2024
053ca2e
Fix problem where 3.0 in CI YAML is interpreted as "3"
mattbrictson Aug 11, 2024
831215b
Add Ruby 3.3 to CI
mattbrictson Aug 11, 2024
af1efc5
Increase uncovered baseline to get CI passing
mattbrictson Aug 11, 2024
83bab73
Fix incorrect YAML indentation
mattbrictson Aug 11, 2024
c7a002c
Fix postgres migration issue in spec helper under Rails 7.2
mattbrictson Aug 11, 2024
a28a6a4
Add Rails 7.2 and Ruby 3.3 to the README
mattbrictson Aug 11, 2024
0d18048
Merge pull request #723 from mattbrictson/ci-cleanup-rails-7.2
danielmorrison Aug 13, 2024
9aad4d4
Bump version to 5.7.0
danielmorrison Aug 13, 2024
ed7da08
Relax gemspec to allow Rails 8.0; add Rails main branch to CI
mattbrictson Sep 2, 2024
1a7b909
Rails 8 has dropped support for Ruby 3.1
mattbrictson Oct 2, 2024
8dc7184
Merge pull request #729 from mattbrictson/ci-rails-main
danielmorrison Oct 2, 2024
e3a9d1c
allow calling audited multiple times
mohammednasser-32 Oct 21, 2024
d1c1b68
return if options did not change
mohammednasser-32 Oct 22, 2024
882d1cb
remove log message
mohammednasser-32 Oct 22, 2024
f2c9d7d
Relax gemspec to allow Rails 8.1
BranLiang Oct 30, 2024
b658e95
Merge pull request #738 from BranLiang/main
danielmorrison Nov 8, 2024
a1847f6
Merge pull request #734 from mohammednasser-32/allow_calling_audited_…
danielmorrison Nov 8, 2024
e64b4e3
Add Rails 8.0 to build matrix
danielmorrison Nov 8, 2024
05b7aad
Merge pull request #739 from collectiveidea/rails8
danielmorrison Nov 8, 2024
f935285
Bump version
danielmorrison Nov 8, 2024
e8cc9ff
Bump version to main
bosunogunlana-ft Mar 31, 2025
85bbe67
Remove github actions
bosunogunlana-ft Apr 1, 2025
b91a5e2
Patch v1
bosunogunlana-ft Apr 1, 2025
2dc650c
Added namespace_conditions config option
bosunogunlana-ft Apr 1, 2025
9900626
Implemented setting namespace_conditions
bosunogunlana-ft Apr 1, 2025
5f0d65f
Fix test
bosunogunlana-ft Apr 1, 2025
16bddd1
Bump ruby version
bosunogunlana-ft Apr 1, 2025
12428a1
Update ci config ruby orb
bosunogunlana-ft Apr 1, 2025
435754b
Mark fundthrough changes
bosunogunlana-ft Apr 14, 2025
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
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
version: 2.1
orbs:
ruby: circleci/ruby@0.1.2
ruby: circleci/ruby@2.1.0

jobs:
build:
docker:
- image: circleci/ruby:2.3-stretch
- image: cimg/ruby:3.0.4
executor: ruby/default
steps:
- checkout
Expand Down
5 changes: 5 additions & 0 deletions .standard.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ruby_version: 2.3
ignore:
- lib/generators/audited/templates/**/*
- vendor/bundle/**/*
- gemfiles/vendor/bundle/**/*
58 changes: 0 additions & 58 deletions .travis.yml

This file was deleted.

52 changes: 48 additions & 4 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,60 @@ appraise 'rails51' do
gem "sqlite3", "~> 1.3.6"
end

appraise 'rails52' do
gem 'rails', '>= 5.2.0', '< 5.3'
appraise "rails52" do
gem "rails", "~> 5.2.8"
gem "mysql2", ">= 0.4.4", "< 0.6.0"
gem "pg", ">= 0.18", "< 2.0"
gem "sqlite3", "~> 1.3.6"
gem "psych", "~> 3.1"
gem "loofah", "2.20.0"
end

appraise 'rails60' do
gem 'rails', '>= 6.0.0.rc1', '< 6.1'
appraise "rails60" do
gem "rails", "~> 6.0.6"
gem "mysql2", ">= 0.4.4"
gem "pg", ">= 0.18", "< 2.0"
gem "sqlite3", "~> 1.4"
end

appraise "rails61" do
gem "rails", "~> 6.1.7"
gem "mysql2", ">= 0.4.4"
gem "pg", ">= 1.1", "< 2.0"
gem "sqlite3", "~> 1.4"
end

appraise "rails70" do
gem "rails", "~> 7.0.8"
gem "mysql2", ">= 0.4.4"
gem "pg", ">= 1.1"
gem "sqlite3", "~> 1.4"
end

appraise "rails71" do
gem "rails", "~> 7.1.3"
gem "mysql2", ">= 0.4.4"
gem "pg", ">= 1.1"
gem "sqlite3", "~> 1.4"
end

appraise "rails72" do
gem "rails", "~> 7.2.0"
gem "mysql2", "~> 0.5"
gem "pg", "~> 1.1"
gem "sqlite3", ">= 1.4"
end

appraise "rails80" do
gem "rails", "~> 8.0.0"
gem "mysql2", "~> 0.5"
gem "pg", "~> 1.1"
gem "sqlite3", ">= 1.4"
end

appraise "rails_main" do
gem "rails", github: "rails/rails", branch: "main"
gem "mysql2", "~> 0.5"
gem "pg", "~> 1.1"
gem "sqlite3", ">= 2.0"
end
189 changes: 188 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,193 @@
# Audited ChangeLog

## Unreleased
### 5.8.0 (2024-11-08)
- Allow calling audited multiple times - @mohammednasser-32
[734](https://github.com/collectiveidea/audited/pull/734)
- Relax gemspec to allow Rails 8.1 - @BranLiang
[738](https://github.com/collectiveidea/audited/pull/738)

### 5.7.0 (2024-08-13)

- Support for Rails 7.2 and Ruby 3.3, and testing cleanups - @mattbrictson
[#723](https://github.com/collectiveidea/audited/pull/723)
- Allow max_audits to be a proc or symbol - @gmhawash
[#718](https://github.com/collectiveidea/audited/pull/718)
- Support Rails 8 - @fernandomenolli
[#717](https://github.com/collectiveidea/audited/pull/717)


### 5.6.0 (2024-04-05)

- Removed support for Rails 5.0 and 5.1.
- Replace RequestStore with ActiveSupport::CurrentAttributes - @punkisdead
[#702](https://github.com/collectiveidea/audited/pull/702)

### 5.5.0 (2024-04-02)

- Bad release. Same code as 5.4.1. Use 5.6.0 for updated features.

### 5.4.3 (2024-01-11)

- Ignore readonly columns in audit - @sriddbs
[#692](https://github.com/collectiveidea/audited/pull/692)
- Robustify Rails version checks - @blaet
[#689](https://github.com/collectiveidea/audited/pull/689)
- Ignore callbacks if not specifed on the model
[#679](https://github.com/collectiveidea/audited/pull/679)

## 5.4.2 (2023-11-30)

- Revert replacing RequetStore with ActiveSupport::CurrentAttributes until it is fully tested.

## 5.4.1 (2023-11-30)

- Replace RequestStore with ActiveSupport::CurrentAttributes - @the-spectator
[#673](https://github.com/collectiveidea/audited/pull/673/)
- Don't require railtie when used outside of Rails - @nicduke38degrees
[#665](https://github.com/collectiveidea/audited/pull/665)

## 5.4.0 (2023-09-30)

- Add Rails 7.1 support - @yuki24
[#686](https://github.com/collectiveidea/audited/pull/686)

## 5.3.3 (2023-03-24)

- Use RequestStore instead of Thread.current for thread-safe requests - @tiagocassio
[#669](https://github.com/c ollectiveidea/audited/pull/669)
- Clean up Touch audits - @mcyoung, @akostadinov
[#668](https://github.com/collectiveidea/audited/pull/668)

## 5.3.2 (2023-02-22)

- Touch audit bug fixes - @mcyoung
[#662](https://github.com/collectiveidea/audited/pull/662)

## 5.3.1 (2023-02-21)

- Ensure touch support doesn't cause double audits - @mcyoung
[#660](https://github.com/collectiveidea/audited/pull/660)
- Testing Improvements - @vlad-psh
[#628](https://github.com/collectiveidea/audited/pull/628)
- Testing Improvements - @mcyoung
[#658](https://github.com/collectiveidea/audited/pull/658)

## 5.3.0 (2023-02-14)

- Audit touch calls - @mcyoung
[#657](https://github.com/collectiveidea/audited/pull/657)
- Allow using with Padrino and other non-Rails projects - @nicduke38degrees
[#655](https://github.com/collectiveidea/audited/pull/655)
- Testing updates - @jdufresne
[#652](https://github.com/collectiveidea/audited/pull/652)
[#653](https://github.com/collectiveidea/audited/pull/653)

## 5.2.0 (2023-01-23)

Improved

- config.audit_class can take a string or constant - @rocket-turtle
Fixes overzealous change in 5.1.0 where it only took a string.
[#648](https://github.com/collectiveidea/audited/pull/648)
- README link fix - @jeremiahlukus
[#646](https://github.com/collectiveidea/audited/pull/646)
- Typo fix in GitHub Actions - @jdufresne
[#644](https://github.com/collectiveidea/audited/pull/644)

## 5.1.0 (2022-12-23)

Changed

- config.audit_class takes a string - @simmerz
[#609](https://github.com/collectiveidea/audited/pull/609)
- Filter encrypted attributes automatically - @vlad-psh
[#630](https://github.com/collectiveidea/audited/pull/630)

Improved

- README improvements - @jess, @mstroming
[#605](https://github.com/collectiveidea/audited/pull/605)
[#640](https://github.com/collectiveidea/audited/issues/640)
- Ignore deadlocks in concurrent audit combinations - @Crammaman
[#621](https://github.com/collectiveidea/audited/pull/621)
- Fix timestamped_migrations deprecation warning - @shouichi
[#624](https://github.com/collectiveidea/audited/pull/624)
- Ensure audits are re-enabled after blocks - @dcorlett
[#632](https://github.com/collectiveidea/audited/pull/632)
- Replace raw string where clause with query methods - @macowie
[#642](https://github.com/collectiveidea/audited/pull/642)
- Test against more Ruby/Rails Versions - @enomotodev, @danielmorrison
[#610](https://github.com/collectiveidea/audited/pull/610)
[#643](https://github.com/collectiveidea/audited/pull/643)

## 5.0.2 (2021-09-16)

Added

- Relax ActiveRecord version constraint to support Rails 7
[#597](https://github.com/collectiveidea/audited/pull/597)

Improved

- Improve loading - @mvastola
[#592](https://github.com/collectiveidea/audited/pull/592)
- Update README - @danirod, @clement1234
[#596](https://github.com/collectiveidea/audited/pull/596)
[#594](https://github.com/collectiveidea/audited/pull/594)


## 5.0.1 (2021-06-11)

Improved

- Don't load associated model when auditing is disabled - @nut4k1
[#584](https://github.com/collectiveidea/audited/pull/584)

## 5.0.0 (2021-06-10)

Improved

- Fixes an issue where array attributes were not deserialized properly - @cfeckardt, @yuki24
[#448](https://github.com/collectiveidea/audited/pull/448)
[#576](https://github.com/collectiveidea/audited/pull/576)
- Improve error message on audit_comment and allow for i18n override - @james
[#523](https://github.com/collectiveidea/audited/pull/523/)
- Don't require a comment if only non-audited fields are changed - @james
[#522](https://github.com/collectiveidea/audited/pull/522/)
- Readme updates - @gourshete
[#525](https://github.com/collectiveidea/audited/pull/525)
- Allow restoring previous enum behavior with flag - @travisofthenorth
[#526](https://github.com/collectiveidea/audited/pull/526)
- Follow Rails Autoloading conventions - @duncanjbrown
[#532](https://github.com/collectiveidea/audited/pull/532)
- Fix own_and_associated_audits for STI Models - @eric-hemasystems
[#533](https://github.com/collectiveidea/audited/pull/533)
- Rails 6.1 Improvements - @okuramasafumi, @marcrohloff
[#563](https://github.com/collectiveidea/audited/pull/563)
[#544](https://github.com/collectiveidea/audited/pull/544)
- Use Thread local variables instead of Fibers - @arathunku
[#568](https://github.com/collectiveidea/audited/pull/568)

Changed

- Drop support for Rails 4 - @travisofthenorth
[#527](https://github.com/collectiveidea/audited/pull/527)

## 4.10.0 (2021-01-07)

Added

- Add redacted option
[#485](https://github.com/collectiveidea/audited/pull/485)
- Rails 6.1. support
[#554](https://github.com/collectiveidea/audited/pull/554)
[#559](https://github.com/collectiveidea/audited/pull/559)

Improved

- Avoid extra query on first audit version
[#513](https://github.com/collectiveidea/audited/pull/513)


## 4.9.0 (2019-07-17)

Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
source 'https://rubygems.org'
source "https://rubygems.org"

gemspec name: "audited"
Loading