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 1, 2023
1 parent 6349a00 commit 95793d1
Show file tree
Hide file tree
Showing 5 changed files with 97 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
- trilogy
include:
- gemfile: grpc
adapter: grpc
Expand All @@ -134,6 +135,8 @@ jobs:
adapter: redis
- gemfile: redis_client
adapter: redis_client
- gemfile: trilogy
adapter: 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 @@ -11,6 +11,7 @@
Replace `Timecop.travel` for tests with custom mock solution to support monotonic clocks.
* Refactor: Replace `Time.now` with `CLOCK_MONOTONIC` in `CircuitBreaker`. (#441)
* Support Ruby 3.2.0. (#463)
* Support Trilogy Active Record 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
[trilogy-semian-adapter]: lib/semian/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
18 changes: 18 additions & 0 deletions gemfiles/trilogy.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# 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: "adrianna-chang-shopify/activerecord-trilogy-adapter",
branch: "ac-translate-new-error-classes"
gem "activerecord", github: "rails/rails"

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

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

0 comments on commit 95793d1

Please sign in to comment.