soar_sc_core 0.1.9 → 0.1.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e01646f8f3189299aec8d50d05685743107e3317
4
- data.tar.gz: ff198ac215823e76fdbe5ceff06ca19715c290c9
3
+ metadata.gz: 6f7cd93f8d97d24f6c1afda1eef16931544982b0
4
+ data.tar.gz: c280af7135e34c318fa224bd9b906d06ccdb16e9
5
5
  SHA512:
6
- metadata.gz: 2416edd12e229c70bf5555d5b7755219ed667a6417794b61da274b9250c3b7510916723de6701e820c74b3b506b356f111183f74302f09c0ce912b7216d8c933
7
- data.tar.gz: ef7f8b65bd0b3188a5da2961d6f698a42f13e6afcb83aaae39a182a416d7922d678262c8ed8406d967f3b6d8bb096a8371e54e478aa2165b3d510fb0de7d049e
6
+ metadata.gz: 655e5d68b266de8d508d14ad5c49f0c29129469257b88f48688648ed86fbc507f3e04deef178fdebf802e97f6740447c9046376c97db1c7f4b7264c25b97109a
7
+ data.tar.gz: c9f4945d15828814e56f103bf3d43f52d0d9164f3f050c6b31268b722cee8e85fea03d2ecb7a3b1085e6ef91230675df26b28bdd0f208b3b1145a55d45b1f2ff
data/lib/soar_sc_core.rb CHANGED
@@ -21,7 +21,7 @@ end
21
21
  def require_routing
22
22
  require 'soar_sc_routing'
23
23
  require 'web/soar_sc_router'
24
- end
24
+ end
25
25
 
26
26
  def require_web
27
27
  require 'soar_sc_views'
@@ -147,7 +147,9 @@ module SoarSc
147
147
  end
148
148
 
149
149
  def self.bootstrap_authentication(stack)
150
- if SoarSc::environment['CAS_SERVER']
150
+ if 'development' == ENV['RACK_ENV']
151
+ SoarSc::auditing.warn("Authentication ignored in development mode.")
152
+ elsif SoarSc::environment['CAS_SERVER']
151
153
  SoarSc::auditing.info("Using CAS_SERVER=#{SoarSc::environment['CAS_SERVER']} for authentication",SoarSc::startup_flow_id)
152
154
  options = SoarAuthenticationCas::configure(SoarSc::environment)
153
155
  stack.use KhSignon::RackMiddleware, options if options
@@ -155,7 +157,7 @@ module SoarSc
155
157
  SoarSc::auditing.warn("BASIC_AUTH_USER specified, using basic auth for authentication. Basic auth is not recommended for production",SoarSc::startup_flow_id)
156
158
  stack.use Rack::Auth::Basic, "Restricted Area" do |username, password|
157
159
  [username, password] == [SoarSc::environment['BASIC_AUTH_USER'], SoarSc::environment['BASIC_AUTH_PASSWORD']]
158
- end if SoarSc::environment['BASIC_AUTH_USER']
160
+ end
159
161
  else
160
162
  SoarSc::auditing.warn("Neither CAS_SERVER or BASIC_AUTH_USER specified. Having no authentication is not recommended for production",SoarSc::startup_flow_id)
161
163
  end
@@ -1,3 +1,3 @@
1
1
  module SoarScCore
2
- VERSION = "0.1.9"
2
+ VERSION = "0.1.10"
3
3
  end
metadata CHANGED
@@ -1,458 +1,458 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soar_sc_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ernst Van Graan
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-08-26 00:00:00.000000000 Z
11
+ date: 2016-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: haml
15
14
  requirement: !ruby/object:Gem::Requirement
16
15
  requirements:
17
16
  - - "~>"
18
17
  - !ruby/object:Gem::Version
19
18
  version: 4.0.7
20
- type: :runtime
19
+ name: haml
21
20
  prerelease: false
21
+ type: :runtime
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 4.0.7
27
27
  - !ruby/object:Gem::Dependency
28
- name: jsender
29
28
  requirement: !ruby/object:Gem::Requirement
30
29
  requirements:
31
30
  - - "~>"
32
31
  - !ruby/object:Gem::Version
33
32
  version: 0.2.0
34
- type: :runtime
33
+ name: jsender
35
34
  prerelease: false
35
+ type: :runtime
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.2.0
41
41
  - !ruby/object:Gem::Dependency
42
- name: soar_sc_views
43
42
  requirement: !ruby/object:Gem::Requirement
44
43
  requirements:
45
44
  - - "~>"
46
45
  - !ruby/object:Gem::Version
47
46
  version: 0.1.2
48
- type: :runtime
47
+ name: soar_sc_views
49
48
  prerelease: false
49
+ type: :runtime
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: 0.1.2
55
55
  - !ruby/object:Gem::Dependency
56
- name: soar_aspects
57
56
  requirement: !ruby/object:Gem::Requirement
58
57
  requirements:
59
58
  - - "~>"
60
59
  - !ruby/object:Gem::Version
61
60
  version: 0.1.2
62
- type: :runtime
61
+ name: soar_aspects
63
62
  prerelease: false
63
+ type: :runtime
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: 0.1.2
69
69
  - !ruby/object:Gem::Dependency
70
- name: soar_flow
71
70
  requirement: !ruby/object:Gem::Requirement
72
71
  requirements:
73
72
  - - "~>"
74
73
  - !ruby/object:Gem::Version
75
74
  version: 0.1.1
76
- type: :runtime
75
+ name: soar_flow
77
76
  prerelease: false
77
+ type: :runtime
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: 0.1.1
83
83
  - !ruby/object:Gem::Dependency
84
- name: soar_lexicon
85
84
  requirement: !ruby/object:Gem::Requirement
86
85
  requirements:
87
86
  - - "~>"
88
87
  - !ruby/object:Gem::Version
89
88
  version: 0.1.3
90
- type: :runtime
89
+ name: soar_lexicon
91
90
  prerelease: false
91
+ type: :runtime
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: 0.1.3
97
97
  - !ruby/object:Gem::Dependency
98
- name: soar_environment
99
98
  requirement: !ruby/object:Gem::Requirement
100
99
  requirements:
101
100
  - - "~>"
102
101
  - !ruby/object:Gem::Version
103
102
  version: 0.2.0
104
- type: :runtime
103
+ name: soar_environment
105
104
  prerelease: false
105
+ type: :runtime
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
110
  version: 0.2.0
111
111
  - !ruby/object:Gem::Dependency
112
- name: soar_configuration
113
112
  requirement: !ruby/object:Gem::Requirement
114
113
  requirements:
115
114
  - - "~>"
116
115
  - !ruby/object:Gem::Version
117
116
  version: 0.1.2
118
- type: :runtime
117
+ name: soar_configuration
119
118
  prerelease: false
119
+ type: :runtime
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
124
  version: 0.1.2
125
125
  - !ruby/object:Gem::Dependency
126
- name: soar_wadl_validation
127
126
  requirement: !ruby/object:Gem::Requirement
128
127
  requirements:
129
128
  - - "~>"
130
129
  - !ruby/object:Gem::Version
131
130
  version: 0.1.3
132
- type: :runtime
131
+ name: soar_wadl_validation
133
132
  prerelease: false
133
+ type: :runtime
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
138
  version: 0.1.3
139
139
  - !ruby/object:Gem::Dependency
140
- name: soar_auditing_provider
141
140
  requirement: !ruby/object:Gem::Requirement
142
141
  requirements:
143
142
  - - "~>"
144
143
  - !ruby/object:Gem::Version
145
144
  version: 0.9.3
146
- type: :runtime
145
+ name: soar_auditing_provider
147
146
  prerelease: false
147
+ type: :runtime
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
152
  version: 0.9.3
153
153
  - !ruby/object:Gem::Dependency
154
- name: soar_authentication
155
154
  requirement: !ruby/object:Gem::Requirement
156
155
  requirements:
157
156
  - - "~>"
158
157
  - !ruby/object:Gem::Version
159
158
  version: 0.1.3
160
- type: :runtime
159
+ name: soar_authentication
161
160
  prerelease: false
161
+ type: :runtime
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
166
  version: 0.1.3
167
167
  - !ruby/object:Gem::Dependency
168
- name: soar_authentication_cas
169
168
  requirement: !ruby/object:Gem::Requirement
170
169
  requirements:
171
170
  - - "~>"
172
171
  - !ruby/object:Gem::Version
173
172
  version: 0.1.2
174
- type: :runtime
173
+ name: soar_authentication_cas
175
174
  prerelease: false
175
+ type: :runtime
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
180
  version: 0.1.2
181
181
  - !ruby/object:Gem::Dependency
182
- name: soar_am
183
182
  requirement: !ruby/object:Gem::Requirement
184
183
  requirements:
185
184
  - - "~>"
186
185
  - !ruby/object:Gem::Version
187
186
  version: 0.1.2
188
- type: :runtime
187
+ name: soar_am
189
188
  prerelease: false
189
+ type: :runtime
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - "~>"
193
193
  - !ruby/object:Gem::Version
194
194
  version: 0.1.2
195
195
  - !ruby/object:Gem::Dependency
196
- name: soar_policy_access_manager
197
196
  requirement: !ruby/object:Gem::Requirement
198
197
  requirements:
199
198
  - - "~>"
200
199
  - !ruby/object:Gem::Version
201
200
  version: 0.2.1
202
- type: :runtime
201
+ name: soar_policy_access_manager
203
202
  prerelease: false
203
+ type: :runtime
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
206
  - - "~>"
207
207
  - !ruby/object:Gem::Version
208
208
  version: 0.2.1
209
209
  - !ruby/object:Gem::Dependency
210
- name: soar_authorization
211
210
  requirement: !ruby/object:Gem::Requirement
212
211
  requirements:
213
212
  - - "~>"
214
213
  - !ruby/object:Gem::Version
215
214
  version: 0.1.4
216
- type: :runtime
215
+ name: soar_authorization
217
216
  prerelease: false
217
+ type: :runtime
218
218
  version_requirements: !ruby/object:Gem::Requirement
219
219
  requirements:
220
220
  - - "~>"
221
221
  - !ruby/object:Gem::Version
222
222
  version: 0.1.4
223
223
  - !ruby/object:Gem::Dependency
224
- name: soar_configured_factory
225
224
  requirement: !ruby/object:Gem::Requirement
226
225
  requirements:
227
226
  - - "~>"
228
227
  - !ruby/object:Gem::Version
229
228
  version: 0.1.0
230
- type: :runtime
229
+ name: soar_configured_factory
231
230
  prerelease: false
231
+ type: :runtime
232
232
  version_requirements: !ruby/object:Gem::Requirement
233
233
  requirements:
234
234
  - - "~>"
235
235
  - !ruby/object:Gem::Version
236
236
  version: 0.1.0
237
237
  - !ruby/object:Gem::Dependency
238
- name: soar_sc_routing
239
238
  requirement: !ruby/object:Gem::Requirement
240
239
  requirements:
241
240
  - - "~>"
242
241
  - !ruby/object:Gem::Version
243
242
  version: 0.1.6
244
- type: :runtime
243
+ name: soar_sc_routing
245
244
  prerelease: false
245
+ type: :runtime
246
246
  version_requirements: !ruby/object:Gem::Requirement
247
247
  requirements:
248
248
  - - "~>"
249
249
  - !ruby/object:Gem::Version
250
250
  version: 0.1.6
251
251
  - !ruby/object:Gem::Dependency
252
- name: logstash_auditor
253
252
  requirement: !ruby/object:Gem::Requirement
254
253
  requirements:
255
254
  - - "~>"
256
255
  - !ruby/object:Gem::Version
257
256
  version: 0.0.19
258
- type: :runtime
257
+ name: logstash_auditor
259
258
  prerelease: false
259
+ type: :runtime
260
260
  version_requirements: !ruby/object:Gem::Requirement
261
261
  requirements:
262
262
  - - "~>"
263
263
  - !ruby/object:Gem::Version
264
264
  version: 0.0.19
265
265
  - !ruby/object:Gem::Dependency
266
- name: log4r_auditor
267
266
  requirement: !ruby/object:Gem::Requirement
268
267
  requirements:
269
268
  - - "~>"
270
269
  - !ruby/object:Gem::Version
271
270
  version: 0.0.4
272
- type: :runtime
271
+ name: log4r_auditor
273
272
  prerelease: false
273
+ type: :runtime
274
274
  version_requirements: !ruby/object:Gem::Requirement
275
275
  requirements:
276
276
  - - "~>"
277
277
  - !ruby/object:Gem::Version
278
278
  version: 0.0.4
279
279
  - !ruby/object:Gem::Dependency
280
- name: smaak
281
280
  requirement: !ruby/object:Gem::Requirement
282
281
  requirements:
283
282
  - - "~>"
284
283
  - !ruby/object:Gem::Version
285
284
  version: 0.2.2
286
- type: :runtime
285
+ name: smaak
287
286
  prerelease: false
287
+ type: :runtime
288
288
  version_requirements: !ruby/object:Gem::Requirement
289
289
  requirements:
290
290
  - - "~>"
291
291
  - !ruby/object:Gem::Version
292
292
  version: 0.2.2
293
293
  - !ruby/object:Gem::Dependency
294
- name: soar_smaak
295
294
  requirement: !ruby/object:Gem::Requirement
296
295
  requirements:
297
296
  - - "~>"
298
297
  - !ruby/object:Gem::Version
299
298
  version: 0.1.19
300
- type: :runtime
299
+ name: soar_smaak
301
300
  prerelease: false
301
+ type: :runtime
302
302
  version_requirements: !ruby/object:Gem::Requirement
303
303
  requirements:
304
304
  - - "~>"
305
305
  - !ruby/object:Gem::Version
306
306
  version: 0.1.19
307
307
  - !ruby/object:Gem::Dependency
308
- name: wadling
309
308
  requirement: !ruby/object:Gem::Requirement
310
309
  requirements:
311
310
  - - "~>"
312
311
  - !ruby/object:Gem::Version
313
312
  version: 0.1.9
314
- type: :runtime
313
+ name: wadling
315
314
  prerelease: false
315
+ type: :runtime
316
316
  version_requirements: !ruby/object:Gem::Requirement
317
317
  requirements:
318
318
  - - "~>"
319
319
  - !ruby/object:Gem::Version
320
320
  version: 0.1.9
321
321
  - !ruby/object:Gem::Dependency
322
- name: soar_sr
323
322
  requirement: !ruby/object:Gem::Requirement
324
323
  requirements:
325
324
  - - "~>"
326
325
  - !ruby/object:Gem::Version
327
326
  version: 1.1.24
328
- type: :runtime
327
+ name: soar_sr
329
328
  prerelease: false
329
+ type: :runtime
330
330
  version_requirements: !ruby/object:Gem::Requirement
331
331
  requirements:
332
332
  - - "~>"
333
333
  - !ruby/object:Gem::Version
334
334
  version: 1.1.24
335
335
  - !ruby/object:Gem::Dependency
336
- name: soar_pl
337
336
  requirement: !ruby/object:Gem::Requirement
338
337
  requirements:
339
338
  - - "~>"
340
339
  - !ruby/object:Gem::Version
341
340
  version: 0.0.12
342
- type: :runtime
341
+ name: soar_pl
343
342
  prerelease: false
343
+ type: :runtime
344
344
  version_requirements: !ruby/object:Gem::Requirement
345
345
  requirements:
346
346
  - - "~>"
347
347
  - !ruby/object:Gem::Version
348
348
  version: 0.0.12
349
349
  - !ruby/object:Gem::Dependency
350
- name: soar_idm
351
350
  requirement: !ruby/object:Gem::Requirement
352
351
  requirements:
353
352
  - - "~>"
354
353
  - !ruby/object:Gem::Version
355
354
  version: 0.0.2
356
- type: :runtime
355
+ name: soar_idm
357
356
  prerelease: false
357
+ type: :runtime
358
358
  version_requirements: !ruby/object:Gem::Requirement
359
359
  requirements:
360
360
  - - "~>"
361
361
  - !ruby/object:Gem::Version
362
362
  version: 0.0.2
363
363
  - !ruby/object:Gem::Dependency
364
- name: idr_client
365
364
  requirement: !ruby/object:Gem::Requirement
366
365
  requirements:
367
366
  - - "~>"
368
367
  - !ruby/object:Gem::Version
369
368
  version: 0.0.3
370
- type: :runtime
369
+ name: idr_client
371
370
  prerelease: false
371
+ type: :runtime
372
372
  version_requirements: !ruby/object:Gem::Requirement
373
373
  requirements:
374
374
  - - "~>"
375
375
  - !ruby/object:Gem::Version
376
376
  version: 0.0.3
377
377
  - !ruby/object:Gem::Dependency
378
- name: workflow
379
378
  requirement: !ruby/object:Gem::Requirement
380
379
  requirements:
381
380
  - - "~>"
382
381
  - !ruby/object:Gem::Version
383
382
  version: 1.2.0
384
- type: :runtime
383
+ name: workflow
385
384
  prerelease: false
385
+ type: :runtime
386
386
  version_requirements: !ruby/object:Gem::Requirement
387
387
  requirements:
388
388
  - - "~>"
389
389
  - !ruby/object:Gem::Version
390
390
  version: 1.2.0
391
391
  - !ruby/object:Gem::Dependency
392
- name: soar_sc_mvc
393
392
  requirement: !ruby/object:Gem::Requirement
394
393
  requirements:
395
394
  - - "~>"
396
395
  - !ruby/object:Gem::Version
397
396
  version: 0.1.1
398
- type: :runtime
397
+ name: soar_sc_mvc
399
398
  prerelease: false
399
+ type: :runtime
400
400
  version_requirements: !ruby/object:Gem::Requirement
401
401
  requirements:
402
402
  - - "~>"
403
403
  - !ruby/object:Gem::Version
404
404
  version: 0.1.1
405
405
  - !ruby/object:Gem::Dependency
406
- name: bundler
407
406
  requirement: !ruby/object:Gem::Requirement
408
407
  requirements:
409
408
  - - "~>"
410
409
  - !ruby/object:Gem::Version
411
410
  version: '1.12'
412
- type: :development
411
+ name: bundler
413
412
  prerelease: false
413
+ type: :development
414
414
  version_requirements: !ruby/object:Gem::Requirement
415
415
  requirements:
416
416
  - - "~>"
417
417
  - !ruby/object:Gem::Version
418
418
  version: '1.12'
419
419
  - !ruby/object:Gem::Dependency
420
- name: rake
421
420
  requirement: !ruby/object:Gem::Requirement
422
421
  requirements:
423
422
  - - "~>"
424
423
  - !ruby/object:Gem::Version
425
424
  version: '10.0'
426
- type: :development
425
+ name: rake
427
426
  prerelease: false
427
+ type: :development
428
428
  version_requirements: !ruby/object:Gem::Requirement
429
429
  requirements:
430
430
  - - "~>"
431
431
  - !ruby/object:Gem::Version
432
432
  version: '10.0'
433
433
  - !ruby/object:Gem::Dependency
434
- name: rspec
435
434
  requirement: !ruby/object:Gem::Requirement
436
435
  requirements:
437
436
  - - "~>"
438
437
  - !ruby/object:Gem::Version
439
438
  version: '3.0'
440
- type: :development
439
+ name: rspec
441
440
  prerelease: false
441
+ type: :development
442
442
  version_requirements: !ruby/object:Gem::Requirement
443
443
  requirements:
444
444
  - - "~>"
445
445
  - !ruby/object:Gem::Version
446
446
  version: '3.0'
447
447
  - !ruby/object:Gem::Dependency
448
- name: byebug
449
448
  requirement: !ruby/object:Gem::Requirement
450
449
  requirements:
451
450
  - - ">="
452
451
  - !ruby/object:Gem::Version
453
452
  version: '0'
454
- type: :development
453
+ name: byebug
455
454
  prerelease: false
455
+ type: :development
456
456
  version_requirements: !ruby/object:Gem::Requirement
457
457
  requirements:
458
458
  - - ">="
@@ -486,7 +486,7 @@ homepage: https://github.com/hetznerZA/soar_sc_core
486
486
  licenses:
487
487
  - MIT
488
488
  metadata: {}
489
- post_install_message:
489
+ post_install_message:
490
490
  rdoc_options: []
491
491
  require_paths:
492
492
  - lib
@@ -501,9 +501,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
501
501
  - !ruby/object:Gem::Version
502
502
  version: '0'
503
503
  requirements: []
504
- rubyforge_project:
505
- rubygems_version: 2.5.1
506
- signing_key:
504
+ rubyforge_project:
505
+ rubygems_version: 2.4.8
506
+ signing_key:
507
507
  specification_version: 4
508
508
  summary: Service component core aggregations
509
509
  test_files: []