RubyGems
npm
Organizations
Log in
Sign up
RubyGems
matflores-jekyll
Versions diffs
0.4.1.1 → 0.4.2
matflores-jekyll 0.4.1.1 → 0.4.2
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/jekyll/filters.rb
+4
-0
metadata
+1
-1
data/lib/jekyll/filters.rb
CHANGED
Viewed
@@ -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
Viewed
@@ -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