padrino-apidoc 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b0270f95c48ba6b0a93fd760be4a3c3be0d15aa5
4
- data.tar.gz: 22672829522724e5abd33094d367ac43af2c7a07
3
+ metadata.gz: ccd35a498c1c7b20bc693cd15e2fe87b6d443226
4
+ data.tar.gz: ec5d76af295e75e4863ac8108d320ab2174348ea
5
5
  SHA512:
6
- metadata.gz: 6a7a7bd9cccf224e78b7dec14c81b2ecab2ea42518eb3c6406b5938ceeb31b3c5ebfeed3a1de4a9d8a1b3bc6b15201512543588d364e0dda9ef09dabe9826082
7
- data.tar.gz: e57b65d7913fd467451fe7d0fcb5f4b7e27918676da7a3015a3193c0669a689dc0a5f9fb544132fab2c42d40179278ee19c58d5e3fc558b97538f0b60288745f
6
+ metadata.gz: 5461b336311bf0724f462efcdbb5cc26e15e2ee612262bf084214eade50979d47bf9ab23357f7317bdcbd69f44d7163860250adfcd569c4da3616bfe65b953c5
7
+ data.tar.gz: cc595dd0590572bc1916a1adb74dc5547618a0e9871a7195323d77f31b325d489a9e15fc802fa5cae702c9a2762d784269b002ff0a19ab9d2e98fc62f593510a
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ *0.0.4* (December 31, 2013)
2
+
3
+ * Fixed section rendering
4
+
1
5
  *0.0.3* (December 31, 2013)
2
6
 
3
7
  * Added CHANGELOG
@@ -54,7 +54,7 @@ module Padrino
54
54
  end
55
55
 
56
56
  get "/:section" do |section|
57
- haml :section, :locals => {
57
+ render :section, layout_engine: :haml, layout: 'apidoc', :locals => {
58
58
  :docs => docs_in_section(settings.docs, section),
59
59
  :sections => settings.sections,
60
60
  :section => settings.sections.detect { |s| urlize_section(s) == section }
@@ -1,5 +1,5 @@
1
1
  module Padrino
2
2
  module Apidoc
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: padrino-apidoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Blackburn