af 0.5.0.beta.3 → 0.5.0.beta.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZGY0YjUzZjEzODc2M2M3ZWRmZmQ1MzgxYTNhYWI0YjRkMjZhZjQ2NQ==
4
+ NTMxOTQ1OGI0ZDBiZGE5NDJlMTNjOGEzYzJiZjk2YTMwMWM2NWJhOA==
5
5
  data.tar.gz: !binary |-
6
- MTI0Yzc1YTllOWYzOWQ2YzMyMDg1ODVmYzkyOTQ1MDZkNjZhZjJlYg==
6
+ NzJlODI5ZmM0NDZkNWY4ZGIwZThhZjA0NzY4M2M2MmU1MDBjZDAxNQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MGNiOTA0NGQxOGM2NDZmOTc5YmY2YWFhYzJmZDFmNDEzZGM0NDU0OGFkZmFj
10
- MDUyNTc0ZGEwNzA1MmUzMzQ5ZjFhNTE4NmNkZTE3MWQ2OTdhOTNlNGY1YjIy
11
- NjVjMzJlZmVlMjY0MmNjNmM4NGZjODQ3ODU1MGVhMWNkMWI5ZTc=
9
+ ODJhMjQ3OTBhYzdkOTNmYzNkYjFlZTU4ZjljZjUxNjcwYTczYjhmOTg1Nzk4
10
+ ZTVlZTI0Nzk4NzhlZGJmN2QwZTIxYjJkMjk4MzMzYjZhMGMxMTQ4ZWMwZDMy
11
+ MDQ1Yjg0NmViN2U4MTVhNDQ1ZDlmMjFiNzJhZDgwZDg1MzY1NDU=
12
12
  data.tar.gz: !binary |-
13
- YTk2NTdhM2VjNzhiZTRjNGZjZDk3MmIzOGU0OTM5Y2RhZTE4ZWIxNzVkZTRm
14
- MDIyYTcxMDU1YWY0MTc2YjIxNjMxYzE0MWI1YThmZjIzNzk2YWM0ZDU5YzY4
15
- NTllNjQ5MzgyZjk3NTJmMWU1ZGEzZDUyODZkNzdmZDZiMjlmYTY=
13
+ OGFlZjlkOTg5N2FlOTQ3ZGU3YjEyNWVjZTljM2Y0MGVhNmEwMDJiYzJhNDNk
14
+ NDIyYmM2ZjU3YTczMGE0OTVmNmEwNjZkZGRhNTQ5OTAzOTlkNTc2N2VkYmZj
15
+ Nzk2MjFlYjVjNDA0MWUwZmZiZTg2NzliZWQ4ZTMwMTk4MDQzZWI=
@@ -1,3 +1,3 @@
1
1
  module AF
2
- VERSION = "0.5.0.beta.3".freeze
2
+ VERSION = "0.5.0.beta.4".freeze
3
3
  end
@@ -25,6 +25,10 @@ module VMC::App
25
25
  inputs
26
26
  end
27
27
 
28
+ def ask_url(name, infra)
29
+ ask("Enter URL?", :default => "#{name}.#{infra.base}")
30
+ end
31
+
28
32
  def determine_infra
29
33
  return input[:infra] if input.has?(:infra)
30
34
 
@@ -63,7 +67,7 @@ module VMC::App
63
67
  def create_app(inputs)
64
68
  app = client.app
65
69
 
66
- inputs.each { |key, value| app.send(:"#{key}=", value) }
70
+ inputs.each { |key, value| puts key; app.send(:"#{key}=", value) unless value.nil? }
67
71
 
68
72
  app = filter(:create_app, app)
69
73
 
@@ -106,6 +110,7 @@ module VMC::App
106
110
  end
107
111
  end
108
112
 
113
+
109
114
  def create_services(app)
110
115
  return unless input[:create_services]
111
116
 
@@ -12,10 +12,6 @@ module VMC::App
12
12
 
13
13
  def ask_domain(app)
14
14
  choices = v2? ? app.space.domains : ["#{app.name}.#{target_base}"]
15
- # =======
16
- # def ask_url(name, infra)
17
- # choices = url_choices(name, infra)
18
- # >>>>>>> Added infra to url domain
19
15
 
20
16
  options = {
21
17
  :choices => choices + ["none"],
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: af
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0.beta.3
4
+ version: 0.5.0.beta.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cloud Foundry Team
@@ -129,14 +129,14 @@ dependencies:
129
129
  requirements:
130
130
  - - ~>
131
131
  - !ruby/object:Gem::Version
132
- version: 0.1.2
132
+ version: '0.1'
133
133
  type: :runtime
134
134
  prerelease: false
135
135
  version_requirements: !ruby/object:Gem::Requirement
136
136
  requirements:
137
137
  - - ~>
138
138
  - !ruby/object:Gem::Version
139
- version: 0.1.2
139
+ version: '0.1'
140
140
  - !ruby/object:Gem::Dependency
141
141
  name: rake
142
142
  requirement: !ruby/object:Gem::Requirement