<commit_before>module Droplr
  class Configuration

    attr_accessor :token, :secret, :use_production, :app_public_key, :app_private_key, :user_agent

    # basic client configuration
    DROPLR_PRODUCTION_SERVER_PORT      = 443
    DROPLR_DEV_SERVER_PORT             = 80
    DROPLR_PRODUCTION_SERVER_HOST      = "api.droplr.com"
    DROPLR_DEV_SERVER_HOST             = "api.sandbox.droplr.com"

    # auth configuration
    DROPLR_PRODUCTION_AUTH_SERVER_HOST = "auth.droplr.com"
    DROPLR_DEV_AUTH_SERVER_HOST        = "auth-sandbox.droplr.com"


    # endpoints
    ACCOUNT_ENDPOINT = "/account"
    DROPS_ENDPOINT   = "/drops"
    LINKS_ENDPOINT   = "/links"
    NOTES_ENDPOINT   = "/notes"
    FILES_ENDPOINT   = "/files"
    AUTH_ENDPOINT    = "/api/userinfo"

    # allowed values
    EDIT_ACCOUNT_FIELDS = %w(password theme useDomain domain useRootRedirect rootRedirect dropPrivacy firstName lastName useLogo logo selfDestructType selfDestructValue verified)
    LIST_DROPS_PARAMS   = %w(offset amount type sortBy order since until search)
    NOTE_VARIANTS       = %w(markdown textile code plain)

    # json-formatted fields come back as camel-cased, but we want underscored.
    JSON_TO_UNDERSCORE_FIELDS = {
      "sortBy"                    => "sort_by",
      "obscureCode"               => "obscure_code",
      "createdAt"                 => "created_at",
      "fileCreatedAt"             => "file_created_at",
      "lastAccess"                => "last_access",
      "pixelDensity"              => "pixel_density",<commit_msg>Adding boards as possible field while listing<commit_after>module Droplr
  class Configuration

    attr_accessor :token, :secret, :use_production, :app_public_key, :app_private_key, :user_agent

    # basic client configuration
    DROPLR_PRODUCTION_SERVER_PORT      = 443
    DROPLR_DEV_SERVER_PORT             = 80
    DROPLR_PRODUCTION_SERVER_HOST      = "api.droplr.com"
    DROPLR_DEV_SERVER_HOST             = "api.sandbox.droplr.com"

    # auth configuration
    DROPLR_PRODUCTION_AUTH_SERVER_HOST = "auth.droplr.com"
    DROPLR_DEV_AUTH_SERVER_HOST        = "auth-sandbox.droplr.com"


    # endpoints
    ACCOUNT_ENDPOINT = "/account"
    DROPS_ENDPOINT   = "/drops"
    LINKS_ENDPOINT   = "/links"
    NOTES_ENDPOINT   = "/notes"
    FILES_ENDPOINT   = "/files"
    AUTH_ENDPOINT    = "/api/userinfo"

    # allowed values
    EDIT_ACCOUNT_FIELDS = %w(password theme useDomain domain useRootRedirect rootRedirect dropPrivacy firstName lastName useLogo logo selfDestructType selfDestructValue verified)
    LIST_DROPS_PARAMS   = %w(offset amount type sortBy order since until search board tags)
    NOTE_VARIANTS       = %w(markdown textile code plain)

    # json-formatted fields come back as camel-cased, but we want underscored.
    JSON_TO_UNDERSCORE_FIELDS = {
      "sortBy"                    => "sort_by",
      "obscureCode"               => "obscure_code",
      "createdAt"                 => "created_at",
      "fileCreatedAt"             => "file_created_at",
      "lastAccess"                => "last_access",
      "pixelDensity"              => "pixel_density",
{'fraction_non_alphanumeric': 0.081554635234151, 'fraction_numerical': 0.0031857279388340237, 'mean_word_length': 2.663943990665111, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '92695', 'n_tokens_mistral': 1046, 'n_tokens_neox': 974, 'n_words': 197}