cfoundry 2.1.0 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -36,6 +36,7 @@ module CcApiStub
36
36
  end
37
37
 
38
38
  stub_get(%r{/v2/users/[^/]+\?inline-relations-depth=2$}, {}, response(200, response_body))
39
+ stub_get(%r{/v2/users/[^/]+/summary(\?inline-relations-depth=\d)?$}, {}, response(200, response_body))
39
40
  end
40
41
 
41
42
  def fail_to_find
@@ -77,7 +78,7 @@ module CcApiStub
77
78
  end
78
79
 
79
80
  def object_endpoint
80
- %r{/v2/users/[^/]+$}
81
+ %r{/v2/users/[^/]+(/summary)?}
81
82
  end
82
83
  end
83
84
  end
@@ -4,6 +4,7 @@ module CFoundry::V2
4
4
  class ServiceInstance < Model
5
5
  attribute :name, :string
6
6
  attribute :dashboard_url, :string
7
+ attribute :credentials, :hash
7
8
  to_one :space
8
9
  to_one :service_plan
9
10
  to_many :service_bindings
@@ -1,4 +1,4 @@
1
1
  module CFoundry # :nodoc:
2
2
  # CFoundry library version number.
3
- VERSION = "2.1.0".freeze
3
+ VERSION = "2.1.1".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: 2.1.0
4
+ version: 2.1.1
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-06-11 00:00:00.000000000 Z
13
+ date: 2013-06-19 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activemodel
@@ -427,9 +427,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
427
427
  - - ! '>='
428
428
  - !ruby/object:Gem::Version
429
429
  version: '0'
430
- segments:
431
- - 0
432
- hash: -3172782678702157575
433
430
  required_rubygems_version: !ruby/object:Gem::Requirement
434
431
  none: false
435
432
  requirements: