erp_txns_and_accts 3.1.1 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +7 -0
  2. data/app/models/biz_txn_acct_root.rb +7 -1
  3. data/app/models/biz_txn_event.rb +5 -2
  4. data/app/models/financial_txn.rb +7 -3
  5. data/db/data_migrations/20140202161941_add_account_owner.rb +11 -0
  6. data/db/migrate/20140523095709_add_custom_fields_to_biz_txn_events.rb +10 -0
  7. data/lib/erp_txns_and_accts/extensions/active_record/acts_as_biz_txn_account.rb +5 -0
  8. data/lib/erp_txns_and_accts/extensions/active_record/acts_as_biz_txn_event.rb +1 -0
  9. data/lib/erp_txns_and_accts/extensions/active_record/acts_as_financial_txn_account.rb +6 -1
  10. data/lib/erp_txns_and_accts/version.rb +7 -3
  11. metadata +27 -157
  12. data/app/assets/javascripts/erp_txns_and_accts/application.js +0 -9
  13. data/app/assets/stylesheets/erp_txns_and_accts/application.css +0 -7
  14. data/app/controllers/erp_txns_and_accts/application_controller.rb +0 -4
  15. data/app/helpers/erp_txns_and_accts/application_helper.rb +0 -4
  16. data/app/views/layouts/erp_txns_and_accts/application.html.erb +0 -14
  17. data/spec/dummy/db/data_migrations/20101011152441_payment_gateway_actions.erp_commerce.rb +0 -28
  18. data/spec/dummy/db/data_migrations/20101014142230_financial_txn_types.erp_txns_and_accts.rb +0 -16
  19. data/spec/dummy/db/data_migrations/20110109173616_create_capability_scope_types.erp_tech_svcs.rb +0 -15
  20. data/spec/dummy/db/data_migrations/20110324010232_product_role_types.erp_products.rb +0 -24
  21. data/spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb +0 -12
  22. data/spec/dummy/db/data_migrations/20110527160807_add_default_prod_avail_types.erp_products.rb +0 -27
  23. data/spec/dummy/db/data_migrations/20110605231556_create_order_party_roles.erp_orders.rb +0 -24
  24. data/spec/dummy/db/data_migrations/20110609150135_add_iso_codes.erp_base_erp_svcs.rb +0 -19
  25. data/spec/dummy/db/data_migrations/20110728201729_erp_app_setup.erp_app.rb +0 -252
  26. data/spec/dummy/db/data_migrations/20110728201730_create_desktop_app_product_manager.erp_products.rb +0 -26
  27. data/spec/dummy/db/data_migrations/20110728201731_create_desktop_app_order_manager.erp_orders.rb +0 -26
  28. data/spec/dummy/db/data_migrations/20110728201732_create_organizer_app_order_management.erp_orders.rb +0 -15
  29. data/spec/dummy/db/data_migrations/20110728201733_update_preferences.erp_app.rb +0 -53
  30. data/spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb +0 -16
  31. data/spec/dummy/db/data_migrations/20110816161238_create_desktop_app_audit_log_viewer.erp_app.rb +0 -21
  32. data/spec/dummy/db/data_migrations/20110817160743_add_file_manager_application.erp_app.rb +0 -32
  33. data/spec/dummy/db/data_migrations/20110913145838_setup_compass_ae_instance.erp_base_erp_svcs.rb +0 -12
  34. data/spec/dummy/db/data_migrations/20111108183739_add_default_capabilities.erp_app.rb +0 -23
  35. data/spec/dummy/db/data_migrations/20111108183740_add_new_contact_widgets.erp_app.rb +0 -42
  36. data/spec/dummy/db/data_migrations/20111111144706_setup_audit_log_types.erp_tech_svcs.rb +0 -22
  37. data/spec/dummy/db/data_migrations/20120229160222_add_userinfo_widget.erp_app.rb +0 -29
  38. data/spec/dummy/db/data_migrations/20120229174343_add_orders_widget.erp_orders.rb +0 -29
  39. data/spec/dummy/db/data_migrations/20120405193721_create_party_and_role_type_for_communication_events.erp_app.rb +0 -11
  40. data/spec/dummy/db/data_migrations/20120411180756_create_user_management_mobile_application.erp_app.rb +0 -19
  41. data/spec/dummy/db/data_migrations/20120418164215_create_configuration_management_desktop_application.erp_app.rb +0 -23
  42. data/spec/dummy/db/data_migrations/20121116155018_create_group_relationship_and_role_types.erp_tech_svcs.rb +0 -20
  43. data/spec/dummy/db/data_migrations/20121130201859_upgrade_remove_system_mgmt_app.erp_app.rb +0 -16
  44. data/spec/dummy/db/data_migrations/20121130212146_note_capabilities.erp_tech_svcs.rb +0 -24
  45. data/spec/dummy/db/data_migrations/20121218175028_create_security_management_desktop_application.erp_app.rb +0 -23
  46. data/spec/dummy/db/data_migrations/20130422155332_upgrade_compass_ae_instances_data.erp_base_erp_svcs.rb +0 -19
  47. data/spec/dummy/db/data_migrations/20130422155333_add_guid_to_instances.erp_base_erp_svcs.rb +0 -10
  48. data/spec/dummy/db/data_migrations/20130422155334_create_job_tracker_desktop_application.erp_app.rb +0 -23
  49. data/spec/dummy/db/data_migrations/20130422155335_created_tracked_jobs.erp_app.rb +0 -15
  50. data/spec/dummy/db/data_migrations/20130422155336_add_job_tracker_mobile_app.erp_app.rb +0 -17
  51. data/spec/dummy/db/data_migrations/20130422155337_add_credit_card_biz_txn_acct_types.erp_commerce.rb +0 -58
  52. data/spec/dummy/db/migrate/20130107205642_base_erp_services.erp_base_erp_svcs.rb +0 -461
  53. data/spec/dummy/db/migrate/20130107205643_base_txns_and_accts.erp_txns_and_accts.rb +0 -364
  54. data/spec/dummy/db/migrate/20130107205644_base_tech_services.erp_tech_svcs.rb +0 -271
  55. data/spec/dummy/db/migrate/20130107205645_create_has_attribute_tables.erp_tech_svcs.rb +0 -39
  56. data/spec/dummy/db/migrate/20130107205646_create_groups.erp_tech_svcs.rb +0 -19
  57. data/spec/dummy/db/migrate/20130107205647_upgrade_security.erp_tech_svcs.rb +0 -54
  58. data/spec/dummy/db/migrate/20130107205648_upgrade_security2.erp_tech_svcs.rb +0 -270
  59. data/spec/dummy/db/migrate/20130107205649_agreements_services.erp_agreements.rb +0 -160
  60. data/spec/dummy/db/migrate/20130107205650_agreements_services_indexes.erp_agreements.rb +0 -52
  61. data/spec/dummy/db/migrate/20130107205651_base_app_framework.erp_app.rb +0 -276
  62. data/spec/dummy/db/migrate/20130107205652_base_products.erp_products.rb +0 -234
  63. data/spec/dummy/db/migrate/20130107205653_base_products_indexes.erp_products.rb +0 -59
  64. data/spec/dummy/db/migrate/20130107205654_base_orders.erp_orders.rb +0 -178
  65. data/spec/dummy/db/migrate/20130107205655_erp_commerce_base.erp_commerce.rb +0 -442
  66. data/spec/dummy/db/migrate/20130422155324_add_txn_status.erp_base_erp_svcs.rb +0 -37
  67. data/spec/dummy/db/migrate/20130422155325_upgrade_compass_ae_instances.erp_base_erp_svcs.rb +0 -34
  68. data/spec/dummy/db/migrate/20130422155326_add_uuid_compass_ae_instance.erp_base_erp_svcs.rb +0 -17
  69. data/spec/dummy/db/migrate/20130422155327_add_long_lat_to_address.erp_base_erp_svcs.rb +0 -16
  70. data/spec/dummy/db/migrate/20130422155328_add_biz_txn_acct_type_id_to_biz_txn_acct_root.erp_txns_and_accts.rb +0 -6
  71. data/spec/dummy/db/migrate/20130422155329_add_queue_to_delayed_jobs.erp_tech_svcs.rb +0 -14
  72. data/spec/dummy/db/migrate/20130422155330_add_job_tracker.erp_app.rb +0 -20
  73. data/spec/dummy/db/migrate/20130422155331_update_mobile_application.erp_app.rb +0 -28
  74. data/spec/dummy/db/migrate/20130422155332_add_product_instances_nested_set_indexes.erp_products.rb +0 -10
  75. data/spec/dummy/db/schema.rb +0 -1884
  76. data/spec/dummy/db/spec.sqlite3 +0 -0
  77. data/spec/dummy/log/spec.log +0 -6300
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c39e7408089a1eb5b0de8327c9d941bf8af60b5a
4
+ data.tar.gz: 64f299911cbffef01cc76b4ac8598ae481ac07e2
5
+ SHA512:
6
+ metadata.gz: dd4ffff84eea9b47fc44408f5ba975b42242ca67b3d50e1a48380773f5c83cc57db72bc581733dd8c8920146a9c113a7f6389fb28441bf10a77976db301702af
7
+ data.tar.gz: 811f80f96c6a2e4ac9546af7081e3e9a076e07576e59bb79f65f8b4dba5d3148f25d1737146442d3e37063d77d08a182539ebbc37c5525d440625d62db7ddba6
@@ -22,6 +22,9 @@ class BizTxnAcctRoot < ActiveRecord::Base
22
22
  biz_txn_acct_pty_rtype = BizTxnAcctPtyRtype.iid(biz_txn_acct_pty_rtype) if biz_txn_acct_pty_rtype.is_a? String
23
23
  raise "BizTxnAcctPtyRtype #{biz_txn_acct_pty_rtype.to_s} does not exist" if biz_txn_acct_pty_rtype.nil?
24
24
 
25
+ # get description from biz_txn_acct_pty_rtype if not passed
26
+ description = biz_txn_acct_pty_rtype.description unless description
27
+
25
28
  self.biz_txn_acct_party_roles << BizTxnAcctPartyRole.create(:party => party, :description => description, :biz_txn_acct_pty_rtype => biz_txn_acct_pty_rtype)
26
29
  self.save
27
30
  end
@@ -29,7 +32,10 @@ class BizTxnAcctRoot < ActiveRecord::Base
29
32
  def find_parties_by_role(biz_txn_acct_pty_rtype)
30
33
  biz_txn_acct_pty_rtype = BizTxnAcctPtyRtype.iid(biz_txn_acct_pty_rtype) if biz_txn_acct_pty_rtype.is_a? String
31
34
  raise "BizTxnAcctPtyRtype #{biz_txn_acct_pty_rtype.to_s} does not exist" if biz_txn_acct_pty_rtype.nil?
32
- self.biz_txn_acct_party_roles.where('biz_txn_acct_pty_rtype_id = ?', biz_txn_acct_pty_rtype.id).collect(&:party)
35
+
36
+ Party.joins('inner join biz_txn_acct_party_roles on biz_txn_acct_party_roles.party_id = parties.id')
37
+ .where('biz_txn_acct_pty_rtype_id = ?', biz_txn_acct_pty_rtype.id)
38
+ .where('biz_txn_acct_root_id = ?', self.id)
33
39
  end
34
40
 
35
41
  end
@@ -1,8 +1,8 @@
1
1
  class BizTxnEvent < ActiveRecord::Base
2
2
  attr_protected :created_at, :updated_at
3
3
 
4
- belongs_to :biz_txn_acct_root
5
- belongs_to :biz_txn_record, :polymorphic => true
4
+ belongs_to :biz_txn_acct_root
5
+ belongs_to :biz_txn_record, :polymorphic => true
6
6
  has_many :biz_txn_party_roles, :dependent => :destroy
7
7
  has_many :biz_txn_event_descs, :dependent => :destroy
8
8
  has_many :base_txn_contexts, :dependent => :destroy
@@ -21,7 +21,10 @@ class BizTxnEvent < ActiveRecord::Base
21
21
  alias :account= :biz_txn_acct_root=
22
22
  alias :descriptions :biz_txn_event_descs
23
23
 
24
+ # serialize ExtJs attributes
25
+ is_json :custom_fields
24
26
 
27
+
25
28
  #helps when looping through transactions comparing types
26
29
  def txn_type_iid
27
30
  biz_txn_type.internal_identifier if biz_txn_type
@@ -2,10 +2,10 @@ class FinancialTxn < ActiveRecord::Base
2
2
  attr_protected :created_at, :updated_at
3
3
 
4
4
  acts_as_biz_txn_event
5
- has_many :charge_line_payment_txns, :as => :payment_txn, :dependent => :destroy
6
- has_many :charge_lines, :through => :charge_line_payment_txns
5
+ has_many :charge_line_payment_txns, :as => :payment_txn, :dependent => :destroy
6
+ has_many :charge_lines, :through => :charge_line_payment_txns
7
7
  belongs_to :money, :dependent => :destroy
8
- has_many :payments
8
+ has_many :payments
9
9
 
10
10
  def has_captured_payment?
11
11
  has_payments? and self.payments.last.current_state == 'captured'
@@ -27,4 +27,8 @@ class FinancialTxn < ActiveRecord::Base
27
27
  !self.payments.empty?
28
28
  end
29
29
 
30
+ def most_recent_payment
31
+ Payment.order('created_at DESC').where('financial_txn_id = ?', self.id).first
32
+ end
33
+
30
34
  end
@@ -0,0 +1,11 @@
1
+ class AddAccountOwner
2
+
3
+ def self.up
4
+ BizTxnAcctPtyRtype.create(description: 'Account Owner', internal_identifier: 'account_owner')
5
+ end
6
+
7
+ def self.down
8
+ BizTxnAcctPtyRtype.iid('account_owner').destroy
9
+ end
10
+
11
+ end
@@ -0,0 +1,10 @@
1
+ class AddCustomFieldsToBizTxnEvents < ActiveRecord::Migration
2
+ def change
3
+ if ::ActiveRecord::Base.connection.instance_values["config"][:adapter] == 'postgresql'
4
+ add_column :biz_txn_events, :custom_fields, :hstore
5
+ add_hstore_index :biz_txn_events, :custom_fields
6
+ else
7
+ add_column :biz_txn_events, :custom_fields, :text
8
+ end
9
+ end
10
+ end
@@ -58,6 +58,11 @@ module ErpTxnsAndAccts
58
58
  end
59
59
 
60
60
  module SingletonMethods
61
+
62
+ def join_account_root
63
+ joins(:biz_txn_acct_root).uniq
64
+ end
65
+
61
66
  end
62
67
 
63
68
  end#ActsAsBizTxnAccount
@@ -25,6 +25,7 @@ module ErpTxnsAndAccts
25
25
  :txn_type_iid,:txn_type_iid=,
26
26
  :biz_txn_type_id,:biz_txn_type_id=,
27
27
  :external_id_source,:external_id_source=,
28
+ :external_identifier,:external_identifier=,
28
29
  :description,:description=,
29
30
  :post_date,:post_date=,
30
31
  :created_at,:created_at=,
@@ -62,11 +62,16 @@ module ErpTxnsAndAccts
62
62
 
63
63
  def destroy_financial_txn_account
64
64
  self.financial_txn_account.destroy if (self.financial_txn_account && !self.financial_txn_account.frozen?)
65
- end
65
+ end
66
66
 
67
67
  end
68
68
 
69
69
  module SingletonMethods
70
+
71
+ def join_account_root
72
+ joins(:financial_txn_account => :biz_txn_acct_root).uniq
73
+ end
74
+
70
75
  end
71
76
 
72
77
  end
@@ -1,9 +1,13 @@
1
1
  module ErpTxnsAndAccts
2
2
  module VERSION #:nodoc:
3
- MAJOR = 3
4
- MINOR = 1
5
- TINY = 1
3
+ MAJOR = 4
4
+ MINOR = 0
5
+ TINY = 0
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].compact.join('.')
8
8
  end
9
+
10
+ def self.version
11
+ ErpTxnsAndAccts::VERSION::STRING
12
+ end
9
13
  end
metadata CHANGED
@@ -1,49 +1,44 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: erp_txns_and_accts
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1
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: 2013-04-22 00:00:00.000000000 Z
11
+ date: 2014-11-19 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: erp_agreements
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
- version: '3.1'
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: '3.1'
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: '3.1'
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: '3.1'
46
- description: ! 'The Transactions and Accounts Engine implements the root classes for
40
+ version: '4.0'
41
+ description: 'The Transactions and Accounts Engine implements the root classes for
47
42
  adding business transactions and accounts to parties. The key marker interface classes
48
43
  here are BizTxnEvent, which represents a common interface for all manner of management
49
44
  accounting transactions, and BixTxnAcctRoot, which is the root class for the accounting
@@ -55,10 +50,9 @@ executables: []
55
50
  extensions: []
56
51
  extra_rdoc_files: []
57
52
  files:
58
- - app/assets/javascripts/erp_txns_and_accts/application.js
59
- - app/assets/stylesheets/erp_txns_and_accts/application.css
60
- - app/controllers/erp_txns_and_accts/application_controller.rb
61
- - app/helpers/erp_txns_and_accts/application_helper.rb
53
+ - GPL-3-LICENSE
54
+ - README.rdoc
55
+ - Rakefile
62
56
  - app/models/base_txn_context.rb
63
57
  - app/models/biz_acct_txn_task.rb
64
58
  - app/models/biz_txn_acct_party_role.rb
@@ -85,28 +79,28 @@ files:
85
79
  - app/models/extensions/party.rb
86
80
  - app/models/financial_txn.rb
87
81
  - app/models/financial_txn_account.rb
88
- - app/views/layouts/erp_txns_and_accts/application.html.erb
89
82
  - config/routes.rb
90
83
  - db/data_migrations/20101014142230_financial_txn_types.rb
84
+ - db/data_migrations/20140202161941_add_account_owner.rb
91
85
  - db/migrate/20080805000030_base_txns_and_accts.rb
92
86
  - db/migrate/20130408195119_add_biz_txn_acct_type_id_to_biz_txn_acct_root.rb
87
+ - db/migrate/20140523095709_add_custom_fields_to_biz_txn_events.rb
88
+ - lib/erp_txns_and_accts.rb
93
89
  - lib/erp_txns_and_accts/delayed_jobs/payment_gateway_job.rb
94
90
  - lib/erp_txns_and_accts/engine.rb
91
+ - lib/erp_txns_and_accts/extensions.rb
95
92
  - lib/erp_txns_and_accts/extensions/active_record/acts_as_biz_txn_account.rb
96
93
  - lib/erp_txns_and_accts/extensions/active_record/acts_as_biz_txn_event.rb
97
94
  - lib/erp_txns_and_accts/extensions/active_record/acts_as_financial_txn_account.rb
98
- - lib/erp_txns_and_accts/extensions.rb
99
95
  - lib/erp_txns_and_accts/version.rb
100
- - lib/erp_txns_and_accts.rb
101
96
  - lib/tasks/erp_txns_and_accts_tasks.rake
102
- - GPL-3-LICENSE
103
- - Rakefile
104
- - README.rdoc
97
+ - spec/dummy/Rakefile
105
98
  - spec/dummy/app/assets/javascripts/application.js
106
99
  - spec/dummy/app/assets/stylesheets/application.css
107
100
  - spec/dummy/app/controllers/application_controller.rb
108
101
  - spec/dummy/app/helpers/application_helper.rb
109
102
  - spec/dummy/app/views/layouts/application.html.erb
103
+ - spec/dummy/config.ru
110
104
  - spec/dummy/config/application.rb
111
105
  - spec/dummy/config/boot.rb
112
106
  - spec/dummy/config/database.yml
@@ -120,73 +114,10 @@ files:
120
114
  - spec/dummy/config/initializers/wrap_parameters.rb
121
115
  - spec/dummy/config/locales/en.yml
122
116
  - spec/dummy/config/routes.rb
123
- - spec/dummy/config.ru
124
- - spec/dummy/db/data_migrations/20101011152441_payment_gateway_actions.erp_commerce.rb
125
- - spec/dummy/db/data_migrations/20101014142230_financial_txn_types.erp_txns_and_accts.rb
126
- - spec/dummy/db/data_migrations/20110109173616_create_capability_scope_types.erp_tech_svcs.rb
127
- - spec/dummy/db/data_migrations/20110324010232_product_role_types.erp_products.rb
128
- - spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
129
- - spec/dummy/db/data_migrations/20110527160807_add_default_prod_avail_types.erp_products.rb
130
- - spec/dummy/db/data_migrations/20110605231556_create_order_party_roles.erp_orders.rb
131
- - spec/dummy/db/data_migrations/20110609150135_add_iso_codes.erp_base_erp_svcs.rb
132
- - spec/dummy/db/data_migrations/20110728201729_erp_app_setup.erp_app.rb
133
- - spec/dummy/db/data_migrations/20110728201730_create_desktop_app_product_manager.erp_products.rb
134
- - spec/dummy/db/data_migrations/20110728201731_create_desktop_app_order_manager.erp_orders.rb
135
- - spec/dummy/db/data_migrations/20110728201732_create_organizer_app_order_management.erp_orders.rb
136
- - spec/dummy/db/data_migrations/20110728201733_update_preferences.erp_app.rb
137
- - spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
138
- - spec/dummy/db/data_migrations/20110816161238_create_desktop_app_audit_log_viewer.erp_app.rb
139
- - spec/dummy/db/data_migrations/20110817160743_add_file_manager_application.erp_app.rb
140
- - spec/dummy/db/data_migrations/20110913145838_setup_compass_ae_instance.erp_base_erp_svcs.rb
141
- - spec/dummy/db/data_migrations/20111108183739_add_default_capabilities.erp_app.rb
142
- - spec/dummy/db/data_migrations/20111108183740_add_new_contact_widgets.erp_app.rb
143
- - spec/dummy/db/data_migrations/20111111144706_setup_audit_log_types.erp_tech_svcs.rb
144
- - spec/dummy/db/data_migrations/20120229160222_add_userinfo_widget.erp_app.rb
145
- - spec/dummy/db/data_migrations/20120229174343_add_orders_widget.erp_orders.rb
146
- - spec/dummy/db/data_migrations/20120405193721_create_party_and_role_type_for_communication_events.erp_app.rb
147
- - spec/dummy/db/data_migrations/20120411180756_create_user_management_mobile_application.erp_app.rb
148
- - spec/dummy/db/data_migrations/20120418164215_create_configuration_management_desktop_application.erp_app.rb
149
- - spec/dummy/db/data_migrations/20121116155018_create_group_relationship_and_role_types.erp_tech_svcs.rb
150
- - spec/dummy/db/data_migrations/20121130201859_upgrade_remove_system_mgmt_app.erp_app.rb
151
- - spec/dummy/db/data_migrations/20121130212146_note_capabilities.erp_tech_svcs.rb
152
- - spec/dummy/db/data_migrations/20121218175028_create_security_management_desktop_application.erp_app.rb
153
- - spec/dummy/db/data_migrations/20130422155332_upgrade_compass_ae_instances_data.erp_base_erp_svcs.rb
154
- - spec/dummy/db/data_migrations/20130422155333_add_guid_to_instances.erp_base_erp_svcs.rb
155
- - spec/dummy/db/data_migrations/20130422155334_create_job_tracker_desktop_application.erp_app.rb
156
- - spec/dummy/db/data_migrations/20130422155335_created_tracked_jobs.erp_app.rb
157
- - spec/dummy/db/data_migrations/20130422155336_add_job_tracker_mobile_app.erp_app.rb
158
- - spec/dummy/db/data_migrations/20130422155337_add_credit_card_biz_txn_acct_types.erp_commerce.rb
159
- - spec/dummy/db/migrate/20130107205642_base_erp_services.erp_base_erp_svcs.rb
160
- - spec/dummy/db/migrate/20130107205643_base_txns_and_accts.erp_txns_and_accts.rb
161
- - spec/dummy/db/migrate/20130107205644_base_tech_services.erp_tech_svcs.rb
162
- - spec/dummy/db/migrate/20130107205645_create_has_attribute_tables.erp_tech_svcs.rb
163
- - spec/dummy/db/migrate/20130107205646_create_groups.erp_tech_svcs.rb
164
- - spec/dummy/db/migrate/20130107205647_upgrade_security.erp_tech_svcs.rb
165
- - spec/dummy/db/migrate/20130107205648_upgrade_security2.erp_tech_svcs.rb
166
- - spec/dummy/db/migrate/20130107205649_agreements_services.erp_agreements.rb
167
- - spec/dummy/db/migrate/20130107205650_agreements_services_indexes.erp_agreements.rb
168
- - spec/dummy/db/migrate/20130107205651_base_app_framework.erp_app.rb
169
- - spec/dummy/db/migrate/20130107205652_base_products.erp_products.rb
170
- - spec/dummy/db/migrate/20130107205653_base_products_indexes.erp_products.rb
171
- - spec/dummy/db/migrate/20130107205654_base_orders.erp_orders.rb
172
- - spec/dummy/db/migrate/20130107205655_erp_commerce_base.erp_commerce.rb
173
- - spec/dummy/db/migrate/20130422155324_add_txn_status.erp_base_erp_svcs.rb
174
- - spec/dummy/db/migrate/20130422155325_upgrade_compass_ae_instances.erp_base_erp_svcs.rb
175
- - spec/dummy/db/migrate/20130422155326_add_uuid_compass_ae_instance.erp_base_erp_svcs.rb
176
- - spec/dummy/db/migrate/20130422155327_add_long_lat_to_address.erp_base_erp_svcs.rb
177
- - spec/dummy/db/migrate/20130422155328_add_biz_txn_acct_type_id_to_biz_txn_acct_root.erp_txns_and_accts.rb
178
- - spec/dummy/db/migrate/20130422155329_add_queue_to_delayed_jobs.erp_tech_svcs.rb
179
- - spec/dummy/db/migrate/20130422155330_add_job_tracker.erp_app.rb
180
- - spec/dummy/db/migrate/20130422155331_update_mobile_application.erp_app.rb
181
- - spec/dummy/db/migrate/20130422155332_add_product_instances_nested_set_indexes.erp_products.rb
182
- - spec/dummy/db/schema.rb
183
- - spec/dummy/db/spec.sqlite3
184
- - spec/dummy/log/spec.log
185
117
  - spec/dummy/public/404.html
186
118
  - spec/dummy/public/422.html
187
119
  - spec/dummy/public/500.html
188
120
  - spec/dummy/public/favicon.ico
189
- - spec/dummy/Rakefile
190
121
  - spec/dummy/script/rails
191
122
  - spec/factories/basic.rb
192
123
  - spec/models/base_txn_context_spec.rb
@@ -215,28 +146,28 @@ files:
215
146
  - spec/models/financial_txn_spec.rb
216
147
  - spec/spec_helper.rb
217
148
  homepage: http://development.compassagile.com
218
- licenses: []
149
+ licenses:
150
+ - GPL-3-LICENSE
151
+ metadata: {}
219
152
  post_install_message:
220
153
  rdoc_options: []
221
154
  require_paths:
222
155
  - lib
223
156
  required_ruby_version: !ruby/object:Gem::Requirement
224
- none: false
225
157
  requirements:
226
- - - ! '>='
158
+ - - ">="
227
159
  - !ruby/object:Gem::Version
228
160
  version: '0'
229
161
  required_rubygems_version: !ruby/object:Gem::Requirement
230
- none: false
231
162
  requirements:
232
- - - ! '>='
163
+ - - ">="
233
164
  - !ruby/object:Gem::Version
234
165
  version: '0'
235
166
  requirements: []
236
167
  rubyforge_project:
237
- rubygems_version: 1.8.23
168
+ rubygems_version: 2.2.2
238
169
  signing_key:
239
- specification_version: 3
170
+ specification_version: 4
240
171
  summary: The Transactions and Accounts Engine implements the root classes for adding
241
172
  business transactions and accounts to parties.
242
173
  test_files:
@@ -259,67 +190,6 @@ test_files:
259
190
  - spec/dummy/config/locales/en.yml
260
191
  - spec/dummy/config/routes.rb
261
192
  - spec/dummy/config.ru
262
- - spec/dummy/db/data_migrations/20101011152441_payment_gateway_actions.erp_commerce.rb
263
- - spec/dummy/db/data_migrations/20101014142230_financial_txn_types.erp_txns_and_accts.rb
264
- - spec/dummy/db/data_migrations/20110109173616_create_capability_scope_types.erp_tech_svcs.rb
265
- - spec/dummy/db/data_migrations/20110324010232_product_role_types.erp_products.rb
266
- - spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
267
- - spec/dummy/db/data_migrations/20110527160807_add_default_prod_avail_types.erp_products.rb
268
- - spec/dummy/db/data_migrations/20110605231556_create_order_party_roles.erp_orders.rb
269
- - spec/dummy/db/data_migrations/20110609150135_add_iso_codes.erp_base_erp_svcs.rb
270
- - spec/dummy/db/data_migrations/20110728201729_erp_app_setup.erp_app.rb
271
- - spec/dummy/db/data_migrations/20110728201730_create_desktop_app_product_manager.erp_products.rb
272
- - spec/dummy/db/data_migrations/20110728201731_create_desktop_app_order_manager.erp_orders.rb
273
- - spec/dummy/db/data_migrations/20110728201732_create_organizer_app_order_management.erp_orders.rb
274
- - spec/dummy/db/data_migrations/20110728201733_update_preferences.erp_app.rb
275
- - spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
276
- - spec/dummy/db/data_migrations/20110816161238_create_desktop_app_audit_log_viewer.erp_app.rb
277
- - spec/dummy/db/data_migrations/20110817160743_add_file_manager_application.erp_app.rb
278
- - spec/dummy/db/data_migrations/20110913145838_setup_compass_ae_instance.erp_base_erp_svcs.rb
279
- - spec/dummy/db/data_migrations/20111108183739_add_default_capabilities.erp_app.rb
280
- - spec/dummy/db/data_migrations/20111108183740_add_new_contact_widgets.erp_app.rb
281
- - spec/dummy/db/data_migrations/20111111144706_setup_audit_log_types.erp_tech_svcs.rb
282
- - spec/dummy/db/data_migrations/20120229160222_add_userinfo_widget.erp_app.rb
283
- - spec/dummy/db/data_migrations/20120229174343_add_orders_widget.erp_orders.rb
284
- - spec/dummy/db/data_migrations/20120405193721_create_party_and_role_type_for_communication_events.erp_app.rb
285
- - spec/dummy/db/data_migrations/20120411180756_create_user_management_mobile_application.erp_app.rb
286
- - spec/dummy/db/data_migrations/20120418164215_create_configuration_management_desktop_application.erp_app.rb
287
- - spec/dummy/db/data_migrations/20121116155018_create_group_relationship_and_role_types.erp_tech_svcs.rb
288
- - spec/dummy/db/data_migrations/20121130201859_upgrade_remove_system_mgmt_app.erp_app.rb
289
- - spec/dummy/db/data_migrations/20121130212146_note_capabilities.erp_tech_svcs.rb
290
- - spec/dummy/db/data_migrations/20121218175028_create_security_management_desktop_application.erp_app.rb
291
- - spec/dummy/db/data_migrations/20130422155332_upgrade_compass_ae_instances_data.erp_base_erp_svcs.rb
292
- - spec/dummy/db/data_migrations/20130422155333_add_guid_to_instances.erp_base_erp_svcs.rb
293
- - spec/dummy/db/data_migrations/20130422155334_create_job_tracker_desktop_application.erp_app.rb
294
- - spec/dummy/db/data_migrations/20130422155335_created_tracked_jobs.erp_app.rb
295
- - spec/dummy/db/data_migrations/20130422155336_add_job_tracker_mobile_app.erp_app.rb
296
- - spec/dummy/db/data_migrations/20130422155337_add_credit_card_biz_txn_acct_types.erp_commerce.rb
297
- - spec/dummy/db/migrate/20130107205642_base_erp_services.erp_base_erp_svcs.rb
298
- - spec/dummy/db/migrate/20130107205643_base_txns_and_accts.erp_txns_and_accts.rb
299
- - spec/dummy/db/migrate/20130107205644_base_tech_services.erp_tech_svcs.rb
300
- - spec/dummy/db/migrate/20130107205645_create_has_attribute_tables.erp_tech_svcs.rb
301
- - spec/dummy/db/migrate/20130107205646_create_groups.erp_tech_svcs.rb
302
- - spec/dummy/db/migrate/20130107205647_upgrade_security.erp_tech_svcs.rb
303
- - spec/dummy/db/migrate/20130107205648_upgrade_security2.erp_tech_svcs.rb
304
- - spec/dummy/db/migrate/20130107205649_agreements_services.erp_agreements.rb
305
- - spec/dummy/db/migrate/20130107205650_agreements_services_indexes.erp_agreements.rb
306
- - spec/dummy/db/migrate/20130107205651_base_app_framework.erp_app.rb
307
- - spec/dummy/db/migrate/20130107205652_base_products.erp_products.rb
308
- - spec/dummy/db/migrate/20130107205653_base_products_indexes.erp_products.rb
309
- - spec/dummy/db/migrate/20130107205654_base_orders.erp_orders.rb
310
- - spec/dummy/db/migrate/20130107205655_erp_commerce_base.erp_commerce.rb
311
- - spec/dummy/db/migrate/20130422155324_add_txn_status.erp_base_erp_svcs.rb
312
- - spec/dummy/db/migrate/20130422155325_upgrade_compass_ae_instances.erp_base_erp_svcs.rb
313
- - spec/dummy/db/migrate/20130422155326_add_uuid_compass_ae_instance.erp_base_erp_svcs.rb
314
- - spec/dummy/db/migrate/20130422155327_add_long_lat_to_address.erp_base_erp_svcs.rb
315
- - spec/dummy/db/migrate/20130422155328_add_biz_txn_acct_type_id_to_biz_txn_acct_root.erp_txns_and_accts.rb
316
- - spec/dummy/db/migrate/20130422155329_add_queue_to_delayed_jobs.erp_tech_svcs.rb
317
- - spec/dummy/db/migrate/20130422155330_add_job_tracker.erp_app.rb
318
- - spec/dummy/db/migrate/20130422155331_update_mobile_application.erp_app.rb
319
- - spec/dummy/db/migrate/20130422155332_add_product_instances_nested_set_indexes.erp_products.rb
320
- - spec/dummy/db/schema.rb
321
- - spec/dummy/db/spec.sqlite3
322
- - spec/dummy/log/spec.log
323
193
  - spec/dummy/public/404.html
324
194
  - spec/dummy/public/422.html
325
195
  - spec/dummy/public/500.html
@@ -1,9 +0,0 @@
1
- // This is a manifest file that'll be compiled into including all the files listed below.
2
- // Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
3
- // be included in the compiled file accessible from http://example.com/assets/application.js
4
- // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
5
- // the compiled file.
6
- //
7
- //= require jquery
8
- //= require jquery_ujs
9
- //= require_tree .