rails_jwt_auth 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 722641e7bf2c8c60e5714592d0d9f4a74dbd069769dd3c7d5c533680a7580f62
4
- data.tar.gz: df98ce8b183227c93d050f574a1fc841cc641f7d83dc5ae3d1dcc0dfd0fcbd13
3
+ metadata.gz: 36b16ddc288defd93e036c0de0ceb3c84c024541a8112fd647403ec9afe65149
4
+ data.tar.gz: 9f2e7eaebf26f06d7c91eafcac4d5784b589aaaf00e14f4de160110e31bfb6f2
5
5
  SHA512:
6
- metadata.gz: 718a33d97272700c7f7fef5bf0f65197491f765253f6611bc57dcfbd688d0a5bb4b4abfc144e3bc6cef4bc97dee6b3600001ad53d5973d630e243bba7d3dfab1
7
- data.tar.gz: a584c54cb4180c07d48b4e24d47041bda590c14e136ea3f085aaf40b14677192b6099059573e63d7f670b8278f761c568075ccf2524905ff462f900796aa8266
6
+ metadata.gz: d1beb3b5f74b2ba099b9f1a373090bfd19114ae262f6013a3252c66935982dfb2171ac8807d7d559af0fcfe851992848dd0585b612c9c3c7bdf96fc2f2c5a3a8
7
+ data.tar.gz: 9423c311c2e7e2ee99cfc1d26f2d03ea00c8309062a750a31c36e52504368d7a43d3e0bbd0ec0357b12c3c61f6d4a9e43afdad4e938ee8bf46aac918906e25fc
data/README.md CHANGED
@@ -418,7 +418,7 @@ require 'rails_jwt_auth/spec_helpers'
418
418
  ...
419
419
  RSpec.configure do |config|
420
420
  ...
421
- config.include RailsJwtAuth::Spec::Helpers, :type => :controller
421
+ config.include RailsJwtAuth::SpecHelpers, :type => :controller
422
422
  end
423
423
  ```
424
424
 
@@ -1,3 +1,3 @@
1
1
  module RailsJwtAuth
2
- VERSION = '1.0.1'
2
+ VERSION = '1.0.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_jwt_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - rjurado
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-14 00:00:00.000000000 Z
11
+ date: 2019-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bcrypt
@@ -78,7 +78,6 @@ files:
78
78
  - app/models/concerns/rails_jwt_auth/invitable.rb
79
79
  - app/models/concerns/rails_jwt_auth/recoverable.rb
80
80
  - app/models/concerns/rails_jwt_auth/trackable.rb
81
- - app/validators/email_validator.rb
82
81
  - app/views/rails_jwt_auth/mailer/confirmation_instructions.html.erb
83
82
  - app/views/rails_jwt_auth/mailer/reset_password_instructions.html.erb
84
83
  - app/views/rails_jwt_auth/mailer/send_invitation.html.erb
@@ -1,7 +0,0 @@
1
- class EmailValidator < ActiveModel::EachValidator
2
- def validate_each(record, attribute, value)
3
- unless value =~ RailsJwtAuth.email_regex
4
- record.errors.add(attribute, (options[:message] || 'invalid'))
5
- end
6
- end
7
- end