File: remove-turn-dependency

package info (click to toggle)
ruby-fog-xml 0.1.1-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 196 kB
  • sloc: ruby: 246; makefile: 2
file content (50 lines) | stat: -rw-r--r-- 1,683 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
40
41
42
43
44
45
46
47
48
49
50
Description: Comment out portions using the gem "turn"
 Removing the dependecy on turn as it is not and can't be packaged.
 .
 ruby-fog-xml (0.1.1-1) UNRELEASED; urgency=medium
 .
   * Initial release (Closes: #nnnn)
Author: Balasankar C <balasankarc@autistici.org>


--- ruby-fog-xml-0.1.1.orig/spec/minitest_helper.rb
+++ ruby-fog-xml-0.1.1/spec/minitest_helper.rb
@@ -1,23 +1,23 @@
 require "minitest/spec"
 require "minitest/autorun"
-require "turn"
+#require "turn"
 require "excon"
 require "fog/core"
 
-Turn.config do |c|
-  # use one of output formats:
-  # :outline  - turn's original case/test outline mode [default]
-  # :progress - indicates progress with progress bar
-  # :dotted   - test/unit's traditional dot-progress mode
-  # :pretty   - new pretty reporter
-  # :marshal  - dump output as YAML (normal run mode only)
-  # :cue      - interactive testing
-  # c.format  = :outline
-  # turn on invoke/execute tracing, enable full backtrace
-  c.trace   = 20
-  # use humanized test names (works only with :outline format)
-  c.natural = true
-end
+#Turn.config do |c|
+  ## use one of output formats:
+  ## :outline  - turn's original case/test outline mode [default]
+  ## :progress - indicates progress with progress bar
+  ## :dotted   - test/unit's traditional dot-progress mode
+  ## :pretty   - new pretty reporter
+  ## :marshal  - dump output as YAML (normal run mode only)
+  ## :cue      - interactive testing
+  ## c.format  = :outline
+  ## turn on invoke/execute tracing, enable full backtrace
+  #c.trace   = 20
+  ## use humanized test names (works only with :outline format)
+  #c.natural = true
+#end
 
 if ENV["COVERAGE"]
   require "coveralls"