bdoc 0.3.7 → 0.3.8
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -0
- data/lib/bdoc.rb +7 -3
- metadata +53 -88
data/Rakefile
CHANGED
@@ -14,6 +14,7 @@ $hoe = Hoe.spec 'bdoc' do
|
|
14
14
|
self.developer 'Rich Manalang', 'rich.manalang@gmail.com'
|
15
15
|
self.post_install_message = 'PostInstall.txt' # TODO remove if post-install message not required
|
16
16
|
self.rubyforge_name = self.name # TODO this is default value
|
17
|
+
self.extra_rdoc_files = ['README.rdoc']
|
17
18
|
self.extra_deps = [
|
18
19
|
['launchy','>= 2.0.4'],
|
19
20
|
['multi_json','>= 0.0.5'],
|
data/lib/bdoc.rb
CHANGED
@@ -14,7 +14,7 @@ else
|
|
14
14
|
end
|
15
15
|
|
16
16
|
module Bdoc
|
17
|
-
VERSION = '0.3.
|
17
|
+
VERSION = '0.3.8'
|
18
18
|
|
19
19
|
class << self
|
20
20
|
attr_accessor :output_dir
|
@@ -25,7 +25,11 @@ module Bdoc
|
|
25
25
|
end
|
26
26
|
|
27
27
|
def gems_with_doc_index
|
28
|
-
|
28
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new("1.7.0")
|
29
|
+
installed_gems = Gem::Specification
|
30
|
+
else
|
31
|
+
installed_gems = Gem::SourceIndex.from_installed_gems.gems.map{|k,v|v}
|
32
|
+
end
|
29
33
|
gems = installed_gems.map { |g|
|
30
34
|
g.name if g.has_rdoc?
|
31
35
|
}.compact.uniq.sort{|x,y| x.downcase <=> y.downcase}
|
@@ -61,7 +65,7 @@ module Bdoc
|
|
61
65
|
|
62
66
|
def open
|
63
67
|
generate_index
|
64
|
-
Launchy.open(output_index)
|
68
|
+
Launchy.open("file:#{output_index}")
|
65
69
|
end
|
66
70
|
end
|
67
71
|
|
metadata
CHANGED
@@ -1,91 +1,65 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: bdoc
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.3.8
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 3
|
9
|
-
- 7
|
10
|
-
version: 0.3.7
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Rich Manalang
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2011-11-10 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
22
15
|
name: launchy
|
23
|
-
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &70153491226880 !ruby/object:Gem::Requirement
|
25
17
|
none: false
|
26
|
-
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 7
|
30
|
-
segments:
|
31
|
-
- 2
|
32
|
-
- 0
|
33
|
-
- 4
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
34
21
|
version: 2.0.4
|
35
22
|
type: :runtime
|
36
|
-
version_requirements: *id001
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: multi_json
|
39
23
|
prerelease: false
|
40
|
-
|
24
|
+
version_requirements: *70153491226880
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: multi_json
|
27
|
+
requirement: &70153491226340 !ruby/object:Gem::Requirement
|
41
28
|
none: false
|
42
|
-
requirements:
|
43
|
-
- -
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
hash: 21
|
46
|
-
segments:
|
47
|
-
- 0
|
48
|
-
- 0
|
49
|
-
- 5
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
50
32
|
version: 0.0.5
|
51
33
|
type: :runtime
|
52
|
-
version_requirements: *id002
|
53
|
-
- !ruby/object:Gem::Dependency
|
54
|
-
name: hoe
|
55
34
|
prerelease: false
|
56
|
-
|
35
|
+
version_requirements: *70153491226340
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: hoe
|
38
|
+
requirement: &70153491225800 !ruby/object:Gem::Requirement
|
57
39
|
none: false
|
58
|
-
requirements:
|
59
|
-
- -
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
|
62
|
-
segments:
|
63
|
-
- 2
|
64
|
-
- 9
|
65
|
-
- 4
|
66
|
-
version: 2.9.4
|
40
|
+
requirements:
|
41
|
+
- - ~>
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '2.12'
|
67
44
|
type: :development
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
Check out the demo http://manalang.github.com/bdoc/bdoc.html
|
79
|
-
email:
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *70153491225800
|
47
|
+
description: ! "Bdoc is a simple replacement for the gem or yard server. All it does
|
48
|
+
is look at all of\nthe Gems you have installed locally and creates a nice iframe
|
49
|
+
based\nbrowser that makes it easy to navigate between gem docs. IT DOES NOT REQUIRE\nA
|
50
|
+
SERVER FOR VIEWING... not like gem server does!\n\nIf you use this, I highly suggest
|
51
|
+
also using \nHanna[http://github.com/mislav/hanna/tree/master] (a beautiful rdoc
|
52
|
+
theme).\n\nCheck out the demo http://manalang.github.com/bdoc/bdoc.html"
|
53
|
+
email:
|
80
54
|
- rich.manalang@gmail.com
|
81
|
-
executables:
|
55
|
+
executables:
|
82
56
|
- bdoc
|
83
57
|
extensions: []
|
84
|
-
|
85
|
-
extra_rdoc_files:
|
58
|
+
extra_rdoc_files:
|
86
59
|
- History.txt
|
87
60
|
- Manifest.txt
|
88
|
-
|
61
|
+
- README.rdoc
|
62
|
+
files:
|
89
63
|
- bin/bdoc
|
90
64
|
- History.txt
|
91
65
|
- Manifest.txt
|
@@ -96,41 +70,32 @@ files:
|
|
96
70
|
- test/test_bdoc.rb
|
97
71
|
- test/test_helper.rb
|
98
72
|
- .gemtest
|
99
|
-
has_rdoc: true
|
100
73
|
homepage: http://github.com/manalang/bdoc
|
101
74
|
licenses: []
|
102
|
-
|
103
75
|
post_install_message: PostInstall.txt
|
104
|
-
rdoc_options:
|
76
|
+
rdoc_options:
|
105
77
|
- --main
|
106
78
|
- README.rdoc
|
107
|
-
require_paths:
|
79
|
+
require_paths:
|
108
80
|
- lib
|
109
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
81
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
110
82
|
none: false
|
111
|
-
requirements:
|
112
|
-
- -
|
113
|
-
- !ruby/object:Gem::Version
|
114
|
-
|
115
|
-
|
116
|
-
- 0
|
117
|
-
version: "0"
|
118
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
83
|
+
requirements:
|
84
|
+
- - ! '>='
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: '0'
|
87
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
119
88
|
none: false
|
120
|
-
requirements:
|
121
|
-
- -
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
|
124
|
-
segments:
|
125
|
-
- 0
|
126
|
-
version: "0"
|
89
|
+
requirements:
|
90
|
+
- - ! '>='
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: '0'
|
127
93
|
requirements: []
|
128
|
-
|
129
94
|
rubyforge_project: bdoc
|
130
|
-
rubygems_version: 1.
|
95
|
+
rubygems_version: 1.8.11
|
131
96
|
signing_key:
|
132
97
|
specification_version: 3
|
133
98
|
summary: Bdoc is a simple replacement for the gem or yard server
|
134
|
-
test_files:
|
99
|
+
test_files:
|
135
100
|
- test/test_bdoc.rb
|
136
101
|
- test/test_helper.rb
|