dependencies:
  override:
    - ./bin/setup

test:
  override:
    - bundle exec rubocop
    - bundle exec rake spec

deployment:
  rubygems:
    branch: master
    commands:
      - curl -u Leko:$RUBYGEMS_PASSWORD https://rubygems.org/api/v1/api_key.yaml > ~/.gem/credentials; chmod 0600 ~/.gem/credentials
      - bundle exec rake build
      - bundle exec rake release

dependencies:
  override:
    - ./bin/setup

test:
  override:
    - bundle exec rubocop
    - bundle exec rake spec

deployment:
  rubygems:
    branch: master
    commands:
      - curl -u Leko:$RUBYGEMS_PASSWORD https://rubygems.org/api/v1/api_key.yaml > ~/.gem/credentials; chmod 0600 ~/.gem/credentials
      - git config user.name Leko
      - git config user.email $RUBYGEMS_EMAIL
      - bundle exec rake build
      - bundle exec rake release

Set git user setting for deploy to rubygems
chore: Set git user setting for deploy to rubygems
