instalatron 0.1.5 → 0.1.6

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.
Files changed (2) hide show
  1. data/lib/instalatron.rb +2 -2
  2. metadata +4 -4
data/lib/instalatron.rb CHANGED
@@ -4,7 +4,7 @@ require 'virtualbox'
4
4
 
5
5
  module Instalatron
6
6
 
7
- VERSION = '0.1.5'
7
+ VERSION = '0.1.6'
8
8
 
9
9
  class ScriptConfig
10
10
 
@@ -68,7 +68,7 @@ module Instalatron
68
68
  vboxcmd = params[:vboxcmd] || 'VBoxManage'
69
69
  vm_memory = params[:vm_memory] || 512
70
70
  vm_cpus = params[:vm_cpus] || 1
71
- vm_disk_size = params[:vm_disk_size].to_i || 8192
71
+ vm_disk_size = (params[:vm_disk_size] || 8192).to_i
72
72
  if params[:headless].nil?
73
73
  params[:headless] = false
74
74
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: instalatron
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 5
10
- version: 0.1.5
9
+ - 6
10
+ version: 0.1.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sergio Rubio
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-07-18 00:00:00 Z
18
+ date: 2011-07-19 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  version_requirements: &id001 !ruby/object:Gem::Requirement