cfoundry 4.3.9 → 4.3.10
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cfoundry/version.rb +1 -1
- data/spec/fixtures/fake_cc_events.json +437 -267
- metadata +2 -8
data/lib/cfoundry/version.rb
CHANGED
@@ -1,279 +1,449 @@
|
|
1
1
|
{
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
},
|
31
|
-
"space_guid": "space-id-1"
|
32
|
-
}
|
2
|
+
"total_results": 11,
|
3
|
+
"total_pages": 1,
|
4
|
+
"prev_url": null,
|
5
|
+
"next_url": null,
|
6
|
+
"resources": [
|
7
|
+
{
|
8
|
+
"metadata": {
|
9
|
+
"guid": "event-1"
|
10
|
+
},
|
11
|
+
"entity": {
|
12
|
+
"organization_guid": "organization-id-1",
|
13
|
+
"type": "audit.app.update",
|
14
|
+
"actor": "user-id",
|
15
|
+
"actor_type": "user",
|
16
|
+
"actee": "application-id-1",
|
17
|
+
"actee_type": "app",
|
18
|
+
"timestamp": "2012-11-01T12:00:00+00:00",
|
19
|
+
"metadata": {
|
20
|
+
"changes": {
|
21
|
+
"state": [
|
22
|
+
"STOPPED",
|
23
|
+
"STARTED"
|
24
|
+
]
|
25
|
+
},
|
26
|
+
"footprints": {
|
27
|
+
"memory": 1024,
|
28
|
+
"instances": 2
|
29
|
+
}
|
33
30
|
},
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
31
|
+
"space_guid": "space-id-1"
|
32
|
+
}
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"metadata": {
|
36
|
+
"guid": "event-2"
|
37
|
+
},
|
38
|
+
"entity": {
|
39
|
+
"organization_guid": "organization-id-2",
|
40
|
+
"type": "audit.app.update",
|
41
|
+
"actor": "user-id",
|
42
|
+
"actor_type": "user",
|
43
|
+
"actee": "application-id-2",
|
44
|
+
"actee_type": "app",
|
45
|
+
"timestamp": "2012-11-01T12:01:22+00:00",
|
46
|
+
"metadata": {
|
47
|
+
"changes": {
|
48
|
+
"state": [
|
49
|
+
"STOPPED",
|
50
|
+
"STARTED"
|
51
|
+
]
|
52
|
+
},
|
53
|
+
"footprints": {
|
54
|
+
"memory": 2048,
|
55
|
+
"instances": 1
|
56
|
+
}
|
60
57
|
},
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
58
|
+
"space_guid": "space-id-2"
|
59
|
+
}
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"metadata": {
|
63
|
+
"guid": "event-3"
|
64
|
+
},
|
65
|
+
"entity": {
|
66
|
+
"organization_guid": "organization-id-1",
|
67
|
+
"type": "audit.app.update",
|
68
|
+
"actor": "user-id",
|
69
|
+
"actor_type": "user",
|
70
|
+
"actee": "application-id-1",
|
71
|
+
"actee_type": "app",
|
72
|
+
"timestamp": "2012-11-01T12:03:00+00:00",
|
73
|
+
"metadata": {
|
74
|
+
"changes": {
|
75
|
+
},
|
76
|
+
"footprints": {
|
77
|
+
"memory": 1024,
|
78
|
+
"instances": 2
|
79
|
+
}
|
83
80
|
},
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
81
|
+
"space_guid": "space-id-1"
|
82
|
+
}
|
83
|
+
},
|
84
|
+
{
|
85
|
+
"metadata": {
|
86
|
+
"guid": "event-4"
|
87
|
+
},
|
88
|
+
"entity": {
|
89
|
+
"organization_guid": "organization-id-1",
|
90
|
+
"type": "audit.app.update",
|
91
|
+
"actor": "user-id",
|
92
|
+
"actor_type": "user",
|
93
|
+
"actee": "application-id-1",
|
94
|
+
"actee_type": "app",
|
95
|
+
"timestamp": "2012-11-01T12:04:00+00:00",
|
96
|
+
"metadata": {
|
97
|
+
"changes": {
|
98
|
+
"state": [
|
99
|
+
"STARTED",
|
100
|
+
"STOPPED"
|
101
|
+
]
|
102
|
+
},
|
103
|
+
"footprints": {
|
104
|
+
"memory": 1024,
|
105
|
+
"instances": 2
|
106
|
+
}
|
110
107
|
},
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
108
|
+
"space_guid": "space-id-1"
|
109
|
+
}
|
110
|
+
},
|
111
|
+
{
|
112
|
+
"metadata": {
|
113
|
+
"guid": "event-6"
|
114
|
+
},
|
115
|
+
"entity": {
|
116
|
+
"organization_guid": "organization-id-1",
|
117
|
+
"type": "audit.app.update",
|
118
|
+
"actor": "user-id",
|
119
|
+
"actor_type": "user",
|
120
|
+
"actee": "application-id-1",
|
121
|
+
"actee_type": "app",
|
122
|
+
"timestamp": "2012-11-01T12:05:00+00:00",
|
123
|
+
"metadata": {
|
124
|
+
"changes": {
|
125
|
+
"state": [
|
126
|
+
"STOPPED",
|
127
|
+
"STARTED"
|
128
|
+
]
|
129
|
+
},
|
130
|
+
"footprints": {
|
131
|
+
"memory": 1024,
|
132
|
+
"instances": 2
|
133
|
+
}
|
137
134
|
},
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
135
|
+
"space_guid": "space-id-1"
|
136
|
+
}
|
137
|
+
},
|
138
|
+
{
|
139
|
+
"metadata": {
|
140
|
+
"guid": "event-7"
|
141
|
+
},
|
142
|
+
"entity": {
|
143
|
+
"organization_guid": "organization-id-1",
|
144
|
+
"type": "audit.app.update",
|
145
|
+
"actor": "user-id",
|
146
|
+
"actor_type": "user",
|
147
|
+
"actee": "application-id-1",
|
148
|
+
"actee_type": "app",
|
149
|
+
"timestamp": "2012-11-01T12:06:00+00:00",
|
150
|
+
"metadata": {
|
151
|
+
"changes": {
|
152
|
+
"state": [
|
153
|
+
"STARTED",
|
154
|
+
"STOPPED"
|
155
|
+
]
|
156
|
+
},
|
157
|
+
"footprints": {
|
158
|
+
"memory": 1024,
|
159
|
+
"instances": 2
|
160
|
+
}
|
164
161
|
},
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
162
|
+
"space_guid": "space-id-1"
|
163
|
+
}
|
164
|
+
},
|
165
|
+
{
|
166
|
+
"metadata": {
|
167
|
+
"guid": "event-8"
|
168
|
+
},
|
169
|
+
"entity": {
|
170
|
+
"organization_guid": "organization-id-3",
|
171
|
+
"type": "audit.app.update",
|
172
|
+
"actor": "user-id",
|
173
|
+
"actor_type": "user",
|
174
|
+
"actee": "application-id-3",
|
175
|
+
"actee_type": "app",
|
176
|
+
"timestamp": "2012-11-01T12:07:00+00:00",
|
177
|
+
"metadata": {
|
178
|
+
"changes": {
|
179
|
+
"state": [
|
180
|
+
"STOPPED",
|
181
|
+
"STARTED"
|
182
|
+
]
|
183
|
+
},
|
184
|
+
"footprints": {
|
185
|
+
"memory": 1024,
|
186
|
+
"instances": 2
|
187
|
+
}
|
191
188
|
},
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
189
|
+
"space_guid": "space-id-3"
|
190
|
+
}
|
191
|
+
},
|
192
|
+
{
|
193
|
+
"metadata": {
|
194
|
+
"guid": "event-9"
|
195
|
+
},
|
196
|
+
"entity": {
|
197
|
+
"organization_guid": "organization-id-3",
|
198
|
+
"type": "audit.app.update",
|
199
|
+
"actor": "user-id",
|
200
|
+
"actor_type": "user",
|
201
|
+
"actee": "application-id-3",
|
202
|
+
"actee_type": "app",
|
203
|
+
"timestamp": "2012-11-01T12:07:30+00:00",
|
204
|
+
"metadata": {
|
205
|
+
"changes": {
|
206
|
+
"state": [
|
207
|
+
"STARTED",
|
208
|
+
"STOPPED"
|
209
|
+
]
|
210
|
+
},
|
211
|
+
"footprints": {
|
212
|
+
"memory": 1024,
|
213
|
+
"instances": 2
|
214
|
+
}
|
218
215
|
},
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
216
|
+
"space_guid": "space-id-3"
|
217
|
+
}
|
218
|
+
},
|
219
|
+
{
|
220
|
+
"metadata": {
|
221
|
+
"guid": "event-10"
|
222
|
+
},
|
223
|
+
"entity": {
|
224
|
+
"organization_guid": "organization-id-3",
|
225
|
+
"type": "audit.app.delete",
|
226
|
+
"actor": "user-id",
|
227
|
+
"actor_type": "user",
|
228
|
+
"actee": "application-id-3",
|
229
|
+
"actee_type": "app",
|
230
|
+
"timestamp": "2012-11-01T12:08:00+00:00",
|
231
|
+
"metadata": {},
|
232
|
+
"space_guid": "space-id-3"
|
233
|
+
}
|
234
|
+
},
|
235
|
+
{
|
236
|
+
"metadata": {
|
237
|
+
"guid": "event-11"
|
238
|
+
},
|
239
|
+
"entity": {
|
240
|
+
"organization_guid": "organization-id-4",
|
241
|
+
"type": "audit.app.update",
|
242
|
+
"actor": "user-id",
|
243
|
+
"actor_type": "user",
|
244
|
+
"actee": "application-id-4",
|
245
|
+
"actee_type": "app",
|
246
|
+
"timestamp": "2012-11-01T12:09:00+00:00",
|
247
|
+
"metadata": {
|
248
|
+
"changes": {
|
249
|
+
"state": [
|
250
|
+
"STOPPED",
|
251
|
+
"STARTED"
|
252
|
+
]
|
253
|
+
},
|
254
|
+
"footprints": {
|
255
|
+
"memory": 1024,
|
256
|
+
"instances": 2
|
257
|
+
}
|
234
258
|
},
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
259
|
+
"space_guid": "space-id-4"
|
260
|
+
}
|
261
|
+
},
|
262
|
+
{
|
263
|
+
"metadata": {
|
264
|
+
"guid": "event-12"
|
265
|
+
},
|
266
|
+
"entity": {
|
267
|
+
"organization_guid": "organization-id-4",
|
268
|
+
"type": "audit.app.delete",
|
269
|
+
"actor": "user-id",
|
270
|
+
"actor_type": "user",
|
271
|
+
"actee": "application-id-4",
|
272
|
+
"actee_type": "app",
|
273
|
+
"timestamp": "2012-11-01T12:10:00+00:00",
|
274
|
+
"metadata": {},
|
275
|
+
"space_guid": "space-id-4"
|
276
|
+
}
|
277
|
+
},
|
278
|
+
{
|
279
|
+
"metadata": {
|
280
|
+
"guid": "event-13"
|
281
|
+
},
|
282
|
+
"entity": {
|
283
|
+
"organization_guid": "organization-id-2",
|
284
|
+
"type": "audit.app.update",
|
285
|
+
"actor": "user-id",
|
286
|
+
"actor_type": "user",
|
287
|
+
"actee": "application-id-2",
|
288
|
+
"actee_type": "app",
|
289
|
+
"timestamp": "2012-11-01T12:11:00+00:00",
|
290
|
+
"metadata": {
|
291
|
+
"changes": {
|
292
|
+
"instances": [
|
293
|
+
1,
|
294
|
+
2
|
295
|
+
]
|
296
|
+
},
|
297
|
+
"footprints": {
|
298
|
+
"memory": 2048,
|
299
|
+
"instances": 2
|
300
|
+
}
|
261
301
|
},
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
302
|
+
"space_guid": "space-id-2"
|
303
|
+
}
|
304
|
+
},
|
305
|
+
{
|
306
|
+
"metadata": {
|
307
|
+
"guid": "event-14"
|
308
|
+
},
|
309
|
+
"entity": {
|
310
|
+
"organization_guid": "organization-id-2",
|
311
|
+
"type": "audit.app.update",
|
312
|
+
"actor": "user-id",
|
313
|
+
"actor_type": "user",
|
314
|
+
"actee": "application-id-2",
|
315
|
+
"actee_type": "app",
|
316
|
+
"timestamp": "2012-11-01T12:11:30+00:00",
|
317
|
+
"metadata": {
|
318
|
+
"changes": {
|
319
|
+
"memory": [
|
320
|
+
2048,
|
321
|
+
1024
|
322
|
+
]
|
323
|
+
},
|
324
|
+
"footprints": {
|
325
|
+
"memory": 1024,
|
326
|
+
"instances": 2
|
327
|
+
}
|
328
|
+
},
|
329
|
+
"space_guid": "space-id-2"
|
330
|
+
}
|
331
|
+
},
|
332
|
+
{
|
333
|
+
"metadata": {
|
334
|
+
"guid": "event-15"
|
335
|
+
},
|
336
|
+
"entity": {
|
337
|
+
"organization_guid": "organization-id-2",
|
338
|
+
"type": "audit.app.update",
|
339
|
+
"actor": "user-id",
|
340
|
+
"actor_type": "user",
|
341
|
+
"actee": "application-id-2",
|
342
|
+
"actee_type": "app",
|
343
|
+
"timestamp": "2012-11-01T12:11:40+00:00",
|
344
|
+
"metadata": {
|
345
|
+
"changes": {
|
346
|
+
"instances": [
|
347
|
+
2,
|
348
|
+
1
|
349
|
+
],
|
350
|
+
"memory": [
|
351
|
+
1024,
|
352
|
+
2048
|
353
|
+
]
|
354
|
+
},
|
355
|
+
"footprints": {
|
356
|
+
"memory": 2048,
|
357
|
+
"instances": 1
|
358
|
+
}
|
359
|
+
},
|
360
|
+
"space_guid": "space-id-2"
|
361
|
+
}
|
362
|
+
},
|
363
|
+
{
|
364
|
+
"metadata": {
|
365
|
+
"guid": "event-16"
|
366
|
+
},
|
367
|
+
"entity": {
|
368
|
+
"organization_guid": "organization-id-5",
|
369
|
+
"type": "audit.app.update",
|
370
|
+
"actor": "user-id",
|
371
|
+
"actor_type": "user",
|
372
|
+
"actee": "application-id-5",
|
373
|
+
"actee_type": "app",
|
374
|
+
"timestamp": "2012-11-01T12:12:00+00:00",
|
375
|
+
"metadata": {
|
376
|
+
"changes": {
|
377
|
+
"instances": [
|
378
|
+
1,
|
379
|
+
2
|
380
|
+
]
|
381
|
+
},
|
382
|
+
"footprints": {
|
383
|
+
"memory": 2048,
|
384
|
+
"instances": 2
|
385
|
+
}
|
386
|
+
},
|
387
|
+
"space_guid": "space-id-5"
|
388
|
+
}
|
389
|
+
},
|
390
|
+
{
|
391
|
+
"metadata": {
|
392
|
+
"guid": "event-17"
|
393
|
+
},
|
394
|
+
"entity": {
|
395
|
+
"organization_guid": "organization-id-5",
|
396
|
+
"type": "audit.app.update",
|
397
|
+
"actor": "user-id",
|
398
|
+
"actor_type": "user",
|
399
|
+
"actee": "application-id-5",
|
400
|
+
"actee_type": "app",
|
401
|
+
"timestamp": "2012-11-01T12:13:00+00:00",
|
402
|
+
"metadata": {
|
403
|
+
"changes": {
|
404
|
+
"memory": [
|
405
|
+
2048,
|
406
|
+
1024
|
407
|
+
]
|
408
|
+
},
|
409
|
+
"footprints": {
|
410
|
+
"memory": 1024,
|
411
|
+
"instances": 2
|
412
|
+
}
|
413
|
+
},
|
414
|
+
"space_guid": "space-id-5"
|
415
|
+
}
|
416
|
+
},
|
417
|
+
{
|
418
|
+
"metadata": {
|
419
|
+
"guid": "event-18"
|
420
|
+
},
|
421
|
+
"entity": {
|
422
|
+
"organization_guid": "organization-id-5",
|
423
|
+
"type": "audit.app.update",
|
424
|
+
"actor": "user-id",
|
425
|
+
"actor_type": "user",
|
426
|
+
"actee": "application-id-5",
|
427
|
+
"actee_type": "app",
|
428
|
+
"timestamp": "2012-11-01T12:14:00+00:00",
|
429
|
+
"metadata": {
|
430
|
+
"changes": {
|
431
|
+
"instances": [
|
432
|
+
2,
|
433
|
+
1
|
434
|
+
],
|
435
|
+
"memory": [
|
436
|
+
1024,
|
437
|
+
2048
|
438
|
+
]
|
439
|
+
},
|
440
|
+
"footprints": {
|
441
|
+
"memory": 2048,
|
442
|
+
"instances": 1
|
443
|
+
}
|
444
|
+
},
|
445
|
+
"space_guid": "space-id-5"
|
446
|
+
}
|
447
|
+
}
|
448
|
+
]
|
279
449
|
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cfoundry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.3.
|
4
|
+
version: 4.3.10
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-09-
|
13
|
+
date: 2013-09-27 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activemodel
|
@@ -460,18 +460,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
460
460
|
- - ! '>='
|
461
461
|
- !ruby/object:Gem::Version
|
462
462
|
version: '0'
|
463
|
-
segments:
|
464
|
-
- 0
|
465
|
-
hash: 1033216815776519906
|
466
463
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
467
464
|
none: false
|
468
465
|
requirements:
|
469
466
|
- - ! '>='
|
470
467
|
- !ruby/object:Gem::Version
|
471
468
|
version: '0'
|
472
|
-
segments:
|
473
|
-
- 0
|
474
|
-
hash: 1033216815776519906
|
475
469
|
requirements: []
|
476
470
|
rubyforge_project: cfoundry
|
477
471
|
rubygems_version: 1.8.25
|