Sha256: 5bff83511a40c07bf43c1c691b6b79ca38a430d273ad344cdcaa136bfa7a6dc2

Contents?: true

Size: 1.98 KB

Versions: 4

Compression:

Stored size: 1.98 KB

Contents

# Copyright (c) 2020 Jerome Arbez-Gindre
# frozen_string_literal: true

source 'https://rubygems.org'

gemspec

ruby RUBY_VERSION

# rubocop:disable Metrics/BlockLength
group :development do
  # cucumber steps for command line tests
  gem 'aruba',                 '~> 2'
  # bdd
  gem 'cucumber',              '~> 9'

  # code duplication
  gem 'flay',                  '~> 2'

  # automatic test run
  gem 'guard',                 '~> 2'
  # automatic update invocation
  gem 'guard-bundler',         '~> 3'
  if RUBY_VERSION >= '3.0'
    # automatic style check
    gem 'guard-reek', '~> 1.2'
  end
  # automatic tdd
  gem 'guard-rspec',           '~> 4'
  # automatic style check
  gem 'guard-rubocop',         '~> 1'

  if RUBY_VERSION >= '3.0'
    # mutation testing
    plan = 'oss'
    key = '7oac4dMz95cTUuFPtGDfTDSQep6ZhdGW'
    source "https://#{plan}:#{key}@gem.mutant.dev" do
      # license needed
      gem 'mutant-license', '~> 0'
    end
    # mutation testing
    gem 'mutant-rspec', '~> 0'
  end
  # to parse and execute Rakefile
  gem 'rake', '~> 13'

  if RUBY_VERSION >= '3.0'
    # needed by yard to render documentation
    gem 'rdoc', '~> 6'
  end
  # tdd
  gem 'rspec',                 '~> 3'
  # # to test performances
  # gem 'rspec-benchmark',       '~> 0'
  # code needs to be clean
  gem 'rubocop',               '1.68'
  # code needs to be clean
  gem 'rubocop-performance',   '~> 1'
  # test code needs to be clean
  gem 'rubocop-rspec',         '~> 3'
  # Rakefiles need to be clean
  gem 'rubocop-rake',          '~> 0'

  if RUBY_VERSION >= '3.0'
    # detect selling code
    gem 'reek', '~> 6'
    # my code needs to be critiqued
    gem 'rubycritic', '~> 4'
    # Doc need to be clean
    gem 'rubocop-yard', '~> 0'
  end

  # What is tdd without code coverage ?
  gem 'simplecov', '~> 0'

  if RUBY_VERSION >= '3.0'
    # to document code
    gem 'yard', '~> 0'
  end
end
# rubocop:enable Metrics/BlockLength

group :debugging do
  # Sometimes, we need to debug
  gem 'pry', '~> 0'
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
defmastership-1.3.0 Gemfile
defmastership-1.2.0 Gemfile
defmastership-1.1.1 Gemfile
defmastership-1.1.0 Gemfile