doc 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/doc.gemspec +2 -2
- data/lib/doc.rb +3 -1
- data/lib/doc/core_ext.rb +0 -10
- metadata +4 -4
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
1
|
+
0.2.2
|
data/doc.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = "doc"
|
|
8
|
-
s.version = "0.2.
|
|
8
|
+
s.version = "0.2.2"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Ivan Kuchin"]
|
|
12
|
-
s.date = "2011-10-
|
|
12
|
+
s.date = "2011-10-29"
|
|
13
13
|
s.description = "Generate `Rakefile` with `docr` and get searchable documentation for ruby, rails, gems, plugins and all other ruby code in one place"
|
|
14
14
|
s.executables = ["docr"]
|
|
15
15
|
s.extra_rdoc_files = [
|
data/lib/doc.rb
CHANGED
data/lib/doc/core_ext.rb
CHANGED
|
@@ -1,15 +1,5 @@
|
|
|
1
1
|
require 'fspath'
|
|
2
2
|
|
|
3
|
-
def glob_require(*globs)
|
|
4
|
-
globs.each do |glob|
|
|
5
|
-
$LOAD_PATH.each do |load_dir|
|
|
6
|
-
FSPath.glob(File.join(load_dir, glob)).each do |path|
|
|
7
|
-
require path.relative_path_from(FSPath(load_dir)).to_s
|
|
8
|
-
end
|
|
9
|
-
end
|
|
10
|
-
end
|
|
11
|
-
end
|
|
12
|
-
|
|
13
3
|
class Integer
|
|
14
4
|
def minutes
|
|
15
5
|
60 * self
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: doc
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 19
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 2
|
|
9
|
-
-
|
|
10
|
-
version: 0.2.
|
|
9
|
+
- 2
|
|
10
|
+
version: 0.2.2
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Ivan Kuchin
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-10-
|
|
18
|
+
date: 2011-10-29 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
21
|
name: sdoc
|