summaryrefslogtreecommitdiffstats
path: root/cepis.gemspec
diff options
context:
space:
mode:
Diffstat (limited to 'cepis.gemspec')
-rw-r--r--cepis.gemspec28
1 files changed, 28 insertions, 0 deletions
diff --git a/cepis.gemspec b/cepis.gemspec
new file mode 100644
index 0000000..4c2e242
--- /dev/null
+++ b/cepis.gemspec
@@ -0,0 +1,28 @@
+# frozen_string_literal: true
+
+require_relative "lib/cepis/version"
+
+Gem::Specification.new do |spec|
+ spec.name = "cepis"
+ spec.version = Cepis::VERSION
+ spec.authors = ["Murilo Ijanc"]
+ spec.email = ["[email protected]"]
+
+ spec.summary = "Ruby client for the public CEP API at cep.is"
+ spec.description = "Look up Brazilian postal codes against cep.is: official " \
+ "Correios data (DNE), single lookups with coordinates, " \
+ "batches of up to 500, retries with jittered backoff. " \
+ "No runtime dependencies."
+ spec.homepage = "https://cep.is"
+ spec.license = "ISC"
+ spec.required_ruby_version = ">= 3.0"
+
+ spec.metadata = {
+ "homepage_uri" => spec.homepage,
+ "source_code_uri" => "https://git.cep.is/ruby.git",
+ "rubygems_mfa_required" => "true"
+ }
+
+ spec.files = Dir["lib/**/*.rb"] + %w[README.md LICENSE Makefile cepis.gemspec]
+ spec.require_paths = ["lib"]
+end