cfoundry 4.0.2.rc5 → 4.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cfoundry/v2/app.rb +1 -1
- data/lib/cfoundry/version.rb +1 -1
- data/spec/cfoundry/v2/service_instance_spec.rb +6 -0
- metadata +43 -7
- checksums.yaml +0 -15
data/lib/cfoundry/v2/app.rb
CHANGED
data/lib/cfoundry/version.rb
CHANGED
@@ -111,6 +111,12 @@ module CFoundry
|
|
111
111
|
http_stub.should have_been_requested
|
112
112
|
end
|
113
113
|
|
114
|
+
it "gets only cf-managed service instances when user_provided is set to false" do
|
115
|
+
http_stub = stub_request(:get, "#{client.target}/v2/spaces/#{space.guid}/service_instances?inline-relations-depth=1&return_user_provided_service_instances=false").to_return(:status => 200, :body => example_response)
|
116
|
+
client.service_instances(user_provided: false)
|
117
|
+
http_stub.should have_been_requested
|
118
|
+
end
|
119
|
+
|
114
120
|
describe "via service_instance_from" do
|
115
121
|
it "defaults to true when user_provided is set to a bogus value (not true or false)" do
|
116
122
|
http_stub = stub_request(:get, "#{client.target}/v2/spaces/#{space.guid}/service_instances?inline-relations-depth=1&return_user_provided_service_instances=true").to_return(:status => 200, :body => example_response)
|
metadata
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cfoundry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.3
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Cloud Foundry Team
|
@@ -9,11 +10,12 @@ authors:
|
|
9
10
|
autorequire:
|
10
11
|
bindir: bin
|
11
12
|
cert_chain: []
|
12
|
-
date: 2013-07-
|
13
|
+
date: 2013-07-29 00:00:00.000000000 Z
|
13
14
|
dependencies:
|
14
15
|
- !ruby/object:Gem::Dependency
|
15
16
|
name: activemodel
|
16
17
|
requirement: !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
17
19
|
requirements:
|
18
20
|
- - ~>
|
19
21
|
- !ruby/object:Gem::Version
|
@@ -21,6 +23,7 @@ dependencies:
|
|
21
23
|
type: :runtime
|
22
24
|
prerelease: false
|
23
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
24
27
|
requirements:
|
25
28
|
- - ~>
|
26
29
|
- !ruby/object:Gem::Version
|
@@ -28,6 +31,7 @@ dependencies:
|
|
28
31
|
- !ruby/object:Gem::Dependency
|
29
32
|
name: cf-uaa-lib
|
30
33
|
requirement: !ruby/object:Gem::Requirement
|
34
|
+
none: false
|
31
35
|
requirements:
|
32
36
|
- - ~>
|
33
37
|
- !ruby/object:Gem::Version
|
@@ -35,6 +39,7 @@ dependencies:
|
|
35
39
|
type: :runtime
|
36
40
|
prerelease: false
|
37
41
|
version_requirements: !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
38
43
|
requirements:
|
39
44
|
- - ~>
|
40
45
|
- !ruby/object:Gem::Version
|
@@ -42,6 +47,7 @@ dependencies:
|
|
42
47
|
- !ruby/object:Gem::Dependency
|
43
48
|
name: multi_json
|
44
49
|
requirement: !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
45
51
|
requirements:
|
46
52
|
- - ~>
|
47
53
|
- !ruby/object:Gem::Version
|
@@ -49,6 +55,7 @@ dependencies:
|
|
49
55
|
type: :runtime
|
50
56
|
prerelease: false
|
51
57
|
version_requirements: !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
52
59
|
requirements:
|
53
60
|
- - ~>
|
54
61
|
- !ruby/object:Gem::Version
|
@@ -56,6 +63,7 @@ dependencies:
|
|
56
63
|
- !ruby/object:Gem::Dependency
|
57
64
|
name: multipart-post
|
58
65
|
requirement: !ruby/object:Gem::Requirement
|
66
|
+
none: false
|
59
67
|
requirements:
|
60
68
|
- - ~>
|
61
69
|
- !ruby/object:Gem::Version
|
@@ -63,6 +71,7 @@ dependencies:
|
|
63
71
|
type: :runtime
|
64
72
|
prerelease: false
|
65
73
|
version_requirements: !ruby/object:Gem::Requirement
|
74
|
+
none: false
|
66
75
|
requirements:
|
67
76
|
- - ~>
|
68
77
|
- !ruby/object:Gem::Version
|
@@ -70,6 +79,7 @@ dependencies:
|
|
70
79
|
- !ruby/object:Gem::Dependency
|
71
80
|
name: rubyzip
|
72
81
|
requirement: !ruby/object:Gem::Requirement
|
82
|
+
none: false
|
73
83
|
requirements:
|
74
84
|
- - ~>
|
75
85
|
- !ruby/object:Gem::Version
|
@@ -77,6 +87,7 @@ dependencies:
|
|
77
87
|
type: :runtime
|
78
88
|
prerelease: false
|
79
89
|
version_requirements: !ruby/object:Gem::Requirement
|
90
|
+
none: false
|
80
91
|
requirements:
|
81
92
|
- - ~>
|
82
93
|
- !ruby/object:Gem::Version
|
@@ -84,6 +95,7 @@ dependencies:
|
|
84
95
|
- !ruby/object:Gem::Dependency
|
85
96
|
name: anchorman
|
86
97
|
requirement: !ruby/object:Gem::Requirement
|
98
|
+
none: false
|
87
99
|
requirements:
|
88
100
|
- - ! '>='
|
89
101
|
- !ruby/object:Gem::Version
|
@@ -91,6 +103,7 @@ dependencies:
|
|
91
103
|
type: :development
|
92
104
|
prerelease: false
|
93
105
|
version_requirements: !ruby/object:Gem::Requirement
|
106
|
+
none: false
|
94
107
|
requirements:
|
95
108
|
- - ! '>='
|
96
109
|
- !ruby/object:Gem::Version
|
@@ -98,6 +111,7 @@ dependencies:
|
|
98
111
|
- !ruby/object:Gem::Dependency
|
99
112
|
name: factory_girl
|
100
113
|
requirement: !ruby/object:Gem::Requirement
|
114
|
+
none: false
|
101
115
|
requirements:
|
102
116
|
- - ! '>='
|
103
117
|
- !ruby/object:Gem::Version
|
@@ -105,6 +119,7 @@ dependencies:
|
|
105
119
|
type: :development
|
106
120
|
prerelease: false
|
107
121
|
version_requirements: !ruby/object:Gem::Requirement
|
122
|
+
none: false
|
108
123
|
requirements:
|
109
124
|
- - ! '>='
|
110
125
|
- !ruby/object:Gem::Version
|
@@ -112,6 +127,7 @@ dependencies:
|
|
112
127
|
- !ruby/object:Gem::Dependency
|
113
128
|
name: gem-release
|
114
129
|
requirement: !ruby/object:Gem::Requirement
|
130
|
+
none: false
|
115
131
|
requirements:
|
116
132
|
- - ! '>='
|
117
133
|
- !ruby/object:Gem::Version
|
@@ -119,6 +135,7 @@ dependencies:
|
|
119
135
|
type: :development
|
120
136
|
prerelease: false
|
121
137
|
version_requirements: !ruby/object:Gem::Requirement
|
138
|
+
none: false
|
122
139
|
requirements:
|
123
140
|
- - ! '>='
|
124
141
|
- !ruby/object:Gem::Version
|
@@ -126,6 +143,7 @@ dependencies:
|
|
126
143
|
- !ruby/object:Gem::Dependency
|
127
144
|
name: json_pure
|
128
145
|
requirement: !ruby/object:Gem::Requirement
|
146
|
+
none: false
|
129
147
|
requirements:
|
130
148
|
- - ~>
|
131
149
|
- !ruby/object:Gem::Version
|
@@ -133,6 +151,7 @@ dependencies:
|
|
133
151
|
type: :development
|
134
152
|
prerelease: false
|
135
153
|
version_requirements: !ruby/object:Gem::Requirement
|
154
|
+
none: false
|
136
155
|
requirements:
|
137
156
|
- - ~>
|
138
157
|
- !ruby/object:Gem::Version
|
@@ -140,6 +159,7 @@ dependencies:
|
|
140
159
|
- !ruby/object:Gem::Dependency
|
141
160
|
name: rake
|
142
161
|
requirement: !ruby/object:Gem::Requirement
|
162
|
+
none: false
|
143
163
|
requirements:
|
144
164
|
- - ! '>='
|
145
165
|
- !ruby/object:Gem::Version
|
@@ -147,6 +167,7 @@ dependencies:
|
|
147
167
|
type: :development
|
148
168
|
prerelease: false
|
149
169
|
version_requirements: !ruby/object:Gem::Requirement
|
170
|
+
none: false
|
150
171
|
requirements:
|
151
172
|
- - ! '>='
|
152
173
|
- !ruby/object:Gem::Version
|
@@ -154,6 +175,7 @@ dependencies:
|
|
154
175
|
- !ruby/object:Gem::Dependency
|
155
176
|
name: rspec
|
156
177
|
requirement: !ruby/object:Gem::Requirement
|
178
|
+
none: false
|
157
179
|
requirements:
|
158
180
|
- - ~>
|
159
181
|
- !ruby/object:Gem::Version
|
@@ -161,6 +183,7 @@ dependencies:
|
|
161
183
|
type: :development
|
162
184
|
prerelease: false
|
163
185
|
version_requirements: !ruby/object:Gem::Requirement
|
186
|
+
none: false
|
164
187
|
requirements:
|
165
188
|
- - ~>
|
166
189
|
- !ruby/object:Gem::Version
|
@@ -168,6 +191,7 @@ dependencies:
|
|
168
191
|
- !ruby/object:Gem::Dependency
|
169
192
|
name: shoulda-matchers
|
170
193
|
requirement: !ruby/object:Gem::Requirement
|
194
|
+
none: false
|
171
195
|
requirements:
|
172
196
|
- - ~>
|
173
197
|
- !ruby/object:Gem::Version
|
@@ -175,6 +199,7 @@ dependencies:
|
|
175
199
|
type: :development
|
176
200
|
prerelease: false
|
177
201
|
version_requirements: !ruby/object:Gem::Requirement
|
202
|
+
none: false
|
178
203
|
requirements:
|
179
204
|
- - ~>
|
180
205
|
- !ruby/object:Gem::Version
|
@@ -182,6 +207,7 @@ dependencies:
|
|
182
207
|
- !ruby/object:Gem::Dependency
|
183
208
|
name: timecop
|
184
209
|
requirement: !ruby/object:Gem::Requirement
|
210
|
+
none: false
|
185
211
|
requirements:
|
186
212
|
- - ~>
|
187
213
|
- !ruby/object:Gem::Version
|
@@ -189,6 +215,7 @@ dependencies:
|
|
189
215
|
type: :development
|
190
216
|
prerelease: false
|
191
217
|
version_requirements: !ruby/object:Gem::Requirement
|
218
|
+
none: false
|
192
219
|
requirements:
|
193
220
|
- - ~>
|
194
221
|
- !ruby/object:Gem::Version
|
@@ -196,6 +223,7 @@ dependencies:
|
|
196
223
|
- !ruby/object:Gem::Dependency
|
197
224
|
name: webmock
|
198
225
|
requirement: !ruby/object:Gem::Requirement
|
226
|
+
none: false
|
199
227
|
requirements:
|
200
228
|
- - ~>
|
201
229
|
- !ruby/object:Gem::Version
|
@@ -203,6 +231,7 @@ dependencies:
|
|
203
231
|
type: :development
|
204
232
|
prerelease: false
|
205
233
|
version_requirements: !ruby/object:Gem::Requirement
|
234
|
+
none: false
|
206
235
|
requirements:
|
207
236
|
- - ~>
|
208
237
|
- !ruby/object:Gem::Version
|
@@ -381,26 +410,33 @@ files:
|
|
381
410
|
- spec/support/test_model_builder.rb
|
382
411
|
homepage: http://github.com/cloudfoundry/cfoundry
|
383
412
|
licenses: []
|
384
|
-
metadata: {}
|
385
413
|
post_install_message:
|
386
414
|
rdoc_options: []
|
387
415
|
require_paths:
|
388
416
|
- lib
|
389
417
|
required_ruby_version: !ruby/object:Gem::Requirement
|
418
|
+
none: false
|
390
419
|
requirements:
|
391
420
|
- - ! '>='
|
392
421
|
- !ruby/object:Gem::Version
|
393
422
|
version: '0'
|
423
|
+
segments:
|
424
|
+
- 0
|
425
|
+
hash: 1737557989823142291
|
394
426
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
427
|
+
none: false
|
395
428
|
requirements:
|
396
|
-
- - ! '
|
429
|
+
- - ! '>='
|
397
430
|
- !ruby/object:Gem::Version
|
398
|
-
version:
|
431
|
+
version: '0'
|
432
|
+
segments:
|
433
|
+
- 0
|
434
|
+
hash: 1737557989823142291
|
399
435
|
requirements: []
|
400
436
|
rubyforge_project: cfoundry
|
401
|
-
rubygems_version:
|
437
|
+
rubygems_version: 1.8.25
|
402
438
|
signing_key:
|
403
|
-
specification_version:
|
439
|
+
specification_version: 3
|
404
440
|
summary: High-level library for working with the Cloud Foundry API.
|
405
441
|
test_files:
|
406
442
|
- spec/cc_api_stub/applications_spec.rb
|
checksums.yaml
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
---
|
2
|
-
!binary "U0hBMQ==":
|
3
|
-
metadata.gz: !binary |-
|
4
|
-
MDg3NzA0YjdjMmNjNDIyMmI5YTg3ZGQwOTIxZThiOTI1YmZjZTVjZA==
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
MzEwMGFkM2U4ZDhiNzRmMGZiMDA4Mjc5NWJkMDBkZTIxNDAzOGQ5YQ==
|
7
|
-
!binary "U0hBNTEy":
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
OTI0MTBmZmI4YzkyNGZkMzk4OTI1ODU1YzVlYzc2ZjZlNjY0MDU0YjVkYmQw
|
10
|
-
ZTQwYWRhYWQyNTA0NmY5ZWU2MTc4NTU4OThjMTM3MGE0ODE5OTM2NDQ2ZmY2
|
11
|
-
M2I0YWRhNGM5MTBjMGYxMDZhNDNlOGRiYzhmODBmYmNhZmNmMTE=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
NWYyNjg5MzFjYmEyMzRiYTg0ZWFiNDJjN2ZlOTBhYTRiNjFkNzcxNzRmOThi
|
14
|
-
MmI5MGE5NjdiZmRjMmU3YzFhYWU0ZGQ5YTRiZTcyZTBmODlkNzE3MmU2ZDJm
|
15
|
-
MzI2MTg5NzI5MWM4MjY1NmRjZTc5NGE3MzZkMzBjN2E2YjBlYzA=
|