elixir-toolkit-theme-plugins 0.1.2 → 0.1.3

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: 34d1f7cdbf2fb87c68a276f4e82e5eda1430140ab80a3ad9d26ab704420f9aca
4
- data.tar.gz: fa1b71622669b8d33453811d5d3ff9cac0b1d9509a8b85b1635dcc78c77a8a56
3
+ metadata.gz: ec9c33ac3d91355a4e0c66c12217c4a0db28594c01394cb8d51256be62eda3fc
4
+ data.tar.gz: f123b473dae7efa370ba6fd33b465cf0da697835b5cbefe56defe3cfada523c8
5
5
  SHA512:
6
- metadata.gz: cfea28977cfb8420370f1a997c301d1e959972aeb566ef8417e8a6c62476008e2a357ef277a3f063a132162bc2ce7e7aa6dbde962bffdf48fd3a14b2872e7fda
7
- data.tar.gz: d29ea77d1943fee31614c7e8caa906a423ff10af06adfaf826475ebb45107b222b8490479e69de55f2a0af5f74e99aa67e6f471ffb876c3b4ea796595850121c
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@v2
15
- - name: Set up Ruby
16
- uses: ruby/setup-ruby@v1.127.0
14
+ - uses: actions/checkout@v3
15
+ - name: Set up Ruby 3.1
16
+ uses: actions/setup-ruby@v1
17
17
  with:
18
- ruby-version: '3.1'
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
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  class Ett
3
- VERSION = '0.1.2'
3
+ VERSION = '0.1.3'
4
4
  end
5
- end
5
+ end
@@ -5,3 +5,5 @@ require 'jekyll'
5
5
  require "elixir-toolkit-theme-plugins/version"
6
6
  require "elixir-toolkit-theme-plugins/tool_table_filter"
7
7
  require "elixir-toolkit-theme-plugins/tool_tag"
8
+
9
+ require "elixir-toolkit-theme-plugins/github_metadata_fix"
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.2
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: 2022-12-14 00:00:00.000000000 Z
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