version: 2

jobs:
  ruby-2.5:
    docker:
      - image: ruby:2.5.1
    steps:
      - checkout
      - run: bundle install
      - run: bundle exec rake
      - run: bundle exec rubocop

workflows:
  version: 2
  test:
    jobs:
      - ruby-2.5

version: 2

jobs:
  ruby-2.5:
    docker:
      - image: ruby:2.5.7
    steps:
      - checkout
      - run: bundle install
      - run: bundle exec rake
      - run: bundle exec rubocop

workflows:
  version: 2
  test:
    jobs:
      - ruby-2.5

Use the latest version of Ruby 2.5 on CircleCI
Use the latest version of Ruby 2.5 on CircleCI

Ref.
- https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-5-7-released/

The same as:
- https://github.com/kufu/kirico/commit/c6f1deaf9ca93a6099a4ca622f266e9543c74339
