jekyll-open-sdg-plugins 0.0.3 → 0.0.4

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: 51cba34a35a6c521ca3f8208424f5c355fb3679f4dab7a47471499ee39249663
4
- data.tar.gz: 0b1408147118175ccad7778806c494077617f165a1e1059c410190233ad05d02
3
+ metadata.gz: 4903487e2759a5ab0bf0e146b3c068c119b709f1832d2aeee26711f3389a66bb
4
+ data.tar.gz: 17a0ad052142b071f327ebb3f2a933349728655f7829049a97f15933620d8f39
5
5
  SHA512:
6
- metadata.gz: 83a221d67965b8a8c70a30679a5c32d371ddd241a5ebfb3d0d4f4d2eed851fa75a24bdae164fd17516ce236f1d7ac11f3a981d1b69b7e632871950ceadf50531
7
- data.tar.gz: 49ff64ec8538d3b84901c08af4936b38d83b442bb285399d455cf7cdcc43343855711d3c2ae042b8e4e121a3b776ff85f94aca634b27c114756a846d13053d0e
6
+ metadata.gz: 8c2c8dd4b8eea0f935bd2f10323373d5d965ea589fe6823d4440e2fb1d2e0a2ac511785fb32cd20c97c44c42ab30581f7f472c9a305b1c9fb6784bfc05e059aa
7
+ data.tar.gz: dd10a8aaa6d10e914e01a4147535dabd593bf52587af404f63cf4f760e2d3ac719863e4c065ea50ad117170efda1871322e3adbf4d71539d86a30c3f59619fd4
@@ -12,6 +12,11 @@ module Jekyll
12
12
  return ""
13
13
  end
14
14
 
15
+ # Also make sure it is a string, and other just return it.
16
+ if not key.is_a? String
17
+ return key
18
+ end
19
+
15
20
  # Determine the language of the current page.
16
21
  translations = @context.registers[:site].data['translations']
17
22
  language = @context.environments.first["page"]['language']
@@ -1,3 +1,3 @@
1
1
  module JekyllOpenSdgPlugins
2
- VERSION = "0.0.3".freeze
2
+ VERSION = "0.0.4".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-open-sdg-plugins
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brock Fanning
@@ -60,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
60
60
  version: '0'
61
61
  requirements: []
62
62
  rubyforge_project:
63
- rubygems_version: 2.7.6
63
+ rubygems_version: 2.7.1
64
64
  signing_key:
65
65
  specification_version: 4
66
66
  summary: Jekyll plugins for use with the Open SDG platform