Commit Graph

6327 Commits

Author SHA1 Message Date
Parker Moore b70ea3ca5c immutable_drop/errors: consolidate errors & fix syntax for raising
Addresses @envygeeks's comments:
bff1726a5a
2015-12-26 12:27:07 -05:00
Parker Moore 1afbe9967d document: return nil if bad arg in #<=>
Addresses @envygeek's comment:

233589e150 (commitcomment-15164178)
2015-12-26 12:23:21 -05:00
Parker Moore c63b51b661 document: revert comparison of Documents to old style & add nil check
@envygeeks, this should address your comment: fcce0d5482 (commitcomment-15162261)
2015-12-25 22:54:12 -05:00
Parker Moore debdb15171 Move 'forwardable' require to earlier in the program start up. 2015-12-25 22:45:51 -05:00
Parker Moore b34e8e0bc0 Update history to reflect merge of #4277
[ci skip]
2015-12-25 21:32:46 -05:00
Parker Moore ec25ddee17 Merge pull request #4277 from jekyll/document-drops
Merge pull request 4277
2015-12-25 21:32:01 -05:00
Parker Moore 3effae59d8 Update history to reflect merge of #4273
[ci skip]
2015-12-24 15:09:26 -05:00
Parker Moore 9ab232fd70 Merge pull request #4273 from midnightSuyama/add_plugin
Merge pull request 4273
2015-12-24 15:08:45 -05:00
Parker Moore b2b634e767 drops: use def_delegator more liberally where acceptable 2015-12-24 15:07:48 -05:00
Parker Moore fcce0d5482 document: fix issue with bad comparison 2015-12-24 15:07:31 -05:00
Parker Moore d070a77716 url: fix issue with bad URL escaping when using Drop 2015-12-24 15:07:20 -05:00
Parker Moore bff1726a5a immutable_drop: use custom error for bad set 2015-12-24 15:06:32 -05:00
Parker Moore 6a72d4a986 features/post_data: Fix undefined feature step. 2015-12-22 22:44:56 -05:00
Parker Moore cd2688ab66 test_excerpt & _page: use Drop instead of Hash to mock payload 2015-12-22 22:37:48 -05:00
Parker Moore 9bb59e9999 features/post_data: do NOT allow page.path to be overridden 2015-12-22 21:36:29 -05:00
Parker Moore 30ceda52ef features/hooks: global payload _is_ global -- not new for each page 2015-12-22 21:36:15 -05:00
Parker Moore 659f0869e0 features/collections: drops don't output like a hash -- update accordingly 2015-12-22 21:35:28 -05:00
Parker Moore 233589e150 document: throw ArgumentError if compared to non-doc 2015-12-22 21:34:24 -05:00
Parker Moore 532bb9e9cb Further consolidation in the Drops. 2015-12-22 21:33:42 -05:00
Alfred Xing bbbe6479e5 Update history to reflect merge of #4275
[ci skip]
2015-12-22 09:14:51 -08:00
Alfred Xing 9288c81854 Merge pull request #4275 from plaindocs/master
Merge pull request 4275
2015-12-22 09:13:56 -08:00
Parker Moore 4935e85f7c CollectionDrop: to_s should work like Array#to_s 2015-12-21 23:41:36 -05:00
Parker Moore 03488b1cde DocumentDrop: use def_delegators instead of duplicating methods 2015-12-21 23:36:31 -05:00
Parker Moore ebe3c10604 Drops: fix accessing of site collections via site.COL_NAME 2015-12-21 23:33:33 -05:00
Samuel Wright b9721024be URL fix up 2015-12-22 11:33:25 +07:00
Parker Moore 82c3ee365f Initial work on using Liquid::Drops instead of Hashes.
The properties of Liquid::Drops are only evaluated when they're asked for
and therefore save computation time. This prevents a lot of GC time cleaning
up objects that are not needed, because they're not created unless requested.
Additionally, this saves time for actual computation of those values because
they can be computed only if needed.

It's funny how much it helps when you only do what is needed. Far less overhead.
2015-12-21 22:47:30 -05:00
Parker Moore f92d6639e6 Rakefile: alias :generate to :build 2015-12-21 22:46:58 -05:00
Parker Moore fe5984ee15 History: move reference for #4173 to latest HEAD, not 3.0.1 2015-12-21 22:46:58 -05:00
Samuel Wright cc63354367 Adding markdown examples to Pages
Fix for #3824
2015-12-21 11:56:13 +07:00
midnightSuyama 37517c9a39 Add jekyll-paginate-category to plugins.md 2015-12-20 03:02:24 +09:00
Parker Moore 4c050bba65 docs: posts example code is invalid UTF-8, use three dots instead of ellipsis
Fixes #4271
2015-12-18 10:19:42 -08:00
Decider UI 05285798be site: remove preceding space before coffeescript installation steps list items
Closes #4267
2015-12-16 16:54:30 -08:00
Parker Moore 645a2cc664 test/test_doctor_command.rb: fix test for Doctor.urls_only_differ_by_case 2015-12-14 20:59:52 -08:00
Parker Moore 595ad56a7e Update history to reflect merge of #4263
[ci skip]
2015-12-14 20:26:08 -08:00
Parker Moore be06296595 Merge pull request #4263 from qrush/doctor-to-jekyll
Merge pull request 4263
2015-12-14 20:24:48 -08:00
Nick Quaranto 115926fd54 Change TestDoctorCommand to JekyllUnitTest since Test constant doesn't necessarily exist 2015-12-14 21:58:36 -05:00
Parker Moore fb8bf7bab6 Update history to reflect merge of #3171
[ci skip]
2015-12-13 12:26:58 -08:00
Parker Moore fdcd761313 Merge branch 'akoeplinger-doctor-permalink-same-case-warning'
* akoeplinger-doctor-permalink-same-case-warning:
  Added tests for new jekyll doctor warning
  Incorporate code review feedback
  Incorporate code review feedback
  Add a Jekyll doctor warning for URLs that only differ by case
2015-12-13 12:26:07 -08:00
Parker Moore 2c5a5e76ec script/stackprof: allow CLI to set stackprof mode [ci skip] 2015-12-13 12:21:32 -08:00
Jordon Bedwell 02b8e326ed [CI:SKIP] Update history.markdown to reflect the merger of #4259. 2015-12-13 08:09:44 -06:00
Jordon Bedwell 366a1d8979 Merge pull request #4259 from itsdn/patch-1
Fix checklist in _assets.md
2015-12-13 08:08:42 -06:00
Dan K 05924bae5e Fix checklist in _assets.md 2015-12-13 16:52:35 +03:00
Parker Moore 763702d4ff Merge pull request #4255 from ofalvai/patch-1
Upgrading 2-3: Added missing links to Pygments.rb and Rouge
2015-12-12 10:08:04 -08:00
Olivér Falvai e61e93b486 Added missing links to Pygments.rb and Rouge 2015-12-12 15:08:12 +01:00
Parker Moore b9d4419749 Merge pull request #4048 from chrisfinazzo/grammar-fixes
Typos and line wrapping
2015-12-11 14:12:16 -08:00
Parker Moore 9e5b1c9f6a Update history to reflect merge of #4052
[ci skip]
2015-12-11 14:11:40 -08:00
Parker Moore 92adfd0e46 Merge pull request #4052 from Crunch09/process-empty-config-files
Merge pull request 4052
2015-12-11 14:11:11 -08:00
Parker Moore b94800361b Collection: change missing_method message to be a bit clearer.
Fixes #4234. Fixes #4199.
2015-12-11 14:07:34 -08:00
Parker Moore dfa3f8b33a Update history to reflect merge of #4184
[ci skip]
2015-12-11 14:03:05 -08:00
Parker Moore 4f21458b34 Merge pull request #4184 from ducktyper/allow-quoted-dates
Merge pull request 4184
2015-12-11 14:02:55 -08:00