librrd 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES.md +3 -0
- data/VERSION +1 -1
- data/ext/librrd/1.4/main.c +3 -3
- data/librrd.gemspec +2 -2
- metadata +3 -3
data/CHANGES.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.3
|
data/ext/librrd/1.4/main.c
CHANGED
@@ -51,13 +51,13 @@ string_arr string_arr_new(
|
|
51
51
|
a.strings[i + 1] = strdup(StringValuePtr(v));
|
52
52
|
break;
|
53
53
|
case T_FIXNUM:
|
54
|
-
snprintf(buf, 63, "%
|
54
|
+
snprintf(buf, 63, "%ld", (long)FIX2INT(v));
|
55
55
|
a.strings[i + 1] = strdup(buf);
|
56
56
|
break;
|
57
57
|
default:
|
58
58
|
rb_raise(rb_eTypeError,
|
59
|
-
"invalid argument - %s, expected T_STRING or T_FIXNUM on index %
|
60
|
-
rb_class2name(CLASS_OF(v)), i);
|
59
|
+
"invalid argument - %s, expected T_STRING or T_FIXNUM on index %ld",
|
60
|
+
(long)rb_class2name(CLASS_OF(v)), i);
|
61
61
|
break;
|
62
62
|
}
|
63
63
|
}
|
data/librrd.gemspec
CHANGED
@@ -7,8 +7,8 @@ Gem::Specification.new do |s|
|
|
7
7
|
## If your rubyforge_project name is different, then edit it and comment out
|
8
8
|
## the sub! line in the Rakefile
|
9
9
|
s.name = 'librrd'
|
10
|
-
s.version = '1.0.
|
11
|
-
s.date = '2012-
|
10
|
+
s.version = '1.0.3'
|
11
|
+
s.date = '2012-08-11'
|
12
12
|
|
13
13
|
s.summary = "Ruby bindings for librrd"
|
14
14
|
s.description = "Ruby bindings for librrd. Extracted from the RRDtool source."
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: librrd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-08-11 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Ruby bindings for librrd. Extracted from the RRDtool source.
|
15
15
|
email: bernd@tuneafish.de
|
@@ -60,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
60
60
|
version: '0'
|
61
61
|
requirements: []
|
62
62
|
rubyforge_project:
|
63
|
-
rubygems_version: 1.8.
|
63
|
+
rubygems_version: 1.8.24
|
64
64
|
signing_key:
|
65
65
|
specification_version: 2
|
66
66
|
summary: Ruby bindings for librrd
|