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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/texqc +4 -5
  3. data/texqc.gemspec +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e88425aca179dc71ac9e248a801d9c1b186099971c9eeaeec39758f57198c64b
4
- data.tar.gz: 3bf5fe50c3ca447464518b63fc0c239015875f101d47eb9b921a9e75ab2bdcfb
3
+ metadata.gz: bb557b3617da39110e1391bf047c8ed3c2e81a5d21b3fa3ca9fe7ca34394d307
4
+ data.tar.gz: '08658a600f3a5613a43bc6015a687769e3ac1365871b60e13767c30b90539f82'
5
5
  SHA512:
6
- metadata.gz: 8368418b1b9bdbaadfaaf0f4e2fe9b0e02e6744b0ec459d5b5d43333dbcd5aaaa6dbeb270cfc84829802ef1949bea88959e016ee5d3b5736877d661ddf58dd5f
7
- data.tar.gz: b2feafedb767d24ac19a2e506ed7c711fe5254e7694bf201806e6c91f6282eeede0d42d614471c8b15c8723f0da338fc7464ee03b9bc30d5c2022bec0b645ccc
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.0'
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
- body = File.read(cfg)
52
- extra = body.split(/\s+/).map(&:strip)
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.0'
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'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: texqc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko