mirror of
https://github.com/Shopify/liquid.git
synced 2025-09-11 00:00:13 -04:00
Released gem 2.1.3
This commit is contained in:
parent
13f98de7f3
commit
6831eac902
BIN
.CHANGELOG.swp
Normal file
BIN
.CHANGELOG.swp
Normal file
Binary file not shown.
BIN
.liquid.gemspec.swp
Normal file
BIN
.liquid.gemspec.swp
Normal file
Binary file not shown.
@ -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
|
||||
|
@ -23,11 +23,11 @@ module Liquid
|
||||
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
|
||||
|
@ -26,7 +26,7 @@ module Liquid
|
||||
|
||||
def render(context)
|
||||
output = super
|
||||
context.scopes.last[@to.to_s] = output.join
|
||||
context.scopes.last[@to] = output.join
|
||||
''
|
||||
end
|
||||
end
|
||||
|
@ -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"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user