pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/ruby/files



Module Name:    pkgsrc
Committed By:   taca
Date:           Sat Nov 19 13:50:19 UTC 2016

Modified Files:
        pkgsrc/lang/ruby/files: update-gemspec.rb

Log Message:
Do not restrict modifying depdencies to runtime.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/ruby/files/update-gemspec.rb

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/ruby/files/update-gemspec.rb
diff -u pkgsrc/lang/ruby/files/update-gemspec.rb:1.7 pkgsrc/lang/ruby/files/update-gemspec.rb:1.8
--- pkgsrc/lang/ruby/files/update-gemspec.rb:1.7        Sun Jul 20 01:11:28 2014
+++ pkgsrc/lang/ruby/files/update-gemspec.rb    Sat Nov 19 13:50:19 2016
@@ -1,9 +1,9 @@
 #!/usr/pkg/bin/ruby
 # -*- coding: utf-8 -*-
 #
-# $NetBSD: update-gemspec.rb,v 1.7 2014/07/20 01:11:28 obache Exp $
+# $NetBSD: update-gemspec.rb,v 1.8 2016/11/19 13:50:19 taca Exp $
 #
-# Copyright (c) 2011, 2012, 2013 The NetBSD Foundation, Inc.
+# Copyright (c) 2011, 2012, 2013, 2014, 2015, 2016 The NetBSD Foundation, Inc.
 # All rights reserved.
 #
 # This code is derived from software contributed to The NetBSD Foundation
@@ -103,7 +103,6 @@ class GemSpecUpdater
   def modify
     dependencies = @spec.instance_variable_get(:@dependencies)
     dependencies.each do |dep|
-      next if dep.type != :runtime
       update = @requirements[dep.name]
       if not update.nil? and update[:method] == :update
         r = dep.requirement.requirements
@@ -115,7 +114,6 @@ class GemSpecUpdater
       end
     end
     dependencies.delete_if { |dep|
-      next if dep.type != :runtime
       update = @requirements[dep.name]
       not update.nil? and update[:method] == :delete
     }



Home | Main Index | Thread Index | Old Index