system-getifaddrs 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- system-getifaddrs (0.1.4)
4
+ system-getifaddrs (0.1.5)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
@@ -27,7 +27,7 @@ int get_if_host(struct ifaddrs *ifa, char *host){
27
27
  }
28
28
 
29
29
  int get_if_netmask(struct ifaddrs *ifa, char *netmask){
30
- if(getnameinfo(ifa->ifa_addr, sizeof(struct sockaddr_in),
30
+ if(getnameinfo(ifa->ifa_netmask, sizeof(struct sockaddr_in),
31
31
  netmask, NI_MAXHOST,
32
32
  NULL, 0, NI_NUMERICHOST))
33
33
  return 0;
@@ -1,5 +1,5 @@
1
1
  module System
2
2
  class Getifaddrs
3
- VERSION = "0.1.4"
3
+ VERSION = "0.1.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: system-getifaddrs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-02 00:00:00.000000000 Z
12
+ date: 2012-09-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &18081420 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,15 @@ dependencies:
21
21
  version: '1.3'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *18081420
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '1.3'
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: rake-compiler
27
- requirement: &18080900 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ! '>='
@@ -32,7 +37,12 @@ dependencies:
32
37
  version: '0'
33
38
  type: :development
34
39
  prerelease: false
35
- version_requirements: *18080900
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
36
46
  description: This lib is a wrapper for get_ifaddrs C routine. The original routine
37
47
  returns a linked list that contains avaliable inet interfaces. This lib walks on
38
48
  list and return an hash that contains the interface names and sub-hashes with respectives
@@ -73,7 +83,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
73
83
  version: '0'
74
84
  segments:
75
85
  - 0
76
- hash: 3424370550195262567
86
+ hash: -3322810239089075693
77
87
  required_rubygems_version: !ruby/object:Gem::Requirement
78
88
  none: false
79
89
  requirements:
@@ -82,10 +92,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
92
  version: '0'
83
93
  segments:
84
94
  - 0
85
- hash: 3424370550195262567
95
+ hash: -3322810239089075693
86
96
  requirements: []
87
97
  rubyforge_project:
88
- rubygems_version: 1.8.17
98
+ rubygems_version: 1.8.24
89
99
  signing_key:
90
100
  specification_version: 3
91
101
  summary: This lib is a wrapper for get_ifaddrs C routine