asciidoctor-diagram 1.5.10 → 1.5.11

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
- SHA1:
3
- metadata.gz: b210b428ba58c0332817b65d14cbcf5140fa5d23
4
- data.tar.gz: aa70930c788129a4b352b96b69d195ab40bacc59
2
+ SHA256:
3
+ metadata.gz: 5cba39190bfc72114adb239749953ef15fa8f7bfdf2265a49243a848e0577129
4
+ data.tar.gz: 8393028bf7f8891f130e431ab4581c5332cc7c03b0c56d1eec656605a0d24255
5
5
  SHA512:
6
- metadata.gz: db4a23dc9a0f9edf9683b58d5967153eefa2b938cb6da46a5a3bdfa9d0cde59ee1875a94f8ece94588b1f11023c6064ec1bdcac0f5fd33a48bcd6e479729197b
7
- data.tar.gz: f353f04830771ed1141a3abef0b685af085f1157f9990ebdf93904dcc944317631c0c532177a7e5a1e070dec3eb97dc7649d395964d5dc8f65d361a9250d0a09
6
+ metadata.gz: 2dd40ea17f2ae6f3210df55d01cb159f2e9cd0b454a1b7e4a9a176c59e5f264da29a307f9bfbe543b1dfb9d28e4a6d5bb53c7c0e6d53af974e002641964ef87d
7
+ data.tar.gz: 3e4f4863daceb0ae205280d01479501ce758cadc814cbe53c3ba5bf273699ae5cffc8cb7d6fe231bf73c950ef0de3b199dcac89d86acec60c4f5559a20b10359
@@ -1,5 +1,11 @@
1
1
  = Asciidoctor-diagram Changelog
2
2
 
3
+ == 1.5.11
4
+
5
+ Enhancements::
6
+
7
+ * Issue #198: Simplify usage of asciidoctor-diagram in combination with the `data-uri` attribute
8
+
3
9
  == 1.5.10
4
10
 
5
11
  Bug Fixes::
@@ -192,7 +192,7 @@ module Asciidoctor
192
192
  File.open(metadata_file, 'w') { |f| JSON.dump(metadata, f) }
193
193
  end
194
194
 
195
- image_attributes['target'] = image_name
195
+ image_attributes['target'] = parent.attr('data-uri') ? image_file : image_name
196
196
 
197
197
  scale = image_attributes['scale']
198
198
  if scalematch = /(\d+(?:\.\d+))/.match(scale)
@@ -1,5 +1,5 @@
1
1
  module Asciidoctor
2
2
  module Diagram
3
- VERSION = "1.5.10"
3
+ VERSION = "1.5.11"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asciidoctor-diagram
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.10
4
+ version: 1.5.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pepijn Van Eeckhoudt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-07 00:00:00.000000000 Z
11
+ date: 2018-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -177,7 +177,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
177
177
  version: '0'
178
178
  requirements: []
179
179
  rubyforge_project:
180
- rubygems_version: 2.5.1
180
+ rubygems_version: 2.7.6
181
181
  signing_key:
182
182
  specification_version: 4
183
183
  summary: An extension for asciidoctor that adds support for UML diagram generation