-
Notifications
You must be signed in to change notification settings - Fork 2
/
external_asset_pipeline.gemspec
37 lines (30 loc) · 1.41 KB
/
external_asset_pipeline.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
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'external_asset_pipeline/version'
Gem::Specification.new do |s|
s.name = 'external_asset_pipeline'
s.version = ExternalAssetPipeline::VERSION::STRING
s.authors = ['Richard Macklin']
s.email = ['[email protected]']
s.homepage = 'https://github.com/rails-front-end/external_asset_pipeline'
s.license = 'MIT'
s.summary = 'Integrate an externally-managed asset pipeline with ActionView'
s.description = <<~TEXT
This gem provides a thin layer to connect an externally-managed asset
pipeline to ActionView's AssetUrlHelper and AssetTagHelper methods. This is
useful if you are comfortable leveraging other programs to produce an asset
manifest and you just want it to integrate with ActionView's helper methods
(e.g. `asset_path`, `javascript_include_tag`, etc.)
TEXT
s.metadata['rubygems_mfa_required'] = 'true'
s.metadata['homepage_uri'] = s.homepage
s.metadata['source_code_uri'] =
"#{s.homepage}/tree/v#{ExternalAssetPipeline::VERSION::STRING}"
s.metadata['changelog_uri'] =
"#{s.homepage}/blob/v#{ExternalAssetPipeline::VERSION::STRING}/CHANGELOG.md"
s.files = Dir['{lib}/**/*']
s.require_paths = ['lib']
s.required_ruby_version = '>= 2.5.0'
s.add_runtime_dependency 'railties', ['>= 5.0.0', '< 8.0']
end