Permalink
Switch branches/tags
Commits on Mar 2, 2011
  1. Make sure we require the latest version of Package::Stash

    melo committed Mar 2, 2011
    Several bugs fixed, specially with latest versions of Perl.
    
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
  2. Update deps to latest version of Test::More: fix problems with subtests

    melo committed Mar 2, 2011
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
  3. Use Package::Stash to add our shortcut methods to the class

    melo committed Mar 2, 2011
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
  4. Use Sub::Name to name each shortcut we create

    melo committed Mar 2, 2011
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
Commits on Jan 24, 2011
  1. Tidy

    melo committed Jan 24, 2011
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
  2. Allow the use of extra_flags on short(\'key', $id, { extra_flags })

    melo committed Jan 24, 2011
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
Commits on Jan 13, 2011
  1. Allow DBICx::Shortcuts subclasses to override the shortcut methods build

    melo committed Jan 13, 2011
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
  2. Make tests use memory-based SQLite db

    melo committed Jan 13, 2011
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
Commits on Jan 10, 2011
  1. Added source() support for our shortcut class

    melo committed Jan 10, 2011
    You can use source name or the generated method as source() parameter.
    Returns the ResultSource object, or dies if it cannot be found.
    
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
Commits on Feb 8, 2010
  1. Added DBICx::Shortcuts instances, and ResultSet cache

    melo committed Feb 8, 2010
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
Commits on Jan 29, 2010
  1. Prepare 0.007 release

    melo committed Jan 29, 2010
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
  2. Tidy code and add comments

    melo committed Jan 29, 2010
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
  3. Added support to find by unique key

    melo committed Jan 29, 2010
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
Commits on Jan 27, 2010
  1. Prepare release 0.006

    melo committed Jan 27, 2010
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
  2. Support the definition of shortcut => undef to disable shortcut creation

    melo committed Jan 27, 2010
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
Commits on Jan 25, 2010
  1. Prepare release 0.005

    melo committed Jan 25, 2010
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
  2. Allow for an extra set of method aliases in the call to setup

    melo committed Jan 25, 2010
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
  3. Set ENV DBIC_NO_VERSION_CHECK to a true value to disable ::Versioned …

    melo committed Jan 25, 2010
    …warnings
    
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
Commits on Jan 23, 2010
  1. Prepare release 0.004

    melo committed Jan 23, 2010
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
  2. Added SQL::Translator to list of require modules of 10-api.t

    melo committed Jan 23, 2010
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
Commits on Jan 20, 2010
  1. Prepare release 0.003

    melo committed Jan 20, 2010
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
  2. Skip 05-shortcuts.t if we don't have SQL::Translator installed

    melo committed Jan 20, 2010
    This test makes use of deploy() and in turn this requires SQL::Translator.
    
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
Commits on Jan 19, 2010
  1. Preprare release 0.002

    melo committed Jan 19, 2010
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
  2. Added dependency on parent, older versions of perl don't have it

    melo committed Jan 19, 2010
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
Commits on Jan 18, 2010
  1. Fix POD typo

    melo committed Jan 18, 2010
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
  2. Ignore dist-zilla build files

    melo committed Jan 18, 2010
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
  3. Add changelog file

    melo committed Jan 18, 2010
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
  4. Added proper documentation

    melo committed Jan 18, 2010
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
  5. Remove hidden feature

    melo committed Jan 18, 2010
    We no longer pass the arguments of schema() to connect_info().
    
    We don't want to keep that in the future, so better we remove it now.
    
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
  6. Added support for 'shortcut' and 'skip_shortcut' in a source source_i…

    melo committed Jan 18, 2010
    …nfo()
    
     * shortcut: allows you to use a specific name for a shortcut;
     * skip_shortcut: don't generate a shortcut for this source.
    
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
  7. Catch schema() calls without a prior setup() call

    melo committed Jan 18, 2010
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
  8. Upgraded die's to croak's

    melo committed Jan 18, 2010
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
  9. Added setup() class method to create the short-class => schema-class …

    melo committed Jan 18, 2010
    …binding
    
     * adjust schema() to use the new bindings schemes of setup();
     * remove 01-basic.t, no longer adequate.
    
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
Commits on Jan 16, 2010
  1. Added more tests with a real DBIC Schema

    melo committed Jan 16, 2010
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
  2. Added the schema() method

    melo committed Jan 16, 2010
    Returns a connected schema object.
    
    Signed-off-by: Pedro Melo <melo@simplicidade.org>