polyrex 0.9.11 → 0.9.12
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 +4 -4
- data.tar.gz.sig +0 -0
- 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: afdf9d69e8ab31c3285880c695ebfb157698ac7f
|
4
|
+
data.tar.gz: 2b0a96745c0630033d8e22ee376bd0afad23b885
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e16d7a48c390f9888cf99925383ef350bf12055a74b3b8a7d5cd7b514e1940b62ec7f436c5df4e743118376b5b4ba01886728edd92edc4cbfc4885088553a40b
|
7
|
+
data.tar.gz: 01fbf2f47282d7d7c06bccf277e721cc3fa559c9b3b2b865e1e42f19aed87589db538a434bd771654a9321783224b238293595a1c94fb6733cb6b6e55dd58c3c
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/polyrex.rb
CHANGED
@@ -412,13 +412,13 @@ EOF
|
|
412
412
|
|
413
413
|
@create = PolyrexCreateObject.new(schema, id: @id_counter)
|
414
414
|
objects = PolyrexObjects.new(schema)
|
415
|
-
|
416
415
|
h = objects.to_h
|
416
|
+
|
417
417
|
@objects = h.inject({}){|r,x| r.merge x[0].downcase => x[-1]}
|
418
|
-
@objects_a = objects.to_a
|
419
418
|
|
419
|
+
@objects_a = objects.to_a
|
420
420
|
attach_create_handlers(@objects.keys)
|
421
|
-
attach_edit_handlers(@objects)
|
421
|
+
#attach_edit_handlers(@objects)
|
422
422
|
|
423
423
|
end
|
424
424
|
|
@@ -623,7 +623,7 @@ EOF
|
|
623
623
|
xpath = %Q(@doc.root.element("//%s[summary/%s='\#\{val\}']")) % [class_name, method_name]
|
624
624
|
"def find_by_#{class_name}_#{method_name}(val)
|
625
625
|
@parent_node = #{xpath}
|
626
|
-
@parent_node ?
|
626
|
+
@parent_node ? @objects['#{class_name}'].new(@parent_node, id: @id) : nil
|
627
627
|
end"
|
628
628
|
end
|
629
629
|
end
|
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.12
|
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-10-02 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
|