limarka 0.7.2.pre7 → 0.7.2

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: d4d547e1dab40241d3df4663c2b34874f12bf8cb
4
- data.tar.gz: 4ebf9a68dd0682324ccb6f42eac018b37f7ee089
3
+ metadata.gz: 9fed953002b9533eee63ec10a0cb46b4d8844f91
4
+ data.tar.gz: 31d6a9228ce201507adbc2ee7d0aef4cccf96e2a
5
5
  SHA512:
6
- metadata.gz: 13d8ac87e587a4cc40b06211e0bb00a54f70b91ac10a140ec3c204b284ec3961b8eac4d2549e7dfe7003d8303e6f84c1dc7f14baf82ba850627969235521cca2
7
- data.tar.gz: 37093a7e700f80ff5925f0cbd09b456d810d44130f55850386c704d731e88d59a850b3aee113e8fd2da74f3d51cc6bd64e90d8bdf2823c209671815a5765d515
6
+ metadata.gz: b62b3d7cf00f913e70ff95d7f826c616b60aedc1c2b6b436dcfa222162008ae888210e53eb17b0f840de265371caddebab3464b5564c2fff608d07c6e5b163cd
7
+ data.tar.gz: 7273ae8796737df891db7bdb013f997b1163144076b1a51edd55d36dd96b6b6d5f0b53ac00984b2858dd80d4829bb283f1f6614e0528d437e150f4563a02a3f3
data/CHANGELOG.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Change Log
2
2
 
3
- ## [v0.7.2.pre](https://github.com/abntex/limarka/tree/v0.7.2.pre) (2017-04-08)
4
- [Full Changelog](https://github.com/abntex/limarka/compare/v0.7.1...v0.7.2.pre)
3
+ ## [v0.7.2](https://github.com/abntex/limarka/tree/v0.7.2) (2017-04-08)
4
+ [Full Changelog](https://github.com/abntex/limarka/compare/v0.7.1...v0.7.2)
5
5
 
6
6
  **Melhorias implementadas:**
7
7
 
@@ -87,7 +87,7 @@ module Limarka
87
87
  "epigrafe", "resumo", "abstract", "lista_ilustracoes", "lista_tabelas",
88
88
  "lista_siglas", "lista_simbolos", "sumario"].each_with_index do |secao,indice|
89
89
  template = "pretextual#{indice+1}-#{secao}"
90
- Open3.popen3(ENV,"pandoc -f markdown \"--data-dir=#{options[:templates_dir]}\" --template=#{template} -t latex --filter #{pandoc_abnt_path}") {|stdin, stdout, stderr, wait_thr|
90
+ Open3.popen3("pandoc -f markdown \"--data-dir=#{options[:templates_dir]}\" --template=#{template} -t latex --filter #{pandoc_abnt_path}") {|stdin, stdout, stderr, wait_thr|
91
91
  stdin.write(hash_to_yaml(t.configuracao))
92
92
  stdin.write("\n")
93
93
  if t.errata? and necessita_de_arquivo_de_texto.include?(secao) then
@@ -174,7 +174,7 @@ module Limarka
174
174
 
175
175
  def textual(pretextual_tempfile, postextual_tempfile)
176
176
  valida_yaml
177
- Open3.popen3(ENV,"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|
177
+ 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|
178
178
  stdin.write(File.read(options[:templates_dir] + '/templates/configuracao-tecnica.yaml'))
179
179
  stdin.write("\n")
180
180
  stdin.write(hash_to_yaml(t.configuracao))
@@ -240,7 +240,7 @@ module Limarka
240
240
  def secao(template, condicao_para_conteudo, conteudo_externo)
241
241
  s = StringIO.new
242
242
 
243
- Open3.popen3(ENV,"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|
243
+ 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|
244
244
  stdin.write(hash_to_yaml(t.configuracao))
245
245
  stdin.write("\n")
246
246
  if (condicao_para_conteudo) then
@@ -250,13 +250,13 @@ module Limarka
250
250
  stdin.close
251
251
  s << stdout.read
252
252
  exit_status = wait_thr.value # Process::Status object returned.
253
- if(exit_status!=0) then puts ("Erro: " + stderr.read + "\nENV: " + ENV.to_s + "\npandoc_abnt_path: #{pandoc_abnt_path}").red end
253
+ if(exit_status!=0) then puts ("Erro: " + stderr.read).red end
254
254
  }
255
255
  s.string
256
256
  end
257
257
 
258
258
  def pandoc_abnt_path
259
- ENV["PANDOC_ABNT_PATH"] or "pandoc_abnt"
259
+ ENV["PANDOC_ABNT_BAT"] or "pandoc_abnt"
260
260
  end
261
261
 
262
262
  end
@@ -1,3 +1,3 @@
1
1
  module Limarka
2
- VERSION = "0.7.2.pre7"
2
+ VERSION = "0.7.2"
3
3
  end
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: 0.7.2.pre7
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eduardo de Santana Medeiros Alexandre
@@ -312,9 +312,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
312
312
  version: '0'
313
313
  required_rubygems_version: !ruby/object:Gem::Requirement
314
314
  requirements:
315
- - - ">"
315
+ - - ">="
316
316
  - !ruby/object:Gem::Version
317
- version: 1.3.1
317
+ version: '0'
318
318
  requirements:
319
319
  - pandoc, v1.19.1
320
320
  rubyforge_project: