octopress-code-highlighter 4.2.4 → 4.2.5
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 +4 -4
- data/CHANGELOG.md +4 -1
- data/README.md +4 -15
- data/lib/octopress-code-highlighter/cache.rb +4 -2
- data/lib/octopress-code-highlighter/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dcfcfd2991df611613ab7fba05af720191804cb5
|
4
|
+
data.tar.gz: 882cdf44b122b9f2276607adda5373553da938a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4d464fcc9c7d49093ef55b822acead2ea214e562cf6c152aa61d073edb5fc1b157297f0fe5c041e48a09fad2668419825506c84b28dfbbe0e5659f612645b91
|
7
|
+
data.tar.gz: bb04339b4e9df5137e6b4d4158f7e2722643e7dc1ef1f57a507b215420ba1096b3b2afb044ea0e88ea528b3ad2d95bb154e7799913c26c6124b18eb02ceeb131
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
## 4.2.
|
3
|
+
## 4.2.5 - 2015-05-29
|
4
|
+
- Fix: Code cache doesn't attempt cleanup if there is no cache.
|
5
|
+
|
6
|
+
## 4.2.4 - 2015-05-18
|
4
7
|
- New: Now works with Jekyll 3 and Jekyll Hooks.
|
5
8
|
- Fix: Cache reads and writes do not trigger Jekyll watcher.
|
6
9
|
- Fix: Cache fingerprinting improvement.
|
data/README.md
CHANGED
@@ -4,23 +4,12 @@
|
|
4
4
|
|
5
5
|
Generates highlighted code using Pygments.rb or Rouge with enanced HTML output and fancy stylesheets. This gem is used by [octopress-codefence](https://github.com/octopress/codefence) and [octopress-gist](https://github.com/octopress/octopress-gist).
|
6
6
|
|
7
|
-
##
|
7
|
+
## Usage Note
|
8
8
|
|
9
|
-
|
9
|
+
This plugin is really a library plugin, handling the heavy lifting for generating nice code snippets. If you want to add nice code snippets to your Jekyll site,
|
10
|
+
you probably want [octopress-codefence](https://github.com/octopress/codefence), [octopress-render-code](https://github.com/octopress/render-code), [octopress-codeblock](https://github.com/octopress/codeblock), or [octopress-gist](https://github.com/octopress/gist).
|
10
11
|
|
11
|
-
|
12
|
-
|
13
|
-
And then execute:
|
14
|
-
|
15
|
-
$ bundle
|
16
|
-
|
17
|
-
Or install it yourself as:
|
18
|
-
|
19
|
-
$ gem install octopress-code-style
|
20
|
-
|
21
|
-
## Usage
|
22
|
-
|
23
|
-
TODO: Write usage instructions here
|
12
|
+
If you want to style highlighted code markup, check out [octopress-solarized](https://github.com/octopress/solarized).
|
24
13
|
|
25
14
|
## Contributing
|
26
15
|
|
@@ -38,8 +38,10 @@ module Octopress
|
|
38
38
|
end
|
39
39
|
|
40
40
|
def clean
|
41
|
-
remove =
|
42
|
-
|
41
|
+
remove = []
|
42
|
+
|
43
|
+
Find.find(CODE_CACHE_DIR).each do |file|
|
44
|
+
remove << file unless @cached_files.include?(file) || File.directory?(file)
|
43
45
|
end
|
44
46
|
|
45
47
|
@cached_files = []
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: octopress-code-highlighter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.2.
|
4
|
+
version: 4.2.5
|
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-
|
11
|
+
date: 2015-05-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colorator
|