File: remove_coveralls_pry_bundler.patch

package info (click to toggle)
ruby-neovim 0.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 396 kB
  • ctags: 280
  • sloc: ruby: 3,389; makefile: 3
file content (29 lines) | stat: -rw-r--r-- 738 bytes parent folder | download
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
Description: Remove coveralls, pry and bundler/setup
 coveralls is used for code coverage, not needed when packaging for Debian
 pry acts as a developer console, and not needed when building this package
 bundler/setup is also not needed since dependencies are already installed
 from Build-Depends
Author: Jason Pleau <jason@jpleau.ca>
Last-Update: 2016-12-04

--- a/spec/helper.rb
+++ b/spec/helper.rb
@@ -1,13 +1,13 @@
-require "bundler/setup"
+#require "bundler/setup"
 
-if ENV["REPORT_COVERAGE"]
-  require "coveralls"
-  Coveralls.wear!
-end
+#if ENV["REPORT_COVERAGE"]
+#  require "coveralls"
+#  Coveralls.wear!
+#end
 
 require "fileutils"
 require "neovim"
-require "pry"
+#require "pry"
 require "stringio"
 require "timeout"