Commit Graph

92 Commits

Author SHA1 Message Date
Thomas Jack 535d78de7d change features and tests to make sure categories in urls follow the order specified by directory layout or in yaml 2009-06-08 19:26:03 -05:00
Nick Quaranto 486ae25fc1 Validating the configuration loads properly and is a hash, based on jrk's implementation. Closes #22. 2009-05-31 21:33:27 -04:00
Nick Quaranto 86b1450234 Adding tags to the site payload. Derived mostly from Henrik's implementation in 072d9e7 2009-05-18 18:28:56 -04:00
Nick Quaranto 99098dd8c7 Removing the extremely brittle generated_site test and moving the tags check into post.rb so pages don't break 2009-05-18 18:28:56 -04:00
Nick Quaranto 102f6be6a2 Added tags to posts. Based off Henrik's implementation in 072d9e7. 2009-05-18 18:28:56 -04:00
Nick Quaranto 921aee23d3 Removing topics for good 2009-05-18 18:28:56 -04:00
Nick Quaranto 605adf88d5 Shoulda-izing the pager test and correcting some formatting issues 2009-05-09 11:45:36 -04:00
Nick Quaranto e1dbda47ed Merging in calavera's pagination branch 2009-05-09 11:44:34 -04:00
Nick Quaranto a42690dd38 Freezing to RedCloth 4.1.0 just for the tests 2009-05-06 12:41:16 -07:00
Nick Quaranto d948e0da91 Removing RedCloth gem lock and adding notes in for deps 2009-05-06 12:41:16 -07:00
Martin Vilcans 6968346703 Added cgi_escape filter 2009-05-02 00:44:33 +02:00
Nick Quaranto 53368cc3e1 Making sure excludes can work with a YAML array 2009-05-01 08:28:00 -04:00
Nick Quaranto 26f9ad3d98 Testing for RedCloth notextile issue and locking to 4.1.0, which parses the tag correctly 2009-04-29 09:07:29 -04:00
Bjørn Arild Mæland 4bcece18ae Issue 7: CGI escape post titles
Signed-off-by: Nick Quaranto <nick@quaran.to>
2009-04-28 08:09:42 -04:00
Nick Quaranto e0477e32cc Adding failing test for RDiscount parsing issue with highlight tags. 2009-04-27 08:29:54 -04:00
Nick Quaranto 6342a3842c Adding failing test for UTF-8 pygments issue GH-8 2009-04-25 23:27:46 -04:00
Nick Quaranto 9da140fcb2 Getting there, prefixes work great 2009-04-25 00:58:28 -04:00
Nick Quaranto 288d5045d2 Changing to the template permalink system, only test_post passing so far 2009-04-25 00:17:10 -04:00
Nick Quaranto 73fa7dcad4 Actually testing existing permalink_style and its effect on posts 2009-04-24 23:19:13 -04:00
Nick Quaranto 45b46722bf Making the generated site test happy when doing a glob on Ubuntu 2009-04-22 22:35:53 -04:00
Juan Lupion 2e187864cf Next and previous posts
Signed-off-by: Nick Quaranto <nick@quaran.to>
2009-04-22 19:51:41 -04:00
David Calavera f099d00cb0 posts' pagination 2009-04-04 12:45:40 +02:00
Nick Quaranto 8d0e3dd0e2 Reset posts, layouts, and categories before processing to prevent duplication when regenerating 2009-04-03 08:39:40 -04:00
Nick Quaranto f2ea61ba2a Appeasing maruku with a newline 2009-04-01 22:17:42 -04:00
Nick Quaranto cce2b8f32c Bringing back the pygments test. All unit tests are back onboard now 2009-03-19 08:12:35 -04:00
Nick Quaranto ae4e7725bf Bringing back the test_site tests 2009-03-18 08:37:03 -04:00
Nick Quaranto 479d8c7572 Allowing the dest_dir and source_dir helpers to take arguments so tests aren't littered with File.joins 2009-03-17 23:23:47 -04:00
Nick Quaranto c60be9c571 Stubbing out the configuration makes for much less warnings. 2009-03-17 23:17:51 -04:00
Nick Quaranto ab262a2ab5 Stubbing out configuration with RR and making sure include tags get rendered 2009-03-17 23:07:18 -04:00
Nick Quaranto 1423ea91a0 Removing lambdas from test_post since that was just stupid 2009-03-17 22:41:23 -04:00
Josh Nichols and Nick Quaranto a5155c8e00 Fixed tests (... or commented them out). We rule. 2009-03-17 21:13:08 -04:00
Josh Nichols and Nick Quaranto d602600394 Fixed test_generated_site. 2009-03-17 20:44:25 -04:00
Josh Nichols and Nick Quaranto 18b512a531 Merge branch 'qrush/shoulda' into can_has_good_tests
Conflicts:
	test/test_generated_site.rb
	test/test_post.rb
	test/test_site.rb
	test/test_tags.rb
2009-03-17 20:31:10 -04:00
mreid cb13ea3000 Rebased with mojombo. All tests pass. Some conflicts with Liquid and Maruku 2009-03-12 21:25:34 +11:00
Mark 6edfae8c26 Refactored configuration and command-line option code 2009-03-12 20:51:11 +11:00
Tom Preston-Werner 872a221862 Merge commit '992c4a8e6f71334f6c1a422c3547fdc535e7c8c2' 2009-03-10 17:23:30 -07:00
Tom Preston-Werner a67cea2637 four foo category posts now 2009-03-10 16:53:43 -07:00
Nick Quaranto 0e132bf2cb Upgrading the rest of the tests to shoulda 2009-03-05 21:54:52 -05:00
Nick Quaranto 0d05f27fe4 Post conversion complete 2009-03-05 21:54:52 -05:00
Nick Quaranto 8807c7660b Starting conversion to shoulda 2009-03-05 21:54:52 -05:00
Brandon Dimcheff 992c4a8e6f prevented _posts from being copied to the destination directory 2009-03-04 01:24:52 -05:00
Bjørn Arild Mæland fab8442432 Factored the filtering code into a method 2009-02-25 21:44:07 +01:00
Bjørn Arild Mæland 0ec9a1330a Made it possible to enter categories from YAML as an array. 2009-02-22 19:09:16 +01:00
Tom Preston-Werner e9ccc5d600 Merge commit 'ee65dadc9a5ae5fc8f19848754f7175ebd630375' 2009-02-19 00:16:43 -08:00
Kevin Marsh ee65dadc9a Add textilize filter for transforming input into HTML via RedCloth, so you can have Textile-formatted attributes other than the page's content (for example, an excerpt) 2009-02-12 18:21:40 -05:00
Nick Quaranto efdd5ef395 Making sure that posts flagged as published: false don't get rendered or copied. 2009-02-10 01:13:36 -05:00
Nick Quaranto ad617da4e0 Added publish flag to posts, not preventing it from being in the destination directory yet. 2009-02-10 01:13:31 -05:00
Nick Quaranto 1211f23b53 Adding support for setting post categories through YAML if not specified by directory structure 2009-02-10 01:12:20 -05:00
Nick Quaranto 4bcfaeae69 Starting on yaml categories 2009-02-10 01:12:17 -05:00
Nick Quaranto 2303115235 Making rake test happy on 1.8.7 2009-02-10 01:11:13 -05:00