vmc_knife 0.0.46 → 0.0.47

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@ module VMC
2
2
  module KNIFE
3
3
  module Cli
4
4
  # This version number is used as the RubyGem release version.
5
- VERSION = '0.0.46'
5
+ VERSION = '0.0.47'
6
6
  end
7
7
  end
8
8
  end
@@ -174,7 +174,8 @@ module VMC
174
174
  # making the assumption we are on the same file system.
175
175
  # will use the paas APIs later.
176
176
  def log(folder,log_file_glob=nil)
177
- deployed_apps_folder="#{ENV['HOME']}/cloudfoundry/deployed_apps"
177
+ home = ENV['HOME'] || '/home/ubuntu'
178
+ deployed_apps_folder="#{home}/cloudfoundry/deployed_apps"
178
179
  log_file_glob ||= "logs/*"
179
180
  if File.exist?(deployed_apps_folder)
180
181
  folder_nb=0
metadata CHANGED
@@ -1,104 +1,95 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: vmc_knife
3
- version: !ruby/object:Gem::Version
4
- hash: 67
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.47
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 0
9
- - 46
10
- version: 0.0.46
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Intalio, Inc.
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-11-22 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2012-12-21 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: vmc
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
18
+ requirements:
26
19
  - - ~>
27
- - !ruby/object:Gem::Version
28
- hash: 55
29
- segments:
30
- - 0
31
- - 3
32
- - 18
20
+ - !ruby/object:Gem::Version
33
21
  version: 0.3.18
34
22
  type: :runtime
35
- version_requirements: *id001
36
- - !ruby/object:Gem::Dependency
37
- name: rest-client
38
23
  prerelease: false
39
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 0.3.18
30
+ - !ruby/object:Gem::Dependency
31
+ name: rest-client
32
+ requirement: !ruby/object:Gem::Requirement
40
33
  none: false
41
- requirements:
42
- - - ">="
43
- - !ruby/object:Gem::Version
44
- hash: 13
45
- segments:
46
- - 1
47
- - 6
48
- - 1
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
49
37
  version: 1.6.1
50
38
  - - <
51
- - !ruby/object:Gem::Version
52
- hash: 11
53
- segments:
54
- - 1
55
- - 7
56
- - 0
39
+ - !ruby/object:Gem::Version
57
40
  version: 1.7.0
58
41
  type: :runtime
59
- version_requirements: *id002
60
- - !ruby/object:Gem::Dependency
61
- name: rspec
62
42
  prerelease: false
63
- requirement: &id003 !ruby/object:Gem::Requirement
43
+ version_requirements: !ruby/object:Gem::Requirement
44
+ none: false
45
+ requirements:
46
+ - - ! '>='
47
+ - !ruby/object:Gem::Version
48
+ version: 1.6.1
49
+ - - <
50
+ - !ruby/object:Gem::Version
51
+ version: 1.7.0
52
+ - !ruby/object:Gem::Dependency
53
+ name: rspec
54
+ requirement: !ruby/object:Gem::Requirement
64
55
  none: false
65
- requirements:
56
+ requirements:
66
57
  - - ~>
67
- - !ruby/object:Gem::Version
68
- hash: 31
69
- segments:
70
- - 2
71
- - 4
72
- - 0
58
+ - !ruby/object:Gem::Version
73
59
  version: 2.4.0
74
60
  type: :development
75
- version_requirements: *id003
76
- - !ruby/object:Gem::Dependency
77
- name: webmock
78
61
  prerelease: false
79
- requirement: &id004 !ruby/object:Gem::Requirement
62
+ version_requirements: !ruby/object:Gem::Requirement
63
+ none: false
64
+ requirements:
65
+ - - ~>
66
+ - !ruby/object:Gem::Version
67
+ version: 2.4.0
68
+ - !ruby/object:Gem::Dependency
69
+ name: webmock
70
+ requirement: !ruby/object:Gem::Requirement
80
71
  none: false
81
- requirements:
82
- - - "="
83
- - !ruby/object:Gem::Version
84
- hash: 3
85
- segments:
86
- - 1
87
- - 5
88
- - 0
72
+ requirements:
73
+ - - '='
74
+ - !ruby/object:Gem::Version
89
75
  version: 1.5.0
90
76
  type: :development
91
- version_requirements: *id004
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ none: false
80
+ requirements:
81
+ - - '='
82
+ - !ruby/object:Gem::Version
83
+ version: 1.5.0
92
84
  description: Extensions for VMC the CLI of VMWare's Cloud Foundry
93
85
  email: eng-support@intalio.com
94
- executables:
86
+ executables:
95
87
  - vmc_knife
96
88
  extensions: []
97
-
98
- extra_rdoc_files:
89
+ extra_rdoc_files:
99
90
  - README.md
100
91
  - LICENSE
101
- files:
92
+ files:
102
93
  - LICENSE
103
94
  - README.md
104
95
  - lib/restclient/restclient_add_timeout.rb
@@ -114,36 +105,26 @@ files:
114
105
  - bin/vmc_knife
115
106
  homepage: http://intalio.com
116
107
  licenses: []
117
-
118
108
  post_install_message:
119
109
  rdoc_options: []
120
-
121
- require_paths:
110
+ require_paths:
122
111
  - lib
123
- required_ruby_version: !ruby/object:Gem::Requirement
112
+ required_ruby_version: !ruby/object:Gem::Requirement
124
113
  none: false
125
- requirements:
126
- - - ">="
127
- - !ruby/object:Gem::Version
128
- hash: 3
129
- segments:
130
- - 0
131
- version: "0"
132
- required_rubygems_version: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ required_rubygems_version: !ruby/object:Gem::Requirement
133
119
  none: false
134
- requirements:
135
- - - ">="
136
- - !ruby/object:Gem::Version
137
- hash: 3
138
- segments:
139
- - 0
140
- version: "0"
120
+ requirements:
121
+ - - ! '>='
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
141
124
  requirements: []
142
-
143
125
  rubyforge_project:
144
- rubygems_version: 1.8.11
126
+ rubygems_version: 1.8.24
145
127
  signing_key:
146
128
  specification_version: 3
147
129
  summary: Extensions for VMC the CLI of VMWare's Cloud Foundry
148
130
  test_files: []
149
-