gi_cat_driver 0.1.11 → 0.1.12
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.
- 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
|