fibered_mysql2 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/build.yml +1 -0
- data/Appraisals +1 -1
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +8 -8
- data/README.md +2 -2
- data/fibered_mysql2.gemspec +1 -1
- data/gemfiles/rails_7_0.gemfile +16 -0
- data/lib/active_record/connection_adapters/fibered_mysql2_adapter.rb +0 -2
- data/lib/fibered_mysql2/fibered_database_connection_pool.rb +0 -2
- data/lib/fibered_mysql2/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 679fc8c0aeb37b8b8c5a44ba327cfef4cb5a5a5af5fcfaf12f850cddfa13e40c
|
4
|
+
data.tar.gz: b28cdeb0531f19367f69a26a5ef542cbdfe70d3a13876f8d4a0da0adb5757be0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc63bd7415ff22aa3e971744693229a3057040d0fc87f4dfd7b31cbb5b003e7303eee16e408141bf57ce208b1cf520d34c4d7f1ad993feb5e7d84865897f1199
|
7
|
+
data.tar.gz: f437accad4bb71683257fe97d117c4c8353eac674a48cc02af8fc2b86348e369d6a36062f971c119365999e1c07dd8f5789f6389e37bcc86ed4747c71e8a567e
|
data/.github/workflows/build.yml
CHANGED
data/Appraisals
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
|
+
## [1.1.0] - 2024-10-23
|
8
|
+
### Added
|
9
|
+
- Support for Rails 7.0
|
10
|
+
|
7
11
|
## [1.0.1] - 2024-08-19
|
8
12
|
### Fixed
|
9
13
|
- Fixed issues in Rails 6.1+
|
data/Gemfile.lock
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
fibered_mysql2 (1.0
|
4
|
+
fibered_mysql2 (1.1.0)
|
5
5
|
async
|
6
|
-
rails (>= 6, < 7)
|
6
|
+
rails (>= 6, < 7.1)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
@@ -73,7 +73,7 @@ GEM
|
|
73
73
|
thor (>= 0.14.0)
|
74
74
|
appraisal-matrix (0.3.0)
|
75
75
|
appraisal (~> 2.2)
|
76
|
-
async (2.
|
76
|
+
async (2.17.0)
|
77
77
|
console (~> 1.26)
|
78
78
|
fiber-annotation
|
79
79
|
io-event (~> 1.6, >= 1.6.5)
|
@@ -103,9 +103,9 @@ GEM
|
|
103
103
|
fiber-storage (1.0.0)
|
104
104
|
globalid (1.2.1)
|
105
105
|
activesupport (>= 6.1)
|
106
|
-
i18n (1.14.
|
106
|
+
i18n (1.14.6)
|
107
107
|
concurrent-ruby (~> 1.0)
|
108
|
-
io-event (1.
|
108
|
+
io-event (1.7.3)
|
109
109
|
json (2.7.2)
|
110
110
|
loofah (2.22.0)
|
111
111
|
crass (~> 1.0.2)
|
@@ -121,7 +121,7 @@ GEM
|
|
121
121
|
mini_portile2 (2.8.7)
|
122
122
|
minitest (5.25.1)
|
123
123
|
mysql2 (0.5.6)
|
124
|
-
net-imap (0.
|
124
|
+
net-imap (0.5.0)
|
125
125
|
date
|
126
126
|
net-protocol
|
127
127
|
net-pop (0.1.2)
|
@@ -141,7 +141,7 @@ GEM
|
|
141
141
|
byebug (~> 11.0)
|
142
142
|
pry (>= 0.13, < 0.15)
|
143
143
|
racc (1.8.1)
|
144
|
-
rack (2.2.
|
144
|
+
rack (2.2.10)
|
145
145
|
rack-test (2.1.0)
|
146
146
|
rack (>= 1.3)
|
147
147
|
rails (6.1.7.8)
|
@@ -211,7 +211,7 @@ GEM
|
|
211
211
|
websocket-driver (0.7.6)
|
212
212
|
websocket-extensions (>= 0.1.0)
|
213
213
|
websocket-extensions (0.1.5)
|
214
|
-
zeitwerk (2.6.
|
214
|
+
zeitwerk (2.6.18)
|
215
215
|
|
216
216
|
PLATFORMS
|
217
217
|
ruby
|
data/README.md
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
# FiberedMysql2
|
4
4
|
|
5
|
-
FiberedMysql2 adds Fiber support to `ActiveRecord::ConnectionAdapters::Mysql2Adapter` for Rails
|
6
|
-
This is a stop-gap until Rails 7, which adds `isolation_level: :fiber` to `ActiveRecord
|
5
|
+
FiberedMysql2 adds Fiber support to `ActiveRecord::ConnectionAdapters::Mysql2Adapter` for Rails versions < `7.1`.
|
6
|
+
This is a stop-gap until Rails 7.1, which adds `isolation_level: :fiber` to `ActiveRecord` connection pooling.
|
7
7
|
|
8
8
|
## Installation
|
9
9
|
|
data/fibered_mysql2.gemspec
CHANGED
@@ -0,0 +1,16 @@
|
|
1
|
+
# This file was generated by Appraisal
|
2
|
+
|
3
|
+
source "https://rubygems.org"
|
4
|
+
|
5
|
+
gem "appraisal"
|
6
|
+
gem "appraisal-matrix"
|
7
|
+
gem "coveralls", require: false
|
8
|
+
gem "mysql2", "~> 0.5"
|
9
|
+
gem "nokogiri"
|
10
|
+
gem "pry"
|
11
|
+
gem "pry-byebug"
|
12
|
+
gem "rake"
|
13
|
+
gem "rspec"
|
14
|
+
gem "rails", "~> 7.0.0"
|
15
|
+
|
16
|
+
gemspec path: "../"
|
@@ -61,8 +61,6 @@ module FiberedMysql2
|
|
61
61
|
end
|
62
62
|
|
63
63
|
class FiberedMysql2Adapter < ::ActiveRecord::ConnectionAdapters::Mysql2Adapter
|
64
|
-
ActiveRecord::VERSION::MAJOR == 6 or raise ArgumentError, "unexpected Rails version #{ActiveRecord::VERSION::MAJOR}"
|
65
|
-
|
66
64
|
include FiberedMysql2Adapter_6
|
67
65
|
|
68
66
|
def initialize(*args)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fibered_mysql2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Invoca Development
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
version: '6'
|
34
34
|
- - "<"
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version: '7'
|
36
|
+
version: '7.1'
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '6'
|
44
44
|
- - "<"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '7'
|
46
|
+
version: '7.1'
|
47
47
|
description:
|
48
48
|
email:
|
49
49
|
- development@invoca.com
|
@@ -70,6 +70,7 @@ files:
|
|
70
70
|
- gemfiles/.bundle/config
|
71
71
|
- gemfiles/rails_6_0.gemfile
|
72
72
|
- gemfiles/rails_6_1.gemfile
|
73
|
+
- gemfiles/rails_7_0.gemfile
|
73
74
|
- lib/active_record/connection_adapters/fibered_mysql2_adapter.rb
|
74
75
|
- lib/fibered_mysql2.rb
|
75
76
|
- lib/fibered_mysql2/fibered_database_connection_pool.rb
|