forked from yammer/circuitbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircuitbox.gemspec
48 lines (43 loc) · 1.71 KB
/
circuitbox.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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'circuitbox/version'
ruby_2_2_2_plus = Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("2.2.2")
Gem::Specification.new do |spec|
spec.name = "circuitbox"
spec.version = Circuitbox::VERSION
spec.authors = ["Fahim Ferdous"]
spec.email = ["[email protected]"]
spec.description = %q{A robust circuit breaker that manages failing external services.}
spec.summary = %q{A robust circuit breaker that manages failing external services.}
spec.homepage = ""
spec.license = "MIT"
spec.files = `git ls-files`.split($/)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.add_development_dependency "bundler"
spec.add_development_dependency "rake"
if ruby_2_2_2_plus
spec.add_development_dependency "rack"
else
spec.add_development_dependency "rack", '< 2'
end
spec.add_development_dependency "gimme"
spec.add_development_dependency "minitest"
spec.add_development_dependency "mocha"
spec.add_development_dependency "typhoeus"
spec.add_development_dependency "timecop"
spec.add_development_dependency "faraday"
spec.add_development_dependency "excon"
spec.add_development_dependency "logger"
spec.add_development_dependency "bundler-gem_version_tasks"
spec.add_development_dependency "lmdb"
spec.add_development_dependency "daybreak"
if ruby_2_2_2_plus
spec.add_dependency "activesupport"
else
spec.add_dependency "activesupport", '< 5'
end
spec.add_dependency "moneta"
end