Releases: ArtSabintsev/Guitar
Massive Refactor
- Implemented Capitalized()
- Fixed Decapitalized()
- Enhanced slugCased(), kebabCased(), snakeCased() to allow for case-conversion from one to the other.
- Fixed a lot of improper inline documentation.
- Added a lot more tests
- Split GuitarNSRangeExtension class from Guitar struct
- Split GuitarChord struct from Guitar struct
- Added more Chords to GuitarChord
- Updated README
- Updated Docs
Further Enhancements to Regex
GuitarRegex
has been renamed toGuitar
.Guitar(pattern:)
initializer has been renamed toGuitar(chord:)
GuitarPattern
is now accessed viaGuitar.Chord
- Removed prefix operator
-
- Added new sanitization function on Guitar
- Fixed
pascalCased()
. - Fixed some documentation.
See build details and artifacts at buddybuild:
https://dashboard.buddybuild.com/apps/58b67d22d21c470100b0c394/build/58c23b0980c8d40100babafa
Regex Support
- Separated
String
extensions into 5 separate files. - Added Regular Expression syntactic-sugar layer on top of NSRegularExpression.
- Added stub for new capitalized() function that will augment Swift's capitalized computer variable.
- Added more tests
API is still highly unstable, but things are progressing in the right direction.
See build details and artifacts at buddybuild:
https://dashboard.buddybuild.com/apps/58b67d22d21c470100b0c394/build/58c18c4ea2fb9101008e402f
Fixed Carthage Support
In the process of Fixing Swift PM support, I broke Carthage support. All dependency managers should now be able to reach and resolve Guitar properly.
Swift PM Support
Guitar now properly works with Swift PM.
Full Unit Test Coverage for Public Functions
- All public functions now have full Unit Test coverage except for
decapitalized()
, which has a broken implementation. - Renamed
truncate()
totruncated()
and fixed implementation. - Added tests for all Trimming functions.
See build details and artifacts at buddybuild:
https://dashboard.buddybuild.com/apps/58b67d22d21c470100b0c394/build/58b7caec95315a010041d9d3
Unit Tests & Implementation Fixes
- Added Unit Tests for Boolean, Case, Character, and Padding functions.
- Added length function.
- Fixed multiple functions (thanks to Unit Tests).
See build details and artifacts at buddybuild:
https://dashboard.buddybuild.com/apps/58b67d22d21c470100b0c394/build/58b7c4722cb92b010066bcab
New Case, Padding, and Trimming functions
This project is currently _NOT PRODUCTION_ ready.
This release adds the following methods
- reverse()
- pad()
- truncate()
Also adds more inline documentation, Jazzy Docs, SwiftLint conformance, and more.
See build details and artifacts at buddybuild:
https://dashboard.buddybuild.com/apps/58b67d22d21c470100b0c394/build/58b6e0894f23990100b72d7f
Initial Release for Dependency Managers.
This project is currently _NOT PRODUCTION_ ready. The release was made to add support for Carthage and CocoaPods.
The following functions have been implemented, but not tested:
- Boolean Operations
- isAlpha()
- isAlphanumeric()
- isCapitalized()
- isDecapitalized()
- isLowercased()
- isNumeric()
- isUppercased()
- Case Operations
- camelCased()
- decapitalized()
- kebabCased()
- pascalCased()
- slug()
- snakeCased()
- swapCased()
- Character Operations
- first()
- last()
- Padding Operations
- padLeft()
- padRight()
- Trimming Operations
- prefixed()
- suffixed()
- trimLeft()
- trimRight()