forked from Fonsan/dunder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dunder.gemspec
75 lines (68 loc) · 2.64 KB
/
dunder.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# Generated by jeweler
# DO NOT EDIT THIS FILE DIRECTLY
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = %q{dunder}
s.version = "0.2.1"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Fonsan"]
s.date = %q{2011-01-28}
s.description = %q{For tasks that can be started early and evaluated late.
Typically one might want start multiple heavy tasks concurrent.
This is already solvable with threads or the [reactor-pattern](http://rubyeventmachine.com/) but setting this up could be cumbersome or require direct interactions with threads ex.
Dunder is a simple way of abstracting this:
you simply pass a block to Dunder.load with the expected class as the argument}
s.email = %q{[email protected]}
s.extra_rdoc_files = [
"LICENSE.txt"
]
s.files = [
"Gemfile",
"Gemfile.lock",
"LICENSE.txt",
"Rakefile",
"Readme.md",
"VERSION",
"dunder.gemspec",
"lib/dunder.rb",
"test/helper.rb",
"test/test_dunder.rb",
".gemtest"
]
s.homepage = %q{http://github.com/Fonsan/dunder}
s.licenses = ["MIT"]
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.7}
s.summary = %q{A simple way of doing heavy work in a background process and when you really need the object it will block until it is done}
s.test_files = [
"test/helper.rb",
"test/test_dunder.rb"
]
if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<activesupport>, [">= 3.0.3"])
s.add_runtime_dependency(%q<activerecord>, [">= 3.0.3"])
s.add_development_dependency(%q<shoulda>, [">= 0"])
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
s.add_development_dependency(%q<rcov>, [">= 0"])
else
s.add_dependency(%q<activesupport>, [">= 3.0.3"])
s.add_dependency(%q<activerecord>, [">= 3.0.3"])
s.add_dependency(%q<shoulda>, [">= 0"])
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
s.add_dependency(%q<rcov>, [">= 0"])
end
else
s.add_dependency(%q<activesupport>, [">= 3.0.3"])
s.add_dependency(%q<activerecord>, [">= 3.0.3"])
s.add_dependency(%q<shoulda>, [">= 0"])
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
s.add_dependency(%q<rcov>, [">= 0"])
end
end