ecommerce 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
@@ -1,3 +1,3 @@
1
1
  module Ecommerce
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecommerce
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
9
+ - 4
10
+ version: 0.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jason Younker
@@ -101,6 +101,7 @@ files:
101
101
  - doc/README_FOR_APP
102
102
  - ecommerce-0.0.1.gem
103
103
  - ecommerce-0.0.2.gem
104
+ - ecommerce-0.0.3.gem
104
105
  - ecommerce.gemspec
105
106
  - lib/ecommerce.rb
106
107
  - lib/ecommerce/ecommerce.rb
@@ -110,7 +111,6 @@ files:
110
111
  - lib/generators/ecommerce/ecommerce_generator.rb
111
112
  - lib/generators/ecommerce/templates/migration.rb
112
113
  - lib/tasks/.gitkeep
113
- - models/payment_notification.rb
114
114
  - public/404.html
115
115
  - public/422.html
116
116
  - public/500.html
@@ -1,15 +0,0 @@
1
- class PaymentNotification < ActiveRecord::Base
2
- attr_accessible :params, :cart_id, :status, :transaction_id
3
-
4
- belongs_to :cart
5
-
6
- # convert params object to yaml when putting into the db and a hash when it comes out
7
- serialize :params
8
-
9
- after_create :set_purchase_date
10
-
11
- # checks to make sure this is valid are done in the payment_notification_controller.create()
12
- def set_purchase_date
13
- cart.update_attribute(:purchased_at, Time.now)
14
- end
15
- end