-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhttp_message_signatures.gemspec
More file actions
43 lines (35 loc) · 1.4 KB
/
http_message_signatures.gemspec
File metadata and controls
43 lines (35 loc) · 1.4 KB
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
require_relative 'lib/http_message_signatures/version'
Gem::Specification.new do |spec|
spec.name = 'http_message_signatures'
spec.version = HTTPMessageSignatures::VERSION
spec.authors = ['Shane Becker']
spec.email = ['veganstraightedge@gmail.com']
spec.homepage = 'https://github.com/xoengineering/http_message_signatures'
spec.summary = 'HTTP Message Signatures for the Fediverse'
spec.description = <<~DESCRIPTION
Sign and verify HTTP messages using draft-cavage (legacy Fediverse standard)
and RFC 9421 (the final HTTP Message Signatures standard).
Supports RSA-SHA256, RSA-PSS, HMAC-SHA256, ECDSA, and Ed25519.
DESCRIPTION
spec.license = 'MIT'
spec.metadata['source_code_uri'] = spec.homepage
spec.metadata['changelog_uri'] = "#{spec.homepage}/blob/main/CHANGELOG.md"
spec.metadata['rubygems_mfa_required'] = 'true'
spec.required_ruby_version = '>= 4.0.0'
# Specify which files should be added to the gem when it is released.
spec.files = Dir.glob(
%w[
lib/**/*.rb
CHANGELOG.md
LICENSE.txt
README.md
]
).reject { File.directory? it }
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{\Aexe/}) { File.basename it }
spec.require_paths = ['lib']
# Runtime dependencies
spec.add_dependency 'base64', '~> 0.3'
spec.add_dependency 'rack', '>= 2.0'
spec.add_dependency 'starry', '~> 0.2'
end