erp_txns_and_accts 3.0.1 → 3.0.2

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