Skip to content

Commit

Permalink
Released gem 2.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
tobi committed Aug 5, 2010
1 parent 13f98de commit 6831eac
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
Binary file added .CHANGELOG.swp
Binary file not shown.
Binary file added .liquid.gemspec.swp
Binary file not shown.
2 changes: 2 additions & 0 deletions CHANGELOG
@@ -1,3 +1,5 @@
* Make context and assign work the same

* Ruby 1.9.1 bugfixes

* Fix LiquidView for Rails 2.2. Fix local assigns for all versions of Rails
Expand Down
4 changes: 2 additions & 2 deletions lib/liquid/tags/assign.rb
Expand Up @@ -23,11 +23,11 @@ def initialize(tag_name, markup, tokens)
end

def render(context)
context.scopes.last[@to.to_s] = context[@from]
context.scopes.last[@to] = context[@from]
''
end

end

Template.register_tag('assign', Assign)
end
end
2 changes: 1 addition & 1 deletion lib/liquid/tags/capture.rb
Expand Up @@ -26,7 +26,7 @@ def initialize(tag_name, markup, tokens)

def render(context)
output = super
context.scopes.last[@to.to_s] = output.join
context.scopes.last[@to] = output.join
''
end
end
Expand Down
2 changes: 1 addition & 1 deletion liquid.gemspec
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = %q{liquid}
s.version = "2.1.2"
s.version = "2.1.3"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Tobias Luetke"]
Expand Down

0 comments on commit 6831eac

Please sign in to comment.