# frozen_string_literal: true

source 'https://rubygems.org'

gemspec

group :runtime, :cli do
  gem 'activesupport', '~> 7.2' # for human-reabdle formater helper
  gem 'docopt', '~> 0.6' # for argument parsing
  gem 'fileutils', '~> 1.7', '>= 1.7.3' # moved out from stdlib in Ruby 3.4
  gem 'pastel', '~> 0.8' # for colorized ouput
  gem 'sxdg', '~> 1.0' # for XDG path handling
  gem 'tty-logger', '~> 0.6' # for CLI event logging
  gem 'tty-prompt', '~> 0.23' # for input handling
end

group :development, :install do
  gem 'bundler', '~> 4.0'
end

group :development, :test do
  # gem 'minitest', '~> 5.22'
  # gem 'rake', '~> 13.1'
end

group :development, :lint do
  gem 'rubocop', '~> 1.81'
  gem 'solargraph', '~> 0.57'
end

group :development, :docs do
  gem 'commonmarker', '~> 2.6', '>= 2.6.1' # for markdown support in YARD
  gem 'irb' # https://github.com/lsegal/yard/issues/1636
  gem 'logger' # https://github.com/lsegal/yard/issues/1636
  gem 'ostruct' # https://github.com/lsegal/yard/issues/1636
  gem 'webrick', '~> 1.9' # web server for YARD
  # gem 'yard', ['>= 0.9.27', '< 0.10'] # lib documentation
  # https://github.com/lsegal/yard/issues/1528
  gem 'yard', github: 'ParadoxV5/yard', ref: '9e869c940859570b07b81c5eadd6070e76f6291e', branch: 'commonmarker-1.0'
  gem 'yard-coderay', '~> 0.1' # for syntax highlight support in YARD
end
