File: require_instead_of_gem.patch

package info (click to toggle)
ruby-bogus 0.1.6-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 860 kB
  • sloc: ruby: 4,219; makefile: 8; sh: 2
file content (14 lines) | stat: -rw-r--r-- 389 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: use the standard require method to load minitest
 instead of the gem command. Dependencies are installed via the
 system package manager.
Author: Cédric Boutillier <boutil@debian.org>
Last-Update: 2014-06-22

--- a/lib/bogus/minitest.rb
+++ b/lib/bogus/minitest.rb
@@ -1,4 +1,4 @@
-gem 'minitest', '>= 4.7'
+require 'minitest'
 require 'bogus'
 
 module MiniTest::Assertions