limarka 0.7.2.pre → 0.7.2.pre2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b847b49e6e7e031be186ff1382f19cbd0eb29bf6
4
- data.tar.gz: b2f636527beef5e835166e2217e77b18759ce2ec
3
+ metadata.gz: e0dfd70bed5633a31349b053a9d52e4cf6d09aeb
4
+ data.tar.gz: fd5078dce4bb29863507bef9006b336516c4fd73
5
5
  SHA512:
6
- metadata.gz: b720c59ed1b466facfedc3653a2976cbe6cf83a9646dd961b6a4afd89d4b0f54331ad592a2156dae868b6c439ecaa043c0890eb533cee92c163fb8e9b4ae985d
7
- data.tar.gz: f9aa01c4240efbfd7d1c07da4f48fb84c6c5e49fd884ea8434f758d504465da21a412b6a3d57a5b07c44d46ff9c6357d5ea443190a5232f61f7608e9ab888090
6
+ metadata.gz: 790ee40ab475aef5c968950905801b96db0741457b6ccc51f6005d3be57c1d7c3d3ae889e6f7231ac6e6cc023b124cdf60a1706fbc07ffdfbadae45879a12711
7
+ data.tar.gz: 2de6c9b3516aff38e90d661d643183bd60cd6e6d05e9e882eb351f41d9bcee123bf4e11d3f29ea1212ee35a455dd439a5c3eaf5227fa322184e8db1106b02373
@@ -24,7 +24,7 @@ module Limarka
24
24
  attr_accessor :txt
25
25
  attr_accessor :usa_pdftotext
26
26
 
27
- PANDOC_ABNT_PATH = ENV["PANDOC_ABNT_PATH"] or "pandoc_abnt"
27
+ pandoc_abnt_path = ENV["PANDOC_ABNT_PATH"] or "pandoc_abnt"
28
28
 
29
29
  # @param trabalho [Trabalho]
30
30
  def initialize(trabalho, options)
@@ -89,7 +89,7 @@ module Limarka
89
89
  "epigrafe", "resumo", "abstract", "lista_ilustracoes", "lista_tabelas",
90
90
  "lista_siglas", "lista_simbolos", "sumario"].each_with_index do |secao,indice|
91
91
  template = "pretextual#{indice+1}-#{secao}"
92
- Open3.popen3("pandoc -f markdown \"--data-dir=#{options[:templates_dir]}\" --template=#{template} -t latex --filter #{PANDOC_ABNT_PATH}") {|stdin, stdout, stderr, wait_thr|
92
+ Open3.popen3("pandoc -f markdown \"--data-dir=#{options[:templates_dir]}\" --template=#{template} -t latex --filter #{pandoc_abnt_path}") {|stdin, stdout, stderr, wait_thr|
93
93
  stdin.write(hash_to_yaml(t.configuracao))
94
94
  stdin.write("\n")
95
95
  if t.errata? and necessita_de_arquivo_de_texto.include?(secao) then
@@ -176,7 +176,7 @@ module Limarka
176
176
 
177
177
  def textual(pretextual_tempfile, postextual_tempfile)
178
178
  valida_yaml
179
- Open3.popen3("pandoc -f markdown+raw_tex -t latex -s \"--data-dir=#{options[:templates_dir]}\" --template=trabalho-academico --normalize --top-level-division=chapter --include-before-body=#{pretextual_tempfile.path} --include-after-body=#{postextual_tempfile.path} --filter #{PANDOC_ABNT_PATH}") {|stdin, stdout, stderr, wait_thr|
179
+ Open3.popen3("pandoc -f markdown+raw_tex -t latex -s \"--data-dir=#{options[:templates_dir]}\" --template=trabalho-academico --normalize --top-level-division=chapter --include-before-body=#{pretextual_tempfile.path} --include-after-body=#{postextual_tempfile.path} --filter #{pandoc_abnt_path}") {|stdin, stdout, stderr, wait_thr|
180
180
  stdin.write(File.read(options[:templates_dir] + '/templates/configuracao-tecnica.yaml'))
181
181
  stdin.write("\n")
182
182
  stdin.write(hash_to_yaml(t.configuracao))
@@ -242,7 +242,7 @@ module Limarka
242
242
  def secao(template, condicao_para_conteudo, conteudo_externo)
243
243
  s = StringIO.new
244
244
 
245
- Open3.popen3("pandoc -f markdown \"--data-dir=#{options[:templates_dir]}\" --template=#{template} --top-level-division=chapter -t latex --filter #{PANDOC_ABNT_PATH}") {|stdin, stdout, stderr, wait_thr|
245
+ Open3.popen3("pandoc -f markdown \"--data-dir=#{options[:templates_dir]}\" --template=#{template} --top-level-division=chapter -t latex --filter #{pandoc_abnt_path}") {|stdin, stdout, stderr, wait_thr|
246
246
  stdin.write(hash_to_yaml(t.configuracao))
247
247
  stdin.write("\n")
248
248
  if (condicao_para_conteudo) then
@@ -1,3 +1,3 @@
1
1
  module Limarka
2
- VERSION = "0.7.2.pre"
2
+ VERSION = "0.7.2.pre2"
3
3
  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: 0.7.2.pre
4
+ version: 0.7.2.pre2
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: 2017-04-08 00:00:00.000000000 Z
11
+ date: 2017-04-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler