texqc 0.7.1 → 0.7.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.
- checksums.yaml +4 -4
- data/bin/texqc +4 -2
- data/features/cli.feature +3 -1
- 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: 5a45c96dead075d82d5c86397f0597369942d19c3e65bf533088fde4c5626d8f
|
|
4
|
+
data.tar.gz: d7a0cf0d6ce2fad0171e714d393369c7bf92cfb2cc6e22eaf084cc417429bf2e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b6dd41d12942e6333f314da22372b9d2c1551d3fdf3a18c914c0a3306add080afcfce724720aba3b587691ef5534f3f86e3987516e61fe8b3eafd8b4d3bfe549
|
|
7
|
+
data.tar.gz: '08785e406ce6c27301acfa29bf52dc27ed9e29b6ca3b42ca54397233283cde5d480d70a449a4b47ba6ad14e4670404e1b2eb851011111c5526fd6631e260afd9'
|
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.2'
|
|
25
25
|
|
|
26
26
|
STDOUT.sync = true
|
|
27
27
|
|
|
@@ -48,7 +48,7 @@ begin
|
|
|
48
48
|
args = []
|
|
49
49
|
if File.exist?('.texqc')
|
|
50
50
|
cfg = File.new('.texqc')
|
|
51
|
-
args += File.readlines(cfg)
|
|
51
|
+
args += File.readlines(cfg).map(&:strip)
|
|
52
52
|
puts "Found #{args.length} lines in #{File.absolute_path(cfg)}"
|
|
53
53
|
end
|
|
54
54
|
args += ARGV
|
|
@@ -76,6 +76,8 @@ Options are:"
|
|
|
76
76
|
end
|
|
77
77
|
candidates = opts.arguments
|
|
78
78
|
candidates += Dir['*.tex'] if candidates.empty?
|
|
79
|
+
puts "Args: #{args}" if opts[:verbose]
|
|
80
|
+
puts "Ignore: #{opts[:ignore]}" if opts[:verbose]
|
|
79
81
|
puts "Candidates: #{candidates}" if opts[:verbose]
|
|
80
82
|
candidates.each do |doc|
|
|
81
83
|
if doc.end_with?('.tex')
|
data/features/cli.feature
CHANGED
|
@@ -67,7 +67,9 @@ Feature: Command Line Processing
|
|
|
67
67
|
"""
|
|
68
68
|
And I have a ".texqc" file with content:
|
|
69
69
|
"""
|
|
70
|
-
--
|
|
70
|
+
--verbose
|
|
71
|
+
|
|
72
|
+
--ignore='may have changed'
|
|
71
73
|
"""
|
|
72
74
|
When I run bash with "pdflatex article.tex"
|
|
73
75
|
Then I run bin/texqc
|
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.2'
|
|
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'
|