[DRE-commits] [ruby-devise] 01/01: remove git usage in gemspec

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Sat Jun 11 17:03:39 UTC 2016


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

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

commit 2c430acad7bcc4665842c5b6bc7f9214c2b24a5f
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Sat Jun 11 22:28:46 2016 +0530

    remove git usage in gemspec
---
 debian/patches/remove-git-in-gemspec.patch | 17 +++++++++++++++++
 debian/patches/series                      |  1 +
 2 files changed, 18 insertions(+)

diff --git a/debian/patches/remove-git-in-gemspec.patch b/debian/patches/remove-git-in-gemspec.patch
new file mode 100644
index 0000000..aeac488
--- /dev/null
+++ b/debian/patches/remove-git-in-gemspec.patch
@@ -0,0 +1,17 @@
+Possible workaround for #827052
+
+Index: ruby-devise/devise.gemspec
+===================================================================
+--- ruby-devise.orig/devise.gemspec
++++ ruby-devise/devise.gemspec
+@@ -13,8 +13,8 @@ Gem::Specification.new do |s|
+   s.description = "Flexible authentication solution for Rails with Warden"
+   s.authors     = ['José Valim', 'Carlos Antônio']
+ 
+-  s.files         = `git ls-files`.split("\n")
+-  s.test_files    = `git ls-files -- test/*`.split("\n")
++  s.files         = ''
++  s.test_files    = ''
+   s.require_paths = ["lib"]
+   s.required_ruby_version = '>= 2.1.0'
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 6c34183..117d4c7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 engine-root.rb
 locales.patch
+remove-git-in-gemspec.patch

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



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