[DRE-commits] [ruby-listen] 13/17: new patch.

Daisuke Higuchi dai at moszumanska.debian.org
Sun Nov 26 15:36:04 UTC 2017


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

dai pushed a commit to branch master
in repository ruby-listen.

commit 7d5b8e32f8179b16b65e653ebc2a0f69e0a3a094
Author: HIGUCHI Daisuke (VDR dai) <dai at debian.org>
Date:   Mon Nov 27 00:16:51 2017 +0900

    new patch.
---
 debian/patches/0004-disable-ruby_dep.patch | 44 ++++++++++++++++++++++++++++++
 debian/patches/series                      |  1 +
 2 files changed, 45 insertions(+)

diff --git a/debian/patches/0004-disable-ruby_dep.patch b/debian/patches/0004-disable-ruby_dep.patch
new file mode 100644
index 0000000..d0a6723
--- /dev/null
+++ b/debian/patches/0004-disable-ruby_dep.patch
@@ -0,0 +1,44 @@
+Description: disable ruby_dep
+Author: HIGUCHI Daisuke (VDR dai)
+Forwarded: not-needed
+Last-Update: 2017-11-26
+
+Index: ruby-listen/lib/listen.rb
+===================================================================
+--- ruby-listen.orig/lib/listen.rb
++++ ruby-listen/lib/listen.rb
+@@ -4,11 +4,6 @@ require 'listen/listener'
+ 
+ require 'listen/internals/thread_pool'
+ 
+-# Show warnings about vulnerabilities, bugs and outdated Rubies, since previous
+-# versions aren't tested or officially supported.
+-require 'ruby_dep/warning'
+-RubyDep::Warning.new.show_warnings
+-
+ # Always set up logging by default first time file is required
+ #
+ # NOTE: If you need to clear the logger completely, do so *after*
+Index: ruby-listen/listen.gemspec
+===================================================================
+--- ruby-listen.orig/listen.gemspec
++++ ruby-listen/listen.gemspec
+@@ -20,18 +20,7 @@ Gem::Specification.new do |s|
+   s.executable   = 'listen'
+   s.require_path = 'lib'
+ 
+-  begin
+-    # TODO: should this be vendored instead?
+-    require 'ruby_dep/travis'
+-    s.required_ruby_version = RubyDep::Travis.new.version_constraint
+-  rescue LoadError
+-    abort "Install 'ruby_dep' gem before building this gem"
+-  end
+-
+   s.add_dependency 'rb-inotify', '~> 0.9', '>= 0.9.7'
+ 
+-  # Used to show warnings at runtime
+-  s.add_dependency 'ruby_dep', '~> 1.2'
+-
+   s.add_development_dependency 'bundler', '~> 1.12'
+ end
diff --git a/debian/patches/series b/debian/patches/series
index 5827be6..a2eadf3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 0001-Remove-OSX-specific-dependency.patch
 0002-gemspec-skip-git-usage.patch
+0004-disable-ruby_dep.patch

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



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