[DRE-commits] [ruby-responders] 01/03: update gemspec loadpath
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Fri Aug 28 17:27:21 UTC 2015
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository ruby-responders.
commit 126fae7a17df5ec2ac5c964e423d919a67ff54c8
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Fri Aug 28 22:46:52 2015 +0530
update gemspec loadpath
---
debian/patches/gemspec_loadpath.patch | 21 +++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 22 insertions(+)
diff --git a/debian/patches/gemspec_loadpath.patch b/debian/patches/gemspec_loadpath.patch
new file mode 100644
index 0000000..731b6c2
--- /dev/null
+++ b/debian/patches/gemspec_loadpath.patch
@@ -0,0 +1,21 @@
+From 7c376d6613e4d10900803a1e562dfa3bbbf5c1b3 Mon Sep 17 00:00:00 2001
+From: Praveen Arimbrathodiyil <praveen at debian.org>
+Date: Fri, 28 Aug 2015 22:45:39 +0530
+Subject: [PATCH] use unshift for load path
+
+when an older version is already installed, generated gemspec file gets wrong version (noticed in debian package)
+---
+ responders.gemspec | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/responders.gemspec b/responders.gemspec
+index cdae6ef..fc91518 100644
+--- a/responders.gemspec
++++ b/responders.gemspec
+@@ -1,5 +1,5 @@
+ # -*- encoding: utf-8 -*-
+-$:.push File.expand_path("../lib", __FILE__)
++$:.unshift File.expand_path("../lib", __FILE__)
+ require "responders/version"
+
+ Gem::Specification.new do |s|
diff --git a/debian/patches/series b/debian/patches/series
index 24f521b..34096ef 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
+gemspec_loadpath.patch
Bundler
rails-compat.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-responders.git
More information about the Pkg-ruby-extras-commits
mailing list