issue 245 (RPM's with non-root owners doesn't set ownership of directories). Add a --directories argument, which in a similar way to --config-files allows directories to be tagged as directories, meaning they are owned by the RPM. This means they get the --rpm-user and --rpm-group as their owners, and they are removed with the RPM.
Fix fpm on Python2.5

- fix SyntaxError in get_metadata.py
- use simplejson if json module is not available
- deb provides don't support versions (#280)
- fix #280 and hae a test verify it.
Remove unused method
Make sure that dependencies also use rubygem(name) in stead of rubygem-name
Merge pull request #260 from ajf8/rpm-directories

issue 245 (RPM's with non-root owners doesn't set ownership of directori...
- don't make assumptions about valid names of a rubygem.
  If it's not a valid rubygem, the download will fail and we report it
  anyway!

  Fixes #287
- upgraaaade
Very minor edit. Fixing an incorrectly escaped comment in the deb erb
template file. (added '-' to the end tag).

Without the edit, the template was inserting an extra blank line into the
config file. When dpkg/reprepro try to read the file the blank line is
interpreted as the end of the configuration, and the additional lines
below it cause an error.

With the edit, no additional blank line is inserted. The comment is
correctly escaped.

Signed-off-by: Andrew Bunday <andrew.bunday@gmail.com>
Merge pull request #288 from andrewbunday/master

Fix blank line being added to deb control file, which is causing errors.
Feature: no-depends option for deb and rpm
Adding feature: --no-depends flag for deb and rpm
Merge pull request #289 from dnbert/master

Adding feature: --no-depends flag for deb and rpm
- Add test coverage for :no_depends?
- version bump
- update changes for 0.4.22
Merge pull request #284 from vStone/master

We should also use rubygem(name) for the dependencies
Don't trim gem version.
Include subdirs of --directories option as %dir directives in SPEC files