Permalink
Browse files

initial commit

  • Loading branch information...
1 parent eed13d8 commit 91c3f36384f260a1190e647b18517d63bebf2e40 @cocoa committed Feb 10, 2013
Showing with 87 additions and 9 deletions.
  1. +5 −6 .gitignore
  2. +4 −0 Gemfile
  3. +22 −0 LICENSE.txt
  4. +28 −3 README.md
  5. +1 −0 Rakefile
  6. +5 −0 lib/threadpool.rb
  7. +3 −0 lib/threadpool/version.rb
  8. +19 −0 threadpool.gemspec
View
@@ -2,17 +2,16 @@
*.rbc
.bundle
.config
-coverage
+.yardoc
+Gemfile.lock
InstalledFiles
+_yardoc
+coverage
+doc/
lib/bundler/man
pkg
rdoc
spec/reports
test/tmp
test/version_tmp
tmp
-
-# YARD artifacts
-.yardoc
-_yardoc
-doc/
View
@@ -0,0 +1,4 @@
+source 'https://rubygems.org'
+
+# Specify your gem's dependencies in threadpool.gemspec
+gemspec
View
@@ -0,0 +1,22 @@
+Copyright (c) 2013 cocoa
+
+MIT License
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
@@ -1,4 +1,29 @@
-threadpool
-==========
+# Threadpool
-Thread Pool implementation in Ruby in order to limit the number of simultaneous running threads.
+TODO: Write a gem description
+
+## Installation
+
+Add this line to your application's Gemfile:
+
+ gem 'threadpool'
+
+And then execute:
+
+ $ bundle
+
+Or install it yourself as:
+
+ $ gem install threadpool
+
+## Usage
+
+TODO: Write usage instructions here
+
+## Contributing
+
+1. Fork it
+2. Create your feature branch (`git checkout -b my-new-feature`)
+3. Commit your changes (`git commit -am 'Add some feature'`)
+4. Push to the branch (`git push origin my-new-feature`)
+5. Create new Pull Request
View
@@ -0,0 +1 @@
+require "bundler/gem_tasks"
View
@@ -0,0 +1,5 @@
+require "threadpool/version"
+
+module Threadpool
+ # Your code goes here...
+end
@@ -0,0 +1,3 @@
+module Threadpool
+ VERSION = "0.0.1"
+end
View
@@ -0,0 +1,19 @@
+# -*- encoding: utf-8 -*-
+lib = File.expand_path('../lib', __FILE__)
+$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
+require 'threadpool/version'
+
+Gem::Specification.new do |gem|
+ gem.name = "threadpool"
+ gem.version = Threadpool::VERSION
+ gem.authors = ["cocoa"]
+ gem.email = ["cocoa@scanpix.es"]
+ gem.description = %q{TODO: Write a gem description}
+ gem.summary = %q{TODO: Write a gem summary}
+ gem.homepage = ""
+
+ gem.files = `git ls-files`.split($/)
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
+ gem.require_paths = ["lib"]
+end

0 comments on commit 91c3f36

Please sign in to comment.