devise_password_history 0.3.0 → 0.3.1

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.
@@ -34,7 +34,7 @@ module DevisePasswordHistory
34
34
 
35
35
  # flash message
36
36
  def expired_password_message
37
- "Your password has expired, please choose a new one"
37
+ t("devise_password_history.expired_password_message")
38
38
  end
39
39
  end
40
40
  end
@@ -32,6 +32,10 @@ module DevisePasswordHistory
32
32
  def copy_migrations
33
33
  migration_template "migrations/create_old_passwords.rb", "db/migrate/create_old_passwords.rb"
34
34
  end
35
+
36
+ def copy_locale
37
+ copy_file "../../../../config/locales/en.yml", "config/locales/devise_password_history.en.yml"
38
+ end
35
39
  end
36
40
  end
37
41
  end
@@ -1,3 +1,3 @@
1
1
  module DevisePasswordHistory
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise_password_history
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 0
10
- version: 0.3.0
9
+ - 1
10
+ version: 0.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ryan Heath