erp_inventory 3.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/lib/erp_inventory.rb CHANGED
@@ -1,3 +1,4 @@
1
+ require "erp_inventory/version"
1
2
  require "erp_inventory/extensions"
2
3
  require "erp_inventory/engine"
3
4
 
@@ -5,6 +5,12 @@ module ErpInventory
5
5
  ActiveSupport.on_load(:active_record) do
6
6
  include ErpInventory::Extensions::ActiveRecord::ActsAsInventoryEntry
7
7
  end
8
-
8
+
9
+ #TODO
10
+ #this will be removed once rails 3.2 adds the ability to set the order of engine loading
11
+ engine = self
12
+ config.to_prepare do
13
+ ErpBaseErpSvcs.register_compass_ae_engine(engine)
14
+ end
9
15
  end
10
16
  end
@@ -1,3 +1,9 @@
1
1
  module ErpInventory
2
- VERSION = "3.0.0"
2
+ module VERSION #:nodoc:
3
+ MAJOR = 3
4
+ MINOR = 0
5
+ TINY = 1
6
+
7
+ STRING = [MAJOR, MINOR, TINY].compact.join('.')
8
+ end
3
9
  end
@@ -10,6 +10,7 @@ require "erp_agreements"
10
10
  require "erp_txns_and_accts"
11
11
  require "erp_commerce"
12
12
  require "erp_products"
13
+ require "erp_orders"
13
14
  require "erp_inventory"
14
15
 
15
16
  module Dummy
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: erp_inventory
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,74 +9,85 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-06 00:00:00.000000000Z
12
+ date: 2012-05-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: erp_app
16
- requirement: &2157028180 !ruby/object:Gem::Requirement
16
+ requirement: &81711740 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
- - - ! '>='
19
+ - - =
20
20
  - !ruby/object:Gem::Version
21
- version: '0'
21
+ version: 3.0.1
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2157028180
24
+ version_requirements: *81711740
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: erp_agreements
27
- requirement: &2157027240 !ruby/object:Gem::Requirement
27
+ requirement: &81709610 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
- - - ! '>='
30
+ - - =
31
31
  - !ruby/object:Gem::Version
32
- version: '0'
32
+ version: 3.0.1
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *2157027240
35
+ version_requirements: *81709610
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: erp_txns_and_accts
38
- requirement: &2157026100 !ruby/object:Gem::Requirement
38
+ requirement: &81734550 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
- - - ! '>='
41
+ - - =
42
42
  - !ruby/object:Gem::Version
43
- version: '0'
43
+ version: 3.0.1
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *2157026100
46
+ version_requirements: *81734550
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: erp_orders
49
- requirement: &2157024240 !ruby/object:Gem::Requirement
49
+ requirement: &81733670 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
- - - ! '>='
52
+ - - =
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: 3.0.1
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *2157024240
57
+ version_requirements: *81733670
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: erp_products
60
- requirement: &2157023480 !ruby/object:Gem::Requirement
60
+ requirement: &81733100 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
- - - ! '>='
63
+ - - =
64
64
  - !ruby/object:Gem::Version
65
- version: '0'
65
+ version: 3.0.1
66
66
  type: :runtime
67
67
  prerelease: false
68
- version_requirements: *2157023480
68
+ version_requirements: *81733100
69
+ - !ruby/object:Gem::Dependency
70
+ name: erp_commerce
71
+ requirement: &81731790 !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - =
75
+ - !ruby/object:Gem::Version
76
+ version: 3.0.1
77
+ type: :runtime
78
+ prerelease: false
79
+ version_requirements: *81731790
69
80
  - !ruby/object:Gem::Dependency
70
81
  name: erp_dev_svcs
71
- requirement: &2157022720 !ruby/object:Gem::Requirement
82
+ requirement: &81729760 !ruby/object:Gem::Requirement
72
83
  none: false
73
84
  requirements:
74
- - - ! '>='
85
+ - - =
75
86
  - !ruby/object:Gem::Version
76
- version: '0'
87
+ version: 3.0.1
77
88
  type: :development
78
89
  prerelease: false
79
- version_requirements: *2157022720
90
+ version_requirements: *81729760
80
91
  description: The Inventory Engine in CompassAE implements a set of models for storing
81
92
  information about the availability and location of ProductTypes and optionally Product
82
93
  Instances. It is also the root for yield and revenue management requirements to
@@ -87,61 +98,61 @@ executables: []
87
98
  extensions: []
88
99
  extra_rdoc_files: []
89
100
  files:
90
- - app/assets/javascripts/erp_inventory/application.js
91
101
  - app/assets/stylesheets/erp_inventory/application.css
92
- - app/controllers/erp_inventory/application_controller.rb
93
- - app/helpers/erp_inventory/application_helper.rb
94
- - app/models/extensions/product_instance.rb
95
- - app/models/extensions/product_type.rb
96
- - app/models/inv_entry_reln.rb
97
- - app/models/inv_entry_reln_type.rb
102
+ - app/assets/javascripts/erp_inventory/application.js
103
+ - app/views/layouts/erp_inventory/application.html.erb
98
104
  - app/models/inv_entry_role_type.rb
105
+ - app/models/inv_entry_reln_type.rb
99
106
  - app/models/inventory_entry.rb
100
107
  - app/models/prod_instance_inv_entry.rb
101
- - app/views/layouts/erp_inventory/application.html.erb
108
+ - app/models/inv_entry_reln.rb
109
+ - app/models/extensions/product_type.rb
110
+ - app/models/extensions/product_instance.rb
111
+ - app/helpers/erp_inventory/application_helper.rb
112
+ - app/controllers/erp_inventory/application_controller.rb
102
113
  - config/routes.rb
103
114
  - db/migrate/20080805000050_base_inventory.rb
104
115
  - db/migrate/20080805000051_base_inventory_indexes.rb
105
116
  - lib/erp_inventory/engine.rb
106
- - lib/erp_inventory/extensions/active_record/acts_as_inventory_entry.rb
107
117
  - lib/erp_inventory/extensions.rb
118
+ - lib/erp_inventory/extensions/active_record/acts_as_inventory_entry.rb
108
119
  - lib/erp_inventory/version.rb
109
120
  - lib/erp_inventory.rb
110
121
  - lib/tasks/erp_inventory_tasks.rake
111
122
  - GPL-3-LICENSE
112
123
  - Rakefile
113
124
  - README.rdoc
114
- - spec/dummy/app/assets/javascripts/application.js
125
+ - spec/spec_helper.rb
126
+ - spec/models/inv_entry_reln_type_spec.rb
127
+ - spec/models/inventory_entry_spec.rb
128
+ - spec/models/inv_entry_role_type_spec.rb
129
+ - spec/models/prod_instance_inv_entry_spec.rb
130
+ - spec/models/inv_entry_reln_spec.rb
131
+ - spec/dummy/public/422.html
132
+ - spec/dummy/public/404.html
133
+ - spec/dummy/public/500.html
134
+ - spec/dummy/public/favicon.ico
135
+ - spec/dummy/config.ru
115
136
  - spec/dummy/app/assets/stylesheets/application.css
116
- - spec/dummy/app/controllers/application_controller.rb
117
- - spec/dummy/app/helpers/application_helper.rb
137
+ - spec/dummy/app/assets/javascripts/application.js
118
138
  - spec/dummy/app/views/layouts/application.html.erb
119
- - spec/dummy/config/application.rb
139
+ - spec/dummy/app/helpers/application_helper.rb
140
+ - spec/dummy/app/controllers/application_controller.rb
141
+ - spec/dummy/config/routes.rb
142
+ - spec/dummy/config/locales/en.yml
120
143
  - spec/dummy/config/boot.rb
121
- - spec/dummy/config/database.yml
122
- - spec/dummy/config/environment.rb
144
+ - spec/dummy/config/application.rb
123
145
  - spec/dummy/config/environments/spec.rb
124
- - spec/dummy/config/initializers/backtrace_silencers.rb
125
- - spec/dummy/config/initializers/inflections.rb
126
146
  - spec/dummy/config/initializers/mime_types.rb
127
- - spec/dummy/config/initializers/secret_token.rb
128
147
  - spec/dummy/config/initializers/session_store.rb
148
+ - spec/dummy/config/initializers/backtrace_silencers.rb
129
149
  - spec/dummy/config/initializers/wrap_parameters.rb
130
- - spec/dummy/config/locales/en.yml
131
- - spec/dummy/config/routes.rb
132
- - spec/dummy/config.ru
133
- - spec/dummy/public/404.html
134
- - spec/dummy/public/422.html
135
- - spec/dummy/public/500.html
136
- - spec/dummy/public/favicon.ico
150
+ - spec/dummy/config/initializers/inflections.rb
151
+ - spec/dummy/config/initializers/secret_token.rb
152
+ - spec/dummy/config/environment.rb
153
+ - spec/dummy/config/database.yml
137
154
  - spec/dummy/Rakefile
138
155
  - spec/dummy/script/rails
139
- - spec/models/inv_entry_reln_spec.rb
140
- - spec/models/inv_entry_reln_type_spec.rb
141
- - spec/models/inv_entry_role_type_spec.rb
142
- - spec/models/inventory_entry_spec.rb
143
- - spec/models/prod_instance_inv_entry_spec.rb
144
- - spec/spec_helper.rb
145
156
  homepage: http://development.compassagile.com
146
157
  licenses: []
147
158
  post_install_message:
@@ -169,34 +180,34 @@ summary: The Inventory Engine in CompassAE implements a set of models for storin
169
180
  information about the availability and location of ProductTypes and optionally Product
170
181
  Instances.
171
182
  test_files:
172
- - spec/dummy/app/assets/javascripts/application.js
183
+ - spec/spec_helper.rb
184
+ - spec/models/inv_entry_reln_type_spec.rb
185
+ - spec/models/inventory_entry_spec.rb
186
+ - spec/models/inv_entry_role_type_spec.rb
187
+ - spec/models/prod_instance_inv_entry_spec.rb
188
+ - spec/models/inv_entry_reln_spec.rb
189
+ - spec/dummy/public/422.html
190
+ - spec/dummy/public/404.html
191
+ - spec/dummy/public/500.html
192
+ - spec/dummy/public/favicon.ico
193
+ - spec/dummy/config.ru
173
194
  - spec/dummy/app/assets/stylesheets/application.css
174
- - spec/dummy/app/controllers/application_controller.rb
175
- - spec/dummy/app/helpers/application_helper.rb
195
+ - spec/dummy/app/assets/javascripts/application.js
176
196
  - spec/dummy/app/views/layouts/application.html.erb
177
- - spec/dummy/config/application.rb
197
+ - spec/dummy/app/helpers/application_helper.rb
198
+ - spec/dummy/app/controllers/application_controller.rb
199
+ - spec/dummy/config/routes.rb
200
+ - spec/dummy/config/locales/en.yml
178
201
  - spec/dummy/config/boot.rb
179
- - spec/dummy/config/database.yml
180
- - spec/dummy/config/environment.rb
202
+ - spec/dummy/config/application.rb
181
203
  - spec/dummy/config/environments/spec.rb
182
- - spec/dummy/config/initializers/backtrace_silencers.rb
183
- - spec/dummy/config/initializers/inflections.rb
184
204
  - spec/dummy/config/initializers/mime_types.rb
185
- - spec/dummy/config/initializers/secret_token.rb
186
205
  - spec/dummy/config/initializers/session_store.rb
206
+ - spec/dummy/config/initializers/backtrace_silencers.rb
187
207
  - spec/dummy/config/initializers/wrap_parameters.rb
188
- - spec/dummy/config/locales/en.yml
189
- - spec/dummy/config/routes.rb
190
- - spec/dummy/config.ru
191
- - spec/dummy/public/404.html
192
- - spec/dummy/public/422.html
193
- - spec/dummy/public/500.html
194
- - spec/dummy/public/favicon.ico
208
+ - spec/dummy/config/initializers/inflections.rb
209
+ - spec/dummy/config/initializers/secret_token.rb
210
+ - spec/dummy/config/environment.rb
211
+ - spec/dummy/config/database.yml
195
212
  - spec/dummy/Rakefile
196
213
  - spec/dummy/script/rails
197
- - spec/models/inv_entry_reln_spec.rb
198
- - spec/models/inv_entry_reln_type_spec.rb
199
- - spec/models/inv_entry_role_type_spec.rb
200
- - spec/models/inventory_entry_spec.rb
201
- - spec/models/prod_instance_inv_entry_spec.rb
202
- - spec/spec_helper.rb