Commit graph

1398 commits

Author SHA1 Message Date
Thomas Reynolds 85e1918dd6 Merge pull request #201 from bhollis/master
Validate the template option for "middleman init"
2011-12-14 09:43:35 -08:00
Ben Hollis e1b338041b Validate the template option for "middleman init" 2011-12-13 23:58:47 -08:00
Thomas Reynolds 0b90a6a800 new as alias for init 2011-12-12 15:16:41 -08:00
Thomas Reynolds 7b88b5fb35 better readme. closes #186 2011-12-12 15:16:23 -08:00
Thomas Reynolds 0b5094e953 fix compressors. closes #192 2011-12-12 14:20:39 -08:00
Thomas Reynolds f4436eb49e testing alternative (passthrough) compressor works inline, but not through Sprockets 2011-12-12 13:54:04 -08:00
Eric Skogen 99c004d41f fix bug in sitemap_tree which referred to app out of context 2011-12-12 12:12:19 -06:00
Ben Hollis 911fe031bd Fix previous checkin on Ruby 1.8.7 2011-12-11 20:51:44 -08:00
Ben Hollis b73c58e59d Merge pull request #185 from bhollis/instancevars
Scenario for using instance vars to pass data to layouts and templates, and prevent changes to instance vars being shared between different templates.
2011-12-11 20:15:55 -08:00
Ben Hollis 97dc2c9742 Scenario for using instance vars to pass data to layouts and templates, and prevent
changes to instance vars being shared between different templates.
2011-12-11 20:13:41 -08:00
Thomas Reynolds a7c9c2bc84 Merge pull request #197 from audionerd/master
Switch to thin 1.3.1
2011-12-11 17:27:10 -08:00
audionerd d7518ebf84 thin 1.3.1 2011-12-11 18:55:20 -06:00
Thomas Reynolds 433275d71f frontmatter extensions. closes #191 2011-12-11 16:22:38 -08:00
Thomas Reynolds 6f4c1b816a default to redcarpet for markdown. closes #196 2011-12-11 16:02:40 -08:00
Thomas Reynolds f2221cd9a0 make sure failed builds exit with correct status code 2011-12-11 15:49:13 -08:00
Thomas Reynolds ecc77ae89f use same compressor for Sprockets and Rack, make sure it's configurable 2011-12-10 20:28:37 -08:00
Thomas Reynolds bf025b85e9 more guard docs 2011-12-10 17:41:16 -08:00
Thomas Reynolds 6f7c2f881d Simplyify local templates, add docs, enable mobile html5b 2011-12-10 11:17:47 -08:00
Thomas Reynolds 0dbd4c06c9 markdown changelog 2011-12-10 11:16:13 -08:00
Thomas Reynolds d0e0d0e95c Update README.md 2011-12-09 20:09:31 -08:00
Thomas Reynolds 789983c1ee install our own ctrl-c handler, try to shut down guard and thin more gracefully 2011-12-09 16:15:44 -08:00
Thomas Reynolds b9e1d963aa Update CHANGELOG 2011-12-09 15:00:49 -08:00
Thomas Reynolds c48679e993 Catch exceptions at Rack level. closes #183 2011-12-09 11:11:17 -08:00
Thomas Reynolds 1feea222c0 test image copy. closes #153 2011-12-09 10:53:15 -08:00
Thomas Reynolds 7da1edeb6e support old request.path api 2011-12-09 10:25:51 -08:00
Thomas Reynolds aa0832f549 Pull test case from bhollis, now passes with metadata cache changes. Fixes #184 2011-12-07 21:05:53 -08:00
Thomas Reynolds e2d5839874 page helper uses provides_metadata to apply options at last minute to final output path. closes #182 2011-12-07 21:00:27 -08:00
Thomas Reynolds 745ce14624 test wildcard pages 2011-12-07 11:26:49 -08:00
Thomas Reynolds 9b07bf24dd add test for helpers in external files 2011-12-06 10:28:55 -08:00
Thomas Reynolds 6aac51f6f0 Tell Guard that we REALLY want to know about ALL changes 2011-12-05 15:04:58 -08:00
Thomas Reynolds a494d782e6 move some feature stuff into main mm file 2011-12-04 11:58:45 -08:00
Thomas Reynolds 833a229770 fix multi engine partials 2011-12-01 23:05:03 -08:00
Thomas Reynolds 6a03a60cf7 Merge pull request #178 from audionerd/master
Example of partial and layout using different engines
2011-12-01 22:25:31 -08:00
Thomas Reynolds 51a00c4174 add very basic lorem test 2011-12-01 08:43:26 -08:00
Eric Skogen 5c07fd0ea9 fix typos in test for partials with engine different than layout 2011-12-01 02:35:40 -06:00
Thomas Reynolds 6582a2f75a re-enable builder error catching 2011-12-01 00:01:16 -08:00
Eric Skogen c6209b2869 Merge branch 'master' of git://github.com/tdreyno/middleman 2011-12-01 01:58:23 -06:00
Thomas Reynolds f1074ed1e2 Merge pull request #179 from bhollis/master
Fix two bugs around "build --clean"
2011-11-30 23:57:16 -08:00
Ben Hollis 167b213a07 Fix build --clean when the build directory doesn't exist.
Before this fix, "build --clean" with no build directory would do
nothing. Now it behaves just like a normal build.
2011-11-30 23:07:09 -08:00
Ben Hollis 8648aaed7c Fix build --clean when paths are rerouted.
This was mostly apparent when using directory indexes - because the
rewrite of the destination path happened after the point where the
path was removed from the "to clean" list, directory indexes would
get removed on the next build --clean.
2011-11-30 23:07:09 -08:00
Eric Skogen 721c2112e1 clarify wording of test 2011-12-01 00:39:50 -06:00
Eric Skogen ca68c7f944 add failing test for a partial with a different engine than the layout 2011-12-01 00:38:34 -06:00
Thomas Reynolds 46e6d37fff Merge pull request #177 from bhollis/master
Fix previous commit and a few other changes
2011-11-30 22:11:58 -08:00
Ben Hollis c92ccbb613 Trim down frontmatter data storage by not storing the source of the template after stripping frontmatter in the local_data hash. 2011-11-30 22:08:46 -08:00
Ben Hollis d08b825607 Fix typo desination -> destination 2011-11-30 22:08:46 -08:00
Ben Hollis c730af108c Document "doc" task and use "sh" so it prints output 2011-11-30 22:08:46 -08:00
Ben Hollis 1b330e7a27 Oops - the change to the frontmatter regex broke it somehow. This reverts that change (but also reigns in the file_deleted hook). 2011-11-30 22:08:11 -08:00
Thomas Reynolds 562f9259b7 Merge pull request #176 from bhollis/master
A slight speedup in the sitemap extension by only scanning the source directory
2011-11-30 22:05:26 -08:00
Ben Hollis 17e3735d44 A slight speedup in the sitemap extension by only scanning the source directory.
This way sitemap will not scan through all the files in your project (including
.git files and such) when it doesn't ever need to know about those files. This
also includes a slight tightening of the regex for filtering paths for front_matter.
2011-11-30 20:04:23 -08:00
Thomas Reynolds 073a8dee74 add test for simple sinatra/rack app mounting 2011-11-30 10:17:23 -08:00