Sha256: a9b36aa1b04e5463e7b25b52086ba6cb302674c22dc7cfb3aeeb6659d0eea531

Contents?: true

Size: 333 Bytes

Versions: 20

Compression:

Stored size: 333 Bytes

Contents

# frozen_string_literal: true

require "dry/schema"
require "etcher"

Dry::Schema.load_extensions :monads

module Tocer
  module Configuration
    Contract = Dry::Schema.Params do
      required(:label).filled :string
      required(:patterns).array :string
      required(:root_dir).filled Etcher::Types::Pathname
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
tocer-18.7.0 lib/tocer/configuration/contract.rb
tocer-18.6.0 lib/tocer/configuration/contract.rb
tocer-18.5.0 lib/tocer/configuration/contract.rb
tocer-18.4.0 lib/tocer/configuration/contract.rb
tocer-18.3.0 lib/tocer/configuration/contract.rb
tocer-18.2.0 lib/tocer/configuration/contract.rb
tocer-18.1.0 lib/tocer/configuration/contract.rb
tocer-18.0.0 lib/tocer/configuration/contract.rb
tocer-17.5.0 lib/tocer/configuration/contract.rb
tocer-17.3.0 lib/tocer/configuration/contract.rb
tocer-17.2.0 lib/tocer/configuration/contract.rb
tocer-17.1.0 lib/tocer/configuration/contract.rb
tocer-17.0.0 lib/tocer/configuration/contract.rb
tocer-16.2.1 lib/tocer/configuration/contract.rb
tocer-16.2.0 lib/tocer/configuration/contract.rb
tocer-16.1.0 lib/tocer/configuration/contract.rb
tocer-16.0.3 lib/tocer/configuration/contract.rb
tocer-16.0.2 lib/tocer/configuration/contract.rb
tocer-16.0.1 lib/tocer/configuration/contract.rb
tocer-16.0.0 lib/tocer/configuration/contract.rb