asciidoctor-mathematical 0.1.0 → 0.2.2

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: c60e640244d19ad2679b5117d86aa6b71ea3068d
4
- data.tar.gz: a872640167565771f597fdd7868db7103a626a82
3
+ metadata.gz: 1c9eceb9149c84c9d4de3fcd30ec5db93a90ca95
4
+ data.tar.gz: 4374551bae0d9848f18cf32dfef01c23dca8cb1a
5
5
  SHA512:
6
- metadata.gz: b13a97f6910f9936f965eddc9eec2764bff84d15f81f27dfa1dfa2c8abe7c67c15a47072bdc620d10bd10a14ab82e761df2acc78cbba2695cb922401fa45b081
7
- data.tar.gz: 8a1e50165d18cb99a763b8ca769fe970c5b1fdd683350cedc2d2b7c08abc881983d436be412bc07829868d743fdd5995ebf1da660f33e7adba1ae6db48447254
6
+ metadata.gz: 543213a341d317439b96f453ef3ef0233f1d4b4e49f3998d58601bc1e35f02f10e2a7557ce643686de95f352ecfed27f38bcc891c02a1dfe23ebe4de5c11123c
7
+ data.tar.gz: 5994fba652c78d3f5a7358f266e5aabfd467e0c402ada7864833ab22cc7353d2311950695189f07f210cb8f2ee8a73fe00c55a4ba2250c79071d6039979b479f
@@ -98,7 +98,7 @@ class MathematicalTreeprocessor < Asciidoctor::Extensions::Treeprocessor
98
98
 
99
99
  ::IO.write img_file, eq_result[:data]
100
100
  %(image:#{img_target}[width=#{eq_result[:width]},height=#{eq_result[:height]}])
101
- } if (source.include? ':') && ((support_stem_prefix && (source.include? 'stem:')) || (source.include? 'latexmath:'))
101
+ } if (source != nil) && (source.include? ':') && ((support_stem_prefix && (source.include? 'stem:')) || (source.include? 'latexmath:'))
102
102
 
103
103
  if source_modified
104
104
  if block.context == :list_item
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asciidoctor-mathematical
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Stumm
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-08-21 00:00:00.000000000 Z
13
+ date: 2017-01-09 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: ruby-enum