teyvatdb 0.1.6 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/lib/teyvatdb/artifact_sets/artifact_data.rb +43 -43
  4. data/lib/teyvatdb/characters/character_data.rb +452 -452
  5. data/lib/{genshin_data → teyvatdb/genshin_data}/artifact_set.rb +1 -1
  6. data/lib/{genshin_data → teyvatdb/genshin_data}/character.rb +1 -1
  7. data/lib/{genshin_data/Material.rb → teyvatdb/genshin_data/material.rb} +1 -1
  8. data/lib/{genshin_data → teyvatdb/genshin_data}/nation.rb +1 -1
  9. data/lib/{genshin_data → teyvatdb/genshin_data}/weapon.rb +1 -1
  10. data/lib/teyvatdb/genshin_data.rb +13 -0
  11. data/lib/teyvatdb/materials/development/elite_monster_drops_data.rb +51 -51
  12. data/lib/teyvatdb/materials/development/gems_data.rb +32 -32
  13. data/lib/teyvatdb/materials/development/general_data.rb +10 -10
  14. data/lib/teyvatdb/materials/development/local_specialty_data.rb +53 -42
  15. data/lib/teyvatdb/materials/development/monster_loot_drops_data.rb +39 -39
  16. data/lib/teyvatdb/materials/development/talent_books_data.rb +45 -45
  17. data/lib/teyvatdb/materials/development/weapon_material_data.rb +60 -60
  18. data/lib/teyvatdb/materials/development/weapon_refinement_material_data.rb +13 -13
  19. data/lib/teyvatdb/materials/development/weekly_boss_drops_data.rb +24 -24
  20. data/lib/teyvatdb/materials/development/world_boss_drops_data.rb +27 -27
  21. data/lib/teyvatdb/materials/development.rb +1 -0
  22. data/lib/teyvatdb/materials/standard/cooking_material_data.rb +73 -53
  23. data/lib/teyvatdb/materials/standard/crafting_material_data.rb +14 -14
  24. data/lib/teyvatdb/materials/standard/fishing_material_data.rb +107 -37
  25. data/lib/teyvatdb/materials/standard/forging_material_data.rb +18 -18
  26. data/lib/teyvatdb/materials/standard/furniture_material_data.rb +33 -23
  27. data/lib/teyvatdb/materials/standard.rb +6 -0
  28. data/lib/teyvatdb/nations/nation_data.rb +8 -8
  29. data/lib/teyvatdb/version.rb +1 -1
  30. data/lib/teyvatdb/weapons/weapon_data.rb +154 -154
  31. data/lib/teyvatdb/weapons.rb +1 -1
  32. data/lib/teyvatdb.rb +1 -3
  33. metadata +7 -7
  34. data/lib/genshin_data.rb +0 -10
@@ -164,7 +164,7 @@ module TeyvatDB
164
164
  ]
165
165
  end
166
166
 
167
- GenshinData::Weapon::WEAPON_TYPES.each do |weapon_type|
167
+ TeyvatDB::GenshinData::Weapon::WEAPON_TYPES.each do |weapon_type|
168
168
  define_method weapon_type do
169
169
  all.select { |weapon| weapon.weapon_type == weapon_type }
170
170
  end
data/lib/teyvatdb.rb CHANGED
@@ -2,10 +2,8 @@
2
2
 
3
3
  require "json"
4
4
 
5
- require_relative "genshin_data"
6
-
7
5
  require_relative "teyvatdb/version"
8
-
6
+ require_relative "teyvatdb/genshin_data"
9
7
  require_relative "teyvatdb/artifact_sets"
10
8
  require_relative "teyvatdb/characters"
11
9
  require_relative "teyvatdb/materials"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: teyvatdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Haberer
@@ -25,17 +25,17 @@ files:
25
25
  - Gemfile.lock
26
26
  - README.md
27
27
  - Rakefile
28
- - lib/genshin_data.rb
29
- - lib/genshin_data/Material.rb
30
- - lib/genshin_data/artifact_set.rb
31
- - lib/genshin_data/character.rb
32
- - lib/genshin_data/nation.rb
33
- - lib/genshin_data/weapon.rb
34
28
  - lib/teyvatdb.rb
35
29
  - lib/teyvatdb/artifact_sets.rb
36
30
  - lib/teyvatdb/artifact_sets/artifact_data.rb
37
31
  - lib/teyvatdb/characters.rb
38
32
  - lib/teyvatdb/characters/character_data.rb
33
+ - lib/teyvatdb/genshin_data.rb
34
+ - lib/teyvatdb/genshin_data/artifact_set.rb
35
+ - lib/teyvatdb/genshin_data/character.rb
36
+ - lib/teyvatdb/genshin_data/material.rb
37
+ - lib/teyvatdb/genshin_data/nation.rb
38
+ - lib/teyvatdb/genshin_data/weapon.rb
39
39
  - lib/teyvatdb/materials.rb
40
40
  - lib/teyvatdb/materials/development.rb
41
41
  - lib/teyvatdb/materials/development/elite_monster_drops_data.rb
data/lib/genshin_data.rb DELETED
@@ -1,10 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Module that handles higher constants and base data classes
4
- module GenshinData
5
- require_relative "genshin_data/artifact_set"
6
- require_relative "genshin_data/character"
7
- require_relative "genshin_data/material"
8
- require_relative "genshin_data/nation"
9
- require_relative "genshin_data/weapon"
10
- end