[DRE-commits] [unicorn] 04/06: Refresh patch
Sruthi Chandran
srud-guest at moszumanska.debian.org
Mon Sep 18 18:47:22 UTC 2017
This is an automated email from the git hooks/post-receive script.
srud-guest pushed a commit to branch master
in repository unicorn.
commit 22e72bef83e9bc3a1ad26a140c116e5890e9cdf7
Author: Sruthi Chandran <srud at disroot.org>
Date: Mon Sep 18 20:54:56 2017 +0530
Refresh patch
---
debian/patches/fix-gemspec.patch | 50 +++++++++++-----------------------------
1 file changed, 13 insertions(+), 37 deletions(-)
diff --git a/debian/patches/fix-gemspec.patch b/debian/patches/fix-gemspec.patch
index fd31699..d62e939 100644
--- a/debian/patches/fix-gemspec.patch
+++ b/debian/patches/fix-gemspec.patch
@@ -1,43 +1,19 @@
-Index: unicorn/unicorn.gemspec
-===================================================================
---- unicorn.orig/unicorn.gemspec
-+++ unicorn/unicorn.gemspec
-@@ -1,9 +1,13 @@
- # -*- encoding: binary -*-
- ENV["VERSION"] or abort "VERSION= must be specified"
- manifest = File.readlines('.manifest').map! { |x| x.chomp! }
--require 'olddoc'
--extend Olddoc::Gemspec
--name, summary, title = readme_metadata
-+#require 'olddoc'
-+#extend Olddoc::Gemspec
-+name='unicorn', summary='unicorn: Rack HTTP server for fast clients and Unix', title = 'unicorn is an HTTP server for Rack applications designed to only serve
-+fast clients on low-latency, high-bandwidth connections and take
-+advantage of features in Unix/Unix-like kernels. Slow clients should
-+only be served by placing a reverse proxy capable of fully buffering
-+both the the request and response in between unicorn and slow clients.'
-
- # don't bother with tests that fork, not worth our time to get working
- # with `gem check -t` ... (of course we care for them when testing with
-@@ -14,16 +18,16 @@ end.compact
+--- a/unicorn.gemspec
++++ b/unicorn.gemspec
+@@ -10,12 +10,12 @@
+ end.compact
Gem::Specification.new do |s|
- s.name = %q{unicorn}
-- s.version = ENV["VERSION"].dup
-+ s.version = `./GIT-VERSION-GEN`
- s.authors = ["#{name} hackers"]
- s.summary = summary
-- s.description = readme_description
+- s.name = %q{unicorn}
+- s.version = (ENV['VERSION'] || '5.3.0').dup
++ s.name = 'unicorn'
++ s.version = `./GIT-VERSION-GEN`
+ s.authors = ['unicorn hackers']
+ s.summary = 'Rack HTTP server for fast clients and Unix'
+- s.description = File.read('README').split("\n\n")[1]
- s.email = %q{unicorn-public at bogomips.org}
-+ s.description = title
++ s.description = 'unicorn is an HTTP server for Rack applications designed to only serve fast clients on low-latency, high-bandwidth connections and take advantage of features in Unix/Unix-like kernels. Slow clients should only be served by placing a reverse proxy capable of fully buffering both the the request and response in between unicorn and slow clients.'
+ s.email = 'unicorn-public at bogomips.org'
s.executables = %w(unicorn unicorn_rails)
s.extensions = %w(ext/unicorn_http/extconf.rb)
-- s.extra_rdoc_files = extra_rdoc_files(manifest)
-+# s.extra_rdoc_files = extra_rdoc_files(manifest)
- s.files = manifest
-- s.homepage = Olddoc.config['rdoc_url']
-+ s.homepage = 'http://bogomips.org/unicorn/'
- s.test_files = test_files
-
- # technically we need ">= 1.9.3", too, but avoid the array here since
+ s.extra_rdoc_files = IO.readlines('.document').map!(&:chomp!).keep_if do |f|
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/unicorn.git
More information about the Pkg-ruby-extras-commits
mailing list