vmstat 2.3.0 → 2.3.1

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
2
  SHA1:
3
- metadata.gz: 270d5935651f3bf75549887dee9708dc5c8bdf28
4
- data.tar.gz: 1491b07f6a67857fd7e4f005e59cd52c68000ef9
3
+ metadata.gz: bb6b61e816c6a7ad81db69cf6a2dcb136a7b91f7
4
+ data.tar.gz: 2e4acdb889e84cb9c259c8551f6a7dc13febd2ff
5
5
  SHA512:
6
- metadata.gz: be3f4ddbb591d02330d44aa3e85b88b782321ebf48a2d853e5563a8c25c9589a8f3303cac7df976082faef794d813c999ef73ec8d1c7694118dcaa13caf5681b
7
- data.tar.gz: 86e091e9993b4293d1f88bee7f15445b99009064482b0b5b031f0e13e5236dd0d9c8a01f08434c291c313358835824bfb84cdf0859fc9d1e26f114c006b29053
6
+ metadata.gz: 5f396e624be1b6f84d1ea018570a3bb87a57d7d0102e8640b15161f28a4eb7db3b3388fe4792037071af5653a10a283cd366009321745ace16f2cb893560edb5
7
+ data.tar.gz: eaf49f68278ca53cfce188f6d6e371ecc8fa1f99a405c4c882dec7f804efb4c717cd66aa9bb94ed9e001bed81c1e0686fd58561b7cd1fbf8cd0aa5dfb9e1f7cb
@@ -3,10 +3,5 @@ os:
3
3
  - linux
4
4
  rvm:
5
5
  - ruby-2.2.6
6
- - ruby-head
7
6
  env:
8
7
  - TRAVIS=true
9
- matrix:
10
- allow_failures:
11
- - rvm: ruby-head
12
-
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- vmstat (2.3.0)
4
+ vmstat (2.3.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -0,0 +1 @@
1
+ theme: jekyll-theme-tactile
@@ -42,8 +42,15 @@ have_struct_member('struct statvfs', 'f_basetype', ['sys/types.h', 'sys/statvfs.
42
42
 
43
43
  # sysctl.h
44
44
  sys_headers = ['unistd.h', 'sys/sysctl.h', 'sys/types.h', 'sys/socket.h',
45
- 'net/if.h', 'net/if_mib.h', 'net/if_types.h']
45
+ 'net/if.h', 'net/if_types.h']
46
46
  sys_headers.each { |header| have_header header }
47
+ sys_headers << 'net/if_mib.h'
48
+
49
+ if not have_header('net/if_mib.h')
50
+ puts "-> net/if_mib.h can't be checked individually, apply workaround for macOS mojave"
51
+ have_header 'net/if_mib.h', ['net/if_types.h', 'net/if.h']
52
+ end
53
+
47
54
  have_func 'getloadavg'
48
55
  have_func 'sysctl'
49
56
  have_type 'struct ifmibdata', sys_headers
@@ -1,3 +1,3 @@
1
1
  module Vmstat
2
- VERSION = "2.3.0"
2
+ VERSION = "2.3.1"
3
3
  end
@@ -21,7 +21,7 @@ describe Vmstat do
21
21
  end
22
22
 
23
23
  it "should filter loopback devices" do
24
- Vmstat.loopback_devices.size.should == 1
24
+ Vmstat.loopback_devices.size.should >= 1
25
25
  end
26
26
  end
27
27
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vmstat
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vincent Landgraf
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-26 00:00:00.000000000 Z
11
+ date: 2019-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -100,6 +100,7 @@ files:
100
100
  - LICENSE.txt
101
101
  - README.md
102
102
  - Rakefile
103
+ - _config.yml
103
104
  - examples/rtop
104
105
  - ext/vmstat/extconf.rb
105
106
  - ext/vmstat/hw/bsd.h
@@ -165,7 +166,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
165
166
  version: '0'
166
167
  requirements: []
167
168
  rubyforge_project:
168
- rubygems_version: 2.6.4
169
+ rubygems_version: 2.6.3
169
170
  signing_key:
170
171
  specification_version: 4
171
172
  summary: A focused and fast library to gather system information