-
Notifications
You must be signed in to change notification settings - Fork 8
/
chef-encrypted-attributes.gemspec
56 lines (49 loc) · 1.98 KB
/
chef-encrypted-attributes.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
# encoding: UTF-8
# -*- mode: ruby -*-
# vi: set ft=ruby :
# More info at http://guides.rubygems.org/specification-reference/
$LOAD_PATH.push File.expand_path('../lib', __FILE__)
require 'chef/encrypted_attribute/version'
chef_version =
if ENV.key?('CHEF_VERSION')
ENV['CHEF_VERSION']
else
RUBY_VERSION < '2.1' ? ['>= 11.8', '< 12.9'] : ['>= 11.8', '< 13']
end
Gem::Specification.new do |s|
s.name = 'chef-encrypted-attributes'
s.version = ::Chef::EncryptedAttribute::VERSION
s.date = '2016-09-15'
s.platform = Gem::Platform::RUBY
s.summary = 'Chef Encrypted Attributes'
s.description =
'Chef plugin to add Node encrypted attributes support using client keys'
s.license = 'Apache-2.0'
s.authors = ['Xabier de Zuazo']
s.email = '[email protected]'
s.homepage = 'http://zuazo.github.io/chef-encrypted-attributes'
s.require_path = 'lib'
s.files = %w(
.yardopts Rakefile LICENSE
) + Dir.glob('*.md') + Dir.glob('lib/**/*')
s.test_files = Dir.glob('{test,spec,features}/*')
s.required_ruby_version = Gem::Requirement.new('>= 2.0.0')
s.add_development_dependency 'chef', chef_version
# Support old deprecated Ruby versions:
if RUBY_VERSION < '2.1'
s.add_development_dependency 'ffi-yajl', '<= 2.2.3'
s.add_development_dependency 'chef-zero', '< 4.6.0'
s.add_development_dependency 'ohai', '< 8.18.0'
end
s.add_development_dependency 'rake', '~> 10.0'
s.add_development_dependency 'rack', '~> 1.0' if RUBY_VERSION < '2.2.2'
s.add_development_dependency 'rspec-core', '~> 3.1'
s.add_development_dependency 'rspec-expectations', '~> 3.1'
s.add_development_dependency 'rspec-mocks', '~> 3.1'
s.add_development_dependency 'coveralls', '~> 0.7'
s.add_development_dependency 'simplecov', '~> 0.9'
s.add_development_dependency 'should_not', '~> 1.1'
s.add_development_dependency 'rubocop', '= 0.31.0' if RUBY_VERSION >= '1.9.3'
s.add_development_dependency 'yard', '~> 0.8'
s.cert_chain = [::File.join('certs', 'xabier_zuazo.crt')]
end