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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: eadd15ff6ee3ccaf2d4c49dc358b468ec5972b8fc8bfeeed5536e7ef22fd988c
4
- data.tar.gz: 2075ab1f2aec15a1fe86edf56df4dc1d0f26876fe105f66f3b4e1c797edcdb85
2
+ SHA1:
3
+ metadata.gz: 1e996a862b24fa034c7bc36a9b212ec1f8c289dd
4
+ data.tar.gz: c2cb946ea5bce24e9e89cb4607f2c900b95616c0
5
5
  SHA512:
6
- metadata.gz: c45ec52408687a028ec355b9f71727612162d56857a09d0c63a84922299e4ead7b72b35b6abbd97da19ccfc866a8bbb2cae639e50268e0a8f89f5c510f213d54
7
- data.tar.gz: 2feac6f1e28bcbb88a78144d572df2b3d1c7c297461609c56815d50b5065bf42c8bb2bcf749ca344e9c0a9cf10eadc31222f6d28274c16e292162cb73b809f09
6
+ metadata.gz: c4b4cf01f36d7dc53ff03c114e1f2327062a7decac5ace01b8d71a3addb4c1fb5dd1ac3c40992770b937fc81710c41af9192f1ef27a97a43e874f6403f810d08
7
+ data.tar.gz: 68bdeffbcb785952591f304074cb67cd10b1b6826e2dab34aaf96203441917586384ef555eaa6898d130d84641ace535c2ed6e9cff9ff0b21441ef39f7e767da
@@ -1,5 +1,5 @@
1
1
  module Sequel
2
2
  module Devise
3
- VERSION = "0.0.12"
3
+ VERSION = "0.0.13"
4
4
  end
5
5
  end
@@ -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.12
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-02-08 00:00:00.000000000 Z
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.7.3
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