Sha256: 69497fa2d7c4561dfe0a9a58fd69d0d874bd7b7a001a4ca8ffdfddcaec692d48

Contents?: true

Size: 1.28 KB

Versions: 1

Compression:

Stored size: 1.28 KB

Contents

# frozen_string_literal: true

require_relative 'lib/shaped/version'

Gem::Specification.new do |spec|
  spec.name          = 'shaped'
  spec.version       = Shaped::VERSION
  spec.authors       = ['David Runger']
  spec.email         = ['davidjrunger@gmail.com']

  spec.summary       = 'Validate the "shape" of Ruby objects.'
  spec.description   = 'Validate the "shape" of Ruby objects.'
  spec.homepage      = 'https://github.com/davidrunger/shaped'
  spec.license       = 'MIT'
  spec.required_ruby_version = ">= #{File.read('.ruby-version').rstrip}"

  spec.metadata['rubygems_mfa_required'] = 'true'
  spec.metadata['homepage_uri'] = spec.homepage
  spec.metadata['source_code_uri'] = 'https://github.com/davidrunger/shaped'
  spec.metadata['changelog_uri'] = 'https://github.com/davidrunger/shaped/blob/master/CHANGELOG.md'

  # Specify which files should be added to the gem when it is released.
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
  spec.files =
    Dir.chdir(File.expand_path(__dir__)) do
      `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
    end
  spec.require_paths = ['lib']

  spec.add_runtime_dependency('activemodel', '>= 6', '< 8')
  spec.add_runtime_dependency('activesupport', '>= 6', '< 8')
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shaped-0.11.0 shaped.gemspec