asciidoctor-diagram 1.2.0 → 1.2.1

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: 74838c060f09bcfe7603faef3aeee8c075cecaec
4
- data.tar.gz: cb315faf5b140f071a6f7a0fdb748e366d5eefae
3
+ metadata.gz: 9f7d06b257cc748a975d960204079509e10394c3
4
+ data.tar.gz: fbd0f23226b3dd0df2b648e7b69a3c4721a3a4e0
5
5
  SHA512:
6
- metadata.gz: 131fb3f8a3cecb232601c72424240c284996bfeef9a66c64bc3d88c6e0a1aab48299c2baa5935d1d3ed54ceca85b912716ae10dea48c21950ce6d5ff3b76f960
7
- data.tar.gz: 4d096215c18e27b7fdfbb4bccd131c6e94699c9fb572c1f5f00e9df196a2c0d81390dd84c70dfbef3153a9cfe8d7c3598fd15f6f14d53979b93fe44130f82589
6
+ metadata.gz: fa378f8f6a6c6906be6fd14c338168e58e0089611a6cbe18c35c84ea2e42821776cecbb4f722d1ae34d091b03077dbc9c75f6ebbc0b64995a0dda8fef55823f4
7
+ data.tar.gz: 3431ef61b193d3029a657bdec8955c9062ab7cf25f8c49533d40ca3006e338e90a85605d80177563ecaae0140c503791aac9f533b9a393bd2732a860d443ebbb
@@ -1,5 +1,11 @@
1
1
  = Asciidoctor-diagram Changelog
2
2
 
3
+ == 1.2.1
4
+
5
+ Enhancements::
6
+
7
+ * Add support for Actdiag, Seqdiag, Nwdiag, Packetdiag and Rackdiag diagrams (requires resp. Python packages to be installed separately)
8
+
3
9
  == 1.2.0
4
10
 
5
11
  Enhancements::
@@ -11,11 +17,8 @@ Enhancements::
11
17
  Enhancements::
12
18
 
13
19
  * Updated PlantUML to revision 8002 (23/07U/2014)
14
- * Add support for Shaape diagrams (requires Shaape to be installed separately)
15
- * Add support for Blockdiag diagrams (requires Blockdiag to be installed separately)
16
- * Add support for Actdiag diagrams (requires Actdiag to be installed separately)
17
- * Add support for Seqdiag diagrams (requires Seqdiag to be installed separately)
18
- * Add support for Nwdiag diagrams (requires Nwdiag to be installed separately)
20
+ * Add support for Shaape diagrams (requires Shaape Python package to be installed separately)
21
+ * Add support for Blockdiag diagrams (requires Blockdiag Python package to be installed separately)
19
22
 
20
23
  Bug Fixes::
21
24
  * Issue #38: Resolved Graphviz syntax errors with certain diagrams
@@ -3,6 +3,13 @@ require_relative 'version'
3
3
 
4
4
  Asciidoctor::Extensions.register do
5
5
  require_relative 'blockdiag/extension'
6
- block Asciidoctor::Diagram::BlockDiagBlock, :blockdiag
7
- block_macro Asciidoctor::Diagram::BlockDiagBlockMacro, :blockdiag
6
+
7
+ ['BlockDiag', 'SeqDiag', 'ActDiag', 'NwDiag', 'RackDiag', 'PacketDiag'].each do |tool|
8
+ name = tool.downcase.to_sym
9
+ block = Asciidoctor::Diagram.const_get("#{tool}Block")
10
+ block_macro = Asciidoctor::Diagram.const_get("#{tool}BlockMacro")
11
+
12
+ block block, name
13
+ block_macro block_macro, name
14
+ end
8
15
  end
@@ -1,5 +1,5 @@
1
1
  module Asciidoctor
2
2
  module Diagram
3
- VERSION = "1.2.0"
3
+ VERSION = "1.2.1"
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.2.0
4
+ version: 1.2.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: 2014-08-14 00:00:00.000000000 Z
11
+ date: 2014-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler