octopress-code-highlighter 4.2.6 → 4.3.0

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: 7d80c0b1142b48124e592caf0e0d29e9092f7c1b
4
- data.tar.gz: 6310dd3e13f6b4b57841f81f07a4a6caaa0c6c1f
3
+ metadata.gz: 3c52b3eb3755845f8a8f0f9a79ba9ef6a34ef1a5
4
+ data.tar.gz: fcc3fb947c115e7896731375701f86678e4810c3
5
5
  SHA512:
6
- metadata.gz: a01c1f19a3dfe5def68090ec605c6e1f17940d20f4852b04e42034dbd173c9a5dc8f51d699961fc88949ee5631b18c5e55344181440bd6cdf19287fe0bea0af7
7
- data.tar.gz: 1fd1ebf51ef55073d05667506d24f66a10d2396e10b0ceba2673691563ab412c3c579eb43372bb26d8b6ed0c064fc2eb2775e87bb3dfc479593cc201e3c742f7
6
+ metadata.gz: ffea4f7e8cb38ad3898d67fdffc2e6e4275d65367f7d20f95d9caa8a0e62565703706c4ef9c9fcd6697bd22b49f76f3384e193595933f17ac65f1eaa19ed322d
7
+ data.tar.gz: 77a93ed66f9da45bc9bcea37ff05f145a52f3c7a0bbfa6c3325a9e43c01cbfdb050469643dede351420fa4a8b422701e6a247fc3a213234d53bec7da02e01123
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## 4.3.0 - 2015-12-09
4
+ - Now supporting Jekyll 3+
5
+
3
6
  ## 4.2.6 - 2015-05-29
4
7
  - Fix: Find enumerators on non-existent directories threw errors.
5
8
 
@@ -1,6 +1,7 @@
1
1
  require 'octopress-code-highlighter/version'
2
2
  require 'fileutils'
3
3
  require 'digest/md5'
4
+ require 'jekyll'
4
5
 
5
6
  require 'colorator'
6
7
 
@@ -1,18 +1,8 @@
1
1
  module Octopress
2
2
  module CodeHighlighter
3
- if defined?(Jekyll::Hooks)
4
- Jekyll::Hooks.register :site, :post_write do |site|
5
- Octopress::CodeHighlighter::Cache.write
6
- Octopress::CodeHighlighter::Cache.clean
7
- end
8
- else
9
- require 'octopress-hooks'
10
- class SiteHook < Octopress::Hooks::Site
11
- def post_write(site)
12
- Octopress::CodeHighlighter::Cache.write
13
- Octopress::CodeHighlighter::Cache.clean
14
- end
15
- end
3
+ Jekyll::Hooks.register :site, :post_write do |site|
4
+ Octopress::CodeHighlighter::Cache.write
5
+ Octopress::CodeHighlighter::Cache.clean
16
6
  end
17
7
  end
18
8
  end
@@ -1,6 +1,6 @@
1
1
  module Octopress
2
2
  module CodeHighlighter
3
- VERSION = "4.2.6"
3
+ VERSION = "4.3.0"
4
4
  end
5
5
  end
6
6
 
@@ -12,8 +12,7 @@ Gem::Specification.new do |gem|
12
12
  gem.homepage = "https://github.com/octopress/code-highlighter"
13
13
  gem.license = "MIT"
14
14
 
15
- gem.add_runtime_dependency 'colorator', '~> 0.1'
16
- gem.add_runtime_dependency 'octopress-hooks'
15
+ gem.add_runtime_dependency 'jekyll', '~> 3.0'
17
16
 
18
17
  gem.add_development_dependency 'rake'
19
18
  gem.add_development_dependency 'rspec'
metadata CHANGED
@@ -1,43 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octopress-code-highlighter
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.6
4
+ version: 4.3.0
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-29 00:00:00.000000000 Z
11
+ date: 2015-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: colorator
14
+ name: jekyll
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '3.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
- version: '0.1'
27
- - !ruby/object:Gem::Dependency
28
- name: octopress-hooks
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
26
+ version: '3.0'
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: rake
43
29
  requirement: !ruby/object:Gem::Requirement
@@ -124,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
124
110
  version: '0'
125
111
  requirements: []
126
112
  rubyforge_project:
127
- rubygems_version: 2.4.6
113
+ rubygems_version: 2.4.5
128
114
  signing_key:
129
115
  specification_version: 4
130
116
  summary: Octopress's core plugin for rendering nice code blocks