yard-appendix 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,6 +22,6 @@
22
22
 
23
23
  module YARD
24
24
  module AppendixPlugin
25
- VERSION = "0.1.5"
25
+ VERSION = "0.1.6"
26
26
  end
27
27
  end
@@ -0,0 +1,2 @@
1
+ <h3 id="<%= urlencode(object.name.to_s) %>-appendix"><%= object.title %></h3>
2
+ <%= yieldall :object => object, :index => 0 %>
@@ -0,0 +1,10 @@
1
+ <div class="appendix">
2
+ <h2>Appendixes</h2>
3
+
4
+ <% @appendixes.each do |o| %>
5
+ <div class="appendix_entry">
6
+ <%= yieldall :object => o %>
7
+ </div>
8
+ <% end %>
9
+
10
+ </div>
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
16
16
  s.authors = ["Ahmad Amireh"]
17
17
  s.email = 'ahmad@instructure.com'
18
18
  s.homepage = 'https://github.com/amireh/yard-appendix'
19
- s.files = Dir.glob("{lib,spec,templates}/**/*.rb") +
19
+ s.files = Dir.glob("{lib,spec,templates}/**/*.{rb,erb}") +
20
20
  ['LICENSE', 'README.md', '.rspec', __FILE__]
21
21
  s.has_rdoc = 'yard'
22
22
  s.license = 'MIT'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yard-appendix
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -67,6 +67,8 @@ files:
67
67
  - spec/templates/helpers/html_helper_spec.rb
68
68
  - templates/default/appendix/html/setup.rb
69
69
  - templates/default/module/html/setup.rb
70
+ - templates/default/appendix/html/entry.erb
71
+ - templates/default/appendix/html/listing.erb
70
72
  - LICENSE
71
73
  - README.md
72
74
  - .rspec