https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112019-05-14T02:47:52ZRuby Issue Tracking SystemRuby master - Bug #15847: SecureRandom#gen_random becomes private after first invocationhttps://bugs.ruby-lang.org/issues/15847?journal_id=780022019-05-14T02:47:52Zshyouhei (Shyouhei Urabe)shyouhei@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul><p>Applied in changeset <a class="changeset" title="fix visibility of SecureRandom.gen_random Aliasing a method preserves its visibility. These ali..." href="https://bugs.ruby-lang.org/projects/ruby-master/repository/git/revisions/5bab1304af25a843728dbcd2f3594913740aecb0">git|5bab1304af25a843728dbcd2f3594913740aecb0</a>.</p>
<hr>
<p>fix visibility of SecureRandom.gen_random</p>
<p>Aliasing a method preserves its visibility. These aliases turn<br>
formerly-public methods into private. Should make them public<br>
again. [Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: SecureRandom#gen_random becomes private after first invocation (Closed)" href="https://bugs.ruby-lang.org/issues/15847">#15847</a>]</p> Ruby master - Bug #15847: SecureRandom#gen_random becomes private after first invocationhttps://bugs.ruby-lang.org/issues/15847?journal_id=780032019-05-14T02:50:10Zshyouhei (Shyouhei Urabe)shyouhei@ruby-lang.org
<ul></ul><p>Thank you for reporting! It was my fault. have just pushed a fix.</p> Ruby master - Bug #15847: SecureRandom#gen_random becomes private after first invocationhttps://bugs.ruby-lang.org/issues/15847?journal_id=780052019-05-14T05:43:17Znagachika (Tomoyuki Chikanaga)nagachika00@gmail.com
<ul><li><strong>Backport</strong> changed from <i>2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN</i> to <i>2.4: DONTNEED, 2.5: REQUIRED, 2.6: REQUIRED</i></li></ul> Ruby master - Bug #15847: SecureRandom#gen_random becomes private after first invocationhttps://bugs.ruby-lang.org/issues/15847?journal_id=803272019-08-01T13:18:33Znagachika (Tomoyuki Chikanaga)nagachika00@gmail.com
<ul><li><strong>Backport</strong> changed from <i>2.4: DONTNEED, 2.5: REQUIRED, 2.6: REQUIRED</i> to <i>2.4: DONTNEED, 2.5: REQUIRED, 2.6: DONE</i></li></ul><p>ruby_2_6 r67723 merged revision(s) 5bab1304af25a843728dbcd2f3594913740aecb0.</p> Ruby master - Bug #15847: SecureRandom#gen_random becomes private after first invocationhttps://bugs.ruby-lang.org/issues/15847?journal_id=810292019-08-26T15:13:55Zusa (Usaku NAKAMURA)usa@garbagecollect.jp
<ul><li><strong>Backport</strong> changed from <i>2.4: DONTNEED, 2.5: REQUIRED, 2.6: DONE</i> to <i>2.4: DONTNEED, 2.5: DONE, 2.6: DONE</i></li></ul><p>ruby_2_5 r67762 merged revision(s) 5bab1304af25a843728dbcd2f3594913740aecb0.</p>