jekyll-uj-powertools 1.2.3 → 1.2.4

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: c2cc7b96fb6728cf336cef3c01e6fc16b8930cf034a9636d898d8a332fe067af
4
- data.tar.gz: b8e4ccaf207a3b8c180e34a2863d96b37b8f7670ca9f521416775c5476245929
3
+ metadata.gz: bda25141187a497a9435b43dca4fc31e96890f6a8d7d3c6a292cb7b9a0f3e17f
4
+ data.tar.gz: 2f0b8470892dd35b5d9882b49d12a55eee09e2278b0e4b867996df23db7e82da
5
5
  SHA512:
6
- metadata.gz: 6bd562fefc27a6c4d323b8e1c5b39fec82672ec49d3667e84774d8e57ff43bd84f60f7e7c6f5ca7da867fc3cc9a2718f6035604c1a99d10adb6638373b80d294
7
- data.tar.gz: 4228b64ea3146d93262ba7f473dee9845c79a18619ae2ad6d53578f061332bff50992031ce71bca8840a9fcc4f78de1348b41f120b7fe7162f3b6b483859ada1
6
+ metadata.gz: b9dbc1aa4077bf8af0127c65ed5692b97aed9c3343dbda53abc83500360ebbf52791bf9cd7bce4198834ec16c8f712f15184dabb0e175b60f6e579206b7562cc
7
+ data.tar.gz: 8cf1019aa5a4730ce1fadadcd268dac348fc8911b8bd04a82480cb560a4402ade761216a8ee475f3a3736dd6d942f997edf056796d78974f7f624c7297c3c1dc
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module UJPowertools
3
- VERSION = "1.2.3"
3
+ VERSION = "1.2.4"
4
4
  end
5
5
  end
@@ -51,6 +51,11 @@ module Jekyll
51
51
  Jekyll::UJPowertools.cache_timestamp
52
52
  end
53
53
 
54
+ # Return the current year
55
+ def uj_year(input)
56
+ Time.now.year
57
+ end
58
+
54
59
  # Title case
55
60
  def uj_title_case(input)
56
61
  input.split(' ').map(&:capitalize).join(' ')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-uj-powertools
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - ITW Creative Works