xml-registry 0.5.4 → 0.5.5
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/xml-registry.rb +3 -2
- metadata +3 -3
- metadata.gz.sig +1 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc43f0be17ff1f5235c00da9ed66c45921e168e2
|
4
|
+
data.tar.gz: 6263b832634d17c8cb4b301d46248374d1b6b5ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 932f7a6c13b5fb591436d531d01a00d177f20d967c07f0708bd8c8770641e601c0e4aa1900d3a5e0ca006b3afdeb2b3aaaaeebc79aef883a3029101290d63314
|
7
|
+
data.tar.gz: 6a7245b6c454b6ca29f43a01c169d9b33bfa511bdf77ed016d3dd30535d48b657052dd966d9cce1d0a1f92bf13342c166c547f6883049b5fa63840de1f1153fc
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/xml-registry.rb
CHANGED
@@ -149,7 +149,7 @@ class XMLRegistry
|
|
149
149
|
# save the registry to the specified file path
|
150
150
|
#
|
151
151
|
def save(s)
|
152
|
-
|
152
|
+
RXFHelper.write s, @doc.xml(pretty: true)
|
153
153
|
end
|
154
154
|
|
155
155
|
# import a registry hive from a string in registry format
|
@@ -208,7 +208,8 @@ class XMLRegistry
|
|
208
208
|
#
|
209
209
|
def export(s=nil)
|
210
210
|
reg = print_scan(@doc.root).join("\n")
|
211
|
-
File.open(s){|f| f.write reg} if s
|
211
|
+
# jr 250118 File.open(s){|f| f.write reg} if s
|
212
|
+
RXFHelper.write(s, reg) if s
|
212
213
|
reg
|
213
214
|
end
|
214
215
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xml-registry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
xvVmPfHHRba2HGhRUWMvOHyNV3AMJCAokUW0u9XZ2/bcRFES72fEpHHKo23eog3+
|
32
32
|
VlKw5CVJPc93Fw==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date:
|
34
|
+
date: 2018-01-25 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: simple-config
|
@@ -80,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
80
|
version: '0'
|
81
81
|
requirements: []
|
82
82
|
rubyforge_project:
|
83
|
-
rubygems_version: 2.6.
|
83
|
+
rubygems_version: 2.6.13
|
84
84
|
signing_key:
|
85
85
|
specification_version: 4
|
86
86
|
summary: xml-registry
|
metadata.gz.sig
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
|
2
|
-
������%�n:7�R���|�_�1Q�tm��B͜��\İ�%5�}_'ʮ�k��@���Y&9LP?�3���q�F%��p�GV�����ծ-��$w��]�5f7�k}�����
|
1
|
+
T�@Ew���A����+m�����{ʏ��/�e��`m���y�\D�!��}ƍ
|