lib/sandbox_assets/settings.rb in rails-sandbox-assets-0.0.1 vs lib/sandbox_assets/settings.rb in rails-sandbox-assets-0.0.2
- old
+ new
@@ -1,15 +1,18 @@
module SandboxAssets
class Settings
attr_reader :options
- attr_accessor :tests_roots, :assets_paths, :tests_patterns, :port
+ attr_accessor :tests_roots, :assets_paths, :tests_patterns, :port,
+ :template, :disable_template_param
def initialize
@tests_roots = %w(test/javascripts specs/javascripts)
- @assets_paths = @tests_roots +
- %w(test/assets/javascripts test/assets/stylesheets)
+ @assets_paths = @tests_roots +
+ %w(test/assets/javascripts test/assets/stylesheets
+ specs/assets/javascripts specs/assets/stylesheets)
@tests_patterns = %w(**/*_{test,spec}.{js,coffee}*)
@port = 5000
+ @disable_template_param = false
@options = {}
end
end
end