Merge pull request #862 from wadetandy/master

Add vendor patterns for bower_components files
This commit is contained in:
Ted Nyman
2013-12-23 20:55:19 -08:00
2 changed files with 9 additions and 1 deletions

View File

@@ -27,6 +27,9 @@
# Node dependencies # Node dependencies
- node_modules/ - node_modules/
# Bower Components
- bower_components/
# Erlang bundles # Erlang bundles
- ^rebar$ - ^rebar$

View File

@@ -224,6 +224,11 @@ class TestBlob < Test::Unit::TestCase
# Node dependencies # Node dependencies
assert blob("node_modules/coffee-script/lib/coffee-script.js").vendored? assert blob("node_modules/coffee-script/lib/coffee-script.js").vendored?
# Bower Components
assert blob("bower_components/custom/custom.js").vendored?
assert blob("app/bower_components/custom/custom.js").vendored?
assert blob("vendor/assets/bower_components/custom/custom.js").vendored?
# Rails vendor/ # Rails vendor/
assert blob("vendor/plugins/will_paginate/lib/will_paginate.rb").vendored? assert blob("vendor/plugins/will_paginate/lib/will_paginate.rb").vendored?