docapi 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/docapi.gemspec +4 -5
  3. data/lib/docapi.rb +1 -1
  4. metadata +43 -17
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.4.0
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{docapi}
8
- s.version = "0.3.0"
8
+ s.version = "0.4.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Cyril Rohr"]
12
- s.date = %q{2010-03-15}
12
+ s.date = %q{2011-04-04}
13
13
  s.default_executable = %q{docapi}
14
14
  s.description = %q{RDoc template for generating API documentation.}
15
15
  s.email = %q{cyril.rohr@gmail.com}
@@ -58,7 +58,7 @@ Gem::Specification.new do |s|
58
58
  s.homepage = %q{http://github.com/crohr/docapi}
59
59
  s.rdoc_options = ["--charset=UTF-8"]
60
60
  s.require_paths = ["lib"]
61
- s.rubygems_version = %q{1.3.5}
61
+ s.rubygems_version = %q{1.5.2}
62
62
  s.summary = %q{RDoc template for generating API documentation.}
63
63
  s.test_files = [
64
64
  "test/code/reference_api.rb",
@@ -66,10 +66,9 @@ Gem::Specification.new do |s|
66
66
  ]
67
67
 
68
68
  if s.respond_to? :specification_version then
69
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
70
69
  s.specification_version = 3
71
70
 
72
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
71
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
73
72
  s.add_runtime_dependency(%q<rdoc>, [">= 2.0.0"])
74
73
  s.add_runtime_dependency(%q<haml>, [">= 0"])
75
74
  s.add_runtime_dependency(%q<maruku>, [">= 0"])
@@ -116,7 +116,7 @@ TEMPLATE
116
116
 
117
117
  def header(options = {})
118
118
  output = []
119
- output << "<html><head><title>#{options[:title] || "Documentation"}</title>"
119
+ output << "<html><head><meta http-equiv=\"content-type\" content=\"text/html;charset=utf-8\"><title>#{options[:title] || "Documentation"}</title>"
120
120
  FILES_TO_INCLUDE[:javascripts].each do |file|
121
121
  output << '<script type="text/javascript" src="'+file+'"></script>'
122
122
  end
metadata CHANGED
@@ -1,7 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ hash: 15
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 4
9
+ - 0
10
+ version: 0.4.0
5
11
  platform: ruby
6
12
  authors:
7
13
  - Cyril Rohr
@@ -9,39 +15,53 @@ autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
17
 
12
- date: 2010-03-15 00:00:00 +01:00
18
+ date: 2011-04-04 00:00:00 +02:00
13
19
  default_executable: docapi
14
20
  dependencies:
15
21
  - !ruby/object:Gem::Dependency
16
22
  name: rdoc
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
20
26
  requirements:
21
27
  - - ">="
22
28
  - !ruby/object:Gem::Version
29
+ hash: 15
30
+ segments:
31
+ - 2
32
+ - 0
33
+ - 0
23
34
  version: 2.0.0
24
- version:
35
+ type: :runtime
36
+ version_requirements: *id001
25
37
  - !ruby/object:Gem::Dependency
26
38
  name: haml
27
- type: :runtime
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
39
+ prerelease: false
40
+ requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
30
42
  requirements:
31
43
  - - ">="
32
44
  - !ruby/object:Gem::Version
45
+ hash: 3
46
+ segments:
47
+ - 0
33
48
  version: "0"
34
- version:
49
+ type: :runtime
50
+ version_requirements: *id002
35
51
  - !ruby/object:Gem::Dependency
36
52
  name: maruku
37
- type: :runtime
38
- version_requirement:
39
- version_requirements: !ruby/object:Gem::Requirement
53
+ prerelease: false
54
+ requirement: &id003 !ruby/object:Gem::Requirement
55
+ none: false
40
56
  requirements:
41
57
  - - ">="
42
58
  - !ruby/object:Gem::Version
59
+ hash: 3
60
+ segments:
61
+ - 0
43
62
  version: "0"
44
- version:
63
+ type: :runtime
64
+ version_requirements: *id003
45
65
  description: RDoc template for generating API documentation.
46
66
  email: cyril.rohr@gmail.com
47
67
  executables:
@@ -97,21 +117,27 @@ rdoc_options:
97
117
  require_paths:
98
118
  - lib
99
119
  required_ruby_version: !ruby/object:Gem::Requirement
120
+ none: false
100
121
  requirements:
101
122
  - - ">="
102
123
  - !ruby/object:Gem::Version
124
+ hash: 3
125
+ segments:
126
+ - 0
103
127
  version: "0"
104
- version:
105
128
  required_rubygems_version: !ruby/object:Gem::Requirement
129
+ none: false
106
130
  requirements:
107
131
  - - ">="
108
132
  - !ruby/object:Gem::Version
133
+ hash: 3
134
+ segments:
135
+ - 0
109
136
  version: "0"
110
- version:
111
137
  requirements: []
112
138
 
113
139
  rubyforge_project:
114
- rubygems_version: 1.3.5
140
+ rubygems_version: 1.5.2
115
141
  signing_key:
116
142
  specification_version: 3
117
143
  summary: RDoc template for generating API documentation.