jekyll-page-hooks 1.3.0 → 1.3.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 +6 -1
- data/jekyll-page-hooks.gemspec +7 -1
- data/lib/jekyll-page-hooks.rb +3 -3
- data/lib/jekyll-page-hooks/version.rb +1 -1
- metadata +9 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5211677c32d2eae313af652eb3ef0f296c52d55
|
4
|
+
data.tar.gz: 83d7e26539b4020346e70338ff8731319668ddb4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e25c5c72a6bdb0b93a519b1a922befd3f27038443105b2bde6ec469a4b058e2ba351cd7e94e84ae53c4c0b52df9259ff22bba35f8c58965b506af2ebc803ff0e
|
7
|
+
data.tar.gz: 18b08e6798ff23758665e9c09cd44aae9454c624e21c1a93129999143ef67024a6783157c1d8fc3ee8087df973153394bd7a899fdb8835934a1126affe092def
|
data/CHANGELOG.md
CHANGED
data/jekyll-page-hooks.gemspec
CHANGED
@@ -8,13 +8,19 @@ Gem::Specification.new do |gem|
|
|
8
8
|
gem.version = Jekyll::PageHooksVersion::VERSION
|
9
9
|
gem.authors = ["Brandon Mathis"]
|
10
10
|
gem.email = ["brandon@imathis.com"]
|
11
|
-
gem.description = %q{Monkeypatches Jekyll's Site, Post, Page and Convertible classes to allow other plugins to access page/post content before and after render, and after write.}
|
11
|
+
gem.description = %q{Renamed to octopress-hooks. - Monkeypatches Jekyll's Site, Post, Page and Convertible classes to allow other plugins to access page/post content before and after render, and after write.}
|
12
12
|
gem.summary = %q{Allows other plugins to access page/post content before and after render, and after write.}
|
13
13
|
gem.homepage = "http://github.com/octopress/jekyll-page-hooks"
|
14
14
|
gem.license = "MIT"
|
15
15
|
|
16
16
|
gem.add_runtime_dependency 'jekyll', '>= 2.0.0'
|
17
17
|
|
18
|
+
gem.post_install_message = <<-MESSAGE
|
19
|
+
! The jekyll-page-hooks gem has been deprecated and has been replaced by octopress-hooks.
|
20
|
+
! See: https://rubygems.org/gems/octopress-hooks
|
21
|
+
! And: https://github.com/octopress/hooks
|
22
|
+
MESSAGE
|
23
|
+
|
18
24
|
gem.files = `git ls-files`.split($/)
|
19
25
|
gem.require_paths = ["lib"]
|
20
26
|
end
|
data/lib/jekyll-page-hooks.rb
CHANGED
@@ -104,16 +104,16 @@ module Jekyll
|
|
104
104
|
module Convertible
|
105
105
|
|
106
106
|
def is_post?
|
107
|
-
self.
|
107
|
+
self.is_a? Jekyll::Post
|
108
108
|
end
|
109
109
|
|
110
110
|
def is_page?
|
111
|
-
self.
|
111
|
+
self.is_a? Jekyll::Page ||
|
112
112
|
self.class.to_s == 'Octopress::Ink::Page'
|
113
113
|
end
|
114
114
|
|
115
115
|
def is_convertible_partial?
|
116
|
-
self.
|
116
|
+
self.is_a? Jekyll::ConvertiblePartial
|
117
117
|
end
|
118
118
|
|
119
119
|
def is_filterable?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-page-hooks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.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: 2014-
|
11
|
+
date: 2014-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -24,8 +24,9 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 2.0.0
|
27
|
-
description: Monkeypatches Jekyll's Site, Post, Page
|
28
|
-
other plugins to access page/post content before
|
27
|
+
description: Renamed to octopress-hooks. - Monkeypatches Jekyll's Site, Post, Page
|
28
|
+
and Convertible classes to allow other plugins to access page/post content before
|
29
|
+
and after render, and after write.
|
29
30
|
email:
|
30
31
|
- brandon@imathis.com
|
31
32
|
executables: []
|
@@ -54,7 +55,10 @@ homepage: http://github.com/octopress/jekyll-page-hooks
|
|
54
55
|
licenses:
|
55
56
|
- MIT
|
56
57
|
metadata: {}
|
57
|
-
post_install_message:
|
58
|
+
post_install_message: |
|
59
|
+
! The jekyll-page-hooks gem has been deprecated and has been replaced by octopress-hooks.
|
60
|
+
! See: https://rubygems.org/gems/octopress-hooks
|
61
|
+
! And: https://github.com/octopress/hooks
|
58
62
|
rdoc_options: []
|
59
63
|
require_paths:
|
60
64
|
- lib
|