Permalink
Commits on Dec 8, 2016
  1. Bump up version

    tagliala committed Dec 8, 2016
  2. Use assert_nil in tests

    Using assert_equal nil was deprecated in MT5 and will fail in MT6
    tagliala committed Dec 8, 2016
  3. Fix RuboCop offenses

    tagliala committed Dec 8, 2016
  4. Fix conditionals (#686)

    The Ruby on Rails guide contains the following example
    
    ```
      class Computer < ApplicationRecord
        validates :mouse, presence: true,
                          if: ["market.retail?", :desktop?],
                          unless: Proc.new { |c| c.trackpad.present? }
      end
    ```
    
    Arrays and Strings were not supported before. https://github.com/rails/rails/blob/38fe5ae24476ef8808d5eb6366afe84ff43a3279/activesupport/lib/active_support/callbacks.rb#L429-L458
    was used for inspiration.
    
    Removes reference to "any object that responds to `#call`" in README, because
    this is not how ActiveModel behaves. It doesn't check for `#call`, but
    for class (`Proc`), and if it's an arbitrary object it calls callback
    scope (which is `validate`). This behavior is not documented in Rails
    guides.
    libc committed with tagliala Dec 8, 2016
Commits on Nov 16, 2016
  1. Update version and history

    tagliala committed Nov 16, 2016
  2. Update Travis CI config

    Test against Ruby 2.2.6 and 2.3.2
    tagliala committed Nov 16, 2016
  3. Update JsRegex dependency

    JSRegex < 1.0.19 ignores dollar signs in regular expressions
    
    Fix: #684
    tagliala committed Nov 16, 2016
Commits on Nov 11, 2016
Commits on Nov 10, 2016
  1. Update version

    tagliala committed Nov 10, 2016
  2. Merge branch 'fix-numericality'

    * fix-numericality:
      Fix JavaScript numericality validator
      fixup! Fix #425
    tagliala committed Nov 10, 2016
  3. Fix JavaScript numericality validator

    Fixes a JavaScript error while validating numericality against other empty model attributes
    
    Fix #679
    tagliala committed Nov 10, 2016
  4. fixup! Fix #425

    tagliala committed Nov 10, 2016
  5. Fix RuboCop offences

    tagliala committed Nov 10, 2016
  6. Update development dependencies

    tagliala committed Nov 10, 2016
Commits on Oct 28, 2016
  1. Disable Rails/HttpPositionalArguments cop

    It has false positives with Rack::Test::Methods http methods
    tagliala committed Oct 28, 2016
  2. Update RuboCop config

    tagliala committed Oct 28, 2016
  3. Update development dependencies

    tagliala committed Oct 28, 2016
Commits on Oct 8, 2016
  1. Update version to 4.2.7

    tagliala committed Oct 8, 2016
Commits on Oct 7, 2016
  1. Update Travis configuration

    tagliala committed Oct 7, 2016
Commits on Oct 1, 2016
  1. Update development gems

    tagliala committed Oct 1, 2016
Commits on Sep 10, 2016
  1. Turn off NumericPredicate Cop

    It has issues when there is a comparison with a null object
    tagliala committed Sep 10, 2016
  2. Revert "Fix RuboCop offences"

    This reverts commit 730164f.
    tagliala committed Sep 10, 2016
  3. Improve readme

    tagliala committed Sep 10, 2016
  4. Merge branch 'master' of github.com:DavyJonesLocker/client_side_valid…

    …ations
    
    * 'master' of github.com:DavyJonesLocker/client_side_validations:
      Add some clarify to the `copy_assets` command
    tagliala committed Sep 10, 2016
  5. Update version

    tagliala committed Sep 10, 2016
  6. Fix RuboCop offences

    tagliala committed Sep 10, 2016
Commits on Aug 31, 2016
  1. Update dependencies

    tagliala committed Aug 31, 2016
Commits on Aug 2, 2016
  1. Merge pull request #671 from glennfu/patch-1

    Add some clarity to the `copy_assets` command
    tagliala committed on GitHub Aug 2, 2016
  2. Add some clarify to the `copy_assets` command

    Hopefully this will help prevent mistakes made when upgrading this project and leaving stale javascript behind.
    glennfu committed on GitHub Aug 2, 2016