gi_cat_driver 0.1.11 → 0.1.12
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/gi_cat_driver/version.rb +1 -1
- data/lib/gi_cat_driver.rb +2 -2
- metadata +1 -1
data/Gemfile.lock
CHANGED
data/lib/gi_cat_driver.rb
CHANGED
@@ -188,9 +188,9 @@ module GiCatDriver
|
|
188
188
|
responsexml.each do |node|
|
189
189
|
if node.name == "status" && !node.inner_xml.empty?
|
190
190
|
status = harvest_status(node.inner_xml, harvestername)
|
191
|
-
if status.
|
191
|
+
if status.eql? :error
|
192
192
|
fail "Error harvesting the resource #{harvestername}"
|
193
|
-
elsif status.
|
193
|
+
elsif status.eql? :completed
|
194
194
|
puts "Succesfully harvested #{harvestername}"
|
195
195
|
return
|
196
196
|
end
|