[DRE-commits] [ruby-rubocop-rspec] 02/14: Add patch to disable bundler usage
Miguel Landaeta
nomadium at moszumanska.debian.org
Sun Nov 5 13:31:38 UTC 2017
This is an automated email from the git hooks/post-receive script.
nomadium pushed a commit to branch master
in repository ruby-rubocop-rspec.
commit 7f9769441d3cd3f22742dec8446460cb5401ce1a
Author: Miguel Landaeta <nomadium at debian.org>
Date: Sat Nov 4 17:11:26 2017 +0000
Add patch to disable bundler usage
---
debian/patches/01-disable-bundler.patch | 32 ++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 33 insertions(+)
diff --git a/debian/patches/01-disable-bundler.patch b/debian/patches/01-disable-bundler.patch
new file mode 100644
index 0000000..9badcd2
--- /dev/null
+++ b/debian/patches/01-disable-bundler.patch
@@ -0,0 +1,32 @@
+Description: Disable bundler usage
+Author: Miguel Landaeta <nomadium at debian.org>
+Forwarded: no
+Last-Update: 2017-11-04
+
+--- ruby-rubocop-rspec-1.19.0.orig/Rakefile
++++ ruby-rubocop-rspec-1.19.0/Rakefile
+@@ -1,15 +1,15 @@
+ require 'open3'
+
+-require 'bundler'
+-require 'bundler/gem_tasks'
++# require 'bundler'
++# require 'bundler/gem_tasks'
+
+-begin
+- Bundler.setup(:default, :development)
+-rescue Bundler::BundlerError => e
+- warn e.message
+- warn 'Run `bundle install` to install missing gems'
+- exit e.status_code
+-end
++# begin
++# Bundler.setup(:default, :development)
++# rescue Bundler::BundlerError => e
++# warn e.message
++# warn 'Run `bundle install` to install missing gems'
++# exit e.status_code
++# end
+
+ require 'rspec/core/rake_task'
+ RSpec::Core::RakeTask.new(:spec) do |spec|
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..38b6a7a
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01-disable-bundler.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-rubocop-rspec.git
More information about the Pkg-ruby-extras-commits
mailing list