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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 072ddcd0246069df86016af7acefaec428107203
4
- data.tar.gz: e5cebcba71bf5f6c07b5111a1143c4aafe6c44fd
3
+ metadata.gz: 9a0900be09a731ed660b02e53c6df7f6ad540775
4
+ data.tar.gz: 1d022593e01bb344df8ba769ee75c7085e28c65f
5
5
  SHA512:
6
- metadata.gz: 1fbee0b507d20e398ff9482cd593334db409fee3212ef367fc00cd752d2b9f9db4e1aa26e052d5897f8d57c6f8d9df7db6aee6cfc968423164104bf0b081efea
7
- data.tar.gz: ae119c0d58ab1c45f9504357587d4f0e17652d0dbbf20244472f55ba92ffd03029ee978bf02ff85992530aa7a223577a39c618a43cc03014b63fb1139ab5f0cc
6
+ metadata.gz: a51422d32206c0fe3308c14b7249f9fea0c542359ea527941d1e421b42a7dae030c79ed1486a3666b5e017afa3663221ed1f1b8e612dcaa60809138a2cc310f9
7
+ data.tar.gz: 7f63d6f28f4d9ef3b1d76c54f90618ca31b31f69ef7bf8f09676c769f36beba133b2e3b21bb014c55d551a896608396007e929dfdb856973529090bad587bc99
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -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.3
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: 2016-11-18 00:00:00.000000000 Z
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.3'
42
+ version: '0.4'
43
43
  - - ">="
44
44
  - !ruby/object:Gem::Version
45
- version: 0.3.5
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.3'
52
+ version: '0.4'
53
53
  - - ">="
54
54
  - !ruby/object:Gem::Version
55
- version: 0.3.5
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.0'
62
+ version: '1.1'
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: 1.0.6
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.0'
72
+ version: '1.1'
73
73
  - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: 1.0.6
75
+ version: 1.1.12
76
76
  description:
77
- email: james@r0bertson.co.uk
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.5.1
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