elixir-toolkit-theme-plugins 0.1.2 → 0.1.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec9c33ac3d91355a4e0c66c12217c4a0db28594c01394cb8d51256be62eda3fc
|
4
|
+
data.tar.gz: f123b473dae7efa370ba6fd33b465cf0da697835b5cbefe56defe3cfada523c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 968fe4698dc573b8820aa4cc7f4e43525ca3b2d60fa69d1460a92fd3e7aa6b0665ee24011548825fdbe92602f0f5c963457f0bff0d649efde7d216da38f1caf4
|
7
|
+
data.tar.gz: 83d0b8844e18d939accaafd0085aaf41afee31825ac5b7d775eabd2a2667530e1e4bfc747faee1ecab40ead92d759f1c0c766c1544c097cfbc09b3eaa199798c
|
@@ -11,11 +11,11 @@ jobs:
|
|
11
11
|
runs-on: ubuntu-latest
|
12
12
|
|
13
13
|
steps:
|
14
|
-
- uses: actions/checkout@
|
15
|
-
- name: Set up Ruby
|
16
|
-
uses:
|
14
|
+
- uses: actions/checkout@v3
|
15
|
+
- name: Set up Ruby 3.1
|
16
|
+
uses: actions/setup-ruby@v1
|
17
17
|
with:
|
18
|
-
ruby-version:
|
18
|
+
ruby-version: 3.1
|
19
19
|
|
20
20
|
- name: Publish to GPR
|
21
21
|
run: |
|
@@ -8,7 +8,7 @@ require 'rake'
|
|
8
8
|
Gem::Specification.new do |spec|
|
9
9
|
spec.name = "elixir-toolkit-theme-plugins"
|
10
10
|
spec.version = Jekyll::Ett::VERSION.dup
|
11
|
-
spec.authors = ["bedroesb","janslifka"]
|
11
|
+
spec.authors = ["bedroesb", "janslifka", "MarekSuchanek"]
|
12
12
|
spec.email = ["bedro@psb.vib-ugent.be\n"]
|
13
13
|
|
14
14
|
spec.summary = "Plugins to work together with ELIXIR Toolkit theme"
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module Jekyll
|
2
|
+
# Override jekyll-github-metadata plugin
|
3
|
+
module GitHubMetadata
|
4
|
+
module RepositoryFix
|
5
|
+
# Allow to override site.github.source.branch with envvar JEKYLL_BUILD_BRANCH
|
6
|
+
# Allow to override site.github.source.path with envvar JEKYLL_BASE_PATH
|
7
|
+
|
8
|
+
def source
|
9
|
+
{
|
10
|
+
"branch" => ENV["JEKYLL_BUILD_BRANCH"] || super["branch"],
|
11
|
+
"path" => ENV["JEKYLL_BASE_PATH"] || super["path"],
|
12
|
+
}
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
class Repository
|
17
|
+
prepend RepositoryFix
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
metadata
CHANGED
@@ -1,15 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elixir-toolkit-theme-plugins
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- bedroesb
|
8
8
|
- janslifka
|
9
|
+
- MarekSuchanek
|
9
10
|
autorequire:
|
10
11
|
bindir: bin
|
11
12
|
cert_chain: []
|
12
|
-
date:
|
13
|
+
date: 2023-03-08 00:00:00.000000000 Z
|
13
14
|
dependencies:
|
14
15
|
- !ruby/object:Gem::Dependency
|
15
16
|
name: jekyll
|
@@ -60,6 +61,7 @@ files:
|
|
60
61
|
- README.md
|
61
62
|
- elixir-toolkit-theme-plugins.gemspec
|
62
63
|
- lib/elixir-toolkit-theme-plugins.rb
|
64
|
+
- lib/elixir-toolkit-theme-plugins/github_metadata_fix.rb
|
63
65
|
- lib/elixir-toolkit-theme-plugins/tool_table_filter.rb
|
64
66
|
- lib/elixir-toolkit-theme-plugins/tool_tag.rb
|
65
67
|
- lib/elixir-toolkit-theme-plugins/version.rb
|