devise_autosigninable 1.0.2 → 1.0.3
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,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 => :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 => :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:
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 3
|
10
|
+
version: 1.0.3
|
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-
|
18
|
+
date: 2011-12-22 00:00:00 +04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|