octopress-date-format 3.0.1 → 3.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9be3d04de517bb280cb37eeb9a0ead7959259985
4
- data.tar.gz: 0793de2d2c066e9e37431f2bd91d361fce7eaace
3
+ metadata.gz: 6240daa4f916f4ff2b4eaa0a87c51e1ef7aa5830
4
+ data.tar.gz: b47ac4068b4f584acb75cd37af4d817ddd67c727
5
5
  SHA512:
6
- metadata.gz: d3b40d193b3cc3b13a01b54517efc99a3d3f7a50cc3775bed5e670007baccce9f962adb32855da20985ad6759f12b77083218019c2c89ae4f8337524e00e42e0
7
- data.tar.gz: b286320ff36e1cc456e1eadad13cf8c38b7399353624e34cc2c1a405b7254325983fa9304d0bce9425b668702d2e53f47e4185ea8a53bd0fb19f29fcc0b10934
6
+ metadata.gz: 3c9533e424d90f761eea0da101792b26b564783545d120b91f48ac454d0542cc6f4657d21c1025d8a4618b89972be4e23d003b1e0573632daacc47bd1d60b280
7
+ data.tar.gz: 60babb26392549363cfb627a7d074c7a50f0d80997b549305745277275c4f04f3879e2536ffb46fe4c05b8bb9b47297196ba3fc98f2d388f52aa14f6f3dd763c
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ### 3.0.2 - 2015-01-06
4
+
5
+ - Updated Octopress docs integration.
6
+
3
7
  ### 3.0.1 - 2014-10-12
4
8
 
5
9
  - Documentation now works with Octopress docs.
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Octopress Date Format
2
2
 
3
- A simple plugin which makes it easy to have nicely formatted dates on any post or page.
3
+ Put nicely formatted dates on any post or page.
4
4
 
5
5
  [![Build Status](https://travis-ci.org/octopress/date-format.svg)](https://travis-ci.org/octopress/date-format)
6
6
  [![Gem Version](http://img.shields.io/gem/v/octopress-date-format.svg)](https://rubygems.org/gems/octopress-date-format)
@@ -2,7 +2,7 @@ require 'octopress-hooks'
2
2
  require 'octopress-date-format/version'
3
3
 
4
4
  module Octopress
5
- module PageDate
5
+ module DateFormat
6
6
  DEFAULTS = {
7
7
  'date_format' => 'ordinal',
8
8
  'time_format' => '%-I:%M %P'
@@ -18,19 +18,19 @@ module Octopress
18
18
 
19
19
  class PageHook < Hooks::Page
20
20
  def post_init(page)
21
- PageDate.hack_date(page)
21
+ DateFormat.hack_date(page)
22
22
  end
23
23
  end
24
24
 
25
25
  class PostHook < Hooks::Post
26
26
  def post_init(post)
27
- PageDate.hack_date(post)
27
+ DateFormat.hack_date(post)
28
28
  end
29
29
  end
30
30
 
31
31
  class SiteHook < Hooks::Site
32
32
  def pre_read(site)
33
- PageDate.config = site.config
33
+ DateFormat.config = site.config
34
34
  end
35
35
  end
36
36
 
@@ -136,6 +136,8 @@ end
136
136
  if defined? Octopress::Docs
137
137
  Octopress::Docs.add({
138
138
  name: "Octopress Date Format",
139
+ gem: "octopress-date-format",
140
+ version: Octopress::DateFormat::VERSION,
139
141
  description: "Put nicely formatted dates on any post or page",
140
142
  path: File.expand_path(File.join(File.dirname(__FILE__), "../")),
141
143
  source_url: "https://github.com/octopress/date-format",
@@ -1,5 +1,5 @@
1
1
  module Octopress
2
- class DateFormat
3
- VERSION = "3.0.1"
2
+ module DateFormat
3
+ VERSION = "3.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octopress-date-format
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
4
+ version: 3.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Mathis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-12 00:00:00.000000000 Z
11
+ date: 2015-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octopress-hooks
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
112
  version: '0'
113
113
  requirements: []
114
114
  rubyforge_project:
115
- rubygems_version: 2.4.1
115
+ rubygems_version: 2.2.2
116
116
  signing_key:
117
117
  specification_version: 4
118
118
  summary: 'Adds nicely formated dates to Jekyll posts and pages. (formerly: ''jekyll-date-format'')'