This commit is contained in:
Mike Perham 2022-06-15 08:15:22 -07:00
parent 67283ce73b
commit 311bee5569
2 changed files with 6 additions and 5 deletions

View File

@ -9,7 +9,7 @@ gem "rails", "~> 6.0"
gem "sqlite3", platforms: :ruby
gem "activerecord-jdbcsqlite3-adapter", platforms: :jruby
gem "after_commit_everywhere"
gem "yard"
# mail dependencies
gem "net-smtp", platforms: :mri, require: false

View File

@ -1,11 +1,12 @@
require "bundler/gem_tasks"
require "rake/testtask"
require "standard/rake"
require "yard"
require "yard/rake/yardoc_task"
# If you want to generate the docs, run yarddoc from your terminal
# https://rubydoc.info/gems/yard/file/README.md
# If you want to generate API docs:
# gem install yard && yard && open doc/index.html
# YARD readme: https://rubydoc.info/gems/yard/file/README.md
# YARD tags: https://www.rubydoc.info/gems/yard/file/docs/Tags.md
# YARD cheatsheet: https://gist.github.com/phansch/db18a595d2f5f1ef16646af72fe1fb0e
Rake::TestTask.new(:test) do |test|
test.warning = true