[DRE-commits] [ruby-saml] 01/01: use unshift instead of push
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Sat Jun 4 13:47:11 UTC 2016
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository ruby-saml.
commit aa72668290c8e3d28eb519dac82a71b7e0ff5c31
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Sat Jun 4 19:16:45 2016 +0530
use unshift instead of push
---
debian/changelog | 7 +++++++
debian/patches/series | 1 +
debian/patches/use-unshift-in-gemspec.patch | 10 ++++++++++
3 files changed, 18 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 62b13f1..a784fa7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+ruby-saml (1.1.2-2) UNRELEASED; urgency=medium
+
+ * Use unshift instead of push in gemspec (fix gemspec generation
+ when an older version is already installed during build)
+
+ -- Pirate Praveen <praveen at debian.org> Sat, 04 Jun 2016 19:15:53 +0530
+
ruby-saml (1.1.2-1) unstable; urgency=medium
* New upstream release
diff --git a/debian/patches/series b/debian/patches/series
index acb2b18..553b098 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
remove-git-from-gemspec.diff
remove-simplecov.patch
remove-bundler.patch
+use-unshift-in-gemspec.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..bc9eb25
--- /dev/null
+++ b/debian/patches/use-unshift-in-gemspec.patch
@@ -0,0 +1,10 @@
+Index: ruby-saml/ruby-saml.gemspec
+===================================================================
+--- ruby-saml.orig/ruby-saml.gemspec
++++ ruby-saml/ruby-saml.gemspec
+@@ -1,4 +1,4 @@
+-$LOAD_PATH.push File.expand_path('../lib', __FILE__)
++$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
+ require 'onelogin/ruby-saml/version'
+
+ Gem::Specification.new do |s|
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-saml.git
More information about the Pkg-ruby-extras-commits
mailing list