Sha256: f00889a1c0182255c08c472d3cb90cdd73f3d9803ce65c8619a0cc96c414ce3e

Contents?: true

Size: 683 Bytes

Versions: 6

Compression:

Stored size: 683 Bytes

Contents

module SandboxAssets
  class Settings
    attr_reader :options
    attr_accessor :tests_roots, :assets_paths, :port,
      :tests_patterns, :stylesheets_patterns,
      :template, :iframe_template, :disable_template_param

    def initialize
      @tests_roots = %w(test/javascripts spec/javascripts)
      @assets_paths = @tests_roots +
        %w(test/assets/javascripts  test/assets/stylesheets
          spec/assets/javascripts spec/assets/stylesheets)
      @tests_patterns = %w(**/*_{test,spec}.{js,coffee}*)
      @stylesheets_patterns = %w(**/*_{test,spec}.{css,scss,sass,less}*)
      @port = 5000
      @disable_template_param = false
      @options = {}
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rails-sandbox-assets-0.2.1 lib/sandbox_assets/settings.rb
rails-sandbox-assets-0.2.0 lib/sandbox_assets/settings.rb
rails-sandbox-assets-0.1.3 lib/sandbox_assets/settings.rb
rails-sandbox-assets-0.1.2 lib/sandbox_assets/settings.rb
rails-sandbox-assets-0.1.1 lib/sandbox_assets/settings.rb
rails-sandbox-assets-0.1.0 lib/sandbox_assets/settings.rb