cfoundry 0.3.61 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cfoundry/client.rb +15 -0
- data/lib/cfoundry/errors.rb +45 -48
- data/lib/cfoundry/v1/base.rb +4 -2
- data/lib/cfoundry/v1/client.rb +11 -9
- data/lib/cfoundry/v1/runtime.rb +4 -19
- data/lib/cfoundry/v1/service.rb +11 -2
- data/lib/cfoundry/v2/app.rb +3 -0
- data/lib/cfoundry/v2/base.rb +3 -50
- data/lib/cfoundry/v2/client.rb +9 -118
- data/lib/cfoundry/v2/domain.rb +2 -0
- data/lib/cfoundry/v2/framework.rb +2 -0
- data/lib/cfoundry/v2/model.rb +9 -270
- data/lib/cfoundry/v2/model_magic.rb +434 -0
- data/lib/cfoundry/v2/organization.rb +3 -0
- data/lib/cfoundry/v2/route.rb +2 -0
- data/lib/cfoundry/v2/runtime.rb +2 -0
- data/lib/cfoundry/v2/service.rb +2 -0
- data/lib/cfoundry/v2/service_binding.rb +2 -0
- data/lib/cfoundry/v2/service_instance.rb +2 -0
- data/lib/cfoundry/v2/service_plan.rb +2 -0
- data/lib/cfoundry/v2/space.rb +2 -0
- data/lib/cfoundry/v2/user.rb +4 -0
- data/lib/cfoundry/version.rb +1 -1
- metadata +6 -5
data/lib/cfoundry/v2/route.rb
CHANGED
data/lib/cfoundry/v2/runtime.rb
CHANGED
data/lib/cfoundry/v2/service.rb
CHANGED
data/lib/cfoundry/v2/space.rb
CHANGED
data/lib/cfoundry/v2/user.rb
CHANGED
@@ -14,6 +14,10 @@ module CFoundry::V2
|
|
14
14
|
|
15
15
|
attribute :guid, :string # guid is explicitly set for users
|
16
16
|
|
17
|
+
queryable_by :space_guid, :organization_guid, :managed_organization_guid,
|
18
|
+
:billing_managed_organization_guid, :audited_organization_guid,
|
19
|
+
:managed_space_guid, :audited_space_guid
|
20
|
+
|
17
21
|
def guid
|
18
22
|
@guid
|
19
23
|
end
|
data/lib/cfoundry/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cfoundry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 0.
|
8
|
+
- 4
|
9
|
+
- 0
|
10
|
+
version: 0.4.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Alex Suraci
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-11-
|
18
|
+
date: 2012-11-19 00:00:00 -08:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -122,6 +122,7 @@ files:
|
|
122
122
|
- lib/cfoundry/v2/model.rb
|
123
123
|
- lib/cfoundry/v2/user.rb
|
124
124
|
- lib/cfoundry/v2/framework.rb
|
125
|
+
- lib/cfoundry/v2/model_magic.rb
|
125
126
|
- lib/cfoundry/v2/service_auth_token.rb
|
126
127
|
- lib/cfoundry/v2/space.rb
|
127
128
|
- lib/cfoundry/v2/app.rb
|