Sha256: 40d20d930fc0ac6ff15852f309a1de71992f0c80e36b95cbc433ccf0b673476b

Contents?: true

Size: 534 Bytes

Versions: 4

Compression:

Stored size: 534 Bytes

Contents

# coding: utf-8

################################################
# © Alexander Semyonov, 2013—2013, MIT License #
# Author: Alexander Semyonov <al@semyonov.us>  #
################################################

require 'giteaucrat/formatters/coffee_formatter'

module Giteaucrat
  module Formatters
    class SassFormatter < CoffeeFormatter
      COMMENT_PARTS = %w(// // //)
      COPYRIGHT_REGEXP = %r{(?<ruler>//+\n)(?<copyright>(//\s*[^\s/]+.*\s//\n)+)(//\s+//?\n(?<comment>(//\s*.*//?\n)+))?\k<ruler>\n+}
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
giteaucrat-0.0.7 lib/giteaucrat/formatters/sass_formatter.rb
giteaucrat-0.0.6 lib/giteaucrat/formatters/sass_formatter.rb
giteaucrat-0.0.5 lib/giteaucrat/formatters/sass_formatter.rb
giteaucrat-0.0.4 lib/giteaucrat/formatters/sass_formatter.rb