splurge-dsv 2025.1.0__py3-none-any.whl → 2025.1.1__py3-none-any.whl

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: splurge-dsv
3
- Version: 2025.1.0
3
+ Version: 2025.1.1
4
4
  Summary: A utility library for working with DSV (Delimited String Values) files
5
5
  Author: Jim Schilling
6
6
  License-Expression: MIT
@@ -243,6 +243,27 @@ The project follows strict coding standards:
243
243
 
244
244
  ## Changelog
245
245
 
246
+ ### 2025.1.1 (2025-01-XX)
247
+
248
+ #### 🔧 Code Quality Improvements
249
+ - **Refactored Complex Regex Logic**: Extracted Windows drive letter validation logic from `_check_dangerous_characters` into a dedicated `_is_valid_windows_drive_pattern` helper method in `PathValidator` for better readability and maintainability
250
+ - **Exception Handling Consistency**: Fixed inconsistency in `ResourceManager.acquire()` method to properly re-raise `NotImplementedError` without wrapping it in `SplurgeResourceAcquisitionError`
251
+ - **Import Organization**: Moved all imports to the top of modules across the entire codebase for better code structure and PEP 8 compliance
252
+
253
+ #### 🧪 Testing Enhancements
254
+ - **Public API Focus**: Removed all tests that validated private implementation details, focusing exclusively on public API behavior validation
255
+ - **Comprehensive Resource Manager Tests**: Added extensive test suite for `ResourceManager` module covering all public methods, edge cases, error scenarios, and context manager behavior
256
+ - **Bookend Logic Clarification**: Updated and corrected all tests related to `StringTokenizer.remove_bookends` to properly reflect its single-character, symmetric bookend matching behavior
257
+ - **Path Validation Test Clarity**: Clarified test expectations and comments for Windows drive-relative paths (e.g., "C:file.txt") to reflect the validator's intentionally strict security design
258
+
259
+ #### 🐛 Bug Fixes
260
+ - **Test Reliability**: Fixed failing tests in `ResourceManager` context manager scenarios by properly handling file truncation and line ending normalization
261
+ - **Ruff Compliance**: Resolved all linting warnings including unused variables and imports
262
+
263
+ #### 📚 Documentation Updates
264
+ - **Method Documentation**: Updated `ResourceManager.acquire()` docstring to include `NotImplementedError` in the Raises section
265
+ - **Test Comments**: Enhanced test documentation with clearer explanations of expected behaviors and edge cases
266
+
246
267
  ### 2025.1.0 (2025-08-25)
247
268
 
248
269
  #### 🎉 Major Features
@@ -6,8 +6,8 @@ splurge_dsv/path_validator.py,sha256=2vXsNnmRTLbdYedDrF5kQZsOUvfLhSxkXyRj26OZyj8
6
6
  splurge_dsv/resource_manager.py,sha256=fldvZQpzznANf4ahHre_lSqQ5_FUWndFuSlyccBylGE,13013
7
7
  splurge_dsv/string_tokenizer.py,sha256=GDAtJht-d9vt8Kb4yglxfl2iMfSMWGT3esksISNklMU,4203
8
8
  splurge_dsv/text_file_helper.py,sha256=htYT1Z0aKuQt24X2IfSKnFHB1AOY3dV7lRU8Vr6iqn0,14237
9
- splurge_dsv-2025.1.0.dist-info/licenses/LICENSE,sha256=fPgtg-tIFHinQvJH0arRfv50AuxikD5eHw6rrPy2A5w,1091
10
- splurge_dsv-2025.1.0.dist-info/METADATA,sha256=MUa4M1124GYLHmOYzLIne6-s_biC8wFi9a1PaBEmMXA,10282
11
- splurge_dsv-2025.1.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
12
- splurge_dsv-2025.1.0.dist-info/top_level.txt,sha256=D6Si3FTfpRYqH7kzM7tSQAyaKbbraO6UPLpcqcY4XXM,12
13
- splurge_dsv-2025.1.0.dist-info/RECORD,,
9
+ splurge_dsv-2025.1.1.dist-info/licenses/LICENSE,sha256=fPgtg-tIFHinQvJH0arRfv50AuxikD5eHw6rrPy2A5w,1091
10
+ splurge_dsv-2025.1.1.dist-info/METADATA,sha256=R9-qCXkrt-orUGkLNJbnc-cGLY67B8P1uJFTyjmIJoY,12245
11
+ splurge_dsv-2025.1.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
12
+ splurge_dsv-2025.1.1.dist-info/top_level.txt,sha256=D6Si3FTfpRYqH7kzM7tSQAyaKbbraO6UPLpcqcY4XXM,12
13
+ splurge_dsv-2025.1.1.dist-info/RECORD,,