polyrex 1.1.9 → 1.1.10
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/lib/polyrex.rb +11 -6
- data.tar.gz.sig +0 -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: 6b6b89ddcbcf5e1395bced5a729df932907aa763
|
4
|
+
data.tar.gz: 22bfc56f61c534fc033488f8cf7c4106c3954b24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d75fd80386ad2d85df55996758bd100e6dcba113587f5b1664173083be41b4d7d2fefdc144c41281d8dd097cd5ccbb980c50cded5608a715987bb5d1bb93caac
|
7
|
+
data.tar.gz: e68f35c10d63a2f67d57032b8cc7f34f484b7a270e7e2ec9b556616057200f4ef863078769dcbaaab82237bd74e8f4a2c56622b396a1c97d4ddd8321425f08e9
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/polyrex.rb
CHANGED
@@ -456,11 +456,7 @@ xsl_buffer = '
|
|
456
456
|
|
457
457
|
a = header.scan(/#{r1}|#{r2}/).map(&:compact).flatten
|
458
458
|
|
459
|
-
|
460
|
-
a.delete a.assoc(:schema)
|
461
|
-
self.method(:schema=).call(options[:schema])
|
462
|
-
end
|
463
|
-
|
459
|
+
|
464
460
|
a.each do |x|
|
465
461
|
|
466
462
|
attr, val = x.split(/\s*=\s*["']/,2)
|
@@ -477,7 +473,16 @@ xsl_buffer = '
|
|
477
473
|
end
|
478
474
|
end
|
479
475
|
end
|
480
|
-
|
476
|
+
|
477
|
+
options.each do |k,v|
|
478
|
+
|
479
|
+
if options[k] then
|
480
|
+
a.delete a.assoc(k)
|
481
|
+
self.method(((k.to_s) + '=').to_sym).call(options[k])
|
482
|
+
end
|
483
|
+
|
484
|
+
end
|
485
|
+
|
481
486
|
end
|
482
487
|
|
483
488
|
raw_lines = buffer.strip.lines.map(&:rstrip)
|
data.tar.gz.sig
CHANGED
Binary file
|
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.1.
|
4
|
+
version: 1.1.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
EUI+ncIuEEQSxIVKGeaQ49Dk10P2t0cX3DGyMlv7sreJohHxJfNKsjG/SAk0cks0
|
32
32
|
9+gffejS1ORTgQ==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2017-01-
|
34
|
+
date: 2017-01-10 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
|