From: | "Alex Legler (a3li)" <a3li@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-ruby/ruby-dict/files: ruby-dict-ruby19.patch |
Date: | Sun, 27 Oct 2013 18:23:19 |
Message-Id: | 20131027182316.3E87E2004E@flycatcher.gentoo.org |
1 | a3li 13/10/27 18:23:16 |
2 | |
3 | Added: ruby-dict-ruby19.patch |
4 | Log: |
5 | Adding ruby19 support |
6 | |
7 | (Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key 8E740238) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-ruby/ruby-dict/files/ruby-dict-ruby19.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-dict/files/ruby-dict-ruby19.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-dict/files/ruby-dict-ruby19.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: ruby-dict-ruby19.patch |
16 | =================================================================== |
17 | --- lib/dict.rb.orig 2013-10-27 19:15:03.957167192 +0100 |
18 | +++ lib/dict.rb 2013-10-27 19:16:15.191165936 +0100 |
19 | @@ -153,7 +153,7 @@ |
20 | |
21 | |
22 | require 'socket' |
23 | -require 'md5' |
24 | +require 'digest/md5' |
25 | |
26 | |
27 | # lines that start with .. need to be reduced to . |
28 | @@ -434,7 +434,7 @@ |
29 | # AUTHorise user |
30 | # |
31 | def auth(user, secret) |
32 | - auth = MD5::new(@msgid + secret).hexdigest |
33 | + auth = Digest::MD5.new.hexdigest(@msgid + secret) |
34 | exec_cmd('AUTH %s %s' % [ user, auth ]) |
35 | end |