---
version: 2.1

jobs:
  test:
    parameters:
      ruby_image:
        type: string

    docker:
    - image: << parameters.ruby_image >>

    steps:
    - checkout
    - run: if [[ "$(ruby -e 'puts RUBY_VERSION')" != 1.* ]]; then gem update --system; fi
    - run: bundle install
    - run: bundle exec rake

workflows:
  version: 2
  client_ruby:
    jobs:
    - test:
        matrix:
          parameters:
            ruby_image:
            - cimg/ruby:2.6
            - cimg/ruby:2.7
            - cimg/ruby:3.0
            - cimg/ruby:3.1
            - circleci/jruby:9.1
            - circleci/jruby:9.2

---
version: 2.1

jobs:
  test:
    parameters:
      ruby_image:
        type: string

    docker:
    - image: << parameters.ruby_image >>

    steps:
    - checkout
    - run: if [[ "$(ruby -e 'puts RUBY_VERSION')" != 1.* ]]; then gem update --system; fi
    - run: bundle install
    - run: bundle exec rake

workflows:
  version: 2
  client_ruby:
    jobs:
    - test:
        matrix:
          parameters:
            ruby_image:
            - cimg/ruby:2.6
            - cimg/ruby:2.7
            - cimg/ruby:3.0
            - cimg/ruby:3.1
            - circleci/jruby:9.1
            - circleci/jruby:9.2
            - circleci/jruby:9.3

Add JRuby 9.3 to the build matrix
Add JRuby 9.3 to the build matrix

I don't really follow JRuby any more, so this release passed me by, but
I figure it's worth adding to our build matrix.

Signed-off-by: Chris Sinjakli <711c73f64afdce07b7e38039a96d2224209e9a6c@sinjakli.co.uk>
