Commit Graph

186 Commits

Author SHA1 Message Date
Ashwin Maroli eca450454f
Fix regression in Convertible module from v4.2.0 (#8786)
Merge pull request 8786
2021-08-29 03:22:42 -04:00
Ashwin Maroli 01825f51db
Stash attribute hash for Liquid computed for pages (#8497)
Merge pull request 8497
2020-12-10 09:00:23 -05:00
Ashwin Maroli c70437e2de Correct offenses reported by RuboCop 1.6.0 2020-12-09 23:07:40 +05:30
Ashwin Maroli 26086409bf
Debug reading Page and Layout objects (#8100)
Merge pull request 8100
2020-11-11 07:29:05 -05:00
Ashwin Maroli a6bbcb7fb6
Memoize defaults computed for Convertibles (#8451)
Merge pull request 8451
2020-11-02 04:04:21 -05:00
Frank Taillandier bcff13a16a
chore(deps): bump Rubocop to 0.93.0 (#8430)
Merge pull request 8430
2020-10-08 15:32:49 -04:00
Ashwin Maroli e42c35c9ac
Reduce Jekyll::Renderer instances during a build (#7570)
Merge pull request 7570
2020-04-12 21:12:48 -04:00
Ashwin Maroli 389eb88c20
Attain Ruby 3.0 compatibility (#7948)
Merge pull request 7948
2020-01-31 13:07:08 -05:00
Ashwin Maroli 65f8831168 Reduce allocations by using #each_with_object (#7758)
Merge pull request 7758
2019-08-04 16:08:54 -04:00
Ashwin Maroli b04e3d3de7 Store list of expected extnames in a constant (#7638)
Merge pull request 7638
2019-05-01 14:54:18 -04:00
jekyllbot a28f54a59f
Bump Rubocop to v0.59.0 (#7237)
Merge pull request 7237
2018-09-09 18:14:46 -04:00
Pat Hawks 7a4b3fe03d Disable Liquid via front matter (#6824)
Merge pull request 6824
2018-07-13 12:12:49 -04:00
Frank Taillandier 6c771608e5 Update Rubocop's config (#7050)
Merge pull request 7050
2018-06-02 06:50:32 -04:00
ashmaroli 36fbcaa863 Optimize loading library into memory (#6910)
Merge pull request 6910
2018-04-10 11:00:12 -04:00
David Zhang 2a032a38ec Bump Rubocop to 0.54.x (#6915)
Merge pull request 6915
2018-04-09 04:26:49 -04:00
ashmaroli 8595c67df0 Debug writing files during the build process (#6696)
Merge pull request 6696
2018-03-19 09:30:41 -04:00
ashmaroli 23bb50c71c Bypass rendering via Liquid unless required (#6735)
Merge pull request 6735
2018-02-28 11:06:08 -05:00
Jonathan Hooper 1c469eb53a Rescue from Psych::SyntaxError instead of SyntaxError after parsing YAML (#5828)
Merge pull request 5828
2017-11-22 09:37:18 -05:00
ashmaroli 9632733efa enable 'Lint/RescueWithoutErrorClass' Cop (#6482)
Merge pull request 6482
2017-10-28 11:24:41 -04:00
ashmaroli e5403396b7 Disable default layouts for Pages with a `layout: none` declaration (#6182)
Merge pull request 6182
2017-09-23 16:03:40 -04:00
ashmaroli 00bad8bfe5 Bump rubocop to use `v0.50.x` (#6368)
Merge pull request 6368
2017-09-22 09:06:32 -04:00
Parker Moore 7cf5f51ca2 Enforce Style/FrozenStringLiteralComment. (#6265)
Merge pull request 6265
2017-08-03 21:27:32 -04:00
Anatoliy Yastreb d3b00cb84c Bump Rubocop to 0.49.1 (#6093)
Merge pull request 6093
2017-06-15 08:29:35 -04:00
Jonathan Hooper 308ba550ef Add option to fail a build with front matter syntax errors (#5832)
Merge pull request 5832
2017-05-09 20:17:36 -04:00
Anatoliy Yastreb 1c33bd5797
rubocop: reduce code complexity and remove duplicated code 2017-03-31 01:12:01 -04:00
Parker Moore 5bc67c1fb7
Convertible#validate_permalink!: ensure the return value of data["permalink"] is a string before asking if it is empty 2017-02-10 21:56:43 -05:00
Parker Moore 3840a38081
Convertible: set self.output in #render_all_layouts and #do_layout 2016-09-07 15:59:43 -07:00
Parker Moore a78426f20d
Convertible#read_yaml: disable Metrics/AbcSize check 2016-08-30 14:39:49 -07:00
Parker Moore 9ddc12bad8
Convertible: ensure layouts the argument and payload the argument are set properly in the renderer 2016-08-30 14:39:20 -07:00
Parker Moore 73e79f0049
Proxy Convertible#converters to Renderer#run 2016-08-30 14:14:22 -07:00
Parker Moore 8496e2e8b6
Proxy Convertible#render_liquid to Renderer 2016-08-30 14:14:12 -07:00
Parker Moore d0f57b61d4
Proxy Convertible#transform to Renderer 2016-08-30 14:14:03 -07:00
Parker Moore 741102bd40
Proxy Convertible#converters to Renderer 2016-08-30 14:13:26 -07:00
Parker Moore b781b9967d
Proxy Convertible#render_all_layouts to Renderer.place_in_layouts 2016-08-30 14:04:57 -07:00
Stephen Checkoway 8d4ab9366e Show liquid warnings. 2016-07-24 13:04:28 -05:00
Anatoliy Yastreb 2bbad7cb43 rubocop: fix code style 2016-06-25 15:11:50 +03:00
Parker Moore db7cd6f612 Reset {{ layout }} between each render & merge layout data properly 2016-05-24 18:57:54 -05:00
Parker Moore 2b73696d03
Set @path and @base_dir on the Layout per whether it's in the theme 2016-04-21 16:10:19 -07:00
Parker Moore 42cc2445a5
Merge branch 'master' into themes
* master: (58 commits)
  Update history to reflect merge of #4792 [ci skip]
  Update history to reflect merge of #4793 [ci skip]
  Update history to reflect merge of #4804 [ci skip]
  Update history to reflect merge of #4754 [ci skip]
  Update history to reflect merge of #4813 [ci skip]
  Added missing single quote on rsync client side command
  Add v3.0.4 and v3.1.3 to the history.
  Fixed typo
  Add jekyll-autoprefixer plugin
  Explicitly require Filters rather than implicitly.
  Update history to reflect merge of #4786 [ci skip]
  Update history to reflect merge of #4789 [ci skip]
  updates example domain in config template
  Globalize Jekyll's Filters.
  Update JRuby to 9.0.5.0; Drop the double digit test.
  Update Rack-Jekyll Heroku deployment blog post url
  convertible: use Document::YAML_FRONT_MATTER_REGEXP to parse transformable files
  Update history to reflect merge of #4734 [ci skip]
  Update history to reflect merge of #4478 [ci skip]
  Fix rubocop warning.
  ...
2016-04-21 11:43:35 -07:00
Parker Moore f210cafdf2
convertible: use Document::YAML_FRONT_MATTER_REGEXP to parse transformable files 2016-04-13 23:22:05 -04:00
Parker Moore a1a4b3937a
Add Layout#relative_path so the layout can tell us what its path is for error messages 2016-03-25 16:29:37 -07:00
Parker Moore aad54c9a87 Add Utils.merged_file_read_opts to unify reading & strip the BOM 2016-01-26 17:08:54 -08:00
Parker Moore d343da61eb Page: pipe through Renderer instead of using Convertible 2016-01-18 11:41:05 -08:00
Parker Moore 06fa14c11a Restructure data validation so that permalink check raises an error. 2016-01-15 16:11:08 -08:00
Parker Moore 89db3c6384 Convertible: separate data validation out of #read 2016-01-15 15:52:54 -08:00
Parker Moore 948dcf2714 Convertible: consolidate empty check into Convertible#read 2016-01-15 15:51:32 -08:00
Pedro Euko 5681742223 Check if permalink key was given 2016-01-15 14:40:59 -02:00
Pedro Euko f8a63157d7 Empty permalink now shows an error 2016-01-15 14:40:47 -02:00
Parker Moore 735194ccaf Convertible/Page/Renderer: use payload hash accessor & setter syntax 2016-01-04 12:37:19 -08:00
Pat Hawks 6711234d5f
Rubocop: Style/BlockDelimiters
- Avoid using {...} for multi-line blocks
2016-01-04 12:05:54 -08:00