texqc 0.7.0 → 0.7.1
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/bin/texqc +4 -5
- data/texqc.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb557b3617da39110e1391bf047c8ed3c2e81a5d21b3fa3ca9fe7ca34394d307
|
4
|
+
data.tar.gz: '08658a600f3a5613a43bc6015a687769e3ac1365871b60e13767c30b90539f82'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8368d87efc035f30f2bec54e1b376bc8ee4abe1caf9777a18cc3d584cd906adb3d5137008ddec7d1a55e5aaa4860782f5d99b5b1fe8dd149cce8e6fae2ae1dd
|
7
|
+
data.tar.gz: 45b15f158f5ed38af5978d081a3d58f6024234f2cff6970373f89832fc42b99094fc5e79b1a9011eecd62a199e0a7f9ad720ddae78a9be091f73d110d1f27242
|
data/bin/texqc
CHANGED
@@ -21,7 +21,7 @@
|
|
21
21
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
22
22
|
# SOFTWARE.
|
23
23
|
|
24
|
-
VERSION = '0.7.
|
24
|
+
VERSION = '0.7.1'
|
25
25
|
|
26
26
|
STDOUT.sync = true
|
27
27
|
|
@@ -48,10 +48,8 @@ begin
|
|
48
48
|
args = []
|
49
49
|
if File.exist?('.texqc')
|
50
50
|
cfg = File.new('.texqc')
|
51
|
-
|
52
|
-
|
53
|
-
args += extra
|
54
|
-
puts "Found #{body.split(/\n/).length} lines in #{File.absolute_path(cfg)}"
|
51
|
+
args += File.readlines(cfg)
|
52
|
+
puts "Found #{args.length} lines in #{File.absolute_path(cfg)}"
|
55
53
|
end
|
56
54
|
args += ARGV
|
57
55
|
|
@@ -78,6 +76,7 @@ Options are:"
|
|
78
76
|
end
|
79
77
|
candidates = opts.arguments
|
80
78
|
candidates += Dir['*.tex'] if candidates.empty?
|
79
|
+
puts "Candidates: #{candidates}" if opts[:verbose]
|
81
80
|
candidates.each do |doc|
|
82
81
|
if doc.end_with?('.tex')
|
83
82
|
log.info("File extention removed from #{doc.inspect}")
|
data/texqc.gemspec
CHANGED
@@ -32,7 +32,7 @@ Gem::Specification.new do |s|
|
|
32
32
|
s.rubygems_version = '2.2'
|
33
33
|
s.required_ruby_version = '>= 2.3'
|
34
34
|
s.name = 'texqc'
|
35
|
-
s.version = '0.7.
|
35
|
+
s.version = '0.7.1'
|
36
36
|
s.license = 'MIT'
|
37
37
|
s.summary = 'Quality Control of Your LaTeX Build'
|
38
38
|
s.description = 'Run it after you compile your LaTeX document'
|