erp_base_erp_svcs 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +3 -0
- data/app/models/category.rb +2 -1
- data/app/models/compass_ae_instance.rb +4 -4
- data/app/models/contact.rb +1 -1
- data/app/models/geo_country.rb +4 -3
- data/app/models/geo_zone.rb +3 -3
- data/db/migrate/20080805000020_base_erp_services.rb +0 -1
- data/lib/erp_base_erp_svcs/config.rb +4 -2
- data/lib/erp_base_erp_svcs/engine.rb +3 -1
- data/lib/erp_base_erp_svcs/extensions/active_record/to_hash.rb +39 -0
- data/lib/erp_base_erp_svcs/extensions.rb +2 -3
- data/lib/erp_base_erp_svcs/version.rb +7 -1
- data/lib/erp_base_erp_svcs.rb +89 -7
- data/lib/tasks/compass_backup.rake +9 -4
- data/spec/factories/basic.rb +3 -0
- metadata +243 -193
- data/README.rdoc +0 -2
- data/config/initializers/erp_base_erp_svcs.rb +0 -4
- data/lib/erp_base_erp_svcs/command.rb +0 -37
- data/lib/erp_base_erp_svcs/extensions/railties/engine.rb +0 -85
- data/lib/erp_base_erp_svcs/rails_template.rb +0 -93
- data/spec/dummy/db/spec.sqlite3 +0 -0
- data/spec/dummy/log/spec.log +0 -4820
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: erp_base_erp_svcs
|
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,66 +9,77 @@ 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
|
-
name:
|
16
|
-
requirement: &
|
15
|
+
name: railties
|
16
|
+
requirement: &75794520 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.
|
21
|
+
version: 3.1.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *75794520
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
|
-
name:
|
27
|
-
requirement: &
|
26
|
+
name: actionmailer
|
27
|
+
requirement: &75819320 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
|
-
- -
|
30
|
+
- - ~>
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
32
|
+
version: 3.1.0
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *75819320
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
|
-
name:
|
38
|
-
requirement: &
|
37
|
+
name: actionpack
|
38
|
+
requirement: &75818440 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
|
-
- -
|
41
|
+
- - ~>
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version:
|
43
|
+
version: 3.1.0
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *75818440
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
|
-
name:
|
49
|
-
requirement: &
|
48
|
+
name: activerecord
|
49
|
+
requirement: &75817760 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 3.1.0
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *75817760
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
|
-
name:
|
60
|
-
requirement: &
|
59
|
+
name: activeresource
|
60
|
+
requirement: &75817060 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ~>
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: 1.0
|
65
|
+
version: 3.1.0
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *75817060
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: activesupport
|
71
|
+
requirement: &75815840 !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
73
|
+
requirements:
|
74
|
+
- - ~>
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 3.1.0
|
77
|
+
type: :runtime
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: *75815840
|
69
80
|
- !ruby/object:Gem::Dependency
|
70
81
|
name: rails
|
71
|
-
requirement: &
|
82
|
+
requirement: &75815250 !ruby/object:Gem::Requirement
|
72
83
|
none: false
|
73
84
|
requirements:
|
74
85
|
- - ~>
|
@@ -76,10 +87,54 @@ dependencies:
|
|
76
87
|
version: 3.1.0
|
77
88
|
type: :runtime
|
78
89
|
prerelease: false
|
79
|
-
version_requirements: *
|
90
|
+
version_requirements: *75815250
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: attr_encrypted
|
93
|
+
requirement: &75814690 !ruby/object:Gem::Requirement
|
94
|
+
none: false
|
95
|
+
requirements:
|
96
|
+
- - =
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: 1.2.0
|
99
|
+
type: :runtime
|
100
|
+
prerelease: false
|
101
|
+
version_requirements: *75814690
|
102
|
+
- !ruby/object:Gem::Dependency
|
103
|
+
name: awesome_nested_set
|
104
|
+
requirement: &75814210 !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - =
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: 2.0.2
|
110
|
+
type: :runtime
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: *75814210
|
113
|
+
- !ruby/object:Gem::Dependency
|
114
|
+
name: data_migrator
|
115
|
+
requirement: &75845870 !ruby/object:Gem::Requirement
|
116
|
+
none: false
|
117
|
+
requirements:
|
118
|
+
- - =
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: '1.7'
|
121
|
+
type: :runtime
|
122
|
+
prerelease: false
|
123
|
+
version_requirements: *75845870
|
124
|
+
- !ruby/object:Gem::Dependency
|
125
|
+
name: has_many_polymorphic
|
126
|
+
requirement: &75843960 !ruby/object:Gem::Requirement
|
127
|
+
none: false
|
128
|
+
requirements:
|
129
|
+
- - ! '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 2.0.1
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: *75843960
|
80
135
|
- !ruby/object:Gem::Dependency
|
81
136
|
name: uuid
|
82
|
-
requirement: &
|
137
|
+
requirement: &75842170 !ruby/object:Gem::Requirement
|
83
138
|
none: false
|
84
139
|
requirements:
|
85
140
|
- - =
|
@@ -87,10 +142,10 @@ dependencies:
|
|
87
142
|
version: 2.3.4
|
88
143
|
type: :runtime
|
89
144
|
prerelease: false
|
90
|
-
version_requirements: *
|
145
|
+
version_requirements: *75842170
|
91
146
|
- !ruby/object:Gem::Dependency
|
92
147
|
name: database_cleaner
|
93
|
-
requirement: &
|
148
|
+
requirement: &75863550 !ruby/object:Gem::Requirement
|
94
149
|
none: false
|
95
150
|
requirements:
|
96
151
|
- - ! '>='
|
@@ -98,65 +153,65 @@ dependencies:
|
|
98
153
|
version: '0'
|
99
154
|
type: :development
|
100
155
|
prerelease: false
|
101
|
-
version_requirements: *
|
156
|
+
version_requirements: *75863550
|
102
157
|
- !ruby/object:Gem::Dependency
|
103
158
|
name: factory_girl_rails
|
104
|
-
requirement: &
|
159
|
+
requirement: &75861970 !ruby/object:Gem::Requirement
|
105
160
|
none: false
|
106
161
|
requirements:
|
107
|
-
- -
|
162
|
+
- - =
|
108
163
|
- !ruby/object:Gem::Version
|
109
164
|
version: 1.3.0
|
110
165
|
type: :development
|
111
166
|
prerelease: false
|
112
|
-
version_requirements: *
|
167
|
+
version_requirements: *75861970
|
113
168
|
- !ruby/object:Gem::Dependency
|
114
169
|
name: rspec-rails
|
115
|
-
requirement: &
|
170
|
+
requirement: &75858780 !ruby/object:Gem::Requirement
|
116
171
|
none: false
|
117
172
|
requirements:
|
118
|
-
- -
|
173
|
+
- - =
|
119
174
|
- !ruby/object:Gem::Version
|
120
175
|
version: '2.7'
|
121
176
|
type: :development
|
122
177
|
prerelease: false
|
123
|
-
version_requirements: *
|
178
|
+
version_requirements: *75858780
|
124
179
|
- !ruby/object:Gem::Dependency
|
125
180
|
name: simplecov
|
126
|
-
requirement: &
|
181
|
+
requirement: &75857440 !ruby/object:Gem::Requirement
|
127
182
|
none: false
|
128
183
|
requirements:
|
129
|
-
- -
|
184
|
+
- - =
|
130
185
|
- !ruby/object:Gem::Version
|
131
186
|
version: '0.5'
|
132
187
|
type: :development
|
133
188
|
prerelease: false
|
134
|
-
version_requirements: *
|
189
|
+
version_requirements: *75857440
|
135
190
|
- !ruby/object:Gem::Dependency
|
136
191
|
name: spork
|
137
|
-
requirement: &
|
192
|
+
requirement: &75870410 !ruby/object:Gem::Requirement
|
138
193
|
none: false
|
139
194
|
requirements:
|
140
|
-
- -
|
195
|
+
- - =
|
141
196
|
- !ruby/object:Gem::Version
|
142
197
|
version: 0.9.0.rc
|
143
198
|
type: :development
|
144
199
|
prerelease: false
|
145
|
-
version_requirements: *
|
200
|
+
version_requirements: *75870410
|
146
201
|
- !ruby/object:Gem::Dependency
|
147
202
|
name: sqlite3
|
148
|
-
requirement: &
|
203
|
+
requirement: &75866330 !ruby/object:Gem::Requirement
|
149
204
|
none: false
|
150
205
|
requirements:
|
151
|
-
- -
|
206
|
+
- - =
|
152
207
|
- !ruby/object:Gem::Version
|
153
208
|
version: 1.3.4
|
154
209
|
type: :development
|
155
210
|
prerelease: false
|
156
|
-
version_requirements: *
|
211
|
+
version_requirements: *75866330
|
157
212
|
- !ruby/object:Gem::Dependency
|
158
213
|
name: watchr
|
159
|
-
requirement: &
|
214
|
+
requirement: &75888220 !ruby/object:Gem::Requirement
|
160
215
|
none: false
|
161
216
|
requirements:
|
162
217
|
- - ! '>='
|
@@ -164,7 +219,7 @@ dependencies:
|
|
164
219
|
version: '0'
|
165
220
|
type: :development
|
166
221
|
prerelease: false
|
167
|
-
version_requirements: *
|
222
|
+
version_requirements: *75888220
|
168
223
|
description: contains an implementation of the ubiquitous 'party model' for managing
|
169
224
|
people, organizations, roles, relationships and contact information. The models
|
170
225
|
in this library are designed to be useful in a variety of circumstances, including
|
@@ -175,135 +230,131 @@ executables: []
|
|
175
230
|
extensions: []
|
176
231
|
extra_rdoc_files: []
|
177
232
|
files:
|
178
|
-
- app/assets/javascripts/erp_base_erp_svcs/application.js
|
179
233
|
- app/assets/stylesheets/erp_base_erp_svcs/application.css
|
180
|
-
- app/
|
181
|
-
- app/
|
234
|
+
- app/assets/javascripts/erp_base_erp_svcs/application.js
|
235
|
+
- app/views/layouts/erp_base_erp_svcs/application.html.erb
|
236
|
+
- app/models/party_relationship.rb
|
237
|
+
- app/models/postal_address.rb
|
238
|
+
- app/models/descriptive_asset.rb
|
239
|
+
- app/models/individual.rb
|
240
|
+
- app/models/contact.rb
|
241
|
+
- app/models/organization.rb
|
182
242
|
- app/models/category.rb
|
243
|
+
- app/models/currency.rb
|
244
|
+
- app/models/role_type.rb
|
245
|
+
- app/models/geo_zone.rb
|
246
|
+
- app/models/party.rb
|
247
|
+
- app/models/valid_note_type.rb
|
248
|
+
- app/models/view_type.rb
|
249
|
+
- app/models/note_type.rb
|
183
250
|
- app/models/category_classification.rb
|
184
|
-
- app/models/compass_ae_instance.rb
|
185
|
-
- app/models/contact.rb
|
186
251
|
- app/models/contact_purpose.rb
|
187
|
-
- app/models/contact_type.rb
|
188
|
-
- app/models/currency.rb
|
189
|
-
- app/models/descriptive_asset.rb
|
190
|
-
- app/models/email_address.rb
|
191
252
|
- app/models/geo_country.rb
|
192
|
-
- app/models/geo_zone.rb
|
193
|
-
- app/models/individual.rb
|
194
|
-
- app/models/iso_country_code.rb
|
195
253
|
- app/models/money.rb
|
196
|
-
- app/models/
|
197
|
-
- app/models/
|
198
|
-
- app/models/
|
199
|
-
- app/models/party.rb
|
200
|
-
- app/models/party_relationship.rb
|
201
|
-
- app/models/party_role.rb
|
254
|
+
- app/models/email_address.rb
|
255
|
+
- app/models/iso_country_code.rb
|
256
|
+
- app/models/contact_type.rb
|
202
257
|
- app/models/phone_number.rb
|
203
|
-
- app/models/postal_address.rb
|
204
258
|
- app/models/relationship_type.rb
|
205
|
-
- app/models/
|
206
|
-
- app/models/
|
207
|
-
- app/models/
|
208
|
-
- app/
|
209
|
-
-
|
259
|
+
- app/models/party_role.rb
|
260
|
+
- app/models/compass_ae_instance.rb
|
261
|
+
- app/models/note.rb
|
262
|
+
- app/helpers/erp_base_erp_svcs/application_helper.rb
|
263
|
+
- app/controllers/erp_base_erp_svcs/application_controller.rb
|
210
264
|
- config/routes.rb
|
211
|
-
- db/data_migrations/20110525001935_add_usd_currency.rb
|
212
|
-
- db/data_migrations/20110609150135_add_iso_codes.rb
|
213
|
-
- db/data_migrations/20110913145838_setup_compass_ae_instance.rb
|
214
|
-
- db/data_sets/geo_countries.yml
|
215
|
-
- db/data_sets/geo_zones.yml
|
216
265
|
- db/migrate/20080805000020_base_erp_services.rb
|
217
266
|
- db/migrate/20110913145329_create_compass_ae_instance.rb
|
218
267
|
- db/migrate/upgrade/20110907171257_add_notes.rb
|
268
|
+
- db/data_migrations/20110913145838_setup_compass_ae_instance.rb
|
269
|
+
- db/data_migrations/20110609150135_add_iso_codes.rb
|
270
|
+
- db/data_migrations/20110525001935_add_usd_currency.rb
|
271
|
+
- db/data_sets/geo_countries.yml
|
272
|
+
- db/data_sets/geo_zones.yml
|
219
273
|
- lib/erp_base_erp_svcs/ar_fixtures.rb
|
220
|
-
- lib/erp_base_erp_svcs/command.rb
|
221
|
-
- lib/erp_base_erp_svcs/config.rb
|
222
274
|
- lib/erp_base_erp_svcs/engine.rb
|
223
|
-
- lib/erp_base_erp_svcs/
|
275
|
+
- lib/erp_base_erp_svcs/config.rb
|
276
|
+
- lib/erp_base_erp_svcs/non_escape_json_string.rb
|
277
|
+
- lib/erp_base_erp_svcs/extensions.rb
|
278
|
+
- lib/erp_base_erp_svcs/extensions/core/hash.rb
|
279
|
+
- lib/erp_base_erp_svcs/extensions/core/numbers.rb
|
280
|
+
- lib/erp_base_erp_svcs/extensions/core/object.rb
|
281
|
+
- lib/erp_base_erp_svcs/extensions/core/array.rb
|
282
|
+
- lib/erp_base_erp_svcs/extensions/active_record/sti_instantiation.rb
|
224
283
|
- lib/erp_base_erp_svcs/extensions/active_record/acts_as_erp_type.rb
|
225
|
-
- lib/erp_base_erp_svcs/extensions/active_record/
|
226
|
-
- lib/erp_base_erp_svcs/extensions/active_record/data_migrator.rb
|
284
|
+
- lib/erp_base_erp_svcs/extensions/active_record/to_hash.rb
|
227
285
|
- lib/erp_base_erp_svcs/extensions/active_record/has_contact.rb
|
228
|
-
- lib/erp_base_erp_svcs/extensions/active_record/has_notes.rb
|
229
286
|
- lib/erp_base_erp_svcs/extensions/active_record/is_describable.rb
|
230
287
|
- lib/erp_base_erp_svcs/extensions/active_record/migrator.rb
|
231
|
-
- lib/erp_base_erp_svcs/extensions/active_record/
|
232
|
-
- lib/erp_base_erp_svcs/extensions/
|
233
|
-
- lib/erp_base_erp_svcs/extensions/
|
234
|
-
- lib/erp_base_erp_svcs/extensions/
|
235
|
-
- lib/erp_base_erp_svcs/extensions/core/object.rb
|
236
|
-
- lib/erp_base_erp_svcs/extensions/railties/engine.rb
|
237
|
-
- lib/erp_base_erp_svcs/extensions.rb
|
238
|
-
- lib/erp_base_erp_svcs/non_escape_json_string.rb
|
239
|
-
- lib/erp_base_erp_svcs/rails_template.rb
|
288
|
+
- lib/erp_base_erp_svcs/extensions/active_record/acts_as_note_type.rb
|
289
|
+
- lib/erp_base_erp_svcs/extensions/active_record/has_notes.rb
|
290
|
+
- lib/erp_base_erp_svcs/extensions/active_record/data_migrator.rb
|
291
|
+
- lib/erp_base_erp_svcs/extensions/active_record/acts_as_category.rb
|
240
292
|
- lib/erp_base_erp_svcs/version.rb
|
241
293
|
- lib/erp_base_erp_svcs.rb
|
242
|
-
- lib/tasks/compass_backup.rake
|
243
294
|
- lib/tasks/erp_base_erp_svcs_tasks.rake
|
295
|
+
- lib/tasks/compass_backup.rake
|
244
296
|
- lib/tasks/release_notes/NOTES
|
245
297
|
- GPL-3-LICENSE
|
246
298
|
- Rakefile
|
247
|
-
- README.
|
248
|
-
- spec/dummy/app/assets/javascripts/application.js
|
249
|
-
- spec/dummy/app/assets/stylesheets/application.css
|
250
|
-
- spec/dummy/app/controllers/application_controller.rb
|
251
|
-
- spec/dummy/app/helpers/application_helper.rb
|
252
|
-
- spec/dummy/app/views/layouts/application.html.erb
|
253
|
-
- spec/dummy/config/application.rb
|
254
|
-
- spec/dummy/config/boot.rb
|
255
|
-
- spec/dummy/config/database.yml
|
256
|
-
- spec/dummy/config/environment.rb
|
257
|
-
- spec/dummy/config/environments/spec.rb
|
258
|
-
- spec/dummy/config/initializers/backtrace_silencers.rb
|
259
|
-
- spec/dummy/config/initializers/inflections.rb
|
260
|
-
- spec/dummy/config/initializers/mime_types.rb
|
261
|
-
- spec/dummy/config/initializers/secret_token.rb
|
262
|
-
- spec/dummy/config/initializers/session_store.rb
|
263
|
-
- spec/dummy/config/initializers/wrap_parameters.rb
|
264
|
-
- spec/dummy/config/locales/en.yml
|
265
|
-
- spec/dummy/config/routes.rb
|
266
|
-
- spec/dummy/config.ru
|
267
|
-
- spec/dummy/db/spec.sqlite3
|
268
|
-
- spec/dummy/log/spec.log
|
269
|
-
- spec/dummy/public/404.html
|
270
|
-
- spec/dummy/public/422.html
|
271
|
-
- spec/dummy/public/500.html
|
272
|
-
- spec/dummy/public/favicon.ico
|
273
|
-
- spec/dummy/Rakefile
|
274
|
-
- spec/dummy/script/rails
|
275
|
-
- spec/factories/business_party.rb
|
276
|
-
- spec/factories/contact_purpose.rb
|
277
|
-
- spec/factories/party.rb
|
299
|
+
- README.md
|
278
300
|
- spec/factories/party_relationship.rb
|
279
|
-
- spec/factories/
|
301
|
+
- spec/factories/basic.rb
|
302
|
+
- spec/factories/role_type.rb
|
303
|
+
- spec/factories/party.rb
|
304
|
+
- spec/factories/contact_purpose.rb
|
280
305
|
- spec/factories/phone_number.rb
|
281
306
|
- spec/factories/relationship_type.rb
|
282
|
-
- spec/factories/
|
283
|
-
- spec/
|
307
|
+
- spec/factories/party_role.rb
|
308
|
+
- spec/factories/business_party.rb
|
309
|
+
- spec/spec_helper.rb
|
310
|
+
- spec/models/contact_type_spec.rb
|
311
|
+
- spec/models/organization_spec.rb
|
312
|
+
- spec/models/view_type_spec.rb
|
313
|
+
- spec/models/note_spec.rb
|
314
|
+
- spec/models/postal_address_spec.rb
|
284
315
|
- spec/models/category_spec.rb
|
316
|
+
- spec/models/email_address_spec.rb
|
285
317
|
- spec/models/contact_purpose_spec.rb
|
286
|
-
- spec/models/
|
287
|
-
- spec/models/contact_type_spec.rb
|
318
|
+
- spec/models/party_relationship_spec.rb
|
288
319
|
- spec/models/currency_spec.rb
|
289
|
-
- spec/models/
|
290
|
-
- spec/models/
|
291
|
-
- spec/models/
|
320
|
+
- spec/models/relationship_type_spec.rb
|
321
|
+
- spec/models/phone_number_spec.rb
|
322
|
+
- spec/models/contact_spec.rb
|
292
323
|
- spec/models/geo_zone_spec.rb
|
324
|
+
- spec/models/descriptive_asset_spec.rb
|
293
325
|
- spec/models/individual_spec.rb
|
294
326
|
- spec/models/money_spec.rb
|
295
|
-
- spec/models/note_spec.rb
|
296
|
-
- spec/models/note_type_spec.rb
|
297
|
-
- spec/models/organization_spec.rb
|
298
|
-
- spec/models/party_relationship_spec.rb
|
299
|
-
- spec/models/party_role_spec.rb
|
300
|
-
- spec/models/party_spec.rb
|
301
|
-
- spec/models/phone_number_spec.rb
|
302
|
-
- spec/models/postal_address_spec.rb
|
303
|
-
- spec/models/relationship_type_spec.rb
|
304
327
|
- spec/models/role_type_spec.rb
|
305
|
-
- spec/models/
|
306
|
-
- spec/
|
328
|
+
- spec/models/category_classification_spec.rb
|
329
|
+
- spec/models/party_spec.rb
|
330
|
+
- spec/models/geo_country_spec.rb
|
331
|
+
- spec/models/party_role_spec.rb
|
332
|
+
- spec/models/note_type_spec.rb
|
333
|
+
- spec/dummy/public/422.html
|
334
|
+
- spec/dummy/public/404.html
|
335
|
+
- spec/dummy/public/500.html
|
336
|
+
- spec/dummy/public/favicon.ico
|
337
|
+
- spec/dummy/config.ru
|
338
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
339
|
+
- spec/dummy/app/assets/javascripts/application.js
|
340
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
341
|
+
- spec/dummy/app/helpers/application_helper.rb
|
342
|
+
- spec/dummy/app/controllers/application_controller.rb
|
343
|
+
- spec/dummy/config/routes.rb
|
344
|
+
- spec/dummy/config/locales/en.yml
|
345
|
+
- spec/dummy/config/boot.rb
|
346
|
+
- spec/dummy/config/application.rb
|
347
|
+
- spec/dummy/config/environments/spec.rb
|
348
|
+
- spec/dummy/config/initializers/mime_types.rb
|
349
|
+
- spec/dummy/config/initializers/session_store.rb
|
350
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
351
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
352
|
+
- spec/dummy/config/initializers/inflections.rb
|
353
|
+
- spec/dummy/config/initializers/secret_token.rb
|
354
|
+
- spec/dummy/config/environment.rb
|
355
|
+
- spec/dummy/config/database.yml
|
356
|
+
- spec/dummy/Rakefile
|
357
|
+
- spec/dummy/script/rails
|
307
358
|
homepage: http://development.compassagile.com
|
308
359
|
licenses: []
|
309
360
|
post_install_message:
|
@@ -330,62 +381,61 @@ specification_version: 3
|
|
330
381
|
summary: contains an implementation of the ubiquitous 'party model' for managing people,
|
331
382
|
organizations, roles, relationships and contact information.
|
332
383
|
test_files:
|
333
|
-
- spec/dummy/app/assets/javascripts/application.js
|
334
|
-
- spec/dummy/app/assets/stylesheets/application.css
|
335
|
-
- spec/dummy/app/controllers/application_controller.rb
|
336
|
-
- spec/dummy/app/helpers/application_helper.rb
|
337
|
-
- spec/dummy/app/views/layouts/application.html.erb
|
338
|
-
- spec/dummy/config/application.rb
|
339
|
-
- spec/dummy/config/boot.rb
|
340
|
-
- spec/dummy/config/database.yml
|
341
|
-
- spec/dummy/config/environment.rb
|
342
|
-
- spec/dummy/config/environments/spec.rb
|
343
|
-
- spec/dummy/config/initializers/backtrace_silencers.rb
|
344
|
-
- spec/dummy/config/initializers/inflections.rb
|
345
|
-
- spec/dummy/config/initializers/mime_types.rb
|
346
|
-
- spec/dummy/config/initializers/secret_token.rb
|
347
|
-
- spec/dummy/config/initializers/session_store.rb
|
348
|
-
- spec/dummy/config/initializers/wrap_parameters.rb
|
349
|
-
- spec/dummy/config/locales/en.yml
|
350
|
-
- spec/dummy/config/routes.rb
|
351
|
-
- spec/dummy/config.ru
|
352
|
-
- spec/dummy/db/spec.sqlite3
|
353
|
-
- spec/dummy/log/spec.log
|
354
|
-
- spec/dummy/public/404.html
|
355
|
-
- spec/dummy/public/422.html
|
356
|
-
- spec/dummy/public/500.html
|
357
|
-
- spec/dummy/public/favicon.ico
|
358
|
-
- spec/dummy/Rakefile
|
359
|
-
- spec/dummy/script/rails
|
360
|
-
- spec/factories/business_party.rb
|
361
|
-
- spec/factories/contact_purpose.rb
|
362
|
-
- spec/factories/party.rb
|
363
384
|
- spec/factories/party_relationship.rb
|
364
|
-
- spec/factories/
|
385
|
+
- spec/factories/basic.rb
|
386
|
+
- spec/factories/role_type.rb
|
387
|
+
- spec/factories/party.rb
|
388
|
+
- spec/factories/contact_purpose.rb
|
365
389
|
- spec/factories/phone_number.rb
|
366
390
|
- spec/factories/relationship_type.rb
|
367
|
-
- spec/factories/
|
368
|
-
- spec/
|
391
|
+
- spec/factories/party_role.rb
|
392
|
+
- spec/factories/business_party.rb
|
393
|
+
- spec/spec_helper.rb
|
394
|
+
- spec/models/contact_type_spec.rb
|
395
|
+
- spec/models/organization_spec.rb
|
396
|
+
- spec/models/view_type_spec.rb
|
397
|
+
- spec/models/note_spec.rb
|
398
|
+
- spec/models/postal_address_spec.rb
|
369
399
|
- spec/models/category_spec.rb
|
400
|
+
- spec/models/email_address_spec.rb
|
370
401
|
- spec/models/contact_purpose_spec.rb
|
371
|
-
- spec/models/
|
372
|
-
- spec/models/contact_type_spec.rb
|
402
|
+
- spec/models/party_relationship_spec.rb
|
373
403
|
- spec/models/currency_spec.rb
|
374
|
-
- spec/models/
|
375
|
-
- spec/models/
|
376
|
-
- spec/models/
|
404
|
+
- spec/models/relationship_type_spec.rb
|
405
|
+
- spec/models/phone_number_spec.rb
|
406
|
+
- spec/models/contact_spec.rb
|
377
407
|
- spec/models/geo_zone_spec.rb
|
408
|
+
- spec/models/descriptive_asset_spec.rb
|
378
409
|
- spec/models/individual_spec.rb
|
379
410
|
- spec/models/money_spec.rb
|
380
|
-
- spec/models/note_spec.rb
|
381
|
-
- spec/models/note_type_spec.rb
|
382
|
-
- spec/models/organization_spec.rb
|
383
|
-
- spec/models/party_relationship_spec.rb
|
384
|
-
- spec/models/party_role_spec.rb
|
385
|
-
- spec/models/party_spec.rb
|
386
|
-
- spec/models/phone_number_spec.rb
|
387
|
-
- spec/models/postal_address_spec.rb
|
388
|
-
- spec/models/relationship_type_spec.rb
|
389
411
|
- spec/models/role_type_spec.rb
|
390
|
-
- spec/models/
|
391
|
-
- spec/
|
412
|
+
- spec/models/category_classification_spec.rb
|
413
|
+
- spec/models/party_spec.rb
|
414
|
+
- spec/models/geo_country_spec.rb
|
415
|
+
- spec/models/party_role_spec.rb
|
416
|
+
- spec/models/note_type_spec.rb
|
417
|
+
- spec/dummy/public/422.html
|
418
|
+
- spec/dummy/public/404.html
|
419
|
+
- spec/dummy/public/500.html
|
420
|
+
- spec/dummy/public/favicon.ico
|
421
|
+
- spec/dummy/config.ru
|
422
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
423
|
+
- spec/dummy/app/assets/javascripts/application.js
|
424
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
425
|
+
- spec/dummy/app/helpers/application_helper.rb
|
426
|
+
- spec/dummy/app/controllers/application_controller.rb
|
427
|
+
- spec/dummy/config/routes.rb
|
428
|
+
- spec/dummy/config/locales/en.yml
|
429
|
+
- spec/dummy/config/boot.rb
|
430
|
+
- spec/dummy/config/application.rb
|
431
|
+
- spec/dummy/config/environments/spec.rb
|
432
|
+
- spec/dummy/config/initializers/mime_types.rb
|
433
|
+
- spec/dummy/config/initializers/session_store.rb
|
434
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
435
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
436
|
+
- spec/dummy/config/initializers/inflections.rb
|
437
|
+
- spec/dummy/config/initializers/secret_token.rb
|
438
|
+
- spec/dummy/config/environment.rb
|
439
|
+
- spec/dummy/config/database.yml
|
440
|
+
- spec/dummy/Rakefile
|
441
|
+
- spec/dummy/script/rails
|
data/README.rdoc
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
module ErpBaseErpSvcs
|
2
|
-
module Command
|
3
|
-
extend self
|
4
|
-
|
5
|
-
def banner
|
6
|
-
%(
|
7
|
-
Usage:
|
8
|
-
compass_ae new <app_name> [setup_opt] [rails_opt] Creates a new Rails Compass AE Application
|
9
|
-
setup_opt:
|
10
|
-
--skip-setup generate only the rails infrastructure
|
11
|
-
rails_opt: all the options accepted by the rails command
|
12
|
-
|
13
|
-
erp --help|-h This help screen)
|
14
|
-
end
|
15
|
-
|
16
|
-
def run
|
17
|
-
command = ARGV.shift
|
18
|
-
case command
|
19
|
-
when nil
|
20
|
-
raise "The command is missing!"
|
21
|
-
when 'skip'
|
22
|
-
app_name = ARGV.shift
|
23
|
-
raise "The application name is missing!" if app_name.nil?
|
24
|
-
puts 'Generating Rails infrastructure...'
|
25
|
-
system "rails new #{app_name} #{ARGV * ' '}"
|
26
|
-
when 'new'
|
27
|
-
template_path = File.join(File.dirname(__FILE__), 'rails_template.rb')
|
28
|
-
app_name = ARGV.shift
|
29
|
-
raise "The application name is missing!" if app_name.nil?
|
30
|
-
puts 'Generating Rails infrastructure...'
|
31
|
-
system "rails new #{app_name} #{ARGV * ' '} -m #{template_path}"
|
32
|
-
end
|
33
|
-
|
34
|
-
end
|
35
|
-
|
36
|
-
end
|
37
|
-
end
|