teyvatdb 0.5.2.4 → 0.5.3

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: 5ae9205dd6abbbac1c2460bda17326f3fe8d80c09d1df875e13c7d155124dabf
4
+ data.tar.gz: '0597f9bddd4ee74c5481eb39ee9e330010e0166316ffe6cba59960346594e2c4'
5
5
  SHA512:
6
- metadata.gz: 7b366d9ed16775ba974e1bb595c0b4ef24aee56098c6c017e190dd163758eac143eb69e5ab94b132fa235d61c8b2751ba1e6c4d4372c6ead6d2fb36c3db664e1
7
- data.tar.gz: 1d7b545de0eebae8abbd96901cbb99750b55ed4b438efc620b4769dee6374ce47c7760e8cadca201dd54f4f80b794c7f97804a7714ae2f0a2432d13ac8a0edfa
6
+ metadata.gz: 81683ba91c48a4e25b9b0c1a7001b89ce1d079fd7653bd1e89d682b845a039d2b9f22b6462bd16db9c80423532e21044ac14cc4ece28f43fc158dfee3b460417
7
+ data.tar.gz: f7d88f35e6b356b17d844885369453cd654c4f0616196c932d8a1cd9cee3a9540d9b65497640c316eacf44a7f4d278889e87e530eef846c1db00c7db58f7ce3b
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,15 @@
1
+ ## [0.5.3] - 2025-01-20
2
+ - Add Characters:
3
+ - Mavuika (5)
4
+ - Citlali (5)
5
+ - Add Weapons
6
+ - A Thousand Blazing Suns (5)
7
+ - Starcaller's Watch (5)
8
+ - Add Weekly Boss & Loot
9
+ - Lord of Eroded Primal Fire
10
+ - Add World Boss & Loot
11
+ - Wayward Hermetic Spiritspeaker
12
+
1
13
  ## [0.5.2.4] - 2024-11-23
2
14
  - Fix typo in material
3
15
 
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.2.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",
@@ -110,8 +110,10 @@ module GenshinData
110
110
  def natlan
111
111
  [
112
112
  CharacterData::CHASCA,
113
+ CharacterData::CITLALI,
113
114
  CharacterData::KACHINA,
114
115
  CharacterData::KINICH,
116
+ CharacterData::MAVUIKA,
115
117
  CharacterData::MUALANI,
116
118
  CharacterData::ORORON,
117
119
  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,16 @@ 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
+
322
332
  SURFS_UP = GenshinObject::Weapon.new(
323
333
  kamera_key: "SurfsUp",
324
334
  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",
@@ -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.3"
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.3
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-01-20 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,7 +99,7 @@ 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
  - - ">="