teyvatdb 0.5.2 → 0.5.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 505df3d9e76aab71dab15c97961b46e277fcb64cf5879332646f5b3964470cc1
4
- data.tar.gz: fb65e538715290248f79214dfa6b41e8e12b6c1881c442efafed0c6bca4238fa
3
+ metadata.gz: 94c854a4531c4fb0a7046731527bcdcc49f9e027956f93b3cda70293442a5983
4
+ data.tar.gz: 42e7d7cdb1605538eedd9da531fc21ca482ecbd33f28564efd43841ae97b24e7
5
5
  SHA512:
6
- metadata.gz: dea07d153744b8265ff9899f6ee8bdbe0f4a9b6f29a5f8038d14525a8a8514836d1ef87345a7144a8f0705640664a0baec74ff5964cad511c6351cd003209083
7
- data.tar.gz: 553879d3025902ffd17e13fc69f7a83e80943229e9683d8f5fcd5db5edb15f8d6a7829a20de76328092a1a2e26f3bcb645175853795753a546e3cc597459193f
6
+ metadata.gz: 02fcffed9bb3041caab9565dd5b8e288fa19b57897702c8049da86711eaaad9ec804434cf559fb9f39a284ce293fe97973be58794df39ff5a01dadb30ba8128b
7
+ data.tar.gz: 2ed84222589b803d9334a74d21acc0e5518d811d57298c6193980d7e8f26b602fd9b2ca54b13c852c35f0cd89df255c3aa7e69635c415efd07fea81feddbf777
data/CHANGELOG.md CHANGED
@@ -1,4 +1,8 @@
1
- ## [0.5.2] - 2024-11-13
1
+ ## [0.5.2.1] - 2024-11-23
2
+ - Fix typo in Sword key
3
+ - Add better test coverage to catche incorrect names and keys
4
+
5
+ ## [0.5.2] - 2024-11-23
2
6
  - Add Characters:
3
7
  - Chasca (5)
4
8
  - Ororon (4)
@@ -60,7 +60,7 @@ module GenshinData
60
60
  ).freeze
61
61
 
62
62
  CALAMITY_OF_ESHU = GenshinObject::Weapon.new(
63
- kamera_key: "Calamity of Eshu",
63
+ kamera_key: "CalamityOfEshu",
64
64
  name: "Calamity of Eshu",
65
65
  rarity: 4,
66
66
  weapon_type: :sword,
@@ -2,6 +2,9 @@
2
2
 
3
3
  # Module that handles higher constants and base classes and behavior
4
4
  module GenshinObject
5
+ KAMERA_KEY_REGEX = /\A[A-Za-z]+\z/
6
+ NAME_REGEX = /\A[A-Za-z\'\-\.\",\s]+\z/
7
+
5
8
  require_relative "genshin_object/artifact_set"
6
9
  require_relative "genshin_object/artifact_set_bonus"
7
10
  require_relative "genshin_object/boss"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TeyvatDB
4
- VERSION = "0.5.2"
4
+ VERSION = "0.5.2.1"
5
5
  end
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.5.2
4
+ version: 0.5.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Haberer