cf 3.1.0.rc1 → 3.1.0rc2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  module CF
2
- VERSION = "3.1.0.rc1".freeze
2
+ VERSION = "3.1.0rc2".freeze
3
3
  end
@@ -149,8 +149,8 @@ module CFManifests
149
149
  "name" => app.name,
150
150
  "memory" => human_size(app.memory * 1024 * 1024, 0),
151
151
  "instances" => app.total_instances,
152
- "host" => app.host,
153
- "domain" => app.domain,
152
+ "host" => app.host || "none",
153
+ "domain" => app.domain ? "${target-base}" : "none",
154
154
  "path" => path
155
155
  }
156
156
 
@@ -76,7 +76,6 @@ describe CFManifests do
76
76
  its(["memory"]) { should eq "2G" }
77
77
  its(["instances"]) { should eq 2 }
78
78
  its(["path"]) { should eq "some-path" }
79
- #its(["url"]) { should eq "some-app-name.${target-base}" }
80
79
  its(["host"]) { should eq "some-app-name" }
81
80
  its(["domain"]) { should eq "${target-base}" }
82
81
  its(["command"]) { should eq "ruby main.rb" }
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cf
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0.rc1
5
- prerelease: 6
4
+ version: 3.1.0rc2
5
+ prerelease: 5
6
6
  platform: ruby
7
7
  authors:
8
8
  - Cloud Foundry Team
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-06-21 00:00:00.000000000 Z
13
+ date: 2013-06-22 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: addressable
@@ -51,7 +51,7 @@ dependencies:
51
51
  requirements:
52
52
  - - ! '>='
53
53
  - !ruby/object:Gem::Version
54
- version: 2.2.0.rc1
54
+ version: 2.2.0rc3
55
55
  - - <
56
56
  - !ruby/object:Gem::Version
57
57
  version: '3.0'
@@ -62,7 +62,7 @@ dependencies:
62
62
  requirements:
63
63
  - - ! '>='
64
64
  - !ruby/object:Gem::Version
65
- version: 2.2.0.rc1
65
+ version: 2.2.0rc3
66
66
  - - <
67
67
  - !ruby/object:Gem::Version
68
68
  version: '3.0'