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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2f87977c6725654d3b46a9080e29e7a633dfc2e1
4
- data.tar.gz: 963bf327dd7133b07fbe9701f0ae37d68b2f0d79
3
+ metadata.gz: a6e3c7959a8d214e7a99e5736078d90ce01996e0
4
+ data.tar.gz: 992ece9067b861dfe35451994f8b99b50c9a752b
5
5
  SHA512:
6
- metadata.gz: 20522a78434555b8e8eec8317a724027e12874ada45b13ea4cec4d0726844da00809f3fd14cee3d6f688887c4dddd599058af32bda43ca412c22a776ae24d6df
7
- data.tar.gz: e5f13af679234819d005a79b2acdcd7ad61afbf5a12e97f00844c9dee04657c094a9154ceef0d1cce4fbb9a8abe1ac7f6175ec78d3b202192a93c5cb97f64aa5
6
+ metadata.gz: a06a2cd4c5d2e6720a55e15fd4d8e2a35787136c4786c2a4e93178dda4149760aceee375d33bf2008969269a97afe6512ed7f82a9664358fc25e9991c92eb51e
7
+ data.tar.gz: 628599e1a0e3ea9e34706310f4f4fd34cd7945a3245c75d2a1b3094f99e77e8af810797318dea6ee914839d8250e1dd2f306158b255721fb556e42e2adbefe34
@@ -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] + '}'
@@ -1,3 +1,3 @@
1
1
  module Polytexnic
2
- VERSION = "1.2.2"
2
+ VERSION = "1.2.3"
3
3
  end
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.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-02-20 00:00:00.000000000 Z
12
+ date: 2016-05-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri