-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathcloudkeeper_one.gemspec
59 lines (53 loc) · 2.72 KB
/
cloudkeeper_one.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
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'cloudkeeper/one/version'
Gem::Specification.new do |spec|
spec.name = 'cloudkeeper-one'
spec.version = Cloudkeeper::One::VERSION
spec.authors = ['Michal Kimle']
spec.email = ['[email protected]']
spec.summary = 'OpenNebula backend for cloudkeeper'
spec.description = 'OpenNebula backend for cloudkeeper'
spec.homepage = 'https://github.com/the-cloudkeeper-project/cloudkeeper-one'
spec.license = 'Apache License, Version 2.0'
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
# get an array of submodule dirs by executing 'pwd' inside each submodule
gem_dir = __dir__ + '/'
`git submodule --quiet foreach --recursive pwd`.split($OUTPUT_RECORD_SEPARATOR).each do |submodule_path|
Dir.chdir(submodule_path) do
submodule_relative_path = submodule_path.sub gem_dir, ''
# issue git ls-files in submodule's directory and
# prepend the submodule path to create absolute file paths
`git ls-files`.split($OUTPUT_RECORD_SEPARATOR).each do |filename|
spec.files << "#{submodule_relative_path}/#{filename}"
end
end
end
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
spec.add_development_dependency 'bundler', '>= 1.13'
spec.add_development_dependency 'diffy', '~> 3.1'
spec.add_development_dependency 'google-protobuf', '~> 3.6.1'
spec.add_development_dependency 'grpc-tools', '~> 1.14'
spec.add_development_dependency 'i18n', '~> 1.1.1'
spec.add_development_dependency 'pry', '~> 0.10'
spec.add_development_dependency 'public_suffix', '~> 3.0.3'
spec.add_development_dependency 'rake', '~> 12.0'
spec.add_development_dependency 'rspec', '~> 3.5'
spec.add_development_dependency 'rspec-collection_matchers', '~> 1.1'
spec.add_development_dependency 'rubocop', '0.60.0'
spec.add_development_dependency 'rubocop-rspec', '~> 1.32.0'
spec.add_development_dependency 'simplecov', '~> 0.12'
spec.add_development_dependency 'simplecov-html', '~> 0.10.2'
spec.add_development_dependency 'vcr', '~> 4.0'
spec.add_development_dependency 'webmock', '~> 3.0'
spec.add_runtime_dependency 'activesupport', '>= 4.0', '< 6.0'
spec.add_runtime_dependency 'chronic_duration', '~> 0.10'
spec.add_runtime_dependency 'grpc', '~> 1.8'
spec.add_runtime_dependency 'opennebula', '~> 5.2'
spec.add_runtime_dependency 'settingslogic', '~> 2.0'
spec.add_runtime_dependency 'thor', '~> 0.19'
spec.add_runtime_dependency 'tilt', '~> 2.0'
spec.add_runtime_dependency 'yell', '~> 2.0'
spec.required_ruby_version = '>= 2.2.0'
end