polyrex 0.5.10 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/polyrex.rb +1 -1
  2. metadata +1 -1
data/lib/polyrex.rb CHANGED
@@ -42,7 +42,7 @@ class Polyrex
42
42
 
43
43
  def find_by_id(id)
44
44
  @parent_node = XPath.first(@doc.root, "//[@id='#{id}']")
45
- self
45
+ PolyrexObjects.new(@parent_node, @id)
46
46
  end
47
47
 
48
48
  alias id find_by_id
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.5.10
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors: []
7
7