teyvatdb 0.5.2 → 0.5.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -1
- data/Gemfile.lock +1 -1
- data/lib/genshin_data/materials/development/talent_books_data.rb +99 -0
- data/lib/genshin_data/materials.rb +4 -0
- data/lib/genshin_data/talent_books/talent_book_data.rb +1 -1
- data/lib/genshin_data/weapons/weapon_data/swords.rb +1 -1
- data/lib/genshin_object.rb +3 -0
- data/lib/teyvatdb/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b8c33185613834c1b545c00e5cb1e8166e152b52ba75733ea15d1a4c87a88c78
|
4
|
+
data.tar.gz: e13615d863da1630e3e016594c16d69dfaa2ba63989dcf60fd631e803b8601e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6de94298035344b69af7cdbd13060f90dad2db80470bc37b6ba46f58640dd56045f2d1ac262b73a0e559dcdd50c17f1e67466af6b3436b6d9655d4c5d1e34537
|
7
|
+
data.tar.gz: 419cb7d7b0fca8fda9814976fd6661408e0ce265a13221791023f228ce9b26b102c332e5b06dfeaae720bf4c14f39684a0ad3932fde648871901327bbf9686c0
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,12 @@
|
|
1
|
-
## [0.5.2] - 2024-11-
|
1
|
+
## [0.5.2.2] - 2024-11-23
|
2
|
+
- Add missing talent books
|
3
|
+
- Add better test coverage to catch missing materials and errors in talent books
|
4
|
+
|
5
|
+
## [0.5.2.1] - 2024-11-23
|
6
|
+
- Fix typo in Sword key
|
7
|
+
- Add better test coverage to catche incorrect names and keys
|
8
|
+
|
9
|
+
## [0.5.2] - 2024-11-23
|
2
10
|
- Add Characters:
|
3
11
|
- Chasca (5)
|
4
12
|
- Ororon (4)
|
data/Gemfile.lock
CHANGED
@@ -42,6 +42,28 @@ module GenshinData
|
|
42
42
|
nation_name: :liyue
|
43
43
|
).freeze
|
44
44
|
|
45
|
+
GUIDE_TO_CONFLICT = GenshinObject::Material.new(
|
46
|
+
kamera_key: "GuideToConflict",
|
47
|
+
name: "Guide to Conflict",
|
48
|
+
rarity: 3,
|
49
|
+
family: :conflict,
|
50
|
+
inventory_type: :development_material,
|
51
|
+
source_category: :talent_book,
|
52
|
+
source_sub_category: nil,
|
53
|
+
nation_name: :natlan
|
54
|
+
).freeze
|
55
|
+
|
56
|
+
GUIDE_TO_CONTENTION = GenshinObject::Material.new(
|
57
|
+
kamera_key: "GuideToContention",
|
58
|
+
name: "Guide to Contention",
|
59
|
+
rarity: 3,
|
60
|
+
family: :contention,
|
61
|
+
inventory_type: :development_material,
|
62
|
+
source_category: :talent_book,
|
63
|
+
source_sub_category: nil,
|
64
|
+
nation_name: :natlan
|
65
|
+
).freeze
|
66
|
+
|
45
67
|
GUIDE_TO_ELEGANCE = GenshinObject::Material.new(
|
46
68
|
kamera_key: "GuideToElegance",
|
47
69
|
name: "Guide to Elegance",
|
@@ -108,6 +130,17 @@ module GenshinData
|
|
108
130
|
nation_name: :fontaine
|
109
131
|
).freeze
|
110
132
|
|
133
|
+
GUIDE_TO_KINDLING = GenshinObject::Material.new(
|
134
|
+
kamera_key: "GuideToKindling",
|
135
|
+
name: "Guide to Kindling",
|
136
|
+
rarity: 3,
|
137
|
+
family: :kindling,
|
138
|
+
inventory_type: :development_material,
|
139
|
+
source_category: :talent_book,
|
140
|
+
source_sub_category: nil,
|
141
|
+
nation_name: :natlan
|
142
|
+
).freeze
|
143
|
+
|
111
144
|
GUIDE_TO_LIGHT = GenshinObject::Material.new(
|
112
145
|
kamera_key: "GuideToLight",
|
113
146
|
name: "Guide to Light",
|
@@ -196,6 +229,28 @@ module GenshinData
|
|
196
229
|
nation_name: :mondstadt
|
197
230
|
).freeze
|
198
231
|
|
232
|
+
PHILOSOPHIES_OF_CONFLICT = GenshinObject::Material.new(
|
233
|
+
kamera_key: "PhilosophiesOfConflict",
|
234
|
+
name: "Philosophies of Conflict",
|
235
|
+
rarity: 4,
|
236
|
+
family: :conflict,
|
237
|
+
inventory_type: :development_material,
|
238
|
+
source_category: :talent_book,
|
239
|
+
source_sub_category: nil,
|
240
|
+
nation_name: :natlan
|
241
|
+
).freeze
|
242
|
+
|
243
|
+
PHILOSOPHIES_OF_CONTENTION = GenshinObject::Material.new(
|
244
|
+
kamera_key: "PhilosophiesOfContention",
|
245
|
+
name: "Philosophies of Contention",
|
246
|
+
rarity: 4,
|
247
|
+
family: :contention,
|
248
|
+
inventory_type: :development_material,
|
249
|
+
source_category: :talent_book,
|
250
|
+
source_sub_category: nil,
|
251
|
+
nation_name: :natlan
|
252
|
+
).freeze
|
253
|
+
|
199
254
|
PHILOSOPHIES_OF_DILIGENCE = GenshinObject::Material.new(
|
200
255
|
kamera_key: "PhilosophiesOfDiligence",
|
201
256
|
name: "Philosophies of Diligence",
|
@@ -273,6 +328,17 @@ module GenshinData
|
|
273
328
|
nation_name: :fontaine
|
274
329
|
).freeze
|
275
330
|
|
331
|
+
PHILOSOPHIES_OF_KINDLING = GenshinObject::Material.new(
|
332
|
+
kamera_key: "PhilosophiesOfKindling",
|
333
|
+
name: "Philosophies of Kindling",
|
334
|
+
rarity: 4,
|
335
|
+
family: :kindling,
|
336
|
+
inventory_type: :development_material,
|
337
|
+
source_category: :talent_book,
|
338
|
+
source_sub_category: nil,
|
339
|
+
nation_name: :natlan
|
340
|
+
).freeze
|
341
|
+
|
276
342
|
PHILOSOPHIES_OF_LIGHT = GenshinObject::Material.new(
|
277
343
|
kamera_key: "PhilosophiesOfLight",
|
278
344
|
name: "Philosophies of Light",
|
@@ -361,6 +427,28 @@ module GenshinData
|
|
361
427
|
nation_name: :mondstadt
|
362
428
|
).freeze
|
363
429
|
|
430
|
+
TEACHINGS_OF_CONFLICT = GenshinObject::Material.new(
|
431
|
+
kamera_key: "TeachingsOfConflict",
|
432
|
+
name: "Teachings of Conflict",
|
433
|
+
rarity: 2,
|
434
|
+
family: :conflict,
|
435
|
+
inventory_type: :development_material,
|
436
|
+
source_category: :talent_book,
|
437
|
+
source_sub_category: nil,
|
438
|
+
nation_name: :natlan
|
439
|
+
).freeze
|
440
|
+
|
441
|
+
TEACHINGS_OF_CONTENTION = GenshinObject::Material.new(
|
442
|
+
kamera_key: "TeachingsOfContention",
|
443
|
+
name: "Teachings of Contention",
|
444
|
+
rarity: 2,
|
445
|
+
family: :contention,
|
446
|
+
inventory_type: :development_material,
|
447
|
+
source_category: :talent_book,
|
448
|
+
source_sub_category: nil,
|
449
|
+
nation_name: :natlan
|
450
|
+
).freeze
|
451
|
+
|
364
452
|
TEACHINGS_OF_DILIGENCE = GenshinObject::Material.new(
|
365
453
|
kamera_key: "TeachingsOfDiligence",
|
366
454
|
name: "Teachings of Diligence",
|
@@ -438,6 +526,17 @@ module GenshinData
|
|
438
526
|
nation_name: :fontaine
|
439
527
|
).freeze
|
440
528
|
|
529
|
+
TEACHINGS_OF_KINDLING = GenshinObject::Material.new(
|
530
|
+
kamera_key: "TeachingsOfKindling",
|
531
|
+
name: "Teachings of Kindling",
|
532
|
+
rarity: 2,
|
533
|
+
family: :kindling,
|
534
|
+
inventory_type: :development_material,
|
535
|
+
source_category: :talent_book,
|
536
|
+
source_sub_category: nil,
|
537
|
+
nation_name: :natlan
|
538
|
+
).freeze
|
539
|
+
|
441
540
|
TEACHINGS_OF_LIGHT = GenshinObject::Material.new(
|
442
541
|
kamera_key: "TeachingsOfLight",
|
443
542
|
name: "Teachings of Light",
|
data/lib/genshin_object.rb
CHANGED
@@ -2,6 +2,9 @@
|
|
2
2
|
|
3
3
|
# Module that handles higher constants and base classes and behavior
|
4
4
|
module GenshinObject
|
5
|
+
KAMERA_KEY_REGEX = /\A[A-Za-z]+\z/
|
6
|
+
NAME_REGEX = /\A[A-Za-z\'\-\.\",\s]+\z/
|
7
|
+
|
5
8
|
require_relative "genshin_object/artifact_set"
|
6
9
|
require_relative "genshin_object/artifact_set_bonus"
|
7
10
|
require_relative "genshin_object/boss"
|
data/lib/teyvatdb/version.rb
CHANGED