Skip to content

Commit

Permalink
removed deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
aderyabin committed Oct 25, 2011
1 parent cc75455 commit 8ca7a52
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/devise_autosigninable/version.rb
@@ -1,3 +1,3 @@
module DeviseAutosigninable
VERSION = "1.0.1"
VERSION = "1.0.2"
end
4 changes: 2 additions & 2 deletions lib/tasks/devise_autosigninable.rake
@@ -1,13 +1,13 @@
namespace :devise do
namespace :autosigninable do
desc 'Generate missed autosignin tokens, by default for User model'
task :ensure, :model, :needs => [:environment] do |t, args|
task :ensure, :model => :environment do |t, args|
args.with_defaults(:model => "User")
args.model.camelize.constantize.ensure_all_autosignin_tokens
end

desc 'Reset all autosignin tokens, by default for User model'
task :reset, :model, :needs => [:environment] do |t, args|
task :reset, :model => :environment do |t, args|
args.with_defaults(:model => "User")
args.model.camelize.constantize.reset_all_autosignin_tokens
end
Expand Down

0 comments on commit 8ca7a52

Please sign in to comment.