Commit Graph

136 Commits

Author SHA1 Message Date
Joseph Wynn b628a11925
Merge pull request #68 from driehuis/master
Add option to strip EXIF profiles
2018-01-23 15:05:17 +13:00
Bert Driehuis cafec3c926 Add feature tests for EXIF strip 2018-01-19 02:13:21 +01:00
Bert Driehuis 826b5f715e Add option to strip EXIF profiles 2018-01-19 01:08:35 +01:00
Joseph Wynn c9da267bee Merge pull request #67 from wildlyinaccurate/enable-caching-in-config-yml
Enable "cache" option in _config.yml
2017-07-16 21:59:15 +01:00
Joseph Wynn aba1d58246 Enable "cache" option in _config.yml
Fixes #66
2017-07-16 21:22:24 +01:00
Joseph Wynn b1ac375f60 1.3.1 2017-07-01 15:08:28 +01:00
Joseph Wynn bd52112bae 1.3.0 2017-06-21 19:48:27 +01:00
Joseph Wynn 66b0f3fce9 Merge pull request #65 from wildlyinaccurate/jericbryledy-master
Add save_to_source option
2017-06-21 19:44:27 +01:00
Joseph Wynn e334930825 Update tests to be more descriptive; reduce test cases
I've updated the `Scenario` for these to be more descriptive about what they're actually testing. I've also removed some redundant test cases (I think it's enough to test this with just one image) and used the Given-When-Then format to improve readability.
2017-06-21 19:34:18 +01:00
Jeric Bryle Sy Dy 2ad615952e added test to save_to_source 2017-06-20 17:22:40 +08:00
Jeric Bryle Sy Dy 93bb666bff option to directly save resized images to destination directory (#49) 2017-06-20 16:55:58 +08:00
Joseph Wynn 893486fb45 Tidy up unused test cruft 2017-04-05 13:56:07 +01:00
Joseph Wynn 3e4fac4132 Merge pull request #55 from wildlyinaccurate/jameswood-exif-rotate
Rotate resized images based on EXIF data
2017-03-13 08:45:27 +00:00
Joseph Wynn a23bdf5895 Fix auto_rotate name in Jekyll::ResponsiveImage::Config#DEFAULTS 2017-03-13 08:41:37 +00:00
Joseph Wynn 98a3b143af Merge pull request #56 from wildlyinaccurate/update-dependencies
Update dependencies and run tests on latest Rubies
2017-03-12 15:05:06 +00:00
Joseph Wynn b16abdc43c Update dependencies and run tests on latest Rubies 2017-03-12 14:59:25 +00:00
Joseph Wynn 7ad3967c71 Minor version bump for new functionality 2017-03-12 14:16:20 +00:00
Joseph Wynn 73bd82d547 Write tests for auto_rotate option 2017-03-12 14:14:53 +00:00
Joseph Wynn ffc51f648b Rename auto rotate option to auto_rotate 2017-03-12 14:14:45 +00:00
jameswood db264444ac rotate resized images based on exif info
EXIF rotation information embedded by the capture device is now
respected when generating output images. Original images remain
untouched.
2017-03-10 16:03:03 +11:00
Joseph Wynn 0c342075c7 Set the linguist-vendored attribute on features/test-site/*
This prevents Linguist from including the directory in the GitHub language stats
2017-01-09 11:37:19 +13:00
Joseph Wynn 00ded027ad Tidy up tests 2016-12-29 22:19:48 +13:00
Joseph Wynn 85b56541fb Merge pull request #44 from wildlyinaccurate/remove-redundant-tests
Remove redundant tests
2016-12-29 22:08:24 +13:00
Joseph Wynn 746205e726 Consolidate some tests to reduce the test:code ratio 2016-12-29 22:04:49 +13:00
Joseph Wynn ba3db6eba7 Use SimpleCov directly so that coverage can be inspected locally 2016-12-29 22:00:36 +13:00
Joseph Wynn fd041dc44a 1.1.0 2016-12-28 23:19:25 +13:00
Joseph Wynn c8eb8c0c58 Merge pull request #42 from wildlyinaccurate/maintain-source-interlace
Maintain source image interlace mode
2016-12-28 23:18:58 +13:00
Joseph Wynn c2e3465a7e Fix `rake release` 2016-12-28 23:16:20 +13:00
Joseph Wynn 8fa0543494 Maintain source image interlace mode 2016-12-28 23:14:13 +13:00
Joseph Wynn 804d30dbb5 Merge pull request #41 from wildlyinaccurate/rename-gem
Rename gem to jekyll-responsive-image
2016-12-28 23:13:01 +13:00
Joseph Wynn d7451d2681 Typo 2016-12-28 22:58:04 +13:00
Joseph Wynn 03356da52d Rename gem to jekyll-responsive-image
This PR also drops support for Ruby <2.0
2016-12-28 22:56:27 +13:00
Joseph Wynn 8d962b2631 Merge pull request #39 from wildlyinaccurate/clean-up-tests
Remove some redundant test code
2016-10-18 22:13:44 +01:00
Joseph Wynn 39ee353912 Remove some redundant test code 2016-10-18 22:11:06 +01:00
Joseph Wynn dba32db868 v1.0.1 2016-10-16 18:08:07 +01:00
Joseph Wynn 9a4f6dc9d0 1.0.0 2016-10-14 21:21:20 +01:00
Joseph Wynn 1d7273ec5a Merge pull request #36 from wildlyinaccurate/source-directory-take-2
Take 2 of "treat paths as relative to Jekyll `source` directory"
2016-10-14 21:18:45 +01:00
Joseph Wynn 854aa4cf00 pre4 2016-10-11 23:25:43 +01:00
Joseph Wynn 0d3f099057 Fix for using a custom `source` directory
Paths are still passed around as relative. Code which needs to read files
(images, templates) and code which needs to manipulate paths
(Jekyll::ResponsiveImage::Utils#image_hash) has to be aware of the site source
path.

This got a bit messy in the end, but I couldn't find a better way without doing
a big refactor of the entire plugin.
2016-10-11 23:25:43 +01:00
Joseph Wynn 83358e79b5 Resize handler tweaks 2016-10-11 23:25:43 +01:00
Joseph Wynn 4de5db835d Refactor to config class 2016-10-11 23:25:43 +01:00
Joseph Wynn 6d569710b9 More test improvements 2016-10-11 23:25:43 +01:00
Joseph Wynn b47f12a1db An actual failing test now 2016-10-11 23:25:43 +01:00
Joseph Wynn 354f693afc Another refactor to try and avoid `include` 2016-10-11 23:25:43 +01:00
Joseph Wynn a1a183c3d4 More Ruby 1.9 fixes (#37)
* Pin terminal-ansicolor to 1.3.0

* Pin mime-types to <3

* Pin rest-client to <2

* Pin tins to 1.6.0
2016-10-11 23:25:33 +01:00
Joseph Wynn 06d34e09d2 1.0.0.pre3 2016-09-25 21:41:19 +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 707b1078c5 1.0.0.pre 2016-09-25 20:30:45 +01:00
Joseph Wynn 098b3117a8 Add missing documentation for `extra_images` config 2016-09-25 20:30:39 +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