Commits on Jan 12, 2015
  1. Prepare for 0.5.1 release

    chewi committed Jan 12, 2015
Commits on Nov 23, 2014
  1. Reduce number of queries when creating multiple models

    Also refactor the create/build model methods. Fixes #24.
    chewi committed Nov 23, 2014
  2. Create real named classes in adapter spec

    This is arguably less hacky than creating anonymous classes and
    stubbing the name method. We safely remove the constants after
    each example. It also allows us to use these classes against an
    in-memory SQLite3 database if we wanted to.
    chewi committed Nov 23, 2014
Commits on Nov 21, 2014
  1. Support Mongoid associations in find_model/s

    Given a Post model that belongs to a User, there was previously
    asymmetry in that a Given step like this would work:
      Given the following posts exist:
        | title | user        |
        | foo   | user: "bob" |
    but a similar Then step would not:
      Then the following posts should exist:
        | title | user        |
        | foo   | user: "bob" |
    ches committed with chewi Jan 24, 2011
  2. The Mongoid adapter ignores classes instances without a name

    An anonymous class that includes Mongoid::Document is created in
    Mongoid::Config#destructive_fields, which previously caused the
    Mongoid adapter in Pickle to raise an exception in some cases.
    matt-royal committed with chewi Nov 21, 2014
  3. Fix Mongoid finders for later versions

    Thanks to Jules Copeland. Admittedly not tested as I've never used
    Mongoid and we don't have specs for this adapter.
    chewi committed Nov 21, 2014
Commits on Nov 20, 2014
  1. Allows for factory_girl2 aliases

    jondkinney committed with chewi Nov 17, 2014
  2. Test multipart emails

    jondkinney committed with chewi Nov 17, 2014
  3. Better email validation messages

    rosskevin committed with chewi Sep 16, 2014
  4. Support "should not exist" for models from a table

    Support nil values in a table with associations
    p13rr3-yv3s committed with chewi Aug 10, 2014
Commits on Nov 19, 2014
  1. remove trailing whitespace

    companygardener committed with chewi Oct 12, 2011
  2. Update email open_in_browser function to use current Launchy API

    Refers this deprecation warning:
    WARNING: You made a call to a deprecated Launchy API. This call should be changed to ' uri )'
    WARNING: I think I was able to find the location that needs to be fixed. Please go look at:
    WARNING: /Library/Ruby/Gems/1.8/gems/pickle-0.4.8/lib/pickle/email.rb:34:in `open_in_browser'
    WARNING:     def open_in_browser(path) # :nodoc
    WARNING:       require "launchy"
    WARNING:     rescue LoadError
    WARNING:       warn "Sorry, you need to install launchy to open emails: `gem install launchy`"
    WARNING: If this is not the case, please file a bug. Please file a bug at
    dznz committed with chewi Aug 5, 2011
  3. No plural possible here

    Manually implemented the fix from
    [Fixes ianwhite/pickle#20]
    jondkinney committed with chewi Nov 17, 2014
  4. prefer the html_part in a multipart email and throw away the host:port

    part of the extracted urls.
    jlsync committed with chewi Mar 18, 2011
Commits on Nov 17, 2014
  1. sqlite3-ruby is now just sqlite3

    Plus some other gem updates.
    chewi committed Nov 17, 2014
  2. This spec makes the other specs go haywire

    Can't figure out why. :(
    chewi committed Nov 17, 2014
  3. Remove useless before callback

    chewi committed Nov 17, 2014
Commits on Nov 16, 2014
  1. Prepare for 0.5.0 release

    chewi committed Nov 16, 2014
Commits on Aug 9, 2014
  1. Full migration to RSpec 3

    chewi committed Aug 5, 2014
Commits on Aug 7, 2014
  1. Merge pull request #53 from niklas/run-tests-on-travis

    Run tests on travis
    chewi committed Aug 7, 2014
Commits on Aug 6, 2014
  1. setup bundler for spec

    niklas committed Aug 6, 2014
  2. drop old ruby 1.9.3, use last minor release

    it appears to behave slightly different to latest 2.1 (FactoryGirl
    niklas committed Aug 6, 2014
  3. make sure factory_girl is loaded for specs

    Some specs behave depending on the version of FactoryGirl. On Travis,
    specs see < 2.0, but the implementation sees 2.0 (presence of
    niklas committed Aug 6, 2014
  4. colorful rspec output

    niklas committed Aug 6, 2014
  5. Fix features for latest Bundler

    Bundler can no longer be run in a nested fashion like this without
    using with_clean_env. Be explicit about which Gemfile we're working
    with, just in case. Also skip installing unnecessary gems in the test
    chewi committed Aug 6, 2014