doc 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/VERSION +1 -1
  2. data/doc.gemspec +2 -2
  3. data/lib/doc.rb +3 -1
  4. data/lib/doc/core_ext.rb +0 -10
  5. metadata +4 -4
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "doc"
8
- s.version = "0.2.1"
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-26"
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
@@ -6,4 +6,6 @@ module Doc
6
6
  smart_autoload :Command
7
7
  end
8
8
 
9
- glob_require 'doc/configurator/*.rb'
9
+ %w[gems paths rails ruby].each do |name|
10
+ require "doc/configurator/#{name}"
11
+ end
@@ -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: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 1
10
- version: 0.2.1
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-26 00:00:00 Z
18
+ date: 2011-10-29 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: sdoc