diff --git a/lib/ruby_saml/utils.rb b/lib/ruby_saml/utils.rb index 2489a5f8..3b9a5bc7 100644 --- a/lib/ruby_saml/utils.rb +++ b/lib/ruby_saml/utils.rb @@ -399,6 +399,7 @@ def generate_uuid(prefix = nil) prefix = prefix.is_a?(FalseClass) ? nil : prefix || UUID_DEFAULT_PREFIX "#{prefix}#{SecureRandom.uuid}" end + # @deprecated Use #generate_uuid alias_method :uuid, :generate_uuid # Given two strings, attempt to match them as URIs using Rails' parse method. If they can be parsed,