jekyll 2.0.2 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of jekyll might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/History.markdown +81 -42
- data/Rakefile +1 -5
- data/features/collections.feature +12 -0
- data/jekyll.gemspec +1 -1
- data/lib/jekyll/commands/build.rb +10 -4
- data/lib/jekyll/filters.rb +5 -3
- data/lib/jekyll/plugin.rb +8 -15
- data/lib/jekyll/site.rb +1 -1
- data/lib/jekyll/static_file.rb +2 -2
- data/lib/jekyll/tags/gist.rb +3 -4
- data/lib/jekyll/version.rb +1 -1
- data/lib/site_template/_config.yml +1 -2
- data/lib/site_template/_includes/footer.html +1 -1
- data/lib/site_template/_includes/head.html +2 -2
- data/lib/site_template/_includes/header.html +1 -1
- data/lib/site_template/feed.xml +5 -5
- data/site/_config.yml +1 -0
- data/site/_includes/anchor_links.html +27 -0
- data/site/_includes/css/font-awesome.css +44 -0
- data/site/_includes/top.html +1 -0
- data/site/_posts/2014-05-06-jekyll-turns-2-0-0.markdown +1 -1
- data/site/_posts/2014-05-08-jekyll-2-0-3-released.markdown +18 -0
- data/site/css/screen.css +4 -0
- data/site/docs/assets.md +1 -1
- data/site/docs/configuration.md +2 -2
- data/site/docs/frontmatter.md +1 -1
- data/site/docs/history.md +90 -37
- data/site/docs/upgrading.md +6 -6
- data/site/fonts/FontAwesome.otf +0 -0
- data/site/fonts/fontawesome-webfont.eot +0 -0
- data/site/fonts/fontawesome-webfont.svg +414 -0
- data/site/fonts/fontawesome-webfont.ttf +0 -0
- data/site/fonts/fontawesome-webfont.woff +0 -0
- data/test/test_sass.rb +8 -0
- metadata +12 -4
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 1ed5e240dbbd58c004f13b3c6337dca1c5a757f9
         | 
| 4 | 
            +
              data.tar.gz: b69c82422c9be169e7a4dc4626268092a80f44ad
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 950f2add8c0bd180e04073b7b1b41e13cb887a38e7476c2eaf69f57434ec532ca2a642a68649d5db8f76f5b13908c3b8a3d6bb16ce7ee618076d707ef2b22439
         | 
| 7 | 
            +
              data.tar.gz: ecda77f22316674ca4baec5d6342587ad0cb5e4c7344acc58efce3a8429d3406569ce54c26b511545a4472f957137e0b79bb276ed6ca1f4a8fdbc11b2e7f5d57
         | 
    
        data/History.markdown
    CHANGED
    
    | @@ -10,23 +10,48 @@ | |
| 10 10 |  | 
| 11 11 | 
             
            ### Site Enhancements
         | 
| 12 12 |  | 
| 13 | 
            -
            ##  | 
| 13 | 
            +
            ## 2.0.3 / 2014-05-08
         | 
| 14 14 |  | 
| 15 15 | 
             
            ### Bug Fixes
         | 
| 16 16 |  | 
| 17 | 
            -
            *  | 
| 18 | 
            -
             | 
| 17 | 
            +
              * Properly prefix links in site template with URL or baseurl depending upon
         | 
| 18 | 
            +
                need. (#2319)
         | 
| 19 | 
            +
              * Update gist tag comments and error message to require username (#2326)
         | 
| 20 | 
            +
              * Fix `permalink` setting in site template (#2331)
         | 
| 21 | 
            +
              * Don't fail if any of the path objects are nil (#2325)
         | 
| 22 | 
            +
              * Instantiate all descendants for converters and generators, not just
         | 
| 23 | 
            +
                direct subclasses (#2334)
         | 
| 24 | 
            +
              * Replace all instances of `site.name` with `site.title` in site template (#2324)
         | 
| 25 | 
            +
              * `Jekyll::Filters#time` now accepts UNIX timestamps in string or number form (#2339)
         | 
| 26 | 
            +
              * Use `item_property` for `where` filter so it doesn't break on collections (#2359)
         | 
| 27 | 
            +
              * Rescue errors thrown so `--watch` doesn't fail (#2364)
         | 
| 19 28 |  | 
| 20 29 | 
             
            ### Site Enhancements
         | 
| 21 30 |  | 
| 22 | 
            -
            *  | 
| 23 | 
            -
            *  | 
| 31 | 
            +
              * Add missing "as" to assets docs page (#2337)
         | 
| 32 | 
            +
              * Update docs to reflect new `baseurl` default (#2341)
         | 
| 33 | 
            +
              * Add links to headers who have an ID. (#2342)
         | 
| 34 | 
            +
              * Use symbol instead of HTML number in `upgrading.md` (#2351)
         | 
| 35 | 
            +
              * Fix link to frontmatter defaults docs (#2353)
         | 
| 36 | 
            +
              * Fix for `History.markdown` in order to fix history page in docs (#2363)
         | 
| 37 | 
            +
             | 
| 38 | 
            +
            ## 2.0.2 / 2014-05-07
         | 
| 39 | 
            +
             | 
| 40 | 
            +
            ### Bug Fixes
         | 
| 41 | 
            +
             | 
| 42 | 
            +
              * Correct use of `url` and `baseurl` in the site template. (#2317)
         | 
| 43 | 
            +
              * Default `baseurl` to `""` (#2317)
         | 
| 44 | 
            +
             | 
| 45 | 
            +
            ### Site Enhancements
         | 
| 46 | 
            +
             | 
| 47 | 
            +
              * Correct docs for the `gist` plugin so it always includes the username. (#2314)
         | 
| 48 | 
            +
              * Clarify new (defaults, `where` filter) features in docs (#2316)
         | 
| 24 49 |  | 
| 25 50 | 
             
            ## 2.0.1 / 2014-05-06
         | 
| 26 51 |  | 
| 27 52 | 
             
            ### Bug Fixes
         | 
| 28 53 |  | 
| 29 | 
            -
            * Require `kramdown` gem instead of `maruku` gem
         | 
| 54 | 
            +
              * Require `kramdown` gem instead of `maruku` gem
         | 
| 30 55 |  | 
| 31 56 | 
             
            ## 2.0.0 / 2014-05-06
         | 
| 32 57 |  | 
| @@ -167,7 +192,7 @@ | |
| 167 192 | 
             
              * Extract plugin management into its own class (#2197)
         | 
| 168 193 | 
             
              * Add missing tests for `Command` (#2216)
         | 
| 169 194 | 
             
              * Update `rr` link in CONTRIBUTING doc (#2247)
         | 
| 170 | 
            -
              * Streamline  | 
| 195 | 
            +
              * Streamline Cucumber execution of `jekyll` subcommands (#2258)
         | 
| 171 196 | 
             
              * Refactor `Commands::Serve`. (#2269)
         | 
| 172 197 | 
             
              * Refactor `highlight` tag (#2154)
         | 
| 173 198 | 
             
              * Update `Util` hash functions with latest from Rails (#2273)
         | 
| @@ -399,7 +424,7 @@ | |
| 399 424 | 
             
              * Refactor Site#render (#1638)
         | 
| 400 425 | 
             
              * Remove duplication in command line options (#1637)
         | 
| 401 426 | 
             
              * Add tests for all the coderay options (#1543)
         | 
| 402 | 
            -
              * Improve some of the  | 
| 427 | 
            +
              * Improve some of the Cucumber test code (#1493)
         | 
| 403 428 | 
             
              * Improve comparisons of timestamps by ignoring the seconds (#1582)
         | 
| 404 429 |  | 
| 405 430 | 
             
            ### Site Enhancements
         | 
| @@ -569,7 +594,7 @@ | |
| 569 594 | 
             
              * Latest posts first in non-LSI `related_posts` (#1271)
         | 
| 570 595 |  | 
| 571 596 | 
             
            ### Development Fixes
         | 
| 572 | 
            -
              * Merge the theme and layout  | 
| 597 | 
            +
              * Merge the theme and layout Cucumber steps into one step (#1151)
         | 
| 573 598 | 
             
              * Restrict activesupport dependency to pre-4.0.0 to maintain compatibility with `<= 1.9.2`
         | 
| 574 599 | 
             
              * Include/exclude deprecation handling simplification (#1284)
         | 
| 575 600 | 
             
              * Convert README to Markdown. (#1267)
         | 
| @@ -599,7 +624,7 @@ | |
| 599 624 | 
             
              * Update contributor information (#1192)
         | 
| 600 625 | 
             
              * Update URL of article about Blogger migration (#1242)
         | 
| 601 626 | 
             
              * Specify that RedCarpet is the default for new Jekyll sites on Quickstart page (#1247)
         | 
| 602 | 
            -
              * Added site.pages to Variables page in docs (#1251)
         | 
| 627 | 
            +
              * Added `site.pages` to Variables page in docs (#1251)
         | 
| 603 628 | 
             
              * Add Youku and Tudou Embed link on Plugins page. (#1250)
         | 
| 604 629 | 
             
              * Add note that `gist` tag supports private gists. (#1248)
         | 
| 605 630 | 
             
              * Add `jekyll-timeago` to list of third-party plugins. (#1260)
         | 
| @@ -617,7 +642,7 @@ | |
| 617 642 |  | 
| 618 643 | 
             
            ### Minor Enhancements
         | 
| 619 644 | 
             
              * Add support to gist tag for private gists. (#1189)
         | 
| 620 | 
            -
              * Fail loudly when  | 
| 645 | 
            +
              * Fail loudly when Maruku errors out (#1190)
         | 
| 621 646 | 
             
              * Move the building of related posts into their own class (#1057)
         | 
| 622 647 | 
             
              * Removed trailing spaces in several places throughout the code (#1116)
         | 
| 623 648 | 
             
              * Add a `--force` option to `jekyll new` (#1115)
         | 
| @@ -683,7 +708,7 @@ | |
| 683 708 | 
             
            ## 1.0.1 / 2013-05-08
         | 
| 684 709 |  | 
| 685 710 | 
             
            ### Minor Enhancements
         | 
| 686 | 
            -
              * Do not force use of toc_token when using generate_tok in RDiscount (#1048)
         | 
| 711 | 
            +
              * Do not force use of `toc_token` when using `generate_tok` in RDiscount (#1048)
         | 
| 687 712 | 
             
              * Add newer `language-` class name prefix to code blocks (#1037)
         | 
| 688 713 | 
             
              * Commander error message now preferred over process abort with incorrect args (#1040)
         | 
| 689 714 |  | 
| @@ -706,15 +731,15 @@ | |
| 706 731 | 
             
            ## 1.0.0 / 2013-05-06
         | 
| 707 732 |  | 
| 708 733 | 
             
            ### Major Enhancements
         | 
| 709 | 
            -
              * Add `jekyll new` subcommand: generate a  | 
| 710 | 
            -
              * Refactored  | 
| 734 | 
            +
              * Add `jekyll new` subcommand: generate a Jekyll scaffold (#764)
         | 
| 735 | 
            +
              * Refactored Jekyll commands into subcommands: build, serve, and migrate. (#690)
         | 
| 711 736 | 
             
              * Removed importers/migrators from main project, migrated to jekyll-import sub-gem (#793)
         | 
| 712 737 | 
             
              * Added ability to render drafts in `_drafts` folder via command line (#833)
         | 
| 713 738 | 
             
              * Add ordinal date permalink style (/:categories/:year/:y_day/:title.html) (#928)
         | 
| 714 739 |  | 
| 715 740 | 
             
            ### Minor Enhancements
         | 
| 716 741 | 
             
              * Site template HTML5-ified (#964)
         | 
| 717 | 
            -
              * Use post's directory path when matching for the post_url tag (#998)
         | 
| 742 | 
            +
              * Use post's directory path when matching for the `post_url` tag (#998)
         | 
| 718 743 | 
             
              * Loosen dependency on Pygments so it's only required when it's needed (#1015)
         | 
| 719 744 | 
             
              * Parse strings into Time objects for date-related Liquid filters (#1014)
         | 
| 720 745 | 
             
              * Tell the user if there is no subcommand specified (#1008)
         | 
| @@ -728,7 +753,7 @@ | |
| 728 753 | 
             
              * Expose new attribute to Liquid via `page`: `page.path` (#951)
         | 
| 729 754 | 
             
              * Accept multiple config files from command line (#945)
         | 
| 730 755 | 
             
              * Add page variable to liquid custom tags and blocks (#413)
         | 
| 731 | 
            -
              * Add paginator.previous_page_path and paginator.next_page_path (#942)
         | 
| 756 | 
            +
              * Add `paginator.previous_page_path` and `paginator.next_page_path` (#942)
         | 
| 732 757 | 
             
              * Backwards compatibility for 'auto' (#821, #934)
         | 
| 733 758 | 
             
              * Added date_to_rfc822 used on RSS feeds (#892)
         | 
| 734 759 | 
             
              * Upgrade version of pygments.rb to 0.4.2 (#927)
         | 
| @@ -747,7 +772,7 @@ | |
| 747 772 | 
             
              * Relaxed Kramdown version to 0.14 (#808)
         | 
| 748 773 | 
             
              * Aliased `jekyll server` to `jekyll serve`. (#792)
         | 
| 749 774 | 
             
              * Updated gem versions for Kramdown, Rake, Shoulda, Cucumber, and RedCarpet. (#744)
         | 
| 750 | 
            -
              * Refactored  | 
| 775 | 
            +
              * Refactored Jekyll subcommands into Jekyll::Commands submodule, which now contains them (#768)
         | 
| 751 776 | 
             
              * Rescue from import errors in Wordpress.com migrator (#671)
         | 
| 752 777 | 
             
              * Massively accelerate LSI performance (#664)
         | 
| 753 778 | 
             
              * Truncate post slugs when importing from Tumblr (#496)
         | 
| @@ -762,7 +787,7 @@ | |
| 762 787 | 
             
              * Paginate in subdirectories properly (#1016)
         | 
| 763 788 | 
             
              * Ensure post and page URLs have a leading slash (#992)
         | 
| 764 789 | 
             
              * Catch all exceptions, not just StandardError descendents (#1007)
         | 
| 765 | 
            -
              * Bullet-proof limit_posts option (#1004)
         | 
| 790 | 
            +
              * Bullet-proof `limit_posts` option (#1004)
         | 
| 766 791 | 
             
              * Read in YAML as UTF-8 to accept non-ASCII chars (#836)
         | 
| 767 792 | 
             
              * Fix the CLI option `--plugins` to actually accept dirs and files (#993)
         | 
| 768 793 | 
             
              * Allow 'excerpt' in YAML Front-Matter to override the extracted excerpt (#946)
         | 
| @@ -774,10 +799,10 @@ | |
| 774 799 | 
             
              * Force usage of older directory_watcher gem as 1.5 is broken (#883)
         | 
| 775 800 | 
             
              * Ensure all Post categories are downcase (#842, #872)
         | 
| 776 801 | 
             
              * Force encoding of the rdiscount TOC to UTF8 to avoid conversion errors (#555)
         | 
| 777 | 
            -
              * Patch for multibyte URI problem with jekyll serve (#723)
         | 
| 802 | 
            +
              * Patch for multibyte URI problem with `jekyll serve` (#723)
         | 
| 778 803 | 
             
              * Order plugin execution by priority (#864)
         | 
| 779 804 | 
             
              * Fixed Page#dir and Page#url for edge cases (#536)
         | 
| 780 | 
            -
              * Fix broken post_url with posts with a time in their YAML Front-Matter (#831)
         | 
| 805 | 
            +
              * Fix broken `post_url` with posts with a time in their YAML Front-Matter (#831)
         | 
| 781 806 | 
             
              * Look for plugins under the source directory (#654)
         | 
| 782 807 | 
             
              * Tumblr Migrator: finds `_posts` dir correctly, fixes truncation of long
         | 
| 783 808 | 
             
                  post names (#775)
         | 
| @@ -799,7 +824,7 @@ | |
| 799 824 | 
             
            ### Development Fixes
         | 
| 800 825 | 
             
              * Exclude Cucumber 1.2.4, which causes tests to fail in 1.9.2 (#938)
         | 
| 801 826 | 
             
              * Added "features:html" rake task for debugging purposes, cleaned up
         | 
| 802 | 
            -
                   | 
| 827 | 
            +
                  Cucumber profiles (#832)
         | 
| 803 828 | 
             
              * Explicitly require HTTPS rubygems source in Gemfile (#826)
         | 
| 804 829 | 
             
              * Changed Ruby version for development to 1.9.3-p374 from p362 (#801)
         | 
| 805 830 | 
             
              * Including a link to the GitHub Ruby style guide in CONTRIBUTING.md (#806)
         | 
| @@ -809,6 +834,7 @@ | |
| 809 834 | 
             
              * Switch to Simplecov for coverage report (#765)
         | 
| 810 835 |  | 
| 811 836 | 
             
            ## 0.12.1 / 2013-02-19
         | 
| 837 | 
            +
             | 
| 812 838 | 
             
            ### Minor Enhancements
         | 
| 813 839 | 
             
              * Update Kramdown version to 0.14.1 (#744)
         | 
| 814 840 | 
             
              * Test Enhancements
         | 
| @@ -817,11 +843,12 @@ | |
| 817 843 | 
             
              * Update Redcarpet version to 2.2.2 (#744)
         | 
| 818 844 |  | 
| 819 845 | 
             
            ## 0.12.0 / 2012-12-22
         | 
| 846 | 
            +
             | 
| 820 847 | 
             
            ### Minor Enhancements
         | 
| 821 848 | 
             
              * Add ability to explicitly specify included files (#261)
         | 
| 822 | 
            -
              * Add  | 
| 849 | 
            +
              * Add `--default-mimetype` option (#279)
         | 
| 823 850 | 
             
              * Allow setting of RedCloth options (#284)
         | 
| 824 | 
            -
              * Add post_url Liquid tag for internal post linking (#369)
         | 
| 851 | 
            +
              * Add `post_url` Liquid tag for internal post linking (#369)
         | 
| 825 852 | 
             
              * Allow multiple plugin dirs to be specified (#438)
         | 
| 826 853 | 
             
              * Inline TOC token support for RDiscount (#333)
         | 
| 827 854 | 
             
              * Add the option to specify the paginated url format (#342)
         | 
| @@ -831,9 +858,9 @@ | |
| 831 858 | 
             
              * Bug Fixes
         | 
| 832 859 | 
             
              * Allow some special characters in highlight names
         | 
| 833 860 | 
             
              * URL escape category names in URL generation (#360)
         | 
| 834 | 
            -
              * Fix error with limit_posts (#442)
         | 
| 861 | 
            +
              * Fix error with `limit_posts` (#442)
         | 
| 835 862 | 
             
              * Properly select dotfile during directory scan (#363, #431, #377)
         | 
| 836 | 
            -
              * Allow setting of Kramdown smart_quotes (#482)
         | 
| 863 | 
            +
              * Allow setting of Kramdown `smart_quotes` (#482)
         | 
| 837 864 | 
             
              * Ensure front-matter is at start of file (#562)
         | 
| 838 865 |  | 
| 839 866 | 
             
            ## 0.11.2 / 2011-12-27
         | 
| @@ -846,6 +873,7 @@ | |
| 846 873 | 
             
              * Update dependencies
         | 
| 847 874 |  | 
| 848 875 | 
             
            ## 0.11.0 / 2011-07-10
         | 
| 876 | 
            +
             | 
| 849 877 | 
             
            ### Major Enhancements
         | 
| 850 878 | 
             
              * Add command line importer functionality (#253)
         | 
| 851 879 | 
             
              * Add Redcarpet Markdown support (#318)
         | 
| @@ -867,9 +895,10 @@ | |
| 867 895 |  | 
| 868 896 | 
             
            ## 0.10.0 / 2010-12-16
         | 
| 869 897 | 
             
              * Bug Fixes
         | 
| 870 | 
            -
              * Add  | 
| 898 | 
            +
              * Add `--no-server` option.
         | 
| 871 899 |  | 
| 872 900 | 
             
            ## 0.9.0 / 2010-12-15
         | 
| 901 | 
            +
             | 
| 873 902 | 
             
            ### Minor Enhancements
         | 
| 874 903 | 
             
              * Use OptionParser's `[no-]` functionality for better boolean parsing.
         | 
| 875 904 | 
             
              * Add Drupal migrator (#245)
         | 
| @@ -878,11 +907,12 @@ | |
| 878 907 | 
             
              * Add Marley migrator (#28)
         | 
| 879 908 |  | 
| 880 909 | 
             
            ## 0.8.0 / 2010-11-22
         | 
| 910 | 
            +
             | 
| 881 911 | 
             
            ### Minor Enhancements
         | 
| 882 912 | 
             
              * Add wordpress.com importer (#207)
         | 
| 883 | 
            -
              * Add  | 
| 884 | 
            -
              * Add uri_escape filter (#234)
         | 
| 885 | 
            -
              * Add  | 
| 913 | 
            +
              * Add `--limit-posts` cli option (#212)
         | 
| 914 | 
            +
              * Add `uri_escape` filter (#234)
         | 
| 915 | 
            +
              * Add `--base-url` cli option (#235)
         | 
| 886 916 | 
             
              * Improve MT migrator (#238)
         | 
| 887 917 | 
             
              * Add kramdown support (#239)
         | 
| 888 918 | 
             
              * Bug Fixes
         | 
| @@ -891,6 +921,7 @@ | |
| 891 921 | 
             
              * Prevent `_includes` dir from being a symlink
         | 
| 892 922 |  | 
| 893 923 | 
             
            ## 0.7.0 / 2010-08-24
         | 
| 924 | 
            +
             | 
| 894 925 | 
             
            ### Minor Enhancements
         | 
| 895 926 | 
             
              * Add support for rdiscount extensions (#173)
         | 
| 896 927 | 
             
              * Bug Fixes
         | 
| @@ -902,13 +933,14 @@ | |
| 902 933 | 
             
              * Fix Rakefile 'release' task (tag pushing was missing origin)
         | 
| 903 934 | 
             
              * Ensure that RedCloth is loaded when textilize filter is used (#183)
         | 
| 904 935 | 
             
              * Expand source, destination, and plugin paths (#180)
         | 
| 905 | 
            -
              * Fix page.url to include full relative path (#181)
         | 
| 936 | 
            +
              * Fix `page.url` to include full relative path (#181)
         | 
| 906 937 |  | 
| 907 938 | 
             
            ## 0.6.1 / 2010-06-24
         | 
| 908 939 | 
             
              * Bug Fixes
         | 
| 909 940 | 
             
              * Fix Markdown Pygments prefix and suffix (#178)
         | 
| 910 941 |  | 
| 911 942 | 
             
            ## 0.6.0 / 2010-06-23
         | 
| 943 | 
            +
             | 
| 912 944 | 
             
            ### Major Enhancements
         | 
| 913 945 | 
             
              * Proper plugin system (#19, #100)
         | 
| 914 946 | 
             
              * Add safe mode so unsafe converters/generators can be added
         | 
| @@ -919,9 +951,9 @@ | |
| 919 951 | 
             
            ### Minor Enhancements
         | 
| 920 952 | 
             
              * Inclusion/exclusion of future dated posts (#59)
         | 
| 921 953 | 
             
              * Generation for a specific time (#59)
         | 
| 922 | 
            -
              * Allocate site.time on render not per site_payload invocation (#59)
         | 
| 954 | 
            +
              * Allocate `site.time` on render not per site_payload invocation (#59)
         | 
| 923 955 | 
             
              * Pages now present in the site payload and can be used through the
         | 
| 924 | 
            -
                  site.pages and site.html_pages variables
         | 
| 956 | 
            +
                  `site.pages` and `site.html_pages` variables
         | 
| 925 957 | 
             
              * Generate phase added to site#process and pagination is now a generator
         | 
| 926 958 | 
             
              * Switch to RakeGem for build/test process
         | 
| 927 959 | 
             
              * Only regenerate static files when they have changed (#142)
         | 
| @@ -933,9 +965,10 @@ | |
| 933 965 | 
             
              * Fix extension munging when pretty permalinks are enabled (#64)
         | 
| 934 966 | 
             
              * Stop sorting categories (#33)
         | 
| 935 967 | 
             
              * Preserve generated attributes over front matter (#119)
         | 
| 936 | 
            -
              * Fix source directory binding using Dir.pwd (#75)
         | 
| 968 | 
            +
              * Fix source directory binding using `Dir.pwd` (#75)
         | 
| 937 969 |  | 
| 938 970 | 
             
            ## 0.5.7 / 2010-01-12
         | 
| 971 | 
            +
             | 
| 939 972 | 
             
            ### Minor Enhancements
         | 
| 940 973 | 
             
              * Allow overriding of post date in the front matter (#62, #38)
         | 
| 941 974 | 
             
              * Bug Fixes
         | 
| @@ -943,7 +976,7 @@ | |
| 943 976 | 
             
              * Empty tags causes error in read_posts (#84)
         | 
| 944 977 | 
             
              * Fix pagination to adhere to read/render/write paradigm
         | 
| 945 978 | 
             
              * Test Enhancement
         | 
| 946 | 
            -
              *  | 
| 979 | 
            +
              * Cucumber features no longer use site.posts.first where a better
         | 
| 947 980 | 
             
                  alternative is available
         | 
| 948 981 |  | 
| 949 982 | 
             
            ## 0.5.6 / 2010-01-08
         | 
| @@ -1001,6 +1034,7 @@ | |
| 1001 1034 | 
             
              * Added Date#xmlschema for Ruby versions < 1.9
         | 
| 1002 1035 |  | 
| 1003 1036 | 
             
            ## 0.5.1 / 2009-05-06
         | 
| 1037 | 
            +
             | 
| 1004 1038 | 
             
            ### Major Enhancements
         | 
| 1005 1039 | 
             
              * Next/previous posts in site payload (@pantulis, @tomo)
         | 
| 1006 1040 | 
             
              * Permalink templating system
         | 
| @@ -1015,6 +1049,7 @@ | |
| 1015 1049 | 
             
              * CGI escaped post titles (@Chrononaut)
         | 
| 1016 1050 |  | 
| 1017 1051 | 
             
            ## 0.5.0 / 2009-04-07
         | 
| 1052 | 
            +
             | 
| 1018 1053 | 
             
            ### Minor Enhancements
         | 
| 1019 1054 | 
             
              * Ability to set post categories via YAML (@qrush)
         | 
| 1020 1055 | 
             
              * Ability to set prevent a post from publishing via YAML (@qrush)
         | 
| @@ -1033,18 +1068,20 @@ | |
| 1033 1068 | 
             
              * Add Cucumber acceptance test suite (@qrush, @technicalpickles)
         | 
| 1034 1069 |  | 
| 1035 1070 | 
             
            ## 0.4.1
         | 
| 1071 | 
            +
             | 
| 1036 1072 | 
             
            ### Minor Enhancements
         | 
| 1037 1073 | 
             
              * Changed date format on wordpress converter (zeropadding) (@dysinger)
         | 
| 1038 1074 | 
             
              * Bug Fixes
         | 
| 1039 | 
            -
              * Add  | 
| 1075 | 
            +
              * Add Jekyll binary as executable to gemspec (@dysinger)
         | 
| 1040 1076 |  | 
| 1041 1077 | 
             
            ## 0.4.0 / 2009-02-03
         | 
| 1078 | 
            +
             | 
| 1042 1079 | 
             
            ### Major Enhancements
         | 
| 1043 1080 | 
             
              * Switch to Jeweler for packaging tasks
         | 
| 1044 1081 |  | 
| 1045 1082 | 
             
            ### Minor Enhancements
         | 
| 1046 1083 | 
             
              * Type importer (@codeslinger)
         | 
| 1047 | 
            -
              * site.topics accessor (@baz)
         | 
| 1084 | 
            +
              * `site.topics` accessor (@baz)
         | 
| 1048 1085 | 
             
              * Add `array_to_sentence_string` filter (@mchung)
         | 
| 1049 1086 | 
             
              * Add a converter for textpattern (@PerfectlyNormal)
         | 
| 1050 1087 | 
             
              * Add a working Mephisto / MySQL converter (@ivey)
         | 
| @@ -1059,8 +1096,9 @@ | |
| 1059 1096 | 
             
              * Fix site payload available to files (@matrix9180)
         | 
| 1060 1097 |  | 
| 1061 1098 | 
             
            ## 0.3.0 / 2008-12-24
         | 
| 1099 | 
            +
             | 
| 1062 1100 | 
             
            ### Major Enhancements
         | 
| 1063 | 
            -
              * Added  | 
| 1101 | 
            +
              * Added `--server` option to start a simple WEBrick server on destination
         | 
| 1064 1102 | 
             
                  directory (@johnreilly and @mchung)
         | 
| 1065 1103 |  | 
| 1066 1104 | 
             
            ### Minor Enhancements
         | 
| @@ -1079,23 +1117,24 @@ | |
| 1079 1117 | 
             
            ## 0.2.1 / 2008-12-15
         | 
| 1080 1118 | 
             
              * Major Changes
         | 
| 1081 1119 | 
             
              * Use Maruku (pure Ruby) for Markdown by default (@mreid)
         | 
| 1082 | 
            -
              * Allow use of RDiscount with  | 
| 1120 | 
            +
              * Allow use of RDiscount with `--rdiscount` flag
         | 
| 1083 1121 |  | 
| 1084 1122 | 
             
            ### Minor Enhancements
         | 
| 1085 1123 | 
             
              * Don't load directory_watcher unless it's needed (@pjhyett)
         | 
| 1086 1124 |  | 
| 1087 1125 | 
             
            ## 0.2.0 / 2008-12-14
         | 
| 1088 1126 | 
             
              * Major Changes
         | 
| 1089 | 
            -
              * related_posts is now found in site.related_posts
         | 
| 1127 | 
            +
              * related_posts is now found in `site.related_posts`
         | 
| 1090 1128 |  | 
| 1091 1129 | 
             
            ## 0.1.6 / 2008-12-13
         | 
| 1092 1130 | 
             
              * Major Features
         | 
| 1093 1131 | 
             
              * Include files in `_includes` with `{% include x.textile %}`
         | 
| 1094 1132 |  | 
| 1095 1133 | 
             
            ## 0.1.5 / 2008-12-12
         | 
| 1134 | 
            +
             | 
| 1096 1135 | 
             
            ### Major Enhancements
         | 
| 1097 | 
            -
              * Code highlighting with Pygments if  | 
| 1098 | 
            -
              * Disable true LSI by default, enable with  | 
| 1136 | 
            +
              * Code highlighting with Pygments if `--pygments` is specified
         | 
| 1137 | 
            +
              * Disable true LSI by default, enable with `--lsi`
         | 
| 1099 1138 |  | 
| 1100 1139 | 
             
            ### Minor Enhancements
         | 
| 1101 1140 | 
             
              * Output informative message if RDiscount is not available (@JackDanger)
         | 
| @@ -1114,7 +1153,7 @@ | |
| 1114 1153 | 
             
              * Code hilighting (@vanpelt)
         | 
| 1115 1154 | 
             
              * Autobuild
         | 
| 1116 1155 | 
             
              * Bug Fixes
         | 
| 1117 | 
            -
              * Accept both  | 
| 1156 | 
            +
              * Accept both `\r\n` and `\n` in YAML header (@vanpelt)
         | 
| 1118 1157 |  | 
| 1119 1158 | 
             
            ## 0.1.2 / 2008-11-22
         | 
| 1120 1159 | 
             
              * Major Features
         | 
    
        data/Rakefile
    CHANGED
    
    | @@ -29,12 +29,8 @@ def gem_file | |
| 29 29 | 
             
              "#{name}-#{version}.gem"
         | 
| 30 30 | 
             
            end
         | 
| 31 31 |  | 
| 32 | 
            -
            def replace_header(head, header_name)
         | 
| 33 | 
            -
              head.sub!(/(\.#{header_name}\s*= ').*'/) { "#{$1}#{send(header_name)}'"}
         | 
| 34 | 
            -
            end
         | 
| 35 | 
            -
             | 
| 36 32 | 
             
            def normalize_bullets(markdown)
         | 
| 37 | 
            -
              markdown.gsub(/\s{2}\*{1}/, "-")
         | 
| 33 | 
            +
              markdown.gsub(/\n\s{2}\*{1}/, "\n-")
         | 
| 38 34 | 
             
            end
         | 
| 39 35 |  | 
| 40 36 | 
             
            def linkify_prs(markdown)
         | 
| @@ -94,3 +94,15 @@ Feature: Collections | |
| 94 94 | 
             
                When I run jekyll build
         | 
| 95 95 | 
             
                Then the _site directory should exist
         | 
| 96 96 | 
             
                And I should see "First document's output: <p>Use <code>Jekyll.configuration</code> to build a full configuration for use w/Jekyll.</p>\n\n<p>Whatever: foo.bar</p>" in "_site/index.html"
         | 
| 97 | 
            +
             | 
| 98 | 
            +
              Scenario: Filter documents by where
         | 
| 99 | 
            +
                Given I have an "index.html" page that contains "{% assign items = site.methods | where: 'whatever','foo.bar' %}Item count: {{ items.size }}"
         | 
| 100 | 
            +
                And I have fixture collections
         | 
| 101 | 
            +
                And I have a "_config.yml" file with content:
         | 
| 102 | 
            +
                """
         | 
| 103 | 
            +
                collections:
         | 
| 104 | 
            +
                - methods
         | 
| 105 | 
            +
                """
         | 
| 106 | 
            +
                When I run jekyll build
         | 
| 107 | 
            +
                Then the _site directory should exist
         | 
| 108 | 
            +
                And I should see "Item count: 1" in "_site/index.html"
         | 
    
        data/jekyll.gemspec
    CHANGED
    
    | @@ -33,7 +33,7 @@ Gem::Specification.new do |s| | |
| 33 33 | 
             
              s.add_runtime_dependency('listen', "~> 2.5")
         | 
| 34 34 | 
             
              s.add_runtime_dependency('kramdown', "~> 1.3")
         | 
| 35 35 | 
             
              s.add_runtime_dependency('pygments.rb', "~> 0.5.0")
         | 
| 36 | 
            -
              s.add_runtime_dependency('mercenary', "~> 0.3. | 
| 36 | 
            +
              s.add_runtime_dependency('mercenary', "~> 0.3.3")
         | 
| 37 37 | 
             
              s.add_runtime_dependency('safe_yaml', "~> 1.0")
         | 
| 38 38 | 
             
              s.add_runtime_dependency('colorator', "~> 0.1")
         | 
| 39 39 | 
             
              s.add_runtime_dependency('redcarpet', "~> 3.1")
         | 
| @@ -67,8 +67,6 @@ module Jekyll | |
| 67 67 | 
             
                        ignored = nil
         | 
| 68 68 | 
             
                      end
         | 
| 69 69 |  | 
| 70 | 
            -
                      Jekyll.logger.info "Auto-regeneration:", "enabled"
         | 
| 71 | 
            -
             | 
| 72 70 | 
             
                      listener = Listen.to(
         | 
| 73 71 | 
             
                        source,
         | 
| 74 72 | 
             
                        :ignore => ignored,
         | 
| @@ -77,11 +75,19 @@ module Jekyll | |
| 77 75 | 
             
                        t = Time.now.strftime("%Y-%m-%d %H:%M:%S")
         | 
| 78 76 | 
             
                        n = modified.length + added.length + removed.length
         | 
| 79 77 | 
             
                        print Jekyll.logger.formatted_topic("Regenerating:") + "#{n} files at #{t} "
         | 
| 80 | 
            -
                         | 
| 81 | 
            -
             | 
| 78 | 
            +
                        begin
         | 
| 79 | 
            +
                          process_site(site)
         | 
| 80 | 
            +
                          puts  "...done."
         | 
| 81 | 
            +
                        rescue => e
         | 
| 82 | 
            +
                          puts "...error:"
         | 
| 83 | 
            +
                          Jekyll.logger.warn "Error:", e.message
         | 
| 84 | 
            +
                          Jekyll.logger.warn "Error:", "Run jekyll build --trace for more information."
         | 
| 85 | 
            +
                        end
         | 
| 82 86 | 
             
                      end
         | 
| 83 87 | 
             
                      listener.start
         | 
| 84 88 |  | 
| 89 | 
            +
                      Jekyll.logger.info "Auto-regeneration:", "enabled"
         | 
| 90 | 
            +
             | 
| 85 91 | 
             
                      unless options['serving']
         | 
| 86 92 | 
             
                        trap("INT") do
         | 
| 87 93 | 
             
                          listener.stop
         |