General

Profile

patbl (Patrick Brinich-Langlois)

  • Login: patbl
  • Registered on: 02/18/2018
  • Last sign in: 08/01/2018

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

09/06/2018

05:44 PM Ruby Bug #14716: SecureRandom throwing an error in Ruby 2.5.1
I worked around this problem by forcing `SecureRandom` to use the OpenSSL gem:
```ruby
module SecureRandom
if RUBY_VERSION == "2.5.1"
class << self
def gen_random(n)
begin
require 'openssl'
rescue N...
patbl (Patrick Brinich-Langlois)

08/01/2018

10:54 PM Ruby Bug #14716: SecureRandom throwing an error in Ruby 2.5.1
We also got this error after upgrading to 2.5.1 (we had been on 2.4.2). We're also on a v3.13 kernel (3.13.0-24-generic). `cat /dev/urandom` produces output, and the errors are intermittent. Over the past day, `failed to get urandom` was... patbl (Patrick Brinich-Langlois)

02/18/2018

11:02 PM Ruby Bug #14488 (Closed): Unicode characters prevent [[:punct:]] character class from matching certain characters in subsequent matches
In 2.3.5, `[[:punct:]]` doesn't match `+`. In 2.5.0, it does. In 2.4.3, it matches, but not after you match against a string containing one or more unicode characters. I would expect 2.4.3 to have the behavior of 2.5.0.
~~~ ruby
puts...
patbl (Patrick Brinich-Langlois)

Also available in: Atom