fibered_mysql2 0.1.3 → 0.1.4.pre.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: 225cf0ef6cb3df66126005bfc6a4371440ab608b29ea963844eb06e73cd7d246
4
- data.tar.gz: b23527416fae27ac715336a587b91e34915b12458ff7847a5ddfd1e67dd583fa
3
+ metadata.gz: 9063356fe2e39d46d7059f916a3e4c319371ce24e6733c6a3e4f557c6089b94c
4
+ data.tar.gz: 768fba3653c38a986833b61bd5fa4ba194dca8e18c7792b978774844589ab7ca
5
5
  SHA512:
6
- metadata.gz: 5dd796506d874c6cce296873e6f378d72d116a0491ef6d408cbd58366702573c11a525228ba7fe7801cae9808ea6a04dca1323f9eed1425222f9dcfb9ff0832d
7
- data.tar.gz: 75edd0d65c74021b038c8668bce101e5b3baeecea48da3e237ff99e26d3a74dca7bb73337b909c22c43159669ed268252614c156a57b1ed77077f3fd8817f222
6
+ metadata.gz: f7f2e77c106191965bebbff721ad7a9d9530195b4eeb970c5ede4f5bfac9fefe91992ddd5e551eb688571db8ed02266f24b8f821db2d25f81369128e0db859ca
7
+ data.tar.gz: c3c9470e559721f63934bbcf9502b662c0ea888f2b0986266db8778ea192609e2564aeca64eaaebf100714dd36504b4e6dac91565036f3732f9f59f0b7054914
data/CHANGELOG.md CHANGED
@@ -4,6 +4,11 @@ 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
+ ## [0.1.4] - Unreleased
8
+ ### Fixed
9
+ - Disable the ConnectionPool::Reaper in Rails 5 and 6 as it was in 4. This is important since it is
10
+ threaded, not fibered.
11
+
7
12
  ## [0.1.3] - 2021-06-17
8
13
  ### Fixed
9
14
  - When checking that @owner is a Fiber, allow nil.
@@ -27,6 +32,7 @@ Note: this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0
27
32
  - Added TravisCI unit test pipeline.
28
33
  - Added coverage reports via Coveralls.
29
34
 
35
+ [0.1.4]: https://github.com/Invoca/fibered_mysql2/compare/v0.1.3..v0.1.4
30
36
  [0.1.3]: https://github.com/Invoca/fibered_mysql2/compare/v0.1.2..v0.1.3
31
37
  [0.1.2]: https://github.com/Invoca/fibered_mysql2/compare/v0.1.1..v0.1.2
32
38
  [0.1.1]: https://github.com/Invoca/fibered_mysql2/compare/v0.1.0..v0.1.1
data/Gemfile.lock CHANGED
@@ -8,7 +8,7 @@ GIT
8
8
  PATH
9
9
  remote: .
10
10
  specs:
11
- fibered_mysql2 (0.1.3)
11
+ fibered_mysql2 (0.1.4.pre.1)
12
12
  em-synchrony (~> 1.0)
13
13
  rails (>= 4.2, < 7)
14
14
 
@@ -173,6 +173,7 @@ module FiberedMysql2
173
173
 
174
174
  def initialize(connection_spec, *args, **keyword_args)
175
175
  connection_spec.config[:reaping_frequency] and raise "reaping_frequency is not supported (the ActiveRecord Reaper is thread-based)"
176
+ connection_spec.config[:reaping_frequency] = nil # starting in Rails 5, this defaults to 60 if not explicitly set
176
177
 
177
178
  super(connection_spec, *args, **keyword_args)
178
179
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FiberedMysql2
4
- VERSION = "0.1.3"
4
+ VERSION = "0.1.4.pre.1"
5
5
  end
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: 0.1.3
4
+ version: 0.1.4.pre.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Invoca Development
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-06-17 00:00:00.000000000 Z
11
+ date: 2021-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: em-synchrony
@@ -88,9 +88,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
88
88
  version: '0'
89
89
  required_rubygems_version: !ruby/object:Gem::Requirement
90
90
  requirements:
91
- - - ">="
91
+ - - ">"
92
92
  - !ruby/object:Gem::Version
93
- version: '0'
93
+ version: 1.3.1
94
94
  requirements: []
95
95
  rubygems_version: 3.0.1
96
96
  signing_key: