asciidoctor-pdf 1.5.0.alpha.3 → 1.5.0.alpha.4

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: b714bec9fc727f8340239a400b162c0b0f9b53c1
4
- data.tar.gz: f63aea2bc6f10d9b143d59e1486c9ab79c061166
3
+ metadata.gz: 73e7e92814ff51684ded60ff7a193bad01bccdca
4
+ data.tar.gz: 72f6cdbb47f6af5520df5f62d23f60760dac57ab
5
5
  SHA512:
6
- metadata.gz: 251a16c7e1d5df1729837814a01fc5345da7018d72ec254b6b841cb192c69361f1bfdb2b2e81e4dec578c7560e5f51be2f4a2e8dea82f66d6cce9457b182a1b4
7
- data.tar.gz: 9be2f307268fe6fce468f47ebe1fd5a2c012fb011a35e9e66cdbd889ee428781ab46609ea8912779191d688bb409cd39d6ef561a9359e3d7d3a597b1165266c9
6
+ metadata.gz: 78a6e3b0d72c21db30dc9545fbe1f91c6467bf7660910fa2461f3e3487658f87214d524401629d0cc0fb6111e433d6af17570cd23970dc9a4983e942e987ebe6
7
+ data.tar.gz: d468f5310e4589bfee6292fa9ac40c5b39b9498135a44f03a2cd5d2706b20cf06cbeb053fd6b5b3f561ab3767a3716ce009efbf36be97fde14ea706ef65fbb98
@@ -501,7 +501,9 @@ module Extensions
501
501
  else
502
502
  started_new_page = false
503
503
  end
504
- yield height_of_content, started_new_page
504
+ # HACK yield doesn't work here on JRuby (at least not when called from AsciidoctorJ)
505
+ #yield height_of_content, started_new_page
506
+ instance_exec(height_of_content, started_new_page, &block)
505
507
  end
506
508
 
507
509
  # Attempt to keep the objects generated in the block on the same page
@@ -1,5 +1,5 @@
1
1
  module Asciidoctor
2
2
  module Pdf
3
- VERSION = '1.5.0.alpha.3'
3
+ VERSION = '1.5.0.alpha.4'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asciidoctor-pdf
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0.alpha.3
4
+ version: 1.5.0.alpha.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Allen