[DRE-commits] [librarian-puppet] 54/97: json gem is only needed in ruby 1.8
Stig Sandbeck Mathisen
ssm at debian.org
Tue Mar 11 12:12:50 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 740150f0065987e68e760e1ab0f6e404c2118492
Author: Carlos Sanchez <csanchez at maestrodev.com>
Date: Fri Jan 3 18:31:13 2014 +0100
json gem is only needed in ruby 1.8
And causes an issue with bundler 1.5
https://github.com/bundler/bundler/issues/2780
---
librarian-puppet.gemspec | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/librarian-puppet.gemspec b/librarian-puppet.gemspec
index 13ebc6e..7779d4e 100644
--- a/librarian-puppet.gemspec
+++ b/librarian-puppet.gemspec
@@ -24,8 +24,10 @@ Gem::Specification.new do |s|
s.executables = ['librarian-puppet']
s.add_dependency "librarian", ">=0.1.1"
- s.add_dependency "json"
- s.add_dependency "open3_backport" if RUBY_VERSION < '1.9'
+ if RUBY_VERSION < '1.9'
+ s.add_dependency "json"
+ s.add_dependency "open3_backport"
+ end
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