asciidoctor-diagram 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.adoc +12 -5
- data/lib/asciidoctor-diagram/util/java_socket.rb +13 -1
- data/lib/asciidoctor-diagram/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2aa855d0a4d2453cb80b237827e331367c52121f
|
4
|
+
data.tar.gz: 68ad84950f5592103d829ee8518d20aa2a7f0de2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae3dc63dd88b9c307687505b0c7d6c41c127e8d25d9abd45683b0aa712753a5bee6d902df8b505b7a925c1557239309ff35c0f0b9a753e351044c5f0b8db6824
|
7
|
+
data.tar.gz: 8e2c8d867b1e1a91093305aa2d8cbbd3cdcb15c78279e1de99ee3833809ed0651e46bb7958953d3d145e1a151941356a10a8ba4f1e872cadeff260b1ed45b931
|
data/CHANGELOG.adoc
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
= Asciidoctor-diagram Changelog
|
2
2
|
|
3
|
+
== 1.3.1
|
4
|
+
|
5
|
+
Bug Fixes::
|
6
|
+
|
7
|
+
* Issue #78: Resolve Java launch issues when running in a Cygwin environment
|
8
|
+
|
3
9
|
== 1.3.0
|
4
10
|
|
5
11
|
Enhancements::
|
@@ -8,10 +14,11 @@ Enhancements::
|
|
8
14
|
* Add support for Actdiag diagrams (requires Actdiag to be installed separately)
|
9
15
|
* Add support for Seqdiag diagrams (requires Seqdiag to be installed separately)
|
10
16
|
* Add support for Nwdiag diagrams (requires Nwdiag to be installed separately)
|
11
|
-
*
|
12
|
-
*
|
13
|
-
*
|
14
|
-
* Add
|
17
|
+
* Add support for Salt UI diagrams (issue #66)
|
18
|
+
* Updated PlantUML to revision 8028 (10/07/2015)
|
19
|
+
* Remove dependency on RJB to simplify installation (issue #48)
|
20
|
+
* Add diagram scaling support using the scale attribute (issue #58)
|
21
|
+
* Add Ditaa command line option support using the options attribute (issue #69)
|
15
22
|
|
16
23
|
Bug Fixes::
|
17
24
|
|
@@ -90,4 +97,4 @@ Bug Fixes::
|
|
90
97
|
Initial release::
|
91
98
|
|
92
99
|
* Provides Asciidoctor extension for `ditaa` and `plantuml` blocks
|
93
|
-
* PlantUML skin parameters can be injected from an external file using the `plantumlconfig` document attribute
|
100
|
+
* PlantUML skin parameters can be injected from an external file using the `plantumlconfig` document attribute
|
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'socket'
|
2
|
+
require 'rbconfig'
|
2
3
|
|
3
4
|
require_relative 'which'
|
4
5
|
|
@@ -13,7 +14,18 @@ module Asciidoctor
|
|
13
14
|
args = []
|
14
15
|
args << '-Djava.awt.headless=true'
|
15
16
|
args << '-cp'
|
16
|
-
|
17
|
+
# special case for cygwin, it requires path translation for java to work
|
18
|
+
if RbConfig::CONFIG['host_os'] =~ /cygwin/i
|
19
|
+
cygpath = ::Asciidoctor::Diagram.which('cygpath')
|
20
|
+
if(cygpath != nil)
|
21
|
+
args << classpath.flatten.map { |jar| `cygpath -w "#{jar}"`.strip }.join(";")
|
22
|
+
else
|
23
|
+
puts 'cygwin warning: cygpath not found'
|
24
|
+
args << classpath.flatten.join(File::PATH_SEPARATOR)
|
25
|
+
end
|
26
|
+
else
|
27
|
+
args << classpath.flatten.join(File::PATH_SEPARATOR)
|
28
|
+
end
|
17
29
|
args << 'org.asciidoctor.diagram.CommandServer'
|
18
30
|
|
19
31
|
@server = IO.popen([java, *args])
|
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.3.
|
4
|
+
version: 1.3.1
|
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: 2015-
|
11
|
+
date: 2015-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -144,3 +144,4 @@ test_files:
|
|
144
144
|
- spec/plantuml_spec.rb
|
145
145
|
- spec/shaape_spec.rb
|
146
146
|
- spec/test_helper.rb
|
147
|
+
has_rdoc:
|