forked from digitalocean/droplet_kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
droplet_kit.gemspec
45 lines (38 loc) · 1.87 KB
/
droplet_kit.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
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'droplet_kit/version'
Gem::Specification.new do |spec|
spec.name = 'droplet_kit'
spec.version = DropletKit::VERSION
spec.authors = ['DigitalOcean API Engineering team']
spec.email = ['[email protected]']
spec.summary = "Droplet Kit is the official Ruby library for DigitalOcean's API"
spec.description = "Droplet Kit is the official Ruby library for DigitalOcean's API"
spec.homepage = 'https://github.com/digitalocean/droplet_kit'
spec.license = 'MIT'
spec.files = %w[LICENSE.txt README.md] + Dir.glob('lib/**/*', File::FNM_DOTMATCH).reject { |f| File.directory?(f) }
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.5.0'
spec.add_dependency 'faraday', '>= 0.15'
spec.add_dependency 'kartograph', '~> 0.2.8'
spec.add_dependency 'resource_kit', '~> 0.1.5'
spec.add_dependency 'virtus', '>= 1.0.3', '<= 3'
spec.add_development_dependency 'bundler', '>= 2.1.2'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'rb-readline'
spec.add_development_dependency 'rspec', '~> 3.9.0'
if RUBY_VERSION >= '2.6'
spec.add_development_dependency 'rubocop', '>= 1.30.0'
spec.add_development_dependency 'rubocop-performance', '>= 1.14.2'
spec.add_development_dependency 'rubocop-rspec', '>= 2.11.1'
else
# latest rubocop with ruby 2.5 support
spec.add_development_dependency 'rubocop', '1.28.2'
spec.add_development_dependency 'rubocop-performance', '1.13.3'
spec.add_development_dependency 'rubocop-rspec', '2.10.0'
end
spec.add_development_dependency 'rubocop-packaging', '>= 0.5.1'
spec.add_development_dependency 'rubocop-rake', '>= 0.6.0'
spec.add_development_dependency 'webmock', '~> 3.8.0'
end