Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/hanami/validations
Validation mixin for Ruby objects
https://github.com/hanami/validations
2706417e18713313acfc88f369dc9429b48d8257 authored about 10 years ago by Steve Hodgkiss <[email protected]>
39b43ded0247ecc215fc61577d0e186cbd4edea0 authored about 10 years ago by Steve Hodgkiss <[email protected]>
fcb419055d7cd0896f1ffd915dcab4cb68ed8432 authored about 10 years ago by Steve Hodgkiss <[email protected]>
cb85cdb591615b8a35e847190b6fbe199600b30f authored about 10 years ago by Steve Hodgkiss <[email protected]>
This reverts commit 20909be9cbc27fbd07023ccdb06e3bc2c5099919.
b1979839a459385ad6d6f3eb486c51d00ab9f90f authored about 10 years ago by Steve Hodgkiss <[email protected]>c0d5f2564d849df3f224981876af1ebd9e7e8590 authored about 10 years ago by Steve Hodgkiss <[email protected]>
0baaae81afc262a9c2e9a49b7df9128299ed5cea authored about 10 years ago by Steve Hodgkiss <[email protected]>
5c7750797ac5bcd6120b12123508a16271524e9a authored about 10 years ago by Steve Hodgkiss <[email protected]>
Integer coercion of ‘anything’ to 0 still needs to be resolved, though.
20909be9cbc27fbd07023ccdb06e3bc2c5099919 authored about 10 years ago by Steve Hodgkiss <[email protected]>ac3403ee2da59ba97e29786b19e363bfeec6468d authored about 10 years ago by Steve Hodgkiss <[email protected]>
f3edb4b5d4110d9252c349c162adbaa66b76545e authored about 10 years ago by Steve Hodgkiss <[email protected]>
226088b1e0c24117d71978c559aee396e37c3d81 authored about 10 years ago by Steve Hodgkiss <[email protected]>
0f131c4214a35340c0bca3afbcb7a5ee64c76011 authored about 10 years ago by Steve Hodgkiss <[email protected]>
038192d847d0656c7c6c945eff5cb33c8e5d4bda authored about 10 years ago by Steve Hodgkiss <[email protected]>
058b2a66629645dcb973c6bd7d0d2c03acfbc1e6 authored about 10 years ago by Steve Hodgkiss <[email protected]>
33da58da955f0012932b53bca95c5de98ac779ae authored about 10 years ago by Steve Hodgkiss <[email protected]>
cf195112abb95fdb7137255550244b704de7dd99 authored about 10 years ago by Steve Hodgkiss <[email protected]>
7db2b8eddf56f4e988bf9138bd6ab1a82998e364 authored about 10 years ago by Steve Hodgkiss <[email protected]>
bf6683a3e260923dcee9b3d46940ae6a4f367586 authored about 10 years ago by Steve Hodgkiss <[email protected]>
8a3804331b53126bac06c4cb6fd56b28489934d7 authored about 10 years ago by Steve Hodgkiss <[email protected]>
237cccefb4c5ee559391cd2a1a617377e58bf57f authored about 10 years ago by Steve Hodgkiss <[email protected]>
Fix class inheritance test and bug
969ed6829d6c5040cdbcdec2d12a5b7d1507b936 authored about 10 years ago by Luca Guidi <[email protected]>The test wasn’t actually testing what it said. This PR fixes the test and adds an inherited hook...
d880ead7a556346e3b9a337ad197328069bc4ff3 authored about 10 years ago by Steve Hodgkiss <[email protected]>7f9dafbf9f6300076c3ca4e454ae5a8e33e1c8c0 authored about 10 years ago by Luca Guidi <[email protected]>
3686ef09351aa5d352619cfb8321e26d058bf617 authored about 10 years ago by Luca Guidi <[email protected]>
Fix custom coercion for support idempotent between `valid?`
99e1aea7f625958849b18cc2c6d1a6230f314be4 authored about 10 years ago by Luca Guidi <[email protected]>d3002b4c6cce01ad0320338b73218d87fe8201f8 authored about 10 years ago by Satoshi Amemiya <[email protected]>
2d68cc8a45c5afe28da557ae73789c63cab57446 authored about 10 years ago by Luca Guidi <[email protected]>
577a419718081e41406be03236bb7611efdbd3c6 authored about 10 years ago by Luca Guidi <[email protected]>
f39e893048e84fec562f2b47d0ee9429348a3eee authored about 10 years ago by Luca Guidi <[email protected]>
6854a4446c85f221bf228483d2bbe3ca447572c7 authored about 10 years ago by Luca Guidi <[email protected]>
ebe2271913ce0245afc1d5d808e1a8ea11e6cb24 authored about 10 years ago by Luca Guidi <[email protected]>
f3889694882c6c721c45e1b233509ec25bc923e0 authored about 10 years ago by Luca Guidi <[email protected]>
4d466a2354aae8ac672818f005e0b259c6b43710 authored about 10 years ago by Luca Guidi <[email protected]>
Non whitelist attributes in absence of attributes definitions
4182227cb6aa2f1818f0f11aaf8a24da6e6e4f13 authored about 10 years ago by Luca Guidi <[email protected]>ba2a3524cc751835d45ffb58759b9580336f5286 authored about 10 years ago by Luca Guidi <[email protected]>
966d1b9081e7dfbc7ce6c5b733c5fc57746e7fce authored about 10 years ago by Luca Guidi <[email protected]>
Support for Rubinius 2.3.0
79a3d488e3e045a99b134d13f625baf74306189b authored about 10 years ago by Luca Guidi <[email protected]>36f4e2701ea5b9ed3efe608f5bb4b51dc159def3 authored about 10 years ago by Luca Guidi <[email protected]>
Implement Validations#each and remove #attributes
dd0f0f6d4fa84760b4ff50c57e547d519e1d9295 authored about 10 years ago by Luca Guidi <[email protected]>c66312e221d337e3c6b10f529349af17b4f74b8c authored about 10 years ago by Luca Guidi <[email protected]>
e6a1bcae35ea62fd09ae520fd8a5301dccbce9ab authored about 10 years ago by Luca Guidi <[email protected]>
7cbb401604408c626615df1cf9994294ca661fd9 authored about 10 years ago by Luca Guidi <[email protected]>
Accepts strings as keys, only for declared attributes
0875a475824c69fd67be9eaaadf18a89cd1f1ec3 authored about 10 years ago by Luca Guidi <[email protected]>
Example:
require 'lotus/validations'
class Signin
include Lotus::Validations
attri...
9ba4cc5cde998dd97b90e739a61b5804b54779cd authored about 10 years ago by Luca Guidi <[email protected]>9e1a537f78be54e45db8a3f09f82d8384c1996bb authored about 10 years ago by Luca Guidi <[email protected]>
It doesn't require to invoke #valid? to have a corced attribute.
Example:
require 'lotus/vali...
bf1655ded0cae4597c3441fc8b85ef70b6a1c0da authored about 10 years ago by Luca Guidi <[email protected]>
7d8239bb51e89296e687bdb333e37a5676189435 authored about 10 years ago by Luca Guidi <[email protected]>
0e7c5db1c1b5fd774ccc2f925244842086a539e0 authored about 10 years ago by Luca Guidi <[email protected]>
a47009d4ebdcf36e221e7f48a6f335d251d0b012 authored about 10 years ago by Luca Guidi <[email protected]>
Expose #attributes as public method
e19b69c2d63b15ff273cadffc83c4fbe3f361605 authored about 10 years ago by Luca Guidi <[email protected]>d4afd75155dcfaae5c227b776c1c95be53e106e7 authored about 10 years ago by Luca Guidi <[email protected]>
0ed27d116370e43547f70ad53f852c0c55bcf624 authored about 10 years ago by Luca Guidi <[email protected]>
1604de45224da7b15ecab2fd6754c79359522a4b authored about 10 years ago by Luca Guidi <[email protected]>
Example:
require 'lotus/validations'
module CommonValidations
include Lotus::Validatio...
9175f88258f2bc461db739e6b850573a4566060f authored about 10 years ago by Luca Guidi <[email protected]>
Use example that is also used in the README
f79523e51860ce79a66cdfc7ce0e537b0532fced authored about 10 years ago by Rik Tonnard <[email protected]>Reverted complete example, renamed "Validations in modules" to "Composable validations", simplif...
35847237cd6bb9a8a70ddec31efde4715b1232d9 authored about 10 years ago by Rik Tonnard <[email protected]>9aeea97e635acf367cec71d07f97ee5d5e03641a authored about 10 years ago by Rik Tonnard <[email protected]>
For Ruby 2.0 compatibility. In Ruby 2.1.0, Module#include was changed to
a public method because...
dd6606b515c4028732fd47f91e3b0a5e2bbe9d5c authored about 10 years ago by Rik Tonnard <[email protected]>
b01db60cd48f793d79a57c59fc9281726c219bd0 authored about 10 years ago by Rik Tonnard <[email protected]>
97c26960ba358331b5b394fd331079286aeb1f92 authored about 10 years ago by Rik Tonnard <[email protected]>
Change ComposedValidationsTestWithExtraAttributes to
ComposedValidationsWithExtraAttributesTest
4506966730472ef6b560df11f9c7b49127fbaeab authored about 10 years ago by Rik Tonnard <[email protected]>
df8ec17eabf4fe7b25cd295141b35eb3eb4b98da authored about 10 years ago by Rik Tonnard <[email protected]>
93f7d40a6b16499602e87a91a51765cbeff884a8 authored about 10 years ago by Luca Guidi <[email protected]>
637404aae510f05dd9eeca6287e5970790225654 authored about 10 years ago by Luca Guidi <[email protected]>
579517dc66a77e7eb1deb003511bc53ed22a29a7 authored about 10 years ago by Luca Guidi <[email protected]>
Made Lotus::Validation::Errors#each and #map 4x faster
0c2fda5aba3ddeabf5786bdce1d2906e192883d7 authored about 10 years ago by Luca Guidi <[email protected]>c719ebdd1620ee0766376a67323722ad397b0be2 authored about 10 years ago by Luca Guidi <[email protected]>
8098b7a53f058e81349e2b3a6ba6620c6a09c6f8 authored about 10 years ago by Luca Guidi <[email protected]>
0b0132be6f5c583c056497202919ba410d0ef080 authored about 10 years ago by Luca Guidi <[email protected]>
b1521cd3da4ddf999acbd5e304ac6d0c6ab25dcb authored about 10 years ago by Luca Guidi <[email protected]>
7d9d200c45f8eb88c2e12a272c1095cb711367e7 authored about 10 years ago by Luca Guidi <[email protected]>
437f00947d9f7eee47e42384f5f5bfc4e6f83f05 authored about 10 years ago by Luca Guidi <[email protected]>
b5f542ca2a71268283397803930b7443264f0421 authored about 10 years ago by Luca Guidi <[email protected]>
d74aab9281dfe1c6bcedc430144349698f7da317 authored about 10 years ago by Luca Guidi <[email protected]>
5056508ee6a5413a6b6458ee64f7c3c4a277818b authored about 10 years ago by Luca Guidi <[email protected]>
cc092a78ce84783ef50524725dd79d719372ba6a authored about 10 years ago by Luca Guidi <[email protected]>
e0c11b7fe6c64c3dee8a2570ea2c10a08cb79c69 authored about 10 years ago by Luca Guidi <[email protected]>
909b35369f9281e63ddb16292dd988c303b2a05b authored about 10 years ago by Luca Guidi <[email protected]>
a865a46888666481e392e0e56cb79edfedc2ac13 authored about 10 years ago by Luca Guidi <[email protected]>
64e5d15c64829b3c89933a004c972bed5a7aacc7 authored about 10 years ago by Luca Guidi <[email protected]>
Updated README with spelling and sentence structure changes.
5f8f94172a9b60e04b80fb03a63478783c3c05c9 authored about 10 years ago by Luca Guidi <[email protected]>7910fd93f02a7129380b6f5cc2851185cb963220 authored about 10 years ago by Tom Kadwill <[email protected]>
b1e07b782eeb284f65585e292c5199101074e237 authored about 10 years ago by Luca Guidi <[email protected]>
Removes TODO from gemspec
c2cec5812ddd652a60884aa84c758b3717b1ba66 authored over 10 years ago by Luca Guidi <[email protected]>Gemspec is invalid with TODO or FIXME messages. Removing such messages allows the gem to build a...
fb5692a518a82bba68f4259d9bb91502a739e943 authored over 10 years ago by Michael McCormick <[email protected]>d5b53f669bb491d3346479afbf548b6cf5053dc3 authored over 10 years ago by Luca Guidi <[email protected]>
Conflicts:
test/fixtures.rb
test/type_test.rb
f01c5e24c6d5c83177494f01a4e64055ad7b5eff authored over 10 years ago by Luca Guidi <[email protected]>
Type coercer accepts custom classes
a04df57212eba369fb77f12ff00f6e43bf7a8b0f authored over 10 years ago by Luca Guidi <[email protected]>Example:
class FullName
def initialize(*names)
@names = names
end
def to_s...
57d5f1fc31bba87cc6a9fac9b8c791c1cd7d491f authored over 10 years ago by Luca Guidi <[email protected]>Fixing typo
3179c740b6e94dc8e030e618f9450fa53bbb5476 authored over 10 years ago by Luca Guidi <[email protected]>b3ead66f19f477c8d8de4a8f320ff7a459639c1b authored over 10 years ago by Lucas Souza <[email protected]>
002891c981bce9c65cae294ec30556bf3753b786 authored over 10 years ago by Jeremy Stephens <[email protected]>
34ba81a82fdebb15a511521c460b5bff14dcfb5a authored over 10 years ago by Luca Guidi <[email protected]>
47037519403cd5f30278305ce22ce5a1bdb56970 authored over 10 years ago by Luca Guidi <[email protected]>