Merge pull request #271 from mckern/master

(maint) Unconditionally popd after pushd regardless of job status
Curl downstream job url with verbose

If the downstream job fails to trigger, the curl call will just display the
response code and no additional information. This is not helpful when trying to
debug failures. This commit adds -v to the curl call so that it prints a full
trace of its attempt to trigger the job.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Merge pull request #272 from MosesMendoza/maint/master/verbose_downstream

Curl downstream job url with verbose
(maint) Refactor, improve pe_ship.rake

Previously the pe:update_yum_repo task was hardcoded to update el and sles
repos. In a world where eos is a valid platform, those hardcoded assumptions
break down. This commit updates the task to use the final_mocks as the first
and second elements of the platform tag to iterate over. Arch is left off the
tag, because the hardlinking we do for noarch packages means that noarch
packages only have an i386 mock, even when they are built for both i386 and
x86_64.
This refactor also removes the find and pushd from the shell snippet. The find
is not necessary because we know the names of the platform tags ahead of time.
The pushd is not needed because createrepo takes a $dir argument.
maint - restore ruby 1.8.7 compatibility

In ruby 1.8.7 the Pathname#to_path method is called Pathname#TO_PATH.  In both
1.9.3 and 1.8.7 it's also aliased to #to_s so switch over to using .to_s
everywhere instead.

http://www.ruby-doc.org/stdlib-1.8.7/libdoc/pathname/rdoc/Pathname.html#method-i-TO_PATH
http://www.ruby-doc.org/stdlib-1.9.3/libdoc/pathname/rdoc/Pathname.html#method-i-to_path
maint - 1.8.7 lacks Pathname#sub_ext

Ruby 1.8.7 lacks Pathname#sub_ext, so write out the slightly wordier regular
expression for 'last extension' and use Pathname#sub.
Merge pull request #274 from richardc/tar_ruby_187

maint - restore ruby 1.8.7 compatibility
Merge pull request #273 from haus/refactor_pe_ship

(maint) Refactor, improve pe_ship.rake
(maint) tar_host defaults to yum_host

Previously, the REASSIGNMENT for tar_host was inverted, so if tar_host were
absent, it would not be reassigned. This commit fixes that error and adds a
test case to catch a regression in the behavior.
Merge pull request #275 from haus/maint/master/fixup_tar_host_yum_host

(maint) tar_host defaults to yum_host
(maint) Move versionbump into utils
Add test for Pkg::Util::Version.versionbump
(maint) Fix version burn in

Previously the versionbump task would fail because workspace is not defined in
the tar task. It is defined in tar.rb, so this commit updates the tar library
to do the version burn in if the setting is set.
(maint) Add pry to gemset for debugging purposes
(maint) Add .gitignore entry for .bundle directory
(maint) Add a minimal versionbump task to maintain backward compatibility.
Merge pull request #276 from haus/maint/master/fix_version_burn_in

(maint) Fix version burn in
Include debian *.diff.gz files

The packaging process sometimes makes diff.gz files. Include them too.
Merge remote-tracking branch 'origin/pr/277'

* origin/pr/277:
  Include debian *.diff.gz files
(maint) Whitespace update in deb.rake