limarka 19.6 → 19.7.pre.308

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: 7d80a462db62ae978b2726da885fc192281ea6245ccda59266806b69aa3a720e
4
- data.tar.gz: 9951649a906a6adc198e881dcfeb335d7c32c8cee7f78db7564f72c4d670dee1
3
+ metadata.gz: 930f4cde1ef68493b7e1751e50e4159fe5b645fae1d2c311607ff384faab4ba4
4
+ data.tar.gz: b91ac8fc0d45270657064680a4afa71e99c73607bf34e52ee8511349836fef98
5
5
  SHA512:
6
- metadata.gz: 94d05741ad802b6e719b8181ca169d4167f8e0dde46586cbac89334b101abae2ea3f425eaae01a543d3b7bd0cf2b1858d4c1989b2111dde4779c38ae5381e26e
7
- data.tar.gz: 3a36ba6d0ceafad135e4e0f8a2b09ffc34ce2f406ab06f08ee9e6252763e282e98590575c704f5105fd2dbea8df6873a7918c9d5421b6be8d4de848b81f11405
6
+ metadata.gz: 43a03d342de3bddc0624eabac591377d1e092c779a5201b676f84e678b12db8dfae9eba62348ad48d008fc6ce22237f5f8d5cc8df19e7363cfc0128f834b7955
7
+ data.tar.gz: c0f9aec12a60317a7a86383fccb6bf34e9b65c0413dd8306fae3dfcc7e8c6e19720b67bd7c4847f41184af85ccada74313b613bd9f288dfd64308739b2a8e667
@@ -0,0 +1,2 @@
1
+ "Melhorias implementadas":
2
+ - Se arquivo .limarka existir seu conteúdo é adicionado à execução do limarka - [\#192](https://github.com/abntex/limarka/issues/192)
data/lib/limarka/cli.rb CHANGED
@@ -311,8 +311,24 @@ TEX
311
311
 
312
312
  end
313
313
 
314
+ def self.command_line_options_file
315
+ ".limarka"
316
+ end
317
+
318
+ def self.inicia(given_args = ARGV, config = {})
319
+ array = []
320
+ if File.file?(self.command_line_options_file) then
321
+ string = IO.read(self.command_line_options_file)
322
+ array = string.split(/\n+|\r+/).reject(&:empty?)
323
+ end
324
+
325
+ self.start(given_args + array, config)
326
+ end
327
+
314
328
 
315
329
  no_commands do
330
+
331
+
316
332
  def valida_figura_rotulo (rotulo)
317
333
  if (not rotulo =~ (/^[a-zA-Z][\w\-:]*$/)) then
318
334
  raise RuntimeError, "O rótulo não deve conter caracteres especiais. Forneça um rótulo ou remova os caracteres especiais do nome do arquivo. Rótulo atual: '#{rotulo}'"
@@ -1,4 +1,4 @@
1
1
  module Limarka
2
2
  # O Versionamento é ano e mês
3
- VERSION = "19.6"
3
+ VERSION = "19.7"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: limarka
3
3
  version: !ruby/object:Gem::Version
4
- version: '19.6'
4
+ version: 19.7.pre.308
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eduardo de Santana Medeiros Alexandre
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-06-23 00:00:00.000000000 Z
11
+ date: 2019-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -282,6 +282,7 @@ files:
282
282
  - changelogs/releases/19.06.md
283
283
  - changelogs/template.yml
284
284
  - changelogs/unreleased/.gitkeep
285
+ - changelogs/unreleased/20190628200420483_.limarka.yml
285
286
  - containers/limarka.dockerfile
286
287
  - containers/ruby-latex-pandoc.dockerfile
287
288
  - docs/paper/codemeta.json
@@ -339,9 +340,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
339
340
  version: '0'
340
341
  required_rubygems_version: !ruby/object:Gem::Requirement
341
342
  requirements:
342
- - - ">="
343
+ - - ">"
343
344
  - !ruby/object:Gem::Version
344
- version: '0'
345
+ version: 1.3.1
345
346
  requirements: []
346
347
  rubyforge_project:
347
348
  rubygems_version: 2.7.7