Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove support for liquid_methods Module extension #568

Merged
merged 1 commit into from
May 14, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
# Liquid Change Log

## 4.0.0 / not yet released / branch "master"

### Changed
* Add sort_natural filter (#554) [Martin Hanzel, arthanzel]
* Add forloop.parentloop as a reference to the parent loop (#520) [Justin Li, pushrax]
* Block parsing moved to BlockBody class (#458) [Dylan Thacker-Smith, dylanahsmith]
* Add concat filter to concatenate arrays (#429) [Diogo Beato, dvbeato]
* Ruby 1.9 support dropped (#491) [Justin Li, pushrax]
* Liquid::Template.file_system's read_template_file method is no longer passed the context. (#441) [James Reid-Smith, sunblaze]
* Remove support for `liquid_methods`

### Fixed
* Fix naming of the "context variable" when dynamically including a template (#559) [Justin Li, pushrax]
Expand Down
1 change: 0 additions & 1 deletion lib/liquid.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ module Liquid
require 'liquid/template'
require 'liquid/standardfilters'
require 'liquid/condition'
require 'liquid/module_ex'
require 'liquid/utils'
require 'liquid/token'

Expand Down
64 changes: 0 additions & 64 deletions lib/liquid/module_ex.rb

This file was deleted.

4 changes: 1 addition & 3 deletions test/integration/template_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,10 @@ def baz
end
end

class SomethingWithLength
class SomethingWithLength < Liquid::Drop
def length
nil
end

liquid_methods :length
end

class ErroneousDrop < Liquid::Drop
Expand Down
90 changes: 0 additions & 90 deletions test/unit/module_ex_unit_test.rb

This file was deleted.