jekyll-date-format 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,19 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
18
+ .DS_Store
19
+ _site
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in jekyll-dateformat.gemspec
4
+ gemspec
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2013 Brandon Mathis
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,90 @@
1
+ # Jekyll DateFormat
2
+
3
+ A simple plugin which makes it easy to have nicely formatted dates on any post or page.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ gem 'jekyll-date-format'
10
+
11
+ And then execute:
12
+
13
+ $ bundle
14
+
15
+ Or install it yourself as:
16
+
17
+ $ gem install jekyll-date-format
18
+
19
+ ## Usage
20
+
21
+ In your Jekyll configuration (usually the _config.yml) you can set the date
22
+
23
+ | Configuration | Description | Default |
24
+ |:--------------|--------------------------------------------------------------------------------|-----------|
25
+ | date_format | A [Ruby strftime](http://apidock.com/ruby/DateTime/strftime) compatible string | 'ordinal' |
26
+
27
+ Any post (or page with a date) will have access to two new variables. Use `post.date_formatted` to output a date formatted based on your `date_format` Jekyll
28
+ configuration, or use `post.time_tag` to output a fully formatted `<time>` tag. For a page, use `page.date_formatted` and `page.time_tag` instead.
29
+
30
+ ```
31
+ Published: {{ post.date_formatted }}
32
+ Published: {{ post.time_tag }}
33
+
34
+ # Which would output
35
+ # Published: July 3, 2013
36
+ # Published: <time class='date-published' datetime='2013-07-03 09:08:15 -0500' pubdate>July 3<sup>rd</sup>, 2013</time>
37
+ ```
38
+
39
+ In the output above it's worth noting that the `pubdate` attribute is a microformat used to help robots distinguish a document's date of publication.
40
+
41
+ Additionally if you like to keep track of when posts were updated, you can add an updated `updated: 2013-07-05 4:08:15` to your post or page's YAML front matter and you'll be able to use variables with your udpated date as well.
42
+
43
+ ```
44
+ Last Updated: {{ post.updated_formatted }}
45
+ Last updated: {{ post.time_tag_updated }}
46
+
47
+ # Which would output
48
+ # Last updated: July 5, 2013
49
+ # Last updated: <time class='date-updated' datetime='2013-05-03 04:08:15 -0500'>July 5<sup>th</sup>, 2013</time>
50
+ ```
51
+
52
+ Of course you can use Liquid conditionals to test for the presence of `post.updated` before outputting an udpated date.
53
+
54
+ ```
55
+ {% if post.updated %}Last Updated: {{ post.time_tag_updated }}{% endif %}
56
+ ```
57
+
58
+ ## Contributing
59
+
60
+ 1. Fork it
61
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
62
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
63
+ 4. Push to the branch (`git push origin my-new-feature`)
64
+ 5. Create new Pull Request
65
+
66
+
67
+ ## License
68
+
69
+ Copyright (c) 2013 Brandon Mathis
70
+
71
+ MIT License
72
+
73
+ Permission is hereby granted, free of charge, to any person obtaining
74
+ a copy of this software and associated documentation files (the
75
+ "Software"), to deal in the Software without restriction, including
76
+ without limitation the rights to use, copy, modify, merge, publish,
77
+ distribute, sublicense, and/or sell copies of the Software, and to
78
+ permit persons to whom the Software is furnished to do so, subject to
79
+ the following conditions:
80
+
81
+ The above copyright notice and this permission notice shall be
82
+ included in all copies or substantial portions of the Software.
83
+
84
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
85
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
86
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
87
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
88
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
89
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
90
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,20 @@
1
+ # -*- encoding: utf-8 -*-
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'jekyll-date-format/version'
5
+
6
+ Gem::Specification.new do |gem|
7
+ gem.name = "jekyll-date-format"
8
+ gem.version = Jekyll::DateFormat::VERSION
9
+ gem.authors = ["Brandon Mathis"]
10
+ gem.email = ["brandon@imathis.com"]
11
+ gem.description = %q{Automatically adds variables with nicely formated dates and time tags to Jekyll posts and pages.}
12
+ gem.summary = %q{Automatically adds variables with nicely formated dates and time tags to Jekyll posts and pages.}
13
+ gem.homepage = "https://github.com/octopress/jekyll-date-format"
14
+ gem.license = "MIT"
15
+
16
+ gem.add_runtime_dependency 'jekyll', '>= 1.0.0'
17
+
18
+ gem.files = `git ls-files`.split($/)
19
+ gem.require_paths = ["lib"]
20
+ end
@@ -0,0 +1,116 @@
1
+
2
+ module Jekyll
3
+ class DateFormat
4
+
5
+ # Returns a datetime if the input is a string
6
+ def self.datetime(date)
7
+ if date.class == String
8
+ date = Time.parse(date)
9
+ end
10
+ date
11
+ end
12
+
13
+ # Returns an ordidinal date eg July 22 2007 -> July 22nd 2007
14
+ def self.ordinalize(date)
15
+ date = datetime(date)
16
+ "#{date.strftime('%b')} #{ordinal(date.strftime('%e').to_i)}, #{date.strftime('%Y')}"
17
+ end
18
+
19
+ def self.time_tag(date, formatted, type)
20
+ t = "<time class='date-#{type}' datetime='#{date}'"
21
+ t += " pubdate" unless type == 'updated'
22
+ t += ">#{formatted}</time>"
23
+ end
24
+
25
+
26
+ # Returns an ordinal number. 13 -> 13th, 21 -> 21st etc.
27
+ def self.ordinal(number)
28
+ if (11..13).include?(number.to_i % 100)
29
+ "#{number}<sup>th</sup>"
30
+ else
31
+ case number.to_i % 10
32
+ when 1; "#{number}<sup>st</sup>"
33
+ when 2; "#{number}<sup>nd</sup>"
34
+ when 3; "#{number}<sup>rd</sup>"
35
+ else "#{number}<sup>th</sup>"
36
+ end
37
+ end
38
+ end
39
+
40
+ # Formats date either as ordinal or by given date format
41
+ # Adds %o as ordinal representation of the day
42
+ def self.format_date(date, format)
43
+ date = datetime(date)
44
+ if format.nil? || format.empty? || format == "ordinal"
45
+ date_formatted = ordinalize(date)
46
+ else
47
+ date_formatted = date.strftime(format)
48
+ date_formatted.gsub!(/%o/, ordinal(date.strftime('%e').to_i))
49
+ end
50
+ date_formatted
51
+ end
52
+
53
+ end
54
+
55
+ class Post
56
+
57
+ # Copy the #initialize method to #old_initialize, so we can redefine #initialize
58
+ #
59
+ alias_method :old_initialize, :initialize
60
+ attr_accessor :updated
61
+
62
+ def initialize(site, source, dir, name)
63
+ old_initialize(site, source, dir, name)
64
+ format = self.site.config['date_format']
65
+
66
+ date_f = DateFormat.format_date(self.date, format) unless self.data['date'].nil?
67
+ date_t = DateFormat.time_tag(self.date, date_f, 'published')
68
+
69
+ self.data['date_formatted'] = date_f
70
+ self.data['time_tag'] = date_t
71
+
72
+ unless self.data['updated'].nil?
73
+ updated = Time.parse(self.data['updated'].to_s)
74
+ updated_f = DateFormat.format_date(self.data['updated'], format)
75
+ updated_t = DateFormat.time_tag(self.date, date_f, 'updated')
76
+
77
+ self.data['updated'] = updated
78
+ self.data['updated_formatted'] = updated_f
79
+ self.data['updated_time_tag'] = updated_t
80
+ end
81
+ end
82
+ end
83
+
84
+ class Page
85
+
86
+ # Copy the #initialize method to #old_initialize, so we can redefine #initialize
87
+ #
88
+ alias_method :old_initialize, :initialize
89
+ attr_accessor :updated, :date
90
+
91
+ def initialize(site, source, dir, name)
92
+ old_initialize(site, source, dir, name)
93
+ format = self.site.config['date_format']
94
+
95
+ unless self.data['date'].nil?
96
+
97
+ date_f = DateFormat.format_date(self.data['date'], format) unless self.data['date'].nil?
98
+ date_t = DateFormat.time_tag(self.data['date'], date_f, 'published')
99
+
100
+ self.data['date_formatted'] = date_f
101
+ self.data['time_tag'] = date_t
102
+ end
103
+
104
+ unless self.data['updated'].nil?
105
+ updated = Time.parse(self.data['updated'].to_s)
106
+ updated_f = DateFormat.format_date(self.data['updated'], format)
107
+ updated_t = DateFormat.time_tag(self.date, date_f, 'updated')
108
+
109
+ self.data['updated'] = updated
110
+ self.data['updated_formatted'] = updated_f
111
+ self.data['updated_time_tag'] = updated_t
112
+ end
113
+ end
114
+ end
115
+ end
116
+
@@ -0,0 +1,5 @@
1
+ module Jekyll
2
+ class DateFormat
3
+ VERSION = "1.0.0"
4
+ end
5
+ end
@@ -0,0 +1 @@
1
+ _site
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'jekyll-date-format', :path => '../'
4
+ gem 'redcarpet'
@@ -0,0 +1,3 @@
1
+ name: Your New Jekyll Site
2
+ markdown: redcarpet
3
+ pygments: true
@@ -0,0 +1,46 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
6
+ <title>{{ page.title }}</title>
7
+ <meta name="viewport" content="width=device-width">
8
+
9
+ <!-- syntax highlighting CSS -->
10
+ <link rel="stylesheet" href="/css/syntax.css">
11
+
12
+ <!-- Custom CSS -->
13
+ <link rel="stylesheet" href="/css/main.css">
14
+
15
+ </head>
16
+ <body>
17
+
18
+ <div class="container">
19
+ <div class="site">
20
+ <div class="header">
21
+ <h1 class="title"><a href="/">{{ site.name }}</a></h1>
22
+ <a class="extra" href="/">home</a>
23
+ </div>
24
+
25
+ {{ content }}
26
+
27
+ <div class="footer">
28
+ <div class="contact">
29
+ <p>
30
+ Your Name<br />
31
+ What You Are<br />
32
+ your@email.com
33
+ </p>
34
+ </div>
35
+ <div class="contact">
36
+ <p>
37
+ <a href="http://github.com/yourusername/">github.com/yourusername</a><br />
38
+ <a href="http://twitter.com/yourusername/">twitter.com/yourusername</a><br />
39
+ </p>
40
+ </div>
41
+ </div>
42
+ </div>
43
+ </div> <!-- /container -->
44
+
45
+ </body>
46
+ </html>
@@ -0,0 +1,9 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <h2>{{ page.title }}</h2>
5
+ <p class="meta">{{ page.date | date_to_string }}</p>
6
+
7
+ <div class="post">
8
+ {{ content }}
9
+ </div>
@@ -0,0 +1 @@
1
+ require 'jekyll-date-format'
@@ -0,0 +1,17 @@
1
+ ---
2
+ layout: post
3
+ title: "Welcome to Jekyll!"
4
+ date: 2013-08-16 14:08:15
5
+ updated: 2013-08-16 15:00:15
6
+ categories: jekyll update
7
+ ---
8
+
9
+ ## Date
10
+ - Date: {{ page.date }}
11
+ - Formatted: {{ page.date_formatted }}
12
+ - TimeTag: {{ page.time_tag }}
13
+
14
+ ## Updated
15
+ - Date: {{ page.updated }}
16
+ - Formatted: {{ page.updated_formatted }}
17
+ - TimeTag: {{ page.updated_time_tag }}
@@ -0,0 +1,160 @@
1
+ /*****************************************************************************/
2
+ /*
3
+ /* Common
4
+ /*
5
+ /*****************************************************************************/
6
+
7
+ /* Global Reset */
8
+ * {
9
+ margin: 0;
10
+ padding: 0;
11
+ }
12
+
13
+ html, body { height: 100%; }
14
+
15
+ body {
16
+ background-color: #FFF;
17
+ font: 13.34px Helvetica, Arial, sans-serif;
18
+ font-size: small;
19
+ text-align: center;
20
+ }
21
+
22
+ h1, h2, h3, h4, h5, h6 {
23
+ font-size: 100%; }
24
+
25
+ h1 { margin-bottom: 1em; }
26
+ p { margin: 1em 0; }
27
+
28
+ a { color: #00a; }
29
+ a:hover { color: #000; }
30
+ a:visited { color: #a0a; }
31
+
32
+ /*****************************************************************************/
33
+ /*
34
+ /* Home
35
+ /*
36
+ /*****************************************************************************/
37
+ ul.posts {
38
+ list-style-type: none;
39
+ margin-bottom: 2em;
40
+ }
41
+
42
+ ul.posts li {
43
+ line-height: 1.75em;
44
+ }
45
+
46
+ ul.posts span {
47
+ color: #aaa;
48
+ font-family: Monaco, "Courier New", monospace;
49
+ font-size: 80%;
50
+ }
51
+
52
+ /*****************************************************************************/
53
+ /*
54
+ /* Site
55
+ /*
56
+ /*****************************************************************************/
57
+
58
+ .site {
59
+ font-size: 115%;
60
+ text-align: justify;
61
+ width: 42em;
62
+ margin: 3em auto 2em;
63
+ line-height: 1.5em;
64
+ }
65
+
66
+ .site .header a {
67
+ font-weight: bold;
68
+ text-decoration: none;
69
+ }
70
+
71
+ .site .header h1.title {
72
+ display: inline-block;
73
+ margin-bottom: 2em;
74
+ }
75
+
76
+ .site .header h1.title a {
77
+ color: #a00;
78
+ }
79
+
80
+ .site .header h1.title a:hover {
81
+ color: #000;
82
+ }
83
+
84
+ .site .header a.extra {
85
+ color: #aaa;
86
+ margin-left: 1em;
87
+ }
88
+
89
+ .site .header a.extra:hover {
90
+ color: #000;
91
+ }
92
+
93
+ .site .meta {
94
+ color: #aaa;
95
+ }
96
+
97
+ .site .footer {
98
+ font-size: 80%;
99
+ color: #666;
100
+ border-top: 4px solid #eee;
101
+ margin-top: 2em;
102
+ overflow: hidden;
103
+ }
104
+
105
+ .site .footer .contact {
106
+ float: left;
107
+ margin-right: 3em;
108
+ }
109
+
110
+ .site .footer .contact a {
111
+ color: #8085C1;
112
+ }
113
+
114
+ .site .footer .rss {
115
+ margin-top: 1.1em;
116
+ margin-right: -.2em;
117
+ float: right;
118
+ }
119
+
120
+ .site .footer .rss img {
121
+ border: 0;
122
+ }
123
+
124
+ /*****************************************************************************/
125
+ /*
126
+ /* Posts
127
+ /*
128
+ /*****************************************************************************/
129
+
130
+ /* standard */
131
+ .post pre {
132
+ border: 1px solid #ddd;
133
+ background-color: #eef;
134
+ padding: 0 .4em;
135
+ }
136
+
137
+ .post ul, .post ol {
138
+ margin-left: 1.35em;
139
+ }
140
+
141
+ .post code {
142
+ border: 1px solid #ddd;
143
+ background-color: #eef;
144
+ padding: 0 .2em;
145
+ }
146
+
147
+ .post pre code {
148
+ border: none;
149
+ }
150
+
151
+ /* terminal */
152
+ .post pre.terminal {
153
+ border: 1px solid #000;
154
+ background-color: #333;
155
+ color: #FFF;
156
+ }
157
+
158
+ .post pre.terminal code {
159
+ background-color: #333;
160
+ }
@@ -0,0 +1,60 @@
1
+ .highlight { background: #ffffff; }
2
+ .highlight .c { color: #999988; font-style: italic } /* Comment */
3
+ .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
4
+ .highlight .k { font-weight: bold } /* Keyword */
5
+ .highlight .o { font-weight: bold } /* Operator */
6
+ .highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */
7
+ .highlight .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
8
+ .highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */
9
+ .highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
10
+ .highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
11
+ .highlight .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */
12
+ .highlight .ge { font-style: italic } /* Generic.Emph */
13
+ .highlight .gr { color: #aa0000 } /* Generic.Error */
14
+ .highlight .gh { color: #999999 } /* Generic.Heading */
15
+ .highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
16
+ .highlight .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */
17
+ .highlight .go { color: #888888 } /* Generic.Output */
18
+ .highlight .gp { color: #555555 } /* Generic.Prompt */
19
+ .highlight .gs { font-weight: bold } /* Generic.Strong */
20
+ .highlight .gu { color: #aaaaaa } /* Generic.Subheading */
21
+ .highlight .gt { color: #aa0000 } /* Generic.Traceback */
22
+ .highlight .kc { font-weight: bold } /* Keyword.Constant */
23
+ .highlight .kd { font-weight: bold } /* Keyword.Declaration */
24
+ .highlight .kp { font-weight: bold } /* Keyword.Pseudo */
25
+ .highlight .kr { font-weight: bold } /* Keyword.Reserved */
26
+ .highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */
27
+ .highlight .m { color: #009999 } /* Literal.Number */
28
+ .highlight .s { color: #d14 } /* Literal.String */
29
+ .highlight .na { color: #008080 } /* Name.Attribute */
30
+ .highlight .nb { color: #0086B3 } /* Name.Builtin */
31
+ .highlight .nc { color: #445588; font-weight: bold } /* Name.Class */
32
+ .highlight .no { color: #008080 } /* Name.Constant */
33
+ .highlight .ni { color: #800080 } /* Name.Entity */
34
+ .highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */
35
+ .highlight .nf { color: #990000; font-weight: bold } /* Name.Function */
36
+ .highlight .nn { color: #555555 } /* Name.Namespace */
37
+ .highlight .nt { color: #000080 } /* Name.Tag */
38
+ .highlight .nv { color: #008080 } /* Name.Variable */
39
+ .highlight .ow { font-weight: bold } /* Operator.Word */
40
+ .highlight .w { color: #bbbbbb } /* Text.Whitespace */
41
+ .highlight .mf { color: #009999 } /* Literal.Number.Float */
42
+ .highlight .mh { color: #009999 } /* Literal.Number.Hex */
43
+ .highlight .mi { color: #009999 } /* Literal.Number.Integer */
44
+ .highlight .mo { color: #009999 } /* Literal.Number.Oct */
45
+ .highlight .sb { color: #d14 } /* Literal.String.Backtick */
46
+ .highlight .sc { color: #d14 } /* Literal.String.Char */
47
+ .highlight .sd { color: #d14 } /* Literal.String.Doc */
48
+ .highlight .s2 { color: #d14 } /* Literal.String.Double */
49
+ .highlight .se { color: #d14 } /* Literal.String.Escape */
50
+ .highlight .sh { color: #d14 } /* Literal.String.Heredoc */
51
+ .highlight .si { color: #d14 } /* Literal.String.Interpol */
52
+ .highlight .sx { color: #d14 } /* Literal.String.Other */
53
+ .highlight .sr { color: #009926 } /* Literal.String.Regex */
54
+ .highlight .s1 { color: #d14 } /* Literal.String.Single */
55
+ .highlight .ss { color: #990073 } /* Literal.String.Symbol */
56
+ .highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */
57
+ .highlight .vc { color: #008080 } /* Name.Variable.Class */
58
+ .highlight .vg { color: #008080 } /* Name.Variable.Global */
59
+ .highlight .vi { color: #008080 } /* Name.Variable.Instance */
60
+ .highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
@@ -0,0 +1,17 @@
1
+ ---
2
+ layout: default
3
+ title: Your New Jekyll Site
4
+ date: 2013-08-16 14:08:15
5
+ ---
6
+
7
+ ## Date
8
+ - Date: {{ page.date }}
9
+ - Formatted: {{ page.date_formatted }}
10
+ - TimeTag: {{ page.time_tag }}
11
+
12
+ {% if page.updated %}
13
+ ## Updated
14
+ - Date: {{ page.updated }}
15
+ - Formatted: {{ page.updated_formatted }}
16
+ - TimeTag: {{ page.updated_time_tag }}
17
+ {% endif %}
metadata ADDED
@@ -0,0 +1,82 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-date-format
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Brandon Mathis
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-08-16 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: jekyll
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: 1.0.0
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: 1.0.0
30
+ description: Automatically adds variables with nicely formated dates and time tags
31
+ to Jekyll posts and pages.
32
+ email:
33
+ - brandon@imathis.com
34
+ executables: []
35
+ extensions: []
36
+ extra_rdoc_files: []
37
+ files:
38
+ - .gitignore
39
+ - Gemfile
40
+ - LICENSE.txt
41
+ - README.md
42
+ - Rakefile
43
+ - jekyll-date-format.gemspec
44
+ - lib/jekyll-date-format.rb
45
+ - lib/jekyll-date-format/version.rb
46
+ - test/.gitignore
47
+ - test/Gemfile
48
+ - test/_config.yml
49
+ - test/_layouts/default.html
50
+ - test/_layouts/post.html
51
+ - test/_plugins/jekyll-date-format.rb
52
+ - test/_posts/2013-08-16-welcome-to-jekyll.markdown
53
+ - test/css/main.css
54
+ - test/css/syntax.css
55
+ - test/index.html
56
+ homepage: https://github.com/octopress/jekyll-date-format
57
+ licenses:
58
+ - MIT
59
+ post_install_message:
60
+ rdoc_options: []
61
+ require_paths:
62
+ - lib
63
+ required_ruby_version: !ruby/object:Gem::Requirement
64
+ none: false
65
+ requirements:
66
+ - - ! '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ required_rubygems_version: !ruby/object:Gem::Requirement
70
+ none: false
71
+ requirements:
72
+ - - ! '>='
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
+ requirements: []
76
+ rubyforge_project:
77
+ rubygems_version: 1.8.23
78
+ signing_key:
79
+ specification_version: 3
80
+ summary: Automatically adds variables with nicely formated dates and time tags to
81
+ Jekyll posts and pages.
82
+ test_files: []