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

Add ruby version 2.1.7 & 2.2.3 in .travis.yml

17b60d5c68f51e92bb96b5f37146fb35878e3b37 authored over 9 years ago by Leonardo Saraiva <[email protected]>
Merge pull request #69 from lotus/test-jruby-9000

Test against JRuby 9000

3f7f53befa653246110a7816b17a3ebdb615230c authored over 9 years ago by Trung Lê <[email protected]>
Test against JRuby 9000

dd329073f2197f35f48a839a513f2bf746df23c8 authored over 9 years ago by Trung Lê <[email protected]>
Merge pull request #66 from pascalbetz/fix-documentation

Fix documentation

d29feefadfb812f83fb32451a33caf81d087eeab authored over 9 years ago by Luca Guidi <[email protected]>
Corrected typos

4d702fb8cbd8b6616d12af4e09a6a9449cf1250d authored over 9 years ago by Pascal Betz <[email protected]>
- Removed remark about Ruby’s truthiness from acceptance

8f8a7e12abd80a0fdcf42494327a0eac1e35ef3b authored over 9 years ago by Pascal Betz <[email protected]>
Test against lotus-model ~> 0.4

a56f2a552fc58f633ebe943a4a5d01320fe7bdda authored over 9 years ago by Luca Guidi <[email protected]>
Depend on lotus-utils v0.5.0

9df6eef242988ec5635daded3fa48b7acd208578 authored over 9 years ago by Luca Guidi <[email protected]>
Prepare for v0.3.2

029b4e54559ae83ff4123e43e093b484d01381b2 authored over 9 years ago by Luca Guidi <[email protected]>
Merge branch 'deepj-invalid-method'

7eb368a9812ce1d6facce33cb44d56a3592e577d authored over 9 years ago by Luca Guidi <[email protected]>
Introduce invalid? method as an opposite to valid?

15cb6a333a6e7369c1e6dc6485d0fc44b118f8ca authored over 9 years ago by deepj <[email protected]>
Merge branch 'master' of github.com:lotus/validations

dfa19357558ce117709b0cd3428b764d31a5e348 authored over 9 years ago by Luca Guidi <[email protected]>
Prepare for v0.3.1

e3b20bc97e3a7113b71e76ce0a7e90d60729eeff authored over 9 years ago by Luca Guidi <[email protected]>
Merge pull request #63 from jeremyf/wordsmithing

Wordsmithing

dfdcb49bbcf9cbe6a1732a0ee9ccb156cedde067 authored over 9 years ago by Trung Lê <[email protected]>
Removing dangling adverb.

"activated" is a strange word, as its not something I think about in
the code interaction.

c45e9fa19ba8d9cbbc8c8a705c96913fc9ab0334 authored over 9 years ago by Jeremy Friesen <[email protected]>
Adding an Oxford comma

Consider http://imgur.com/gallery/fycHx

51629cd181f848d30fb5e27df44f68d7e032f8f2 authored over 9 years ago by Jeremy Friesen <[email protected]>
Wordsmthing README for verb/subject agreement

d8c352de68efed89edff194bcb4e964ea6d73673 authored over 9 years ago by Jeremy Friesen <[email protected]>
Merge pull request #62 from jeremyf/wordsmithing

Wordsmithing the REAMDE.md typo

66d9448b50cb86c87e784667fbe52ce28fa416e1 authored over 9 years ago by Luca Guidi <[email protected]>
Ensure Validations#to_h to return a ::Hash

f879c9653c3d73e050b3ecb256483ebe131207d1 authored over 9 years ago by Luca Guidi <[email protected]>
Wordsmithing the REAMDE.md typo

[skip ci]

1587ed05a73216f948868d3de2ba982953acd65c authored over 9 years ago by Jeremy Friesen <[email protected]>
Merge branch 'dsnipe-reafctor-override-attributes'

9920b7c4fe8350f118318343513db2f530d126c3 authored over 9 years ago by Luca Guidi <[email protected]>
Merge branch 'reafctor-override-attributes' of https://github.com/dsnipe/validations into dsnipe-reafctor-override-attributes

591d748c753a6561fa48c73ba42e048539e8adb5 authored over 9 years ago by Luca Guidi <[email protected]>
When coerce to Hash, only convert nested attributes, Hash and Utils::Hash. Ref #58

3efe25f8472db81cc457f318d349a162d6d84f1c authored over 9 years ago by Luca Guidi <[email protected]>
Ensure #to_h to return Lotus::Utils::Hash instances

7e6dad998834b1530d4f93316c27a47d87ba76b8 authored over 9 years ago by Luca Guidi <[email protected]>
Merge branch 'fix-nested-attributes-hash-serialization'

8b5e5f0a8241fdde52c96d6f921041e3a52ca2f8 authored over 9 years ago by Luca Guidi <[email protected]>
Ensure nested attributes to have correct Hash serialization. Closes #58

e7c274d766a9a727e2535abe46ecb7fde2da4a3d authored over 9 years ago by Luca Guidi <[email protected]>
Merge pull request #60 from lotus/fix-nested-attributes-hash-serialization

Ensure nested attributes to have correct Hash serialization.

13a95b3bd604e2179484a7955f2eed1a2f766231 authored over 9 years ago by Luca Guidi <[email protected]>
Ensure nested attributes to have correct Hash serialization. Closes #58

5c9333d4d1abc6914a8da28dd7b9ddb292735d71 authored over 9 years ago by Luca Guidi <[email protected]>
Refactor attribute definer for entity

0b101abe067075dc2237b855678494cddd23889f authored over 9 years ago by Dmitry Tymchuk <[email protected]>
Merge pull request #55 from AlfonsoUceda/master

Fixed lotus entity integration bug

e04850a61efb95a2e6e66ce727ad98cb8dbeca57 authored over 9 years ago by Luca Guidi <[email protected]>
Merge pull request #57 from LeoTeam/update-travis-ci

Add ruby version 2.1.6 & 2.2.2 at .travis.yml

01b6cf3e9f5698d69d0a0ec9da5443304672673b authored over 9 years ago by Trung Lê <[email protected]>
Add ruby version 2.1.6 & 2.2.2 at .travis.yml

a6106e4657057cd589425430195413a2bb08ed20 authored over 9 years ago by My Mai <[email protected]>
Fixed lotus entity integration bug

7f2820fbea915ecc3d24ae846561fafe4f4f8106 authored over 9 years ago by Alfonso Uceda Pompa <[email protected]>
[ci skip] Prepare for v0.3.0

8987b41fdc588ea528049529eb51ce4e5322fcdc authored almost 10 years ago by Luca Guidi <[email protected]>
Depend on lotus-model ~> 0.3 (for testing)

ddc606679c4090be1304a3e1490d3ab907702fe0 authored almost 10 years ago by Luca Guidi <[email protected]>
Bump version to 0.3.0

44663d388513231c7ae73659dd3de128f4532a1a authored almost 10 years ago by Luca Guidi <[email protected]>
Depend on lotus-utils ~> 0.4

76dad6e41f7aee4c6b9d24c8a13e8f892dca564a authored almost 10 years ago by Luca Guidi <[email protected]>
Test against 2.2.1

09b95854c96a6eb1d0bc1dc12fc509d45e98791f authored almost 10 years ago by Trung Lê <[email protected]>
Merge pull request #51 from PragTob/simplify-travis-yml

Simplify travis yml (jruby-head is 2.2 by default)

051abeaa0187c031864519843285350d2ca151ea authored almost 10 years ago by Luca Guidi <[email protected]>
Simplify travis yml (jruby-head is 2.2 by default)

JRuby tests pass :)

d11cd79e6385594cd707d3f950b46bf76a8c129d authored almost 10 years ago by Tobias Pfeiffer <[email protected]>
Merge pull request #48 from jc00ke/patch-1

Update .travis.yml for faster runs

e6d15b341fdff1616a8932334958938a4463efc0 authored almost 10 years ago by Trung Lê <[email protected]>
Update .travis.yml for faster runs

The --retry is default on Travis now.
Use Travis container for faster tests.
Cache Bundler dow...

2961b68e33e0c5ec497f30cd9ce4d6a87facd59e authored almost 10 years ago by Jesse Cooke <[email protected]>
[ci skip] Fixed API doc

7f7db778bbbadfd3903094f63b091610802a37b7 authored almost 10 years ago by Luca Guidi <[email protected]>
Prepare for v0.2.4

f258c6287fe579bfcdccbb2caeb5c7eebb642f60 authored almost 10 years ago by Luca Guidi <[email protected]>
Update year [ci skip]

9fbc989b0561fbb52b0466111109dffebddcaf48 authored almost 10 years ago by Trung Lê <[email protected]>
Merge pull request #47 from lotus/udpate-year

Update year [ci skip]

d8f833e26f29a0d1f2bb7c30ab452b691180f5dd authored almost 10 years ago by Trung Lê <[email protected]>
Merge branch 'stevehodgkiss-nested_errors_issue'

7700fb92dcdfc3c3fe7c2c783372b4650e39fd76 authored almost 10 years ago by Luca Guidi <[email protected]>
Put each assignment on its own line in Error#initialize

ba6e62f6d1faee21a7e9cd1b58b43032abb8426d authored almost 10 years ago by Steve Hodgkiss <[email protected]>
Be consistent and always return strings from attribute

584fb2671e28939dc9fd56696e777b766ae2489a authored almost 10 years ago by Steve Hodgkiss <[email protected]>
Let error handle namespaced logic

5357fd1c02b442f17faf243cb2550d4066da93e9 authored almost 10 years ago by Steve Hodgkiss <[email protected]>
Add Error#attribute_name

c94a1835fb8ed7c6f8e6b97ec5b003c664a70e53 authored almost 10 years ago by Steve Hodgkiss <[email protected]>
Remove errors.any?

59f8c62f7c2a33fada09dc324a63dc66bfebf71e authored almost 10 years ago by Steve Hodgkiss <[email protected]>
Namespace the error itself, not just the key in Errors

ebbd824a7f168256df77210d9f4dd75a9ddbeecc authored almost 10 years ago by Steve Hodgkiss <[email protected]>
Flatten nested errors based on the parent attribute name

70d7526c37b5e16ba58b9606fcc478e87121349f authored almost 10 years ago by Steve Hodgkiss <[email protected]>
Fix an issue where an Errors would think it has errors after asking for any attribute that didn’t have errors

d6f8a340033f31b269dd3089a285a1e5275dadfc authored almost 10 years ago by Steve Hodgkiss <[email protected]>
Merge branch 'stevehodgkiss-nested_validators'

2e00d76901eb342ef41405475d964108ce1e1706 authored almost 10 years ago by Luca Guidi <[email protected]>
Merge branch 'nested_validators' of https://github.com/stevehodgkiss/validations into stevehodgkiss-nested_validators

Conflicts:
lib/lotus/validations/validation_set.rb

2919e87b36179ca4550394161cf7b2d9c7bbef52 authored almost 10 years ago by Luca Guidi <[email protected]>
[ci skip] More documentation for v0.2.3

d913aeb61f0c7b19b50038182eb8d12fd6535bc9 authored almost 10 years ago by Luca Guidi <[email protected]>
Prepare for v0.2.3

27f65c302b787827e7e921df4065e2ed29549ee4 authored almost 10 years ago by Luca Guidi <[email protected]>
Merge branch 'entity-compatibility'

4d763f5fbfe6c301372ad07957f7c3481a81ee27 authored almost 10 years ago by Luca Guidi <[email protected]>
Entity compatibility: cover more cases

4c254f317f0ea71030118be1832270821dfbb061 authored almost 10 years ago by Luca Guidi <[email protected]>
Skip integration test with Entity if JRuby as it isn't compatible with

Lotus::Model.

bbe99031ba345f09ca8a70df43359f90ec7fe6a4 authored almost 10 years ago by Luca Guidi <[email protected]>
Integration with Lotus::Entity

1744de726d062b4b668b7c3a6a6c78029fbbf182 authored almost 10 years ago by Luca Guidi <[email protected]>
Fix for .validates usage: accept whitelisted attributes

ff60ab71d87b7eb28568384e72db68205a22ab11 authored almost 10 years ago by Luca Guidi <[email protected]>
Fix unrecognized validation error for :type

28e3669fbeb80cde45337e85d5d5f1e52a11cba5 authored almost 10 years ago by Luca Guidi <[email protected]>
Improve specs and allow nested validations to be valid

f86d828503405bb7b6e64d612d7f701d7d1577f7 authored almost 10 years ago by Steve Hodgkiss <[email protected]>
Add doc for #validate

0a18777d85cd5fd65a58d9e45bc5b1a5522e9a10 authored almost 10 years ago by Steve Hodgkiss <[email protected]>
Pass errors down from the validatable class

bb6a6c01a83ee5baaceae7843ece7c676ce3d40c authored almost 10 years ago by Steve Hodgkiss <[email protected]>
Remove indirection of the _run_validations method and pull it into #validate

2aefeedbc90fc59b3ec6273b04b693de365cc58b authored almost 10 years ago by Steve Hodgkiss <[email protected]>
Implement nested validations as a validation itself

Gets rid of the nasty conditional for `if value.respond_to?(:validate)` in the easiest way possi...

d136aa7fa8f07b8d09d34fd20b71b6bb9ff6b9ec authored almost 10 years ago by Steve Hodgkiss <[email protected]>
Extract define_nested_attribute method

411b1384a4801620a426eca6e3f788ebfc2046a3 authored almost 10 years ago by Steve Hodgkiss <[email protected]>
An attribute needs defining to allow assignment

4b4e961366fcbee5af391ac1f74024e8b5c30589 authored almost 10 years ago by Steve Hodgkiss <[email protected]>
Attributes#set does not return the value being set, so ensure we return the expected value

d32f54e7f7f5f9006207ec1c05a784b9d0eec314 authored almost 10 years ago by Steve Hodgkiss <[email protected]>
Use #set

5adf10cc914965aac93ba9c2c24d0b92ddc2675d authored almost 10 years ago by Steve Hodgkiss <[email protected]>
Take into account nested validators when calling .valid?

Also, .for(:nested) returns an instance of Errors rather than an array of Error

348a04cd95ac1e611d9848232c2c8511feb901ee authored almost 10 years ago by Steve Hodgkiss <[email protected]>
Ensure an instance of a nested validator class is always built even if no input was passed in for it

1d4efdb38ea9f5f73d8fbc9b300fa9cba744d690 authored almost 10 years ago by Steve Hodgkiss <[email protected]>
Support nested attributes

This changes the way writers are specified so that they can work with anonymous types.

2d6dff7120bd912486946bdceb0bfc58eae9c1e2 authored almost 10 years ago by Steve Hodgkiss <[email protected]>
Cleanup per #42 and additional tests

9d88e6d775c0f8cb1e254621b24ac1ef7e42af42 authored almost 10 years ago by Luca Guidi <[email protected]>
Merge branch 'stevehodgkiss-ensure_whitelisted_public_send'

398def61fd7f9a4ebec53638fe2e7ae0f976dd13 authored almost 10 years ago by Luca Guidi <[email protected]>
Merge defined attributes when subclassing

41edd559458d4a5f539be43dcae86ca2bdfa19d8 authored almost 10 years ago by Steve Hodgkiss <[email protected]>
Ensure only defined attributes can be assigned

e1a1557955e2c91b1bc8045a55cb98c4eb150d34 authored almost 10 years ago by Steve Hodgkiss <[email protected]>
[ci skip] Modified release date in CHANGELOG

6ddcfdb67a5b3ceb39ba43cd506f645324a2ca93 authored almost 10 years ago by Luca Guidi <[email protected]>
Remove MRI 2.2 from allowed failures

b1060aa5e82e251da55e8cae09a7f7f542528b59 authored almost 10 years ago by Luca Guidi <[email protected]>
Merge branch 'stevehodgkiss-blank_string_coercions'

e8a61c50774fc2971b235955a2fefa8e48996f88 authored almost 10 years ago by Luca Guidi <[email protected]>
Don’t coerce to nil for blank string values

Controller is testing for this behaviour, so it makes sense to ensure the correct behaviour here...

bbdf5d769252678abe11d9947f56db1eba69ba6d authored almost 10 years ago by Steve Hodgkiss <[email protected]>
Remove nasty return nil on blank value check

2545d47a6e98a0239723bbfab7072c4b57421db5 authored almost 10 years ago by Steve Hodgkiss <[email protected]>
Merge pull request #41 from stevehodgkiss/use_utils_attributes_to_back_getters_and_setters

Back attribute accessors with Utils::Attributes and support non-whitelisted attributes for Lotus...

ac2498894d77841afd797f3a85a30b0dbe635f09 authored almost 10 years ago by Luca Guidi <[email protected]>
Back AttributeDefiner with Lotus::Utils::Attributes hash

980eb89006097956116fc84cc7193c658fea5640 authored almost 10 years ago by Steve Hodgkiss <[email protected]>
Reintroduced .defined_attributes per Lotus::Controller compatibility

e2c3afea64464f57b07bacae740740936fdc5d5c authored almost 10 years ago by Luca Guidi <[email protected]>
Prepare for v0.2.2

f5ece9a531b7fa06478dedfce494ec7fecbdb2d1 authored almost 10 years ago by Luca Guidi <[email protected]>
Merge pull request #39 from Linuus/patch-1

Update custom coercion section in README.md

3ae3b12c2b1c6473fd47e770a87774e070dd8c3f authored almost 10 years ago by Luca Guidi <[email protected]>
Update README.md

75fd18fc15171c3cfa50efc797f538093940fa5e authored almost 10 years ago by Linus Pettersson <[email protected]>
Bump to v0.2.2

47297934862c4f01c1bbec210d1ecf2e1d108caf authored almost 10 years ago by Luca Guidi <[email protected]>
Cleanup per #37

834918c535347e6138eca3a1fdae2dbc14856ef6 authored almost 10 years ago by Luca Guidi <[email protected]>
Merge branch 'stevehodgkiss-refactor_to_allow_constructor_ownership_and_revalidating_changed_attributes'

6d7fe2511ed6607511fc54d426984f09d842c897 authored almost 10 years ago by Luca Guidi <[email protected]>
Update @since reference for .validations

3de85fb756751c80a9f1744e227864d6df265b6e authored almost 10 years ago by Steve Hodgkiss <[email protected]>
Use class_eval, it reads better

81353a7c084d80b90cd5c3ccfb64f452206108c5 authored almost 10 years ago by Steve Hodgkiss <[email protected]>
Fix alignment

be92ac50bc6512a345646d54b6f7e995b3652432 authored almost 10 years ago by Steve Hodgkiss <[email protected]>
Make the validations constant more readable

484d3a6fd8d3dda512d032c0975731839e247ae0 authored almost 10 years ago by Steve Hodgkiss <[email protected]>
Test with a String type, otherwise ‘thirtytwo’ gets coerced into nil and the format validator is bypassed

beec60bd8e72fd7cffd0c672eb01615d0e1707ce authored almost 10 years ago by Steve Hodgkiss <[email protected]>