Matt Rogers
1eab13c068
Merge pull request #1063 from Kelsin/fixing-paginate_path-for-windows
...
Fixing pagination on windows
2013-05-22 12:26:54 -07:00
Matt Rogers
ddba4cde8b
Merge pull request #1114 from mojombo/backwards-compatibilize-exclude-include
...
Backwards-compatibilize 'exclude' and 'include' config tags
2013-05-17 19:56:48 -07:00
Parker Moore
63dc563621
Add tests for exclude/include backwards-compatibility
2013-05-17 21:05:09 +02:00
Sebastian Morr
151ffab6fe
Removed space characters in empty lines
2013-05-16 20:27:27 +02:00
Matt Rogers
ff600bfcd9
Merge branch 'master' into refactor-related-posts
2013-05-14 21:54:12 -05:00
Parker Moore
179a746091
Merge pull request #1066 from Rowno/data-language
...
Add a `data-lang` attribute to code blocks
2013-05-12 03:11:11 -07:00
maul.esel
eda11aa534
ensure number category is NOT included as fixnum
2013-05-11 18:03:51 +02:00
maul.esel
17cdd59206
adjust tests to new test post
2013-05-10 14:07:43 +02:00
Roland Warmerdam
2a6c722e78
Add a `data-lang` attribute to code blocks
2013-05-10 19:18:13 +12:00
Rafael Revi
528c94e481
new test case: numbers in categories
2013-05-10 02:20:43 -04:00
Matt Rogers
770402d912
Also stub the building of the index
...
Since we don't actually use the index in getting the related posts from
the tests there's no need to build an index, which can take a long time
if the ruby bindings for the GSL library are not installed.
2013-05-08 22:33:20 -05:00
Matt Rogers
1aa49fa734
Wrap tests around Jekyll::RelatedPosts
...
This gives me more confidence that we're doing the right things when it
comes to both the LSI and non-LSI cases and prevents regressions.
2013-05-08 21:57:10 -05:00
Christopher Giroir
b0c04c89f4
Further clarify what paginate_path should do in the case of directories in the path
2013-05-08 14:08:03 -07:00
Christopher Giroir
09fafd6418
Fixing paginate_path on windows
2013-05-07 23:24:10 -07:00
Parker Moore
f69c39c3ac
fix up tests for pygments-aware redcarpet
2013-05-08 00:45:42 +02:00
Parker Moore
62b4fd77ac
Using modules instead of classes for Redcarpet with/without Pygments.
2013-05-08 00:28:51 +02:00
Parker Moore
5dd3b0b71d
Update tests to be compliant with #1037 .
2013-05-07 16:45:15 +02:00
Pascal Borreli
29b3dc97f0
Fixed typos
2013-05-06 20:27:00 +01:00
Parker Moore
0b1d22dd61
Merge pull request #1016 from mojombo/fix-pagination
...
Paginate in subdirectories properly
2013-05-05 14:01:29 -07:00
Parker Moore
ce999f12fc
Merge pull request #992 from maul-esel/consistent-page.url
...
add leading slash to page.url and post.url
2013-05-05 13:56:15 -07:00
Parker Moore
dcd7b36269
Fixing Pager test for 1.8.7.
2013-05-05 18:08:03 +02:00
Parker Moore
1c146ec649
Instead of just a string name, Pager.pagination_enabled? now accepts a page
2013-05-05 17:26:48 +02:00
Parker Moore
20334aabbe
Test all cases for post_url modifications. #998
2013-05-05 15:13:17 +02:00
Parker Moore
9179f56ed7
Quick clean-up from #998 .
2013-05-05 14:59:50 +02:00
Parker Moore
290ba131e2
Merge pull request #998 from dhcole/master
...
Use post's directory path when matching for the post_url tag
2013-05-05 05:16:39 -07:00
Parker Moore
c9bd1437a3
Testing parsing of String objects which represent times to Date filters
2013-05-04 14:41:21 +02:00
Dave Cole
b1cf3d5dd5
Adjust expected post count for tests.
2013-04-30 12:46:31 -04:00
Dave Cole
805f378586
Add test for nested post_url
2013-04-29 17:48:10 -04:00
uu59
0f52f15cc2
Clean up code #1104
2013-04-29 21:07:46 +09:00
uu59
94756340cd
Remove to_i. Let commander gem do it #1004
2013-04-29 15:56:02 +09:00
uu59
20a837d15c
Change default value of limit_posts from nil to 0 (see #1004 )
...
Before this commit meaning of limit_posts:
nil: no limit. generate all posts
0: raise error
n ( > 0): generate n posts only
n ( < 0): raise error
else: raise error
After this commit:
nil: same as 0
0: no limit. generate all posts
n ( > 0): generate n posts only
n ( < 0): raise error
else: almost same as 0 (depend on `to_i` result)
2013-04-29 01:41:22 +09:00
uu59
ad2c706a34
Fix `jekyll serve --limit_posts n` failed
2013-04-28 02:03:08 +09:00
Parker Moore
46ce757b71
Compliant with Ruby 2.0.0
2013-04-26 21:20:48 +02:00
maul.esel
6f28b6d432
fix tests for always-present slash
2013-04-20 13:21:31 +02:00
maul.esel
cc5ce06d78
remove tests for default layouts
2013-04-15 17:24:18 +02:00
Parker Moore
5bcce7a1f1
Fix unit tests for Configuration#backwards_compatibilize
2013-04-15 00:41:46 +02:00
Parker Moore
ef9d8ddb7d
Matching tests to new colorized output
2013-04-13 20:24:45 +02:00
Parker Moore
0f600a322c
Added a unit test for Configuration#backwards_compatibilize
2013-04-12 22:42:54 +02:00
Parker Moore
7c7bacffe7
Refactor setup block for test of Configuration#config_files
2013-04-12 22:37:01 +02:00
Parker Moore
0812c1b4c9
Add unit tests for Configuration#config_files
2013-04-12 22:29:27 +02:00
Parker Moore
0c0b13e69b
Unit test for Configuration#stringify_keys
2013-04-12 21:56:45 +02:00
Parker Moore
04fd68a232
Move Jekyll::DEFAULTS to Jekyll::Configuration::DEFAULTS
2013-04-12 21:19:20 +02:00
Parker Moore
bee8cd9d77
Merge pull request #946 from maul-esel/preserve_excerpt
...
Preserve 'excerpt` in YAML Front-Matter
2013-04-12 06:24:51 -07:00
maul.esel
bcda51f97b
do not allow markdown etc. in excerpt
...
Adjust the tests accordingly. Also
add a message for one of the tests.
2013-04-11 21:02:08 +02:00
maul.esel
b10e06ce47
new test: ensure the correct excerpt is exposed to liquid
...
Also shorten test code a little bit.
2013-04-11 19:33:32 +02:00
Alex Kessinger
14a669530e
Fixing tests, and making it more ruby friendly
2013-04-11 10:17:59 -07:00
maul.esel
2792e1e427
fix indentation of test
2013-04-11 16:51:48 +02:00
maul.esel
0113fea7a1
Add tests for using custom excerpt
2013-04-11 14:26:20 +02:00
Alex Kessinger
1e209c9bf3
Upgrade --config to accept an array of files
2013-04-10 11:38:49 -07:00
Alex Kessinger
df1efeff25
Accept multiple config files from command line
...
Parse config as if it can contain multiple references to config files.
This allows you to pass in multiple config files from the command line
Helps with issues #514 and #703
2013-04-10 10:19:48 -07:00
Parker Moore
8bf55ef8fa
Merge pull request #928 from danieldriver/ordinal_date
...
add ordinal date permalink style (/YYYY/DDD/slug.html)
2013-04-07 13:52:30 -07:00
Parker Moore
0f2c9d29ee
Merge pull request #875 from mojombo/posts-cant-be-dirs
...
Directories with valid post names should be filtered out
2013-04-07 12:54:42 -07:00
Parker Moore
7b36d26240
Merge pull request #892 from rafaelrosafu/master
...
Added date_to_rfc822 used on RSS feeds
2013-04-07 12:43:50 -07:00
Daniel Driver
ea753130e6
add ordinal date permalink style (/YYYY/DDD/slug.html)
2013-04-06 08:17:02 -04:00
Parker Moore
483a0b68b6
Merge pull request #890 from zachgersh/abbreviated_month
...
Added abbreviated month + test.
2013-04-05 09:44:50 -07:00
Lucas Jenss
571bdd686c
Move tests for symlinked files to separate test cases
2013-04-01 12:02:15 +02:00
Lucas Jenss
0bebe0f31c
Add test for processing of symlinked static files and pages
2013-03-31 20:20:15 +02:00
Rafael Rosa Fu
7879d2e02c
Fixed expected output from xmlschema and rfc822
2013-03-29 01:07:47 -04:00
zachgersh
e931414b77
Changed to short_month and re-ran tests.
2013-03-27 08:40:58 -07:00
Rafael Rosa Fu
186b68adb0
Added filter date_to_rfc822
...
According to the W3C RSS Feed Validator, feeds must format dates as described
on RFC-822 to be valid. Refer to their site to get more info:
http://feedvalidator.org/docs/error/InvalidRFC2822Date.html
I also added a couple of missing unit tests to the other date filters
2013-03-27 02:21:48 -04:00
zachgersh
6657f2add9
Added abbreviated month + test.
2013-03-26 23:06:34 -07:00
Parker Moore
8f890cb064
Fix tests that fail due to having a directory that looks like a post
2013-03-19 21:59:43 +01:00
Parker Moore
a054ce2788
Merge pull request #861 from danielgrieve/gist-tag
...
display single files from gist
2013-03-17 13:33:10 -07:00
Parker Moore
0765d07730
Added sanity tests for #869 .
2013-03-17 21:15:17 +01:00
Parker Moore
6c1a08ce87
Merge pull request #862 from mojombo/fix-autogen-dest-prob
...
Stop DirectoryWatcher from watching the destination directory
2013-03-17 12:48:30 -07:00
Parker Moore
936ed1f849
Merge pull request #837 from ixti/feature-excerpt
...
Adds excerpt to posts
2013-03-17 07:53:41 -07:00
Parker Moore
aa7a234c18
Merge master into jekyll-new
2013-03-17 15:45:37 +01:00
Parker Moore
5d34a4c533
Merge pull request #864 from mojombo/prioritize_plugins
...
Prioritize plugins & DRY subclass instantiation
2013-03-16 12:09:43 -07:00
Parker Moore
d091cfe3fc
Merge pull request #863 from mojombo/accept-custom-config
...
Accept custom configuration
2013-03-16 12:07:31 -07:00
Parker Moore
39f144ed01
Newline.
2013-03-16 20:06:50 +01:00
Parker Moore
1d05e0be81
Added tests for generators.
2013-03-16 20:06:40 +01:00
Tommy Sullivan
7425b2c32e
Add test to ensure plugins are executed in order of priority.
2013-03-16 15:12:57 +01:00
Parker Moore
9100967ebd
Add unit tests for custom configuration.
2013-03-16 14:46:26 +01:00
Parker Moore
52efb71aa2
Added directory_with_contents() to DRY up test code and ensure folders exist in TestCommand.
2013-03-16 14:09:53 +01:00
Parker Moore
d93faac3b8
Rudimentary tests for Jekyll::Command
2013-03-16 13:59:59 +01:00
Parker Moore
a0c0d983bf
Using a test_dir helper method for tests.
2013-03-16 13:59:40 +01:00
Daniel Grieve
92d9c4301b
display single files from gist
2013-03-15 22:37:14 +00:00
Daniel Grieve
4be5dfdb9a
fix copying of site template files
2013-03-13 21:27:41 +00:00
Daniel Grieve
1ab83ff9e9
fix test to highlight issue with FileUtils.cp_r
2013-03-13 19:55:15 +00:00
Daniel Grieve
b306835ce0
Add tests for 'new' command.
2013-03-12 19:38:05 +01:00
Parker Moore
725b127f9b
Merge pull request #536 from fotos/fix_page_dir
...
Added path in url.
2013-03-09 17:07:16 -08:00
Aleksey V Zapparov
22dcc4e20f
Adds excerpt to posts
2013-03-04 17:13:25 +01:00
Parker Moore
17c875f6f5
Fixed plugin test error.
2013-03-02 18:51:42 +01:00
Fotos Georgiadis
441eddf1ca
Fix pretty url style paths.
...
Ignore the basename if the page is an index page, preserve it if it's just an
html page and use the full path in every other case.
2013-02-28 03:49:39 +02:00
Parker Moore
63d0eef646
Merge pull request #824 from sinamt/symlinked_folders
...
Allow symlinked folders in unsafe mode (with tests). Closes #796 , resolves #233 .
2013-02-26 16:54:52 -08:00
Paul Leitmanis
849c34e913
Add tests for filtering symlink entries when safe mode enabled
2013-02-27 10:39:46 +11:00
Matt Rogers
d58859570d
Fix up the whitespace.
...
Remove an extra blank line and fix another whitespace error pointed out
by git diff
2013-02-25 13:24:37 -06:00
Matt Rogers
ffc42310b4
Add back a test that was mistakenly removed.
2013-02-25 13:19:45 -06:00
Matt Rogers
d2c79a8841
Merge branch 'master' into issue-653
2013-02-25 13:08:23 -06:00
Parker Moore
f8a90d711f
Using https protocol instead of http.
2013-02-24 01:54:13 +01:00
Parker Moore
cdd3c0ef0c
Remove 'type' attribute from script tag in gist liquid tag.
2013-02-24 01:30:41 +01:00
Parker Moore
7e7cee6e56
Strip space from the gist number, add test for gist tag
2013-02-24 00:58:13 +01:00
Parker Moore
a19bb1815a
Fixed merge conflicts in test/test_configuration.rb
2013-02-20 23:13:06 +01:00
Parker Moore
c7c0a9432c
Updating tests for safe_yaml.
2013-02-10 19:09:36 +01:00
Parker Moore
9bb0bfc0b2
Eliminating migrator tests (in this repo).
2013-01-31 01:19:56 +01:00
Parker Moore
2e73671cf4
Updated Kramdown tests to reflect numeral HTML entities.
2013-01-30 23:25:49 +01:00
Parker Moore
04b60ffe7f
Merge pusewicz/bump-gems from #744
2013-01-30 23:20:23 +01:00
Parker Moore
b4bea4a586
Merge branch 'code-cleanup' of git://github.com/tombell/jekyll into code-cleanup
...
Module Cleanup
* 'code-cleanup' of git://github.com/tombell/jekyll:
Remove new lines between module and class
Update tag classes moving into a module
Update pagination classes moving into a module
Update converter classes moving into a module
Strip extra newlines
Update command classes moving into a module
Conflicts:
lib/jekyll/commands/serve.rb
2013-01-27 23:13:16 +01:00
Parker Moore
409eedafd8
Merge pull request #767 from mojombo/string-categories
...
Force Categories to be Strings
2013-01-26 13:32:26 -08:00
Ben Toews
d82179048e
adding files
2013-01-23 11:31:59 -06:00