rails_jwt_auth 1.1.0 → 1.1.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
  SHA256:
3
- metadata.gz: c1cf5f9e135d2a39af71b620311285fdc6101de29a3e6481f54ca78551ca1a23
4
- data.tar.gz: 45c733d715e884419e4d1174c83ea64d9f706e0449c7e652a18a3e57718b2967
3
+ metadata.gz: 9c04dc1e693a3cb35abcfbaa7b061aeb42d87fdc743fb595d20c0d812c6d87c4
4
+ data.tar.gz: 3b3575f751d57cb3bd13d34afede3f676155141949bdd59b5944ca742e01bff4
5
5
  SHA512:
6
- metadata.gz: af13c3b614e7263432c61eda040d619ace560a87fc409caa74a1d8c396bf6747790bc855ba5ce6b3167e0d84fef48692340f3b71f6eb78859e0012c657e3a977
7
- data.tar.gz: 8017970563305ab55b8cd59c151f35093fac4c49d92bf60e51ddb794d3d695dd3f6a188811078942ca74c9689d3faf30b8af5d85fbe421c4c5aade60279f3c10
6
+ metadata.gz: '09a5aeac00078d6b2883f19351375fcbea884b8244c7de3982a78b6cbefeb10afbf3aac5ab405f00864f9466e591e0e1371fafc0ae81c9eeb3816caced35db43'
7
+ data.tar.gz: d2a975be7d690175c9af2b4ada516ffed03b93f601b471f610259f184197ed958eb6dbae40f7d7c44c8303ec4b5545b766a09f194e1e478bd42412dd62958019
@@ -52,6 +52,7 @@ module RailsJwtAuth
52
52
  assign_attributes(params)
53
53
  valid? # validates first other fields
54
54
  errors.add(:current_password, current_password_error) if current_password_error
55
+ errors.add(:password, 'blank') if params[:password].blank?
55
56
 
56
57
  errors.empty? ? save : false
57
58
  end
@@ -1,3 +1,3 @@
1
1
  module RailsJwtAuth
2
- VERSION = '1.1.0'
2
+ VERSION = '1.1.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_jwt_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - rjurado