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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 61e5ef9a735b128f2e0fb4f3f22f43d8e085a18d6f7108482ffdebb469e62cab
4
- data.tar.gz: 82f879101b6f305922d960560dafd44de66d655cbc57449a0f26ac33f9cee2cf
3
+ metadata.gz: 1af66eedbfc14fa85f79085b36edac22699f4bd47221559c699b8c01a8bddc13
4
+ data.tar.gz: 60e49e152cf7f3780d46113e2f57e1e2329b55fcdff0891a1639b9bf3d247366
5
5
  SHA512:
6
- metadata.gz: 0dbe7052112cc128e90221e2ac7658226d9939141a9949671e37d7091134ca94ab92cd5dfa9e60c5d021b4f328003a400d692358d735ef8196d937a0062643eb
7
- data.tar.gz: 75558e56ae4818a31187fa5c47d082fb98c407e5782e7cb8c2aaf06e65a86758d2dbf480d4031fcf5f48cc936af047977acd14f1bb3b4d530a2aab3fe46bf2b9
6
+ metadata.gz: e06c4e4178094ae6386bb8574437bd775e634b9afd5253c96808f2f7c295e1dc1e750b2b88a2cd7ed82b1ff2d5e7ae0e5315c25ac30259437650715291208243
7
+ data.tar.gz: 25f47d57a1f7cc7a3451662dd1fdf8fcfa984a18509c1e42ca8b8845c722549635b58bed15177b0518bf8f516107367122f8d6ba4102f52a0c7585bb0910be06
@@ -43,6 +43,6 @@ jobs:
43
43
  build_success:
44
44
  name: Build Success
45
45
  runs-on: ubuntu-latest
46
- needs: tests
46
+ needs: test
47
47
  steps:
48
48
  - run: echo Done!
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- activerecord-mysql-enum (2.4.1)
4
+ activerecord-mysql-enum (2.4.2.pre.tstarck.1)
5
5
  activerecord (>= 5.2)
6
6
  mysql2 (>= 0.4.5)
7
7
 
@@ -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 !value.is_a? Symbol
12
- __quote_enum(value)
11
+ if value.is_a? Symbol
12
+ __quote_enum(value.to_s)
13
13
  else
14
- ActiveRecord::Base.send(:quote_bound_value, value.to_s)
14
+ __quote_enum(value)
15
15
  end
16
16
  end
17
17
  end
@@ -3,7 +3,7 @@
3
3
  module ActiveRecord
4
4
  module Mysql
5
5
  module Enum
6
- VERSION = "2.4.1"
6
+ VERSION = "2.4.2.pre.tstarck.1"
7
7
  end
8
8
  end
9
9
  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-03 00:00:00.000000000 Z
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: '0'
102
+ version: 1.3.1
103
103
  requirements: []
104
104
  rubygems_version: 3.4.19
105
105
  signing_key: