[DRE-commits] [ruby-grape-logging] 01/01: make sure response object is always what we expect it to be
Antonio Terceiro
terceiro at moszumanska.debian.org
Wed Aug 5 01:27:13 UTC 2015
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository ruby-grape-logging.
commit 1d8cb70b115d104f6ff23dcdbb85fc3930bb6058
Author: Antonio Terceiro <terceiro at debian.org>
Date: Thu Jul 30 09:18:16 2015 -0300
make sure response object is always what we expect it to be
patch submitted upstream
---
debian/changelog | 7 +++++++
debian/patches/app-response.patch | 24 ++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 32 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 59b7f02..d8cfb62 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+ruby-grape-logging (1.1.2+20150715-2) unstable; urgency=medium
+
+ * debian/patches/app-response.patch: make sure response object is always
+ what we expect it to be.
+
+ -- Antonio Terceiro <terceiro at debian.org> Thu, 30 Jul 2015 09:17:11 -0300
+
ruby-grape-logging (1.1.2+20150715-1) unstable; urgency=medium
* Initial release
diff --git a/debian/patches/app-response.patch b/debian/patches/app-response.patch
new file mode 100644
index 0000000..c6bdfd2
--- /dev/null
+++ b/debian/patches/app-response.patch
@@ -0,0 +1,24 @@
+Description: fix call to response status
+Origin: https://github.com/aserafin/grape_logging/pull/10
+Reviewed-By: Antonio Terceiro <terceiro at colivre.coop.br>
+Last-Update: 2015-07-22
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/lib/grape_logging/middleware/request_logger.rb
++++ b/lib/grape_logging/middleware/request_logger.rb
+@@ -33,7 +33,7 @@ module GrapeLogging
+ method: request.request_method,
+ total: total_runtime,
+ db: @db_duration.round(2),
+- status: response.status
++ status: @app_response.status
+ }
+ end
+
+@@ -59,4 +59,4 @@ module GrapeLogging
+ end
+ end
+ end
+-end
+\ No newline at end of file
++end
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..2a35cd4
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+app-response.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-grape-logging.git
More information about the Pkg-ruby-extras-commits
mailing list