macaddr 0.0.1 → 0.0.2

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/macaddr.rb +1 -1
  2. metadata +1 -1
@@ -18,7 +18,7 @@ module Mac
18
18
 
19
19
  candidates = lines.select{|line| line =~ re}
20
20
  raise 'no mac address candidates' unless candidates.first
21
- candidates.map!{|c| c[re]}
21
+ candidates.map!{|c| c[re].strip}
22
22
 
23
23
  maddr = candidates.first
24
24
  raise 'no mac address found' unless maddr
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: macaddr
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.0.1
6
+ version: 0.0.2
7
7
  date: 2007-09-08 00:00:00 -06:00
8
8
  summary: macaddr
9
9
  require_paths: