# frozen_string_literal: true require_relative "lib/lifeform/version" Gem::Specification.new do |spec| spec.name = "lifeform" spec.version = Lifeform::VERSION spec.author = "Bridgetown Team" spec.email = "maintainers@bridgetownrb.com" spec.summary = "Component-centric form object rendering for Ruby" spec.homepage = "https://github.com/bridgetownrb/lifeform" spec.license = "MIT" spec.required_ruby_version = ">= 2.7" spec.metadata["rubygems_mfa_required"] = "true" # 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 do |f| (f == __FILE__) || f.match(%r{\A(?:(?:test|spec|features)/|\.(?:git|travis|circleci)|appveyor)}) end end spec.require_paths = ["lib"] # Uncomment to register a new dependency of your gem spec.add_dependency "activesupport", ">= 6.0" spec.add_dependency "phlex", "~> 0.3" spec.add_dependency "zeitwerk", "~> 2.5" end