Sha256: db552d4e4df304b6494d04980cde59e1baf35f4b202c33b6036bd28abf194a4a
Contents?: true
Size: 1.58 KB
Versions: 2
Compression:
Stored size: 1.58 KB
Contents
#Copyright (c) 2005 Rick Olson # #Permission is hereby granted, free of charge, to any person obtaining #a copy of this software and associated documentation files (the #"Software"), to deal in the Software without restriction, including #without limitation the rights to use, copy, modify, merge, publish, #distribute, sublicense, and/or sell copies of the Software, and to #permit persons to whom the Software is furnished to do so, subject to #the following conditions: # #The above copyright notice and this permission notice shall be #included in all copies or substantial portions of the Software. # #THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, #EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF #MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND #NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE #LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION #OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION #WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. require 'openssl' require 'base64' require 'sentry/symmetric_sentry' require 'sentry/asymmetric_sentry' require 'sentry/sha_sentry' require 'sentry/symmetric_sentry_callback' require 'sentry/asymmetric_sentry_callback' module Sentry class NoKeyError < StandardError end class NoPublicKeyError < StandardError end class NoPrivateKeyError < StandardError end mattr_accessor :default_key end begin require 'active_record/sentry' ActiveRecord::Base.class_eval do include ActiveRecord::Sentry end rescue NameError nil end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
loyal3-sentry-0.4.3 | lib/sentry.rb |
loyal3-sentry-0.4.4 | lib/sentry.rb |