spree_zone_pricing 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,5 @@
1
1
  class ZonePrice < ActiveRecord::Base
2
+
2
3
  belongs_to :zone
3
4
  belongs_to :variant
4
5
 
@@ -2,9 +2,9 @@
2
2
  # require_dependency 'application'
3
3
 
4
4
  class ZonePricingExtension < Spree::Extension
5
- version "1.0"
6
- description "Allows prices to be set by zone"
7
- url "http://yourwebsite.com/zone_pricing"
5
+ version "0.1.1"
6
+ description "Spree Zone Pricing"
7
+ url "https://github.com/henriquebf/spree-zone-pricing"
8
8
 
9
9
  # Please use zone_pricing/config/routes.rb instead for extension routes.
10
10
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_zone_pricing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,8 +11,10 @@ bindir: bin
11
11
  cert_chain: []
12
12
  date: 2012-07-18 00:00:00.000000000Z
13
13
  dependencies: []
14
- description: Set different price zones within Spree (Forked from moonshine/spree-zone-pricing)
15
- email: henriquebf@gmail.com
14
+ description: Zone Pricing is an extension to Spree that uses the predefined zones
15
+ to determine the price for a particular product variant. For example, this allows
16
+ you to set different prices for the North American and Euro zones.
17
+ email: henrique@creative4.it
16
18
  executables: []
17
19
  extensions: []
18
20
  extra_rdoc_files: []
@@ -26,6 +28,8 @@ files:
26
28
  - config/routes.rb
27
29
  - config/locales/en_spree.yml
28
30
  - db/seeds.rb
31
+ - lib/zone_pricing_extension.rb
32
+ - lib/zone_pricing_hooks.rb
29
33
  - lib/spree/zone_pricing/checkouts_controller.rb
30
34
  - lib/spree/zone_pricing/countries_controller.rb
31
35
  - lib/spree/zone_pricing/get_country.rb
@@ -38,9 +42,7 @@ files:
38
42
  - lib/tasks/zone_pricing_extension_tasks.rake
39
43
  - spec/spec.opts
40
44
  - spec/spec_helper.rb
41
- - zone_pricing_extension.rb
42
- - zone_pricing_hooks.rb
43
- homepage: http://rubygems.org/gems/spree_zone_pricing
45
+ homepage: https://github.com/henriquebf/spree-zone-pricing
44
46
  licenses: []
45
47
  post_install_message:
46
48
  rdoc_options: []