incubator-deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lut...@apache.org
Subject svn commit: r962348 - in /incubator/deltacloud/trunk/client: Rakefile deltacloud-client.gemspec
Date Thu, 08 Jul 2010 23:48:21 GMT
Author: lutter
Date: Thu Jul  8 23:48:21 2010
New Revision: 962348

URL: http://svn.apache.org/viewvc?rev=962348&view=rev
Log:
Fixed dependencies in client and added rake package

Modified:
    incubator/deltacloud/trunk/client/Rakefile
    incubator/deltacloud/trunk/client/deltacloud-client.gemspec

Modified: incubator/deltacloud/trunk/client/Rakefile
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/client/Rakefile?rev=962348&r1=962347&r2=962348&view=diff
==============================================================================
--- incubator/deltacloud/trunk/client/Rakefile (original)
+++ incubator/deltacloud/trunk/client/Rakefile Thu Jul  8 23:48:21 2010
@@ -15,9 +15,14 @@
 # License along with this library; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 
-
+require 'rake/gempackagetask'
 require 'spec/rake/spectask'
 
+load 'deltacloud-client.gemspec'
+
+Rake::GemPackageTask.new(@spec) do |pkg|
+  pkg.need_tar = true
+end
 
 desc "Run all examples"
 Spec::Rake::SpecTask.new('spec') do |t|

Modified: incubator/deltacloud/trunk/client/deltacloud-client.gemspec
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/client/deltacloud-client.gemspec?rev=962348&r1=962347&r2=962348&view=diff
==============================================================================
--- incubator/deltacloud/trunk/client/deltacloud-client.gemspec (original)
+++ incubator/deltacloud/trunk/client/deltacloud-client.gemspec Thu Jul  8 23:48:21 2010
@@ -16,7 +16,7 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 
 
-Gem::Specification.new do |s|
+@spec=Gem::Specification.new do |s|
   s.author = 'Red Hat, Inc.'
   s.homepage = "http://www.deltacloud.org"
   s.email = 'deltacloud-users@lists.fedorahosted.org'
@@ -32,4 +32,5 @@ Gem::Specification.new do |s|
   s.extra_rdoc_files = Dir["COPYING"]
 
   s.add_dependency('rest-client', '>= 1.3.1')
+  s.add_dependency('rspec', '>= 1.3.0')
 end



Mime
View raw message