simple_form_password_with_hints 0.0.11 → 0.0.12

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: 32ff2e1c6c6f862a30017e40a88cf24b6661996ab583b2b49969aacd04d75821
4
- data.tar.gz: d68422fb81ddc7c60f08e4077c28b81629970317d6b4b03d2a64dba7348a7ad1
3
+ metadata.gz: a6066f856ad9bd7cb20038699df175148218fdbd44715a34faca291b6a8559c2
4
+ data.tar.gz: 5480b2dfa95a9c4b82cc4428689c479d40364035b5af4f7ca0b17e10778dc807
5
5
  SHA512:
6
- metadata.gz: 184c6ba5aef75091a8aea1545046c933aaa8822c9dcb44aceb8f02c142175dfdf7d71a35d602b61544fea427742ad42e6332ccb3c0865e32b4026cf2ad402387
7
- data.tar.gz: 5bc64448c88f67bd7cc0bd0e203ae41fd097f53b17b154e30a6970f083fb49905b3325f0df31a33a8126ea50b206af51de9b6d3d7e75f5432459f2a198ca3949
6
+ metadata.gz: de49dc0af3fbbda27f1b66585ecf4553b6169ea1752af49bd586d2aa3ec0103bd5118aaf4e71f21197d4495aecd009b6573306c4eb5a074a504c78c9bc0c3e54
7
+ data.tar.gz: 7cf4d043bc797cce6a2c072f9e1b46bb37d4f60d09ddb0d438e9be9a6bf3af20fa3c9b835837e8576aa453814d914399a254a64bf0b5bf617459152d1dfa31a3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- simple_form_password_with_hints (0.0.11)
4
+ simple_form_password_with_hints (0.0.12)
5
5
  rails
6
6
  simple_form
7
7
 
@@ -1,6 +1,6 @@
1
1
  en:
2
2
  simple_form_password_with_hints:
3
- test_chars: "Between %{minlength} and %{maxlength} characters"
3
+ test_chars: "Between %{min_length} and %{max_length} characters"
4
4
  test_uppercase: 'Uppercase'
5
5
  test_lowercase: 'Lowercase'
6
6
  test_numeric: 'Number'
@@ -1,6 +1,6 @@
1
1
  fr:
2
2
  simple_form_password_with_hints:
3
- test_chars: "Entre %{minlength} et %{maxlength} caractères"
3
+ test_chars: "Entre %{min_length} et %{max_length} caractères"
4
4
  test_uppercase: 'Majuscule'
5
5
  test_lowercase: 'Minuscule'
6
6
  test_numeric: 'Chiffre'
@@ -43,7 +43,7 @@ class PasswordWithHintsInput < ::SimpleForm::Inputs::Base
43
43
 
44
44
  template.content_tag(
45
45
  :span,
46
- t('simple_form_password_with_hints.test_chars', minlength:, maxlength:),
46
+ t('simple_form_password_with_hints.test_chars', min_length: minlength, max_length: maxlength),
47
47
  data: { minlength:, maxlength: },
48
48
  class: 'sfpwh-hint sfpwh-hint--invalid sfpwh-hint--length js-sfpwh-hint-length'
49
49
  )
@@ -1,3 +1,3 @@
1
1
  module SimpleFormPasswordWithHints
2
- VERSION = "0.0.11".freeze
2
+ VERSION = "0.0.12".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_form_password_with_hints
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pierre-andré Boissinot