vmc 0.4.0.beta.57 → 0.4.0.beta.58

Sign up to get free protection for your applications and to get access to all the features.
@@ -322,6 +322,9 @@ module VMC
322
322
  @@client.proxy = input[:proxy]
323
323
  @@client.trace = input[:trace]
324
324
 
325
+ uri = URI.parse(target)
326
+ @@client.log = File.expand_path("#{LOGS_DIR}/#{uri.host}.log")
327
+
325
328
  unless info.key? :version
326
329
  info[:version] =
327
330
  case @@client
@@ -3,6 +3,7 @@ module VMC
3
3
  OLD_TOKENS_FILE = "~/.vmc_token"
4
4
 
5
5
  CONFIG_DIR = "~/.vmc"
6
+ LOGS_DIR = "#{CONFIG_DIR}/logs"
6
7
  PLUGINS_FILE = "#{CONFIG_DIR}/plugins.yml"
7
8
  TARGET_FILE = "#{CONFIG_DIR}/target"
8
9
  TOKENS_FILE = "#{CONFIG_DIR}/tokens.yml"
@@ -1,3 +1,3 @@
1
1
  module VMC
2
- VERSION = "0.4.0.beta.57"
2
+ VERSION = "0.4.0.beta.58"
3
3
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vmc
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1537108025
4
+ hash: 1605859511
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
9
  - 0
10
10
  - beta
11
- - 57
12
- version: 0.4.0.beta.57
11
+ - 58
12
+ version: 0.4.0.beta.58
13
13
  platform: ruby
14
14
  authors:
15
15
  - VMware
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2012-09-26 00:00:00 Z
20
+ date: 2012-09-27 00:00:00 Z
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
23
23
  name: json_pure
@@ -265,12 +265,12 @@ dependencies:
265
265
  requirements:
266
266
  - - ~>
267
267
  - !ruby/object:Gem::Version
268
- hash: 85
268
+ hash: 91
269
269
  segments:
270
270
  - 0
271
271
  - 3
272
- - 35
273
- version: 0.3.35
272
+ - 36
273
+ version: 0.3.36
274
274
  type: :runtime
275
275
  version_requirements: *id015
276
276
  - !ruby/object:Gem::Dependency