Commit Graph

10 Commits

Author SHA1 Message Date
Joseph Wynn 6d569710b9 More test improvements 2016-10-11 23:25:43 +01:00
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 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 64f86bd6da Add `dirname` to image hashes. Closes #5. 2015-12-27 21:14:24 +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 93890f5ee0 Collapse feature steps for brevity 2014-12-07 13:14:40 +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