forked from chef/chef-vault
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchef-vault.gemspec
54 lines (46 loc) · 2.06 KB
/
chef-vault.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
# -*- encoding: utf-8 -*-
# Chef-Vault Gemspec file
# Copyright 2013-15, Nordstrom, Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
$:.push File.expand_path("../lib", __FILE__)
require "chef-vault/version"
def self.prerelease?
!ENV["TRAVIS_TAG"] || ENV["TRAVIS_TAG"].empty?
end
Gem::Specification.new do |s|
s.name = "chef-vault"
s.version = ChefVault::VERSION
s.version = "#{s.version}-pre#{ENV['TRAVIS_BUILD_NUMBER']}" if ENV["TRAVIS"]
s.has_rdoc = true
s.authors = ["Thom May"]
s.email = ["thom@chef.io"]
s.summary = "Data encryption support for Chef using data bags"
s.description = s.summary
s.homepage = "https://github.com/chef/chef-vault"
s.license = "Apache License, v2.0"
s.files = `git ls-files`.split("\n").select { |f| f =~ %r{^(?:LiCENSE|bin/|lib/)}i }
s.require_paths = ["lib"]
s.bindir = "bin"
s.executables = %w{ chef-vault }
s.required_ruby_version = ">= 2.2.0"
s.add_development_dependency "rake", "~> 11.0"
s.add_development_dependency "rspec", "~> 3.4"
s.add_development_dependency "aruba", "~> 0.6"
s.add_development_dependency "simplecov", "~> 0.9"
s.add_development_dependency "simplecov-console", "~> 0.2"
if ENV.key?("TRAVIS_BUILD") && RUBY_VERSION == "2.1.9"
# Test version of Chef with Chef Zero before
# /orgs/org/users/user/keys endpoint was added.
s.add_development_dependency "chef", "12.8.1"
else # Test most current version of Chef on 2.2.2
s.add_development_dependency :chef
end
end