summaryrefslogtreecommitdiffstats
path: root/cepis.gemspec
blob: 4c2e242cb24b43f8d9827245bfdf6813dea96d74 (plain)
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
# 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