documentation-editor 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/documentation_editor/parser.rb +1 -1
- data/lib/documentation_editor/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5250f883b4283cdca899e237a2151c0a7ef5965b
|
4
|
+
data.tar.gz: 0e71d88f7c6bfcc0b8e3828cbc5172c0a00ba2f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff664142b92947c9e36b51101bfa845e623fa675b4731d6afe192977bed246e269fc9e2b219d7bd94b1e79316f3b1fce0501af9fe172a05634b799bae9c72891
|
7
|
+
data.tar.gz: 50fe800d79986d48317f1f243a4a6f9df8e00de3e78461dd635a40f89756027faa0b240e7a5a168b414f28383fd6d37741492167c7826ee838af570953e05b46
|
@@ -21,7 +21,7 @@ class Kramdown::Parser::BlockKramdown < Kramdown::Parser::Kramdown
|
|
21
21
|
code = content['codes'].detect { |code| code['language'] == @language || code['language'].end_with?("|#{@language}") }
|
22
22
|
code ||= content['codes'].detect { |code| code['language'].end_with?("|*") }
|
23
23
|
@tree.children << Element.new(:html_element, 'pre')
|
24
|
-
@tree.children.last.children << Element.new(:raw, code ? highlight(code['language'].split('|').first, code['code']) : "FIXME
|
24
|
+
@tree.children.last.children << Element.new(:raw, code ? highlight(code['language'].split('|').first, code['code']) : "FIXME")
|
25
25
|
elsif content['codes'].size == 1
|
26
26
|
code = content['codes'].first
|
27
27
|
@tree.children << Element.new(:html_element, 'pre')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: documentation-editor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Algolia Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -204,10 +204,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
204
204
|
version: '0'
|
205
205
|
requirements: []
|
206
206
|
rubyforge_project:
|
207
|
-
rubygems_version: 2.
|
207
|
+
rubygems_version: 2.5.1
|
208
208
|
signing_key:
|
209
209
|
specification_version: 4
|
210
210
|
summary: Mountable Rails application providing an extended Markdown documentation
|
211
211
|
editor.
|
212
212
|
test_files: []
|
213
|
-
has_rdoc:
|