From 406280d62002f90edec629f2cadf8842f4cf92f6 Mon Sep 17 00:00:00 2001 From: classicalliu Date: Wed, 8 Aug 2018 17:19:20 +0800 Subject: [PATCH] fix concern yard doc problem --- .yardopts | 1 + Gemfile | 1 + Gemfile.lock | 3 +++ 3 files changed, 5 insertions(+) create mode 100644 .yardopts diff --git a/.yardopts b/.yardopts new file mode 100644 index 0000000..4c0d352 --- /dev/null +++ b/.yardopts @@ -0,0 +1 @@ +--plugin activesupport-concern diff --git a/Gemfile b/Gemfile index 5ec44ba..af2a2f7 100644 --- a/Gemfile +++ b/Gemfile @@ -82,6 +82,7 @@ group :development, :test do gem 'database_cleaner' gem 'simplecov', require: false gem 'yard', '~> 0.9.14' + gem 'yard-activesupport-concern' end group :development do diff --git a/Gemfile.lock b/Gemfile.lock index a151ca5..012dee4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -295,6 +295,8 @@ GEM xpath (3.1.0) nokogiri (~> 1.8) yard (0.9.14) + yard-activesupport-concern (0.0.1) + yard (>= 0.8) PLATFORMS ruby @@ -341,6 +343,7 @@ DEPENDENCIES web-console (>= 3.3.0) webmock (~> 3.4, >= 3.4.2) yard (~> 0.9.14) + yard-activesupport-concern RUBY VERSION ruby 2.5.1p57