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.
Files changed (157) hide show
  1. checksums.yaml +14 -6
  2. data/LICENSE +1277 -24
  3. data/Rakefile +24 -87
  4. data/bin/af +7 -2
  5. data/lib/af/version.rb +3 -0
  6. data/lib/vmc.rb +7 -2
  7. data/lib/vmc/cli.rb +475 -0
  8. data/lib/vmc/cli/app/app.rb +45 -0
  9. data/lib/vmc/cli/app/apps.rb +105 -0
  10. data/lib/vmc/cli/app/base.rb +82 -0
  11. data/lib/vmc/cli/app/crashes.rb +46 -0
  12. data/lib/vmc/cli/app/delete.rb +95 -0
  13. data/lib/vmc/cli/app/deprecated.rb +11 -0
  14. data/lib/vmc/cli/app/env.rb +78 -0
  15. data/lib/vmc/cli/app/files.rb +137 -0
  16. data/lib/vmc/cli/app/health.rb +26 -0
  17. data/lib/vmc/cli/app/instances.rb +53 -0
  18. data/lib/vmc/cli/app/logs.rb +76 -0
  19. data/lib/vmc/cli/app/push.rb +107 -0
  20. data/lib/vmc/cli/app/push/create.rb +150 -0
  21. data/lib/vmc/cli/app/push/interactions.rb +100 -0
  22. data/lib/vmc/cli/app/push/sync.rb +64 -0
  23. data/lib/vmc/cli/app/rename.rb +39 -0
  24. data/lib/vmc/cli/app/restart.rb +20 -0
  25. data/lib/vmc/cli/app/scale.rb +71 -0
  26. data/lib/vmc/cli/app/start.rb +93 -0
  27. data/lib/vmc/cli/app/stats.rb +67 -0
  28. data/lib/vmc/cli/app/stop.rb +27 -0
  29. data/lib/vmc/cli/domain/base.rb +12 -0
  30. data/lib/vmc/cli/domain/domains.rb +40 -0
  31. data/lib/vmc/cli/domain/map.rb +55 -0
  32. data/lib/vmc/cli/domain/unmap.rb +56 -0
  33. data/lib/vmc/cli/help.rb +16 -0
  34. data/lib/vmc/cli/interactive.rb +105 -0
  35. data/lib/vmc/cli/organization/base.rb +14 -0
  36. data/lib/vmc/cli/organization/create.rb +32 -0
  37. data/lib/vmc/cli/organization/delete.rb +73 -0
  38. data/lib/vmc/cli/organization/org.rb +45 -0
  39. data/lib/vmc/cli/organization/orgs.rb +35 -0
  40. data/lib/vmc/cli/organization/rename.rb +36 -0
  41. data/lib/vmc/cli/route/base.rb +12 -0
  42. data/lib/vmc/cli/route/map.rb +80 -0
  43. data/lib/vmc/cli/route/routes.rb +26 -0
  44. data/lib/vmc/cli/route/unmap.rb +94 -0
  45. data/lib/vmc/cli/service/base.rb +8 -0
  46. data/lib/vmc/cli/service/bind.rb +44 -0
  47. data/lib/vmc/cli/service/create.rb +126 -0
  48. data/lib/vmc/cli/service/delete.rb +86 -0
  49. data/lib/vmc/cli/service/rename.rb +35 -0
  50. data/lib/vmc/cli/service/service.rb +42 -0
  51. data/lib/vmc/cli/service/services.rb +115 -0
  52. data/lib/vmc/cli/service/unbind.rb +38 -0
  53. data/lib/vmc/cli/space/base.rb +21 -0
  54. data/lib/vmc/cli/space/create.rb +56 -0
  55. data/lib/vmc/cli/space/delete.rb +95 -0
  56. data/lib/vmc/cli/space/rename.rb +39 -0
  57. data/lib/vmc/cli/space/space.rb +64 -0
  58. data/lib/vmc/cli/space/spaces.rb +55 -0
  59. data/lib/vmc/cli/space/take.rb +16 -0
  60. data/lib/vmc/cli/start/base.rb +80 -0
  61. data/lib/vmc/cli/start/colors.rb +13 -0
  62. data/lib/vmc/cli/start/info.rb +122 -0
  63. data/lib/vmc/cli/start/login.rb +92 -0
  64. data/lib/vmc/cli/start/logout.rb +13 -0
  65. data/lib/vmc/cli/start/target.rb +64 -0
  66. data/lib/vmc/cli/start/target_interactions.rb +37 -0
  67. data/lib/vmc/cli/start/targets.rb +16 -0
  68. data/lib/vmc/cli/user/base.rb +29 -0
  69. data/lib/vmc/cli/user/create.rb +39 -0
  70. data/lib/vmc/cli/user/delete.rb +25 -0
  71. data/lib/vmc/cli/user/passwd.rb +50 -0
  72. data/lib/vmc/cli/user/register.rb +42 -0
  73. data/lib/vmc/cli/user/users.rb +32 -0
  74. data/lib/vmc/constants.rb +13 -0
  75. data/lib/vmc/detect.rb +134 -0
  76. data/lib/vmc/errors.rb +17 -0
  77. data/lib/vmc/plugin.rb +56 -0
  78. data/lib/vmc/spacing.rb +89 -0
  79. data/lib/vmc/spec_helper.rb +1 -0
  80. data/lib/vmc/test_support.rb +4 -0
  81. data/lib/vmc/test_support/command_helper.rb +32 -0
  82. data/lib/vmc/test_support/common_input_examples.rb +14 -0
  83. data/lib/vmc/test_support/fake_home_dir.rb +16 -0
  84. data/lib/vmc/test_support/interact_helper.rb +29 -0
  85. data/lib/vmc/version.rb +3 -0
  86. data/spec/assets/hello-sinatra/Gemfile +3 -0
  87. data/spec/assets/hello-sinatra/main.rb +6 -0
  88. data/spec/features/new_user_flow_spec.rb +71 -0
  89. data/spec/spec_helper.rb +63 -0
  90. data/spec/vmc/cli/app/base_spec.rb +17 -0
  91. data/spec/vmc/cli/app/delete_spec.rb +188 -0
  92. data/spec/vmc/cli/app/instances_spec.rb +65 -0
  93. data/spec/vmc/cli/app/push/create_spec.rb +571 -0
  94. data/spec/vmc/cli/app/push_spec.rb +369 -0
  95. data/spec/vmc/cli/app/rename_spec.rb +104 -0
  96. data/spec/vmc/cli/app/scale_spec.rb +81 -0
  97. data/spec/vmc/cli/app/stats_spec.rb +62 -0
  98. data/spec/vmc/cli/domain/map_spec.rb +140 -0
  99. data/spec/vmc/cli/domain/unmap_spec.rb +73 -0
  100. data/spec/vmc/cli/organization/orgs_spec.rb +108 -0
  101. data/spec/vmc/cli/organization/rename_spec.rb +113 -0
  102. data/spec/vmc/cli/route/map_spec.rb +138 -0
  103. data/spec/vmc/cli/route/unmap_spec.rb +215 -0
  104. data/spec/vmc/cli/service/bind_spec.rb +25 -0
  105. data/spec/vmc/cli/service/delete_spec.rb +22 -0
  106. data/spec/vmc/cli/service/rename_spec.rb +105 -0
  107. data/spec/vmc/cli/service/service_spec.rb +23 -0
  108. data/spec/vmc/cli/service/unbind_spec.rb +25 -0
  109. data/spec/vmc/cli/space/rename_spec.rb +102 -0
  110. data/spec/vmc/cli/space/spaces_spec.rb +104 -0
  111. data/spec/vmc/cli/start/info_spec.rb +153 -0
  112. data/spec/vmc/cli/start/login_spec.rb +71 -0
  113. data/spec/vmc/cli/user/create_spec.rb +54 -0
  114. data/spec/vmc/cli/user/passwd_spec.rb +102 -0
  115. data/spec/vmc/cli/user/register_spec.rb +148 -0
  116. data/spec/vmc/cli_spec.rb +448 -0
  117. data/spec/vmc/detect_spec.rb +54 -0
  118. metadata +231 -124
  119. data/README.md +0 -155
  120. data/caldecott_helper/Gemfile +0 -10
  121. data/caldecott_helper/Gemfile.lock +0 -48
  122. data/caldecott_helper/server.rb +0 -43
  123. data/config/clients.yml +0 -17
  124. data/config/micro/offline.conf +0 -2
  125. data/config/micro/paths.yml +0 -22
  126. data/config/micro/refresh_ip.rb +0 -20
  127. data/lib/cli.rb +0 -48
  128. data/lib/cli/commands/admin.rb +0 -81
  129. data/lib/cli/commands/apps.rb +0 -1358
  130. data/lib/cli/commands/base.rb +0 -233
  131. data/lib/cli/commands/manifest.rb +0 -56
  132. data/lib/cli/commands/micro.rb +0 -115
  133. data/lib/cli/commands/misc.rb +0 -147
  134. data/lib/cli/commands/services.rb +0 -217
  135. data/lib/cli/commands/user.rb +0 -70
  136. data/lib/cli/config.rb +0 -176
  137. data/lib/cli/console_helper.rb +0 -163
  138. data/lib/cli/core_ext.rb +0 -122
  139. data/lib/cli/errors.rb +0 -19
  140. data/lib/cli/file_helper.rb +0 -123
  141. data/lib/cli/frameworks.rb +0 -265
  142. data/lib/cli/manifest_helper.rb +0 -316
  143. data/lib/cli/runner.rb +0 -633
  144. data/lib/cli/services_helper.rb +0 -104
  145. data/lib/cli/tunnel_helper.rb +0 -336
  146. data/lib/cli/usage.rb +0 -129
  147. data/lib/cli/version.rb +0 -7
  148. data/lib/cli/zip_util.rb +0 -102
  149. data/lib/vmc/client.rb +0 -574
  150. data/lib/vmc/const.rb +0 -27
  151. data/lib/vmc/micro.rb +0 -56
  152. data/lib/vmc/micro/switcher/base.rb +0 -97
  153. data/lib/vmc/micro/switcher/darwin.rb +0 -19
  154. data/lib/vmc/micro/switcher/dummy.rb +0 -15
  155. data/lib/vmc/micro/switcher/linux.rb +0 -16
  156. data/lib/vmc/micro/switcher/windows.rb +0 -31
  157. 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.3.22
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: 2015-01-15 00:00:00.000000000 Z
12
+ date: 2013-03-06 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
- name: caldecott
15
+ name: json_pure
15
16
  requirement: !ruby/object:Gem::Requirement
16
17
  requirements:
17
- - - '='
18
+ - - ~>
18
19
  - !ruby/object:Gem::Version
19
- version: 0.0.5
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: 0.0.5
27
+ version: '1.6'
27
28
  - !ruby/object:Gem::Dependency
28
- name: json_pure
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.7.0
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.5.1
44
- - - "<"
45
- - !ruby/object:Gem::Version
46
- version: 1.7.0
41
+ version: '1.3'
47
42
  - !ruby/object:Gem::Dependency
48
- name: rubyzip
43
+ name: interact
49
44
  requirement: !ruby/object:Gem::Requirement
50
45
  requirements:
51
- - - "~>"
46
+ - - ~>
52
47
  - !ruby/object:Gem::Version
53
- version: 0.9.4
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.9.4
55
+ version: '0.5'
61
56
  - !ruby/object:Gem::Dependency
62
- name: rest-client
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: 1.7.0
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: 1.6.1
78
- - - "<"
79
- - !ruby/object:Gem::Version
80
- version: 1.7.0
69
+ version: '0.5'
81
70
  - !ruby/object:Gem::Dependency
82
- name: terminal-table
71
+ name: clouseau
83
72
  requirement: !ruby/object:Gem::Requirement
84
73
  requirements:
85
- - - "~>"
74
+ - - ~>
86
75
  - !ruby/object:Gem::Version
87
- version: 1.4.2
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: 1.4.2
83
+ version: '0.0'
95
84
  - !ruby/object:Gem::Dependency
96
- name: interact
85
+ name: mothership
97
86
  requirement: !ruby/object:Gem::Requirement
98
87
  requirements:
99
- - - "~>"
88
+ - - ~>
100
89
  - !ruby/object:Gem::Version
101
- version: 0.4.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.4.0
97
+ version: '0.5'
109
98
  - !ruby/object:Gem::Dependency
110
- name: addressable
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: 2.2.6
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: 2.2.6
111
+ version: '0.6'
123
112
  - !ruby/object:Gem::Dependency
124
- name: uuidtools
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.1.0
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.1.0
125
+ version: '0.2'
137
126
  - !ruby/object:Gem::Dependency
138
- name: rb-readline
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.4.2
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.4.2
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: 1.3.0
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: 1.3.0
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.5.0
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.5.0
193
- description: AppFog.com CLI
194
- email: support@appfog.com
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
- - bin/af
206
- - caldecott_helper/Gemfile
207
- - caldecott_helper/Gemfile.lock
208
- - caldecott_helper/server.rb
209
- - config/clients.yml
210
- - config/micro/offline.conf
211
- - config/micro/paths.yml
212
- - config/micro/refresh_ip.rb
213
- - lib/cli.rb
214
- - lib/cli/commands/admin.rb
215
- - lib/cli/commands/apps.rb
216
- - lib/cli/commands/base.rb
217
- - lib/cli/commands/manifest.rb
218
- - lib/cli/commands/micro.rb
219
- - lib/cli/commands/misc.rb
220
- - lib/cli/commands/services.rb
221
- - lib/cli/commands/user.rb
222
- - lib/cli/config.rb
223
- - lib/cli/console_helper.rb
224
- - lib/cli/core_ext.rb
225
- - lib/cli/errors.rb
226
- - lib/cli/file_helper.rb
227
- - lib/cli/frameworks.rb
228
- - lib/cli/manifest_helper.rb
229
- - lib/cli/runner.rb
230
- - lib/cli/services_helper.rb
231
- - lib/cli/tunnel_helper.rb
232
- - lib/cli/usage.rb
233
- - lib/cli/version.rb
234
- - lib/cli/zip_util.rb
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
- - lib/vmc/client.rb
237
- - lib/vmc/const.rb
238
- - lib/vmc/micro.rb
239
- - lib/vmc/micro/switcher/base.rb
240
- - lib/vmc/micro/switcher/darwin.rb
241
- - lib/vmc/micro/switcher/dummy.rb
242
- - lib/vmc/micro/switcher/linux.rb
243
- - lib/vmc/micro/switcher/windows.rb
244
- - lib/vmc/micro/vmrun.rb
245
- homepage: http://appfog.com
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: '0'
336
+ version: 1.3.1
262
337
  requirements: []
263
- rubyforge_project:
264
- rubygems_version: 2.2.2
338
+ rubyforge_project: af
339
+ rubygems_version: 2.0.1
265
340
  signing_key:
266
341
  specification_version: 4
267
- summary: AppFog.com CLI
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