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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bb557b3617da39110e1391bf047c8ed3c2e81a5d21b3fa3ca9fe7ca34394d307
4
- data.tar.gz: '08658a600f3a5613a43bc6015a687769e3ac1365871b60e13767c30b90539f82'
3
+ metadata.gz: 5a45c96dead075d82d5c86397f0597369942d19c3e65bf533088fde4c5626d8f
4
+ data.tar.gz: d7a0cf0d6ce2fad0171e714d393369c7bf92cfb2cc6e22eaf084cc417429bf2e
5
5
  SHA512:
6
- metadata.gz: d8368d87efc035f30f2bec54e1b376bc8ee4abe1caf9777a18cc3d584cd906adb3d5137008ddec7d1a55e5aaa4860782f5d99b5b1fe8dd149cce8e6fae2ae1dd
7
- data.tar.gz: 45b15f158f5ed38af5978d081a3d58f6024234f2cff6970373f89832fc42b99094fc5e79b1a9011eecd62a199e0a7f9ad720ddae78a9be091f73d110d1f27242
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.1'
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
- --ignore 'may have changed' article.tex
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.1'
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'
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.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko