[DRE-commits] [gem2deb] 02/03: update sample gems
Cédric Boutillier
boutil at moszumanska.debian.org
Mon Aug 11 13:27:39 UTC 2014
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch master
in repository gem2deb.
commit deb36a615abd7d5cd814a41b4236a22f60b09a56
Author: Cédric Boutillier <boutil at debian.org>
Date: Sun Aug 10 16:59:25 2014 +0200
update sample gems
---
test/sample/Fancy_Package/Rakefile | 9 ++++++---
test/sample/Fancy_Package/pkg/Fancy_Package-0.0.1.gem | Bin 3584 -> 4608 bytes
test/sample/simpleextension/Rakefile | 9 ++++++---
.../simpleextension/pkg/simpleextension-1.2.3.gem | Bin 3584 -> 5120 bytes
.../simpleextension_dh_auto_install_destdir/Rakefile | 9 ++++++---
test/sample/simpleextension_in_root/Rakefile | 9 ++++++---
.../pkg/simpleextension_in_root-1.2.3.gem | Bin 3584 -> 4608 bytes
test/sample/simpleextension_with_name_clash/Rakefile | 9 ++++++---
.../pkg/simpleextension-with-name-clash-1.2.3.gem | Bin 4096 -> 5120 bytes
test/sample/simplegem/Rakefile | 9 ++++++---
test/sample/simplegem/pkg/simplegem-0.0.1.gem | Bin 3072 -> 4096 bytes
test/sample/simplemixed/Rakefile | 9 ++++++---
test/sample/simplemixed/pkg/simplemixed-1.2.3.gem | Bin 3584 -> 4608 bytes
test/sample/simpleprogram-no-shebang/Rakefile | 9 ++++++---
.../pkg/simpleprogram-no-shebang-1.2.3.gem | Bin 3072 -> 4608 bytes
test/sample/simpleprogram/Rakefile | 9 ++++++---
test/sample/simpleprogram/pkg/simpleprogram-1.2.3.gem | Bin 3072 -> 4096 bytes
test/sample/simpletgz/Rakefile | 13 ++++++++-----
test/sample/simpletgz/pkg/simpletgz-0.0.1.tgz | Bin 520 -> 179 bytes
19 files changed, 62 insertions(+), 32 deletions(-)
diff --git a/test/sample/Fancy_Package/Rakefile b/test/sample/Fancy_Package/Rakefile
index eaedfe2..a9e9f6f 100644
--- a/test/sample/Fancy_Package/Rakefile
+++ b/test/sample/Fancy_Package/Rakefile
@@ -1,5 +1,4 @@
-require 'rubygems'
-require 'rake/gempackagetask'
+require 'rubygems/package_task'
spec = Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
@@ -8,6 +7,10 @@ spec = Gem::Specification.new do |s|
s.version = '0.0.1'
s.requirements << 'none'
s.require_path = 'lib'
+ s.author = 'Debian Ruby Extras Maintainers'
+ s.email = 'pkg-ruby-extras-maintainers at lists.alioth.debian.org'
+ s.homepage = 'https://wiki.debian.org/Teams/Ruby'
+ s.license = 'GPL-3+'
s.files = Dir.glob('lib/**')
s.description = <<EOF
This package contains two elements of ridiculous upstream names: uppercase
@@ -17,7 +20,7 @@ debian/watch
EOF
end
-Rake::GemPackageTask.new(spec) do |pkg|
+Gem::PackageTask.new(spec) do |pkg|
pkg.need_zip = false
pkg.need_tar = false
end
diff --git a/test/sample/Fancy_Package/pkg/Fancy_Package-0.0.1.gem b/test/sample/Fancy_Package/pkg/Fancy_Package-0.0.1.gem
index db33b2f..94c0622 100644
Binary files a/test/sample/Fancy_Package/pkg/Fancy_Package-0.0.1.gem and b/test/sample/Fancy_Package/pkg/Fancy_Package-0.0.1.gem differ
diff --git a/test/sample/simpleextension/Rakefile b/test/sample/simpleextension/Rakefile
index ebf5ccb..389889c 100644
--- a/test/sample/simpleextension/Rakefile
+++ b/test/sample/simpleextension/Rakefile
@@ -1,5 +1,4 @@
-require 'rubygems'
-require 'rake/gempackagetask'
+require 'rubygems/package_task'
spec = Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
@@ -8,6 +7,10 @@ spec = Gem::Specification.new do |s|
s.version = '1.2.3'
s.requirements << 'none'
s.require_path = 'ext'
+ s.author = 'Debian Ruby Extras Maintainers'
+ s.email = 'pkg-ruby-extras-maintainers at lists.alioth.debian.org'
+ s.homepage = 'https://wiki.debian.org/Teams/Ruby'
+ s.license = 'GPL-3+'
s.extensions << 'ext/simpleextension/extconf.rb'
#s.autorequire = 'rake'
s.files = Dir.glob('{bin,ext}/**/*')
@@ -17,7 +20,7 @@ EOF
s.test_files = ['test/test_simpleextension.rb']
end
-Rake::GemPackageTask.new(spec) do |pkg|
+Gem::PackageTask.new(spec) do |pkg|
pkg.need_zip = false
pkg.need_tar = false
end
diff --git a/test/sample/simpleextension/pkg/simpleextension-1.2.3.gem b/test/sample/simpleextension/pkg/simpleextension-1.2.3.gem
index db5fc26..e9bfb2b 100644
Binary files a/test/sample/simpleextension/pkg/simpleextension-1.2.3.gem and b/test/sample/simpleextension/pkg/simpleextension-1.2.3.gem differ
diff --git a/test/sample/simpleextension_dh_auto_install_destdir/Rakefile b/test/sample/simpleextension_dh_auto_install_destdir/Rakefile
index ebf5ccb..140b66e 100644
--- a/test/sample/simpleextension_dh_auto_install_destdir/Rakefile
+++ b/test/sample/simpleextension_dh_auto_install_destdir/Rakefile
@@ -1,5 +1,4 @@
-require 'rubygems'
-require 'rake/gempackagetask'
+require 'rubygems/package_task'
spec = Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
@@ -9,6 +8,10 @@ spec = Gem::Specification.new do |s|
s.requirements << 'none'
s.require_path = 'ext'
s.extensions << 'ext/simpleextension/extconf.rb'
+ s.author = 'Debian Ruby Extras Maintainers'
+ s.email = 'pkg-ruby-extras-maintainers at lists.alioth.debian.org'
+ s.homepage = 'https://wiki.debian.org/Teams/Ruby'
+ s.license = 'GPL-3+'
#s.autorequire = 'rake'
s.files = Dir.glob('{bin,ext}/**/*')
s.description = <<EOF
@@ -17,7 +20,7 @@ EOF
s.test_files = ['test/test_simpleextension.rb']
end
-Rake::GemPackageTask.new(spec) do |pkg|
+Gem::PackageTask.new(spec) do |pkg|
pkg.need_zip = false
pkg.need_tar = false
end
diff --git a/test/sample/simpleextension_in_root/Rakefile b/test/sample/simpleextension_in_root/Rakefile
index ef1b287..087dc9c 100644
--- a/test/sample/simpleextension_in_root/Rakefile
+++ b/test/sample/simpleextension_in_root/Rakefile
@@ -1,5 +1,4 @@
-require 'rubygems'
-require 'rake/gempackagetask'
+require 'rubygems/package_task'
spec = Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
@@ -9,6 +8,10 @@ spec = Gem::Specification.new do |s|
s.requirements << 'none'
s.require_path = '.'
s.extensions << 'extconf.rb'
+ s.author = 'Debian Ruby Extras Maintainers'
+ s.email = 'pkg-ruby-extras-maintainers at lists.alioth.debian.org'
+ s.homepage = 'https://wiki.debian.org/Teams/Ruby'
+ s.license = 'GPL-3+'
#s.autorequire = 'rake'
s.files = ['extconf.rb', 'simpleextension_in_root.c']
s.description = <<EOF
@@ -18,7 +21,7 @@ directory, instead of inside ext/ subdirectory.
EOF
end
-Rake::GemPackageTask.new(spec) do |pkg|
+Gem::PackageTask.new(spec) do |pkg|
pkg.need_zip = false
pkg.need_tar = false
end
diff --git a/test/sample/simpleextension_in_root/pkg/simpleextension_in_root-1.2.3.gem b/test/sample/simpleextension_in_root/pkg/simpleextension_in_root-1.2.3.gem
index e7b5139..27261fe 100644
Binary files a/test/sample/simpleextension_in_root/pkg/simpleextension_in_root-1.2.3.gem and b/test/sample/simpleextension_in_root/pkg/simpleextension_in_root-1.2.3.gem differ
diff --git a/test/sample/simpleextension_with_name_clash/Rakefile b/test/sample/simpleextension_with_name_clash/Rakefile
index 58ae3ef..2b37d93 100644
--- a/test/sample/simpleextension_with_name_clash/Rakefile
+++ b/test/sample/simpleextension_with_name_clash/Rakefile
@@ -1,5 +1,4 @@
-require 'rubygems'
-require 'rake/gempackagetask'
+require 'rubygems/package_task'
spec = Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
@@ -9,6 +8,10 @@ spec = Gem::Specification.new do |s|
s.requirements << 'none'
s.require_path = 'ext'
s.extensions << 'ext/extconf.rb'
+ s.author = 'Debian Ruby Extras Maintainers'
+ s.email = 'pkg-ruby-extras-maintainers at lists.alioth.debian.org'
+ s.homepage = 'https://wiki.debian.org/Teams/Ruby'
+ s.license = 'GPL-3+'
#s.autorequire = 'rake'
s.files = Dir.glob('{lib,ext,test}/**/*')
s.description = <<EOF
@@ -17,7 +20,7 @@ EOF
s.test_files = ['test/simpleextension_with_name_clash_test.rb']
end
-Rake::GemPackageTask.new(spec) do |pkg|
+Gem::PackageTask.new(spec) do |pkg|
pkg.need_zip = false
pkg.need_tar = false
end
diff --git a/test/sample/simpleextension_with_name_clash/pkg/simpleextension-with-name-clash-1.2.3.gem b/test/sample/simpleextension_with_name_clash/pkg/simpleextension-with-name-clash-1.2.3.gem
index 357cca8..7bad0a7 100644
Binary files a/test/sample/simpleextension_with_name_clash/pkg/simpleextension-with-name-clash-1.2.3.gem and b/test/sample/simpleextension_with_name_clash/pkg/simpleextension-with-name-clash-1.2.3.gem differ
diff --git a/test/sample/simplegem/Rakefile b/test/sample/simplegem/Rakefile
index 697426a..a89e8dd 100644
--- a/test/sample/simplegem/Rakefile
+++ b/test/sample/simplegem/Rakefile
@@ -1,5 +1,4 @@
-require 'rubygems'
-require 'rake/gempackagetask'
+require 'rubygems/package_task'
spec = Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
@@ -8,6 +7,10 @@ spec = Gem::Specification.new do |s|
s.version = '0.0.1'
s.requirements << 'none'
s.require_path = 'lib'
+ s.author = 'Debian Ruby Extras Maintainers'
+ s.email = 'pkg-ruby-extras-maintainers at lists.alioth.debian.org'
+ s.homepage = 'https://wiki.debian.org/Teams/Ruby'
+ s.license = 'GPL-3+'
#s.autorequire = 'rake'
s.files = Dir.glob('lib/**')
s.description = <<EOF
@@ -15,7 +18,7 @@ simplegem is a simple gem that is used to test gem2tgz.
EOF
end
-Rake::GemPackageTask.new(spec) do |pkg|
+Gem::PackageTask.new(spec) do |pkg|
pkg.need_zip = true
pkg.need_tar = true
end
diff --git a/test/sample/simplegem/pkg/simplegem-0.0.1.gem b/test/sample/simplegem/pkg/simplegem-0.0.1.gem
index 3b31771..2ffd644 100644
Binary files a/test/sample/simplegem/pkg/simplegem-0.0.1.gem and b/test/sample/simplegem/pkg/simplegem-0.0.1.gem differ
diff --git a/test/sample/simplemixed/Rakefile b/test/sample/simplemixed/Rakefile
index da6301e..e5fc11c 100644
--- a/test/sample/simplemixed/Rakefile
+++ b/test/sample/simplemixed/Rakefile
@@ -1,5 +1,4 @@
-require 'rubygems'
-require 'rake/gempackagetask'
+require 'rubygems/package_task'
spec = Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
@@ -9,6 +8,10 @@ spec = Gem::Specification.new do |s|
s.requirements << 'none'
s.require_path = 'ext'
s.extensions << 'ext/simplemixed/extconf.rb'
+ s.author = 'Debian Ruby Extras Maintainers'
+ s.email = 'pkg-ruby-extras-maintainers at lists.alioth.debian.org'
+ s.homepage = 'https://wiki.debian.org/Teams/Ruby'
+ s.license = 'GPL-3+'
#s.autorequire = 'rake'
s.files = Dir.glob('{bin,ext,lib}/**/*')
s.description = <<EOF
@@ -16,7 +19,7 @@ simplemixed is a simple mixed library (both pure-Ruby and native extension) that
EOF
end
-Rake::GemPackageTask.new(spec) do |pkg|
+Gem::PackageTask.new(spec) do |pkg|
pkg.need_zip = false
pkg.need_tar = false
end
diff --git a/test/sample/simplemixed/pkg/simplemixed-1.2.3.gem b/test/sample/simplemixed/pkg/simplemixed-1.2.3.gem
index f030677..a064e26 100644
Binary files a/test/sample/simplemixed/pkg/simplemixed-1.2.3.gem and b/test/sample/simplemixed/pkg/simplemixed-1.2.3.gem differ
diff --git a/test/sample/simpleprogram-no-shebang/Rakefile b/test/sample/simpleprogram-no-shebang/Rakefile
index 4fd9edb..3836297 100644
--- a/test/sample/simpleprogram-no-shebang/Rakefile
+++ b/test/sample/simpleprogram-no-shebang/Rakefile
@@ -1,5 +1,4 @@
-require 'rubygems'
-require 'rake/gempackagetask'
+require 'rubygems/package_task'
spec = Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
@@ -8,6 +7,10 @@ spec = Gem::Specification.new do |s|
s.version = '1.2.3'
s.requirements << 'none'
s.require_path = 'lib'
+ s.author = 'Debian Ruby Extras Maintainers'
+ s.email = 'pkg-ruby-extras-maintainers at lists.alioth.debian.org'
+ s.homepage = 'https://wiki.debian.org/Teams/Ruby'
+ s.license = 'GPL-3+'
#s.autorequire = 'rake'
s.files = Dir.glob('{bin,man}/**/*')
s.test_files = ['test/runprogram.rb']
@@ -16,7 +19,7 @@ simpleprogram-no-shebang is a simple program that is used to test dh_ruby.
EOF
end
-Rake::GemPackageTask.new(spec) do |pkg|
+Gem::PackageTask.new(spec) do |pkg|
pkg.need_zip = false
pkg.need_tar = false
end
diff --git a/test/sample/simpleprogram-no-shebang/pkg/simpleprogram-no-shebang-1.2.3.gem b/test/sample/simpleprogram-no-shebang/pkg/simpleprogram-no-shebang-1.2.3.gem
index 5276e90..7473423 100644
Binary files a/test/sample/simpleprogram-no-shebang/pkg/simpleprogram-no-shebang-1.2.3.gem and b/test/sample/simpleprogram-no-shebang/pkg/simpleprogram-no-shebang-1.2.3.gem differ
diff --git a/test/sample/simpleprogram/Rakefile b/test/sample/simpleprogram/Rakefile
index 7f100ef..a80f7f8 100644
--- a/test/sample/simpleprogram/Rakefile
+++ b/test/sample/simpleprogram/Rakefile
@@ -1,5 +1,4 @@
-require 'rubygems'
-require 'rake/gempackagetask'
+require 'rubygems/package_task'
spec = Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
@@ -8,6 +7,10 @@ spec = Gem::Specification.new do |s|
s.version = '1.2.3'
s.requirements << 'none'
s.require_path = 'lib'
+ s.author = 'Debian Ruby Extras Maintainers'
+ s.email = 'pkg-ruby-extras-maintainers at lists.alioth.debian.org'
+ s.homepage = 'https://wiki.debian.org/Teams/Ruby'
+ s.license = 'GPL-3+'
#s.autorequire = 'rake'
s.files = Dir.glob('{bin,man}/**/*')
s.description = <<EOF
@@ -15,7 +18,7 @@ simpleprogram is a simple program that is used to test dh_ruby.
EOF
end
-Rake::GemPackageTask.new(spec) do |pkg|
+Gem::PackageTask.new(spec) do |pkg|
pkg.need_zip = false
pkg.need_tar = false
end
diff --git a/test/sample/simpleprogram/pkg/simpleprogram-1.2.3.gem b/test/sample/simpleprogram/pkg/simpleprogram-1.2.3.gem
index 9bbf002..d61767f 100644
Binary files a/test/sample/simpleprogram/pkg/simpleprogram-1.2.3.gem and b/test/sample/simpleprogram/pkg/simpleprogram-1.2.3.gem differ
diff --git a/test/sample/simpletgz/Rakefile b/test/sample/simpletgz/Rakefile
index 697426a..0822540 100644
--- a/test/sample/simpletgz/Rakefile
+++ b/test/sample/simpletgz/Rakefile
@@ -1,21 +1,24 @@
-require 'rubygems'
-require 'rake/gempackagetask'
+require 'rubygems/package_task'
spec = Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
s.summary = "Simple gem used to test gem2tgz."
- s.name = 'simplegem'
+ s.name = 'simpletgz'
s.version = '0.0.1'
s.requirements << 'none'
s.require_path = 'lib'
+ s.author = 'Debian Ruby Extras Maintainers'
+ s.email = 'pkg-ruby-extras-maintainers at lists.alioth.debian.org'
+ s.homepage = 'https://wiki.debian.org/Teams/Ruby'
+ s.license = 'GPL-3+'
#s.autorequire = 'rake'
s.files = Dir.glob('lib/**')
s.description = <<EOF
-simplegem is a simple gem that is used to test gem2tgz.
+simpletgz is a simple gem that is used to test gem2tgz.
EOF
end
-Rake::GemPackageTask.new(spec) do |pkg|
+Gem::PackageTask.new(spec) do |pkg|
pkg.need_zip = true
pkg.need_tar = true
end
diff --git a/test/sample/simpletgz/pkg/simpletgz-0.0.1.tgz b/test/sample/simpletgz/pkg/simpletgz-0.0.1.tgz
index 5cf4982..0416cc7 100644
Binary files a/test/sample/simpletgz/pkg/simpletgz-0.0.1.tgz and b/test/sample/simpletgz/pkg/simpletgz-0.0.1.tgz differ
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gem2deb.git
More information about the Pkg-ruby-extras-commits
mailing list