version: 2.1
orbs:
  ruby: circleci/ruby@0.1.2

jobs:
  test:
    docker:
      - image: circleci/ruby:2.7.1-stretch-node
    executor: ruby/default
    steps:
    - checkout
    - run:
        name: Which bundler?
        command: bundle -v
    - ruby/bundle-install
    - run:
        name: Run specs
        command: bundle exec rake spec
    - run:
        name: CodeClimate
        command: bundle exec codeclimate-test-reporter

workflows:
  version: 2.1
  test:
    jobs:
      - test


version: 2.1
orbs:
  ruby: circleci/ruby@0.1.2

jobs:
  test:
    docker:
      - image: cimg/ruby:2.7.1
    executor: ruby/default
    steps:
    - checkout
    - run:
        name: Which bundler?
        command: bundle -v
    - ruby/bundle-install
    - run:
        name: Run specs
        command: bundle exec rake spec
    - run:
        name: CodeClimate
        command: bundle exec codeclimate-test-reporter

workflows:
  version: 2.1
  test:
    jobs:
      - test


Switch to CircleCI convenience image
Switch to CircleCI convenience image

https://hub.docker.com/r/cimg/ruby/tags?page=4
