polyrex 1.0.7 → 1.0.8
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 +1 -1
- data/lib/polyrex.rb +4 -1
- 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: 9dba8b10237be61e5634ffd96c6c653fffe255d7
|
4
|
+
data.tar.gz: ebf0e7d1ecb1953b34d3cc10dda537f1a5a87d4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa2d5bf49b5ecb8d69a430c6f050df625beed0db6fb28a18ced8c2dc6acdcfefb749a30b871d2cb8cab53f9d7f29670c06f763220b9af76f5cccb7f428e5b576
|
7
|
+
data.tar.gz: 23f071f7efa4d9a57a0dec0133ec63b32357cc50336c973d36b8736143158e9d1aae44c37f1ef5a1d36611230f6ccd4ed22f5c137029ffbd042066b9d7413205
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
��on�m���rj�U�N8z_V���2�t&Ԫ.�5i��DH�|mw@5�pc�`v-�ض���!O)������Z���|��T,�(�s.V!*�@��t^D���M��2*!�39D�Q���,�!�2t?ȡ��2�U�C�s;���j��Vsg��'狣�f�KT���?t6z��H��8�x�Q�����ܴN�q��(��ۅ�<��DW��m=<�i�5ӽ���2�-p���:X��:����xH
|
data/lib/polyrex.rb
CHANGED
@@ -113,10 +113,13 @@ class Polyrex
|
|
113
113
|
@doc.to_s(options)
|
114
114
|
end
|
115
115
|
|
116
|
-
def save(filepath=nil, opt={}, options: opt)
|
116
|
+
def save(filepath=nil, opt={}, options: opt, pretty: false)
|
117
|
+
|
117
118
|
refresh_summary
|
118
119
|
filepath ||= @local_filepath
|
119
120
|
@local_filepath = filepath
|
121
|
+
|
122
|
+
options.merge!({pretty: pretty}) if options.empty?
|
120
123
|
xml = @doc.to_s(options)
|
121
124
|
buffer = block_given? ? yield(xml) : xml
|
122
125
|
File.open(filepath,'w'){|f| f.write buffer}
|
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.8
|
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-10-
|
34
|
+
date: 2015-10-17 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
|