rdoc-generator-fivefish 0.0.1.pre18 → 0.0.1.pre20

Sign up to get free protection for your applications and to get access to all the features.
@@ -26,6 +26,11 @@ h2.namespace {
26
26
  color: #666;
27
27
  }
28
28
 
29
+ div.container > header.hero-unit {
30
+ background-image: -webkit-gradient(linear, left bottom, right bottom, from(#e6e6e6), color-stop(0.858, #aaaaaa), to(#818181));
31
+ background-image: -moz-linear-gradient(0deg, #e6e6e6 0%, #aaaaaa 85.8%, #818181 100%);
32
+ }
33
+
29
34
  /* Indexes */
30
35
  section#indexes {
31
36
  max-height: 460px;
@@ -54,16 +59,40 @@ section.description h2 {
54
59
  section.documentation-section {
55
60
  margin-top: 3em;
56
61
  }
62
+ section .section-click-top {
63
+ float: right;
64
+ }
57
65
 
66
+ section.constants-list dt,
67
+ section.attributes-list dt {
68
+ background: #eee;
69
+ }
70
+ section.constants-list dt i {
71
+ margin-right: 0.5em;
72
+ background-position: -24px -72px;
73
+ }
74
+
75
+ section.attributes-list dt i {
76
+ margin-right: 0.5em;
77
+ background-position: -456px -96px;
78
+ }
58
79
 
59
80
  /* "Public instance methods" + method list */
60
- section.method-list + section.method-list {
61
- margin-top: 2em;
81
+ section.methods + section.methods {
82
+ margin-top: 3em;
83
+ }
84
+ section.public-methods div.method header i {
85
+ background-position:0 -96px;
86
+ margin-top: 4px;
87
+ }
88
+ section.protected-methods div.method header i {
89
+ background-position:-24px -96px;
90
+ margin-top: 4px;
62
91
  }
63
92
 
93
+
64
94
  /* Individual method */
65
95
  div.method {
66
- background: #eee;
67
96
  }
68
97
  div.method + div.method {
69
98
  margin-top: 30px;
@@ -71,6 +100,7 @@ div.method + div.method {
71
100
  div.method header {
72
101
  font-weight: bold;
73
102
  font-size: 1.2em;
103
+ background: #eee;
74
104
  }
75
105
  div.method header span.method-args {
76
106
  color: #666;
@@ -3,18 +3,24 @@
3
3
  <header class="hero-unit">
4
4
  <hgroup>
5
5
  <?if klass.parent ?>
6
+ <?if klass.parent.respond_to?(:module?) ?>
6
7
  <h2 class="namespace"><?call klass.parent.full_name ?>::</h2>
7
8
  <?end if ?>
9
+ <?end if ?>
8
10
  <h1 class="[?call klass.type ?]"><?call klass.name ?></h1>
9
11
  </hgroup>
10
12
  <span class="label"><?call klass.type ?></span>
11
13
  </header>
12
14
 
13
- <?if klass.file ?>
15
+ <?unless klass.in_files.empty? ?>
14
16
  <div class="file-metadata">
15
- <p class="filename">Filename: <code><?call klass.file ?></code></p>
17
+ <p class="filename">In files:
18
+ <?for fileobj in klass.in_files ?>
19
+ <code><?call fileobj.full_name ?></code>
20
+ <?end for ?>
21
+ </p>
16
22
  </div>
17
- <?end if ?>
23
+ <?end unless ?>
18
24
 
19
25
  <section class="description">
20
26
  <?call klass.description ?>
@@ -45,7 +51,7 @@
45
51
  </header>
46
52
  <dl>
47
53
  <?for const in constants.select {|c| c.display? } ?>
48
- <dt id="[?call const.name ?]"><?call const.name ?></dt>
54
+ <dt id="[?call const.name ?]"><i class="icon-generic"></i><?call const.name ?></dt>
49
55
  <?if const.comment ?>
50
56
  <dd class="description"><?call const.description.strip ?></dd>
51
57
  <?else ?>
@@ -64,7 +70,7 @@
64
70
  </header>
65
71
  <dl>
66
72
  <?for attrib in attrs.select {|a| a.display? } ?>
67
- <dt id="[?call attrib.aref ?]"><?call attrib.name ?><span
73
+ <dt id="[?call attrib.aref ?]"><i class="icon-generic"></i><?call attrib.name ?><span
68
74
  class="attribute-access-type">[<?call attrib.rw ?>]</span></dt>
69
75
  <?if attrib.comment ?>
70
76
  <dd class="description"><?call attrib.description.strip ?></dd>
@@ -81,8 +87,7 @@
81
87
  <?for visibility, methodlist in visibilities ?>
82
88
 
83
89
  <?unless methodlist.empty? ?>
84
- <section id="<?attr visibility ?>-<?attr scope ?>-<?call
85
- section.aref ?>-method-details" class="method-list">
90
+ <section class="[?attr visibility ?]-methods [?attr scope ?]-methods methods">
86
91
  <header>
87
92
  <h3><?call visibility.to_s.capitalize ?> <?call scope.capitalize ?> Methods</h3>
88
93
  </header>
@@ -92,6 +97,7 @@
92
97
  ?] method-alias[?end if ?]">
93
98
 
94
99
  <header>
100
+ <i class="icon-generic"></i>
95
101
  <?if meth.call_seq ?>
96
102
  <?for call_seq, i in meth.call_seq.strip.split("\n") ?>
97
103
  <span class="method-callseq">
@@ -18,7 +18,7 @@ class RDoc::Generator::Fivefish
18
18
  DATADIR = if ENV['FIVEFISH_DATADIR']
19
19
  Pathname( ENV['FIVEFISH_DATADIR'] ).expand_path( Pathname.pwd )
20
20
  elsif File.directory?( 'data/rdoc-generator-fivefish' )
21
- Pathname( 'data/fivefish' ).expand_path( Pathname.pwd )
21
+ Pathname( 'data/rdoc-generator-fivefish' ).expand_path( Pathname.pwd )
22
22
  elsif path = Gem.datadir('rdoc-generator-fivefish')
23
23
  Pathname( path )
24
24
  else
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdoc-generator-fivefish
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.pre18
4
+ version: 0.0.1.pre20
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -36,11 +36,11 @@ cert_chain:
36
36
  YUhDS0xaZFNLai9SSHVUT3QrZ2JsUmV4OEZBaDhOZUEKY21saFhlNDZwWk5K
37
37
  Z1dLYnhaYWg4NWpJang5NWhSOHZPSStOQU01aUg5a09xSzEzRHJ4YWNUS1Bo
38
38
  cWo1UGp3RgotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
39
- date: 2012-03-17 00:00:00.000000000 Z
39
+ date: 2012-03-21 00:00:00.000000000 Z
40
40
  dependencies:
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: inversion
43
- requirement: &70285269426260 !ruby/object:Gem::Requirement
43
+ requirement: &70336812090020 !ruby/object:Gem::Requirement
44
44
  none: false
45
45
  requirements:
46
46
  - - ~>
@@ -48,10 +48,10 @@ dependencies:
48
48
  version: 0.6.1
49
49
  type: :runtime
50
50
  prerelease: false
51
- version_requirements: *70285269426260
51
+ version_requirements: *70336812090020
52
52
  - !ruby/object:Gem::Dependency
53
53
  name: rdoc
54
- requirement: &70285269424740 !ruby/object:Gem::Requirement
54
+ requirement: &70336812089500 !ruby/object:Gem::Requirement
55
55
  none: false
56
56
  requirements:
57
57
  - - ~>
@@ -59,10 +59,10 @@ dependencies:
59
59
  version: '3.12'
60
60
  type: :runtime
61
61
  prerelease: false
62
- version_requirements: *70285269424740
62
+ version_requirements: *70336812089500
63
63
  - !ruby/object:Gem::Dependency
64
64
  name: hoe-mercurial
65
- requirement: &70285269420060 !ruby/object:Gem::Requirement
65
+ requirement: &70336812089040 !ruby/object:Gem::Requirement
66
66
  none: false
67
67
  requirements:
68
68
  - - ~>
@@ -70,10 +70,10 @@ dependencies:
70
70
  version: 1.3.1
71
71
  type: :development
72
72
  prerelease: false
73
- version_requirements: *70285269420060
73
+ version_requirements: *70336812089040
74
74
  - !ruby/object:Gem::Dependency
75
75
  name: hoe-highline
76
- requirement: &70285269430580 !ruby/object:Gem::Requirement
76
+ requirement: &70336812088540 !ruby/object:Gem::Requirement
77
77
  none: false
78
78
  requirements:
79
79
  - - ~>
@@ -81,10 +81,10 @@ dependencies:
81
81
  version: 0.0.1
82
82
  type: :development
83
83
  prerelease: false
84
- version_requirements: *70285269430580
84
+ version_requirements: *70336812088540
85
85
  - !ruby/object:Gem::Dependency
86
86
  name: hoe
87
- requirement: &70285269443980 !ruby/object:Gem::Requirement
87
+ requirement: &70336812104120 !ruby/object:Gem::Requirement
88
88
  none: false
89
89
  requirements:
90
90
  - - ~>
@@ -92,7 +92,7 @@ dependencies:
92
92
  version: '2.16'
93
93
  type: :development
94
94
  prerelease: false
95
- version_requirements: *70285269443980
95
+ version_requirements: *70336812104120
96
96
  description: ! 'A(nother) HTML(5) generator for RDoc.
97
97
 
98
98
 
metadata.gz.sig CHANGED
@@ -1 +1,2 @@
1
- 1��rkST���ɚ|�P�Sۓ�"�L�U����v/��|��n8c�L�ѥ�A �b�@��b�T,T���W�XMR�h2��w៿S!��iQ
1
+ ��?���֜��6J��)
2
+ �E��� ��0�� s�2�)S~u;8-a��h ]���X<,g]���>4�cC�Jm���g4ѣ��~RI��4��VƂ�yۂ�R1�ZT�I4c��C��~l�67��V����YU��i��,�5��a�z��\�� `[��9j�P+q�k��|?2