teyvatdb 0.5.2.1 → 0.5.2.2

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: 94c854a4531c4fb0a7046731527bcdcc49f9e027956f93b3cda70293442a5983
4
- data.tar.gz: 42e7d7cdb1605538eedd9da531fc21ca482ecbd33f28564efd43841ae97b24e7
3
+ metadata.gz: b8c33185613834c1b545c00e5cb1e8166e152b52ba75733ea15d1a4c87a88c78
4
+ data.tar.gz: e13615d863da1630e3e016594c16d69dfaa2ba63989dcf60fd631e803b8601e6
5
5
  SHA512:
6
- metadata.gz: 02fcffed9bb3041caab9565dd5b8e288fa19b57897702c8049da86711eaaad9ec804434cf559fb9f39a284ce293fe97973be58794df39ff5a01dadb30ba8128b
7
- data.tar.gz: 2ed84222589b803d9334a74d21acc0e5518d811d57298c6193980d7e8f26b602fd9b2ca54b13c852c35f0cd89df255c3aa7e69635c415efd07fea81feddbf777
6
+ metadata.gz: 6de94298035344b69af7cdbd13060f90dad2db80470bc37b6ba46f58640dd56045f2d1ac262b73a0e559dcdd50c17f1e67466af6b3436b6d9655d4c5d1e34537
7
+ data.tar.gz: 419cb7d7b0fca8fda9814976fd6661408e0ce265a13221791023f228ce9b26b102c332e5b06dfeaae720bf4c14f39684a0ad3932fde648871901327bbf9686c0
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
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
+
1
5
  ## [0.5.2.1] - 2024-11-23
2
6
  - Fix typo in Sword key
3
7
  - Add better test coverage to catche incorrect names and keys
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- teyvatdb (0.5.2)
4
+ teyvatdb (0.5.2.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -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",
@@ -18,6 +18,10 @@ module GenshinData
18
18
  def for_kamera_key(key)
19
19
  all.select { |m| m.kamera_key == key }
20
20
  end
21
+
22
+ def for_name(name)
23
+ all.select { |m| m.name == name }
24
+ end
21
25
  end
22
26
  end
23
27
  end
@@ -154,7 +154,7 @@ module GenshinData
154
154
 
155
155
  RESISTANCE = GenshinObject::TalentBook.new(
156
156
  family: :resistance,
157
- name: "resistance",
157
+ name: "Resistance",
158
158
  nation_name: :mondstadt,
159
159
  schedule: GenshinObject::Schedule.new(
160
160
  tues_fri: true
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TeyvatDB
4
- VERSION = "0.5.2.1"
4
+ VERSION = "0.5.2.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: teyvatdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2.1
4
+ version: 0.5.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Haberer