spree_special_offers 1.1.2 → 1.1.3

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,2 @@
1
+ de:
2
+ old_price: Alter Preis
@@ -0,0 +1,2 @@
1
+ en:
2
+ old_price: Old Price:
data/config/routes.rb ADDED
@@ -0,0 +1,3 @@
1
+ Rails.application.routes.draw do
2
+ # Add your extension routes here
3
+ end
@@ -0,0 +1,9 @@
1
+ class AddOldPriceToVariants < ActiveRecord::Migration
2
+ def self.up
3
+ add_column :variants, :old_price, :decimal, :precision => 8, :scale => 4, :default => 0
4
+ end
5
+
6
+ def self.down
7
+ remove_column :variants, :old_price
8
+ end
9
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_special_offers
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 2
10
- version: 1.1.2
9
+ - 3
10
+ version: 1.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dominik Masur
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-09 00:00:00 +01:00
18
+ date: 2011-05-07 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -53,6 +53,10 @@ files:
53
53
  - app/models/product_decorator.rb
54
54
  - app/views/admin/products/_before_admin_product_form_right.html.erb
55
55
  - app/views/shared/_before_product_price.html.erb
56
+ - db/migrate/20110124104108_add_old_price_to_variants.rb
57
+ - config/locales/de.yml
58
+ - config/locales/en.yml
59
+ - config/routes.rb
56
60
  has_rdoc: true
57
61
  homepage:
58
62
  licenses: []
@@ -85,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
85
89
  requirements:
86
90
  - none
87
91
  rubyforge_project:
88
- rubygems_version: 1.5.0
92
+ rubygems_version: 1.4.2
89
93
  signing_key:
90
94
  specification_version: 3
91
95
  summary: Adds old prices to variants