kvx 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 50e7049d8ea8c353ac1fb5a27bfc5fe04d5e659f
4
- data.tar.gz: eb7be48a85d273bca8ca9e2270240f6dd85af21f
3
+ metadata.gz: 87152a397a91d277a4fd6bffd8b0f3cfee6b2e18
4
+ data.tar.gz: b9597d1e4cc1b5ee2096df3cd72910c622797be1
5
5
  SHA512:
6
- metadata.gz: 912e89c4b8c278442e37cac87290973901fc94441409eaf4a8e6d86b1fe9023a5a8946fbe8e8fb3911383be2642f418ae22935aae7439fa512f564b4275a520d
7
- data.tar.gz: 6889287110d4f7797708dd2686e506b5b60c19baf62234dbd8b08c011d3444f4c5c58e3495bf8a1fa97fdc1605c9552bf331117eeb0173d966d4771971cca16c
6
+ metadata.gz: d3c30bd57a4701bcd69138829717989f168f3b3e7b1e023fb552844e448d81bdcc6401ca2518558c58c6dddd92451aa955012fcd7f85f57a68c8161121e56928
7
+ data.tar.gz: d743674022f2a71acb00256c9d265e3a33ba03c44beb27ad3da23d27037c42f98f8236eb8213a20cdff3afd8aed1bcc8758da26763dd4eec1a2af9c618aa6fad
Binary file
data.tar.gz.sig CHANGED
Binary file
data/lib/kvx.rb CHANGED
@@ -22,6 +22,7 @@ class Kvx
22
22
  @header = false
23
23
  @identifier = 'kvx'
24
24
  @summary = {}
25
+
25
26
  @attributes = attributes
26
27
 
27
28
  h = {
@@ -56,7 +57,8 @@ class Kvx
56
57
 
57
58
  if @header or @summary then
58
59
 
59
- attr = @attributes ? @attributes.map {|x| "%s='%s'" % x }.join(' ') : ''
60
+ attr = @attributes ? ' ' + @attributes\
61
+ .map {|x| "%s='%s'" % x }.join(' ') : ''
60
62
  header = '<?' + @identifier
61
63
  header += attr
62
64
  header += "?>\n"
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.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file