octopress-hooks 2.2.0 → 2.2.1

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: 5e3bd95b88b25cb56b6a5bbd8f7c34fca11d523f
4
- data.tar.gz: 106875c913792ed39b59775a987179d90486de30
3
+ metadata.gz: d2d2e99d52e6404f85bd95a4a78f31b5c80905fe
4
+ data.tar.gz: 5278f145c66e15dfe5c0a473772e9bb222c63798
5
5
  SHA512:
6
- metadata.gz: 4f268204aef608a201f1f1ee5de87bd904f35ba2874fbdc9ca84c6e392e1c5d67d3ddce2a739be6d436fee17b3032f60038b3adda6e7b4c092cf91e2a4098373
7
- data.tar.gz: f055592a699b4573b0898393d4227037cb5d8c1e47f47e75d8be50c91c67c722df4146fb2c685bb5a410a4dfaaf039fd82a1dfb111984b2fec895175ff09bda0
6
+ metadata.gz: 0cc014e4c906096f369aaceb0173824aa4479285275e281a65df4e4c209a4bd354b11a833f2bcaa8b108129bf99b044d3a31e243725f8a1f12aff8f92fa90163
7
+ data.tar.gz: 45e272c880e17d8e48e9b5fb9f1a013f21fbc741e6a8c49683c3304d03a4c0365c6eaa77e0c7c8037c96f4b55a6afb5119bc04f352de88846037a7334eb506fe
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ### 2.2.1 - 2014-08-13
4
+ - Fix: Now compatible with Jekyll 2.3.0
5
+
3
6
  ### 2.2.0 - 2014-07-28
4
7
  - New: Site hook - pre_read, runs before site reads items
5
8
  - New: Site hook - post_read, runs after site reads items
@@ -211,15 +211,6 @@ module Jekyll
211
211
  alias_method :old_do_layout, :do_layout
212
212
  alias_method :old_write, :write
213
213
 
214
- # Transform the contents based on the content type. Then calls the
215
- # #post_render method if it exists
216
- #
217
- # Returns nothing.
218
- def transform
219
- old_transform
220
- post_render if respond_to?(:post_render) && self.hooks
221
- end
222
-
223
214
  # Calls the pre_render method if it exists and then adds any necessary
224
215
  # layouts to this convertible document.
225
216
  #
@@ -230,6 +221,7 @@ module Jekyll
230
221
  def do_layout(payload, layouts)
231
222
  pre_render if respond_to?(:pre_render) && self.hooks
232
223
  old_do_layout(payload, layouts)
224
+ post_render if respond_to?(:post_render) && self.hooks
233
225
  end
234
226
 
235
227
  # Write the generated post file to the destination directory. It
@@ -1,5 +1,5 @@
1
1
  module Octopress
2
2
  module Hooks
3
- VERSION = "2.2.0"
3
+ VERSION = "2.2.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octopress-hooks
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.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-08-04 00:00:00.000000000 Z
11
+ date: 2014-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll