activerecord-mysql-enum 2.4.2.pre.tstarck.1 → 2.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1af66eedbfc14fa85f79085b36edac22699f4bd47221559c699b8c01a8bddc13
4
- data.tar.gz: 60e49e152cf7f3780d46113e2f57e1e2329b55fcdff0891a1639b9bf3d247366
3
+ metadata.gz: 33874535f30776d05cc3fe700cf376aa1127087c2c686106a71a2c272ce7a0c3
4
+ data.tar.gz: 90dd4796f6ce49ee56f003d7a54a36ecc3db857824bad18feeb52705e47ea83d
5
5
  SHA512:
6
- metadata.gz: e06c4e4178094ae6386bb8574437bd775e634b9afd5253c96808f2f7c295e1dc1e750b2b88a2cd7ed82b1ff2d5e7ae0e5315c25ac30259437650715291208243
7
- data.tar.gz: 25f47d57a1f7cc7a3451662dd1fdf8fcfa984a18509c1e42ca8b8845c722549635b58bed15177b0518bf8f516107367122f8d6ba4102f52a0c7585bb0910be06
6
+ metadata.gz: 4ed48df741f314383614f19e57575662a9a2f3aaee4470b9f99c1b4b31f74209ca982d309a4378a46e07960d73fb5b0041dbbab4a52a37ca6bdd0886bcc2fcfb
7
+ data.tar.gz: 45fc4c967343d90ee2e9af860bda00ec82c5a0a03991b3dbff751bc65e3f21f6716a86584d51b00f68b87918c693bfac1c1f79726d747bc4788f857cc0ceeb13
data/CHANGELOG.md CHANGED
@@ -5,8 +5,8 @@ Inspired by [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
5
5
  Note: this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
7
  ## [2.4.2] - 2024-07-31
8
- ### Fixed
9
- - Fixed bug in enum quoting to use the same connection.
8
+ ### Removed
9
+ - Removed unnecessary patching of ActiveRecord::ConnectionAdapters::Quoting module
10
10
 
11
11
  ## [2.4.1] - 2024-07-03
12
12
  ### Fixed
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- activerecord-mysql-enum (2.4.2.pre.tstarck.1)
4
+ activerecord-mysql-enum (2.4.2)
5
5
  activerecord (>= 5.2)
6
6
  mysql2 (>= 0.4.5)
7
7
 
@@ -86,7 +86,7 @@ GEM
86
86
  bundler
87
87
  rake
88
88
  thor (>= 0.14.0)
89
- appraisal-matrix (0.1.0)
89
+ appraisal-matrix (0.3.0)
90
90
  appraisal (~> 2.2)
91
91
  base64 (0.2.0)
92
92
  bigdecimal (3.1.8)
@@ -112,7 +112,7 @@ GEM
112
112
  i18n (1.14.5)
113
113
  concurrent-ruby (~> 1.0)
114
114
  io-console (0.7.2)
115
- irb (1.13.2)
115
+ irb (1.14.0)
116
116
  rdoc (>= 4.0.0)
117
117
  reline (>= 0.4.2)
118
118
  json (2.7.2)
@@ -153,7 +153,7 @@ GEM
153
153
  psych (5.1.2)
154
154
  stringio
155
155
  racc (1.8.0)
156
- rack (3.1.6)
156
+ rack (3.1.7)
157
157
  rack-session (2.0.0)
158
158
  rack (>= 3.0.0)
159
159
  rack-test (2.1.0)
@@ -201,13 +201,13 @@ GEM
201
201
  rspec-mocks (~> 3.13.0)
202
202
  rspec-core (3.13.0)
203
203
  rspec-support (~> 3.13.0)
204
- rspec-expectations (3.13.0)
204
+ rspec-expectations (3.13.1)
205
205
  diff-lcs (>= 1.2.0, < 2.0)
206
206
  rspec-support (~> 3.13.0)
207
207
  rspec-mocks (3.13.1)
208
208
  diff-lcs (>= 1.2.0, < 2.0)
209
209
  rspec-support (~> 3.13.0)
210
- rspec-rails (6.1.2)
210
+ rspec-rails (6.1.3)
211
211
  actionpack (>= 6.1)
212
212
  activesupport (>= 6.1)
213
213
  railties (>= 6.1)
@@ -3,7 +3,7 @@
3
3
  module ActiveRecord
4
4
  module Mysql
5
5
  module Enum
6
- VERSION = "2.4.2.pre.tstarck.1"
6
+ VERSION = "2.4.2"
7
7
  end
8
8
  end
9
9
  end
@@ -9,7 +9,6 @@ module ActiveRecord
9
9
  require 'active_record/mysql/enum/enum_type'
10
10
  require 'active_record/mysql/enum/enum_column_adapter'
11
11
  require 'active_record/mysql/enum/schema_definitions'
12
- require 'active_record/mysql/enum/quoting'
13
12
  require 'active_record/mysql/enum/validations'
14
13
  end
15
14
  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.2.pre.tstarck.1
4
+ version: 2.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Pohodnya
@@ -75,7 +75,6 @@ files:
75
75
  - lib/active_record/mysql/enum/enum_column_adapter.rb
76
76
  - lib/active_record/mysql/enum/enum_type.rb
77
77
  - lib/active_record/mysql/enum/mysql_adapter.rb
78
- - lib/active_record/mysql/enum/quoting.rb
79
78
  - lib/active_record/mysql/enum/schema_definitions.rb
80
79
  - lib/active_record/mysql/enum/validations.rb
81
80
  - lib/active_record/mysql/enum/version.rb
@@ -97,9 +96,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
97
96
  version: '3.0'
98
97
  required_rubygems_version: !ruby/object:Gem::Requirement
99
98
  requirements:
100
- - - ">"
99
+ - - ">="
101
100
  - !ruby/object:Gem::Version
102
- version: 1.3.1
101
+ version: '0'
103
102
  requirements: []
104
103
  rubygems_version: 3.4.19
105
104
  signing_key:
@@ -1,19 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module ActiveRecord
4
- module ConnectionAdapters # :nodoc:
5
- module Quoting
6
- alias __quote_enum quote
7
-
8
- # Quote a symbol as a normal string. This will support quoting of
9
- # enumerated values.
10
- def quote(value)
11
- if value.is_a? Symbol
12
- __quote_enum(value.to_s)
13
- else
14
- __quote_enum(value)
15
- end
16
- end
17
- end
18
- end
19
- end