bzip2-ruby 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ == 0.2.6 2009-10-6
2
+
3
+ * Updated to support Ruby 1.8.5
4
+
1
5
  == 0.2.5 ???
2
6
 
3
7
  * initial conversion of original tests over to rspec
@@ -1,4 +1,4 @@
1
1
  ---
2
- :major: 0
3
2
  :minor: 2
4
- :patch: 5
3
+ :patch: 6
4
+ :major: 0
@@ -1,12 +1,15 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
1
4
  # -*- encoding: utf-8 -*-
2
5
 
3
6
  Gem::Specification.new do |s|
4
7
  s.name = %q{bzip2-ruby}
5
- s.version = "0.2.5"
8
+ s.version = "0.2.6"
6
9
 
7
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
11
  s.authors = ["Guy Decoux", "Brian Lopez"]
9
- s.date = %q{2009-05-18}
12
+ s.date = %q{2009-10-06}
10
13
  s.email = %q{seniorlopez@gmail.com}
11
14
  s.extensions = ["ext/extconf.rb"]
12
15
  s.extra_rdoc_files = [
@@ -31,7 +34,7 @@ Gem::Specification.new do |s|
31
34
  s.homepage = %q{http://github.com/brianmario/bzip2-ruby}
32
35
  s.rdoc_options = ["--charset=UTF-8"]
33
36
  s.require_paths = ["lib", "ext"]
34
- s.rubygems_version = %q{1.3.3}
37
+ s.rubygems_version = %q{1.3.5}
35
38
  s.summary = %q{Ruby C bindings to libbzip2.}
36
39
  s.test_files = [
37
40
  "spec/reader_spec.rb",
@@ -18,6 +18,20 @@ static ID id_closed, id_close, id_str;
18
18
  #define BZ2_RB_CLOSE 1
19
19
  #define BZ2_RB_INTERNAL 2
20
20
 
21
+ // Older versions of Ruby (< 1.8.6) need these
22
+ #ifndef RSTRING_PTR
23
+ #define RSTRING_PTR(s) (RSTRING(s)->ptr)
24
+ #endif
25
+ #ifndef RSTRING_LEN
26
+ #define RSTRING_LEN(s) (RSTRING(s)->len)
27
+ #endif
28
+ #ifndef RARRAY_PTR
29
+ #define RARRAY_PTR(s) (RARRAY(s)->ptr)
30
+ #endif
31
+ #ifndef RARRAY_LEN
32
+ #define RARRAY_LEN(s) (RARRAY(s)->len)
33
+ #endif
34
+
21
35
  struct bz_file {
22
36
  bz_stream bzs;
23
37
  VALUE in, io;
@@ -1,5 +1,5 @@
1
1
  require 'bzip2_ext'
2
2
 
3
3
  module Bzip2
4
- VERSION = "0.2.5"
4
+ VERSION = "0.2.6"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bzip2-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guy Decoux
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2009-05-18 00:00:00 -07:00
13
+ date: 2009-10-06 00:00:00 -07:00
14
14
  default_executable:
15
15
  dependencies: []
16
16