jphastings-SlyPI 0.7 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/slypi.rb +1 -1
  2. metadata +1 -1
data/slypi.rb CHANGED
@@ -146,7 +146,7 @@ class SlyPI
146
146
  items.each do |item|
147
147
  if item[1].include? "_base"
148
148
  cont = item[1].reject{|key,val| key == "_base"}
149
- output[item[0]] = root.xpath(item[1]["_base"]).collect{ |hits| traverse(hits,cont,params) }
149
+ output[item[0]] = root.xpath(subst(item[1]['_base'],params)).collect{ |hits| traverse(hits,cont,params) }
150
150
  else
151
151
  begin
152
152
  el = root.xpath(subst(item[1]['xpath'],params))
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jphastings-SlyPI
3
3
  version: !ruby/object:Gem::Version
4
- version: "0.7"
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - JP Hastings-Spital