kvx 0.6.0 → 0.6.1
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/kvx.rb +5 -1
- metadata +6 -6
- 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: d4333efd3e04cf785d5ba2983b6b50832758ab74
|
4
|
+
data.tar.gz: 4c3394a3a4d4492134d4169799d36a197b070d3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7440cb6b41c5eedab6c44c87a491ea59868d6547ac6b003b5bfbec4a7cb4098c6b6053212dc2fc4c7259c48361f0c466b1625db2ac01a0ebf9e4e20204df7601
|
7
|
+
data.tar.gz: ec9deefa85728ca2004517bae55d36b3374113ec6b48eccef93f47963658895a64803966aae2eab623fb7102db60a5b3463596d35a40206691528469fb44c5d6
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/kvx.rb
CHANGED
@@ -43,6 +43,10 @@ class Kvx
|
|
43
43
|
|
44
44
|
alias body item
|
45
45
|
|
46
|
+
def save(filename)
|
47
|
+
File.write filename, self.to_s
|
48
|
+
end
|
49
|
+
|
46
50
|
def to_h()
|
47
51
|
|
48
52
|
if @summary.empty? then
|
@@ -84,7 +88,7 @@ class Kvx
|
|
84
88
|
|
85
89
|
header = ''
|
86
90
|
|
87
|
-
if @header or @summary then
|
91
|
+
if @header or @summary.any? then
|
88
92
|
|
89
93
|
attr = @attributes ? ' ' + @attributes\
|
90
94
|
.map {|x| "%s='%s'" % x }.join(' ') : ''
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kvx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
AVQkWU5uq/gAml+uIbIFZNr8t1zTIqowuUQyBS0YvXS+huGl2hdHYy83zDSQGIL+
|
32
32
|
6LJYV84ZCOUsdw==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2016-07-
|
34
|
+
date: 2016-07-19 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: line-tree
|
@@ -59,20 +59,20 @@ dependencies:
|
|
59
59
|
requirements:
|
60
60
|
- - "~>"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: '0.
|
62
|
+
version: '0.4'
|
63
63
|
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: 0.
|
65
|
+
version: 0.4.0
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
68
|
version_requirements: !ruby/object:Gem::Requirement
|
69
69
|
requirements:
|
70
70
|
- - "~>"
|
71
71
|
- !ruby/object:Gem::Version
|
72
|
-
version: '0.
|
72
|
+
version: '0.4'
|
73
73
|
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
75
|
+
version: 0.4.0
|
76
76
|
description:
|
77
77
|
email: james@r0bertson.co.uk
|
78
78
|
executables: []
|
metadata.gz.sig
CHANGED
Binary file
|