forked from Shopify/ci-queue
-
Notifications
You must be signed in to change notification settings - Fork 6
/
ci-queue.gemspec
43 lines (35 loc) · 1.6 KB
/
ci-queue.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
# coding: utf-8
# frozen_string_literal: true
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'ci/queue/version'
require 'pathname'
dir = Pathname.new(CI::Queue::RELEASE_SCRIPTS_ROOT).relative_path_from(Pathname.new(__dir__).realpath)
lua_scripts = Dir[dir.join('*.lua').to_s]
Gem::Specification.new do |spec|
spec.name = 'ci-queue'
spec.version = CI::Queue::VERSION
spec.authors = ["Jean Boussier"]
spec.email = ["[email protected]"]
spec.summary = %q{Distribute tests over many workers using a queue}
spec.description = %q{To parallelize your CI without having to balance your tests}
spec.homepage = 'https://github.com/Shopify/ci-queue'
spec.license = 'MIT'
spec.files = lua_scripts + `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
spec.add_dependency 'ansi'
spec.add_development_dependency 'bundler'
spec.add_development_dependency 'rake', "~> 10.0"
spec.add_development_dependency 'minitest', ENV.fetch('MINITEST_VERSION', '~> 5.11')
spec.add_development_dependency 'rspec', '~> 3.7.0'
spec.add_development_dependency 'redis', '~> 3.3'
spec.add_development_dependency 'simplecov', '~> 0.12'
spec.add_development_dependency 'minitest-reporters', '~> 1.1'
spec.add_development_dependency 'snappy'
spec.add_development_dependency 'msgpack'
spec.add_development_dependency 'rubocop'
end