brianmario-bzip2-ruby 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +5 -0
- data/README.rdoc +30 -0
- data/Rakefile +19 -0
- data/VERSION.yml +4 -0
- data/bzip2-ruby.gemspec +50 -0
- data/ext/bz2.c +1582 -0
- data/ext/extconf.rb +13 -0
- data/tasks/extconf/bz2.rake +43 -0
- data/tasks/extconf.rake +13 -0
- data/test/reader.rb +370 -0
- data/test/runit_.rb +32 -0
- data/test/writer.rb +152 -0
- metadata +67 -0
data/History.txt
ADDED
data/README.rdoc
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
= Ruby C bindings to libbzip2
|
2
|
+
|
3
|
+
== Installation
|
4
|
+
|
5
|
+
sudo gem install brianmario-bzip2-ruby -s http://gems.github.com/
|
6
|
+
|
7
|
+
You may need to specify:
|
8
|
+
|
9
|
+
--with-bz2-dir=<include file directory for libbzip2>
|
10
|
+
|
11
|
+
== Documentation:
|
12
|
+
|
13
|
+
coming soon...
|
14
|
+
|
15
|
+
== Spec Tests:
|
16
|
+
|
17
|
+
coming soon...
|
18
|
+
|
19
|
+
== Copying
|
20
|
+
|
21
|
+
This extension module is copyrighted free software by Guy Decoux
|
22
|
+
You can redistribute it and/or modify it under the same term as Ruby.
|
23
|
+
Guy Decoux <ts@moulon.inra.fr>
|
24
|
+
|
25
|
+
== Modifications from origin version
|
26
|
+
|
27
|
+
* Switch to Jeweler
|
28
|
+
* Renamed BZ2 module/namespace to Bzip2
|
29
|
+
* Renamed compiled binary from "bz2" to "bzip2"
|
30
|
+
* Renamed gem from "bz2" to "bzip2-ruby"
|
data/Rakefile
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
begin
|
3
|
+
require 'jeweler'
|
4
|
+
Jeweler::Tasks.new do |gem|
|
5
|
+
gem.name = "bzip2-ruby"
|
6
|
+
gem.summary = "Ruby C bindings to libbzip2."
|
7
|
+
gem.email = "seniorlopez@gmail.com"
|
8
|
+
gem.homepage = "http://github.com/brianmario/bzip2-ruby"
|
9
|
+
gem.authors = ["Guy Decoux", "Brian Lopez"]
|
10
|
+
gem.require_paths = ["ext"]
|
11
|
+
gem.extra_rdoc_files = `git ls-files *.rdoc`.split("\n")
|
12
|
+
gem.files = `git ls-files`.split("\n")
|
13
|
+
gem.extensions = ["ext/extconf.rb"]
|
14
|
+
gem.files.include %w(lib/jeweler/templates/.document lib/jeweler/templates/.gitignore)
|
15
|
+
# gem.rubyforge_project = "bzip2-ruby"
|
16
|
+
end
|
17
|
+
rescue LoadError
|
18
|
+
puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
|
19
|
+
end
|
data/VERSION.yml
ADDED
data/bzip2-ruby.gemspec
ADDED
@@ -0,0 +1,50 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = %q{bzip2-ruby}
|
5
|
+
s.version = "0.2.4"
|
6
|
+
|
7
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
|
+
s.authors = ["Guy Decoux", "Brian Lopez"]
|
9
|
+
s.date = %q{2009-05-02}
|
10
|
+
s.email = %q{seniorlopez@gmail.com}
|
11
|
+
s.extensions = ["ext/extconf.rb"]
|
12
|
+
s.extra_rdoc_files = [
|
13
|
+
"README.rdoc"
|
14
|
+
]
|
15
|
+
s.files = [
|
16
|
+
"History.txt",
|
17
|
+
"README.rdoc",
|
18
|
+
"Rakefile",
|
19
|
+
"VERSION.yml",
|
20
|
+
"bzip2-ruby.gemspec",
|
21
|
+
"ext/bz2.c",
|
22
|
+
"ext/extconf.rb",
|
23
|
+
"tasks/extconf.rake",
|
24
|
+
"tasks/extconf/bz2.rake",
|
25
|
+
"test/reader.rb",
|
26
|
+
"test/runit_.rb",
|
27
|
+
"test/writer.rb"
|
28
|
+
]
|
29
|
+
s.has_rdoc = true
|
30
|
+
s.homepage = %q{http://github.com/brianmario/bzip2-ruby}
|
31
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
32
|
+
s.require_paths = ["ext"]
|
33
|
+
s.rubygems_version = %q{1.3.2}
|
34
|
+
s.summary = %q{Ruby C bindings to libbzip2.}
|
35
|
+
s.test_files = [
|
36
|
+
"test/reader.rb",
|
37
|
+
"test/runit_.rb",
|
38
|
+
"test/writer.rb"
|
39
|
+
]
|
40
|
+
|
41
|
+
if s.respond_to? :specification_version then
|
42
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
43
|
+
s.specification_version = 3
|
44
|
+
|
45
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
46
|
+
else
|
47
|
+
end
|
48
|
+
else
|
49
|
+
end
|
50
|
+
end
|