cfoundry 4.3.3 → 4.3.4.rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/cc_api_stub/helper.rb +4 -0
- data/lib/cfoundry/version.rb +1 -1
- data/spec/cfoundry/v2/model_magic/{model_magic/attribute_spec.rb → attribute_spec.rb} +0 -0
- data/spec/cfoundry/v2/model_magic/{model_magic/has_summary_spec.rb → has_summary_spec.rb} +0 -0
- data/spec/cfoundry/v2/model_magic/{model_magic/to_many_spec.rb → to_many_spec.rb} +0 -0
- data/spec/cfoundry/v2/model_magic/{model_magic/to_one_spec.rb → to_one_spec.rb} +0 -0
- data/spec/cfoundry/v2/{model_magic/user_provided_service_instance_spec.rb → user_provided_service_instance_spec.rb} +0 -0
- metadata +18 -20
data/lib/cc_api_stub/helper.rb
CHANGED
|
@@ -122,6 +122,10 @@ module CcApiStub
|
|
|
122
122
|
stub_put(object_endpoint(options[:id]), nil, response(200, {}))
|
|
123
123
|
end
|
|
124
124
|
|
|
125
|
+
def fail_to_update(options = {})
|
|
126
|
+
stub_put(object_endpoint(options[:id]), nil, response(500, {}))
|
|
127
|
+
end
|
|
128
|
+
|
|
125
129
|
def succeed_to_delete(options = {})
|
|
126
130
|
stub_delete(object_endpoint(options[:id]), nil, response(200))
|
|
127
131
|
end
|
data/lib/cfoundry/version.rb
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
metadata
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cfoundry
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.3.
|
|
5
|
-
prerelease:
|
|
4
|
+
version: 4.3.4.rc1
|
|
5
|
+
prerelease: 6
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Cloud Foundry Team
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2013-08-
|
|
13
|
+
date: 2013-08-15 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: activemodel
|
|
@@ -356,16 +356,16 @@ files:
|
|
|
356
356
|
- spec/cfoundry/v2/client_spec.rb
|
|
357
357
|
- spec/cfoundry/v2/domain_spec.rb
|
|
358
358
|
- spec/cfoundry/v2/managed_service_instance_spec.rb
|
|
359
|
-
- spec/cfoundry/v2/model_magic/
|
|
360
|
-
- spec/cfoundry/v2/model_magic/
|
|
361
|
-
- spec/cfoundry/v2/model_magic/
|
|
362
|
-
- spec/cfoundry/v2/model_magic/
|
|
363
|
-
- spec/cfoundry/v2/model_magic/user_provided_service_instance_spec.rb
|
|
359
|
+
- spec/cfoundry/v2/model_magic/attribute_spec.rb
|
|
360
|
+
- spec/cfoundry/v2/model_magic/has_summary_spec.rb
|
|
361
|
+
- spec/cfoundry/v2/model_magic/to_many_spec.rb
|
|
362
|
+
- spec/cfoundry/v2/model_magic/to_one_spec.rb
|
|
364
363
|
- spec/cfoundry/v2/model_spec.rb
|
|
365
364
|
- spec/cfoundry/v2/organization_spec.rb
|
|
366
365
|
- spec/cfoundry/v2/quota_definition_spec.rb
|
|
367
366
|
- spec/cfoundry/v2/route_spec.rb
|
|
368
367
|
- spec/cfoundry/v2/space_spec.rb
|
|
368
|
+
- spec/cfoundry/v2/user_provided_service_instance_spec.rb
|
|
369
369
|
- spec/cfoundry/v2/user_spec.rb
|
|
370
370
|
- spec/cfoundry/validator_spec.rb
|
|
371
371
|
- spec/factories/app_events_factory.rb
|
|
@@ -436,7 +436,8 @@ files:
|
|
|
436
436
|
- spec/support/shared_examples/model_summary_examples.rb
|
|
437
437
|
- spec/support/test_model_builder.rb
|
|
438
438
|
homepage: http://github.com/cloudfoundry/cfoundry
|
|
439
|
-
licenses:
|
|
439
|
+
licenses:
|
|
440
|
+
- Apache 2.0
|
|
440
441
|
post_install_message:
|
|
441
442
|
rdoc_options: []
|
|
442
443
|
require_paths:
|
|
@@ -449,16 +450,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
449
450
|
version: '0'
|
|
450
451
|
segments:
|
|
451
452
|
- 0
|
|
452
|
-
hash: -
|
|
453
|
+
hash: -904073013708450157
|
|
453
454
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
454
455
|
none: false
|
|
455
456
|
requirements:
|
|
456
|
-
- - ! '
|
|
457
|
+
- - ! '>'
|
|
457
458
|
- !ruby/object:Gem::Version
|
|
458
|
-
version:
|
|
459
|
-
segments:
|
|
460
|
-
- 0
|
|
461
|
-
hash: -4449691735648661788
|
|
459
|
+
version: 1.3.1
|
|
462
460
|
requirements: []
|
|
463
461
|
rubyforge_project: cfoundry
|
|
464
462
|
rubygems_version: 1.8.25
|
|
@@ -493,16 +491,16 @@ test_files:
|
|
|
493
491
|
- spec/cfoundry/v2/client_spec.rb
|
|
494
492
|
- spec/cfoundry/v2/domain_spec.rb
|
|
495
493
|
- spec/cfoundry/v2/managed_service_instance_spec.rb
|
|
496
|
-
- spec/cfoundry/v2/model_magic/
|
|
497
|
-
- spec/cfoundry/v2/model_magic/
|
|
498
|
-
- spec/cfoundry/v2/model_magic/
|
|
499
|
-
- spec/cfoundry/v2/model_magic/
|
|
500
|
-
- spec/cfoundry/v2/model_magic/user_provided_service_instance_spec.rb
|
|
494
|
+
- spec/cfoundry/v2/model_magic/attribute_spec.rb
|
|
495
|
+
- spec/cfoundry/v2/model_magic/has_summary_spec.rb
|
|
496
|
+
- spec/cfoundry/v2/model_magic/to_many_spec.rb
|
|
497
|
+
- spec/cfoundry/v2/model_magic/to_one_spec.rb
|
|
501
498
|
- spec/cfoundry/v2/model_spec.rb
|
|
502
499
|
- spec/cfoundry/v2/organization_spec.rb
|
|
503
500
|
- spec/cfoundry/v2/quota_definition_spec.rb
|
|
504
501
|
- spec/cfoundry/v2/route_spec.rb
|
|
505
502
|
- spec/cfoundry/v2/space_spec.rb
|
|
503
|
+
- spec/cfoundry/v2/user_provided_service_instance_spec.rb
|
|
506
504
|
- spec/cfoundry/v2/user_spec.rb
|
|
507
505
|
- spec/cfoundry/validator_spec.rb
|
|
508
506
|
- spec/factories/app_events_factory.rb
|