lib/tasks/cloudenvoy.rake in cloudenvoy-0.4.0 vs lib/tasks/cloudenvoy.rake in cloudenvoy-0.4.1
- old
+ new
@@ -21,12 +21,12 @@
puts "\n"
# Notify user when no suscribers
if list.empty?
- puts 'There are no subscribers defined in your application'
- return
+ puts 'Skipping subscribers (none defined)'
+ next
end
puts 'The following subscribers are configured:'
list.each do |e|
puts "- #{e.name}"
@@ -45,11 +45,11 @@
puts "\n"
# Notify user when no topics
if list.empty?
- puts 'There are no publishers defined in your application'
- return
+ puts 'Skipping publishers (none defined)'
+ next
end
puts 'The following topics are configured:'
list.each do |e|
puts "- #{e.name}"