polyrex 1.0.12 → 1.0.13

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: fbb7afab5b7d6c9fce30e2b45b4bb321ac3ca31a
4
- data.tar.gz: a70b0a758fe62aa735a28a5a990ffa2ae884d77a
3
+ metadata.gz: 4ca0619e575b9e8a4bcd90723b760fb18dfbee92
4
+ data.tar.gz: 965f73584ce50316ffc0e1ba5b4a61885141771f
5
5
  SHA512:
6
- metadata.gz: a19afb0f367bfff522485191f50cc54616c721a485cd2f2e9b2236f2a7e74be7c8ef5650fa0a1d83d8e72d04344830b164d517601c2674696b006844afb1be7a
7
- data.tar.gz: 5071da0ac7e12a78cc25194ac70f1cf398c512d0b3dc3a5fa09dfe3a7bd62b5709c0f2336e72289218b2e1503e3152d51941bdcb96d38b2b09f79e3501b5ed2b
6
+ metadata.gz: c124b8a3c1de90dfef2fe185f5425d43c96be75434a0c4ed9763b50e4d43376f220cc4713cffd99e7bf3684d71f8df809b3f43745b7d457e6654f838e080fa9e
7
+ data.tar.gz: a7a0e4f6880b73f5b8c1b24d8f8cb6daec1f9d1e55b3277ee134be0a4cccae45c2e81fe9be115f124d29328d0a71575792ce9d423389c0294e28b376884cb57c
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -688,10 +688,10 @@ EOF
688
688
  xpath = %Q(@doc.root.element("//%s[summary/%s='\#\{val\}']")) % [class_name, method_name]
689
689
  "def find_by_#{class_name}_#{method_name}(val)
690
690
 
691
- parent_node = #{xpath}
691
+ node = #{xpath}
692
692
 
693
- if parent_node then
694
- @objects['#{class_name}'].new(@parent_node, id: @id)
693
+ if node then
694
+ @objects['#{class_name}'].new(node, id: @id)
695
695
  else
696
696
  nil
697
697
  end
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: 1.0.12
4
+ version: 1.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  xutogBWBRwktcdg7bc24/mbFcXcx5WhspVwfj6isE6q3A1nNkMtk3DHHKmUrfemr
32
32
  pWpTJQi2DFAx/g==
33
33
  -----END CERTIFICATE-----
34
- date: 2015-11-12 00:00:00.000000000 Z
34
+ date: 2015-12-17 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