faker 3.4.2 → 3.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cf806bbcecec3b286e05fe7c79f0b4274708a3a7f55add0b3488a3ba8bf574f6
4
- data.tar.gz: 688f47f7f92a4b58281ef2e3beb0df72e134e916929d7aa1ff4e6db07af9151d
3
+ metadata.gz: ad65b0b170d18a8541ff81c4db2ccce41263844bd877e4ecb0b78261a04f916a
4
+ data.tar.gz: 2c84244f6994575b1d94fb1a7e60a3d16122e17aeed81bcb6945360aeb5b7eda
5
5
  SHA512:
6
- metadata.gz: 4cd84609a1b8b0d846f5185cd544141e22d8296a2bcbe4a613daabcdadde8afa1039a9087dafbf7b7ccba7668ff5c506b1ca25cbebd3520455760a16dea45cd6
7
- data.tar.gz: ab939601c6ceeb1f051d708687a61e2a89c3e9da77881159866a73cb5039c9292101cb48d3b19c36607b1cbf25192e8895e7e49b0dde1e88c0e07c0e24e75f01
6
+ metadata.gz: a436fa77b8d61b96a5f52748061e823528c234b5e8ce5e6e3876254eaddb3f72b6fca43e52c0aeed3d6e00701c2ab81b77a192846929d46920f088182e20e5d9
7
+ data.tar.gz: 0d2eb003ccd5492d09a2e5565994380bbb61fb1cfa0ca94efcae3f556e27bce231dfc13e643be150893040137e6c856011c7891fcde0b19c4aea99bf3d2853a4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,62 @@
1
1
  # Changelog
2
2
 
3
+ ## [v3.5.1](https://github.com/faker-ruby/faker/tree/v3.5.1) (2024-10-18)
4
+
5
+ Happy October! 🎃
6
+
7
+ This version **drops support for Ruby < 3.0**. We only support one EOL Ruby version at a time. Please upgrade to Ruby 3.0 to update to this and future versions of faker-ruby.
8
+
9
+ Besides that, this version removes deprecated generators, fixes some bugs, and adds a Security Policy.
10
+
11
+ Thanks to all contributors!
12
+
13
+ ## Breaking Changes
14
+ * Drop support for Ruby 2.7 by @tatheerf02 in https://github.com/faker-ruby/faker/pull/3006
15
+ * Removes deprecated generators by @stefannibrasil in https://github.com/faker-ruby/faker/pull/3014
16
+
17
+ The following deprecated generators are being removed. Please use the new generators:
18
+
19
+
20
+ | Deprecated | New |
21
+ | -------- | ------- |
22
+ | Faker::TvShows::TheFreshPrinceOfBelAir.celebrity | Faker::TvShows::TheFreshPrinceOfBelAir.actor |
23
+ | Faker::TvShows::Buffy.celebrity | Faker::TvShows::Buffy.actor |
24
+ | Faker::TvShows::DrWho.villian | Faker::TvShows::DrWho.villain |
25
+ | Faker::Games::HeroesOfTheStorm.class | Faker::Games::HeroesOfTheStorm.class_name |
26
+ | Faker::JapaneseMedia::FmaBrotherhood | Faker::JapaneseMedia::FullmetalAlchemistBrotherhood |
27
+ | Faker::Show | Faker::Theater |
28
+ | Faker::Australia | Faker::Locations::Australia |
29
+ | Faker::IDNumber | Faker::IdNumber |
30
+
31
+ ### Improvements & Bug fixes
32
+ * Fix typos by @tagliala in https://github.com/faker-ruby/faker/pull/2982
33
+ * Fix benchmark:all_methods task by excluding Faker::Deprecator module from benchmark target by @amatsuda in https://github.com/faker-ruby/faker/pull/2988
34
+ * Add Brazilian Portuguese translations for `Faker::Subscription` by @murichristopher in https://github.com/faker-ruby/faker/pull/2960
35
+ * Deprecator improvements by @stefannibrasil in https://github.com/faker-ruby/faker/pull/2997
36
+ * Faker::Alphanumeric.alphanumeric determinism fix by @admtnnr in https://github.com/faker-ruby/faker/pull/2996
37
+ * Remove CodeClimate badges by @tagliala in https://github.com/faker-ruby/faker/pull/3003
38
+ * Update Company.logo example url by @dirschn in https://github.com/faker-ruby/faker/pull/3007
39
+ * fix(music.band): removes leading whitespace by @JeremasPosta in https://github.com/faker-ruby/faker/pull/3015
40
+ * Create SECURITY.md by @stefannibrasil in https://github.com/faker-ruby/faker/pull/3016
41
+
42
+ ### Update local dependencies
43
+ * Bump i18n from 1.14.5 to 1.14.6 by @dependabot in https://github.com/faker-ruby/faker/pull/3005
44
+ * Bump minitest from 5.24.1 to 5.25.0 by @dependabot in https://github.com/faker-ruby/faker/pull/2991
45
+ * Bump rubocop-minitest from 0.35.1 to 0.36.0 by @dependabot in https://github.com/faker-ruby/faker/pull/2999
46
+ * Bump yard from 0.9.36 to 0.9.37 by @dependabot in https://github.com/faker-ruby/faker/pull/3000
47
+ * Bump rubocop from 1.65.1 to 1.66.1 by @dependabot in https://github.com/faker-ruby/faker/pull/3001
48
+
49
+ ## New Contributors
50
+ * @murichristopher made their first contribution in https://github.com/faker-ruby/faker/pull/2960
51
+ * @admtnnr made their first contribution in https://github.com/faker-ruby/faker/pull/2996
52
+ * @dirschn made their first contribution in https://github.com/faker-ruby/faker/pull/3007
53
+ * @tatheerf02 made their first contribution in https://github.com/faker-ruby/faker/pull/3006
54
+ * @JeremasPosta made their first contribution in https://github.com/faker-ruby/faker/pull/3015
55
+
56
+ **Full Changelog**: https://github.com/faker-ruby/faker/compare/v3.4.2...v3.5.1
57
+
58
+ --------------------------------------
59
+
3
60
  ## [v3.4.2](https://github.com/faker-ruby/faker/tree/v3.4.2) (2024-07-16)
4
61
 
5
62
  Happy July with a new faker-ruby release.
@@ -2549,7 +2606,7 @@ Fix lib/faker/version.rb
2549
2606
  - Fixed typo in dutch translation [\#679](https://github.com/stympy/faker/pull/679) ([nschmoller](https://github.com/nschmoller))
2550
2607
  - Add pokemon [\#677](https://github.com/stympy/faker/pull/677) ([bakunyo](https://github.com/bakunyo))
2551
2608
  - Food [\#672](https://github.com/stympy/faker/pull/672) ([martymclaugh](https://github.com/martymclaugh))
2552
- - Added charcaters and houses data for game of thrones in en.yml [\#670](https://github.com/stympy/faker/pull/670) ([vamsipavanmahesh](https://github.com/vamsipavanmahesh))
2609
+ - Added characters and houses data for game of thrones in en.yml [\#670](https://github.com/stympy/faker/pull/670) ([vamsipavanmahesh](https://github.com/vamsipavanmahesh))
2553
2610
  - add Faker::Commerce.promotion\_code [\#669](https://github.com/stympy/faker/pull/669) ([jGRUBBS](https://github.com/jGRUBBS))
2554
2611
  - Eliminate and prevent leading and trailing white space [\#665](https://github.com/stympy/faker/pull/665) ([retroGiant89](https://github.com/retroGiant89))
2555
2612
  - Fix for memory overflow error Issue: \#478 [\#664](https://github.com/stympy/faker/pull/664) ([anuj-verma](https://github.com/anuj-verma))
data/README.md CHANGED
@@ -4,8 +4,6 @@
4
4
  [![Tests](https://github.com/faker-ruby/faker/workflows/Tests/badge.svg)](https://github.com/faker-ruby/faker/actions?query=workflow%3ATests)
5
5
  [![Gem Version](https://badge.fury.io/rb/faker.svg)](https://badge.fury.io/rb/faker)
6
6
  [![Inline docs](https://inch-ci.org/github/faker-ruby/faker.svg?branch=main)](https://inch-ci.org/github/faker-ruby/faker)
7
- [![Test Coverage](https://api.codeclimate.com/v1/badges/ef54c7f9df86e965d64b/test_coverage)](https://codeclimate.com/github/stympy/faker/test_coverage)
8
- [![Maintainability](https://api.codeclimate.com/v1/badges/ef54c7f9df86e965d64b/maintainability)](https://codeclimate.com/github/stympy/faker/maintainability)
9
7
 
10
8
  Faker is a port of [Perl's Data::Faker library](https://metacpan.org/pod/Data::Faker).
11
9
  It's a library for generating fake data such as names, addresses, and phone numbers.
@@ -60,7 +60,7 @@ module Faker
60
60
  randoms = Array.new(random_count) { sample(ALPHANUMS) }
61
61
 
62
62
  combined = alphas + numbers + randoms
63
- combined.shuffle.join
63
+ shuffle!(combined).join
64
64
  end
65
65
  end
66
66
  end
@@ -12,7 +12,7 @@ module Faker
12
12
  ].freeze
13
13
  ZA_RACE_DIGIT = '8'
14
14
  ZA_CITIZENSHIP_DIGITS = %w[0 1].freeze
15
- BRAZILIAN_ID_FORMAT = /(\d{1,2})(\d{3})(\d{3})([\dX])/.freeze
15
+ BRAZILIAN_ID_FORMAT = /(\d{1,2})(\d{3})(\d{3})([\dX])/
16
16
  BRAZILIAN_ID_FROM = 10_000_000
17
17
  BRAZILIAN_ID_TO = 99_999_999
18
18
 
@@ -421,7 +421,4 @@ module Faker
421
421
  end
422
422
  end
423
423
  end
424
-
425
- include Faker::Deprecator
426
- deprecate_generator('IDNumber', IdNumber)
427
424
  end
@@ -22,7 +22,7 @@ module Faker
22
22
  end
23
23
 
24
24
  ##
25
- # Produces a random valid reference accoring to the International bank slip reference https://en.wikipedia.org/wiki/Creditor_Reference
25
+ # Produces a random valid reference according to the International bank slip reference https://en.wikipedia.org/wiki/Creditor_Reference
26
26
  #
27
27
  # @param ref [String] Specifies reference base.
28
28
  # @return [String]
@@ -46,7 +46,4 @@ module Faker
46
46
  end
47
47
  end
48
48
  end
49
-
50
- include Faker::Deprecator
51
- deprecate_generator('Show', Theater)
52
49
  end
@@ -17,17 +17,6 @@ module Faker
17
17
  fetch('heroes_of_the_storm.battlegrounds')
18
18
  end
19
19
 
20
- ##
21
- # This method is deprecated. The implementation will be removed in a near future release.
22
- # Use `HeroesOfTheStorm.class_name` instead.
23
- #
24
- # @deprecated Use {#class_name} instead.
25
- def class
26
- warn '`HeroesOfTheStorm.class` is deprecated. Use `HeroesOfTheStorm.class_name` instead.'
27
-
28
- super
29
- end
30
-
31
20
  ##
32
21
  # Produces a class name from Heroes of the Storm.
33
22
  #
@@ -44,8 +44,5 @@ module Faker
44
44
  end
45
45
  end
46
46
  end
47
-
48
- include Faker::Deprecator
49
- deprecate_generator('FmaBrotherhood', FullmetalAlchemistBrotherhood)
50
47
  end
51
48
  end
@@ -46,7 +46,4 @@ module Faker
46
46
  end
47
47
  end
48
48
  end
49
-
50
- include Deprecator
51
- deprecate_generator('Australia', Locations::Australia)
52
49
  end
@@ -204,7 +204,7 @@ module Faker
204
204
  # @example
205
205
  # Faker::Movies::StarWars.droids
206
206
  #
207
- # @faker.versionn 1.6.2
207
+ # @faker.version 1.6.2
208
208
  def droids
209
209
  fetch_all('star_wars.droids')
210
210
  end
@@ -45,19 +45,6 @@ module Faker
45
45
  fetch('buffy.actors')
46
46
  end
47
47
 
48
- ##
49
- # Produces a actor from Buffy the Vampire Slayer.
50
- #
51
- # @return [String]
52
- #
53
- # @example
54
- # Faker::TvShows::Buffy.celebrity #=> "John Ritter"
55
- #
56
- # @deprecated Use the `actor` method instead.
57
- #
58
- # @faker.version 1.9.2
59
- alias celebrity actor
60
-
61
48
  ##
62
49
  # Produces a big bad from Buffy the Vampire Slayer.
63
50
  #
@@ -84,19 +84,6 @@ module Faker
84
84
  fetch('dr_who.villains')
85
85
  end
86
86
 
87
- ##
88
- # Produces a villain from Doctor Who.
89
- #
90
- # @return [String]
91
- #
92
- # @example
93
- # Faker::TvShows::DrWho.villian #=> "The Master"
94
- #
95
- # @deprecated Use the correctly-spelled `villain` method instead.
96
- #
97
- # @faker.version 1.8.0
98
- alias villian villain
99
-
100
87
  ##
101
88
  # Produces a species from Doctor Who.
102
89
  #
@@ -32,19 +32,6 @@ module Faker
32
32
  fetch('the_fresh_prince_of_bel_air.actors')
33
33
  end
34
34
 
35
- ##
36
- # Produces a actor from The Fresh Prince of Bel-Air.
37
- #
38
- # @return [String]
39
- #
40
- # @example
41
- # Faker::TvShows::TheFreshPrinceOfBelAir.celebrity #=> "Quincy Jones"
42
- #
43
- # @deprecated Use the `actor` method instead.
44
- #
45
- # @faker.version 1.8.3
46
- alias celebrity actor
47
-
48
35
  ##
49
36
  # Produces a quote from The Fresh Prince of Bel-Air.
50
37
  #
data/lib/faker/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Faker # :nodoc:
4
- VERSION = '3.4.2'
4
+ VERSION = '3.5.1'
5
5
  end
data/lib/faker.rb CHANGED
@@ -5,7 +5,7 @@ mydir = __dir__
5
5
  require 'psych'
6
6
  require 'i18n'
7
7
 
8
- Dir.glob(File.join(mydir, 'helpers', '*.rb')).sort.each { |file| require file }
8
+ Dir.glob(File.join(mydir, 'helpers', '*.rb')).each { |file| require file }
9
9
 
10
10
  I18n.load_path += Dir[File.join(mydir, 'locales', '**/*.yml')]
11
11
 
@@ -107,7 +107,7 @@ module Faker
107
107
  # with an array of values and selecting one of them.
108
108
  def fetch(key)
109
109
  fetched = sample(translate("faker.#{key}"))
110
- if fetched&.match(%r{^/}) && fetched&.match(%r{/$}) # A regex
110
+ if fetched&.match(%r{^/}) && fetched.match(%r{/$}) # A regex
111
111
  regexify(fetched)
112
112
  else
113
113
  fetched
@@ -249,6 +249,10 @@ module Faker
249
249
  list.shuffle(random: Faker::Config.random)
250
250
  end
251
251
 
252
+ def shuffle!(list)
253
+ list.shuffle!(random: Faker::Config.random)
254
+ end
255
+
252
256
  def rand(max = nil)
253
257
  if max.nil?
254
258
  Faker::Config.random.rand
@@ -271,4 +275,4 @@ module Faker
271
275
  end
272
276
 
273
277
  # require faker objects
274
- Dir.glob(File.join(mydir, 'faker', '/**/*.rb')).sort.each { |file| require file }
278
+ Dir.glob(File.join(mydir, 'faker', '/**/*.rb')).each { |file| require file }
@@ -1,17 +1,70 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Based on Rails ActiveSupport Deprecator
4
- # https://github.com/rails/rails/blob/6f0d1ad14b92b9f5906e44740fce8b4f1c7075dc/activesupport/lib/active_support/deprecation/constant_accessor.rb
4
+ # https://github.com/rails/rails/blob/main/activesupport/lib/active_support/deprecation/constant_accessor.rb
5
5
 
6
6
  # rubocop:disable Style/ClassVars
7
7
  module Faker
8
+ # Provides a way to rename generators, including their namespaces, with a deprecation cycle in which
9
+ # both the old and new names work, but using the old one prints a deprecation message.
10
+ #
11
+ # Deprecator provides a deprecate_generator method to be used when
12
+ # renaming a generator. For example, let's say we want to change the following Generator's
13
+ # name to <tt>Faker::NewGenerator</tt>:
14
+ #
15
+ # module Faker
16
+ # class Generator
17
+ # def self.generate
18
+ # "be kind"
19
+ # end
20
+ # end
21
+ # end
22
+ #
23
+ # To rename it, you need to do the update the name and declare the deprecation by
24
+ # including the <tt>Deprecator</tt> module and using the deprecate_generator method:
25
+ #
26
+ # module Faker
27
+ # class NewGenerator
28
+ # def self.generate
29
+ # "be kind"
30
+ # end
31
+ # end
32
+ #
33
+ # include Deprecator
34
+ # deprecate_generator('DeprecatedGenerator', NewGenerator)
35
+ # end
36
+ #
37
+ # The first argument is a constant name (no colons) as a string. It is the name of
38
+ # the constant you want to deprecate.
39
+ #
40
+ # The second argument is the constant path of the replacement (no colons) as a constant.
41
+ #
42
+ # For this to work, a +const_missing+ hook is installed. When users
43
+ # reference the deprecated constant, the callback prints the
44
+ # message and constantizes the replacement.
45
+ #
46
+ # With that in place, references to <tt>Faker::Deprecator</tt> still work, they
47
+ # evaluate to <tt>Faker::NewGenerator</tt> now, and trigger a deprecation warning:
48
+ #
49
+ # Faker::Generator.generate
50
+ # # DEPRECATION WARNING: Faker::Generator is deprecated. Use Faker::NewGenerator instead
51
+ # # "be kind"
52
+ #
53
+ # For testing the deprecations, we provide <tt>assert_deprecated</tt>
54
+ # and <tt>assert_not_deprecated</tt> matchers.
55
+ #
56
+ # There's also a <tt>Faker::Deprecator.skip_warning</tt> helper to silence
57
+ # the deprecation messages in the *test* output. Use it for generators that have lots of tests
58
+ # to avoid too many noise when running the tests.
8
59
  module Deprecator
9
60
  def self.included(base)
10
61
  extension = Module.new do
11
62
  def const_missing(missing_const_name)
12
63
  if class_variable_defined?(:@@_deprecated_constants) && (replacement = class_variable_get(:@@_deprecated_constants)[missing_const_name.to_s])
13
64
  unless Faker::Deprecator.skip_warning?
14
- $stdout.puts("DEPRECATION WARNING: #{name}::#{replacement[:old_generator]} is deprecated. Use #{replacement[:new_constant]} instead.")
65
+ deprecated_message = "#{name}::#{replacement[:old_generator]} is deprecated."
66
+ replacement_message = "Use #{replacement[:new_constant]} instead."
67
+ $stdout.puts("DEPRECATION WARNING: #{deprecated_message} #{replacement_message}")
15
68
  end
16
69
 
17
70
  return replacement[:new_constant]
@@ -22,13 +75,25 @@ module Faker
22
75
 
23
76
  def deprecate_generator(old_generator_name, new_generator_constant)
24
77
  class_variable_set(:@@_deprecated_constants, {}) unless class_variable_defined?(:@@_deprecated_constants)
25
- class_variable_get(:@@_deprecated_constants)[old_generator_name] = { new_constant: new_generator_constant, old_generator: old_generator_name }
78
+ class_variable_get(:@@_deprecated_constants)[old_generator_name] = {
79
+ new_constant: new_generator_constant,
80
+ old_generator: old_generator_name
81
+ }
26
82
  end
27
83
  end
28
84
 
29
85
  base.singleton_class.prepend extension
30
86
  end
31
87
 
88
+ # Silence deprecation warnings within the block.
89
+ #
90
+ # Faker::Generator.generate
91
+ # # => DEPRECATION WARNING: Faker::Generator is deprecated. Use Faker::NewGenerator instead.
92
+ #
93
+ # Faker::Deprecator.skip_warning do
94
+ # Faker::Generator.generate
95
+ # end
96
+ # # => nil
32
97
  def self.skip_warning
33
98
  original = Faker::Deprecator.skip
34
99
  Faker::Deprecator.skip = true
@@ -32,10 +32,8 @@ en:
32
32
  - Arctic Monkeys
33
33
  - B.B. King
34
34
  - Bauhaus
35
- - The Beatles
36
35
  - Beck
37
36
  - Billy Idol
38
- - The Birthday Party
39
37
  - Björk
40
38
  - Blinker The Star
41
39
  - Blondie
@@ -54,16 +52,11 @@ en:
54
52
  - Chris Isaak
55
53
  - Chrissie Hynde
56
54
  - Chuck Berry
57
- - The Clash
58
55
  - Cliff Richard (and the Shadows)
59
56
  - Coldplay
60
57
  - Cootie Williams
61
58
  - Cortinas
62
- - " The"
63
- - The Cramps
64
- - The Cranberries
65
59
  - Cream
66
- - The Cure
67
60
  - David Bowie
68
61
  - David Gilmour
69
62
  - Deepest Blue
@@ -77,7 +70,6 @@ en:
77
70
  - Elvis Costello
78
71
  - Elvis Presley
79
72
  - Eric Clapton
80
- - The Faces
81
73
  - Fats Domino
82
74
  - Flaming Lips
83
75
  - Florence and the Machine
@@ -94,7 +86,6 @@ en:
94
86
  - Hugh Masekela
95
87
  - Ian Dury
96
88
  - Iggy Pop
97
- - The Jam
98
89
  - James Brown
99
90
  - Jeff Beck
100
91
  - Jeff Buckley
@@ -111,14 +102,11 @@ en:
111
102
  - Kate Bush
112
103
  - Keith Moon
113
104
  - Keith Richards
114
- - The Kinks
115
105
  - Kiss
116
- - The La's
117
106
  - Led Zeppelin
118
107
  - Lenny Kravitz
119
108
  - Leonard Cohen
120
109
  - Liam Gallagher
121
- - The Libertines
122
110
  - Madness
123
111
  - Madonna
124
112
  - Manic Street Preachers
@@ -126,7 +114,6 @@ en:
126
114
  - Marianne Faithfull
127
115
  - Marilyn Manson
128
116
  - Maroon 5
129
- - The Mars Volta
130
117
  - Max Roach
131
118
  - Michael Jackson
132
119
  - Miles Davis
@@ -145,6 +132,7 @@ en:
145
132
  - Oasis
146
133
  - Offspring
147
134
  - Ozzy Osbourne
135
+ - PJ Harvey
148
136
  - Paramore
149
137
  - Pat Metheny
150
138
  - Patti Smith
@@ -154,21 +142,16 @@ en:
154
142
  - Phil Collins
155
143
  - Phish
156
144
  - Pink Floyd
157
- - PJ Harvey
158
- - The Police
159
- - The Pretenders
160
145
  - Primal Scream
161
146
  - Prince
162
147
  - Program The Dead
163
148
  - Pulp
164
149
  - Queen
150
+ - R.E.M.
165
151
  - Radiohead
166
- - The Ramones
167
152
  - Red Hot Chili Peppers
168
- - R.E.M.
169
153
  - Rick Wright
170
154
  - Rod Stewart
171
- - The Rolling Stones
172
155
  - Rory Gallagher
173
156
  - Roxy Music
174
157
  - Roy Hargrove
@@ -179,15 +162,35 @@ en:
179
162
  - Simply Red
180
163
  - Sinead O'connor
181
164
  - Siouxsie and The Banshees
182
- - The Slits
183
- - The Smiths
184
165
  - Sonic Youth
185
- - The Specials
186
166
  - Squeeze
187
167
  - Status Quo
188
168
  - Stereophonics
189
169
  - Stone Roses
190
170
  - Syd Barrett
171
+ - The Beatles
172
+ - The Birthday Party
173
+ - The Clash
174
+ - The Cramps
175
+ - The Cranberries
176
+ - The Cure
177
+ - The Faces
178
+ - The Jam
179
+ - The Killers
180
+ - The Kinks
181
+ - The La's
182
+ - The Libertines
183
+ - The Mars Volta
184
+ - The Police
185
+ - The Pretenders
186
+ - The Ramones
187
+ - The Rolling Stones
188
+ - The Slits
189
+ - The Smiths
190
+ - The Specials
191
+ - The Undertones
192
+ - The Who
193
+ - The Yardbirds
191
194
  - Thelonius Monk
192
195
  - Thin Lizzy
193
196
  - Thornley
@@ -196,12 +199,9 @@ en:
196
199
  - Tom Robinson
197
200
  - Tom Waits
198
201
  - U2
199
- - The Undertones
200
202
  - Van Morrison
201
203
  - Velvet Revolver
202
204
  - White Stripes
203
- - The Who
204
- - The Yardbirds
205
205
  - Yumi Matsutoya
206
206
  albums:
207
207
  - Thriller
@@ -6873,6 +6873,56 @@ pt-BR:
6873
6873
  - "(#{PhoneNumber.area_code}) #{PhoneNumber.subscriber_number}-#{PhoneNumber.subscriber_number}"
6874
6874
  subscriber_number:
6875
6875
  - "####"
6876
+ subscription:
6877
+ plans:
6878
+ - Teste gratuito
6879
+ - Básico
6880
+ - Starter
6881
+ - Essencial
6882
+ - Estudante
6883
+ - Bronze
6884
+ - Standard
6885
+ - Prata
6886
+ - Ouro
6887
+ - Platinum
6888
+ - Profissional
6889
+ - Business
6890
+ - Diamante
6891
+ - Premium
6892
+ statuses:
6893
+ - Ativo
6894
+ - Inativo
6895
+ - Bloqueado
6896
+ - Pendente
6897
+ payment_methods:
6898
+ - Cartão de crédito
6899
+ - Cartão de débito
6900
+ - Paypal
6901
+ - Dinheiro
6902
+ - Transferência de dinheiro
6903
+ - Bitcoins
6904
+ - Cheque
6905
+ - Apple Pay
6906
+ - Google Pay
6907
+ - WeChat Pay
6908
+ - Alipay
6909
+ - Visa Checkout
6910
+ - Pix
6911
+ - Boleto
6912
+ subscription_terms:
6913
+ - Diária
6914
+ - Semanal
6915
+ - Mensal
6916
+ - Anual
6917
+ - Bienal
6918
+ - Trienal
6919
+ - Quinquenal
6920
+ - Vitalícia
6921
+ payment_terms:
6922
+ - Pagamento antecipado
6923
+ - Mensal
6924
+ - Anual
6925
+ - Assinatura completa
6876
6926
  cell_phone:
6877
6927
  formats:
6878
6928
  - "(#{PhoneNumber.area_code}) 9#{PhoneNumber.subscriber_number}-#{PhoneNumber.subscriber_number}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faker
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.2
4
+ version: 3.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin Curtis
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-07-17 00:00:00.000000000 Z
12
+ date: 2024-10-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: i18n
@@ -623,7 +623,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
623
623
  requirements:
624
624
  - - ">="
625
625
  - !ruby/object:Gem::Version
626
- version: '2.7'
626
+ version: '3.0'
627
627
  required_rubygems_version: !ruby/object:Gem::Requirement
628
628
  requirements:
629
629
  - - ">="