cf_script 0.0.1.beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (205) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +15 -0
  3. data/CHANGELOG.md +0 -0
  4. data/Gemfile +12 -0
  5. data/LICENSE +22 -0
  6. data/README.md +84 -0
  7. data/Rakefile +33 -0
  8. data/cf_script.gemspec +34 -0
  9. data/lib/cf_script/callbacks.rb +43 -0
  10. data/lib/cf_script/command/base.rb +57 -0
  11. data/lib/cf_script/command/cf/apps/app.rb +19 -0
  12. data/lib/cf_script/command/cf/apps/apps.rb +44 -0
  13. data/lib/cf_script/command/cf/apps/env.rb +20 -0
  14. data/lib/cf_script/command/cf/apps/push.rb +47 -0
  15. data/lib/cf_script/command/cf/apps/restage.rb +19 -0
  16. data/lib/cf_script/command/cf/apps/restart.rb +19 -0
  17. data/lib/cf_script/command/cf/apps/set_env.rb +18 -0
  18. data/lib/cf_script/command/cf/apps/start.rb +19 -0
  19. data/lib/cf_script/command/cf/apps/stop.rb +19 -0
  20. data/lib/cf_script/command/cf/apps/unset_env.rb +18 -0
  21. data/lib/cf_script/command/cf/apps.rb +55 -0
  22. data/lib/cf_script/command/cf/general/api.rb +36 -0
  23. data/lib/cf_script/command/cf/general/auth.rb +28 -0
  24. data/lib/cf_script/command/cf/general/login.rb +42 -0
  25. data/lib/cf_script/command/cf/general/logout.rb +15 -0
  26. data/lib/cf_script/command/cf/general/target.rb +64 -0
  27. data/lib/cf_script/command/cf/general.rb +15 -0
  28. data/lib/cf_script/command/cf/routes/check_route.rb +17 -0
  29. data/lib/cf_script/command/cf/routes/create_route.rb +19 -0
  30. data/lib/cf_script/command/cf/routes/delete_route.rb +19 -0
  31. data/lib/cf_script/command/cf/routes/map_route.rb +30 -0
  32. data/lib/cf_script/command/cf/routes/routes.rb +40 -0
  33. data/lib/cf_script/command/cf/routes/unmap_route.rb +30 -0
  34. data/lib/cf_script/command/cf/routes.rb +17 -0
  35. data/lib/cf_script/command/cf/spaces/space.rb +36 -0
  36. data/lib/cf_script/command/cf/spaces/spaces.rb +23 -0
  37. data/lib/cf_script/command/cf/spaces.rb +9 -0
  38. data/lib/cf_script/command/error.rb +5 -0
  39. data/lib/cf_script/command/line.rb +105 -0
  40. data/lib/cf_script/command/registry.rb +50 -0
  41. data/lib/cf_script/command/runner.rb +97 -0
  42. data/lib/cf_script/command.rb +44 -0
  43. data/lib/cf_script/config.rb +60 -0
  44. data/lib/cf_script/executor/non_blocking.rb +107 -0
  45. data/lib/cf_script/executor/recorder.rb +16 -0
  46. data/lib/cf_script/executor/simple.rb +17 -0
  47. data/lib/cf_script/executor.rb +5 -0
  48. data/lib/cf_script/manifest.rb +38 -0
  49. data/lib/cf_script/object/api_endpoint.rb +10 -0
  50. data/lib/cf_script/object/app_info.rb +69 -0
  51. data/lib/cf_script/object/app_list.rb +24 -0
  52. data/lib/cf_script/object/app_spec.rb +55 -0
  53. data/lib/cf_script/object/attribute.rb +18 -0
  54. data/lib/cf_script/object/attribute_list.rb +40 -0
  55. data/lib/cf_script/object/instance_status.rb +29 -0
  56. data/lib/cf_script/object/route_info.rb +14 -0
  57. data/lib/cf_script/object/space.rb +17 -0
  58. data/lib/cf_script/object/target.rb +23 -0
  59. data/lib/cf_script/object.rb +24 -0
  60. data/lib/cf_script/output/buffer.rb +74 -0
  61. data/lib/cf_script/output/parser/attributes.rb +44 -0
  62. data/lib/cf_script/output/parser/section.rb +15 -0
  63. data/lib/cf_script/output/parser/table.rb +46 -0
  64. data/lib/cf_script/output/parser.rb +15 -0
  65. data/lib/cf_script/output/tests.rb +51 -0
  66. data/lib/cf_script/output/utils.rb +13 -0
  67. data/lib/cf_script/output.rb +62 -0
  68. data/lib/cf_script/scope/app/env.rb +15 -0
  69. data/lib/cf_script/scope/app/routes.rb +21 -0
  70. data/lib/cf_script/scope/app/state.rb +33 -0
  71. data/lib/cf_script/scope/app/utils.rb +32 -0
  72. data/lib/cf_script/scope/app.rb +94 -0
  73. data/lib/cf_script/scope/proxy.rb +36 -0
  74. data/lib/cf_script/scope/script.rb +59 -0
  75. data/lib/cf_script/scope/space.rb +9 -0
  76. data/lib/cf_script/scope/target.rb +90 -0
  77. data/lib/cf_script/scope.rb +68 -0
  78. data/lib/cf_script/ui.rb +261 -0
  79. data/lib/cf_script/utils.rb +19 -0
  80. data/lib/cf_script/version.rb +3 -0
  81. data/lib/cf_script.rb +105 -0
  82. data/test/fixtures/commands/apps/app/good.yml +18 -0
  83. data/test/fixtures/commands/apps/app/not_found.yml +8 -0
  84. data/test/fixtures/commands/apps/app/running.yml +19 -0
  85. data/test/fixtures/commands/apps/apps/good.yml +14 -0
  86. data/test/fixtures/commands/apps/apps/no_apps.yml +10 -0
  87. data/test/fixtures/commands/apps/env/empty.yml +37 -0
  88. data/test/fixtures/commands/apps/env/good.yml +41 -0
  89. data/test/fixtures/commands/apps/push/good.yml +60 -0
  90. data/test/fixtures/commands/apps/restage/good.yml +48 -0
  91. data/test/fixtures/commands/apps/restage/not_found.yml +8 -0
  92. data/test/fixtures/commands/apps/restart/good.yml +35 -0
  93. data/test/fixtures/commands/apps/restart/not_found.yml +8 -0
  94. data/test/fixtures/commands/apps/set_env/empty.yml +5 -0
  95. data/test/fixtures/commands/apps/set_env/good.yml +9 -0
  96. data/test/fixtures/commands/apps/set_env/not_found.yml +8 -0
  97. data/test/fixtures/commands/apps/start/good.yml +32 -0
  98. data/test/fixtures/commands/apps/start/not_found.yml +8 -0
  99. data/test/fixtures/commands/apps/start/with_container.yml +98 -0
  100. data/test/fixtures/commands/apps/stop/good.yml +8 -0
  101. data/test/fixtures/commands/apps/stop/not_found.yml +8 -0
  102. data/test/fixtures/commands/apps/unset_env/empty.yml +5 -0
  103. data/test/fixtures/commands/apps/unset_env/good.yml +9 -0
  104. data/test/fixtures/commands/apps/unset_env/not_found.yml +8 -0
  105. data/test/fixtures/commands/common/fail.yml +5 -0
  106. data/test/fixtures/commands/common/no_endpoint.yml +11 -0
  107. data/test/fixtures/commands/common/no_login.yml +8 -0
  108. data/test/fixtures/commands/general/api/bad_argument.yml +9 -0
  109. data/test/fixtures/commands/general/api/bad_endpoint.yml +9 -0
  110. data/test/fixtures/commands/general/api/good.yml +7 -0
  111. data/test/fixtures/commands/general/api/not_set.yml +7 -0
  112. data/test/fixtures/commands/general/api/set.yml +7 -0
  113. data/test/fixtures/commands/general/auth/empty.yml +5 -0
  114. data/test/fixtures/commands/general/auth/good.yml +10 -0
  115. data/test/fixtures/commands/general/auth/rejected.yml +10 -0
  116. data/test/fixtures/commands/general/login/good.yml +8 -0
  117. data/test/fixtures/commands/general/login/rejected.yml +23 -0
  118. data/test/fixtures/commands/general/logout/good.yml +8 -0
  119. data/test/fixtures/commands/general/target/empty.yml +5 -0
  120. data/test/fixtures/commands/general/target/good.yml +11 -0
  121. data/test/fixtures/commands/general/target/no_space.yml +10 -0
  122. data/test/fixtures/commands/general/target/not_found.yml +9 -0
  123. data/test/fixtures/commands/general/target/production.yml +11 -0
  124. data/test/fixtures/commands/general/target/staging.yml +11 -0
  125. data/test/fixtures/commands/general/target/staging_org.yml +11 -0
  126. data/test/fixtures/commands/general/target/test.yml +11 -0
  127. data/test/fixtures/commands/routes/check_route/good.yml +9 -0
  128. data/test/fixtures/commands/routes/check_route/no_domain.yml +9 -0
  129. data/test/fixtures/commands/routes/check_route/no_route.yml +9 -0
  130. data/test/fixtures/commands/routes/create_route/exists.yml +9 -0
  131. data/test/fixtures/commands/routes/create_route/good.yml +8 -0
  132. data/test/fixtures/commands/routes/delete_route/good.yml +8 -0
  133. data/test/fixtures/commands/routes/delete_route/not_exist.yml +8 -0
  134. data/test/fixtures/commands/routes/map_route/good.yml +10 -0
  135. data/test/fixtures/commands/routes/map_route/host_taken.yml +10 -0
  136. data/test/fixtures/commands/routes/map_route/invalid.yml +9 -0
  137. data/test/fixtures/commands/routes/map_route/no_app.yml +8 -0
  138. data/test/fixtures/commands/routes/map_route/no_domain.yml +9 -0
  139. data/test/fixtures/commands/routes/routes/good.yml +14 -0
  140. data/test/fixtures/commands/routes/unmap_route/good.yml +8 -0
  141. data/test/fixtures/commands/routes/unmap_route/no_app.yml +8 -0
  142. data/test/fixtures/commands/routes/unmap_route/no_domain.yml +9 -0
  143. data/test/fixtures/commands/spaces/space/empty.yml +5 -0
  144. data/test/fixtures/commands/spaces/space/good.yml +16 -0
  145. data/test/fixtures/commands/spaces/space/staging.yml +16 -0
  146. data/test/fixtures/commands/spaces/spaces/empty.yml +5 -0
  147. data/test/fixtures/commands/spaces/spaces/good.yml +12 -0
  148. data/test/lib/cf_script/command/base_test.rb +21 -0
  149. data/test/lib/cf_script/command/cf/apps/app_test.rb +56 -0
  150. data/test/lib/cf_script/command/cf/apps/apps_test.rb +81 -0
  151. data/test/lib/cf_script/command/cf/apps/env_test.rb +55 -0
  152. data/test/lib/cf_script/command/cf/apps/push_test.rb +46 -0
  153. data/test/lib/cf_script/command/cf/apps/restage_test.rb +47 -0
  154. data/test/lib/cf_script/command/cf/apps/restart_test.rb +47 -0
  155. data/test/lib/cf_script/command/cf/apps/set_env_test.rb +38 -0
  156. data/test/lib/cf_script/command/cf/apps/start_test.rb +55 -0
  157. data/test/lib/cf_script/command/cf/apps/stop_test.rb +35 -0
  158. data/test/lib/cf_script/command/cf/apps/unset_env_test.rb +38 -0
  159. data/test/lib/cf_script/command/cf/general/api_test.rb +55 -0
  160. data/test/lib/cf_script/command/cf/general/auth_test.rb +76 -0
  161. data/test/lib/cf_script/command/cf/general/login_test.rb +80 -0
  162. data/test/lib/cf_script/command/cf/general/logout_test.rb +34 -0
  163. data/test/lib/cf_script/command/cf/general/target_test.rb +110 -0
  164. data/test/lib/cf_script/command/cf/routes/check_route_test.rb +31 -0
  165. data/test/lib/cf_script/command/cf/routes/create_route_test.rb +19 -0
  166. data/test/lib/cf_script/command/cf/routes/delete_route_test.rb +19 -0
  167. data/test/lib/cf_script/command/cf/routes/map_route_test.rb +56 -0
  168. data/test/lib/cf_script/command/cf/routes/routes_test.rb +24 -0
  169. data/test/lib/cf_script/command/cf/routes/unmap_route_test.rb +36 -0
  170. data/test/lib/cf_script/command/cf/spaces/space_test.rb +55 -0
  171. data/test/lib/cf_script/command/cf/spaces/spaces_test.rb +47 -0
  172. data/test/lib/cf_script/command/line_test.rb +59 -0
  173. data/test/lib/cf_script/object/api_endpoint_test.rb +19 -0
  174. data/test/lib/cf_script/object/app_info_test.rb +127 -0
  175. data/test/lib/cf_script/object/app_list_test.rb +51 -0
  176. data/test/lib/cf_script/object/attribute_list_test.rb +42 -0
  177. data/test/lib/cf_script/object/attribute_test.rb +29 -0
  178. data/test/lib/cf_script/object/instance_status_test.rb +37 -0
  179. data/test/lib/cf_script/object/space_test.rb +31 -0
  180. data/test/lib/cf_script/object/target_test.rb +41 -0
  181. data/test/lib/cf_script/output/buffer_test.rb +73 -0
  182. data/test/lib/cf_script/output/parser/attributes_test.rb +102 -0
  183. data/test/lib/cf_script/output/parser/section_test.rb +60 -0
  184. data/test/lib/cf_script/output/parser/table_test.rb +108 -0
  185. data/test/lib/cf_script/output/tests_test.rb +91 -0
  186. data/test/lib/cf_script/output_test.rb +134 -0
  187. data/test/lib/cf_script/scope/app/state_test.rb +61 -0
  188. data/test/lib/cf_script/scope/app_test.rb +101 -0
  189. data/test/lib/cf_script/scope/script_test.rb +88 -0
  190. data/test/lib/cf_script/scope/space_test.rb +27 -0
  191. data/test/lib/cf_script/scope/target_test.rb +158 -0
  192. data/test/lib/cf_script/scope_test.rb +41 -0
  193. data/test/lib/cf_script/utils_test.rb +20 -0
  194. data/test/lib/cf_script_test.rb +73 -0
  195. data/test/support/assertions.rb +14 -0
  196. data/test/support/helpers/config_context.rb +19 -0
  197. data/test/support/helpers/fixture_executor.rb +79 -0
  198. data/test/support/helpers/mock_execution.rb +58 -0
  199. data/test/support/helpers/object_helpers.rb +29 -0
  200. data/test/support/helpers/output_sink.rb +25 -0
  201. data/test/support/helpers.rb +3 -0
  202. data/test/support/shared_examples/command_object.rb +38 -0
  203. data/test/support/shared_examples.rb +30 -0
  204. data/test/test_helper.rb +34 -0
  205. metadata +321 -0
metadata ADDED
@@ -0,0 +1,321 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: cf_script
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1.beta.1
5
+ platform: ruby
6
+ authors:
7
+ - Ammar Ali
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-01-01 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: colorize
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 0.7.7
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 0.7.7
27
+ description: ''
28
+ email:
29
+ - ammar@syntax.ps
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - ".gitignore"
35
+ - CHANGELOG.md
36
+ - Gemfile
37
+ - LICENSE
38
+ - README.md
39
+ - Rakefile
40
+ - cf_script.gemspec
41
+ - lib/cf_script.rb
42
+ - lib/cf_script/callbacks.rb
43
+ - lib/cf_script/command.rb
44
+ - lib/cf_script/command/base.rb
45
+ - lib/cf_script/command/cf/apps.rb
46
+ - lib/cf_script/command/cf/apps/app.rb
47
+ - lib/cf_script/command/cf/apps/apps.rb
48
+ - lib/cf_script/command/cf/apps/env.rb
49
+ - lib/cf_script/command/cf/apps/push.rb
50
+ - lib/cf_script/command/cf/apps/restage.rb
51
+ - lib/cf_script/command/cf/apps/restart.rb
52
+ - lib/cf_script/command/cf/apps/set_env.rb
53
+ - lib/cf_script/command/cf/apps/start.rb
54
+ - lib/cf_script/command/cf/apps/stop.rb
55
+ - lib/cf_script/command/cf/apps/unset_env.rb
56
+ - lib/cf_script/command/cf/general.rb
57
+ - lib/cf_script/command/cf/general/api.rb
58
+ - lib/cf_script/command/cf/general/auth.rb
59
+ - lib/cf_script/command/cf/general/login.rb
60
+ - lib/cf_script/command/cf/general/logout.rb
61
+ - lib/cf_script/command/cf/general/target.rb
62
+ - lib/cf_script/command/cf/routes.rb
63
+ - lib/cf_script/command/cf/routes/check_route.rb
64
+ - lib/cf_script/command/cf/routes/create_route.rb
65
+ - lib/cf_script/command/cf/routes/delete_route.rb
66
+ - lib/cf_script/command/cf/routes/map_route.rb
67
+ - lib/cf_script/command/cf/routes/routes.rb
68
+ - lib/cf_script/command/cf/routes/unmap_route.rb
69
+ - lib/cf_script/command/cf/spaces.rb
70
+ - lib/cf_script/command/cf/spaces/space.rb
71
+ - lib/cf_script/command/cf/spaces/spaces.rb
72
+ - lib/cf_script/command/error.rb
73
+ - lib/cf_script/command/line.rb
74
+ - lib/cf_script/command/registry.rb
75
+ - lib/cf_script/command/runner.rb
76
+ - lib/cf_script/config.rb
77
+ - lib/cf_script/executor.rb
78
+ - lib/cf_script/executor/non_blocking.rb
79
+ - lib/cf_script/executor/recorder.rb
80
+ - lib/cf_script/executor/simple.rb
81
+ - lib/cf_script/manifest.rb
82
+ - lib/cf_script/object.rb
83
+ - lib/cf_script/object/api_endpoint.rb
84
+ - lib/cf_script/object/app_info.rb
85
+ - lib/cf_script/object/app_list.rb
86
+ - lib/cf_script/object/app_spec.rb
87
+ - lib/cf_script/object/attribute.rb
88
+ - lib/cf_script/object/attribute_list.rb
89
+ - lib/cf_script/object/instance_status.rb
90
+ - lib/cf_script/object/route_info.rb
91
+ - lib/cf_script/object/space.rb
92
+ - lib/cf_script/object/target.rb
93
+ - lib/cf_script/output.rb
94
+ - lib/cf_script/output/buffer.rb
95
+ - lib/cf_script/output/parser.rb
96
+ - lib/cf_script/output/parser/attributes.rb
97
+ - lib/cf_script/output/parser/section.rb
98
+ - lib/cf_script/output/parser/table.rb
99
+ - lib/cf_script/output/tests.rb
100
+ - lib/cf_script/output/utils.rb
101
+ - lib/cf_script/scope.rb
102
+ - lib/cf_script/scope/app.rb
103
+ - lib/cf_script/scope/app/env.rb
104
+ - lib/cf_script/scope/app/routes.rb
105
+ - lib/cf_script/scope/app/state.rb
106
+ - lib/cf_script/scope/app/utils.rb
107
+ - lib/cf_script/scope/proxy.rb
108
+ - lib/cf_script/scope/script.rb
109
+ - lib/cf_script/scope/space.rb
110
+ - lib/cf_script/scope/target.rb
111
+ - lib/cf_script/ui.rb
112
+ - lib/cf_script/utils.rb
113
+ - lib/cf_script/version.rb
114
+ - test/fixtures/commands/apps/app/good.yml
115
+ - test/fixtures/commands/apps/app/not_found.yml
116
+ - test/fixtures/commands/apps/app/running.yml
117
+ - test/fixtures/commands/apps/apps/good.yml
118
+ - test/fixtures/commands/apps/apps/no_apps.yml
119
+ - test/fixtures/commands/apps/env/empty.yml
120
+ - test/fixtures/commands/apps/env/good.yml
121
+ - test/fixtures/commands/apps/push/good.yml
122
+ - test/fixtures/commands/apps/restage/good.yml
123
+ - test/fixtures/commands/apps/restage/not_found.yml
124
+ - test/fixtures/commands/apps/restart/good.yml
125
+ - test/fixtures/commands/apps/restart/not_found.yml
126
+ - test/fixtures/commands/apps/set_env/empty.yml
127
+ - test/fixtures/commands/apps/set_env/good.yml
128
+ - test/fixtures/commands/apps/set_env/not_found.yml
129
+ - test/fixtures/commands/apps/start/good.yml
130
+ - test/fixtures/commands/apps/start/not_found.yml
131
+ - test/fixtures/commands/apps/start/with_container.yml
132
+ - test/fixtures/commands/apps/stop/good.yml
133
+ - test/fixtures/commands/apps/stop/not_found.yml
134
+ - test/fixtures/commands/apps/unset_env/empty.yml
135
+ - test/fixtures/commands/apps/unset_env/good.yml
136
+ - test/fixtures/commands/apps/unset_env/not_found.yml
137
+ - test/fixtures/commands/common/fail.yml
138
+ - test/fixtures/commands/common/no_endpoint.yml
139
+ - test/fixtures/commands/common/no_login.yml
140
+ - test/fixtures/commands/general/api/bad_argument.yml
141
+ - test/fixtures/commands/general/api/bad_endpoint.yml
142
+ - test/fixtures/commands/general/api/good.yml
143
+ - test/fixtures/commands/general/api/not_set.yml
144
+ - test/fixtures/commands/general/api/set.yml
145
+ - test/fixtures/commands/general/auth/empty.yml
146
+ - test/fixtures/commands/general/auth/good.yml
147
+ - test/fixtures/commands/general/auth/rejected.yml
148
+ - test/fixtures/commands/general/login/good.yml
149
+ - test/fixtures/commands/general/login/rejected.yml
150
+ - test/fixtures/commands/general/logout/good.yml
151
+ - test/fixtures/commands/general/target/empty.yml
152
+ - test/fixtures/commands/general/target/good.yml
153
+ - test/fixtures/commands/general/target/no_space.yml
154
+ - test/fixtures/commands/general/target/not_found.yml
155
+ - test/fixtures/commands/general/target/production.yml
156
+ - test/fixtures/commands/general/target/staging.yml
157
+ - test/fixtures/commands/general/target/staging_org.yml
158
+ - test/fixtures/commands/general/target/test.yml
159
+ - test/fixtures/commands/routes/check_route/good.yml
160
+ - test/fixtures/commands/routes/check_route/no_domain.yml
161
+ - test/fixtures/commands/routes/check_route/no_route.yml
162
+ - test/fixtures/commands/routes/create_route/exists.yml
163
+ - test/fixtures/commands/routes/create_route/good.yml
164
+ - test/fixtures/commands/routes/delete_route/good.yml
165
+ - test/fixtures/commands/routes/delete_route/not_exist.yml
166
+ - test/fixtures/commands/routes/map_route/good.yml
167
+ - test/fixtures/commands/routes/map_route/host_taken.yml
168
+ - test/fixtures/commands/routes/map_route/invalid.yml
169
+ - test/fixtures/commands/routes/map_route/no_app.yml
170
+ - test/fixtures/commands/routes/map_route/no_domain.yml
171
+ - test/fixtures/commands/routes/routes/good.yml
172
+ - test/fixtures/commands/routes/unmap_route/good.yml
173
+ - test/fixtures/commands/routes/unmap_route/no_app.yml
174
+ - test/fixtures/commands/routes/unmap_route/no_domain.yml
175
+ - test/fixtures/commands/spaces/space/empty.yml
176
+ - test/fixtures/commands/spaces/space/good.yml
177
+ - test/fixtures/commands/spaces/space/staging.yml
178
+ - test/fixtures/commands/spaces/spaces/empty.yml
179
+ - test/fixtures/commands/spaces/spaces/good.yml
180
+ - test/lib/cf_script/command/base_test.rb
181
+ - test/lib/cf_script/command/cf/apps/app_test.rb
182
+ - test/lib/cf_script/command/cf/apps/apps_test.rb
183
+ - test/lib/cf_script/command/cf/apps/env_test.rb
184
+ - test/lib/cf_script/command/cf/apps/push_test.rb
185
+ - test/lib/cf_script/command/cf/apps/restage_test.rb
186
+ - test/lib/cf_script/command/cf/apps/restart_test.rb
187
+ - test/lib/cf_script/command/cf/apps/set_env_test.rb
188
+ - test/lib/cf_script/command/cf/apps/start_test.rb
189
+ - test/lib/cf_script/command/cf/apps/stop_test.rb
190
+ - test/lib/cf_script/command/cf/apps/unset_env_test.rb
191
+ - test/lib/cf_script/command/cf/general/api_test.rb
192
+ - test/lib/cf_script/command/cf/general/auth_test.rb
193
+ - test/lib/cf_script/command/cf/general/login_test.rb
194
+ - test/lib/cf_script/command/cf/general/logout_test.rb
195
+ - test/lib/cf_script/command/cf/general/target_test.rb
196
+ - test/lib/cf_script/command/cf/routes/check_route_test.rb
197
+ - test/lib/cf_script/command/cf/routes/create_route_test.rb
198
+ - test/lib/cf_script/command/cf/routes/delete_route_test.rb
199
+ - test/lib/cf_script/command/cf/routes/map_route_test.rb
200
+ - test/lib/cf_script/command/cf/routes/routes_test.rb
201
+ - test/lib/cf_script/command/cf/routes/unmap_route_test.rb
202
+ - test/lib/cf_script/command/cf/spaces/space_test.rb
203
+ - test/lib/cf_script/command/cf/spaces/spaces_test.rb
204
+ - test/lib/cf_script/command/line_test.rb
205
+ - test/lib/cf_script/object/api_endpoint_test.rb
206
+ - test/lib/cf_script/object/app_info_test.rb
207
+ - test/lib/cf_script/object/app_list_test.rb
208
+ - test/lib/cf_script/object/attribute_list_test.rb
209
+ - test/lib/cf_script/object/attribute_test.rb
210
+ - test/lib/cf_script/object/instance_status_test.rb
211
+ - test/lib/cf_script/object/space_test.rb
212
+ - test/lib/cf_script/object/target_test.rb
213
+ - test/lib/cf_script/output/buffer_test.rb
214
+ - test/lib/cf_script/output/parser/attributes_test.rb
215
+ - test/lib/cf_script/output/parser/section_test.rb
216
+ - test/lib/cf_script/output/parser/table_test.rb
217
+ - test/lib/cf_script/output/tests_test.rb
218
+ - test/lib/cf_script/output_test.rb
219
+ - test/lib/cf_script/scope/app/state_test.rb
220
+ - test/lib/cf_script/scope/app_test.rb
221
+ - test/lib/cf_script/scope/script_test.rb
222
+ - test/lib/cf_script/scope/space_test.rb
223
+ - test/lib/cf_script/scope/target_test.rb
224
+ - test/lib/cf_script/scope_test.rb
225
+ - test/lib/cf_script/utils_test.rb
226
+ - test/lib/cf_script_test.rb
227
+ - test/support/assertions.rb
228
+ - test/support/helpers.rb
229
+ - test/support/helpers/config_context.rb
230
+ - test/support/helpers/fixture_executor.rb
231
+ - test/support/helpers/mock_execution.rb
232
+ - test/support/helpers/object_helpers.rb
233
+ - test/support/helpers/output_sink.rb
234
+ - test/support/shared_examples.rb
235
+ - test/support/shared_examples/command_object.rb
236
+ - test/test_helper.rb
237
+ homepage: http://github.com/ammar/cf_script
238
+ licenses:
239
+ - MIT
240
+ metadata:
241
+ issue_tracker: https://github.com/ammar/cf_script/issues
242
+ post_install_message:
243
+ rdoc_options:
244
+ - "--inline-source"
245
+ - "--charset=UTF-8"
246
+ require_paths:
247
+ - lib
248
+ required_ruby_version: !ruby/object:Gem::Requirement
249
+ requirements:
250
+ - - ">="
251
+ - !ruby/object:Gem::Version
252
+ version: 2.0.0
253
+ required_rubygems_version: !ruby/object:Gem::Requirement
254
+ requirements:
255
+ - - ">"
256
+ - !ruby/object:Gem::Version
257
+ version: 1.3.1
258
+ requirements: []
259
+ rubyforge_project:
260
+ rubygems_version: 2.5.1
261
+ signing_key:
262
+ specification_version: 4
263
+ summary: A DSL for scripting the Cloud Foundry CLI
264
+ test_files:
265
+ - test/lib/cf_script/command/base_test.rb
266
+ - test/lib/cf_script/command/cf/apps/app_test.rb
267
+ - test/lib/cf_script/command/cf/apps/apps_test.rb
268
+ - test/lib/cf_script/command/cf/apps/env_test.rb
269
+ - test/lib/cf_script/command/cf/apps/push_test.rb
270
+ - test/lib/cf_script/command/cf/apps/restage_test.rb
271
+ - test/lib/cf_script/command/cf/apps/restart_test.rb
272
+ - test/lib/cf_script/command/cf/apps/set_env_test.rb
273
+ - test/lib/cf_script/command/cf/apps/start_test.rb
274
+ - test/lib/cf_script/command/cf/apps/stop_test.rb
275
+ - test/lib/cf_script/command/cf/apps/unset_env_test.rb
276
+ - test/lib/cf_script/command/cf/general/api_test.rb
277
+ - test/lib/cf_script/command/cf/general/auth_test.rb
278
+ - test/lib/cf_script/command/cf/general/login_test.rb
279
+ - test/lib/cf_script/command/cf/general/logout_test.rb
280
+ - test/lib/cf_script/command/cf/general/target_test.rb
281
+ - test/lib/cf_script/command/cf/routes/check_route_test.rb
282
+ - test/lib/cf_script/command/cf/routes/create_route_test.rb
283
+ - test/lib/cf_script/command/cf/routes/delete_route_test.rb
284
+ - test/lib/cf_script/command/cf/routes/map_route_test.rb
285
+ - test/lib/cf_script/command/cf/routes/routes_test.rb
286
+ - test/lib/cf_script/command/cf/routes/unmap_route_test.rb
287
+ - test/lib/cf_script/command/cf/spaces/space_test.rb
288
+ - test/lib/cf_script/command/cf/spaces/spaces_test.rb
289
+ - test/lib/cf_script/command/line_test.rb
290
+ - test/lib/cf_script/object/api_endpoint_test.rb
291
+ - test/lib/cf_script/object/app_info_test.rb
292
+ - test/lib/cf_script/object/app_list_test.rb
293
+ - test/lib/cf_script/object/attribute_list_test.rb
294
+ - test/lib/cf_script/object/attribute_test.rb
295
+ - test/lib/cf_script/object/instance_status_test.rb
296
+ - test/lib/cf_script/object/space_test.rb
297
+ - test/lib/cf_script/object/target_test.rb
298
+ - test/lib/cf_script/output/buffer_test.rb
299
+ - test/lib/cf_script/output/parser/attributes_test.rb
300
+ - test/lib/cf_script/output/parser/section_test.rb
301
+ - test/lib/cf_script/output/parser/table_test.rb
302
+ - test/lib/cf_script/output/tests_test.rb
303
+ - test/lib/cf_script/output_test.rb
304
+ - test/lib/cf_script/scope/app/state_test.rb
305
+ - test/lib/cf_script/scope/app_test.rb
306
+ - test/lib/cf_script/scope/script_test.rb
307
+ - test/lib/cf_script/scope/space_test.rb
308
+ - test/lib/cf_script/scope/target_test.rb
309
+ - test/lib/cf_script/scope_test.rb
310
+ - test/lib/cf_script/utils_test.rb
311
+ - test/lib/cf_script_test.rb
312
+ - test/support/assertions.rb
313
+ - test/support/helpers/config_context.rb
314
+ - test/support/helpers/fixture_executor.rb
315
+ - test/support/helpers/mock_execution.rb
316
+ - test/support/helpers/object_helpers.rb
317
+ - test/support/helpers/output_sink.rb
318
+ - test/support/helpers.rb
319
+ - test/support/shared_examples/command_object.rb
320
+ - test/support/shared_examples.rb
321
+ - test/test_helper.rb