-
Notifications
You must be signed in to change notification settings - Fork 1
/
sprockets_terser_with_source_maps.gemspec
37 lines (29 loc) · 1.5 KB
/
sprockets_terser_with_source_maps.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
# frozen_string_literal: true
require_relative 'lib/sprockets_terser_with_source_maps/version'
Gem::Specification.new do |spec|
spec.name = 'sprockets_terser_with_source_maps'
spec.version = SprocketsTerserWithSourceMaps::VERSION
spec.authors = ['Javier Menéndez Rizo']
spec.email = ['[email protected]']
spec.summary = 'Create javascript source maps for your Rails applications'
spec.description = 'Create source maps for your javascript assets along with their compression using terser.'
spec.homepage = 'https://github.com/javier-menendez/sprockets_terser_with_source_maps'
spec.license = 'MIT'
spec.required_ruby_version = Gem::Requirement.new('>= 2.6.0')
spec.metadata = {
'changelog_uri' => "#{spec.homepage}/blob/main/CHANGELOG.md",
'documentation_uri' => "https://www.rubydoc.info/gems/#{spec.name}/#{spec.version}",
'bug_tracker_uri' => "#{spec.homepage}/issues",
'rubygems_mfa_required' => 'true'
}
spec.add_dependency 'sprockets-rails', '~> 3.0'
spec.add_dependency 'terser', '~> 1.2'
spec.add_development_dependency 'bundler'
spec.add_development_dependency 'railties', '>= 4.2'
spec.add_development_dependency 'rake', '~> 12.0'
spec.add_development_dependency 'rspec', '~> 3.0'
spec.add_development_dependency 'rubocop'
# Specify which files should be added to the gem when it is released.
spec.files = Dir['README.md', 'lib/**/*.rb', 'LICENSE.txt', 'CHANGELOG.md']
spec.require_paths = ['lib']
end