gem2deb (0.32) unstable; urgency=medium

  * --gem-install: append new directories to the whitelist from the
    $DH_RUBY_GEM_INSTALL_WHITELIST_APPEND environment variable

 -- Antonio Terceiro <terceiro@debian.org>  Tue, 23 Aug 2016 11:26:19 -0300

gem2deb (0.31) unstable; urgency=medium

  * dh-make-ruby:
    - Bump Standards-Version in debian/control template to 3.9.8
  * gem2deb-test-runner:
    - Add -d/--check-dependencies-only option that only checks dependencies,
      and does not run any tests.

 -- Antonio Terceiro <terceiro@debian.org>  Fri, 01 Jul 2016 17:22:02 -0300

gem2deb (0.30.3) unstable; urgency=medium

  * test/unit/dh_ruby_test.rb: fix method that gets the list of binary
    packages from source packages generated in the tests to not be influenced
    by the dpkg-buildpackage invocation used to build gem2deb
    (Closes: #826674)
  * Bump Standards-Version to 3.9.8, no changes needed

 -- Antonio Terceiro <terceiro@debian.org>  Sun, 12 Jun 2016 14:42:42 -0300

gem2deb (0.30.2) unstable; urgency=medium

  [ Antonio Terceiro ]
  * dh-make-ruby:
    - replace mentions of `apt-file update` with `apt update`, following new
      version of apt-file
  * gem2deb-test-runner:
    - make it explicit in the manpage that are options other than
      --autopkgtest
  * gem2deb/extension_builder.rb: make sure rake is called as /usr/bin/rake

  [ Christian Hofstaedtler ]
  * Move build-essential to Recommends, easing cross-builds.
  * Move python3-debian to Recommends, easing cross-builds (only needed
    for tests).
  * Make packages Architecture: any to satisfy arch-correct Build-Depends
    for cross-builds.

 -- Antonio Terceiro <terceiro@debian.org>  Sun, 05 Jun 2016 11:11:17 -0300

gem2deb (0.30.1) unstable; urgency=medium

  * Gem2Deb::Metadata:
    - make the workaround attempt for gemspecs using git more robust.
  * Gem2Deb::Banner:
    - flush stdout immediately to improve output under autopkgtest

 -- Antonio Terceiro <terceiro@debian.org>  Thu, 17 Mar 2016 11:42:36 -0300

gem2deb (0.30) unstable; urgency=medium

  * Gem2Deb::Metadata:
    - workaround git usage in gemspecs. The fact that Debian source packages
      are *not* git repositories makes it necessary to patch upstream gemspec to
      drop usage of `git ls-files` in several packages. This change makes
      gem2deb try to override that with sane defaults for a Debian package.
      (Closes: #800933)
    - fail the build if there is a gemspec in the source package but we fail
      to load it.
  * gem2deb-test-runner: when dependency resolution is requested, fail if
    there is no working source gemspec to read the package name from.

 -- Antonio Terceiro <terceiro@debian.org>  Tue, 15 Mar 2016 13:04:26 -0300

gem2deb (0.29) unstable; urgency=medium

  * gem2tgz:
    - Stop generating metadata.yml, and generate a .gemspec if there is no
      gemspec yet.

 -- Antonio Terceiro <terceiro@debian.org>  Fri, 04 Mar 2016 18:50:17 -0300

gem2deb (0.28) unstable; urgency=medium

  * dh_ruby:
    - force generated gemspecs to have their contains file lists sorted
      to help with build reproducibility

 -- Christian Hofstaedtler <zeha@debian.org>  Fri, 04 Mar 2016 16:00:17 +0100

gem2deb (0.27) unstable; urgency=medium

  * dh-make-ruby:
    - with -w/--overwrite, never overwrite debian/copyright. It's not useful
      to replace an human-reviewed debian/copyright with a completely dumb
      boilerplate.
  * dh_ruby:
    - force generated gemspecs to use the date from debian/changelog to help
      with build reproducibility

 -- Antonio Terceiro <terceiro@debian.org>  Wed, 02 Mar 2016 17:15:19 -0300

gem2deb (0.26.2) unstable; urgency=medium

  * dh-make-ruby: bump Standards-Version in generated debian/control files to
    3.9.7
  * debian/control: bump Standards-Version to 3.9.7; no changed needed.
  * gem_installer_test: fix assertion to check the right value when multiple
    Ruby versions are enabled.

 -- Antonio Terceiro <terceiro@debian.org>  Fri, 26 Feb 2016 11:26:49 -0300

gem2deb (0.26.1) unstable; urgency=medium

  * metadata: resist gemspec.bindir not being a String (Closes: #814973)

 -- Antonio Terceiro <terceiro@debian.org>  Wed, 17 Feb 2016 08:04:36 -0200

gem2deb (0.26) unstable; urgency=medium

  * dh_ruby:
    - When installing executables, consider gemspec.bindir for installing
      executables, for when they are in a directory different than bin/
    - When installing executables, consider gemspec.executables for the case
      where not all scripts under the bindir should be installed.

 -- Antonio Terceiro <terceiro@debian.org>  Mon, 15 Feb 2016 18:04:52 -0200

gem2deb (0.25.2) unstable; urgency=medium

  * gem2deb-test-runner: put directories under debian/ first in GEM_PATH to
    make sure dependency resolution uses the metadata installed during the
    build with precedence over metadata already installed in the system. Fixes
    building packages on non-clean systems where the package you are building
    may have a version already installed.
  * dh_ruby --gem-install:
    - handle not installing test files when they are explicitly listed in the
      gemspec under `spec.test_files = ...`.

 -- Antonio Terceiro <terceiro@debian.org>  Sun, 14 Feb 2016 13:42:40 -0200

gem2deb (0.25.1) unstable; urgency=medium

  * gem2deb, gem2deb-test-runner: add dependency on rake since we now call
    `rake` explicitly (Closes: #812580).

 -- Antonio Terceiro <terceiro@debian.org>  Mon, 25 Jan 2016 08:41:39 -0200

gem2deb (0.25) unstable; urgency=medium

  * debian/control: switch from git:// to https:// in Vcs-Git:
  * dh-make-ruby: stop creating debian/ruby-test-files.yaml. In my experience
    that almost never works out of the box.
    - Note that dh_ruby still supports it, we just won't autogenerate that
      when creating new packaging from scratch anymore.
  * gem2deb-test-runner: also set GEM_PATH when running tests. This makes
    tests work out of the box when using --gem-install
  * dh_ruby --gem-install:
    - Only install files that match a whitelist, to avoid having all the
      clutter that usually comes in source packages installed to binary
      packages.
    - Implement correct installation of native extensions

 -- Antonio Terceiro <terceiro@debian.org>  Sat, 23 Jan 2016 17:23:22 -0200

gem2deb (0.24) experimental; urgency=medium

  * gem installer: avoid installing the debian/ directory when upstream
    metadata specifies the packages files as '**/*'
  * test runner: call `rubyX.Y -S rake` instead of `rakeX.Y`. Ruby 2.3 does
    not ship a rake2.3 anymore.
  * dh-make-ruby: change generated Vcs-Git URL from git:// to https://

 -- Antonio Terceiro <terceiro@debian.org>  Sat, 09 Jan 2016 20:54:02 -0200

gem2deb (0.23) experimental; urgency=medium

  * dh_ruby:
    - take parameters from the $DH_RUBY environment variable
    - add experimental support for installing packages as gems.
    - allow options to be passed in any order
    - clarify usage message

 -- Antonio Terceiro <terceiro@debian.org>  Fri, 13 Nov 2015 10:59:47 -0200

gem2deb (0.22.1) unstable; urgency=medium

  * Skip integration tests during the build. When buildind only architecture
    independent packages (i.e. with dpkg-buildpackage -A or sbuild
    --arch-all-only), the nested dpkg-buildpackage calls in the integration
    tests will fail. We'll still run the integration tests under autopkgtest
    though.

 -- Antonio Terceiro <terceiro@debian.org>  Wed, 11 Nov 2015 16:39:24 -0200

gem2deb (0.22) unstable; urgency=medium

  [ Pirate Praveen ]
  * use --source https://rails-assets.org for rails-assets-* (Closes: #771212)

  [ Antonio Terceiro ]
  * dh-make-ruby:
    - handle the case where apt-file exits successfully but still does not
      find anything (Closes: #800108)
    - cleanup template debian/rules, and make it set
      `GEM2DEB_TEST_RUNNER = --check-dependencies` by default

 -- Antonio Terceiro <terceiro@debian.org>  Wed, 11 Nov 2015 13:39:06 -0200

gem2deb (0.21.1) unstable; urgency=medium

  * gem2deb-test-runner: fix call to `gem list` after a dependency checking
    failure; avoid exec'ing `gem list` to be able to actually return non-0
    from gem2deb-test-runner.

 -- Antonio Terceiro <terceiro@debian.org>  Thu, 20 Aug 2015 00:11:53 +0200

gem2deb (0.21) unstable; urgency=medium

  * dh_ruby: only ask questions interactively when called by gem2deb
  * dh-make-ruby:
    - use debhelper compatibility level 9 by default
    - don't generate debian/tests/control.ex anymore. So far a few dozen
      packages, I have deleted it every single time.
    - use homepage as default for Source: field in debian/copyright
  * gem2deb-test-runner: call `gem list` when dependency checking fails to
    ease debugging

 -- Antonio Terceiro <terceiro@debian.org>  Tue, 18 Aug 2015 19:57:33 +0200

gem2deb (0.20.2) unstable; urgency=medium

  * gem2deb-test-runner: include version-independent rubygems-integration
    directories in GEM_PATH when checking dependencies.

 -- Antonio Terceiro <terceiro@debian.org>  Thu, 30 Jul 2015 09:24:33 -0300

gem2deb (0.20.1) unstable; urgency=medium

  * gem2deb-test-runner:
    - use the API version number to point to rubygems-integration directories
      inside the build location
    - print banner on dependency resolution step

 -- Antonio Terceiro <terceiro@debian.org>  Fri, 24 Jul 2015 09:09:00 -0300

gem2deb (0.20) unstable; urgency=medium

  * gem2deb-test-runner:
    - when checking dependencies, don't add rubygems-integration paths from
      different Ruby versions to GEM_PATH.
    - simplify the command line that runs rake
    - gem2deb/rake/testtask: Use options to make all test runs verbose by
      default
    - gem2deb/rake/spectask: add a utility task for running tests with rspec
    - print a sbuild-like banner before start running tests
  * dh-make-ruby: generate debian/ruby-tests.rake using gem2deb/rake/spectask
  * dh_ruby:
    - print sbuild-like banners before installing files and before building
      native extensions

 -- Antonio Terceiro <terceiro@debian.org>  Tue, 21 Jul 2015 22:55:15 -0300

gem2deb (0.19) unstable; urgency=medium

  * gem2deb: download .gem files in a temporary directory
  * gem2deb-test-runner: add dependency on ruby-minitest
  * dh-make-ruby: add README's uncommented to debian/ruby-foo.docs

 -- Antonio Terceiro <terceiro@debian.org>  Wed, 15 Jul 2015 18:28:03 -0300

gem2deb (0.18.3) unstable; urgency=medium

  * gem2deb-test-runner: add dependency on ruby-test-unit
    - Ruby 2.1 had an embedded copy of test/unit, so packages using it in
      their test suite got away with not build-depending on ruby-test-unit
    - Ruby 2.2 does not include test/unit anymore, so a few dozens of packages
      now FTBFS. Since we have a transition to make, instead of waiting for
      all those packages to be fixed, let's workaround that centrally here.

 -- Antonio Terceiro <terceiro@debian.org>  Tue, 23 Jun 2015 20:37:54 -0300

gem2deb (0.18.2) unstable; urgency=medium

  * gem2deb-test-runner: when under autopkgtest, don't pass any GEM_PATH at
    all, no even an empty one. This fixes dependency checks under autopkgtest.
  * dh-make-ruby: convert *all* underscores (`_`) to dashes (`-`) when
    converting gem names to source package names (not just the first one).
  * dh_ruby: install gemspecs to rubygems-integration directories using
    API_VERSION (e.g. 2.2.0) and not the short version (e.g. 2.2)
  * dh-make-ruby: avoid converting gem dependencies on exact versions
    (= 0.1.2) to Debian; that is never going to work.

 -- Antonio Terceiro <terceiro@debian.org>  Wed, 17 Jun 2015 19:40:18 -0300

gem2deb (0.18.1) unstable; urgency=medium

  * gem2deb-test-runner: include `Gem.path` in GEM_PATH so that dependency
    checking works against the system-installed gemspecs.

 -- Antonio Terceiro <terceiro@debian.org>  Fri, 12 Jun 2015 22:40:41 -0300

gem2deb (0.18) unstable; urgency=medium

  * make dh-make-ruby resilient against a corrupt "gem name to package name"
    cache (Closes: #786841)
  * dh_ruby: install gemspecs _before_ running tests so that checking
    dependencies when running tests actually works.
  * gem2deb-test-runner: fix dependency checking during build (by fixing name
    of Rubygems environment variable, s/GEMPATH/GEM_PATH/)
  * gem2deb-test-runner: when called with --check-dependencies, do not exit
    after successfully checking dependencies, but before running tests.

 -- Antonio Terceiro <terceiro@debian.org>  Fri, 12 Jun 2015 22:17:18 -0300

gem2deb (0.17) unstable; urgency=medium

  * dh-make-ruby:
    - fix call to wrap-and-sort
    - add -w/--overwrite option to overwrite files under debian/.
      Closes: #785106
    - only call wrap-and-sort if either there was no previous
      packaging, or -w/--overwrite was passed.
    - when acting on an existing source package, read the source package name
      from debian/changelog.
    - always create test suite files to make dh-make-ruby idempotent
    - suggest checking dependencies during build and on DEP-8 tests
  * gem2deb-test-runner:
    - add -c/--check-dependencies to check for dependencies (as declared in
      the Rubygems metadata, not as declared in debian/control) before running
      the tests (Closes: #785120, #770748)
    - always print command lines used to run the tests
    - add support for passing options via the GEM2DEB_TEST_RUNNER environment
      variable
    - add support for checking Rubygems dependencies during build
    - Breaks:/Replaces: gem2deb (<< 0.17~) because lib/gem2deb/metadata.rb was
      moved from gem2deb to gem2deb-test-runner.

 -- Antonio Terceiro <terceiro@debian.org>  Thu, 28 May 2015 08:39:49 -0300

gem2deb (0.16) unstable; urgency=medium

  * Add support for a 'nocheck' build profile, and document it in
    README.source. Closes: #632776
    + Also add version restrictions on dpkg-dev and debhelper.
  * Add patch from Cédric Boutillier, from a debian-ruby@ discussion from
    2012, that makes gem2tgz pick the most recent (in terms of gem version)
    gem file, instead of just the first one, after running gem fetch.
    Closes: #733171
  * bin/dh-make-ruby: use '.' (current directory) as default target.
    Closes: #777747
  * dh-make-ruby: run wrap-and-sort after generating boilerplate from
    templates. test/unit/dh_make_ruby_test.rb also had to be modified
    to robustify the dependencies extractor. Closes: #784556
  * Run wrap-and-sort --wrap-always + minor cleanup.

 -- Lucas Nussbaum <lucas@debian.org>  Sat, 16 May 2015 11:52:39 +0200

gem2deb (0.15) unstable; urgency=medium

  * dh-make-ruby, debian/ruby-tests.rake for test/unit: add 'test' to the
    $LOAD_PATH by default, and also run tests on test/**/test_*.rb.
    (Closes: #784323)

 -- Antonio Terceiro <terceiro@debian.org>  Wed, 06 May 2015 09:05:36 -0300

gem2deb (0.14) experimental; urgency=medium

  [ Antonio Terceiro ]
  * dh-make-ruby: fix conversion of gem names with uppercase characters into
    debian package names
  * dh_ruby: don't pass LIBDIR into command line when running different
    interpreters while installed system-wide. This avoids extra
    -I/usr/lib/ruby/vendor_ruby in command lines and eases debugging running
    processes for packages that e.g. hang while running their tests.
  * debian/requires-rubygems.overrides it not supported anymore. Patching out
    instances of `require 'rubygems'` is now considered an antipattern.

  [ Sebastien Badia ]
  * Update Vcs-Browser to cgit URL and HTTPS.

 -- Antonio Terceiro <terceiro@debian.org>  Sat, 11 Apr 2015 17:41:31 +0200

gem2deb (0.13) experimental; urgency=medium

  [ Antonio Terceiro ]
  * dh-make-ruby: bump Standards-Version in template to 3.9.6
  * dh-make-ruby: add gem runtime dependencies to Build-Depends: as well
  * TestRunner: when running build time tests, use the full path for extra
    library directories installed in debian/$pkg
  * SetupRbInstaller: copy system copy of setup.rb instead of symlinking. This
    will fail if it's not there.
  * gem2deb: add missing dependency on ruby-setup, since setup.rb is used
    explicitly by gem2deb

  [ Christian Hofstaedtler ]
  * Remove rdoc stamp files at install time

 -- Antonio Terceiro <terceiro@debian.org>  Thu, 09 Apr 2015 12:26:04 +0200

gem2deb (0.12) experimental; urgency=medium

  * dh_ruby: if debian/dh_ruby.{mk,rake} exists, call {make,rake} on it during
    the build. See docs in dh_ruby(1)
  * dh-make-ruby: use a cache based on the output of apt-file to map gem names
    to Debian package names when generating dependencies.
    - add apt-file to Recommends:

 -- Antonio Terceiro <terceiro@debian.org>  Sat, 21 Feb 2015 20:34:04 -0200

gem2deb (0.11) experimental; urgency=medium

  * dh-make-ruby: generate 'Testsuite: autopkgtest-pkg-ruby' to not conflict
    with DEP-8 spec (i.e., if the 'Testsuite' field contains 'autopkgtest',
    then debian/tests/control *must* exist).
    - autopkgtest-pkg-ruby will be handled by autopkgtest and the implicit
      test control data that uses gem2deb-test-runner will be used.
  * improved "usage: " banner in several of the provided programs
  * SetupRbInstaller: always use the system copy of setup.rb
  * Gem2Deb#run: always print command lines being executed. This makes build
    logs much more detailed, what is a good thing.
  * dh-make-ruby: look for test files recursively in generated
    debian/ruby-tests.rake for both test/unit and rspec style tests.
  * dh-make-ruby: gem dependencies will now be included in debian/control
    uncommented and transformed to Debian package names, i.e. foo → ruby-foo,
    except for known exceptions (such as rake and rails initially).

 -- Antonio Terceiro <terceiro@debian.org>  Fri, 06 Feb 2015 15:37:58 -0200

gem2deb (0.10) unstable; urgency=medium

  * gem2deb-test-runner: add '.' to $LOAD_PATH with --autopkgtest
  * dh-make-ruby won't create debian/tests/control anymore since autopkgtest
    will now auto-detect Ruby packages and assume an implicit tests
    definition. debian/tests/control.ex will be created instead, with comments
    explaining to either modify it and rename to control, or delete it.
  * dh-make-ruby: when test/ or spec/ exists, create debian/ruby-tests.rake
    with the appropriate rake invocation to run the tests, instead of being
    insecure and creating files all commented out.
  * install 'gem2deb/rake/testtask.rb' to gem2deb-test-runner instead of
    gem2deb
  * dh-make-ruby: generate uncommented Vcs-* headers in debian/control
  * dh-make-ruby: remove version qualifier from build-dependency on gem2deb to
    remove friction when backporting.

 -- Antonio Terceiro <terceiro@debian.org>  Mon, 08 Sep 2014 14:07:02 -0300

gem2deb (0.9.1) unstable; urgency=medium

  * gem2deb-test-runner now Breaks/Replaces gem2deb < 0.9. (Closes: #759431)

 -- Cédric Boutillier <boutil@debian.org>  Wed, 27 Aug 2014 14:06:00 +0200

gem2deb (0.9.0) unstable; urgency=medium

  * Provide support for DEP-8 autopkgtest (Closes: #637917)
    + split out a gem2deb-test-runner binary package
    + add a Testsuite: autopkgtest field to template debian/control
    + add templates for debian/tests files to propose a syntax/load test
      (Closes: #645357) and run the test suite of the package
  * Make dh-make-ruby idempotent
  * Refactor test_suite creation in dh_make_ruby
    + in particular, use the rake method by default when a spec/ directory is
      present (Closes: #702578)
  * Remove alternative dependency on ruby-interpreter (Closes: #758806)
  * Verify checksums included in the gems and remove checksums.yaml.gz upon
    conversion of the gems to tarballs (Closes: #725348)

 -- Cédric Boutillier <boutil@debian.org>  Tue, 26 Aug 2014 09:12:32 +0200

gem2deb (0.8.0) unstable; urgency=medium

  [Antonio Terceiro]
  * dh_ruby_fixdepends: inject minimum Ruby dependency provided by
    ruby-all-dev in the shared library dependencies. For that, bump dependency
    on ruby-all-dev to (>= 1:2.1.0.3~)
  * test/test_helper.rb: add test/bin to $PATH during tests
  * test/bin/wnpp-check: mock the actual wnpp-check during tests to avoid
    hitting the network

  [Cédric Boutillier]
  * Update sample gems with non obsolete rake rules

 -- Cédric Boutillier <boutil@debian.org>  Mon, 11 Aug 2014 14:22:55 +0200

gem2deb (0.7.6) unstable; urgency=medium

  [ Antonio Terceiro ]
  * extension builder:
    - display build logs in real time
    - show output of mkmf.log on failure

  [ Per Andersson ]
  * dh-make-ruby: if an ITP bug exists, add its number to the generated
    changelog (Closes: #704651)

  [ Cédric Boutillier ]
  * Add a --no-wnpp-check option to dh-make-ruby and gem2deb to prevent
    dh-make-ruby to check the existense of an ITP bug.
  * Add myself to the Uploaders.

 -- Cédric Boutillier <boutil@debian.org>  Wed, 30 Jul 2014 15:39:15 +0200

gem2deb (0.7.5) unstable; urgency=medium

  * Removes mkmf.log installed at the binary extension directory by Rubygems
    on Ruby 2.1 (Closes: #743671)

 -- Antonio Terceiro <terceiro@debian.org>  Sat, 05 Apr 2014 08:59:00 -0300

gem2deb (0.7.4) unstable; urgency=medium

  * dh_ruby: abort builds for unsupported Ruby versions.

 -- Antonio Terceiro <terceiro@debian.org>  Tue, 01 Apr 2014 21:41:47 -0300

gem2deb (0.7.3) unstable; urgency=medium

  * extension_builder: create full vendorarchdir path before building
    extensions. This fixes building extensions for Ruby 2.1

 -- Antonio Terceiro <terceiro@debian.org>  Mon, 31 Mar 2014 12:42:14 -0300

gem2deb (0.7.2) unstable; urgency=medium

  * fix one test to work without Ruby 1.9 support
    - the test was assuming an non-multiarch binary extension installation
      path.

 -- Antonio Terceiro <terceiro@debian.org>  Sun, 30 Mar 2014 13:03:25 -0300

gem2deb (0.7.1) unstable; urgency=medium

  [ Jonas Genannt ]
  * updated standards version in template to current 3.9.5

  [ Christian Hofstaedtler ]
  * Set ruby:Versions to 'all' if possible

 -- Antonio Terceiro <terceiro@debian.org>  Tue, 18 Mar 2014 19:41:20 -0300

gem2deb (0.7.0) unstable; urgency=medium

  [ Antonio Terceiro ]
  * Drop -w (verbose mode) switch from shebang lines
    - that -w does not help us much
    - build logs will become a lot cleaner now
  * dh_ruby: remove blank lines from --help output
  * dh_ruby: install a single gemspec for pure-Ruby packages
    - This single gemspec will be installed at
      /usr/share/rubygems-integration/all and will be made available to all
      interpreters by rubygems-integration >= 1.5. This way when a new
      interpreter is added there is no need to re-upload every package to
      make it seen by that new interpreter rubygems.
  * add ruby-test-unit to Build-Depends
  * dh_ruby: change shebangs from `/usr/bin/env ruby` to `/usr/bin/ruby`
    - multiple interpreters won't be supported for Jessie, and any interpreter
      that is not /usr/bin/ruby will have been installed by hand so we don't
      want system binaries using external interpreters.
  * Add support for running the gem2deb testsuite with autopkgtest
  * Removed hardcoded interpreter versions; use ruby-all-dev instead

  [ Cédric Boutillier ]
  * Make build of C extensions verbose (Closes: #721674)

 -- Antonio Terceiro <terceiro@debian.org>  Wed, 12 Feb 2014 10:01:08 -0300

gem2deb (0.6.1) unstable; urgency=low

  [ Marc Deslauriers ]
  * Fix regression when handling test failures

  [ Antonio Terceiro ]
  * Add unit test for regression fix when handling test failures

 -- Antonio Terceiro <terceiro@debian.org>  Tue, 03 Dec 2013 21:26:35 -0300

gem2deb (0.6.0) unstable; urgency=low

  * gem2tgz: fix full path handling when generating tarball name
    (Closes: #730854)
  * Don't interpolate path in regular expression when loading templates.
    This fixes the build when the source directory contains regular
    expression metacharacters such as '+' (Closes: #730854)
  * debian/control: add versioned build-depends on ruby-mocha (Closes: #730690)
  * Ignore non-installed interpreters.
    This will ease backports of gem2deb without also having to backport the
    interpreters supported in unstable. (Closes: #730694)

 -- Antonio Terceiro <terceiro@debian.org>  Mon, 02 Dec 2013 09:49:30 -0300

gem2deb (0.5.1) unstable; urgency=low

  * Don't interpolate arguments for shell commands.
    This fixes handling of files with weird characters in their names such
    as ")" and whitespace in general, and improves security against
    maliciously-crafted filenames which could inject unwanted shell
    commands in the system that is building a package with gem2deb.
    (Closes: #729981)

 -- Antonio Terceiro <terceiro@debian.org>  Wed, 20 Nov 2013 16:19:46 -0300

gem2deb (0.5.0) unstable; urgency=low

  * Drop Ruby 1.8 support
  * Add Ruby 2.0 support
  * Centralize references to supported Ruby versions to make it dead simple to
    remove/add new ones.
  * Run tests in verbose mode during package build

 -- Antonio Terceiro <terceiro@debian.org>  Tue, 03 Sep 2013 23:42:41 -0300

gem2deb (0.4.1) unstable; urgency=low

  * Give up on deprecating DH_RUBY_USE_DH_AUTO_INSTALL_DESTDIR
  * Improve documentation on multi-binary packages
  * Make extension buidler honor DH_RUBY_USE_DH_AUTO_INSTALL_DESTDIR
    (Closes: #701716)
  * Fix native extensions support for multi-binary packages
  * Update docs on Build-Depends for multi-binary source packages.
    For multi-binary packages with native extensions, gem2deb (>= 0.4.1~) is
    required.
  * Bump standards version to 3.9.4; no changes needed.

 -- Antonio Terceiro <terceiro@debian.org>  Sat, 01 Jun 2013 22:46:10 -0300

gem2deb (0.4.0) unstable; urgency=low

  [ Cédric Boutillier ]
  * debian/control: remove obsolete DM-Upload-Allowed flag
  * use canonical URI in Vcs-* fields
  * fix typos in gem2deb and dh_ruby manpages.
    Thanks Francesco Poli (Closes: #691132, #691133)
  * filter out non Ruby files when creating test-ruby-files.yaml
    (Closes: #691236)
  * dh-make-ruby: suggest same copyright as original package in generated
    debian/copyright

  [ Antonio Terceiro ]
  * Added support for multi-binary source packages. See dh_ruby(1) for
    details.
  * Install CHANGELOG* as upstream changelog (Closes: #702160)

 -- Antonio Terceiro <terceiro@debian.org>  Thu, 30 May 2013 18:25:25 -0300

gem2deb (0.3.1) unstable; urgency=low

  [ Antonio Terceiro ]
  * remove unused constant
  * Remove DM-Upload-Allowed from d/control template (Closes: #692152)

  [ Cédric Boutillier ]
  * d/control template: bump Standards-Version; point VCS fields to anonscm.d.o

 -- Antonio Terceiro <terceiro@debian.org>  Tue, 07 May 2013 19:15:17 -0300

gem2deb (0.3.0) unstable; urgency=low

  * Fix debug test mode
  * Install gemspec for use with rubygems-integration

 -- Antonio Terceiro <terceiro@debian.org>  Fri, 22 Jun 2012 09:43:33 -0300

gem2deb (0.2.17) unstable; urgency=low

  * Eliminate annoying warnings when running gem2deb/dh_ruby
    + Only force default external encoding if absolutely required.
    + Drop workaround for Rubygems/YAML issue.

 -- Antonio Terceiro <terceiro@debian.org>  Thu, 14 Jun 2012 22:05:39 -0300

gem2deb (0.2.16) unstable; urgency=low

  * Assume that any external files are UTF-8. Closes: #676192

 -- Antonio Terceiro <terceiro@debian.org>  Tue, 05 Jun 2012 15:25:09 -0300

gem2deb (0.2.15) unstable; urgency=low

  * dh_ruby: read debian/control as UTF-8, not ASCII. Closes: #675974

 -- Lucas Nussbaum <lucas@debian.org>  Mon, 04 Jun 2012 23:06:19 +0200

gem2deb (0.2.14) unstable; urgency=low

  [ Antonio Terceiro ]
  * New release.
  * Fix documentation of require-rubygems.overrides
  * Changed all shebangs from ruby.8 to ruby
  * debian/control:
    + Bump Standards version for gem2deb itself and for generated packages
    + add dependency on `ruby | ruby-interpreter`

  [ Per Andersson ]
  * Depend on rubygems instead of transitional package rubygems1.8.
    (Closes: #654234)
  * Correct typo in dh_ruby man page.

  [ Cédric Boutillier ]
  * use official DEP5 copyright formal url in templates

 -- Antonio Terceiro <terceiro@debian.org>  Sun, 03 Jun 2012 12:05:14 -0300

gem2deb (0.2.13) unstable; urgency=low

  [ Cédric Boutillier ]
  * Use Gem.load_yaml to require yaml, in order to ensure the definition of
    the constant Gem::SyckDefaultKey, required by newer versions of rubygems.

  [ Antonio Terceiro ]
  * debian/control: adjust (Build-)Depends: to require the newest versions of
    Rubygems.

 -- Antonio Terceiro <terceiro@debian.org>  Mon, 26 Dec 2011 10:55:41 -0200

gem2deb (0.2.12) unstable; urgency=low

  * Added myself to uploaders
  * Keep Lintian happy: gen-ruby-trans-pkgs sets transitional packages to
    "Priority: extra"

 -- Gunnar Wolf <gwolf@debian.org>  Tue, 22 Nov 2011 19:13:05 -0600

gem2deb (0.2.11) unstable; urgency=low

  * Fix crash when removing duplicate files in subdirectories, e.g.
    ${vendordir}/foo/bar.rb versus ${vendorarchdir}/foo/bar.rb. This was
    found when trying to update libldap-ruby into a new ruby-ldap package.
  * Do not compress Ruby code examples

 -- Antonio Terceiro <terceiro@debian.org>  Sat, 05 Nov 2011 23:05:57 -0200

gem2deb (0.2.10) unstable; urgency=low

  [ Antonio Terceiro ]
  * If all Rubies are supported, use `/usr/bin/env ruby` as shebang
    line.

  [ Dmitry Borodaenko ]
  * Don't rewrite shebangs of non-Ruby scripts

 -- Antonio Terceiro <terceiro@debian.org>  Sat, 24 Sep 2011 12:17:38 -0700

gem2deb (0.2.9) unstable; urgency=low

  [ Cédric Boutillier ]
  * Do not skip tests after failing one

  [ Antonio Terceiro ]
  * Bug fix upload.
  * Split templates in their own files. This fixes the build on Ruby 1.9 under
    the `C` locale.

 -- Antonio Terceiro <terceiro@debian.org>  Sun, 18 Sep 2011 01:04:43 -0700

gem2deb (0.2.8) unstable; urgency=low

  * Generate a non-lintian-clean copyright file
  * Fix --only-tarball option
  * Fix typo in integration test
  * Keep upstream names that are not valid Debian package names
  * Make tests more portable
  * Rename test_helper samples file
  * Make tests pass under Ruby 1.9 as well
  * Run tests under 1.8 and 1.9 during build
  * Make sure that programs without shebangs get one
  * Keep correct permission bits on rewritten programs
  * Rewrite shebangs before running tests

 -- Antonio Terceiro <terceiro@debian.org>  Sun, 11 Sep 2011 13:29:03 -0700

gem2deb (0.2.7) unstable; urgency=low

  * Fix .so/.rb name clash resolution for the case of multiple binary
    packages.

 -- Antonio Terceiro <terceiro@debian.org>  Thu, 11 Aug 2011 12:05:47 -0700

gem2deb (0.2.6) unstable; urgency=low

  * Added Gem2Deb::Rake::TestTask for helping running tests using rake. See
    dh_ruby(1)
  * Install symlinks for .rb files masked by .so files
  * Support multi-binary packages by allowing maintainers to tell dh_ruby to
    install files at the place designated by dh_auto_install, usually
    debian/tmp. See dh_ruby(1) for details. (Closes: #632553)
  * Document files and environment variables used by dh_ruby in its manpage
    (Closes: #625797)

 -- Antonio Terceiro <terceiro@debian.org>  Thu, 21 Jul 2011 10:56:24 -0700

gem2deb (0.2.5) unstable; urgency=low

  * Replace libshoulda-ruby1.8 for ruby-shoulda-context in Build-Depends
  * Always create installation dirs (Closes: #630738)
  * gen-ruby-trans-pkgs: use Breaks: instead of Conflicts for transitional
    packages.

 -- Antonio Terceiro <terceiro@softwarelivre.org>  Sun, 19 Jun 2011 19:32:00 -0700

gem2deb (0.2.4) unstable; urgency=low

  [ Lucas Nussbaum ]
  * Set the team as maintainer, move myself to Uploaders.

  [ Vincent Fourmond ]
  * Add myself to uploaders
  * Add a rubysetuprb build system for debhelper to build packages with
    setup.rb

  [ Lucas Nussbaum ]
  * Merge Ubuntu-specific change which is harmless on Debian.

  [ Antonio Terceiro ]
  * Do not crash when package creates subdirectories in /usr/bin
    (Closes: #629036)
  * Shut up on commented 'require "rubygems"' lines (Closes: #628704)

 -- Antonio Terceiro <terceiro@softwarelivre.org>  Mon, 06 Jun 2011 10:33:11 -0700

gem2deb (0.2.3) unstable; urgency=low

  [ Daigo Moriwaki ]
  * Escape including the .git directory in a tar archive.
  * debuild friendly logging.

  [ Antonio Terceiro ]
  * Extract method to read the supported Ruby versions
  * Packages generated by dh-make-ruby now depend on 'ruby | ruby-interpreter'
    by default
  * Correct handling of shebangs: packages with 'all' in XS-Ruby-Versions use
    #!/usr/bin/ruby as shebang; packages for specific versions use the
    corresponding binary in the shebang.
  * Now debian/ruby-tests.rake is also supported for for running package tests.
  * debian/control: bump Standards-Version to 3.9.2

 -- Antonio Terceiro <terceiro@softwarelivre.org>  Tue, 10 May 2011 19:28:23 -0700

gem2deb (0.2.2) unstable; urgency=low

  * Fix generation of Vcs-Browser.
  * Add support for env-var DH_RUBY_GEMSPEC to specify the .gemspec.
  * Support running dh-make-ruby over a directory.
  * Fix: don't create native packages by default.
  * Remove identical duplicate files installed by rubygems in the
    arch-specific dir.

 -- Lucas Nussbaum <lucas@lucas-nussbaum.net>  Wed, 13 Apr 2011 23:12:50 +0200

gem2deb (0.2.1) unstable; urgency=low

  * Export RUBY_TEST_VERSION and RUBY_TEST_BIN environment variables
    when running tests.
  * Run make distclean || make clean instead of just make clean
  * When building extensions, run the test suite for a given version immediately
    after building the extension for this version. The previous behaviour
    resulted in testing each ruby implementation with the last extension to be
    built.
  * Add bin/gen-ruby-trans-pkgs: script to generate debian/control snippets
    for transitional packages

 -- Lucas Nussbaum <lucas@lucas-nussbaum.net>  Sun, 03 Apr 2011 14:36:10 +0200

gem2deb (0.2.0) unstable; urgency=low

  * Many, many changes to how gem2deb generates Debian packages:
    + Put everything in the same binary package.
    + Rewrite depends after dh_shlibdeps to create ORed deps.
    + Support building only for specific ruby versions.
    + Rename library files to match the Ruby convention
    + Add --package option to gem2deb and dh-make-ruby, to specify the
      name of the package to generate
    + Generate packages that depend on ruby1.8 | ruby-interpreter.
    + gem2tgz gemname now downloads the gem if needed.
    + Generate a better debian/copyright template.
    + Add a dh7 sequence.
  * Add Vcs-* fields after moving to PRE repo
  * Support DEB_BUILD_OPTIONS=nocheck.
  * Add perl:Depends, reorganize Depends:
  * Switch to 3.0 (native)
  * Other bugfixes and code cleanup

 -- Lucas Nussbaum <lucas@lucas-nussbaum.net>  Fri, 25 Mar 2011 09:29:56 +0100

gem2deb (0.1.0) experimental; urgency=low

  * Initial release.

 -- Lucas Nussbaum <lucas@lucas-nussbaum.net>  Fri, 04 Mar 2011 09:59:56 +0100
