jekyll-securitytxt 0.1.0.pre.pre → 0.1.0.pre.pre.2
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 +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7898aae99dbad4dc9835e6fecd283ca0f4a71522deb0b5fd85b07010a176a23
|
4
|
+
data.tar.gz: ec09005e6705fa4b55689f88f96b96e0d8815e33b190c1fcd5030df55a33531f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9720ebfd6ced85535f75465ae323e7a49a964c0d66e5d3bc95f03ea9a6ff93abe1a33b86d838205b21f22a2f9cc8caf48cc04a7e7aec12f730870a9e53c31371
|
7
|
+
data.tar.gz: cb7901ff92a1b1dc5ec3f9540a783f23dd5a99e1266faf81dfebb68e3348c678c10bf5c1073965716604c088abdec303ff3695981894d0e53f0cf314ea8eab23
|
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- HAHWUL
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.
|
19
|
+
version: 3.9.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: 3.
|
26
|
+
version: 3.9.0
|
27
27
|
description: Jekyll plugin for security.txt
|
28
28
|
email:
|
29
29
|
- hahwul@gmail.com
|