jekyll-securitytxt 0.1.0.pre.pre.2 → 0.1.0.pre.pre.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b7898aae99dbad4dc9835e6fecd283ca0f4a71522deb0b5fd85b07010a176a23
4
- data.tar.gz: ec09005e6705fa4b55689f88f96b96e0d8815e33b190c1fcd5030df55a33531f
3
+ metadata.gz: 755a933dc19e1e38df50f5e21f229ac3d6248d463f4d774e1ee22f9691e35167
4
+ data.tar.gz: ce9dea778d7b4e79adafa2d49465aea6405b4553a12e79cbf86561a79a1cb7a4
5
5
  SHA512:
6
- metadata.gz: 9720ebfd6ced85535f75465ae323e7a49a964c0d66e5d3bc95f03ea9a6ff93abe1a33b86d838205b21f22a2f9cc8caf48cc04a7e7aec12f730870a9e53c31371
7
- data.tar.gz: cb7901ff92a1b1dc5ec3f9540a783f23dd5a99e1266faf81dfebb68e3348c678c10bf5c1073965716604c088abdec303ff3695981894d0e53f0cf314ea8eab23
6
+ metadata.gz: f2e6da149785efa3ae1a8d021add53410bab2348adf98aed0bc2b1dfd2c5933fc44dbfee25a9c5a97c5119526b8a9221119e00ea8f47310aa0c6ab6779b58dc3
7
+ data.tar.gz: d76c3d9d97b73ad3c2654266229a5f11308a02ae046c56c9a3a3b5296318591f4d6e7234f7ddca945ee260c92d7b1ea9d7a89d45a2ca58913f0db0de4e247687
data/README.md CHANGED
@@ -29,3 +29,4 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
29
29
  ## Contributing
30
30
 
31
31
  Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/jekyll-securitytxt.
32
+ # jekyll-securitytxt
@@ -12,6 +12,7 @@ Gem::Specification.new do |spec|
12
12
  spec.description = "Jekyll plugin for security.txt"
13
13
  spec.homepage = "https://github.com/hahwul/jekyll-securitytxt"
14
14
  spec.required_ruby_version = ">= 2.6.0"
15
+ spec.license = "MIT"
15
16
 
16
17
  spec.metadata["homepage_uri"] = spec.homepage
17
18
  spec.metadata["source_code_uri"] = spec.homepage
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  module Securitytxt
5
- VERSION = "0.1.0-pre.2"
5
+ VERSION = "0.1.0-pre.3"
6
6
  end
7
7
  end
@@ -29,7 +29,7 @@ module Jekyll
29
29
 
30
30
  # Get path of the template file.
31
31
  def source_path(file = "template.html")
32
- File.expand_path "../#{file}", __dir__
32
+ File.expand_path "#{file}", __dir__
33
33
  end
34
34
 
35
35
  # Path of the security.txt file.
@@ -0,0 +1,35 @@
1
+ {{ if site.security_txt.contact }}
2
+ Contact: {{ site.security_txt.contact }}
3
+ {{ end }}
4
+
5
+ {{ if site.security_txt.expires}}
6
+ Expires: {{ site.security_txt.expires }}
7
+ {{ end }}
8
+
9
+ {{ if site.security_txt.encryption }}
10
+ Encryption: {{ site.security_txt.encryption }}
11
+ {{ end }}
12
+
13
+ {{ if site.security_txt.preferred_languages }}
14
+ Preferred-Languages: {{ site.security_txt.preferred_languages }}
15
+ {{ end }}
16
+
17
+ {{ if site.security_txt.acknowledgments }}
18
+ Acknowledgments: {{ site.security_txt.acknowledgments }}
19
+ {{ end }}
20
+
21
+ {{ if site.security_txt.policy }}
22
+ Policy: {{ site.security_txt.policy }}
23
+ {{ end }}
24
+
25
+ {{ if site.security_txt.hiring }}
26
+ Hiring: {{ site.security_txt.hiring }}
27
+ {{ end }}
28
+
29
+ {{ if site.security_txt.csaf }}
30
+ CSAF: {{ site.security_txt.csaf }}
31
+ {{ end }}
32
+
33
+ {{ if site.security_txt.canonical }}
34
+ Canonical: {{ site.security_txt.canonical }}
35
+ {{ end }}
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.2
4
+ version: 0.1.0.pre.pre.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - HAHWUL
@@ -38,9 +38,11 @@ files:
38
38
  - jekyll-securitytxt.gemspec
39
39
  - lib/jekyll/securitytxt.rb
40
40
  - lib/jekyll/securitytxt/version.rb
41
+ - lib/jekyll/template.html
41
42
  - sig/jekyll/securitytxt.rbs
42
43
  homepage: https://github.com/hahwul/jekyll-securitytxt
43
- licenses: []
44
+ licenses:
45
+ - MIT
44
46
  metadata:
45
47
  homepage_uri: https://github.com/hahwul/jekyll-securitytxt
46
48
  source_code_uri: https://github.com/hahwul/jekyll-securitytxt