File: 0100_remove_bundler_rubygems_stuff.patch

package info (click to toggle)
ruby-prawn 2.3.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,380 kB
  • sloc: ruby: 15,820; sh: 43; makefile: 20
file content (24 lines) | stat: -rw-r--r-- 518 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
Description: remove rubygems and bundler stuff from specs
Author: Cédric Boutillier <boutil@debian.org>
Last-Update: 2018-12-30

--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,16 +1,6 @@
 puts "Prawn specs: Running on Ruby Version: #{RUBY_VERSION}"
 
-require 'bundler'
-Bundler.setup
-
-if ENV['COVERAGE']
-  require 'simplecov'
-  SimpleCov.start do
-    add_filter '/spec/'
-  end
-end
-
-require_relative '../lib/prawn'
+require 'prawn'
 
 Prawn.debug = true
 Prawn::Font::AFM.hide_m17n_warning = true