jekyll-securitytxt 0.1.0.pre.pre.9 → 1.0.0

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: 58aeb260844728d59b29ab4fa10de67aafdc17b0933c5aab5e12d606d817f4f5
4
- data.tar.gz: 143f72e10e722fe421fb6416276e2e42d68085f0d5804c3abe25fb75c32770ae
3
+ metadata.gz: 1b973627c263b9ed12363b1d064d6c184e46b3dc94d456ec927b68e60ce318ab
4
+ data.tar.gz: c1a1f05e08ef7cedc8d8453307094f2d09e4aa0b121c84546fd1b8e59b75b185
5
5
  SHA512:
6
- metadata.gz: 8ea535f95257369733ef29f173530a8f06b029ae23749e4a83e6b230a172c0c95a0be15b3c0759fd4de0eec111c2eac84b9d903763933a7bb617f7f05753c744
7
- data.tar.gz: 372a62a8b92a3d5d8bea622b8c4f669fd1cb1b7e9ba69712d4440cb2c2b62a3a61eb685face590219573ac60b094a433bdef85336d6fd6406f9a5ba21c0c7be9
6
+ metadata.gz: 05b68c514eaa9ab3a2b235533e4e78296489e9e7b7e62d3327f9fafd2bd8b7a351ea72df978f0de24b021e7a6f4713d5e416ab7f3ef635d40f3e83b95f55133f
7
+ data.tar.gz: 1d01487f23906e15eabc26052bda29f8528e5d8fa79c40fcafe441f2366896f7be2b14cee31b28738faf52df99e56cd0dfcade10086d95a259eac4eb584e9171
data/README.md CHANGED
@@ -1,32 +1,22 @@
1
- # Jekyll::Securitytxt
2
-
3
- TODO: Delete this and the text below, and describe your gem
4
-
5
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/jekyll/securitytxt`. To experiment with that code, run `bin/console` for an interactive prompt.
1
+ # jekyll-securitytxt
6
2
 
7
3
  ## Installation
8
-
9
- TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
10
-
11
- Install the gem and add to the application's Gemfile by executing:
12
-
13
- $ bundle add UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
14
-
15
- If bundler is not being used to manage dependencies, install the gem by executing:
16
-
17
- $ gem install UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
4
+ ```ruby
5
+ group :jekyll_plugins do
6
+ # ...
7
+ gem "jekyll-securitytxt"
8
+ end
9
+ ```
18
10
 
19
11
  ## Usage
20
12
 
21
- TODO: Write usage instructions here
22
-
23
- ## Development
24
-
25
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
13
+ ```yaml
14
+ # in _config.yml
15
+ security_txt:
16
+ comment: If you find any security issues on this site, please contact me!
17
+ contact: "mailto:<YOUR-EMAIL>"
18
+ preferred_languages: "ko, en"
19
+ ```
26
20
 
27
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
28
-
29
- ## Contributing
30
-
31
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/jekyll-securitytxt.
32
- # jekyll-securitytxt
21
+ > [!TIP]
22
+ > See here for information on the column. https://securitytxt.org*
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  module Securitytxt
5
- VERSION = "0.1.0-pre.9"
5
+ VERSION = "1.0.0"
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.to_s, __dir__
33
33
  end
34
34
 
35
35
  # Path of the security.txt file.
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.9
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - HAHWUL