* 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
3 KiB
3 KiB
| 1 | id | name_en | name_jp | granblue_id | rarity | element | series | flb | ulb | max_level | min_hp | max_hp | max_hp_flb | max_hp_ulb | min_atk | max_atk | max_atk_flb | max_atk_ulb | subaura | limit | transcendence | max_atk_xlb | max_hp_xlb | summon_id | release_date | flb_date | ulb_date | wiki_en | wiki_ja | gamewith | kamigame | transcendence_date | nicknames_en | nicknames_jp |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2 | 6db3991a-e72a-41fc-bad5-c7cc6e7f39ff | Orologia | オロロジャイア | 2040433000 | 3 | 5 | 0 | TRUE | FALSE | 150 | 145 | 836 | 1182 | 310 | 2023 | 2880 | TRUE | FALSE | FALSE | 3341 | 2024-12-31 | 2024-12-31 | Orologia_(Summon) | オロロジャイア (SSR) | 479773 | オロロジャイア | {} | {} | ||||||
| 3 | eaed64ed-2b1b-4f9f-a572-2032bbff197d | Wedges of the Sky | 蒼空の楔 | 2040430000 | 3 | 1 | FALSE | FALSE | 100 | 109 | 668 | 277 | 1740 | TRUE | FALSE | FALSE | 3338 | 2024-08-09 | Wedges_of_the_Sky | 蒼空の楔 (SSR) | 458492 | 蒼空の楔 | {boost,dragons} | {} | ||||||||||
| 4 | 7d303689-3eb1-4193-80cd-e15de46af9d4 | Beelzebub (Summer) | ベルゼバブ(水着ver) | 2040429000 | 3 | 3 | TRUE | FALSE | 150 | 115 | 793 | 1132 | 442 | 2137 | 2985 | TRUE | FALSE | FALSE | 3319 | 2024-07-31 | 2024-07-31 | Beelzebub_(Summer) | ベルゼバブ (SSR)水着 | 458158 | 水着ベルゼバブ | {babu,bubz} | {} | |||||||
| 5 | d169eaba-5493-45d4-a2f8-966850d784c9 | Lu Woh | ル・オー | 2040409000 | 3 | 6 | 12 | TRUE | FALSE | 100 | 155 | 880 | 1243 | 255 | 1800 | 2573 | TRUE | FALSE | FALSE | 2023-02-28 | Lu Woh | %A5%EB%A1%A6%A5%AA%A1%BC%20%28SSR%29 | 385068 | SSR/ルオー | {} | {} | ||||||||
| 6 | 42899ba7-dbf4-433f-8dd4-805010a1a627 | Yatima | ヤチマ | 2040417000 | 3 | 3 | 0 | TRUE | FALSE | 150 | 138 | 1155 | 327 | 2870 | TRUE | TRUE | FALSE | 2022-12-31 | 2022-12-31 | Yatima | %BE%A4%B4%AD%C0%D0%2F%A5%E4%A5%C1%A5%DE%20%28SSR%29 | 381024 | SSR/ヤチマ | {} | {} | |||||||||
| 7 | ad9abfc0-d919-4f75-aa15-0993d20d85ba | Beelzebub | ベルゼバブ | 2040408000 | 3 | 5 | 0 | TRUE | FALSE | 150 | 122 | 761 | 1081 | 407 | 2317 | 3272 | TRUE | FALSE | FALSE | 2021-12-31 | 2021-12-31 | Beelzebub | %BE%A4%B4%AD%C0%D0%2F%A5%D9%A5%EB%A5%BC%A5%D0%A5%D6%20%28SSR%29 | 314288 | ベルゼバブ | {bubz,bubs} | {} | |||||||
| 8 | 0156d098-f5e7-4d72-8d14-34e6adff9280 | The Moon | ザ・ムーン | 2040243000 | 3 | 3 | 6 | TRUE | TRUE | 200 | 110 | 668 | 952 | 1094 | 110 | 668 | 952 | 1094 | TRUE | FALSE | FALSE | 2017-11-29 | 2018-03-22 | 2019-03-10 | The Moon (SSR) | %BE%A4%B4%AD%C0%D0%2F%A5%B6%A1%A6%A5%E0%A1%BC%A5%F3%20%28SSR%29 | 81835 | SSR/ザ・ムーン | {} | {} | ||||
| 9 | 05214d59-2765-40c3-9a1d-6c29c6bdc6d6 | Colossus Omega | コロッサス・マグナ | 2040034000 | 3 | 2 | 2 | TRUE | TRUE | 200 | 103 | 648 | 778 | 921 | 275 | 1635 | 1965 | 2315 | TRUE | FALSE | TRUE | 2665 | 1064 | 2001 | 2014-10-08 | 2018-03-10 | 2020-08-08 | Colossus Omega | %BE%A4%B4%AD%C0%D0%2F%A5%B3%A5%ED%A5%C3%A5%B5%A5%B9%A1%A6%A5%DE%A5%B0%A5%CA%20%28SSR%29 | 21736 | SSR/コロッサス・マグナ | 2024-05-02 | {} | {} |
| 10 | d27d0d9a-3b38-4dcd-89a5-4016c2906249 | Bahamut | バハムート | 2040003000 | 3 | 5 | 0 | TRUE | TRUE | 200 | 140 | 850 | 1210 | 1390 | 140 | 850 | 1210 | 1390 | TRUE | FALSE | TRUE | 2014-04-30 | 2017-03-10 | 2019-03-22 | Bahamut | %BE%A4%B4%AD%C0%D0%2F%A5%D0%A5%CF%A5%E0%A1%BC%A5%C8%20%28SSR%29 | 21612 | SSR/バハムート | {} | {} |