[DRE-commits] [librarian-puppet] 21/153: Remove the json dependency for ruby 1.9

Stig Sandbeck Mathisen ssm at debian.org
Wed Jun 1 20:30:35 UTC 2016


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

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

commit 04c4c1465397d5be73c5271cd30c2c2515228eb7
Author: Carlos Sanchez <csanchez at maestrodev.com>
Date:   Sat Jul 12 11:10:07 2014 +0200

    Remove the json dependency for ruby 1.9
---
 librarian-puppet.gemspec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/librarian-puppet.gemspec b/librarian-puppet.gemspec
index 375188d..6299c62 100644
--- a/librarian-puppet.gemspec
+++ b/librarian-puppet.gemspec
@@ -15,6 +15,9 @@ Gem::Specification.new do |s|
   automatically pulling in modules from the forge and git repositories with
   a single command.'
 
+  # puppet_forge gem requires ruby 1.9 so we do too, use version 1.0.x in ruby 1.8
+  s.required_ruby_version = '>= 1.9.0'
+
   s.files = [
     '.gitignore',
     'LICENSE',
@@ -26,9 +29,6 @@ Gem::Specification.new do |s|
   s.add_dependency "librarian", ">=0.1.2"
   s.add_dependency "puppet_forge"
 
-  # only needed for ruby 1.8
-  s.add_dependency "json"
-
   s.add_development_dependency "rake"
   s.add_development_dependency "rspec"
   s.add_development_dependency "cucumber"

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