File tree 6 files changed +99
-5
lines changed
6 files changed +99
-5
lines changed Original file line number Diff line number Diff line change 1
1
PATH
2
2
remote: .
3
3
specs:
4
- faker (2.17 .0 )
4
+ faker (2.18 .0 )
5
5
i18n (>= 1.6 , < 2 )
6
6
7
7
GEM
11
11
coderay (1.1.3 )
12
12
concurrent-ruby (1.1.8 )
13
13
docile (1.3.2 )
14
- i18n (1.8.9 )
14
+ i18n (1.8.10 )
15
15
concurrent-ruby (~> 1.0 )
16
16
json (2.3.0 )
17
17
method_source (1.0.0 )
@@ -65,4 +65,4 @@ DEPENDENCIES
65
65
yard (= 0.9.26 )
66
66
67
67
BUNDLED WITH
68
- 2.1.2
68
+ 2.1.4
Original file line number Diff line number Diff line change 1
1
# Faker::Games::Witcher
2
2
3
3
``` ruby
4
-
5
4
Faker ::Games ::Witcher .character # => "Triss Merigold"
6
5
7
6
Faker ::Games ::Witcher .witcher # => "Geralt of Rivia"
@@ -13,3 +12,10 @@ Faker::Games::Witcher.school # => "Wolf"
13
12
Faker ::Games ::Witcher .quote # => "No Lollygagin'!"
14
13
15
14
Faker ::Games ::Witcher .monster # => "Katakan"
15
+
16
+ Faker ::Games ::Witcher .sign # => "Igni"
17
+
18
+ Faker ::Games ::Witcher .potion # => "Gadwall"
19
+
20
+ Faker ::Games ::Witcher .book # => "Sword of Destiny"
21
+ ```
Original file line number Diff line number Diff line change @@ -81,6 +81,45 @@ def quote
81
81
def monster
82
82
fetch ( 'games.witcher.monsters' )
83
83
end
84
+
85
+ ##
86
+ # Produces the name of a sign from The Witcher.
87
+ #
88
+ # @return [String]
89
+ #
90
+ # @example
91
+ # Faker::Games::Witcher.sign #=> "Igni"
92
+ #
93
+ # @faker.version 2.18.0
94
+ def sign
95
+ fetch ( 'games.witcher.signs' )
96
+ end
97
+
98
+ ##
99
+ # Produces the name of a potion from The Witcher.
100
+ #
101
+ # @return [String]
102
+ #
103
+ # @example
104
+ # Faker::Games::Witcher.potion #=> "Gadwall"
105
+ #
106
+ # @faker.version 2.18.0
107
+ def potion
108
+ fetch ( 'games.witcher.potions' )
109
+ end
110
+
111
+ ##
112
+ # Produces the name of a book from The Witcher.
113
+ #
114
+ # @return [String]
115
+ #
116
+ # @example
117
+ # Faker::Games::Witcher.book #=> "Sword of Destiny"
118
+ #
119
+ # @faker.version 2.18.0
120
+ def book
121
+ fetch ( 'games.witcher.books' )
122
+ end
84
123
end
85
124
end
86
125
end
Original file line number Diff line number Diff line change 1
1
# frozen_string_literal: true
2
2
3
3
module Faker #:nodoc:
4
- VERSION = '2.17 .0'
4
+ VERSION = '2.18 .0'
5
5
end
Original file line number Diff line number Diff line change 391
391
- Garkain
392
392
- Higher Vampire
393
393
- Katakan
394
+ signs :
395
+ - Aard
396
+ - Igni
397
+ - Yrden
398
+ - Quen
399
+ - Axii
400
+ - Heliotrop
401
+ potions :
402
+ - Cat
403
+ - Healing brew
404
+ - Gadwall
405
+ - Tawny Owl
406
+ - Wolf
407
+ - Rook
408
+ - Swallow
409
+ - Golden Oriole
410
+ - Tiara
411
+ - Stammelford's philtre
412
+ - Maribor Forest
413
+ - Lapwing
414
+ - Virga
415
+ - White Raffard's Decoction
416
+ - Brock
417
+ - Petri's Philter
418
+ - Thunderbolt
419
+ - Mongoose
420
+ - Visionary's potion
421
+ - Anabolic steroids
422
+ books :
423
+ - The Last Wish
424
+ - Sword of Destiny
425
+ - Blood of Elves
426
+ - Time of Contempt
427
+ - Baptism of Fire
428
+ - The Tower of the Swallow
429
+ - The Lady of the Lake
430
+ - Season of Storms
Original file line number Diff line number Diff line change @@ -30,4 +30,16 @@ def test_monster
30
30
def test_quote
31
31
assert @witcher . quote . match ( /\w +/ )
32
32
end
33
+
34
+ def test_sign
35
+ assert @witcher . sign . match ( /\w +/ )
36
+ end
37
+
38
+ def test_potion
39
+ assert @witcher . potion . match ( /\w +/ )
40
+ end
41
+
42
+ def test_book
43
+ assert @witcher . book . match ( /\w +/ )
44
+ end
33
45
end
You can’t perform that action at this time.
0 commit comments