1
0
Fork 0
This commit is contained in:
Alex Kotov 2018-12-03 17:51:04 +05:00
parent d8924336fa
commit 6467849a6d
No known key found for this signature in database
GPG Key ID: 4E831250F47DE154
5 changed files with 22 additions and 0 deletions

4
.gitignore vendored
View File

@ -8,6 +8,10 @@
# Ignore bundler config. # Ignore bundler config.
/.bundle/ /.bundle/
# Ignore documentation.
/doc/
/.yardoc/
# Ignore all logfiles and tempfiles. # Ignore all logfiles and tempfiles.
/log/* /log/*
/tmp/* /tmp/*

6
.yardopts Normal file
View File

@ -0,0 +1,6 @@
--markup markdown
--protected
--private
-
README.md
LICENSE

View File

@ -138,6 +138,9 @@ group :development do
# Automatically generate an entity-relationship diagram (ERD) # Automatically generate an entity-relationship diagram (ERD)
# for your Rails models. # for your Rails models.
gem 'rails-erd', '~> 1.5' gem 'rails-erd', '~> 1.5'
# YARD is a documentation generation tool for the Ruby programming language.
gem 'yard', '~> 0.9'
end end
group :test do group :test do

View File

@ -359,6 +359,7 @@ GEM
websocket-extensions (0.1.3) websocket-extensions (0.1.3)
xpath (3.2.0) xpath (3.2.0)
nokogiri (~> 1.8) nokogiri (~> 1.8)
yard (0.9.16)
PLATFORMS PLATFORMS
ruby ruby
@ -406,6 +407,7 @@ DEPENDENCIES
turbolinks (~> 5) turbolinks (~> 5)
uglifier (>= 1.3.0) uglifier (>= 1.3.0)
web-console (>= 3.3.0) web-console (>= 3.3.0)
yard (~> 0.9)
RUBY VERSION RUBY VERSION
ruby 2.5.1p57 ruby 2.5.1p57

View File

@ -19,3 +19,10 @@ begin
rescue LoadError rescue LoadError
nil nil
end end
begin
require 'yard'
YARD::Rake::YardocTask.new
rescue LoadError
nil
end