af 0.3.22 → 0.5.0.beta.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +14 -6
- data/LICENSE +1277 -24
- data/Rakefile +24 -87
- data/bin/af +7 -2
- data/lib/af/version.rb +3 -0
- data/lib/vmc.rb +7 -2
- data/lib/vmc/cli.rb +475 -0
- data/lib/vmc/cli/app/app.rb +45 -0
- data/lib/vmc/cli/app/apps.rb +105 -0
- data/lib/vmc/cli/app/base.rb +82 -0
- data/lib/vmc/cli/app/crashes.rb +46 -0
- data/lib/vmc/cli/app/delete.rb +95 -0
- data/lib/vmc/cli/app/deprecated.rb +11 -0
- data/lib/vmc/cli/app/env.rb +78 -0
- data/lib/vmc/cli/app/files.rb +137 -0
- data/lib/vmc/cli/app/health.rb +26 -0
- data/lib/vmc/cli/app/instances.rb +53 -0
- data/lib/vmc/cli/app/logs.rb +76 -0
- data/lib/vmc/cli/app/push.rb +107 -0
- data/lib/vmc/cli/app/push/create.rb +150 -0
- data/lib/vmc/cli/app/push/interactions.rb +100 -0
- data/lib/vmc/cli/app/push/sync.rb +64 -0
- data/lib/vmc/cli/app/rename.rb +39 -0
- data/lib/vmc/cli/app/restart.rb +20 -0
- data/lib/vmc/cli/app/scale.rb +71 -0
- data/lib/vmc/cli/app/start.rb +93 -0
- data/lib/vmc/cli/app/stats.rb +67 -0
- data/lib/vmc/cli/app/stop.rb +27 -0
- data/lib/vmc/cli/domain/base.rb +12 -0
- data/lib/vmc/cli/domain/domains.rb +40 -0
- data/lib/vmc/cli/domain/map.rb +55 -0
- data/lib/vmc/cli/domain/unmap.rb +56 -0
- data/lib/vmc/cli/help.rb +16 -0
- data/lib/vmc/cli/interactive.rb +105 -0
- data/lib/vmc/cli/organization/base.rb +14 -0
- data/lib/vmc/cli/organization/create.rb +32 -0
- data/lib/vmc/cli/organization/delete.rb +73 -0
- data/lib/vmc/cli/organization/org.rb +45 -0
- data/lib/vmc/cli/organization/orgs.rb +35 -0
- data/lib/vmc/cli/organization/rename.rb +36 -0
- data/lib/vmc/cli/route/base.rb +12 -0
- data/lib/vmc/cli/route/map.rb +80 -0
- data/lib/vmc/cli/route/routes.rb +26 -0
- data/lib/vmc/cli/route/unmap.rb +94 -0
- data/lib/vmc/cli/service/base.rb +8 -0
- data/lib/vmc/cli/service/bind.rb +44 -0
- data/lib/vmc/cli/service/create.rb +126 -0
- data/lib/vmc/cli/service/delete.rb +86 -0
- data/lib/vmc/cli/service/rename.rb +35 -0
- data/lib/vmc/cli/service/service.rb +42 -0
- data/lib/vmc/cli/service/services.rb +115 -0
- data/lib/vmc/cli/service/unbind.rb +38 -0
- data/lib/vmc/cli/space/base.rb +21 -0
- data/lib/vmc/cli/space/create.rb +56 -0
- data/lib/vmc/cli/space/delete.rb +95 -0
- data/lib/vmc/cli/space/rename.rb +39 -0
- data/lib/vmc/cli/space/space.rb +64 -0
- data/lib/vmc/cli/space/spaces.rb +55 -0
- data/lib/vmc/cli/space/take.rb +16 -0
- data/lib/vmc/cli/start/base.rb +80 -0
- data/lib/vmc/cli/start/colors.rb +13 -0
- data/lib/vmc/cli/start/info.rb +122 -0
- data/lib/vmc/cli/start/login.rb +92 -0
- data/lib/vmc/cli/start/logout.rb +13 -0
- data/lib/vmc/cli/start/target.rb +64 -0
- data/lib/vmc/cli/start/target_interactions.rb +37 -0
- data/lib/vmc/cli/start/targets.rb +16 -0
- data/lib/vmc/cli/user/base.rb +29 -0
- data/lib/vmc/cli/user/create.rb +39 -0
- data/lib/vmc/cli/user/delete.rb +25 -0
- data/lib/vmc/cli/user/passwd.rb +50 -0
- data/lib/vmc/cli/user/register.rb +42 -0
- data/lib/vmc/cli/user/users.rb +32 -0
- data/lib/vmc/constants.rb +13 -0
- data/lib/vmc/detect.rb +134 -0
- data/lib/vmc/errors.rb +17 -0
- data/lib/vmc/plugin.rb +56 -0
- data/lib/vmc/spacing.rb +89 -0
- data/lib/vmc/spec_helper.rb +1 -0
- data/lib/vmc/test_support.rb +4 -0
- data/lib/vmc/test_support/command_helper.rb +32 -0
- data/lib/vmc/test_support/common_input_examples.rb +14 -0
- data/lib/vmc/test_support/fake_home_dir.rb +16 -0
- data/lib/vmc/test_support/interact_helper.rb +29 -0
- data/lib/vmc/version.rb +3 -0
- data/spec/assets/hello-sinatra/Gemfile +3 -0
- data/spec/assets/hello-sinatra/main.rb +6 -0
- data/spec/features/new_user_flow_spec.rb +71 -0
- data/spec/spec_helper.rb +63 -0
- data/spec/vmc/cli/app/base_spec.rb +17 -0
- data/spec/vmc/cli/app/delete_spec.rb +188 -0
- data/spec/vmc/cli/app/instances_spec.rb +65 -0
- data/spec/vmc/cli/app/push/create_spec.rb +571 -0
- data/spec/vmc/cli/app/push_spec.rb +369 -0
- data/spec/vmc/cli/app/rename_spec.rb +104 -0
- data/spec/vmc/cli/app/scale_spec.rb +81 -0
- data/spec/vmc/cli/app/stats_spec.rb +62 -0
- data/spec/vmc/cli/domain/map_spec.rb +140 -0
- data/spec/vmc/cli/domain/unmap_spec.rb +73 -0
- data/spec/vmc/cli/organization/orgs_spec.rb +108 -0
- data/spec/vmc/cli/organization/rename_spec.rb +113 -0
- data/spec/vmc/cli/route/map_spec.rb +138 -0
- data/spec/vmc/cli/route/unmap_spec.rb +215 -0
- data/spec/vmc/cli/service/bind_spec.rb +25 -0
- data/spec/vmc/cli/service/delete_spec.rb +22 -0
- data/spec/vmc/cli/service/rename_spec.rb +105 -0
- data/spec/vmc/cli/service/service_spec.rb +23 -0
- data/spec/vmc/cli/service/unbind_spec.rb +25 -0
- data/spec/vmc/cli/space/rename_spec.rb +102 -0
- data/spec/vmc/cli/space/spaces_spec.rb +104 -0
- data/spec/vmc/cli/start/info_spec.rb +153 -0
- data/spec/vmc/cli/start/login_spec.rb +71 -0
- data/spec/vmc/cli/user/create_spec.rb +54 -0
- data/spec/vmc/cli/user/passwd_spec.rb +102 -0
- data/spec/vmc/cli/user/register_spec.rb +148 -0
- data/spec/vmc/cli_spec.rb +448 -0
- data/spec/vmc/detect_spec.rb +54 -0
- metadata +231 -124
- data/README.md +0 -155
- data/caldecott_helper/Gemfile +0 -10
- data/caldecott_helper/Gemfile.lock +0 -48
- data/caldecott_helper/server.rb +0 -43
- data/config/clients.yml +0 -17
- data/config/micro/offline.conf +0 -2
- data/config/micro/paths.yml +0 -22
- data/config/micro/refresh_ip.rb +0 -20
- data/lib/cli.rb +0 -48
- data/lib/cli/commands/admin.rb +0 -81
- data/lib/cli/commands/apps.rb +0 -1358
- data/lib/cli/commands/base.rb +0 -233
- data/lib/cli/commands/manifest.rb +0 -56
- data/lib/cli/commands/micro.rb +0 -115
- data/lib/cli/commands/misc.rb +0 -147
- data/lib/cli/commands/services.rb +0 -217
- data/lib/cli/commands/user.rb +0 -70
- data/lib/cli/config.rb +0 -176
- data/lib/cli/console_helper.rb +0 -163
- data/lib/cli/core_ext.rb +0 -122
- data/lib/cli/errors.rb +0 -19
- data/lib/cli/file_helper.rb +0 -123
- data/lib/cli/frameworks.rb +0 -265
- data/lib/cli/manifest_helper.rb +0 -316
- data/lib/cli/runner.rb +0 -633
- data/lib/cli/services_helper.rb +0 -104
- data/lib/cli/tunnel_helper.rb +0 -336
- data/lib/cli/usage.rb +0 -129
- data/lib/cli/version.rb +0 -7
- data/lib/cli/zip_util.rb +0 -102
- data/lib/vmc/client.rb +0 -574
- data/lib/vmc/const.rb +0 -27
- data/lib/vmc/micro.rb +0 -56
- data/lib/vmc/micro/switcher/base.rb +0 -97
- data/lib/vmc/micro/switcher/darwin.rb +0 -19
- data/lib/vmc/micro/switcher/dummy.rb +0 -15
- data/lib/vmc/micro/switcher/linux.rb +0 -16
- data/lib/vmc/micro/switcher/windows.rb +0 -31
- data/lib/vmc/micro/vmrun.rb +0 -158
@@ -0,0 +1,54 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe VMC::Detector do
|
4
|
+
let(:client) { fake_client :frameworks => [framework] }
|
5
|
+
let(:detector) { VMC::Detector.new client, nil }
|
6
|
+
|
7
|
+
describe '#detect_framework' do
|
8
|
+
subject { detector.detect_framework }
|
9
|
+
|
10
|
+
{ Clouseau::Django => "django",
|
11
|
+
Clouseau::DotNet => "dotNet",
|
12
|
+
Clouseau::Grails => "grails",
|
13
|
+
Clouseau::Java => "java_web",
|
14
|
+
Clouseau::Lift => "lift",
|
15
|
+
Clouseau::Node => "node",
|
16
|
+
Clouseau::PHP => "php",
|
17
|
+
Clouseau::Play => "play",
|
18
|
+
Clouseau::Python => "wsgi",
|
19
|
+
Clouseau::Rack => "rack",
|
20
|
+
Clouseau::Rails => "rails3",
|
21
|
+
Clouseau::Sinatra => "sinatra",
|
22
|
+
Clouseau::Spring => "spring"
|
23
|
+
}.each do |clouseau_detective, cf_name|
|
24
|
+
context "when we detected #{clouseau_detective}" do
|
25
|
+
let(:framework) { fake(:framework, :name => cf_name) }
|
26
|
+
|
27
|
+
it "maps to CF name #{cf_name}" do
|
28
|
+
stub(Clouseau).detect(anything) { clouseau_detective }
|
29
|
+
should eq framework
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
describe '#detect_runtime' do
|
36
|
+
|
37
|
+
end
|
38
|
+
|
39
|
+
describe '#runtimes' do
|
40
|
+
|
41
|
+
end
|
42
|
+
|
43
|
+
describe '#suggested_memory' do
|
44
|
+
|
45
|
+
end
|
46
|
+
|
47
|
+
describe '#all_runtimes' do
|
48
|
+
|
49
|
+
end
|
50
|
+
|
51
|
+
describe '#all_frameworks' do
|
52
|
+
|
53
|
+
end
|
54
|
+
end
|
metadata
CHANGED
@@ -1,248 +1,323 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: af
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0.beta.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
+
- Cloud Foundry Team
|
7
8
|
- AppFog
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
+
date: 2013-03-06 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
15
|
+
name: json_pure
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
16
17
|
requirements:
|
17
|
-
- -
|
18
|
+
- - ~>
|
18
19
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
20
|
+
version: '1.6'
|
20
21
|
type: :runtime
|
21
22
|
prerelease: false
|
22
23
|
version_requirements: !ruby/object:Gem::Requirement
|
23
24
|
requirements:
|
24
|
-
- -
|
25
|
+
- - ~>
|
25
26
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
27
|
+
version: '1.6'
|
27
28
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
29
|
+
name: multi_json
|
29
30
|
requirement: !ruby/object:Gem::Requirement
|
30
31
|
requirements:
|
31
|
-
- -
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 1.5.1
|
34
|
-
- - "<"
|
32
|
+
- - ~>
|
35
33
|
- !ruby/object:Gem::Version
|
36
|
-
version: 1.
|
34
|
+
version: '1.3'
|
37
35
|
type: :runtime
|
38
36
|
prerelease: false
|
39
37
|
version_requirements: !ruby/object:Gem::Requirement
|
40
38
|
requirements:
|
41
|
-
- -
|
39
|
+
- - ~>
|
42
40
|
- !ruby/object:Gem::Version
|
43
|
-
version: 1.
|
44
|
-
- - "<"
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version: 1.7.0
|
41
|
+
version: '1.3'
|
47
42
|
- !ruby/object:Gem::Dependency
|
48
|
-
name:
|
43
|
+
name: interact
|
49
44
|
requirement: !ruby/object:Gem::Requirement
|
50
45
|
requirements:
|
51
|
-
- -
|
46
|
+
- - ~>
|
52
47
|
- !ruby/object:Gem::Version
|
53
|
-
version: 0.
|
48
|
+
version: '0.5'
|
54
49
|
type: :runtime
|
55
50
|
prerelease: false
|
56
51
|
version_requirements: !ruby/object:Gem::Requirement
|
57
52
|
requirements:
|
58
|
-
- -
|
53
|
+
- - ~>
|
59
54
|
- !ruby/object:Gem::Version
|
60
|
-
version: 0.
|
55
|
+
version: '0.5'
|
61
56
|
- !ruby/object:Gem::Dependency
|
62
|
-
name:
|
57
|
+
name: cfoundry
|
63
58
|
requirement: !ruby/object:Gem::Requirement
|
64
59
|
requirements:
|
65
|
-
- -
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: 1.6.1
|
68
|
-
- - "<"
|
60
|
+
- - ~>
|
69
61
|
- !ruby/object:Gem::Version
|
70
|
-
version:
|
62
|
+
version: '0.5'
|
71
63
|
type: :runtime
|
72
64
|
prerelease: false
|
73
65
|
version_requirements: !ruby/object:Gem::Requirement
|
74
66
|
requirements:
|
75
|
-
- -
|
67
|
+
- - ~>
|
76
68
|
- !ruby/object:Gem::Version
|
77
|
-
version:
|
78
|
-
- - "<"
|
79
|
-
- !ruby/object:Gem::Version
|
80
|
-
version: 1.7.0
|
69
|
+
version: '0.5'
|
81
70
|
- !ruby/object:Gem::Dependency
|
82
|
-
name:
|
71
|
+
name: clouseau
|
83
72
|
requirement: !ruby/object:Gem::Requirement
|
84
73
|
requirements:
|
85
|
-
- -
|
74
|
+
- - ~>
|
86
75
|
- !ruby/object:Gem::Version
|
87
|
-
version:
|
76
|
+
version: '0.0'
|
88
77
|
type: :runtime
|
89
78
|
prerelease: false
|
90
79
|
version_requirements: !ruby/object:Gem::Requirement
|
91
80
|
requirements:
|
92
|
-
- -
|
81
|
+
- - ~>
|
93
82
|
- !ruby/object:Gem::Version
|
94
|
-
version:
|
83
|
+
version: '0.0'
|
95
84
|
- !ruby/object:Gem::Dependency
|
96
|
-
name:
|
85
|
+
name: mothership
|
97
86
|
requirement: !ruby/object:Gem::Requirement
|
98
87
|
requirements:
|
99
|
-
- -
|
88
|
+
- - ~>
|
100
89
|
- !ruby/object:Gem::Version
|
101
|
-
version: 0.
|
90
|
+
version: '0.5'
|
102
91
|
type: :runtime
|
103
92
|
prerelease: false
|
104
93
|
version_requirements: !ruby/object:Gem::Requirement
|
105
94
|
requirements:
|
106
|
-
- -
|
95
|
+
- - ~>
|
107
96
|
- !ruby/object:Gem::Version
|
108
|
-
version: 0.
|
97
|
+
version: '0.5'
|
109
98
|
- !ruby/object:Gem::Dependency
|
110
|
-
name:
|
99
|
+
name: manifests-vmc-plugin
|
111
100
|
requirement: !ruby/object:Gem::Requirement
|
112
101
|
requirements:
|
113
|
-
- -
|
102
|
+
- - ~>
|
114
103
|
- !ruby/object:Gem::Version
|
115
|
-
version:
|
104
|
+
version: '0.6'
|
116
105
|
type: :runtime
|
117
106
|
prerelease: false
|
118
107
|
version_requirements: !ruby/object:Gem::Requirement
|
119
108
|
requirements:
|
120
|
-
- -
|
109
|
+
- - ~>
|
121
110
|
- !ruby/object:Gem::Version
|
122
|
-
version:
|
111
|
+
version: '0.6'
|
123
112
|
- !ruby/object:Gem::Dependency
|
124
|
-
name:
|
113
|
+
name: tunnel-vmc-plugin
|
125
114
|
requirement: !ruby/object:Gem::Requirement
|
126
115
|
requirements:
|
127
|
-
- -
|
116
|
+
- - ~>
|
128
117
|
- !ruby/object:Gem::Version
|
129
|
-
version: 2
|
118
|
+
version: '0.2'
|
130
119
|
type: :runtime
|
131
120
|
prerelease: false
|
132
121
|
version_requirements: !ruby/object:Gem::Requirement
|
133
122
|
requirements:
|
134
|
-
- -
|
123
|
+
- - ~>
|
135
124
|
- !ruby/object:Gem::Version
|
136
|
-
version: 2
|
125
|
+
version: '0.2'
|
137
126
|
- !ruby/object:Gem::Dependency
|
138
|
-
name:
|
127
|
+
name: appfog-vmc-plugin
|
139
128
|
requirement: !ruby/object:Gem::Requirement
|
140
129
|
requirements:
|
141
|
-
- -
|
130
|
+
- - ~>
|
142
131
|
- !ruby/object:Gem::Version
|
143
|
-
version: 0.
|
132
|
+
version: 0.1.1
|
144
133
|
type: :runtime
|
145
134
|
prerelease: false
|
146
135
|
version_requirements: !ruby/object:Gem::Requirement
|
147
136
|
requirements:
|
148
|
-
- -
|
137
|
+
- - ~>
|
149
138
|
- !ruby/object:Gem::Version
|
150
|
-
version: 0.
|
139
|
+
version: 0.1.1
|
151
140
|
- !ruby/object:Gem::Dependency
|
152
141
|
name: rake
|
153
142
|
requirement: !ruby/object:Gem::Requirement
|
154
143
|
requirements:
|
155
|
-
- -
|
144
|
+
- - ~>
|
156
145
|
- !ruby/object:Gem::Version
|
157
|
-
version: '0'
|
146
|
+
version: '0.9'
|
158
147
|
type: :development
|
159
148
|
prerelease: false
|
160
149
|
version_requirements: !ruby/object:Gem::Requirement
|
161
150
|
requirements:
|
162
|
-
- -
|
151
|
+
- - ~>
|
163
152
|
- !ruby/object:Gem::Version
|
164
|
-
version: '0'
|
153
|
+
version: '0.9'
|
165
154
|
- !ruby/object:Gem::Dependency
|
166
155
|
name: rspec
|
167
156
|
requirement: !ruby/object:Gem::Requirement
|
168
157
|
requirements:
|
169
|
-
- -
|
158
|
+
- - ~>
|
170
159
|
- !ruby/object:Gem::Version
|
171
|
-
version:
|
160
|
+
version: '2.11'
|
172
161
|
type: :development
|
173
162
|
prerelease: false
|
174
163
|
version_requirements: !ruby/object:Gem::Requirement
|
175
164
|
requirements:
|
176
|
-
- -
|
165
|
+
- - ~>
|
177
166
|
- !ruby/object:Gem::Version
|
178
|
-
version:
|
167
|
+
version: '2.11'
|
179
168
|
- !ruby/object:Gem::Dependency
|
180
169
|
name: webmock
|
181
170
|
requirement: !ruby/object:Gem::Requirement
|
182
171
|
requirements:
|
183
|
-
- -
|
172
|
+
- - ~>
|
184
173
|
- !ruby/object:Gem::Version
|
185
|
-
version: 1.
|
174
|
+
version: '1.9'
|
186
175
|
type: :development
|
187
176
|
prerelease: false
|
188
177
|
version_requirements: !ruby/object:Gem::Requirement
|
189
178
|
requirements:
|
190
|
-
- -
|
179
|
+
- - ~>
|
191
180
|
- !ruby/object:Gem::Version
|
192
|
-
version: 1.
|
193
|
-
|
194
|
-
|
181
|
+
version: '1.9'
|
182
|
+
- !ruby/object:Gem::Dependency
|
183
|
+
name: rr
|
184
|
+
requirement: !ruby/object:Gem::Requirement
|
185
|
+
requirements:
|
186
|
+
- - ~>
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
version: '1.0'
|
189
|
+
type: :development
|
190
|
+
prerelease: false
|
191
|
+
version_requirements: !ruby/object:Gem::Requirement
|
192
|
+
requirements:
|
193
|
+
- - ~>
|
194
|
+
- !ruby/object:Gem::Version
|
195
|
+
version: '1.0'
|
196
|
+
description: ! "\n Friendly command-line interface for AppFog.\n "
|
197
|
+
email:
|
198
|
+
- support@appfog.com
|
195
199
|
executables:
|
196
200
|
- af
|
197
201
|
extensions: []
|
198
|
-
extra_rdoc_files:
|
199
|
-
- README.md
|
200
|
-
- LICENSE
|
202
|
+
extra_rdoc_files: []
|
201
203
|
files:
|
202
204
|
- LICENSE
|
203
|
-
- README.md
|
204
205
|
- Rakefile
|
205
|
-
-
|
206
|
-
-
|
207
|
-
-
|
208
|
-
-
|
209
|
-
-
|
210
|
-
-
|
211
|
-
-
|
212
|
-
-
|
213
|
-
- lib/cli.rb
|
214
|
-
- lib/cli/
|
215
|
-
- lib/cli/
|
216
|
-
- lib/cli/
|
217
|
-
- lib/cli/
|
218
|
-
- lib/cli/
|
219
|
-
- lib/cli/
|
220
|
-
- lib/cli/
|
221
|
-
- lib/cli/
|
222
|
-
- lib/cli/
|
223
|
-
- lib/cli/
|
224
|
-
- lib/cli/
|
225
|
-
- lib/cli/
|
226
|
-
- lib/cli/
|
227
|
-
- lib/cli/
|
228
|
-
- lib/cli/
|
229
|
-
- lib/cli/
|
230
|
-
- lib/cli/
|
231
|
-
- lib/cli/
|
232
|
-
- lib/cli/
|
233
|
-
- lib/cli/
|
234
|
-
- lib/cli/
|
206
|
+
- lib/af/version.rb
|
207
|
+
- lib/vmc/cli/app/app.rb
|
208
|
+
- lib/vmc/cli/app/apps.rb
|
209
|
+
- lib/vmc/cli/app/base.rb
|
210
|
+
- lib/vmc/cli/app/crashes.rb
|
211
|
+
- lib/vmc/cli/app/delete.rb
|
212
|
+
- lib/vmc/cli/app/deprecated.rb
|
213
|
+
- lib/vmc/cli/app/env.rb
|
214
|
+
- lib/vmc/cli/app/files.rb
|
215
|
+
- lib/vmc/cli/app/health.rb
|
216
|
+
- lib/vmc/cli/app/instances.rb
|
217
|
+
- lib/vmc/cli/app/logs.rb
|
218
|
+
- lib/vmc/cli/app/push/create.rb
|
219
|
+
- lib/vmc/cli/app/push/interactions.rb
|
220
|
+
- lib/vmc/cli/app/push/sync.rb
|
221
|
+
- lib/vmc/cli/app/push.rb
|
222
|
+
- lib/vmc/cli/app/rename.rb
|
223
|
+
- lib/vmc/cli/app/restart.rb
|
224
|
+
- lib/vmc/cli/app/scale.rb
|
225
|
+
- lib/vmc/cli/app/start.rb
|
226
|
+
- lib/vmc/cli/app/stats.rb
|
227
|
+
- lib/vmc/cli/app/stop.rb
|
228
|
+
- lib/vmc/cli/domain/base.rb
|
229
|
+
- lib/vmc/cli/domain/domains.rb
|
230
|
+
- lib/vmc/cli/domain/map.rb
|
231
|
+
- lib/vmc/cli/domain/unmap.rb
|
232
|
+
- lib/vmc/cli/help.rb
|
233
|
+
- lib/vmc/cli/interactive.rb
|
234
|
+
- lib/vmc/cli/organization/base.rb
|
235
|
+
- lib/vmc/cli/organization/create.rb
|
236
|
+
- lib/vmc/cli/organization/delete.rb
|
237
|
+
- lib/vmc/cli/organization/org.rb
|
238
|
+
- lib/vmc/cli/organization/orgs.rb
|
239
|
+
- lib/vmc/cli/organization/rename.rb
|
240
|
+
- lib/vmc/cli/route/base.rb
|
241
|
+
- lib/vmc/cli/route/map.rb
|
242
|
+
- lib/vmc/cli/route/routes.rb
|
243
|
+
- lib/vmc/cli/route/unmap.rb
|
244
|
+
- lib/vmc/cli/service/base.rb
|
245
|
+
- lib/vmc/cli/service/bind.rb
|
246
|
+
- lib/vmc/cli/service/create.rb
|
247
|
+
- lib/vmc/cli/service/delete.rb
|
248
|
+
- lib/vmc/cli/service/rename.rb
|
249
|
+
- lib/vmc/cli/service/service.rb
|
250
|
+
- lib/vmc/cli/service/services.rb
|
251
|
+
- lib/vmc/cli/service/unbind.rb
|
252
|
+
- lib/vmc/cli/space/base.rb
|
253
|
+
- lib/vmc/cli/space/create.rb
|
254
|
+
- lib/vmc/cli/space/delete.rb
|
255
|
+
- lib/vmc/cli/space/rename.rb
|
256
|
+
- lib/vmc/cli/space/space.rb
|
257
|
+
- lib/vmc/cli/space/spaces.rb
|
258
|
+
- lib/vmc/cli/space/take.rb
|
259
|
+
- lib/vmc/cli/start/base.rb
|
260
|
+
- lib/vmc/cli/start/colors.rb
|
261
|
+
- lib/vmc/cli/start/info.rb
|
262
|
+
- lib/vmc/cli/start/login.rb
|
263
|
+
- lib/vmc/cli/start/logout.rb
|
264
|
+
- lib/vmc/cli/start/target.rb
|
265
|
+
- lib/vmc/cli/start/target_interactions.rb
|
266
|
+
- lib/vmc/cli/start/targets.rb
|
267
|
+
- lib/vmc/cli/user/base.rb
|
268
|
+
- lib/vmc/cli/user/create.rb
|
269
|
+
- lib/vmc/cli/user/delete.rb
|
270
|
+
- lib/vmc/cli/user/passwd.rb
|
271
|
+
- lib/vmc/cli/user/register.rb
|
272
|
+
- lib/vmc/cli/user/users.rb
|
273
|
+
- lib/vmc/cli.rb
|
274
|
+
- lib/vmc/constants.rb
|
275
|
+
- lib/vmc/detect.rb
|
276
|
+
- lib/vmc/errors.rb
|
277
|
+
- lib/vmc/plugin.rb
|
278
|
+
- lib/vmc/spacing.rb
|
279
|
+
- lib/vmc/spec_helper.rb
|
280
|
+
- lib/vmc/test_support/command_helper.rb
|
281
|
+
- lib/vmc/test_support/common_input_examples.rb
|
282
|
+
- lib/vmc/test_support/fake_home_dir.rb
|
283
|
+
- lib/vmc/test_support/interact_helper.rb
|
284
|
+
- lib/vmc/test_support.rb
|
285
|
+
- lib/vmc/version.rb
|
235
286
|
- lib/vmc.rb
|
236
|
-
-
|
237
|
-
-
|
238
|
-
-
|
239
|
-
-
|
240
|
-
-
|
241
|
-
-
|
242
|
-
-
|
243
|
-
-
|
244
|
-
-
|
245
|
-
|
287
|
+
- spec/assets/hello-sinatra/Gemfile
|
288
|
+
- spec/assets/hello-sinatra/main.rb
|
289
|
+
- spec/features/new_user_flow_spec.rb
|
290
|
+
- spec/spec_helper.rb
|
291
|
+
- spec/vmc/cli/app/base_spec.rb
|
292
|
+
- spec/vmc/cli/app/delete_spec.rb
|
293
|
+
- spec/vmc/cli/app/instances_spec.rb
|
294
|
+
- spec/vmc/cli/app/push/create_spec.rb
|
295
|
+
- spec/vmc/cli/app/push_spec.rb
|
296
|
+
- spec/vmc/cli/app/rename_spec.rb
|
297
|
+
- spec/vmc/cli/app/scale_spec.rb
|
298
|
+
- spec/vmc/cli/app/stats_spec.rb
|
299
|
+
- spec/vmc/cli/domain/map_spec.rb
|
300
|
+
- spec/vmc/cli/domain/unmap_spec.rb
|
301
|
+
- spec/vmc/cli/organization/orgs_spec.rb
|
302
|
+
- spec/vmc/cli/organization/rename_spec.rb
|
303
|
+
- spec/vmc/cli/route/map_spec.rb
|
304
|
+
- spec/vmc/cli/route/unmap_spec.rb
|
305
|
+
- spec/vmc/cli/service/bind_spec.rb
|
306
|
+
- spec/vmc/cli/service/delete_spec.rb
|
307
|
+
- spec/vmc/cli/service/rename_spec.rb
|
308
|
+
- spec/vmc/cli/service/service_spec.rb
|
309
|
+
- spec/vmc/cli/service/unbind_spec.rb
|
310
|
+
- spec/vmc/cli/space/rename_spec.rb
|
311
|
+
- spec/vmc/cli/space/spaces_spec.rb
|
312
|
+
- spec/vmc/cli/start/info_spec.rb
|
313
|
+
- spec/vmc/cli/start/login_spec.rb
|
314
|
+
- spec/vmc/cli/user/create_spec.rb
|
315
|
+
- spec/vmc/cli/user/passwd_spec.rb
|
316
|
+
- spec/vmc/cli/user/register_spec.rb
|
317
|
+
- spec/vmc/cli_spec.rb
|
318
|
+
- spec/vmc/detect_spec.rb
|
319
|
+
- bin/af
|
320
|
+
homepage: http://github.com/appfog/af
|
246
321
|
licenses: []
|
247
322
|
metadata: {}
|
248
323
|
post_install_message:
|
@@ -251,18 +326,50 @@ require_paths:
|
|
251
326
|
- lib
|
252
327
|
required_ruby_version: !ruby/object:Gem::Requirement
|
253
328
|
requirements:
|
254
|
-
- -
|
329
|
+
- - ! '>='
|
255
330
|
- !ruby/object:Gem::Version
|
256
331
|
version: '0'
|
257
332
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
258
333
|
requirements:
|
259
|
-
- -
|
334
|
+
- - ! '>'
|
260
335
|
- !ruby/object:Gem::Version
|
261
|
-
version:
|
336
|
+
version: 1.3.1
|
262
337
|
requirements: []
|
263
|
-
rubyforge_project:
|
264
|
-
rubygems_version: 2.
|
338
|
+
rubyforge_project: af
|
339
|
+
rubygems_version: 2.0.1
|
265
340
|
signing_key:
|
266
341
|
specification_version: 4
|
267
|
-
summary: AppFog.
|
268
|
-
test_files:
|
342
|
+
summary: Friendly command-line interface for AppFog.
|
343
|
+
test_files:
|
344
|
+
- spec/assets/hello-sinatra/Gemfile
|
345
|
+
- spec/assets/hello-sinatra/main.rb
|
346
|
+
- spec/features/new_user_flow_spec.rb
|
347
|
+
- spec/spec_helper.rb
|
348
|
+
- spec/vmc/cli/app/base_spec.rb
|
349
|
+
- spec/vmc/cli/app/delete_spec.rb
|
350
|
+
- spec/vmc/cli/app/instances_spec.rb
|
351
|
+
- spec/vmc/cli/app/push/create_spec.rb
|
352
|
+
- spec/vmc/cli/app/push_spec.rb
|
353
|
+
- spec/vmc/cli/app/rename_spec.rb
|
354
|
+
- spec/vmc/cli/app/scale_spec.rb
|
355
|
+
- spec/vmc/cli/app/stats_spec.rb
|
356
|
+
- spec/vmc/cli/domain/map_spec.rb
|
357
|
+
- spec/vmc/cli/domain/unmap_spec.rb
|
358
|
+
- spec/vmc/cli/organization/orgs_spec.rb
|
359
|
+
- spec/vmc/cli/organization/rename_spec.rb
|
360
|
+
- spec/vmc/cli/route/map_spec.rb
|
361
|
+
- spec/vmc/cli/route/unmap_spec.rb
|
362
|
+
- spec/vmc/cli/service/bind_spec.rb
|
363
|
+
- spec/vmc/cli/service/delete_spec.rb
|
364
|
+
- spec/vmc/cli/service/rename_spec.rb
|
365
|
+
- spec/vmc/cli/service/service_spec.rb
|
366
|
+
- spec/vmc/cli/service/unbind_spec.rb
|
367
|
+
- spec/vmc/cli/space/rename_spec.rb
|
368
|
+
- spec/vmc/cli/space/spaces_spec.rb
|
369
|
+
- spec/vmc/cli/start/info_spec.rb
|
370
|
+
- spec/vmc/cli/start/login_spec.rb
|
371
|
+
- spec/vmc/cli/user/create_spec.rb
|
372
|
+
- spec/vmc/cli/user/passwd_spec.rb
|
373
|
+
- spec/vmc/cli/user/register_spec.rb
|
374
|
+
- spec/vmc/cli_spec.rb
|
375
|
+
- spec/vmc/detect_spec.rb
|