[DRE-commits] [librarian-puppet] 91/97: Issue #179 Need to install extra gems just in case we are in ruby 1.8

Stig Sandbeck Mathisen ssm at debian.org
Tue Mar 11 12:12:53 UTC 2014


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

ssm pushed a commit to branch master
in repository librarian-puppet.

commit 5eb2d746edd3d33c0484a4a6b38f84ca1577a26a
Author: Carlos Sanchez <csanchez at maestrodev.com>
Date:   Tue Feb 11 18:55:04 2014 +0100

    Issue #179 Need to install extra gems just in case we are in ruby 1.8
---
 librarian-puppet.gemspec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/librarian-puppet.gemspec b/librarian-puppet.gemspec
index a7dbd71..2b85a01 100644
--- a/librarian-puppet.gemspec
+++ b/librarian-puppet.gemspec
@@ -24,10 +24,10 @@ Gem::Specification.new do |s|
   s.executables = ['librarian-puppet']
 
   s.add_dependency "librarian", ">=0.1.2"
-  if RUBY_VERSION < '1.9'
-    s.add_dependency "json"
-    s.add_dependency "open3_backport"
-  end
+
+  # only needed for ruby 1.8
+  s.add_dependency "json"
+  s.add_dependency "open3_backport"
 
   s.add_development_dependency "rake"
   s.add_development_dependency "rspec"

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



More information about the Pkg-ruby-extras-commits mailing list