File: fix-gemspec.patch

package info (click to toggle)
ruby-statsd 1.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 176 kB
  • sloc: ruby: 915; makefile: 3
file content (28 lines) | stat: -rw-r--r-- 975 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Description: Fix author name and files in gemspec
Author: Balasankar C <balasankarc@debian.org>
Last-Update: 2018-03-18
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/statsd-ruby.gemspec
+++ b/statsd-ruby.gemspec
@@ -1,7 +1,7 @@
 # -*- encoding: utf-8 -*-
 
 Gem::Specification.new("statsd-ruby", "1.5.0") do |s|
-  s.authors =  `git log --format='%aN' | sort -u`.split("\n")
+  s.authors =  'Rein Henrichs'
   s.email = "reinh@reinh.com"
 
   s.summary = "A Ruby StatsD client"
@@ -12,11 +12,6 @@ Gem::Specification.new("statsd-ruby", "1
 
   s.extra_rdoc_files = %w[LICENSE.txt README.rdoc]
 
-  if $0 =~ /gem/ # If running under rubygems (building), otherwise, just leave
-    s.files         = `git ls-files`.split($\)
-    s.test_files    = s.files.grep(%r{^(test|spec|features)/})
-  end
-
   s.add_development_dependency "minitest", ">= 5.6.0"
   s.add_development_dependency "yard"
   s.add_development_dependency "simplecov", ">= 0.6.4"