[DRE-commits] [gem2deb] 02/02: fix indentation

Antonio Terceiro terceiro at moszumanska.debian.org
Sun Sep 27 16:45:37 UTC 2015


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to branch master
in repository gem2deb.

commit b9d72eae8f9f4f4e0854279341962afd3955e822
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Sun Sep 27 13:45:04 2015 -0300

    fix indentation
---
 bin/gem2tgz | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/bin/gem2tgz b/bin/gem2tgz
index 928bf10..ef55275 100755
--- a/bin/gem2tgz
+++ b/bin/gem2tgz
@@ -46,11 +46,11 @@ gemfile = ARGV[0]
 # Download gem if not available locally
 if not File::exists?(gemfile) and gemfile !~ /.gem$/
   puts "#{gemfile} doesn't seem to exist. Let's try to download it with 'gem fetch #{ARGV[0]}'"
-      if gemfile =~ /^rails-assets/
-        run("gem", "fetch", "--source", "https://rails-assets.org", gemfile)
-      else
-        run("gem", "fetch", gemfile)
-      end
+  if gemfile =~ /^rails-assets/
+    run("gem", "fetch", "--source", "https://rails-assets.org", gemfile)
+  else
+    run("gem", "fetch", gemfile)
+  end
   versions = Dir::glob("#{gemfile}-*.gem").map do |a|
     Gem::Version.new(a.sub(/#{gemfile}-(.+)\.gem/, '\1'))
   end

-- 
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