Sha256: c26c6cf797696ef0201584f57788011919f7ce4c438f1b1100c0db96feab2ed8

Contents?: true

Size: 1.61 KB

Versions: 1

Compression:

Stored size: 1.61 KB

Contents

class StyleStats
  class Configuration
    def options
      @options ||= {
        published:                     true,
        paths:                         true,
        stylesheets:                   true,
        styleElements:                 true,
        size:                          true,
        dataUriSize:                   true,
        ratioOfDataUriSize:            true,
        gzippedSize:                   true,
        rules:                         true,
        selectors:                     true,
        declarations:                  true,
        simplicity:                    true,
        averageOfIdentifier:           true,
        mostIdentifier:                true,
        mostIdentifierSelector:        true,
        averageOfCohesion:             true,
        lowestCohesion:                true,
        lowestCohesionSelector:        true,
        totalUniqueFontSizes:          true,
        uniqueFontSizes:               true,
        totalUniqueFontFamilies:       true,
        uniqueFontFamilies:            true,
        totalUniqueColors:             true,
        uniqueColors:                  true,
        idSelectors:                   true,
        universalSelectors:            true,
        unqualifiedAttributeSelectors: true,
        javascriptSpecificSelectors:   "[#\\.]js\\-",
        userSpecifiedSelectors:        false,
        importantKeywords:             true,
        floatProperties:               true,
        propertiesCount:               10,
        mediaQueries:                  true,
        requestOptions:                { headers: {} }
      }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
style_stats-0.4.2 lib/style_stats/configuration.rb