authentication-rails 0.1.1 → 0.1.2

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: b0aa59a592615a3b56ea5d76a05bd4d5db3427fcf3e5fe808e19af4d3571e98a
4
- data.tar.gz: 5eb5aa113549f028fca768806ac920791ef4200371093f03ac360eb9105c8ecf
3
+ metadata.gz: ce380f4febc126486a0d2d90cab3c193dc4848338a341fb6679255e0db2f4c7c
4
+ data.tar.gz: 27feb53cc1ef6d40a06fbbfacf015af1e906a0dbdec09dfe48fa8f95144b20a9
5
5
  SHA512:
6
- metadata.gz: f013d9481b1665d3a0d3ed374ea82b85b263b7fb3e90788783b9dbef447dbe659eafa61c728a3233bb7565baec9765fb4937c8e33e804556faaa7866b8c07b5a
7
- data.tar.gz: 5dc93edfda0f033297f3ae72c61386e7dadcb82d51123f3a20b930101d188b7ec6d6e5223ade39dd8aaf2cc5ea35cd9ef87c9ec099370a9103e127c692af9d70
6
+ metadata.gz: 546bb1f22806488ed1239d1d35e0f3d25f515e2f9b3b0cf272038d1ec524ace90fdc2360ffded84233db1a0939e426e2f8637d6d2b3e013a125b616601cce9fa
7
+ data.tar.gz: 0c54f193971b5df3752c9e53058c19d4b7cf21df77320771b10dbb139f8b4945c97f790a85cb13e83407e510a2ecfaf96a4e5b93283805b92f48cbfce503a7f5
@@ -1,5 +1,5 @@
1
1
  module Authentication
2
2
  module Rails
3
- VERSION = '0.1.1'
3
+ VERSION = '0.1.2'
4
4
  end
5
5
  end
@@ -11,7 +11,7 @@ module Authentication
11
11
  if public_attribute.present? && private_attribute.present? && !model&.authenticate(private_attribute)
12
12
  errors.add(:base,
13
13
  I18n.t(
14
- "activerecord.errors.models.#{self.class.to_s.underscore.sub '/', '_'}.invalid",
14
+ "activerecord.errors.models.#{self.class.to_s.underscore}.invalid",
15
15
  default: I18n.t(
16
16
  'activerecord.errors.messages.invalid',
17
17
  default: I18n.t('errors.messages.invalid')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authentication-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien Dargelos