tomdoc 0.2.4 → 0.2.5

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/Rakefile CHANGED
@@ -86,3 +86,7 @@ task :release => [:push, :tag] do
86
86
  puts "And away she goes!"
87
87
  end
88
88
 
89
+ desc "Do nothing."
90
+ task :noop do
91
+ puts "Done nothing."
92
+ end
@@ -106,7 +106,7 @@ module TomDoc
106
106
  end
107
107
 
108
108
  # for some reason the first line is coming in without indention
109
- # regardless.
109
+ # regardless, so we temporary remove it
110
110
  first = lines.shift
111
111
 
112
112
  # remove indention
@@ -116,7 +116,7 @@ module TomDoc
116
116
  md ? md[1].size : nil
117
117
  end.compact
118
118
 
119
- space = spaces.min
119
+ space = spaces.min || 0
120
120
  lines = lines.map do |line|
121
121
  if line.empty?
122
122
  line.strip
@@ -1,3 +1,3 @@
1
1
  module TomDoc
2
- VERSION = '0.2.4'
2
+ VERSION = '0.2.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tomdoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-02-22 00:00:00.000000000 Z
13
+ date: 2012-03-02 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: ruby_parser
17
- requirement: &18375600 !ruby/object:Gem::Requirement
17
+ requirement: &15954840 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 2.0.4
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *18375600
25
+ version_requirements: *15954840
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: colored
28
- requirement: &18375180 !ruby/object:Gem::Requirement
28
+ requirement: &15954420 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,7 +33,7 @@ dependencies:
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *18375180
36
+ version_requirements: *15954420
37
37
  description: ! " TomDoc is flexible code documentation with human readers in\n mind.
38
38
  The tomdoc gem is a Ruby library to discover and display\n TomDoc'd methods and
39
39
  classes.\n\n Given a Ruby file with TomDoc'd methods, tomdoc can generate HTML