teyvatdb 0.5.2.4 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +4 -2
- data/CHANGELOG.md +12 -0
- data/Gemfile.lock +28 -38
- data/lib/genshin_data/characters/character_data.rb +30 -0
- data/lib/genshin_data/characters.rb +2 -0
- data/lib/genshin_data/materials/development/weekly_boss_drops_data.rb +33 -0
- data/lib/genshin_data/materials/development/world_boss_drops_data.rb +11 -0
- data/lib/genshin_data/materials/standard/cooking_material_data.rb +3 -3
- data/lib/genshin_data/weapons/weapon_data/catalysts.rb +10 -0
- data/lib/genshin_data/weapons/weapon_data/claymores.rb +10 -0
- data/lib/genshin_data/weekly_bosses/weekly_boss_data.rb +7 -0
- data/lib/genshin_data/world_bosses/world_boss_data.rb +7 -1
- data/lib/teyvatdb/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ae9205dd6abbbac1c2460bda17326f3fe8d80c09d1df875e13c7d155124dabf
|
4
|
+
data.tar.gz: '0597f9bddd4ee74c5481eb39ee9e330010e0166316ffe6cba59960346594e2c4'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
10
|
+
TargetRubyVersion: 3.3.6
|
9
11
|
Exclude:
|
10
|
-
- '
|
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.
|
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.
|
11
|
+
benchmark (0.4.0)
|
12
12
|
diff-lcs (1.5.1)
|
13
13
|
e2mmap (0.1.0)
|
14
|
-
jaro_winkler (1.
|
15
|
-
json (2.
|
16
|
-
kramdown (2.
|
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.
|
21
|
+
nokogiri (1.16.7-arm64-darwin)
|
22
22
|
racc (~> 1.4)
|
23
|
-
nokogiri (1.16.
|
23
|
+
nokogiri (1.16.7-x86_64-darwin)
|
24
24
|
racc (~> 1.4)
|
25
|
-
nokogiri (1.16.
|
25
|
+
nokogiri (1.16.7-x86_64-linux)
|
26
26
|
racc (~> 1.4)
|
27
|
-
parallel (1.
|
28
|
-
parser (3.3.0
|
27
|
+
parallel (1.26.3)
|
28
|
+
parser (3.3.6.0)
|
29
29
|
ast (~> 2.4.1)
|
30
30
|
racc
|
31
|
-
racc (1.
|
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.
|
35
|
+
regexp_parser (2.9.2)
|
36
36
|
reverse_markdown (2.1.1)
|
37
37
|
nokogiri
|
38
|
-
rexml (3.
|
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.
|
45
|
+
rspec-core (3.13.2)
|
46
46
|
rspec-support (~> 3.13.0)
|
47
|
-
rspec-expectations (3.13.
|
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.
|
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.
|
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 (>=
|
61
|
-
|
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.
|
66
|
-
parser (>= 3.3.0
|
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.
|
74
|
-
rubocop (~> 1.
|
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.
|
98
|
-
tilt (2.
|
99
|
-
unicode-display_width (2.
|
100
|
-
yard (0.9.
|
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
|
-
|
503
|
-
kamera_key: "
|
504
|
-
name: "
|
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
|
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
|
data/lib/teyvatdb/version.rb
CHANGED
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.
|
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:
|
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.
|
102
|
+
version: 3.3.6
|
103
103
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
104
104
|
requirements:
|
105
105
|
- - ">="
|