jekyll-securitytxt 0.1.0.pre.pre.3 → 0.1.0.pre.pre.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/jekyll-securitytxt.gemspec +1 -1
- data/lib/jekyll/securitytxt/version.rb +1 -1
- data/lib/jekyll/securitytxt.rb +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3da2a44a29429e38d5c853861ecd5856704e8ba8ca1323462b25740a4daccb70
|
4
|
+
data.tar.gz: 2617daa4e7df3be7d0366a58dbceef306444e1a01486b7a56d93f181eff2cd93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f56b3d7d651fd78321375d673172fc74e211585977fc17a0f24b06728a3dd45bafc624d5aec9b495a0b9fa0873afea10e120c83352a6e003bc8842dcf6f3af14
|
7
|
+
data.tar.gz: 6c5996e1b81d9d2732cec7af42c115eaff2a1abedec54153edf4b0617036a950902a3aceb8e9020d10a9ebe03d2ebf865e7f5db9e5ae9597d7a3f9f1fefce1ba
|
data/jekyll-securitytxt.gemspec
CHANGED
data/lib/jekyll/securitytxt.rb
CHANGED
@@ -23,7 +23,7 @@ module Jekyll
|
|
23
23
|
file_pattern = %r{.well-known/security\.txt?}
|
24
24
|
exists = @site.static_files.any? { |p| p.url =~ file_pattern }
|
25
25
|
warn_msg = "Found a security.txt file in source tree matching /#{file_pattern.source}/; not generating one..."
|
26
|
-
Jekyll.logger.warn "
|
26
|
+
Jekyll.logger.warn "Jekyll-securitytxt", warn_msg if exists
|
27
27
|
exists
|
28
28
|
end
|
29
29
|
|
@@ -39,7 +39,7 @@ module Jekyll
|
|
39
39
|
|
40
40
|
# Construct a file object from a template with content that can be added to generated pages
|
41
41
|
def verification_file
|
42
|
-
Jekyll.logger.info "
|
42
|
+
Jekyll.logger.info "Jekyll-securitytxt", "Generating #{securitytxt_path}"
|
43
43
|
page = PageWithoutAFile.new(@site, __dir__, "", securitytxt_path)
|
44
44
|
page.content = File.read(source_path)
|
45
45
|
page.data["layout"] = nil
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-securitytxt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.pre.pre.
|
4
|
+
version: 0.1.0.pre.pre.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- HAHWUL
|
@@ -14,16 +14,16 @@ dependencies:
|
|
14
14
|
name: jekyll
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: '0'
|
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:
|
26
|
+
version: '0'
|
27
27
|
description: Jekyll plugin for security.txt
|
28
28
|
email:
|
29
29
|
- hahwul@gmail.com
|