mislav-hanna 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile
CHANGED
@@ -2,7 +2,7 @@ require 'echoe'
|
|
2
2
|
require 'lib/hanna/rdoc_version'
|
3
3
|
|
4
4
|
Echoe.new('hanna') do |p|
|
5
|
-
p.version = '0.1.
|
5
|
+
p.version = '0.1.8'
|
6
6
|
|
7
7
|
p.summary = "An RDoc template that scales"
|
8
8
|
p.description = "Hanna is an RDoc implemented in Haml, making its source clean and maintainable. It's built with simplicity, beauty and ease of browsing in mind."
|
data/hanna.gemspec
CHANGED
@@ -2,26 +2,26 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{hanna}
|
5
|
-
s.version = "0.1.
|
5
|
+
s.version = "0.1.8"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Mislav Marohni\304\207"]
|
9
|
-
s.date = %q{2009-
|
9
|
+
s.date = %q{2009-08-21}
|
10
10
|
s.default_executable = %q{hanna}
|
11
11
|
s.description = %q{Hanna is an RDoc implemented in Haml, making its source clean and maintainable. It's built with simplicity, beauty and ease of browsing in mind.}
|
12
12
|
s.email = %q{mislav.marohnic@gmail.com}
|
13
13
|
s.executables = ["hanna"]
|
14
|
-
s.extra_rdoc_files = ["bin/hanna", "lib/hanna/hanna.rb", "lib/hanna/rdoc_version.rb", "lib/hanna/rdoctask.rb", "lib/hanna/template_files/class_index.haml", "lib/hanna/template_files/file_index.haml", "lib/hanna/template_files/index.haml", "lib/hanna/template_files/layout.haml", "lib/hanna/template_files/method_index.haml", "lib/hanna/template_files/method_list.haml", "lib/hanna/template_files/
|
15
|
-
s.files = ["bin/hanna", "hanna.gemspec", "lib/hanna/hanna.rb", "lib/hanna/rdoc_version.rb", "lib/hanna/rdoctask.rb", "lib/hanna/template_files/class_index.haml", "lib/hanna/template_files/file_index.haml", "lib/hanna/template_files/index.haml", "lib/hanna/template_files/layout.haml", "lib/hanna/template_files/method_index.haml", "lib/hanna/template_files/method_list.haml", "lib/hanna/template_files/
|
14
|
+
s.extra_rdoc_files = ["bin/hanna", "lib/hanna/hanna.rb", "lib/hanna/rdoc_version.rb", "lib/hanna/rdoctask.rb", "lib/hanna/template_files/class_index.haml", "lib/hanna/template_files/file_index.haml", "lib/hanna/template_files/index.haml", "lib/hanna/template_files/layout.haml", "lib/hanna/template_files/method_index.haml", "lib/hanna/template_files/method_list.haml", "lib/hanna/template_files/method_search.js", "lib/hanna/template_files/page.haml", "lib/hanna/template_files/prototype-1.6.0.3.js", "lib/hanna/template_files/sections.haml", "lib/hanna/template_files/styles.sass", "lib/hanna/template_helpers.rb", "lib/hanna/template_page_patch.rb", "lib/hanna.rb", "README.markdown"]
|
15
|
+
s.files = ["bin/hanna", "hanna.gemspec", "lib/hanna/hanna.rb", "lib/hanna/rdoc_version.rb", "lib/hanna/rdoctask.rb", "lib/hanna/template_files/class_index.haml", "lib/hanna/template_files/file_index.haml", "lib/hanna/template_files/index.haml", "lib/hanna/template_files/layout.haml", "lib/hanna/template_files/method_index.haml", "lib/hanna/template_files/method_list.haml", "lib/hanna/template_files/method_search.js", "lib/hanna/template_files/page.haml", "lib/hanna/template_files/prototype-1.6.0.3.js", "lib/hanna/template_files/sections.haml", "lib/hanna/template_files/styles.sass", "lib/hanna/template_helpers.rb", "lib/hanna/template_page_patch.rb", "lib/hanna.rb", "Manifest", "Rakefile", "README.markdown"]
|
16
16
|
s.homepage = %q{http://github.com/mislav/hanna}
|
17
17
|
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Hanna", "--main", "README.markdown"]
|
18
18
|
s.require_paths = ["lib"]
|
19
|
-
s.rubygems_version = %q{1.3.
|
19
|
+
s.rubygems_version = %q{1.3.5}
|
20
20
|
s.summary = %q{An RDoc template that scales}
|
21
21
|
|
22
22
|
if s.respond_to? :specification_version then
|
23
23
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
24
|
-
s.specification_version =
|
24
|
+
s.specification_version = 3
|
25
25
|
|
26
26
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
27
27
|
s.add_runtime_dependency(%q<rdoc>, ["~> 2.3.0"])
|
@@ -17,6 +17,14 @@ $(document).observe('dom:loaded', function() {
|
|
17
17
|
} else {
|
18
18
|
search_box.removeClassName('untouched');
|
19
19
|
}
|
20
|
+
|
21
|
+
search_box.insert({
|
22
|
+
after: new Element('span', { 'class': 'clear_button' }).update('x').observe('click', function(e) {
|
23
|
+
e.stopPropagation()
|
24
|
+
search_box.setValue('')
|
25
|
+
search_box.focus()
|
26
|
+
})
|
27
|
+
})
|
20
28
|
});
|
21
29
|
|
22
30
|
function searchInIndex(query) {
|
@@ -49,7 +49,7 @@
|
|
49
49
|
%tr.top-aligned-row.context-row
|
50
50
|
%td.context-item-name= attr[:name]
|
51
51
|
%td.context-item-value= attr[:rw] ? "[#{attr[:rw]}]" : ' '
|
52
|
-
%td.context-item-desc
|
52
|
+
%td.context-item-desc~ sanitize_code_blocks(attr[:a_desc])
|
53
53
|
|
54
54
|
- if section[:method_list]
|
55
55
|
#methods
|
@@ -125,11 +125,17 @@ table
|
|
125
125
|
:margin 0
|
126
126
|
:padding 0
|
127
127
|
input
|
128
|
-
:margin .4em
|
129
|
-
:
|
130
|
-
:width 90%
|
128
|
+
:margin .4em 3px 0 .4em
|
129
|
+
:width 80%
|
131
130
|
#search.untouched
|
132
131
|
:color #777777
|
132
|
+
.clear_button
|
133
|
+
:-moz-border-radius 7px
|
134
|
+
:-webkit-border-radius 7px
|
135
|
+
:background #AAA
|
136
|
+
:color white
|
137
|
+
:padding 0 5px 1px 5px
|
138
|
+
:cursor pointer
|
133
139
|
ol
|
134
140
|
:padding .4em .5em
|
135
141
|
li
|
@@ -157,6 +163,11 @@ table
|
|
157
163
|
&:hover .module_name
|
158
164
|
:color #ddd
|
159
165
|
|
166
|
+
|
167
|
+
#attribute-list
|
168
|
+
.context-item-name
|
169
|
+
:font-weight bold
|
170
|
+
|
160
171
|
div.header
|
161
172
|
:font-size 80%
|
162
173
|
:padding .5em 2%
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mislav-hanna
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- "Mislav Marohni\xC4\x87"
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-08-21 00:00:00 -07:00
|
13
13
|
default_executable: hanna
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -59,11 +59,11 @@ extra_rdoc_files:
|
|
59
59
|
- lib/hanna/template_files/layout.haml
|
60
60
|
- lib/hanna/template_files/method_index.haml
|
61
61
|
- lib/hanna/template_files/method_list.haml
|
62
|
+
- lib/hanna/template_files/method_search.js
|
62
63
|
- lib/hanna/template_files/page.haml
|
64
|
+
- lib/hanna/template_files/prototype-1.6.0.3.js
|
63
65
|
- lib/hanna/template_files/sections.haml
|
64
66
|
- lib/hanna/template_files/styles.sass
|
65
|
-
- lib/hanna/template_files/prototype-1.6.0.3.js
|
66
|
-
- lib/hanna/template_files/method_search.js
|
67
67
|
- lib/hanna/template_helpers.rb
|
68
68
|
- lib/hanna/template_page_patch.rb
|
69
69
|
- lib/hanna.rb
|
@@ -80,11 +80,11 @@ files:
|
|
80
80
|
- lib/hanna/template_files/layout.haml
|
81
81
|
- lib/hanna/template_files/method_index.haml
|
82
82
|
- lib/hanna/template_files/method_list.haml
|
83
|
+
- lib/hanna/template_files/method_search.js
|
83
84
|
- lib/hanna/template_files/page.haml
|
85
|
+
- lib/hanna/template_files/prototype-1.6.0.3.js
|
84
86
|
- lib/hanna/template_files/sections.haml
|
85
87
|
- lib/hanna/template_files/styles.sass
|
86
|
-
- lib/hanna/template_files/prototype-1.6.0.3.js
|
87
|
-
- lib/hanna/template_files/method_search.js
|
88
88
|
- lib/hanna/template_helpers.rb
|
89
89
|
- lib/hanna/template_page_patch.rb
|
90
90
|
- lib/hanna.rb
|
@@ -93,6 +93,7 @@ files:
|
|
93
93
|
- README.markdown
|
94
94
|
has_rdoc: false
|
95
95
|
homepage: http://github.com/mislav/hanna
|
96
|
+
licenses:
|
96
97
|
post_install_message:
|
97
98
|
rdoc_options:
|
98
99
|
- --line-numbers
|
@@ -118,9 +119,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
118
119
|
requirements: []
|
119
120
|
|
120
121
|
rubyforge_project:
|
121
|
-
rubygems_version: 1.
|
122
|
+
rubygems_version: 1.3.5
|
122
123
|
signing_key:
|
123
|
-
specification_version:
|
124
|
+
specification_version: 3
|
124
125
|
summary: An RDoc template that scales
|
125
126
|
test_files: []
|
126
127
|
|