Skip to content

Commit

Permalink
Add gemfiles for trilogy, CI steps, update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianna-chang-shopify committed Feb 7, 2023
1 parent 01b01b7 commit 6efa26e
Show file tree
Hide file tree
Showing 5 changed files with 95 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ jobs:
- redis_4
- redis_5
- redis_client
- activerecord_trilogy_adapter
include:
- gemfile: grpc
adapter: grpc
Expand All @@ -134,6 +135,8 @@ jobs:
adapter: redis
- gemfile: redis_client
adapter: redis_client
- gemfile: activerecord_trilogy_adapter
adapter: activerecord_trilogy_adapter
services:
mysql:
image: mysql:5.7
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* Refactor: Replace `Time.now` with `CLOCK_MONOTONIC` in `CircuitBreaker`. (#441)
* Support Ruby 3.2.0. (#463)
* Enable write barrier protection on Resource. (#469)
* Support Active Record Trilogy adapter. (#468)

# v0.16.0

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -859,6 +859,7 @@ $ bundle install
[mysql-semian-adapter]: lib/semian/mysql2.rb
[postgres-semian-adapter]: https://github.com/mschoenlaub/semian-postgres
[redis-semian-adapter]: lib/semian/redis.rb
[activerecord-trilogy-semian-adapter]: lib/semian/activerecord_trilogy_adapter.rb
[semian-adapter]: lib/semian/adapter.rb
[nethttp-semian-adapter]: lib/semian/net_http.rb
[nethttp-default-errors]: lib/semian/net_http.rb#L35-L45
Expand Down
16 changes: 16 additions & 0 deletions gemfiles/activerecord_trilogy_adapter.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# frozen_string_literal: true

source "https://rubygems.org"

gem "rake"
gem "rake-compiler"
gem "minitest"
gem "mocha"
gem "toxiproxy"
gem "webrick"

gem "trilogy", github: "github/trilogy", branch: "main", glob: "contrib/ruby/*.gemspec"
gem "activerecord-trilogy-adapter", github: "github/activerecord-trilogy-adapter", branch: "main"
gem "activerecord", github: "rails/rails"

gemspec path: "../"
74 changes: 74 additions & 0 deletions gemfiles/activerecord_trilogy_adapter.gemfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6efa26e

Please sign in to comment.