erp_tech_svcs 3.0.11 → 3.0.12
Sign up to get free protection for your applications and to get access to all the features.
- data/app/models/group.rb +23 -1
- data/app/models/user.rb +39 -9
- data/lib/erp_tech_svcs/extensions/active_record/has_capability_accessors.rb +10 -4
- data/lib/erp_tech_svcs/extensions/active_record/protected_with_capabilities.rb +53 -28
- data/lib/erp_tech_svcs/utils/compass_access_negotiator.rb +5 -3
- data/lib/erp_tech_svcs/version.rb +1 -1
- data/spec/dummy/db/data_migrations/20110109173616_create_capability_scope_types.erp_tech_svcs.rb +15 -0
- data/spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb +12 -0
- data/spec/dummy/db/data_migrations/20110609150135_add_iso_codes.erp_base_erp_svcs.rb +19 -0
- data/spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb +16 -0
- data/spec/dummy/db/data_migrations/20110913145838_setup_compass_ae_instance.erp_base_erp_svcs.rb +12 -0
- data/spec/dummy/db/data_migrations/20111111144706_setup_audit_log_types.erp_tech_svcs.rb +22 -0
- data/spec/dummy/db/data_migrations/20121116155018_create_group_relationship_and_role_types.erp_tech_svcs.rb +20 -0
- data/spec/dummy/db/data_migrations/20121130212146_note_capabilities.erp_tech_svcs.rb +24 -0
- data/spec/dummy/db/migrate/20130105133955_base_erp_services.erp_base_erp_svcs.rb +461 -0
- data/spec/dummy/db/migrate/20130105133956_base_tech_services.erp_tech_svcs.rb +271 -0
- data/spec/dummy/db/migrate/20130105133957_create_has_attribute_tables.erp_tech_svcs.rb +39 -0
- data/spec/dummy/db/migrate/20130105133958_create_groups.erp_tech_svcs.rb +19 -0
- data/spec/dummy/db/migrate/20130105133959_upgrade_security.erp_tech_svcs.rb +54 -0
- data/spec/dummy/db/migrate/20130105133960_upgrade_security2.erp_tech_svcs.rb +270 -0
- data/spec/dummy/db/schema.rb +613 -0
- data/spec/dummy/db/spec.sqlite3 +0 -0
- data/spec/dummy/log/adam.log +1 -0
- data/spec/dummy/log/spec.log +128273 -0
- metadata +93 -22
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: erp_tech_svcs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.12
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-02-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: erp_base_erp_svcs
|
16
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,15 @@ dependencies:
|
|
21
21
|
version: '3.0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '3.0'
|
25
30
|
- !ruby/object:Gem::Dependency
|
26
31
|
name: erp_dev_svcs
|
27
|
-
requirement:
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
28
33
|
none: false
|
29
34
|
requirements:
|
30
35
|
- - ~>
|
@@ -32,62 +37,92 @@ dependencies:
|
|
32
37
|
version: '3.0'
|
33
38
|
type: :development
|
34
39
|
prerelease: false
|
35
|
-
version_requirements:
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '3.0'
|
36
46
|
- !ruby/object:Gem::Dependency
|
37
47
|
name: aws-sdk
|
38
|
-
requirement:
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
39
49
|
none: false
|
40
50
|
requirements:
|
41
|
-
- - =
|
51
|
+
- - '='
|
42
52
|
- !ruby/object:Gem::Version
|
43
53
|
version: 1.5.2
|
44
54
|
type: :runtime
|
45
55
|
prerelease: false
|
46
|
-
version_requirements:
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - '='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.5.2
|
47
62
|
- !ruby/object:Gem::Dependency
|
48
63
|
name: delayed_job_active_record
|
49
|
-
requirement:
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
50
65
|
none: false
|
51
66
|
requirements:
|
52
|
-
- - =
|
67
|
+
- - '='
|
53
68
|
- !ruby/object:Gem::Version
|
54
69
|
version: 0.3.2
|
55
70
|
type: :runtime
|
56
71
|
prerelease: false
|
57
|
-
version_requirements:
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - '='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 0.3.2
|
58
78
|
- !ruby/object:Gem::Dependency
|
59
79
|
name: paperclip
|
60
|
-
requirement:
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
61
81
|
none: false
|
62
82
|
requirements:
|
63
|
-
- - =
|
83
|
+
- - '='
|
64
84
|
- !ruby/object:Gem::Version
|
65
85
|
version: 3.0.2
|
66
86
|
type: :runtime
|
67
87
|
prerelease: false
|
68
|
-
version_requirements:
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - '='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: 3.0.2
|
69
94
|
- !ruby/object:Gem::Dependency
|
70
95
|
name: pdfkit
|
71
|
-
requirement:
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
72
97
|
none: false
|
73
98
|
requirements:
|
74
|
-
- - =
|
99
|
+
- - '='
|
75
100
|
- !ruby/object:Gem::Version
|
76
101
|
version: 0.4.6
|
77
102
|
type: :runtime
|
78
103
|
prerelease: false
|
79
|
-
version_requirements:
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - '='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: 0.4.6
|
80
110
|
- !ruby/object:Gem::Dependency
|
81
111
|
name: sorcery
|
82
|
-
requirement:
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
83
113
|
none: false
|
84
114
|
requirements:
|
85
|
-
- - =
|
115
|
+
- - '='
|
86
116
|
- !ruby/object:Gem::Version
|
87
117
|
version: 0.7.12
|
88
118
|
type: :runtime
|
89
119
|
prerelease: false
|
90
|
-
version_requirements:
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - '='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: 0.7.12
|
91
126
|
description: This engine is implemented with the premise that services like logging,
|
92
127
|
tracing and encryption would likely already exist in many organizations, so they
|
93
128
|
are factored here so they can easily be re-implemented. There are default implementations
|
@@ -211,6 +246,24 @@ files:
|
|
211
246
|
- spec/dummy/config/locales/en.yml
|
212
247
|
- spec/dummy/config/routes.rb
|
213
248
|
- spec/dummy/config.ru
|
249
|
+
- spec/dummy/db/data_migrations/20110109173616_create_capability_scope_types.erp_tech_svcs.rb
|
250
|
+
- spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
|
251
|
+
- spec/dummy/db/data_migrations/20110609150135_add_iso_codes.erp_base_erp_svcs.rb
|
252
|
+
- spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
|
253
|
+
- spec/dummy/db/data_migrations/20110913145838_setup_compass_ae_instance.erp_base_erp_svcs.rb
|
254
|
+
- spec/dummy/db/data_migrations/20111111144706_setup_audit_log_types.erp_tech_svcs.rb
|
255
|
+
- spec/dummy/db/data_migrations/20121116155018_create_group_relationship_and_role_types.erp_tech_svcs.rb
|
256
|
+
- spec/dummy/db/data_migrations/20121130212146_note_capabilities.erp_tech_svcs.rb
|
257
|
+
- spec/dummy/db/migrate/20130105133955_base_erp_services.erp_base_erp_svcs.rb
|
258
|
+
- spec/dummy/db/migrate/20130105133956_base_tech_services.erp_tech_svcs.rb
|
259
|
+
- spec/dummy/db/migrate/20130105133957_create_has_attribute_tables.erp_tech_svcs.rb
|
260
|
+
- spec/dummy/db/migrate/20130105133958_create_groups.erp_tech_svcs.rb
|
261
|
+
- spec/dummy/db/migrate/20130105133959_upgrade_security.erp_tech_svcs.rb
|
262
|
+
- spec/dummy/db/migrate/20130105133960_upgrade_security2.erp_tech_svcs.rb
|
263
|
+
- spec/dummy/db/schema.rb
|
264
|
+
- spec/dummy/db/spec.sqlite3
|
265
|
+
- spec/dummy/log/adam.log
|
266
|
+
- spec/dummy/log/spec.log
|
214
267
|
- spec/dummy/public/404.html
|
215
268
|
- spec/dummy/public/422.html
|
216
269
|
- spec/dummy/public/500.html
|
@@ -250,7 +303,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
250
303
|
version: '0'
|
251
304
|
requirements: []
|
252
305
|
rubyforge_project:
|
253
|
-
rubygems_version: 1.8.
|
306
|
+
rubygems_version: 1.8.23
|
254
307
|
signing_key:
|
255
308
|
specification_version: 3
|
256
309
|
summary: This engine is implemented with the premise that services like logging, tracing
|
@@ -277,6 +330,24 @@ test_files:
|
|
277
330
|
- spec/dummy/config/locales/en.yml
|
278
331
|
- spec/dummy/config/routes.rb
|
279
332
|
- spec/dummy/config.ru
|
333
|
+
- spec/dummy/db/data_migrations/20110109173616_create_capability_scope_types.erp_tech_svcs.rb
|
334
|
+
- spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
|
335
|
+
- spec/dummy/db/data_migrations/20110609150135_add_iso_codes.erp_base_erp_svcs.rb
|
336
|
+
- spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
|
337
|
+
- spec/dummy/db/data_migrations/20110913145838_setup_compass_ae_instance.erp_base_erp_svcs.rb
|
338
|
+
- spec/dummy/db/data_migrations/20111111144706_setup_audit_log_types.erp_tech_svcs.rb
|
339
|
+
- spec/dummy/db/data_migrations/20121116155018_create_group_relationship_and_role_types.erp_tech_svcs.rb
|
340
|
+
- spec/dummy/db/data_migrations/20121130212146_note_capabilities.erp_tech_svcs.rb
|
341
|
+
- spec/dummy/db/migrate/20130105133955_base_erp_services.erp_base_erp_svcs.rb
|
342
|
+
- spec/dummy/db/migrate/20130105133956_base_tech_services.erp_tech_svcs.rb
|
343
|
+
- spec/dummy/db/migrate/20130105133957_create_has_attribute_tables.erp_tech_svcs.rb
|
344
|
+
- spec/dummy/db/migrate/20130105133958_create_groups.erp_tech_svcs.rb
|
345
|
+
- spec/dummy/db/migrate/20130105133959_upgrade_security.erp_tech_svcs.rb
|
346
|
+
- spec/dummy/db/migrate/20130105133960_upgrade_security2.erp_tech_svcs.rb
|
347
|
+
- spec/dummy/db/schema.rb
|
348
|
+
- spec/dummy/db/spec.sqlite3
|
349
|
+
- spec/dummy/log/adam.log
|
350
|
+
- spec/dummy/log/spec.log
|
280
351
|
- spec/dummy/public/404.html
|
281
352
|
- spec/dummy/public/422.html
|
282
353
|
- spec/dummy/public/500.html
|