dynarex 1.5.28 → 1.5.29

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: 39ea9d50fe30b29b9ba4ded01ed71dbb4f344d30
4
- data.tar.gz: 5c48775b4668e0d2ec406fae472d96b8971e724f
3
+ metadata.gz: 854ef80a72bfba194853afc6feeb2dfa785077be
4
+ data.tar.gz: 813fe7b14c24edb745e40011f7d2f66e7324ff5e
5
5
  SHA512:
6
- metadata.gz: 8d7973c1cdfefbb27f784571f5b5aa766b9d25d071288df06ec1d57d8ed8eabc15aed51e1db8caa412b34880e622fdfecd2973a46f83d66e32138e6e00a399c0
7
- data.tar.gz: 6fb04a1e41a7ce2a285165c4eb502393c6e3ddd1f2ad82a0fbe3358c17e8046793950740a2a32dd87ac6d6878dd1bb5ba12bfa314471cfb69e529055af7bb889
6
+ metadata.gz: b6f8e5f05a711a3c449e537eead26eae1c214efd6da43c29ef5888788fb8114fbbfd7db2ccc7c4200a11bd37a8396baf1cff7b627efef4b665557dfb7b544639
7
+ data.tar.gz: 1a27311bc7113f4fe7ac9bc5a8b6fd270babbe6453f3c91ba5f7f65299a4434fc8a67033896ac33b84ac33131f3946c5a925e3251d8ab29bfae6b96db65d3b42
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -298,6 +298,17 @@ EOF
298
298
 
299
299
  end
300
300
 
301
+ def to_table()
302
+
303
+ tfo = TableFormatter.new
304
+ a = self.to_h
305
+ rows = a.map{|h| h.values}
306
+ tfo.source = rows
307
+ tfo.labels = a.first.keys.map{|x| x.to_s.capitalize }
308
+ tfo
309
+
310
+ end
311
+
301
312
  def to_xml(opt={})
302
313
  opt = {pretty: true} if opt == :pretty
303
314
  display_xml(opt)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dynarex
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.28
4
+ version: 1.5.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  zafTuKRozNy5wCw7Z32VaDGcJ+yTPq73CrcPrNyaoxqGfU0qNsh6oGvwrq4Q1k4j
32
32
  Pz2GWE7KigXTBg==
33
33
  -----END CERTIFICATE-----
34
- date: 2015-06-25 00:00:00.000000000 Z
34
+ date: 2015-07-03 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: dynarex-import
metadata.gz.sig CHANGED
Binary file