File: no_rubygems_nor_bundler

package info (click to toggle)
ruby-html2haml 2.3.0-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 288 kB
  • sloc: ruby: 1,577; makefile: 6
file content (35 lines) | stat: -rw-r--r-- 1,139 bytes parent folder | download | duplicates (6)
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
Author: Gunnar Wolf <gwolf@debian.org>
Forwarded: not-needed
Last-Update: 2013-05-23
Description: Skip the 'rubygems' and 'bundler' calls

Index: ruby-html2haml/lib/html2haml.rb
===================================================================
--- ruby-html2haml.orig/lib/html2haml.rb	2013-05-23 17:20:12.000000000 -0500
+++ ruby-html2haml/lib/html2haml.rb	2013-05-23 17:20:35.000000000 -0500
@@ -1,5 +1,6 @@
-require "rubygems"
-gem "haml", ">= 3.2"
+# require "rubygems"
+#gem "haml", ">= 3.2"
+require 'haml'
 require File.expand_path("../html2haml/version", __FILE__)
 require "haml/util"
 require "haml/parser"
Index: ruby-html2haml/test/test_helper.rb
===================================================================
--- ruby-html2haml.orig/test/test_helper.rb	2013-05-23 17:20:12.000000000 -0500
+++ ruby-html2haml/test/test_helper.rb	2013-05-23 17:20:12.000000000 -0500
@@ -1,10 +1,10 @@
-require "rubygems"
+# require "rubygems"
 if ENV["COVERAGE"]
   require "simplecov"
   SimpleCov.start
 end
 
-require "bundler/setup"
+# require "bundler/setup"
 require "minitest/autorun"
 require "html2haml"
 require 'html2haml/html'