File: 01_disable_bundler.patch

package info (click to toggle)
ruby-buff-ignore 1.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 164 kB
  • sloc: ruby: 183; makefile: 3
file content (39 lines) | stat: -rw-r--r-- 1,195 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Description: Handle unit tests dependencies manually without Bundler
Author: Miguel Landaeta <nomadium@debian.org>
Forwarded: no
Last-Update: 2015-07-31

Index: ruby-buff-ignore/Rakefile
===================================================================
--- ruby-buff-ignore.orig/Rakefile
+++ ruby-buff-ignore/Rakefile
@@ -1,4 +1,4 @@
-require 'bundler/gem_tasks'
+#require 'bundler/gem_tasks'
 require 'rspec/core/rake_task'
 
 RSpec::Core::RakeTask.new do |t|
Index: ruby-buff-ignore/spec/spec_helper.rb
===================================================================
--- ruby-buff-ignore.orig/spec/spec_helper.rb
+++ ruby-buff-ignore/spec/spec_helper.rb
@@ -1,5 +1,7 @@
-require 'bundler/setup'
+#require 'bundler/setup'
 require 'spork'
+require 'buff/ignore'
+require_relative 'support/path_helpers'
 
 Spork.prefork do
   require 'rspec'
Index: ruby-buff-ignore/spec/support/path_helpers.rb
===================================================================
--- ruby-buff-ignore.orig/spec/support/path_helpers.rb
+++ ruby-buff-ignore/spec/support/path_helpers.rb
@@ -1,3 +1,6 @@
+require 'fileutils'
+require 'pathname'
+
 module Buff::Ignore
   module RSpec
     module PathHelpers