-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathprogramming-pages.gemspec
43 lines (35 loc) · 1.13 KB
/
programming-pages.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
40
41
42
43
# frozen_string_literal: true
require 'yaml'
GEM_CONFIG = YAML.load(File.read(File.expand_path('../docs/_config.yml', __FILE__)))
Gem::Specification.new do |gem|
gem.name = 'programming-pages'
gem.version = GEM_CONFIG['project']['version']
gem.author = GEM_CONFIG['project']['owner']
gem.homepage = GEM_CONFIG['project']['repo']
gem.summary = 'a Jekyll theme for publishing code documentation to GitHub pages'
gem.license = 'MIT'
gem.metadata = {
'plugin_type' => 'theme',
'documentation_uri' => 'https://pixeldroid.com/programming-pages/',
'source_code_uri' => GEM_CONFIG['project']['repo'],
'bug_tracker_uri' => "#{GEM_CONFIG['project']['repo']}/issues",
}
gem.files = Dir[
'_config.yml',
'_data/**/*',
'_includes/**/*',
'_layouts/**/*',
'_sass/**/*',
'assets/**/*',
'favicon.png',
'index.md',
]
gem.files += %w(
LICENSE
CONTRIBUTING.md CODE_OF_CONDUCT.md
README.md screenshot.png
)
gem.add_runtime_dependency 'github-pages', '= 204'
gem.add_development_dependency 'bundler', '~> 2.1'
gem.add_development_dependency 'rake', '~> 13.0'
end