Permalink
Commits on Jul 31, 2011
Commits on Jul 28, 2011
  1. Make configurable the overriding of ValidationErrors.default_error_me…

    …ssages
    
    Most of the changes are only for the benefit of tests and this behavior
    may not be desired, so allow for a different set of messages or disable
    updating default_error_messages altogether.
    
    For devise's benefit, the following messages should be added:
    :not_found, :already_confirmed, :not_locked, and :expired
    (Ideally, a merge would take care of just adding those that aren't defined
    but dm-validations doesn't currently make default_error_messages readable,
    so far as I can tell).
    jm81 committed Jul 28, 2011
Commits on Jul 27, 2011
  1. bundle update

    jm81 committed Jul 27, 2011
  2. Silence some rake warnings

    jm81 committed Jul 27, 2011
  3. DataMapper implementation of Devise::Models::Serializable module

    See plataformatec/devise@33d7644
    
    Uses reader_visibility and writer_visibility methods to determine if a
    property should be excluded by default from serializations.
    jm81 committed Jul 27, 2011
Commits on Jun 24, 2011
  1. Add test override for strip_whitespace_keys

    Due to difference in save! functionality
    
    plataformatec/devise@8e87a2d
    jm81 committed Jun 24, 2011
Commits on Jun 3, 2011
  1. Add email_changed? method as expected by plataformatec/devise@69126a3

    Related tests marked as pending because save! is apparently still running
    validations. That may have something to do with datamapper/dm-validations#13.
    I think this only is an issue with invalid legacy data, so I haven't made
    an effort to figure out exactly what the issue is.
    jm81 committed Jun 3, 2011
Commits on May 9, 2011
Commits on Apr 30, 2011
Commits on Apr 21, 2011
  1. Release 1.3.1

    jm81 committed Apr 21, 2011
  2. For tests, override Resource#to_json to add the model name

    As expected by tests, since AR's to_json includes the model name
    jm81 committed Apr 21, 2011
  3. Remove test override for deleted test 'registration in xml format wor…

    …ks when recognizing path'
    jm81 committed Apr 21, 2011
Commits on Apr 16, 2011
  1. Release 1.3.0

    jm81 committed Apr 16, 2011
Commits on Apr 14, 2011
  1. Add test-only override of Resource#to_xml that prepends xml declaration

    Several devise tests check for the xml declaration; this is easier than
    adding specific overrides for each of those tests.
    Jared Morgan committed Apr 14, 2011
  2. Add DataMapper::Validation::ValidationErrors#to_xml

    This is needed for non-navigational formats support (see, for example,
    plataformatec/devise@210bc6a)
    
    This implementation is very basic, but at least prevents errors.
    Jared Morgan committed Apr 14, 2011
Commits on Mar 28, 2011
  1. Test against devise 1.2.1

    jm81 committed Mar 28, 2011
  2. Release 1.2.0

    jm81 committed Mar 28, 2011
Commits on Mar 13, 2011
  1. v1.2.0.rc

    jm81 committed Mar 13, 2011
  2. Test against dm 1.1.0.rc3

    Update 'sign in with xml format returns xml response' test override to
    allow for spaces in generated xml.
    jm81 committed Mar 13, 2011
Commits on Mar 12, 2011
Commits on Mar 10, 2011
Commits on Mar 1, 2011
  1. Require dm-migrations in test helper

    Bundler no longer automatically loads it, and I shouldn't have depended on
    that behavior anyway
    jm81 committed Mar 1, 2011
Commits on Feb 17, 2011
  1. Remove jeweler

    jm81 committed Feb 17, 2011
Commits on Feb 4, 2011
  1. 1.2.0.beta release

    jm81 committed Feb 4, 2011
Commits on Dec 30, 2010
  1. Add a test override for test 'sign in with xml format returns xml res…

    …ponse'
    
    The original test checks for the xml header which is not added by DM's
    #to_xml
    jm81 committed Dec 30, 2010