Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
bry4n committed May 8, 2012
1 parent 325f630 commit e476c77
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
21 changes: 21 additions & 0 deletions README.md
@@ -1 +1,22 @@
Parrallel2
----------

Parallel#each and Parallel#map are using Celluloid::Future

```ruby

require 'parallel2'

list = [1,10,2,9,3,8,4,7,5,6]
Parallel.each(list) do
sleep i
puts "#{i} fired!"
end

results = Parallel.map(list) do
sleep i
puts "#{i} fired!"
i * 2
end

```
4 changes: 2 additions & 2 deletions parallel2.gemspec
Expand Up @@ -4,9 +4,9 @@ require "rubygems"

Gem::Specification.new do |gem|
gem.name = "parallel2"
gem.version = "0.1.0"
gem.version = "0.2.0"
gem.author = "Bryan Goines"
gem.summary = "Parallel #each using Celluloid::Future"
gem.summary = "Parallel#each and Parallel#map are using Celluloid::Future"
gem.email = "bryann83@gmail.com"
gem.homepage = "https://github.com/bry4n/parallel2"
gem.files = Dir['**/*']
Expand Down

0 comments on commit e476c77

Please sign in to comment.