librrd 0.1.1 → 0.1.2

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
+ # 0.1.2
5
+ * Fix compilation on 1.9.2 by backporting a fix from the rrdtool svn. (r2132)
6
+
4
7
  # 0.1.1
5
8
  * Remove wrong dependency from gemspec.
6
9
 
data/README.md CHANGED
@@ -15,6 +15,13 @@ The following systems have been tested.
15
15
 
16
16
  * Ubuntu 10.04 LTS (librrd-1.3.8)
17
17
 
18
+ The following Ruby versions have been tested with [RVM](http://rvm.beginrescueend.com/).
19
+
20
+ * ruby 1.9.2p0
21
+ * ruby 1.8.7p302
22
+ * rubinius 1.1.0
23
+ * ruby-enterpriseedition 1.8.7 2010.02
24
+
18
25
  # Installation
19
26
 
20
27
  Make sure you have the development package of `librrd` installed.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
@@ -42,7 +42,7 @@ string_arr string_arr_new(
42
42
 
43
43
  switch (TYPE(v)) {
44
44
  case T_STRING:
45
- a.strings[i + 1] = strdup(STR2CSTR(v));
45
+ a.strings[i + 1] = strdup(StringValuePtr(v));
46
46
  break;
47
47
  case T_FIXNUM:
48
48
  snprintf(buf, 63, "%d", FIX2INT(v));
@@ -48,7 +48,7 @@ string_arr string_arr_new(
48
48
 
49
49
  switch (TYPE(v)) {
50
50
  case T_STRING:
51
- a.strings[i + 1] = strdup(STR2CSTR(v));
51
+ a.strings[i + 1] = strdup(StringValuePtr(v));
52
52
  break;
53
53
  case T_FIXNUM:
54
54
  snprintf(buf, 63, "%d", FIX2INT(v));
data/librrd.gemspec CHANGED
@@ -7,7 +7,7 @@ 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 = '0.1.1'
10
+ s.version = '0.1.2'
11
11
  s.date = '2010-10-05'
12
12
 
13
13
  s.summary = "Ruby bindings for librrd"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: librrd
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Bernd Ahlers