---
expeditor:
  defaults:
    buildkite:
      retry:
        automatic:
          limit: 1
      timeout_in_minutes: 30

steps:

- label: run-specs-ruby-2.4
  command:
    - .expeditor/run_linux_tests.sh rake
  expeditor:
    executor:
      docker:
        image: ruby:2.4-buster
- label: run-specs-ruby-2.5
  command:
    - .expeditor/run_linux_tests.sh rake
  expeditor:
    executor:
      docker:
        image: ruby:2.5-buster
- label: run-specs-ruby-2.6
  command:
    - .expeditor/run_linux_tests.sh rake
  expeditor:
    executor:
      docker:
        image: ruby:2.6-buster
- label: run-specs-ruby-2.7
  command:
    - .expeditor/run_linux_tests.sh rake
  expeditor:
    executor:
      docker:
        image: ruby:2.7-buster
- label: run-specs-windows
  command:
    - bundle install --jobs=7 --retry=3 --without docs debug
    - bundle exec rake spec
  expeditor:
    executor:
      docker:
        host_os: windows

---
expeditor:
  defaults:
    buildkite:
      retry:
        automatic:
          limit: 1
      timeout_in_minutes: 30

steps:

- label: run-specs-ruby-2.4
  command:
    - .expeditor/run_linux_tests.sh rake
  expeditor:
    executor:
      docker:
        image: ruby:2.4-buster
- label: run-specs-ruby-2.5
  command:
    - .expeditor/run_linux_tests.sh rake
  expeditor:
    executor:
      docker:
        image: ruby:2.5-buster
- label: run-specs-ruby-2.6
  command:
    - .expeditor/run_linux_tests.sh rake
  expeditor:
    executor:
      docker:
        image: ruby:2.6-buster
- label: run-specs-ruby-2.7
  command:
    - .expeditor/run_linux_tests.sh rake
  expeditor:
    executor:
      docker:
        image: ruby:2.7-buster
- label: run-specs-windows
  command:
    - bundle config set --local without docs debug
    - bundle install --jobs=7 --retry=3
    - bundle exec rake spec
  expeditor:
    executor:
      docker:
        host_os: windows

Replace deprecated --without flag with bundle config
Replace deprecated --without flag with bundle config

Signed-off-by: jayashri garud <0f1245af30a1e8ef8b8010dc1546c59bce64f44b@msystechnologies.com>
