Kris Brown
5ea06f3ad9
fixes issue #78 , including comprehensive scenarios and tests
2010-01-04 09:39:54 +00:00
Kris Brown
39a487cdf0
redcloth set to >= 4.2.1
2010-01-02 13:17:58 +00:00
Gregor Schmidt
597c7a7904
changes to stdout and -err - tests and behaviour
...
By using $stdin adn $stderr instead of STDIN and
STDERR it is possible to capture or redirect them
using in process ruby code without the need
to manage pipes and external processes
2009-11-24 21:42:22 +01:00
Christian Hellsten
52342fe6e1
Fixed bug where including includes from an include threw an exception.
2009-10-28 02:12:47 +02:00
Patrick Crowley
4cc0873172
updated pygments output to wrap code blocks with <code> tags
2009-10-22 21:14:05 -07:00
Jeffry Degrande
176c047ff1
bugfix for permalinks
...
Signed-off-by: Nick Quaranto <nick@quaran.to>
2009-07-14 19:17:44 -04:00
Nick Quaranto
8b678a8f01
Merge commit 'bahuvrihi/master'
2009-06-24 17:33:57 -04:00
Nick Quaranto
237df13778
Upgrading RedCloth to 4.2.1, which fixed <notextile> tags
2009-06-24 07:53:13 -04:00
Simon Chiang
ca98cd0152
updated convertible to allow for posts with no, or empty YAML
2009-06-23 20:55:13 -06:00
Simon Chiang
b616a4ceca
fixed test for CRLF (extra newline was being picked up)
2009-06-23 20:54:26 -06:00
Nick Quaranto
150ff1e5e4
Fixed small bug in test_generated_site and updating history with latest fixes
2009-06-23 08:10:42 -04:00
Stefan Saasen
e39810c984
Fix exception that causes jekyll to fail when using CRLF (0d0a) linebreaks in YAML front matter.
...
Signed-off-by: Nick Quaranto <nick@quaran.to>
2009-06-23 08:10:38 -04:00
Gaius Novus
5468548948
creating a Site with an invalid Markdown processor fails sooner and gives a better error message
...
Signed-off-by: Nick Quaranto <nick@quaran.to>
2009-06-23 08:10:33 -04:00
eugenebolshakov
e0ceee2e89
Added trailing slash to pretty url template
...
Signed-off-by: Nick Quaranto <nick@quaran.to>
2009-06-23 08:10:27 -04:00
Nick Quaranto
52fbd940c3
Merging in eugenebolshakov/permalinks_for_pages
2009-06-22 18:32:18 -04:00
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
eugenebolshakov
49c39f43a1
the index page should always have index.html permalink no matter what
2009-05-10 15:29:05 +04:00
eugenebolshakov
ee0167d706
Made pages respect permalinks style and permalinks in yml front matter
2009-05-10 14:53:00 +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
Tom Preston-Werner
04a283f618
prevent equivalent array from breaking tests
2009-01-23 14:33:14 -08:00
Tom Preston-Werner
c274ed3592
Merge commit 'd9b183f99826df630eedeae29f70005993da3d64' into cat
2009-01-23 14:27:59 -08:00
Tom Preston-Werner
fc28a907a8
Merge commit 'bac34fab3a27a12b35add1ecab409b19941e29a6'
2009-01-23 14:22:22 -08:00
Chad Ingram
d9b183f998
Fix site payload available to files
2009-01-23 04:48:43 -08:00
Tom Preston-Werner
3ee55f1abe
Merge commit 'ea70d8ac7ae26f' into amp
2009-01-21 16:04:38 -08:00
Tom Preston-Werner
73a5478664
Merge commit '5cfa956448f00730'
2009-01-21 15:04:57 -08:00
Aristotle Pagaltzis
ea70d8ac7a
add minimal tests for xml_escape filter
2009-01-20 10:21:22 +01:00
Zachary Pinter
5cfa956448
Fixed an issue with pygments, markdown, and newlines.
2009-01-11 12:03:46 -07:00
Zachary Pinter
bdbf1b9383
Created a test to expose a bug with markdown and pygments
...
The error seems to stem from how markdown expects certain blocks to begin and end with a newline.
2009-01-11 12:01:58 -07:00
Luismi Cavalle
15c5a78a47
Fixing permalink support
2009-01-05 00:35:59 +01:00
Tom Preston-Werner
a6530544fb
fix test_filters classname and add to manifest
2009-01-02 12:30:56 -08:00
Marc Chung
87a5e747fd
Added array_to_sentence_string filter
2008-12-30 11:33:22 -07:00
Josh Dady
bac34fab3a
Test and fix the site.categories hash
2008-12-25 13:49:56 -05:00
Tom Preston-Werner
dad9a31559
fix categories and add topics
2008-12-24 15:25:42 -08:00
Tom Preston-Werner
c46ea4096d
simplify and correct rendering pipeline
2008-12-24 13:17:28 -08:00
remi
b45fd65a36
added tests to confirm that {{ site.posts }} in index.html was empty and {{ post.content }} wasn't rendering (both are now fixed)
2008-12-23 05:32:25 -07:00
Tom Preston-Werner
d0fbfca205
fix location of permalink test post
2008-12-21 22:12:40 -08:00
Tom Preston-Werner
10bc499ce2
Merge commit '8d08a2'
2008-12-21 17:48:41 -08:00
Mark Reid
3a8f7a8e3a
Added post categories based on directories containing _posts
2008-12-16 17:52:00 +11:00
Tom Preston-Werner
fbdcf469c4
add markdown test
2008-12-15 12:04:19 -08:00
Tom Kirchner
2bb59d542b
test_post failed if you weren't in UTC-8, so use the current time zone for testing
2008-12-14 01:31:09 -05:00
Tom Preston-Werner
8b2aedc951
implement include tag
2008-12-13 17:12:38 -08:00
Tom Preston-Werner
2a8345df82
fix tests for command line
2008-12-12 20:56:18 -08:00
Jack Danger Canty
ad29efb102
adding permalink support to posts. Defined in the post YAML
2008-12-06 16:45:39 -08:00
Tom Preston-Werner
e63b9c0719
add test source files that did not get properly added before
2008-11-22 00:15:13 -08:00
Tom Preston-Werner
4f951b9b5d
send introspection data to posts
2008-11-21 18:48:35 -08:00
Tom Preston-Werner
bffdeee637
rename to Jekyll
2008-11-17 11:07:54 -08:00
Tom Preston-Werner
551ca08296
rename to conveyer
2008-11-16 21:29:15 -08:00
Tom Preston-Werner
45db2ba40f
fix layout tests
2008-11-05 22:05:24 -05:00
Tom Preston-Werner
c1e31feeec
default to no layout; makes dealing with binary files easier
2008-11-05 18:12:38 -08:00
Tom Preston-Werner
e4d07dc547
add comments and refactor out common page/post methods into Convertible module
2008-11-05 17:49:22 -08:00
Tom Preston-Werner
d8bdb6d366
fix tests that broke when 2nd arg was added to Post#add_layout
2008-11-05 17:04:56 -08:00
Tom Preston-Werner
7c3cfad2df
fix post#output test
2008-10-20 23:36:44 -07:00
Tom Preston-Werner
f06d2e60da
clean up tests
2008-10-19 22:21:45 -07:00
Tom Preston-Werner
7fd8fd2b14
textilize posts
2008-10-19 22:10:03 -07:00
Tom Preston-Werner
1c93bd0ce8
write posts to disk
2008-10-19 21:56:53 -07:00
Tom Preston-Werner
84b00cc63e
wrap in layout
2008-10-19 21:44:27 -07:00
Tom Preston-Werner
ecda27488c
parse out yaml from posts
2008-10-19 21:19:43 -07:00
Tom Preston-Werner
46a2c60505
Post.url
2008-10-19 20:18:05 -07:00
Tom Preston-Werner
6c0eeb573e
read posts
2008-10-19 20:12:49 -07:00
Tom Preston-Werner
6fb91f4f7d
cleanup and tests
2008-10-19 19:45:47 -07:00
Tom Preston-Werner
d189e05d23
first commit
2008-10-19 19:07:26 -07:00