66 lines
2.6 KiB
Ruby
66 lines
2.6 KiB
Ruby
# frozen_string_literal: true
|
|
|
|
require_relative 'lib/diversipub/version'
|
|
|
|
Gem::Specification.new do |spec|
|
|
repo = 'https://git.causa-arcana.com/causa-arcana/diversipub'
|
|
home = repo
|
|
bugs = "#{repo}/issues"
|
|
docs = "https://www.rubydoc.info/gems/diversipub/#{Diversipub::VERSION}"
|
|
|
|
spec.name = 'diversipub'
|
|
spec.version = Diversipub::VERSION
|
|
spec.license = 'MIT'
|
|
spec.homepage = home
|
|
spec.platform = Gem::Platform::RUBY
|
|
|
|
spec.required_ruby_version = '~> 3.0'
|
|
|
|
spec.authors = ['Alex Kotov']
|
|
spec.email = ['kotovalexarian@gmail.com']
|
|
|
|
spec.summary =
|
|
'A publishing platform for HTTP, Gemini, ActivityPub, RSS, Atom, and others'
|
|
|
|
spec.description = <<~DESCRIPTION.split("\n").map(&:strip).join ' '
|
|
A publishing platform for HTTP, Gemini, ActivityPub, RSS, Atom, and others.
|
|
DESCRIPTION
|
|
|
|
spec.metadata['rubygems_mfa_required'] = 'true'
|
|
spec.metadata['homepage_uri'] = home
|
|
spec.metadata['source_code_uri'] = home
|
|
spec.metadata['bug_tracker_uri'] = bugs
|
|
spec.metadata['documentation_uri'] = docs
|
|
|
|
spec.bindir = 'exe'
|
|
spec.require_paths = ['lib']
|
|
|
|
spec.files = Dir.chdir File.expand_path __dir__ do
|
|
`git ls-files -z`.split("\x0").reject do |f|
|
|
f.match %r{\A(?:test|spec|features)/}
|
|
end
|
|
end
|
|
|
|
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename f }
|
|
|
|
spec.add_runtime_dependency 'connection_pool', '~> 2.4'
|
|
spec.add_runtime_dependency 'erb', '~> 4.0', '>= 4.0.2'
|
|
spec.add_runtime_dependency 'json', '~> 2.6', '>= 2.6.3'
|
|
spec.add_runtime_dependency 'logger', '~> 1.5', '>= 1.5.3'
|
|
spec.add_runtime_dependency 'pathname', '~> 0.2.1'
|
|
spec.add_runtime_dependency 'pg', '~> 1.5', '>= 1.5.3'
|
|
spec.add_runtime_dependency 'puma', '~> 6.2', '>= 6.2.2'
|
|
spec.add_runtime_dependency 'rack', '~> 2.2', '>= 2.2.7'
|
|
spec.add_runtime_dependency 'rack-protection', '~> 3.0', '>= 3.0.6'
|
|
|
|
spec.add_development_dependency 'bundler', '~> 2.4'
|
|
spec.add_development_dependency 'pry', '~> 0.14'
|
|
spec.add_development_dependency 'rake', '~> 13.0'
|
|
spec.add_development_dependency 'rspec', '~> 3.12'
|
|
spec.add_development_dependency 'rubocop', '~> 1.50'
|
|
spec.add_development_dependency 'rubocop-performance', '~> 1.13'
|
|
spec.add_development_dependency 'rubocop-rake', '~> 0.6'
|
|
spec.add_development_dependency 'rubocop-rspec', '~> 2.7'
|
|
spec.add_development_dependency 'simplecov', '~> 0.22'
|
|
spec.add_development_dependency 'yard', '~> 0.9'
|
|
end
|