polyrex 0.9.2 → 0.9.3
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 +2 -1
- data.tar.gz.sig +0 -0
- metadata +3 -3
- 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: b53af70d994b7b591019811bbe16377d79556d42
|
4
|
+
data.tar.gz: 2ed291ffa7a321f4ca84cfefec2eab715f033d38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21d910b4cd5c08a8184232c571db5aab9ca90ab1586a91c7a79c3bd4a5c171a66edebb538d72c3e794e2458afe4588e645454d7e82617556b4b2615a758fe7f2
|
7
|
+
data.tar.gz: d8dbd319d0261bd8beb5060a96f824c6e3d78d1816054a0cb5c85441228f23283adacdb5d0466fa71a74662dac426257aa51385aa5d7031bc1cf65cb4478c50a
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/polyrex.rb
CHANGED
@@ -122,6 +122,7 @@ class Polyrex
|
|
122
122
|
|
123
123
|
def find_by_id(id)
|
124
124
|
@parent_node = @doc.root.element("//[@id='#{id}']")
|
125
|
+
@objects[@parent_node.name].new(@parent_node, @id)
|
125
126
|
end
|
126
127
|
|
127
128
|
def id(id)
|
@@ -403,7 +404,7 @@ EOF
|
|
403
404
|
@create = PolyrexCreateObject.new(schema, @id_counter)
|
404
405
|
|
405
406
|
objects = PolyrexObjects.new(schema, @id_counter)
|
406
|
-
@objects = objects.to_h
|
407
|
+
@objects = objects.to_h.inject({}){|r,x| r.merge x[0].downcase => x[-1]}
|
407
408
|
@objects_a = objects.to_a
|
408
409
|
|
409
410
|
attach_create_handlers(@objects.keys)
|
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: 0.9.
|
4
|
+
version: 0.9.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
wbQnaFmJMPFyXo9Yh/95QJEinnBsM0Yk8nJhmcChjdCpQL5243BjgzVEjHI1Ouxe
|
32
32
|
SmUIljyExpxiHQ==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2014-
|
34
|
+
date: 2014-03-20 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: polyrex-schema
|
@@ -158,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
158
158
|
version: '0'
|
159
159
|
requirements: []
|
160
160
|
rubyforge_project:
|
161
|
-
rubygems_version: 2.
|
161
|
+
rubygems_version: 2.0.14
|
162
162
|
signing_key:
|
163
163
|
specification_version: 4
|
164
164
|
summary: polyrex
|
metadata.gz.sig
CHANGED
Binary file
|