teyvatdb 0.4.5.1 → 0.4.6

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: 8395f10a3712dde84825ef112b20b24f6c2ef2e009b9cffd38fb458b6a773e28
4
- data.tar.gz: e5b005bb5684d6ca719287a13136789460f30fcb3150215dacb7b70a63adda88
3
+ metadata.gz: b0314a5f2177fd6bd82ae8ac14899deea9f353a31731979956ed42132b2e504b
4
+ data.tar.gz: cd18dd438adbc90157e012caaa4df89af08b8280085d4542798143a49e960094
5
5
  SHA512:
6
- metadata.gz: a21dd4fdca1223f06eaa48ca89d4d90178e0a85260d17b067bb88cef3ffc6e75d59d8e8f3af865fba5ac6c0bafb63da1f107c1a1928c485dcf19cc7d38197b5f
7
- data.tar.gz: 87a06e196b4f820dcd3b711a2cde700ba7f540f472ca68997874f9c397475432e4881d1588525906a42a3a5d670817460bafe2cc25b7c755d9d32ff893575a37
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.5.1)
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.2.1)
12
- diff-lcs (1.5.0)
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.6.3)
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.15.3-x86_64-darwin)
21
+ nokogiri (1.16.4-x86_64-darwin)
22
22
  racc (~> 1.4)
23
- parallel (1.23.0)
24
- parser (3.2.2.3)
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.1)
29
+ racc (1.7.3)
28
30
  rainbow (3.1.1)
29
- rake (13.0.6)
31
+ rake (13.2.1)
30
32
  rbs (2.8.4)
31
- regexp_parser (2.8.1)
33
+ regexp_parser (2.9.0)
32
34
  reverse_markdown (2.1.1)
33
35
  nokogiri
34
- rexml (3.2.5)
35
- rspec (3.12.0)
36
- rspec-core (~> 3.12.0)
37
- rspec-expectations (~> 3.12.0)
38
- rspec-mocks (~> 3.12.0)
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.12.2)
42
- rspec-support (~> 3.12.0)
43
- rspec-expectations (3.12.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.12.0)
46
- rspec-mocks (3.12.6)
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.12.0)
49
- rspec-support (3.12.1)
50
- rubocop (1.54.2)
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.2.2.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.28.0, < 2.0)
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.29.0)
62
- parser (>= 3.2.1.0)
63
- rubocop-capybara (2.19.0)
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.24.1)
70
- rubocop (~> 1.33)
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.49.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.2.2)
91
- tilt (2.2.0)
92
- unicode-display_width (2.4.2)
93
- yard (0.9.34)
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(:spec)
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",
@@ -21,6 +21,7 @@ module GenshinData
21
21
 
22
22
  def fontaine
23
23
  [
24
+ CharacterData::ARLECCHINO,
24
25
  CharacterData::CHARLOTTE,
25
26
  CharacterData::CHEVREUSE,
26
27
  CharacterData::CHIORI,
@@ -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: :sumeru
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: :sumeru
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: :sumeru
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: :stormterror_loot
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,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TeyvatDB
4
- VERSION = "0.4.5.1"
4
+ VERSION = "0.4.6"
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.4.5.1
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-04-14 00:00:00.000000000 Z
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: