erp_products 3.1.1 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/app/controllers/erp_products/shared/product_types_controller.rb +96 -0
- data/app/models/product_type.rb +15 -0
- data/app/models/product_type_pty_role.rb +5 -0
- data/app/views/erp_products/shared/product_types/show_details.html.erb +8 -0
- data/config/routes.rb +5 -0
- data/db/data_migrations/20140130204915_add_vendor_consumer_product_roles_to_role_type.rb +20 -0
- data/db/migrate/20130131204336_add_type_column_to_product_types.rb +9 -0
- data/db/migrate/20140124185720_add_product_party_roles.rb +17 -0
- data/db/migrate/20140130211433_add_sku_comment_uom_to_product_type.rb +7 -0
- data/lib/erp_products/engine.rb +1 -1
- data/lib/erp_products/extensions/active_record/acts_as_product_instance.rb +17 -5
- data/lib/erp_products/version.rb +7 -3
- metadata +33 -133
- data/app/assets/javascripts/erp_products/application.js +0 -9
- data/app/assets/stylesheets/erp_products/application.css +0 -7
- data/app/controllers/erp_products/erp_app/desktop/product_manager/base_controller.rb +0 -135
- data/app/helpers/erp_products/application_helper.rb +0 -4
- data/db/data_migrations/20110728201730_create_desktop_app_product_manager.rb +0 -25
- data/public/javascripts/erp_app/desktop/applications/product_manager/module.js +0 -374
- data/public/javascripts/erp_app/desktop/applications/product_manager/product_list_panel.js +0 -140
- data/public/stylesheets/erp_app/desktop/applications/product_manager/style.css +0 -71
- data/spec/dummy/db/data_migrations/20101011152441_payment_gateway_actions.erp_commerce.rb +0 -28
- data/spec/dummy/db/data_migrations/20101014142230_financial_txn_types.erp_txns_and_accts.rb +0 -16
- data/spec/dummy/db/data_migrations/20110109173616_create_capability_scope_types.erp_tech_svcs.rb +0 -15
- data/spec/dummy/db/data_migrations/20110324010232_product_role_types.erp_products.rb +0 -24
- data/spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb +0 -12
- data/spec/dummy/db/data_migrations/20110527160807_add_default_prod_avail_types.erp_products.rb +0 -27
- data/spec/dummy/db/data_migrations/20110605231556_create_order_party_roles.erp_orders.rb +0 -24
- data/spec/dummy/db/data_migrations/20110609150135_add_iso_codes.erp_base_erp_svcs.rb +0 -19
- data/spec/dummy/db/data_migrations/20110728201729_erp_app_setup.erp_app.rb +0 -252
- data/spec/dummy/db/data_migrations/20110728201730_create_desktop_app_product_manager.erp_products.rb +0 -26
- data/spec/dummy/db/data_migrations/20110728201731_create_desktop_app_order_manager.erp_orders.rb +0 -26
- data/spec/dummy/db/data_migrations/20110728201732_create_organizer_app_order_management.erp_orders.rb +0 -15
- data/spec/dummy/db/data_migrations/20110728201733_update_preferences.erp_app.rb +0 -53
- data/spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb +0 -16
- data/spec/dummy/db/data_migrations/20110816161238_create_desktop_app_audit_log_viewer.erp_app.rb +0 -21
- data/spec/dummy/db/data_migrations/20110817160743_add_file_manager_application.erp_app.rb +0 -32
- data/spec/dummy/db/data_migrations/20110913145838_setup_compass_ae_instance.erp_base_erp_svcs.rb +0 -12
- data/spec/dummy/db/data_migrations/20111108183739_add_default_capabilities.erp_app.rb +0 -23
- data/spec/dummy/db/data_migrations/20111108183740_add_new_contact_widgets.erp_app.rb +0 -42
- data/spec/dummy/db/data_migrations/20111111144706_setup_audit_log_types.erp_tech_svcs.rb +0 -22
- data/spec/dummy/db/data_migrations/20120109173616_create_download_capability_type.erp_tech_svcs.rb +0 -14
- data/spec/dummy/db/data_migrations/20120229160222_add_userinfo_widget.erp_app.rb +0 -29
- data/spec/dummy/db/data_migrations/20120229174343_add_orders_widget.erp_orders.rb +0 -29
- data/spec/dummy/db/data_migrations/20120405193721_create_party_and_role_type_for_communication_events.erp_app.rb +0 -11
- data/spec/dummy/db/data_migrations/20120411180756_create_user_management_mobile_application.erp_app.rb +0 -19
- data/spec/dummy/db/data_migrations/20120418164215_create_configuration_management_desktop_application.erp_app.rb +0 -23
- data/spec/dummy/db/data_migrations/20121116155018_create_group_relationship_and_role_types.erp_tech_svcs.rb +0 -20
- data/spec/dummy/db/data_migrations/20121130201859_upgrade_remove_system_mgmt_app.erp_app.rb +0 -16
- data/spec/dummy/db/data_migrations/20121130212146_note_capabilities.erp_tech_svcs.rb +0 -24
- data/spec/dummy/db/data_migrations/20121218175028_create_security_management_desktop_application.erp_app.rb +0 -23
- data/spec/dummy/db/migrate/20130107214711_base_erp_services.erp_base_erp_svcs.rb +0 -461
- data/spec/dummy/db/migrate/20130107214712_base_products.erp_products.rb +0 -234
- data/spec/dummy/db/migrate/20130107214713_base_products_indexes.erp_products.rb +0 -59
- data/spec/dummy/db/migrate/20130107214714_base_tech_services.erp_tech_svcs.rb +0 -271
- data/spec/dummy/db/migrate/20130107214715_create_has_attribute_tables.erp_tech_svcs.rb +0 -39
- data/spec/dummy/db/migrate/20130107214716_create_groups.erp_tech_svcs.rb +0 -19
- data/spec/dummy/db/migrate/20130107214717_upgrade_security.erp_tech_svcs.rb +0 -54
- data/spec/dummy/db/migrate/20130107214718_upgrade_security2.erp_tech_svcs.rb +0 -270
- data/spec/dummy/db/migrate/20130107214719_base_orders.erp_orders.rb +0 -178
- data/spec/dummy/db/migrate/20130107214720_base_txns_and_accts.erp_txns_and_accts.rb +0 -364
- data/spec/dummy/db/migrate/20130107214721_agreements_services.erp_agreements.rb +0 -160
- data/spec/dummy/db/migrate/20130107214722_agreements_services_indexes.erp_agreements.rb +0 -52
- data/spec/dummy/db/migrate/20130107214723_base_app_framework.erp_app.rb +0 -276
- data/spec/dummy/db/migrate/20130107214724_erp_commerce_base.erp_commerce.rb +0 -442
- data/spec/dummy/db/schema.rb +0 -1821
- data/spec/dummy/db/spec.sqlite3 +0 -0
- data/spec/dummy/log/spec.log +0 -12388
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: cd9373780450ef58a539f607556ee88ff417272e
|
4
|
+
data.tar.gz: de281f11a15e17f9b5cc0914d31b104f67b8f5c9
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: f86542e4a62072f0ac42a9def7addcaf76b592c5e8c2192e64671917d052c9bd54a6e90cf4cc71386a4d3c2efe25affa4d702c7204db8e73edda27f8752ea682
|
7
|
+
data.tar.gz: 40763f3e853e92126be1fa46ecefe6b8fe5024c9452d1679d86c0d9f9eb293b3575245d9c29cfe7f7e87374b678e4bffe19cf5891ecbae55acfdf95f5a46fbd7
|
@@ -0,0 +1,96 @@
|
|
1
|
+
module ErpProducts
|
2
|
+
module Shared
|
3
|
+
class ProductTypesController < ::ErpApp::Organizer::BaseController
|
4
|
+
|
5
|
+
def index
|
6
|
+
|
7
|
+
party_id = params[:party_id]
|
8
|
+
party_role = params[:party_role]
|
9
|
+
|
10
|
+
#
|
11
|
+
# Get all product types
|
12
|
+
#
|
13
|
+
product_types = ProductType.order('created_at asc')
|
14
|
+
|
15
|
+
#
|
16
|
+
# Scope by party id and/or party role if specified
|
17
|
+
#
|
18
|
+
unless party_id.blank? and party_role.blank?
|
19
|
+
|
20
|
+
product_types = product_types.joins(:product_type_pty_roles)
|
21
|
+
product_types = product_types.where('product_type_pty_roles.party_id = ?', party_id) unless party_id.blank?
|
22
|
+
|
23
|
+
unless party_role.blank?
|
24
|
+
role_type = RoleType.iid(party_role)
|
25
|
+
product_types = product_types.where('product_type_pty_roles.role_type_id = ?', role_type)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
total = product_types.count
|
30
|
+
|
31
|
+
render :json => {:success => true, :total => total, :product_types => product_types.collect { |product_type| product_type.to_data_hash }}
|
32
|
+
|
33
|
+
end
|
34
|
+
|
35
|
+
def show
|
36
|
+
|
37
|
+
product_type = ProductType.find(params[:product_type_id])
|
38
|
+
render :json => {:success => true, :data => product_type.to_data_hash}
|
39
|
+
|
40
|
+
end
|
41
|
+
|
42
|
+
def show_details
|
43
|
+
|
44
|
+
@product_type = ProductType.find(params[:id]) rescue nil
|
45
|
+
|
46
|
+
end
|
47
|
+
|
48
|
+
def create
|
49
|
+
|
50
|
+
product_type = ProductType.new
|
51
|
+
product_type.description = params[:description]
|
52
|
+
product_type.sku = params[:sku]
|
53
|
+
product_type.unit_of_measurement_id = params[:unit_of_measurement]
|
54
|
+
product_type.comment = params[:comment]
|
55
|
+
product_type.save
|
56
|
+
|
57
|
+
#
|
58
|
+
# For scoping by party, add party_id and role_type 'vendor' to product_party_roles table. However may want to override controller elsewhere
|
59
|
+
# so that default is no scoping in erp_products engine
|
60
|
+
#
|
61
|
+
party_role = params[:party_role]
|
62
|
+
party_id = params[:party_id]
|
63
|
+
unless party_role.blank? or party_id.blank?
|
64
|
+
product_type_party_role = ProductTypePtyRole.new
|
65
|
+
product_type_party_role.product_type = product_type
|
66
|
+
product_type_party_role.party_id = party_id
|
67
|
+
product_type_party_role.role_type = RoleType.iid(party_role)
|
68
|
+
product_type_party_role.save
|
69
|
+
end
|
70
|
+
|
71
|
+
render :json => {:success => true, :product_type_id => product_type.id, :data => product_type.to_hash(:only => [:id, :description, :sku, :created_at, :updated_at])}
|
72
|
+
end
|
73
|
+
|
74
|
+
def update
|
75
|
+
|
76
|
+
product_type = ProductType.find(params[:product_type_id])
|
77
|
+
product_type.description = params[:description]
|
78
|
+
product_type.sku = params[:sku]
|
79
|
+
product_type.unit_of_measurement_id = params[:unit_of_measurement]
|
80
|
+
product_type.comment = params[:comment]
|
81
|
+
product_type.save
|
82
|
+
|
83
|
+
render :json => {:success => true, :data => product_type.to_hash(:only => [:id, :description, :sku, :created_at, :updated_at])}
|
84
|
+
|
85
|
+
end
|
86
|
+
|
87
|
+
def destroy
|
88
|
+
|
89
|
+
ProductType.find(params[:product_type_id]).destroy
|
90
|
+
render :json => {:success => true}
|
91
|
+
|
92
|
+
end
|
93
|
+
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
data/app/models/product_type.rb
CHANGED
@@ -9,6 +9,8 @@ class ProductType < ActiveRecord::Base
|
|
9
9
|
|
10
10
|
belongs_to :product_type_record, :polymorphic => true
|
11
11
|
has_one :product_instance
|
12
|
+
belongs_to :unit_of_measurement
|
13
|
+
has_many :product_type_pty_roles, :dependent => :destroy
|
12
14
|
|
13
15
|
def prod_type_relns_to
|
14
16
|
ProdTypeReln.where('prod_type_id_to = ?',id)
|
@@ -34,5 +36,18 @@ class ProductType < ActiveRecord::Base
|
|
34
36
|
file_support = ErpTechSvcs::FileSupport::Base.new(:storage => Rails.application.config.erp_tech_svcs.file_storage)
|
35
37
|
File.join(file_support.root,Rails.application.config.erp_tech_svcs.file_assets_location,'products','images',"#{self.description.underscore}_#{self.id}")
|
36
38
|
end
|
39
|
+
|
40
|
+
def to_data_hash
|
41
|
+
{
|
42
|
+
:id => self.id,
|
43
|
+
:description => self.description,
|
44
|
+
:sku => self.sku,
|
45
|
+
:unit_of_measurement_id => self.unit_of_measurement_id,
|
46
|
+
:unit_of_measurement_description => (self.unit_of_measurement.description rescue nil),
|
47
|
+
:comment => self.comment,
|
48
|
+
:created_at => self.created_at,
|
49
|
+
:updated_at => self.updated_at
|
50
|
+
}
|
51
|
+
end
|
37
52
|
|
38
53
|
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
<div style='padding: 10px;'>
|
2
|
+
|
3
|
+
<h1>Description: <%= @product_type.description %></h1>
|
4
|
+
<h2>SKU: <%= @product_type.sku %></h2>
|
5
|
+
<h2>Unit of Measurement: <%= @product_type.unit_of_measurement.description rescue nil%></h2>
|
6
|
+
<h2>Details: <%= @product_type.comment %></h2>
|
7
|
+
|
8
|
+
</div>
|
data/config/routes.rb
CHANGED
@@ -1,4 +1,9 @@
|
|
1
1
|
ErpProducts::Engine.routes.draw do
|
2
2
|
#product_manager
|
3
3
|
match '/erp_app/desktop/product_manager(/:action(/:id))' => 'erp_app/desktop/product_manager/base'
|
4
|
+
|
5
|
+
namespace 'shared' do
|
6
|
+
resources 'product_types'
|
7
|
+
get 'product_types/show_details(/:id)' => 'product_types#show_details'
|
8
|
+
end
|
4
9
|
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
class AddVendorConsumerProductRolesToRoleType
|
2
|
+
|
3
|
+
def self.up
|
4
|
+
product_role = RoleType.find_by_internal_identifier('vendor')
|
5
|
+
if product_role.nil?
|
6
|
+
RoleType.create(:description => 'Vendor', :internal_identifier => 'vendor')
|
7
|
+
end
|
8
|
+
|
9
|
+
product_role = RoleType.find_by_internal_identifier('consumer')
|
10
|
+
if product_role.nil?
|
11
|
+
RoleType.create(:description => 'Consumer', :internal_identifier => 'consumer')
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
def self.down
|
16
|
+
RoleType.find_by_internal_identifier('vendor').destroy
|
17
|
+
RoleType.find_by_internal_identifier('consumer').destroy
|
18
|
+
end
|
19
|
+
|
20
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
class AddProductPartyRoles < ActiveRecord::Migration
|
2
|
+
def up
|
3
|
+
create_table :product_type_pty_roles do |t|
|
4
|
+
t.references :party
|
5
|
+
t.references :role_type
|
6
|
+
t.references :product_type
|
7
|
+
|
8
|
+
t.timestamps
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
def down
|
13
|
+
[:product_type_pty_roles].each do |tbl|
|
14
|
+
drop_table tbl
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
data/lib/erp_products/engine.rb
CHANGED
@@ -3,7 +3,7 @@ module ErpProducts
|
|
3
3
|
isolate_namespace ErpProducts
|
4
4
|
|
5
5
|
initializer "erp_products.merge_public" do |app|
|
6
|
-
app.middleware.insert_before Rack::
|
6
|
+
app.middleware.insert_before Rack::Runtime, ::ActionDispatch::Static, "#{root}/public"
|
7
7
|
end
|
8
8
|
|
9
9
|
ActiveSupport.on_load(:active_record) do
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module ErpProducts
|
2
|
-
|
3
|
-
|
4
|
-
|
2
|
+
module Extensions
|
3
|
+
module ActiveRecord
|
4
|
+
module ActsAsProductInstance
|
5
5
|
def self.included(base)
|
6
6
|
base.extend(ClassMethods)
|
7
7
|
end
|
@@ -18,7 +18,19 @@ module ErpProducts
|
|
18
18
|
|
19
19
|
has_one :product_instance, :as => :product_instance_record
|
20
20
|
|
21
|
-
[
|
21
|
+
[
|
22
|
+
:product_type,
|
23
|
+
:product_type=,
|
24
|
+
:description,
|
25
|
+
:description=,
|
26
|
+
:external_identifier,
|
27
|
+
:external_identifier=,
|
28
|
+
:external_id_source,
|
29
|
+
:external_id_source=,
|
30
|
+
:product_feature_instances
|
31
|
+
].each do |m|
|
32
|
+
delegate m, :to => :product_instance
|
33
|
+
end
|
22
34
|
|
23
35
|
end
|
24
36
|
end
|
@@ -40,7 +52,7 @@ module ErpProducts
|
|
40
52
|
end
|
41
53
|
|
42
54
|
def destroy_product_instance
|
43
|
-
|
55
|
+
self.product_instance.destroy if (self.product_instance && !self.product_instance.frozen?)
|
44
56
|
end
|
45
57
|
|
46
58
|
end
|
data/lib/erp_products/version.rb
CHANGED
metadata
CHANGED
@@ -1,50 +1,45 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: erp_products
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
5
|
-
prerelease:
|
4
|
+
version: 4.0.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Rick Koloski, Russell Holmes
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2014-11-19 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: erp_app
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- - ~>
|
17
|
+
- - "~>"
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version: '
|
19
|
+
version: '4.0'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- - ~>
|
24
|
+
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: '
|
26
|
+
version: '4.0'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: erp_dev_svcs
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- - ~>
|
31
|
+
- - "~>"
|
36
32
|
- !ruby/object:Gem::Version
|
37
|
-
version: '
|
33
|
+
version: '4.0'
|
38
34
|
type: :development
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- - ~>
|
38
|
+
- - "~>"
|
44
39
|
- !ruby/object:Gem::Version
|
45
|
-
version: '
|
46
|
-
description:
|
47
|
-
|
40
|
+
version: '4.0'
|
41
|
+
description: 'The Products Engine implements ProductType and ProductInstance, as well
|
42
|
+
as a number of classes to support product catalog-type functions and search/shopping
|
48
43
|
scenarios. '
|
49
44
|
email:
|
50
45
|
- russonrails@gmail.com
|
@@ -52,13 +47,10 @@ executables: []
|
|
52
47
|
extensions: []
|
53
48
|
extra_rdoc_files: []
|
54
49
|
files:
|
55
|
-
-
|
56
|
-
-
|
57
|
-
-
|
58
|
-
- app/
|
59
|
-
- app/assets/stylesheets/erp_products/application.css
|
60
|
-
- app/controllers/erp_products/erp_app/desktop/product_manager/base_controller.rb
|
61
|
-
- app/helpers/erp_products/application_helper.rb
|
50
|
+
- GPL-3-LICENSE
|
51
|
+
- README.rdoc
|
52
|
+
- Rakefile
|
53
|
+
- app/controllers/erp_products/shared/product_types_controller.rb
|
62
54
|
- app/models/prod_availability_status_type.rb
|
63
55
|
- app/models/prod_instance_reln.rb
|
64
56
|
- app/models/prod_instance_reln_type.rb
|
@@ -70,30 +62,34 @@ files:
|
|
70
62
|
- app/models/product_offer.rb
|
71
63
|
- app/models/product_package.rb
|
72
64
|
- app/models/product_type.rb
|
65
|
+
- app/models/product_type_pty_role.rb
|
73
66
|
- app/models/simple_product_offer.rb
|
67
|
+
- app/views/erp_products/shared/product_types/show_details.html.erb
|
74
68
|
- config/routes.rb
|
75
69
|
- db/data_migrations/20110324010232_product_role_types.rb
|
76
70
|
- db/data_migrations/20110527160807_add_default_prod_avail_types.rb
|
77
|
-
- db/data_migrations/
|
71
|
+
- db/data_migrations/20140130204915_add_vendor_consumer_product_roles_to_role_type.rb
|
78
72
|
- db/migrate/20080805000040_base_products.rb
|
79
73
|
- db/migrate/20080805000041_base_products_indexes.rb
|
80
74
|
- db/migrate/20130131204335_add_product_instances_nested_set_indexes.rb
|
75
|
+
- db/migrate/20130131204336_add_type_column_to_product_types.rb
|
76
|
+
- db/migrate/20140124185720_add_product_party_roles.rb
|
77
|
+
- db/migrate/20140130211433_add_sku_comment_uom_to_product_type.rb
|
78
|
+
- lib/erp_products.rb
|
81
79
|
- lib/erp_products/engine.rb
|
80
|
+
- lib/erp_products/extensions.rb
|
82
81
|
- lib/erp_products/extensions/active_record/acts_as_product_instance.rb
|
83
82
|
- lib/erp_products/extensions/active_record/acts_as_product_offer.rb
|
84
83
|
- lib/erp_products/extensions/active_record/acts_as_product_type.rb
|
85
|
-
- lib/erp_products/extensions.rb
|
86
84
|
- lib/erp_products/version.rb
|
87
|
-
- lib/erp_products.rb
|
88
85
|
- lib/tasks/erp_products_tasks.rake
|
89
|
-
-
|
90
|
-
- Rakefile
|
91
|
-
- README.rdoc
|
86
|
+
- spec/dummy/Rakefile
|
92
87
|
- spec/dummy/app/assets/javascripts/application.js
|
93
88
|
- spec/dummy/app/assets/stylesheets/application.css
|
94
89
|
- spec/dummy/app/controllers/application_controller.rb
|
95
90
|
- spec/dummy/app/helpers/application_helper.rb
|
96
91
|
- spec/dummy/app/views/layouts/application.html.erb
|
92
|
+
- spec/dummy/config.ru
|
97
93
|
- spec/dummy/config/application.rb
|
98
94
|
- spec/dummy/config/boot.rb
|
99
95
|
- spec/dummy/config/database.yml
|
@@ -107,59 +103,10 @@ files:
|
|
107
103
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
108
104
|
- spec/dummy/config/locales/en.yml
|
109
105
|
- spec/dummy/config/routes.rb
|
110
|
-
- spec/dummy/config.ru
|
111
|
-
- spec/dummy/db/data_migrations/20101011152441_payment_gateway_actions.erp_commerce.rb
|
112
|
-
- spec/dummy/db/data_migrations/20101014142230_financial_txn_types.erp_txns_and_accts.rb
|
113
|
-
- spec/dummy/db/data_migrations/20110109173616_create_capability_scope_types.erp_tech_svcs.rb
|
114
|
-
- spec/dummy/db/data_migrations/20110324010232_product_role_types.erp_products.rb
|
115
|
-
- spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
|
116
|
-
- spec/dummy/db/data_migrations/20110527160807_add_default_prod_avail_types.erp_products.rb
|
117
|
-
- spec/dummy/db/data_migrations/20110605231556_create_order_party_roles.erp_orders.rb
|
118
|
-
- spec/dummy/db/data_migrations/20110609150135_add_iso_codes.erp_base_erp_svcs.rb
|
119
|
-
- spec/dummy/db/data_migrations/20110728201729_erp_app_setup.erp_app.rb
|
120
|
-
- spec/dummy/db/data_migrations/20110728201730_create_desktop_app_product_manager.erp_products.rb
|
121
|
-
- spec/dummy/db/data_migrations/20110728201731_create_desktop_app_order_manager.erp_orders.rb
|
122
|
-
- spec/dummy/db/data_migrations/20110728201732_create_organizer_app_order_management.erp_orders.rb
|
123
|
-
- spec/dummy/db/data_migrations/20110728201733_update_preferences.erp_app.rb
|
124
|
-
- spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
|
125
|
-
- spec/dummy/db/data_migrations/20110816161238_create_desktop_app_audit_log_viewer.erp_app.rb
|
126
|
-
- spec/dummy/db/data_migrations/20110817160743_add_file_manager_application.erp_app.rb
|
127
|
-
- spec/dummy/db/data_migrations/20110913145838_setup_compass_ae_instance.erp_base_erp_svcs.rb
|
128
|
-
- spec/dummy/db/data_migrations/20111108183739_add_default_capabilities.erp_app.rb
|
129
|
-
- spec/dummy/db/data_migrations/20111108183740_add_new_contact_widgets.erp_app.rb
|
130
|
-
- spec/dummy/db/data_migrations/20111111144706_setup_audit_log_types.erp_tech_svcs.rb
|
131
|
-
- spec/dummy/db/data_migrations/20120109173616_create_download_capability_type.erp_tech_svcs.rb
|
132
|
-
- spec/dummy/db/data_migrations/20120229160222_add_userinfo_widget.erp_app.rb
|
133
|
-
- spec/dummy/db/data_migrations/20120229174343_add_orders_widget.erp_orders.rb
|
134
|
-
- spec/dummy/db/data_migrations/20120405193721_create_party_and_role_type_for_communication_events.erp_app.rb
|
135
|
-
- spec/dummy/db/data_migrations/20120411180756_create_user_management_mobile_application.erp_app.rb
|
136
|
-
- spec/dummy/db/data_migrations/20120418164215_create_configuration_management_desktop_application.erp_app.rb
|
137
|
-
- spec/dummy/db/data_migrations/20121116155018_create_group_relationship_and_role_types.erp_tech_svcs.rb
|
138
|
-
- spec/dummy/db/data_migrations/20121130201859_upgrade_remove_system_mgmt_app.erp_app.rb
|
139
|
-
- spec/dummy/db/data_migrations/20121130212146_note_capabilities.erp_tech_svcs.rb
|
140
|
-
- spec/dummy/db/data_migrations/20121218175028_create_security_management_desktop_application.erp_app.rb
|
141
|
-
- spec/dummy/db/migrate/20130107214711_base_erp_services.erp_base_erp_svcs.rb
|
142
|
-
- spec/dummy/db/migrate/20130107214712_base_products.erp_products.rb
|
143
|
-
- spec/dummy/db/migrate/20130107214713_base_products_indexes.erp_products.rb
|
144
|
-
- spec/dummy/db/migrate/20130107214714_base_tech_services.erp_tech_svcs.rb
|
145
|
-
- spec/dummy/db/migrate/20130107214715_create_has_attribute_tables.erp_tech_svcs.rb
|
146
|
-
- spec/dummy/db/migrate/20130107214716_create_groups.erp_tech_svcs.rb
|
147
|
-
- spec/dummy/db/migrate/20130107214717_upgrade_security.erp_tech_svcs.rb
|
148
|
-
- spec/dummy/db/migrate/20130107214718_upgrade_security2.erp_tech_svcs.rb
|
149
|
-
- spec/dummy/db/migrate/20130107214719_base_orders.erp_orders.rb
|
150
|
-
- spec/dummy/db/migrate/20130107214720_base_txns_and_accts.erp_txns_and_accts.rb
|
151
|
-
- spec/dummy/db/migrate/20130107214721_agreements_services.erp_agreements.rb
|
152
|
-
- spec/dummy/db/migrate/20130107214722_agreements_services_indexes.erp_agreements.rb
|
153
|
-
- spec/dummy/db/migrate/20130107214723_base_app_framework.erp_app.rb
|
154
|
-
- spec/dummy/db/migrate/20130107214724_erp_commerce_base.erp_commerce.rb
|
155
|
-
- spec/dummy/db/schema.rb
|
156
|
-
- spec/dummy/db/spec.sqlite3
|
157
|
-
- spec/dummy/log/spec.log
|
158
106
|
- spec/dummy/public/404.html
|
159
107
|
- spec/dummy/public/422.html
|
160
108
|
- spec/dummy/public/500.html
|
161
109
|
- spec/dummy/public/favicon.ico
|
162
|
-
- spec/dummy/Rakefile
|
163
110
|
- spec/dummy/script/rails
|
164
111
|
- spec/models/prod_availability_status_type_spec.rb
|
165
112
|
- spec/models/prod_instance_reln_spec.rb
|
@@ -175,28 +122,28 @@ files:
|
|
175
122
|
- spec/models/simple_product_offer_spec.rb
|
176
123
|
- spec/spec_helper.rb
|
177
124
|
homepage: http://development.compassagile.com
|
178
|
-
licenses:
|
125
|
+
licenses:
|
126
|
+
- GPL-3-LICENSE
|
127
|
+
metadata: {}
|
179
128
|
post_install_message:
|
180
129
|
rdoc_options: []
|
181
130
|
require_paths:
|
182
131
|
- lib
|
183
132
|
required_ruby_version: !ruby/object:Gem::Requirement
|
184
|
-
none: false
|
185
133
|
requirements:
|
186
|
-
- -
|
134
|
+
- - ">="
|
187
135
|
- !ruby/object:Gem::Version
|
188
136
|
version: '0'
|
189
137
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
190
|
-
none: false
|
191
138
|
requirements:
|
192
|
-
- -
|
139
|
+
- - ">="
|
193
140
|
- !ruby/object:Gem::Version
|
194
141
|
version: '0'
|
195
142
|
requirements: []
|
196
143
|
rubyforge_project:
|
197
|
-
rubygems_version:
|
144
|
+
rubygems_version: 2.2.2
|
198
145
|
signing_key:
|
199
|
-
specification_version:
|
146
|
+
specification_version: 4
|
200
147
|
summary: The Products Engine implements ProductType and ProductInstance, as well as
|
201
148
|
a number of classes to support product catalog-type functions and search/shopping
|
202
149
|
scenarios.
|
@@ -220,53 +167,6 @@ test_files:
|
|
220
167
|
- spec/dummy/config/locales/en.yml
|
221
168
|
- spec/dummy/config/routes.rb
|
222
169
|
- spec/dummy/config.ru
|
223
|
-
- spec/dummy/db/data_migrations/20101011152441_payment_gateway_actions.erp_commerce.rb
|
224
|
-
- spec/dummy/db/data_migrations/20101014142230_financial_txn_types.erp_txns_and_accts.rb
|
225
|
-
- spec/dummy/db/data_migrations/20110109173616_create_capability_scope_types.erp_tech_svcs.rb
|
226
|
-
- spec/dummy/db/data_migrations/20110324010232_product_role_types.erp_products.rb
|
227
|
-
- spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
|
228
|
-
- spec/dummy/db/data_migrations/20110527160807_add_default_prod_avail_types.erp_products.rb
|
229
|
-
- spec/dummy/db/data_migrations/20110605231556_create_order_party_roles.erp_orders.rb
|
230
|
-
- spec/dummy/db/data_migrations/20110609150135_add_iso_codes.erp_base_erp_svcs.rb
|
231
|
-
- spec/dummy/db/data_migrations/20110728201729_erp_app_setup.erp_app.rb
|
232
|
-
- spec/dummy/db/data_migrations/20110728201730_create_desktop_app_product_manager.erp_products.rb
|
233
|
-
- spec/dummy/db/data_migrations/20110728201731_create_desktop_app_order_manager.erp_orders.rb
|
234
|
-
- spec/dummy/db/data_migrations/20110728201732_create_organizer_app_order_management.erp_orders.rb
|
235
|
-
- spec/dummy/db/data_migrations/20110728201733_update_preferences.erp_app.rb
|
236
|
-
- spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
|
237
|
-
- spec/dummy/db/data_migrations/20110816161238_create_desktop_app_audit_log_viewer.erp_app.rb
|
238
|
-
- spec/dummy/db/data_migrations/20110817160743_add_file_manager_application.erp_app.rb
|
239
|
-
- spec/dummy/db/data_migrations/20110913145838_setup_compass_ae_instance.erp_base_erp_svcs.rb
|
240
|
-
- spec/dummy/db/data_migrations/20111108183739_add_default_capabilities.erp_app.rb
|
241
|
-
- spec/dummy/db/data_migrations/20111108183740_add_new_contact_widgets.erp_app.rb
|
242
|
-
- spec/dummy/db/data_migrations/20111111144706_setup_audit_log_types.erp_tech_svcs.rb
|
243
|
-
- spec/dummy/db/data_migrations/20120109173616_create_download_capability_type.erp_tech_svcs.rb
|
244
|
-
- spec/dummy/db/data_migrations/20120229160222_add_userinfo_widget.erp_app.rb
|
245
|
-
- spec/dummy/db/data_migrations/20120229174343_add_orders_widget.erp_orders.rb
|
246
|
-
- spec/dummy/db/data_migrations/20120405193721_create_party_and_role_type_for_communication_events.erp_app.rb
|
247
|
-
- spec/dummy/db/data_migrations/20120411180756_create_user_management_mobile_application.erp_app.rb
|
248
|
-
- spec/dummy/db/data_migrations/20120418164215_create_configuration_management_desktop_application.erp_app.rb
|
249
|
-
- spec/dummy/db/data_migrations/20121116155018_create_group_relationship_and_role_types.erp_tech_svcs.rb
|
250
|
-
- spec/dummy/db/data_migrations/20121130201859_upgrade_remove_system_mgmt_app.erp_app.rb
|
251
|
-
- spec/dummy/db/data_migrations/20121130212146_note_capabilities.erp_tech_svcs.rb
|
252
|
-
- spec/dummy/db/data_migrations/20121218175028_create_security_management_desktop_application.erp_app.rb
|
253
|
-
- spec/dummy/db/migrate/20130107214711_base_erp_services.erp_base_erp_svcs.rb
|
254
|
-
- spec/dummy/db/migrate/20130107214712_base_products.erp_products.rb
|
255
|
-
- spec/dummy/db/migrate/20130107214713_base_products_indexes.erp_products.rb
|
256
|
-
- spec/dummy/db/migrate/20130107214714_base_tech_services.erp_tech_svcs.rb
|
257
|
-
- spec/dummy/db/migrate/20130107214715_create_has_attribute_tables.erp_tech_svcs.rb
|
258
|
-
- spec/dummy/db/migrate/20130107214716_create_groups.erp_tech_svcs.rb
|
259
|
-
- spec/dummy/db/migrate/20130107214717_upgrade_security.erp_tech_svcs.rb
|
260
|
-
- spec/dummy/db/migrate/20130107214718_upgrade_security2.erp_tech_svcs.rb
|
261
|
-
- spec/dummy/db/migrate/20130107214719_base_orders.erp_orders.rb
|
262
|
-
- spec/dummy/db/migrate/20130107214720_base_txns_and_accts.erp_txns_and_accts.rb
|
263
|
-
- spec/dummy/db/migrate/20130107214721_agreements_services.erp_agreements.rb
|
264
|
-
- spec/dummy/db/migrate/20130107214722_agreements_services_indexes.erp_agreements.rb
|
265
|
-
- spec/dummy/db/migrate/20130107214723_base_app_framework.erp_app.rb
|
266
|
-
- spec/dummy/db/migrate/20130107214724_erp_commerce_base.erp_commerce.rb
|
267
|
-
- spec/dummy/db/schema.rb
|
268
|
-
- spec/dummy/db/spec.sqlite3
|
269
|
-
- spec/dummy/log/spec.log
|
270
170
|
- spec/dummy/public/404.html
|
271
171
|
- spec/dummy/public/422.html
|
272
172
|
- spec/dummy/public/500.html
|