virtuozzo 0.6.0 → 0.6.1

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.
data/script/console DELETED
@@ -1,10 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # File: script/console
3
- irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb'
4
-
5
- libs = " -r irb/completion"
6
- # Perhaps use a console_lib to store any extra methods I may want available in the cosole
7
- # libs << " -r #{File.dirname(__FILE__) + '/../lib/console_lib/console_logger.rb'}"
8
- libs << " -r #{File.dirname(__FILE__) + '/../lib/virtuozzo.rb'}"
9
- puts "Loading Virtuozzo gem"
10
- exec "#{irb} #{libs} --simple-prompt"
@@ -1,15 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require 'yaml'
3
-
4
- require 'rubygems/specification'
5
- data = File.read("virtuozzo.gemspec")
6
- spec = nil
7
-
8
- if data !~ %r{!ruby/object:Gem::Specification}
9
- Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
10
- else
11
- spec = YAML.load(data)
12
- end
13
-
14
- puts spec
15
- puts "OK"