# frozen_string_literal: true require_relative "lib/simple_auth/magic_link/version" Gem::Specification.new do |spec| spec.name = "simple_auth-magic_link" spec.version = SimpleAuth::MagicLink::VERSION spec.authors = ["me@fnando.com"] spec.email = ["me@fnando.com"] spec.metadata = {"rubygems_mfa_required" => "true"} spec.summary = "Passwordless sign-in for simple_auth." spec.description = spec.summary spec.license = "MIT" spec.required_ruby_version = Gem::Requirement.new(">= 3.2.0") github_url = "https://github.com/fnando/simple_auth-magic_link" github_tree_url = "#{github_url}/tree/v#{spec.version}" spec.homepage = github_url spec.metadata["homepage_uri"] = spec.homepage spec.metadata["bug_tracker_uri"] = "#{github_url}/issues" spec.metadata["source_code_uri"] = github_tree_url spec.metadata["changelog_uri"] = "#{github_tree_url}/CHANGELOG.md" spec.metadata["documentation_uri"] = "#{github_tree_url}/README.md" spec.metadata["license_uri"] = "#{github_tree_url}/LICENSE.md" 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.bindir = "exe" spec.executables = spec.files.grep(%r{^exe/}) {|f| File.basename(f) } spec.require_paths = ["lib"] spec.add_dependency "activerecord" spec.add_dependency "attr_keyring" spec.add_dependency "defaults" spec.add_dependency "haikunate" spec.add_dependency "simple_auth" spec.add_dependency "url_signature" spec.add_development_dependency "minitest" spec.add_development_dependency "minitest-utils" spec.add_development_dependency "mocha" spec.add_development_dependency "pry-meta" spec.add_development_dependency "rails" spec.add_development_dependency "rake" spec.add_development_dependency "rubocop" spec.add_development_dependency "rubocop-fnando" spec.add_development_dependency "simplecov" spec.add_development_dependency "sqlite3" end