polytexnic 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/polytexnic/utils.rb +2 -1
- data/lib/polytexnic/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: a6e3c7959a8d214e7a99e5736078d90ce01996e0
|
4
|
+
data.tar.gz: 992ece9067b861dfe35451994f8b99b50c9a752b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a06a2cd4c5d2e6720a55e15fd4d8e2a35787136c4786c2a4e93178dda4149760aceee375d33bf2008969269a97afe6512ed7f82a9664358fc25e9991c92eb51e
|
7
|
+
data.tar.gz: 628599e1a0e3ea9e34706310f4f4fd34cd7945a3245c75d2a1b3094f99e77e8af810797318dea6ee914839d8250e1dd2f306158b255721fb556e42e2adbefe34
|
data/lib/polytexnic/utils.rb
CHANGED
@@ -179,7 +179,8 @@ module Polytexnic
|
|
179
179
|
def highlight_lines(output, options)
|
180
180
|
highlighted_lines(options).each do |i|
|
181
181
|
if i > output.length - 1
|
182
|
-
$stderr.puts "Warning: Highlighted line out of range" unless test?
|
182
|
+
$stderr.puts "Warning: Highlighted line #{i} out of range" unless test?
|
183
|
+
$stderr.puts output.inspect unless test?
|
183
184
|
else
|
184
185
|
output[i] = '\setlength{\fboxsep}{0pt}\colorbox{hilightyellow}{' +
|
185
186
|
output[i] + '}'
|
data/lib/polytexnic/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: polytexnic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Hartl
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-05-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|