# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
  s.name = %q{spawn}
  s.version = "1.0.1"
  s.required_rubygems_version = ">= 1.3.6"

  s.authors = ['Tom Anderson']
  s.email   = ['tom@squeat.com']
  s.date = '2010-08-08'

  s.homepage = %q{http://github.com/tra/spawn}
  s.summary = %q{Easily fork OR thread long-running sections of code in Ruby}
  s.description = %q{This plugin provides a 'spawn' method to easily fork OR
thread long-running sections of code so that your application can return
results to your users more quickly.  This plugin works by creating new database
connections in ActiveRecord::Base for the spawned block.

The plugin also patches ActiveRecord::Base to handle some known bugs when using
threads (see lib/patches.rb).}

  exclude_folders = 'spec/rails/{doc,lib,log,nbproject,tmp,vendor,test}'
  exclude_files = Dir['**/*.log'] + Dir[exclude_folders+'/**/*'] + Dir[exclude_folders]
  s.files = Dir['{examples,lib,tasks,spec}/**/*'] + 
    %w(CHANGELOG init.rb LICENSE Rakefile README) - 
    exclude_files
  s.require_paths = ["lib"]
end

# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
  s.name = %q{spawn}
  s.version = "1.0.1"
  s.required_rubygems_version = ">= 1.3.6"

  s.authors = ['Tom Anderson']
  s.email   = ['tom@squeat.com']
  s.date = '2010-08-08'

  s.homepage = %q{http://github.com/tra/spawn}
  s.summary = %q{Easily fork OR thread long-running sections of code in Ruby}
  s.description = %q{This plugin provides a 'spawn' method to easily fork OR
thread long-running sections of code so that your application can return
results to your users more quickly.  This plugin works by creating new database
connections in ActiveRecord::Base for the spawned block.

The plugin also patches ActiveRecord::Base to handle some known bugs when using
threads (see lib/patches.rb).}

  exclude_folders = 'spec/rails/{doc,lib,log,nbproject,tmp,vendor,test}'
  exclude_files = Dir['**/*.log'] + Dir[exclude_folders+'/**/*'] + Dir[exclude_folders]
  s.files = Dir['{examples,lib,tasks,spec}/**/*'] + 
    %w(CHANGELOG init.rb LICENSE README.markdown) - 
    exclude_files
  s.require_paths = ["lib"]
end

Fix file list in gemspec
Fix file list in gemspec
