Commit Graph

21 Commits

Author SHA1 Message Date
Joseph Wynn bd336070e1 Fix absolute path bug (#35)
* Fix file contents test

* Fix tests to catch the bug

* Fix bug where `original.path` was absolute
2016-09-25 21:37:10 +01:00
Joseph Wynn efeb87a032 Treat paths as relative to Jekyll `source` directory (#34)
* Move 'fixtures' to 'test-site' because, like, that's what it is

* Refactor to make reasoning about file paths easier

* Write a failing test

* Conventions, conventions

* Always treat paths as relative to the Jekyll site source
2016-09-25 20:23:06 +01:00
Joseph Wynn 7aded68117 UTF-8 support (#31)
* Create failing test case

* Force image filename encoding to UTF-8. Fixes #30
2016-09-02 08:53:29 +01:00
Joseph Wynn 08bdd3b1f6 Resize extra images (#23)
* Switch deprecated {File,Dir}#exists? for #exist?

* Implement extra_images configuration.

Closes #21.
2016-06-05 22:32:13 +01:00
Joseph Wynn f63b5002dd Trigger RenderCache#get by including an image twice (#22) 2016-06-05 22:30:45 +01:00
Joseph Wynn c523b100cc Modify `dirname` to be relative to `base_path` 2015-12-27 22:41:04 +00:00
Joseph Wynn 64f86bd6da Add `dirname` to image hashes. Closes #5. 2015-12-27 21:14:24 +00:00
Joseph Wynn 4a1e36f2d2 Add global variable test for block tag 2015-11-05 09:18:53 +00:00
Joseph Wynn 04eb007f18 Inject the Jekyll Site payload into the Liquid render attributes
This enables the use of `site` and `jekyll` variables.

Closes #1.
2015-11-05 09:03:44 +00:00
Joseph Wynn 1d9396dbd9 Properly handle nil image path 2014-12-07 22:33:14 +00:00
Joseph Wynn d0ee161aa2 Rename feature file for consistency 2014-12-07 22:02:53 +00:00
Joseph Wynn 93890f5ee0 Collapse feature steps for brevity 2014-12-07 13:14:40 +00:00
Joseph Wynn 6f9f13e62f Implement responsive_image_block tag 2014-12-07 13:06:28 +00:00
Joseph Wynn 2715d55520 Swap output_dir for more powerful output_path_format 2014-12-06 22:28:21 +00:00
Joseph Wynn 299927f1c3 Add the `original` object to template variables 2014-12-06 19:18:59 +00:00
Joseph Wynn 9a1fceaa29 Enable Coveralls 2014-12-06 16:03:10 +00:00
Joseph Wynn c78b568ecb Allow template to be overwritten on per-tag basis 2014-12-06 15:33:38 +00:00
Joseph Wynn 320e3955dd Add test case for custom attributes 2014-12-06 01:21:53 +00:00
Joseph Wynn 2d9aa73d18 Add Coveralls 2014-12-06 00:04:33 +00:00
Joseph Wynn fb6ef53a97 Add cukes 2014-12-05 23:55:10 +00:00
Joseph Wynn a09d47b60a Initial commit 2014-12-05 16:26:50 +00:00