Permalink
Browse files

Initial commit. Created gem from bundler scaffolding, filled out gems…

…pec fields to start this thing off.
  • Loading branch information...
0 parents commit f90ea05ae7e5aabee8686125467ad86affbc974c @gunn committed Dec 9, 2010
Showing with 37 additions and 0 deletions.
  1. +4 −0 .gitignore
  2. +4 −0 Gemfile
  3. +2 −0 Rakefile
  4. +21 −0 dispatch.gemspec
  5. +3 −0 lib/dispatch.rb
  6. +3 −0 lib/dispatch/version.rb
@@ -0,0 +1,4 @@
+.DS_Store
+pkg/*
+*.gem
+.bundle
@@ -0,0 +1,4 @@
+source "http://rubygems.org"
+
+# Specify your gem's dependencies in dispatch.gemspec
+gemspec
@@ -0,0 +1,2 @@
+require 'bundler'
+Bundler::GemHelper.install_tasks
@@ -0,0 +1,21 @@
+# -*- encoding: utf-8 -*-
+$:.push File.expand_path("../lib", __FILE__)
+require "dispatch/version"
+
+Gem::Specification.new do |s|
+ s.name = "dispatch"
+ s.version = Dispatch::VERSION
+ s.platform = Gem::Platform::RUBY
+ s.authors = ["Arthur Gunn"]
+ s.email = ["arthur@gunn.co.nz"]
+ s.homepage = "https://github.com/gunn/dispatch"
+ s.summary = %q{Dispatch is a MacRuby wrapper around Mac OS X's Grand Central Dispatch.}
+ s.description = %q{Grand Central Dispatch is natively implemented as a C API and runtime engine. This gem provides a MacRuby wrapper around that API and allows Ruby to very easily take advantage of GCD to run tasks in parrallel and do calculations asynchronously with queues automatically mapping to threads as needed.}
+
+ s.rubyforge_project = "dispatch"
+
+ s.files = `git ls-files`.split("\n")
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+ s.require_paths = ["lib"]
+end
@@ -0,0 +1,3 @@
+module Dispatch
+ # Your code goes here...
+end
@@ -0,0 +1,3 @@
+module Dispatch
+ VERSION = "0.0.1"
+end

0 comments on commit f90ea05

Please sign in to comment.