xmlregistry_objects 0.7.3 → 0.7.4
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/xmlregistry_objects.rb +11 -2
- metadata +12 -12
- 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: 9a0900be09a731ed660b02e53c6df7f6ad540775
|
4
|
+
data.tar.gz: 1d022593e01bb344df8ba769ee75c7085e28c65f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a51422d32206c0fe3308c14b7249f9fea0c542359ea527941d1e421b42a7dae030c79ed1486a3666b5e017afa3663221ed1f1b8e612dcaa60809138a2cc310f9
|
7
|
+
data.tar.gz: 7f63d6f28f4d9ef3b1d76c54f90618ca31b31f69ef7bf8f09676c769f36beba133b2e3b21bb014c55d551a896608396007e929dfdb856973529090bad587bc99
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/xmlregistry_objects.rb
CHANGED
@@ -11,7 +11,10 @@ class XMLRegistryObjects
|
|
11
11
|
|
12
12
|
attr_reader :to_h
|
13
13
|
|
14
|
-
def initialize(reg, obj)
|
14
|
+
def initialize(reg, obj, log: nil)
|
15
|
+
|
16
|
+
@log = log
|
17
|
+
log.info 'XMLRegistryObjects/initialize: active' if log
|
15
18
|
|
16
19
|
polyrexdoc = if obj.is_a? Polyrex then
|
17
20
|
|
@@ -29,6 +32,8 @@ class XMLRegistryObjects
|
|
29
32
|
end
|
30
33
|
end
|
31
34
|
|
35
|
+
log.info 'XMLRegistryObjects/initialize: before @to_h' if log
|
36
|
+
|
32
37
|
@to_h = polyrexdoc.records.inject({}) do |rtn, row|
|
33
38
|
|
34
39
|
name, path = row.name, row.regkey[1..-2]
|
@@ -82,11 +87,15 @@ class XMLRegistryObjects
|
|
82
87
|
|
83
88
|
end
|
84
89
|
end
|
85
|
-
|
90
|
+
|
91
|
+
log.info 'XMLRegistryObjects/initialize: before class_eval ' + klass.to_s if log
|
92
|
+
|
86
93
|
klass.class_eval s
|
87
94
|
rtn.merge name.to_sym => klass.new(reg)
|
88
95
|
|
89
96
|
end
|
97
|
+
|
98
|
+
log.info 'XMLRegistryObjects/initialize: completed' if log
|
90
99
|
end
|
91
100
|
|
92
101
|
def define_methods()
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xmlregistry_objects
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
IkDYjSdYbCCIK75kuYlhmDctvkgCn+0ctaLyR/UzsKKMBw6vdLU9+jMjzJTBozL8
|
32
32
|
nkAagQBjWS249A==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date:
|
34
|
+
date: 2017-10-29 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: dws-registry
|
@@ -39,42 +39,42 @@ dependencies:
|
|
39
39
|
requirements:
|
40
40
|
- - "~>"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: '0.
|
42
|
+
version: '0.4'
|
43
43
|
- - ">="
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version: 0.
|
45
|
+
version: 0.4.0
|
46
46
|
type: :runtime
|
47
47
|
prerelease: false
|
48
48
|
version_requirements: !ruby/object:Gem::Requirement
|
49
49
|
requirements:
|
50
50
|
- - "~>"
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version: '0.
|
52
|
+
version: '0.4'
|
53
53
|
- - ">="
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: 0.
|
55
|
+
version: 0.4.0
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: polyrex
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
60
|
- - "~>"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: '1.
|
62
|
+
version: '1.1'
|
63
63
|
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: 1.
|
65
|
+
version: 1.1.12
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
68
|
version_requirements: !ruby/object:Gem::Requirement
|
69
69
|
requirements:
|
70
70
|
- - "~>"
|
71
71
|
- !ruby/object:Gem::Version
|
72
|
-
version: '1.
|
72
|
+
version: '1.1'
|
73
73
|
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 1.
|
75
|
+
version: 1.1.12
|
76
76
|
description:
|
77
|
-
email: james@
|
77
|
+
email: james@jamesrobertson.eu
|
78
78
|
executables: []
|
79
79
|
extensions: []
|
80
80
|
extra_rdoc_files: []
|
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
100
100
|
version: '0'
|
101
101
|
requirements: []
|
102
102
|
rubyforge_project:
|
103
|
-
rubygems_version: 2.
|
103
|
+
rubygems_version: 2.6.13
|
104
104
|
signing_key:
|
105
105
|
specification_version: 4
|
106
106
|
summary: Query the registry using objects built dynamically from a string which maps
|
metadata.gz.sig
CHANGED
Binary file
|