limarka 19.7.3 → 19.7.4.pre.329
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/Rakefile +2 -2
- data/changelogs/unreleased/20190705161205868_simplificando.yml +2 -0
- data/lib/limarka/conversor.rb +3 -23
- data/lib/limarka/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 266f4be8e28d426e5279af1394c5a55f53bcf438ff00b17759cd7f6094dc5922
|
|
4
|
+
data.tar.gz: a4efdf18ac5c81184ff58c7c83dc78d757a079517251c212458a29a000292665
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d6c0ccf2525b58ca7bfc369f228eadaf6b15ea5c187bdaeff0fafc415f8f47fc116c152c99e181ab9d11f8c7c918ff718fa943ff3c94c7a19acf3741e7ce50e0
|
|
7
|
+
data.tar.gz: 89eb0cda9d49bce7efac073f07c37078b95378896669c1e9f6f1b90b1aa69993e073354d6b6440ac4a557fb892d3a0ebc74f672c034f275f9dd98522d9dbb679
|
data/Rakefile
CHANGED
|
@@ -26,12 +26,12 @@ end
|
|
|
26
26
|
namespace :cucumber do
|
|
27
27
|
desc 'Executa testes cucumber que NÃO envolvem gerão de pdfs'
|
|
28
28
|
task :ruby do
|
|
29
|
-
system "cucumber -t 'not @pdf'"
|
|
29
|
+
system "cucumber -t 'not @pdf' -f progress"
|
|
30
30
|
end
|
|
31
31
|
|
|
32
32
|
desc 'Executa testes cucumber que envolvem gerão de pdfs'
|
|
33
33
|
task :pdf do
|
|
34
|
-
system "cucumber -t '@pdf'"
|
|
34
|
+
system "cucumber -t '@pdf' -f progress"
|
|
35
35
|
end
|
|
36
36
|
end
|
|
37
37
|
|
data/lib/limarka/conversor.rb
CHANGED
|
@@ -215,7 +215,7 @@ module Limarka
|
|
|
215
215
|
end
|
|
216
216
|
|
|
217
217
|
def texto_tex_file
|
|
218
|
-
"#{options[:output_dir]}/#{Conversor.tex_file
|
|
218
|
+
"#{options[:output_dir]}/#{Conversor.tex_file}"
|
|
219
219
|
end
|
|
220
220
|
def pdf_file
|
|
221
221
|
texto_tex_file.sub('.tex','.pdf')
|
|
@@ -229,28 +229,8 @@ module Limarka
|
|
|
229
229
|
# não faz nada por enquanto
|
|
230
230
|
end
|
|
231
231
|
|
|
232
|
-
def self.tex_file(
|
|
233
|
-
|
|
234
|
-
'xxx-Monografia-projeto.tex'
|
|
235
|
-
elsif (configuracao['graduacao'] and not configuracao['projeto']) then
|
|
236
|
-
'xxx-Monografia.tex'
|
|
237
|
-
elsif (configuracao['especializacao'] and configuracao['projeto']) then
|
|
238
|
-
'xxx-TFC-projeto.tex'
|
|
239
|
-
elsif (configuracao['especializacao'] and not configuracao['projeto']) then
|
|
240
|
-
'xxx-TFC.tex'
|
|
241
|
-
elsif (configuracao['mestrado'] and configuracao['projeto']) then
|
|
242
|
-
'xxx-Dissertacao-projeto.tex'
|
|
243
|
-
elsif (configuracao['mestrado'] and not configuracao['projeto']) then
|
|
244
|
-
'xxx-Dissertacao.tex'
|
|
245
|
-
elsif (configuracao['doutorado'] and configuracao['projeto']) then
|
|
246
|
-
'xxx-Tese-projeto.tex'
|
|
247
|
-
elsif (configuracao['doutorado'] and not configuracao['projeto']) then
|
|
248
|
-
'xxx-Tese.tex'
|
|
249
|
-
else
|
|
250
|
-
# valor padrão, caso não configurado.
|
|
251
|
-
'xxx-Monografia-projeto.tex'
|
|
252
|
-
end
|
|
253
|
-
|
|
232
|
+
def self.tex_file()
|
|
233
|
+
"xxx-trabalho-academico.tex"
|
|
254
234
|
end
|
|
255
235
|
|
|
256
236
|
private
|
data/lib/limarka/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: limarka
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 19.7.
|
|
4
|
+
version: 19.7.4.pre.329
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Eduardo de Santana Medeiros Alexandre
|
|
@@ -327,6 +327,7 @@ files:
|
|
|
327
327
|
- changelogs/releases/19.7.md
|
|
328
328
|
- changelogs/template.yml
|
|
329
329
|
- changelogs/unreleased/.gitkeep
|
|
330
|
+
- changelogs/unreleased/20190705161205868_simplificando.yml
|
|
330
331
|
- containers/limarka.dockerfile
|
|
331
332
|
- containers/ruby-latex-pandoc.dockerfile
|
|
332
333
|
- docs/paper/codemeta.json
|
|
@@ -384,9 +385,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
384
385
|
version: '0'
|
|
385
386
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
386
387
|
requirements:
|
|
387
|
-
- - "
|
|
388
|
+
- - ">"
|
|
388
389
|
- !ruby/object:Gem::Version
|
|
389
|
-
version:
|
|
390
|
+
version: 1.3.1
|
|
390
391
|
requirements: []
|
|
391
392
|
rubyforge_project:
|
|
392
393
|
rubygems_version: 2.7.7
|