Sha256: 4e8cd3a0f48f00d97cf7d9d206dfbf49667509eccfe7c2373b42504772474781

Contents?: true

Size: 337 Bytes

Versions: 6

Compression:

Stored size: 337 Bytes

Contents

require 'casserver/core_ext/string'

# We only need to modify securerandom if we're using
# ActiveSupport's implementation.
if RUBY_VERSION < "1.9"
  require 'securerandom'
  require 'casserver/core_ext/securerandom'

  SecureRandom.send(:include, CASServer::CoreExt::SecureRandom)
end

String.send(:include, CASServer::CoreExt::String)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
synapse-rubycas-server-1.1.6 lib/casserver/core_ext.rb
synapse-rubycas-server-1.1.5.pre lib/casserver/core_ext.rb
synapse-rubycas-server-1.1.4.pre lib/casserver/core_ext.rb
synapse-rubycas-server-1.1.4 lib/casserver/core_ext.rb
synapse-rubycas-server-1.1.3alpha lib/casserver/core_ext.rb
synapse-rubycas-server-1.1.3.pre lib/casserver/core_ext.rb