-
Notifications
You must be signed in to change notification settings - Fork 358
/
github-pages.gemspec
35 lines (29 loc) · 1.43 KB
/
github-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
# frozen_string_literal: true
require File.expand_path("lib/github-pages/dependencies", __dir__)
require File.expand_path("lib/github-pages/plugins", __dir__)
require File.expand_path("lib/github-pages/version", __dir__)
Gem::Specification.new do |s|
s.required_ruby_version = ">= 2.3.0"
s.name = "github-pages"
s.version = GitHubPages::VERSION
s.summary = "Track GitHub Pages dependencies."
s.description = "Bootstrap the GitHub Pages Jekyll environment locally."
s.authors = "GitHub, Inc."
s.email = "[email protected]"
s.homepage = "https://github.com/github/pages-gem"
s.license = "MIT"
all_files = `git ls-files -z`.split("\x0")
s.files = all_files.grep(%r{^(bin|lib)/|^.rubocop.yml$})
s.executables = all_files.grep(%r{^bin/}) { |f| File.basename(f) }
GitHubPages::Dependencies.gems.each do |gem, version|
s.add_dependency(gem, "= #{version}")
end
s.add_dependency("mercenary", "~> 0.3")
s.add_dependency("nokogiri", ">= 1.16.2", "< 2.0")
s.add_dependency("terminal-table", "~> 1.4")
s.add_dependency("webrick", "~> 1.8")
s.add_development_dependency("jekyll_test_plugin_malicious", "~> 0.2")
s.add_development_dependency("pry", "~> 0.10")
s.add_development_dependency("rspec", "~> 3.3")
s.add_development_dependency("rubocop-github", "0.20.0")
end