cfoundry 4.3.6 → 4.3.7
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +456 -215
- data/lib/cfoundry/v2/base.rb +18 -1
- data/lib/cfoundry/v2/service.rb +2 -0
- data/lib/cfoundry/v2/service_plan.rb +2 -0
- data/lib/cfoundry/v2/space.rb +1 -0
- data/lib/cfoundry/version.rb +1 -1
- data/spec/cfoundry/v2/base_spec.rb +40 -3
- data/spec/cfoundry/v2/service_plan_spec.rb +48 -0
- data/spec/cfoundry/v2/service_spec.rb +58 -0
- data/spec/factories/services_factory.rb +10 -0
- metadata +9 -9
data/LICENSE
CHANGED
@@ -1,7 +1,8 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
Apache License
|
2
|
+
Version 2.0, January 2004
|
3
|
+
http://www.apache.org/licenses/
|
4
4
|
|
5
|
+
|
5
6
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
6
7
|
|
7
8
|
1. Definitions.
|
@@ -200,125 +201,89 @@
|
|
200
201
|
See the License for the specific language governing permissions and
|
201
202
|
limitations under the License.
|
202
203
|
|
203
|
-
=======================================================================
|
204
|
+
=======================================================================
|
204
205
|
|
205
|
-
VMC-Lib 1.0 GA:
|
206
206
|
|
207
|
-
|
208
|
-
separate copyright notices and license terms. The product that
|
209
|
-
includes this file does not necessarily use all the open source
|
210
|
-
subcomponents referred to below. Your use of the source
|
211
|
-
code for the these subcomponents is subject to the terms and
|
212
|
-
conditions of the following licenses.
|
207
|
+
cf-cfoundry:
|
213
208
|
|
209
|
+
cf-cfoundry: includes a number of subcomponents with separate copyright
|
210
|
+
notices and license terms. The product that includes this file
|
211
|
+
does not necessarily use all the open source subcomponents referred
|
212
|
+
to below. Your use of the source code for the these subcomponents
|
213
|
+
is subject to the terms and conditions of the following licenses.
|
214
214
|
|
215
|
-
SECTION 1: BSD-STYLE, MIT-STYLE, OR SIMILAR
|
215
|
+
SECTION 1: BSD-STYLE, MIT-STYLE, OR SIMILAR STYLE LICENSES
|
216
216
|
|
217
|
-
|
218
|
-
>>>
|
219
|
-
>>>
|
220
|
-
>>>
|
221
|
-
>>>
|
222
|
-
>>>
|
223
|
-
>>>
|
224
|
-
>>>
|
225
|
-
>>>
|
226
|
-
>>>
|
227
|
-
>>>
|
217
|
+
>>> builder-3.0.4
|
218
|
+
>>> diff-lcs-1.2.4
|
219
|
+
>>> factory_girl-4.2.0
|
220
|
+
>>> gem-release-0.6.0
|
221
|
+
>>> git-1.2.5
|
222
|
+
>>> hashie-2.0.5
|
223
|
+
>>> i18n-0.6.4
|
224
|
+
>>> metaclass-0.0.1
|
225
|
+
>>> multipart-post-1.2.0
|
226
|
+
>>> rake-10.1.0
|
227
|
+
>>> shoulda-matchers-1.5.6
|
228
|
+
>>> thor-0.18.1
|
228
229
|
|
229
230
|
|
230
231
|
|
231
|
-
SECTION 2:
|
232
|
+
SECTION 2: Apache License, V2.0
|
232
233
|
|
233
|
-
>>>
|
234
|
-
>>>
|
235
|
-
>>> rubyzip-0.9.8
|
234
|
+
>>> addressable-2.3.5
|
235
|
+
>>> cf-uaa-lib-1.3.10
|
236
236
|
|
237
237
|
|
238
238
|
|
239
|
-
|
240
|
-
|
241
|
-
>>> Ruby Clause-6
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
--------------- SECTION 1: BSD-STYLE, MIT-STYLE, OR SIMILAR STYLE LICENSES ----------
|
246
|
-
|
247
|
-
BSD-STYLE, MIT-STYLE, OR SIMILAR STYLE LICENSES are applicable to the following component(s).
|
239
|
+
SECTION 3: Ruby Clause-6
|
248
240
|
|
241
|
+
>>> highline-1.5.2
|
242
|
+
>>> json-1.4.6
|
243
|
+
>>> json_pure-1.8.0
|
244
|
+
>>> rubyzip-0.9.9
|
249
245
|
|
250
|
-
>>> cf-0.1.4
|
251
246
|
|
252
|
-
Copyright (c)2012, Alex Suraci
|
253
247
|
|
254
|
-
|
255
|
-
|
256
|
-
Redistribution and use in source and binary forms, with or without
|
257
|
-
modification, are permitted provided that the following conditions are met:
|
258
|
-
|
259
|
-
* Redistributions of source code must retain the above copyright
|
260
|
-
notice, this list of conditions and the following disclaimer.
|
261
|
-
|
262
|
-
* Redistributions in binary form must reproduce the above
|
263
|
-
copyright notice, this list of conditions and the following
|
264
|
-
disclaimer in the documentation and/or other materials provided
|
265
|
-
with the distribution.
|
248
|
+
APPENDIX. Standard License Files
|
266
249
|
|
267
|
-
|
268
|
-
contributors may be used to endorse or promote products derived
|
269
|
-
from this software without specific prior written permission.
|
250
|
+
>>> Ruby Clause-6
|
270
251
|
|
271
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
272
|
-
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
273
|
-
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
274
|
-
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
275
|
-
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
276
|
-
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
277
|
-
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
278
|
-
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
279
|
-
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
280
|
-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
281
|
-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
282
252
|
|
283
253
|
|
284
|
-
>>> cfoundry-0.1.1
|
285
254
|
|
286
|
-
|
255
|
+
--------------- SECTION 1: BSD-STYLE, MIT-STYLE, OR SIMILAR STYLE LICENSES ----------
|
287
256
|
|
288
|
-
|
257
|
+
BSD-STYLE, MIT-STYLE, OR SIMILAR STYLE LICENSES are applicable to the following component(s).
|
289
258
|
|
290
|
-
Redistribution and use in source and binary forms, with or without
|
291
|
-
modification, are permitted provided that the following conditions are met:
|
292
259
|
|
293
|
-
|
294
|
-
notice, this list of conditions and the following disclaimer.
|
260
|
+
>>> builder-3.0.4
|
295
261
|
|
296
|
-
|
297
|
-
copyright notice, this list of conditions and the following
|
298
|
-
disclaimer in the documentation and/or other materials provided
|
299
|
-
with the distribution.
|
262
|
+
Copyright (c) 2003-2012 Jim Weirich (jim.weirich@gmail.com)
|
300
263
|
|
301
|
-
|
302
|
-
|
303
|
-
|
264
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
265
|
+
a copy of this software and associated documentation files (the
|
266
|
+
"Software"), to deal in the Software without restriction, including
|
267
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
268
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
269
|
+
permit persons to whom the Software is furnished to do so, subject to
|
270
|
+
the following conditions:
|
304
271
|
|
305
|
-
|
306
|
-
|
307
|
-
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
308
|
-
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
309
|
-
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
310
|
-
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
311
|
-
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
312
|
-
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
313
|
-
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
314
|
-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
315
|
-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
272
|
+
The above copyright notice and this permission notice shall be
|
273
|
+
included in all copies or substantial portions of the Software.
|
316
274
|
|
275
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
276
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
277
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
278
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
279
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
280
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
281
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
317
282
|
|
318
|
-
>>> diff-lcs-1.1.3
|
319
283
|
|
320
|
-
|
284
|
+
>>> diff-lcs-1.2.4
|
321
285
|
|
286
|
+
[PLEASE NOTE: GOPIVOTAL, INC. ELECTS TO USE AND DISTRIBUTE THIS COMPONENT UNDER THE TERMS OF THE MIT LICENSE. PLEASE SEE BELOW FOR THE FULL TEXT OF THE MIT LICENSE. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.]
|
322
287
|
|
323
288
|
== License
|
324
289
|
|
@@ -326,12 +291,13 @@ This software is available under three licenses: the GNU GPL version 2 (or at
|
|
326
291
|
your option, a later version), the Perl Artistic license, or the MIT license.
|
327
292
|
Note that my preference for licensing is the MIT license, but Algorithm::Diff
|
328
293
|
was dually originally licensed with the Perl Artistic and the GNU GPL ("the
|
329
|
-
same terms as Perl itself") and that the Ruby implementation
|
330
|
-
closely to the Perl version,
|
294
|
+
same terms as Perl itself") and given that the Ruby implementation originally
|
295
|
+
hewed pretty closely to the Perl version, I must maintain the additional
|
296
|
+
licensing terms.
|
331
297
|
|
332
|
-
* Copyright
|
333
|
-
* Adapted from Algorithm::Diff (Perl) by Ned Konz and a Smalltalk
|
334
|
-
Mario I. Wolczko
|
298
|
+
* Copyright 20042013 Austin Ziegler.
|
299
|
+
* Adapted from Algorithm::Diff (Perl) by Ned Konz and a Smalltalk version by
|
300
|
+
Mario I. Wolczko.
|
335
301
|
|
336
302
|
=== MIT License
|
337
303
|
|
@@ -360,62 +326,80 @@ See the file docs/artistic.txt in the main distribution.
|
|
360
326
|
See the file docs/COPYING.txt in the main distribution.
|
361
327
|
|
362
328
|
|
363
|
-
>>>
|
329
|
+
>>> factory_girl-4.2.0
|
364
330
|
|
365
|
-
Copyright (c)
|
331
|
+
Copyright (c) 2008-2013 Joe Ferris and thoughtbot, inc.
|
366
332
|
|
367
|
-
|
333
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
334
|
+
of this software and associated documentation files (the "Software"), to deal
|
335
|
+
in the Software without restriction, including without limitation the rights
|
336
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
337
|
+
copies of the Software, and to permit persons to whom the Software is
|
338
|
+
furnished to do so, subject to the following conditions:
|
368
339
|
|
369
|
-
|
370
|
-
|
340
|
+
The above copyright notice and this permission notice shall be included in
|
341
|
+
all copies or substantial portions of the Software.
|
371
342
|
|
372
|
-
|
373
|
-
|
343
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
344
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
345
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
346
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
347
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
348
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
349
|
+
THE SOFTWARE.
|
374
350
|
|
375
|
-
* Redistributions in binary form must reproduce the above
|
376
|
-
copyright notice, this list of conditions and the following
|
377
|
-
disclaimer in the documentation and/or other materials provided
|
378
|
-
with the distribution.
|
379
351
|
|
380
|
-
|
381
|
-
contributors may be used to endorse or promote products derived
|
382
|
-
from this software without specific prior written permission.
|
352
|
+
>>> gem-release-0.6.0
|
383
353
|
|
384
|
-
|
385
|
-
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
386
|
-
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
387
|
-
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
388
|
-
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
389
|
-
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
390
|
-
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
391
|
-
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
392
|
-
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
393
|
-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
394
|
-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
354
|
+
MIT LICENSE
|
395
355
|
|
356
|
+
Copyright (c) <% year %> <%= author %> <<%= email %>>
|
396
357
|
|
397
|
-
|
358
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
359
|
+
of this software and associated documentation files (the "Software"), to deal
|
360
|
+
in the Software without restriction, including without limitation the rights
|
361
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
362
|
+
copies of the Software, and to permit persons to whom the Software is
|
363
|
+
furnished to do so, subject to the following conditions:
|
398
364
|
|
399
|
-
|
365
|
+
The above copyright notice and this permission notice shall be included in
|
366
|
+
all copies or substantial portions of the Software.
|
400
367
|
|
401
|
-
|
368
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
369
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
370
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
371
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
372
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
373
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
374
|
+
THE SOFTWARE.
|
402
375
|
|
403
|
-
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
404
376
|
|
405
|
-
|
377
|
+
>>> git-1.2.5
|
406
378
|
|
407
|
-
|
379
|
+
Copyright (c) 2008 Scott Chacon
|
408
380
|
|
409
|
-
|
381
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
382
|
+
of this software and associated documentation files (the "Software"), to deal
|
383
|
+
in the Software without restriction, including without limitation the rights
|
384
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
385
|
+
copies of the Software, and to permit persons to whom the Software is
|
386
|
+
furnished to do so, subject to the following conditions:
|
410
387
|
|
411
|
-
|
388
|
+
The above copyright notice and this permission notice shall be included in
|
389
|
+
all copies or substantial portions of the Software.
|
412
390
|
|
391
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
392
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
393
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
394
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
395
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
396
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
397
|
+
THE SOFTWARE.
|
413
398
|
|
414
|
-
>>> rest-client-1.6.7
|
415
399
|
|
416
|
-
|
400
|
+
>>> hashie-2.0.5
|
417
401
|
|
418
|
-
Copyright (c)
|
402
|
+
Copyright (c) 2009 Intridea, Inc.
|
419
403
|
|
420
404
|
Permission is hereby granted, free of charge, to any person obtaining
|
421
405
|
a copy of this software and associated documentation files (the
|
@@ -437,13 +421,9 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
437
421
|
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
438
422
|
|
439
423
|
|
440
|
-
>>>
|
441
|
-
|
442
|
-
(The MIT License)
|
424
|
+
>>> i18n-0.6.4
|
443
425
|
|
444
|
-
Copyright (c)
|
445
|
-
Copyright (c) 2006 David Chelimsky, The RSpec Development Team
|
446
|
-
Copyright (c) 2005 Steven Baker
|
426
|
+
Copyright (c) 2008 The Ruby I18n team
|
447
427
|
|
448
428
|
Permission is hereby granted, free of charge, to any person obtaining
|
449
429
|
a copy of this software and associated documentation files (the
|
@@ -458,40 +438,110 @@ included in all copies or substantial portions of the Software.
|
|
458
438
|
|
459
439
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
460
440
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
461
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
462
|
-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
463
|
-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
464
|
-
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
465
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
441
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
442
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
443
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
444
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
445
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
466
446
|
|
467
447
|
|
468
|
-
|
448
|
+
ADDITIONAL LICENSE INFORMATION:
|
469
449
|
|
470
|
-
|
450
|
+
> Ruby License
|
471
451
|
|
472
|
-
|
452
|
+
i18n-0.6.1.gem.tar\data.tar.gz\data.tar\lib\i18n\gettext\po_parser.rb
|
473
453
|
|
474
|
-
Copyright (
|
454
|
+
Copyright (C) 2003-2009 Masao Mutoh <mutoh at highway.ne.jp>
|
475
455
|
|
476
|
-
|
456
|
+
You may redistribute it and/or modify it under the same
|
457
|
+
license terms as Ruby.
|
477
458
|
|
478
|
-
|
459
|
+
1. You may make and give away verbatim copies of the source form of the
|
460
|
+
software without restriction, provided that you duplicate all of the
|
461
|
+
original copyright notices and associated disclaimers.
|
479
462
|
|
480
|
-
|
463
|
+
2. You may modify your copy of the software in any way, provided that
|
464
|
+
you do at least ONE of the following:
|
481
465
|
|
482
|
-
|
466
|
+
a) place your modifications in the Public Domain or otherwise
|
467
|
+
make them Freely Available, such as by posting said
|
468
|
+
modifications to Usenet or an equivalent medium, or by allowing
|
469
|
+
the author to include your modifications in the software.
|
483
470
|
|
471
|
+
b) use the modified software only within your corporation or
|
472
|
+
organization.
|
473
|
+
|
474
|
+
c) give non-standard binaries non-standard names, with
|
475
|
+
instructions on where to get the original software distribution.
|
476
|
+
|
477
|
+
d) make other distribution arrangements with the author.
|
478
|
+
|
479
|
+
3. You may distribute the software in object code or binary form,
|
480
|
+
provided that you do at least ONE of the following:
|
481
|
+
|
482
|
+
a) distribute the binaries and library files of the software,
|
483
|
+
together with instructions (in the manual page or equivalent)
|
484
|
+
on where to get the original distribution.
|
485
|
+
|
486
|
+
b) accompany the distribution with the machine-readable source of
|
487
|
+
the software.
|
488
|
+
|
489
|
+
c) give non-standard binaries non-standard names, with
|
490
|
+
instructions on where to get the original software distribution.
|
491
|
+
|
492
|
+
d) make other distribution arrangements with the author.
|
493
|
+
|
494
|
+
4. You may modify and include the part of the software into any other
|
495
|
+
software (possibly commercial). But some files in the distribution
|
496
|
+
are not written by the author, so that they are not under these terms.
|
497
|
+
|
498
|
+
For the list of those files and their copying conditions, see the
|
499
|
+
file LEGAL.
|
500
|
+
|
501
|
+
5. The scripts and library files supplied as input to or produced as
|
502
|
+
output from the software do not automatically fall under the
|
503
|
+
copyright of the software, but belong to whomever generated them,
|
504
|
+
and may be sold commercially, and may be aggregated with this
|
505
|
+
software.
|
506
|
+
|
507
|
+
6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
|
508
|
+
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
509
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
510
|
+
PURPOSE.
|
484
511
|
|
485
|
-
>>> rspec-expectations-2.10.0
|
486
512
|
|
487
|
-
|
513
|
+
>>> metaclass-0.0.1
|
488
514
|
|
489
|
-
|
490
|
-
|
515
|
+
== Licence (MIT)
|
516
|
+
|
517
|
+
Copyright (c) 2011 James Mead
|
518
|
+
|
519
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
520
|
+
of this software and associated documentation files (the "Software"), to deal
|
521
|
+
in the Software without restriction, including without limitation the rights
|
522
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
523
|
+
copies of the Software, and to permit persons to whom the Software is
|
524
|
+
furnished to do so, subject to the following conditions:
|
525
|
+
|
526
|
+
The above copyright notice and this permission notice shall be included in all
|
527
|
+
copies or substantial portions of the Software.
|
528
|
+
|
529
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
530
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
531
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
532
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
533
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
534
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
535
|
+
SOFTWARE.
|
536
|
+
|
537
|
+
|
538
|
+
>>> multipart-post-1.2.0
|
539
|
+
|
540
|
+
Copyright (c) 2007-2012 Nick Sieger nick@nicksieger.com
|
491
541
|
|
492
542
|
Permission is hereby granted, free of charge, to any person obtaining
|
493
543
|
a copy of this software and associated documentation files (the
|
494
|
-
|
544
|
+
'Software'), to deal in the Software without restriction, including
|
495
545
|
without limitation the rights to use, copy, modify, merge, publish,
|
496
546
|
distribute, sublicense, and/or sell copies of the Software, and to
|
497
547
|
permit persons to whom the Software is furnished to do so, subject to
|
@@ -500,7 +550,7 @@ the following conditions:
|
|
500
550
|
The above copyright notice and this permission notice shall be
|
501
551
|
included in all copies or substantial portions of the Software.
|
502
552
|
|
503
|
-
THE SOFTWARE IS PROVIDED
|
553
|
+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
504
554
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
505
555
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
506
556
|
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
@@ -509,12 +559,9 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
509
559
|
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
510
560
|
|
511
561
|
|
512
|
-
>>>
|
562
|
+
>>> rake-10.1.0
|
513
563
|
|
514
|
-
(
|
515
|
-
|
516
|
-
Copyright (c) 2006 David Chelimsky, The RSpec Development Team
|
517
|
-
Copyright (c) 2005 Steven Baker
|
564
|
+
Copyright (c) 2003, 2004 Jim Weirich
|
518
565
|
|
519
566
|
Permission is hereby granted, free of charge, to any person obtaining
|
520
567
|
a copy of this software and associated documentation files (the
|
@@ -529,16 +576,42 @@ included in all copies or substantial portions of the Software.
|
|
529
576
|
|
530
577
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
531
578
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
532
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
533
|
-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
534
|
-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
535
|
-
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
536
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
579
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
580
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
581
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
582
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
583
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
584
|
+
|
585
|
+
|
586
|
+
>>> shoulda-matchers-1.5.6
|
587
|
+
|
588
|
+
Copyright (c) 2006-2013, Tammer Saleh, thoughtbot, inc.
|
537
589
|
|
590
|
+
Permission is hereby granted, free of charge, to any person
|
591
|
+
obtaining a copy of this software and associated documentation
|
592
|
+
files (the "Software"), to deal in the Software without
|
593
|
+
restriction, including without limitation the rights to use,
|
594
|
+
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
595
|
+
copies of the Software, and to permit persons to whom the
|
596
|
+
Software is furnished to do so, subject to the following
|
597
|
+
conditions:
|
538
598
|
|
539
|
-
|
599
|
+
The above copyright notice and this permission notice shall be
|
600
|
+
included in all copies or substantial portions of the Software.
|
601
|
+
|
602
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
603
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
604
|
+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
605
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
606
|
+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
607
|
+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
608
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
609
|
+
OTHER DEALINGS IN THE SOFTWARE.
|
540
610
|
|
541
|
-
|
611
|
+
|
612
|
+
>>> thor-0.18.1
|
613
|
+
|
614
|
+
Copyright (c) 2008 Yehuda Katz, Eric Hodel, et al.
|
542
615
|
|
543
616
|
Permission is hereby granted, free of charge, to any person obtaining
|
544
617
|
a copy of this software and associated documentation files (the
|
@@ -560,20 +633,135 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
560
633
|
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
561
634
|
|
562
635
|
|
563
|
-
--------------- SECTION 2:
|
636
|
+
--------------- SECTION 2: Apache License, V2.0 ----------
|
637
|
+
|
638
|
+
Apache License, V2.0 is applicable to the following component(s).
|
639
|
+
|
640
|
+
|
641
|
+
>>> addressable-2.3.5
|
642
|
+
|
643
|
+
coding: utf-8
|
644
|
+
Copyright (C) 2006-2013 Bob Aman
|
645
|
+
|
646
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
647
|
+
you may not use this file except in compliance with the License.
|
648
|
+
You may obtain a copy of the License at
|
649
|
+
|
650
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
651
|
+
|
652
|
+
Unless required by applicable law or agreed to in writing, software
|
653
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
654
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
655
|
+
See the License for the specific language governing permissions and
|
656
|
+
limitations under the License.
|
657
|
+
|
658
|
+
|
659
|
+
>>> cf-uaa-lib-1.3.10
|
660
|
+
|
661
|
+
Cloud Foundry 2012.02.03 Beta
|
662
|
+
Copyright (c) [2009-2012] VMware, Inc. All Rights Reserved.
|
663
|
+
|
664
|
+
This product is licensed to you under the Apache License, Version 2.0 (the "License").
|
665
|
+
You may not use this product except in compliance with the License.
|
666
|
+
|
667
|
+
This product includes a number of subcomponents with
|
668
|
+
separate copyright notices and license terms. Your use of these
|
669
|
+
subcomponents is subject to the terms and conditions of the
|
670
|
+
subcomponent's license, as noted in the LICENSE file.
|
671
|
+
|
672
|
+
|
673
|
+
--------------- SECTION 3: Ruby Clause-6 ----------
|
674
|
+
|
675
|
+
Ruby Clause-6 is applicable to the following component(s).
|
676
|
+
|
677
|
+
|
678
|
+
>>> highline-1.5.2
|
679
|
+
|
680
|
+
[PLEASE NOTE: GOPIVOTAL, INC. ELECTS TO USE AND DISTRIBUTE THIS COMPONENT UNDER THE TERMS OF THE RUBY LICENSE. PLEASE SEE BELOW FOR THE FULL TEXT OF THE RUBY LICENSE. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.]
|
681
|
+
|
682
|
+
|
683
|
+
Created by James Edward Gray II on 2005-04-26.
|
684
|
+
Copyright 2005 Gray Productions. All rights reserved.
|
685
|
+
|
686
|
+
License Terms
|
687
|
+
|
688
|
+
Distributed under the user's choice of the {GPL Version 2}[http://www.gnu.org/licenses/old-licenses/gpl-2.0.html] (see COPYING for details) or the
|
689
|
+
{Ruby software license}[http://www.ruby-lang.org/en/LICENSE.txt] by
|
690
|
+
James Edward Gray II and Greg Brown.
|
564
691
|
|
565
|
-
|
692
|
+
Please email James[mailto:james@grayproductions.net] with any questions.
|
566
693
|
|
694
|
+
Ruby is copyrighted free software by Yukihiro Matsumoto <matz@netlab.co.jp>.
|
695
|
+
You can redistribute it and/or modify it under either the terms of the GPL
|
696
|
+
(see COPYING.txt file), or the conditions below:
|
697
|
+
|
698
|
+
1. You may make and give away verbatim copies of the source form of the
|
699
|
+
software without restriction, provided that you duplicate all of the
|
700
|
+
original copyright notices and associated disclaimers.
|
701
|
+
|
702
|
+
2. You may modify your copy of the software in any way, provided that
|
703
|
+
you do at least ONE of the following:
|
704
|
+
|
705
|
+
a) place your modifications in the Public Domain or otherwise
|
706
|
+
make them Freely Available, such as by posting said
|
707
|
+
modifications to Usenet or an equivalent medium, or by allowing
|
708
|
+
the author to include your modifications in the software.
|
709
|
+
|
710
|
+
b) use the modified software only within your corporation or
|
711
|
+
organization.
|
712
|
+
|
713
|
+
c) rename any non-standard executables so the names do not conflict
|
714
|
+
with standard executables, which must also be provided.
|
715
|
+
|
716
|
+
d) make other distribution arrangements with the author.
|
717
|
+
|
718
|
+
3. You may distribute the software in object code or executable
|
719
|
+
form, provided that you do at least ONE of the following:
|
720
|
+
|
721
|
+
a) distribute the executables and library files of the software,
|
722
|
+
together with instructions (in the manual page or equivalent)
|
723
|
+
on where to get the original distribution.
|
724
|
+
|
725
|
+
b) accompany the distribution with the machine-readable source of
|
726
|
+
the software.
|
727
|
+
|
728
|
+
c) give non-standard executables non-standard names, with
|
729
|
+
instructions on where to get the original software distribution.
|
730
|
+
|
731
|
+
d) make other distribution arrangements with the author.
|
732
|
+
|
733
|
+
4. You may modify and include the part of the software into any other
|
734
|
+
software (possibly commercial). But some files in the distribution
|
735
|
+
are not written by the author, so that they are not under this terms.
|
736
|
+
|
737
|
+
They are gc.c(partly), utils.c(partly), regex.[ch], st.[ch] and some
|
738
|
+
files under the ./missing directory. See each file for the copying
|
739
|
+
condition.
|
740
|
+
|
741
|
+
5. The scripts and library files supplied as input to or produced as
|
742
|
+
output from the software do not automatically fall under the
|
743
|
+
copyright of the software, but belong to whomever generated them,
|
744
|
+
and may be sold commercially, and may be aggregated with this
|
745
|
+
software.
|
567
746
|
|
568
|
-
|
747
|
+
6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
|
748
|
+
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
749
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
750
|
+
PURPOSE.
|
569
751
|
|
570
|
-
[PLEASE NOTE: VMWARE, INC. ELECTS TO USE AND DISTRIBUTE THIS COMPONENT UNDER THE TERMS OF THE RUBY LICENSE STATED BELOW. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.]
|
571
752
|
|
753
|
+
>>> json-1.4.6
|
572
754
|
|
573
|
-
|
574
|
-
|
755
|
+
[PLEASE NOTE: GOPIVOTAL, INC. ELECTS TO USE AND DISTRIBUTE THIS COMPONENT UNDER THE TERMS OF THE RUBY CLAUSE-6 LICENSE. PLEASE SEE THE APPENDIX TO REVIEW THE FULL TEXT OF THE RUBY CLAUSE-6 LICENSE. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.]
|
756
|
+
|
757
|
+
License
|
758
|
+
|
759
|
+
This is software is distributed under the same license as Ruby itself. See http://www.ruby-lang.org/en/LICENSE.txt.
|
760
|
+
|
761
|
+
|
762
|
+
Ruby is copyrighted free software by Yukihiro Matsumoto <matz@netlab.co.jp>.
|
575
763
|
You can redistribute it and/or modify it under either the terms of the GPL
|
576
|
-
|
764
|
+
(see COPYING.txt file), or the conditions below:
|
577
765
|
|
578
766
|
1. You may make and give away verbatim copies of the source form of the
|
579
767
|
software without restriction, provided that you duplicate all of the
|
@@ -590,36 +778,37 @@ version 2 (see the file GPL), or the conditions below:
|
|
590
778
|
b) use the modified software only within your corporation or
|
591
779
|
organization.
|
592
780
|
|
593
|
-
c)
|
594
|
-
|
781
|
+
c) rename any non-standard executables so the names do not conflict
|
782
|
+
with standard executables, which must also be provided.
|
595
783
|
|
596
784
|
d) make other distribution arrangements with the author.
|
597
785
|
|
598
|
-
3. You may distribute the software in object code or
|
599
|
-
provided that you do at least ONE of the following:
|
786
|
+
3. You may distribute the software in object code or executable
|
787
|
+
form, provided that you do at least ONE of the following:
|
600
788
|
|
601
|
-
a) distribute the
|
789
|
+
a) distribute the executables and library files of the software,
|
602
790
|
together with instructions (in the manual page or equivalent)
|
603
791
|
on where to get the original distribution.
|
604
792
|
|
605
793
|
b) accompany the distribution with the machine-readable source of
|
606
794
|
the software.
|
607
795
|
|
608
|
-
c) give non-standard
|
796
|
+
c) give non-standard executables non-standard names, with
|
609
797
|
instructions on where to get the original software distribution.
|
610
798
|
|
611
799
|
d) make other distribution arrangements with the author.
|
612
800
|
|
613
801
|
4. You may modify and include the part of the software into any other
|
614
802
|
software (possibly commercial). But some files in the distribution
|
615
|
-
are not written by the author, so that they are not under
|
803
|
+
are not written by the author, so that they are not under this terms.
|
616
804
|
|
617
|
-
|
618
|
-
file
|
805
|
+
They are gc.c(partly), utils.c(partly), regex.[ch], st.[ch] and some
|
806
|
+
files under the ./missing directory. See each file for the copying
|
807
|
+
condition.
|
619
808
|
|
620
|
-
5. The scripts and library files supplied as input to or produced as
|
809
|
+
5. The scripts and library files supplied as input to or produced as
|
621
810
|
output from the software do not automatically fall under the
|
622
|
-
copyright of the software, but belong to whomever generated them,
|
811
|
+
copyright of the software, but belong to whomever generated them,
|
623
812
|
and may be sold commercially, and may be aggregated with this
|
624
813
|
software.
|
625
814
|
|
@@ -629,32 +818,84 @@ version 2 (see the file GPL), or the conditions below:
|
|
629
818
|
PURPOSE.
|
630
819
|
|
631
820
|
|
632
|
-
>>>
|
821
|
+
>>> json_pure-1.8.0
|
822
|
+
|
823
|
+
[PLEASE NOTE: GOPIVOTAL, INC. ELECTS TO USE AND DISTRIBUTE THIS COMPONENT UNDER THE TERMS OF THE RUBYCLAUSE-6 LICENSE. PLEASE SEE THE APPENDIX TO REVIEW THE FULL TEXT OF THE RUBYCLAUSE-6 LICENSE. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE]
|
824
|
+
|
825
|
+
This code is copyrighted work by Daniel Luz <dev at mernen dot com>.
|
826
|
+
|
827
|
+
Distributed under the Ruby and GPLv2 licenses; see COPYING and GPL files
|
828
|
+
for details.
|
829
|
+
|
830
|
+
|
831
|
+
>>> rubyzip-0.9.9
|
832
|
+
|
833
|
+
License
|
834
|
+
|
835
|
+
rubyzip is distributed under the same license as ruby. See
|
836
|
+
http://www.ruby-lang.org/en/LICENSE.txt
|
837
|
+
|
838
|
+
[PLEASE NOTE: GOPIVOTAL, INC. ELECTS TO USE AND DISTRIBUTE THIS COMPONENT UNDER THE TERMS OF THE Ruby Clause-6. PLEASE SEE THE APPENDIX TO REVIEW THE FULL TEXT OF THE Ruby Clause-6. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.]
|
839
|
+
|
840
|
+
Ruby is copyrighted free software by Yukihiro Matsumoto <matz@netlab.jp>.
|
841
|
+
You can redistribute it and/or modify it under either the terms of the
|
842
|
+
2-clause BSDL (see the file BSDL), or the conditions below:
|
843
|
+
|
844
|
+
1. You may make and give away verbatim copies of the source form of the
|
845
|
+
software without restriction, provided that you duplicate all of the
|
846
|
+
original copyright notices and associated disclaimers.
|
847
|
+
|
848
|
+
2. You may modify your copy of the software in any way, provided that
|
849
|
+
you do at least ONE of the following:
|
850
|
+
|
851
|
+
a) place your modifications in the Public Domain or otherwise
|
852
|
+
make them Freely Available, such as by posting said
|
853
|
+
modifications to Usenet or an equivalent medium, or by allowing
|
854
|
+
the author to include your modifications in the software.
|
855
|
+
|
856
|
+
b) use the modified software only within your corporation or
|
857
|
+
organization.
|
858
|
+
|
859
|
+
c) give non-standard binaries non-standard names, with
|
860
|
+
instructions on where to get the original software distribution.
|
633
861
|
|
634
|
-
|
862
|
+
d) make other distribution arrangements with the author.
|
635
863
|
|
636
|
-
|
864
|
+
3. You may distribute the software in object code or binary form,
|
865
|
+
provided that you do at least ONE of the following:
|
637
866
|
|
638
|
-
|
639
|
-
|
640
|
-
the
|
641
|
-
{Perl Artistic licence}[http://www.perl.com/pub/a/language/misc/Artistic.html],
|
642
|
-
or the {GNU GPL version 2}[http://www.gnu.org/licenses/old-licenses/gpl-2.0.html]
|
643
|
-
(or at your option, any later verison).
|
867
|
+
a) distribute the binaries and library files of the software,
|
868
|
+
together with instructions (in the manual page or equivalent)
|
869
|
+
on where to get the original distribution.
|
644
870
|
|
645
|
-
|
871
|
+
b) accompany the distribution with the machine-readable source of
|
872
|
+
the software.
|
646
873
|
|
647
|
-
|
874
|
+
c) give non-standard binaries non-standard names, with
|
875
|
+
instructions on where to get the original software distribution.
|
648
876
|
|
877
|
+
d) make other distribution arrangements with the author.
|
649
878
|
|
650
|
-
|
879
|
+
4. You may modify and include the part of the software into any other
|
880
|
+
software (possibly commercial). But some files in the distribution
|
881
|
+
are not written by the author, so that they are not under these terms.
|
882
|
+
|
883
|
+
For the list of those files and their copying conditions, see the
|
884
|
+
file LEGAL.
|
885
|
+
|
886
|
+
5. The scripts and library files supplied as input to or produced as
|
887
|
+
output from the software do not automatically fall under the
|
888
|
+
copyright of the software, but belong to whomever generated them,
|
889
|
+
and may be sold commercially, and may be aggregated with this
|
890
|
+
software.
|
651
891
|
|
652
|
-
|
653
|
-
|
654
|
-
|
892
|
+
6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
|
893
|
+
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
894
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
895
|
+
PURPOSE.
|
655
896
|
|
656
897
|
|
657
|
-
=============== APPENDIX. Standard License Files ==============
|
898
|
+
=============== APPENDIX. Standard License Files ==============
|
658
899
|
|
659
900
|
|
660
901
|
|
@@ -668,7 +909,7 @@ You can redistribute it and/or modify it under either the terms of the GPL
|
|
668
909
|
software without restriction, provided that you duplicate all of the
|
669
910
|
original copyright notices and associated disclaimers.
|
670
911
|
|
671
|
-
|
912
|
+
|
672
913
|
2. You may modify your copy of the software in any way, provided that
|
673
914
|
you do at least ONE of the following:
|
674
915
|
|
@@ -685,7 +926,7 @@ You can redistribute it and/or modify it under either the terms of the GPL
|
|
685
926
|
|
686
927
|
d) make other distribution arrangements with the author.
|
687
928
|
|
688
|
-
|
929
|
+
|
689
930
|
3. You may distribute the software in object code or executable
|
690
931
|
form, provided that you do at least ONE of the following:
|
691
932
|
|
@@ -701,7 +942,7 @@ You can redistribute it and/or modify it under either the terms of the GPL
|
|
701
942
|
|
702
943
|
d) make other distribution arrangements with the author.
|
703
944
|
|
704
|
-
|
945
|
+
|
705
946
|
4. You may modify and include the part of the software into any other
|
706
947
|
software (possibly commercial). But some files in the distribution
|
707
948
|
are not written by the author, so that they are not under this terms.
|
@@ -710,7 +951,7 @@ You can redistribute it and/or modify it under either the terms of the GPL
|
|
710
951
|
files under the ./missing directory. See each file for the copying
|
711
952
|
condition.
|
712
953
|
|
713
|
-
|
954
|
+
|
714
955
|
5. The scripts and library files supplied as input to or produced as
|
715
956
|
output from the software do not automatically fall under the
|
716
957
|
copyright of the software, but belong to whomever generated them,
|
@@ -733,14 +974,14 @@ available (as would be noted above), you may obtain a copy of
|
|
733
974
|
the source code corresponding to the binaries for such open
|
734
975
|
source components and modifications thereto, if any, (the
|
735
976
|
"Source Files"), by downloading the Source Files from VMware's website at
|
736
|
-
http://www.vmware.com/download/open_source.html, or by sending a request,
|
737
|
-
your name and address to:
|
738
|
-
|
739
|
-
requests should clearly specify: OPEN SOURCE FILES REQUEST,
|
740
|
-
Attention General Counsel.
|
977
|
+
http://www.vmware.com/download/open_source.html, or by sending a request,
|
978
|
+
with your name and address to: GoPivotal, Inc., 1900 S. Norfolk Street #125,
|
979
|
+
San Mateo, CA 94403, Attention: General Counsel.
|
980
|
+
All such requests should clearly specify: OPEN SOURCE FILES REQUEST,
|
981
|
+
Attention General Counsel. GoPivotal shall mail a copy of the
|
741
982
|
Source Files to you on a CD or equivalent physical medium. This
|
742
983
|
offer to obtain a copy of the Source Files is valid for three
|
743
|
-
years from the date you acquired this Software product. Alternatively,
|
744
|
-
the Source Files may accompany the
|
984
|
+
years from the date you acquired this Software product. Alternatively,
|
985
|
+
the Source Files may accompany the GoPivotal product.
|
745
986
|
|
746
|
-
[
|
987
|
+
[CFCFOUNDRY8152013AV081913]
|
data/lib/cfoundry/v2/base.rb
CHANGED
@@ -28,11 +28,28 @@ module CFoundry::V2
|
|
28
28
|
"application/zip")
|
29
29
|
end
|
30
30
|
|
31
|
-
put("v2", "apps", guid, "bits",
|
31
|
+
response = put("v2", "apps", guid, "bits",
|
32
|
+
:payload => payload,
|
33
|
+
:params => {"async" => "true"},
|
34
|
+
:accept => :json)
|
35
|
+
|
36
|
+
poll_upload_until_finished(response[:metadata][:guid])
|
32
37
|
rescue EOFError
|
33
38
|
retry
|
34
39
|
end
|
35
40
|
|
41
|
+
def poll_upload_until_finished(guid)
|
42
|
+
while true
|
43
|
+
response = get("v2", "jobs", guid, :accept => :json)
|
44
|
+
break if response[:entity][:status] == "finished"
|
45
|
+
|
46
|
+
if response[:entity][:status] == "failed"
|
47
|
+
raise CFoundry::BadResponse
|
48
|
+
end
|
49
|
+
sleep 0.2
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
36
53
|
def files(guid, instance, *path)
|
37
54
|
get("v2", "apps", guid, "instances", instance, "files", *path)
|
38
55
|
end
|
data/lib/cfoundry/v2/service.rb
CHANGED
@@ -4,6 +4,7 @@ module CFoundry::V2
|
|
4
4
|
class Service < Model
|
5
5
|
attribute :label, String
|
6
6
|
attribute :provider, String
|
7
|
+
attribute :unique_id, String
|
7
8
|
attribute :url, :url
|
8
9
|
attribute :description, String
|
9
10
|
attribute :version, String
|
@@ -13,6 +14,7 @@ module CFoundry::V2
|
|
13
14
|
attribute :timeout, Integer, :default => nil
|
14
15
|
attribute :active, :boolean, :default => false
|
15
16
|
attribute :extra, String
|
17
|
+
attribute :tags, [String]
|
16
18
|
to_many :service_plans
|
17
19
|
|
18
20
|
queryable_by :service_plan_guid
|
data/lib/cfoundry/v2/space.rb
CHANGED
data/lib/cfoundry/version.rb
CHANGED
@@ -245,10 +245,19 @@ describe CFoundry::V2::Base do
|
|
245
245
|
describe "#upload_app" do
|
246
246
|
let(:guid) { "some-guid" }
|
247
247
|
let(:bits) { "some-bits" }
|
248
|
+
let(:job_guid) { "123abc" }
|
248
249
|
let(:fake_zipfile) { File.new("#{SPEC_ROOT}/fixtures/empty_file") }
|
250
|
+
let(:upload_response) { %Q({"metadata":{"guid":"#{job_guid}"}}) }
|
251
|
+
|
252
|
+
before do
|
253
|
+
base.should_receive(:poll_upload_until_finished).with(job_guid)
|
254
|
+
end
|
249
255
|
|
250
256
|
it "makes a PUT request to the app bits endpoint with the correct payload" do
|
251
|
-
stub = stub_request(:put, "https://api.example.com/v2/apps/#{guid}/bits"
|
257
|
+
stub = stub_request(:put, "https://api.example.com/v2/apps/#{guid}/bits?async=true"
|
258
|
+
).to_return(
|
259
|
+
:body => upload_response
|
260
|
+
)
|
252
261
|
base.upload_app(guid, fake_zipfile)
|
253
262
|
expect(stub).to have_been_requested
|
254
263
|
end
|
@@ -258,12 +267,12 @@ describe CFoundry::V2::Base do
|
|
258
267
|
stub =
|
259
268
|
stub_request(
|
260
269
|
:put,
|
261
|
-
"https://api.example.com/v2/apps/#{guid}/bits"
|
270
|
+
"https://api.example.com/v2/apps/#{guid}/bits?async=true"
|
262
271
|
).with { |request|
|
263
272
|
request.body =~ /name="resources"/ &&
|
264
273
|
request.body !~ /name="application"/
|
265
274
|
}.to_return(
|
266
|
-
:body =>
|
275
|
+
:body => upload_response
|
267
276
|
)
|
268
277
|
base.upload_app(guid)
|
269
278
|
expect(stub).to have_been_requested
|
@@ -271,6 +280,34 @@ describe CFoundry::V2::Base do
|
|
271
280
|
end
|
272
281
|
end
|
273
282
|
|
283
|
+
describe "#poll_upload_until_finished" do
|
284
|
+
let(:job_guid) { "123abc" }
|
285
|
+
|
286
|
+
it "makes a GET request" do
|
287
|
+
stub = WebMock::API.stub_request(:get, "https://api.example.com/v2/jobs/#{job_guid}"
|
288
|
+
).to_return(
|
289
|
+
:body => %q({"metadata":{"guid":"123abc"},"entity":{"status":"running"}})
|
290
|
+
).times(2).then.to_return(
|
291
|
+
:body => %q({"metadata":{"guid":"123abc"},"entity":{"status":"finished"}})
|
292
|
+
)
|
293
|
+
base.poll_upload_until_finished(job_guid)
|
294
|
+
expect(stub).to have_been_requested.times(3)
|
295
|
+
end
|
296
|
+
|
297
|
+
it "raises CFoundry::BadResponse if upload fails" do
|
298
|
+
stub = WebMock::API.stub_request(:get, "https://api.example.com/v2/jobs/#{job_guid}"
|
299
|
+
).to_return(
|
300
|
+
:body => %q({"metadata":{"guid":"123abc"},"entity":{"status":"running"}})
|
301
|
+
).times(2).then.to_return(
|
302
|
+
:body => %q({"metadata":{"guid":"123abc"},"entity":{"status":"failed"}})
|
303
|
+
)
|
304
|
+
expect {
|
305
|
+
base.poll_upload_until_finished(job_guid)
|
306
|
+
}.to raise_error(CFoundry::BadResponse)
|
307
|
+
expect(stub).to have_been_requested.times(3)
|
308
|
+
end
|
309
|
+
end
|
310
|
+
|
274
311
|
describe "#stream_file" do
|
275
312
|
let(:app_guid) { "1234" }
|
276
313
|
let(:instance_guid) { "3456" }
|
@@ -0,0 +1,48 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
module CFoundry
|
4
|
+
module V2
|
5
|
+
describe ServicePlan do
|
6
|
+
let(:client) { build(:client) }
|
7
|
+
|
8
|
+
subject do
|
9
|
+
build(:service_plan)
|
10
|
+
end
|
11
|
+
|
12
|
+
before :each do
|
13
|
+
stub_request(:get, /\/service_plans\/service-plan-guid-\d{1,2}/).to_return :status => 200,
|
14
|
+
:headers => {'Content-Type' => 'application/json'},
|
15
|
+
:body => <<EOF
|
16
|
+
{
|
17
|
+
"metadata": {
|
18
|
+
"guid": "d1251ac1-fe42-4b4a-84d4-e31e95b547d8",
|
19
|
+
"url": "/v2/service_plans/d1251ac1-fe42-4b4a-84d4-e31e95b547d8",
|
20
|
+
"created_at": "2013-08-28T12:28:35+04:00",
|
21
|
+
"updated_at": "2013-08-28T12:33:27+04:00"
|
22
|
+
},
|
23
|
+
"entity": {
|
24
|
+
"name": "free",
|
25
|
+
"free": true,
|
26
|
+
"description": "free as in beer",
|
27
|
+
"unique_id": "0aa2f82c-6918-41df-b676-c275b5954ed7",
|
28
|
+
"extra": ""
|
29
|
+
}
|
30
|
+
}
|
31
|
+
EOF
|
32
|
+
end
|
33
|
+
|
34
|
+
let(:uuid) { "4692e0ca-25ed-495e-9ae1-fcb0bcf26a96" }
|
35
|
+
|
36
|
+
it "has unique_id that can be mutated" do
|
37
|
+
subject.unique_id.should == "0aa2f82c-6918-41df-b676-c275b5954ed7"
|
38
|
+
|
39
|
+
subject.unique_id = uuid
|
40
|
+
subject.unique_id.should eq(uuid)
|
41
|
+
end
|
42
|
+
|
43
|
+
it "has free/paid indicator attribute" do
|
44
|
+
subject.free.should be_true
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
@@ -0,0 +1,58 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
module CFoundry
|
4
|
+
module V2
|
5
|
+
describe Service do
|
6
|
+
let(:client) { build(:client) }
|
7
|
+
|
8
|
+
subject do
|
9
|
+
build(:service)
|
10
|
+
end
|
11
|
+
|
12
|
+
before :each do
|
13
|
+
stub_request(:get, /\/services\/service-guid-\d{1,2}/).to_return :status => 200,
|
14
|
+
:headers => {'Content-Type' => 'application/json'},
|
15
|
+
:body => <<EOF
|
16
|
+
{
|
17
|
+
"metadata": {
|
18
|
+
"guid": "d1251ac1-fe42-4b4a-84d4-e31e95b547d8",
|
19
|
+
"url": "/v2/services/d1251ac1-fe42-4b4a-84d4-e31e95b547d8",
|
20
|
+
"created_at": "2013-08-28T12:28:35+04:00",
|
21
|
+
"updated_at": "2013-08-28T12:33:27+04:00"
|
22
|
+
},
|
23
|
+
"entity": {
|
24
|
+
"label": "rabbitmq",
|
25
|
+
"provider": "rabbitherd",
|
26
|
+
"url": "http://rabbitmq.com",
|
27
|
+
"description": "RabbitMQ service",
|
28
|
+
"version": "1.0",
|
29
|
+
"info_url": null,
|
30
|
+
"active": true,
|
31
|
+
"bindable": true,
|
32
|
+
"unique_id": "0aa2f82c-6918-41df-b676-c275b5954ed7",
|
33
|
+
"extra": "",
|
34
|
+
"tags": [
|
35
|
+
|
36
|
+
],
|
37
|
+
"documentation_url": null,
|
38
|
+
"service_plans_url": "/v2/services/d1251ac1-fe42-4b4a-84d4-e31e95b547d8/service_plans"
|
39
|
+
}
|
40
|
+
}
|
41
|
+
EOF
|
42
|
+
end
|
43
|
+
|
44
|
+
let(:uuid) { "4692e0ca-25ed-495e-9ae1-fcb0bcf26a96" }
|
45
|
+
|
46
|
+
it "has unique_id that can be mutated" do
|
47
|
+
subject.unique_id.should == "0aa2f82c-6918-41df-b676-c275b5954ed7"
|
48
|
+
|
49
|
+
subject.unique_id = uuid
|
50
|
+
subject.unique_id.should eq(uuid)
|
51
|
+
end
|
52
|
+
|
53
|
+
it "has tags" do
|
54
|
+
subject.tags.should == []
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
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.7
|
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-
|
13
|
+
date: 2013-09-12 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activemodel
|
@@ -364,6 +364,8 @@ files:
|
|
364
364
|
- spec/cfoundry/v2/organization_spec.rb
|
365
365
|
- spec/cfoundry/v2/quota_definition_spec.rb
|
366
366
|
- spec/cfoundry/v2/route_spec.rb
|
367
|
+
- spec/cfoundry/v2/service_plan_spec.rb
|
368
|
+
- spec/cfoundry/v2/service_spec.rb
|
367
369
|
- spec/cfoundry/v2/space_spec.rb
|
368
370
|
- spec/cfoundry/v2/user_provided_service_instance_spec.rb
|
369
371
|
- spec/cfoundry/v2/user_spec.rb
|
@@ -377,6 +379,7 @@ files:
|
|
377
379
|
- spec/factories/routes_factory.rb
|
378
380
|
- spec/factories/service_instances_factory.rb
|
379
381
|
- spec/factories/service_plans_factory.rb
|
382
|
+
- spec/factories/services_factory.rb
|
380
383
|
- spec/factories/spaces_factory.rb
|
381
384
|
- spec/factories/user_provided_service_instances_factory.rb
|
382
385
|
- spec/factories/users_factory.rb
|
@@ -449,21 +452,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
449
452
|
- - ! '>='
|
450
453
|
- !ruby/object:Gem::Version
|
451
454
|
version: '0'
|
452
|
-
segments:
|
453
|
-
- 0
|
454
|
-
hash: -3733304376660938363
|
455
455
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
456
456
|
none: false
|
457
457
|
requirements:
|
458
458
|
- - ! '>='
|
459
459
|
- !ruby/object:Gem::Version
|
460
460
|
version: '0'
|
461
|
-
segments:
|
462
|
-
- 0
|
463
|
-
hash: -3733304376660938363
|
464
461
|
requirements: []
|
465
462
|
rubyforge_project: cfoundry
|
466
|
-
rubygems_version: 1.8.
|
463
|
+
rubygems_version: 1.8.23
|
467
464
|
signing_key:
|
468
465
|
specification_version: 3
|
469
466
|
summary: High-level library for working with the Cloud Foundry API.
|
@@ -503,6 +500,8 @@ test_files:
|
|
503
500
|
- spec/cfoundry/v2/organization_spec.rb
|
504
501
|
- spec/cfoundry/v2/quota_definition_spec.rb
|
505
502
|
- spec/cfoundry/v2/route_spec.rb
|
503
|
+
- spec/cfoundry/v2/service_plan_spec.rb
|
504
|
+
- spec/cfoundry/v2/service_spec.rb
|
506
505
|
- spec/cfoundry/v2/space_spec.rb
|
507
506
|
- spec/cfoundry/v2/user_provided_service_instance_spec.rb
|
508
507
|
- spec/cfoundry/v2/user_spec.rb
|
@@ -516,6 +515,7 @@ test_files:
|
|
516
515
|
- spec/factories/routes_factory.rb
|
517
516
|
- spec/factories/service_instances_factory.rb
|
518
517
|
- spec/factories/service_plans_factory.rb
|
518
|
+
- spec/factories/services_factory.rb
|
519
519
|
- spec/factories/spaces_factory.rb
|
520
520
|
- spec/factories/user_provided_service_instances_factory.rb
|
521
521
|
- spec/factories/users_factory.rb
|