jekyll-google_search_console_verification_file 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.codeclimate.yml +1 -0
- data/.github/dependabot.yml +1 -0
- data/.rubocop.yml +4 -0
- data/CHANGELOG.md +3 -0
- data/Gemfile +3 -2
- data/README.md +10 -3
- data/jekyll-google_search_console_verification_file.gemspec +3 -3
- data/lib/jekyll-google_search_console_verification_file/version.rb +1 -1
- 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: bf327c8f9a6b4b1d211c14f8db2aa48af23c6c1bdbbabab4a66a9e7bb36227ff
|
4
|
+
data.tar.gz: 7d489613d1476185481149da3b46a8f3a374b46419c3d7e662eb229347552db0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 227e8df2496e287e49e27be79606d2f7e48167a75cf2b73d965994c91d88bcae5619e1713832223796e3d313e491dddc92ee937dcc659b118e74e6cac4d44d35
|
7
|
+
data.tar.gz: 359491da6c149dd6c464f5db3d75aa4b5e55a828623f3fccd57fe1d741ac1ff6228349dde67460379025741005e96470db266530c51e7455e9f096d02ff502a7
|
data/.codeclimate.yml
CHANGED
data/.github/dependabot.yml
CHANGED
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
@@ -12,10 +12,11 @@ gemspec
|
|
12
12
|
# Reference: https://github.com/rubygems/bundler/pull/7222
|
13
13
|
# However there's an argument for using gemspec too: https://bundler.io/guides/creating_gem.html#testing-our-gem
|
14
14
|
group :development, :test do
|
15
|
-
gem "rake", "~> 13.0", require: false
|
16
|
-
gem "travis", "~> 1.0", require: false
|
17
15
|
gem "appraisal", "~> 2.4", require: false
|
18
16
|
gem "gem-release", "~> 2.0", require: false
|
17
|
+
gem "rake", "~> 13.0", require: false
|
18
|
+
gem "solargraph", require: false
|
19
|
+
gem "travis", "~> 1.0", require: false
|
19
20
|
end
|
20
21
|
|
21
22
|
group :test do
|
data/README.md
CHANGED
@@ -1,5 +1,6 @@
|
|
1
|
-
# Jekyll Google Search Console Verification File Generator Plugin
|
1
|
+
# Jekyll Google Search Console Verification File Generator Plugin
|
2
2
|
[![Gem Version](https://badge.fury.io/rb/jekyll-google_search_console_verification_file.svg)](https://badge.fury.io/rb/jekyll-google_search_console_verification_file)
|
3
|
+
[![Gem Downloads](https://ruby-gem-downloads-badge.herokuapp.com/jekyll-google_search_console_verification_file?color=brightgreen&type=total&label=gem%20downloads)](https://rubygems.org/gems/jekyll-google_search_console_verification_file)
|
3
4
|
[![Travis Build Status](https://img.shields.io/travis/erikw/jekyll-google_search_console_verification_file/main?logo=travis)](https://travis-ci.com/erikw/jekyll-google_search_console_verification_file)
|
4
5
|
[![Code Climate Maintainability](https://api.codeclimate.com/v1/badges/59050f3f66ed1f1ee32e/maintainability)](https://codeclimate.com/github/erikw/jekyll-google_search_console_verification_file/maintainability)
|
5
6
|
[![Code Climate Test Coverage](https://api.codeclimate.com/v1/badges/59050f3f66ed1f1ee32e/test_coverage)](https://codeclimate.com/github/erikw/jekyll-google_search_console_verification_file/test_coverage)
|
@@ -7,7 +8,7 @@
|
|
7
8
|
|
8
9
|
|
9
10
|
|
10
|
-
This is a very simple plugin that will generate a Google Search Console (GSC from here) [verification file](https://support.google.com/webmasters/answer/9008080?hl=en) to your `_site/` directory in a Jekyll project. This file is used by GSC to verify that you own the site and looks for example like my [googlef47733b3288357e4.html](https://erikw.me/
|
11
|
+
This is a very simple plugin that will generate a Google Search Console (GSC from here) [verification file](https://support.google.com/webmasters/answer/9008080?hl=en) to your `_site/` directory in a Jekyll project. This file is used by GSC to verify that you own the site and looks for example like my [googlef47733b3288357e4.html](https://erikw.me/google47733b3288357e4.html).
|
11
12
|
|
12
13
|
## Why?
|
13
14
|
Why use this plugin?
|
@@ -51,7 +52,7 @@ Note that if you do place a verification file in the root of the source tree, th
|
|
51
52
|
verification_file_code: 47733b3288357e4
|
52
53
|
```
|
53
54
|
1. Now just build your site and verify that the verification file now exist!
|
54
|
-
```
|
55
|
+
```console
|
55
56
|
$ bundle exec jekyll build
|
56
57
|
$ ls _site/ | grep "google.*\.html"
|
57
58
|
google47733b3288357e4.html
|
@@ -85,6 +86,8 @@ Following the setup at [how-to-specify-local-ruby-gems-in-your-gemfile](https://
|
|
85
86
|
- Optionally restore the original gem include in `Gemfile` or keep building from a branch in the github repo.
|
86
87
|
|
87
88
|
## Releasing
|
89
|
+
Instructions for releasing on rubygems.org below. Optionally make a GitHub [release](https://github.com/erikw/jekyll-google_search_console_verification_file/releases) after this for the pushed git tag.
|
90
|
+
|
88
91
|
## Using bundler/gem_tasks rake tasks
|
89
92
|
Following instructions from [bundler.io](https://bundler.io/guides/creating_gem.html#releasing-the-gem):
|
90
93
|
```console
|
@@ -104,6 +107,7 @@ Using [gem-release](https://github.com/svenfuchs/gem-release):
|
|
104
107
|
$ vi CHANGELOG.md && git add CHANGELOG.md && git commit -m "Update CHANGELOG.md" && git push
|
105
108
|
$ gem bump --version minor --tag --sign --push --release
|
106
109
|
```
|
110
|
+
For `--version`, use `major|minor|patch` as needed.
|
107
111
|
|
108
112
|
## Multi-versions
|
109
113
|
* For ruby, just use RVM to switch between supported ruby version specified in `.gemspec`.
|
@@ -151,3 +155,6 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/erikw/
|
|
151
155
|
|
152
156
|
# License
|
153
157
|
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
158
|
+
|
159
|
+
# More Jekyll
|
160
|
+
Check out my other Jekyll repositories [here](https://github.com/erikw?tab=repositories&q=jekyll-&type=&language=&sort=).
|
@@ -9,10 +9,10 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.email = ["erik.westrup@gmail.com"]
|
10
10
|
|
11
11
|
spec.summary = "Generate a Google Search Console verification file from your _config.yml e.g. google47733b3288357e4.html to the root of your Jekyll site."
|
12
|
-
spec.description = "This is a very simple plugin that will generate a Google Search Console (GSC from here) verification file to your _site/ directory in a Jekyll project. This file is used by GSC to verify that you own the site and looks for example like https://erikw.me/
|
12
|
+
spec.description = "This is a very simple plugin that will generate a Google Search Console (GSC from here) verification file to your _site/ directory in a Jekyll project. This file is used by GSC to verify that you own the site and looks for example like https://erikw.me/google47733b3288357e4.html."
|
13
13
|
spec.homepage = "https://github.com/erikw/jekyll-google_search_console_verification_file/"
|
14
14
|
spec.license = "MIT"
|
15
|
-
spec.required_ruby_version = ">= 2.7", "< 4"
|
15
|
+
spec.required_ruby_version = [">= 2.7", "< 4"]
|
16
16
|
|
17
17
|
spec.metadata["homepage_uri"] = spec.homepage
|
18
18
|
spec.metadata["source_code_uri"] = "https://github.com/erikw/jekyll-google_search_console_verification_file/"
|
@@ -27,5 +27,5 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
28
28
|
spec.require_paths = ["lib"]
|
29
29
|
|
30
|
-
spec.add_dependency "jekyll", ">= 3.7", "< 5.0"
|
30
|
+
spec.add_dependency "jekyll", [">= 3.7", "< 5.0"]
|
31
31
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-google_search_console_verification_file
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Erik Westrup
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
description: This is a very simple plugin that will generate a Google Search Console
|
34
34
|
(GSC from here) verification file to your _site/ directory in a Jekyll project.
|
35
35
|
This file is used by GSC to verify that you own the site and looks for example like
|
36
|
-
https://erikw.me/
|
36
|
+
https://erikw.me/google47733b3288357e4.html.
|
37
37
|
email:
|
38
38
|
- erik.westrup@gmail.com
|
39
39
|
executables: []
|