docurium 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/docurium.rb +3 -1
  2. metadata +4 -4
data/lib/docurium.rb CHANGED
@@ -6,7 +6,7 @@ require 'docurium/layout'
6
6
  require 'pp'
7
7
 
8
8
  class Docurium
9
- Version = VERSION = '0.0.4'
9
+ Version = VERSION = '0.0.5'
10
10
 
11
11
  attr_accessor :branch, :output_dir, :data
12
12
 
@@ -381,6 +381,8 @@ class Docurium
381
381
  if line =~ /\/\*/
382
382
  in_comment = true
383
383
  current += 1
384
+ elsif current == -1
385
+ current += 1
384
386
  end
385
387
  data[current] ||= {:comments => '', :code => [], :line => lineno}
386
388
  data[current][:lineto] = lineno
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docurium
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 4
10
- version: 0.0.4
9
+ - 5
10
+ version: 0.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Scott Chacon
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-06-15 00:00:00 -07:00
18
+ date: 2011-06-20 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency