veewee 0.3.0.alpha1 → 0.3.0.alpha2

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,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- veewee (0.3.0.alpha1)
4
+ veewee (0.3.0.alpha2)
5
5
  CFPropertyList (~> 2.0.17)
6
6
  ansi (~> 1.3.0)
7
7
  cucumber (~> 1.0.2)
@@ -4,5 +4,5 @@ end
4
4
 
5
5
  # Only set the version constant if it wasn't set before
6
6
  unless defined?(Veewee::VERSION)
7
- ::Veewee::VERSION="0.3.0.alpha1"
7
+ ::Veewee::VERSION="0.3.0.alpha2"
8
8
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: veewee
3
3
  version: !ruby/object:Gem::Version
4
- hash: -3702664338
4
+ hash: -3702664344
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
9
  - 0
10
10
  - alpha
11
- - 1
12
- version: 0.3.0.alpha1
11
+ - 2
12
+ version: 0.3.0.alpha2
13
13
  platform: ruby
14
14
  authors:
15
15
  - Patrick Debois
@@ -247,9 +247,6 @@ email:
247
247
  - ringo.desmet@gmail.com
248
248
  executables:
249
249
  - veewee
250
- - veewee-kvm-old
251
- - veewee-vagrant
252
- - veewee-vmfusion
253
250
  extensions: []
254
251
 
255
252
  extra_rdoc_files: []
@@ -264,9 +261,6 @@ files:
264
261
  - README.md
265
262
  - Rakefile
266
263
  - bin/veewee
267
- - bin/veewee-kvm-old
268
- - bin/veewee-vagrant
269
- - bin/veewee-vmfusion
270
264
  - lib/fission.rb
271
265
  - lib/fission/cli.rb
272
266
  - lib/fission/command.rb
@@ -1,34 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require 'rubygems'
4
- require 'thor'
5
- require 'libvirt'
6
- require 'fog'
7
-
8
- require 'veewee'
9
-
10
- class VeeweeCLI < Thor
11
-
12
- desc "build [NAME]", "build the box defined"
13
- method_options :force => :boolean
14
- def build(box_name)
15
-
16
-
17
- logger=ANSI::Logger.new(STDOUT)
18
- logger.level=Object.const_get('ANSI').const_get('Logger').const_get('DEBUG')
19
- logger.formatter do |severity, timestamp, progname, msg|
20
- # "#{progname}@#{timestamp} - #{severity}::#{msg}"
21
- "#{msg}\n"
22
- end
23
- logger.ansicolor=false
24
-
25
-
26
- puts "Building box #{box_name}"
27
- box=Veewee::Environment.new(options,logger).get_builder(:kvm,options).get_box(box_name,box_name,options)
28
- box.build(options)
29
-
30
- end
31
-
32
- end
33
-
34
- VeeweeCLI.start
@@ -1,55 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require 'rubygems'
4
- require 'thor'
5
- require 'bundler'
6
- require 'virtualbox'
7
- require 'veewee'
8
-
9
-
10
- class VeeweeCLI < Thor
11
-
12
- desc "define [NAME] [TEMPLATE]", "initializes a box from a template"
13
- method_options :force => :boolean
14
- def define(box_name=nil, template=nil)
15
-
16
- if (box_name.nil?)
17
- puts "please provide a box_name"
18
- exit
19
- end
20
-
21
- puts "Init a new box #{box_name}, starting from template #{template}"
22
- Veewee::Environment.define(box_name,template)
23
-
24
- end
25
-
26
- desc "templates", "list the template available"
27
- def templates
28
- Veewee::Environment.list_templates
29
- end
30
-
31
- desc "build [NAME]", "build the box defined"
32
- method_options :force => :boolean
33
- def build(box_name)
34
- puts "Building box #{box_name}"
35
- vs=Veewee::Environment.new(options)
36
- vd=vs.get_definition(box_name)
37
- vs.build(box_name,vd)
38
- end
39
-
40
- desc "export [NAME]", "export the box"
41
- method_options :force => :boolean
42
- def export(box_name)
43
- if (!box_name.nil?)
44
- Veewee::Environment.export_box(box_name)
45
- end
46
- end
47
-
48
- end
49
-
50
- version=VirtualBox.version
51
- if (version.match(/^4./))
52
- VeeweeCLI.start
53
- else
54
- puts "veewee only supports VirtualBox 4.x"
55
- end
@@ -1,34 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require 'rubygems'
4
- require 'thor'
5
- require 'fog'
6
- require 'fission'
7
-
8
- require 'veewee'
9
-
10
- class VeeweeCLI < Thor
11
-
12
- desc "build [NAME]", "build the box defined"
13
- method_options :force => :boolean
14
- def build(box_name)
15
-
16
-
17
- logger=ANSI::Logger.new(STDOUT)
18
- logger.level=Object.const_get('ANSI').const_get('Logger').const_get('DEBUG')
19
- logger.formatter do |severity, timestamp, progname, msg|
20
- # "#{progname}@#{timestamp} - #{severity}::#{msg}"
21
- "#{msg}\n"
22
- end
23
- logger.ansicolor=false
24
-
25
-
26
- puts "Building box #{box_name}"
27
- box=Veewee::Environment.new(options,logger).get_builder(:vmfusion,options).get_box(box_name,box_name,options)
28
- box.build(options)
29
-
30
- end
31
-
32
- end
33
-
34
- VeeweeCLI.start