summaryrefslogtreecommitdiffstats
path: root/fedora_darkfish.gemspec
diff options
context:
space:
mode:
authorJarek Prokop <jprokop@redhat.com>2022-10-26 09:29:59 +0200
committerJarek Prokop <jprokop@redhat.com>2022-10-26 09:36:45 +0200
commiteb072f5e22a18aa8b93d7952957d6f5bdced8659 (patch)
tree55d701a0dfc2e73535c37a5f8716b5cc38a1ef31 /fedora_darkfish.gemspec
downloadfedora_darkfish-eb072f5e22a18aa8b93d7952957d6f5bdced8659.tar.gz
fedora_darkfish-eb072f5e22a18aa8b93d7952957d6f5bdced8659.tar.xz
fedora_darkfish-eb072f5e22a18aa8b93d7952957d6f5bdced8659.zip
Initial commit.
Diffstat (limited to 'fedora_darkfish.gemspec')
-rw-r--r--fedora_darkfish.gemspec37
1 files changed, 37 insertions, 0 deletions
diff --git a/fedora_darkfish.gemspec b/fedora_darkfish.gemspec
new file mode 100644
index 0000000..9cc8a69
--- /dev/null
+++ b/fedora_darkfish.gemspec
@@ -0,0 +1,37 @@
+lib = File.expand_path('lib', __dir__)
+$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
+
+Gem::Specification.new do |spec|
+ spec.name = 'fedora_darkfish'
+ spec.version = '1.0.0'
+ spec.authors = ['Jaroslav Prokop']
+ spec.email = ['jar.prokop@volny.cz']
+
+ spec.summary = 'RDoc plugin for Fedora leveraging the Darkfish template'
+ spec.description = 'RDoc plugin for Fedora leveraging the Darkfish template' \
+ 'that symlinks common files.'
+ spec.homepage = 'https://fedorapeople.org/cgit/jackorp/public_git/fedora_darkfish.git/commit/?h=rawhide'
+ spec.license = 'MIT'
+
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
+ if spec.respond_to?(:metadata)
+ spec.metadata['allowed_push_host'] = 'https://rubygems.org'
+ else
+ raise 'RubyGems 2.0 or newer is required to protect against ' \
+ 'public gem pushes.'
+ end
+
+ spec.files = %w[
+ README.md
+ LICENSE
+ lib/rdoc/generator/fedora_darkfish.rb
+ ]
+ spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ spec.require_paths = [File.join('lib', 'rdoc', 'generator')]
+
+ spec.add_dependency 'rdoc'
+
+ spec.add_development_dependency 'rake', '>= 12'
+ spec.add_development_dependency 'test_unit'
+end