Permalink
Commits on Oct 11, 2017
  1. Merge pull request #1692 from milap-neupane/update-readme-custom-erro…

    dblock committed Oct 11, 2017
    …r-formatter
    
    Include original_exception in Readme for custom error formatter
Commits on Oct 7, 2017
  1. Fixes #1090 - Removes yard docs

    ramkumar-kr committed Oct 5, 2017
    - Add link for documentation published by rubygems in README
    - Remove rake task to generate YARD docs
    - Remove yard and redcardpet gem as a dependency
    - Remove .yardopts
    - Remove ignoring .yardoc directory
Commits on Oct 6, 2017
  1. Merge pull request #1690 from bdube/readme-deprecated-callback

    dblock committed Oct 6, 2017
    Update code reloading example for Rails 5.1.4
  2. Merge pull request #1689 from yurighensev/fix-minimal-typo

    dblock committed Oct 6, 2017
    Fix incredibly minimal typo on namespace.rb documentation
Commits on Oct 5, 2017
Commits on Sep 29, 2017
  1. Avoid coercion of a value if it is valid (#1686)

    timothysu committed with dblock Sep 29, 2017
    * don't coerce param if it is valid
    
    * still run any custom coersions
    
    * fix enumerable type check
    
    * one more nil check
    
    * use coercer class instead of respond_to
    
    * style
    
    * add tests
    
    * changelog
    
    * coerce if method exists and is not json
    
    * rename to requires_coercion?
    
    * add spec
Commits on Sep 13, 2017
  1. Merge pull request #1680 from astorije/patch-2

    dblock committed Sep 13, 2017
    Fix missing syntax highlight
Commits on Sep 12, 2017
  1. Fix missing syntax highlight

    astorije committed Sep 12, 2017
Commits on Sep 8, 2017
  1. Released 1.0.1, closes #1664.

    dblock committed Sep 8, 2017
  2. Preparing for release, 1.0.1.

    dblock committed Sep 8, 2017
Commits on Aug 25, 2017
  1. Rescue StandardError from explicit values validator procs (#1679)

    jlfaber committed with dblock Aug 25, 2017
    * Rescue StandardError from explicit values validator procs
    
    * Update CHANGELOG.md
    
    * Update CHANGELOG.md
    
    * Code Review feedback
    
    * Code Review feedback
Commits on Aug 9, 2017
  1. Merge pull request #1674 from glaucocustodio/implement-as

    dblock committed Aug 9, 2017
    Add parameter alias
Commits on Aug 8, 2017
  1. Add parameter alias

    glaucocustodio committed Aug 7, 2017
Commits on Jul 25, 2017
  1. Merge pull request #1667 from dblock/flanger001-fix-helpers-inheritance

    dblock committed Jul 25, 2017
    Added test for `use`
  2. Added test for `use`

    flanger001 committed with dblock Apr 17, 2017
Commits on Jul 24, 2017
  1. Make helpers available in subclasses (#1665)

    pablonahuelgomez committed with dblock Jul 24, 2017
    * Make helpers available in subclasses
    
    Updating settings code to define :top_level_setting with parent's
    :inheritable_setting when available. This will emulate inheritance,
    with its expected capabilities (sharing and overriding).
    
    * Update CHANGELOG accordingly
    
    * Change method name according to review
Commits on Jul 14, 2017
  1. [Bugfix] Handle deeply-nested dependent params (#1661)

    rnubel committed with dblock Jul 14, 2017
    * Repro issue #1659
    
    * [Fix] Handle deeply-nested dependencies with `given`.
    
    Behind the scenes, each call to `requires` or other params DSL method
    pushes an entry onto a flat list of validators. The nesting structure
    that your parameters can take on is tracked as an up-tree separately
    on each scope, but that relationship isn't used to traverse the validations.
    So, when I moved the dependency checking out of `should_validate?` and into
    the actual validation, the `given` dependency stopped taking effect after
    you nested parameters more than one level deep underneath.
    
    To restore the behavior, I made the validation check recursively upwards
    to see if it should or should not validate that scope.
    
    * Add changelog entry.
Commits on Jul 12, 2017
  1. Fix: typo [ci skip]

    dblock committed Jul 12, 2017
  2. Merge pull request #1657 from dblock/subject-spec

    dblock committed Jul 12, 2017
    Cleanup exception_spec to use subject blocks.
Commits on Jul 11, 2017
  1. Merge pull request #1655 from dblock/lock-rack

    dblock committed Jul 11, 2017
    Lock rack-test that passes array parameters differently.
Commits on Jul 3, 2017
  1. Preparing for release, 1.0.0.

    dblock committed Jul 3, 2017
  2. Merge pull request #1650 from tiarly/add_boolean_specs

    dblock committed Jul 3, 2017
    Add extra specs for Boolean type field
Commits on Jun 30, 2017
  1. Add extra specs for Boolean type field

    tiarly committed Jun 30, 2017
    This is commit adds additional specs to make sure Boolean type
    is indeed working as expected.
    
    #1551
Commits on Jun 21, 2017
  1. Merge pull request #1649 from anakinj/stop-sharing-validator-instances

    dblock committed Jun 21, 2017
    Create a new validator instance for every validation done
  2. Create a new instance of a validator per validation. Cache for Virtus…

    Joakim Antman committed Jun 17, 2017
    …::Attribute.build calls.
Commits on Jun 14, 2017
  1. Merge pull request #1623 from dblock/mutli-json-xml

    dblock committed Jun 14, 2017
    Don't require multi_json and multi_xml.
Commits on Jun 13, 2017