octopress-hooks 2.6.0 → 2.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +2 -3
- data/lib/octopress-hooks/version.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a7bd02f7bcccb3cadc3c9201af1ccfa0bf540a7
|
4
|
+
data.tar.gz: 81da544cca143909e058d36b79bcc80e37814ff4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f11eb5c86477699ec30dff484b23996f6bcf4dc2aeb0c3bd72a263997bed0add7bfd9129edb8867ce16bf49a2e2d54ef60c5f3aaf59f9ddced210c1debe6ded
|
7
|
+
data.tar.gz: d5983e183de539031a3ae4241d696e030f01db315bda3ef377f7289547c0340ed3e0dc350b82b6689f22e6de090e2de177928bb9c402fd509e6f8b645a10cde6
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -84,7 +84,7 @@ Use the `post_read` hook to modify the site instance after posts, pages and stat
|
|
84
84
|
|
85
85
|
Use the `pre_render` hook to modify the site instance before posts and pages are rendered.
|
86
86
|
|
87
|
-
Use the `
|
87
|
+
Use the `merge_payload` hook to modify the site payload or merge custom data into it. This data will be available to all documents when they are rendered. This method must return a hash.
|
88
88
|
|
89
89
|
Use the `post_write` to trigger and action after all documents have been written to disk.
|
90
90
|
|
@@ -115,8 +115,7 @@ class MyPageHook < Octopress::Hooks::Page
|
|
115
115
|
end
|
116
116
|
```
|
117
117
|
|
118
|
-
The `post_init` method lets you access the post or page class instance immediately after it has been initialized. This allows you to
|
119
|
-
modify the instance before the Site compiles its payload, which includes arrays of each page and post.
|
118
|
+
The `post_init` method lets you access the post or page class instance immediately after it has been initialized. This allows you to modify the instance before the Site compiles its payload, which includes arrays of each page and post.
|
120
119
|
|
121
120
|
With `pre_render` you can parse and modify page contents before it is processed by Liquid, Markdown, Textile and the like, and rendered to HTML.
|
122
121
|
|
metadata
CHANGED
@@ -1,43 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: octopress-hooks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.
|
4
|
+
version: 2.6.1
|
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-
|
11
|
+
date: 2015-05-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '2.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '2.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: clash
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
98
98
|
version: '0'
|
99
99
|
requirements: []
|
100
100
|
rubyforge_project:
|
101
|
-
rubygems_version: 2.
|
101
|
+
rubygems_version: 2.4.6
|
102
102
|
signing_key:
|
103
103
|
specification_version: 4
|
104
104
|
summary: Allows access to Jekyll's site, posts and pages at different points in the
|