[DRE-commits] [ruby-twitter-text] 03/10: avoid git in gemspec
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Sun Nov 23 00:36:14 UTC 2014
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository ruby-twitter-text.
commit fa6ebce97c241687b5dd67a7b0d0b0a821ec5608
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Sun Nov 23 05:18:19 2014 +0530
avoid git in gemspec
---
debian/patches/2001-avoid-git-in-gemspec.patch | 28 ++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 29 insertions(+)
diff --git a/debian/patches/2001-avoid-git-in-gemspec.patch b/debian/patches/2001-avoid-git-in-gemspec.patch
new file mode 100644
index 0000000..b82c5d7
--- /dev/null
+++ b/debian/patches/2001-avoid-git-in-gemspec.patch
@@ -0,0 +1,28 @@
+Index: ruby-twitter-text/twitter-text.gemspec
+===================================================================
+--- ruby-twitter-text.orig/twitter-text.gemspec
++++ ruby-twitter-text/twitter-text.gemspec
+@@ -22,9 +22,19 @@ Gem::Specification.new do |s|
+ s.add_development_dependency "rspec", "~> 2.14.0"
+ s.add_development_dependency "simplecov", "~> 0.8.0"
+ s.add_runtime_dependency "unf", "~> 0.1.0"
+-
+- s.files = `git ls-files`.split("\n") + ['test/twitter-text-conformance/tld_lib.yml']
+- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+- s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
++ s.files = %w(
++ Gemfile
++ LICENSE
++ README.rdoc
++ twitter-text.gemspec
++ Rakefile
++ )
++ s.files += Dir.glob("lib/**/*")
++ s.files += Dir.glob("script/**/*")
++ 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.require_paths = ["lib"]
+ end
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..7c21f9c
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+2001-avoid-git-in-gemspec.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