Skip to content

Commit

Permalink
fix jruby build
Browse files Browse the repository at this point in the history
  • Loading branch information
seuros committed Oct 10, 2023
1 parent 15e4b4c commit 8f55640
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci_jruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
fail-fast: false
matrix:
ruby: [jruby, jruby-head]
env:
AR_VERSION: 7.0.0
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ platforms :jruby do
end
gem "sqlite3", platform: [:mri, :truffleruby]

gem 'activerecord', "~> #{ENV['AR_VERSION'] || '7.1.0'}"
# Had to add this for a bit, since none of the latest changes have been pushed to gems yet
# gem "trailblazer", github: "trailblazer/trailblazer"
# gem "trailblazer-operation", github: "trailblazer/trailblazer-operation"
Expand Down
3 changes: 3 additions & 0 deletions lib/trailblazer/operation/finder.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
module Trailblazer
class Operation
def self.Finder(finder_class, action = nil, entity = nil)
Trailblazer::Activity::Circuit::TaskAdapter.for_step(

)
task = Trailblazer::Activity::TaskBuilder::Binary(Finder.new)
injections = [
:params,
Expand Down

0 comments on commit 8f55640

Please sign in to comment.