New Upstream Release - ruby-rake-ant

Ready changes

Summary

Merged new upstream version: 1.0.6 (was: 1.0.4).

Resulting package

Built on 2022-12-21T12:34 (took 11m7s)

The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:

apt install -t fresh-releases ruby-rake-ant

Lintian Result

Diff

diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 0cb6eeb..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,9 +0,0 @@
-/.bundle/
-/.yardoc
-/Gemfile.lock
-/_yardoc/
-/coverage/
-/doc/
-/pkg/
-/spec/reports/
-/tmp/
diff --git a/Gemfile b/Gemfile
deleted file mode 100644
index 62081d8..0000000
--- a/Gemfile
+++ /dev/null
@@ -1,6 +0,0 @@
-source "https://rubygems.org"
-
-git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
-
-# Specify your gem's dependencies in rake-ant.gemspec
-gemspec
diff --git a/Rakefile b/Rakefile
deleted file mode 100644
index d838b8d..0000000
--- a/Rakefile
+++ /dev/null
@@ -1,9 +0,0 @@
-require "bundler/gem_tasks"
-task :default => :test
-
-require "rake/testtask"
-Rake::TestTask.new do |t|
-  t.libs << "test"
-  t.test_files = FileList['test/test*.rb']
-  t.verbose = true
-end
diff --git a/debian/changelog b/debian/changelog
index 3699fa6..bdf657c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+ruby-rake-ant (1.0.6-1) UNRELEASED; urgency=low
+
+  * New upstream release.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Wed, 21 Dec 2022 12:25:39 -0000
+
 ruby-rake-ant (1.0.4-2) unstable; urgency=medium
 
   * Team upload.
diff --git a/lib/rake/ant/ant.rb b/lib/rake/ant/ant.rb
index 986ceaa..ac8da4a 100644
--- a/lib/rake/ant/ant.rb
+++ b/lib/rake/ant/ant.rb
@@ -40,7 +40,7 @@ class Rake::Ant
   # 1. Execute a block as a target: add_target "foo-target" { echo :message => "I am cool" }
   # 2. Execute a rake task as a target: add_target Rake.application["default"]
   def add_target(*options, &block)
-    target = options.first.respond_to?(:name) ? RakeTarget.new(self, options.first) : BlockTarget.new(self, *options, &block)
+    target = options.first.respond_to?(:prerequisites) ? RakeTarget.new(self, options.first) : BlockTarget.new(self, *options, &block)
     @project.add_target target
   end
   alias target add_target
diff --git a/lib/rake/ant/element.rb b/lib/rake/ant/element.rb
index 79fcc97..d3080fd 100644
--- a/lib/rake/ant/element.rb
+++ b/lib/rake/ant/element.rb
@@ -1,10 +1,12 @@
 class Rake::Ant
+  java_import org.apache.tools.ant.ExitStatusException
   java_import org.apache.tools.ant.IntrospectionHelper
   java_import org.apache.tools.ant.RuntimeConfigurable
   java_import org.apache.tools.ant.UnknownElement
 
   # preserve idempotence of Ruby wrapper as much as possible
   UnknownElement.__persistent__ = true
+  ExitStatusException.__persistent__ = true
 
   class UnknownElement
     attr_accessor :ant, :nesting
diff --git a/lib/rake/ant/version.rb b/lib/rake/ant/version.rb
index f7969b4..0bfe326 100644
--- a/lib/rake/ant/version.rb
+++ b/lib/rake/ant/version.rb
@@ -1,5 +1,5 @@
 module Rake
   class Ant
-    VERSION = "1.0.4"
+    VERSION = "1.0.6"
   end
 end
diff --git a/rake-ant.gemspec b/rake-ant.gemspec
index 37b0633..8636ca6 100644
--- a/rake-ant.gemspec
+++ b/rake-ant.gemspec
@@ -1,24 +1,33 @@
-# coding: utf-8
-lib = File.expand_path("../lib", __FILE__)
-$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
-require "rake/ant/version"
+#########################################################
+# This file has been automatically generated by gem2tgz #
+#########################################################
+# -*- encoding: utf-8 -*-
+# stub: rake-ant 1.0.6 ruby lib
 
-Gem::Specification.new do |spec|
-  spec.name          = "rake-ant"
-  spec.version       = Rake::Ant::VERSION
-  spec.authors       = ["Thomas E Enebo", "Charles Oliver Nutter"]
-  spec.email         = ["tom.enebo@gmail.com", "headius@headius.com"]
+Gem::Specification.new do |s|
+  s.name = "rake-ant".freeze
+  s.version = "1.0.6"
 
-  spec.summary       = %q{Ant tasks and integration for Rake}
-  spec.homepage      = "https://github.com/jruby/rake-ant"
+  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
+  s.require_paths = ["lib".freeze]
+  s.authors = ["Thomas E Enebo".freeze, "Charles Oliver Nutter".freeze]
+  s.date = "2022-10-31"
+  s.email = ["tom.enebo@gmail.com".freeze, "headius@headius.com".freeze]
+  s.files = ["LICENSE".freeze, "README.md".freeze, "lib/ant.rb".freeze, "lib/rake/ant.rb".freeze, "lib/rake/ant/ant.rb".freeze, "lib/rake/ant/element.rb".freeze, "lib/rake/ant/project_converter.rb".freeze, "lib/rake/ant/rake.rb".freeze, "lib/rake/ant/target.rb".freeze, "lib/rake/ant/tasks/raketasks.rb".freeze, "lib/rake/ant/version.rb".freeze]
+  s.homepage = "https://github.com/jruby/rake-ant".freeze
+  s.licenses = ["EPL-2.0".freeze]
+  s.rubygems_version = "3.2.5".freeze
+  s.summary = "Ant tasks and integration for Rake".freeze
 
-  spec.license       = "EPL-2.0"
-
-  spec.files         = `git ls-files -z`.split("\x0").reject do |f|
-    f.match(%r{^(test|spec|features)/})
+  if s.respond_to? :specification_version then
+    s.specification_version = 4
   end
-  spec.require_paths = ["lib"]
 
-  spec.add_development_dependency "bundler", "~> 1.15"
-  spec.add_development_dependency "rake", "~> 10.0"
+  if s.respond_to? :add_runtime_dependency then
+    s.add_development_dependency(%q<bundler>.freeze, ["~> 2.1"])
+    s.add_development_dependency(%q<rake>.freeze, ["~> 13.0"])
+  else
+    s.add_dependency(%q<bundler>.freeze, ["~> 2.1"])
+    s.add_dependency(%q<rake>.freeze, ["~> 13.0"])
+  end
 end

Debdiff

[The following lists of changes regard files as different if they have different names, permissions or owners.]

Files in second set of .debs but not in first

-rw-r--r--  root/root   /usr/share/rubygems-integration/all/gems/rake-ant-1.0.6/lib/ant.rb
-rw-r--r--  root/root   /usr/share/rubygems-integration/all/gems/rake-ant-1.0.6/lib/rake/ant.rb
-rw-r--r--  root/root   /usr/share/rubygems-integration/all/gems/rake-ant-1.0.6/lib/rake/ant/ant.rb
-rw-r--r--  root/root   /usr/share/rubygems-integration/all/gems/rake-ant-1.0.6/lib/rake/ant/element.rb
-rw-r--r--  root/root   /usr/share/rubygems-integration/all/gems/rake-ant-1.0.6/lib/rake/ant/project_converter.rb
-rw-r--r--  root/root   /usr/share/rubygems-integration/all/gems/rake-ant-1.0.6/lib/rake/ant/rake.rb
-rw-r--r--  root/root   /usr/share/rubygems-integration/all/gems/rake-ant-1.0.6/lib/rake/ant/target.rb
-rw-r--r--  root/root   /usr/share/rubygems-integration/all/gems/rake-ant-1.0.6/lib/rake/ant/tasks/raketasks.rb
-rw-r--r--  root/root   /usr/share/rubygems-integration/all/gems/rake-ant-1.0.6/lib/rake/ant/version.rb
-rw-r--r--  root/root   /usr/share/rubygems-integration/all/specifications/rake-ant-1.0.6.gemspec

Files in first set of .debs but not in second

-rw-r--r--  root/root   /usr/share/rubygems-integration/all/gems/rake-ant-1.0.4/lib/ant.rb
-rw-r--r--  root/root   /usr/share/rubygems-integration/all/gems/rake-ant-1.0.4/lib/rake/ant.rb
-rw-r--r--  root/root   /usr/share/rubygems-integration/all/gems/rake-ant-1.0.4/lib/rake/ant/ant.rb
-rw-r--r--  root/root   /usr/share/rubygems-integration/all/gems/rake-ant-1.0.4/lib/rake/ant/element.rb
-rw-r--r--  root/root   /usr/share/rubygems-integration/all/gems/rake-ant-1.0.4/lib/rake/ant/project_converter.rb
-rw-r--r--  root/root   /usr/share/rubygems-integration/all/gems/rake-ant-1.0.4/lib/rake/ant/rake.rb
-rw-r--r--  root/root   /usr/share/rubygems-integration/all/gems/rake-ant-1.0.4/lib/rake/ant/target.rb
-rw-r--r--  root/root   /usr/share/rubygems-integration/all/gems/rake-ant-1.0.4/lib/rake/ant/tasks/raketasks.rb
-rw-r--r--  root/root   /usr/share/rubygems-integration/all/gems/rake-ant-1.0.4/lib/rake/ant/version.rb
-rw-r--r--  root/root   /usr/share/rubygems-integration/all/specifications/rake-ant-1.0.4.gemspec

No differences were encountered in the control files

More details

Full run details