devise_autosigninable 1.0.1 → 1.0.2

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.
@@ -1,3 +1,3 @@
1
1
  module DeviseAutosigninable
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
@@ -1,13 +1,13 @@
1
1
  namespace :devise do
2
2
  namespace :autosigninable do
3
3
  desc 'Generate missed autosignin tokens, by default for User model'
4
- task :ensure, :model, :needs => [:environment] do |t, args|
4
+ task :ensure, :model => :environment do |t, args|
5
5
  args.with_defaults(:model => "User")
6
6
  args.model.camelize.constantize.ensure_all_autosignin_tokens
7
7
  end
8
8
 
9
9
  desc 'Reset all autosignin tokens, by default for User model'
10
- task :reset, :model, :needs => [:environment] do |t, args|
10
+ task :reset, :model => :environment do |t, args|
11
11
  args.with_defaults(:model => "User")
12
12
  args.model.camelize.constantize.reset_all_autosignin_tokens
13
13
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise_autosigninable
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 1
10
- version: 1.0.1
9
+ - 2
10
+ version: 1.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Andrey Deryabin
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-09-27 00:00:00 +04:00
18
+ date: 2011-10-25 00:00:00 +04:00
19
19
  default_executable:
20
20
  dependencies: []
21
21
 
@@ -79,7 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
79
79
  requirements: []
80
80
 
81
81
  rubyforge_project:
82
- rubygems_version: 1.6.2
82
+ rubygems_version: 1.5.2
83
83
  signing_key:
84
84
  specification_version: 3
85
85
  summary: It adds support to be logged in by uniq link. It useful for mailing and access from admin panel.