fibered_mysql2 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +2 -1
- data/lib/active_record/connection_adapters/fibered_mysql2_adapter.rb +2 -1
- data/lib/fibered_mysql2/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 225cf0ef6cb3df66126005bfc6a4371440ab608b29ea963844eb06e73cd7d246
|
4
|
+
data.tar.gz: b23527416fae27ac715336a587b91e34915b12458ff7847a5ddfd1e67dd583fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5dd796506d874c6cce296873e6f378d72d116a0491ef6d408cbd58366702573c11a525228ba7fe7801cae9808ea6a04dca1323f9eed1425222f9dcfb9ff0832d
|
7
|
+
data.tar.gz: 75edd0d65c74021b038c8668bce101e5b3baeecea48da3e237ff99e26d3a74dca7bb73337b909c22c43159669ed268252614c156a57b1ed77077f3fd8817f222
|
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
|
+
## [0.1.3] - 2021-06-17
|
8
|
+
### Fixed
|
9
|
+
- When checking that @owner is a Fiber, allow nil.
|
10
|
+
|
7
11
|
## [0.1.2] - 2021-06-16
|
8
12
|
### Fixed
|
9
13
|
- Added checking to be certain that @owner is never overwritten with a non-Fiber by another mixin.
|
@@ -23,6 +27,7 @@ Note: this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0
|
|
23
27
|
- Added TravisCI unit test pipeline.
|
24
28
|
- Added coverage reports via Coveralls.
|
25
29
|
|
30
|
+
[0.1.3]: https://github.com/Invoca/fibered_mysql2/compare/v0.1.2..v0.1.3
|
26
31
|
[0.1.2]: https://github.com/Invoca/fibered_mysql2/compare/v0.1.1..v0.1.2
|
27
32
|
[0.1.1]: https://github.com/Invoca/fibered_mysql2/compare/v0.1.0..v0.1.1
|
28
33
|
[0.1.0]: https://github.com/Invoca/fibered_mysql2/tree/v0.1.0
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -8,7 +8,7 @@ GIT
|
|
8
8
|
PATH
|
9
9
|
remote: .
|
10
10
|
specs:
|
11
|
-
fibered_mysql2 (0.1.
|
11
|
+
fibered_mysql2 (0.1.3)
|
12
12
|
em-synchrony (~> 1.0)
|
13
13
|
rails (>= 4.2, < 7)
|
14
14
|
|
@@ -198,6 +198,7 @@ DEPENDENCIES
|
|
198
198
|
mysql2 (= 0.4.5)
|
199
199
|
pry (~> 0.13)
|
200
200
|
pry-byebug (~> 3.9)
|
201
|
+
rails (< 6.1)
|
201
202
|
rake (~> 10.0)
|
202
203
|
rspec (~> 3.0)
|
203
204
|
|
@@ -65,7 +65,8 @@ module FiberedMysql2
|
|
65
65
|
private
|
66
66
|
|
67
67
|
def owner_fiber
|
68
|
-
@owner.is_a?(Fiber) or
|
68
|
+
@owner.nil? || @owner.is_a?(Fiber) or
|
69
|
+
raise "@owner must be a Fiber! Found #{@owner.inspect}"
|
69
70
|
@owner
|
70
71
|
end
|
71
72
|
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.
|
4
|
+
version: 0.1.3
|
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-
|
11
|
+
date: 2021-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: em-synchrony
|