forked from samstokes/deferrable_gratification
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeferrable_gratification.gemspec
39 lines (28 loc) · 1.37 KB
/
deferrable_gratification.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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'deferrable_gratification/version'
Gem::Specification.new do |gem|
gem.name = 'deferrable_gratification'
gem.version = DeferrableGratification::VERSION
gem.summary = 'Makes evented programming easier with composition and abstraction.'
gem.description = <<-DESC
Deferrable Gratification (DG) facilitates asynchronous programming in Ruby, by helping create abstractions around complex operations built up from simpler ones. It helps make asynchronous code less error-prone and easier to compose. It also provides some enhancements to the Deferrable API.
Features include:
* a #bothback method for registering code to run on either success or failure.
* a combinator library for building up complex asynchronous operations out of simpler ones.
DESC
gem.authors = ['Sam Stokes']
gem.email = %w([email protected])
gem.homepage = 'http://github.com/samstokes/deferrable_gratification'
gem.license = 'MIT'
gem.add_dependency 'eventmachine', '>= 1.0.3'
gem.add_development_dependency 'rake', '< 11.0.1'
gem.add_development_dependency 'yard'
gem.add_development_dependency 'bluecloth'
gem.add_development_dependency 'rspec', '< 3.0.0'
gem.files = Dir[*%w(
lib/**/*
LICENSE*
README*)] & %x{git ls-files -z}.split("\0")
end