diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 532e79a..33b59e5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,10 +8,10 @@ jobs: strategy: fail-fast: false matrix: - ruby: [2.7, '3.0', '3.1', '3.2'] + ruby: ['2.7', '3.0', '3.1', '3.2'] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} diff --git a/.github/workflows/ci_jruby.yml b/.github/workflows/ci_jruby.yml index aead15d..3dc1884 100644 --- a/.github/workflows/ci_jruby.yml +++ b/.github/workflows/ci_jruby.yml @@ -11,7 +11,7 @@ jobs: ruby: [jruby, jruby-head] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} diff --git a/.github/workflows/ci_legacy.yml b/.github/workflows/ci_legacy.yml index f30c331..622f95c 100644 --- a/.github/workflows/ci_legacy.yml +++ b/.github/workflows/ci_legacy.yml @@ -11,7 +11,7 @@ jobs: ruby: [2.5, 2.6] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} diff --git a/.github/workflows/ci_truffleruby.yml b/.github/workflows/ci_truffleruby.yml index d4bad04..8237a8d 100644 --- a/.github/workflows/ci_truffleruby.yml +++ b/.github/workflows/ci_truffleruby.yml @@ -11,7 +11,7 @@ jobs: ruby: [truffleruby, truffleruby-head] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} diff --git a/lib/trailblazer/finder.rb b/lib/trailblazer/finder.rb index 546da7f..38673f2 100644 --- a/lib/trailblazer/finder.rb +++ b/lib/trailblazer/finder.rb @@ -5,31 +5,31 @@ require "dry-types" require "ostruct" -require "trailblazer/finder/utils/array" -require "trailblazer/finder/utils/hash" -require "trailblazer/finder/utils/string" -require "trailblazer/finder/utils/splitter" -require "trailblazer/finder/utils/extra" -require "trailblazer/finder/adapters/active_record/predicates" -require "trailblazer/finder/adapters/active_record/paging" -require "trailblazer/finder/adapters/active_record/sorting" -require "trailblazer/finder/adapters/kaminari/paging" -require "trailblazer/finder/adapters/will_paginate/paging" -require "trailblazer/finder/adapters/sequel/predicates" -require "trailblazer/finder/adapters/sequel/paging" -require "trailblazer/finder/adapters/sequel/sorting" -require "trailblazer/finder/adapters/basic/predicates" -require "trailblazer/finder/adapters/basic/paging" -require "trailblazer/finder/adapters/basic/sorting" -require "trailblazer/finder/activities/prepare" -require "trailblazer/finder/activities/process" -require "trailblazer/finder/activities/find" -require "trailblazer/finder/helpers/basic" -require "trailblazer/finder/helpers/sorting" -require "trailblazer/finder/dsl" -require "trailblazer/finder/find" -require "trailblazer/finder/base" -require "trailblazer/operation/finder" +require_relative "finder/utils/array" +require_relative "finder/utils/hash" +require_relative "finder/utils/string" +require_relative "finder/utils/splitter" +require_relative "finder/utils/extra" +require_relative "finder/adapters/active_record/predicates" +require_relative "finder/adapters/active_record/paging" +require_relative "finder/adapters/active_record/sorting" +require_relative "finder/adapters/kaminari/paging" +require_relative "finder/adapters/will_paginate/paging" +require_relative "finder/adapters/sequel/predicates" +require_relative "finder/adapters/sequel/paging" +require_relative "finder/adapters/sequel/sorting" +require_relative "finder/adapters/basic/predicates" +require_relative "finder/adapters/basic/paging" +require_relative "finder/adapters/basic/sorting" +require_relative "finder/activities/prepare" +require_relative "finder/activities/process" +require_relative "finder/activities/find" +require_relative "finder/helpers/basic" +require_relative "finder/helpers/sorting" +require_relative "finder/dsl" +require_relative "finder/find" +require_relative "finder/base" +require_relative "operation/finder" module Trailblazer class Finder