shop_bunny 0.7.4.11 → 0.7.4.12

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.
@@ -0,0 +1,11 @@
1
+ class ChangeValidFromAndUntilToDatetimeOnCoupons < ActiveRecord::Migration
2
+ def self.up
3
+ change_column :coupons, :valid_from, :datetime
4
+ change_column :coupons, :valid_until, :datetime
5
+ end
6
+
7
+ def self.down
8
+ change_column :coupons, :valid_until, :date
9
+ change_column :coupons, :valid_from, :date
10
+ end
11
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shop_bunny
3
3
  version: !ruby/object:Gem::Version
4
- hash: 113
4
+ hash: 127
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 7
9
9
  - 4
10
- - 11
11
- version: 0.7.4.11
10
+ - 12
11
+ version: 0.7.4.12
12
12
  platform: ruby
13
13
  authors:
14
14
  - kopfmaschine.com
@@ -54,6 +54,7 @@ files:
54
54
  - db/migrate/20100915162029_remove_owner_id_from_carts.rb
55
55
  - db/migrate/20100916194407_set_default_column_value_for_cart_items_quantity.rb
56
56
  - db/migrate/20101125140137_add_value_of_automatic_add_to_coupons.rb
57
+ - db/migrate/20101125151017_change_valid_from_and_until_to_datetime_on_coupons.rb
57
58
  - config/initializers/add_cart_finder_to_controllers.rb
58
59
  - config/initializers/machinist.rb
59
60
  - config/initializers/shop_bunny.rb