erp_orders 3.0.5 → 3.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,19 +6,17 @@ class AddOrdersWidget
6
6
  app = Application.find_by_internal_identifier('crm')
7
7
 
8
8
  orders = Widget.create(
9
- :description => 'Order Managament',
10
- :internal_identifier => 'order_management',
11
- :icon => 'icon-grid',
12
- :xtype => 'partyorderstab'
13
- )
9
+ :description => 'Order Managament',
10
+ :internal_identifier => 'order_management',
11
+ :icon => 'icon-grid',
12
+ :xtype => 'partyorderstab'
13
+ )
14
14
 
15
15
  unless app.nil?
16
16
  app.widgets << orders
17
17
  app.save
18
18
  end
19
19
 
20
- orders.roles << Role.find_by_internal_identifier('admin')
21
- orders.save
22
20
  end
23
21
  end
24
22
 
@@ -10,11 +10,7 @@ module ErpOrders
10
10
  include ErpOrders::Extensions::ActiveRecord::ActsAsOrderTxn
11
11
  end
12
12
 
13
- #TODO
14
- #this will be removed once rails 3.2 adds the ability to set the order of engine loading
15
- engine = self
16
- config.to_prepare do
17
- ErpBaseErpSvcs.register_compass_ae_engine(engine)
18
- end
13
+ ErpBaseErpSvcs.register_as_compass_ae_engine(config, self)
14
+
19
15
  end
20
16
  end
@@ -2,7 +2,7 @@ module ErpOrders
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 3
4
4
  MINOR = 0
5
- TINY = 5
5
+ TINY = 6
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: erp_orders
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.5
4
+ version: 3.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-24 00:00:00.000000000 Z
12
+ date: 2013-01-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: erp_products
16
- requirement: &70095113424180 !ruby/object:Gem::Requirement
16
+ requirement: &70231323506660 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '3.0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70095113424180
24
+ version_requirements: *70231323506660
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: erp_txns_and_accts
27
- requirement: &70095113423680 !ruby/object:Gem::Requirement
27
+ requirement: &70231323505880 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '3.0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70095113423680
35
+ version_requirements: *70231323505880
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: erp_dev_svcs
38
- requirement: &70095113423200 !ruby/object:Gem::Requirement
38
+ requirement: &70231323505340 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - =
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: 3.0.1
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70095113423200
46
+ version_requirements: *70231323505340
47
47
  description: The Orders Engine in CompassAE implements models for Orders, Order Items
48
48
  and Order status tracking. It also houses models for charge lines associated with
49
49
  Orders (although it could be argued that this functionality should reside in Commerce).