hensei-api/db/seed/test/weapons_test.csv
Justin Edmund d6300f7aeb
Add first round of tests (#178)
* Install Rspec

* Create .aidigestignore

* Update rails_helper

- Added sections and comments
- Add support for loading via canonical.rb
- Add FactoryBot syntax methods
- Disable SQL logging in test environment

* Move gems around

* Add canonical.rb and test env CSVs

We load these CSVs via canonical.rb when we run tests as a data source for canonical objects.

* Remove RBS for now

This is too much and we need to find the right solution

* Refactor GridSummonsController and add tests

* Create GridSummon factory

* Refactor GridSummon and add documentation and tests

* Create have_error_on.rb

* Update .aidigestignore

* Fix warnings

* Add GridWeapons and Parties factories

* Refactor GridWeapon and add documentation and tests

* Create .rubocop.yml

* Create no_weapon_provided_error.rb

* Refactor GridWeaponsController

- Refactors controller
- Adds YARD documentation
- Adds Rspec tests

* Refactor GridSummonsController

- Refactors controller
- Adds YARD documentation
- Adds Rspec tests

* Enable shoulda/matchers

* Update User factory

* Update party.rb

We moved updating the party's element and extra flag to inside the party. We use an after_commit hook to minimize the amount of queries we're running to do this.

* Update party.rb

We change setting the edit key to use the conditional assignment operator so that it doesn't get overridden when we're running tests. This shouldn't have an effect in production.

* Update api_controller.rb

Change render_unprocessable_entity_response to render the errors hash instead of the exception so that we get more helpful errors.

* Add new errors

Added NoCharacterProvidedError and NoSummonProvidedError

* Add tests and docs to GridCharacter

We added a factory, spec and documentation to the GridCharacter model

* Ensure numericality

* Move enums into GranblueEnums

We don't use these yet, but it gives us a structured place to pull them from.

* Refactor GridCharactersController

- Refactors controller
- Adds YARD documentation
- Adds Rspec tests

* Add debug hook and other small changes

* Update grid_characters_controller.rb

Removes logs

* Update .gitignore

* Update .aidigestignore

* Refactored PartiesController

- Split PartiesController into three concerns
- Implemented testing for PartiesController and two concerns
- Implemented fixes across other files to ensure PartiesController tests pass
- Added Favorites factory

* Implement SimpleCov

* Refactor Party model

- Refactors Party model
- Adds tests
- Adds documentation

* Update granblue_enums.rb

Remove included block
2025-02-12 02:42:30 -08:00

12 KiB

1idname_enname_jpgranblue_idrarityelementproficiencyseriesflbulbmax_levelmax_skill_levelmin_hpmax_hpmax_hp_flbmax_hp_ulbmin_atkmax_atkmax_atk_flbmax_atk_ulbextraax_typelimitaxnicknames_ennicknames_jpmax_awakening_levelrelease_dateflb_dateulb_datewiki_enwiki_jagamewithkamigametranscendencetranscendence_daterecruits
26c4f29c8-f43b-43f1-9fc5-967fb85c816eGauntlet of Proudearth揺るがぬ大地の拳10406113003470TRUEFALSE150153524029039023002780FALSE0FALSEFALSE{}{}2019-04-242019-04-24Gauntlet of ProudearthFALSE
3302ded88-b5c9-4570-b422-66fc40277c4fIxabaイクサバ104090640032101TRUEFALSE150153019523650230003620FALSE0FALSEFALSE{}{}42017-03-312018-05-21Ixaba72189イクサバFALSE3040115000
4b540fbaf-48c9-41c0-981f-05953319b409Skeletal Eclipse呪蝕の骸槍10402169003541TRUEFALSE150154328033944125473074FALSE0FALSEFALSE{}{}2021-12-312021-12-31Skeletal Eclipse%C9%F0%B4%EF%2F%BC%F6%BF%AA%A4%CE%B3%BC%C1%E4%20%28SSR%29314295呪蝕の骸槍FALSE3040376000
5aa6f8b9b-ed78-4b1a-8693-acefd5b455fcScythe of Repudiation絶対否定の大鎌10403106003232TRUETRUE2002030195236277450273033003870FALSE0TRUEFALSE{}{}2019-04-112019-04-112019-04-11Scythe of Repudiation{{{link_jpwiki|%C9%F0%B4%EF%B3%B5%CD%D7%2F%BD%AA%CB%F6%A4%CE%BF%C0%B4%EF%A5%B7%A5%EA%A1%BC%A5%BA}}}{{{link_gamewith|146896}}}{{{link_kamigame|{{{jpname|}}}}}}TRUE2024-01-15
6c6e4eeaa-bd19-466e-81ea-58310ed5cf25Draconic Bladeドラゴニックブレイド104091210036103TRUETRUE2002032193233273445274433193894FALSE0TRUEFALSE{}{}2020-03-102020-03-102020-03-10Draconic Blade%C9%F0%B4%EF%2F%A5%C9%A5%E9%A5%B4%A5%CB%A5%C3%A5%AF%A5%D6%A5%EC%A5%A4%A5%C9%20%28SSR%29190367FALSE
71cedbb93-79ef-41ef-915f-94961ef9eba8Nine-Realm Harp (Awakened)九界琴・覚醒10408014003084FALSEFALSE10010752753802470FALSE0FALSEFALSE{}{}2014-03-10Nine-Realm Harp (Awakened)FALSE
8a5d72b41-6dea-4179-9996-36c01d2dad32Winter's Frostnettle冬ノ霜柱10401113003325TRUEFALSE150152118922829018572249FALSE0FALSEFALSE{}{}2019-07-122019-07-12Winter%27s Frostnettle%C9%F0%B4%EF%2F%C5%DF%A5%CE%C1%FA%C3%EC%20%28SSR%29158278冬ノ霜柱FALSE
9620fbcd5-7c2e-4949-8cad-bbfb0908b00fEcke Sachsエッケザックス10400071003216TRUEFALSE1501510666480027816772030FALSE3FALSETRUE{}{}2014-03-102020-04-07Ecke Sachs%C9%F0%B4%EF%2F%A5%A8%A5%C3%A5%B1%A5%B6%A5%C3%A5%AF%A5%B9%20%28SSR%2971702エッケザックスFALSE
108cebe3c3-be12-4985-b45d-3e9db8204e6eRay of Zhuque Malus朱雀光剣・邪104090670032107TRUETRUE2002022145175205345209025302970FALSE0TRUEFALSE{}{}2017-04-102017-04-102022-04-07Ray of Zhuque Malus75564朱雀光剣・邪FALSE
114380828f-1acc-46cd-b7eb-1cb8d34ca9ecLast Storm Harpラストストームハープ10408083003188TRUEFALSE150156222326033720592400FALSE0FALSEFALSE{}{}2018-03-102018-03-10Last Storm HarpFALSE
12ec3ba18a-9417-4ebe-a898-a74d5f15385fPillar of Flame炎の柱10402152003648TRUEFALSE150153721325034122502630FALSE0FALSEFALSE{}{}2020-08-312020-08-31Pillar of Flame%C9%F0%B4%EF%2F%B1%EA%A4%CE%C3%EC%20%28SSR%29225789炎の柱FALSE
13d61ee84f-4520-4064-8ff9-42a899273316Luminiera Sword Omegaシュヴァリエソード・マグナ10400072003619TRUETRUE2002031195228244370227526602850FALSE1FALSETRUE{}{}2014-03-102018-03-10Luminiera Sword OmegaFALSE
149f94d1e5-a117-432f-9da4-f3a5022b666dBow of Sigurdシグルズの弓104070510033510TRUEFALSE150153621425036523112701FALSE3FALSETRUE{}{}2014-03-102018-07-15Bow of SigurdFALSE
1582deb08e-8f92-44eb-8671-22426f89564eSword of Pallas Militisパラスソード・ミーレス104002260032111FALSEFALSE10010281823552153TRUE0FALSEFALSE{}{}2022-02-21Sword of Pallas Militis%C9%F0%B4%EF%2F%A5%D1%A5%E9%A5%B9%A5%BD%A1%BC%A5%C9%A1%A6%A5%DF%A1%BC%A5%EC%A5%B9%20%28SSR%29319816FALSE
1688492bc9-8085-4651-8a9d-305ab03d0710Hollowsky Bow虚空の歪弦104070890036512TRUEFALSE150153723428042025803120FALSE0TRUEFALSE{}{}2018-12-182018-12-18Hollowsky Bow134591虚空の歪弦FALSE
179adb22c7-eb09-47e6-b100-783e0cefaf95Last Sahrivarラスト・シャフレワル104001580034113TRUETRUE2002039200232264391224026112982FALSE2FALSETRUE{}{}2018-05-152018-05-152022-06-07Last Sahrivar105147FALSE
186d4b41c6-2807-4aa6-9f69-14f5c2c68f37Claws of Terror黒銀の滅爪104061250035714TRUETRUE2002033227266305372219625612926FALSE0FALSEFALSE{}{}2020-03-032020-03-032020-05-25Claws of Terror187437FALSE
19874eaf0b-5561-49d4-8983-ded494642a84Rose Crystal Swordローズクリスタルソード104000970033115FALSEFALSE10010342043652320FALSE0FALSEFALSE{}{}2017-03-10Rose Crystal SwordFALSE
20e65ddc21-b8e9-45ee-8c0f-06013b4187a1Spear of Bahamut Codaバハムートスピア・フツルス104020540035416TRUETRUE2002037248290332380226026403020TRUE0TRUEFALSE{}{}2014-03-102021-12-03Spear of Bahamut CodaFALSE
2107dd062a-640c-4f00-9943-614b9f031271Ultima Clawオメガクロー104060810030717TRUETRUE2002035277313349393271730663415TRUE0TRUEFALSE{}{}2014-03-102021-12-032021-12-03Ultima ClawFALSE
220c21542c-ce18-471e-ac80-1378fc97bec8Scales of Dominion支配の天秤104041580035618TRUEFALSE150153826132034520202440FALSE0FALSEFALSE{}{}2017-07-242019-08-06Scales of Dominion161169FALSE
2354c220d4-9cee-4f42-b184-5057cb1cb24aEsnaエスナ104042060033619TRUEFALSE150155029435528818592252FALSE0FALSEFALSE{}{}152022-07-202022-07-20Esna%C9%F0%B4%EF%2F%A5%A8%A5%B9%A5%CA%20%28SSR%29352615FALSE
24742f29a3-2fa0-40f9-9275-126d892501b3Cosmic Bladeブレイド・オブ・コスモス1040911800361020TRUEFALSE150153118422242326103157FALSE0FALSEFALSE{}{}2016-03-102019-12-19Cosmic BladeFALSE
25c250d5c7-0208-49b5-9c88-fc51117dd7d3Ewiyar's Beakイーウィヤピーク1040912400311021TRUEFALSE150153119222445027493209FALSE1FALSETRUE{}{}2020-07-272020-07-27Ewiyar%27s Beak218570FALSE
2652d41363-16b1-42af-b185-ed1ba1308891Ameno Habakiri天羽々斬1040904300301022TRUETRUE2002037213250287504302435304036FALSE0FALSEFALSE{}{}2014-03-102018-04-172020-05-11Ameno Habakiri%C9%F0%B4%EF%C9%BE%B2%C1%2F%A5%B9%A5%DA%A5%EA%A5%AA%A5%EB%A5%B7%A5%EA%A1%BC%A5%BA75523天羽々斬FALSE
27a273dcbf-4d85-4898-89ac-41cc80c262d7Gislaグラーシーザー104020070035423TRUEFALSE150153925530940423252810FALSE0FALSEFALSE{}{}2014-05-142015-07-27GislaFALSE
28eeb5882d-63a1-4852-a753-32166b4b9b7fWasserspeierヴァッサーシュパイア104001810030124TRUETRUE2002032205240275390241028143218FALSE0FALSEFALSE{}{}2019-05-102019-05-102019-05-10Wasserspeier%C9%F0%B4%EF%2F%A5%F4%A5%A1%A5%C3%A5%B5%A1%BC%A5%B7%A5%E5%A5%D1%A5%A4%A5%A2%A1%BC%20%28SSR%29150388ヴァッサーシュパイアーFALSE
298137294e-6bf1-4bac-a1e0-38cdc542622bClarionクラリオン104051120033925TRUETRUE2002027163200237385242529403455FALSE0FALSEFALSE{}{}152019-06-042019-06-042022-08-19Clarion%C9%F0%B4%EF%2F%A5%AF%A5%E9%A5%EA%A5%AA%A5%F3%20%28SSR%29153291FALSE
3063a066c7-9f23-4c12-a921-ec56f584b0edKaladandaカラダンダ104041630032626TRUEFALSE150154126432033320092428FALSE0FALSEFALSE{}{}2019-12-192019-12-19Kaladanda%C9%F0%B4%EF%2F%A5%AB%A5%E9%A5%C0%A5%F3%A5%C0%20%28SSR%29180277カラダンダFALSE
31ac8da736-4041-45e2-b413-f859e6fae828Magma Rushマグマストリーム104040810032627FALSEFALSE15015362322951770FALSE0FALSEFALSE{}{}2016-06-092023-07-12Magma Rush72005FALSE
32aec45e41-9874-465b-b668-9129a49d40c5Sephira Emerald Dukeセフィラの翠甲104061000034728TRUEFALSE150153823227135021752540TRUE0FALSEFALSE{}{}2018-03-222020-12-04Sephira Emerald DukeFALSE
337f70e52a-d18c-4353-a135-1a841d3b7bf2Rise of Justiceライズ・オブ・ジャスティス104002080033129TRUETRUE2002034202244286367232228113300TRUE0FALSEFALSE{}{}2020-12-042022-02-212022-12-26Rise of Justice%C9%F0%B4%EF%2F%A5%E9%A5%A4%A5%BA%A1%A6%A5%AA%A5%D6%A1%A6%A5%B8%A5%E3%A5%B9%A5%C6%A5%A3%A5%B9%20%28SSR%29{{{link_gamewith|220273}}}FALSE
34e7a05d2e-a3ec-4620-98a5-d8472d474971Fang of the Dragonslayer Mk II竜伐の剛牙・再誕104011770034230TRUEFALSE150154124732539424563230FALSEFALSEFALSE{}{}202023-11-092023-11-09Fang of the Dragonslayer Mk IIFALSE
35af83ceee-3a24-48c7-8cae-9f83276ced81Hraesvelgrフレズヴェルク104051520033931TRUEFALSE150153721124651431313654FALSE0FALSEFALSE{}{}2022-12-262022-12-26Hraesvelgr%C9%F0%B4%EF%2F%A5%D5%A5%EC%A5%BA%A5%F4%A5%A7%A5%EB%A5%AF%20%28SSR%29366906FALSE
3647208685-e87a-4e07-b328-fb9ac3888718Worldscathing Leonレオン・オブ・ワールド104081510032832TRUEFALSE150154428135037922862763TRUEFALSEFALSE{}{}102023-03-302023-12-19Worldscathing Leon393901FALSE
37a2f0db22-baf1-4640-8c2e-6d283375744fExo Antaeus神銃エクス・アンタイオス104051630033933TRUEFALSE150152916920439424883012FALSEFALSEFALSE{}{}102023-09-072023-09-07Exo AntaeusFALSE
38b9522d2d-1d29-4a2b-b58c-d3b7c781feb6Prayer of Grand Gales狂飆と至高の祈り104042220031634TRUETRUE2002039236285439412256631053302TRUETRUEFALSE{draconic}{ドラポン}2023-10-23Prayer of Grand GalesFALSE
3981b9845a-a6d5-4aec-bbcf-1678277c1d79Albacore Bodyアルバコアボディ104042350035635FALSEFALSE10010322243031759FALSEFALSEFALSE{}{}2024-07-29Albacore Bodyアルバコアボディ (SSR)458282アルバコアボディFALSE
40f0d13eb4-f462-48d8-8705-16f91c351cb2Syringe or Treatシリンジ・オア・トリート104051640035936FALSEFALSE10010191305042930FALSEFALSEFALSE{}{}2023-10-18Syringe or TreatFALSE3040487000
413d9fad4c-a34f-4133-9d5e-c382a747eeecDemolition-Tiger Axe絶壊・威寅斧104031910034337TRUEFALSE150153520725045628343429FALSEFALSEFALSE{}{}2024-11-072024-11-07Demolition-Tiger_Axe絶壊・威寅斧 (SSR)471097絶壊・威寅斧FALSE
424110e59e-5b4c-40f8-ad83-2e62f5d60fc2Yggdrasil Crystal Blade Arbos世界樹の晶剣・アルボス104002630034138TRUEFALSE150153220024237723322821FALSEFALSEFALSE{}{}2024-06-032024-06-03Yggdrasil Crystal Blade ArbosFALSE