Skip to content

Commit 7f0707b

Browse files
authored
OCTO-367 remove usage of em-synchrony active record adapter (#19)
* stop using em-synchrony as base adapter * remove rails 6 gemfile * add logger * only run on push * remove transaction manager override * remove unused initialize * allow rails 7.1 * only include specific code for version 7.0 / 7.1 * bump to 0.4
1 parent 144732b commit 7f0707b

16 files changed

+255
-291
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: FiberedMySQL2 Gem Build
3-
on: [push, pull_request]
3+
on: [push]
44
jobs:
55
test:
66
name: Unit Tests
@@ -11,8 +11,8 @@ jobs:
1111
ruby: [3.1, 3.2, 3.3]
1212
gemfile:
1313
- Gemfile
14-
- gemfiles/rails_6_1.gemfile
1514
- gemfiles/rails_7_0.gemfile
15+
- gemfiles/rails_7_1.gemfile
1616
env:
1717
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
1818
steps:

Appraisals

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
require "appraisal/matrix"
44

5-
appraisal_matrix(rails: [">= 6.1", "< 7.1"])
5+
appraisal_matrix(rails: [">= 7.0", "< 7.2"])

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ Inspired by [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
44

55
Note: this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [0.4.0] - 2025-08-21
8+
### Added
9+
- Support for Rails 7.1.
10+
11+
### Removed
12+
- Removed support for Rails 6.
13+
- Removed usage of EventMachine::Synchrony ActiveRecord Mysql adapter. This adapter code was extremely old and we were overriding their patches back to the current ActiveRecord version.
14+
715
## [0.3.1] - 2024-10-30
816
### Fixed
917
- Fixed bug in FiberedMysqlAdapter.new_client that was causing `uninitialized constant` errors.

Gemfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@ gemspec
77

88
gem 'appraisal'
99
gem 'appraisal-matrix'
10-
gem 'coveralls', require: false
1110
gem 'mysql2', '~> 0.5'
1211
gem 'nokogiri'
1312
gem 'pry'
1413
gem 'pry-byebug'
1514
gem 'rake'
16-
gem 'rspec'
15+
gem 'rspec', '< 3.13'

0 commit comments

Comments
 (0)