<commit_before># Version
require 'maestrano/version'

# XMLSecurity
require 'maestrano/xml_security/signed_document'

# SAML
require 'maestrano/saml/request'
require 'maestrano/saml/attribute_value'
require 'maestrano/saml/response'
require 'maestrano/saml/settings'
require 'maestrano/saml/validation_error'
require 'maestrano/saml/metadata'

# SSO
require 'maestrano/sso'
require 'maestrano/sso/base_user'
require 'maestrano/sso/base_group'

module Maestrano
  
  class << self
    attr_accessor :config
  end
  
  # Maestrano Configuration block
  def self.configure
    self.config ||= Configuration.new
    yield(config)
  end
  
  # Get configuration parameter value
  # E.g:
  # Maestrano.param('api_key')
  # Maestrano.param(:api_key)
  def self.param(parameter)
    self.config.param(parameter)
  end

  class Configuration
    attr_accessor :environment, :api_key, :sso_enabled, 
      :app_host, :sso_app_init_path, :sso_app_consume_path, :user_creation_mode,
      :verify_ssl_certs, :api_version

    def initialize
      @environment = 'test'
      @api_key = nil<commit_msg>load user and group interfaces<commit_after># Version
require 'maestrano/version'

# XMLSecurity
require 'maestrano/xml_security/signed_document'

# SAML
require 'maestrano/saml/request'
require 'maestrano/saml/attribute_value'
require 'maestrano/saml/response'
require 'maestrano/saml/settings'
require 'maestrano/saml/validation_error'
require 'maestrano/saml/metadata'

# SSO
require 'maestrano/sso'
require 'maestrano/sso/base_user'
require 'maestrano/sso/base_group'
require 'maestrano/sso/user'
require 'maestrano/sso/group'

module Maestrano
  
  class << self
    attr_accessor :config
  end
  
  # Maestrano Configuration block
  def self.configure
    self.config ||= Configuration.new
    yield(config)
  end
  
  # Get configuration parameter value
  # E.g:
  # Maestrano.param('api_key')
  # Maestrano.param(:api_key)
  def self.param(parameter)
    self.config.param(parameter)
  end

  class Configuration
    attr_accessor :environment, :api_key, :sso_enabled, 
      :app_host, :sso_app_init_path, :sso_app_consume_path, :user_creation_mode,
      :verify_ssl_certs, :api_version

    def initialize
      @environment = 'test'
      @api_key = nil
{'fraction_non_alphanumeric': 0.09760425909494233, 'fraction_numerical': 0.0, 'mean_word_length': 4.460048426150121, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1497862', 'n_tokens_mistral': 798, 'n_tokens_neox': 786, 'n_words': 151}