moved giftcard route out of user controller decorator

moved it into the giftcard controller as the index action

Change-Id: I9710ba3e4b39e4c47b5e4ffc10a08dbda8dfc52c
added spec controller macros

can login or logout in controler specs with ease!

Change-Id: I01e2eefde6659edc4741cc57b5645ae3550f35af
don't nest gc route inside account

don't depend on spree_auth_devise for a user controller named account

Change-Id: I5d9ac74413b60d0d1f3d0c5abddcc10f9a6c001c
added transfer and update actions to gift card controller

transfer is the edit form to specify an email address to send your gc
to.

Change-Id: Iac34eaf168e9652fc2165ba945b67b81e37e8d72
use model name rather than explicit translation

Change-Id: Iabee9d2d22d7ecef84d0f538ef24aa4c174dd540
added client side validation for gift card transfers

Change-Id: Ieb8f21e948b074a74b1aac7a4e6ea83c647547e3
validate when either email field is changed

Change-Id: Iaad360f892212446ae03e7d1323ff464a0394604
added transfer gift card mailer

Change-Id: I610c45e5e449926128af31c97c3aeb2f18ddfec0
fix form validation

when the email field was modified it was only validating against itself

Change-Id: I33c55acd4ffe7e972155d968d90ba56d3c441470
renamed transfer routes

GET transfer -> send_to_friend
PUT update -> transfer

Change-Id: I10a717946c3db47e7b54af1a126237984f026453
Validate gc.current_value > 0

original test included invalid params

prior to the validation, including a '$' would cause the value of the
card to be 0.0

Change-Id: Ic139dfa2db456f1eb18ef4aeaddd68393065a319
changes gc factory to not create line item and variant

user gift_card_product factory instead if you want to simulate it as
part of an order

Change-Id: I5944fc7e5481cec0b69b392e8a19ebdf85b6571c
Changes to giftcard transfers

The gift_card#transfer post action accepts a transfer amount now which
it subtracts from the original gift card. It then creates a new gift
card that has the transferred amount and sends it to the recipitent. If
the sender doesn't have enough to transfer it reports an error.

Change-Id: Id86d506124341d07a5f83e96c7f0abb012b2199e
notes are not required

Change-Id: Ia1e39d199938fea6bb54f467a94282d6260db517
add flash success message for transfers

Change-Id: Ic0da26ae654e87e90d1f4d86797f62b64f647e28
updated form for transferring gc's

includes amount to transfer and name of recipitent

Change-Id: Idd031ea1fbad9b5ad15682a24c841040f1561cd7
mailer was sending the old card to the recipitient

Change-Id: Ia0c5c64200e53d28b810680c9f1f4087bf01645b
maintain consistancy of gc expiration dates

when you transfer a gc, the new gc has the same exp. date as the
previous one.

Change-Id: I15f30f26b1888748ed22000e19474313703c600c
Merge branch 'gc-transfer' into 2-1-lav

Change-Id: I6e817b4814f917d6d0b7efb9820d412cb2883e51