Permalink
Commits on Sep 13, 2017
  1. Merge pull request #1680 from astorije/patch-2

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

    astorije committed on GitHub 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 on GitHub 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 on GitHub 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 on GitHub Jul 12, 2017
  2. Merge pull request #1657 from dblock/subject-spec

    dblock committed on GitHub 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 on GitHub 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 on GitHub 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 on GitHub 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 on GitHub Jun 14, 2017
    Don't require multi_json and multi_xml.
Commits on Jun 13, 2017
  1. use correct params class in declared method (#1648)

    thogg4 committed with dblock Jun 13, 2017
    * use correct params class in declared method
    
    * add changelog entry
Commits on Jun 12, 2017
  1. Silence warnings (#1632)

    thogg4 committed with dblock Jun 12, 2017
    * silence warnings
    
    initialize vars in initializers
    
    subclass hashie mash to silence warnings
    
    rubocop fixes
    
    add changelog entry
    
    Revert "use correct params class in declared"
    
    This reverts commit 61f0c8e.
    
    fix tests
    
    * remove disable_warnings in hashie mash
    
    * make rubocop happy
    
    * fix hashie tests
  2. Merge pull request #1647 from pablonahuelgomez/readme-update-to-refle…

    dblock committed on GitHub Jun 12, 2017
    …ct-new-helpers-interface
    
    Update README according to new `helpers` macro interface
  3. Merge pull request #1646 from pablonahuelgomez/allow-helpers-to-mix-i…

    dblock committed on GitHub Jun 12, 2017
    …n-a-list-of-modules
    
    Add ability to include an array of modules as helpers
  4. Bugfix: Correctly handle `given` in Array params (#1625)

    rnubel committed with dblock Jun 12, 2017
    * Bugfix: Correctly handle `given` in Array params
    
    Array parameters are handled as a parameter that opens a
    scope with `type: Array`; `given` opens up a new scope, but
    was always setting the type to Hash. This patch fixes that,
    as well as correctly labeling the error messages associated
    with array fields.
    
    * Code review fix
    
    * Add CHANGELOG entry
  5. Add ability to include an array of modules as helpers

    pablonahuelgomez committed Jun 12, 2017
    Changing helpers DSL to allow the inclusion of many modules.
    This attemps to bring a better readability, since it seems to be
    more intuitive to send a list of modules when the message in
    question is called helpers.
Commits on May 22, 2017
  1. Merge pull request #1638 from swamp09/suppress-warnings

    dblock committed on GitHub May 22, 2017
    Suppress `warning: method redefined`