jekyll/test
Thomas Wood 66c4ff8800 Add a where_exp filter for filtering by expression
This commit introduces a where_exp filter, which can be used as follows:
  `{{ array | where_exp: "item", "item == 10" }}`
  `{{ array | where_exp: "item", "item.field > 10" }}`
  `{{ site.posts | where_exp: "post", "post contains 'field'" }}`
  `{{ site.posts | where_exp: "post", "post.array contains 'giraffes'" }}`

This permits a variety of use cases, such as reported in: jekyll#4467,
jekyll#4385, jekyll#2787.
2016-04-12 18:52:58 +01:00
..
fixtures Empty permalink now shows an error 2016-01-15 14:40:47 -02:00
safe_glob_test[ Add Utils.safe_glob method 2015-11-19 00:46:46 +13:00
source Merge pull request #4545 from jekyll/allow-no-extensions-coll-docs 2016-02-29 15:50:29 -08:00
helper.rb Update Rake. 2016-03-27 22:22:35 -05:00
simplecov_custom_profile.rb Move simplecov_custom_profile to test/ & gate with TRAVIS env 2015-03-01 00:36:20 -08:00
test_ansi.rb Fix: #4219: Add CodeClimate Platform. 2015-12-04 11:42:52 -06:00
test_cleaner.rb Fix test teardown for cleaner. 2016-03-23 20:37:13 -05:00
test_coffeescript.rb test: use {assert,refute}_exist everywhere 2016-01-18 13:45:36 -08:00
test_collections.rb Merge pull request #4545 from jekyll/allow-no-extensions-coll-docs 2016-02-29 15:50:29 -08:00
test_command.rb Create #mock_expects that goes directly to RSpec Mocks. 2015-04-14 14:20:55 -05:00
test_commands_serve.rb Fix #4689: Use SSLEnable instead of EnableSSL and make URL HTTPS. 2016-04-12 02:59:48 -05:00
test_configuration.rb Handle empty config files 2015-10-28 22:31:42 +01:00
test_convertible.rb Fix warnings 2016-03-25 22:03:17 +01:00
test_doctor_command.rb test/test_doctor_command.rb: fix test for Doctor.urls_only_differ_by_case 2015-12-14 20:59:52 -08:00
test_document.rb Allow collections to have documents that have no file extension 2016-02-19 13:40:17 -08:00
test_entry_filter.rb EntryFilter#special?: ignore filenames which begin with '~' 2016-02-07 17:28:03 -08:00
test_excerpt.rb test_excerpt & _page: use Drop instead of Hash to mock payload 2015-12-22 22:37:48 -05:00
test_filters.rb Add a where_exp filter for filtering by expression 2016-04-12 18:52:58 +01:00
test_front_matter_defaults.rb Allow quoted date in front matter defaults 2015-11-25 23:18:33 +13:00
test_generated_site.rb test: Slight refactor to doublecheck destination. 2016-01-18 14:08:53 -08:00
test_kramdown.rb kramdown: fix state leakage (#4617) in test 2016-03-01 18:41:04 +00:00
test_layout_reader.rb Wrap Arguments in () when used in a setter 2015-12-26 12:48:20 -08:00
test_liquid_extensions.rb Make our own Minitest::Test subclass for further subclassing 2015-02-21 00:33:47 -08:00
test_liquid_renderer.rb Add byte counter 2015-06-07 16:49:22 +00:00
test_log_adapter.rb Trim trailing whitespace. 2015-10-30 21:57:14 +02:00
test_new_command.rb Merge pull request #4537 from Crunch09/fix-warnings 2016-03-31 18:37:32 -07:00
test_page.rb Add test for Page#dir in :date/nil modes 2016-01-27 08:44:59 -08:00
test_path_sanitization.rb Jekyll.sanitized_path: sanitizing a questionable path should handle tildes 2016-02-07 17:53:26 -08:00
test_plugin_manager.rb Make our own Minitest::Test subclass for further subclassing 2015-02-21 00:33:47 -08:00
test_rdiscount.rb Add support for JRuby, it was easier than assumed. 2015-05-15 07:10:22 -05:00
test_redcarpet.rb Fix: #3738; Move code wrapper from div to figure. 2015-06-10 15:20:44 -05:00
test_regenerator.rb test: use {assert,refute}_exist everywhere 2016-01-18 13:45:36 -08:00
test_related_posts.rb collections: posts as collection 2015-10-26 00:29:14 -07:00
test_sass.rb Make our own Minitest::Test subclass for further subclassing 2015-02-21 00:33:47 -08:00
test_site.rb Merge pull request #4537 from Crunch09/fix-warnings 2016-03-31 18:37:32 -07:00
test_static_file.rb Wrap Arguments in () when used in a setter 2015-12-26 12:48:20 -08:00
test_tags.rb Merge pull request #4537 from Crunch09/fix-warnings 2016-03-31 18:37:32 -07:00
test_url.rb Fix warnings 2016-03-25 22:03:17 +01:00
test_utils.rb Clean up Tags::PostUrl a bit 2016-03-15 16:06:25 -07:00