erp_txns_and_accts 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/GPL-3-LICENSE +0 -0
- data/app/models/biz_txn_acct_pty_rtype.rb +4 -0
- data/app/models/biz_txn_acct_root.rb +15 -3
- data/app/models/extensions/money.rb +1 -2
- data/app/models/extensions/party.rb +6 -10
- data/app/models/financial_txn.rb +12 -55
- data/app/models/financial_txn_account.rb +5 -32
- data/db/migrate/20080805000030_base_txns_and_accts.rb +10 -7
- data/db/migrate/upgrade/20120118135738_add_type_column_to_biz_txn_acct_root.rb +7 -0
- data/db/migrate/upgrade/20120118143602_add_apply_date_to_financial_txn.rb +7 -0
- data/db/migrate/upgrade/20120515155000_update_financial_txn_acct_due_date.rb +9 -0
- data/lib/erp_txns_and_accts/engine.rb +7 -1
- data/lib/erp_txns_and_accts/extensions/active_record/acts_as_biz_txn_account.rb +6 -4
- data/lib/erp_txns_and_accts/extensions/active_record/acts_as_biz_txn_event.rb +1 -1
- data/lib/erp_txns_and_accts/extensions/active_record/acts_as_financial_txn_account.rb +9 -4
- data/lib/erp_txns_and_accts/version.rb +7 -1
- data/lib/erp_txns_and_accts.rb +1 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/assets/javascripts/application.js +9 -0
- data/spec/dummy/app/assets/stylesheets/application.css +7 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/config/application.rb +48 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/database.yml +8 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/spec.rb +27 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/inflections.rb +10 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +12 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/routes.rb +3 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +26 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/factories/basic.rb +13 -0
- data/spec/models/base_txn_context_spec.rb +11 -0
- data/spec/models/biz_acct_txn_task_spec.rb +11 -0
- data/spec/models/biz_txn_acct_party_role_spec.rb +11 -0
- data/spec/models/biz_txn_acct_pty_rtype_spec.rb +11 -0
- data/spec/models/biz_txn_acct_rel_type_spec.rb +11 -0
- data/spec/models/biz_txn_acct_relationship_spec.rb +11 -0
- data/spec/models/biz_txn_acct_root_spec.rb +12 -0
- data/spec/models/biz_txn_acct_status_spec.rb +13 -0
- data/spec/models/biz_txn_acct_status_type_spec.rb +13 -0
- data/spec/models/biz_txn_acct_type_spec.rb +13 -0
- data/spec/models/biz_txn_agreement_role_spec.rb +14 -0
- data/spec/models/biz_txn_agreement_role_type_spec.rb +14 -0
- data/spec/models/biz_txn_event_desc_spec.rb +14 -0
- data/spec/models/biz_txn_event_spec.rb +11 -0
- data/spec/models/biz_txn_party_role_spec.rb +11 -0
- data/spec/models/biz_txn_party_role_type_spec.rb +11 -0
- data/spec/models/biz_txn_rel_type_spec.rb +11 -0
- data/spec/models/biz_txn_relationship_spec.rb +11 -0
- data/spec/models/biz_txn_status_spec.rb +11 -0
- data/spec/models/biz_txn_task_spec.rb +11 -0
- data/spec/models/biz_txn_task_type_spec.rb +11 -0
- data/spec/models/biz_txn_type_spec.rb +12 -0
- data/spec/models/financial_txn_account_spec.rb +11 -0
- data/spec/models/financial_txn_spec.rb +11 -0
- data/spec/spec_helper.rb +60 -0
- metadata +151 -46
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: erp_txns_and_accts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,52 +9,52 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-05-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: erp_app
|
16
|
-
requirement: &
|
16
|
+
requirement: &72756080 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - =
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
21
|
+
version: 3.0.1
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *72756080
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: erp_agreements
|
27
|
-
requirement: &
|
27
|
+
requirement: &72780920 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
|
-
- -
|
30
|
+
- - =
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
32
|
+
version: 3.0.1
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *72780920
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: erp_orders
|
38
|
-
requirement: &
|
38
|
+
requirement: &72780040 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
|
-
- -
|
41
|
+
- - =
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version:
|
43
|
+
version: 3.0.1
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *72780040
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: erp_dev_svcs
|
49
|
-
requirement: &
|
49
|
+
requirement: &72779450 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - =
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 3.0.1
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *72779450
|
58
58
|
description: ! 'The Transactions and Accounts Engine implements the root classes for
|
59
59
|
adding business transactions and accounts to parties. The key marker interface classes
|
60
60
|
here are BizTxnEvent, which represents a common interface for all manner of management
|
@@ -67,55 +67,109 @@ executables: []
|
|
67
67
|
extensions: []
|
68
68
|
extra_rdoc_files: []
|
69
69
|
files:
|
70
|
-
- app/assets/javascripts/erp_txns_and_accts/application.js
|
71
70
|
- app/assets/stylesheets/erp_txns_and_accts/application.css
|
72
|
-
- app/
|
73
|
-
- app/
|
74
|
-
- app/models/
|
75
|
-
- app/models/biz_acct_txn_task.rb
|
76
|
-
- app/models/biz_txn_acct_party_role.rb
|
77
|
-
- app/models/biz_txn_acct_pty_rtype.rb
|
78
|
-
- app/models/biz_txn_acct_rel_type.rb
|
79
|
-
- app/models/biz_txn_acct_relationship.rb
|
80
|
-
- app/models/biz_txn_acct_root.rb
|
71
|
+
- app/assets/javascripts/erp_txns_and_accts/application.js
|
72
|
+
- app/views/layouts/erp_txns_and_accts/application.html.erb
|
73
|
+
- app/models/biz_txn_task_type.rb
|
81
74
|
- app/models/biz_txn_acct_status.rb
|
82
75
|
- app/models/biz_txn_acct_status_type.rb
|
76
|
+
- app/models/base_txn_context.rb
|
83
77
|
- app/models/biz_txn_acct_type.rb
|
84
|
-
- app/models/biz_txn_agreement_role.rb
|
85
|
-
- app/models/biz_txn_agreement_role_type.rb
|
86
|
-
- app/models/biz_txn_event.rb
|
87
|
-
- app/models/biz_txn_event_desc.rb
|
88
78
|
- app/models/biz_txn_party_role.rb
|
89
79
|
- app/models/biz_txn_party_role_type.rb
|
90
|
-
- app/models/biz_txn_rel_type.rb
|
91
80
|
- app/models/biz_txn_relationship.rb
|
92
|
-
- app/models/
|
81
|
+
- app/models/financial_txn_account.rb
|
93
82
|
- app/models/biz_txn_task.rb
|
94
|
-
- app/models/
|
83
|
+
- app/models/biz_txn_acct_pty_rtype.rb
|
84
|
+
- app/models/biz_txn_event.rb
|
85
|
+
- app/models/biz_txn_acct_relationship.rb
|
86
|
+
- app/models/biz_txn_rel_type.rb
|
87
|
+
- app/models/biz_txn_agreement_role.rb
|
95
88
|
- app/models/biz_txn_type.rb
|
96
|
-
- app/models/
|
89
|
+
- app/models/biz_txn_acct_party_role.rb
|
90
|
+
- app/models/biz_txn_acct_root.rb
|
91
|
+
- app/models/biz_txn_agreement_role_type.rb
|
92
|
+
- app/models/biz_acct_txn_task.rb
|
93
|
+
- app/models/biz_txn_status.rb
|
94
|
+
- app/models/biz_txn_acct_rel_type.rb
|
97
95
|
- app/models/extensions/charge_line_payment_txn.rb
|
98
|
-
- app/models/extensions/money.rb
|
99
96
|
- app/models/extensions/party.rb
|
97
|
+
- app/models/extensions/money.rb
|
98
|
+
- app/models/extensions/charge_line.rb
|
99
|
+
- app/models/biz_txn_event_desc.rb
|
100
100
|
- app/models/financial_txn.rb
|
101
|
-
- app/
|
102
|
-
- app/
|
101
|
+
- app/helpers/erp_txns_and_accts/application_helper.rb
|
102
|
+
- app/controllers/erp_txns_and_accts/application_controller.rb
|
103
103
|
- config/routes.rb
|
104
|
-
- db/data_migrations/20101014142230_financial_txn_types.rb
|
105
|
-
- db/migrate/20080805000030_base_txns_and_accts.rb
|
106
104
|
- db/migrate/20110609230152_update_financial_txns.rb
|
107
|
-
-
|
105
|
+
- db/migrate/20080805000030_base_txns_and_accts.rb
|
106
|
+
- db/migrate/upgrade/20120515155000_update_financial_txn_acct_due_date.rb
|
107
|
+
- db/migrate/upgrade/20120118143602_add_apply_date_to_financial_txn.rb
|
108
|
+
- db/migrate/upgrade/20120118135738_add_type_column_to_biz_txn_acct_root.rb
|
109
|
+
- db/data_migrations/20101014142230_financial_txn_types.rb
|
110
|
+
- lib/erp_txns_and_accts.rb
|
108
111
|
- lib/erp_txns_and_accts/engine.rb
|
112
|
+
- lib/erp_txns_and_accts/delayed_jobs/payment_gateway_job.rb
|
113
|
+
- lib/erp_txns_and_accts/extensions.rb
|
114
|
+
- lib/erp_txns_and_accts/extensions/active_record/acts_as_financial_txn_account.rb
|
109
115
|
- lib/erp_txns_and_accts/extensions/active_record/acts_as_biz_txn_account.rb
|
110
116
|
- lib/erp_txns_and_accts/extensions/active_record/acts_as_biz_txn_event.rb
|
111
|
-
- lib/erp_txns_and_accts/extensions/active_record/acts_as_financial_txn_account.rb
|
112
|
-
- lib/erp_txns_and_accts/extensions.rb
|
113
117
|
- lib/erp_txns_and_accts/version.rb
|
114
|
-
- lib/erp_txns_and_accts.rb
|
115
118
|
- lib/tasks/erp_txns_and_accts_tasks.rake
|
116
119
|
- GPL-3-LICENSE
|
117
120
|
- Rakefile
|
118
121
|
- README.rdoc
|
122
|
+
- spec/factories/basic.rb
|
123
|
+
- spec/spec_helper.rb
|
124
|
+
- spec/models/biz_txn_acct_type_spec.rb
|
125
|
+
- spec/models/biz_acct_txn_task_spec.rb
|
126
|
+
- spec/models/biz_txn_event_spec.rb
|
127
|
+
- spec/models/biz_txn_acct_status_type_spec.rb
|
128
|
+
- spec/models/biz_txn_party_role_type_spec.rb
|
129
|
+
- spec/models/biz_txn_event_desc_spec.rb
|
130
|
+
- spec/models/biz_txn_rel_type_spec.rb
|
131
|
+
- spec/models/biz_txn_acct_root_spec.rb
|
132
|
+
- spec/models/biz_txn_status_spec.rb
|
133
|
+
- spec/models/biz_txn_acct_pty_rtype_spec.rb
|
134
|
+
- spec/models/biz_txn_party_role_spec.rb
|
135
|
+
- spec/models/financial_txn_account_spec.rb
|
136
|
+
- spec/models/biz_txn_acct_party_role_spec.rb
|
137
|
+
- spec/models/financial_txn_spec.rb
|
138
|
+
- spec/models/base_txn_context_spec.rb
|
139
|
+
- spec/models/biz_txn_task_type_spec.rb
|
140
|
+
- spec/models/biz_txn_acct_status_spec.rb
|
141
|
+
- spec/models/biz_txn_agreement_role_type_spec.rb
|
142
|
+
- spec/models/biz_txn_relationship_spec.rb
|
143
|
+
- spec/models/biz_txn_type_spec.rb
|
144
|
+
- spec/models/biz_txn_task_spec.rb
|
145
|
+
- spec/models/biz_txn_acct_relationship_spec.rb
|
146
|
+
- spec/models/biz_txn_agreement_role_spec.rb
|
147
|
+
- spec/models/biz_txn_acct_rel_type_spec.rb
|
148
|
+
- spec/dummy/public/422.html
|
149
|
+
- spec/dummy/public/404.html
|
150
|
+
- spec/dummy/public/500.html
|
151
|
+
- spec/dummy/public/favicon.ico
|
152
|
+
- spec/dummy/config.ru
|
153
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
154
|
+
- spec/dummy/app/assets/javascripts/application.js
|
155
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
156
|
+
- spec/dummy/app/helpers/application_helper.rb
|
157
|
+
- spec/dummy/app/controllers/application_controller.rb
|
158
|
+
- spec/dummy/config/routes.rb
|
159
|
+
- spec/dummy/config/locales/en.yml
|
160
|
+
- spec/dummy/config/boot.rb
|
161
|
+
- spec/dummy/config/application.rb
|
162
|
+
- spec/dummy/config/environments/spec.rb
|
163
|
+
- spec/dummy/config/initializers/mime_types.rb
|
164
|
+
- spec/dummy/config/initializers/session_store.rb
|
165
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
166
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
167
|
+
- spec/dummy/config/initializers/inflections.rb
|
168
|
+
- spec/dummy/config/initializers/secret_token.rb
|
169
|
+
- spec/dummy/config/environment.rb
|
170
|
+
- spec/dummy/config/database.yml
|
171
|
+
- spec/dummy/Rakefile
|
172
|
+
- spec/dummy/script/rails
|
119
173
|
homepage: http://development.compassagile.com
|
120
174
|
licenses: []
|
121
175
|
post_install_message:
|
@@ -141,4 +195,55 @@ signing_key:
|
|
141
195
|
specification_version: 3
|
142
196
|
summary: The Transactions and Accounts Engine implements the root classes for adding
|
143
197
|
business transactions and accounts to parties.
|
144
|
-
test_files:
|
198
|
+
test_files:
|
199
|
+
- spec/factories/basic.rb
|
200
|
+
- spec/spec_helper.rb
|
201
|
+
- spec/models/biz_txn_acct_type_spec.rb
|
202
|
+
- spec/models/biz_acct_txn_task_spec.rb
|
203
|
+
- spec/models/biz_txn_event_spec.rb
|
204
|
+
- spec/models/biz_txn_acct_status_type_spec.rb
|
205
|
+
- spec/models/biz_txn_party_role_type_spec.rb
|
206
|
+
- spec/models/biz_txn_event_desc_spec.rb
|
207
|
+
- spec/models/biz_txn_rel_type_spec.rb
|
208
|
+
- spec/models/biz_txn_acct_root_spec.rb
|
209
|
+
- spec/models/biz_txn_status_spec.rb
|
210
|
+
- spec/models/biz_txn_acct_pty_rtype_spec.rb
|
211
|
+
- spec/models/biz_txn_party_role_spec.rb
|
212
|
+
- spec/models/financial_txn_account_spec.rb
|
213
|
+
- spec/models/biz_txn_acct_party_role_spec.rb
|
214
|
+
- spec/models/financial_txn_spec.rb
|
215
|
+
- spec/models/base_txn_context_spec.rb
|
216
|
+
- spec/models/biz_txn_task_type_spec.rb
|
217
|
+
- spec/models/biz_txn_acct_status_spec.rb
|
218
|
+
- spec/models/biz_txn_agreement_role_type_spec.rb
|
219
|
+
- spec/models/biz_txn_relationship_spec.rb
|
220
|
+
- spec/models/biz_txn_type_spec.rb
|
221
|
+
- spec/models/biz_txn_task_spec.rb
|
222
|
+
- spec/models/biz_txn_acct_relationship_spec.rb
|
223
|
+
- spec/models/biz_txn_agreement_role_spec.rb
|
224
|
+
- spec/models/biz_txn_acct_rel_type_spec.rb
|
225
|
+
- spec/dummy/public/422.html
|
226
|
+
- spec/dummy/public/404.html
|
227
|
+
- spec/dummy/public/500.html
|
228
|
+
- spec/dummy/public/favicon.ico
|
229
|
+
- spec/dummy/config.ru
|
230
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
231
|
+
- spec/dummy/app/assets/javascripts/application.js
|
232
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
233
|
+
- spec/dummy/app/helpers/application_helper.rb
|
234
|
+
- spec/dummy/app/controllers/application_controller.rb
|
235
|
+
- spec/dummy/config/routes.rb
|
236
|
+
- spec/dummy/config/locales/en.yml
|
237
|
+
- spec/dummy/config/boot.rb
|
238
|
+
- spec/dummy/config/application.rb
|
239
|
+
- spec/dummy/config/environments/spec.rb
|
240
|
+
- spec/dummy/config/initializers/mime_types.rb
|
241
|
+
- spec/dummy/config/initializers/session_store.rb
|
242
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
243
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
244
|
+
- spec/dummy/config/initializers/inflections.rb
|
245
|
+
- spec/dummy/config/initializers/secret_token.rb
|
246
|
+
- spec/dummy/config/environment.rb
|
247
|
+
- spec/dummy/config/database.yml
|
248
|
+
- spec/dummy/Rakefile
|
249
|
+
- spec/dummy/script/rails
|