-
Notifications
You must be signed in to change notification settings - Fork 0
/
store-digest.gemspec
39 lines (34 loc) · 1.35 KB
/
store-digest.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
# -*- mode: enh-ruby -*-
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "store/digest/version"
Gem::Specification.new do |spec|
spec.name = 'store-digest'
spec.version = Store::Digest::VERSION
spec.authors = ['Dorian Taylor']
spec.email = ['[email protected]']
spec.license = 'Apache-2.0'
spec.homepage = 'https://github.com/doriantaylor/rb-store-digest'
spec.summary = 'Lightweight, multi-digest content-addressable store'
spec.description = <<-DESC
DESC
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
`git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end
end
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
# ruby
spec.required_ruby_version = '>= 2.7'
# dev/test dependencies
spec.add_development_dependency 'bundler', '>= 2.1'
spec.add_development_dependency 'rake', '>= 13.0'
spec.add_development_dependency 'rspec', '>= 3.9'
# stuff we use
spec.add_runtime_dependency 'base32', '>= 0.3.2'
spec.add_runtime_dependency 'lmdb', '>= 0.6.1' # my hacks
spec.add_runtime_dependency 'mimemagic', '>= 0.3.3'
spec.add_runtime_dependency 'uri-ni', '>= 0.1.4'
end