RubyGems
npm
Organizations
Log in
Sign up
RubyGems
confparser
Versions diffs
0.0.1 → 0.0.1.1
confparser 0.0.1 → 0.0.1.1
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/confparser.rb
+1
-0
metadata
+2
-1
data/lib/confparser.rb
CHANGED
Viewed
@@ -62,6 +62,7 @@ class ConfParser < Hash
62
62
63
63
case line
64
64
when /^\s*[;#]/ then next
65
+
when /^\s*$/ then next
65
66
when /^\s*(.+?)\s*[=:]\s*(.*)$/
66
67
if section
67
68
self[section] = Section.new(self) unless self[section]
metadata
CHANGED
Viewed
@@ -6,7 +6,8 @@ version: !ruby/object:Gem::Version
6
6
- 0
7
7
- 0
8
8
- 1
9
-
version:
0.0.
1
9
+
-
1
10
+
version: 0.0.1.1
10
11
platform: ruby
11
12
authors:
12
13
- shura