-
Notifications
You must be signed in to change notification settings - Fork 3
/
worldwide.gemspec
32 lines (25 loc) · 1.24 KB
/
worldwide.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
# frozen_string_literal: true
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "worldwide/version"
Gem::Specification.new do |spec|
spec.name = "worldwide"
spec.version = Worldwide::VERSION
spec.author = "Shopify"
spec.email = "[email protected]"
spec.summary = "Internationalization and localization APIs"
spec.description = "The worldwide gem internationalizes and localizes Ruby code, enhancing user experience globally. It also aids in inputting, validating, and formatting mailing addresses."
spec.homepage = "https://github.com/Shopify/worldwide"
spec.metadata["allowed_push_host"] = "https://rubygems.org/"
spec.metadata["changelog_uri"] = "https://github.com/Shopify/worldwide/blob/main/CHANGELOG.md"
spec.files = %x(git ls-files -z).split("\x0").reject do |f|
f.match(%r{^(rake|test|spec|features|lang/typescript)/})
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.required_ruby_version = ">= 3.1.0"
spec.add_dependency("activesupport", ">= 7.0")
spec.add_dependency("i18n")
spec.add_dependency("phonelib", "~> 0.8")
end