hotify 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/hotify/user.rb +2 -2
- data/lib/hotify/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 219e546bc2129cf1b634c2dffff4ff905b62201de8ed05f6f506b16f386bf981
|
4
|
+
data.tar.gz: c20b638e1eab79acd066e8a5ffae52548076b773ae7f775b10dade418ad9bec6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b6cf82cddc0a065a0549ee224b49f0cbea51aa493cc5dbae4b7ebc3a674dd3d2e10d7061cf03edf814d94df0a72ea01150176a04d2e2cde0cc79b1dc87ad5e1
|
7
|
+
data.tar.gz: 498e8baf2f4e983bb540f1573dbefeb7a54d88059f2f0fd5527fd2b3c2b5578d849cc82662652ef31ead450e2498b92024dcb0233b080d9b056d9c3b50aa7719
|
data/Gemfile.lock
CHANGED
data/lib/hotify/user.rb
CHANGED
@@ -3,9 +3,9 @@ module Hotify
|
|
3
3
|
def self.find_by(email:)
|
4
4
|
users = user_filter_by(email: email)
|
5
5
|
if users.size > 1
|
6
|
-
raise("Found Multiple User Entry")
|
6
|
+
raise("#{email}: Found Multiple User Entry")
|
7
7
|
elsif users.empty?
|
8
|
-
raise("User Not Found")
|
8
|
+
raise("#{email}: User Not Found")
|
9
9
|
end
|
10
10
|
|
11
11
|
users.first
|
data/lib/hotify/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hotify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- j-o-lantern0422
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-06-
|
11
|
+
date: 2020-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: byebug
|