[Pkg-puppet-devel] [facter] 312/352: Use same one-line 'source' syntax used in acceptance/Gemfile

Stig Sandbeck Mathisen ssm at debian.org
Sun Apr 6 22:21:56 UTC 2014


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

ssm pushed a commit to branch master
in repository facter.

commit 46be425ebdd0aeebf5fa9e7ea5b874f12d475301
Author: Kylo Ginsberg <kylo at puppetlabs.com>
Date:   Sat Mar 8 07:46:49 2014 -0800

    Use same one-line 'source' syntax used in acceptance/Gemfile
---
 Gemfile | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/Gemfile b/Gemfile
index 446e8ca..1ca3f56 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,8 +1,4 @@
-if gem_source = ENV['GEM_SOURCE']
-  source gem_source
-else
-  source "https://rubygems.org"
-end
+source ENV['GEM_SOURCE'] || "https://rubygems.org"
 
 # C Ruby (MRI) or Rubinius, but NOT Windows
 platforms :ruby do

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-puppet/facter.git



More information about the Pkg-puppet-devel mailing list