Sha256: 13b21f8a5a9a282f51b64c99757a00df3d77a76aa8dc4f7ca29074230d9b8cb9

Contents?: true

Size: 479 Bytes

Versions: 20

Compression:

Stored size: 479 Bytes

Contents

# frozen_string_literal: true

require "dry/schema"
require "etcher"

Dry::Schema.load_extensions :monads

module SublimeTextKit
  module Configuration
    Contract = Dry::Schema.Params do
      optional(:project_roots).filled :array
      optional(:metadata_dir).filled Etcher::Types::Pathname
      required(:snippets_format).filled :string
      required(:session_path).filled Etcher::Types::Pathname
      required(:user_dir).filled Etcher::Types::Pathname
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
sublime_text_kit-17.6.0 lib/sublime_text_kit/configuration/contract.rb
sublime_text_kit-17.5.0 lib/sublime_text_kit/configuration/contract.rb
sublime_text_kit-17.4.0 lib/sublime_text_kit/configuration/contract.rb
sublime_text_kit-17.3.0 lib/sublime_text_kit/configuration/contract.rb
sublime_text_kit-17.2.0 lib/sublime_text_kit/configuration/contract.rb
sublime_text_kit-17.1.0 lib/sublime_text_kit/configuration/contract.rb
sublime_text_kit-17.0.1 lib/sublime_text_kit/configuration/contract.rb
sublime_text_kit-17.0.0 lib/sublime_text_kit/configuration/contract.rb
sublime_text_kit-16.5.0 lib/sublime_text_kit/configuration/contract.rb
sublime_text_kit-16.3.0 lib/sublime_text_kit/configuration/contract.rb
sublime_text_kit-16.2.0 lib/sublime_text_kit/configuration/contract.rb
sublime_text_kit-16.1.0 lib/sublime_text_kit/configuration/contract.rb
sublime_text_kit-16.0.0 lib/sublime_text_kit/configuration/contract.rb
sublime_text_kit-15.2.1 lib/sublime_text_kit/configuration/contract.rb
sublime_text_kit-15.2.0 lib/sublime_text_kit/configuration/contract.rb
sublime_text_kit-15.1.0 lib/sublime_text_kit/configuration/contract.rb
sublime_text_kit-15.0.3 lib/sublime_text_kit/configuration/contract.rb
sublime_text_kit-15.0.2 lib/sublime_text_kit/configuration/contract.rb
sublime_text_kit-15.0.1 lib/sublime_text_kit/configuration/contract.rb
sublime_text_kit-15.0.0 lib/sublime_text_kit/configuration/contract.rb