-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
name_formatter.gemspec
36 lines (29 loc) · 1.68 KB
/
name_formatter.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# frozen_string_literal: true
$:.push File.expand_path("../lib", __FILE__)
require "name_formatter/version"
Gem::Specification.new do |spec|
spec.name = "name_formatter"
spec.version = NameFormatterModule::VERSION.dup
spec.authors = ["Kyle Welsby"]
spec.email = ["[email protected]"]
spec.summary = "A robust name parsing and formatting library for Ruby"
spec.description = 'NameFormatter provides advanced name parsing and formatting capabilities,
handling personal names from various cultures, company names, and names
with prefixes and suffixes. It correctly formats particles, preserves
appropriate capitalization, and is Unicode-aware.'
spec.homepage = "https://github.com/kylewelsby/name_formatter"
spec.license = "MIT"
spec.required_ruby_version = Gem::Requirement.new(">= 3.0.0")
spec.metadata["allowed_push_host"] = "https://rubygems.org"
spec.metadata["homepage_uri"] = spec.homepage
# spec.metadata["source_code_uri"] = "https://github.com/kylewelsby/name_formatter"
# spec.metadata["documentation_uri"] = "https://github.com/kylewelsby/name_formatter"
spec.metadata["changelog_uri"] = "https://github.com/kylewelsby/name_formatter/blob/main/CHANGELOG.md"
spec.metadata["funding_uri"] = "https://github.com/sponsors/kylewelsby"
# 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["lib/**/*", "CHANGELOG.md", "LICENSE", "README.md"]
spec.require_paths = ["lib"]
spec.add_development_dependency "minitest", "~> 5.0"
spec.add_development_dependency "faker", "~> 3.4"
end