1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-13 13:17:39 +03:00

Change rubygems generator for 3.9.80

This commit is contained in:
Javi Fontan 2013-04-01 12:17:19 +02:00
parent c885df333d
commit 3fa17131f5

View File

@ -21,7 +21,7 @@ require 'tmpdir'
DEFAULTS={
:version => "3.9.0.beta",
:version => "3.9.80.beta",
:date => Time.now.strftime("%Y-%m-%d"),
:dependencies => []
}
@ -30,7 +30,7 @@ TEMPLATE=<<EOT
# This file is automatically generated
Gem::Specification.new do |s|
s.name = 'opennebula-$(NAME)'
s.name = '$(NAME)'
s.version = '$(VERSION)'
s.date = '$(DATE)'
s.summary = "$(SUMMARY)"
@ -49,7 +49,7 @@ EOT
GEM_DESCRIPTION={
:oca => {
:name => 'oca',
:name => 'opennebula',
:files => [
['src/oca/ruby/opennebula.rb', '/lib'],
['src/oca/ruby/opennebula/*.rb', '/lib/opennebula'],
@ -66,7 +66,7 @@ GEM_DESCRIPTION={
},
:cli => {
:name => 'cli',
:name => 'opennebula-cli',
:files => [
['src/cli/one[a-z]*', '/bin'],
['src/cli/*.rb', '/lib'],
@ -77,7 +77,7 @@ GEM_DESCRIPTION={
:summary => 'OpenNebula Client API',
:description => 'Commands used to talk to OpenNebula',
:dependencies => [
['opennebula-oca', "= #{DEFAULTS[:version]}"]
['opennebula', "= #{DEFAULTS[:version]}"]
]
}
}