lib/papers/configuration.rb in papers-1.3.2 vs lib/papers/configuration.rb in papers-1.4.0
- old
+ new
@@ -9,10 +9,11 @@
attr_accessor :validate_javascript
attr_accessor :validate_bower_components
attr_accessor :validate_npm_packages
attr_accessor :javascript_paths
+ attr_accessor :whitelist_javascript_paths
attr_accessor :bower_components_path
attr_accessor :npm_package_json_path
def initialize
@license_whitelist = [
@@ -40,9 +41,10 @@
@javascript_paths = [
File.join(Dir.pwd, 'app', 'assets', 'javascripts'),
File.join(Dir.pwd, 'lib', 'assets', 'javascripts'),
File.join(Dir.pwd, 'vendor', 'assets', 'javascripts')
]
+ @whitelist_javascript_paths = []
@bower_components_path = File.join(Dir.pwd, 'vendor', 'assets', 'components')
@npm_package_json_path = File.join(Dir.pwd, 'package.json')
end