Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

hit down plans for testing

  • Loading branch information...
commit 237179314b2e4224a5e503ffb330f853f05d3ae1 1 parent 5a6e009
@will authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 Rakefile
View
6 Rakefile
@@ -1,11 +1,13 @@
require './app/secure_key'
desc 'rotate all'
task :rotate do
- User.all.each do |u|
+ User.rotatable.each do |u|
begin
puts "rotating #{u.id}: #{u.heroku_id}"
u.rotate_keys!
- rescue
+ puts "success!"
+ rescue => e
+ puts "failed #{e.inspect}"
next
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.