password_security 0.1.0 → 0.2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2933ded8af269c8deb5fba880a8988509ba685b02d0b69882ad36dd0246d8953
4
- data.tar.gz: fced1d086ad13a2a6da2bccd88b270a87fd67f88d626c2b256416c3d170c9ef2
3
+ metadata.gz: '09dcc4b2ed1a5b3d4179623b1b0c75f42b01684f0234882ab1b5b08e0a889989'
4
+ data.tar.gz: 830bbd901e7280c72c4f2f91b93a93e981af61f3afc69a5b97f63932e4d70dee
5
5
  SHA512:
6
- metadata.gz: 70ea380c5045a7a4fd5a88fa1a367db0fef2319f6ecf10568f1ce4736b86f5900a1086388e6f51bc8dea147d6bb9b19b565a34bac1d7d0b5d4d39aa5bac69e86
7
- data.tar.gz: 571985ff777bc912a4af8dee8b4d01b05805f76b8672ce5690a1db22f143f01b32756fd657fa0ad0d61e1be2552f4e250eae911a6f6ebfc32bd850eaa7489988
6
+ metadata.gz: 911de57f54fd374c7dcea5508be15a385c1ab435f3b472eb71efed22bba61e409b799abc9ebf93066eb5152a8202a26aebddb57b8bfdd67cdbf53bdfbc1826ff
7
+ data.tar.gz: 3e8353faa40967c1e7c1dea923f20adccdf1d4a33c22ead16ca75b7f4b2cc259fe3f2a2abe26db0c16b692686e5d991ea42f984516978f288438a152a28dbf53
data/CHANGELOG.md CHANGED
@@ -1,12 +1,16 @@
1
1
  # Changelog
2
2
 
3
3
  ## [Unreleased]
4
- - Initial release of the gem
5
- - Implementation of password security validation
4
+ - The gem is now compatible with Ruby 2.7.1
5
+ - Fix file locales
6
+
7
+ ## [0.2.0] - 2025-01-14
8
+ - The gem is now compatible with Ruby 2.7.1
9
+ - Fix file locales
6
10
 
7
- ## [1.0.0] - 2025-01-15
11
+ ## [0.1.0] - 2025-01-14
8
12
  - Initial release of the gem
9
13
  - Implementation of password security validation
10
14
 
11
- ## [0.1.0] - 2025-01-01
15
+ ## [0.1.0] - 2025-01-14
12
16
  - Creation of the gem
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PasswordSecurity
4
- VERSION = "0.1.0"
4
+ VERSION = "0.2.1"
5
5
  end
@@ -4,7 +4,6 @@ require "active_support"
4
4
  require "active_support/core_ext"
5
5
  require_relative "password_security/version"
6
6
  require "password_security/model_extension"
7
- require "./config/i18n"
8
7
 
9
8
  # PasswordSecurity
10
9
  module PasswordSecurity
Binary file
Binary file
@@ -12,13 +12,13 @@ Gem::Specification.new do |spec|
12
12
  spec.description = "This gem provides a method to validate the strength of passwords in ActiveRecord models, ensuring
13
13
  they meet certain complexity requirements."
14
14
  spec.homepage = "https://rubygems.org/gems/password_security"
15
- spec.required_ruby_version = ">= 3.3.0"
15
+ spec.required_ruby_version = ">= 2.7.1"
16
16
 
17
17
  spec.metadata["allowed_push_host"] = "https://rubygems.org"
18
18
 
19
19
  spec.metadata["homepage_uri"] = spec.homepage
20
20
  spec.metadata["source_code_uri"] = "https://github.com/BufeteMkt/password_security.git"
21
- spec.metadata["changelog_uri"] = "https://github.com/BufeteMkt/password_security.git/blob/master/CHANGELOG.md"
21
+ spec.metadata["changelog_uri"] = "https://github.com/BufeteMkt/password_security/blob/master/CHANGELOG.md"
22
22
 
23
23
  # Specify which files should be added to the gem when it is released.
24
24
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: password_security
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kejoss
@@ -25,12 +25,13 @@ files:
25
25
  - CODE_OF_CONDUCT.md
26
26
  - README.md
27
27
  - Rakefile
28
- - config/i18n.rb
29
28
  - lib/locales/en.yml
30
29
  - lib/locales/es.yml
31
30
  - lib/password_security.rb
32
31
  - lib/password_security/model_extension.rb
33
32
  - lib/password_security/version.rb
33
+ - password_security-0.1.0.gem
34
+ - password_security-0.2.0.gem
34
35
  - password_security.gemspec
35
36
  - sig/password_security.rbs
36
37
  homepage: https://rubygems.org/gems/password_security
@@ -39,7 +40,7 @@ metadata:
39
40
  allowed_push_host: https://rubygems.org
40
41
  homepage_uri: https://rubygems.org/gems/password_security
41
42
  source_code_uri: https://github.com/BufeteMkt/password_security.git
42
- changelog_uri: https://github.com/BufeteMkt/password_security.git/blob/master/CHANGELOG.md
43
+ changelog_uri: https://github.com/BufeteMkt/password_security/blob/master/CHANGELOG.md
43
44
  post_install_message:
44
45
  rdoc_options: []
45
46
  require_paths:
@@ -48,14 +49,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
48
49
  requirements:
49
50
  - - ">="
50
51
  - !ruby/object:Gem::Version
51
- version: 3.3.0
52
+ version: 2.7.1
52
53
  required_rubygems_version: !ruby/object:Gem::Requirement
53
54
  requirements:
54
55
  - - ">="
55
56
  - !ruby/object:Gem::Version
56
57
  version: '0'
57
58
  requirements: []
58
- rubygems_version: 3.5.3
59
+ rubygems_version: 3.1.2
59
60
  signing_key:
60
61
  specification_version: 4
61
62
  summary: A gem to validate password strength in ActiveRecord models.
data/config/i18n.rb DELETED
@@ -1,8 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Lib/config/i18n.rb o similar
4
- require "i18n"
5
-
6
- # Cargar los archivos de traducción
7
- I18n.load_path += Dir[File.expand_path("../lib/locales/**/*.yml", __dir__)]
8
- I18n.default_locale = :en