pxgraphviz 0.3.2 → 0.3.3

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: 27c3f2f1504c7444b8596d9bd40583f1fb93de37
4
- data.tar.gz: 56ba3b46055481b052d4f4bd615c973ce00f58a6
3
+ metadata.gz: f1820d7855e40a0a9d0db9655bfd7e4d073630e7
4
+ data.tar.gz: 142d13f86766fccd30a8d331ca4deceef020da31
5
5
  SHA512:
6
- metadata.gz: be2189e968e851619cfd212fb708b1272eac96a0384fcbb52dd363990b16baa34d8da94a01301268ce402346199d0136b9bea09434fbcc268e83a27b635c2314
7
- data.tar.gz: 8fb6c154726548318339ae7196b67942eea25277f799a01680a0c20e347bfa5f1fd9a803f1abbfb7c11c01343a67e0346c60472ba950b96c801189809bfed6bf
6
+ metadata.gz: 683cdfb6b6aa32f7bf348826a75e9fdcaa0e761eaa7d76161fb8475c875e8b06cf9594fac29bc38d5bc1dd7190e5cdfc30eed0f947d2b3157822a1ec374237e4
7
+ data.tar.gz: e3fceb89b47a78033ef33597351c5c9add8a5df8b2e34c4de61982467bb284a3d4bccc3eec56d4debc189f1078ff74fffcf4cab6ee18ff6e0a0a0759426ab274
checksums.yaml.gz.sig CHANGED
@@ -1,3 +1,2 @@
1
- b�3?�����6-pN��3 �:����j��W�y���g9ni��ߧ������i��0�_Y
2
- }[W𽕂a��{�����h1�7#�����-�e#�u{2|Y�F���_��%�g
3
- �P��^�ޑ�`c�\��,�մ����ȭ�V�7�(ϯ�϶S�kF;`́�[ʾ���ˑ.m�)TIU���z�g{�z���L:F��]^��y�L�
1
+ ;�7׏
2
+ <8Gi��5+��Ϝ��ii�7���oNZRSV���luK@z��}ɔ�Q�� Y*<x��|< �&nU?�J`���a�?z�W�W�6. %��a"���
data/lib/pxgraphviz.rb CHANGED
@@ -9,6 +9,7 @@ require 'graphvizml'
9
9
 
10
10
  class PxGraphViz
11
11
 
12
+ attr_reader :doc
12
13
 
13
14
  def initialize(s, style: default_stylesheet())
14
15
 
@@ -17,6 +18,8 @@ class PxGraphViz
17
18
 
18
19
  end
19
20
 
21
+ # this method will be deprecated in the near future. Use #doc instead
22
+ #
20
23
  def to_doc()
21
24
  @doc
22
25
  end
@@ -67,7 +70,7 @@ class PxGraphViz
67
70
  xml.records do
68
71
  labels_ids.each do |x, i|
69
72
  label, shape = x
70
- attr = {id: i.to_s, shape: shape}
73
+ attr = {gid: i.to_s, shape: shape}
71
74
  xml.node(attr) do
72
75
  xml.label label
73
76
  end
@@ -99,7 +102,7 @@ class PxGraphViz
99
102
  xml.records do
100
103
  a_edges.each.with_index do |x, i|
101
104
  item1, item2, connection = x
102
- xml.edge id: 'e' + (i+1).to_s do
105
+ xml.edge gid: 'e' + (i+1).to_s do
103
106
  xml.summary do
104
107
  xml.label connection
105
108
  end
data.tar.gz.sig CHANGED
@@ -1,2 +1,2 @@
1
- 3��%�æa���a^m��I��-����*�҆#�F���0S������7]moZxc`?��Ķ �d���g�m ��v[>���Z�/�2����7̈́��Ydc���kO]Z�<;�j�%Dz���ڔ���w]����L41*��%�5�3̢��5!�� ���O
2
- 0L���EPvzJ�(8��C'��S�D�j�^=Q�����ԍ���A�Ѐ̫�k��2j _�'�n���ዘ���;g��i�}��9��y�
1
+ �g�|�]4��Xg��[H�қ��u���xr#Lh���a�TC<���I����7�`� ��y�� �`RVdS�Kw�´���[`r�8J��߶yWq|�`��P-��*Ô�� q���E(
2
+ o�C�����.�o���S"C��)8�e��&J��a�CqN��6Q
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pxgraphviz
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  AJ2kmROiYBLscpVrfyHxtEJluJwbid/KyR/BybHL7uezZ2/EbCxCYanOIbNyctTp
32
32
  CNgZvs+F41zO7g==
33
33
  -----END CERTIFICATE-----
34
- date: 2017-09-04 00:00:00.000000000 Z
34
+ date: 2017-09-05 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: polyrex
metadata.gz.sig CHANGED
Binary file