documentinator 2.1.0 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/doc.haml +1 -0
- data/documentinator.rb +2 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.2.0
|
data/doc.haml
CHANGED
data/documentinator.rb
CHANGED
@@ -3,11 +3,12 @@ require 'rdiscount'
|
|
3
3
|
require 'haml'
|
4
4
|
require 'sass'
|
5
5
|
|
6
|
-
def Documentinator! title = nil
|
6
|
+
def Documentinator! title = nil, opts = {}
|
7
7
|
dir = File.dirname(File.expand_path(caller.first.split(':').first))
|
8
8
|
set :dir, dir
|
9
9
|
set :styles, dir + '/styles.sass'
|
10
10
|
set :title, title
|
11
|
+
set :header, opts[:header]
|
11
12
|
run Sinatra::Application
|
12
13
|
end
|
13
14
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: documentinator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 7
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 2
|
8
|
-
-
|
8
|
+
- 2
|
9
9
|
- 0
|
10
|
-
version: 2.
|
10
|
+
version: 2.2.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Myles Byrne
|