yard-rest 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -25,7 +25,7 @@ When using yardoc you ask it to use the "rest" plugin (the --plugin option). For
25
25
 
26
26
  When you want to make the API-documentation available for public use the following command:
27
27
 
28
- bundle exec yardoc --plugin rest --title 'Our App's API' --output-dir ./public/api
28
+ bundle exec yardoc --plugin rest --title 'Our App's API' --readme "./doc/README_FOR_API" --output-dir ./public/api
29
29
 
30
30
  ## Gemfile functionality
31
31
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.3
1
+ 1.0.4
@@ -22,7 +22,7 @@ def menu_lists
22
22
  end
23
23
 
24
24
  def index
25
- path_to_readme = (options[:readme]) ? options[:readme] : "./doc/README_FOR_API"
25
+ path_to_readme = options[:readme]
26
26
  @readme = YARD::CodeObjects::ExtraFileObject.new(path_to_readme) if File.exists?(path_to_readme)
27
27
  @resources = index_objects(@objects)
28
28
  erb(:index)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yard-rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: