polyrex 1.0.13 → 1.0.14
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/polyrex.rb +4 -3
- 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: 530e9d5026fa2ee7615fa2e5aed51feaf29abafa
|
4
|
+
data.tar.gz: bdd3abdcb86751092b1b79a9595defc9eeadbf6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63f063cf70c5c63ead0a397e68eb3f0059861260a79245e75fb789fbcb89f4653c17fb2085d0157d7ef88fa17f2a26ec803abb5415c77bc0d0b6488b177fedae
|
7
|
+
data.tar.gz: 050354720e326a95118d509c1ec4c7cd178bd06311c725b7d2dacb2d95b85002f245e641def72105693de2bc5d99a59249c45abfe0a1aea2cf1459ab2ca86d09
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/polyrex.rb
CHANGED
@@ -256,7 +256,7 @@ class Polyrex
|
|
256
256
|
summary_fields = self.summary.to_h.keys
|
257
257
|
|
258
258
|
%w(recordx_type schema format_mask).each {|x| summary_fields.delete x}
|
259
|
-
sumry = summary_fields.map {|x| x + ': ' + \
|
259
|
+
sumry = summary_fields.map {|x| x.to_s + ': ' + \
|
260
260
|
self.summary.method(x.to_sym).call}.join("\n") + "\n"
|
261
261
|
|
262
262
|
|
@@ -270,8 +270,9 @@ class Polyrex
|
|
270
270
|
else
|
271
271
|
smry_fields << :format_mask
|
272
272
|
end
|
273
|
-
|
274
|
-
|
273
|
+
|
274
|
+
s = smry_fields.map {|x| "%s=\"%s\"" % \
|
275
|
+
[x, self.summary.send(x).to_s.gsub('"', '\"') ]}.join ' '
|
275
276
|
|
276
277
|
declaration = %Q(<?polyrex %s?>\n) % s
|
277
278
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: polyrex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
xutogBWBRwktcdg7bc24/mbFcXcx5WhspVwfj6isE6q3A1nNkMtk3DHHKmUrfemr
|
32
32
|
pWpTJQi2DFAx/g==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2015-12-
|
34
|
+
date: 2015-12-26 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: polyrex-schema
|
metadata.gz.sig
CHANGED
Binary file
|