[DRE-commits] [ruby-rack-contrib] 01/03: Add locale patch
Balasankar C
balasankarc-guest at moszumanska.debian.org
Sun Jan 10 07:58:27 UTC 2016
This is an automated email from the git hooks/post-receive script.
balasankarc-guest pushed a commit to branch master
in repository ruby-rack-contrib.
commit 20d1aeab0e438c1bf08692027851450f936a4098
Author: Balasankar C <balasankarc at autistici.org>
Date: Sun Jan 10 12:44:03 2016 +0530
Add locale patch
---
debian/patches/0003-set-available-locale.patch | 16 ++++++++++++++++
debian/patches/series | 1 +
2 files changed, 17 insertions(+)
diff --git a/debian/patches/0003-set-available-locale.patch b/debian/patches/0003-set-available-locale.patch
new file mode 100644
index 0000000..9b9249d
--- /dev/null
+++ b/debian/patches/0003-set-available-locale.patch
@@ -0,0 +1,16 @@
+Description: Add :en to available locale
+Author: Balasankar C <balasankarc at autistici.org>
+Last-Update: 2016-01-10
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/test/spec_rack_locale.rb
++++ b/test/spec_rack_locale.rb
+@@ -8,7 +8,7 @@
+
+ before(:all) do
+ # Set the locales that will be used at various points in the tests
+- I18n.config.available_locales = [I18n.default_locale, :dk, :'en-gb', :es, :zh]
++ I18n.config.available_locales = [I18n.default_locale, :dk, :'en-gb', :es, :zh, :en]
+ end
+
+ def app
diff --git a/debian/patches/series b/debian/patches/series
index 6542767..41d682d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
0001-Remove-dependency-on-git-version-bump.patch
0002-test-spec_rack_locale.rb-skip-minitest-hooks.patch
+0003-set-available-locale.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-rack-contrib.git
More information about the Pkg-ruby-extras-commits
mailing list