github-pages 215 → 227

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9032f6656a1d4086f4b2b82819493d377a43e25a7d654f30d44f5b7397c29d44
4
- data.tar.gz: 69d52115409b6702b1dcdb6d8d1587c7ca1b79c29e69648df7beb02a919a317f
3
+ metadata.gz: ca34e97d241ab7b64a73f46c871eb86896a3a49404464366b9f6e77bcb16ccdd
4
+ data.tar.gz: 9651d4399d006edee27090130bc7207be0f5ed21d74aa98e7b2390e63fd1da92
5
5
  SHA512:
6
- metadata.gz: 99b43599cf5c351ff3b943c87cd067bf5ba6713c238e76ae7d2d28206744cca818fac9f7cce8b8501fe434ebe6a89dd4767c58dd2ae64e19f7036c93722714b4
7
- data.tar.gz: 22c4d2c1e625c60e60552ca5ab1df8f1fc6401d3ed3c5de7f788a828815742e5f473412cb349a1107b8bc404e509702785051bc06591c7f12e9d38726468b9e4
6
+ metadata.gz: e95ad8d1659ca6ca9bc9cd5bd71fdca4301f9afade37d97dcbfa915af65323edead9b7731e2aec73a2b6ad655dce311ffc558822c03d058365ed76322dcc1b08
7
+ data.tar.gz: 329dd9a85c2c8652f3e21fb96d9a0ffd015ec06b3edc72eb4325010da289b3e9677ded7dc74b1312342a314c7205e5838206a5f2f7c81c7b0ce522087b0f0732
data/bin/github-pages CHANGED
@@ -56,4 +56,18 @@ Mercenary.program(:"github-pages") do |p|
56
56
  end
57
57
  end
58
58
  end
59
+
60
+ p.command(:build) do |c|
61
+ c.syntax "build [options]"
62
+ c.description "Builds your Jekyll site"
63
+
64
+ c.option 'verbose', '--verbose', 'Verbose logging'
65
+ c.option 'source', '--source DIR', 'From where to collect the source files'
66
+ c.option 'destination', '--destination DIR', 'To where the compiled files should be written'
67
+ c.option 'future', '--future', 'Publishes posts with a future date'
68
+
69
+ c.action do |_, options|
70
+ Jekyll::Commands::Build.process(options)
71
+ end
72
+ end
59
73
  end
@@ -107,6 +107,7 @@ module GitHubPages
107
107
  # Allow theme to be explicitly disabled via "theme: null"
108
108
  config["theme"] = user_config["theme"] if user_config.key?("theme")
109
109
 
110
+ migrate_theme_to_remote_theme(config)
110
111
  exclude_cname(config)
111
112
 
112
113
  # Merge overwrites into user config
@@ -152,10 +153,15 @@ module GitHubPages
152
153
  config["markdown"] = "CommonMarkGhPages"
153
154
  config["commonmark"] = {
154
155
  "extensions" => %w(table strikethrough autolink tagfilter),
155
- "options" => %w(footnotes),
156
+ "options" => %w(unsafe footnotes),
156
157
  }
157
158
  end
158
159
 
160
+ # If the user has set a 'theme', then see if we can automatically use remote theme instead.
161
+ def migrate_theme_to_remote_theme(config)
162
+ # This functionality has been rolled back due to complications with jekyll-remote-theme.
163
+ end
164
+
159
165
  # If the user's 'exclude' config is the default, also exclude the CNAME
160
166
  def exclude_cname(config)
161
167
  return unless config["exclude"].eql? Jekyll::Configuration::DEFAULTS["exclude"]
@@ -7,18 +7,18 @@ module GitHubPages
7
7
  class Dependencies
8
8
  VERSIONS = {
9
9
  # Jekyll
10
- "jekyll" => "3.9.0",
10
+ "jekyll" => "3.9.2",
11
11
  "jekyll-sass-converter" => "1.5.2",
12
12
 
13
13
  # Converters
14
- "kramdown" => "2.3.1",
14
+ "kramdown" => "2.3.2",
15
15
  "kramdown-parser-gfm" => "1.1.0",
16
- "jekyll-commonmark-ghpages" => "0.1.6",
16
+ "jekyll-commonmark-ghpages" => "0.2.0",
17
17
 
18
18
  # Misc
19
19
  "liquid" => "4.0.3",
20
20
  "rouge" => "3.26.0",
21
- "github-pages-health-check" => "1.17.2",
21
+ "github-pages-health-check" => "1.17.9",
22
22
 
23
23
  # Plugins
24
24
  "jekyll-redirect-from" => "0.16.0",
@@ -27,10 +27,11 @@ module GitHubPages
27
27
  "jekyll-gist" => "1.5.0",
28
28
  "jekyll-paginate" => "1.1.0",
29
29
  "jekyll-coffeescript" => "1.1.1",
30
- "jekyll-seo-tag" => "2.7.1",
30
+ "jekyll-seo-tag" => "2.8.0",
31
31
  "jekyll-github-metadata" => "2.13.0",
32
32
  "jekyll-avatar" => "0.7.0",
33
33
  "jekyll-remote-theme" => "0.4.3",
34
+ "jekyll-include-cache" => "0.2.1",
34
35
 
35
36
  # Plugins to match GitHub.com Markdown
36
37
  "jemoji" => "0.12.0",
@@ -48,21 +48,39 @@ module GitHubPages
48
48
 
49
49
  # Themes
50
50
  THEMES = {
51
- "jekyll-swiss" => "1.0.0",
52
51
  "minima" => "2.5.1",
53
- "jekyll-theme-primer" => "0.5.4",
54
- "jekyll-theme-architect" => "0.1.1",
55
- "jekyll-theme-cayman" => "0.1.1",
56
- "jekyll-theme-dinky" => "0.1.1",
57
- "jekyll-theme-hacker" => "0.1.2",
58
- "jekyll-theme-leap-day" => "0.1.1",
59
- "jekyll-theme-merlot" => "0.1.1",
60
- "jekyll-theme-midnight" => "0.1.1",
61
- "jekyll-theme-minimal" => "0.1.1",
62
- "jekyll-theme-modernist" => "0.1.1",
63
- "jekyll-theme-slate" => "0.1.1",
64
- "jekyll-theme-tactile" => "0.1.1",
65
- "jekyll-theme-time-machine" => "0.1.1",
52
+ "jekyll-swiss" => "1.0.0",
53
+ "jekyll-theme-primer" => "0.6.0",
54
+ "jekyll-theme-architect" => "0.2.0",
55
+ "jekyll-theme-cayman" => "0.2.0",
56
+ "jekyll-theme-dinky" => "0.2.0",
57
+ "jekyll-theme-hacker" => "0.2.0",
58
+ "jekyll-theme-leap-day" => "0.2.0",
59
+ "jekyll-theme-merlot" => "0.2.0",
60
+ "jekyll-theme-midnight" => "0.2.0",
61
+ "jekyll-theme-minimal" => "0.2.0",
62
+ "jekyll-theme-modernist" => "0.2.0",
63
+ "jekyll-theme-slate" => "0.2.0",
64
+ "jekyll-theme-tactile" => "0.2.0",
65
+ "jekyll-theme-time-machine" => "0.2.0",
66
66
  }.freeze
67
+
68
+ # Themes to convert to remote themes
69
+ THEMES_TO_CONVERT_TO_REMOTE_THEMES = {
70
+ "jekyll-swiss" => "broccolini/swiss",
71
+ "jekyll-theme-primer" => "pages-themes/primer@v0.6.0",
72
+ "jekyll-theme-architect" => "pages-themes/architect@v0.2.0",
73
+ "jekyll-theme-cayman" => "pages-themes/cayman@v0.2.0",
74
+ "jekyll-theme-dinky" => "pages-themes/dinky@v0.2.0",
75
+ "jekyll-theme-hacker" => "pages-themes/hacker@v0.2.0",
76
+ "jekyll-theme-leap-day" => "pages-themes/leap-day@v0.2.0",
77
+ "jekyll-theme-merlot" => "pages-themes/merlot@v0.2.0",
78
+ "jekyll-theme-midnight" => "pages-themes/midnight@v0.2.0",
79
+ "jekyll-theme-minimal" => "pages-themes/minimal@v0.2.0",
80
+ "jekyll-theme-modernist" => "pages-themes/modernist@v0.2.0",
81
+ "jekyll-theme-slate" => "pages-themes/slate@v0.2.0",
82
+ "jekyll-theme-tactile" => "pages-themes/tactile@v0.2.0",
83
+ "jekyll-theme-time-machine" => "pages-themes/time-machine@v0.2.0",
84
+ }
67
85
  end
68
86
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GitHubPages
4
- VERSION = 215
4
+ VERSION = 227
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: github-pages
3
3
  version: !ruby/object:Gem::Version
4
- version: '215'
4
+ version: '227'
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-24 00:00:00.000000000 Z
11
+ date: 2022-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.9.0
19
+ version: 3.9.2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 3.9.0
26
+ version: 3.9.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: jekyll-sass-converter
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 2.3.1
47
+ version: 2.3.2
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 2.3.1
54
+ version: 2.3.2
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: kramdown-parser-gfm
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: 0.1.6
75
+ version: 0.2.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: 0.1.6
82
+ version: 0.2.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: liquid
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - '='
116
116
  - !ruby/object:Gem::Version
117
- version: 1.17.2
117
+ version: 1.17.9
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - '='
123
123
  - !ruby/object:Gem::Version
124
- version: 1.17.2
124
+ version: 1.17.9
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: jekyll-redirect-from
127
127
  requirement: !ruby/object:Gem::Requirement
@@ -212,14 +212,14 @@ dependencies:
212
212
  requirements:
213
213
  - - '='
214
214
  - !ruby/object:Gem::Version
215
- version: 2.7.1
215
+ version: 2.8.0
216
216
  type: :runtime
217
217
  prerelease: false
218
218
  version_requirements: !ruby/object:Gem::Requirement
219
219
  requirements:
220
220
  - - '='
221
221
  - !ruby/object:Gem::Version
222
- version: 2.7.1
222
+ version: 2.8.0
223
223
  - !ruby/object:Gem::Dependency
224
224
  name: jekyll-github-metadata
225
225
  requirement: !ruby/object:Gem::Requirement
@@ -262,6 +262,20 @@ dependencies:
262
262
  - - '='
263
263
  - !ruby/object:Gem::Version
264
264
  version: 0.4.3
265
+ - !ruby/object:Gem::Dependency
266
+ name: jekyll-include-cache
267
+ requirement: !ruby/object:Gem::Requirement
268
+ requirements:
269
+ - - '='
270
+ - !ruby/object:Gem::Version
271
+ version: 0.2.1
272
+ type: :runtime
273
+ prerelease: false
274
+ version_requirements: !ruby/object:Gem::Requirement
275
+ requirements:
276
+ - - '='
277
+ - !ruby/object:Gem::Version
278
+ version: 0.2.1
265
279
  - !ruby/object:Gem::Dependency
266
280
  name: jemoji
267
281
  requirement: !ruby/object:Gem::Requirement
@@ -361,215 +375,215 @@ dependencies:
361
375
  - !ruby/object:Gem::Version
362
376
  version: 0.5.3
363
377
  - !ruby/object:Gem::Dependency
364
- name: jekyll-swiss
378
+ name: minima
365
379
  requirement: !ruby/object:Gem::Requirement
366
380
  requirements:
367
381
  - - '='
368
382
  - !ruby/object:Gem::Version
369
- version: 1.0.0
383
+ version: 2.5.1
370
384
  type: :runtime
371
385
  prerelease: false
372
386
  version_requirements: !ruby/object:Gem::Requirement
373
387
  requirements:
374
388
  - - '='
375
389
  - !ruby/object:Gem::Version
376
- version: 1.0.0
390
+ version: 2.5.1
377
391
  - !ruby/object:Gem::Dependency
378
- name: minima
392
+ name: jekyll-swiss
379
393
  requirement: !ruby/object:Gem::Requirement
380
394
  requirements:
381
395
  - - '='
382
396
  - !ruby/object:Gem::Version
383
- version: 2.5.1
397
+ version: 1.0.0
384
398
  type: :runtime
385
399
  prerelease: false
386
400
  version_requirements: !ruby/object:Gem::Requirement
387
401
  requirements:
388
402
  - - '='
389
403
  - !ruby/object:Gem::Version
390
- version: 2.5.1
404
+ version: 1.0.0
391
405
  - !ruby/object:Gem::Dependency
392
406
  name: jekyll-theme-primer
393
407
  requirement: !ruby/object:Gem::Requirement
394
408
  requirements:
395
409
  - - '='
396
410
  - !ruby/object:Gem::Version
397
- version: 0.5.4
411
+ version: 0.6.0
398
412
  type: :runtime
399
413
  prerelease: false
400
414
  version_requirements: !ruby/object:Gem::Requirement
401
415
  requirements:
402
416
  - - '='
403
417
  - !ruby/object:Gem::Version
404
- version: 0.5.4
418
+ version: 0.6.0
405
419
  - !ruby/object:Gem::Dependency
406
420
  name: jekyll-theme-architect
407
421
  requirement: !ruby/object:Gem::Requirement
408
422
  requirements:
409
423
  - - '='
410
424
  - !ruby/object:Gem::Version
411
- version: 0.1.1
425
+ version: 0.2.0
412
426
  type: :runtime
413
427
  prerelease: false
414
428
  version_requirements: !ruby/object:Gem::Requirement
415
429
  requirements:
416
430
  - - '='
417
431
  - !ruby/object:Gem::Version
418
- version: 0.1.1
432
+ version: 0.2.0
419
433
  - !ruby/object:Gem::Dependency
420
434
  name: jekyll-theme-cayman
421
435
  requirement: !ruby/object:Gem::Requirement
422
436
  requirements:
423
437
  - - '='
424
438
  - !ruby/object:Gem::Version
425
- version: 0.1.1
439
+ version: 0.2.0
426
440
  type: :runtime
427
441
  prerelease: false
428
442
  version_requirements: !ruby/object:Gem::Requirement
429
443
  requirements:
430
444
  - - '='
431
445
  - !ruby/object:Gem::Version
432
- version: 0.1.1
446
+ version: 0.2.0
433
447
  - !ruby/object:Gem::Dependency
434
448
  name: jekyll-theme-dinky
435
449
  requirement: !ruby/object:Gem::Requirement
436
450
  requirements:
437
451
  - - '='
438
452
  - !ruby/object:Gem::Version
439
- version: 0.1.1
453
+ version: 0.2.0
440
454
  type: :runtime
441
455
  prerelease: false
442
456
  version_requirements: !ruby/object:Gem::Requirement
443
457
  requirements:
444
458
  - - '='
445
459
  - !ruby/object:Gem::Version
446
- version: 0.1.1
460
+ version: 0.2.0
447
461
  - !ruby/object:Gem::Dependency
448
462
  name: jekyll-theme-hacker
449
463
  requirement: !ruby/object:Gem::Requirement
450
464
  requirements:
451
465
  - - '='
452
466
  - !ruby/object:Gem::Version
453
- version: 0.1.2
467
+ version: 0.2.0
454
468
  type: :runtime
455
469
  prerelease: false
456
470
  version_requirements: !ruby/object:Gem::Requirement
457
471
  requirements:
458
472
  - - '='
459
473
  - !ruby/object:Gem::Version
460
- version: 0.1.2
474
+ version: 0.2.0
461
475
  - !ruby/object:Gem::Dependency
462
476
  name: jekyll-theme-leap-day
463
477
  requirement: !ruby/object:Gem::Requirement
464
478
  requirements:
465
479
  - - '='
466
480
  - !ruby/object:Gem::Version
467
- version: 0.1.1
481
+ version: 0.2.0
468
482
  type: :runtime
469
483
  prerelease: false
470
484
  version_requirements: !ruby/object:Gem::Requirement
471
485
  requirements:
472
486
  - - '='
473
487
  - !ruby/object:Gem::Version
474
- version: 0.1.1
488
+ version: 0.2.0
475
489
  - !ruby/object:Gem::Dependency
476
490
  name: jekyll-theme-merlot
477
491
  requirement: !ruby/object:Gem::Requirement
478
492
  requirements:
479
493
  - - '='
480
494
  - !ruby/object:Gem::Version
481
- version: 0.1.1
495
+ version: 0.2.0
482
496
  type: :runtime
483
497
  prerelease: false
484
498
  version_requirements: !ruby/object:Gem::Requirement
485
499
  requirements:
486
500
  - - '='
487
501
  - !ruby/object:Gem::Version
488
- version: 0.1.1
502
+ version: 0.2.0
489
503
  - !ruby/object:Gem::Dependency
490
504
  name: jekyll-theme-midnight
491
505
  requirement: !ruby/object:Gem::Requirement
492
506
  requirements:
493
507
  - - '='
494
508
  - !ruby/object:Gem::Version
495
- version: 0.1.1
509
+ version: 0.2.0
496
510
  type: :runtime
497
511
  prerelease: false
498
512
  version_requirements: !ruby/object:Gem::Requirement
499
513
  requirements:
500
514
  - - '='
501
515
  - !ruby/object:Gem::Version
502
- version: 0.1.1
516
+ version: 0.2.0
503
517
  - !ruby/object:Gem::Dependency
504
518
  name: jekyll-theme-minimal
505
519
  requirement: !ruby/object:Gem::Requirement
506
520
  requirements:
507
521
  - - '='
508
522
  - !ruby/object:Gem::Version
509
- version: 0.1.1
523
+ version: 0.2.0
510
524
  type: :runtime
511
525
  prerelease: false
512
526
  version_requirements: !ruby/object:Gem::Requirement
513
527
  requirements:
514
528
  - - '='
515
529
  - !ruby/object:Gem::Version
516
- version: 0.1.1
530
+ version: 0.2.0
517
531
  - !ruby/object:Gem::Dependency
518
532
  name: jekyll-theme-modernist
519
533
  requirement: !ruby/object:Gem::Requirement
520
534
  requirements:
521
535
  - - '='
522
536
  - !ruby/object:Gem::Version
523
- version: 0.1.1
537
+ version: 0.2.0
524
538
  type: :runtime
525
539
  prerelease: false
526
540
  version_requirements: !ruby/object:Gem::Requirement
527
541
  requirements:
528
542
  - - '='
529
543
  - !ruby/object:Gem::Version
530
- version: 0.1.1
544
+ version: 0.2.0
531
545
  - !ruby/object:Gem::Dependency
532
546
  name: jekyll-theme-slate
533
547
  requirement: !ruby/object:Gem::Requirement
534
548
  requirements:
535
549
  - - '='
536
550
  - !ruby/object:Gem::Version
537
- version: 0.1.1
551
+ version: 0.2.0
538
552
  type: :runtime
539
553
  prerelease: false
540
554
  version_requirements: !ruby/object:Gem::Requirement
541
555
  requirements:
542
556
  - - '='
543
557
  - !ruby/object:Gem::Version
544
- version: 0.1.1
558
+ version: 0.2.0
545
559
  - !ruby/object:Gem::Dependency
546
560
  name: jekyll-theme-tactile
547
561
  requirement: !ruby/object:Gem::Requirement
548
562
  requirements:
549
563
  - - '='
550
564
  - !ruby/object:Gem::Version
551
- version: 0.1.1
565
+ version: 0.2.0
552
566
  type: :runtime
553
567
  prerelease: false
554
568
  version_requirements: !ruby/object:Gem::Requirement
555
569
  requirements:
556
570
  - - '='
557
571
  - !ruby/object:Gem::Version
558
- version: 0.1.1
572
+ version: 0.2.0
559
573
  - !ruby/object:Gem::Dependency
560
574
  name: jekyll-theme-time-machine
561
575
  requirement: !ruby/object:Gem::Requirement
562
576
  requirements:
563
577
  - - '='
564
578
  - !ruby/object:Gem::Version
565
- version: 0.1.1
579
+ version: 0.2.0
566
580
  type: :runtime
567
581
  prerelease: false
568
582
  version_requirements: !ruby/object:Gem::Requirement
569
583
  requirements:
570
584
  - - '='
571
585
  - !ruby/object:Gem::Version
572
- version: 0.1.1
586
+ version: 0.2.0
573
587
  - !ruby/object:Gem::Dependency
574
588
  name: mercenary
575
589
  requirement: !ruby/object:Gem::Requirement
@@ -590,7 +604,7 @@ dependencies:
590
604
  requirements:
591
605
  - - ">="
592
606
  - !ruby/object:Gem::Version
593
- version: 1.10.4
607
+ version: 1.13.6
594
608
  - - "<"
595
609
  - !ruby/object:Gem::Version
596
610
  version: '2.0'
@@ -600,7 +614,7 @@ dependencies:
600
614
  requirements:
601
615
  - - ">="
602
616
  - !ruby/object:Gem::Version
603
- version: 1.10.4
617
+ version: 1.13.6
604
618
  - - "<"
605
619
  - !ruby/object:Gem::Version
606
620
  version: '2.0'
@@ -707,7 +721,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
707
721
  - !ruby/object:Gem::Version
708
722
  version: '0'
709
723
  requirements: []
710
- rubygems_version: 3.1.2
724
+ rubygems_version: 3.1.6
711
725
  signing_key:
712
726
  specification_version: 4
713
727
  summary: Track GitHub Pages dependencies.