Rakefile in appengine-tools-0.0.10.1 vs Rakefile in appengine-tools-0.0.11
- old
+ new
@@ -2,19 +2,13 @@
require 'rake/gempackagetask'
require 'rubygems/specification'
require 'date'
require 'spec/rake/spectask'
-require File.dirname(__FILE__) + '/lib/jruby-rack-jar'
-
GEM = "appengine-tools"
-GEM_VERSION = "0.0.10.1"
+GEM_VERSION = "0.0.11"
HOMEPAGE = "http://code.google.com/p/appengine-jruby"
-JRUBYRACK_VERSION = AppEngine::JRubyJars::JRUBYRACK_VERSION
-JRUBYRACK_JAR = "jruby-rack-#{JRUBYRACK_VERSION}.jar"
-JRUBYRACK_URL = "http://repository.codehaus.org/org/jruby/rack/" +
- "jruby-rack/#{JRUBYRACK_VERSION}/#{JRUBYRACK_JAR}"
spec = Gem::Specification.new do |s|
s.name = GEM
s.version = GEM_VERSION
s.platform = Gem::Platform::RUBY
@@ -29,11 +23,11 @@
s.email = ["ribrdb@google.com", "woodie@google.com"]
s.homepage = HOMEPAGE
s.require_path = 'lib'
s.files = %w(COPYING LICENSE README.rdoc Rakefile) +
- ["lib/#{JRUBYRACK_JAR}"] + Dir.glob("{lib,spec}/**/*.{rb,class}")
+ Dir.glob("{lib,spec}/**/*.{rb,class}")
s.executables = [ 'appcfg.rb', 'dev_appserver.rb' ]
s.add_dependency('appengine-rack')
s.add_dependency('appengine-sdk')
s.add_dependency('appengine-jruby-jars')
s.add_dependency('bundler08', ["~> 0.8.4"])
@@ -47,14 +41,9 @@
t.spec_files = FileList['spec/**/*_spec.rb']
t.spec_opts = IO.read('spec/spec.opts').split
end
Rake::GemPackageTask.new(spec) do |pkg|
- unless File.exist?("lib/#{JRUBYRACK_JAR}")
- puts "Sorry, #{JRUBYRACK_JAR} is missing!"
- puts "Please drop it into the lib directory."
- exit 1
- end
pkg.gem_spec = spec
end
desc "install the gem locally"
task :install => [:package] do