Skip to content

Commit

Permalink
Update Liquid to 3.0.6 and revert the monkey patch
Browse files Browse the repository at this point in the history
  • Loading branch information
knu committed Jul 27, 2015
1 parent 5271f17 commit 1fc1656
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ GEM
launchy (2.4.2)
addressable (~> 2.3)
libv8 (3.16.14.7)
liquid (3.0.3)
liquid (3.0.6)
listen (2.7.9)
celluloid (>= 0.15.2)
rb-fsevent (>= 0.9.3)
Expand Down
6 changes: 0 additions & 6 deletions app/concerns/liquid_interpolatable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -218,12 +218,6 @@ def regex_replace_first(input, regex, replacement = nil)
input.to_s.sub(Regexp.new(regex), unescape_replacement(replacement.to_s))
end

def date(input, format)
super
rescue ArgumentError
input
end

private

def logger
Expand Down

0 comments on commit 1fc1656

Please sign in to comment.