dry-types/dry-types.gemspec

43 lines
1.7 KiB
Ruby
Raw Permalink Normal View History

2019-04-10 12:04:28 +00:00
# frozen_string_literal: true
# this file is synced from dry-rb/template-gem project
2019-04-10 12:04:28 +00:00
lib = File.expand_path("lib", __dir__)
2015-08-23 11:14:33 +00:00
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "dry/types/version"
2015-08-23 11:14:33 +00:00
Gem::Specification.new do |spec|
spec.name = "dry-types"
2020-01-12 11:55:43 +00:00
spec.authors = ["Piotr Solnica"]
spec.email = ["piotr.solnica@gmail.com"]
spec.license = "MIT"
2020-01-12 11:55:43 +00:00
spec.version = Dry::Types::VERSION.dup
2015-08-23 11:14:33 +00:00
2020-01-12 11:55:43 +00:00
spec.summary = "Type system for Ruby supporting coercions, constraints and complex types like structs, value objects, enums etc"
2015-09-22 10:25:04 +00:00
spec.description = spec.summary
spec.homepage = "https://dry-rb.org/gems/dry-types"
2020-01-17 17:04:39 +00:00
spec.files = Dir["CHANGELOG.md", "LICENSE", "README.md", "dry-types.gemspec", "lib/**/*"]
spec.bindir = "bin"
2020-01-31 08:30:10 +00:00
spec.executables = []
spec.require_paths = ["lib"]
2015-08-23 11:14:33 +00:00
spec.metadata["allowed_push_host"] = "https://rubygems.org"
spec.metadata["changelog_uri"] = "https://github.com/dry-rb/dry-types/blob/main/CHANGELOG.md"
spec.metadata["source_code_uri"] = "https://github.com/dry-rb/dry-types"
spec.metadata["bug_tracker_uri"] = "https://github.com/dry-rb/dry-types/issues"
2015-08-23 11:14:33 +00:00
spec.required_ruby_version = ">= 2.7.0"
2015-08-23 11:14:33 +00:00
2020-01-12 11:55:43 +00:00
# to update dependencies edit project.yml
spec.add_runtime_dependency "concurrent-ruby", "~> 1.0"
spec.add_runtime_dependency "dry-core", "~> 1.0", "< 2"
spec.add_runtime_dependency "dry-inflector", "~> 1.0", "< 2"
spec.add_runtime_dependency "dry-logic", ">= 1.4", "< 2"
spec.add_runtime_dependency "zeitwerk", "~> 2.6"
2020-01-12 11:55:43 +00:00
spec.add_development_dependency "bundler"
spec.add_development_dependency "rake"
spec.add_development_dependency "rspec"
spec.add_development_dependency "yard"
2015-08-23 11:14:33 +00:00
end