macaddr 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/macaddr.rb +1 -1
- data/macaddr.gemspec +2 -2
- data/test/data/{c8:bc:c8:9b:28:b1 → osx} +0 -0
- data/test/mac_test.rb +8 -5
- metadata +5 -5
data/lib/macaddr.rb
CHANGED
data/macaddr.gemspec
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Gem::Specification::new do |spec|
|
5
5
|
spec.name = "macaddr"
|
6
|
-
spec.version = "1.
|
6
|
+
spec.version = "1.4.0"
|
7
7
|
spec.platform = Gem::Platform::RUBY
|
8
8
|
spec.summary = "macaddr"
|
9
9
|
spec.description = "description: macaddr kicks the ass"
|
@@ -17,7 +17,7 @@ Gem::Specification::new do |spec|
|
|
17
17
|
"macaddr.gemspec",
|
18
18
|
"test",
|
19
19
|
"test/data",
|
20
|
-
"test/data/
|
20
|
+
"test/data/osx",
|
21
21
|
"test/mac_test.rb",
|
22
22
|
"test/testing.rb"]
|
23
23
|
|
File without changes
|
data/test/mac_test.rb
CHANGED
@@ -19,6 +19,8 @@ Testing Mac do
|
|
19
19
|
end
|
20
20
|
|
21
21
|
|
22
|
+
### c8\:bc\:c8\:9b\:28\:b1
|
23
|
+
|
22
24
|
BEGIN {
|
23
25
|
$testdir = File.dirname(File.expand_path(__FILE__))
|
24
26
|
$rootdir = File.dirname($testdir)
|
@@ -28,10 +30,11 @@ BEGIN {
|
|
28
30
|
|
29
31
|
$datadir = File.join($testdir, 'data')
|
30
32
|
$data = {}
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
33
|
+
|
34
|
+
{
|
35
|
+
'c8:bc:c8:9b:28:b1' => 'osx'
|
36
|
+
}.each do |expected, basename|
|
37
|
+
entry = File.join($datadir, basename)
|
38
|
+
$data[expected] = IO.read(entry)
|
36
39
|
end
|
37
40
|
}
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: macaddr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 7
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
|
-
-
|
8
|
+
- 4
|
9
9
|
- 0
|
10
|
-
version: 1.
|
10
|
+
version: 1.4.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ara T. Howard
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-08-
|
18
|
+
date: 2011-08-16 00:00:00 -06:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -48,7 +48,7 @@ files:
|
|
48
48
|
- Rakefile
|
49
49
|
- lib/macaddr.rb
|
50
50
|
- macaddr.gemspec
|
51
|
-
- test/data/
|
51
|
+
- test/data/osx
|
52
52
|
- test/mac_test.rb
|
53
53
|
- test/testing.rb
|
54
54
|
has_rdoc: true
|