wbase 0.3.0 → 0.3.1

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
2
  SHA1:
3
- metadata.gz: c02021b862a568e2f067a1c92c42b1000238dc0e
4
- data.tar.gz: 422f2f31a08e52e100b15097005a252da0fd252d
3
+ metadata.gz: f2a2ce64018fa7285e77fd37b50adb56a0d0dca4
4
+ data.tar.gz: cbfccc3d16900024662c65baabd862b24ff7b866
5
5
  SHA512:
6
- metadata.gz: 5843bf47cb6a72ae144b6aaac8af0ee09f2542cbb06675317a37d20403d2504fcc3e470c3e7a5ce3d6572324f5755eef26b47ddfdc7a674ccbf586cd9a06f743
7
- data.tar.gz: f7c7fcb39b03800d20daee5217e6e6e586edceb64e8b68f68be0124739aef44269d9a97c879f62d7beb8df4ca9b11f17e66d2c9078639283c483d951aa6a4f49
6
+ metadata.gz: c3fa34cf39dee3696b56bb0196c1b84894fe6444b6674f92a1a522d84778431ff9e79b02b0c7461e381c1c45c02ce65bccd6f8c9b161b0511664bd1326254da3
7
+ data.tar.gz: aaa2909a362f52da5068ff74c5bba2ba01d0bc1cd2d4e31ce56ce598c0ebbf39da30f7557f1c3e9420bbd5a85a1e6b897a74cc4ca75cfbc4820a9518cc15e986
@@ -9,7 +9,7 @@ module Wbase
9
9
 
10
10
  def create
11
11
  # If the user is found, generate password reset
12
- user = User.find_by(email: params[:email])
12
+ user = User.find_by(email: params[:email].try(:downcase))
13
13
  if user
14
14
  user.reset_reset_token!
15
15
  PasswordResetMailer.reset(user).deliver_later
data/lib/wbase/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Wbase
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wbase
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - CJ Avilla
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-15 00:00:00.000000000 Z
11
+ date: 2017-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails