librrd 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES.md CHANGED
@@ -1,6 +1,9 @@
1
1
  ChangeLog
2
2
  =========
3
3
 
4
+ # 1.0.4
5
+ * Update 1.4.x binding to rrdtool-1.4.8.
6
+
4
7
  # 1.0.3
5
8
  * Update 1.4.x binding to rrdtool-1.4.7.
6
9
 
data/README.md CHANGED
@@ -19,6 +19,8 @@ The following systems, RRDtool versions and Ruby versions have been tested.
19
19
  * ruby-enterpriseedition 1.8.7 2010.02
20
20
  * Ubuntu 11.04 (RRDtool 1.4.3)
21
21
  * Ruby 1.9.2p180, Ruby 1.8.7p334
22
+ * Ubuntu 13.04 (RRDtool 1.4.7)
23
+ * Ruby 1.9.3p194
22
24
  * CentOS 5.5 (RRDtool 1.2.27)
23
25
  * ruby-enterpriseedition 1.8.6 20090610
24
26
  * OpenBSD 4.8 (RRDtool 1.2.30)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.3
1
+ 1.0.4
@@ -1,4 +1,4 @@
1
- /* $Id: main.c 2022 2010-02-16 13:04:18Z oetiker $
1
+ /* $Id$
2
2
  * Substantial penalty for early withdrawal.
3
3
  */
4
4
 
@@ -27,7 +27,7 @@ typedef rrd_info_t *(
27
27
 
28
28
  #define RRD_CHECK_ERROR \
29
29
  if (rrd_test_error()) \
30
- rb_raise(rb_eRRDError, rrd_get_error()); \
30
+ rb_raise(rb_eRRDError, "%s", rrd_get_error()); \
31
31
  rrd_clear_error();
32
32
 
33
33
  string_arr string_arr_new(
@@ -57,7 +57,7 @@ string_arr string_arr_new(
57
57
  default:
58
58
  rb_raise(rb_eTypeError,
59
59
  "invalid argument - %s, expected T_STRING or T_FIXNUM on index %ld",
60
- (long)rb_class2name(CLASS_OF(v)), i);
60
+ rb_class2name(CLASS_OF(v)), (long)i);
61
61
  break;
62
62
  }
63
63
  }
@@ -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.3'
11
- s.date = '2012-08-11'
10
+ s.version = '1.0.4'
11
+ s.date = '2013-07-19'
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.3
4
+ version: 1.0.4
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-08-11 00:00:00.000000000 Z
12
+ date: 2013-07-19 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.24
63
+ rubygems_version: 1.8.25
64
64
  signing_key:
65
65
  specification_version: 2
66
66
  summary: Ruby bindings for librrd