[DRE-commits] [ruby-ice-cube] 02/02: Fix ice_cube path

Balasankar C balasankarc-guest at moszumanska.debian.org
Mon Dec 29 14:37:30 UTC 2014


This is an automated email from the git hooks/post-receive script.

balasankarc-guest pushed a commit to branch master
in repository ruby-ice-cube.

commit 0f5f06b49b1dd9ce026c8c3033a9ee90aab43405
Author: Balasankar C <balasankarc at autistici.org>
Date:   Mon Dec 29 20:02:52 2014 +0530

    Fix ice_cube path
---
 debian/changelog            |  1 +
 debian/patches/Simplecov    |  8 ++++----
 debian/patches/library-path | 17 +++++++++++++++++
 debian/patches/series       |  1 +
 4 files changed, 23 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a394f9d..114741d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ ruby-ice-cube (0.11.1-2) experimental; urgency=medium
   * Debian Update
   * Fixing the spec/spec_helper.rb file which was accidentally alterd due to
     incorrect patching 
+  * Fixed the relative path of lib/ice_cube.rb file in spec_helper
 
  -- Balasankar C <balasankarc at autistici.org>  Mon, 29 Dec 2014 19:51:59 +0530
 
diff --git a/debian/patches/Simplecov b/debian/patches/Simplecov
index c7278b3..f1b0b2f 100644
--- a/debian/patches/Simplecov
+++ b/debian/patches/Simplecov
@@ -1,4 +1,4 @@
-Description: <short summary of the patch>
+Description: SimpleCov removal
  Removing the simplecov portion from the test as the simplecov version needed
  for ice_cube is not yet packaged.
  .
@@ -8,8 +8,8 @@ Description: <short summary of the patch>
 Author: Balasankar C <balasankarc at autistici.org>
 
 
---- ruby-ice-cube-0.11.1.orig/spec/spec_helper.rb
-+++ ruby-ice-cube-0.11.1/spec/spec_helper.rb
+--- a/spec/spec_helper.rb
++++ b/spec/spec_helper.rb
 @@ -1,9 +1,9 @@
 -begin
 -  require 'simplecov'
@@ -23,5 +23,5 @@ Author: Balasankar C <balasankarc at autistici.org>
 -end
 +#end
  
- require File.dirname(__FILE__) + '/../lib/ice_cube'
+ require 'ice_cube'
  
diff --git a/debian/patches/library-path b/debian/patches/library-path
new file mode 100644
index 0000000..8284474
--- /dev/null
+++ b/debian/patches/library-path
@@ -0,0 +1,17 @@
+Description: Fix Library Path
+ Fix the path for ice_cube in spec_helper.rb
+Author: Balasankar C <balasankarc at autistici.org>
+Last-Update: 2014-12-29
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/spec/spec_helper.rb
++++ b/spec/spec_helper.rb
+@@ -5,7 +5,7 @@
+   # okay
+ end
+ 
+-require File.dirname(__FILE__) + '/../lib/ice_cube'
++require 'ice_cube'
+ 
+ DAY = Time.utc(2010, 3, 1)
+ WEDNESDAY = Time.utc(2010, 6, 23, 5, 0, 0)
diff --git a/debian/patches/series b/debian/patches/series
index eed28c3..93cb5da 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+library-path
 Simplecov

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-ice-cube.git



More information about the Pkg-ruby-extras-commits mailing list