erp_invoicing 3.0.6 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. data/app/models/billing_account.rb +5 -3
  2. data/app/models/calculate_balance_strategy_type.rb +2 -0
  3. data/app/models/invoice.rb +2 -0
  4. data/app/models/invoice_item.rb +1 -0
  5. data/app/models/invoice_item_type.rb +1 -0
  6. data/app/models/invoice_party_role.rb +1 -0
  7. data/app/models/invoice_payment_strategy_type.rb +2 -0
  8. data/app/models/invoice_payment_term.rb +2 -0
  9. data/app/models/invoice_payment_term_set.rb +2 -0
  10. data/app/models/invoice_payment_term_type.rb +2 -0
  11. data/app/models/invoice_type.rb +1 -0
  12. data/app/models/payment_application.rb +2 -1
  13. data/app/models/recurring_payment.rb +2 -0
  14. data/db/migrate/20111121000000_invoicing_services.rb +13 -1
  15. data/lib/erp_invoicing/version.rb +2 -2
  16. data/lib/erp_invoicing.rb +4 -0
  17. data/public/javascripts/erp_app/desktop/applications/invoice_management/billing_accounts_panel.js +0 -1
  18. data/public/javascripts/erp_app/shared/invoices_grid_panel.js +1 -1
  19. data/spec/dummy/config/application.rb +6 -0
  20. data/spec/dummy/config/environments/spec.rb +3 -0
  21. data/spec/dummy/db/data_migrations/20101011152441_payment_gateway_actions.erp_commerce.rb +28 -0
  22. data/spec/dummy/db/data_migrations/20101014142230_financial_txn_types.erp_txns_and_accts.rb +16 -0
  23. data/spec/dummy/db/data_migrations/20110109173616_create_capability_scope_types.erp_tech_svcs.rb +15 -0
  24. data/spec/dummy/db/data_migrations/20110324010232_product_role_types.erp_products.rb +24 -0
  25. data/spec/dummy/db/data_migrations/20110509223702_add_publisher_role.knitkit.rb +22 -0
  26. data/spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb +12 -0
  27. data/spec/dummy/db/data_migrations/20110527160807_add_default_prod_avail_types.erp_products.rb +27 -0
  28. data/spec/dummy/db/data_migrations/20110605231556_create_order_party_roles.erp_orders.rb +24 -0
  29. data/spec/dummy/db/data_migrations/20110608185830_create_default_dynamic_models_and_forms.erp_forms.rb +33 -0
  30. data/spec/dummy/db/data_migrations/20110609150135_add_iso_codes.erp_base_erp_svcs.rb +19 -0
  31. data/spec/dummy/db/data_migrations/20110728201729_erp_app_setup.erp_app.rb +252 -0
  32. data/spec/dummy/db/data_migrations/20110728201730_create_desktop_app_product_manager.erp_products.rb +26 -0
  33. data/spec/dummy/db/data_migrations/20110728201731_create_desktop_app_order_manager.erp_orders.rb +26 -0
  34. data/spec/dummy/db/data_migrations/20110728201732_create_organizer_app_order_management.erp_orders.rb +15 -0
  35. data/spec/dummy/db/data_migrations/20110728201733_update_preferences.erp_app.rb +53 -0
  36. data/spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb +16 -0
  37. data/spec/dummy/db/data_migrations/20110816153456_add_knitkit_application.knitkit.rb +32 -0
  38. data/spec/dummy/db/data_migrations/20110816161238_create_desktop_app_audit_log_viewer.erp_app.rb +21 -0
  39. data/spec/dummy/db/data_migrations/20110817160743_add_file_manager_application.erp_app.rb +32 -0
  40. data/spec/dummy/db/data_migrations/20110828190913_create_desktop_app_dynamic_forms.erp_forms.rb +19 -0
  41. data/spec/dummy/db/data_migrations/20110913145838_setup_compass_ae_instance.erp_base_erp_svcs.rb +12 -0
  42. data/spec/dummy/db/data_migrations/20111108183739_add_default_capabilities.erp_app.rb +23 -0
  43. data/spec/dummy/db/data_migrations/20111108183740_add_new_contact_widgets.erp_app.rb +42 -0
  44. data/spec/dummy/db/data_migrations/20111111144706_setup_audit_log_types.erp_tech_svcs.rb +22 -0
  45. data/spec/dummy/db/data_migrations/20111118182910_setup_knitkit_capabilities.knitkit.rb +128 -0
  46. data/spec/dummy/db/data_migrations/20111121153349_create_bill_pay_organizer_application.erp_invoicing.rb +15 -0
  47. data/spec/dummy/db/data_migrations/20120109173616_create_download_capability_type.erp_tech_svcs.rb +14 -0
  48. data/spec/dummy/db/data_migrations/20120118181839_create_invoice_management_desktop_application.erp_invoicing.rb +27 -0
  49. data/spec/dummy/db/data_migrations/20120127144444_create_website_role_types.knitkit.rb +14 -0
  50. data/spec/dummy/db/data_migrations/20120127150505_create_website_default_configuration.knitkit.rb +73 -0
  51. data/spec/dummy/db/data_migrations/20120127150506_add_primary_host_to_website_configuration.knitkit.rb +34 -0
  52. data/spec/dummy/db/data_migrations/20120229160222_add_userinfo_widget.erp_app.rb +29 -0
  53. data/spec/dummy/db/data_migrations/20120229174322_add_billpay_widget.erp_invoicing.rb +27 -0
  54. data/spec/dummy/db/data_migrations/20120229174343_add_orders_widget.erp_orders.rb +29 -0
  55. data/spec/dummy/db/data_migrations/20120316150424_add_is_template_to_default_website_config.knitkit.rb +17 -0
  56. data/spec/dummy/db/data_migrations/20120405193721_create_party_and_role_type_for_communication_events.erp_app.rb +11 -0
  57. data/spec/dummy/db/data_migrations/20120411180756_create_user_management_mobile_application.erp_app.rb +19 -0
  58. data/spec/dummy/db/data_migrations/20120418164215_create_configuration_management_desktop_application.erp_app.rb +23 -0
  59. data/spec/dummy/db/data_migrations/20120605154637_add_calculate_balance_strategy_types.erp_invoicing.rb +21 -0
  60. data/spec/dummy/db/data_migrations/20120809020508_update_website_and_configuration.knitkit.rb +78 -0
  61. data/spec/dummy/db/data_migrations/20120824013449_create_ticket_form.erp_forms.rb +67 -0
  62. data/spec/dummy/db/data_migrations/20121026013449_update_ticket_form.erp_forms.rb +65 -0
  63. data/spec/dummy/db/data_migrations/20121026191738_update_contact_form.erp_forms.rb +27 -0
  64. data/spec/dummy/db/data_migrations/20121116155018_create_group_relationship_and_role_types.erp_tech_svcs.rb +20 -0
  65. data/spec/dummy/db/data_migrations/20121129185611_upgrade_website_role_iid.knitkit.rb +21 -0
  66. data/spec/dummy/db/data_migrations/20121130201859_upgrade_remove_system_mgmt_app.erp_app.rb +16 -0
  67. data/spec/dummy/db/data_migrations/20121130212146_note_capabilities.erp_tech_svcs.rb +24 -0
  68. data/spec/dummy/db/data_migrations/20121218175028_create_security_management_desktop_application.erp_app.rb +23 -0
  69. data/spec/dummy/db/migrate/20121214000230_base_erp_services.erp_base_erp_svcs.rb +461 -0
  70. data/spec/dummy/db/migrate/20121214000231_base_tech_services.erp_tech_svcs.rb +255 -0
  71. data/spec/dummy/db/migrate/20121214000232_create_has_attribute_tables.erp_tech_svcs.rb +39 -0
  72. data/spec/dummy/db/migrate/20121214000233_base_app_framework.erp_app.rb +276 -0
  73. data/spec/dummy/db/migrate/20121214000234_dynamic_forms.erp_forms.rb +95 -0
  74. data/spec/dummy/db/migrate/20121214000235_create_tickets.erp_forms.rb +19 -0
  75. data/spec/dummy/db/migrate/20121214000236_upgrade_dynamic_forms_table.erp_forms.rb +32 -0
  76. data/spec/dummy/db/migrate/20121214000237_setup_knitkit.knitkit.rb +316 -0
  77. data/spec/dummy/db/migrate/20121214000238_invoicing_services.erp_invoicing.rb +277 -0
  78. data/spec/dummy/db/migrate/20121214000239_base_inventory.erp_inventory.rb +91 -0
  79. data/spec/dummy/db/migrate/20121214000240_base_inventory_indexes.erp_inventory.rb +48 -0
  80. data/spec/dummy/db/migrate/20121214000241_base_txns_and_accts.erp_txns_and_accts.rb +364 -0
  81. data/spec/dummy/db/migrate/20121214000242_agreements_services.erp_agreements.rb +160 -0
  82. data/spec/dummy/db/migrate/20121214000243_agreements_services_indexes.erp_agreements.rb +52 -0
  83. data/spec/dummy/db/migrate/20121214000244_base_orders.erp_orders.rb +178 -0
  84. data/spec/dummy/db/migrate/20121214000245_base_products.erp_products.rb +234 -0
  85. data/spec/dummy/db/migrate/20121214000246_base_products_indexes.erp_products.rb +59 -0
  86. data/spec/dummy/db/migrate/20121214000247_erp_commerce_base.erp_commerce.rb +442 -0
  87. data/spec/dummy/db/migrate/20121214000248_base_work_efforts.erp_work_effort.rb +211 -0
  88. data/spec/dummy/db/migrate/20130107181155_create_groups.erp_tech_svcs.rb +19 -0
  89. data/spec/dummy/db/migrate/20130107181156_upgrade_security.erp_tech_svcs.rb +54 -0
  90. data/spec/dummy/db/migrate/20130107181157_upgrade_security2.erp_tech_svcs.rb +270 -0
  91. data/spec/dummy/db/schema.rb +2569 -0
  92. data/spec/dummy/db/spec.sqlite3 +0 -0
  93. data/spec/dummy/log/spec.log +64744 -0
  94. data/spec/models/billing_account_spec.rb +1 -7
  95. data/spec/models/invoice_spec.rb +2 -1
  96. data/spec/models/payment_application_spec.rb +1 -1
  97. data/spec/spec_helper.rb +18 -10
  98. metadata +203 -20
  99. data/db/migrate/20120228184317_add_text_to_pay_to_recurring_payments.rb +0 -13
  100. data/db/migrate/20120301155722_add_billing_date_to_billing_account.rb +0 -13
  101. data/db/migrate/20120605144227_create_calcuate_balance_strategy_type.rb +0 -18
  102. data/db/migrate/20120605144900_add_calculate_balance_strategy_to_billing_account.rb +0 -7
  103. data/db/migrate/20120605150425_add_balance_to_invoice.rb +0 -9
@@ -12,10 +12,8 @@ describe BillingAccount do
12
12
  :mothers_maiden_name => 'William'
13
13
  )
14
14
 
15
- @billing_account = BillingAccount.new
16
- @billing_account = BillingAccount.create()
15
+ @billing_account = BillingAccount.new
17
16
  @billing_account.account_number = '123456789B'
18
- @billing_account.calculate_balance = false
19
17
  @billing_account.payment_due = 72.20
20
18
  @billing_account.balance = 72.20
21
19
  @billing_account.due_date = '2012-02-15'
@@ -37,10 +35,6 @@ describe BillingAccount do
37
35
  @billing_account.billing_date.should eq '2012-01-15'.to_date
38
36
  end
39
37
 
40
- it "should get balance_date from financial_txn_acct.balance_date" do
41
- @billing_account.balance_date.should eq '2012-01-15'.to_date
42
- end
43
-
44
38
  it "should get payment_due from financial_txn_acct.payment_due" do
45
39
  @billing_account.payment_due.should eq 72.20
46
40
  end
@@ -12,6 +12,7 @@ describe Invoice do
12
12
  @invoice = Invoice.create(:invoice_number => 'I123456789A',
13
13
  :invoice_date => '2012-01-15',
14
14
  :due_date => '2012-05-15',
15
+ :calculate_balance_strategy_type => CalculateBalanceStrategyType.find_by_internal_identifier('invoice_items_and_payments'),
15
16
  :description => 'Invoice 2011-12-01 - 2011-12-31')
16
17
  @invoice_item = InvoiceItem.create(:amount => 29.99, :quantity => 25, :item_description => '7619851 BICEP II MAGNUM 2X2.5GA')
17
18
  @invoice.items << @invoice_item
@@ -42,7 +43,7 @@ describe Invoice do
42
43
  end
43
44
 
44
45
  it "should calculate balance from its items and payments" do
45
- @invoice.balance.should eq 749.75
46
+ @invoice.calculate_balance.should eq 749.75
46
47
  end
47
48
 
48
49
  it "should allow to check for payments by status" do
@@ -7,7 +7,7 @@ describe PaymentApplication do
7
7
  end
8
8
 
9
9
  it "should have to check to see if it is pending" do
10
- @payment_application.is_pending?.should eq false
10
+ @payment_application.is_pending?.should eq true
11
11
  end
12
12
 
13
13
  after(:all) do
data/spec/spec_helper.rb CHANGED
@@ -1,5 +1,6 @@
1
1
  require 'spork'
2
2
  require 'rake'
3
+ require 'factory_girl'
3
4
 
4
5
  Spork.prefork do
5
6
  # Loading more in this block will cause your tests to run faster. However,
@@ -22,16 +23,6 @@ Spork.prefork do
22
23
  ActiveRecord::Base.establish_connection(ENV["DB"] || "spec")
23
24
  ActiveRecord::Migration.verbose = false
24
25
 
25
- #We have to execute the migrations from dummy app directory
26
- Dir.chdir DUMMY_APP_ROOT
27
- `rake db:drop`
28
- Dir.chdir ENGINE_RAILS_ROOT
29
-
30
- #We have to execute the migrations from dummy app directory
31
- Dir.chdir DUMMY_APP_ROOT
32
- `rake db:migrate`
33
- Dir.chdir ENGINE_RAILS_ROOT
34
-
35
26
  # Requires supporting ruby files with custom matchers and macros, etc,
36
27
  # in spec/support/ and its subdirectories.
37
28
  Dir[File.join(ENGINE_RAILS_ROOT, "spec/support/**/*.rb")].each {|f| require f }
@@ -41,6 +32,7 @@ Spork.prefork do
41
32
 
42
33
  RSpec.configure do |config|
43
34
  config.use_transactional_fixtures = true
35
+ config.include FactoryGirl::Syntax::Methods
44
36
  config.include Sorcery::TestHelpers::Rails
45
37
  config.include ErpDevSvcs
46
38
  config.include ErpDevSvcs::ControllerSupport, :type => :controller
@@ -48,6 +40,21 @@ Spork.prefork do
48
40
  end
49
41
 
50
42
  Spork.each_run do
43
+ #We have to execute the migrations from dummy app directory
44
+ Dir.chdir DUMMY_APP_ROOT
45
+ `rake db:drop RAILS_ENV=spec`
46
+ Dir.chdir ENGINE_RAILS_ROOT
47
+
48
+ #We have to execute the migratiapp:compass_ae:install:data_migrationsons from dummy app directory
49
+ Dir.chdir DUMMY_APP_ROOT
50
+
51
+
52
+ `rake compass_ae:install:migrations RAILS_ENV=spec`
53
+ `rake compass_ae:install:data_migrations RAILS_ENV=spec`
54
+ `rake db:migrate RAILS_ENV=spec`
55
+ `rake db:migrate_data RAILS_ENV=spec`
56
+ Dir.chdir ENGINE_RAILS_ROOT
57
+
51
58
  ErpDevSvcs::FactorySupport.load_engine_factories
52
59
 
53
60
  require 'simplecov'
@@ -57,4 +64,5 @@ Spork.each_run do
57
64
  #Need to explictly load the files in lib/ until we figure out how to
58
65
  #get rails to autoload them for spec like it used to...
59
66
  Dir[File.join(ENGINE_RAILS_ROOT, "lib/**/*.rb")].each {|f| load f}
67
+ Dir[File.join(ENGINE_RAILS_ROOT, "app/models/extensions/**/*.rb")].each {|f| load f}
60
68
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: erp_invoicing
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.6
4
+ version: 3.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,52 +9,88 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-10 00:00:00.000000000 Z
12
+ date: 2013-01-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: erp_inventory
16
- requirement: &70149467252040 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: '3.0'
21
+ version: '3.1'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70149467252040
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '3.1'
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: erp_work_effort
27
- requirement: &70149467251380 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ~>
31
36
  - !ruby/object:Gem::Version
32
- version: '3.0'
37
+ version: '3.1'
33
38
  type: :runtime
34
39
  prerelease: false
35
- version_requirements: *70149467251380
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: '3.1'
36
46
  - !ruby/object:Gem::Dependency
37
47
  name: erp_commerce
38
- requirement: &70149467250920 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
39
49
  none: false
40
50
  requirements:
41
51
  - - ~>
42
52
  - !ruby/object:Gem::Version
43
- version: '3.0'
53
+ version: '3.1'
44
54
  type: :runtime
45
55
  prerelease: false
46
- version_requirements: *70149467250920
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '3.1'
62
+ - !ruby/object:Gem::Dependency
63
+ name: knitkit
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ~>
68
+ - !ruby/object:Gem::Version
69
+ version: '2.1'
70
+ type: :runtime
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: '2.1'
47
78
  - !ruby/object:Gem::Dependency
48
79
  name: erp_dev_svcs
49
- requirement: &70149467250460 !ruby/object:Gem::Requirement
80
+ requirement: !ruby/object:Gem::Requirement
50
81
  none: false
51
82
  requirements:
52
83
  - - ~>
53
84
  - !ruby/object:Gem::Version
54
- version: '3.0'
85
+ version: '3.1'
55
86
  type: :development
56
87
  prerelease: false
57
- version_requirements: *70149467250460
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: '3.1'
58
94
  description: ErpInvoicing adds models and services to the CompassAE core to handle
59
95
  invoicing and billing functions. It includes extensions to the core ERP classes
60
96
  for accounts and things that are 'billable' (products, work efforts), and additional
@@ -116,11 +152,6 @@ files:
116
152
  - db/data_migrations/20120229174322_add_billpay_widget.rb
117
153
  - db/data_migrations/20120605154637_add_calculate_balance_strategy_types.rb
118
154
  - db/migrate/20111121000000_invoicing_services.rb
119
- - db/migrate/20120228184317_add_text_to_pay_to_recurring_payments.rb
120
- - db/migrate/20120301155722_add_billing_date_to_billing_account.rb
121
- - db/migrate/20120605144227_create_calcuate_balance_strategy_type.rb
122
- - db/migrate/20120605144900_add_calculate_balance_strategy_to_billing_account.rb
123
- - db/migrate/20120605150425_add_balance_to_invoice.rb
124
155
  - lib/erp_invoicing/engine.rb
125
156
  - lib/erp_invoicing/version.rb
126
157
  - lib/erp_invoicing.rb
@@ -147,6 +178,79 @@ files:
147
178
  - spec/dummy/config/locales/en.yml
148
179
  - spec/dummy/config/routes.rb
149
180
  - spec/dummy/config.ru
181
+ - spec/dummy/db/data_migrations/20101011152441_payment_gateway_actions.erp_commerce.rb
182
+ - spec/dummy/db/data_migrations/20101014142230_financial_txn_types.erp_txns_and_accts.rb
183
+ - spec/dummy/db/data_migrations/20110109173616_create_capability_scope_types.erp_tech_svcs.rb
184
+ - spec/dummy/db/data_migrations/20110324010232_product_role_types.erp_products.rb
185
+ - spec/dummy/db/data_migrations/20110509223702_add_publisher_role.knitkit.rb
186
+ - spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
187
+ - spec/dummy/db/data_migrations/20110527160807_add_default_prod_avail_types.erp_products.rb
188
+ - spec/dummy/db/data_migrations/20110605231556_create_order_party_roles.erp_orders.rb
189
+ - spec/dummy/db/data_migrations/20110608185830_create_default_dynamic_models_and_forms.erp_forms.rb
190
+ - spec/dummy/db/data_migrations/20110609150135_add_iso_codes.erp_base_erp_svcs.rb
191
+ - spec/dummy/db/data_migrations/20110728201729_erp_app_setup.erp_app.rb
192
+ - spec/dummy/db/data_migrations/20110728201730_create_desktop_app_product_manager.erp_products.rb
193
+ - spec/dummy/db/data_migrations/20110728201731_create_desktop_app_order_manager.erp_orders.rb
194
+ - spec/dummy/db/data_migrations/20110728201732_create_organizer_app_order_management.erp_orders.rb
195
+ - spec/dummy/db/data_migrations/20110728201733_update_preferences.erp_app.rb
196
+ - spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
197
+ - spec/dummy/db/data_migrations/20110816153456_add_knitkit_application.knitkit.rb
198
+ - spec/dummy/db/data_migrations/20110816161238_create_desktop_app_audit_log_viewer.erp_app.rb
199
+ - spec/dummy/db/data_migrations/20110817160743_add_file_manager_application.erp_app.rb
200
+ - spec/dummy/db/data_migrations/20110828190913_create_desktop_app_dynamic_forms.erp_forms.rb
201
+ - spec/dummy/db/data_migrations/20110913145838_setup_compass_ae_instance.erp_base_erp_svcs.rb
202
+ - spec/dummy/db/data_migrations/20111108183739_add_default_capabilities.erp_app.rb
203
+ - spec/dummy/db/data_migrations/20111108183740_add_new_contact_widgets.erp_app.rb
204
+ - spec/dummy/db/data_migrations/20111111144706_setup_audit_log_types.erp_tech_svcs.rb
205
+ - spec/dummy/db/data_migrations/20111118182910_setup_knitkit_capabilities.knitkit.rb
206
+ - spec/dummy/db/data_migrations/20111121153349_create_bill_pay_organizer_application.erp_invoicing.rb
207
+ - spec/dummy/db/data_migrations/20120109173616_create_download_capability_type.erp_tech_svcs.rb
208
+ - spec/dummy/db/data_migrations/20120118181839_create_invoice_management_desktop_application.erp_invoicing.rb
209
+ - spec/dummy/db/data_migrations/20120127144444_create_website_role_types.knitkit.rb
210
+ - spec/dummy/db/data_migrations/20120127150505_create_website_default_configuration.knitkit.rb
211
+ - spec/dummy/db/data_migrations/20120127150506_add_primary_host_to_website_configuration.knitkit.rb
212
+ - spec/dummy/db/data_migrations/20120229160222_add_userinfo_widget.erp_app.rb
213
+ - spec/dummy/db/data_migrations/20120229174322_add_billpay_widget.erp_invoicing.rb
214
+ - spec/dummy/db/data_migrations/20120229174343_add_orders_widget.erp_orders.rb
215
+ - spec/dummy/db/data_migrations/20120316150424_add_is_template_to_default_website_config.knitkit.rb
216
+ - spec/dummy/db/data_migrations/20120405193721_create_party_and_role_type_for_communication_events.erp_app.rb
217
+ - spec/dummy/db/data_migrations/20120411180756_create_user_management_mobile_application.erp_app.rb
218
+ - spec/dummy/db/data_migrations/20120418164215_create_configuration_management_desktop_application.erp_app.rb
219
+ - spec/dummy/db/data_migrations/20120605154637_add_calculate_balance_strategy_types.erp_invoicing.rb
220
+ - spec/dummy/db/data_migrations/20120809020508_update_website_and_configuration.knitkit.rb
221
+ - spec/dummy/db/data_migrations/20120824013449_create_ticket_form.erp_forms.rb
222
+ - spec/dummy/db/data_migrations/20121026013449_update_ticket_form.erp_forms.rb
223
+ - spec/dummy/db/data_migrations/20121026191738_update_contact_form.erp_forms.rb
224
+ - spec/dummy/db/data_migrations/20121116155018_create_group_relationship_and_role_types.erp_tech_svcs.rb
225
+ - spec/dummy/db/data_migrations/20121129185611_upgrade_website_role_iid.knitkit.rb
226
+ - spec/dummy/db/data_migrations/20121130201859_upgrade_remove_system_mgmt_app.erp_app.rb
227
+ - spec/dummy/db/data_migrations/20121130212146_note_capabilities.erp_tech_svcs.rb
228
+ - spec/dummy/db/data_migrations/20121218175028_create_security_management_desktop_application.erp_app.rb
229
+ - spec/dummy/db/migrate/20121214000230_base_erp_services.erp_base_erp_svcs.rb
230
+ - spec/dummy/db/migrate/20121214000231_base_tech_services.erp_tech_svcs.rb
231
+ - spec/dummy/db/migrate/20121214000232_create_has_attribute_tables.erp_tech_svcs.rb
232
+ - spec/dummy/db/migrate/20121214000233_base_app_framework.erp_app.rb
233
+ - spec/dummy/db/migrate/20121214000234_dynamic_forms.erp_forms.rb
234
+ - spec/dummy/db/migrate/20121214000235_create_tickets.erp_forms.rb
235
+ - spec/dummy/db/migrate/20121214000236_upgrade_dynamic_forms_table.erp_forms.rb
236
+ - spec/dummy/db/migrate/20121214000237_setup_knitkit.knitkit.rb
237
+ - spec/dummy/db/migrate/20121214000238_invoicing_services.erp_invoicing.rb
238
+ - spec/dummy/db/migrate/20121214000239_base_inventory.erp_inventory.rb
239
+ - spec/dummy/db/migrate/20121214000240_base_inventory_indexes.erp_inventory.rb
240
+ - spec/dummy/db/migrate/20121214000241_base_txns_and_accts.erp_txns_and_accts.rb
241
+ - spec/dummy/db/migrate/20121214000242_agreements_services.erp_agreements.rb
242
+ - spec/dummy/db/migrate/20121214000243_agreements_services_indexes.erp_agreements.rb
243
+ - spec/dummy/db/migrate/20121214000244_base_orders.erp_orders.rb
244
+ - spec/dummy/db/migrate/20121214000245_base_products.erp_products.rb
245
+ - spec/dummy/db/migrate/20121214000246_base_products_indexes.erp_products.rb
246
+ - spec/dummy/db/migrate/20121214000247_erp_commerce_base.erp_commerce.rb
247
+ - spec/dummy/db/migrate/20121214000248_base_work_efforts.erp_work_effort.rb
248
+ - spec/dummy/db/migrate/20130107181155_create_groups.erp_tech_svcs.rb
249
+ - spec/dummy/db/migrate/20130107181156_upgrade_security.erp_tech_svcs.rb
250
+ - spec/dummy/db/migrate/20130107181157_upgrade_security2.erp_tech_svcs.rb
251
+ - spec/dummy/db/schema.rb
252
+ - spec/dummy/db/spec.sqlite3
253
+ - spec/dummy/log/spec.log
150
254
  - spec/dummy/public/404.html
151
255
  - spec/dummy/public/422.html
152
256
  - spec/dummy/public/500.html
@@ -171,15 +275,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
171
275
  - - ! '>='
172
276
  - !ruby/object:Gem::Version
173
277
  version: '0'
278
+ segments:
279
+ - 0
280
+ hash: 295831078268186584
174
281
  required_rubygems_version: !ruby/object:Gem::Requirement
175
282
  none: false
176
283
  requirements:
177
284
  - - ! '>='
178
285
  - !ruby/object:Gem::Version
179
286
  version: '0'
287
+ segments:
288
+ - 0
289
+ hash: 295831078268186584
180
290
  requirements: []
181
291
  rubyforge_project:
182
- rubygems_version: 1.8.11
292
+ rubygems_version: 1.8.24
183
293
  signing_key:
184
294
  specification_version: 3
185
295
  summary: ErpInvoicing adds models and services to the CompassAE core to handle invoicing
@@ -204,6 +314,79 @@ test_files:
204
314
  - spec/dummy/config/locales/en.yml
205
315
  - spec/dummy/config/routes.rb
206
316
  - spec/dummy/config.ru
317
+ - spec/dummy/db/data_migrations/20101011152441_payment_gateway_actions.erp_commerce.rb
318
+ - spec/dummy/db/data_migrations/20101014142230_financial_txn_types.erp_txns_and_accts.rb
319
+ - spec/dummy/db/data_migrations/20110109173616_create_capability_scope_types.erp_tech_svcs.rb
320
+ - spec/dummy/db/data_migrations/20110324010232_product_role_types.erp_products.rb
321
+ - spec/dummy/db/data_migrations/20110509223702_add_publisher_role.knitkit.rb
322
+ - spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
323
+ - spec/dummy/db/data_migrations/20110527160807_add_default_prod_avail_types.erp_products.rb
324
+ - spec/dummy/db/data_migrations/20110605231556_create_order_party_roles.erp_orders.rb
325
+ - spec/dummy/db/data_migrations/20110608185830_create_default_dynamic_models_and_forms.erp_forms.rb
326
+ - spec/dummy/db/data_migrations/20110609150135_add_iso_codes.erp_base_erp_svcs.rb
327
+ - spec/dummy/db/data_migrations/20110728201729_erp_app_setup.erp_app.rb
328
+ - spec/dummy/db/data_migrations/20110728201730_create_desktop_app_product_manager.erp_products.rb
329
+ - spec/dummy/db/data_migrations/20110728201731_create_desktop_app_order_manager.erp_orders.rb
330
+ - spec/dummy/db/data_migrations/20110728201732_create_organizer_app_order_management.erp_orders.rb
331
+ - spec/dummy/db/data_migrations/20110728201733_update_preferences.erp_app.rb
332
+ - spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
333
+ - spec/dummy/db/data_migrations/20110816153456_add_knitkit_application.knitkit.rb
334
+ - spec/dummy/db/data_migrations/20110816161238_create_desktop_app_audit_log_viewer.erp_app.rb
335
+ - spec/dummy/db/data_migrations/20110817160743_add_file_manager_application.erp_app.rb
336
+ - spec/dummy/db/data_migrations/20110828190913_create_desktop_app_dynamic_forms.erp_forms.rb
337
+ - spec/dummy/db/data_migrations/20110913145838_setup_compass_ae_instance.erp_base_erp_svcs.rb
338
+ - spec/dummy/db/data_migrations/20111108183739_add_default_capabilities.erp_app.rb
339
+ - spec/dummy/db/data_migrations/20111108183740_add_new_contact_widgets.erp_app.rb
340
+ - spec/dummy/db/data_migrations/20111111144706_setup_audit_log_types.erp_tech_svcs.rb
341
+ - spec/dummy/db/data_migrations/20111118182910_setup_knitkit_capabilities.knitkit.rb
342
+ - spec/dummy/db/data_migrations/20111121153349_create_bill_pay_organizer_application.erp_invoicing.rb
343
+ - spec/dummy/db/data_migrations/20120109173616_create_download_capability_type.erp_tech_svcs.rb
344
+ - spec/dummy/db/data_migrations/20120118181839_create_invoice_management_desktop_application.erp_invoicing.rb
345
+ - spec/dummy/db/data_migrations/20120127144444_create_website_role_types.knitkit.rb
346
+ - spec/dummy/db/data_migrations/20120127150505_create_website_default_configuration.knitkit.rb
347
+ - spec/dummy/db/data_migrations/20120127150506_add_primary_host_to_website_configuration.knitkit.rb
348
+ - spec/dummy/db/data_migrations/20120229160222_add_userinfo_widget.erp_app.rb
349
+ - spec/dummy/db/data_migrations/20120229174322_add_billpay_widget.erp_invoicing.rb
350
+ - spec/dummy/db/data_migrations/20120229174343_add_orders_widget.erp_orders.rb
351
+ - spec/dummy/db/data_migrations/20120316150424_add_is_template_to_default_website_config.knitkit.rb
352
+ - spec/dummy/db/data_migrations/20120405193721_create_party_and_role_type_for_communication_events.erp_app.rb
353
+ - spec/dummy/db/data_migrations/20120411180756_create_user_management_mobile_application.erp_app.rb
354
+ - spec/dummy/db/data_migrations/20120418164215_create_configuration_management_desktop_application.erp_app.rb
355
+ - spec/dummy/db/data_migrations/20120605154637_add_calculate_balance_strategy_types.erp_invoicing.rb
356
+ - spec/dummy/db/data_migrations/20120809020508_update_website_and_configuration.knitkit.rb
357
+ - spec/dummy/db/data_migrations/20120824013449_create_ticket_form.erp_forms.rb
358
+ - spec/dummy/db/data_migrations/20121026013449_update_ticket_form.erp_forms.rb
359
+ - spec/dummy/db/data_migrations/20121026191738_update_contact_form.erp_forms.rb
360
+ - spec/dummy/db/data_migrations/20121116155018_create_group_relationship_and_role_types.erp_tech_svcs.rb
361
+ - spec/dummy/db/data_migrations/20121129185611_upgrade_website_role_iid.knitkit.rb
362
+ - spec/dummy/db/data_migrations/20121130201859_upgrade_remove_system_mgmt_app.erp_app.rb
363
+ - spec/dummy/db/data_migrations/20121130212146_note_capabilities.erp_tech_svcs.rb
364
+ - spec/dummy/db/data_migrations/20121218175028_create_security_management_desktop_application.erp_app.rb
365
+ - spec/dummy/db/migrate/20121214000230_base_erp_services.erp_base_erp_svcs.rb
366
+ - spec/dummy/db/migrate/20121214000231_base_tech_services.erp_tech_svcs.rb
367
+ - spec/dummy/db/migrate/20121214000232_create_has_attribute_tables.erp_tech_svcs.rb
368
+ - spec/dummy/db/migrate/20121214000233_base_app_framework.erp_app.rb
369
+ - spec/dummy/db/migrate/20121214000234_dynamic_forms.erp_forms.rb
370
+ - spec/dummy/db/migrate/20121214000235_create_tickets.erp_forms.rb
371
+ - spec/dummy/db/migrate/20121214000236_upgrade_dynamic_forms_table.erp_forms.rb
372
+ - spec/dummy/db/migrate/20121214000237_setup_knitkit.knitkit.rb
373
+ - spec/dummy/db/migrate/20121214000238_invoicing_services.erp_invoicing.rb
374
+ - spec/dummy/db/migrate/20121214000239_base_inventory.erp_inventory.rb
375
+ - spec/dummy/db/migrate/20121214000240_base_inventory_indexes.erp_inventory.rb
376
+ - spec/dummy/db/migrate/20121214000241_base_txns_and_accts.erp_txns_and_accts.rb
377
+ - spec/dummy/db/migrate/20121214000242_agreements_services.erp_agreements.rb
378
+ - spec/dummy/db/migrate/20121214000243_agreements_services_indexes.erp_agreements.rb
379
+ - spec/dummy/db/migrate/20121214000244_base_orders.erp_orders.rb
380
+ - spec/dummy/db/migrate/20121214000245_base_products.erp_products.rb
381
+ - spec/dummy/db/migrate/20121214000246_base_products_indexes.erp_products.rb
382
+ - spec/dummy/db/migrate/20121214000247_erp_commerce_base.erp_commerce.rb
383
+ - spec/dummy/db/migrate/20121214000248_base_work_efforts.erp_work_effort.rb
384
+ - spec/dummy/db/migrate/20130107181155_create_groups.erp_tech_svcs.rb
385
+ - spec/dummy/db/migrate/20130107181156_upgrade_security.erp_tech_svcs.rb
386
+ - spec/dummy/db/migrate/20130107181157_upgrade_security2.erp_tech_svcs.rb
387
+ - spec/dummy/db/schema.rb
388
+ - spec/dummy/db/spec.sqlite3
389
+ - spec/dummy/log/spec.log
207
390
  - spec/dummy/public/404.html
208
391
  - spec/dummy/public/422.html
209
392
  - spec/dummy/public/500.html
@@ -1,13 +0,0 @@
1
- class AddTextToPayToRecurringPayments < ActiveRecord::Migration
2
- def up
3
- unless columns(:recurring_payments).collect {|c| c.name}.include?('text_to_pay')
4
- add_column :recurring_payments, :text_to_pay, :boolean
5
- end
6
- end
7
-
8
- def down
9
- if columns(:recurring_payments).collect {|c| c.name}.include?('text_to_pay')
10
- remove_column :recurring_payments, :text_to_pay
11
- end
12
- end
13
- end
@@ -1,13 +0,0 @@
1
- class AddBillingDateToBillingAccount < ActiveRecord::Migration
2
- def up
3
- unless columns(:billing_accounts).collect {|c| c.name}.include?('billing_date')
4
- add_column :billing_accounts, :billing_date, :date
5
- end
6
- end
7
-
8
- def down
9
- if columns(:billing_accounts).collect {|c| c.name}.include?('billing_date')
10
- remove_column :billing_accounts, :billing_date
11
- end
12
- end
13
- end
@@ -1,18 +0,0 @@
1
- class CreateCalcuateBalanceStrategyType < ActiveRecord::Migration
2
- def up
3
- unless table_exists?(:calculate_balance_strategy_types)
4
- create_table :calculate_balance_strategy_types do |t|
5
- t.string :internal_identifier
6
- t.string :description
7
-
8
- t.timestamps
9
- end
10
- end
11
- end
12
-
13
- def down
14
- if table_exists?(:calculate_balance_strategy_types)
15
- drop_table calculate_balance_strategy_types
16
- end
17
- end
18
- end