challah 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/VERSION +1 -1
- data/lib/challah/concerns/user/attributeable.rb +7 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd2ab4243b555f7451e76767fdfc48c708a791c7
|
4
|
+
data.tar.gz: a370df0f901c575fa3807584a812d4b581ad064c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14cfc8a2bd5116afcf88da830adc6e630e3d30d7224f6faef6b264732adc1e0a4156b58d7d30177da2b2a4e819548be4afa1ee91446211111e796a6ab2292b02
|
7
|
+
data.tar.gz: af7a76328c592418cc5e2b6caa8abfbae59b2509e5060240a9a897d82eef3fc7caa5589a678c4d232af3918755473bf9b36de32a775342c15cf9a68feb5a81a9
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.4.
|
1
|
+
1.4.1
|
@@ -7,8 +7,13 @@ module Challah
|
|
7
7
|
attr_reader :password_confirmation
|
8
8
|
attr_reader :password_updated
|
9
9
|
|
10
|
-
|
11
|
-
|
10
|
+
begin
|
11
|
+
if columns.map(&:name).include?("status")
|
12
|
+
enum status: %w( active inactive )
|
13
|
+
end
|
14
|
+
rescue ActiveRecord::StatementInvalid => exception
|
15
|
+
raise exception unless exception.message =~ /could not find table/i ||
|
16
|
+
exception.message =~ /does not exist/i
|
12
17
|
end
|
13
18
|
|
14
19
|
before_save :ensure_user_tokens
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: challah
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Tornow
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-07-
|
13
|
+
date: 2016-07-22 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: highline
|