matflores-jekyll 0.4.1.1 → 0.4.2

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.
Files changed (2) hide show
  1. data/lib/jekyll/filters.rb +4 -0
  2. metadata +1 -1
@@ -46,5 +46,9 @@ module Jekyll
46
46
  def to_month_abbr(input)
47
47
  return Date::ABBR_MONTHNAMES[input.to_i]
48
48
  end
49
+
50
+ def format(input, format)
51
+ format % input
52
+ end
49
53
  end
50
54
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: matflores-jekyll
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Preston-Werner