devise_simply_stored 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +2 -0
- data/README.rdoc +1 -1
- data/devise_simply_stored.gemspec +1 -1
- data/lib/devise/orm/simply_stored.rb +11 -0
- data/lib/devise_simply_stored/version.rb +1 -1
- metadata +6 -5
data/CHANGELOG.md
ADDED
data/README.rdoc
CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
|
|
7
7
|
s.version = DeviseSimplyStored::VERSION
|
8
8
|
s.authors = ["Benjamin ter Kuile"]
|
9
9
|
s.email = ["bterkuile@gmail.com"]
|
10
|
-
s.homepage = ""
|
10
|
+
s.homepage = "https://github.com/bterkuile/devise_simply_stored"
|
11
11
|
s.summary = %q{This gem enables devise for simply_stored}
|
12
12
|
s.description = %q{This gem enables devise for simply_stored}
|
13
13
|
|
@@ -36,6 +36,17 @@ module Devise
|
|
36
36
|
type = Fixnum if type == Integer
|
37
37
|
property name, { :type => type }.merge!(options)
|
38
38
|
end
|
39
|
+
|
40
|
+
def devise_modules_hook!
|
41
|
+
yield
|
42
|
+
# Apply schema to model
|
43
|
+
devise_modules.each do |m|
|
44
|
+
send(m)
|
45
|
+
end
|
46
|
+
Devise.authentication_keys.each do |key|
|
47
|
+
property key
|
48
|
+
end
|
49
|
+
end
|
39
50
|
end
|
40
51
|
end
|
41
52
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise_simply_stored
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-04-02 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: devise
|
16
|
-
requirement: &
|
16
|
+
requirement: &70302889459520 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70302889459520
|
25
25
|
description: This gem enables devise for simply_stored
|
26
26
|
email:
|
27
27
|
- bterkuile@gmail.com
|
@@ -30,6 +30,7 @@ extensions: []
|
|
30
30
|
extra_rdoc_files: []
|
31
31
|
files:
|
32
32
|
- .gitignore
|
33
|
+
- CHANGELOG.md
|
33
34
|
- Gemfile
|
34
35
|
- README.rdoc
|
35
36
|
- Rakefile
|
@@ -40,7 +41,7 @@ files:
|
|
40
41
|
- spec/models/user_spec.rb
|
41
42
|
- spec/spec_helper.rb
|
42
43
|
- spec/support/user_model.rb
|
43
|
-
homepage:
|
44
|
+
homepage: https://github.com/bterkuile/devise_simply_stored
|
44
45
|
licenses: []
|
45
46
|
post_install_message:
|
46
47
|
rdoc_options: []
|