Skip to content

Commit 7ebb8a0

Browse files
authored
STORY-18969 simplify quoting enums code (#49)
* remove unncessary quoting code
1 parent e3b686b commit 7ebb8a0

File tree

5 files changed

+6
-22
lines changed

5 files changed

+6
-22
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ Inspired by [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
44

55
Note: this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [2.4.2] - 2024-07-31
8+
### Removed
9+
- Removed unnecessary patching of ActiveRecord::ConnectionAdapters::Quoting module
10+
711
## [2.4.1] - 2024-07-03
812
### Fixed
913
- Fixed bug in Rails 7.0.x where migrations failed when changing an enum column.

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
activerecord-mysql-enum (2.4.1)
4+
activerecord-mysql-enum (2.4.2)
55
activerecord (>= 5.2)
66
mysql2 (>= 0.4.5)
77

lib/active_record/mysql/enum.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ def initialize!
99
require 'active_record/mysql/enum/enum_type'
1010
require 'active_record/mysql/enum/enum_column_adapter'
1111
require 'active_record/mysql/enum/schema_definitions'
12-
require 'active_record/mysql/enum/quoting'
1312
require 'active_record/mysql/enum/validations'
1413
end
1514
end

lib/active_record/mysql/enum/quoting.rb

Lines changed: 0 additions & 19 deletions
This file was deleted.

lib/active_record/mysql/enum/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
module ActiveRecord
44
module Mysql
55
module Enum
6-
VERSION = "2.4.1"
6+
VERSION = "2.4.2"
77
end
88
end
99
end

0 commit comments

Comments
 (0)
close