Sha256: 37387dbd2cdcdb6f55409ebb79099a96b4ec70dafb4ea2fc5f51669ac645a5c9

Contents?: true

Size: 224 Bytes

Versions: 18

Compression:

Stored size: 224 Bytes

Contents

# frozen_string_literal: true

module ActiveGraph
  module SecureRandomExt
    def hex(n = nil)
      super.force_encoding(Encoding::UTF_8)
    end

    def uuid
      super.force_encoding(Encoding::UTF_8)
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
activegraph-12.0.0.beta.4 lib/active_graph/secure_random_ext.rb
activegraph-11.5.0.beta.3 lib/active_graph/secure_random_ext.rb
activegraph-12.0.0.beta.3 lib/active_graph/secure_random_ext.rb
activegraph-12.0.0.beta.2 lib/active_graph/secure_random_ext.rb
activegraph-11.5.0.beta.2 lib/active_graph/secure_random_ext.rb
activegraph-12.0.0.beta.1 lib/active_graph/secure_random_ext.rb
activegraph-11.5.0.beta.1 lib/active_graph/secure_random_ext.rb
activegraph-11.5.0.alpha.1 lib/active_graph/secure_random_ext.rb
activegraph-11.4.0 lib/active_graph/secure_random_ext.rb
activegraph-11.3.1 lib/active_graph/secure_random_ext.rb
activegraph-11.3.0 lib/active_graph/secure_random_ext.rb
activegraph-11.2.0 lib/active_graph/secure_random_ext.rb
activegraph-11.1.0 lib/active_graph/secure_random_ext.rb
activegraph-11.1.0.beta.1 lib/active_graph/secure_random_ext.rb
activegraph-11.1.0.alpha.4 lib/active_graph/secure_random_ext.rb
activegraph-11.1.0.alpha.3 lib/active_graph/secure_random_ext.rb
activegraph-11.1.0.alpha.2 lib/active_graph/secure_random_ext.rb
activegraph-11.1.0.alpha.1 lib/active_graph/secure_random_ext.rb