-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathcsso-rails.gemspec
45 lines (38 loc) · 1.31 KB
/
csso-rails.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
45
# frozen_string_literal: true
$LOAD_PATH.push File.expand_path('lib', __dir__)
require 'csso/version'
Gem::Specification.new do |s|
s.name = 'csso-rails'
s.version = Csso::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ['Vasily Fedoseyev']
s.email = ['[email protected]']
s.homepage = 'https://github.com/Vasfed/csso-rails'
s.summary = 'CSS Stylesheet optimizer/compressor for Rails'
s.description = 'Invoke the CSSO from Ruby'
s.license = 'MIT'
s.rubyforge_project = 'csso-rails'
s.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(Regexp.union(
%r{^gemfiles/},
%r{lib/csso/csso.js.erb},
%r{^spec/},
/^\./,
/^Appraisals/,
/^Gemfile/,
/^Rakefile/
))
end
s.files += [Csso::CSSO_JS_LIB]
s.bindir = 'bin'
s.executables = `git ls-files -z -- bin/*`.split("\x0").map do |f|
File.basename(f)
end
s.require_paths = ['lib']
s.required_ruby_version = '>= 2.6.0' # rubocop:disable Gemspec/RequiredRubyVersion
s.add_dependency 'execjs', '>= 1'
s.add_development_dependency 'appraisal'
s.add_development_dependency 'bundler'
s.add_development_dependency 'minitest', '>= 5.0'
s.add_development_dependency 'rake'
end