slim 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,7 +8,7 @@ require 'slim/engine'
8
8
  module Slim
9
9
  class << self
10
10
  def version
11
- '0.3.0'
11
+ '0.3.1'
12
12
  end
13
13
  end
14
14
  end
@@ -51,7 +51,7 @@ module Slim
51
51
  ender, ender_indent = enders.pop
52
52
 
53
53
  if ender_indent >= indent
54
- unless ender == 'end;' && line_type == :control_code
54
+ unless ender == 'end;' && line_type == :control_code && ender_indent == indent
55
55
  @_buffer << ender
56
56
  end
57
57
  else
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{slim}
8
- s.version = "0.3.0"
8
+ s.version = "0.3.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Andrew Stone"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 0
9
- version: 0.3.0
8
+ - 1
9
+ version: 0.3.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Andrew Stone