pxgraphviz 0.3.6 → 0.3.7

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: b1828506284cff7eeac0cd0f982823d4bbffe3ea
4
- data.tar.gz: fc82a0c35a7a3a18f4e95aca4d2aabaacaa0ca02
3
+ metadata.gz: f684ae44e0d1395363d736a75afb4249da5fa1c0
4
+ data.tar.gz: 752c2037b77c545f70c63ad54041a72acbe0f1b8
5
5
  SHA512:
6
- metadata.gz: 3e5e837cce6ae1594134e2d672d06af5a4a06c4e997a3627e6eb2afb8c38307a64196356a3179b45996b6c3948d9fa49cdd8f816b7632a11b21adb6945905c15
7
- data.tar.gz: 2be04b249911b42303370473c7fd724d59c93b999eff4b010fff390e4629363aeba5dfe7d1583912ce11dab64a3626a03de3727a6ada483166eb0c0612d3c149
6
+ metadata.gz: dce7169b4b8bfae5e31879698a911d6eb14d017a6257597ae51dbddae17f8df3820a39c4176f76a65b114c1ffcc2645c1248178434d7e577058113d6eb41a9a0
7
+ data.tar.gz: a899de93bb538df6b7c9add8c7edd5e8d072cf84677dc1319b1937779be92efecb0b09cee81ae5543782fb69f4db8a0274a801edd0b544a8b3cc61b2a5cc0d29
checksums.yaml.gz.sig CHANGED
@@ -1 +1 @@
1
- ��)��&9dX�
1
+ �c�0��Y\a墡DSw���c�%�� ���x-�m.�`6��H�V�}>�O����7^'�A����%O�q���+F��̛{�&W���i!pc�Z���ar�x�2\�Ԏ�o�'��jeh�&�}�p�ν9�3u6�W�Kߏ�-���0�|h v�=��Uֺ�'�d;�UQ��Zp���ղA:/���cM7�㫋z�U�Ck���Z���뉱�m
data/lib/pxgraphviz.rb CHANGED
@@ -28,20 +28,21 @@ class PxGraphViz
28
28
  GraphVizML.new(@doc).to_dot
29
29
  end
30
30
 
31
- # writes to a PNG file (not a PNG blob)
31
+ # returns a PNG blob
32
32
  #
33
- def to_png(filename)
34
- GraphVizML.new(@doc).to_png filename
35
- 'PNG file written'
33
+ def to_png()
34
+ GraphVizML.new(@doc).to_png
36
35
  end
37
36
 
38
- # writes to a SVG file (not an SVG blob)
37
+ # returns an SVG blob
39
38
  #
40
- def to_svg(filename)
41
- GraphVizML.new(@doc).to_svg filename
42
- 'SVG file written'
39
+ def to_svg()
40
+ GraphVizML.new(@doc).to_svg
43
41
  end
44
42
 
43
+ def write(filename)
44
+ GraphVizML.new(@doc).write filename
45
+ end
45
46
 
46
47
  private
47
48
 
data.tar.gz.sig CHANGED
Binary file
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.6
4
+ version: 0.3.7
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-08 00:00:00.000000000 Z
34
+ date: 2017-09-09 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: polyrex
@@ -62,7 +62,7 @@ dependencies:
62
62
  version: '0.5'
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: 0.5.3
65
+ version: 0.5.4
66
66
  type: :runtime
67
67
  prerelease: false
68
68
  version_requirements: !ruby/object:Gem::Requirement
@@ -72,7 +72,7 @@ dependencies:
72
72
  version: '0.5'
73
73
  - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: 0.5.3
75
+ version: 0.5.4
76
76
  description:
77
77
  email: james@jamesrobertson.eu
78
78
  executables: []
metadata.gz.sig CHANGED
@@ -1,2 +1 @@
1
- �����I�a�Ɗ��e͈}��0)����Ki��p&2M���⟲5�V��*����cE'9����ㆷ�fb�h�Fdzg���57� �#H�r9K��x?
2
-
1
+ nq ���y�4��H����zˍtz����(�{�~3أ��<�|9e ��^�C��/fXj9�Q)s}