ruby-lzma 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/ext/lzma_ruby.cpp +2 -2
- data/ruby-lzma.gemspec +4 -4
- metadata +9 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.3
|
data/ext/lzma_ruby.cpp
CHANGED
@@ -8,7 +8,7 @@ static VALUE lz_compress(VALUE self, VALUE data) {
|
|
8
8
|
VALUE result = Qnil;
|
9
9
|
|
10
10
|
if(data != Qnil) {
|
11
|
-
void *data_ptr = RSTRING_PTR(data);
|
11
|
+
const void *data_ptr = RSTRING_PTR(data);
|
12
12
|
int data_len = RSTRING_LEN(data);
|
13
13
|
|
14
14
|
int out_size;
|
@@ -27,7 +27,7 @@ static VALUE lz_decompress(VALUE self, VALUE data) {
|
|
27
27
|
VALUE result = Qnil;
|
28
28
|
|
29
29
|
if(data != Qnil) {
|
30
|
-
void *data_ptr = RSTRING_PTR(data);
|
30
|
+
const void *data_ptr = RSTRING_PTR(data);
|
31
31
|
int len = RSTRING_LEN(data);
|
32
32
|
|
33
33
|
int out_size;
|
data/ruby-lzma.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{ruby-lzma}
|
8
|
-
s.version = "0.4.
|
8
|
+
s.version = "0.4.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Ian Levesque"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-06-07}
|
13
13
|
s.email = %q{ian@ianlevesque.org}
|
14
14
|
s.extensions = ["ext/extconf.rb"]
|
15
15
|
s.extra_rdoc_files = [
|
@@ -116,7 +116,7 @@ Gem::Specification.new do |s|
|
|
116
116
|
s.homepage = %q{http://github.com/ianlevesque/ruby-lzma}
|
117
117
|
s.rdoc_options = ["--charset=UTF-8"]
|
118
118
|
s.require_paths = ["lib"]
|
119
|
-
s.rubygems_version = %q{1.3.
|
119
|
+
s.rubygems_version = %q{1.3.7}
|
120
120
|
s.summary = %q{Simple ruby and jruby wrappers for LZMA compression and decompression.}
|
121
121
|
s.test_files = [
|
122
122
|
"test/test_lzma.rb"
|
@@ -126,7 +126,7 @@ Gem::Specification.new do |s|
|
|
126
126
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
127
127
|
s.specification_version = 3
|
128
128
|
|
129
|
-
if Gem::Version.new(Gem::
|
129
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
130
130
|
else
|
131
131
|
end
|
132
132
|
else
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-lzma
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 9
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 4
|
8
|
-
-
|
9
|
-
version: 0.4.
|
9
|
+
- 3
|
10
|
+
version: 0.4.3
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Ian Levesque
|
@@ -14,7 +15,7 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date: 2010-
|
18
|
+
date: 2010-06-07 00:00:00 -04:00
|
18
19
|
default_executable:
|
19
20
|
dependencies: []
|
20
21
|
|
@@ -133,23 +134,27 @@ rdoc_options:
|
|
133
134
|
require_paths:
|
134
135
|
- lib
|
135
136
|
required_ruby_version: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
136
138
|
requirements:
|
137
139
|
- - ">="
|
138
140
|
- !ruby/object:Gem::Version
|
141
|
+
hash: 3
|
139
142
|
segments:
|
140
143
|
- 0
|
141
144
|
version: "0"
|
142
145
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
146
|
+
none: false
|
143
147
|
requirements:
|
144
148
|
- - ">="
|
145
149
|
- !ruby/object:Gem::Version
|
150
|
+
hash: 3
|
146
151
|
segments:
|
147
152
|
- 0
|
148
153
|
version: "0"
|
149
154
|
requirements: []
|
150
155
|
|
151
156
|
rubyforge_project:
|
152
|
-
rubygems_version: 1.3.
|
157
|
+
rubygems_version: 1.3.7
|
153
158
|
signing_key:
|
154
159
|
specification_version: 3
|
155
160
|
summary: Simple ruby and jruby wrappers for LZMA compression and decompression.
|