# frozen_string_literal: true
source 'https://rubygems.org'

gem 'nanoc'

gem 'icalendar' # ical files
gem 'kramdown'

# Kramdown math mode gems
gem 'kramdown-math-katex'
# Also needed for autoprefixing
gem 'mini_racer'

gem 'sassc'
gem 'typogruby'

# Needed for atom_feed in blogging helper
gem 'builder'

# Word counting gem (which takes special characters into account)
# for reading time
gem 'words_counted', git: 'https://github.com/werthen/words_counted'

group :development do
  gem 'adsf'
  # puma instead of thin, see https://github.com/nanoc/nanoc/issues/1499
  gem 'puma'
  gem 'highline'
  gem 'terminal-notifier'
  gem 'terminal-notifier-guard'
  gem 'nanoc-live'
end

group :production do
  # Autoprefixing for class
  gem 'autoprefixer-rails'
  gem 'htmlcompressor'
  gem 'yui-compressor'
  # Compiling reports from .md to .pdf
  gem 'pandoc-ruby'

  gem 'uglifier', '>= 4.0.0'
  gem 'rainpress'
end

group :nanoc do
  gem 'guard-nanoc'
end

group :test do
  # Checks
  gem 'w3c_validators'
end
