jekyll-securitytxt 0.1.0.pre.pre.3 → 0.1.0.pre.pre.4
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: b1da1ee5682b2694cb2092c940acdfcdd726c99f4f67c1f0cb4c7f7bf97699ae
|
4
|
+
data.tar.gz: 19eaf182cf5780ad44359653c152e4096d3dbbb2ea680944dfa64342465e4849
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb059cfaa3edaf5f823c5d870d299114181e6a6fdd8b25207649ff7e7ac8743ecef76c54c6a286e88f32a0ddaaf557b4d4bb88908a11caf704a92b95f1dc8aea
|
7
|
+
data.tar.gz: f2a55aaa47189d114fbad87c6c9f68db92d32ad86d084fe7d834e10e4587e1ff88e819d6ed6034a8f6dd06802ab39c58d7829d76aaa131f839251f1922cab903
|
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.4
|
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:
|
19
|
+
version: 4.0.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: 4.0.0
|
27
27
|
description: Jekyll plugin for security.txt
|
28
28
|
email:
|
29
29
|
- hahwul@gmail.com
|