github-pages 215 → 219
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/github-pages/configuration.rb +6 -0
- data/lib/github-pages/dependencies.rb +1 -1
- data/lib/github-pages/plugins.rb +32 -14
- data/lib/github-pages/version.rb +1 -1
- metadata +40 -40
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0307c0034b60146d304e4d83a5a9123901820b13168433ffaad941b1f9cf981d
|
4
|
+
data.tar.gz: d24eb2177d8c287fd0f88742a7c4a29d2a53911df3badb6505118638f951fe60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d6bfef5a4d715058c94291a6086efd58970d42c2a973664c43922d09ad5f3714a6e2b0ec22b48dbf39e7bb51aee07fbe78f029cbb20bc4bedafa86c78e8fe59
|
7
|
+
data.tar.gz: 5ab39900a3f871c369a851d50d51dcf07b7a5f90c6664f5fbe1103ca2bd4ada430c9c847bdf3a7ecc943dfc928cef7b3dc1ddc7fe94b5612955bb0f3bb169cfa
|
@@ -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
|
@@ -156,6 +157,11 @@ module GitHubPages
|
|
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"]
|
data/lib/github-pages/plugins.rb
CHANGED
@@ -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-
|
54
|
-
"jekyll-theme-
|
55
|
-
"jekyll-theme-
|
56
|
-
"jekyll-theme-
|
57
|
-
"jekyll-theme-
|
58
|
-
"jekyll-theme-
|
59
|
-
"jekyll-theme-
|
60
|
-
"jekyll-theme-
|
61
|
-
"jekyll-theme-
|
62
|
-
"jekyll-theme-
|
63
|
-
"jekyll-theme-
|
64
|
-
"jekyll-theme-
|
65
|
-
"jekyll-theme-
|
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
|
data/lib/github-pages/version.rb
CHANGED
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: '
|
4
|
+
version: '219'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitHub, Inc.
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -114,14 +114,14 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - '='
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 1.17.
|
117
|
+
version: 1.17.7
|
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.
|
124
|
+
version: 1.17.7
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: jekyll-redirect-from
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -361,215 +361,215 @@ dependencies:
|
|
361
361
|
- !ruby/object:Gem::Version
|
362
362
|
version: 0.5.3
|
363
363
|
- !ruby/object:Gem::Dependency
|
364
|
-
name:
|
364
|
+
name: minima
|
365
365
|
requirement: !ruby/object:Gem::Requirement
|
366
366
|
requirements:
|
367
367
|
- - '='
|
368
368
|
- !ruby/object:Gem::Version
|
369
|
-
version:
|
369
|
+
version: 2.5.1
|
370
370
|
type: :runtime
|
371
371
|
prerelease: false
|
372
372
|
version_requirements: !ruby/object:Gem::Requirement
|
373
373
|
requirements:
|
374
374
|
- - '='
|
375
375
|
- !ruby/object:Gem::Version
|
376
|
-
version:
|
376
|
+
version: 2.5.1
|
377
377
|
- !ruby/object:Gem::Dependency
|
378
|
-
name:
|
378
|
+
name: jekyll-swiss
|
379
379
|
requirement: !ruby/object:Gem::Requirement
|
380
380
|
requirements:
|
381
381
|
- - '='
|
382
382
|
- !ruby/object:Gem::Version
|
383
|
-
version:
|
383
|
+
version: 1.0.0
|
384
384
|
type: :runtime
|
385
385
|
prerelease: false
|
386
386
|
version_requirements: !ruby/object:Gem::Requirement
|
387
387
|
requirements:
|
388
388
|
- - '='
|
389
389
|
- !ruby/object:Gem::Version
|
390
|
-
version:
|
390
|
+
version: 1.0.0
|
391
391
|
- !ruby/object:Gem::Dependency
|
392
392
|
name: jekyll-theme-primer
|
393
393
|
requirement: !ruby/object:Gem::Requirement
|
394
394
|
requirements:
|
395
395
|
- - '='
|
396
396
|
- !ruby/object:Gem::Version
|
397
|
-
version: 0.
|
397
|
+
version: 0.6.0
|
398
398
|
type: :runtime
|
399
399
|
prerelease: false
|
400
400
|
version_requirements: !ruby/object:Gem::Requirement
|
401
401
|
requirements:
|
402
402
|
- - '='
|
403
403
|
- !ruby/object:Gem::Version
|
404
|
-
version: 0.
|
404
|
+
version: 0.6.0
|
405
405
|
- !ruby/object:Gem::Dependency
|
406
406
|
name: jekyll-theme-architect
|
407
407
|
requirement: !ruby/object:Gem::Requirement
|
408
408
|
requirements:
|
409
409
|
- - '='
|
410
410
|
- !ruby/object:Gem::Version
|
411
|
-
version: 0.
|
411
|
+
version: 0.2.0
|
412
412
|
type: :runtime
|
413
413
|
prerelease: false
|
414
414
|
version_requirements: !ruby/object:Gem::Requirement
|
415
415
|
requirements:
|
416
416
|
- - '='
|
417
417
|
- !ruby/object:Gem::Version
|
418
|
-
version: 0.
|
418
|
+
version: 0.2.0
|
419
419
|
- !ruby/object:Gem::Dependency
|
420
420
|
name: jekyll-theme-cayman
|
421
421
|
requirement: !ruby/object:Gem::Requirement
|
422
422
|
requirements:
|
423
423
|
- - '='
|
424
424
|
- !ruby/object:Gem::Version
|
425
|
-
version: 0.
|
425
|
+
version: 0.2.0
|
426
426
|
type: :runtime
|
427
427
|
prerelease: false
|
428
428
|
version_requirements: !ruby/object:Gem::Requirement
|
429
429
|
requirements:
|
430
430
|
- - '='
|
431
431
|
- !ruby/object:Gem::Version
|
432
|
-
version: 0.
|
432
|
+
version: 0.2.0
|
433
433
|
- !ruby/object:Gem::Dependency
|
434
434
|
name: jekyll-theme-dinky
|
435
435
|
requirement: !ruby/object:Gem::Requirement
|
436
436
|
requirements:
|
437
437
|
- - '='
|
438
438
|
- !ruby/object:Gem::Version
|
439
|
-
version: 0.
|
439
|
+
version: 0.2.0
|
440
440
|
type: :runtime
|
441
441
|
prerelease: false
|
442
442
|
version_requirements: !ruby/object:Gem::Requirement
|
443
443
|
requirements:
|
444
444
|
- - '='
|
445
445
|
- !ruby/object:Gem::Version
|
446
|
-
version: 0.
|
446
|
+
version: 0.2.0
|
447
447
|
- !ruby/object:Gem::Dependency
|
448
448
|
name: jekyll-theme-hacker
|
449
449
|
requirement: !ruby/object:Gem::Requirement
|
450
450
|
requirements:
|
451
451
|
- - '='
|
452
452
|
- !ruby/object:Gem::Version
|
453
|
-
version: 0.
|
453
|
+
version: 0.2.0
|
454
454
|
type: :runtime
|
455
455
|
prerelease: false
|
456
456
|
version_requirements: !ruby/object:Gem::Requirement
|
457
457
|
requirements:
|
458
458
|
- - '='
|
459
459
|
- !ruby/object:Gem::Version
|
460
|
-
version: 0.
|
460
|
+
version: 0.2.0
|
461
461
|
- !ruby/object:Gem::Dependency
|
462
462
|
name: jekyll-theme-leap-day
|
463
463
|
requirement: !ruby/object:Gem::Requirement
|
464
464
|
requirements:
|
465
465
|
- - '='
|
466
466
|
- !ruby/object:Gem::Version
|
467
|
-
version: 0.
|
467
|
+
version: 0.2.0
|
468
468
|
type: :runtime
|
469
469
|
prerelease: false
|
470
470
|
version_requirements: !ruby/object:Gem::Requirement
|
471
471
|
requirements:
|
472
472
|
- - '='
|
473
473
|
- !ruby/object:Gem::Version
|
474
|
-
version: 0.
|
474
|
+
version: 0.2.0
|
475
475
|
- !ruby/object:Gem::Dependency
|
476
476
|
name: jekyll-theme-merlot
|
477
477
|
requirement: !ruby/object:Gem::Requirement
|
478
478
|
requirements:
|
479
479
|
- - '='
|
480
480
|
- !ruby/object:Gem::Version
|
481
|
-
version: 0.
|
481
|
+
version: 0.2.0
|
482
482
|
type: :runtime
|
483
483
|
prerelease: false
|
484
484
|
version_requirements: !ruby/object:Gem::Requirement
|
485
485
|
requirements:
|
486
486
|
- - '='
|
487
487
|
- !ruby/object:Gem::Version
|
488
|
-
version: 0.
|
488
|
+
version: 0.2.0
|
489
489
|
- !ruby/object:Gem::Dependency
|
490
490
|
name: jekyll-theme-midnight
|
491
491
|
requirement: !ruby/object:Gem::Requirement
|
492
492
|
requirements:
|
493
493
|
- - '='
|
494
494
|
- !ruby/object:Gem::Version
|
495
|
-
version: 0.
|
495
|
+
version: 0.2.0
|
496
496
|
type: :runtime
|
497
497
|
prerelease: false
|
498
498
|
version_requirements: !ruby/object:Gem::Requirement
|
499
499
|
requirements:
|
500
500
|
- - '='
|
501
501
|
- !ruby/object:Gem::Version
|
502
|
-
version: 0.
|
502
|
+
version: 0.2.0
|
503
503
|
- !ruby/object:Gem::Dependency
|
504
504
|
name: jekyll-theme-minimal
|
505
505
|
requirement: !ruby/object:Gem::Requirement
|
506
506
|
requirements:
|
507
507
|
- - '='
|
508
508
|
- !ruby/object:Gem::Version
|
509
|
-
version: 0.
|
509
|
+
version: 0.2.0
|
510
510
|
type: :runtime
|
511
511
|
prerelease: false
|
512
512
|
version_requirements: !ruby/object:Gem::Requirement
|
513
513
|
requirements:
|
514
514
|
- - '='
|
515
515
|
- !ruby/object:Gem::Version
|
516
|
-
version: 0.
|
516
|
+
version: 0.2.0
|
517
517
|
- !ruby/object:Gem::Dependency
|
518
518
|
name: jekyll-theme-modernist
|
519
519
|
requirement: !ruby/object:Gem::Requirement
|
520
520
|
requirements:
|
521
521
|
- - '='
|
522
522
|
- !ruby/object:Gem::Version
|
523
|
-
version: 0.
|
523
|
+
version: 0.2.0
|
524
524
|
type: :runtime
|
525
525
|
prerelease: false
|
526
526
|
version_requirements: !ruby/object:Gem::Requirement
|
527
527
|
requirements:
|
528
528
|
- - '='
|
529
529
|
- !ruby/object:Gem::Version
|
530
|
-
version: 0.
|
530
|
+
version: 0.2.0
|
531
531
|
- !ruby/object:Gem::Dependency
|
532
532
|
name: jekyll-theme-slate
|
533
533
|
requirement: !ruby/object:Gem::Requirement
|
534
534
|
requirements:
|
535
535
|
- - '='
|
536
536
|
- !ruby/object:Gem::Version
|
537
|
-
version: 0.
|
537
|
+
version: 0.2.0
|
538
538
|
type: :runtime
|
539
539
|
prerelease: false
|
540
540
|
version_requirements: !ruby/object:Gem::Requirement
|
541
541
|
requirements:
|
542
542
|
- - '='
|
543
543
|
- !ruby/object:Gem::Version
|
544
|
-
version: 0.
|
544
|
+
version: 0.2.0
|
545
545
|
- !ruby/object:Gem::Dependency
|
546
546
|
name: jekyll-theme-tactile
|
547
547
|
requirement: !ruby/object:Gem::Requirement
|
548
548
|
requirements:
|
549
549
|
- - '='
|
550
550
|
- !ruby/object:Gem::Version
|
551
|
-
version: 0.
|
551
|
+
version: 0.2.0
|
552
552
|
type: :runtime
|
553
553
|
prerelease: false
|
554
554
|
version_requirements: !ruby/object:Gem::Requirement
|
555
555
|
requirements:
|
556
556
|
- - '='
|
557
557
|
- !ruby/object:Gem::Version
|
558
|
-
version: 0.
|
558
|
+
version: 0.2.0
|
559
559
|
- !ruby/object:Gem::Dependency
|
560
560
|
name: jekyll-theme-time-machine
|
561
561
|
requirement: !ruby/object:Gem::Requirement
|
562
562
|
requirements:
|
563
563
|
- - '='
|
564
564
|
- !ruby/object:Gem::Version
|
565
|
-
version: 0.
|
565
|
+
version: 0.2.0
|
566
566
|
type: :runtime
|
567
567
|
prerelease: false
|
568
568
|
version_requirements: !ruby/object:Gem::Requirement
|
569
569
|
requirements:
|
570
570
|
- - '='
|
571
571
|
- !ruby/object:Gem::Version
|
572
|
-
version: 0.
|
572
|
+
version: 0.2.0
|
573
573
|
- !ruby/object:Gem::Dependency
|
574
574
|
name: mercenary
|
575
575
|
requirement: !ruby/object:Gem::Requirement
|
@@ -692,7 +692,7 @@ homepage: https://github.com/github/pages-gem
|
|
692
692
|
licenses:
|
693
693
|
- MIT
|
694
694
|
metadata: {}
|
695
|
-
post_install_message:
|
695
|
+
post_install_message:
|
696
696
|
rdoc_options: []
|
697
697
|
require_paths:
|
698
698
|
- lib
|
@@ -707,8 +707,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
707
707
|
- !ruby/object:Gem::Version
|
708
708
|
version: '0'
|
709
709
|
requirements: []
|
710
|
-
rubygems_version: 3.
|
711
|
-
signing_key:
|
710
|
+
rubygems_version: 3.2.9
|
711
|
+
signing_key:
|
712
712
|
specification_version: 4
|
713
713
|
summary: Track GitHub Pages dependencies.
|
714
714
|
test_files: []
|