teyvatdb 0.5.2.4 → 0.5.4

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: 8f4fba1b18518d8363189471ec01e46e2fd49926c35fcba7f43da7cf4ec1004d
4
- data.tar.gz: 8cf03d2b737fca1ffddf8412ba09a5e158286e248684d2c53ed9cab794a234f1
3
+ metadata.gz: 6cb0742b68e04ac78144e690a41c22d211ed678dc0e5817da43039610cc78be0
4
+ data.tar.gz: a640d045226208af44df58a2a98803d1d4ca57ae491048853568f1c6fc46c255
5
5
  SHA512:
6
- metadata.gz: 7b366d9ed16775ba974e1bb595c0b4ef24aee56098c6c017e190dd163758eac143eb69e5ab94b132fa235d61c8b2751ba1e6c4d4372c6ead6d2fb36c3db664e1
7
- data.tar.gz: 1d7b545de0eebae8abbd96901cbb99750b55ed4b438efc620b4769dee6374ce47c7760e8cadca201dd54f4f80b794c7f97804a7714ae2f0a2432d13ac8a0edfa
6
+ metadata.gz: 8abc9a399428dc4a96e79cb5e7f2501fb6e618b96da4be9bc27005d19afaca4c8712490efb96ccaa143e51c262b86e5d3926802fc26e5bbae4c946a00fe0e108
7
+ data.tar.gz: 294811ccefaae23f40e92cf011cfd10641f8df65b7d4d377419ab6c9edce17cfd37f081b5ba8608d87f1851e6555e4e1a3c63d6f83adf97305618e7293ca21cc
data/.rubocop.yml CHANGED
@@ -1,13 +1,15 @@
1
1
  inherit_from: .rubocop_todo.yml
2
+
3
+
2
4
  require:
3
5
  - rubocop-rake
4
6
  - rubocop-rspec
5
7
 
6
8
  AllCops:
7
9
  NewCops: enable
8
- TargetRubyVersion: 3.1
10
+ TargetRubyVersion: 3.3.6
9
11
  Exclude:
10
- - 'lib/teyvatdb/import.rb'
12
+ - 'vendor/*'
11
13
 
12
14
  Style/StringLiterals:
13
15
  Enabled: true
data/CHANGELOG.md CHANGED
@@ -1,3 +1,22 @@
1
+ ## [0.5.4] - 2025-02-14
2
+ - Add Character:
3
+ - Yumemizuki Mizuki
4
+ - Add Weapons
5
+ - Sunny Morning Sleep-In (5)
6
+ - Tamayuratei no Ohanashi (4)
7
+
8
+ ## [0.5.3] - 2025-01-20
9
+ - Add Characters:
10
+ - Mavuika (5)
11
+ - Citlali (5)
12
+ - Add Weapons
13
+ - A Thousand Blazing Suns (5)
14
+ - Starcaller's Watch (5)
15
+ - Add Weekly Boss & Loot
16
+ - Lord of Eroded Primal Fire
17
+ - Add World Boss & Loot
18
+ - Wayward Hermetic Spiritspeaker
19
+
1
20
  ## [0.5.2.4] - 2024-11-23
2
21
  - Fix typo in material
3
22
 
data/Gemfile.lock CHANGED
@@ -1,82 +1,72 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- teyvatdb (0.5.2.2)
4
+ teyvatdb (0.5.4)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
9
  ast (2.4.2)
10
10
  backport (1.2.0)
11
- benchmark (0.3.0)
11
+ benchmark (0.4.0)
12
12
  diff-lcs (1.5.1)
13
13
  e2mmap (0.1.0)
14
- jaro_winkler (1.5.6)
15
- json (2.7.2)
16
- kramdown (2.4.0)
17
- rexml
14
+ jaro_winkler (1.6.0)
15
+ json (2.8.2)
16
+ kramdown (2.5.1)
17
+ rexml (>= 3.3.9)
18
18
  kramdown-parser-gfm (1.1.0)
19
19
  kramdown (~> 2.0)
20
20
  language_server-protocol (3.17.0.3)
21
- nokogiri (1.16.4-arm64-darwin)
21
+ nokogiri (1.16.7-arm64-darwin)
22
22
  racc (~> 1.4)
23
- nokogiri (1.16.4-x86_64-darwin)
23
+ nokogiri (1.16.7-x86_64-darwin)
24
24
  racc (~> 1.4)
25
- nokogiri (1.16.4-x86_64-linux)
25
+ nokogiri (1.16.7-x86_64-linux)
26
26
  racc (~> 1.4)
27
- parallel (1.24.0)
28
- parser (3.3.0.5)
27
+ parallel (1.26.3)
28
+ parser (3.3.6.0)
29
29
  ast (~> 2.4.1)
30
30
  racc
31
- racc (1.7.3)
31
+ racc (1.8.1)
32
32
  rainbow (3.1.1)
33
33
  rake (13.2.1)
34
34
  rbs (2.8.4)
35
- regexp_parser (2.9.0)
35
+ regexp_parser (2.9.2)
36
36
  reverse_markdown (2.1.1)
37
37
  nokogiri
38
- rexml (3.2.6)
38
+ rexml (3.3.9)
39
39
  rspec (3.13.0)
40
40
  rspec-core (~> 3.13.0)
41
41
  rspec-expectations (~> 3.13.0)
42
42
  rspec-mocks (~> 3.13.0)
43
43
  rspec-collection_matchers (1.2.1)
44
44
  rspec-expectations (>= 2.99.0.beta1)
45
- rspec-core (3.13.0)
45
+ rspec-core (3.13.2)
46
46
  rspec-support (~> 3.13.0)
47
- rspec-expectations (3.13.0)
47
+ rspec-expectations (3.13.3)
48
48
  diff-lcs (>= 1.2.0, < 2.0)
49
49
  rspec-support (~> 3.13.0)
50
- rspec-mocks (3.13.0)
50
+ rspec-mocks (3.13.2)
51
51
  diff-lcs (>= 1.2.0, < 2.0)
52
52
  rspec-support (~> 3.13.0)
53
53
  rspec-support (3.13.1)
54
- rubocop (1.63.1)
54
+ rubocop (1.68.0)
55
55
  json (~> 2.3)
56
56
  language_server-protocol (>= 3.17.0)
57
57
  parallel (~> 1.10)
58
58
  parser (>= 3.3.0.2)
59
59
  rainbow (>= 2.2.2, < 4.0)
60
- regexp_parser (>= 1.8, < 3.0)
61
- rexml (>= 3.2.5, < 4.0)
62
- rubocop-ast (>= 1.31.1, < 2.0)
60
+ regexp_parser (>= 2.4, < 3.0)
61
+ rubocop-ast (>= 1.32.2, < 2.0)
63
62
  ruby-progressbar (~> 1.7)
64
63
  unicode-display_width (>= 2.4.0, < 3.0)
65
- rubocop-ast (1.31.2)
66
- parser (>= 3.3.0.4)
67
- rubocop-capybara (2.20.0)
68
- rubocop (~> 1.41)
69
- rubocop-factory_bot (2.25.1)
70
- rubocop (~> 1.41)
64
+ rubocop-ast (1.36.1)
65
+ parser (>= 3.3.1.0)
71
66
  rubocop-rake (0.6.0)
72
67
  rubocop (~> 1.0)
73
- rubocop-rspec (2.29.1)
74
- rubocop (~> 1.40)
75
- rubocop-capybara (~> 2.17)
76
- rubocop-factory_bot (~> 2.22)
77
- rubocop-rspec_rails (~> 2.28)
78
- rubocop-rspec_rails (2.28.3)
79
- rubocop (~> 1.40)
68
+ rubocop-rspec (3.2.0)
69
+ rubocop (~> 1.61)
80
70
  ruby-progressbar (1.13.0)
81
71
  solargraph (0.50.0)
82
72
  backport (~> 1.2)
@@ -94,10 +84,10 @@ GEM
94
84
  thor (~> 1.0)
95
85
  tilt (~> 2.0)
96
86
  yard (~> 0.9, >= 0.9.24)
97
- thor (1.3.1)
98
- tilt (2.3.0)
99
- unicode-display_width (2.5.0)
100
- yard (0.9.36)
87
+ thor (1.3.2)
88
+ tilt (2.4.0)
89
+ unicode-display_width (2.6.0)
90
+ yard (0.9.37)
101
91
 
102
92
  PLATFORMS
103
93
  arm64-darwin-24
@@ -243,6 +243,21 @@ module GenshinData
243
243
  ascension_enemy_material_name: :hilichurl_mask
244
244
  ).freeze
245
245
 
246
+ CITLALI = GenshinObject::Character.new(
247
+ kamera_key: "Citlali",
248
+ name: "Citlali",
249
+ nation_name: :natlan,
250
+ rarity: 5,
251
+ element: :cryo,
252
+ weapon_type: :catalyst,
253
+ talent_book_name: :kindling,
254
+ talent_rare_material_name: :fang,
255
+ talent_boss_material_name: "DenialAndJudgement",
256
+ ascension_boss_material_name: "TalismanOfTheEnigmaticLand",
257
+ ascension_gathering_material_name: "QuenepaBerry",
258
+ ascension_enemy_material_name: :fang
259
+ ).freeze
260
+
246
261
  CLORINDE = GenshinObject::Character.new(
247
262
  kamera_key: "Clorinde",
248
263
  name: "Clorinde",
@@ -738,6 +753,21 @@ module GenshinData
738
753
  ascension_enemy_material_name: :fatui_insignia
739
754
  ).freeze
740
755
 
756
+ MAVUIKA = GenshinObject::Character.new(
757
+ kamera_key: "Mavuika",
758
+ name: "Mavuika",
759
+ nation_name: :natlan,
760
+ rarity: 5,
761
+ element: :pyro,
762
+ weapon_type: :claymore,
763
+ talent_book_name: :contention,
764
+ talent_rare_material_name: :whistle,
765
+ talent_boss_material_name: "ErodedHorn",
766
+ ascension_boss_material_name: "GoldInscribedSecretSourceCore",
767
+ ascension_gathering_material_name: "WitheringPurpurbloom",
768
+ ascension_enemy_material_name: :whistle
769
+ ).freeze
770
+
741
771
  MIKA = GenshinObject::Character.new(
742
772
  kamera_key: "Mika",
743
773
  name: "Mika",
@@ -1308,6 +1338,21 @@ module GenshinData
1308
1338
  ascension_enemy_material_name: :scroll
1309
1339
  ).freeze
1310
1340
 
1341
+ YUMEMIZUKI_MIZUKI = GenshinObject::Character.new(
1342
+ kamera_key: "YumemizukiMizuki",
1343
+ name: "Yumemizuki Mizuki",
1344
+ nation_name: :inazuma,
1345
+ rarity: 5,
1346
+ element: :anemo,
1347
+ weapon_type: :catalyst,
1348
+ talent_book_name: :transience,
1349
+ talent_rare_material_name: :handguard,
1350
+ talent_boss_material_name: "FadingCandle",
1351
+ ascension_boss_material_name: "TalismanOfTheEnigmaticLand",
1352
+ ascension_gathering_material_name: "SeaGanoderma",
1353
+ ascension_enemy_material_name: :handguard
1354
+ ).freeze
1355
+
1311
1356
  YUN_JIN = GenshinObject::Character.new(
1312
1357
  kamera_key: "YunJin",
1313
1358
  name: "Yun Jin",
@@ -54,7 +54,8 @@ module GenshinData
54
54
  CharacterData::THOMA,
55
55
  CharacterData::WANDERER,
56
56
  CharacterData::YAE_MIKO,
57
- CharacterData::YOIMIYA
57
+ CharacterData::YOIMIYA,
58
+ CharacterData::YUMEMIZUKI_MIZUKI
58
59
  ]
59
60
  end
60
61
 
@@ -110,8 +111,10 @@ module GenshinData
110
111
  def natlan
111
112
  [
112
113
  CharacterData::CHASCA,
114
+ CharacterData::CITLALI,
113
115
  CharacterData::KACHINA,
114
116
  CharacterData::KINICH,
117
+ CharacterData::MAVUIKA,
115
118
  CharacterData::MUALANI,
116
119
  CharacterData::ORORON,
117
120
  CharacterData::XILONEN
@@ -338,6 +338,39 @@ module GenshinData
338
338
  source_sub_category: :the_knave_drop,
339
339
  nation_name: :fontaine
340
340
  ).freeze
341
+
342
+ ERODED_HORN = GenshinObject::Material.new(
343
+ kamera_key: "ErodedHorn",
344
+ name: "Eroded Horn",
345
+ rarity: 5,
346
+ family: :lord_of_primal_fire_loot,
347
+ inventory_type: :development_material,
348
+ source_category: :boss_loot,
349
+ source_sub_category: :lord_of_primal_fire_drop,
350
+ nation_name: :natlan
351
+ ).freeze
352
+
353
+ ERODED_SUNFIRE = GenshinObject::Material.new(
354
+ kamera_key: "ErodedSunfire",
355
+ name: "Eroded Sunfire",
356
+ rarity: 5,
357
+ family: :lord_of_primal_fire_loot,
358
+ inventory_type: :development_material,
359
+ source_category: :boss_loot,
360
+ source_sub_category: :lord_of_primal_fire_drop,
361
+ nation_name: :natlan
362
+ ).freeze
363
+
364
+ ERODED_SCALE_FEATHER = GenshinObject::Material.new(
365
+ kamera_key: "ErodedScaleFeather",
366
+ name: "Eroded Scale-Feather",
367
+ rarity: 5,
368
+ family: :lord_of_primal_fire_loot,
369
+ inventory_type: :development_material,
370
+ source_category: :boss_loot,
371
+ source_sub_category: :lord_of_primal_fire_drop,
372
+ nation_name: :natlan
373
+ ).freeze
341
374
  end
342
375
  end
343
376
  end
@@ -361,6 +361,17 @@ module GenshinData
361
361
  nation_name: :inazuma
362
362
  ).freeze
363
363
 
364
+ TALISMAN_OF_THE_ENIGMATIC_LAND = GenshinObject::Material.new(
365
+ kamera_key: "TalismanOfTheEnigmaticLand",
366
+ name: "Talisman of the Enigmatic Land",
367
+ rarity: 4,
368
+ family: nil,
369
+ inventory_type: :development_material,
370
+ source_category: :boss_loot,
371
+ source_sub_category: :world_boss_drop,
372
+ nation_name: :natlan
373
+ ).freeze
374
+
364
375
  THUNDERCLAP_FRUITCORE = GenshinObject::Material.new(
365
376
  kamera_key: "ThunderclapFruitcore",
366
377
  name: "Thunderclap Fruitcore",
@@ -499,9 +499,9 @@ module GenshinData
499
499
  source_sub_category: :cooking
500
500
  ).freeze
501
501
 
502
- SPINAL_FRUIT = GenshinObject::Material.new(
503
- kamera_key: "SpinalFruit",
504
- name: "Spinal Fruit",
502
+ SPINEL_FRUIT = GenshinObject::Material.new(
503
+ kamera_key: "SpinelFruit",
504
+ name: "Spinel Fruit",
505
505
  rarity: 1,
506
506
  family: nil,
507
507
  inventory_type: :standard_material,
@@ -319,6 +319,26 @@ module GenshinData
319
319
  weapon_material_type: :guyun
320
320
  ).freeze
321
321
 
322
+ STARCALLERS_WATCH = GenshinObject::Weapon.new(
323
+ kamera_key: "StarcallersWatch",
324
+ name: "Starcaller's Watch",
325
+ rarity: 5,
326
+ weapon_type: :catalyst,
327
+ elite_material_type: :wayob_will,
328
+ standard_material_type: :whistle,
329
+ weapon_material_type: :sacred_lord
330
+ ).freeze
331
+
332
+ SUNNY_MORNING_SLEEP_IN = GenshinObject::Weapon.new(
333
+ kamera_key: "SunnyMorningSleepIn",
334
+ name: "Sunny Morning Sleep-In",
335
+ rarity: 5,
336
+ weapon_type: :catalyst,
337
+ elite_material_type: :ignited,
338
+ standard_material_type: :spectral,
339
+ weapon_material_type: :narukami
340
+ ).freeze
341
+
322
342
  SURFS_UP = GenshinObject::Weapon.new(
323
343
  kamera_key: "SurfsUp",
324
344
  name: "Surf's Up",
@@ -9,6 +9,16 @@ module GenshinData
9
9
  constants.map { |x| GenshinData::Weapons::WeaponData::Claymores.const_get(x) }
10
10
  end
11
11
 
12
+ A_THOUSAND_BLAZING_SUNS = GenshinObject::Weapon.new(
13
+ kamera_key: "AThousandBlazingSuns",
14
+ name: "A Thousand Blazing Suns",
15
+ rarity: 5,
16
+ weapon_type: :claymore,
17
+ elite_material_type: :secret_source,
18
+ standard_material_type: :fang,
19
+ weapon_material_type: :blazing_heart
20
+ ).freeze
21
+
12
22
  AKUOUMARU = GenshinObject::Weapon.new(
13
23
  kamera_key: "Akuoumaru",
14
24
  name: "Akuoumaru",
@@ -289,6 +289,16 @@ module GenshinData
289
289
  weapon_material_type: :oasis_garden
290
290
  ).freeze
291
291
 
292
+ TAMAYURATEI_NO_OHANASHI = GenshinObject::Weapon.new(
293
+ kamera_key: "TamayurateiNoOhanashi",
294
+ name: "Tamayuratei no Ohanashi",
295
+ rarity: 4,
296
+ weapon_type: :polearm,
297
+ elite_material_type: :abyss_leaf,
298
+ standard_material_type: :handguard,
299
+ weapon_material_type: :oni_mask
300
+ ).freeze
301
+
292
302
  THE_CATCH = GenshinObject::Weapon.new(
293
303
  kamera_key: "TheCatch",
294
304
  name: "Catch, The",
@@ -77,6 +77,13 @@ module GenshinData
77
77
  nation_name: :fontaine,
78
78
  material_family: :the_knave_loot
79
79
  )
80
+
81
+ LORD_OF_PRIMAL_FIRE = GenshinObject::WeeklyBoss.new(
82
+ name: "Lord of Eroded Primal Fire",
83
+ domain_name: "Scattered Ruins",
84
+ nation_name: :natlan,
85
+ material_family: :lord_of_primal_fire_loot
86
+ )
80
87
  end
81
88
  end
82
89
  end
@@ -86,7 +86,7 @@ module GenshinData
86
86
  boss_material: "RiftbornRegalia"
87
87
  )
88
88
 
89
- GOLDFLAME_QUCUSAUR_TYRANT = GenshinObject::WorldBoss.new(
89
+ GOLDFLAME_QUCUSAUR_TYRANT = GenshinObject::WorldBoss.new(
90
90
  name: "Goldflame Qucusaur Tyrant",
91
91
  nation_name: :natlan,
92
92
  boss_material: "MarkOfTheBindingBlessing"
@@ -217,6 +217,12 @@ module GenshinData
217
217
  nation_name: :inazuma,
218
218
  boss_material: "StormBeads"
219
219
  )
220
+
221
+ WAYWARD_HERMETIC_SPIRITSPEAKER = GenshinObject::WorldBoss.new(
222
+ name: "Wayward Hermetic Spiritspeaker",
223
+ nation_name: :natlan,
224
+ boss_material: "TalismanOfTheEnigmaticLand"
225
+ )
220
226
  end
221
227
  end
222
228
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TeyvatDB
4
- VERSION = "0.5.2.4"
4
+ VERSION = "0.5.4"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: teyvatdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2.4
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Haberer
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-11-24 00:00:00.000000000 Z
11
+ date: 2025-02-15 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Gem to provide basic genshin data to my other projects
14
14
  email:
@@ -99,14 +99,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
99
99
  requirements:
100
100
  - - ">="
101
101
  - !ruby/object:Gem::Version
102
- version: 3.1.0
102
+ version: 3.3.6
103
103
  required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  requirements:
105
105
  - - ">="
106
106
  - !ruby/object:Gem::Version
107
107
  version: '0'
108
108
  requirements: []
109
- rubygems_version: 3.5.23
109
+ rubygems_version: 3.5.22
110
110
  signing_key:
111
111
  specification_version: 4
112
112
  summary: TeyvatDB is a gem to provide Genshin game data in a standardized way across