]> nos-oignons.net Git - gestion-adh.git/blobdiff - bin/list-emails
Try to make Git play nicer with Aruba
[gestion-adh.git] / bin / list-emails
index 6b13304b764262dd851848b068d1b879cff43c97..5315d8620549b4428395da6262306124189e30ae 100755 (executable)
@@ -5,10 +5,6 @@ require 'rubygems'
 require 'bundler'
 Bundler.setup
 
-require 'nos_oignons/subscriptions'
+require 'nos_oignons'
 
-NosOignons::Subscription.all.each do |subscription|
-  if subscription.up_to_date?
-    puts subscription.email
-  end
-end
+NosOignons.list_emails!