rails_external_assets 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: a43f383d3275686a5dcc74f3624e73952e734ed3
4
+ data.tar.gz: bcc8fc89a901f04ed38afecac5a59e587a8b7a04
5
+ SHA512:
6
+ metadata.gz: 43eac0d5fd15c6f9fba4e279f5f872da391c4a5dadf35b5091564e84e5a6cda7ac980b307a1c2d3eb1609431bb301fae286c0c1f435e7d1e571f4f2f14efde8e
7
+ data.tar.gz: 0689163f8c108e16c507ac21d85a932b16fd26bf8f748739ae88c3b1264c5866c95f8b10cea1b3964906a1552af0e6ac715240b96d9a4dcecf01de89d50b10df
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format progress
2
+ --color
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.2.3
5
+ before_install: gem install bundler -v 1.12.1
@@ -0,0 +1,49 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, and in the interest of
4
+ fostering an open and welcoming community, we pledge to respect all people who
5
+ contribute through reporting issues, posting feature requests, updating
6
+ documentation, submitting pull requests or patches, and other activities.
7
+
8
+ We are committed to making participation in this project a harassment-free
9
+ experience for everyone, regardless of level of experience, gender, gender
10
+ identity and expression, sexual orientation, disability, personal appearance,
11
+ body size, race, ethnicity, age, religion, or nationality.
12
+
13
+ Examples of unacceptable behavior by participants include:
14
+
15
+ * The use of sexualized language or imagery
16
+ * Personal attacks
17
+ * Trolling or insulting/derogatory comments
18
+ * Public or private harassment
19
+ * Publishing other's private information, such as physical or electronic
20
+ addresses, without explicit permission
21
+ * Other unethical or unprofessional conduct
22
+
23
+ Project maintainers have the right and responsibility to remove, edit, or
24
+ reject comments, commits, code, wiki edits, issues, and other contributions
25
+ that are not aligned to this Code of Conduct, or to ban temporarily or
26
+ permanently any contributor for other behaviors that they deem inappropriate,
27
+ threatening, offensive, or harmful.
28
+
29
+ By adopting this Code of Conduct, project maintainers commit themselves to
30
+ fairly and consistently applying these principles to every aspect of managing
31
+ this project. Project maintainers who do not follow or enforce the Code of
32
+ Conduct may be permanently removed from the project team.
33
+
34
+ This code of conduct applies both within project spaces and in public spaces
35
+ when an individual is representing the project or its community.
36
+
37
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
38
+ reported by contacting a project maintainer at jonathan.lehman91@gmail.com. All
39
+ complaints will be reviewed and investigated and will result in a response that
40
+ is deemed necessary and appropriate to the circumstances. Maintainers are
41
+ obligated to maintain confidentiality with regard to the reporter of an
42
+ incident.
43
+
44
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
45
+ version 1.3.0, available at
46
+ [http://contributor-covenant.org/version/1/3/0/][version]
47
+
48
+ [homepage]: http://contributor-covenant.org
49
+ [version]: http://contributor-covenant.org/version/1/3/0/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in rails_external_assets.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Jonathan Lehman
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,146 @@
1
+ [![Gem Version](https://badge.fury.io/rb/rails_external_assets.png)](http://badge.fury.io/rb/rails_external_assets)
2
+ [![Build Status](https://secure.travis-ci.org/jdlehman/rails_external_assets.svg?branch=master)](http://travis-ci.org/jdlehman/rails_external_assets)
3
+
4
+ # RailsExternalAssets
5
+
6
+ RailsExternalAssets allows you to use the frontend build tool of your choice ([webpack](https://webpack.github.io/), [jspm](http://jspm.io/), [browserify](http://browserify.org/) etc) with Rails. Essentially you can build all (or some) of your frontend assets outside of Rails' asset pipeline, but still make use of them in Rails. The only requirement is that you provide an asset manifest file, which is a json file that maps your asset files to their final built files:
7
+
8
+ ```json
9
+ {
10
+ "js/module.js": "builds/js/module-12312abc.js",
11
+ "js/react-component.jsx": "builds/components/react-component-ab123x.js",
12
+ "css/styling.sass": "builds/styles/styling-129xha.css"
13
+ }
14
+ ```
15
+
16
+ This means you can manage your frontend assets however you like and RailsExternalAssets gives you [Rails](http://rubyonrails.org/) view helpers and [Sprockets](https://github.com/rails/sprockets) directives to incorporate these external assets into your Rails application.
17
+
18
+ You can use RailsExternalAssets without using Ruby on Rails, but you will have to wire up the helper methods it provides into your application yourself.
19
+
20
+ ## Installation
21
+
22
+ Add this line to your application's Gemfile:
23
+
24
+ ```ruby
25
+ gem 'rails_external_assets'
26
+ ```
27
+
28
+ And then execute:
29
+
30
+ $ bundle
31
+
32
+ Or install it yourself as:
33
+
34
+ $ gem install rails_external_assets
35
+
36
+ ## Usage
37
+
38
+ ## With Rails
39
+
40
+ You can include your external assets in Rails with the provided view helpers or Sprockets directives.
41
+
42
+ ### View Helpers
43
+
44
+ #### JavaScript
45
+
46
+ You can include a JavaScript file with `external_asset_js`. Note that the name of the file MUST include the file extension and the file name is the key in the asset manifest JSON file.
47
+
48
+ ```erb
49
+ <%= external_asset_js 'myFile.js' %>
50
+ ```
51
+
52
+ #### CSS
53
+
54
+ You can include a CSS file with `external_asset_css`. Note that the name of the file MUST include the file extension and the file name is the key in the asset manifest JSON file.
55
+
56
+ ```erb
57
+ <%= external_asset_css 'myFile.sass' %>
58
+ ```
59
+
60
+ #### Image
61
+
62
+ You can include a Image file with `external_asset_img`. Note that the name of the file MUST include the file extension and the file name is the key in the asset manifest JSON file.
63
+
64
+ ```erb
65
+ <%= external_asset_img 'myFile.jpg' %>
66
+ ```
67
+
68
+ ### Sprockets Directives
69
+
70
+ By default, you can use the `external_require` directive in JavaScript and CSS manifest files, but you can add more (Sass, SCSS, CoffeeScript, etc) by setting the configuration (check out the configuration docks for `sprockets_directives`).
71
+
72
+ In any file type you configure the Sprockets directive to be available in you, can use the `external_require` directive to include an external asset in the Sprockets manifest. Note that you MUST specify the file extension when using `external_require`.
73
+
74
+ An example `application.js` Sprockets manifest file:
75
+
76
+ ```js
77
+ //= require normalAsset
78
+ //= require more/anotherAsset.js
79
+ //= external_require externals/firstAsset.js
80
+ //= external_require externals/anotherAsset.js
81
+ ```
82
+
83
+ This will include the first two JS assets, `normalAsset` and `anotherAsset` from Rails' asset pipeline, and the last two JS assets, `firstAsset` and `anotherAsset` from your external assets. The external assets are resolved by looking up these files in the asset manifest JSON file provided.
84
+
85
+ ## With Plain Ruby
86
+
87
+ RailsExternalAssets::AssetFinder provides two methods for your disposal.
88
+
89
+ `asset_path` takes a path to an external asset file, and returns the corresponding built asset path by looking up the key in the asset manifest JSON file.
90
+
91
+ `exeternal_asset` takes a path and returns the built asset path (the result of `asset_path`) and joins it with the base path. If a block is provided, the external asset path is passed to the block and the resulting value is returned.
92
+
93
+ ## Configuration
94
+
95
+ Configuration settings can be modified within the `RailsExternalAssets.configure` block. Or set directly off of `RailsExternalAssets.config`
96
+
97
+ ```ruby
98
+ RailsExternalAssets.configure do |config|
99
+ config.base_path = '/assets/'
100
+ config.manifest_file = 'public/assets/asset-manifest.json'
101
+ end
102
+
103
+ RailsExternalAssets.config.base_path = '/webpack-assets/'
104
+ ```
105
+
106
+ ### Options
107
+
108
+ **base_path**
109
+
110
+ This is the file location off of Rails' `public/` folder that the external assets are built to.
111
+
112
+ > Defaults to `/external-assets/`
113
+
114
+ **manifest_file**
115
+
116
+ This is the file location of the asset manifest JSON file. The keys are the file paths pre-build, and the values are the file paths post-build.
117
+
118
+ > Defaults to `public/external-assets/manfest.json`
119
+
120
+ **sprockets_directives**
121
+
122
+ This is an array to configure the use of the `external_assets` Sprockets directive that is provided by RailsExternalAssets. Each item is a hash with keys for `mime_type` and the `comments` supported by the directive. Check out the [Sprockets documentation](https://github.com/rails/sprockets/blob/master/guides/extending_sprockets.md#adding-directives-to-your-extension) for more information.
123
+
124
+ > Defaults to:
125
+ ```ruby
126
+ [
127
+ { mime_type: 'application/javascript', comments: ['//', ['/*', '*/']] },
128
+ { mime_type: 'application/css', comments: ['//', ['/*', '*/']] }
129
+ ]
130
+ ```
131
+
132
+ ## Development
133
+
134
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
135
+
136
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
137
+
138
+ ## Contributing
139
+
140
+ Bug reports and pull requests are welcome on GitHub at https://github.com/jdlehman/rails_external_assets. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
141
+
142
+
143
+ ## License
144
+
145
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
146
+
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "rails_external_assets"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,30 @@
1
+ require 'json'
2
+
3
+ module RailsExternalAssets
4
+ module AssetFinder
5
+ def external_asset(path)
6
+ external_path = File.join(RailsExternalAssets.config.base_path, asset_path(path))
7
+ block_given? ? yield(external_path) : external_path
8
+ end
9
+
10
+ def asset_path(path)
11
+ manifest_file = RailsExternalAssets.config.manifest_file
12
+ throw_invalid_manifest(manifest_file) unless File.file? manifest_file
13
+ asset_manifest = JSON.parse(File.read manifest_file)
14
+ new_path = asset_manifest[path]
15
+ throw_unknown_path(path, manifest_file) unless new_path
16
+ new_path
17
+ end
18
+
19
+
20
+ private
21
+
22
+ def throw_unknown_path(path, manifest_file)
23
+ raise Errors::UnknownAssetManifestKey.new("No corresponding file found for \"#{path}\" in \"#{manifest_file}\".")
24
+ end
25
+
26
+ def throw_invalid_manifest(manifest_file)
27
+ raise Errors::InvalidManifestFile.new("Manifest file, \"#{manifest_file}\", was not found.")
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,33 @@
1
+ module RailsExternalAssets
2
+ class << self
3
+ attr_accessor :config
4
+ end
5
+
6
+ def self.config
7
+ @config ||= Configuration.new
8
+ end
9
+
10
+ def self.reset
11
+ @config = Configuration.new
12
+ end
13
+
14
+ def self.configure
15
+ yield(config)
16
+ end
17
+
18
+ class Configuration
19
+ attr_accessor :base_path,
20
+ :manifest_file,
21
+ :sprockets_directives
22
+
23
+ def initialize
24
+ # base path should be off Rails public/
25
+ @base_path = '/external-assets/'
26
+ @manifest_file = 'public/external-assets/manifest.json'
27
+ @sprockets_directives = [
28
+ { mime_type: 'application/javascript', comments: ['//', ['/*', '*/']] },
29
+ { mime_type: 'application/css', comments: ['//', ['/*', '*/']] }
30
+ ]
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,12 @@
1
+ module RailsExternalAssets
2
+ class Error < StandardError
3
+ end
4
+
5
+ module Errors
6
+ # Will be thrown when file key does not exist in asset manifest
7
+ class UnknownAssetManifestKey < RailsExternalAssets::Error; end
8
+
9
+ # will be thrown when manifest file is not found
10
+ class InvalidManifestFile < RailsExternalAssets::Error; end
11
+ end
12
+ end
@@ -0,0 +1,22 @@
1
+ module RailsExternalAssets
2
+ module Rails
3
+ class Railtie < ::Rails::Railtie
4
+ initializer 'rails_external_assets.initialize' do |app|
5
+ ActionView::Base.send :include, ViewHelpers
6
+
7
+ if app.config.respond_to?(:assets)
8
+ app.config.assets.configure do |env|
9
+ env.prepend_path(File.join('public', RailsExternalAssets.config.base_path))
10
+ RailsExternalAssets.config.sprockets_directives.each do |directive|
11
+ env.register_preprocessor directive[:mime_type], RailsExternalAssets::Sprockets::DirectiveProcessor.new(comments: directive[:comments])
12
+ end
13
+ end
14
+ else
15
+ RailsExternalAssets.config.sprockets_directives.each do |directive|
16
+ app.assets.register_preprocessor directive[:mime_type], RailsExternalAssets::Sprockets::DirectiveProcessor.new(comments: directive[:comments])
17
+ end
18
+ end
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,19 @@
1
+ module RailsExternalAssets
2
+ module Rails
3
+ module ViewHelpers
4
+ include RailsExternalAssets::AssetFinder
5
+
6
+ def external_asset_js(path)
7
+ external_asset(path) { |p| javascript_include_tag p }
8
+ end
9
+
10
+ def external_asset_css(path)
11
+ external_asset(path) { |p| stylesheet_link_tag p }
12
+ end
13
+
14
+ def external_asset_img(path)
15
+ external_asset(path) { |p| image_tag p }
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,7 @@
1
+ require 'rails_external_assets/rails/view_helpers'
2
+ require 'rails_external_assets/rails/railtie'
3
+
4
+ module RailsExternalAssets
5
+ module Rails
6
+ end
7
+ end
@@ -0,0 +1,12 @@
1
+ module RailsExternalAssets
2
+ module Sprockets
3
+ class DirectiveProcessor < ::Sprockets::DirectiveProcessor
4
+ include RailsExternalAssets::AssetFinder
5
+
6
+ def process_external_require_directive(path)
7
+ new_path = asset_path(path)
8
+ process_require_directive new_path
9
+ end
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,6 @@
1
+ require 'rails_external_assets/sprockets/directive_processor'
2
+
3
+ module RailsExternalAssets
4
+ module Sprockets
5
+ end
6
+ end
@@ -0,0 +1,3 @@
1
+ module RailsExternalAssets
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,10 @@
1
+ require "rails_external_assets/version"
2
+ require 'rails_external_assets/errors'
3
+ require 'rails_external_assets/configuration'
4
+ require 'rails_external_assets/asset_finder'
5
+
6
+ module RailsExternalAssets
7
+ end
8
+
9
+ require 'rails_external_assets/sprockets' if defined?(Sprockets)
10
+ require 'rails_external_assets/rails' if defined?(Rails)
@@ -0,0 +1,25 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'rails_external_assets/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "rails_external_assets"
8
+ spec.version = RailsExternalAssets::VERSION
9
+ spec.authors = ["Jonathan Lehman"]
10
+ spec.email = ["jonathan.lehman91@gmail.com"]
11
+
12
+ spec.summary = %q{Use external assets, those built outside of Sprockets' asset pipeline, in Rails. This allows you to build frontend assets using any build tools, but still provide these assets to a Rails application.}
13
+ spec.description = %q{Use external assets, frontend assets built with another build tool outside of Sprockets' asset pipeline, in Rails.}
14
+ spec.homepage = "http://github.com/jdlehman/rails_external_assets"
15
+ spec.license = "MIT"
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
+ spec.bindir = "exe"
19
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
+ spec.require_paths = ["lib"]
21
+
22
+ spec.add_development_dependency "bundler", "~> 1.12"
23
+ spec.add_development_dependency "rake", "~> 10.0"
24
+ spec.add_development_dependency "rspec", "~> 3.0"
25
+ end
metadata ADDED
@@ -0,0 +1,110 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rails_external_assets
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Jonathan Lehman
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-05-19 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.12'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.12'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ description: Use external assets, frontend assets built with another build tool outside
56
+ of Sprockets' asset pipeline, in Rails.
57
+ email:
58
+ - jonathan.lehman91@gmail.com
59
+ executables: []
60
+ extensions: []
61
+ extra_rdoc_files: []
62
+ files:
63
+ - ".gitignore"
64
+ - ".rspec"
65
+ - ".travis.yml"
66
+ - CODE_OF_CONDUCT.md
67
+ - Gemfile
68
+ - LICENSE.txt
69
+ - README.md
70
+ - Rakefile
71
+ - bin/console
72
+ - bin/setup
73
+ - lib/rails_external_assets.rb
74
+ - lib/rails_external_assets/asset_finder.rb
75
+ - lib/rails_external_assets/configuration.rb
76
+ - lib/rails_external_assets/errors.rb
77
+ - lib/rails_external_assets/rails.rb
78
+ - lib/rails_external_assets/rails/railtie.rb
79
+ - lib/rails_external_assets/rails/view_helpers.rb
80
+ - lib/rails_external_assets/sprockets.rb
81
+ - lib/rails_external_assets/sprockets/directive_processor.rb
82
+ - lib/rails_external_assets/version.rb
83
+ - rails_external_assets.gemspec
84
+ homepage: http://github.com/jdlehman/rails_external_assets
85
+ licenses:
86
+ - MIT
87
+ metadata: {}
88
+ post_install_message:
89
+ rdoc_options: []
90
+ require_paths:
91
+ - lib
92
+ required_ruby_version: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ required_rubygems_version: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ requirements: []
103
+ rubyforge_project:
104
+ rubygems_version: 2.4.5.1
105
+ signing_key:
106
+ specification_version: 4
107
+ summary: Use external assets, those built outside of Sprockets' asset pipeline, in
108
+ Rails. This allows you to build frontend assets using any build tools, but still
109
+ provide these assets to a Rails application.
110
+ test_files: []