jekyll-v4-github-pages 233 → 235

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: 6261b7568c6aaf356ce8046a6f73877535b2acfa3ff7e539a14c02529c546cd4
4
- data.tar.gz: 1ca23404fd54cd61efc08c24bde40e86d5d8e2d30dae3332d771dfd95139dd16
3
+ metadata.gz: 6175bf9316ff36f66e3f66060c056d500e90594dec2123a11f57dbe6316f436d
4
+ data.tar.gz: 3c532fd3516db7498a88ba078422de51402dcc27c4f347563f7bf754c79bdb22
5
5
  SHA512:
6
- metadata.gz: 94c8a430291c9f6609f2175ea5d14da77222b2c3f60e5aea4d58f3e3acc745b744ff7a1f8ade3ad2f0fce59103f26c262a0465a8515c47431b12b0eb149090dd
7
- data.tar.gz: c2b43512877eb1d2f4fb7cf44b4731bbeb6ba22f1ec44e6be3b9d46d133a1b8f67ae63ba35bd63d1a4970cc9604debfb16eb90dd4446d9401dd9dbcb73084d1a
6
+ metadata.gz: 4e72a896aa27befe600a72152199ac9dfa39c236f48d84156cd4b6f751a05946583195a15e5c3e9b326ed7e469bf45414a1d8a4d5c405f8f73885d667b7ac4a5
7
+ data.tar.gz: 2cead0cd3accdad71aaa301043b9590ecdec41efd217ac290cd59c49d2a7f59dc1fa0b4df66bf195ddf21a121dfc001da69f1e501b4e32394306242c98045337
@@ -68,18 +68,16 @@ Mercenary.program(:"jekyll-v4-github-pages") do |p|
68
68
  c.option 'config', '--config FILE1[,FILE2[,FILE3]]', Array, 'Specify config files instead of using _config.yml'
69
69
 
70
70
  c.action do |_, options|
71
- config = options["config"] || ["_config.yml"]
71
+ Jekyll.logger.log_level = :error
72
+ config_options = options.clone
73
+ config_options.delete("verbose")
74
+ user_configs = Jekyll::Configuration.new.config_files(config_options)
75
+ Jekyll.logger.log_level = :info
72
76
 
73
77
  default_config = File.expand_path("../../lib/_default_config.yml", __FILE__)
74
- options["config"] = [default_config]
75
78
 
76
- config.each { |item|
77
- user_config = File.join(options["source"] || Dir.pwd, item)
78
- if File.exist?(user_config)
79
- options["config"].push(user_config)
80
- end
81
- }
82
-
79
+ options["config"] = [default_config] + user_configs
80
+
83
81
  Jekyll::Commands::Build.process(options)
84
82
  end
85
83
  end
@@ -17,7 +17,7 @@ module GitHubPages
17
17
 
18
18
  # Misc
19
19
  "liquid" => "4.0.4",
20
- "rouge" => "4.1.0",
20
+ "rouge" => "4.1.1",
21
21
  "github-pages-health-check" => "1.18.1",
22
22
 
23
23
  # Plugins
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GitHubPages
4
- VERSION = 233
4
+ VERSION = 235
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-v4-github-pages
3
3
  version: !ruby/object:Gem::Version
4
- version: '233'
4
+ version: '235'
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub, Inc.
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-05-13 00:00:00.000000000 Z
12
+ date: 2023-05-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll
@@ -87,14 +87,14 @@ dependencies:
87
87
  requirements:
88
88
  - - '='
89
89
  - !ruby/object:Gem::Version
90
- version: 4.1.0
90
+ version: 4.1.1
91
91
  type: :runtime
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
95
  - - '='
96
96
  - !ruby/object:Gem::Version
97
- version: 4.1.0
97
+ version: 4.1.1
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: github-pages-health-check
100
100
  requirement: !ruby/object:Gem::Requirement