jekyll-page-hooks 1.3.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: affcbe58d2c8464a69873ac8cdbec36f34bf90b2
4
- data.tar.gz: 90b1241e534fc7d669768fae0ee377e5bda381f6
3
+ metadata.gz: f5211677c32d2eae313af652eb3ef0f296c52d55
4
+ data.tar.gz: 83d7e26539b4020346e70338ff8731319668ddb4
5
5
  SHA512:
6
- metadata.gz: ddb717e6325a923627c3e7df06df37a254f66b2fc8c87ba2535c565a4386e24d1fda0ad370157acff3892ac352233cd1c3c7d6c10533b653096cbd1c93076e3a
7
- data.tar.gz: 63e35f147aca1aa0cc5fde9d0b4487e1eb2c557342a61de8560287518906e56437980fe070fa67d8558b6fc67952bc929d500c737b0d51fab1bc7d3f34025d1c
6
+ metadata.gz: e25c5c72a6bdb0b93a519b1a922befd3f27038443105b2bde6ec469a4b058e2ba351cd7e94e84ae53c4c0b52df9259ff22bba35f8c58965b506af2ebc803ff0e
7
+ data.tar.gz: 18b08e6798ff23758665e9c09cd44aae9454c624e21c1a93129999143ef67024a6783157c1d8fc3ee8087df973153394bd7a899fdb8835934a1126affe092def
@@ -1,6 +1,11 @@
1
1
  # Changelog
2
2
 
3
- ### 1.2.0
3
+ ### 1.3.1
4
+ - No longer requires Octopress Ink.
5
+ - Renamed to octopress-hooks
6
+ - moved to https://github.com/octopress/hooks
7
+
8
+ ### 1.3.0
4
9
  - Added support for processing partials as a ConvertiblePartial.
5
10
 
6
11
  ### 1.2.0
@@ -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
@@ -104,16 +104,16 @@ module Jekyll
104
104
  module Convertible
105
105
 
106
106
  def is_post?
107
- self.class.to_s == 'Jekyll::Post'
107
+ self.is_a? Jekyll::Post
108
108
  end
109
109
 
110
110
  def is_page?
111
- self.class.to_s == 'Jekyll::Page' ||
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.class.to_s == 'Jekyll::ConvertiblePartial'
116
+ self.is_a? Jekyll::ConvertiblePartial
117
117
  end
118
118
 
119
119
  def is_filterable?
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module PageHooksVersion
3
- VERSION = "1.3.0"
3
+ VERSION = "1.3.1"
4
4
  end
5
5
  end
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.0
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-06-22 00:00:00.000000000 Z
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 and Convertible classes to allow
28
- other plugins to access page/post content before and after render, and after write.
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