cf 4.2.9.rc5 → 4.2.10.rc1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cf/cli.rb +3 -6
- data/lib/cf/cli/app/env.rb +3 -3
- data/lib/cf/cli/app/events.rb +1 -1
- data/lib/cf/cli/app/files.rb +3 -3
- data/lib/cf/cli/app/health.rb +1 -1
- data/lib/cf/cli/app/instances.rb +1 -1
- data/lib/cf/cli/app/logs.rb +2 -2
- data/lib/cf/cli/app/rename.rb +1 -1
- data/lib/cf/cli/app/scale.rb +1 -1
- data/lib/cf/cli/app/stats.rb +1 -1
- data/lib/cf/cli/organization/rename.rb +1 -1
- data/lib/cf/cli/route/map.rb +1 -1
- data/lib/cf/cli/route/unmap.rb +1 -1
- data/lib/cf/cli/service/create.rb +20 -69
- data/lib/cf/cli/service/delete.rb +1 -1
- data/lib/cf/cli/service/rename.rb +1 -1
- data/lib/cf/cli/service/services.rb +32 -12
- data/lib/cf/cli/space/rename.rb +1 -1
- data/lib/cf/cli/space/switch.rb +1 -1
- data/lib/cf/cli/start/colors.rb +1 -1
- data/lib/cf/cli/start/targets.rb +1 -1
- data/lib/cf/cli/user/create.rb +1 -1
- data/lib/cf/cli/user/passwd.rb +1 -1
- data/lib/cf/cli/user/register.rb +1 -1
- data/lib/cf/cli/user/users.rb +1 -1
- data/lib/cf/version.rb +1 -1
- data/lib/manifests/manifests.rb +25 -41
- data/lib/tasks/gem_release.rake +2 -2
- data/spec/cf/cli/app/delete_spec.rb +2 -2
- data/spec/cf/cli/app/push/create_spec.rb +1 -1
- data/spec/cf/cli/service/create_spec.rb +4 -52
- data/spec/cf/cli/service/rename_spec.rb +1 -1
- data/spec/cf/cli/service/services_spec.rb +34 -63
- data/spec/cf/cli/space/space_spec.rb +1 -1
- data/spec/cf/cli/space/spaces_spec.rb +3 -3
- data/spec/factories/cfoundry/v2/{managed_service_instances_factory.rb → service_instances_factory.rb} +2 -2
- data/spec/features/services_spec.rb +0 -96
- data/spec/integration/push_flow_spec.rb +1 -26
- data/spec/manifests/manifests_spec.rb +25 -46
- data/spec/support/features_helper.rb +3 -36
- data/spec/support/matchers.rb +3 -14
- metadata +66 -24
- checksums.yaml +0 -7
- data/lib/cf/cli/service/service_instance_helper.rb +0 -99
- data/spec/assets/env/Gemfile +0 -4
- data/spec/assets/env/Gemfile.lock +0 -17
- data/spec/assets/env/env_test.rb +0 -58
- data/spec/assets/hello-sinatra/manifest.yml +0 -17
- data/spec/cf/cli/service/service_instance_helper_spec.rb +0 -155
- data/spec/factories/cfoundry/v2/user_provided_service_instances_factory.rb +0 -12
- data/spec/features/manifests_spec.rb +0 -86
@@ -9,7 +9,6 @@ if ENV["CF_V2_RUN_INTEGRATION"]
|
|
9
9
|
let(:app) { "hello-sinatra-#{run_id}" }
|
10
10
|
let(:subdomain) { "hello-sinatra-subdomain-#{run_id}" }
|
11
11
|
let(:service_name) { "dummy-service-#{run_id}" }
|
12
|
-
let(:user_provided_name) { "user-provided-#{run_id}"}
|
13
12
|
|
14
13
|
before do
|
15
14
|
FileUtils.rm_rf File.expand_path(CF::CONFIG_DIR)
|
@@ -21,10 +20,6 @@ if ENV["CF_V2_RUN_INTEGRATION"]
|
|
21
20
|
after do
|
22
21
|
`#{cf_bin} unbind-service -f --no-script #{service_name} #{app}`
|
23
22
|
`#{cf_bin} delete-service -f --no-script #{service_name}`
|
24
|
-
|
25
|
-
`#{cf_bin} unbind-service -f --no-script #{user_provided_name} #{app}`
|
26
|
-
`#{cf_bin} delete-service -f --no-script #{user_provided_name}`
|
27
|
-
|
28
23
|
`#{cf_bin} delete #{app} -f --routes --no-script`
|
29
24
|
logout
|
30
25
|
Interact::Progress::Dots.stop!
|
@@ -90,27 +85,7 @@ if ENV["CF_V2_RUN_INTEGRATION"]
|
|
90
85
|
expect(runner).not_to say "Which plan?>"
|
91
86
|
runner.send_up_arrow
|
92
87
|
expect(runner).not_to say "Which plan?>"
|
93
|
-
runner.
|
94
|
-
|
95
|
-
# create a user-provided service here
|
96
|
-
expect(runner).to say "What kind?>"
|
97
|
-
runner.send_keys "user-provided"
|
98
|
-
|
99
|
-
expect(runner).to say "Name?>"
|
100
|
-
runner.send_keys user_provided_name
|
101
|
-
|
102
|
-
expect(runner).not_to say "Which plan?>"
|
103
|
-
expect(runner).to say "What credential parameters should applications use to connect to this service instance? (e.g. hostname, port, password)\nKeys>"
|
104
|
-
runner.send_keys "uri"
|
105
|
-
|
106
|
-
expect(runner).to say "uri>"
|
107
|
-
runner.send_keys "mysql://u:p@example.com:port/db"
|
108
|
-
|
109
|
-
expect(runner).to say /Creating service #{user_provided_name}.*OK/
|
110
|
-
expect(runner).to say /Binding .+ to .+ OK/
|
111
|
-
|
112
|
-
expect(runner).to say "Create another service?> n"
|
113
|
-
runner.send_keys "n"
|
88
|
+
runner.send_return
|
114
89
|
|
115
90
|
if runner.expect "Bind other services to application?> n", 15
|
116
91
|
runner.send_return
|
@@ -65,29 +65,13 @@ describe CFManifests do
|
|
65
65
|
:service_binding,
|
66
66
|
:service_instance =>
|
67
67
|
build(
|
68
|
-
:
|
68
|
+
:service_instance,
|
69
69
|
:name => "service-1",
|
70
70
|
:service_plan =>
|
71
71
|
build(
|
72
72
|
:service_plan,
|
73
73
|
:name => "P200",
|
74
|
-
:service => build(:service
|
75
|
-
label: "managed",
|
76
|
-
provider: "hamazon",
|
77
|
-
version: "v3"
|
78
|
-
)
|
79
|
-
)
|
80
|
-
)
|
81
|
-
),
|
82
|
-
build(
|
83
|
-
:service_binding,
|
84
|
-
:service_instance =>
|
85
|
-
build(
|
86
|
-
:user_provided_service_instance,
|
87
|
-
:name => "service-2",
|
88
|
-
:credentials => { uri: "mysql://example.com" }
|
89
|
-
)
|
90
|
-
)
|
74
|
+
:service => build(:service))))
|
91
75
|
]
|
92
76
|
end
|
93
77
|
|
@@ -103,18 +87,28 @@ describe CFManifests do
|
|
103
87
|
its(["buildpack"]) { should eq "git://example.com/foo.git" }
|
104
88
|
|
105
89
|
it "contains the service information" do
|
106
|
-
expect(subject["services"]).to
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
90
|
+
expect(subject["services"]).to be_a Hash
|
91
|
+
|
92
|
+
services = subject["services"]
|
93
|
+
app.service_bindings.each do |b|
|
94
|
+
service = b.service_instance
|
95
|
+
|
96
|
+
expect(services).to include service.name
|
97
|
+
|
98
|
+
info = services[service.name]
|
99
|
+
|
100
|
+
plan = service.service_plan
|
101
|
+
offering = plan.service
|
102
|
+
|
103
|
+
{"plan" => plan.name,
|
104
|
+
"label" => offering.label,
|
105
|
+
"provider" => offering.provider,
|
106
|
+
"version" => offering.version
|
107
|
+
}.each do |attr, val|
|
108
|
+
expect(info).to include attr
|
109
|
+
expect(info[attr]).to eq val
|
110
|
+
end
|
111
|
+
end
|
118
112
|
end
|
119
113
|
|
120
114
|
context "with only minimum configuration" do
|
@@ -141,27 +135,12 @@ describe CFManifests do
|
|
141
135
|
dont_allow_ask(anything, anything)
|
142
136
|
end
|
143
137
|
|
144
|
-
context "when user-provided services are defined in the manifest" do
|
145
|
-
let(:client) do
|
146
|
-
build(:client).tap { |client| client.stub(:services => [], :service_instances => []) }
|
147
|
-
end
|
148
|
-
|
149
|
-
let(:info) { {:services => {'moracle' => {:label => "user-provided", :credentials =>{"k" => "v"}}}}}
|
150
|
-
|
151
|
-
it "creates the service with label user-provided" do
|
152
|
-
cmd.should_receive(:invoke).with(:create_service,
|
153
|
-
:name => 'moracle', :offering => has_label("user-provided"), :app => app, :credentials => {"k" => "v"}
|
154
|
-
)
|
155
|
-
cmd.send("setup_services", app, info)
|
156
|
-
end
|
157
|
-
end
|
158
|
-
|
159
138
|
context "when services are defined in the manifest" do
|
160
139
|
let(:info) do
|
161
140
|
{:services => {"service-1" => {:label => "mysql", :plan => "100"}}}
|
162
141
|
end
|
163
142
|
|
164
|
-
let(:service_1) { build(:
|
143
|
+
let(:service_1) { build(:service_instance, :name => "service-1") }
|
165
144
|
let(:plan_100) { build :service_plan, :name => "100" }
|
166
145
|
|
167
146
|
let(:mysql) do
|
@@ -28,40 +28,9 @@ module FeaturesHelper
|
|
28
28
|
end
|
29
29
|
end
|
30
30
|
|
31
|
-
def
|
32
|
-
plan_name = opts[:plan]
|
33
|
-
credentials = opts[:credentials]
|
34
|
-
|
35
|
-
BlueShell::Runner.run("#{cf_bin} create-service") do |runner|
|
36
|
-
expect(runner).to say "What kind?>"
|
37
|
-
runner.send_keys service_name
|
38
|
-
|
39
|
-
expect(runner).to say "Name?>"
|
40
|
-
runner.send_keys instance_name
|
41
|
-
|
42
|
-
if service_name == "user-provided"
|
43
|
-
expect(runner).to say "Keys"
|
44
|
-
runner.send_keys credentials.keys.join(", ")
|
45
|
-
|
46
|
-
credentials.each do |key, value|
|
47
|
-
expect(runner).to say key.to_s
|
48
|
-
runner.send_keys value.to_s
|
49
|
-
end
|
50
|
-
else
|
51
|
-
expect(runner).to say "Which plan?"
|
52
|
-
runner.send_keys plan_name
|
53
|
-
end
|
54
|
-
|
55
|
-
expect(runner).to say "Creating service #{instance_name}... OK"
|
56
|
-
end
|
57
|
-
end
|
58
|
-
|
59
|
-
def push_app(app_folder, deployed_app_name, opts = {})
|
60
|
-
push_cmd = "#{cf_bin} push --no-manifest"
|
61
|
-
push_cmd += " --command #{opts[:start_command]}" if opts[:start_command]
|
62
|
-
|
31
|
+
def push_app(app_folder, deployed_app_name)
|
63
32
|
Dir.chdir("#{SPEC_ROOT}/assets/#{app_folder}") do
|
64
|
-
BlueShell::Runner.run(
|
33
|
+
BlueShell::Runner.run("#{cf_bin} push --no-manifest") do |runner|
|
65
34
|
expect(runner).to say "Name>"
|
66
35
|
runner.send_keys deployed_app_name
|
67
36
|
|
@@ -90,9 +59,7 @@ module FeaturesHelper
|
|
90
59
|
runner.send_return
|
91
60
|
end
|
92
61
|
|
93
|
-
|
94
|
-
|
95
|
-
runner.wait_for_exit opts[:timeout] || 30
|
62
|
+
runner.wait_for_exit
|
96
63
|
end
|
97
64
|
end
|
98
65
|
end
|
data/spec/support/matchers.rb
CHANGED
@@ -1,16 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
RSpec::Matchers.define :has_label do |expected|
|
2
|
+
match do |actual|
|
3
|
+
actual.label == expected
|
4
4
|
end
|
5
|
-
def failure_message_for_should
|
6
|
-
"#{actual} does not have label #{@expected}"
|
7
|
-
end
|
8
|
-
def ==(actual)
|
9
|
-
actual.label == @expected
|
10
|
-
end
|
11
|
-
alias_method :matches?, :==
|
12
|
-
end
|
13
|
-
|
14
|
-
def has_label(expected_label)
|
15
|
-
HasLabelMatcher.new(expected_label)
|
16
5
|
end
|
metadata
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.2.
|
4
|
+
version: 4.2.10.rc1
|
5
|
+
prerelease: 7
|
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-
|
13
|
+
date: 2013-07-31 00:00:00.000000000 Z
|
13
14
|
dependencies:
|
14
15
|
- !ruby/object:Gem::Dependency
|
15
16
|
name: addressable
|
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: caldecott-client
|
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,20 +47,23 @@ dependencies:
|
|
42
47
|
- !ruby/object:Gem::Dependency
|
43
48
|
name: cfoundry
|
44
49
|
requirement: !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
45
51
|
requirements:
|
46
52
|
- - ~>
|
47
53
|
- !ruby/object:Gem::Version
|
48
|
-
version: 4.0.
|
54
|
+
version: 4.0.3
|
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
|
55
|
-
version: 4.0.
|
62
|
+
version: 4.0.3
|
56
63
|
- !ruby/object:Gem::Dependency
|
57
64
|
name: interact
|
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: json_pure
|
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: mothership
|
86
97
|
requirement: !ruby/object:Gem::Requirement
|
98
|
+
none: false
|
87
99
|
requirements:
|
88
100
|
- - ! '>='
|
89
101
|
- !ruby/object:Gem::Version
|
@@ -94,6 +106,7 @@ dependencies:
|
|
94
106
|
type: :runtime
|
95
107
|
prerelease: false
|
96
108
|
version_requirements: !ruby/object:Gem::Requirement
|
109
|
+
none: false
|
97
110
|
requirements:
|
98
111
|
- - ! '>='
|
99
112
|
- !ruby/object:Gem::Version
|
@@ -104,6 +117,7 @@ dependencies:
|
|
104
117
|
- !ruby/object:Gem::Dependency
|
105
118
|
name: multi_json
|
106
119
|
requirement: !ruby/object:Gem::Requirement
|
120
|
+
none: false
|
107
121
|
requirements:
|
108
122
|
- - ~>
|
109
123
|
- !ruby/object:Gem::Version
|
@@ -111,6 +125,7 @@ dependencies:
|
|
111
125
|
type: :runtime
|
112
126
|
prerelease: false
|
113
127
|
version_requirements: !ruby/object:Gem::Requirement
|
128
|
+
none: false
|
114
129
|
requirements:
|
115
130
|
- - ~>
|
116
131
|
- !ruby/object:Gem::Version
|
@@ -118,6 +133,7 @@ dependencies:
|
|
118
133
|
- !ruby/object:Gem::Dependency
|
119
134
|
name: rest-client
|
120
135
|
requirement: !ruby/object:Gem::Requirement
|
136
|
+
none: false
|
121
137
|
requirements:
|
122
138
|
- - ~>
|
123
139
|
- !ruby/object:Gem::Version
|
@@ -125,6 +141,7 @@ dependencies:
|
|
125
141
|
type: :runtime
|
126
142
|
prerelease: false
|
127
143
|
version_requirements: !ruby/object:Gem::Requirement
|
144
|
+
none: false
|
128
145
|
requirements:
|
129
146
|
- - ~>
|
130
147
|
- !ruby/object:Gem::Version
|
@@ -132,6 +149,7 @@ dependencies:
|
|
132
149
|
- !ruby/object:Gem::Dependency
|
133
150
|
name: uuidtools
|
134
151
|
requirement: !ruby/object:Gem::Requirement
|
152
|
+
none: false
|
135
153
|
requirements:
|
136
154
|
- - ~>
|
137
155
|
- !ruby/object:Gem::Version
|
@@ -139,13 +157,31 @@ dependencies:
|
|
139
157
|
type: :runtime
|
140
158
|
prerelease: false
|
141
159
|
version_requirements: !ruby/object:Gem::Requirement
|
160
|
+
none: false
|
142
161
|
requirements:
|
143
162
|
- - ~>
|
144
163
|
- !ruby/object:Gem::Version
|
145
164
|
version: '2.1'
|
165
|
+
- !ruby/object:Gem::Dependency
|
166
|
+
name: anchorman
|
167
|
+
requirement: !ruby/object:Gem::Requirement
|
168
|
+
none: false
|
169
|
+
requirements:
|
170
|
+
- - ! '>='
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: '0'
|
173
|
+
type: :development
|
174
|
+
prerelease: false
|
175
|
+
version_requirements: !ruby/object:Gem::Requirement
|
176
|
+
none: false
|
177
|
+
requirements:
|
178
|
+
- - ! '>='
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
146
181
|
- !ruby/object:Gem::Dependency
|
147
182
|
name: blue-shell
|
148
183
|
requirement: !ruby/object:Gem::Requirement
|
184
|
+
none: false
|
149
185
|
requirements:
|
150
186
|
- - ! '>='
|
151
187
|
- !ruby/object:Gem::Version
|
@@ -153,6 +189,7 @@ dependencies:
|
|
153
189
|
type: :development
|
154
190
|
prerelease: false
|
155
191
|
version_requirements: !ruby/object:Gem::Requirement
|
192
|
+
none: false
|
156
193
|
requirements:
|
157
194
|
- - ! '>='
|
158
195
|
- !ruby/object:Gem::Version
|
@@ -160,6 +197,7 @@ dependencies:
|
|
160
197
|
- !ruby/object:Gem::Dependency
|
161
198
|
name: factory_girl
|
162
199
|
requirement: !ruby/object:Gem::Requirement
|
200
|
+
none: false
|
163
201
|
requirements:
|
164
202
|
- - ! '>='
|
165
203
|
- !ruby/object:Gem::Version
|
@@ -167,6 +205,7 @@ dependencies:
|
|
167
205
|
type: :development
|
168
206
|
prerelease: false
|
169
207
|
version_requirements: !ruby/object:Gem::Requirement
|
208
|
+
none: false
|
170
209
|
requirements:
|
171
210
|
- - ! '>='
|
172
211
|
- !ruby/object:Gem::Version
|
@@ -174,6 +213,7 @@ dependencies:
|
|
174
213
|
- !ruby/object:Gem::Dependency
|
175
214
|
name: fakefs
|
176
215
|
requirement: !ruby/object:Gem::Requirement
|
216
|
+
none: false
|
177
217
|
requirements:
|
178
218
|
- - ~>
|
179
219
|
- !ruby/object:Gem::Version
|
@@ -181,6 +221,7 @@ dependencies:
|
|
181
221
|
type: :development
|
182
222
|
prerelease: false
|
183
223
|
version_requirements: !ruby/object:Gem::Requirement
|
224
|
+
none: false
|
184
225
|
requirements:
|
185
226
|
- - ~>
|
186
227
|
- !ruby/object:Gem::Version
|
@@ -188,6 +229,7 @@ dependencies:
|
|
188
229
|
- !ruby/object:Gem::Dependency
|
189
230
|
name: ffaker
|
190
231
|
requirement: !ruby/object:Gem::Requirement
|
232
|
+
none: false
|
191
233
|
requirements:
|
192
234
|
- - '='
|
193
235
|
- !ruby/object:Gem::Version
|
@@ -195,6 +237,7 @@ dependencies:
|
|
195
237
|
type: :development
|
196
238
|
prerelease: false
|
197
239
|
version_requirements: !ruby/object:Gem::Requirement
|
240
|
+
none: false
|
198
241
|
requirements:
|
199
242
|
- - '='
|
200
243
|
- !ruby/object:Gem::Version
|
@@ -202,6 +245,7 @@ dependencies:
|
|
202
245
|
- !ruby/object:Gem::Dependency
|
203
246
|
name: gem-release
|
204
247
|
requirement: !ruby/object:Gem::Requirement
|
248
|
+
none: false
|
205
249
|
requirements:
|
206
250
|
- - ! '>='
|
207
251
|
- !ruby/object:Gem::Version
|
@@ -209,6 +253,7 @@ dependencies:
|
|
209
253
|
type: :development
|
210
254
|
prerelease: false
|
211
255
|
version_requirements: !ruby/object:Gem::Requirement
|
256
|
+
none: false
|
212
257
|
requirements:
|
213
258
|
- - ! '>='
|
214
259
|
- !ruby/object:Gem::Version
|
@@ -216,6 +261,7 @@ dependencies:
|
|
216
261
|
- !ruby/object:Gem::Dependency
|
217
262
|
name: rake
|
218
263
|
requirement: !ruby/object:Gem::Requirement
|
264
|
+
none: false
|
219
265
|
requirements:
|
220
266
|
- - ~>
|
221
267
|
- !ruby/object:Gem::Version
|
@@ -223,6 +269,7 @@ dependencies:
|
|
223
269
|
type: :development
|
224
270
|
prerelease: false
|
225
271
|
version_requirements: !ruby/object:Gem::Requirement
|
272
|
+
none: false
|
226
273
|
requirements:
|
227
274
|
- - ~>
|
228
275
|
- !ruby/object:Gem::Version
|
@@ -230,6 +277,7 @@ dependencies:
|
|
230
277
|
- !ruby/object:Gem::Dependency
|
231
278
|
name: rspec
|
232
279
|
requirement: !ruby/object:Gem::Requirement
|
280
|
+
none: false
|
233
281
|
requirements:
|
234
282
|
- - ~>
|
235
283
|
- !ruby/object:Gem::Version
|
@@ -237,6 +285,7 @@ dependencies:
|
|
237
285
|
type: :development
|
238
286
|
prerelease: false
|
239
287
|
version_requirements: !ruby/object:Gem::Requirement
|
288
|
+
none: false
|
240
289
|
requirements:
|
241
290
|
- - ~>
|
242
291
|
- !ruby/object:Gem::Version
|
@@ -244,6 +293,7 @@ dependencies:
|
|
244
293
|
- !ruby/object:Gem::Dependency
|
245
294
|
name: rspec-instafail
|
246
295
|
requirement: !ruby/object:Gem::Requirement
|
296
|
+
none: false
|
247
297
|
requirements:
|
248
298
|
- - ~>
|
249
299
|
- !ruby/object:Gem::Version
|
@@ -251,6 +301,7 @@ dependencies:
|
|
251
301
|
type: :development
|
252
302
|
prerelease: false
|
253
303
|
version_requirements: !ruby/object:Gem::Requirement
|
304
|
+
none: false
|
254
305
|
requirements:
|
255
306
|
- - ~>
|
256
307
|
- !ruby/object:Gem::Version
|
@@ -258,6 +309,7 @@ dependencies:
|
|
258
309
|
- !ruby/object:Gem::Dependency
|
259
310
|
name: webmock
|
260
311
|
requirement: !ruby/object:Gem::Requirement
|
312
|
+
none: false
|
261
313
|
requirements:
|
262
314
|
- - ~>
|
263
315
|
- !ruby/object:Gem::Version
|
@@ -265,6 +317,7 @@ dependencies:
|
|
265
317
|
type: :development
|
266
318
|
prerelease: false
|
267
319
|
version_requirements: !ruby/object:Gem::Requirement
|
320
|
+
none: false
|
268
321
|
requirements:
|
269
322
|
- - ~>
|
270
323
|
- !ruby/object:Gem::Version
|
@@ -335,7 +388,6 @@ files:
|
|
335
388
|
- lib/cf/cli/service/delete.rb
|
336
389
|
- lib/cf/cli/service/rename.rb
|
337
390
|
- lib/cf/cli/service/service.rb
|
338
|
-
- lib/cf/cli/service/service_instance_helper.rb
|
339
391
|
- lib/cf/cli/service/services.rb
|
340
392
|
- lib/cf/cli/service/unbind.rb
|
341
393
|
- lib/cf/cli/space/base.rb
|
@@ -398,15 +450,11 @@ files:
|
|
398
450
|
- spec/admin/curl_spec.rb
|
399
451
|
- spec/admin/guid_spec.rb
|
400
452
|
- spec/admin/set_quota_spec.rb
|
401
|
-
- spec/assets/env/env_test.rb
|
402
|
-
- spec/assets/env/Gemfile
|
403
|
-
- spec/assets/env/Gemfile.lock
|
404
453
|
- spec/assets/hello-sinatra/config.ru
|
405
454
|
- spec/assets/hello-sinatra/fat-cat-makes-app-larger.png
|
406
455
|
- spec/assets/hello-sinatra/Gemfile
|
407
456
|
- spec/assets/hello-sinatra/Gemfile.lock
|
408
457
|
- spec/assets/hello-sinatra/main.rb
|
409
|
-
- spec/assets/hello-sinatra/manifest.yml
|
410
458
|
- spec/assets/rails328_ruby187_app/app/assets/images/rails.png
|
411
459
|
- spec/assets/rails328_ruby187_app/app/assets/javascripts/application.js
|
412
460
|
- spec/assets/rails328_ruby187_app/app/assets/stylesheets/application.css
|
@@ -488,7 +536,6 @@ files:
|
|
488
536
|
- spec/cf/cli/service/delete_spec.rb
|
489
537
|
- spec/cf/cli/service/help_spec.rb
|
490
538
|
- spec/cf/cli/service/rename_spec.rb
|
491
|
-
- spec/cf/cli/service/service_instance_helper_spec.rb
|
492
539
|
- spec/cf/cli/service/service_spec.rb
|
493
540
|
- spec/cf/cli/service/services_spec.rb
|
494
541
|
- spec/cf/cli/service/unbind_spec.rb
|
@@ -515,21 +562,19 @@ files:
|
|
515
562
|
- spec/factories/cfoundry/v2/apps_factory.rb
|
516
563
|
- spec/factories/cfoundry/v2/clients_factory.rb
|
517
564
|
- spec/factories/cfoundry/v2/domains_factory.rb
|
518
|
-
- spec/factories/cfoundry/v2/managed_service_instances_factory.rb
|
519
565
|
- spec/factories/cfoundry/v2/organizations_factory.rb
|
520
566
|
- spec/factories/cfoundry/v2/quota_definitions.rb
|
521
567
|
- spec/factories/cfoundry/v2/routes_factory.rb
|
522
568
|
- spec/factories/cfoundry/v2/service_bindings_factory.rb
|
569
|
+
- spec/factories/cfoundry/v2/service_instances_factory.rb
|
523
570
|
- spec/factories/cfoundry/v2/service_plans_factory.rb
|
524
571
|
- spec/factories/cfoundry/v2/services_factory.rb
|
525
572
|
- spec/factories/cfoundry/v2/spaces_factory.rb
|
526
573
|
- spec/factories/cfoundry/v2/stacks_factory.rb
|
527
|
-
- spec/factories/cfoundry/v2/user_provided_service_instances_factory.rb
|
528
574
|
- spec/factories/cfoundry/v2/users_factory.rb
|
529
575
|
- spec/features/account_lifecycle_spec.rb
|
530
576
|
- spec/features/create_user_spec.rb
|
531
577
|
- spec/features/login_spec.rb
|
532
|
-
- spec/features/manifests_spec.rb
|
533
578
|
- spec/features/org_spec.rb
|
534
579
|
- spec/features/services_spec.rb
|
535
580
|
- spec/features/space_spec.rb
|
@@ -557,40 +602,40 @@ files:
|
|
557
602
|
homepage: http://github.com/cloudfoundry/cf
|
558
603
|
licenses:
|
559
604
|
- Apache 2.0
|
560
|
-
metadata: {}
|
561
605
|
post_install_message:
|
562
606
|
rdoc_options: []
|
563
607
|
require_paths:
|
564
608
|
- lib
|
565
609
|
required_ruby_version: !ruby/object:Gem::Requirement
|
610
|
+
none: false
|
566
611
|
requirements:
|
567
612
|
- - ! '>='
|
568
613
|
- !ruby/object:Gem::Version
|
569
614
|
version: '0'
|
615
|
+
segments:
|
616
|
+
- 0
|
617
|
+
hash: -1557605910592806796
|
570
618
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
619
|
+
none: false
|
571
620
|
requirements:
|
572
621
|
- - ! '>'
|
573
622
|
- !ruby/object:Gem::Version
|
574
623
|
version: 1.3.1
|
575
624
|
requirements: []
|
576
625
|
rubyforge_project: cf
|
577
|
-
rubygems_version:
|
626
|
+
rubygems_version: 1.8.25
|
578
627
|
signing_key:
|
579
|
-
specification_version:
|
628
|
+
specification_version: 3
|
580
629
|
summary: Friendly command-line interface for Cloud Foundry.
|
581
630
|
test_files:
|
582
631
|
- spec/admin/curl_spec.rb
|
583
632
|
- spec/admin/guid_spec.rb
|
584
633
|
- spec/admin/set_quota_spec.rb
|
585
|
-
- spec/assets/env/env_test.rb
|
586
|
-
- spec/assets/env/Gemfile
|
587
|
-
- spec/assets/env/Gemfile.lock
|
588
634
|
- spec/assets/hello-sinatra/config.ru
|
589
635
|
- spec/assets/hello-sinatra/fat-cat-makes-app-larger.png
|
590
636
|
- spec/assets/hello-sinatra/Gemfile
|
591
637
|
- spec/assets/hello-sinatra/Gemfile.lock
|
592
638
|
- spec/assets/hello-sinatra/main.rb
|
593
|
-
- spec/assets/hello-sinatra/manifest.yml
|
594
639
|
- spec/assets/rails328_ruby187_app/app/assets/images/rails.png
|
595
640
|
- spec/assets/rails328_ruby187_app/app/assets/javascripts/application.js
|
596
641
|
- spec/assets/rails328_ruby187_app/app/assets/stylesheets/application.css
|
@@ -672,7 +717,6 @@ test_files:
|
|
672
717
|
- spec/cf/cli/service/delete_spec.rb
|
673
718
|
- spec/cf/cli/service/help_spec.rb
|
674
719
|
- spec/cf/cli/service/rename_spec.rb
|
675
|
-
- spec/cf/cli/service/service_instance_helper_spec.rb
|
676
720
|
- spec/cf/cli/service/service_spec.rb
|
677
721
|
- spec/cf/cli/service/services_spec.rb
|
678
722
|
- spec/cf/cli/service/unbind_spec.rb
|
@@ -699,21 +743,19 @@ test_files:
|
|
699
743
|
- spec/factories/cfoundry/v2/apps_factory.rb
|
700
744
|
- spec/factories/cfoundry/v2/clients_factory.rb
|
701
745
|
- spec/factories/cfoundry/v2/domains_factory.rb
|
702
|
-
- spec/factories/cfoundry/v2/managed_service_instances_factory.rb
|
703
746
|
- spec/factories/cfoundry/v2/organizations_factory.rb
|
704
747
|
- spec/factories/cfoundry/v2/quota_definitions.rb
|
705
748
|
- spec/factories/cfoundry/v2/routes_factory.rb
|
706
749
|
- spec/factories/cfoundry/v2/service_bindings_factory.rb
|
750
|
+
- spec/factories/cfoundry/v2/service_instances_factory.rb
|
707
751
|
- spec/factories/cfoundry/v2/service_plans_factory.rb
|
708
752
|
- spec/factories/cfoundry/v2/services_factory.rb
|
709
753
|
- spec/factories/cfoundry/v2/spaces_factory.rb
|
710
754
|
- spec/factories/cfoundry/v2/stacks_factory.rb
|
711
|
-
- spec/factories/cfoundry/v2/user_provided_service_instances_factory.rb
|
712
755
|
- spec/factories/cfoundry/v2/users_factory.rb
|
713
756
|
- spec/features/account_lifecycle_spec.rb
|
714
757
|
- spec/features/create_user_spec.rb
|
715
758
|
- spec/features/login_spec.rb
|
716
|
-
- spec/features/manifests_spec.rb
|
717
759
|
- spec/features/org_spec.rb
|
718
760
|
- spec/features/services_spec.rb
|
719
761
|
- spec/features/space_spec.rb
|