chef-vault 4.2.16
Chef configuration management sourceReferences the Ruby runtime version constant
SHA-2564602070ae7596799752e5476b55a12bb07aea957a9edd517160bf84171a067f6
Evidence
1---
2SHA256:
3 metadata.gz: c3af14035a71ef27dc9e8d195950a25433350f94c30ecc15f94488ecf84af81d
4 data.tar.gz: edc4241f68ce643fd1b111a0183c728d083ea6b4de58231489faa9f7b9fa2da7
5SHA512:
6 metadata.gz: f0dd024ee6afb81bd197cd6b582d3b303bf55fd55bbecd391f07e675d79d4c9feab6080fb010ce2599ebb443d1c29e1f9a92a9cbcffa936aec5a3302cae86cbf
7 data.tar.gz: dd732680623543ff2da3d607660d557e35c652aa6fa90db6a12e324966950d761503af93f654ee35415387a0321872af117a11ed471b35f1b863d81e262187ce
1source "https://rubygems.org"
2
3gemspec
4gem "appbundler"
5
6group :development do
7 gem "chefstyle"
8 gem "rake"
9 if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("3.0.0")
10 gem "contracts", "~> 0.16.1" # pin until we drop ruby < 2.7
11 gem "chef-zero"
12 gem "rspec", "~> 3.0"
13 gem "aruba", "~> 2.2"
14 gem "chef", "~> 15.4"
15 gem "chef-utils", "17.10.68" # pin until we drop ruby 2.5
16 else
17 gem "contracts", "~> 0.17"
18 gem "chef-zero", "~> 15.0"
19 if RUBY_PLATFORM.include?("mingw")
20 gem "chef", ">= 18.10"
21 else
⋯22 lines
1# Chef-Vault Gemspec file
2# Copyright 2013-2015, Nordstrom, Inc.
3# Copyright (c) 2013-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
4
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8
9# http://www.apache.org/licenses/LICENSE-2.0
10
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16
17$:.push File.expand_path("lib", __dir__)
18require "chef-vault/version"
19
20Gem::Specification.new do |s|
21 s.name = "chef-vault"
22 s.version = ChefVault::VERSION
23 s.authors = ["Thom May"]
24 s.email = ["[email protected]"]
25 s.summary = "Data encryption support for Chef Infra using data bags"
26 s.description = s.summary
27 s.homepage = "https://github.com/chef/chef-vault"
28 s.license = "Apache-2.0"
29 s.files = %w{LICENSE Gemfile} +
30 Dir.glob("Gemfile*") +
31 Dir.glob("*.gemspec") +
32 Dir.glob("{lib,spec}/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) }
33 s.require_paths = ["lib"]
34 s.bindir = "bin"
⋯7 lines
1RSpec.describe ChefVault::ChefApi do
2 let(:root_url) { "https://localhost" }
3 let(:scoped_url) { "https://localhost/organizations/fakeorg" }
4 let(:api_v0_hash) { { api_version: "0" } }
5 let(:api_v1_hash) { { api_version: "1" } }
⋯6 lines
12 describe "#rest_v0" do
13 it "returns an instance of Chef::ServerAPI set to use API version 0 scoped to root" do
14 expect(Chef::ServerAPI).to receive(:new).with(root_url, api_v0_hash)
15 subject.rest_v0
16 end
⋯23 lines
No evidence locations were recorded for this file. Raw result