RoadTripMoustache / kana_to_kanji

Simple application to learn Japanese kana (hiragana, katakana) and kanji
5 stars 1 forks source link

feat: Update the process calling /cleanup #239

Closed Adaendra closed 1 month ago

Adaendra commented 1 month ago

๐Ÿ“– Description

Add the call to GET /cleanup to remove the old static data, if required.

โ‰๏ธ Related Issues

closes : #140 #221

๐Ÿงช How to test the change?

โ˜‘๏ธ Checklist before requesting a review

github-actions[bot] commented 1 month ago

Coverage after merging issue_221 into issue_219 will be

46.92%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines
lib/src
   locator.dart1.75%100%100%1.75%102–104, 106, 109, 112–114, 116, 119, 122–124, 126, 129, 135, 28–29, 32–35, 37–39, 44–45, 48, 50–51, 60–72, 75–76, 79, 82–84, 86, 89, 92–94, 96, 99
lib/src/core/models
   cleanup.dart0%100%100%0%15, 17–18
lib/src/core/repositories
   groups_repository.dart0%100%100%0%10, 13–16, 18, 20, 26–28
   kana_repository.dart34.85%100%100%34.85%100–101, 104–109, 112–113, 115, 118–122, 124–125, 131–133, 45, 51, 54–55, 58–63, 66–67, 69, 71–75, 77–78, 91, 97
   kanji_repository.dart15.22%100%100%15.22%32, 37, 39–55, 58–59, 61, 64–67, 69–73, 75–77, 79–80, 87–89
   vocabulary_repository.dart17.07%100%100%17.07%32, 37–49, 52–53, 55, 58–61, 64–68, 70–72, 74–75, 82–84
lib/src/core/services
   groups_service.dart0%100%100%0%11, 13–14, 17–22
   kana_service.dart0%100%100%0%11–13, 17, 19–20, 23, 27–28, 31–32, 34, 37–38, 41–42, 45–50
   kanji_service.dart0%100%100%0%10–11, 14–19
   vocabulary_service.dart0%100%100%0%10–11, 14–19
   cleanup_service.dart0%100%100%0%28–31, 33, 37–38, 41–42, 45–46, 49–50, 53–55, 59–63, 67, 71–72, 74–83
github-actions[bot] commented 1 month ago

Coverage after merging issue_221 into issue_219 will be

46.92%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines
lib/src
   locator.dart1.75%100%100%1.75%102–104, 106, 109, 112–114, 116, 119, 122–124, 126, 129, 135, 28–29, 32–35, 37–39, 44–45, 48, 50–51, 60–72, 75–76, 79, 82–84, 86, 89, 92–94, 96, 99
lib/src/core/models
   cleanup.dart0%100%100%0%15, 17–18
lib/src/core/repositories
   groups_repository.dart0%100%100%0%10, 13–16, 18, 20, 26–28
   kana_repository.dart34.85%100%100%34.85%100–101, 104–109, 112–113, 115, 118–122, 124–125, 131–133, 45, 51, 54–55, 58–63, 66–67, 69, 71–75, 77–78, 91, 97
   kanji_repository.dart15.22%100%100%15.22%32, 37, 39–55, 58–59, 61, 64–67, 69–73, 75–77, 79–80, 87–89
   vocabulary_repository.dart17.07%100%100%17.07%32, 37–49, 52–53, 55, 58–61, 64–68, 70–72, 74–75, 82–84
lib/src/core/services
   groups_service.dart0%100%100%0%11, 13–14, 17–22
   kana_service.dart0%100%100%0%11–13, 17, 19–20, 23, 27–28, 31–32, 34, 37–38, 41–42, 45–50
   kanji_service.dart0%100%100%0%10–11, 14–19
   vocabulary_service.dart0%100%100%0%10–11, 14–19
   cleanup_service.dart0%100%100%0%28–31, 33, 37–38, 41–42, 45–46, 49–50, 53–55, 59–63, 67, 71–72, 74–83
github-actions[bot] commented 1 month ago

Coverage after merging issue_221 into issue_219 will be

46.38%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines
lib/src
   locator.dart1.23%100%100%1.23%102–104, 106, 109, 112–114, 116, 119, 122–124, 127, 130–132, 134, 137, 140–142, 144, 147, 150–152, 154, 157, 160–162, 164, 167, 170–172, 174, 177, 183, 28–29, 32–35, 37–39, 44–45, 48, 50–51, 60–72, 75–76, 79, 82–84, 86, 89, 92–94, 96, 99
lib/src/core/models
   cleanup.dart0%100%100%0%15, 17–18
lib/src/core/repositories
   groups_repository.dart0%100%100%0%10, 13–16, 18, 20, 26–28
   kana_repository.dart34.85%100%100%34.85%100–101, 104–109, 112–113, 115, 118–122, 124–125, 131–133, 45, 51, 54–55, 58–63, 66–67, 69, 71–75, 77–78, 91, 97
   kanji_repository.dart15.22%100%100%15.22%32, 37, 39–55, 58–59, 61, 64–67, 69–73, 75–77, 79–80, 87–89
   vocabulary_repository.dart17.07%100%100%17.07%32, 37–49, 52–53, 55, 58–61, 64–68, 70–72, 74–75, 82–84
lib/src/core/services
   groups_service.dart0%100%100%0%11, 13–14, 17–22
   kana_service.dart0%100%100%0%11–13, 17, 19–20, 23, 27–28, 31–32, 34, 37–38, 41–42, 45–50
   kanji_service.dart0%100%100%0%10–11, 14–19
   vocabulary_service.dart0%100%100%0%10–11, 14–19
   cleanup_service.dart0%100%100%0%28–31, 33, 37–38, 41–42, 45–46, 49–50, 53–55, 59–63, 67, 71–72, 74–83
github-actions[bot] commented 1 month ago

Bump version from 0.23.0+1 to 0.24.0+1

github-actions[bot] commented 1 month ago

Coverage after merging issue_221 into main will be

46.38%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines
lib/src
   locator.dart1.23%100%100%1.23%102–104, 106, 109, 112–114, 116, 119, 122–124, 127, 130–132, 134, 137, 140–142, 144, 147, 150–152, 154, 157, 160–162, 164, 167, 170–172, 174, 177, 183, 28–29, 32–35, 37–39, 44–45, 48, 50–51, 60–72, 75–76, 79, 82–84, 86, 89, 92–94, 96, 99
lib/src/core/models
   cleanup.dart0%100%100%0%15, 17–18
lib/src/core/repositories
   groups_repository.dart0%100%100%0%10, 13–16, 18, 20, 26–28
   kana_repository.dart34.85%100%100%34.85%100–101, 104–109, 112–113, 115, 118–122, 124–125, 131–133, 45, 51, 54–55, 58–63, 66–67, 69, 71–75, 77–78, 91, 97
   kanji_repository.dart15.22%100%100%15.22%32, 37, 39–55, 58–59, 61, 64–67, 69–73, 75–77, 79–80, 87–89
   vocabulary_repository.dart17.07%100%100%17.07%32, 37–49, 52–53, 55, 58–61, 64–68, 70–72, 74–75, 82–84
lib/src/core/services
   groups_service.dart0%100%100%0%11, 13–14, 17–22
   kana_service.dart0%100%100%0%11–13, 17, 19–20, 23, 27–28, 31–32, 34, 37–38, 41–42, 45–50
   kanji_service.dart0%100%100%0%10–11, 14–19
   vocabulary_service.dart0%100%100%0%10–11, 14–19
   cleanup_service.dart0%100%100%0%28, 30–31, 33, 35, 39–40, 43–44, 47–48, 51–52, 55–57, 61–65, 69, 73–74, 76–85