2023-05-02 04:57:39 -04:00
|
|
|
# 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']
|
|
|
|
|
2023-05-09 09:33:15 -04:00
|
|
|
spec.summary =
|
|
|
|
'A publishing platform for HTTP, Gemini, ActivityPub, RSS, Atom, and others'
|
2023-05-02 04:57:39 -04:00
|
|
|
|
|
|
|
spec.description = <<~DESCRIPTION.split("\n").map(&:strip).join ' '
|
2023-05-09 09:33:15 -04:00
|
|
|
A publishing platform for HTTP, Gemini, ActivityPub, RSS, Atom, and others.
|
2023-05-02 04:57:39 -04:00
|
|
|
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 }
|
|
|
|
|
2023-05-10 06:31:40 -04:00
|
|
|
spec.add_runtime_dependency 'connection_pool', '~> 2.4'
|
2023-05-10 06:07:25 -04:00
|
|
|
spec.add_runtime_dependency 'erb', '~> 4.0', '>= 4.0.2'
|
2023-05-10 06:04:21 -04:00
|
|
|
spec.add_runtime_dependency 'json', '~> 2.6', '>= 2.6.3'
|
2023-05-10 06:31:40 -04:00
|
|
|
spec.add_runtime_dependency 'logger', '~> 1.5', '>= 1.5.3'
|
|
|
|
spec.add_runtime_dependency 'pathname', '~> 0.2.1'
|
2023-05-09 16:43:15 -04:00
|
|
|
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'
|
2023-05-02 09:19:55 -04:00
|
|
|
|
2023-05-09 09:33:15 -04:00
|
|
|
spec.add_development_dependency 'bundler', '~> 2.4'
|
|
|
|
spec.add_development_dependency 'pry', '~> 0.14'
|
|
|
|
spec.add_development_dependency 'rake', '~> 13.0'
|
2023-05-09 09:58:09 -04:00
|
|
|
spec.add_development_dependency 'rspec', '~> 3.12'
|
|
|
|
spec.add_development_dependency 'rubocop', '~> 1.50'
|
2023-05-09 09:33:15 -04:00
|
|
|
spec.add_development_dependency 'rubocop-performance', '~> 1.13'
|
|
|
|
spec.add_development_dependency 'rubocop-rake', '~> 0.6'
|
2023-05-09 09:58:09 -04:00
|
|
|
spec.add_development_dependency 'rubocop-rspec', '~> 2.7'
|
|
|
|
spec.add_development_dependency 'simplecov', '~> 0.22'
|
2023-05-09 09:39:57 -04:00
|
|
|
spec.add_development_dependency 'yard', '~> 0.9'
|
2023-05-02 04:57:39 -04:00
|
|
|
end
|