kostya-sigar 2.0.3 → 2.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 178477827b5824c00e09c9bef1db16ad3efcd0a3
4
- data.tar.gz: 8a31cabd505d0948cfc3801ffe51dfb5590e040b
3
+ metadata.gz: 32d0a91e9e5b9496a5cfc40464dcad3bc9938374
4
+ data.tar.gz: 7a2100fe26037fc0d5577c1bb76bb93dabeecb24
5
5
  SHA512:
6
- metadata.gz: 85f67157492473aeb3442555283e44a91aa45899d892e8a1d93fdc8218106c74d9a2816dc70247b666621d378cdb1c1f3dd663be5e82bdf26014c99f59e697ca
7
- data.tar.gz: 1e5cf5780af47f0479e2d3e744b85f9af3669c2559957ebae59c2c4a792b205dd6350d293f48d550a88b7538013196cf136caab1fb33736845c9d0c46de2a188
6
+ metadata.gz: fcbbbf9385352766816a3b0728a4815c145af1e67ff8b7cbd39fe1c0fb78ef157334e9dfba9f8e5284d53f8e92bc38b27514a5491af98ea3ed5328d6439e1082
7
+ data.tar.gz: c155a48830d92ef09928f7f41353600c0ea6d42ca37da7062e7db096450420bb59d7cee7e828e0772d4d0bf14b4b4731a7225074b34900f29f6e4646a67b286d
data/README.md CHANGED
@@ -15,8 +15,8 @@ Fork of hyperic/sigar with some fixes. Support only ruby binding.
15
15
  [2.0.2]
16
16
  * Remove obsolete rpc usage (fix compilation fail with glibc 2.27) ([commit](https://github.com/kostya/sigar/commit/a971b9e8e1443fdf236c5ffa199c1994c05fcd4b))
17
17
 
18
- [2.0.3]
19
- * fix compilation with glibc 2.26, major/minor functions, fixed [#2](https://github.com/kostya/sigar/issues/2) ([commit](https://github.com/kostya/sigar/commit/507640940ff90095b2623c560d1166788b9d140b))
18
+ [2.0.4]
19
+ * fix compilation with glibc 2.26, major/minor functions ([commit](https://github.com/kostya/sigar/commit/a2c67588d0f686e0007dadcaf0e4bbb35c0e1e83))
20
20
 
21
21
 
22
22
  ## Installation:
@@ -49,6 +49,9 @@ when /mswin|mingw|cygwin|bccwin/
49
49
  have_library("version")
50
50
  when /linux/
51
51
  os = 'linux'
52
+ if have_header("sys/sysmacros.h")
53
+ $CPPFLAGS += ' -DLINUX_SYSMACROS'
54
+ end
52
55
  when /solaris|sun/
53
56
  os = 'solaris'
54
57
  have_library("nsl")
@@ -30,11 +30,7 @@
30
30
  #include "sigar_util.h"
31
31
  #include "sigar_os.h"
32
32
 
33
- #ifdef MAJOR_IN_MKDEV
34
- #include <sys/mkdev.h>
35
- #endif
36
-
37
- #ifdef MAJOR_IN_SYSMACROS
33
+ #ifdef LINUX_SYSMACROS // added by extconf.rb
38
34
  #include <sys/sysmacros.h>
39
35
  #endif
40
36
 
@@ -1,7 +1,7 @@
1
1
  copyright.year=2004-2011
2
2
  version.major=2
3
3
  version.minor=0
4
- version.maint=3
4
+ version.maint=4
5
5
  version.build=0
6
6
  project.name=kostya-sigar
7
7
  project.author=Doug MacEachern
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kostya-sigar
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Doug MacEachern
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-09 00:00:00.000000000 Z
11
+ date: 2018-06-10 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: System Information Gatherer And Reporter
14
14
  email: sigar-users@hyperic.org