faker 3.1.1 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +64 -1
  3. data/README.md +12 -4
  4. data/lib/faker/default/company.rb +13 -0
  5. data/lib/faker/default/food.rb +13 -0
  6. data/lib/faker/default/internet.rb +52 -22
  7. data/lib/faker/default/marketing.rb +1 -1
  8. data/lib/faker/default/omniauth.rb +1 -1
  9. data/lib/faker/default/twitter.rb +1 -1
  10. data/lib/faker/games/dnd.rb +49 -7
  11. data/lib/faker/movies/avatar.rb +49 -0
  12. data/lib/faker/quotes/quote.rb +13 -0
  13. data/lib/faker/sports/chess.rb +90 -0
  14. data/lib/faker/travel/airport.rb +0 -4
  15. data/lib/faker/version.rb +1 -1
  16. data/lib/faker.rb +0 -1
  17. data/lib/locales/ar.yml +1 -0
  18. data/lib/locales/bg.yml +1 -1
  19. data/lib/locales/da-DK.yml +1 -0
  20. data/lib/locales/de-AT.yml +1 -1
  21. data/lib/locales/de-CH.yml +1 -0
  22. data/lib/locales/de.yml +1 -0
  23. data/lib/locales/en/avatar.yml +31 -0
  24. data/lib/locales/en/chess.yml +103 -0
  25. data/lib/locales/en/company.yml +1 -0
  26. data/lib/locales/en/dnd.yml +186 -1
  27. data/lib/locales/en/food.yml +12 -0
  28. data/lib/locales/en/internet.yml +3 -0
  29. data/lib/locales/en/mitch_hedberg.yml +46 -0
  30. data/lib/locales/en-AU.yml +1 -0
  31. data/lib/locales/en-CA.yml +1 -0
  32. data/lib/locales/en-GB.yml +2 -0
  33. data/lib/locales/en-MS.yml +1 -0
  34. data/lib/locales/en-NG.yml +1 -0
  35. data/lib/locales/en-NZ.yml +1 -0
  36. data/lib/locales/en-PAK.yml +1 -0
  37. data/lib/locales/en-SG.yml +1 -0
  38. data/lib/locales/en-UG.yml +1 -0
  39. data/lib/locales/en-US.yml +1 -0
  40. data/lib/locales/en-ZA.yml +1 -0
  41. data/lib/locales/en-au-ocker.yml +2 -0
  42. data/lib/locales/es-AR.yml +1 -0
  43. data/lib/locales/es-MX.yml +1 -0
  44. data/lib/locales/es.yml +1 -0
  45. data/lib/locales/fi-FI.yml +1 -0
  46. data/lib/locales/fr-CA.yml +1 -0
  47. data/lib/locales/fr-CH.yml +1 -0
  48. data/lib/locales/hy.yml +1 -0
  49. data/lib/locales/it.yml +1 -0
  50. data/lib/locales/ko.yml +1 -0
  51. data/lib/locales/mi-NZ.yml +2 -0
  52. data/lib/locales/nb-NO.yml +1 -0
  53. data/lib/locales/nl.yml +1 -0
  54. data/lib/locales/pl.yml +1 -0
  55. data/lib/locales/pt-BR.yml +1 -0
  56. data/lib/locales/pt.yml +1 -0
  57. data/lib/locales/ru.yml +1 -0
  58. data/lib/locales/sk.yml +1 -0
  59. data/lib/locales/sv.yml +1 -0
  60. data/lib/locales/tr.yml +1 -0
  61. data/lib/locales/uk.yml +1 -0
  62. data/lib/locales/vi.yml +1 -0
  63. data/lib/locales/zh-CN.yml +1 -0
  64. data/lib/locales/zh-TW.yml +1 -0
  65. metadata +15 -11
  66. data/lib/faker/default/fillmurray.rb +0 -38
data/lib/locales/es.yml CHANGED
@@ -22,6 +22,7 @@ es:
22
22
  - "#{street_name}#{building_number}"
23
23
  - "#{street_name}#{building_number} #{secondary_address}"
24
24
  default_country: [España]
25
+ default_country_code: ["ES"]
25
26
 
26
27
  company:
27
28
  suffix: [S.L., e Hijos, S.A., Hermanos]
@@ -20,6 +20,7 @@ fi-FI:
20
20
  street_address:
21
21
  - "#{street_name} #{building_number}"
22
22
  default_country: [Suomi]
23
+ default_country_code: ["FI"]
23
24
 
24
25
  name:
25
26
  female_first_name: [Maria, Helena, Anneli, Johanna, Kaarina, Marjatta, Hannele, Kristiina, Liisa, Emilia, Elina, Tuulikki, Annikki, Maarit, Sofia, Susanna, Leena, Katariina, Anna, Marja, Sinikka, Inkeri, Riitta, Kyllikki, Aino, Tuula, Anne, Päivi, Orvokki, Ritva, Tellervo, Maija, Pirjo, Karoliina, Pauliina, Minna, Sari, Irmeli, Eeva, Tiina, Laura, Eveliina, Marika, Elisabet, Tarja, Pirkko, Satu, Anja, Mari, Hanna]
@@ -12,6 +12,7 @@ fr-CA:
12
12
  street_address:
13
13
  - " #{street_name} #{building_number}"
14
14
  default_country: [Canada]
15
+ default_country_code: ["CA"]
15
16
 
16
17
  internet:
17
18
  free_email: [gmail.com, yahoo.ca, hotmail.com]
@@ -15,6 +15,7 @@ fr-CH:
15
15
  street_address:
16
16
  - "#{street_name} #{building_number}"
17
17
  default_country: [Suisse]
18
+ default_country_code: ["CH"]
18
19
 
19
20
  company:
20
21
  suffix: [AG, GmbH, et associés, "& Co.", Groupe, LLC, Inc.]
data/lib/locales/hy.yml CHANGED
@@ -235,6 +235,7 @@ hy:
235
235
  ZM: Զամբիա
236
236
  ZW: Զիմբաբվե
237
237
  default_country: [Հայաստան]
238
+ default_country_code: ["AM"]
238
239
  state: [Արագածոտն, Արարատ, Արմավիր, Գեղարքունիք, Լոռի, Կոտայք, Շիրակ, Սյունիք, Տավուշ, Վայոց Ձոր]
239
240
  state_abbr: [ԱԳ, ԱՐ, ԱՄ, ԳՂ, ԼՌ, ԿՏ, ՇԿ, ՍՅ, ՎՁ, ՏՎ]
240
241
  community: [Աջափնյակ, Ավան, Արաբկիր, Դավիթաշեն, Էրեբունի, Կենտրոն, Մալաթիա-Սեբաստիա, Նոր Նորք, Նորք-Մարաշ, Նուբարաշեն, Շենգավիթ, Քանաքեռ-Զեյթուն, Ապարան, Ալագյազ, Արագածավան, Ծաղկահովիտ, Ճամբարակ, Վարդենիս, Մասրիկ, Շողակաթ, Ալավերդի, Ախթալա, Ստեփանավան, Տաշիր, Գյուլագարակ, Բերդ, Մեծավան, Շնող, Սարչապետ, Օձուն, Բյուրեղավան, Եղվարդ, Չարենցավան, Ակունք, Մեղրաձոր, Ջրվեժ, Անի, Ախուրյան, Մարմաշեն, Կապան, Սիսիան, Քաջարան, Արենի, Գլաձոր, Եղեգիս, Բերդ]
data/lib/locales/it.yml CHANGED
@@ -22,6 +22,7 @@ it:
22
22
  - "#{street_name} #{building_number}"
23
23
  - "#{street_name} #{building_number}, #{secondary_address}"
24
24
  default_country: [Italia]
25
+ default_country_code: ["IT"]
25
26
 
26
27
  company:
27
28
  suffix: [SPA, e figli, Group, s.r.l.]
data/lib/locales/ko.yml CHANGED
@@ -13,6 +13,7 @@ ko:
13
13
  street_name:
14
14
  - "#{street_root}#{street_suffix}"
15
15
  default_country: [대한민국]
16
+ default_country_code: ["KR"]
16
17
 
17
18
  color:
18
19
  name: ['빨간색', '다홍색', '주황색', '귤색', '노란색', '연두색', '녹색', '청록색', '하늘색', '파란색', '남색', '보라색', '자주색', '자홍색', '분홍색', '산호색', '라임색', '올리브색', '카키색', '군청색', '바다색', '버건디색', '베이지색', '갈색', '민트색', '황토색', '금색', '음색', '검은색', '회색', '흰색']
@@ -222,6 +222,8 @@ mi-NZ:
222
222
  - Esplanade
223
223
  default_country:
224
224
  - Aotearoa
225
+ default_country_code:
226
+ - NZ
225
227
  city:
226
228
  - Ahuriri
227
229
  - Awaroa
@@ -22,6 +22,7 @@ nb-NO:
22
22
  street_address:
23
23
  - "#{street_name} #{building_number}"
24
24
  default_country: [Norge]
25
+ default_country_code: ["NO"]
25
26
 
26
27
  company:
27
28
  suffix: ["Gruppen", "AS", "ASA", "BA", "RFH", "og Sønner"]
data/lib/locales/nl.yml CHANGED
@@ -47,6 +47,7 @@ nl:
47
47
  postcode: /[1-9][0-9]{3} (AA|AB|AC|AD|AE|AF|AG|AH|AI|AJ|AK|AL|AM|AN|AO|AP|AQ|AR|AS|AT|AU|AV|AW|AX|AY|AZ|BA|BB|BC|BD|BE|BF|BG|BH|BI|BJ|BK|BL|BM|BN|BO|BP|BQ|BR|BS|BT|BU|BV|BW|BX|BY|BZ|CA|CB|CC|CD|CE|CF|CG|CH|CI|CJ|CK|CL|CM|CN|CO|CP|CQ|CR|CS|CT|CU|CV|CW|CX|CY|CZ|DA|DB|DC|DD|DE|DF|DG|DH|D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6 +17,7 @@ pl:
17
17
  street_address:
18
18
  - "#{street_name} #{building_number}"
19
19
  default_country: [Polska]
20
+ default_country_code: ["PL"]
20
21
 
21
22
  coin:
22
23
  flip:
@@ -547,6 +547,7 @@ pt-BR:
547
547
  SC: ['88###-###', '89###-###']
548
548
  RS: '9####-###'
549
549
  default_country: [Brasil]
550
+ default_country_code: ["BR"]
550
551
 
551
552
  company:
552
553
  suffix: ["S.A.", "LTDA", "e Associados", "Comércio", "EIRELI"]
data/lib/locales/pt.yml CHANGED
@@ -33,6 +33,7 @@ pt:
33
33
  postcode: ["####"]
34
34
  state: ["Lisboa", "Leiria", "Santarém", "Setúbal", "Beja", "Faro", "Évora", "Portalegre", "Castelo Branco", "Guarda", "Coimbra", "Aveiro", "Viseu", "Bragança", "Vila Real", "Porto", "Braga", "Viana do Castelo"]
35
35
  default_country: [Portugal]
36
+ default_country_code: ["PT"]
36
37
 
37
38
  company:
38
39
  suffix: ["S.A.", "LTDA", "e Associados", "Comércio", "EIRELI"]
data/lib/locales/ru.yml CHANGED
@@ -18,6 +18,7 @@ ru:
18
18
  street_address:
19
19
  - "#{street_name}, #{building_number}"
20
20
  default_country: [Россия]
21
+ default_country_code: ["RU"]
21
22
  full_address:
22
23
  - "#{postcode} #{default_country}, #{city}, #{street_address}"
23
24
  - "#{postcode} #{default_country}, #{city}, #{street_address} #{secondary_address}"
data/lib/locales/sk.yml CHANGED
@@ -19,6 +19,7 @@ sk:
19
19
  street_address:
20
20
  - "#{street_name} #{building_number}"
21
21
  default_country: [Slovensko]
22
+ default_country_code: ["SK"]
22
23
 
23
24
  company:
24
25
  suffix: [s.r.o., a.s., v.o.s.]
data/lib/locales/sv.yml CHANGED
@@ -25,6 +25,7 @@ sv:
25
25
  street_address:
26
26
  - "#{street_name} #{building_number}"
27
27
  default_country: [Sverige]
28
+ default_country_code: ["SE"]
28
29
 
29
30
  company:
30
31
  suffix: ["Gruppen", "AB", "HB", "Group", "Investment", "Kommanditbolag", "Aktiebolag"]
data/lib/locales/tr.yml CHANGED
@@ -32,6 +32,7 @@ tr:
32
32
  - "#{city_name}"
33
33
  country: [Afganistan, Amerika Birleşik Devletleri, Fransa, Hollanda, Belçika, Nepal, Hindistan, Kuala Lumpur, Rusya]
34
34
  default_country: [Turkey]
35
+ default_country_code: ["TR"]
35
36
 
36
37
  book:
37
38
  title: ['Taht Oyunları', 'Maymunlar Gezegeni', 'Benim Adım Kırmızı', 'Uykuların Doğusu', 'Yılanların Öcü']
data/lib/locales/uk.yml CHANGED
@@ -28,6 +28,7 @@ uk:
28
28
  full_address:
29
29
  - "#{street_address}, #{city}, #{state}, #{postcode}"
30
30
  default_country: [Україна]
31
+ default_country_code: ["UA"]
31
32
 
32
33
  internet:
33
34
  free_email: [ukr.net, ex.ua, e-mail.ua, i.ua, meta.ua, yandex.ua, gmail.com]
data/lib/locales/vi.yml CHANGED
@@ -24,6 +24,7 @@ vi:
24
24
  "Staffordshire", "Strathclyde", "Suffolk", "Surrey", "Tayside", "Tyne and Wear", "Việt Nam", "Warwickshire",
25
25
  "West Glamorgan", "West Midlands", "West Sussex", "West Yorkshire", "Wiltshire", "Worcestershire"]
26
26
  default_country: ["Việt Nam"]
27
+ default_country_code: ["VN"]
27
28
  internet:
28
29
  domain_suffix: [com, net, info, vn, com.vn]
29
30
  phone_number:
@@ -13,6 +13,7 @@ zh-CN:
13
13
  street_address:
14
14
  - "#{street_name}#{building_number}号"
15
15
  default_country: [中国]
16
+ default_country_code: ["CN"]
16
17
 
17
18
 
18
19
  name:
@@ -16,6 +16,7 @@ zh-TW:
16
16
  street_address:
17
17
  - "#{street_name} #{building_number} 號"
18
18
  default_country: [台灣]
19
+ default_country_code: ["TW"]
19
20
 
20
21
  name:
21
22
  last_name: [趙, 錢, 孫, 李, 周, 吳, 鄭, 王, 馮, 陳, 褚, 衛, 蔣, 沈, 韓, 楊, 朱, 秦, 尤, 許, 何, 呂, 施, 張, 孔, 曹, 嚴, 華, 金, 魏, 陶, 薑, 戚, 謝, 鄒, 喻, 柏, 水, 竇, 章, 雲, 蘇, 潘, 葛, 奚, 範, 彭, 郎, 魯, 韋, 昌, 馬, 苗, 鳳, 花, 方, 俞, 任, 袁, 柳, 酆, 鮑, 史, 唐, 費, 廉, 岑, 薛, 雷, 賀, 倪, 湯, 滕, 殷, 羅, 畢, 郝, 鄔, 安, 常, 樂, 於, 時, 傅, 皮, 卞, 齊, 康, 伍, 餘, 元, 蔔, 顧, 孟, 平, 黃, 和, 穆, 蕭, 尹, 姚, 邵, 湛, 汪, 祁, 毛, 禹, 狄, 米, 貝, 明, 臧, 計, 伏, 成, 戴, 談, 宋, 茅, 龐, 熊, 紀, 舒, 屈, 項, 祝, 董, 梁, 杜, 阮, 藍, 閔, 席, 季, 麻, 強, 賈, 路, 婁, 危, 江, 童, 顏, 郭, 梅, 盛, 林, 刁, 鍾, 徐, 邱, 駱, 高, 夏, 蔡, 田, 樊, 胡, 淩, 霍, 虞, 萬, 支, 柯, 昝, 管, 盧, 莫, 柯, 房, 裘, 繆, 幹, 解, 應, 宗, 丁, 宣, 賁, 鄧, 鬱, 單, 杭, 洪, 包, 諸, 左, 石, 崔, 吉, 鈕, 龔, 程, 嵇, 邢, 滑, 裴, 陸, 榮, 翁, 荀, 羊, 于, 惠, 甄, 曲, 家, 封, 芮, 羿, 儲, 靳, 汲, 邴, 糜, 松, 井, 段, 富, 巫, 烏, 焦, 巴, 弓, 牧, 隗, 山, 穀, 車, 侯, 宓, 蓬, 全, 郗, 班, 仰, 秋, 仲, 伊, 宮, 甯, 仇, 欒, 暴, 甘, 鈄, 曆, 戎, 祖, 武, 符, 劉, 景, 詹, 束, 龍, 葉, 幸, 司, 韶, 郜, 黎, 薊, 溥, 印, 宿, 白, 懷, 蒲, 邰, 從, 鄂, 索, 鹹, 籍, 賴, 卓, 藺, 屠, 蒙, 池, 喬, 陽, 鬱, 胥, 能, 蒼, 雙, 聞, 莘, 党, 翟, 譚, 貢, 勞, 逄, 姬, 申, 扶, 堵, 冉, 宰, 酈, 雍, 卻, 璩, 桑, 桂, 濮, 牛, 壽, 通, 邊, 扈, 燕, 冀, 浦, 尚, 農, 溫, 別, 莊, 晏, 柴, 瞿, 閻, 充, 慕, 連, 茹, 習, 宦, 艾, 魚, 容, 向, 古, 易, 慎, 戈, 廖, 庾, 終, 暨, 居, 衡, 步, 都, 耿, 滿, 弘, 匡, 國, 文, 寇, 廣, 祿, 闕, 東, 歐, 殳, 沃, 利, 蔚, 越, 夔, 隆, 師, 鞏, 厙, 聶, 晁, 勾, 敖, 融, 冷, 訾, 辛, 闞, 那, 簡, 饒, 空, 曾, 毋, 沙, 乜, 養, 鞠, 須, 豐, 巢, 關, 蒯, 相, 查, 後, 荊, 紅, 遊, 竺, 權, 逮, 盍, 益, 桓, 公, 萬俟, 司馬, 上官, 歐陽, 夏侯, 諸葛, 聞人, 東方, 赫連, 皇甫, 尉遲, 公羊, 澹台, 公冶, 宗政, 濮陽, 淳于, 單於, 太叔, 申屠, 公孫, 仲孫, 軒轅, 令狐, 徐離, 宇文, 長孫, 慕容, 司徒, 司空]
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.1.1
4
+ version: 3.2.0
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: 2023-02-03 00:00:00.000000000 Z
12
+ date: 2023-04-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: i18n
@@ -37,14 +37,14 @@ dependencies:
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 5.17.0
40
+ version: 5.18.0
41
41
  type: :development
42
42
  prerelease: false
43
43
  version_requirements: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 5.17.0
47
+ version: 5.18.0
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: pry
50
50
  requirement: !ruby/object:Gem::Requirement
@@ -79,28 +79,28 @@ dependencies:
79
79
  requirements:
80
80
  - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: 1.44.1
82
+ version: 1.50.1
83
83
  type: :development
84
84
  prerelease: false
85
85
  version_requirements: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - '='
88
88
  - !ruby/object:Gem::Version
89
- version: 1.44.1
89
+ version: 1.50.1
90
90
  - !ruby/object:Gem::Dependency
91
91
  name: rubocop-minitest
92
92
  requirement: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - '='
95
95
  - !ruby/object:Gem::Version
96
- version: 0.25.1
96
+ version: 0.30.0
97
97
  type: :development
98
98
  prerelease: false
99
99
  version_requirements: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - '='
102
102
  - !ruby/object:Gem::Version
103
- version: 0.25.1
103
+ version: 0.30.0
104
104
  - !ruby/object:Gem::Dependency
105
105
  name: rubocop-rake
106
106
  requirement: !ruby/object:Gem::Requirement
@@ -163,14 +163,14 @@ dependencies:
163
163
  requirements:
164
164
  - - '='
165
165
  - !ruby/object:Gem::Version
166
- version: 0.9.27
166
+ version: 0.9.34
167
167
  type: :development
168
168
  prerelease: false
169
169
  version_requirements: !ruby/object:Gem::Requirement
170
170
  requirements:
171
171
  - - '='
172
172
  - !ruby/object:Gem::Version
173
- version: 0.9.27
173
+ version: 0.9.34
174
174
  description: 'Faker, a port of Data::Faker from Perl, is used to easily generate fake
175
175
  data: names, addresses, phone numbers, etc.'
176
176
  email:
@@ -245,7 +245,6 @@ files:
245
245
  - lib/faker/default/emotion.rb
246
246
  - lib/faker/default/esport.rb
247
247
  - lib/faker/default/file.rb
248
- - lib/faker/default/fillmurray.rb
249
248
  - lib/faker/default/finance.rb
250
249
  - lib/faker/default/food.rb
251
250
  - lib/faker/default/funny_name.rb
@@ -338,6 +337,7 @@ files:
338
337
  - lib/faker/japanese_media/studio_ghibli.rb
339
338
  - lib/faker/japanese_media/sword_art_online.rb
340
339
  - lib/faker/locations/australia.rb
340
+ - lib/faker/movies/avatar.rb
341
341
  - lib/faker/movies/back_to_the_future.rb
342
342
  - lib/faker/movies/departed.rb
343
343
  - lib/faker/movies/ghostbusters.rb
@@ -371,6 +371,7 @@ files:
371
371
  - lib/faker/quotes/shakespeare.rb
372
372
  - lib/faker/religion/bible.rb
373
373
  - lib/faker/sports/basketball.rb
374
+ - lib/faker/sports/chess.rb
374
375
  - lib/faker/sports/football.rb
375
376
  - lib/faker/sports/mountaineering.rb
376
377
  - lib/faker/sports/sport.rb
@@ -456,6 +457,7 @@ files:
456
457
  - lib/locales/en/aqua_teen_hunger_force.yml
457
458
  - lib/locales/en/artist.yml
458
459
  - lib/locales/en/australia.yml
460
+ - lib/locales/en/avatar.yml
459
461
  - lib/locales/en/back_to_the_future.yml
460
462
  - lib/locales/en/bank.yml
461
463
  - lib/locales/en/barcode.yml
@@ -475,6 +477,7 @@ files:
475
477
  - lib/locales/en/camera.yml
476
478
  - lib/locales/en/cannabis.yml
477
479
  - lib/locales/en/cat.yml
480
+ - lib/locales/en/chess.yml
478
481
  - lib/locales/en/chiquito.yml
479
482
  - lib/locales/en/chuck_norris.yml
480
483
  - lib/locales/en/clash_of_clan.yml
@@ -565,6 +568,7 @@ files:
565
568
  - lib/locales/en/michael_scott.yml
566
569
  - lib/locales/en/military.yml
567
570
  - lib/locales/en/minecraft.yml
571
+ - lib/locales/en/mitch_hedberg.yml
568
572
  - lib/locales/en/mountain.yml
569
573
  - lib/locales/en/mountaineering.yml
570
574
  - lib/locales/en/movie.yml
@@ -1,38 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Faker
4
- class Fillmurray < Base
5
- class << self
6
- ##
7
- # Produces the URL of an image from Fill Murray, a site which hosts
8
- # exclusively photographs of actor Bill Murray.
9
- #
10
- # @param grayscale [Boolean] Whether to return a grayscale image.
11
- # @param width [Integer] The iamage width.
12
- # @param height [Integer] The image height.
13
- # @return [String]
14
- #
15
- # @example
16
- # Faker::Fillmurray.image #=> "https://www.fillmurray.com/300/300"
17
- #
18
- # @example
19
- # Faker::Fillmurray.image(grayscale: true)
20
- # #=> "https://fillmurray.com/g/300/300"
21
- #
22
- # @example
23
- # Faker::Fillmurray.image(grayscale: false, width: 200, height: 400)
24
- # #=> "https://fillmurray.com/200/400"
25
- #
26
- # @faker.version 1.7.1
27
- extend Gem::Deprecate
28
- def image(grayscale: false, width: 200, height: 200)
29
- raise ArgumentError, 'Width should be a number' unless width.to_s =~ /^\d+$/
30
- raise ArgumentError, 'Height should be a number' unless height.to_s =~ /^\d+$/
31
- raise ArgumentError, 'Grayscale should be a boolean' unless [true, false].include?(grayscale)
32
-
33
- "https://www.fillmurray.com#{'/g' if grayscale == true}/#{width}/#{height}"
34
- end
35
- deprecate :image, 'Faker::LoremFlickr.image', 2023, 2
36
- end
37
- end
38
- end