cf 4.2.2.rc3 → 4.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/cf/object_extensions.rb +7 -3
- data/lib/cf/version.rb +1 -1
- data/spec/cf/object_extensions_spec.rb +13 -0
- metadata +9 -51
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 35365b0ccd85127573118fd856ce06956e0cb504
|
4
|
+
data.tar.gz: e3aadcc75be6e524c5915a75425e30ad99ad79ad
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 5c34d5398393cb1dfbee678c9cfdc11abdfcdab452f48cdd61b0c294b5598d921f3c9216b7293df4479ff0354d0fad3525e82d63bf03653185b39ac5cfb332fd
|
7
|
+
data.tar.gz: 2ef77625173069625a8f94d848bb9ef2ab76c9e36372823897995cdb19bf7a6e5e7d7083b06f021a393c43d961797fbe6c40d7bfee21e4ed5c5444ae308116d6
|
data/lib/cf/object_extensions.rb
CHANGED
data/lib/cf/version.rb
CHANGED
@@ -11,6 +11,19 @@ describe "try" do
|
|
11
11
|
}.to raise_error(NoMethodError)
|
12
12
|
end
|
13
13
|
|
14
|
+
it "yields to a provided block" do
|
15
|
+
hash = {key: "value"}
|
16
|
+
retrieved_key = nil
|
17
|
+
retrieved_value = nil
|
18
|
+
hash.try(:each) do |k, v|
|
19
|
+
retrieved_key = k
|
20
|
+
retrieved_value = v
|
21
|
+
end
|
22
|
+
|
23
|
+
retrieved_key.should == :key
|
24
|
+
retrieved_value.should == "value"
|
25
|
+
end
|
26
|
+
|
14
27
|
it "returns nil for nil" do
|
15
28
|
nil.try(:sub, 'i', 'o').should == nil
|
16
29
|
end
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.2.
|
5
|
-
prerelease: 6
|
4
|
+
version: 4.2.3
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Cloud Foundry Team
|
@@ -10,12 +9,11 @@ authors:
|
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date: 2013-07-
|
12
|
+
date: 2013-07-18 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: addressable
|
17
16
|
requirement: !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
17
|
requirements:
|
20
18
|
- - ~>
|
21
19
|
- !ruby/object:Gem::Version
|
@@ -23,7 +21,6 @@ dependencies:
|
|
23
21
|
type: :runtime
|
24
22
|
prerelease: false
|
25
23
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
none: false
|
27
24
|
requirements:
|
28
25
|
- - ~>
|
29
26
|
- !ruby/object:Gem::Version
|
@@ -31,7 +28,6 @@ dependencies:
|
|
31
28
|
- !ruby/object:Gem::Dependency
|
32
29
|
name: caldecott-client
|
33
30
|
requirement: !ruby/object:Gem::Requirement
|
34
|
-
none: false
|
35
31
|
requirements:
|
36
32
|
- - ~>
|
37
33
|
- !ruby/object:Gem::Version
|
@@ -39,7 +35,6 @@ dependencies:
|
|
39
35
|
type: :runtime
|
40
36
|
prerelease: false
|
41
37
|
version_requirements: !ruby/object:Gem::Requirement
|
42
|
-
none: false
|
43
38
|
requirements:
|
44
39
|
- - ~>
|
45
40
|
- !ruby/object:Gem::Version
|
@@ -47,7 +42,6 @@ dependencies:
|
|
47
42
|
- !ruby/object:Gem::Dependency
|
48
43
|
name: cfoundry
|
49
44
|
requirement: !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
45
|
requirements:
|
52
46
|
- - ! '>='
|
53
47
|
- !ruby/object:Gem::Version
|
@@ -58,7 +52,6 @@ dependencies:
|
|
58
52
|
type: :runtime
|
59
53
|
prerelease: false
|
60
54
|
version_requirements: !ruby/object:Gem::Requirement
|
61
|
-
none: false
|
62
55
|
requirements:
|
63
56
|
- - ! '>='
|
64
57
|
- !ruby/object:Gem::Version
|
@@ -69,7 +62,6 @@ dependencies:
|
|
69
62
|
- !ruby/object:Gem::Dependency
|
70
63
|
name: interact
|
71
64
|
requirement: !ruby/object:Gem::Requirement
|
72
|
-
none: false
|
73
65
|
requirements:
|
74
66
|
- - ~>
|
75
67
|
- !ruby/object:Gem::Version
|
@@ -77,7 +69,6 @@ dependencies:
|
|
77
69
|
type: :runtime
|
78
70
|
prerelease: false
|
79
71
|
version_requirements: !ruby/object:Gem::Requirement
|
80
|
-
none: false
|
81
72
|
requirements:
|
82
73
|
- - ~>
|
83
74
|
- !ruby/object:Gem::Version
|
@@ -85,7 +76,6 @@ dependencies:
|
|
85
76
|
- !ruby/object:Gem::Dependency
|
86
77
|
name: json_pure
|
87
78
|
requirement: !ruby/object:Gem::Requirement
|
88
|
-
none: false
|
89
79
|
requirements:
|
90
80
|
- - ~>
|
91
81
|
- !ruby/object:Gem::Version
|
@@ -93,7 +83,6 @@ dependencies:
|
|
93
83
|
type: :runtime
|
94
84
|
prerelease: false
|
95
85
|
version_requirements: !ruby/object:Gem::Requirement
|
96
|
-
none: false
|
97
86
|
requirements:
|
98
87
|
- - ~>
|
99
88
|
- !ruby/object:Gem::Version
|
@@ -101,7 +90,6 @@ dependencies:
|
|
101
90
|
- !ruby/object:Gem::Dependency
|
102
91
|
name: mothership
|
103
92
|
requirement: !ruby/object:Gem::Requirement
|
104
|
-
none: false
|
105
93
|
requirements:
|
106
94
|
- - ! '>='
|
107
95
|
- !ruby/object:Gem::Version
|
@@ -112,7 +100,6 @@ dependencies:
|
|
112
100
|
type: :runtime
|
113
101
|
prerelease: false
|
114
102
|
version_requirements: !ruby/object:Gem::Requirement
|
115
|
-
none: false
|
116
103
|
requirements:
|
117
104
|
- - ! '>='
|
118
105
|
- !ruby/object:Gem::Version
|
@@ -123,7 +110,6 @@ dependencies:
|
|
123
110
|
- !ruby/object:Gem::Dependency
|
124
111
|
name: multi_json
|
125
112
|
requirement: !ruby/object:Gem::Requirement
|
126
|
-
none: false
|
127
113
|
requirements:
|
128
114
|
- - ~>
|
129
115
|
- !ruby/object:Gem::Version
|
@@ -131,7 +117,6 @@ dependencies:
|
|
131
117
|
type: :runtime
|
132
118
|
prerelease: false
|
133
119
|
version_requirements: !ruby/object:Gem::Requirement
|
134
|
-
none: false
|
135
120
|
requirements:
|
136
121
|
- - ~>
|
137
122
|
- !ruby/object:Gem::Version
|
@@ -139,7 +124,6 @@ dependencies:
|
|
139
124
|
- !ruby/object:Gem::Dependency
|
140
125
|
name: rest-client
|
141
126
|
requirement: !ruby/object:Gem::Requirement
|
142
|
-
none: false
|
143
127
|
requirements:
|
144
128
|
- - ~>
|
145
129
|
- !ruby/object:Gem::Version
|
@@ -147,7 +131,6 @@ dependencies:
|
|
147
131
|
type: :runtime
|
148
132
|
prerelease: false
|
149
133
|
version_requirements: !ruby/object:Gem::Requirement
|
150
|
-
none: false
|
151
134
|
requirements:
|
152
135
|
- - ~>
|
153
136
|
- !ruby/object:Gem::Version
|
@@ -155,7 +138,6 @@ dependencies:
|
|
155
138
|
- !ruby/object:Gem::Dependency
|
156
139
|
name: uuidtools
|
157
140
|
requirement: !ruby/object:Gem::Requirement
|
158
|
-
none: false
|
159
141
|
requirements:
|
160
142
|
- - ~>
|
161
143
|
- !ruby/object:Gem::Version
|
@@ -163,7 +145,6 @@ dependencies:
|
|
163
145
|
type: :runtime
|
164
146
|
prerelease: false
|
165
147
|
version_requirements: !ruby/object:Gem::Requirement
|
166
|
-
none: false
|
167
148
|
requirements:
|
168
149
|
- - ~>
|
169
150
|
- !ruby/object:Gem::Version
|
@@ -171,7 +152,6 @@ dependencies:
|
|
171
152
|
- !ruby/object:Gem::Dependency
|
172
153
|
name: anchorman
|
173
154
|
requirement: !ruby/object:Gem::Requirement
|
174
|
-
none: false
|
175
155
|
requirements:
|
176
156
|
- - ! '>='
|
177
157
|
- !ruby/object:Gem::Version
|
@@ -179,7 +159,6 @@ dependencies:
|
|
179
159
|
type: :development
|
180
160
|
prerelease: false
|
181
161
|
version_requirements: !ruby/object:Gem::Requirement
|
182
|
-
none: false
|
183
162
|
requirements:
|
184
163
|
- - ! '>='
|
185
164
|
- !ruby/object:Gem::Version
|
@@ -187,7 +166,6 @@ dependencies:
|
|
187
166
|
- !ruby/object:Gem::Dependency
|
188
167
|
name: blue-shell
|
189
168
|
requirement: !ruby/object:Gem::Requirement
|
190
|
-
none: false
|
191
169
|
requirements:
|
192
170
|
- - ! '>='
|
193
171
|
- !ruby/object:Gem::Version
|
@@ -195,7 +173,6 @@ dependencies:
|
|
195
173
|
type: :development
|
196
174
|
prerelease: false
|
197
175
|
version_requirements: !ruby/object:Gem::Requirement
|
198
|
-
none: false
|
199
176
|
requirements:
|
200
177
|
- - ! '>='
|
201
178
|
- !ruby/object:Gem::Version
|
@@ -203,7 +180,6 @@ dependencies:
|
|
203
180
|
- !ruby/object:Gem::Dependency
|
204
181
|
name: factory_girl
|
205
182
|
requirement: !ruby/object:Gem::Requirement
|
206
|
-
none: false
|
207
183
|
requirements:
|
208
184
|
- - ! '>='
|
209
185
|
- !ruby/object:Gem::Version
|
@@ -211,7 +187,6 @@ dependencies:
|
|
211
187
|
type: :development
|
212
188
|
prerelease: false
|
213
189
|
version_requirements: !ruby/object:Gem::Requirement
|
214
|
-
none: false
|
215
190
|
requirements:
|
216
191
|
- - ! '>='
|
217
192
|
- !ruby/object:Gem::Version
|
@@ -219,7 +194,6 @@ dependencies:
|
|
219
194
|
- !ruby/object:Gem::Dependency
|
220
195
|
name: fakefs
|
221
196
|
requirement: !ruby/object:Gem::Requirement
|
222
|
-
none: false
|
223
197
|
requirements:
|
224
198
|
- - ~>
|
225
199
|
- !ruby/object:Gem::Version
|
@@ -227,7 +201,6 @@ dependencies:
|
|
227
201
|
type: :development
|
228
202
|
prerelease: false
|
229
203
|
version_requirements: !ruby/object:Gem::Requirement
|
230
|
-
none: false
|
231
204
|
requirements:
|
232
205
|
- - ~>
|
233
206
|
- !ruby/object:Gem::Version
|
@@ -235,7 +208,6 @@ dependencies:
|
|
235
208
|
- !ruby/object:Gem::Dependency
|
236
209
|
name: ffaker
|
237
210
|
requirement: !ruby/object:Gem::Requirement
|
238
|
-
none: false
|
239
211
|
requirements:
|
240
212
|
- - '='
|
241
213
|
- !ruby/object:Gem::Version
|
@@ -243,7 +215,6 @@ dependencies:
|
|
243
215
|
type: :development
|
244
216
|
prerelease: false
|
245
217
|
version_requirements: !ruby/object:Gem::Requirement
|
246
|
-
none: false
|
247
218
|
requirements:
|
248
219
|
- - '='
|
249
220
|
- !ruby/object:Gem::Version
|
@@ -251,7 +222,6 @@ dependencies:
|
|
251
222
|
- !ruby/object:Gem::Dependency
|
252
223
|
name: gem-release
|
253
224
|
requirement: !ruby/object:Gem::Requirement
|
254
|
-
none: false
|
255
225
|
requirements:
|
256
226
|
- - ! '>='
|
257
227
|
- !ruby/object:Gem::Version
|
@@ -259,7 +229,6 @@ dependencies:
|
|
259
229
|
type: :development
|
260
230
|
prerelease: false
|
261
231
|
version_requirements: !ruby/object:Gem::Requirement
|
262
|
-
none: false
|
263
232
|
requirements:
|
264
233
|
- - ! '>='
|
265
234
|
- !ruby/object:Gem::Version
|
@@ -267,7 +236,6 @@ dependencies:
|
|
267
236
|
- !ruby/object:Gem::Dependency
|
268
237
|
name: rake
|
269
238
|
requirement: !ruby/object:Gem::Requirement
|
270
|
-
none: false
|
271
239
|
requirements:
|
272
240
|
- - ~>
|
273
241
|
- !ruby/object:Gem::Version
|
@@ -275,7 +243,6 @@ dependencies:
|
|
275
243
|
type: :development
|
276
244
|
prerelease: false
|
277
245
|
version_requirements: !ruby/object:Gem::Requirement
|
278
|
-
none: false
|
279
246
|
requirements:
|
280
247
|
- - ~>
|
281
248
|
- !ruby/object:Gem::Version
|
@@ -283,7 +250,6 @@ dependencies:
|
|
283
250
|
- !ruby/object:Gem::Dependency
|
284
251
|
name: rspec
|
285
252
|
requirement: !ruby/object:Gem::Requirement
|
286
|
-
none: false
|
287
253
|
requirements:
|
288
254
|
- - ~>
|
289
255
|
- !ruby/object:Gem::Version
|
@@ -291,7 +257,6 @@ dependencies:
|
|
291
257
|
type: :development
|
292
258
|
prerelease: false
|
293
259
|
version_requirements: !ruby/object:Gem::Requirement
|
294
|
-
none: false
|
295
260
|
requirements:
|
296
261
|
- - ~>
|
297
262
|
- !ruby/object:Gem::Version
|
@@ -299,7 +264,6 @@ dependencies:
|
|
299
264
|
- !ruby/object:Gem::Dependency
|
300
265
|
name: rspec-instafail
|
301
266
|
requirement: !ruby/object:Gem::Requirement
|
302
|
-
none: false
|
303
267
|
requirements:
|
304
268
|
- - ~>
|
305
269
|
- !ruby/object:Gem::Version
|
@@ -307,7 +271,6 @@ dependencies:
|
|
307
271
|
type: :development
|
308
272
|
prerelease: false
|
309
273
|
version_requirements: !ruby/object:Gem::Requirement
|
310
|
-
none: false
|
311
274
|
requirements:
|
312
275
|
- - ~>
|
313
276
|
- !ruby/object:Gem::Version
|
@@ -315,7 +278,6 @@ dependencies:
|
|
315
278
|
- !ruby/object:Gem::Dependency
|
316
279
|
name: webmock
|
317
280
|
requirement: !ruby/object:Gem::Requirement
|
318
|
-
none: false
|
319
281
|
requirements:
|
320
282
|
- - ~>
|
321
283
|
- !ruby/object:Gem::Version
|
@@ -323,7 +285,6 @@ dependencies:
|
|
323
285
|
type: :development
|
324
286
|
prerelease: false
|
325
287
|
version_requirements: !ruby/object:Gem::Requirement
|
326
|
-
none: false
|
327
288
|
requirements:
|
328
289
|
- - ~>
|
329
290
|
- !ruby/object:Gem::Version
|
@@ -606,31 +567,28 @@ files:
|
|
606
567
|
- spec/tunnel/tunnel_spec.rb
|
607
568
|
- bin/cf
|
608
569
|
homepage: http://github.com/cloudfoundry/cf
|
609
|
-
licenses:
|
570
|
+
licenses:
|
571
|
+
- Apache 2.0
|
572
|
+
metadata: {}
|
610
573
|
post_install_message:
|
611
574
|
rdoc_options: []
|
612
575
|
require_paths:
|
613
576
|
- lib
|
614
577
|
required_ruby_version: !ruby/object:Gem::Requirement
|
615
|
-
none: false
|
616
578
|
requirements:
|
617
579
|
- - ! '>='
|
618
580
|
- !ruby/object:Gem::Version
|
619
581
|
version: '0'
|
620
|
-
segments:
|
621
|
-
- 0
|
622
|
-
hash: 870166176781986790
|
623
582
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
624
|
-
none: false
|
625
583
|
requirements:
|
626
|
-
- - ! '
|
584
|
+
- - ! '>='
|
627
585
|
- !ruby/object:Gem::Version
|
628
|
-
version:
|
586
|
+
version: '0'
|
629
587
|
requirements: []
|
630
588
|
rubyforge_project: cf
|
631
|
-
rubygems_version:
|
589
|
+
rubygems_version: 2.0.3
|
632
590
|
signing_key:
|
633
|
-
specification_version:
|
591
|
+
specification_version: 4
|
634
592
|
summary: Friendly command-line interface for Cloud Foundry.
|
635
593
|
test_files:
|
636
594
|
- spec/admin/curl_spec.rb
|