random_name_generator 3.0.0 → 4.0.0

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: b497a4a4f3d1402951e0f9f86b5bcf5a5e8ecc84702734580459f839ef7cea38
4
- data.tar.gz: '08368ce25fbba0e4ef8e3a99c0d1c417bc094a0d9e72483541e3c32f7ace255b'
3
+ metadata.gz: f4e1b055a45228bf4370e655f590397e940bc716c1c1fe1ef2259c66a3fcd09e
4
+ data.tar.gz: 67f9020b9f20969b6d5151a5388ffcab6142b47ebc0cabbeee952dfe711e7599
5
5
  SHA512:
6
- metadata.gz: f3dd98e4ca5bfa8581b0c79f9fa75c804756c4a461fc9b6af2c21d383f4cf1bce7594e577bfc9bb8d7da0797f50317ce31cdc7235109cc21d9bb602d85eb345c
7
- data.tar.gz: 6c6965cabb9e513e578fa28a1f497769de73b21c1b8f63b62fa5d21147f759d3970c9e219093fe1378e8b7c08c934ebf2e1494d48cb388bfbcecb4bc5df68c8e
6
+ metadata.gz: 1395584c6872c6dfb65da4117f973ec1065c6002d854f550b266546001ffe52b881258718e83eb75f8389073acc30b0fb2963dc1d15216b344d8dfc85ca39532
7
+ data.tar.gz: cef21f4dc10098e3d8d132a36baf5674d0029234c62a641861bcc474ea20aab8afaf03a59f2b5285f336cde34323e1e324e44afd9ea5d1ba0596e002c764a9f9
@@ -1,22 +1,47 @@
1
1
  name: Ruby
2
2
 
3
- on: [push, pull_request]
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ tags: ['v*']
7
+ pull_request:
8
+
9
+ permissions:
10
+ contents: read
11
+
12
+ concurrency:
13
+ group: ${{ github.workflow }}-${{ github.ref }}
14
+ cancel-in-progress: true
4
15
 
5
16
  jobs:
6
17
  test:
18
+ name: Ruby ${{ matrix.ruby-version }}
7
19
  runs-on: ubuntu-latest
20
+ continue-on-error: ${{ matrix.allow-failure || false }}
8
21
  strategy:
22
+ fail-fast: false
9
23
  matrix:
10
- ruby-version: ['3.0', '3.2', '3.3.5']
24
+ ruby-version: ['3.4', '4.0']
25
+ include:
26
+ # Track the development build to catch 4.1 regressions early.
27
+ # Allowed to fail so a broken nightly never reds the whole run.
28
+ - ruby-version: head
29
+ allow-failure: true
11
30
  steps:
12
- - uses: actions/checkout@v2
31
+ - uses: actions/checkout@v4
13
32
  - name: Set up Ruby
14
- # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
15
- # change this to (see https://github.com/ruby/setup-ruby#versioning):
16
33
  uses: ruby/setup-ruby@v1
17
- # uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
18
34
  with:
19
35
  ruby-version: ${{ matrix.ruby-version }}
20
- bundler-cache: true # runs 'bundle install' and caches installed gems automatically
21
- - name: Run tests
22
- run: bundle exec rake
36
+ # head's bundled bundler is a moving target: honor the lockfile's
37
+ # BUNDLED WITH on release Rubies, but let head use a fresh latest
38
+ # bundler so a stale cache can't trigger CorruptBundlerInstallError.
39
+ bundler: ${{ matrix.ruby-version == 'head' && 'latest' || 'Gemfile.lock' }}
40
+ # Caching gems against "head" pairs a fixed cache with a changing
41
+ # interpreter; skip it there so each run installs cleanly.
42
+ bundler-cache: ${{ matrix.ruby-version != 'head' }}
43
+ - name: Install dependencies (head runs uncached)
44
+ if: matrix.ruby-version == 'head'
45
+ run: bundle install --jobs 4
46
+ - name: Run tests and lint
47
+ run: bundle exec rake
data/.gitignore CHANGED
@@ -35,6 +35,10 @@ build/
35
35
  # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
36
36
  .rvmrc
37
37
 
38
+ # The Ruby version is a project requirement, not a personal preference, so it is
39
+ # tracked here even when a global gitignore excludes it.
40
+ !.tool-versions
41
+
38
42
  /.idea/
39
43
 
40
44
  .rspec_status
data/.rubocop.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  AllCops:
2
- TargetRubyVersion: 3.0
2
+ TargetRubyVersion: 3.4
3
3
  NewCops: enable
4
4
 
5
5
  require:
@@ -32,6 +32,9 @@ RSpec/MultipleExpectations:
32
32
  RSpec/NestedGroups:
33
33
  Max: 5
34
34
 
35
+ Style/HashSyntax:
36
+ EnforcedShorthandSyntax: either
37
+
35
38
  Style/StringLiterals:
36
39
  Enabled: true
37
40
  EnforcedStyle: double_quotes
data/.tool-versions ADDED
@@ -0,0 +1 @@
1
+ ruby 3.4.10
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## Version 4
2
+
3
+ ## 4.0.0 - 2026-07-18
4
+
5
+ - Raised minimum required Ruby version to 3.4.0 (dropping 3.0–3.3 support).
6
+ - Set `.tool-versions` to Ruby 3.4.10.
7
+ - Bumped dependencies: `rake` (~> 13.4), `rexml`, `concurrent-ruby`.
8
+ - Updated CI workflow and Rubocop settings.
9
+
1
10
  ## Version 2
2
11
 
3
12
  ## 2.0.0 - 2021-03-28
data/Gemfile CHANGED
@@ -6,7 +6,7 @@ source "https://rubygems.org"
6
6
  gemspec
7
7
 
8
8
  gem "pry"
9
- gem "rake", "~> 13.1.0"
9
+ gem "rake", "~> 13.4"
10
10
  gem "slop", "~> 4.10.1"
11
11
 
12
12
  group :development do
@@ -15,4 +15,6 @@ group :development do
15
15
  gem "rubocop"
16
16
  gem "rubocop-rake", require: false
17
17
  gem "rubocop-rspec", require: false
18
+ # tsort left the default gems in Ruby 4.1; RuboCop requires it implicitly.
19
+ gem "tsort"
18
20
  end
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- random_name_generator (3.0.0)
4
+ random_name_generator (4.0.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -9,7 +9,7 @@ GEM
9
9
  ast (2.4.2)
10
10
  bigdecimal (3.1.8)
11
11
  coderay (1.1.3)
12
- concurrent-ruby (1.3.4)
12
+ concurrent-ruby (1.3.7)
13
13
  diff-lcs (1.5.1)
14
14
  dry-configurable (1.2.0)
15
15
  dry-core (~> 1.0, < 2)
@@ -50,14 +50,14 @@ GEM
50
50
  method_source (~> 1.0)
51
51
  racc (1.8.1)
52
52
  rainbow (3.1.1)
53
- rake (13.1.0)
53
+ rake (13.4.2)
54
54
  reek (6.3.0)
55
55
  dry-schema (~> 1.13.0)
56
56
  parser (~> 3.3.0)
57
57
  rainbow (>= 2.0, < 4.0)
58
58
  rexml (~> 3.1)
59
59
  regexp_parser (2.9.2)
60
- rexml (3.3.8)
60
+ rexml (3.4.2)
61
61
  rspec (3.12.0)
62
62
  rspec-core (~> 3.12.0)
63
63
  rspec-expectations (~> 3.12.0)
@@ -89,17 +89,19 @@ GEM
89
89
  rubocop (~> 1.61)
90
90
  ruby-progressbar (1.13.0)
91
91
  slop (4.10.1)
92
+ tsort (0.2.0)
92
93
  unicode-display_width (2.6.0)
93
94
  zeitwerk (2.6.18)
94
95
 
95
96
  PLATFORMS
96
97
  arm64-darwin-21
97
98
  arm64-darwin-24
99
+ arm64-darwin-25
98
100
  x86_64-linux
99
101
 
100
102
  DEPENDENCIES
101
103
  pry
102
- rake (~> 13.1.0)
104
+ rake (~> 13.4)
103
105
  random_name_generator!
104
106
  reek
105
107
  rspec (~> 3.12.0)
@@ -107,6 +109,7 @@ DEPENDENCIES
107
109
  rubocop-rake
108
110
  rubocop-rspec
109
111
  slop (~> 4.10.1)
112
+ tsort
110
113
 
111
114
  BUNDLED WITH
112
- 2.2.29
115
+ 4.0.16
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RandomNameGenerator
4
- VERSION = "3.0.0"
4
+ VERSION = "4.0.0"
5
5
  end
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
12
12
  spec.description = "Generates random names based upon custom collections of syllables. Styles include Elvish, Fantasy, Goblin, and Roman."
13
13
  spec.homepage = "https://github.com/folkengine/random_name_generator"
14
14
  spec.license = "LGPL-3.0"
15
- spec.required_ruby_version = Gem::Requirement.new(">= 3.0.0")
15
+ spec.required_ruby_version = Gem::Requirement.new(">= 3.4.0")
16
16
  spec.metadata = { "rubygems_mfa_required" => "true" }
17
17
 
18
18
  spec.metadata["homepage_uri"] = spec.homepage
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: random_name_generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - folkengine
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-10-05 00:00:00.000000000 Z
11
+ date: 2026-07-19 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Generates random names based upon custom collections of syllables. Styles
14
14
  include Elvish, Fantasy, Goblin, and Roman.
@@ -20,7 +20,6 @@ extensions: []
20
20
  extra_rdoc_files: []
21
21
  files:
22
22
  - ".codeclimate.yml"
23
- - ".coveralls.yml"
24
23
  - ".devcontainer/Dockerfile"
25
24
  - ".devcontainer/devcontainer.json"
26
25
  - ".github/workflows/ruby.yml"
@@ -28,6 +27,7 @@ files:
28
27
  - ".overcommit.yml"
29
28
  - ".rspec"
30
29
  - ".rubocop.yml"
30
+ - ".tool-versions"
31
31
  - CHANGELOG.md
32
32
  - Gemfile
33
33
  - Gemfile.lock
@@ -70,7 +70,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
70
70
  requirements:
71
71
  - - ">="
72
72
  - !ruby/object:Gem::Version
73
- version: 3.0.0
73
+ version: 3.4.0
74
74
  required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  requirements:
76
76
  - - ">="
data/.coveralls.yml DELETED
@@ -1 +0,0 @@
1
- service_name: github