octopress-date-format 3.0.3 → 4.0.0.a
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -2
- data/lib/octopress-date-format.rb +5 -27
- data/lib/octopress-date-format/version.rb +1 -1
- metadata +12 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d2c262e4a3243d42779dd98706fc085f441fd43
|
4
|
+
data.tar.gz: 9939a3aa3fc4238aac9ebbfb25404d14fbe0cccb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47b5397dd9f2f33600d5467e21699d438fe6d81206539581d896d19bcfb9f146f07df3d6ed6f12063ee901cdffae69c20db6fbde2d45787c398a7ca193e95577
|
7
|
+
data.tar.gz: 40cb75d0c197ea0efc54ee3788ff9866abadeaff73cb42217dc70c75df8c371d94b5563f34c269f805608791dfa1900868b2b2b484dfde0d3a5e003fbdca413c
|
data/CHANGELOG.md
CHANGED
@@ -112,34 +112,12 @@ module Octopress
|
|
112
112
|
end
|
113
113
|
end
|
114
114
|
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
end
|
119
|
-
|
120
|
-
Jekyll::Hooks.register [:page, :post], :post_init do |item|
|
121
|
-
DateFormat.hack_date(item)
|
122
|
-
end
|
123
|
-
else
|
124
|
-
require 'octopress-hooks'
|
125
|
-
|
126
|
-
class PageHook < Hooks::Page
|
127
|
-
def post_init(page)
|
128
|
-
DateFormat.hack_date(page)
|
129
|
-
end
|
130
|
-
end
|
131
|
-
|
132
|
-
class PostHook < Hooks::Post
|
133
|
-
def post_init(post)
|
134
|
-
DateFormat.hack_date(post)
|
135
|
-
end
|
136
|
-
end
|
115
|
+
Jekyll::Hooks.register :site, :after_reset do |site|
|
116
|
+
DateFormat.config = site.config
|
117
|
+
end
|
137
118
|
|
138
|
-
|
139
|
-
|
140
|
-
DateFormat.config = site.config
|
141
|
-
end
|
142
|
-
end
|
119
|
+
Jekyll::Hooks.register [:page, :post], :post_init do |item|
|
120
|
+
DateFormat.hack_date(item)
|
143
121
|
end
|
144
122
|
end
|
145
123
|
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:
|
4
|
+
version: 4.0.0.a
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Mathis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -16,14 +16,20 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 3.0.0.a
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '4'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
27
|
- - ">="
|
25
28
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
29
|
+
version: 3.0.0.a
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '4'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: clash
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,20 +58,6 @@ dependencies:
|
|
52
58
|
- - ">="
|
53
59
|
- !ruby/object:Gem::Version
|
54
60
|
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: octopress-hooks
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
69
61
|
- !ruby/object:Gem::Dependency
|
70
62
|
name: octopress-debugger
|
71
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -107,9 +99,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
107
99
|
version: '0'
|
108
100
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
109
101
|
requirements:
|
110
|
-
- - "
|
102
|
+
- - ">"
|
111
103
|
- !ruby/object:Gem::Version
|
112
|
-
version:
|
104
|
+
version: 1.3.1
|
113
105
|
requirements: []
|
114
106
|
rubyforge_project:
|
115
107
|
rubygems_version: 2.4.6
|