pandoc_abnt 0.1.2 → 0.1.3

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: 4700d2bf6bf46254a3ee2880a57d857443c9b610
4
- data.tar.gz: 8cfe0a1879959d41f1330f3f8292693b6110de91
3
+ metadata.gz: 9d95916eadf2769d515bdee11bb9d4d5572b5ab1
4
+ data.tar.gz: ce88446c18b34fce9266b853c80996018bf59134
5
5
  SHA512:
6
- metadata.gz: 9ad4adb6e7e07d77336b979cf8193f25b92a111f226777cad1c0551f45c677427d90391408b460b48bdf763ef54819f078f92ef729f47d4acd7f30e8517e1e6e
7
- data.tar.gz: 388f94ea8898d93214f8a4436b15f3ef00e1a72cc32add9313a6b4bda71d32991a71cd1a4ee1910500c68c1beb2d704b4c9732a386cd257c9ecf4f70b59c7fa9
6
+ metadata.gz: 24002a884091a032d40efb416d9244a89e3040b7706de72a7d8b91f643dd6b4442c425bb1eb59d0041153059a845e2fc193768d467eb19d394dc5f46a7f6bb1e
7
+ data.tar.gz: 403310f86c4e87d0260813e71f1cdb39e6dfa01fb208f80e8c4f01f66a75d419dafd57bf5ed98e5e16555e288c3a1d77da715b6722d1f4f4edcd8614987af6c6
@@ -57,6 +57,11 @@ LATEX
57
57
 
58
58
  filtrados = []
59
59
  anterior = nil
60
+
61
+ if not tree[1]
62
+ raise ArgumentError, "Problema no argumento passado: #{pandoc_json_tree}"
63
+ end
64
+
60
65
  tree[1].each do |node|
61
66
 
62
67
  if (fonte?(node) and imagem?(anterior)) then
@@ -1,3 +1,3 @@
1
1
  module PandocAbnt
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pandoc_abnt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eduardo de Santana Medeiros Alexandre