jekyll-v4-github-pages 233 → 234

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: 4b7b2f07ded77eb57ce3e458cf8db3430d993768a4f339d40499994c5c9f0bc6
4
+ data.tar.gz: 2d27a62c365a684b1020925d4e9696701b4852d8dc93a1261d14b781b46b76d7
5
5
  SHA512:
6
- metadata.gz: 94c8a430291c9f6609f2175ea5d14da77222b2c3f60e5aea4d58f3e3acc745b744ff7a1f8ade3ad2f0fce59103f26c262a0465a8515c47431b12b0eb149090dd
7
- data.tar.gz: c2b43512877eb1d2f4fb7cf44b4731bbeb6ba22f1ec44e6be3b9d46d133a1b8f67ae63ba35bd63d1a4970cc9604debfb16eb90dd4446d9401dd9dbcb73084d1a
6
+ metadata.gz: af2e44624f0d1b02f8a1247200b85da6da9323dfa75350b634fb2170c26a6d9b1c6b27b8b0fc86790b7e8455f859a6c025bc76b1e4024a75f4337b4a89ef5a04
7
+ data.tar.gz: baadf79d24dc847f035965f766a0a1dd094b98b1f98f4beea7ca2b1ac257a7be669c5c72daa5a397f01b8c3ef567cd9d57332f7a5e3667ab26bd74230e73151e
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GitHubPages
4
- VERSION = 233
4
+ VERSION = 234
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: '234'
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-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll