[DRE-commits] [ruby-fog-xml] 01/01: Fix patch issue
Balasankar C
balasankarc-guest at moszumanska.debian.org
Sat Jan 17 08:49:16 UTC 2015
This is an automated email from the git hooks/post-receive script.
balasankarc-guest pushed a commit to branch master
in repository ruby-fog-xml.
commit daabc3541d094d1829989d7361222f575cd89050
Author: Balasankar C <balasankarc at autistici.org>
Date: Sat Jan 17 12:36:17 2015 +0530
Fix patch issue
---
debian/changelog | 8 ++++++++
debian/patches/library-path | 16 ++++++++++++++++
debian/patches/series | 1 +
spec/minitest_helper.rb | 30 +++++++++++++++---------------
4 files changed, 40 insertions(+), 15 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index c495f0b..2c06f6b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+ruby-fog-xml (0.1.1-2) experimental; urgency=medium
+
+ * Debian update
+ * Fix library path for DebCI to work
+ * Fix files changed by patch
+
+ -- Balasankar C <balasankarc at autistici.org> Sat, 17 Jan 2015 12:35:26 +0530
+
ruby-fog-xml (0.1.1-1) experimental; urgency=medium
* Initial release (Closes: #771522)
diff --git a/debian/patches/library-path b/debian/patches/library-path
new file mode 100644
index 0000000..d1af155
--- /dev/null
+++ b/debian/patches/library-path
@@ -0,0 +1,16 @@
+Description: Fix library path
+ Change relative library path to absolute for CI to work
+Author: Balasankar C <balasankarc at autistici.org>
+Last-Update: 2015-01-17
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/spec/minitest_helper.rb
++++ b/spec/minitest_helper.rb
+@@ -28,6 +28,6 @@
+ end
+ end
+
+-require File.join(File.dirname(__FILE__), "../lib/fog/xml")
++require 'fog/xml'
+
+ Coveralls.wear! if ENV["COVERAGE"]
diff --git a/debian/patches/series b/debian/patches/series
index 2ac9d83..572a249 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+library-path
remove-turn-dependency
diff --git a/spec/minitest_helper.rb b/spec/minitest_helper.rb
index 4105bc9..f25cae7 100644
--- a/spec/minitest_helper.rb
+++ b/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"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-fog-xml.git
More information about the Pkg-ruby-extras-commits
mailing list