[DRE-commits] [ruby-grape-entity] 01/01: use unshift in gemspec

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Sat Jun 4 17:53:19 UTC 2016


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

praveen pushed a commit to branch master
in repository ruby-grape-entity.

commit 412807eb772a0c5175d5c524f0fccb3ce894796e
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Sat Jun 4 23:20:09 2016 +0530

    use unshift in gemspec
---
 debian/changelog                            |  8 ++++++++
 debian/patches/series                       |  1 +
 debian/patches/use-unshift-in-gemspec.patch | 10 ++++++++++
 3 files changed, 19 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index a17177c..18da790 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+ruby-grape-entity (0.5.1-1.1) UNRELEASED; urgency=medium
+
+  * Team upload
+  * Use unshift in gemspec for LOADPATH (it now takes correct version
+    even when old version is installed during build)
+
+ -- Pirate Praveen <praveen at debian.org>  Sat, 04 Jun 2016 23:18:42 +0530
+
 ruby-grape-entity (0.5.1-1) unstable; urgency=medium
 
   * Imported Upstream version 0.5.1
diff --git a/debian/patches/series b/debian/patches/series
index 8b9e4a4..c6b7c09 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
+use-unshift-in-gemspec.patch
 0002-require_activesupport_hash.patch
 0001-Cleanup-require-stuff-in-spec_helper.patch
diff --git a/debian/patches/use-unshift-in-gemspec.patch b/debian/patches/use-unshift-in-gemspec.patch
new file mode 100644
index 0000000..16c690b
--- /dev/null
+++ b/debian/patches/use-unshift-in-gemspec.patch
@@ -0,0 +1,10 @@
+Index: ruby-grape-entity/grape-entity.gemspec
+===================================================================
+--- ruby-grape-entity.orig/grape-entity.gemspec
++++ ruby-grape-entity/grape-entity.gemspec
+@@ -1,4 +1,4 @@
+-$LOAD_PATH.push File.expand_path('../lib', __FILE__)
++$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
+ require 'grape_entity/version'
+ 
+ Gem::Specification.new do |s|

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



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