[DRE-commits] [ruby-twitter-text] 01/03: Rename patch to general name

Balasankar C balasankarc-guest at moszumanska.debian.org
Sat Mar 12 19:52:47 UTC 2016


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

balasankarc-guest pushed a commit to branch master
in repository ruby-twitter-text.

commit ec2f1125bfa6cc71bfeb42bd2c89bc35d0df5343
Author: Balasankar C <balasankarc at autistici.org>
Date:   Sun Mar 13 01:18:11 2016 +0530

    Rename patch to general name
---
 ...2001-avoid-git-in-gemspec.patch => 2001-fix-gemspec.patch} | 11 ++++-------
 debian/patches/series                                         |  2 +-
 2 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/debian/patches/2001-avoid-git-in-gemspec.patch b/debian/patches/2001-fix-gemspec.patch
similarity index 70%
rename from debian/patches/2001-avoid-git-in-gemspec.patch
rename to debian/patches/2001-fix-gemspec.patch
index 5f222ec..b27a9a9 100644
--- a/debian/patches/2001-avoid-git-in-gemspec.patch
+++ b/debian/patches/2001-fix-gemspec.patch
@@ -5,11 +5,9 @@ Description: avoid git in gemspec
 Author: Pirate Praveen <praveen at debian.org>
 Last-Updated: 2014-11-23
 
-Index: ruby-twitter-text/twitter-text.gemspec
-===================================================================
---- ruby-twitter-text.orig/twitter-text.gemspec
-+++ ruby-twitter-text/twitter-text.gemspec
-@@ -23,8 +23,20 @@ Gem::Specification.new do |s|
+--- a/twitter-text.gemspec
++++ b/twitter-text.gemspec
+@@ -23,8 +23,19 @@
    s.add_development_dependency "simplecov", "~> 0.8.0"
    s.add_runtime_dependency     "unf", "~> 0.1.0"
  
@@ -28,8 +26,7 @@ Index: ruby-twitter-text/twitter-text.gemspec
 +  s.files += Dir.glob("test/**/*_test.rb")
 +  s.files += Dir.glob("spec/**/*_spec.rb")
 +  s.files += ['test/twitter-text-conformance/tld_lib.yml']
-+  s.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
-+  s.test_files    = spec.files.grep(%r{^(test|spec|features)/})
++  s.test_files    = Dir.glob("spec/**/*_spec.rb") + Dir.glob("test/**/*_test.rb")
 +
    s.require_paths = ["lib"]
  end
diff --git a/debian/patches/series b/debian/patches/series
index dc00f85..5f1d77e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,2 @@
-2001-avoid-git-in-gemspec.patch
+2001-fix-gemspec.patch
 3001-fix-path.patch

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



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