Sha256: 201663087949ff0346eb05e3a0e3ac599a0e51678c170d379a31fbe18d16c73a

Contents?: true

Size: 1.76 KB

Versions: 1

Compression:

Stored size: 1.76 KB

Contents

# frozen_string_literal: true

require_relative 'lib/paseto/version'

Gem::Specification.new do |spec|
  spec.name = 'ruby-paseto'
  spec.version = Paseto::VERSION
  spec.platform = Gem::Platform::RUBY
  spec.authors = ['Joe Truba']
  spec.email = ['joe@bannable.net']

  spec.summary = 'A ruby implementation of PASETO and PASERK tokens'
  spec.description = <<-DESCRIPTION
    Platform Agnostic SEcurity TOkens are a specification for secure stateless tokens.
    This is an implementation of PASETO tokens, and the PASERK key management extensions,
    in ruby, with runtime static type checking provided by Sorbet.
  DESCRIPTION
  spec.homepage = 'https://github.com/bannable/paseto'
  spec.license = 'MIT'
  spec.required_ruby_version = '>= 3.0.0'

  spec.metadata = {
    'bug_tracker_uri' => 'https://github.com/bannable/paseto/issues',
    'changelog_uri' => 'https://github.com/bannable/paseto/blob/main/CHANGELOG.md',
    'documentation_uri' => 'https://github.com/bannable/paseto',
    'homepage_uri' => 'https://github.com/bannable/paseto',
    'source_code_uri' => 'https://github.com/bannable/paseto',
    'rubygems_mfa_required' => 'true'
  }

  spec.files = Dir.chdir(File.expand_path(__dir__)) do
    `git ls-files -z`.split("\x0").reject do |f|
      f.match(/^(?:bin|spec|coverage|tmp|devcontainers|gemfiles)/) || # Irrelevant directories
        f.match(/^\.+/) || # Anything starting with .
        f.match(/^(Gemfile|Gemfile\.lock|Rakefile|Appraisals)$/) # Irrelevant files
    end
  end
  spec.require_paths = ['lib']

  spec.add_runtime_dependency 'multi_json', '~> 1.15.0'
  spec.add_runtime_dependency 'openssl', '~> 3', '>= 3.0.2'
  spec.add_runtime_dependency 'sorbet-runtime'
  spec.add_runtime_dependency 'zeitwerk'

  spec.metadata['rubygems_mfa_required'] = 'true'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-paseto-0.1.2 paseto.gemspec