activerecord-mysql-enum 2.4.1 → 2.4.2.pre.tstarck.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +1 -1
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/active_record/mysql/enum/quoting.rb +3 -3
- data/lib/active_record/mysql/enum/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1af66eedbfc14fa85f79085b36edac22699f4bd47221559c699b8c01a8bddc13
|
4
|
+
data.tar.gz: 60e49e152cf7f3780d46113e2f57e1e2329b55fcdff0891a1639b9bf3d247366
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e06c4e4178094ae6386bb8574437bd775e634b9afd5253c96808f2f7c295e1dc1e750b2b88a2cd7ed82b1ff2d5e7ae0e5315c25ac30259437650715291208243
|
7
|
+
data.tar.gz: 25f47d57a1f7cc7a3451662dd1fdf8fcfa984a18509c1e42ca8b8845c722549635b58bed15177b0518bf8f516107367122f8d6ba4102f52a0c7585bb0910be06
|
data/.github/workflows/test.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,10 @@ Inspired by [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|
4
4
|
|
5
5
|
Note: this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
6
6
|
|
7
|
+
## [2.4.2] - 2024-07-31
|
8
|
+
### Fixed
|
9
|
+
- Fixed bug in enum quoting to use the same connection.
|
10
|
+
|
7
11
|
## [2.4.1] - 2024-07-03
|
8
12
|
### Fixed
|
9
13
|
- Fixed bug in Rails 7.0.x where migrations failed when changing an enum column.
|
data/Gemfile.lock
CHANGED
@@ -8,10 +8,10 @@ module ActiveRecord
|
|
8
8
|
# Quote a symbol as a normal string. This will support quoting of
|
9
9
|
# enumerated values.
|
10
10
|
def quote(value)
|
11
|
-
if
|
12
|
-
__quote_enum(value)
|
11
|
+
if value.is_a? Symbol
|
12
|
+
__quote_enum(value.to_s)
|
13
13
|
else
|
14
|
-
|
14
|
+
__quote_enum(value)
|
15
15
|
end
|
16
16
|
end
|
17
17
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord-mysql-enum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.1
|
4
|
+
version: 2.4.2.pre.tstarck.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Pohodnya
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-07-
|
12
|
+
date: 2024-07-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|
@@ -97,9 +97,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
97
97
|
version: '3.0'
|
98
98
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
99
99
|
requirements:
|
100
|
-
- - "
|
100
|
+
- - ">"
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version:
|
102
|
+
version: 1.3.1
|
103
103
|
requirements: []
|
104
104
|
rubygems_version: 3.4.19
|
105
105
|
signing_key:
|