Commit Graph

3031 Commits

Author SHA1 Message Date
Frank Taillandier 6a4f8bdbec Fix: rubocop offenses (#7769)
Merge pull request 7769
2019-08-04 02:49:34 -04:00
Ashwin Maroli b55927e8f7 Add PathManager class to cache interim paths (#7732)
Merge pull request 7732
2019-08-01 16:21:00 -04:00
Ashwin Maroli 1795996458 Replace redundant Array#map with Array#each (#7761)
Merge pull request 7761
2019-07-25 12:35:30 -04:00
Andrew Marcuse 5157bdc753 Update mime.types (#7756)
Merge pull request 7756
2019-07-20 11:36:32 -04:00
Ashwin Maroli ffe8d168f2 Prefer Regexp#match? over String#match?
This commit fixes a minor regression introduced in the commit e10a909

Prefer using `Regexp#match` because `@file` or `file` in these lines
could be `nil` if the `tag_markup` is just whitespace. In that scenario,
Jekyll should proceed to the validation logic and bail instead of raising
a `NoMethodError` exception.
2019-07-14 12:33:46 +05:30
Ashwin Maroli 135ebe2660 Reduce Array objects generated from utility method (#7749)
Merge pull request 7749
2019-07-12 10:44:45 -04:00
Edgar Tinajero ebe62e8a28 Update log output for an invalid theme directory (#7679)
Merge pull request 7679
2019-07-01 13:56:38 -04:00
Ashwin Maroli 3e8e6d22d7 Remove patch to modify config for kramdown (#7699)
Merge pull request 7699
2019-06-28 06:38:02 -04:00
Ashwin Maroli 4530721575 Replace `String#=~` with `String#match?` (#7723)
Merge pull request 7723
2019-06-27 13:16:27 -04:00
Ashwin Maroli 27aa53cf82 Memoize SiteDrop#documents to reduce allocations (#7697)
Merge pull request 7697
2019-06-25 17:02:04 -04:00
Ashwin Maroli e10a90987a Replace `String#=~` with `String#match?` (#7718)
Merge pull request 7718
2019-06-24 13:46:28 -04:00
Ashwin Maroli 68a31c8eb2 Don't read symlinks in site.include in safe mode (#7711)
Merge pull request 7711
2019-06-23 18:15:25 -04:00
Ashwin Maroli 06eafadcbb Use regexp to filter special entries (#7702)
Merge pull request 7702
2019-06-23 16:23:09 -04:00
Ashwin Maroli 25898f8d9d Reword code-comment to reflect the implementation 2019-06-14 15:46:09 +05:30
Frank Taillandier cca639dcc3
Merge pull request #7705 from ashmaroli/filter-dot-entries
Reject entries that are just dots in a directory
2019-06-14 08:31:57 +02:00
Ashwin Maroli 119e0047e8 Don't sanitize pattern or entry string 2019-06-09 16:38:19 +05:30
Ashwin Maroli 3002aa58f5 Refactor `EntryFilter#glob_include?` 2019-06-09 15:35:39 +05:30
Ashwin Maroli 49e5b33fb0 Reject entries that are just dots in a directory 2019-06-09 11:42:34 +05:30
Ashwin Maroli e05745929f Remove override to Jekyll::Document#respond_to? (#7695)
Merge pull request 7695
2019-06-05 12:10:37 -04:00
Ashwin Maroli 554e07d4a5 Revert memoizing Site#docs_to_write and #documents (#7684)
Merge pull request 7684
2019-05-30 21:28:03 -04:00
Ashwin Maroli ed385ba264 Reduce allocations from where-filter (#7653)
Merge pull request 7653
2019-05-16 12:38:53 -04:00
Ashwin Maroli 49ffbbd4c7 Add `type` attribute to Document instances (#7406)
Merge pull request 7406
2019-05-16 11:44:39 -04:00
Ashwin Maroli 7548132944 Reduce allocations from Jekyll::Document instances (#7625)
Merge pull request 7625
2019-05-16 10:55:59 -04:00
Ashwin Maroli cbfdeaefcd Reduce string allocations with better alternatives (#7643)
Merge pull request 7643
2019-05-16 10:04:37 -04:00
Ashwin Maroli 20c9d0957a Encode and unencode urls only as required (#7654)
Merge pull request 7654
2019-05-15 12:14:08 -04:00
Ashwin Maroli c47611cb6e Initialize and reset glob_cache only as necessary (#7658)
Merge pull request 7658
2019-05-15 11:49:05 -04:00
Ashwin Maroli ec347597da Reduce Array allocations via Jekyll::Cleaner (#7659)
Merge pull request 7659
2019-05-15 11:48:12 -04:00
Ashwin Maroli 965aef60e6 Initialize mutations for Drops only if necessary (#7657)
Merge pull request 7657
2019-05-15 11:43:13 -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
Ashwin Maroli 3e8c37b641 Refactor Jekyll::Cache (#7532)
Merge pull request 7532
2019-05-01 14:43:20 -04:00
Ashwin Maroli 14e5d00555 Fix broken include_relative usage in excerpt (#7633)
Merge pull request 7633
2019-04-30 09:03:48 -04:00
Ashwin Maroli a5cac26766 Bump RuboCop to v0.68.x (#7637)
Merge pull request 7637
2019-04-30 08:44:08 -04:00
Ashwin Maroli c8fe609f8f Target Ruby 2.4 syntax in RuboCop scans (#7583)
Merge pull request 7583
2019-04-19 10:30:17 -04:00
Ashwin Maroli f4ee82650e
Revert "Refactor `highlight` tag to behave like the `raw` tag" (#7592)
* Revert "Refactor `highlight` tag to behave like the `raw` tag (#6821)"

This reverts commit 36404b9a43.

* use Liquid `raw` in upgrading document
* let the minor improvements stay
* Revert entry in History.markdown
2019-04-19 12:49:03 +05:30
Ashwin Maroli ec0971ab17 Generate a "TOTAL" row for build-profile table (#7614)
Merge pull request 7614
2019-04-12 13:48:33 -04:00
Ashwin Maroli 2591f33aa8 Incorporate `relative_url` within `post_url` tag (#7589)
Merge pull request 7589
2019-03-29 02:54:45 -04:00
Ashwin Maroli 2090989fb3 Favor Ruby 2.3 squiggly-heredoc operator (#7584)
Merge pull request 7584
2019-03-22 12:18:58 -04:00
Ashwin Maroli 9240addcf0 Detect `nil` and empty values in objects with `where` filter (#7580)
Merge pull request 7580
2019-03-22 10:53:34 -04:00
Christoph Päper 0da5389cbb ISO week date drops (#5981)
Merge pull request 5981
2019-03-21 20:42:36 -04:00
Frank Taillandier 378147d761 Release v4.0.0.pre.alpha1 (#7574)
Merge pull request 7574
2019-03-19 03:03:57 -04:00
Ashwin Maroli 9e137bae29 Push Markdown link refs to excerpt only as required (#7577)
Merge pull request 7577
2019-03-18 17:39:08 -04:00
Ashwin Maroli cc7978f3bc Optimize Document::DATE_FILENAME_MATCHER to match valid filenames (#7292)
Merge pull request 7292
2019-03-15 13:38:12 -04:00
mo khan 2bdf1a53c4 Log a warning when the slug is empty (#7357)
Merge pull request 7357
2019-03-15 13:35:01 -04:00
Ashwin Maroli 555722887d Replace `name` in Page#inspect with relative_path (#7434)
Merge pull request 7434
2019-03-15 13:33:13 -04:00
Ashwin Maroli 18f7a28168 Cleanup Markdown converter (#7519)
Merge pull request 7519
2019-03-15 13:30:39 -04:00
Ashwin Maroli 575f4b66de Upgrade kramdown dependency to v2.x (#7492)
Merge pull request 7492
2019-03-15 13:27:41 -04:00
Ashwin Maroli 5942ee46ae Memoize Document#excerpt_separator (#7569)
Merge pull request 7569
2019-03-15 13:20:15 -04:00
Ashwin Maroli 907477b9ca Escape valid special chars in a site's path name (#7568)
Merge pull request 7568
2019-03-15 13:14:57 -04:00
Ashwin Maroli da313bf883 Avoid unnecessary duplication of pages array (#7272)
Merge pull request 7272
2019-03-15 13:11:46 -04:00
Ashwin Maroli 8ccb013f85 Use communicative method parameters (#7566)
Merge pull request 7566
2019-03-15 12:54:24 -04:00