Package: ruby-i18n / 0.6.0-3+deb7u1

debian-changes-0.5.0-1 Patch series | 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Description: Upstream changes introduced in version 0.5.0-1
 This patch has been created by dpkg-source during the package build.
 Here's the last changelog entry, hopefully it gives details on why
 those changes were made:
 .
 ruby-i18n (0.5.0-1) UNRELEASED; urgency=low
 .
   TODO: need to package active support. And check dependencies.
   * Switch to gem2deb-based packaging. Rename source and binary package.
 .
 The person named in the Author field signed this changelog entry.
Author: Lucas Nussbaum <lucas@lucas-nussbaum.net>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- ruby-i18n-0.5.0.orig/test/test_helper.rb
+++ ruby-i18n-0.5.0/test/test_helper.rb
@@ -1,18 +1,18 @@
 $KCODE = 'u' if RUBY_VERSION <= '1.9'
 
-require 'rubygems'
+#require 'rubygems'
 require 'test/unit'
 
 # Do not load the i18n gem from libraries like active_support.
 #
 # This is required for testing against Rails 2.3 because active_support/vendor.rb#24 tries
 # to load I18n using the gem method. Instead, we want to test the local library of course.
-alias :gem_for_ruby_19 :gem # for 1.9. gives a super ugly seg fault otherwise
-def gem(gem_name, *version_requirements)
-  gem_name =='i18n' ? puts("skipping loading the i18n gem ...") : super
-end
+#alias :gem_for_ruby_19 :gem # for 1.9. gives a super ugly seg fault otherwise
+#def gem(gem_name, *version_requirements)
+#  gem_name =='i18n' ? puts("skipping loading the i18n gem ...") : super
+#end
 
-require 'bundler/setup'
+#require 'bundler/setup'
 require 'i18n'
 require 'mocha'
 require 'test_declarative'