-
Notifications
You must be signed in to change notification settings - Fork 0
/
paseto.gemspec
46 lines (39 loc) · 1.75 KB
/
paseto.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
37
38
39
40
41
42
43
44
45
46
# 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.1.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.1'
spec.add_runtime_dependency 'sorbet-runtime'
spec.add_runtime_dependency 'zeitwerk'
spec.metadata['rubygems_mfa_required'] = 'true'
end