forked from cbeer/is_it_working
-
Notifications
You must be signed in to change notification settings - Fork 0
/
is_it_working.gemspec
51 lines (45 loc) · 2.08 KB
/
is_it_working.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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'is_it_working/version'
Gem::Specification.new do |spec|
spec.name = 'is_it_working'
spec.version = IsItWorking::VERSION.dup # dup for ruby 1.9
spec.authors = ['Brian Durand', 'Milan Dobrota']
spec.email = ['[email protected]']
spec.summary = 'Rack handler for monitoring several parts of a web application.'
spec.description = 'Rack handler for monitoring several parts of a web application so one request can determine which system or dependencies are down.'
spec.homepage = ''
spec.files = `git ls-files -z`.split("\x0")
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 'actionmailer', '>= 3.2'
spec.add_development_dependency 'activerecord', '>= 3.2'
spec.add_development_dependency 'activesupport', '>= 3.2'
# Dalli requires specific versioning, depending on the version of Ruby
if ::Gem::Version.new(RUBY_VERSION) <= ::Gem::Version.new("2.3.0")
spec.add_development_dependency 'bundler', '< 2'
else
spec.add_development_dependency 'bundler'
end
if ::Gem::Version.new(RUBY_VERSION) <= ::Gem::Version.new("2.5.0")
spec.add_development_dependency 'dalli', '< 3.0.0'
spec.add_development_dependency 'sqlite3', '~> 1.3.0'
else
spec.add_development_dependency 'dalli', '~> 3'
spec.add_development_dependency 'sqlite3'
end
# Rake 13 requires Ruby 2.2 or high.
if ::Gem::Version.new(RUBY_VERSION) >= ::Gem::Version.new("2.2.0")
spec.add_development_dependency 'rake', '~> 13.0'
else
spec.add_development_dependency 'rake', '~> 10.0'
end
# List all gems that are not Ruby version dependent
spec.add_development_dependency 'pry'
spec.add_development_dependency 'rspec'
spec.add_development_dependency 'webmock'
spec.add_development_dependency 'appraisal', '~> 2.0'
spec.add_development_dependency 'net-smtp'
end