sequel-devise 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/sequel-devise/version.rb +1 -1
- data/lib/sequel/plugins/devise.rb +3 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 1e996a862b24fa034c7bc36a9b212ec1f8c289dd
|
4
|
+
data.tar.gz: c2cb946ea5bce24e9e89cb4607f2c900b95616c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4b4cf01f36d7dc53ff03c114e1f2327062a7decac5ace01b8d71a3addb4c1fb5dd1ac3c40992770b937fc81710c41af9192f1ef27a97a43e874f6403f810d08
|
7
|
+
data.tar.gz: 68bdeffbcb785952591f304074cb67cd10b1b6826e2dab34aaf96203441917586384ef555eaa6898d130d84641ace535c2ed6e9cff9ff0b21441ef39f7e767da
|
@@ -6,6 +6,9 @@ module Sequel
|
|
6
6
|
model.plugin :hook_class_methods # Devise requires a before_validation
|
7
7
|
model.plugin :dirty # email_changed?
|
8
8
|
model.plugin :validation_class_methods # for using validatable module
|
9
|
+
|
10
|
+
# for Devise::Models::Trackable
|
11
|
+
model.send :alias_method, :new_record?, :new?
|
9
12
|
end
|
10
13
|
|
11
14
|
module InstanceMethods
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sequel-devise
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rodrigo Rosenfeld Rosas
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-03-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sequel
|
@@ -88,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
88
|
version: '0'
|
89
89
|
requirements: []
|
90
90
|
rubyforge_project:
|
91
|
-
rubygems_version: 2.
|
91
|
+
rubygems_version: 2.5.2
|
92
92
|
signing_key:
|
93
93
|
specification_version: 4
|
94
94
|
summary: Enable Devise support by adding plugin :devise to your Sequel Model
|