[#47409] [ruby-trunk - Feature #6973][Open] Add an #integral? method to Numeric to test for whole-number values — "regularfry (Alex Young)" <alex@...>

12 messages 2012/09/03

[#47481] [ruby-trunk - Bug #7008][Open] rake is crashing when trying to compile ffi gem — "drookie (Eugene M. Zheganin Eugene M. Zheganin)" <eugene@...>

10 messages 2012/09/12

[#47505] [ruby-trunk - Feature #7019][Open] allow `private` and `protected` keywords to take blocks — "alexeymuranov (Alexey Muranov)" <redmine@...>

15 messages 2012/09/13

[#47582] [ruby-trunk - Bug #7037][Open] float formatting inconsistently rounds half to even — "headius (Charles Nutter)" <headius@...>

14 messages 2012/09/19

[#47638] [ruby-trunk - Bug #7046][Open] ERB#run and ERB#result are not safe for concurrent use — "headius (Charles Nutter)" <headius@...>

11 messages 2012/09/21

[#47655] [ruby-trunk - Feature #7051][Open] Extend caller_locations API to include klass and bindings. Allow caller_locations as a method hanging off Thread. — "sam.saffron (Sam Saffron)" <sam.saffron@...>

13 messages 2012/09/23

[#47657] [ruby-trunk - Feature #7055][Open] Allow `.foo=` as a synonym of `self.foo=` — "alexeymuranov (Alexey Muranov)" <redmine@...>

11 messages 2012/09/23

[#47730] [ruby-trunk - Bug #7085][Open] Subversion → GitHub gateway stops. — "shyouhei (Shyouhei Urabe)" <shyouhei@...>

27 messages 2012/09/29

[#47735] [ruby-trunk - Bug #7087][Open] ::ConditionVariable#wait does not work with Monitor because Monitor#sleep does not exist — "rklemme (Robert Klemme)" <shortcutter@...>

10 messages 2012/09/29

[#47759] [ruby-trunk - Bug #7092][Open] StringScanner start-of-line matches false positives, while lookbehind for a newline gives false negatives — "jayferd (Jay Adkisson)" <jjmadkisson@...>

8 messages 2012/09/30

[ruby-core:47440] [ruby-trunk - Bug #6799] Digest::*.hexdigest returns an ASCII-8BIT String

From: "tenderlovemaking (Aaron Patterson)" <aaron@...>
Date: 2012-09-05 23:58:44 UTC
List: ruby-core #47440
Issue #6799 has been updated by tenderlovemaking (Aaron Patterson).

File secure_random.patch added

Could we do this for SecureRandom.hex as well?  I've attached a patch.  /cc akr
----------------------------------------
Bug #6799: Digest::*.hexdigest returns an ASCII-8BIT String
https://bugs.ruby-lang.org/issues/6799#change-29198

Author: Eregon (Benoit Daloze)
Status: Closed
Priority: Normal
Assignee: Eregon (Benoit Daloze)
Category: ext
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-07-15 trunk 36395) [x86_64-darwin10.8.0]


$ ruby -rdigest/sha1 -e 'p Digest::SHA1.hexdigest("a").encoding'     
#<Encoding:ASCII-8BIT>

I'm happy to provide a patch.


-- 
http://bugs.ruby-lang.org/

In This Thread