rubbr 1.0.1 → 1.0.2
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.
- data/History.txt +4 -0
- data/README.txt +3 -2
- data/lib/rubbr.rb +1 -1
- data/lib/rubbr/runner.rb +1 -0
- data/lib/rubbr/runner/latex.rb +3 -3
- metadata +3 -3
data/History.txt
CHANGED
data/README.txt
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
= rubbr
|
2
2
|
|
3
|
-
* http://
|
3
|
+
* http://rubyforge.org/projects/rubbr/
|
4
|
+
* by Eivind Uggedal <eu@redflavor.com>
|
4
5
|
|
5
6
|
== DESCRIPTION:
|
6
7
|
|
@@ -48,7 +49,7 @@ gem install rubbr
|
|
48
49
|
|
49
50
|
(The MIT License)
|
50
51
|
|
51
|
-
Copyright (c) 2008 Eivind Uggedal
|
52
|
+
Copyright (c) 2008 Eivind Uggedal <eu@redflavor.com>
|
52
53
|
|
53
54
|
Permission is hereby granted, free of charge, to any person obtaining
|
54
55
|
a copy of this software and associated documentation files (the
|
data/lib/rubbr.rb
CHANGED
data/lib/rubbr/runner.rb
CHANGED
data/lib/rubbr/runner/latex.rb
CHANGED
@@ -7,12 +7,12 @@ module Rubbr
|
|
7
7
|
|
8
8
|
def run
|
9
9
|
disable_stdinn do
|
10
|
-
messages = /^(Overfull|Underfull|No file|Package \w+ Warning:)/
|
10
|
+
messages = /^(Overfull|Underfull|No file|Package \w+ Warning:|LaTeX Warning:)/
|
11
11
|
run = `#@executable #@input_file`
|
12
|
-
@warnings = run.grep(messages)
|
12
|
+
@warnings = run.grep(messages).sort
|
13
13
|
lines = run.split("\n")
|
14
14
|
while lines.shift
|
15
|
-
if lines.first =~ /^!/
|
15
|
+
if lines.first =~ /^!/ # LaTeX Error, processing halted
|
16
16
|
3.times { @errors << lines.shift }
|
17
17
|
end
|
18
18
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubbr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eivind Uggedal
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-02-
|
12
|
+
date: 2008-02-28 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -59,7 +59,7 @@ files:
|
|
59
59
|
- lib/rubbr/viewer/pdf.rb
|
60
60
|
- lib/rubbr/viewer/dvi.rb
|
61
61
|
has_rdoc: true
|
62
|
-
homepage: http://
|
62
|
+
homepage: http://rubyforge.org/projects/rubbr/
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options:
|
65
65
|
- --main
|