Shopify/liquid — pull request #453 by dylanahsmith (2014-10-01 23:56:30+00:00)
Title: Avoid modifying the default resources limits hash.

@fw42 for review

## Problem

Template#initialize already duplicates the default_resource_limits hash, but if a Context is created directly, then it will use Template.default_resource_limits hash directly, causing it to get modified during rendering.

## Solution

Duplicate the `Template.default_resource_limits` before assigning it to an instance variable in Context#initialize