system-getifaddrs 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 1946420b5c7744e7d60ef5159b00c8fc618b72e6
4
- data.tar.gz: a4927092975f6b18bd0bfe4dd07bdb87645e0ba6
2
+ SHA256:
3
+ metadata.gz: 03b4675c0c6610e25ef0df1cd5229358c4dc4d4c655bca71c1f0831ab835250a
4
+ data.tar.gz: c0110284fa5eb76b0e232cc15f921dd6a7581baa9438f23e92534e3b04c6a747
5
5
  SHA512:
6
- metadata.gz: ae6b13679133cd0bca22a53bdb03bd92e82540f5e90d849812f8120025a39d1432b75b709bd815c1108484e60e8565add39284aa5f75049c63673fcf510c4b9f
7
- data.tar.gz: 90fbca9cc01d88642cf2b118a8138c1de0debb20933f7634d7eab4a882b80e258792b9793c229f72168a7ab6576f940a6cb3d2fb9027d2b8227f85edfd3ff173
6
+ metadata.gz: 28985210767864e08342482e94c72e16abac96b70d67714bbcf2927b8aa25b293eaac1620e8bfbf252daf5a4c34c77de9948151a6b3757058c4eb65137780e0b
7
+ data.tar.gz: a1e9fb27f139c583efafd05c321ad1fd68341e207deb3a61cb26022718b8bd5b21efe5c275e06fddad973b0f0d717b2bf51e9c09228f501332d88e79d4f02ddf
data/Gemfile.lock CHANGED
@@ -1,15 +1,28 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- system-getifaddrs (0.2.1)
4
+ system-getifaddrs (0.2.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- rake (10.0.4)
9
+ diff-lcs (1.3)
10
+ rake (13.0.1)
10
11
  rake-compiler (0.8.3)
11
12
  rake
12
- rspec (1.3.2)
13
+ rspec (3.9.0)
14
+ rspec-core (~> 3.9.0)
15
+ rspec-expectations (~> 3.9.0)
16
+ rspec-mocks (~> 3.9.0)
17
+ rspec-core (3.9.1)
18
+ rspec-support (~> 3.9.1)
19
+ rspec-expectations (3.9.1)
20
+ diff-lcs (>= 1.2.0, < 2.0)
21
+ rspec-support (~> 3.9.0)
22
+ rspec-mocks (3.9.1)
23
+ diff-lcs (>= 1.2.0, < 2.0)
24
+ rspec-support (~> 3.9.0)
25
+ rspec-support (3.9.2)
13
26
 
14
27
  PLATFORMS
15
28
  ruby
@@ -17,5 +30,8 @@ PLATFORMS
17
30
  DEPENDENCIES
18
31
  rake
19
32
  rake-compiler
20
- rspec (~> 1.3)
33
+ rspec (~> 3.9)
21
34
  system-getifaddrs!
35
+
36
+ BUNDLED WITH
37
+ 1.17.2
data/Rakefile CHANGED
@@ -1,8 +1,8 @@
1
1
  require 'bundler'
2
2
  Bundler::GemHelper.install_tasks
3
3
 
4
- require 'spec/rake/spectask'
5
- Spec::Rake::SpecTask.new
4
+ require 'rspec/core/rake_task'
5
+ RSpec::Core::RakeTask.new(:spec)
6
6
 
7
7
  require 'rake/extensiontask'
8
8
  Rake::ExtensionTask.new('rb_getifaddrs')
@@ -1,9 +1,5 @@
1
1
  require 'ipaddr'
2
- begin
3
- require File.join(File.dirname(__FILE__), 'rb_getifaddrs')
4
- rescue LoadError
5
- require File.join(File.dirname(__FILE__), '..', 'rb_getifaddrs')
6
- end
2
+ require 'system/rb_getifaddrs'
7
3
 
8
4
  module System
9
5
  def self.get_ifaddrs
@@ -1,5 +1,5 @@
1
1
  module System
2
2
  class Getifaddrs
3
- VERSION = "0.2.1"
3
+ VERSION = "0.2.2"
4
4
  end
5
5
  end
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
11
11
  s.homepage = %q{http://github.com/bbcoimbra/system-getifaddrs}
12
12
  s.summary = %q{This lib is a wrapper for get_ifaddrs C routine}
13
13
  s.description = %q{This lib is a wrapper for get_ifaddrs C routine. The original routine returns a linked list that contains avaliable inet interfaces. This lib walks on list and return an hash that contains the interface names and sub-hashes with respectives ip addresses and netmasks.}
14
- s.add_development_dependency(%q<rspec>, "~> 1.3")
14
+ s.add_development_dependency(%q<rspec>, "~> 3.9")
15
15
  s.add_development_dependency(%q<rake-compiler>, [">= 0"])
16
16
  s.extensions = `git ls-files -- ext/*`.split("\n").select{|f| f =~ /extconf/}
17
17
  s.files = `git ls-files`.split("\n")
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: system-getifaddrs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bruno Coimbra
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-23 00:00:00.000000000 Z
11
+ date: 2020-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.3'
19
+ version: '3.9'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.3'
26
+ version: '3.9'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake-compiler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  description: This lib is a wrapper for get_ifaddrs C routine. The original routine
@@ -48,9 +48,9 @@ extensions:
48
48
  - ext/rb_getifaddrs/extconf.rb
49
49
  extra_rdoc_files: []
50
50
  files:
51
- - .document
52
- - .gitignore
53
- - .travis.yml
51
+ - ".document"
52
+ - ".gitignore"
53
+ - ".travis.yml"
54
54
  - Gemfile
55
55
  - Gemfile.lock
56
56
  - LICENSE
@@ -73,17 +73,16 @@ require_paths:
73
73
  - lib
74
74
  required_ruby_version: !ruby/object:Gem::Requirement
75
75
  requirements:
76
- - - '>='
76
+ - - ">="
77
77
  - !ruby/object:Gem::Version
78
78
  version: '0'
79
79
  required_rubygems_version: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - '>='
81
+ - - ">="
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
84
  requirements: []
85
- rubyforge_project:
86
- rubygems_version: 2.1.5
85
+ rubygems_version: 3.0.3
87
86
  signing_key:
88
87
  specification_version: 4
89
88
  summary: This lib is a wrapper for get_ifaddrs C routine