limarka 0.5.3 → 0.5.4

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
  SHA1:
3
- metadata.gz: 0c6b452c165d42ee22c9ed7c8a2e70eddc61273b
4
- data.tar.gz: 90f9fda80a73204018966d38b342dfab53a6dce4
3
+ metadata.gz: 1ecfae81797da21d424726b488a97614bffa7306
4
+ data.tar.gz: 9641d912fe482da30294233e4f1b1faf1dbfb757
5
5
  SHA512:
6
- metadata.gz: 7e8052be733b2d33be0b1d2c5c6e393e15bd978bb283d5a0818738abc59eca85395e6607a17b6c4e3c28a3595e55b79834b3ca6cf9a4102af6aedb112833d920
7
- data.tar.gz: a5f7e96e1878b6c0788180f98854a8768522f058dc9f4358d986e8c5faf63951dd7f714276c314af104cf70dfc7688428be55c39f36be1c15bab1d07dcdc74f4
6
+ metadata.gz: 98420a476c7a5d17a92a1513b30e0df24a43dcfaaa31ea90f02e152d9160e5c06ad2f7d8b8fe1264cda0652d138db4b955e38b18862260f9ebe116cf707bff9b
7
+ data.tar.gz: a2506f67b8226970fa6a7a33016cf1d2e614004d0589b19bf0053664aeb0597f3556ae090c91674d76100083a40d7d3c978fc7afc531142f21e8ec08f8550e02
data/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Change Log
2
2
 
3
+ ## [v0.5.4](https://github.com/abntex/limarka/tree/v0.5.4) (2016-12-19)
4
+ [Full Changelog](https://github.com/abntex/limarka/compare/v0.5.3...v0.5.4)
5
+
6
+ **Melhorias implementadas:**
7
+
8
+ - Remover dependência de execução pdftotext [\#97](https://github.com/abntex/limarka/issues/97)
9
+
10
+ **Bugs corrigidos:**
11
+
12
+ - Problemas de codificação no Windows [\#98](https://github.com/abntex/limarka/issues/98)
13
+
3
14
  ## [v0.5.3](https://github.com/abntex/limarka/tree/v0.5.3) (2016-12-19)
4
15
  [Full Changelog](https://github.com/abntex/limarka/compare/v0.5.2...v0.5.3)
5
16
 
data/exe/limarka CHANGED
@@ -1,5 +1,9 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
+ # Para corrigir os problemas de codificação no Windows #98
4
+ Encoding.default_external = Encoding::UTF_8
5
+ Encoding.default_internal = Encoding::UTF_8
6
+
3
7
  require "limarka"
4
8
  require "limarka/cli"
5
9
 
data/lib/limarka/cli.rb CHANGED
@@ -40,6 +40,7 @@ module Limarka
40
40
  t.atualiza_de_arquivos(options)
41
41
  cv = Limarka::Conversor.new(t,options)
42
42
  cv.convert
43
+ cv.usa_pdftotext = false
43
44
  cv.compila if options[:compila_tex]
44
45
  end
45
46
  end
@@ -18,10 +18,12 @@ module Limarka
18
18
  attr_accessor :postextual_tex
19
19
  attr_accessor :texto_tex
20
20
  attr_accessor :txt
21
+ attr_accessor :usa_pdftotext
21
22
 
22
23
  def initialize(trabalho, options)
23
24
  self.t = trabalho
24
25
  self.options = options
26
+ self.usa_pdftotext = true
25
27
  end
26
28
 
27
29
 
@@ -1,3 +1,3 @@
1
1
  module Limarka
2
- VERSION = "0.5.3"
2
+ VERSION = "0.5.4"
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.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eduardo de Santana Medeiros Alexandre