Skip to content

Commit

Permalink
Merge pull request #7 from yotepresto-com/dev
Browse files Browse the repository at this point in the history
v1.2.0: Update ruby and gems versions
  • Loading branch information
Estebes10 authored Nov 26, 2024
2 parents 04c2dab + 8bd474d commit 6de20c2
Show file tree
Hide file tree
Showing 7 changed files with 53 additions and 42 deletions.
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ruby-2.6.5@curp-generator
ruby-3.2.2@curp-generator
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Changelog
All notable changes to this project will be documented in this file.

## [1.1.3] - 2024-11-15
### Changed
- Updated required Ruby version for development to `3.2.2`.
- Updated gem dependencies to the latest versions.
### Fixed
- Corrected URLs and references in documentation.

## [1.1.2] - 2022-05-02
### Fixed
- Prevent naming collisions with other gems.
Expand Down
8 changes: 4 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
source 'https://rubygems.org'

ruby '2.6.5'
ruby '3.2.2'

group :development, :test do
gem "rspec", "~> 3.10"
gem "rubocop-performance", "~> 1.8"
gem "rubocop", "~> 1.28"
gem "rspec", "~> 3.13"
gem 'rubocop-performance', '~> 1.22', '>= 1.22.1'
gem 'rubocop', '~> 1.68'
end
72 changes: 38 additions & 34 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,53 +2,57 @@ GEM
remote: https://rubygems.org/
specs:
ast (2.4.2)
diff-lcs (1.5.0)
parallel (1.22.1)
parser (3.1.2.0)
diff-lcs (1.5.1)
json (2.8.1)
language_server-protocol (3.17.0.3)
parallel (1.26.3)
parser (3.3.6.0)
ast (~> 2.4.1)
racc
racc (1.8.1)
rainbow (3.1.1)
regexp_parser (2.3.1)
rexml (3.2.5)
rspec (3.11.0)
rspec-core (~> 3.11.0)
rspec-expectations (~> 3.11.0)
rspec-mocks (~> 3.11.0)
rspec-core (3.11.0)
rspec-support (~> 3.11.0)
rspec-expectations (3.11.0)
regexp_parser (2.9.2)
rspec (3.13.0)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.2)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.3)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.11.0)
rspec-mocks (3.11.1)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.2)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.11.0)
rspec-support (3.11.0)
rubocop (1.28.2)
rspec-support (~> 3.13.0)
rspec-support (3.13.1)
rubocop (1.68.0)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.1.0.0)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml
rubocop-ast (>= 1.17.0, < 2.0)
regexp_parser (>= 2.4, < 3.0)
rubocop-ast (>= 1.32.2, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 3.0)
rubocop-ast (1.17.0)
parser (>= 3.1.1.0)
rubocop-performance (1.13.3)
rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0)
ruby-progressbar (1.11.0)
unicode-display_width (2.1.0)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.36.1)
parser (>= 3.3.1.0)
rubocop-performance (1.22.1)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (1.13.0)
unicode-display_width (2.6.0)

PLATFORMS
ruby

DEPENDENCIES
rspec (~> 3.10)
rubocop (~> 1.28)
rubocop-performance (~> 1.8)
rspec (~> 3.13)
rubocop (~> 1.68)
rubocop-performance (~> 1.22, >= 1.22.1)

RUBY VERSION
ruby 2.6.9p207
ruby 3.2.2p53

BUNDLED WITH
1.17.3
2.5.23
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ The main class is `CurpGenerator::Curp`. It accepts the following parameters:
|`second_last_name`|`String`|The mother's last name of the person.|
|`gender`|`String`|The gender of the person. Possible values: `male`, `female`, `hombre`, `mujer`, `femenino`, `masculino`, `h (male)`, `m (female)` (case insensitive).|
|`birth_date`|`DateTime`|The date when the person was born.|
|`birth_state`|`String`|The mexican state where the person was born. Possible values are listed in the [Catalogs module](/lib/catalogs.rb).|
|`birth_state`|`String`|The mexican state where the person was born. Possible values are listed in the [Catalogs module](/lib/curp_generator/catalogs.rb).|

Then, just call the `.generate` method and it will return the CURP for that person.

Expand Down
2 changes: 1 addition & 1 deletion curp_generator.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
'rubygems_mfa_required' => 'true',
'homepage_uri' => spec.homepage,
'source_code_uri' => 'https://github.com/yotepresto-com/curp-generator',
'changelog_uri' => 'https://github.com/yotepresto-com/curp-generator/CHANGELOG.md'
'changelog_uri' => 'https://github.com/yotepresto-com/curp-generator/blob/main/CHANGELOG.md'
}

spec.files = Dir['lib/**/*']
Expand Down
2 changes: 1 addition & 1 deletion lib/curp_generator/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module CurpGenerator
VERSION = '1.1.2'.freeze
VERSION = '1.2.0'.freeze
end

0 comments on commit 6de20c2

Please sign in to comment.