[DRE-commits] [SCM] redmine.git branch, master-stable, updated. debian/1.4.4+dfsg1-1-7-gb57617f

Ondřej Surý ondrej at sury.org
Tue Feb 26 09:14:01 UTC 2013


The following commit has been merged in the master-stable branch:
commit b57617fd1701f3e7950c245cfcb8efcb40c848e2
Author: Ondřej Surý <ondrej at sury.org>
Date:   Tue Feb 26 09:10:24 2013 +0100

    Fix broken REST API when run with ruby1.9.x (Closes: #700009)

diff --git a/debian/patches/2019_REST_API_ruby1.9.3.patch b/debian/patches/2019_REST_API_ruby1.9.3.patch
new file mode 100644
index 0000000..752a764
--- /dev/null
+++ b/debian/patches/2019_REST_API_ruby1.9.3.patch
@@ -0,0 +1,11 @@
+--- a/lib/redmine/views/builders/xml.rb
++++ b/lib/redmine/views/builders/xml.rb
+@@ -29,7 +29,7 @@ module Redmine
+         end
+ 
+         def method_missing(sym, *args, &block)
+-          if args.size == 1 && args.first.is_a?(Time)
++          if args.size == 1 && args.first.is_a?(::Time)
+             __send__ sym, args.first.xmlschema, &block
+           else
+             super
diff --git a/debian/patches/series b/debian/patches/series
index d7c4d9f..b0dc61d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,3 +6,4 @@
 2009_FHS_thin_config.patch
 2017_Gemfile_debian.patch
 2018_Parsedate.parsedate.patch
+2019_REST_API_ruby1.9.3.patch

-- 
redmine.git



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