teyvatdb 0.4.5.1 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +43 -37
- data/Rakefile +9 -2
- data/lib/genshin_data/characters/character_data.rb +15 -0
- data/lib/genshin_data/characters.rb +1 -0
- data/lib/genshin_data/materials/development/elite_monster_drops_data.rb +33 -0
- data/lib/genshin_data/materials/development/weekly_boss_drops_data.rb +36 -3
- data/lib/genshin_data/materials/development/world_boss_drops_data.rb +11 -0
- data/lib/genshin_data/weapons/weapon_data/polearms.rb +10 -0
- data/lib/genshin_data/weekly_bosses/weekly_boss_data.rb +8 -1
- data/lib/genshin_data/world_bosses/world_boss_data.rb +6 -0
- data/lib/teyvatdb/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0314a5f2177fd6bd82ae8ac14899deea9f353a31731979956ed42132b2e504b
|
4
|
+
data.tar.gz: cd18dd438adbc90157e012caaa4df89af08b8280085d4542798143a49e960094
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 887b36e1e85d0033f5332a8822d8dbe0c4787d4071a36a50239ba4ec1d7e830fe31be23044f79d0924ea07801824d4ff4e621df9db55d9ee6af6a23d50e591c8
|
7
|
+
data.tar.gz: f00d31efa3b8a5741983f7e5713c6a78969c73c3350793dcf2c43f2bd59d620fd55ee01957e3c0ec964781ceee4b9e4ce5ba63bc00c32678f31aa60eb01bd87e
|
data/Gemfile.lock
CHANGED
@@ -1,77 +1,82 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
teyvatdb (0.4.
|
4
|
+
teyvatdb (0.4.6)
|
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.
|
12
|
-
diff-lcs (1.5.
|
11
|
+
benchmark (0.3.0)
|
12
|
+
diff-lcs (1.5.1)
|
13
13
|
e2mmap (0.1.0)
|
14
14
|
jaro_winkler (1.5.6)
|
15
|
-
json (2.
|
15
|
+
json (2.7.2)
|
16
16
|
kramdown (2.4.0)
|
17
17
|
rexml
|
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.
|
21
|
+
nokogiri (1.16.4-x86_64-darwin)
|
22
22
|
racc (~> 1.4)
|
23
|
-
|
24
|
-
|
23
|
+
nokogiri (1.16.4-x86_64-linux)
|
24
|
+
racc (~> 1.4)
|
25
|
+
parallel (1.24.0)
|
26
|
+
parser (3.3.0.5)
|
25
27
|
ast (~> 2.4.1)
|
26
28
|
racc
|
27
|
-
racc (1.7.
|
29
|
+
racc (1.7.3)
|
28
30
|
rainbow (3.1.1)
|
29
|
-
rake (13.
|
31
|
+
rake (13.2.1)
|
30
32
|
rbs (2.8.4)
|
31
|
-
regexp_parser (2.
|
33
|
+
regexp_parser (2.9.0)
|
32
34
|
reverse_markdown (2.1.1)
|
33
35
|
nokogiri
|
34
|
-
rexml (3.2.
|
35
|
-
rspec (3.
|
36
|
-
rspec-core (~> 3.
|
37
|
-
rspec-expectations (~> 3.
|
38
|
-
rspec-mocks (~> 3.
|
36
|
+
rexml (3.2.6)
|
37
|
+
rspec (3.13.0)
|
38
|
+
rspec-core (~> 3.13.0)
|
39
|
+
rspec-expectations (~> 3.13.0)
|
40
|
+
rspec-mocks (~> 3.13.0)
|
39
41
|
rspec-collection_matchers (1.2.1)
|
40
42
|
rspec-expectations (>= 2.99.0.beta1)
|
41
|
-
rspec-core (3.
|
42
|
-
rspec-support (~> 3.
|
43
|
-
rspec-expectations (3.
|
43
|
+
rspec-core (3.13.0)
|
44
|
+
rspec-support (~> 3.13.0)
|
45
|
+
rspec-expectations (3.13.0)
|
44
46
|
diff-lcs (>= 1.2.0, < 2.0)
|
45
|
-
rspec-support (~> 3.
|
46
|
-
rspec-mocks (3.
|
47
|
+
rspec-support (~> 3.13.0)
|
48
|
+
rspec-mocks (3.13.0)
|
47
49
|
diff-lcs (>= 1.2.0, < 2.0)
|
48
|
-
rspec-support (~> 3.
|
49
|
-
rspec-support (3.
|
50
|
-
rubocop (1.
|
50
|
+
rspec-support (~> 3.13.0)
|
51
|
+
rspec-support (3.13.1)
|
52
|
+
rubocop (1.63.1)
|
51
53
|
json (~> 2.3)
|
52
54
|
language_server-protocol (>= 3.17.0)
|
53
55
|
parallel (~> 1.10)
|
54
|
-
parser (>= 3.
|
56
|
+
parser (>= 3.3.0.2)
|
55
57
|
rainbow (>= 2.2.2, < 4.0)
|
56
58
|
regexp_parser (>= 1.8, < 3.0)
|
57
59
|
rexml (>= 3.2.5, < 4.0)
|
58
|
-
rubocop-ast (>= 1.
|
60
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
59
61
|
ruby-progressbar (~> 1.7)
|
60
62
|
unicode-display_width (>= 2.4.0, < 3.0)
|
61
|
-
rubocop-ast (1.
|
62
|
-
parser (>= 3.
|
63
|
-
rubocop-capybara (2.
|
63
|
+
rubocop-ast (1.31.2)
|
64
|
+
parser (>= 3.3.0.4)
|
65
|
+
rubocop-capybara (2.20.0)
|
66
|
+
rubocop (~> 1.41)
|
67
|
+
rubocop-factory_bot (2.25.1)
|
64
68
|
rubocop (~> 1.41)
|
65
|
-
rubocop-factory_bot (2.24.0)
|
66
|
-
rubocop (~> 1.33)
|
67
69
|
rubocop-rake (0.6.0)
|
68
70
|
rubocop (~> 1.0)
|
69
|
-
rubocop-rspec (2.
|
70
|
-
rubocop (~> 1.
|
71
|
+
rubocop-rspec (2.29.1)
|
72
|
+
rubocop (~> 1.40)
|
71
73
|
rubocop-capybara (~> 2.17)
|
72
74
|
rubocop-factory_bot (~> 2.22)
|
75
|
+
rubocop-rspec_rails (~> 2.28)
|
76
|
+
rubocop-rspec_rails (2.28.3)
|
77
|
+
rubocop (~> 1.40)
|
73
78
|
ruby-progressbar (1.13.0)
|
74
|
-
solargraph (0.
|
79
|
+
solargraph (0.50.0)
|
75
80
|
backport (~> 1.2)
|
76
81
|
benchmark
|
77
82
|
bundler (~> 2.0)
|
@@ -87,14 +92,15 @@ GEM
|
|
87
92
|
thor (~> 1.0)
|
88
93
|
tilt (~> 2.0)
|
89
94
|
yard (~> 0.9, >= 0.9.24)
|
90
|
-
thor (1.
|
91
|
-
tilt (2.
|
92
|
-
unicode-display_width (2.
|
93
|
-
yard (0.9.
|
95
|
+
thor (1.3.1)
|
96
|
+
tilt (2.3.0)
|
97
|
+
unicode-display_width (2.5.0)
|
98
|
+
yard (0.9.36)
|
94
99
|
|
95
100
|
PLATFORMS
|
96
101
|
x86_64-darwin-21
|
97
102
|
x86_64-darwin-22
|
103
|
+
x86_64-linux
|
98
104
|
|
99
105
|
DEPENDENCIES
|
100
106
|
rake (~> 13.0)
|
data/Rakefile
CHANGED
@@ -3,10 +3,17 @@
|
|
3
3
|
require "bundler/gem_tasks"
|
4
4
|
require "rspec/core/rake_task"
|
5
5
|
|
6
|
-
RSpec::Core::RakeTask.new
|
6
|
+
RSpec::Core::RakeTask.new do |task|
|
7
|
+
test_dir = Rake.application.original_dir
|
8
|
+
task.pattern = "#{test_dir}/spec/**/*_spec.rb"
|
9
|
+
task.rspec_opts = ["-I#{test_dir}", "-f progress"]
|
10
|
+
task.verbose = false
|
11
|
+
end
|
7
12
|
|
8
13
|
require "rubocop/rake_task"
|
9
14
|
|
10
|
-
RuboCop::RakeTask.new
|
15
|
+
RuboCop::RakeTask.new do |task|
|
16
|
+
task.options = %w[-d -c ./.rubocop.yml]
|
17
|
+
end
|
11
18
|
|
12
19
|
task default: %i[spec rubocop]
|
@@ -78,6 +78,21 @@ module GenshinData
|
|
78
78
|
ascension_enemy_material_name: :slime
|
79
79
|
).freeze
|
80
80
|
|
81
|
+
ARLECCHINO = GenshinObject::Character.new(
|
82
|
+
kamera_key: "Arlecchino",
|
83
|
+
name: "Arlecchino",
|
84
|
+
nation_name: :fontaine,
|
85
|
+
rarity: 5,
|
86
|
+
element: :pyro,
|
87
|
+
weapon_type: :polearm,
|
88
|
+
talent_book_name: :order,
|
89
|
+
talent_rare_material_name: :fatui_insignia,
|
90
|
+
talent_boss_material_name: "FadingCandle",
|
91
|
+
ascension_boss_material_name: "FragmentOfAGoldenMemory",
|
92
|
+
ascension_gathering_material_name: "RainbowRose",
|
93
|
+
ascension_enemy_material_name: :fatui_insignia
|
94
|
+
).freeze
|
95
|
+
|
81
96
|
BAIZHU = GenshinObject::Character.new(
|
82
97
|
kamera_key: "Baizhu",
|
83
98
|
name: "Baizhu",
|
@@ -570,6 +570,17 @@ module GenshinData
|
|
570
570
|
nation_name: nil
|
571
571
|
).freeze
|
572
572
|
|
573
|
+
RUINED_HILT = GenshinObject::Material.new(
|
574
|
+
kamera_key: "Ruined Hilt",
|
575
|
+
name: "Ruined Hilt",
|
576
|
+
rarity: 2,
|
577
|
+
family: :stone_hilt,
|
578
|
+
inventory_type: :development_material,
|
579
|
+
source_category: :monster_loot,
|
580
|
+
source_sub_category: :elite_drop,
|
581
|
+
nation_name: nil
|
582
|
+
).freeze
|
583
|
+
|
573
584
|
SCOOP_OF_TAINTED_WATER = GenshinObject::Material.new(
|
574
585
|
kamera_key: "ScoopOfTaintedWater",
|
575
586
|
name: "Scoop of Tainted Water",
|
@@ -581,6 +592,28 @@ module GenshinData
|
|
581
592
|
nation_name: nil
|
582
593
|
).freeze
|
583
594
|
|
595
|
+
SPLINTERED_HILT = GenshinObject::Material.new(
|
596
|
+
kamera_key: "Splintered Hilt",
|
597
|
+
name: "Splintered Hilt",
|
598
|
+
rarity: 3,
|
599
|
+
family: :stone_hilt,
|
600
|
+
inventory_type: :development_material,
|
601
|
+
source_category: :monster_loot,
|
602
|
+
source_sub_category: :elite_drop,
|
603
|
+
nation_name: nil
|
604
|
+
).freeze
|
605
|
+
|
606
|
+
STILL_SMOLDERING_HILT = GenshinObject::Material.new(
|
607
|
+
kamera_key: "Still-Smoldering Hilt",
|
608
|
+
name: "Still-Smoldering Hilt",
|
609
|
+
rarity: 4,
|
610
|
+
family: :stone_hilt,
|
611
|
+
inventory_type: :development_material,
|
612
|
+
source_category: :monster_loot,
|
613
|
+
source_sub_category: :elite_drop,
|
614
|
+
nation_name: nil
|
615
|
+
).freeze
|
616
|
+
|
584
617
|
STURDY_BONE_SHARD = GenshinObject::Material.new(
|
585
618
|
kamera_key: "SturdyBoneShard",
|
586
619
|
name: "Sturdy Bone Shard",
|
@@ -281,7 +281,7 @@ module GenshinData
|
|
281
281
|
inventory_type: :development_material,
|
282
282
|
source_category: :boss_loot,
|
283
283
|
source_sub_category: :all_devouring_narwhal_drop,
|
284
|
-
nation_name: :
|
284
|
+
nation_name: :fontaine
|
285
285
|
).freeze
|
286
286
|
|
287
287
|
LIGHTLESS_EYE_OF_THE_MAELSTROM = GenshinObject::Material.new(
|
@@ -292,7 +292,7 @@ module GenshinData
|
|
292
292
|
inventory_type: :development_material,
|
293
293
|
source_category: :boss_loot,
|
294
294
|
source_sub_category: :all_devouring_narwhal_drop,
|
295
|
-
nation_name: :
|
295
|
+
nation_name: :fontaine
|
296
296
|
).freeze
|
297
297
|
|
298
298
|
LIGHTLESS_MASS = GenshinObject::Material.new(
|
@@ -303,7 +303,40 @@ module GenshinData
|
|
303
303
|
inventory_type: :development_material,
|
304
304
|
source_category: :boss_loot,
|
305
305
|
source_sub_category: :all_devouring_narwhal_drop,
|
306
|
-
nation_name: :
|
306
|
+
nation_name: :fontaine
|
307
|
+
).freeze
|
308
|
+
|
309
|
+
DENIAL_AND_JUDGEMENT = GenshinObject::Material.new(
|
310
|
+
kamera_key: "DenialAndJudgment",
|
311
|
+
name: "Denial and Judgment",
|
312
|
+
rarity: 5,
|
313
|
+
family: :the_knave_loot,
|
314
|
+
inventory_type: :development_material,
|
315
|
+
source_category: :boss_loot,
|
316
|
+
source_sub_category: :the_knave_drop,
|
317
|
+
nation_name: :fontaine
|
318
|
+
).freeze
|
319
|
+
|
320
|
+
FADING_CANDLE = GenshinObject::Material.new(
|
321
|
+
kamera_key: "FadingCandle",
|
322
|
+
name: "Fading Candle",
|
323
|
+
rarity: 5,
|
324
|
+
family: :the_knave_loot,
|
325
|
+
inventory_type: :development_material,
|
326
|
+
source_category: :boss_loot,
|
327
|
+
source_sub_category: :the_knave_drop,
|
328
|
+
nation_name: :fontaine
|
329
|
+
).freeze
|
330
|
+
|
331
|
+
SILKEN_FEATHER = GenshinObject::Material.new(
|
332
|
+
kamera_key: "SilkenFeather",
|
333
|
+
name: "Silken Feather",
|
334
|
+
rarity: 5,
|
335
|
+
family: :the_knave_loot,
|
336
|
+
inventory_type: :development_material,
|
337
|
+
source_category: :boss_loot,
|
338
|
+
source_sub_category: :the_knave_drop,
|
339
|
+
nation_name: :fontaine
|
307
340
|
).freeze
|
308
341
|
end
|
309
342
|
end
|
@@ -130,6 +130,17 @@ module GenshinData
|
|
130
130
|
nation_name: :sumeru
|
131
131
|
).freeze
|
132
132
|
|
133
|
+
FRAGMENT_OF_A_GOLDEN_MEMORY = GenshinObject::Material.new(
|
134
|
+
kamera_key: "FragmentOfAGoldenMemory",
|
135
|
+
name: "Fragment of a Golden Memory",
|
136
|
+
rarity: 4,
|
137
|
+
family: nil,
|
138
|
+
inventory_type: :development_material,
|
139
|
+
source_category: :boss_loot,
|
140
|
+
source_sub_category: :world_boss_drop,
|
141
|
+
nation_name: :fontaine
|
142
|
+
).freeze
|
143
|
+
|
133
144
|
FONTEMER_UNIHORN = GenshinObject::Material.new(
|
134
145
|
kamera_key: "FontemerUnihorn",
|
135
146
|
name: "Fontemer Unihorn",
|
@@ -69,6 +69,16 @@ module GenshinData
|
|
69
69
|
weapon_material_type: :guyun
|
70
70
|
).freeze
|
71
71
|
|
72
|
+
CRIMSON_MOONS_SEMBLANCE = GenshinObject::Weapon.new(
|
73
|
+
kamera_key: "CrimsonMoonsSemblance",
|
74
|
+
name: "Crimson Moon's Semblance",
|
75
|
+
rarity: 5,
|
76
|
+
weapon_type: :polearm,
|
77
|
+
elite_material_type: :stone_hilt,
|
78
|
+
standard_material_type: :gear,
|
79
|
+
weapon_material_type: :pristine_sea
|
80
|
+
).freeze
|
81
|
+
|
72
82
|
DEATHMATCH = GenshinObject::Weapon.new(
|
73
83
|
kamera_key: "Deathmatch",
|
74
84
|
name: "Deathmatch",
|
@@ -19,7 +19,7 @@ module GenshinData
|
|
19
19
|
name: "Lupus Boreas, Dominator of Wolves",
|
20
20
|
domain_name: "Wolvendom Arena",
|
21
21
|
nation_name: :mondstadt,
|
22
|
-
material_family: :
|
22
|
+
material_family: :wolf_lord_loot
|
23
23
|
)
|
24
24
|
|
25
25
|
CHILD = GenshinObject::WeeklyBoss.new(
|
@@ -70,6 +70,13 @@ module GenshinData
|
|
70
70
|
nation_name: :fontaine,
|
71
71
|
material_family: :all_devouring_narwhal_loot
|
72
72
|
)
|
73
|
+
|
74
|
+
THE_KNAVE = GenshinObject::WeeklyBoss.new(
|
75
|
+
name: "The Knave",
|
76
|
+
domain_name: "Scattered Ruins",
|
77
|
+
nation_name: :fontaine,
|
78
|
+
material_family: :the_knave_loot
|
79
|
+
)
|
73
80
|
end
|
74
81
|
end
|
75
82
|
end
|
@@ -182,6 +182,12 @@ module GenshinData
|
|
182
182
|
boss_material: "CloudseamScale"
|
183
183
|
)
|
184
184
|
|
185
|
+
STATUE_OF_MARBLE_AND_BRASS = GenshinObject::WorldBoss.new(
|
186
|
+
name: "Statue of Marble and Brass",
|
187
|
+
nation_name: :fontaine,
|
188
|
+
boss_material: "FragmentOfAGoldenMemory"
|
189
|
+
)
|
190
|
+
|
185
191
|
THUNDER_MANIFESTATION = GenshinObject::WorldBoss.new(
|
186
192
|
name: "Thunder Manifestation",
|
187
193
|
nation_name: :inazuma,
|
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.4.
|
4
|
+
version: 0.4.6
|
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
|
+
date: 2024-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Gem to provide basic genshin data to my other projects
|
14
14
|
email:
|