diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b2e453..4578c2f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ### Unreleased +### 2.1.2 + +* Fix counter cache migration version for older Rails + ### 2.1.1 * Fix duplicate column in migrations. diff --git a/Gemfile.lock b/Gemfile.lock index bad0a53..a8b02c5 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - noticed (2.1.1) + noticed (2.1.2) rails (>= 6.1.0) GEM diff --git a/db/migrate/20240129184740_add_notifications_count_to_noticed_event.rb b/db/migrate/20240129184740_add_notifications_count_to_noticed_event.rb index 77c32ef..a20bf4f 100644 --- a/db/migrate/20240129184740_add_notifications_count_to_noticed_event.rb +++ b/db/migrate/20240129184740_add_notifications_count_to_noticed_event.rb @@ -1,4 +1,4 @@ -class AddNotificationsCountToNoticedEvent < ActiveRecord::Migration[7.1] +class AddNotificationsCountToNoticedEvent < ActiveRecord::Migration[6.1] def change add_column :noticed_events, :notifications_count, :integer end diff --git a/gemfiles/rails_6_1.gemfile.lock b/gemfiles/rails_6_1.gemfile.lock index f1cb3e7..c9b1df1 100644 --- a/gemfiles/rails_6_1.gemfile.lock +++ b/gemfiles/rails_6_1.gemfile.lock @@ -1,7 +1,7 @@ PATH remote: .. specs: - noticed (2.1.1) + noticed (2.1.2) rails (>= 6.1.0) GEM diff --git a/gemfiles/rails_7.gemfile.lock b/gemfiles/rails_7.gemfile.lock index f885a5d..50b5896 100644 --- a/gemfiles/rails_7.gemfile.lock +++ b/gemfiles/rails_7.gemfile.lock @@ -1,7 +1,7 @@ PATH remote: .. specs: - noticed (2.1.1) + noticed (2.1.2) rails (>= 6.1.0) GEM diff --git a/gemfiles/rails_7_1.gemfile.lock b/gemfiles/rails_7_1.gemfile.lock index 38d6286..6383f1d 100644 --- a/gemfiles/rails_7_1.gemfile.lock +++ b/gemfiles/rails_7_1.gemfile.lock @@ -1,7 +1,7 @@ PATH remote: .. specs: - noticed (2.1.1) + noticed (2.1.2) rails (>= 6.1.0) GEM diff --git a/gemfiles/rails_main.gemfile.lock b/gemfiles/rails_main.gemfile.lock index 30429f4..0886b63 100644 --- a/gemfiles/rails_main.gemfile.lock +++ b/gemfiles/rails_main.gemfile.lock @@ -97,7 +97,7 @@ GIT PATH remote: .. specs: - noticed (2.1.1) + noticed (2.1.2) rails (>= 6.1.0) GEM diff --git a/lib/noticed/version.rb b/lib/noticed/version.rb index 41b5691..4d01bed 100644 --- a/lib/noticed/version.rb +++ b/lib/noticed/version.rb @@ -1,3 +1,3 @@ module Noticed - VERSION = "2.1.1" + VERSION = "2.1.2" end