3292850b98 
								
							 
						 
						
							
							
								
								Merge pull request  #4936  from pathawks/passing  
							
							... 
							
							
							
							Merge pull request 4936 
							
						 
						
							2016-05-25 08:53:39 -07:00  
				
					
						
							
							
								 
						
							
								2ca80920dc 
								
							 
						 
						
							
							
								
								rubocop: fix include tag code style  
							
							
							
						 
						
							2016-05-25 13:15:04 +03:00  
				
					
						
							
							
								 
						
							
								f8c708ffec 
								
							 
						 
						
							
							
								
								Fix test to simply ensure next is an object in jsonify  
							
							
							
						 
						
							2016-05-24 19:08:50 -05:00  
				
					
						
							
							
								 
						
							
								17d8c96a63 
								
							 
						 
						
							
							
								
								Add ability to render drops as JSON  
							
							... 
							
							
							
							Previously you could do, e.g. {{ site | jsonify }}, but with the introduction of Liquid Drops, this didn't work anymore.
This PR adds the ability to render drops as JSON. You can safely run drop.to_json and it should Do the Right Thing. 
							
						 
						
							2016-05-24 19:08:46 -05:00  
				
					
						
							
							
								 
						
							
								ad7bd84098 
								
							 
						 
						
							
							
								
								lib/jekyll.rb: require document_drop to ease our pain  
							
							
							
						 
						
							2016-05-24 19:03:32 -05:00  
				
					
						
							
							
								 
						
							
								1a05483a63 
								
							 
						 
						
							
							
								
								Sort the results of the require_all glob.  
							
							... 
							
							
							
							Filesystems behave differently when performing glob listings.
In my environment, they are listed alphabetically. On my Mac, when asking for a list of files in a directory, those files are returned as a nicely sorted list. Alphabetized, like you'd want them to be. Like you'd expect them to be.
In some environments, quite different from my own, the return of a similar operation is quite random. Perhaps q comes before a, or e before d; the filesystem will choose its order of the day and you, the fare user, tired and weary from work, must bare the brunt of this.
And so, with this commit, I do hereby request that the noble makers of Dir[] provide for us, the downtrodden and ravaged users, some consistency. As a user of Ruby, I shouldn't have to know or consider the behaviour of an individual filesystem here; it should function the same for all filesystems.
Truly yours,
Parker 
							
						 
						
							2016-05-24 19:03:32 -05:00  
				
					
						
							
							
								 
						
							
								cc0c5ea19e 
								
							 
						 
						
							
							
								
								Rubocop fixes  
							
							
							
						 
						
							2016-05-24 19:01:35 -05:00  
				
					
						
							
							
								 
						
							
								db7cd6f612 
								
							 
						 
						
							
							
								
								Reset {{ layout }} between each render & merge layout data properly  
							
							
							
						 
						
							2016-05-24 18:57:54 -05:00  
				
					
						
							
							
								 
						
							
								8e939cd86e 
								
							 
						 
						
							
							
								
								Add failing test for layout data inheritance bug ( #4433 )  
							
							
							
						 
						
							2016-05-24 18:57:54 -05:00  
				
					
						
							
							
								 
						
							
								a99adcafaa 
								
							 
						 
						
							
							
								
								Add failing test for layout bug ( #4897 )  
							
							
							
						 
						
							2016-05-24 18:57:53 -05:00  
				
					
						
							
							
								 
						
							
								7641971d7e 
								
							 
						 
						
							
							
								
								Fix tests for plugins in configuration.  
							
							
							
						 
						
							2016-05-24 18:49:06 -05:00  
				
					
						
							
							
								 
						
							
								48274244e3 
								
							 
						 
						
							
							
								
								Define Drop#each so we can use the new frozen/duping behavior  
							
							
							
						 
						
							2016-05-24 18:49:06 -05:00  
				
					
						
							
							
								 
						
							
								d5c3785d29 
								
							 
						 
						
							
							
								
								Don't default 'include' and 'exclude' to an empty array  
							
							
							
						 
						
							2016-05-24 18:49:06 -05:00  
				
					
						
							
							
								 
						
							
								de5970ae55 
								
							 
						 
						
							
							
								
								Fix some minor things in the tests  
							
							
							
						 
						
							2016-05-24 18:49:05 -05:00  
				
					
						
							
							
								 
						
							
								d84844c223 
								
							 
						 
						
							
							
								
								Freeze configuration defaults & duplicate in deep_merge_hashes if need be.  
							
							
							
						 
						
							2016-05-24 18:49:05 -05:00  
				
					
						
							
							
								 
						
							
								ad59b6e62a 
								
							 
						 
						
							
							
								
								Remove merge conflicts I forgot to fix.  
							
							
							
						 
						
							2016-05-24 18:49:02 -05:00  
				
					
						
							
							
								 
						
							
								37b93f10dd 
								
							 
						 
						
							
							
								
								Add missing 'end' to test/helper.rb  
							
							
							
						 
						
							2016-05-24 18:47:15 -05:00  
				
					
						
							
							
								 
						
							
								59346eb228 
								
							 
						 
						
							
							
								
								Remove call to #backwards_compatibilize in Configuration.from  
							
							
							
						 
						
							2016-05-24 18:47:15 -05:00  
				
					
						
							
							
								 
						
							
								8af77643c5 
								
							 
						 
						
							
							
								
								Site#site_payload: sort collections by label  
							
							
							
						 
						
							2016-05-24 18:47:15 -05:00  
				
					
						
							
							
								 
						
							
								f52a0e7200 
								
							 
						 
						
							
							
								
								Configuration#add_default_collections: fix bug where DEFAULTS['collections'] is modified  
							
							
							
						 
						
							2016-05-24 18:47:15 -05:00  
				
					
						
							
							
								 
						
							
								d01f7943de 
								
							 
						 
						
							
							
								
								Add Configuration.from & use in Jekyll.configuration.  
							
							... 
							
							
							
							This process streamlines the creation of new configurations. Creating a new
site will choke if not all the correct options are given.
Configuration.from will ensure the overrides have all string keys and
ensures all the common issues & defaults are in place so a Site can be
created.
A common use:
    config = Configuration.from({ 'permalink' => '/:title/' }) # etc
    site = Jekyll::Site.new(config) 
							
						 
						
							2016-05-24 18:47:15 -05:00  
				
					
						
							
							
								 
						
							
								fab092fcec 
								
							 
						 
						
							
							
								
								Remove use of Marshal in runtime code.  
							
							
							
						 
						
							2016-05-24 18:47:15 -05:00  
				
					
						
							
							
								 
						
							
								4e06f07ad4 
								
							 
						 
						
							
							
								
								Add tests for Configuration#add_default_collections  
							
							
							
						 
						
							2016-05-24 18:47:14 -05:00  
				
					
						
							
							
								 
						
							
								6eaa8e90f8 
								
							 
						 
						
							
							
								
								Don't read a config file if the filename is empty.  
							
							
							
						 
						
							2016-05-24 18:47:14 -05:00  
				
					
						
							
							
								 
						
							
								04d4473119 
								
							 
						 
						
							
							
								
								Use Marshal to duplicate configuration defaults to prevent manipulation  
							
							
							
						 
						
							2016-05-24 18:47:14 -05:00  
				
					
						
							
							
								 
						
							
								dbcbf809ff 
								
							 
						 
						
							
							
								
								Refactor some tests to prevent manipulation of Jekyll::Config::DEFAULTS  
							
							
							
						 
						
							2016-05-24 18:47:04 -05:00  
				
					
						
							
							
								 
						
							
								f2263a11b7 
								
							 
						 
						
							
							
								
								Only write collections.posts.permalink if permalink is set.  
							
							
							
						 
						
							2016-05-24 18:40:19 -05:00  
				
					
						
							
							
								 
						
							
								c69ca4c11e 
								
							 
						 
						
							
							
								
								Test#build_configs shouldn't overwrite default collections  
							
							
							
						 
						
							2016-05-24 18:40:19 -05:00  
				
					
						
							
							
								 
						
							
								48f16974ce 
								
							 
						 
						
							
							
								
								Rubocop fixes  
							
							
							
						 
						
							2016-05-24 18:27:37 -05:00  
				
					
						
							
							
								 
						
							
								7d3f8ac75d 
								
							 
						 
						
							
							
								
								excerpt drop should give access to document's layout  
							
							
							
						 
						
							2016-05-24 17:35:03 -05:00  
				
					
						
							
							
								 
						
							
								c0910f2bc5 
								
							 
						 
						
							
							
								
								look up the content methods for drops in a smarter way  
							
							
							
						 
						
							2016-05-24 17:34:49 -05:00  
				
					
						
							
							
								 
						
							
								3896f6d5d8 
								
							 
						 
						
							
							
								
								Use require_relative  
							
							
							
						 
						
							2016-05-24 17:32:33 -05:00  
				
					
						
							
							
								 
						
							
								b019234007 
								
							 
						 
						
							
							
								
								Add ExcerptDrop and remove excerpt's ability to refer to itself in Liquid  
							
							
							
						 
						
							2016-05-24 17:30:03 -05:00  
				
					
						
							
							
								 
						
							
								2c567a6dc3 
								
							 
						 
						
							
							
								
								Document normalize_whitepace filter  
							
							
							
						 
						
							2016-05-24 16:36:50 -05:00  
				
					
						
							
							
								 
						
							
								80a65d161f 
								
							 
						 
						
							
							
								
								rubocop: fix post URL tag code style  
							
							
							
						 
						
							2016-05-24 17:23:25 +03:00  
				
					
						
							
							
								 
						
							
								0d11511914 
								
							 
						 
						
							
							
								
								rubocop: fix link tag code style  
							
							
							
						 
						
							2016-05-24 17:13:54 +03:00  
				
					
						
							
							
								 
						
							
								41a8b10780 
								
							 
						 
						
							
							
								
								rubocop: fix highlight tag code style  
							
							
							
						 
						
							2016-05-24 17:03:06 +03:00  
				
					
						
							
							
								 
						
							
								a8d27e5788 
								
							 
						 
						
							
							
								
								Rubocop: Low hanging fruit  
							
							
							
						 
						
							2016-05-23 22:10:49 -05:00  
				
					
						
							
							
								 
						
							
								e02049727b 
								
							 
						 
						
							
							
								
								Update history to reflect merge of  #4916  
							
							... 
							
							
							
							[ci skip] 
							
						 
						
							2016-05-23 13:44:00 -07:00  
				
					
						
							
							
								 
						
							
								6eaf2634f2 
								
							 
						 
						
							
							
								
								Merge pull request  #4916  from brint/rubocop_cleaning  
							
							... 
							
							
							
							Merge pull request 4916 
							
						 
						
							2016-05-23 13:36:48 -07:00  
				
					
						
							
							
								 
						
							
								dbda462c2f 
								
							 
						 
						
							
							
								
								Adding double quotes & freeze back to version after rebase  
							
							
							
						 
						
							2016-05-20 21:51:16 -05:00  
				
					
						
							
							
								 
						
							
								6db5272528 
								
							 
						 
						
							
							
								
								Splitting args onto own lines in test/test_static_file.rb  
							
							... 
							
							
							
							For functions where the character limit was exceeded
and line wrapping was needed, this commit just splits
each arg into it's own line. 
							
						 
						
							2016-05-20 21:24:34 -05:00  
				
					
						
							
							
								 
						
							
								281a873c71 
								
							 
						 
						
							
							
								
								lib/jekyll/utils/platforms.rb didn't have any rubocop errors  
							
							
							
						 
						
							2016-05-20 21:24:34 -05:00  
				
					
						
							
							
								 
						
							
								d743c80357 
								
							 
						 
						
							
							
								
								Rubocop fixes for lib/jekyll/utils/ansi.rb  
							
							
							
						 
						
							2016-05-20 21:24:34 -05:00  
				
					
						
							
							
								 
						
							
								e85f2a0ee9 
								
							 
						 
						
							
							
								
								Rubocop fixes for lib/jekyll/version.rb  
							
							
							
						 
						
							2016-05-20 21:24:34 -05:00  
				
					
						
							
							
								 
						
							
								8f07affe2a 
								
							 
						 
						
							
							
								
								Rubocop fixes for test/test_related_posts.rb  
							
							
							
						 
						
							2016-05-20 21:23:29 -05:00  
				
					
						
							
							
								 
						
							
								a9f110b861 
								
							 
						 
						
							
							
								
								Rubocop fixes for test/test_sass.rb  
							
							
							
						 
						
							2016-05-20 21:23:29 -05:00  
				
					
						
							
							
								 
						
							
								16c1146b4f 
								
							 
						 
						
							
							
								
								Rubocop fixes for test/test_static_file.rb  
							
							
							
						 
						
							2016-05-20 21:23:29 -05:00  
				
					
						
							
							
								 
						
							
								1380836a4b 
								
							 
						 
						
							
							
								
								Rubocop fixes for test/test_theme.rb  
							
							
							
						 
						
							2016-05-20 21:23:29 -05:00  
				
					
						
							
							
								 
						
							
								013e2f159d 
								
							 
						 
						
							
							
								
								Rubocop fixes for test/test_url.rb  
							
							
							
						 
						
							2016-05-20 21:23:29 -05:00