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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6fcd8ba92bbdb8ee5ace18c2c115de584792d4cd
4
- data.tar.gz: 29e897e16eb18f29dafc13e27d38e7c66eaaf1c3
3
+ metadata.gz: 8d2c262e4a3243d42779dd98706fc085f441fd43
4
+ data.tar.gz: 9939a3aa3fc4238aac9ebbfb25404d14fbe0cccb
5
5
  SHA512:
6
- metadata.gz: 7acf6e34d7084c0e7572c1138c95a1301c9aac17c60c93769975d711f46c158685903aad50953d30239f9760c89739f1615419ceb8681fab492452758cf5f56f
7
- data.tar.gz: 18f6b2f4ce4acfbd5181ccd141b1b8b573b35732c0ff536720abcb4e138e4b001afe2a11289d5f2cec998a52df390ab8a36670f498c3e891f852493f729dfa11
6
+ metadata.gz: 47b5397dd9f2f33600d5467e21699d438fe6d81206539581d896d19bcfb9f146f07df3d6ed6f12063ee901cdffae69c20db6fbde2d45787c398a7ca193e95577
7
+ data.tar.gz: 40cb75d0c197ea0efc54ee3788ff9866abadeaff73cb42217dc70c75df8c371d94b5563f34c269f805608791dfa1900868b2b2b484dfde0d3a5e003fbdca413c
@@ -1,8 +1,8 @@
1
1
  # Changelog
2
2
 
3
- ### 3.0.3 - 2015-05-12
3
+ ### 4.0.0 - UNRELEASED
4
4
 
5
- - Support for Jekyll 3.0 and Jekyll Hooks
5
+ - Now using Jekyll Hooks and Jekyll 3.0
6
6
 
7
7
  ### 3.0.2 - 2015-01-06
8
8
 
@@ -112,34 +112,12 @@ module Octopress
112
112
  end
113
113
  end
114
114
 
115
- if defined?(Jekyll::Hooks)
116
- Jekyll::Hooks.register :site, :after_reset do |site|
117
- DateFormat.config = site.config
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
- class SiteHook < Hooks::Site
139
- def pre_read(site)
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
@@ -1,5 +1,5 @@
1
1
  module Octopress
2
2
  module DateFormat
3
- VERSION = "3.0.3"
3
+ VERSION = "4.0.0.a"
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.3
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-26 00:00:00.000000000 Z
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: '2.0'
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: '2.0'
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: '0'
104
+ version: 1.3.1
113
105
  requirements: []
114
106
  rubyforge_project:
115
107
  rubygems_version: 2.4.6