cfoundry 4.3.11 → 4.3.12

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.
@@ -43,6 +43,10 @@ module CcApiStub
43
43
  stub_get(%r{/v2/apps/[^/]+/service_bindings/?(?:\?.+)?$}, {}, response(200, response_body))
44
44
  end
45
45
 
46
+ def fail_to_find(app_id)
47
+ stub_get(%r{/v2/apps/#{app_id}}, {}, response(404, {:code => 100004, :description => "The app name could not be found:"}))
48
+ end
49
+
46
50
  private
47
51
 
48
52
  def object_endpoint(id = nil)
@@ -28,6 +28,10 @@ module CcApiStub
28
28
  stub_get(%r{/v2/spaces/[^/]+/apps\?inline-relations-depth=1}, {}, response(200, response))
29
29
  end
30
30
 
31
+ def fail_to_find(space_id)
32
+ stub_get(%r{/v2/spaces/#{space_id}}, {}, response(404, {:code => 40004, :description => "The app space could not be found:"}))
33
+ end
34
+
31
35
  def space_fixture_hash
32
36
  {
33
37
  :metadata => {
@@ -1,4 +1,4 @@
1
1
  module CFoundry # :nodoc:
2
2
  # CFoundry library version number.
3
- VERSION = "4.3.11".freeze
3
+ VERSION = "4.3.12".freeze
4
4
  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.11
4
+ version: 4.3.12
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-27 00:00:00.000000000 Z
13
+ date: 2013-09-30 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activemodel
@@ -462,7 +462,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
462
462
  version: '0'
463
463
  segments:
464
464
  - 0
465
- hash: 2215888253690102006
465
+ hash: 3721534131775982099
466
466
  required_rubygems_version: !ruby/object:Gem::Requirement
467
467
  none: false
468
468
  requirements:
@@ -471,7 +471,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
471
471
  version: '0'
472
472
  segments:
473
473
  - 0
474
- hash: 2215888253690102006
474
+ hash: 3721534131775982099
475
475
  requirements: []
476
476
  rubyforge_project: cfoundry
477
477
  rubygems_version: 1.8.25