jekyll-titleize 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/jekyll-titleize.rb +14 -0
  3. metadata +58 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 9d8d1ead596c57008fd57af1a143e8b30eee2a65
4
+ data.tar.gz: b6e6e4d37d1d53c357430e49fa16ea5c16344ce7
5
+ SHA512:
6
+ metadata.gz: 5153f94ddb1b0b0a55c3aeb329662b0de3b86de739904c45839324e33332c2ec7ef8430830d403e79c266bc3358e8c51d0d74c4cef42bb00a2ca4bf7fd57cc99
7
+ data.tar.gz: 3cc50775636016fd783c72a93131bb9800a28de31edbc2595306eb5af178a12314c0cf21af45d750adae47082648f270ac3f507ffa3a44b7d3e874b55609b458
@@ -0,0 +1,14 @@
1
+ require "titleize"
2
+
3
+ module Jekyll
4
+ module TitleizeFilter
5
+
6
+ def titleize(input)
7
+ input.titleize
8
+ end
9
+
10
+ end
11
+ end
12
+
13
+ Liquid::Template.register_filter(Jekyll::TitleizeFilter)
14
+
metadata ADDED
@@ -0,0 +1,58 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-titleize
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Ryan Burnette
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-01-01 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: titleize
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.3'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.3'
27
+ description:
28
+ email: ryan.burnette@gmail.com
29
+ executables: []
30
+ extensions: []
31
+ extra_rdoc_files: []
32
+ files:
33
+ - lib/jekyll-titleize.rb
34
+ homepage: https://github.com/ryanburnette/jekyll-titleize
35
+ licenses:
36
+ - Apache2
37
+ metadata: {}
38
+ post_install_message:
39
+ rdoc_options: []
40
+ require_paths:
41
+ - lib
42
+ required_ruby_version: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ required_rubygems_version: !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - ">="
50
+ - !ruby/object:Gem::Version
51
+ version: '0'
52
+ requirements: []
53
+ rubyforge_project:
54
+ rubygems_version: 2.4.5
55
+ signing_key:
56
+ specification_version: 4
57
+ summary: Titleize as a Liquid Filter in Jekyll.
58
+ test_files: []