check-config 0.9.0a1__tar.gz → 0.9.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (178) hide show
  1. {check_config-0.9.0a1 → check_config-0.9.1}/CHANGES.md +5 -1
  2. {check_config-0.9.0a1 → check_config-0.9.1}/Cargo.lock +493 -1
  3. {check_config-0.9.0a1 → check_config-0.9.1}/Cargo.toml +34 -25
  4. {check_config-0.9.0a1 → check_config-0.9.1}/PKG-INFO +3 -3
  5. check_config-0.9.1/docs/checkers.md +466 -0
  6. check_config-0.9.1/docs/glossary.md +18 -0
  7. {check_config-0.9.0a1 → check_config-0.9.1}/docs/usage.md +1 -1
  8. {check_config-0.9.0a1 → check_config-0.9.1}/example/checkers/check-config.toml +32 -7
  9. check_config-0.9.1/example/checkers/copy.toml +17 -0
  10. check_config-0.9.1/example/checkers/folder/relative_local_file.toml +3 -0
  11. {check_config-0.9.0a1 → check_config-0.9.1}/example/checkers/http_check_config.toml +1 -1
  12. {check_config-0.9.0a1 → check_config-0.9.1}/example/checkers/http_check_config_relative.toml +1 -1
  13. check_config-0.9.1/example/checkers/python-logo.svg +265 -0
  14. check_config-0.9.1/example/checkers/test.tar.gz +0 -0
  15. check_config-0.9.1/example/checkers/test.zip +0 -0
  16. check_config-0.9.1/example/checkers/unpack.toml +29 -0
  17. {check_config-0.9.0a1 → check_config-0.9.1}/example/expected_output/.bashrc +1 -0
  18. check_config-0.9.1/example/expected_output/python-logo.svg +265 -0
  19. check_config-0.9.1/example/expected_output/rust-logo.svg +1 -0
  20. {check_config-0.9.0a1 → check_config-0.9.1}/example/expected_output/test.json +1 -0
  21. {check_config-0.9.0a1 → check_config-0.9.1}/example/expected_output/test.toml +2 -1
  22. check_config-0.9.1/example/expected_output/test.yaml +10 -0
  23. check_config-0.9.1/example/test.sh +10 -0
  24. check_config-0.9.1/example_checkers/bash.toml +3 -0
  25. {check_config-0.9.0a1 → check_config-0.9.1}/example_checkers/ruff.toml +11 -15
  26. check_config-0.9.1/example_checkers/ruff_.toml +34 -0
  27. check_config-0.9.1/installed.toml +36 -0
  28. {check_config-0.9.0a1 → check_config-0.9.1}/pyproject.toml +22 -24
  29. {check_config-0.9.0a1 → check_config-0.9.1}/src/checkers/base.rs +27 -10
  30. check_config-0.9.1/src/checkers/file/dir_copied.rs +201 -0
  31. check_config-0.9.1/src/checkers/file/dir_present.rs +201 -0
  32. {check_config-0.9.0a1 → check_config-0.9.1}/src/checkers/file/entry_absent.rs +7 -7
  33. {check_config-0.9.0a1 → check_config-0.9.1}/src/checkers/file/entry_present.rs +84 -3
  34. {check_config-0.9.0a1 → check_config-0.9.1}/src/checkers/file/file_absent.rs +11 -9
  35. check_config-0.9.1/src/checkers/file/file_copied.rs +201 -0
  36. {check_config-0.9.0a1 → check_config-0.9.1}/src/checkers/file/file_present.rs +33 -46
  37. check_config-0.9.1/src/checkers/file/file_unpacked.rs +301 -0
  38. {check_config-0.9.0a1 → check_config-0.9.1}/src/checkers/file/key_absent.rs +6 -6
  39. {check_config-0.9.0a1 → check_config-0.9.1}/src/checkers/file/key_value_present.rs +9 -12
  40. {check_config-0.9.0a1 → check_config-0.9.1}/src/checkers/file/key_value_regex_match.rs +74 -37
  41. {check_config-0.9.0a1 → check_config-0.9.1}/src/checkers/file/lines_absent.rs +19 -14
  42. {check_config-0.9.0a1 → check_config-0.9.1}/src/checkers/file/lines_present.rs +17 -16
  43. {check_config-0.9.0a1 → check_config-0.9.1}/src/checkers/file/mod.rs +63 -41
  44. check_config-0.9.1/src/checkers/git/mod.rs +337 -0
  45. {check_config-0.9.0a1 → check_config-0.9.1}/src/checkers/mod.rs +44 -3
  46. {check_config-0.9.0a1 → check_config-0.9.1}/src/checkers/package/package_present.rs +3 -1
  47. {check_config-0.9.0a1 → check_config-0.9.1}/src/checkers/test_helpers.rs +16 -1
  48. {check_config-0.9.0a1 → check_config-0.9.1}/src/checkers/utils.rs +18 -25
  49. {check_config-0.9.0a1 → check_config-0.9.1}/src/cli.rs +15 -17
  50. {check_config-0.9.0a1 → check_config-0.9.1}/src/integration_test.rs +1 -0
  51. {check_config-0.9.0a1 → check_config-0.9.1}/src/mapping/generic.rs +1 -1
  52. {check_config-0.9.0a1 → check_config-0.9.1}/src/mapping/json.rs +14 -3
  53. {check_config-0.9.0a1 → check_config-0.9.1}/src/mapping/toml.rs +4 -4
  54. {check_config-0.9.0a1 → check_config-0.9.1}/src/mapping/yaml.rs +5 -5
  55. check_config-0.9.1/src/uri.rs +410 -0
  56. check_config-0.9.1/tests/resources/checkers/key_value_regex_matched/1/check-config.toml +2 -0
  57. check_config-0.9.1/tests/resources/checkers/key_value_regex_matched/1/expected_output.json +3 -0
  58. check_config-0.9.1/tests/resources/checkers/key_value_regex_matched/1/expected_output.toml +1 -0
  59. check_config-0.9.1/tests/resources/checkers/key_value_regex_matched/1/expected_output.yaml +1 -0
  60. check_config-0.9.1/tests/resources/checkers/key_value_regex_matched/1/input.json +15 -0
  61. check_config-0.9.1/tests/resources/checkers/key_value_regex_matched/1/input.toml +10 -0
  62. check_config-0.9.1/tests/resources/checkers/key_value_regex_matched/1/input.yaml +9 -0
  63. check_config-0.9.1/tests/resources/checkers/key_value_regex_matched/2/check-config.toml +2 -0
  64. check_config-0.9.1/tests/resources/checkers/key_value_regex_matched/2/expected_output.json +3 -0
  65. check_config-0.9.1/tests/resources/checkers/key_value_regex_matched/2/expected_output.toml +1 -0
  66. check_config-0.9.1/tests/resources/checkers/key_value_regex_matched/2/expected_output.yaml +1 -0
  67. check_config-0.9.1/tests/resources/checkers/key_value_regex_matched/2/input.json +15 -0
  68. check_config-0.9.1/tests/resources/checkers/key_value_regex_matched/2/input.toml +10 -0
  69. check_config-0.9.1/tests/resources/checkers/key_value_regex_matched/2/input.yaml +9 -0
  70. check_config-0.9.0a1/docs/checkers.md +0 -373
  71. check_config-0.9.0a1/docs/glossary.md +0 -8
  72. check_config-0.9.0a1/example/checkers/folder/relative_local_file.toml +0 -3
  73. check_config-0.9.0a1/example/expected_output/test.yaml +0 -9
  74. check_config-0.9.0a1/example/test.sh +0 -11
  75. check_config-0.9.0a1/example_checkers/bash.toml +0 -3
  76. check_config-0.9.0a1/src/uri.rs +0 -166
  77. {check_config-0.9.0a1 → check_config-0.9.1}/.gitignore +0 -0
  78. {check_config-0.9.0a1 → check_config-0.9.1}/.pre-commit-hook.yaml +0 -0
  79. {check_config-0.9.0a1 → check_config-0.9.1}/.readthedocs.yaml +0 -0
  80. {check_config-0.9.0a1 → check_config-0.9.1}/.zellij/env +0 -0
  81. {check_config-0.9.0a1 → check_config-0.9.1}/.zellij/layout.kdl +0 -0
  82. {check_config-0.9.0a1 → check_config-0.9.1}/LICENSE +0 -0
  83. {check_config-0.9.0a1 → check_config-0.9.1}/README.md +0 -0
  84. {check_config-0.9.0a1 → check_config-0.9.1}/docs/examples.md +0 -0
  85. {check_config-0.9.0a1 → check_config-0.9.1}/docs/features.md +0 -0
  86. {check_config-0.9.0a1 → check_config-0.9.1}/docs/index.md +0 -0
  87. {check_config-0.9.0a1 → check_config-0.9.1}/docs/installation.md +0 -0
  88. {check_config-0.9.0a1 → check_config-0.9.1}/docs/requirements.txt +0 -0
  89. {check_config-0.9.0a1 → check_config-0.9.1}/docs/support.md +0 -0
  90. {check_config-0.9.0a1 → check_config-0.9.1}/example/.gitignore +0 -0
  91. {check_config-0.9.0a1 → check_config-0.9.1}/example/check-config-for-usage-doc.toml +0 -0
  92. {check_config-0.9.0a1 → check_config-0.9.1}/example/checkers/folder/local_file.toml +0 -0
  93. {check_config-0.9.0a1 → check_config-0.9.1}/example/expected_output/.gitconfig +0 -0
  94. /check_config-0.9.0a1/example/input/to_be_removed → /check_config-0.9.1/example/expected_output/created_dir/.gitkeep +0 -0
  95. {check_config-0.9.0a1 → check_config-0.9.1}/example/input/.bashrc +0 -0
  96. {check_config-0.9.0a1 → check_config-0.9.1}/example/input/test.json +0 -0
  97. {check_config-0.9.0a1 → check_config-0.9.1}/example/input/test.toml +0 -0
  98. {check_config-0.9.0a1 → check_config-0.9.1}/example/input/test.yaml +0 -0
  99. /check_config-0.9.0a1/src/checkers/schema_validate.rs → /check_config-0.9.1/example/input/to_be_removed +0 -0
  100. {check_config-0.9.0a1 → check_config-0.9.1}/example/pyproject.toml +0 -0
  101. {check_config-0.9.0a1 → check_config-0.9.1}/example/test_via_pyproject.sh +0 -0
  102. {check_config-0.9.0a1 → check_config-0.9.1}/example_checkers/black.toml +0 -0
  103. {check_config-0.9.0a1 → check_config-0.9.1}/example_checkers/mypy.toml +0 -0
  104. {check_config-0.9.0a1 → check_config-0.9.1}/example_checkers/python.toml +0 -0
  105. {check_config-0.9.0a1 → check_config-0.9.1}/mkdocs.yml +0 -0
  106. {check_config-0.9.0a1 → check_config-0.9.1}/src/bin/check-config.rs +0 -0
  107. {check_config-0.9.0a1 → check_config-0.9.1}/src/checkers/package/mod.rs +0 -0
  108. {check_config-0.9.0a1 → check_config-0.9.1}/src/checkers/package/package_absent.rs +0 -0
  109. {check_config-0.9.0a1 → check_config-0.9.1}/src/file_types/ini.rs +0 -0
  110. {check_config-0.9.0a1 → check_config-0.9.1}/src/file_types/json.rs +0 -0
  111. {check_config-0.9.0a1 → check_config-0.9.1}/src/file_types/mod.rs +0 -0
  112. {check_config-0.9.0a1 → check_config-0.9.1}/src/file_types/toml.rs +0 -0
  113. {check_config-0.9.0a1 → check_config-0.9.1}/src/file_types/yaml.rs +0 -0
  114. {check_config-0.9.0a1 → check_config-0.9.1}/src/lib.rs +0 -0
  115. {check_config-0.9.0a1 → check_config-0.9.1}/src/mapping/mod.rs +0 -0
  116. /check_config-0.9.0a1/tests/resources/checkers/entry_absent/1/checker.toml → /check_config-0.9.1/tests/resources/checkers/entry_absent/1/check-config.toml +0 -0
  117. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/entry_absent/1/expected_output.json +0 -0
  118. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/entry_absent/1/expected_output.toml +0 -0
  119. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/entry_absent/1/expected_output.yaml +0 -0
  120. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/entry_absent/1/input.json +0 -0
  121. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/entry_absent/1/input.toml +0 -0
  122. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/entry_absent/1/input.yaml +0 -0
  123. /check_config-0.9.0a1/tests/resources/checkers/entry_absent/2/checker.toml → /check_config-0.9.1/tests/resources/checkers/entry_absent/2/check-config.toml +0 -0
  124. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/entry_absent/2/expected_output.json +0 -0
  125. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/entry_absent/2/expected_output.toml +0 -0
  126. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/entry_absent/2/expected_output.yaml +0 -0
  127. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/entry_absent/2/input.json +0 -0
  128. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/entry_absent/2/input.toml +0 -0
  129. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/entry_absent/2/input.yaml +0 -0
  130. /check_config-0.9.0a1/tests/resources/checkers/entry_present/1/checker.toml → /check_config-0.9.1/tests/resources/checkers/entry_present/1/check-config.toml +0 -0
  131. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/entry_present/1/expected_output.json +0 -0
  132. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/entry_present/1/expected_output.toml +0 -0
  133. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/entry_present/1/expected_output.yaml +0 -0
  134. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/entry_present/1/input.json +0 -0
  135. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/entry_present/1/input.toml +0 -0
  136. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/entry_present/1/input.yaml +0 -0
  137. /check_config-0.9.0a1/tests/resources/checkers/entry_present/2/checker.toml → /check_config-0.9.1/tests/resources/checkers/entry_present/2/check-config.toml +0 -0
  138. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/entry_present/2/expected_output.json +0 -0
  139. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/entry_present/2/expected_output.toml +0 -0
  140. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/entry_present/2/expected_output.yaml +0 -0
  141. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/entry_present/2/input.json +0 -0
  142. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/entry_present/2/input.toml +0 -0
  143. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/entry_present/2/input.yaml +0 -0
  144. /check_config-0.9.0a1/tests/resources/checkers/key_absent/1/checker.toml → /check_config-0.9.1/tests/resources/checkers/key_absent/1/check-config.toml +0 -0
  145. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/key_absent/1/expected_output.json +0 -0
  146. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/key_absent/1/expected_output.toml +0 -0
  147. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/key_absent/1/expected_output.yaml +0 -0
  148. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/key_absent/1/input.json +0 -0
  149. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/key_absent/1/input.toml +0 -0
  150. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/key_absent/1/input.yaml +0 -0
  151. /check_config-0.9.0a1/tests/resources/checkers/key_value_present/1/checker.toml → /check_config-0.9.1/tests/resources/checkers/key_value_present/1/check-config.toml +0 -0
  152. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/key_value_present/1/expected_output.json +0 -0
  153. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/key_value_present/1/expected_output.toml +0 -0
  154. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/key_value_present/1/expected_output.yaml +0 -0
  155. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/key_value_present/1/input.json +0 -0
  156. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/key_value_present/1/input.toml +0 -0
  157. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/key_value_present/1/input.yaml +0 -0
  158. /check_config-0.9.0a1/tests/resources/checkers/key_value_present/2/checker.toml → /check_config-0.9.1/tests/resources/checkers/key_value_present/2/check-config.toml +0 -0
  159. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/key_value_present/2/expected_output.json +0 -0
  160. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/key_value_present/2/expected_output.toml +0 -0
  161. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/key_value_present/2/expected_output.yaml +0 -0
  162. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/key_value_present/2/input.json +0 -0
  163. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/key_value_present/2/input.toml +0 -0
  164. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/key_value_present/2/input.yaml +0 -0
  165. /check_config-0.9.0a1/tests/resources/checkers/key_value_regex_match/1/checker.toml → /check_config-0.9.1/tests/resources/checkers/key_value_regex_match/1/check-config.toml +0 -0
  166. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/key_value_regex_match/1/expected_output.json +0 -0
  167. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/key_value_regex_match/1/expected_output.toml +0 -0
  168. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/key_value_regex_match/1/expected_output.yaml +0 -0
  169. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/key_value_regex_match/1/input.json +0 -0
  170. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/key_value_regex_match/1/input.toml +0 -0
  171. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/key_value_regex_match/1/input.yaml +0 -0
  172. /check_config-0.9.0a1/tests/resources/checkers/key_value_regex_match/2/checker.toml → /check_config-0.9.1/tests/resources/checkers/key_value_regex_match/2/check-config.toml +0 -0
  173. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/key_value_regex_match/2/expected_output.json +0 -0
  174. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/key_value_regex_match/2/expected_output.toml +0 -0
  175. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/key_value_regex_match/2/expected_output.yaml +0 -0
  176. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/key_value_regex_match/2/input.json +0 -0
  177. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/key_value_regex_match/2/input.toml +0 -0
  178. {check_config-0.9.0a1 → check_config-0.9.1}/tests/resources/checkers/key_value_regex_match/2/input.yaml +0 -0
@@ -1,6 +1,10 @@
1
1
  # CHANGES
2
2
 
3
- ## 0.9.0.alpha.1
3
+ ## 0.9.1
4
+
5
+ - Feat: add dir_present
6
+
7
+ ## 0.9.0
4
8
 
5
9
  - BREAKING: refactor the check-config toml files. See documentation for new format.
6
10