Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

add gemspec

  • Loading branch information...
commit c4f42f0f7f302b560645c3f0ffdd108a6e38b2b2 1 parent f66f8d6
Sven Fuchs authored

Showing 3 changed files with 80 additions and 0 deletions. Show diff stats Hide diff stats

  1. +27 0 Rakefile
  2. +50 0 command.gemspec
  3. +3 0  lib/command/version.rb
27 Rakefile
... ... @@ -0,0 +1,27 @@
  1 +require 'rake/testtask'
  2 +
  3 +require File.expand_path("../lib/command/version", __FILE__)
  4 +
  5 +task :default => [:test]
  6 +
  7 +Rake::TestTask.new(:test) do |t|
  8 + t.pattern = "#{File.dirname(__FILE__)}/test/**/*_test.rb"
  9 + t.verbose = true
  10 +end
  11 +Rake::Task['test'].comment = "Run all tests"
  12 +
  13 +begin
  14 + require 'jeweler'
  15 + Jeweler::Tasks.new do |s|
  16 + s.name = "command"
  17 + s.version = Command::VERSION
  18 + s.summary = "Distributed command processing dsl"
  19 + s.email = "svenfuchs@artweb-design.de"
  20 + s.homepage = "http://github.com/svenfuchs/command"
  21 + s.description = "Distributed command processing dsl. Only implemented interface currently is Twitter."
  22 + s.authors = ['Sven Fuchs']
  23 + s.files = FileList["[A-Z]*", "{lib,test}/**/*"]
  24 + end
  25 +rescue LoadError
  26 + puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
  27 +end
50 command.gemspec
... ... @@ -0,0 +1,50 @@
  1 +# Generated by jeweler
  2 +# DO NOT EDIT THIS FILE DIRECTLY
  3 +# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
  4 +# -*- encoding: utf-8 -*-
  5 +
  6 +Gem::Specification.new do |s|
  7 + s.name = %q{command}
  8 + s.version = "0.0.1"
  9 +
  10 + s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
  11 + s.authors = ["Sven Fuchs"]
  12 + s.date = %q{2010-03-28}
  13 + s.description = %q{Distributed command processing dsl. Only implemented interface currently is Twitter.}
  14 + s.email = %q{svenfuchs@artweb-design.de}
  15 + s.files = [
  16 + "Rakefile",
  17 + "lib/command.rb",
  18 + "lib/command/base.rb",
  19 + "lib/command/message.rb",
  20 + "lib/command/poller.rb",
  21 + "lib/command/poller/twitter.rb",
  22 + "lib/command/version.rb",
  23 + "test/message_test.rb",
  24 + "test/poller_test.rb",
  25 + "test/test_declarative.rb",
  26 + "test/test_helper.rb"
  27 + ]
  28 + s.homepage = %q{http://github.com/svenfuchs/command}
  29 + s.rdoc_options = ["--charset=UTF-8"]
  30 + s.require_paths = ["lib"]
  31 + s.rubygems_version = %q{1.3.6}
  32 + s.summary = %q{Distributed command processing dsl}
  33 + s.test_files = [
  34 + "test/message_test.rb",
  35 + "test/poller_test.rb",
  36 + "test/test_declarative.rb",
  37 + "test/test_helper.rb"
  38 + ]
  39 +
  40 + if s.respond_to? :specification_version then
  41 + current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
  42 + s.specification_version = 3
  43 +
  44 + if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
  45 + else
  46 + end
  47 + else
  48 + end
  49 +end
  50 +
3  lib/command/version.rb
... ... @@ -0,0 +1,3 @@
  1 +module Command
  2 + VERSION = "0.0.1"
  3 +end

0 comments on commit c4f42f0

Please sign in to comment.
Something went wrong with that request. Please try again.