apache-vhosts-parser 0.2 → 0.2.1

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/apache-vhosts-parser.rb +1 -1
  2. metadata +1 -1
@@ -50,7 +50,7 @@ module ApacheVhostsParser
50
50
  }
51
51
 
52
52
  str.split(/\n+/).map(&:strip).each do |line|
53
- if line = /^$/
53
+ if line =~ /^$/
54
54
  #ignore the line
55
55
  elsif m = line.match(/<\s*(\w+)(.*?)>$/)
56
56
  opener, rest = m[1], m[2].to_s.strip.split(/\s+/)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apache-vhosts-parser
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.2'
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: