This website requires JavaScript.
5a785409cb
Converted Failable type to Validated property wrapper
property-wrapper
Caleb Kleveter
2019-06-06 17:31:22 -0500
a3d86b2ba7
Updated error handling for Failable instances tests
#6
develop
Caleb Kleveter
2019-06-05 10:01:59 -0500
012fcbec0a
Added conformance for ExpressibleBy protocols to Optional
Caleb Kleveter
2019-06-05 09:59:35 -0500
8c9b1a0c49
Created Failable initializer that takes in the Validations type to use
Caleb Kleveter
2019-06-05 09:58:13 -0500
0cdc51dedc
Fixed optional checking in Failable.value property setter
Caleb Kleveter
2019-06-05 09:55:26 -0500
400d047e6b
Added .swiftpm/ directory to .gitignore
Caleb Kleveter
2019-06-05 07:48:25 -0500
359f0e0bdd
Created Failable.get() to extract the internal value for the given instance
Caleb Kleveter
2019-06-05 07:47:35 -0500
3035415a02
Removed throwing from the <~ operator
Caleb Kleveter
2019-06-04 12:50:10 -0500
92e0de96ee
Fixed typo in Failable doc comment
Caleb Kleveter
2019-06-04 12:25:57 -0500
2b30c5ddd8
Check if T is optional when setting Failable.value to 'nil'
Caleb Kleveter
2019-06-04 12:17:43 -0500
f99f5e8c21
Created NonFailable typealias
Caleb Kleveter
2019-06-04 12:15:34 -0500
88a36b95e4
Created custom operators for Failable types with different validations
Caleb Kleveter
2019-06-04 09:45:28 -0500
ae7896329c
Rebuilt Failable to store errors that occur when validations fail
Caleb Kleveter
2019-05-23 16:48:13 -0500
1285049083
Created ErrorJoin struct
Caleb Kleveter
2019-05-23 10:20:17 -0500
cfd74b73a2
Created ValidationError.foundError(_:) static method
Caleb Kleveter
2019-05-23 10:19:52 -0500
6930d33747
Created EmptyValidation validation type
Caleb Kleveter
2019-05-23 10:06:47 -0500
b488d50046
Merge pull request #5 from skelpo/develop
master
0.4.0
Caleb Kleveter
2019-03-28 07:45:31 -0500
a186a3c44c
Auto-generated Linux tests
#5
Caleb Kleveter
2019-03-27 13:00:07 -0500
63919457a4
Use Validations.run instead of '<~' operator in Failable initializer
Caleb Kleveter
2019-03-27 12:56:07 -0500
19338ca889
Some tests wouldn't compile. I have no idea why
Caleb Kleveter
2019-03-27 11:59:24 -0500
f19f88f3bd
Fixed Failable<Sequence>: Sequence conformance for Swift 5 updates
Caleb Kleveter
2019-03-27 11:36:09 -0500
b9658cdb93
Changed swift tools version to 5.0
Caleb Kleveter
2019-03-27 11:30:11 -0500
34dde6d299
Merge pull request #4 from skelpo/develop
0.3.0
Caleb Kleveter
2019-01-23 10:14:59 -0600
025c6132cb
Extended coding container types for custom coding of optional T types in Failable type
#4
Caleb Kleveter
2019-01-23 10:12:18 -0600
3520d9a9bb
Handle decoding nil for optional T types in Failable
Caleb Kleveter
2019-01-23 10:11:08 -0600
a11244d687
Created == and != operators for comparing Failable<T> with T
Caleb Kleveter
2019-01-23 10:09:51 -0600
fde0c8669e
Merge pull request #3 from skelpo/develop
0.2.1
Caleb Kleveter
2019-01-17 12:18:50 -0600
dc5a6f872a
Made Validation protocol extension properties public
#3
Caleb Kleveter
2019-01-17 12:17:53 -0600
ce7a9362ed
Import Failable instead of Validation module into tests
Caleb Kleveter
2018-12-21 08:25:22 -0600
244d61a3b8
Merge pull request #2 from skelpo/develop
0.2.0
Caleb Kleveter
2018-12-10 14:42:00 -0600
636d8083fc
Renamed project from Validation to Failable to prevent conflict with vapor/validation package
#2
Caleb Kleveter
2018-12-10 14:40:57 -0600
efb029ad69
Regenerated documentation for version 0.1.0
Caleb Kleveter
2018-12-10 12:15:02 -0600
8ac9fd39a0
Documented Failable<MutableCollection, T>.partition(by:) and .swapAt(_:) methods. Added range subscript
0.1.0
Caleb Kleveter
2018-12-10 12:12:10 -0600
676c9cc24b
MutableCollection mutations require throwing, so we need to manually implement each method ourselves. This starts that
Caleb Kleveter
2018-12-03 08:40:21 -0600
7cf275eb06
Use .filter instead of .compactMap in Validation.safeSubvalidations property
Caleb Kleveter
2018-12-03 08:32:05 -0600
f1058cfb6f
Created FailableTests.testKeyPathSubscript test case
Caleb Kleveter
2018-12-03 07:39:32 -0600
91c547c21a
Conformed Failable<MutableCollection, T> type to MutableCollection protocol
Caleb Kleveter
2018-12-03 06:57:12 -0600
b2f62e5d5f
Conformed Failable<RandomAccessCollection, T> type to RandomAccessCollection protocol
Caleb Kleveter
2018-12-03 06:48:14 -0600
b329cc43d4
Conformed Failable<BidirectionalCollection, T> type to BidirectionalCollection protocol
Caleb Kleveter
2018-12-03 06:47:26 -0600
226ad01b84
Conformed Failable<Collection, T> type to Collection protocol
Caleb Kleveter
2018-11-30 08:27:55 -0600
12938b2c5d
Conformed Failable<Sequence, T> type to Sequence protocol
Caleb Kleveter
2018-11-30 08:12:54 -0600
ec8febb489
Created Failable<Bool, T>.toggle() method
Caleb Kleveter
2018-11-30 07:50:08 -0600
f25f2abf10
Added range operators to Failable<Comparable, T> type
Caleb Kleveter
2018-11-30 07:45:34 -0600
847c7eabea
Added helpers to Failable<Optional<T>, V> type
Caleb Kleveter
2018-11-30 07:00:21 -0600
a64be88d45
Added FloatingPoint stubs to Failable<FloatingPoint, T> type
Caleb Kleveter
2018-11-29 16:37:01 -0600
a373d0ab26
Added BinaryFloatingPoint stubs to Failable<BinaryFloatingPoint, T> type
Caleb Kleveter
2018-11-29 14:34:15 -0600
33ccc1eaac
Added FixedWidthInteger stubs to Failable<FixedWidthInteger, T> type
Caleb Kleveter
2018-11-29 14:25:41 -0600
f80f5cec56
Added UnsignedInteger stubs to Failable<UnsignedInteger, T> type
Caleb Kleveter
2018-11-29 14:00:22 -0600
8b8b30b4dd
Added behaviour comment to Failable<BinaryInteger, T>.init(exactly:) doc comment
Caleb Kleveter
2018-11-29 13:56:32 -0600
19dc564012
Added BinaryInteger stubs to Failable<BinaryInteger, T> type
Caleb Kleveter
2018-11-29 08:55:07 -0600
6365aa6db2
Merge pull request #1 from skelpo/add-license-1
Caleb Kleveter
2018-11-28 16:26:21 -0600
27469acfc3
Create LICENSE
#1
Caleb Kleveter
2018-11-28 16:26:06 -0600
5156e40ac0
Regenerated API docs
Caleb Kleveter
2018-11-28 16:24:43 -0600
7c4d7d0984
Added Strideable stubs to Failable<Strideable, T> type
Caleb Kleveter
2018-11-28 16:21:27 -0600
3573962d26
Changed ElementValidation from a protocol to a struct
Caleb Kleveter
2018-11-28 16:02:36 -0600
f1bcd4ef2c
Added SignedNumeric stubs to Failable<SignedNumeric, T> type
Caleb Kleveter
2018-11-28 15:05:34 -0600
7a59f94624
Added +(_:) operator to Failable<Numeric, T> type
Caleb Kleveter
2018-11-28 14:59:53 -0600
2af5b08cfe
Added Numeric stubs to Failable<Numeric, T> type
Caleb Kleveter
2018-11-28 14:48:34 -0600
0f748ac1f5
Created AppendedValidations validator struct
Caleb Kleveter
2018-11-28 14:28:22 -0600
8cfa61e69a
Removed Failable.validate(_:) method
Caleb Kleveter
2018-11-28 14:25:30 -0600
ad1e67aabd
Added AssignmentPrecedence precedence to <~ operator. Use Validations.run(_:) method to run validations on the new value
Caleb Kleveter
2018-11-28 14:25:01 -0600
c1d9ba9ef8
Created AnyValidation.unsafeRun(_:type:) and Validation.run(_:) methods
Caleb Kleveter
2018-11-28 14:21:29 -0600
75d4fd9f45
Added literal initializations to Failable type
Caleb Kleveter
2018-11-28 12:19:56 -0600
866aaa04e4
Conformed Failable<Error, T> type to Error protocol
Caleb Kleveter
2018-11-28 11:41:41 -0600
c18712a618
Created Failable[keyPath:] subscript
Caleb Kleveter
2018-11-28 11:38:51 -0600
7795c0fb3e
Added T.CaseIterable accessors to Failable<CaseIterable, T> type
Caleb Kleveter
2018-11-28 11:33:34 -0600
a54b58eac9
Conformed Failable<RawRepresentable, T> type to RawRepresentable protocol
Caleb Kleveter
2018-11-28 11:30:42 -0600
771fc7e13e
Conformed Failable<CustomDebugStringConvertible, T> type to CustomDebugStringConvertible protocol
Caleb Kleveter
2018-11-28 11:26:02 -0600
1097927801
Conformed Failable<LosslessStringConvertible, T> type to LosslessStringConvertible protocol
Caleb Kleveter
2018-11-28 11:23:29 -0600
9a9fef326d
Conformed Failable<CustomStringConvertible, T> type to CustomStringConvertible protocol
Caleb Kleveter
2018-11-28 11:20:40 -0600
a48c3acbe0
Added additional comperison operators for Failable types with same underlying types and different validations
Caleb Kleveter
2018-11-28 11:17:39 -0600
0339dd662f
Conformed Failable<Comparable, T> type to Comparable protocol
Caleb Kleveter
2018-11-28 11:10:16 -0600
51a1bc709a
Conformed Failable<Equatable, T> type to Equatable
Caleb Kleveter
2018-11-28 11:07:49 -0600
da318a2e7b
Conformed Failable<Hashable, T> type to Hashable protocol
Caleb Kleveter
2018-11-28 11:07:26 -0600
1660199334
Generated Jazzy API documentation
Caleb Kleveter
2018-11-28 11:06:50 -0600
2eeb393e0c
Added build/ folder from doc generation to .gitignore
Caleb Kleveter
2018-11-28 11:06:21 -0600
1ad12a8521
Moved Failable validation logic into internal Failable.validate(_:) method
Caleb Kleveter
2018-11-28 10:49:03 -0600
040b12371d
Moved Failable+Codable conformance to Failable+Codable.swift file
Caleb Kleveter
2018-11-28 10:47:42 -0600
97674b2064
Added typealias to example of ElementValidation implementation
Caleb Kleveter
2018-11-28 10:34:29 -0600
55b0430c45
Fixed Supported type constraint for RegexValidation, so implementing types don't need a typealias
Caleb Kleveter
2018-11-28 10:27:17 -0600
b14bd6da9b
Fixed example protocol implemntations so they build without compiler errors
Caleb Kleveter
2018-11-28 10:24:03 -0600
b1b5e44e4d
Created OptionalTests test suite
Caleb Kleveter
2018-11-28 10:23:38 -0600
5becacab49
Created StringTests test suite
Caleb Kleveter
2018-11-28 10:16:22 -0600
9bb5fc63c2
Created ComparableTests test suit
Caleb Kleveter
2018-11-28 10:09:10 -0600
b87a7247c6
Created CollectionTests test suite
Caleb Kleveter
2018-11-28 09:35:17 -0600
cc059df288
Created test cases for ValidationTests suite
Caleb Kleveter
2018-11-28 09:20:11 -0600
397071b714
Moved EmptyValidation type to ValidationTests.swift file
Caleb Kleveter
2018-11-28 09:07:22 -0600
c8cd426fb1
Created ValiationErrorTests test suite
Caleb Kleveter
2018-11-28 08:49:16 -0600
4f06239ae1
Moved ValidationError.badType static property implementation to the locations is was used and deleted the property
Caleb Kleveter
2018-11-28 08:48:26 -0600
9aeef4ee6d
Conformed ValidationError struct to Codable
Caleb Kleveter
2018-11-28 08:41:39 -0600
e1d5d1cc88
Created FailableTests test suite
Caleb Kleveter
2018-11-28 08:40:38 -0600
d6a5ffe037
Removed testcases from ValidationTests test suite
Caleb Kleveter
2018-11-28 08:40:25 -0600
de6de69e07
Conformed Failable to Encodable and Decodable when the 'value' property type is Encodable or Decodable
Caleb Kleveter
2018-11-28 08:25:13 -0600
a85773e2e1
Created NotNil and NotNilValidate validation structs
Caleb Kleveter
2018-11-28 08:18:06 -0600
35bb27417e
Created RegexValidation protocol
Caleb Kleveter
2018-11-28 08:09:10 -0600
6de381c841
Created InRangeValidation protocol
Caleb Kleveter
2018-11-28 07:49:29 -0600
a745dd020c
Fixed typos in LengthValidation error identifiers
Caleb Kleveter
2018-11-28 07:27:48 -0600
f6c797c180
Created ElementValidation protocol
Caleb Kleveter
2018-11-28 07:17:48 -0600
5e48006c21
Created LengthValidation protocol
Caleb Kleveter
2018-11-28 06:59:49 -0600
6db974df14
Use type checked sub-validations in <~ operator instead of all sub-validations
Caleb Kleveter
2018-11-28 06:49:18 -0600