graphvizml 0.6.3 → 0.6.4

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
  SHA256:
3
- metadata.gz: 68960c6facef21cc3467b32f8089e6c3a3202cfc98b818d176e955ef08cc4ec4
4
- data.tar.gz: 466ed1b061681333f0b8000637c5a69aca59e67d90c30a2bd00c4b9a087ceb99
3
+ metadata.gz: '09f4e0e919d540db36dd055b5fb536842c41a705fcbcfafa6d553e80ddbed455'
4
+ data.tar.gz: 7ac4ff32bcc0af37f631e24e6683a3b2642e616c105e227989b66f8a4ca1a2d1
5
5
  SHA512:
6
- metadata.gz: 8e1c3402e21cde24951767273cb4edf3e02cb1ed1861fea5cb41e29c6bdf4429399c1afe02b9b53c3adca7a0839d11bb9b43adf2297012843596caab1562d74c
7
- data.tar.gz: a3b10bc32eee08b209533cfc76ecb342965f0b56917f6a25b2de1a551c0439d5a4ad12c6ef09df75aadeebbb61125b6d17ce14d65c1c4fd9f8bc100c219fc970
6
+ metadata.gz: db9aa9df16d0cf2197248b865cc1849f769059ea62becb0e8afec0c1024118325c5c147b9c10ec8d5b6fed6d7ae9e2df60df9a4a453ad032791fc5aa29e25372
7
+ data.tar.gz: '0088ebafbe6facb94c488c60f8d8cf3dee311f3961d4f98dadbcc147273d74439de1899e9e5ffe09455a655c47e99175dc64779b01a54cdda30227e166eca573'
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -79,6 +79,7 @@ class GraphVizML
79
79
 
80
80
  s = RXFHelper.read(obj).first
81
81
  xml = import_string s
82
+ puts('graphvizml/import xml: ' + xml.inspect).debug if @debug
82
83
  @g = build_from_nodes Domle.new(xml)
83
84
  self
84
85
 
@@ -252,11 +253,10 @@ EOF
252
253
  end
253
254
 
254
255
 
255
- def import_string(obj)
256
-
257
- s = RXFHelper.read(obj).first
256
+ def import_string(s)
257
+
258
258
 
259
- s2 = s.slice(/<\?graphvizml\b[^>]*\?>/)
259
+ s2 = s.slice!(/<\?graphvizml\b[^>]*\?>/)
260
260
 
261
261
  if s2 then
262
262
 
@@ -278,7 +278,7 @@ EOF
278
278
 
279
279
  end
280
280
 
281
- xml = LineTree.new(s, root: 'nodes', debug: true).to_xml
281
+ xml = LineTree.new(s, root: 'nodes', debug: @debug).to_xml
282
282
 
283
283
  end
284
284
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphvizml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -35,7 +35,7 @@ cert_chain:
35
35
  /8tqxCi/5ePYzYvc/FsI9Y1IJRY3sAZ8QYkhQ1+eHM4Q6WnPySjokqiHaKUI3rHR
36
36
  7J+rmK2Wu7bYff3C/pg+xkkg
37
37
  -----END CERTIFICATE-----
38
- date: 2019-06-09 00:00:00.000000000 Z
38
+ date: 2019-06-10 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: domle
metadata.gz.sig CHANGED
Binary file