Rakefile | 100644 | 0 | 0 | | | 116 Bytes | 25c8dbfdfd70c69e1eb1ec4e2b8c8e7c10e9fd4e34e15c38deb534c9905975cb |
.gitignore | 100644 | 0 | 0 | | | 188 Bytes | 50c4a10d838a7e842f5e60fedabc420c2f11887732fdce923f4b70e7a517e4cc |
.rspec | 100644 | 0 | 0 | | | 53 Bytes | f78a07c7d17143af316d9fcbed1d3ea943fe562955b4aba8d512182b7f52ea57 |
.travis.yml | 100644 | 0 | 0 | | | 30 Bytes | 9d81d0185d1ebe6764de3df9c16392a7268448f6fd5e2e6f1d0986273f5b6fba |
Gemfile | 100644 | 0 | 0 | | | 177 Bytes | 7018a2a72b73cd166bd96981382e500a0d4a97f5657fbb3ed3c4d3e0d2fdb331 |
LICENSE | 100644 | 0 | 0 | | | 1.06 KB | a5dfcea64a47884d22ee274d5a09407a4a9fe6a588018ee4a06a9a7f5db0c0a7 |
README.md | 100644 | 0 | 0 | | | 5.78 KB | c2750bf454dde67ad7320a55e1795c81664ce61c81d086baee09b4a3c4afc002 |
compel.gemspec | 100644 | 0 | 0 | | | 864 Bytes | 42d387bce81971727da77795ec65d5790b175bd4160fabad72e53d30bf42a42f |
lib/compel.rb | 100644 | 0 | 0 | | | 623 Bytes | 9b8c55cdbaded6bf34a1250cfa55328204746aba5d781a979766f4186b119d67 |
lib/compel/builder/any.rb | 100644 | 0 | 0 | | | 136 Bytes | 74c61160bc7880aa25f35549ef7c106f45a5a277a0daa4c938adc16681166ada |
lib/compel/builder/array.rb | 100644 | 0 | 0 | | | 442 Bytes | a94011fd8047c7ee354cd7bc3030f428ea338eeff44330d5cd1c3e8a72babe25 |
lib/compel/builder/boolean.rb | 100644 | 0 | 0 | | | 269 Bytes | 67444da7c4880826ff6cb5290f3faffc5a474fa17f0867b33812da9526e10194 |
lib/compel/builder/common.rb | 100644 | 0 | 0 | | | 731 Bytes | b94a0276a16ee96d84635f880f777413d668c3d033b7fa275158929a979e3165 |
lib/compel/builder/common_value.rb | 100644 | 0 | 0 | | | 1.52 KB | 3027214c9bde83f8ae086e828d5fee3e7cf32ba963409c640ea55fbc0faa8cd9 |
lib/compel/builder/date.rb | 100644 | 0 | 0 | | | 326 Bytes | ed71892efdeec3a1d70e75989600947c48bdea50c7e131034f499688d3553a67 |
lib/compel/builder/datetime.rb | 100644 | 0 | 0 | | | 331 Bytes | 6854631281d7feb3b9d194ce0c4f12f320274a4d22deb0dfadd4f3ddc59b047b |
lib/compel/builder/float.rb | 100644 | 0 | 0 | | | 167 Bytes | a984638951f7b24af502087b7130ae328a3a84c2c84e4c120b7dfcde819552d6 |
lib/compel/builder/hash.rb | 100644 | 0 | 0 | | | 695 Bytes | 61c927d4d356d2c2c278bbc3d60bc95e0f8fc8a7875d206b6fd2e9c79d9437e3 |
lib/compel/builder/integer.rb | 100644 | 0 | 0 | | | 171 Bytes | 966b348e42aa84769bf81d5b450791936e09087d9febc2728a407735e1a03d9c |
lib/compel/builder/json.rb | 100644 | 0 | 0 | | | 138 Bytes | ed0ba9ece6055c6593dc05a76232a2f94ab1d1456da8899b3587a0c04b615ce7 |
lib/compel/builder/methods.rb | 100644 | 0 | 0 | | | 1.11 KB | 2b5c240b51d932a98336b51e3970f0ae4bb06157c47ecf0c3d2530ea43ef8ad7 |
lib/compel/builder/schema.rb | 100644 | 0 | 0 | | | 653 Bytes | f27d1c76015b178dc0e06ece096ef716bf374ab3e2a8af6d5fbf89c0319a5d62 |
lib/compel/builder/string.rb | 100644 | 0 | 0 | | | 825 Bytes | 588338943ed06e73986632e28d30afc4bde57a0511d6c503a5a63ccfa04d4233 |
lib/compel/builder/time.rb | 100644 | 0 | 0 | | | 323 Bytes | 7972f8594b1b5945216bebe58e70020919d9d986a57ba3cf219216c49e919649 |
lib/compel/coercion/coercion.rb | 100644 | 0 | 0 | | | 1011 Bytes | 4450a22a3f2f9642ee65832bc73181a955ecc9199dc6f92171818d1f7b1218a7 |
lib/compel/coercion/nil_result.rb | 100644 | 0 | 0 | | | 144 Bytes | 92f202b144cec48a25119a5c541f28e6ddc8b77a0e1531d68fd82b58a5cef05f |
lib/compel/coercion/result.rb | 100644 | 0 | 0 | | | 679 Bytes | 90b64cce399f63bd7b9c7e4915c8efe65599b69f8b903efa9ac85fc7d7fd3562 |
lib/compel/coercion/types/any.rb | 100644 | 0 | 0 | | | 122 Bytes | 55e5d6a08f4319cae39ac1c87fbb33ecffcba59726e74a525cec35d9770cc063 |
lib/compel/coercion/types/array.rb | 100644 | 0 | 0 | | | 170 Bytes | 4c3d9c4100549907f45cecdcf6e06d72193febff3d4138f243cfe8adb2c2915a |
lib/compel/coercion/types/boolean.rb | 100644 | 0 | 0 | | | 276 Bytes | 21767bdc071df3102c2a78c0cd1541fdc1afa0c83aa215c43189419e44e8a13d |
lib/compel/coercion/types/date.rb | 100644 | 0 | 0 | | | 177 Bytes | ad1a1545efdfc7b38c6f417b59d248be65f64ce3db25bc11ee8fb05f980b36fd |
lib/compel/coercion/types/date_type.rb | 100644 | 0 | 0 | | | 681 Bytes | 8c00207dc961999099965659bb2069250f9b7754a1365a361ab58a0f0bf1804b |
lib/compel/coercion/types/datetime.rb | 100644 | 0 | 0 | | | 181 Bytes | b7a905420e208eb52742783f64086b392b196ac9a4ee1035726ef9cf55ac7d19 |
lib/compel/coercion/types/float.rb | 100644 | 0 | 0 | | | 142 Bytes | a770a7777319afbf753e9ac5b76b2cab36e1705d59667347eacb03297a207846 |
lib/compel/coercion/types/hash.rb | 100644 | 0 | 0 | | | 392 Bytes | b75a3fb9906cb9c02fcd3512421055c56a76df4fa6ccf75ef0de312ad059bdc3 |
lib/compel/coercion/types/integer.rb | 100644 | 0 | 0 | | | 146 Bytes | 98d607a3f6c392d68f89665538a32d4244ddd11fa2841b251f0a7174e952dd3e |
lib/compel/coercion/types/json.rb | 100644 | 0 | 0 | | | 164 Bytes | 31134ba6a9e62a9dbb98b743a7e65289b6dc4ba9c9d6298ae1dfdd592c84fe79 |
lib/compel/coercion/types/regexp.rb | 100644 | 0 | 0 | | | 172 Bytes | f7246f7281c1816c072067a7b6aa55c0aa33742545746bad8fd226d1f59dfd22 |
lib/compel/coercion/types/string.rb | 100644 | 0 | 0 | | | 172 Bytes | f735b62da3de0a4c411459260379456b9bd781b4f0cea835d497ca6a86c41c93 |
lib/compel/coercion/types/time.rb | 100644 | 0 | 0 | | | 173 Bytes | c15ecc79dcc6cba8f89ab57951d2c386a0537b17157e9dc8b07637d874180838 |
lib/compel/coercion/types/type.rb | 100644 | 0 | 0 | | | 697 Bytes | d824fdd3971fc254772b51fd6efd5443f11361d651503f2de13022f3c729d649 |
lib/compel/contract.rb | 100644 | 0 | 0 | | | 546 Bytes | 35ab6b231d5d88079ec89480528718e0524b6951256194f9d0e7a6dd82c8391a |
lib/compel/errors.rb | 100644 | 0 | 0 | | | 697 Bytes | 8424a1db375f800f19910085bf736efaf3c49d96927a89661a31dabc5e7df93e |
lib/compel/exceptions/invalid_object_error.rb | 100644 | 0 | 0 | | | 97 Bytes | 7037c88e48ea9c9ea594d8a8c2a5fc415a51476312b8cc6a33c7ef7208908c54 |
lib/compel/exceptions/type_error.rb | 100644 | 0 | 0 | | | 61 Bytes | 48cc1e979cb81e86af424519d54bcdd13687bda9cb62730ecf2dc51aa7744125 |
lib/compel/result.rb | 100644 | 0 | 0 | | | 447 Bytes | c76854791939d7e98d616a6832b70c98b9c2ab4bff6c10be0ffcc6e8a7822dd6 |
lib/compel/validation/conditions/condition.rb | 100644 | 0 | 0 | | | 667 Bytes | 8d4b0ff8460794b7a0ab660751ba6d7190d4290cd022a8e3fc41f4d22bc936d7 |
lib/compel/validation/conditions/format.rb | 100644 | 0 | 0 | | | 311 Bytes | e23d1fb4ff25d6533050d7561f479acd85ec8918a6b407c059e29c347a3c34be |
lib/compel/validation/conditions/in.rb | 100644 | 0 | 0 | | | 300 Bytes | 6bfe9de0137350f66a9e70428515289c2056a5b9a7d2ab8ccf0d5579a9e2f6c7 |
lib/compel/validation/conditions/is.rb | 100644 | 0 | 0 | | | 407 Bytes | ec65de011c515349e6ed64f0ad0cf2c1d3c535fd4130951fe79c5733f9bf1632 |
lib/compel/validation/conditions/length.rb | 100644 | 0 | 0 | | | 316 Bytes | eb822b304eafce91330f29e158e602643254335025b26858609f4861085cd74f |
lib/compel/validation/conditions/max.rb | 100644 | 0 | 0 | | | 290 Bytes | 9c7fdc7e8588ff64211305c85a6fbf78cde2e0835930db0349055a8410aff702 |
lib/compel/validation/conditions/max_length.rb | 100644 | 0 | 0 | | | 317 Bytes | 21a1d533e63c359373f81b2964f4d3b09ecb856aacd1448d5b3ae30c788434da |
lib/compel/validation/conditions/min.rb | 100644 | 0 | 0 | | | 287 Bytes | a8628de606025f69114b8f93b1c99dbe4f30557012feb79895f1f8c36bb4130c |
lib/compel/validation/conditions/min_length.rb | 100644 | 0 | 0 | | | 314 Bytes | fb611309da785fa827d73b84ea7a90b94e65418449b0c4b92acee7384978a487 |
lib/compel/validation/result.rb | 100644 | 0 | 0 | | | 367 Bytes | 5c2cfcc0e5cafcd7e3e5ab0b340e2155c5ac49bdcdc2555242c14fa63e4fcbfd |
lib/compel/validation/validation.rb | 100644 | 0 | 0 | | | 1.43 KB | 52ceef3cbea6c0894a17eac6595381dcf8f1651f4e509daa93b06fa860545f54 |
lib/compel/validators/array_validator.rb | 100644 | 0 | 0 | | | 2.02 KB | 867bb37e24785089421e68d86476792d9d40b6460f0de03e1af68fe0ad0f9a4b |
lib/compel/validators/base.rb | 100644 | 0 | 0 | | | 619 Bytes | 8f66ff47dc6bd07046b594d79a737571f12ffc8253c4ee0e18d226b82083fd80 |
lib/compel/validators/hash_validator.rb | 100644 | 0 | 0 | | | 2.16 KB | 25007add31b16595ccd61fd1bc6784814d00007986c5fd4136cec882f5562525 |
lib/compel/validators/type_validator.rb | 100644 | 0 | 0 | | | 1.64 KB | 3504dd6601a5ce49f1fa399472a54263efa2f18ebd3ad9f31c415372ff1f9fd8 |
lib/compel/version.rb | 100644 | 0 | 0 | | | 38 Bytes | cdac590bd48c45d55577fbf0a0857e3dcdb11b0337699534653cbbf941d1d173 |
spec/compel/builder_spec.rb | 100644 | 0 | 0 | | | 23.5 KB | 8f756a539e1e57d3d84bdc4c3c46b8baaa8308e1525e478dba4c63d0f3662fa8 |
spec/compel/coercion_spec.rb | 100644 | 0 | 0 | | | 6.9 KB | 508f923cb616750c7d73289b643cdd7517380ba0bbd6b65d1ba76015d6c42e08 |
spec/compel/compel_spec.rb | 100644 | 0 | 0 | | | 13.4 KB | 9a052c86ed38683006e9e1a22cbdb35b61503743405a92bcf3819229dbeb8aec |
spec/compel/errors_spec.rb | 100644 | 0 | 0 | | | 1.53 KB | 3715d2ab102d18075b788d91cb809d90ea5a7cec60d3447b697281a4c4d4e654 |
spec/compel/sinatra_integration_spec.rb | 100644 | 0 | 0 | | | 1.64 KB | 8e7611667774b58f23208f4c84900a2407caf9898efb27cca4e650567957b244 |
spec/compel/validation_spec.rb | 100644 | 0 | 0 | | | 6.01 KB | 136bb8fce815c03db53c8e72c47fcfaa638c9d5ba42309c81214805bc3c5e03e |
spec/spec_helper.rb | 100644 | 0 | 0 | | | 340 Bytes | 2c4169b374547c9e59453968351c36e7b44bdd3ff10224c75e37b082b5f9506d |
spec/support/sinatra_app.rb | 100644 | 0 | 0 | | | 750 Bytes | b6bb242a596cfe9ffc3a3ddf1a165e4d62d4262e55c0dbe7bafa89a76c9e9574 |