-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathactiveadmin_dark_color_scheme.gemspec
44 lines (36 loc) · 2.1 KB
/
activeadmin_dark_color_scheme.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
44
# frozen_string_literal: true
require_relative "lib/activeadmin/dark_color_scheme/version"
Gem::Specification.new do |spec|
spec.name = "activeadmin_dark_color_scheme"
spec.version = Activeadmin::DarkColorScheme::VERSION
spec.authors = ["Sergey Pedan"]
spec.email = ["[email protected]"]
spec.license = "MIT"
spec.summary = "A dark color scheme for ActiveAdmin Ruby CMS"
spec.description = <<~HEREDOC
#{spec.summary}. This gem provides Sass files that you can include via Sprockets.
The dark theme automatically switches on / off with your system’s dark / light mode.
You can override that on the browser level if you wish.
HEREDOC
spec.homepage = "https://github.com/sergeypedan/#{spec.name.gsub('_', '-')}"
spec.extra_rdoc_files = ["README.md", "CHANGELOG.md"]
spec.rdoc_options = ["--charset=UTF-8"]
spec.metadata = { "changelog_uri" => "#{spec.homepage}/blob/master/CHANGELOG.md",
"documentation_uri" => "https://www.rubydoc.info/gems/#{spec.name}",
"homepage_uri" => "https://sergeypedan.ru/open_source_projects/#{spec.name.gsub('_', '-')}",
"source_code_uri" => spec.homepage }
spec.require_paths = ["app", "lib"]
spec.bindir = "exe"
spec.executables = []
spec.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files`.split("\n")
.reject { |f| %w[bin spec test].any? { |dir| f.start_with? dir } }
.reject { |f| f.start_with? "." }
end
spec.add_runtime_dependency "activeadmin", ">= 2"
spec.add_runtime_dependency "railties", ">= 4"
spec.add_development_dependency "rake", "~> 13"
spec.add_development_dependency "rspec", "~> 3"
spec.add_development_dependency "sassc", "~> 2", ">= 2.0.0"
spec.add_development_dependency "term-ansicolor", "~> 1"
end