# frozen_string_literal: true

source 'https://rubygems.org'

# Specify your gem's dependencies in .gemspec
gemspec

# Needed for the CLI only
group :runtime, :cli do
  gem 'dry-cli', '~> 1.4' # for arg parsing
  gem 'dry-cli-completion', '~> 2.0' # for shell completion
  gem 'paint', '~> 2.3' # for colorized ouput
end

# Needed for the CLI & library
group :runtime, :all do
  gem 'ctf-party', '~> 5.0' # string conversion
  gem 'twitter_cldr', '~> 6.13' # ICU / CLDR
  gem 'unicode-confusable', '~> 1.13' # confusable chars
end

# Workaround waiting for upstream bug fixes
group :runtime, :fixes do
  gem 'bigdecimal', '~> 4.1' # https://github.com/twitter/twitter-cldr-rb/pull/277
end

# Needed to install dependencies
group :development, :install do
  gem 'bundler', '~> 4.0'
end

# Needed to run tests
group :development, :test do
  gem 'minitest', '~> 6.0'
  gem 'minitest-skip', '~> 1.0' # skip dummy tests
  gem 'rake', '~> 13.4'
end

# Needed for linting
group :development, :lint do
  gem 'rubocop', '~> 1.88'
end

group :development, :docs do
  gem 'commonmarker', '~> 2.8' # for markdown support in YARD
  gem 'webrick', '~> 1.9' # for yard server
  gem 'yard', ['>= 0.9.43', '< 0.10']
  gem 'yard-coderay', '~> 0.1' # for syntax highlight support in YARD
end
