Browse files

add gemspec

  • Loading branch information...
1 parent f66f8d6 commit c4f42f0f7f302b560645c3f0ffdd108a6e38b2b2 @svenfuchs committed Mar 28, 2010
Showing with 80 additions and 0 deletions.
  1. +27 −0 Rakefile
  2. +50 −0 command.gemspec
  3. +3 −0 lib/command/version.rb
View
27 Rakefile
@@ -0,0 +1,27 @@
+require 'rake/testtask'
+
+require File.expand_path("../lib/command/version", __FILE__)
+
+task :default => [:test]
+
+Rake::TestTask.new(:test) do |t|
+ t.pattern = "#{File.dirname(__FILE__)}/test/**/*_test.rb"
+ t.verbose = true
+end
+Rake::Task['test'].comment = "Run all tests"
+
+begin
+ require 'jeweler'
+ Jeweler::Tasks.new do |s|
+ s.name = "command"
+ s.version = Command::VERSION
+ s.summary = "Distributed command processing dsl"
+ s.email = "svenfuchs@artweb-design.de"
+ s.homepage = "http://github.com/svenfuchs/command"
+ s.description = "Distributed command processing dsl. Only implemented interface currently is Twitter."
+ s.authors = ['Sven Fuchs']
+ s.files = FileList["[A-Z]*", "{lib,test}/**/*"]
+ end
+rescue LoadError
+ puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
+end
View
50 command.gemspec
@@ -0,0 +1,50 @@
+# Generated by jeweler
+# DO NOT EDIT THIS FILE DIRECTLY
+# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
+# -*- encoding: utf-8 -*-
+
+Gem::Specification.new do |s|
+ s.name = %q{command}
+ s.version = "0.0.1"
+
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+ s.authors = ["Sven Fuchs"]
+ s.date = %q{2010-03-28}
+ s.description = %q{Distributed command processing dsl. Only implemented interface currently is Twitter.}
+ s.email = %q{svenfuchs@artweb-design.de}
+ s.files = [
+ "Rakefile",
+ "lib/command.rb",
+ "lib/command/base.rb",
+ "lib/command/message.rb",
+ "lib/command/poller.rb",
+ "lib/command/poller/twitter.rb",
+ "lib/command/version.rb",
+ "test/message_test.rb",
+ "test/poller_test.rb",
+ "test/test_declarative.rb",
+ "test/test_helper.rb"
+ ]
+ s.homepage = %q{http://github.com/svenfuchs/command}
+ s.rdoc_options = ["--charset=UTF-8"]
+ s.require_paths = ["lib"]
+ s.rubygems_version = %q{1.3.6}
+ s.summary = %q{Distributed command processing dsl}
+ s.test_files = [
+ "test/message_test.rb",
+ "test/poller_test.rb",
+ "test/test_declarative.rb",
+ "test/test_helper.rb"
+ ]
+
+ if s.respond_to? :specification_version then
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
+ s.specification_version = 3
+
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
+ else
+ end
+ else
+ end
+end
+
View
3 lib/command/version.rb
@@ -0,0 +1,3 @@
+module Command
+ VERSION = "0.0.1"
+end

0 comments on commit c4f42f0

Please sign in to comment.