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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/dynarex.rb +11 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 854ef80a72bfba194853afc6feeb2dfa785077be
|
4
|
+
data.tar.gz: 813fe7b14c24edb745e40011f7d2f66e7324ff5e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6f8e5f05a711a3c449e537eead26eae1c214efd6da43c29ef5888788fb8114fbbfd7db2ccc7c4200a11bd37a8396baf1cff7b627efef4b665557dfb7b544639
|
7
|
+
data.tar.gz: 1a27311bc7113f4fe7ac9bc5a8b6fd270babbe6453f3c91ba5f7f65299a4434fc8a67033896ac33b84ac33131f3946c5a925e3251d8ab29bfae6b96db65d3b42
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/dynarex.rb
CHANGED
@@ -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.
|
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-
|
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
|