limarka 0.7.1 → 0.7.2.pre

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: 1f5c8d6e063cbc9d7f52760587be0351f4a30f3c
4
- data.tar.gz: 14225ea47724e97b9b0b813cf4fddacb0602c674
3
+ metadata.gz: b847b49e6e7e031be186ff1382f19cbd0eb29bf6
4
+ data.tar.gz: b2f636527beef5e835166e2217e77b18759ce2ec
5
5
  SHA512:
6
- metadata.gz: c52a27c4bc2372602ecee34db7a2ae07f7733fc7fd71a2426b87c5eeabf99c940478de4b4141bfdf2ad7143e60b5148312245c5ed7a43f6b22e3149c9a63f9cd
7
- data.tar.gz: a4d3310ae690edc7fc19cef570b1a962d61b5134c5dfed60b691ea59b3d2597ce5ae67d0c81b18edffd0a36f2414816b33ae58b58f0d8d5f5d2868ae5646b44d
6
+ metadata.gz: b720c59ed1b466facfedc3653a2976cbe6cf83a9646dd961b6a4afd89d4b0f54331ad592a2156dae868b6c439ecaa043c0890eb533cee92c163fb8e9b4ae985d
7
+ data.tar.gz: f9aa01c4240efbfd7d1c07da4f48fb84c6c5e49fd884ea8434f758d504465da21a412b6a3d57a5b07c44d46ff9c6357d5ea443190a5232f61f7608e9ab888090
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
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)
5
+
6
+ **Melhorias implementadas:**
7
+
8
+ - Possibilitar escrita de capítulos sem numeração [\#142](https://github.com/abntex/limarka/issues/142)
9
+ - Exibir mensagem indicando a versão requerida do pandoc após instalação [\#138](https://github.com/abntex/limarka/issues/138)
10
+
11
+ **Bugs corrigidos:**
12
+
13
+ - Problema ao executar filtro pandoc\_abnt no Windows [\#143](https://github.com/abntex/limarka/issues/143)
14
+ - Identação na lista de siglas [\#139](https://github.com/abntex/limarka/issues/139)
15
+
3
16
  ## [v0.7.1](https://github.com/abntex/limarka/tree/v0.7.1) (2017-02-11)
4
17
  [Full Changelog](https://github.com/abntex/limarka/compare/v0.7.0...v0.7.1)
5
18
 
@@ -24,6 +24,8 @@ 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"
28
+
27
29
  # @param trabalho [Trabalho]
28
30
  def initialize(trabalho, options)
29
31
  self.t = trabalho
@@ -87,7 +89,7 @@ module Limarka
87
89
  "epigrafe", "resumo", "abstract", "lista_ilustracoes", "lista_tabelas",
88
90
  "lista_siglas", "lista_simbolos", "sumario"].each_with_index do |secao,indice|
89
91
  template = "pretextual#{indice+1}-#{secao}"
90
- Open3.popen3("pandoc -f markdown \"--data-dir=#{options[:templates_dir]}\" --template=#{template} -t latex --filter pandoc_abnt") {|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|
91
93
  stdin.write(hash_to_yaml(t.configuracao))
92
94
  stdin.write("\n")
93
95
  if t.errata? and necessita_de_arquivo_de_texto.include?(secao) then
@@ -174,7 +176,7 @@ module Limarka
174
176
 
175
177
  def textual(pretextual_tempfile, postextual_tempfile)
176
178
  valida_yaml
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") {|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|
178
180
  stdin.write(File.read(options[:templates_dir] + '/templates/configuracao-tecnica.yaml'))
179
181
  stdin.write("\n")
180
182
  stdin.write(hash_to_yaml(t.configuracao))
@@ -240,7 +242,7 @@ module Limarka
240
242
  def secao(template, condicao_para_conteudo, conteudo_externo)
241
243
  s = StringIO.new
242
244
 
243
- Open3.popen3("pandoc -f markdown \"--data-dir=#{options[:templates_dir]}\" --template=#{template} --top-level-division=chapter -t latex --filter pandoc_abnt") {|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|
244
246
  stdin.write(hash_to_yaml(t.configuracao))
245
247
  stdin.write("\n")
246
248
  if (condicao_para_conteudo) then
@@ -1,3 +1,3 @@
1
1
  module Limarka
2
- VERSION = "0.7.1"
2
+ VERSION = "0.7.2.pre"
3
3
  end
data/limarka.gemspec CHANGED
@@ -17,6 +17,9 @@ Gem::Specification.new do |spec|
17
17
  spec.bindir = "exe"
18
18
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
19
  spec.require_paths = ["lib"]
20
+ spec.requirements = 'pandoc, v1.19.1'
21
+ spec.post_install_message = 'O limarka depende de uma versão nova do pandoc (v1.19.1 ou superior) que ainda não está disponível nos repositórios de muitas distribuições. Será necessário instalar a nova versão manualmente: https://github.com/abntex/limarka/issues/138'
22
+
20
23
 
21
24
  spec.add_development_dependency "bundler", "~> 1.12"
22
25
  spec.add_development_dependency "rake", "~> 11.0"
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.1
4
+ version: 0.7.2.pre
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-02-11 00:00:00.000000000 Z
11
+ date: 2017-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -299,7 +299,9 @@ homepage: https://github.com/abntex/limarka
299
299
  licenses:
300
300
  - MIT
301
301
  metadata: {}
302
- post_install_message:
302
+ post_install_message: 'O limarka depende de uma versão nova do pandoc (v1.19.1 ou
303
+ superior) que ainda não está disponível nos repositórios de muitas distribuições.
304
+ Será necessário instalar a nova versão manualmente: https://github.com/abntex/limarka/issues/138'
303
305
  rdoc_options: []
304
306
  require_paths:
305
307
  - lib
@@ -310,10 +312,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
310
312
  version: '0'
311
313
  required_rubygems_version: !ruby/object:Gem::Requirement
312
314
  requirements:
313
- - - ">="
315
+ - - ">"
314
316
  - !ruby/object:Gem::Version
315
- version: '0'
316
- requirements: []
317
+ version: 1.3.1
318
+ requirements:
319
+ - pandoc, v1.19.1
317
320
  rubyforge_project:
318
321
  rubygems_version: 2.5.1
319
322
  signing_key: