Sha256: 588cff03ff4378f9c9e3dc9d8e6d3caeab28cd724b3d1beff0805b5b1d15fd19

Contents?: true

Size: 626 Bytes

Versions: 17

Compression:

Stored size: 626 Bytes

Contents

# frozen_string_literal: true

require "dry/schema"

Dry::Schema.load_extensions :monads

module Pennyworth
  module Configuration
    Contract = Dry::Schema.Params do
      optional(:alfred_preferences).filled :string
      required(:inflections).array :hash
      required(:git_hub_api_url).filled :string
      optional(:git_hub_organization).filled :string
      optional(:git_hub_user).filled :string
      required(:http_statuses_url).filled :string
      required(:ruby_gems_api_url).filled :string
      optional(:ruby_gems_owner).filled :string
      required(:standard_gems_api_url).filled :string
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
pennyworth-17.3.0 lib/pennyworth/configuration/contract.rb
pennyworth-17.2.0 lib/pennyworth/configuration/contract.rb
pennyworth-17.1.0 lib/pennyworth/configuration/contract.rb
pennyworth-17.0.0 lib/pennyworth/configuration/contract.rb
pennyworth-16.7.0 lib/pennyworth/configuration/contract.rb
pennyworth-16.5.0 lib/pennyworth/configuration/contract.rb
pennyworth-16.4.0 lib/pennyworth/configuration/contract.rb
pennyworth-16.3.0 lib/pennyworth/configuration/contract.rb
pennyworth-16.2.0 lib/pennyworth/configuration/contract.rb
pennyworth-16.1.0 lib/pennyworth/configuration/contract.rb
pennyworth-16.0.0 lib/pennyworth/configuration/contract.rb
pennyworth-15.4.1 lib/pennyworth/configuration/contract.rb
pennyworth-15.4.0 lib/pennyworth/configuration/contract.rb
pennyworth-15.3.0 lib/pennyworth/configuration/contract.rb
pennyworth-15.2.0 lib/pennyworth/configuration/contract.rb
pennyworth-15.1.1 lib/pennyworth/configuration/contract.rb
pennyworth-15.1.0 lib/pennyworth/configuration/contract.rb