rethtool 0.0.2 → 0.0.3

This diff has not been reviewed by any users.
Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.0.3
@@ -62,21 +62,19 @@ class Rethtool::InterfaceSettings
62
62
  speed = :unknown if speed == 65535
63
63
 
64
64
  duplex = case @data.duplex
65
- when 0: :half
66
- when 1: :full
67
- else
68
- :unknown
65
+ when 0 then :half
66
+ when 1 then :full
67
+ else :unknown
69
68
  end
70
69
 
71
70
  port = case @data.port
72
- when 0: 'T'
73
- when 1: 'AUI'
74
- when 2: 'MII'
75
- when 3: 'F'
76
- when 4: 'BNC'
77
- when 255: 'Other'
78
- else
79
- 'Unknown'
71
+ when 0 then 'T'
72
+ when 1 then 'AUI'
73
+ when 2 then 'MII'
74
+ when 3 then 'F'
75
+ when 4 then 'BNC'
76
+ when 255 then 'Other'
77
+ else 'Unknown'
80
78
  end
81
79
 
82
80
  Mode.new(speed, duplex, port)
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "rethtool"
8
- s.version = "0.0.2"
8
+ s.version = "0.0.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Matt Palmer"]
12
- s.date = "2011-12-17"
12
+ s.date = "2013-01-28"
13
13
  s.email = "mpalmer@hezmatt.org"
14
14
  s.extra_rdoc_files = [
15
15
  "LICENSE.txt",
@@ -36,7 +36,7 @@ Gem::Specification.new do |s|
36
36
  s.homepage = "http://theshed.hezmatt.org/rethtool"
37
37
  s.licenses = ["GPLv3"]
38
38
  s.require_paths = ["lib"]
39
- s.rubygems_version = "1.8.10"
39
+ s.rubygems_version = "1.8.24"
40
40
  s.summary = "Partial Ruby wrapper around the SIOCETHTOOL ioctl"
41
41
 
42
42
  if s.respond_to? :specification_version then
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rethtool
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Matt Palmer
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-12-17 00:00:00 Z
18
+ date: 2013-01-28 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  version_requirements: &id001 !ruby/object:Gem::Requirement
@@ -27,10 +27,10 @@ dependencies:
27
27
  segments:
28
28
  - 0
29
29
  version: "0"
30
- name: cstruct
31
- prerelease: false
32
- type: :runtime
33
30
  requirement: *id001
31
+ type: :runtime
32
+ prerelease: false
33
+ name: cstruct
34
34
  - !ruby/object:Gem::Dependency
35
35
  version_requirements: &id002 !ruby/object:Gem::Requirement
36
36
  none: false
@@ -43,10 +43,10 @@ dependencies:
43
43
  - 6
44
44
  - 0
45
45
  version: 1.6.0
46
- name: jeweler
47
- prerelease: false
48
- type: :development
49
46
  requirement: *id002
47
+ type: :development
48
+ prerelease: false
49
+ name: jeweler
50
50
  - !ruby/object:Gem::Dependency
51
51
  version_requirements: &id003 !ruby/object:Gem::Requirement
52
52
  none: false
@@ -59,10 +59,10 @@ dependencies:
59
59
  - 0
60
60
  - 0
61
61
  version: 1.0.0
62
- name: bundler
63
- prerelease: false
64
- type: :development
65
62
  requirement: *id003
63
+ type: :development
64
+ prerelease: false
65
+ name: bundler
66
66
  - !ruby/object:Gem::Dependency
67
67
  version_requirements: &id004 !ruby/object:Gem::Requirement
68
68
  none: false
@@ -75,10 +75,10 @@ dependencies:
75
75
  - 4
76
76
  - 2
77
77
  version: 2.4.2
78
- name: rdoc
79
- prerelease: false
80
- type: :development
81
78
  requirement: *id004
79
+ type: :development
80
+ prerelease: false
81
+ name: rdoc
82
82
  description:
83
83
  email: mpalmer@hezmatt.org
84
84
  executables: []
@@ -134,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
134
134
  requirements: []
135
135
 
136
136
  rubyforge_project:
137
- rubygems_version: 1.8.10
137
+ rubygems_version: 1.8.24
138
138
  signing_key:
139
139
  specification_version: 3
140
140
  summary: Partial Ruby wrapper around the SIOCETHTOOL ioctl