Sha256: bf65605f7e0c0cc6daacdcb036daa6afd5e8080df2af7a64e3446654ea8263a8

Contents?: true

Size: 452 Bytes

Versions: 48

Compression:

Stored size: 452 Bytes

Contents

require 'slim'
require 'slim/logic_less'
require 'slim/translator'
require 'slim/grammar'
require 'minitest/autorun'

Slim::Engine.after  Slim::Parser, Temple::Filters::Validator, grammar: Slim::Grammar
Slim::Engine.before :Pretty, Temple::Filters::Validator
Slim::Engine.set_options tr: false, logic_less: false

class MiniTest::Spec
  def render(source, options = {}, &block)
    Slim::Template.new(options) { source }.render(self, &block)
  end
end

Version data entries

48 entries across 48 versions & 5 rubygems

Version Path
brakeman-4.0.0 bundle/ruby/2.3.0/gems/slim-3.0.7/test/literate/helper.rb
brakeman-3.7.2 bundle/ruby/2.3.0/gems/slim-3.0.7/test/literate/helper.rb
brakeman-3.7.1 bundle/ruby/2.3.0/gems/slim-3.0.7/test/literate/helper.rb
brakeman-3.7.0 bundle/ruby/2.3.0/gems/slim-3.0.7/test/literate/helper.rb
brakeman-3.6.2 bundle/ruby/2.3.0/gems/slim-3.0.7/test/literate/helper.rb
slim-3.0.8 test/literate/helper.rb
brakeman-3.6.1 bundle/ruby/2.3.0/gems/slim-3.0.7/test/literate/helper.rb
brakeman-3.6.0 bundle/ruby/2.3.0/gems/slim-3.0.7/test/literate/helper.rb
brakeman-3.5.0 bundle/ruby/2.3.0/gems/slim-3.0.7/test/literate/helper.rb
brakeman-3.4.1 bundle/ruby/2.3.0/gems/slim-3.0.7/test/literate/helper.rb
brakeman-3.4.0 bundle/ruby/2.3.0/gems/slim-3.0.7/test/literate/helper.rb
brakeman-3.3.5 bundle/ruby/2.3.0/gems/slim-3.0.7/test/literate/helper.rb
brakeman-3.3.4 bundle/ruby/2.3.0/gems/slim-3.0.7/test/literate/helper.rb
brakeman-3.3.3 bundle/ruby/2.3.0/gems/slim-3.0.7/test/literate/helper.rb
brakeman-3.3.2 bundle/ruby/2.3.0/gems/slim-3.0.7/test/literate/helper.rb
brakeman-3.3.1 bundle/ruby/2.3.0/gems/slim-3.0.7/test/literate/helper.rb
slim-3.0.7 test/literate/helper.rb
brakeman-3.3.0 bundle/ruby/2.3.0/gems/slim-3.0.6/test/literate/helper.rb
angular-rails4-templates-0.4.1 vendor/ruby/2.1.0/gems/slim-3.0.6/test/literate/helper.rb
angular-rails4-templates-0.4.0 vendor/ruby/2.1.0/gems/slim-3.0.6/test/literate/helper.rb