Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add rakefile, gemspec and copying files

  • Loading branch information...
commit 55a6c371c09fdd264c5f3cc546ff053edde6af74 1 parent 96181a0
@dj2 dj2 authored
Showing with 64 additions and 0 deletions.
  1. +2 −0  .gitignore
  2. +21 −0 COPYING
  3. +21 −0 Rakefile
  4. +20 −0 jack.gemspec
View
2  .gitignore
@@ -0,0 +1,2 @@
+doc
+pkg
View
21 COPYING
@@ -0,0 +1,21 @@
+Copyright (c) 2009, dan sinclair. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY dan sinclair ''AS IS'' AND ANY
+EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL dan sinclair BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
View
21 Rakefile
@@ -0,0 +1,21 @@
+require 'rake'
+require 'rake/rdoctask'
+require 'rake/gempackagetask'
+
+spec = eval(File.read(File.join(File.dirname(__FILE__), "jack.gemspec")))
+
+task :default => :gem
+
+desc 'Generate RDoc documentation for Jack'
+Rake::RDocTask.new(:rdoc) do |rdoc|
+ rdoc.rdoc_files.include('README.rdoc', 'COPYING', 'lib/**/*.rb')
+ rdoc.main = 'README.rdoc'
+ rdoc.title = 'Jack Documentation'
+
+ rdoc.rdoc_dir = 'doc'
+ rdoc.options << '--line-numbers'
+end
+
+Rake::GemPackageTask.new(spec) do |pkg|
+ pkg.need_tar = true
+end
View
20 jack.gemspec
@@ -0,0 +1,20 @@
+Gem::Specification.new do |s|
+ s.name = %q{jack}
+ s.version = "0.0.1"
+ s.authors = ["dan sinclair"]
+ s.email = %q{dj2@everburning.com}
+ s.homepage = %q{http://http://github.com/dj2/jack/}
+
+ s.summary = %q{An evented Beanstalk client.}
+ s.description = %q{An evented Beanstalk client.}
+
+ s.add_dependency('eventmachine')
+
+ s.has_rdoc = true
+ s.rdoc_options << '--title' << 'Jack Documentation' <<
+ '--main' << 'README.rdoc' <<
+ '--line-numbers'
+
+ s.files = %w(README.rdoc COPYING lib/jack.rb lib/jack/beanstalk_connection.rb
+ lib/jack/connection.rb lib/jack/errors.rb lib/jack/job.rb)
+end
Please sign in to comment.
Something went wrong with that request. Please try again.