spree_user_groups 0.40.0 → 0.40.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,8 @@
1
1
  CheckoutController.class_eval do
2
2
  private
3
3
  def before_address
4
- @order.bill_address ||= Address.new(:country => default_country)
5
- @order.ship_address ||= Address.new(:country => default_country)
4
+ @order.bill_address ||= Address.default
5
+ @order.ship_address ||= Address.default
6
6
 
7
7
  @order.user.create_adjustment_for(@order) if @order.user
8
8
  end
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.platform = Gem::Platform::RUBY
3
3
  s.name = 'spree_user_groups'
4
- s.version = '0.40.0'
4
+ s.version = '0.40.1'
5
5
  s.summary = 'Adds user groups'
6
6
  s.description = 'Provides opportunity to add some rules for calculation price depending on the user group'
7
7
  s.required_ruby_version = '>= 1.8.7'
@@ -18,6 +18,6 @@ Gem::Specification.new do |s|
18
18
 
19
19
  s.has_rdoc = true
20
20
 
21
- s.add_dependency('spree_core', '>= 0.30.1')
22
- s.add_dependency('spree_auth', '>= 0.30.1')
21
+ s.add_dependency('spree_core', '>= 0.40.1')
22
+ s.add_dependency('spree_auth', '>= 0.40.1')
23
23
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 40
8
- - 0
9
- version: 0.40.0
8
+ - 1
9
+ version: 0.40.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Roman Smirnov
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-02-20 00:00:00 +03:00
17
+ date: 2011-03-26 00:00:00 +03:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -26,9 +26,9 @@ dependencies:
26
26
  - !ruby/object:Gem::Version
27
27
  segments:
28
28
  - 0
29
- - 30
29
+ - 40
30
30
  - 1
31
- version: 0.30.1
31
+ version: 0.40.1
32
32
  type: :runtime
33
33
  version_requirements: *id001
34
34
  - !ruby/object:Gem::Dependency
@@ -40,9 +40,9 @@ dependencies:
40
40
  - !ruby/object:Gem::Version
41
41
  segments:
42
42
  - 0
43
- - 30
43
+ - 40
44
44
  - 1
45
- version: 0.30.1
45
+ version: 0.40.1
46
46
  type: :runtime
47
47
  version_requirements: *id002
48
48
  description: Provides opportunity to add some rules for calculation price depending on the user group