Commit Graph

544 Commits

Author SHA1 Message Date
Peter Rhoades
e6345f39a9 Renaming LogWriter to LogAdapter and adding tests for class
String coloring moved to Stevenson as not responsibility of LogAdapter
2014-05-24 21:22:10 +01:00
Parker Moore
b9c3d8ba03 Merge pull request #2373 from tschmidt/handle-categories-in-site-config-defaults 2014-05-21 01:10:37 -04:00
Parker Moore
3c6377d665 Merge pull request #2395 from rdumont/data-subdirectories 2014-05-21 01:09:15 -04:00
Parker Moore
5aefaa1c48 Merge pull request #2418 from mathbruyen/collections_permalink 2014-05-20 22:52:29 -04:00
Parker Moore
7e05b6e0b3 Merge pull request #2420 from albertogg/fix-encoding-issue 2014-05-20 22:35:50 -04:00
Alberto Grespan
879184fe37 Update unescaped string test
Nothing was being tested without explicitly making the string
encoding ASCII.
2014-05-20 17:04:08 -04:30
Alberto Grespan
7ce849a2b6 Revert changes and add encoding to the test file
* Add encoding to the test file as Ruby 1.9.3 doesn’t defaults to utf-8.
* Remove the forced encoding as encode seems too aggressive.
2014-05-20 00:03:40 -04:30
Parker Moore
54fba9af4b Merge pull request #2406 from yihangho/config-yaml 2014-05-20 00:15:58 -04:00
Alberto Grespan
2a1054b1a8 Change test to make it pass in Ruby 1.9.3 2014-05-19 22:08:14 -04:30
Alberto Grespan
2f3390750d Add tests to validate encoding of URLs
Added tests to validate the encoding of returned URL strings
after been escaped or unescaped.
2014-05-19 18:45:47 -04:30
Yihang Ho
658a4d0b47 Try to load _config.yaml if _config.yml is nonexistent. 2014-05-19 09:06:55 +08:00
Mathieu Bruyen
921dbe0547 Override collection url template 2014-05-17 10:40:52 +02:00
Parker Moore
4147e92561 Merge pull request #2417 from jekyll/jekyll-env 2014-05-17 00:53:55 -04:00
Parker Moore
3413c96845 Add test for Jekyll.env 2014-05-17 00:47:03 -04:00
Parker Moore
04b0fe0160 Merge pull request #2377 from jekyll/numeric 2014-05-16 03:50:50 -04:00
Parker Moore
4d1c84aa2b date_to_xmlschema does some weird things with timezones, but whatever it's not important. 2014-05-16 03:42:35 -04:00
Quinn Shanahan
5ea62443f4 override EXCERPT_ATTRIBUTES_FOR_LIQUID
Allow EXCERPT_ATTRIBUTES_FOR_LIQUID to be overridden by inheriting class. Right now will always reference Jekyll::Post::EXCERPT_ATTRIBUTES_FOR_LIQUID. This is already being used in the codebase for ATTRIBUTES_FOR_LIQUID.
2014-05-14 13:39:16 -04:00
Rodrigo Dumont
604fb3286c Allow subdirectories in _data 2014-05-11 20:28:49 -03:00
Anatol Broder
7cd95734df Fix coding for 1.9.3 2014-05-11 02:22:58 +02:00
Anatol Broder
06cebb0816 Add ascii+utf8 sort. Props @ixti 2014-05-11 01:34:09 +02:00
Anatol Broder
b2f30f5bee Test Russian and Hebrew sort 2014-05-11 01:06:35 +02:00
Parker Moore
01c09fd7fa Merge pull request #2345 from penibelst/sort-collection 2014-05-10 15:42:53 -04:00
Parker Moore
af9f1e6f48 Accept Numeric values for dates. 2014-05-09 23:11:05 -04:00
Terry Schmidt
0371b69952 Set categor[y|ies] on post if they appear in site frontmatter defaults 2014-05-09 13:34:13 -05:00
Ben Balter
5129a3ccc3 add tests for json data 2014-05-09 10:29:37 -04:00
Anatol Broder
ab3aaebe6d Resolve second conflict 2014-05-09 08:59:46 +02:00
Parker Moore
f2f2ebfa4f Register subclasses of subclasses of Jekyll::Plugin
The Sass and SCSS converters are practically the same – only different in
the input syntax and file extension. As such, we've created
`Jekyll::Converters::Scss` which is a subclass of `Jekyll::Converter`, and
`Jekyll::Converters::Sass` which is a subclass of
`Jekyll::Converters::Scss`. When `Site#instantiate_classes` is called on
`Jekyll::Converter`, it only instantiates the `Scss` converter, not the
`Sass` converter. This change fixes that.

Fixes #2334.
2014-05-07 14:59:08 -04:00
Parker Moore
aef2134128 Remove unneeded tests for the sass converter plugin. 2014-05-06 21:09:51 -04:00
Matt Rogers
5c109ee8dc Merge pull request #2299 from penibelst/sort-nils 2014-05-06 16:49:40 -05:00
Anatol Broder
7c1709fab4 Change nils argument to string 2014-05-06 21:36:13 +02:00
Anatol Broder
558d0e8ac9 Add more strings tests 2014-05-06 21:07:09 +02:00
Parker Moore
6c1bb76316 Merge pull request #2303 from jekyll/jbranchaud-adding_exclude_tests 2014-05-06 14:40:18 -04:00
Parker Moore
5d827ac40e No more relative permalinks! Fix for a test. 2014-05-06 13:16:51 -04:00
Parker Moore
ba8783190b Fix test for new command's output. 2014-05-06 13:16:41 -04:00
Parker Moore
4c55c77c04 Using stderr instead of stdout 2014-05-06 13:15:19 -04:00
Parker Moore
2aa8908948 Stevenson now uses symbols instead of integers to set log level 2014-05-06 13:03:56 -04:00
jbranchaud
e4c3a8d0df Adding two new test cases for exclude configuration use cases. 2014-05-06 12:43:44 -04:00
Anatol Broder
9c9e96cfa7 Add lexicographical sort test 2014-05-06 07:48:33 +02:00
Anatol Broder
cc80aab191 Add generic tests 2014-05-05 11:14:07 +02:00
Valery Tolstov
cf4304ab2b Update tests
Remove language literal from class in test/test_redcarpet.rb
2014-05-03 21:46:16 +04:00
John Piasetzki
d6bd735aff Refactor highlighting
Extract some of the common logic from the renderers.
2014-04-27 23:20:00 -04:00
Parker Moore
bac4075128 Collections' "written" attribute has been changed to "output".
This is a follow-up to 068d921ef6.
2014-04-27 15:56:02 -04:00
Parker Moore
6225073095 Use the 'output' key instead of 'write' for writing out collections' document files. 2014-04-25 19:47:35 -04:00
Parker Moore
d2b1d538bf Add test for collections' new #to_liquid sturff 2014-04-24 14:07:08 -04:00
Parker Moore
fb39b41ffb NO MORE DATA COLLECTION I CAN'T HANDLE IT 2014-04-24 13:59:25 -04:00
Parker Moore
0dc680df0b Always render collections, just don't always write them 2014-04-24 13:59:24 -04:00
Parker Moore
4de2be8c5f Add Jekyll::LiquidExtensions.lookup_variable
To use, just include `Jekyll::LiquidExtensions` as you please:

```ruby
class SayHi < Liquid::Tag
  include Jekyll::LiquidExtensions

  def initialize(tag_name, markup, tokens)
    @markup = markup.strip
  end

  def render(context)
    "hi #{lookup_variable(context, @markup)}"
  end
end
```

Fixes #2071.
2014-04-22 14:27:47 -04:00
Parker Moore
1e16ab4d26 end the ned 2014-04-19 12:35:58 -04:00
Ben Balter
e91a90899c do the do 2014-04-18 18:12:47 -04:00
Ben Balter
4f7b1f3306 no -> not 2014-04-18 16:56:37 -04:00